@cloudflare/realtimekit-ui 2.2.0-staging.3 → 2.2.0-staging.4

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 (637) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/{TextMessage-BA97TnvX.js → TextMessage-C_OMdhOv.js} +1 -1
  3. package/dist/cjs/{chat-NY588mAE.js → chat-2G70V8h1.js} +1 -1
  4. package/dist/cjs/{config-Chzt-h7l.js → config-DNVD4for.js} +2 -2
  5. package/dist/cjs/{debounce-CoFZKdWb.js → debounce-CZxcmrOw.js} +1 -1
  6. package/dist/cjs/{index-BeKaBV5F.js → index-bphCu7Kc.js} +1 -1
  7. package/dist/cjs/index.cjs.js +4 -4
  8. package/dist/cjs/loader.cjs.js +1 -1
  9. package/dist/cjs/realtimekit-ui.cjs.js +1 -1
  10. package/dist/cjs/rtk-ai-toggle.cjs.entry.js +2 -2
  11. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +2 -2
  12. package/dist/cjs/rtk-ai_3.cjs.entry.js +2 -2
  13. package/dist/cjs/rtk-audio-grid.cjs.entry.js +2 -2
  14. package/dist/cjs/rtk-audio-tile.cjs.entry.js +2 -2
  15. package/dist/cjs/rtk-audio-visualizer_3.cjs.entry.js +2 -2
  16. package/dist/cjs/rtk-avatar_26.cjs.entry.js +9 -9
  17. package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +2 -2
  18. package/dist/cjs/rtk-breakout-rooms-manager_8.cjs.entry.js +2 -2
  19. package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +2 -2
  20. package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +2 -2
  21. package/dist/cjs/rtk-camera-toggle.cjs.entry.js +2 -2
  22. package/dist/cjs/rtk-caption-toggle.cjs.entry.js +2 -2
  23. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +3 -3
  24. package/dist/cjs/rtk-chat-message.cjs.entry.js +2 -2
  25. package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +2 -2
  26. package/dist/cjs/rtk-chat-search-results.cjs.entry.js +2 -2
  27. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +3 -3
  28. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +2 -2
  29. package/dist/cjs/rtk-clock.cjs.entry.js +2 -2
  30. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +2 -2
  31. package/dist/cjs/rtk-controlbar.cjs.entry.js +2 -2
  32. package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +2 -2
  33. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +2 -2
  34. package/dist/cjs/rtk-debugger.cjs.entry.js +2 -2
  35. package/dist/cjs/rtk-dialog-manager.cjs.entry.js +2 -2
  36. package/dist/cjs/rtk-dialog.cjs.entry.js +2 -2
  37. package/dist/cjs/rtk-ended-screen.cjs.entry.js +2 -2
  38. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +2 -2
  39. package/dist/cjs/rtk-file-message_3.cjs.entry.js +6 -6
  40. package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +2 -2
  41. package/dist/cjs/rtk-grid-pagination.cjs.entry.js +2 -2
  42. package/dist/cjs/rtk-grid.cjs.entry.js +2 -2
  43. package/dist/cjs/rtk-header.cjs.entry.js +2 -2
  44. package/dist/cjs/rtk-idle-screen.cjs.entry.js +2 -2
  45. package/dist/cjs/rtk-image-viewer.cjs.entry.js +2 -2
  46. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +2 -2
  47. package/dist/cjs/rtk-leave-button.cjs.entry.js +2 -2
  48. package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +2 -2
  49. package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +2 -2
  50. package/dist/cjs/rtk-logo.cjs.entry.js +2 -2
  51. package/dist/cjs/rtk-meeting-title.cjs.entry.js +2 -2
  52. package/dist/cjs/rtk-message-list-view.cjs.entry.js +3 -3
  53. package/dist/cjs/rtk-mic-toggle.cjs.entry.js +2 -2
  54. package/dist/cjs/rtk-mixed-grid.cjs.entry.js +2 -2
  55. package/dist/cjs/rtk-more-toggle.cjs.entry.js +2 -2
  56. package/dist/cjs/rtk-mute-all-button.cjs.entry.js +2 -2
  57. package/dist/cjs/rtk-name-tag.cjs.entry.js +2 -2
  58. package/dist/cjs/rtk-network-indicator.cjs.entry.js +2 -2
  59. package/dist/cjs/rtk-notification.cjs.entry.js +4 -4
  60. package/dist/cjs/rtk-notifications.cjs.entry.js +3 -3
  61. package/dist/cjs/rtk-participant-count.cjs.entry.js +2 -2
  62. package/dist/cjs/rtk-participant-setup.cjs.entry.js +2 -2
  63. package/dist/cjs/rtk-participant_2.cjs.entry.js +5 -5
  64. package/dist/cjs/rtk-participants-audio.cjs.entry.js +2 -2
  65. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +2 -2
  66. package/dist/cjs/rtk-participants-toggle.cjs.entry.js +2 -2
  67. package/dist/cjs/rtk-participants.cjs.entry.js +3 -3
  68. package/dist/cjs/rtk-pip-toggle.cjs.entry.js +2 -2
  69. package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +2 -2
  70. package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +2 -2
  71. package/dist/cjs/rtk-poll_2.cjs.entry.js +2 -2
  72. package/dist/cjs/rtk-polls-toggle.cjs.entry.js +2 -2
  73. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +2 -2
  74. package/dist/cjs/rtk-recording-toggle.cjs.entry.js +2 -2
  75. package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +2 -2
  76. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +347 -34
  77. package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +2 -2
  78. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +3 -3
  79. package/dist/cjs/rtk-settings.cjs.entry.js +2 -2
  80. package/dist/cjs/rtk-setup-screen.cjs.entry.js +2 -2
  81. package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +2 -2
  82. package/dist/cjs/rtk-sidebar.cjs.entry.js +2 -2
  83. package/dist/cjs/rtk-simple-grid.cjs.entry.js +2 -2
  84. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +4 -4
  85. package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +2 -2
  86. package/dist/cjs/rtk-stage-toggle.cjs.entry.js +2 -2
  87. package/dist/cjs/rtk-stage.cjs.entry.js +3 -3
  88. package/dist/cjs/rtk-switch.cjs.entry.js +3 -3
  89. package/dist/cjs/rtk-transcript.cjs.entry.js +3 -3
  90. package/dist/cjs/rtk-transcripts.cjs.entry.js +2 -2
  91. package/dist/cjs/rtk-ui-provider.cjs.entry.js +2 -2
  92. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +3 -3
  93. package/dist/cjs/{ui-kit-metadata-zBJ8NnVE.js → ui-kit-metadata-Db62SilF.js} +2 -2
  94. package/dist/cjs/{ui-store-DSyXGfDZ.js → ui-store-XdzekVqK.js} +4 -0
  95. package/dist/collection/components/rtk-ai/rtk-ai.js +1 -1
  96. package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +1 -1
  97. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +1 -1
  98. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +1 -1
  99. package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +1 -1
  100. package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +1 -1
  101. package/dist/collection/components/rtk-avatar/rtk-avatar.js +1 -1
  102. package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +1 -1
  103. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +1 -1
  104. package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +1 -1
  105. package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +1 -1
  106. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +1 -1
  107. package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +1 -1
  108. package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +1 -1
  109. package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +1 -1
  110. package/dist/collection/components/rtk-chat/rtk-chat.js +1 -1
  111. package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +1 -1
  112. package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +1 -1
  113. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +1 -1
  114. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +1 -1
  115. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +1 -1
  116. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +1 -1
  117. package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.js +1 -1
  118. package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +1 -1
  119. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +1 -1
  120. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +1 -1
  121. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +1 -1
  122. package/dist/collection/components/rtk-counter/rtk-counter.js +1 -1
  123. package/dist/collection/components/rtk-debugger/rtk-debugger.js +1 -1
  124. package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +1 -1
  125. package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +1 -1
  126. package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +1 -1
  127. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +1 -1
  128. package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +1 -1
  129. package/dist/collection/components/rtk-dialog/rtk-dialog.js +1 -1
  130. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +1 -1
  131. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +1 -1
  132. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +1 -1
  133. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +1 -1
  134. package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +1 -1
  135. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +1 -1
  136. package/dist/collection/components/rtk-file-message/rtk-file-message.js +1 -1
  137. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +1 -1
  138. package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +1 -1
  139. package/dist/collection/components/rtk-grid/rtk-grid.js +1 -1
  140. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +1 -1
  141. package/dist/collection/components/rtk-header/rtk-header.js +1 -1
  142. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +1 -1
  143. package/dist/collection/components/rtk-image-message/rtk-image-message.js +1 -1
  144. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +1 -1
  145. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +1 -1
  146. package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +1 -1
  147. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +1 -1
  148. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +1 -1
  149. package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +1 -1
  150. package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +1 -1
  151. package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +1 -1
  152. package/dist/collection/components/rtk-logo/rtk-logo.js +1 -1
  153. package/dist/collection/components/rtk-meeting/rtk-meeting.js +1 -1
  154. package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +1 -1
  155. package/dist/collection/components/rtk-menu/rtk-menu.js +1 -1
  156. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +1 -1
  157. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +1 -1
  158. package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +1 -1
  159. package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +1 -1
  160. package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +1 -1
  161. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +1 -1
  162. package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +1 -1
  163. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +1 -1
  164. package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +1 -1
  165. package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +1 -1
  166. package/dist/collection/components/rtk-notification/rtk-notification.js +1 -1
  167. package/dist/collection/components/rtk-notifications/rtk-notifications.js +1 -1
  168. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +1 -1
  169. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +1 -1
  170. package/dist/collection/components/rtk-participant/rtk-participant.js +1 -1
  171. package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +1 -1
  172. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +1 -1
  173. package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +1 -1
  174. package/dist/collection/components/rtk-participants/rtk-participants.js +1 -1
  175. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +1 -1
  176. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +1 -1
  177. package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +1 -1
  178. package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +1 -1
  179. package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +1 -1
  180. package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +1 -1
  181. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +1 -1
  182. package/dist/collection/components/rtk-pinned-message-selector/rtk-pinned-message-selector.js +1 -1
  183. package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +1 -1
  184. package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +1 -1
  185. package/dist/collection/components/rtk-plugins/rtk-plugins.js +1 -1
  186. package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +1 -1
  187. package/dist/collection/components/rtk-poll/rtk-poll.js +1 -1
  188. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +1 -1
  189. package/dist/collection/components/rtk-polls/rtk-polls.js +1 -1
  190. package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +1 -1
  191. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +1 -1
  192. package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +1 -1
  193. package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +1 -1
  194. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.css +210 -0
  195. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +371 -37
  196. package/dist/collection/components/rtk-settings/rtk-settings.js +1 -1
  197. package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +1 -1
  198. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +2 -2
  199. package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +1 -1
  200. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +1 -1
  201. package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +1 -1
  202. package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +1 -1
  203. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +1 -1
  204. package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +1 -1
  205. package/dist/collection/components/rtk-spinner/rtk-spinner.js +1 -1
  206. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +3 -3
  207. package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +1 -1
  208. package/dist/collection/components/rtk-stage/rtk-stage.js +2 -2
  209. package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +1 -1
  210. package/dist/collection/components/rtk-switch/rtk-switch.js +2 -2
  211. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +1 -1
  212. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +2 -2
  213. package/dist/collection/components/rtk-text-message/rtk-text-message.js +3 -3
  214. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
  215. package/dist/collection/components/rtk-transcript/rtk-transcript.js +2 -2
  216. package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +1 -1
  217. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +1 -1
  218. package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +1 -1
  219. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
  220. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +2 -2
  221. package/dist/collection/lib/lang/default-language.js +4 -0
  222. package/dist/collection/utils/ui-kit-metadata.js +1 -1
  223. package/dist/components/index.js +1 -1
  224. package/dist/components/{p-ByMjaTnP.js → p-16s5ZSAZ.js} +1 -1
  225. package/dist/components/{p-Bjx68Nkv.js → p-B2HJVmyW.js} +1 -1
  226. package/dist/components/{p-CXDRC8Nb.js → p-BDBQ3yNX.js} +1 -1
  227. package/dist/components/p-BDZmvSZ5.js +1 -0
  228. package/dist/components/{p-xLck_VlO.js → p-BIkikWuB.js} +1 -1
  229. package/dist/components/{p-BNjHUNwU.js → p-BMEVA63X.js} +1 -1
  230. package/dist/components/{p-ifBo9NHb.js → p-BOs3IQB-.js} +1 -1
  231. package/dist/components/p-BWM_mzxz.js +1 -0
  232. package/dist/components/{p-BBRpBb3D.js → p-BX-q0U6y.js} +1 -1
  233. package/dist/components/{p-GtIz3u0L.js → p-BeeuQPMZ.js} +1 -1
  234. package/dist/components/{p-BWLmBQB7.js → p-Bev5JWZ0.js} +1 -1
  235. package/dist/components/{p-BjG7yuwj.js → p-BpMexaGX.js} +1 -1
  236. package/dist/components/{p--F3BGV0E.js → p-BrWD_P9J.js} +1 -1
  237. package/dist/components/{p-CWxtbDEh.js → p-BxJT0iOj.js} +1 -1
  238. package/dist/components/{p-oXCkwBKR.js → p-BxM6yQDX.js} +1 -1
  239. package/dist/components/{p-DAq4FN_d.js → p-C27_nsxU.js} +1 -1
  240. package/dist/components/{p-CiX87kt0.js → p-C78m8FSo.js} +1 -1
  241. package/dist/components/{p-CM3Y2kOg.js → p-C7kzxj2U.js} +1 -1
  242. package/dist/components/{p-DUIWB0ra.js → p-CAePd-oD.js} +1 -1
  243. package/dist/components/{p-B2EHfWpD.js → p-CBBiuExR.js} +1 -1
  244. package/dist/components/{p-CkNlX5-Y.js → p-CCcFJzS9.js} +1 -1
  245. package/dist/components/{p-BeWjGx1n.js → p-CNRlJgcv.js} +1 -1
  246. package/dist/components/{p-CH7w_Zrp.js → p-CSQnL_EP.js} +1 -1
  247. package/dist/components/{p-BX3gY1PP.js → p-CSdpb5b3.js} +1 -1
  248. package/dist/components/{p-B6IcTqkN.js → p-CT1iNAdo.js} +1 -1
  249. package/dist/components/{p-CHSH0L_g.js → p-CX0Xm7nC.js} +1 -1
  250. package/dist/components/{p-Bp8UGnBB.js → p-CddkXbJO.js} +1 -1
  251. package/dist/components/{p-DalLUQa1.js → p-ChM1gCIW.js} +1 -1
  252. package/dist/components/{p-BVRIm4Vt.js → p-CjAIMy9F.js} +1 -1
  253. package/dist/components/{p-uxGiMP6W.js → p-CjnaOcqP.js} +1 -1
  254. package/dist/components/{p-D9cHynev.js → p-CkAYE3S8.js} +1 -1
  255. package/dist/components/p-CtoKGHXg.js +1 -0
  256. package/dist/components/{p-DuRlksIi.js → p-CuQOcbEk.js} +1 -1
  257. package/dist/components/{p-Dp2LhUKa.js → p-CuXI1Bo9.js} +1 -1
  258. package/dist/components/{p-DAGCKEFc.js → p-CudchGV-.js} +1 -1
  259. package/dist/components/{p-BC__OeWi.js → p-D00_ZaOw.js} +1 -1
  260. package/dist/components/{p-C7Rh2NRS.js → p-D3hW0Kbk.js} +1 -1
  261. package/dist/components/{p-U9jg1DvO.js → p-D7C_eMze.js} +1 -1
  262. package/dist/components/{p-DW9czTAD.js → p-DCxpDhJk.js} +1 -1
  263. package/dist/components/{p-CtPr1nvA.js → p-DDXAdlei.js} +1 -1
  264. package/dist/components/{p-Be6GRqFL.js → p-DGf0eDeq.js} +1 -1
  265. package/dist/components/{p-0I1N5xHK.js → p-DQpLF7Tl.js} +1 -1
  266. package/dist/components/{p-Dc5xkFI9.js → p-DR4HIK_J.js} +1 -1
  267. package/dist/components/{p-C_e0a6jQ.js → p-DSiVRqn-.js} +1 -1
  268. package/dist/components/{p-Ds5j-VXZ.js → p-DT1PR6Br.js} +1 -1
  269. package/dist/components/{p-gBEnKt4T.js → p-DTcPOR7t.js} +1 -1
  270. package/dist/components/{p-CugPCiPF.js → p-DTlvGHSC.js} +1 -1
  271. package/dist/components/{p-36vx_Mui.js → p-DU_5lopz.js} +1 -1
  272. package/dist/components/{p-B2RoJ1tz.js → p-DYpMIlQ4.js} +1 -1
  273. package/dist/components/{p-g5NPAxAj.js → p-De3mM3M-.js} +1 -1
  274. package/dist/components/{p-Bc2jtNZw.js → p-DeQvmRpj.js} +1 -1
  275. package/dist/components/{p-DC-3Hg9I.js → p-Dft337Ll.js} +1 -1
  276. package/dist/components/{p-BWqnoSw2.js → p-DstiJHuo.js} +1 -1
  277. package/dist/components/{p-D34dZlkT.js → p-Dvobsim-.js} +1 -1
  278. package/dist/components/{p-kGPSVdob.js → p-DxWuP9W-.js} +1 -1
  279. package/dist/components/{p-DNy6quyg.js → p-DzU0ms1z.js} +1 -1
  280. package/dist/components/{p-Btj1QSzG.js → p-EcdS-L-q.js} +1 -1
  281. package/dist/components/{p-GMH-Dp75.js → p-FJMslKrI.js} +1 -1
  282. package/dist/components/{p-Ic4M6IZs.js → p-H0SF5wed.js} +1 -1
  283. package/dist/components/{p-CjOKLEdP.js → p-IIcKCSrk.js} +1 -1
  284. package/dist/components/{p-BGaDuggr.js → p-Jrghj_Rb.js} +1 -1
  285. package/dist/components/{p-C07P-YzZ.js → p-Qr0iq3rP.js} +1 -1
  286. package/dist/components/{p-DxZ5v-a-.js → p-SuJdlCN6.js} +1 -1
  287. package/dist/components/{p-DPENu38v.js → p-TVGlb-lM.js} +1 -1
  288. package/dist/components/{p-msSLVaDl.js → p-TzHbL-Yw.js} +1 -1
  289. package/dist/components/{p-Zkjzr8ZL.js → p-W6qOF1ab.js} +1 -1
  290. package/dist/components/{p-IilUR0Z4.js → p-bf44p3D-.js} +1 -1
  291. package/dist/components/{p-BeJhcBfy.js → p-cWoLKHJ3.js} +1 -1
  292. package/dist/components/{p-C8IQnQjR.js → p-fQitJHsh.js} +1 -1
  293. package/dist/components/{p-B_Wn0VnS.js → p-l4woSzxj.js} +1 -1
  294. package/dist/components/{p-BugzZ4hY.js → p-lUHVcFOY.js} +1 -1
  295. package/dist/components/{p-vADJB1c2.js → p-pOJlVled.js} +1 -1
  296. package/dist/components/{p-B3ATJ-iD.js → p-p_mTGyE6.js} +1 -1
  297. package/dist/components/{p-B0Fo3cKf.js → p-qzUtJdPs.js} +1 -1
  298. package/dist/components/{p-BjZJaxt1.js → p-reX4rZOi.js} +1 -1
  299. package/dist/components/{p-CxPXk2ws.js → p-w39VkrD-.js} +1 -1
  300. package/dist/components/{p-BQMMBSP2.js → p-wCbKvvTJ.js} +1 -1
  301. package/dist/components/{p-CGVMdadq.js → p-woxb-Bmm.js} +1 -1
  302. package/dist/components/rtk-ai-toggle.js +1 -1
  303. package/dist/components/rtk-ai-transcriptions.js +1 -1
  304. package/dist/components/rtk-ai.js +1 -1
  305. package/dist/components/rtk-audio-grid.js +1 -1
  306. package/dist/components/rtk-audio-tile.js +1 -1
  307. package/dist/components/rtk-audio-visualizer.js +1 -1
  308. package/dist/components/rtk-avatar.js +1 -1
  309. package/dist/components/rtk-breakout-room-manager.js +1 -1
  310. package/dist/components/rtk-breakout-room-participants.js +1 -1
  311. package/dist/components/rtk-breakout-rooms-manager.js +1 -1
  312. package/dist/components/rtk-breakout-rooms-toggle.js +1 -1
  313. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  314. package/dist/components/rtk-camera-selector.js +1 -1
  315. package/dist/components/rtk-camera-toggle.js +1 -1
  316. package/dist/components/rtk-caption-toggle.js +1 -1
  317. package/dist/components/rtk-chat-composer-ui.js +1 -1
  318. package/dist/components/rtk-chat-composer-view.js +1 -1
  319. package/dist/components/rtk-chat-header.js +1 -1
  320. package/dist/components/rtk-chat-message.js +1 -1
  321. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  322. package/dist/components/rtk-chat-messages-ui.js +1 -1
  323. package/dist/components/rtk-chat-search-results.js +1 -1
  324. package/dist/components/rtk-chat-selector-ui.js +1 -1
  325. package/dist/components/rtk-chat-selector.js +1 -1
  326. package/dist/components/rtk-chat-toggle.js +1 -1
  327. package/dist/components/rtk-chat.js +1 -1
  328. package/dist/components/rtk-clock.js +1 -1
  329. package/dist/components/rtk-confirmation-modal.js +1 -1
  330. package/dist/components/rtk-controlbar-button.js +1 -1
  331. package/dist/components/rtk-controlbar.js +1 -1
  332. package/dist/components/rtk-counter.js +1 -1
  333. package/dist/components/rtk-debugger-audio.js +1 -1
  334. package/dist/components/rtk-debugger-screenshare.js +1 -1
  335. package/dist/components/rtk-debugger-system.js +1 -1
  336. package/dist/components/rtk-debugger-toggle.js +1 -1
  337. package/dist/components/rtk-debugger-video.js +1 -1
  338. package/dist/components/rtk-debugger.js +1 -1
  339. package/dist/components/rtk-dialog-manager.js +1 -1
  340. package/dist/components/rtk-dialog.js +1 -1
  341. package/dist/components/rtk-draft-attachment-view.js +1 -1
  342. package/dist/components/rtk-emoji-picker-button.js +1 -1
  343. package/dist/components/rtk-emoji-picker.js +1 -1
  344. package/dist/components/rtk-ended-screen.js +1 -1
  345. package/dist/components/rtk-file-dropzone.js +1 -1
  346. package/dist/components/rtk-file-message-view.js +1 -1
  347. package/dist/components/rtk-file-message.js +1 -1
  348. package/dist/components/rtk-file-picker-button.js +1 -1
  349. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  350. package/dist/components/rtk-grid-pagination.js +1 -1
  351. package/dist/components/rtk-grid.js +1 -1
  352. package/dist/components/rtk-header.js +1 -1
  353. package/dist/components/rtk-idle-screen.js +1 -1
  354. package/dist/components/rtk-image-message-view.js +1 -1
  355. package/dist/components/rtk-image-message.js +1 -1
  356. package/dist/components/rtk-image-viewer.js +1 -1
  357. package/dist/components/rtk-information-tooltip.js +1 -1
  358. package/dist/components/rtk-join-stage.js +1 -1
  359. package/dist/components/rtk-leave-button.js +1 -1
  360. package/dist/components/rtk-leave-meeting.js +1 -1
  361. package/dist/components/rtk-livestream-indicator.js +1 -1
  362. package/dist/components/rtk-livestream-player.js +1 -1
  363. package/dist/components/rtk-livestream-toggle.js +1 -1
  364. package/dist/components/rtk-logo.js +1 -1
  365. package/dist/components/rtk-meeting-title.js +1 -1
  366. package/dist/components/rtk-meeting.js +1 -1
  367. package/dist/components/rtk-menu-item.js +1 -1
  368. package/dist/components/rtk-menu-list.js +1 -1
  369. package/dist/components/rtk-menu.js +1 -1
  370. package/dist/components/rtk-message-list-view.js +1 -1
  371. package/dist/components/rtk-message-view.js +1 -1
  372. package/dist/components/rtk-mic-toggle.js +1 -1
  373. package/dist/components/rtk-microphone-selector.js +1 -1
  374. package/dist/components/rtk-mixed-grid.js +1 -1
  375. package/dist/components/rtk-more-toggle.js +1 -1
  376. package/dist/components/rtk-mute-all-button.js +1 -1
  377. package/dist/components/rtk-mute-all-confirmation.js +1 -1
  378. package/dist/components/rtk-name-tag.js +1 -1
  379. package/dist/components/rtk-network-indicator.js +1 -1
  380. package/dist/components/rtk-notification.js +1 -1
  381. package/dist/components/rtk-notifications.js +1 -1
  382. package/dist/components/rtk-overlay-modal.js +1 -1
  383. package/dist/components/rtk-paginated-list.js +1 -1
  384. package/dist/components/rtk-participant-count.js +1 -1
  385. package/dist/components/rtk-participant-setup.js +1 -1
  386. package/dist/components/rtk-participant-tile.js +1 -1
  387. package/dist/components/rtk-participant.js +1 -1
  388. package/dist/components/rtk-participants-audio.js +1 -1
  389. package/dist/components/rtk-participants-stage-list.js +1 -1
  390. package/dist/components/rtk-participants-stage-queue.js +1 -1
  391. package/dist/components/rtk-participants-toggle.js +1 -1
  392. package/dist/components/rtk-participants-viewer-list.js +1 -1
  393. package/dist/components/rtk-participants-waiting-list.js +1 -1
  394. package/dist/components/rtk-participants.js +1 -1
  395. package/dist/components/rtk-permissions-message.js +1 -1
  396. package/dist/components/rtk-pinned-message-selector.js +1 -1
  397. package/dist/components/rtk-pip-toggle.js +1 -1
  398. package/dist/components/rtk-plugin-main.js +1 -1
  399. package/dist/components/rtk-plugins-toggle.js +1 -1
  400. package/dist/components/rtk-plugins.js +1 -1
  401. package/dist/components/rtk-poll-form.js +1 -1
  402. package/dist/components/rtk-poll.js +1 -1
  403. package/dist/components/rtk-polls-toggle.js +1 -1
  404. package/dist/components/rtk-polls.js +1 -1
  405. package/dist/components/rtk-recording-indicator.js +1 -1
  406. package/dist/components/rtk-recording-toggle.js +1 -1
  407. package/dist/components/rtk-screen-share-toggle.js +1 -1
  408. package/dist/components/rtk-screenshare-view.js +1 -1
  409. package/dist/components/rtk-settings-audio.js +1 -1
  410. package/dist/components/rtk-settings-toggle.js +1 -1
  411. package/dist/components/rtk-settings-video.js +1 -1
  412. package/dist/components/rtk-settings.js +1 -1
  413. package/dist/components/rtk-setup-screen.js +1 -1
  414. package/dist/components/rtk-sidebar-ui.js +1 -1
  415. package/dist/components/rtk-sidebar.js +1 -1
  416. package/dist/components/rtk-simple-grid.js +1 -1
  417. package/dist/components/rtk-speaker-selector.js +1 -1
  418. package/dist/components/rtk-spinner.js +1 -1
  419. package/dist/components/rtk-spotlight-grid.js +1 -1
  420. package/dist/components/rtk-spotlight-indicator.js +1 -1
  421. package/dist/components/rtk-stage-toggle.js +1 -1
  422. package/dist/components/rtk-stage.js +1 -1
  423. package/dist/components/rtk-switch.js +1 -1
  424. package/dist/components/rtk-tab-bar.js +1 -1
  425. package/dist/components/rtk-text-composer-view.js +1 -1
  426. package/dist/components/rtk-text-message-view.js +1 -1
  427. package/dist/components/rtk-text-message.js +1 -1
  428. package/dist/components/rtk-transcript.js +1 -1
  429. package/dist/components/rtk-transcripts.js +1 -1
  430. package/dist/components/rtk-ui-provider.js +1 -1
  431. package/dist/components/rtk-viewer-count.js +1 -1
  432. package/dist/components/rtk-virtualized-participant-list.js +1 -1
  433. package/dist/components/rtk-waiting-screen.js +1 -1
  434. package/dist/docs/docs-components.json +2244 -251
  435. package/dist/docs/docs-vscode.json +5 -1
  436. package/dist/esm/{TextMessage-BZiVGmY1.js → TextMessage-Cisroi3Z.js} +1 -1
  437. package/dist/esm/{chat-lvouWi7J.js → chat-CNKqhbws.js} +1 -1
  438. package/dist/esm/{config-B2jDqnc2.js → config-DRqODcfp.js} +2 -2
  439. package/dist/esm/{debounce-aR8pwob-.js → debounce-B5AGeS26.js} +1 -1
  440. package/dist/esm/{index-CgECHQfr.js → index-vqQJVJal.js} +1 -1
  441. package/dist/esm/index.js +6 -6
  442. package/dist/esm/loader.js +364 -47
  443. package/dist/esm/realtimekit-ui.js +1 -1
  444. package/dist/esm/rtk-ai-toggle.entry.js +2 -2
  445. package/dist/esm/rtk-ai-transcriptions.entry.js +2 -2
  446. package/dist/esm/rtk-ai_3.entry.js +2 -2
  447. package/dist/esm/rtk-audio-grid.entry.js +2 -2
  448. package/dist/esm/rtk-audio-tile.entry.js +2 -2
  449. package/dist/esm/rtk-audio-visualizer_3.entry.js +2 -2
  450. package/dist/esm/rtk-avatar_26.entry.js +9 -9
  451. package/dist/esm/rtk-breakout-room-manager_3.entry.js +2 -2
  452. package/dist/esm/rtk-breakout-rooms-manager_8.entry.js +2 -2
  453. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +2 -2
  454. package/dist/esm/rtk-camera-selector_2.entry.js +2 -2
  455. package/dist/esm/rtk-camera-toggle.entry.js +2 -2
  456. package/dist/esm/rtk-caption-toggle.entry.js +2 -2
  457. package/dist/esm/rtk-chat-composer-ui.entry.js +3 -3
  458. package/dist/esm/rtk-chat-message.entry.js +2 -2
  459. package/dist/esm/rtk-chat-messages-ui.entry.js +2 -2
  460. package/dist/esm/rtk-chat-search-results.entry.js +2 -2
  461. package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
  462. package/dist/esm/rtk-chat-toggle.entry.js +2 -2
  463. package/dist/esm/rtk-clock.entry.js +2 -2
  464. package/dist/esm/rtk-controlbar-button.entry.js +2 -2
  465. package/dist/esm/rtk-controlbar.entry.js +2 -2
  466. package/dist/esm/rtk-debugger-audio_4.entry.js +2 -2
  467. package/dist/esm/rtk-debugger-toggle.entry.js +2 -2
  468. package/dist/esm/rtk-debugger.entry.js +2 -2
  469. package/dist/esm/rtk-dialog-manager.entry.js +2 -2
  470. package/dist/esm/rtk-dialog.entry.js +2 -2
  471. package/dist/esm/rtk-ended-screen.entry.js +2 -2
  472. package/dist/esm/rtk-file-dropzone.entry.js +2 -2
  473. package/dist/esm/rtk-file-message_3.entry.js +6 -6
  474. package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
  475. package/dist/esm/rtk-grid-pagination.entry.js +2 -2
  476. package/dist/esm/rtk-grid.entry.js +2 -2
  477. package/dist/esm/rtk-header.entry.js +2 -2
  478. package/dist/esm/rtk-idle-screen.entry.js +2 -2
  479. package/dist/esm/rtk-image-viewer.entry.js +2 -2
  480. package/dist/esm/rtk-information-tooltip.entry.js +2 -2
  481. package/dist/esm/rtk-leave-button.entry.js +2 -2
  482. package/dist/esm/rtk-livestream-indicator_3.entry.js +2 -2
  483. package/dist/esm/rtk-livestream-toggle.entry.js +2 -2
  484. package/dist/esm/rtk-logo.entry.js +2 -2
  485. package/dist/esm/rtk-meeting-title.entry.js +2 -2
  486. package/dist/esm/rtk-message-list-view.entry.js +3 -3
  487. package/dist/esm/rtk-mic-toggle.entry.js +2 -2
  488. package/dist/esm/rtk-mixed-grid.entry.js +2 -2
  489. package/dist/esm/rtk-more-toggle.entry.js +2 -2
  490. package/dist/esm/rtk-mute-all-button.entry.js +2 -2
  491. package/dist/esm/rtk-name-tag.entry.js +2 -2
  492. package/dist/esm/rtk-network-indicator.entry.js +2 -2
  493. package/dist/esm/rtk-notification.entry.js +4 -4
  494. package/dist/esm/rtk-notifications.entry.js +3 -3
  495. package/dist/esm/rtk-participant-count.entry.js +2 -2
  496. package/dist/esm/rtk-participant-setup.entry.js +2 -2
  497. package/dist/esm/rtk-participant_2.entry.js +5 -5
  498. package/dist/esm/rtk-participants-audio.entry.js +2 -2
  499. package/dist/esm/rtk-participants-stage-list_4.entry.js +2 -2
  500. package/dist/esm/rtk-participants-toggle.entry.js +2 -2
  501. package/dist/esm/rtk-participants.entry.js +3 -3
  502. package/dist/esm/rtk-pip-toggle.entry.js +2 -2
  503. package/dist/esm/rtk-plugin-main_2.entry.js +2 -2
  504. package/dist/esm/rtk-plugins-toggle.entry.js +2 -2
  505. package/dist/esm/rtk-poll_2.entry.js +2 -2
  506. package/dist/esm/rtk-polls-toggle.entry.js +2 -2
  507. package/dist/esm/rtk-recording-indicator.entry.js +2 -2
  508. package/dist/esm/rtk-recording-toggle.entry.js +2 -2
  509. package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
  510. package/dist/esm/rtk-screenshare-view.entry.js +347 -34
  511. package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
  512. package/dist/esm/rtk-settings-toggle.entry.js +3 -3
  513. package/dist/esm/rtk-settings.entry.js +2 -2
  514. package/dist/esm/rtk-setup-screen.entry.js +2 -2
  515. package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
  516. package/dist/esm/rtk-sidebar.entry.js +2 -2
  517. package/dist/esm/rtk-simple-grid.entry.js +2 -2
  518. package/dist/esm/rtk-spotlight-grid.entry.js +4 -4
  519. package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
  520. package/dist/esm/rtk-stage-toggle.entry.js +2 -2
  521. package/dist/esm/rtk-stage.entry.js +3 -3
  522. package/dist/esm/rtk-switch.entry.js +3 -3
  523. package/dist/esm/rtk-transcript.entry.js +3 -3
  524. package/dist/esm/rtk-transcripts.entry.js +2 -2
  525. package/dist/esm/rtk-ui-provider.entry.js +2 -2
  526. package/dist/esm/rtk-waiting-screen.entry.js +3 -3
  527. package/dist/esm/{ui-kit-metadata-DBkOnyOI.js → ui-kit-metadata-CIMhjc7J.js} +2 -2
  528. package/dist/esm/{ui-store-25wIB_YH.js → ui-store-GPnCYQx5.js} +4 -0
  529. package/dist/realtimekit-ui/index.esm.js +1 -1
  530. package/dist/realtimekit-ui/{p-a6b6f977.entry.js → p-0558ad3d.entry.js} +1 -1
  531. package/dist/realtimekit-ui/{p-2eb73b5f.entry.js → p-06dfb82f.entry.js} +1 -1
  532. package/dist/realtimekit-ui/{p-cdf80add.entry.js → p-0760dc9f.entry.js} +1 -1
  533. package/dist/realtimekit-ui/{p-f202a199.entry.js → p-0a9509ea.entry.js} +1 -1
  534. package/dist/realtimekit-ui/{p-00ae47eb.entry.js → p-0e89ddbe.entry.js} +1 -1
  535. package/dist/realtimekit-ui/{p-64b7ca52.entry.js → p-11d7c342.entry.js} +1 -1
  536. package/dist/realtimekit-ui/{p-22cd2a40.entry.js → p-151eb58e.entry.js} +1 -1
  537. package/dist/realtimekit-ui/p-1ff5cfd7.entry.js +1 -0
  538. package/dist/realtimekit-ui/{p-63413c07.entry.js → p-1ffa8cca.entry.js} +1 -1
  539. package/dist/realtimekit-ui/{p-d7b10d53.entry.js → p-226a8500.entry.js} +1 -1
  540. package/dist/realtimekit-ui/{p-1eac1ada.entry.js → p-25550cf9.entry.js} +1 -1
  541. package/dist/realtimekit-ui/{p-5ea44aa5.entry.js → p-266ca900.entry.js} +1 -1
  542. package/dist/realtimekit-ui/{p-dcced1f6.entry.js → p-352f5966.entry.js} +1 -1
  543. package/dist/realtimekit-ui/{p-94a286d0.entry.js → p-37feaeaf.entry.js} +1 -1
  544. package/dist/realtimekit-ui/{p-69e11a90.entry.js → p-39915b72.entry.js} +1 -1
  545. package/dist/realtimekit-ui/{p-aa1bcc8d.entry.js → p-3ade5cae.entry.js} +1 -1
  546. package/dist/realtimekit-ui/{p-d91222ea.entry.js → p-3bb06c62.entry.js} +1 -1
  547. package/dist/realtimekit-ui/{p-4d59e280.entry.js → p-3c813199.entry.js} +1 -1
  548. package/dist/realtimekit-ui/p-3d663797.entry.js +1 -0
  549. package/dist/realtimekit-ui/{p-828ecefa.entry.js → p-41bc3d1f.entry.js} +1 -1
  550. package/dist/realtimekit-ui/{p-a732dd55.entry.js → p-43c99dd3.entry.js} +1 -1
  551. package/dist/realtimekit-ui/p-452d0941.entry.js +1 -0
  552. package/dist/realtimekit-ui/p-577d3d6c.entry.js +1 -0
  553. package/dist/realtimekit-ui/{p-96b81823.entry.js → p-5a0a0b08.entry.js} +1 -1
  554. package/dist/realtimekit-ui/{p-b783a853.entry.js → p-5a2c4639.entry.js} +1 -1
  555. package/dist/realtimekit-ui/{p-df5b5a98.entry.js → p-5bbaaee6.entry.js} +1 -1
  556. package/dist/realtimekit-ui/{p-fbde8aee.entry.js → p-6747ca25.entry.js} +1 -1
  557. package/dist/realtimekit-ui/{p-b29b686b.entry.js → p-6b0a4780.entry.js} +1 -1
  558. package/dist/realtimekit-ui/{p-2f380c20.entry.js → p-6d87671d.entry.js} +1 -1
  559. package/dist/realtimekit-ui/{p-a5afae52.entry.js → p-6e07513b.entry.js} +1 -1
  560. package/dist/realtimekit-ui/{p-7878ab30.entry.js → p-700e62e5.entry.js} +1 -1
  561. package/dist/realtimekit-ui/p-70a4d8e8.entry.js +1 -0
  562. package/dist/realtimekit-ui/{p-cfa03301.entry.js → p-7275df7a.entry.js} +1 -1
  563. package/dist/realtimekit-ui/{p-39a410f5.entry.js → p-727ff3ca.entry.js} +1 -1
  564. package/dist/realtimekit-ui/{p-c35040dc.entry.js → p-7407e5fb.entry.js} +1 -1
  565. package/dist/realtimekit-ui/{p-3d95065e.entry.js → p-76bea9ba.entry.js} +1 -1
  566. package/dist/realtimekit-ui/p-7955b7c2.entry.js +1 -0
  567. package/dist/realtimekit-ui/{p-a478656f.entry.js → p-7c511cf6.entry.js} +1 -1
  568. package/dist/realtimekit-ui/{p-6a985345.entry.js → p-7dc40b64.entry.js} +1 -1
  569. package/dist/realtimekit-ui/{p-60f90e32.entry.js → p-831a4a72.entry.js} +1 -1
  570. package/dist/realtimekit-ui/{p-c7f7f0ee.entry.js → p-848260b5.entry.js} +1 -1
  571. package/dist/realtimekit-ui/{p-da857425.entry.js → p-8662827c.entry.js} +1 -1
  572. package/dist/realtimekit-ui/{p-73f2a2db.entry.js → p-8751b85c.entry.js} +1 -1
  573. package/dist/realtimekit-ui/p-8dbac5e8.entry.js +1 -0
  574. package/dist/realtimekit-ui/{p-8a481d43.entry.js → p-8e588d5b.entry.js} +1 -1
  575. package/dist/realtimekit-ui/{p-0ce5b00f.entry.js → p-9b8c79ab.entry.js} +1 -1
  576. package/dist/realtimekit-ui/{p-x7gw0EVy.js → p-B8OtSZCI.js} +1 -1
  577. package/dist/realtimekit-ui/{p-B3SWd1rN.js → p-CkEIiUAw.js} +1 -1
  578. package/dist/realtimekit-ui/p-DITWlMXR.js +1 -0
  579. package/dist/realtimekit-ui/{p-CGOvNX5H.js → p-Dk8hCkEY.js} +1 -1
  580. package/dist/realtimekit-ui/{p-DgbGa7ou.js → p-DkW8b_It.js} +1 -1
  581. package/dist/realtimekit-ui/{p-6bca148a.entry.js → p-a25790f7.entry.js} +1 -1
  582. package/dist/realtimekit-ui/{p-82a226df.entry.js → p-a634bf29.entry.js} +1 -1
  583. package/dist/realtimekit-ui/{p-590350ae.entry.js → p-aaad0c85.entry.js} +1 -1
  584. package/dist/realtimekit-ui/{p-95818179.entry.js → p-b40651e7.entry.js} +1 -1
  585. package/dist/realtimekit-ui/{p-3ab9b329.entry.js → p-b42581e5.entry.js} +1 -1
  586. package/dist/realtimekit-ui/{p-4b2ce9e5.entry.js → p-ba1b67a4.entry.js} +1 -1
  587. package/dist/realtimekit-ui/{p-3a0eaf1e.entry.js → p-c25ef602.entry.js} +1 -1
  588. package/dist/realtimekit-ui/{p-69ee90c7.entry.js → p-c620f917.entry.js} +1 -1
  589. package/dist/realtimekit-ui/{p-7d7409e5.entry.js → p-c7916a62.entry.js} +1 -1
  590. package/dist/realtimekit-ui/{p-69445dc5.entry.js → p-c7bd4da5.entry.js} +1 -1
  591. package/dist/realtimekit-ui/{p-8206b22d.entry.js → p-cb58b187.entry.js} +1 -1
  592. package/dist/realtimekit-ui/{p-7711649a.entry.js → p-cc198be3.entry.js} +1 -1
  593. package/dist/realtimekit-ui/{p-21119a4d.entry.js → p-cc509d39.entry.js} +1 -1
  594. package/dist/realtimekit-ui/{p-bef64365.entry.js → p-cea57cb7.entry.js} +1 -1
  595. package/dist/realtimekit-ui/{p-465c4010.entry.js → p-cfd6260a.entry.js} +1 -1
  596. package/dist/realtimekit-ui/{p-cc9228ee.entry.js → p-d0fe5d91.entry.js} +1 -1
  597. package/dist/realtimekit-ui/{p-b56fe105.entry.js → p-d3bfc744.entry.js} +1 -1
  598. package/dist/realtimekit-ui/{p-a1febe2c.entry.js → p-d3d39178.entry.js} +1 -1
  599. package/dist/realtimekit-ui/{p-18607b9a.entry.js → p-d3d70e76.entry.js} +1 -1
  600. package/dist/realtimekit-ui/{p-6568c9be.entry.js → p-d52833d6.entry.js} +1 -1
  601. package/dist/realtimekit-ui/{p-8dc6db09.entry.js → p-d797e61a.entry.js} +1 -1
  602. package/dist/realtimekit-ui/{p-2999cb8d.entry.js → p-d85eea5e.entry.js} +1 -1
  603. package/dist/realtimekit-ui/{p-32079fea.entry.js → p-da137b88.entry.js} +1 -1
  604. package/dist/realtimekit-ui/{p-13a913a9.entry.js → p-db426f29.entry.js} +1 -1
  605. package/dist/realtimekit-ui/p-dc302f4a.entry.js +1 -0
  606. package/dist/realtimekit-ui/{p-c8cad0a6.entry.js → p-de8820d1.entry.js} +1 -1
  607. package/dist/realtimekit-ui/{p-64f46d1e.entry.js → p-df7a6471.entry.js} +1 -1
  608. package/dist/realtimekit-ui/{p-60e672f3.entry.js → p-dfce1619.entry.js} +1 -1
  609. package/dist/realtimekit-ui/{p-0df18cd8.entry.js → p-e155abc4.entry.js} +1 -1
  610. package/dist/realtimekit-ui/{p-cf9e2497.entry.js → p-e1e2aa29.entry.js} +1 -1
  611. package/dist/realtimekit-ui/{p-467cb881.entry.js → p-e2131b56.entry.js} +1 -1
  612. package/dist/realtimekit-ui/{p-70672349.entry.js → p-e59aa67d.entry.js} +1 -1
  613. package/dist/realtimekit-ui/p-e7e918c5.entry.js +1 -0
  614. package/dist/realtimekit-ui/{p-54c71e62.entry.js → p-e9d6b2fc.entry.js} +1 -1
  615. package/dist/realtimekit-ui/{p-e54dbacd.entry.js → p-f8bd6ef6.entry.js} +1 -1
  616. package/dist/realtimekit-ui/{p-9675893b.entry.js → p-f9e1d361.entry.js} +1 -1
  617. package/dist/realtimekit-ui/{p-792d2533.entry.js → p-fde9e0ea.entry.js} +1 -1
  618. package/dist/realtimekit-ui/{p-Dj-6QheV.js → p-im1XlbcC.js} +1 -1
  619. package/dist/realtimekit-ui/{p-CRQsZMW5.js → p-wx9iq4MT.js} +1 -1
  620. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  621. package/dist/types/components/rtk-screenshare-view/rtk-screenshare-view.d.ts +31 -7
  622. package/dist/types/components.d.ts +20 -13
  623. package/dist/types/lib/lang/default-language.d.ts +4 -0
  624. package/package.json +1 -1
  625. package/dist/components/p--EktoJd3.js +0 -1
  626. package/dist/components/p-B5Ikq3LV.js +0 -1
  627. package/dist/components/p-aXMUeMjU.js +0 -1
  628. package/dist/realtimekit-ui/p-1ff01d5f.entry.js +0 -1
  629. package/dist/realtimekit-ui/p-20588357.entry.js +0 -1
  630. package/dist/realtimekit-ui/p-341159c7.entry.js +0 -1
  631. package/dist/realtimekit-ui/p-72b2fe54.entry.js +0 -1
  632. package/dist/realtimekit-ui/p-77648ee7.entry.js +0 -1
  633. package/dist/realtimekit-ui/p-9c53a0b7.entry.js +0 -1
  634. package/dist/realtimekit-ui/p-C8tHk7bV.js +0 -1
  635. package/dist/realtimekit-ui/p-a05269d4.entry.js +0 -1
  636. package/dist/realtimekit-ui/p-b415ff27.entry.js +0 -1
  637. package/dist/realtimekit-ui/p-df0fe032.entry.js +0 -1
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, h, a as Host, g as getElement } from './index-gJCRRBX0.js';
2
- import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage } from './ui-store-25wIB_YH.js';
2
+ import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage } from './ui-store-GPnCYQx5.js';
3
3
  import { R as Render } from './index-BUsisVB6.js';
4
4
  import { u as useGrid } from './grid-CmmyVCoN.js';
5
5
  import { i as index } from './ResizeObserver.es-FdeAvICb.js';
6
- import { S as SyncWithStore } from './index-CgECHQfr.js';
6
+ import { S as SyncWithStore } from './index-vqQJVJal.js';
7
7
 
8
8
  const rtkSimpleGridCss = () => `:host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:block;height:100%;width:100%}`;
9
9
 
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h, a as Host, g as getElement } from './index-gJCRRBX0.js';
2
- import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage } from './ui-store-25wIB_YH.js';
2
+ import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage } from './ui-store-GPnCYQx5.js';
3
3
  import { d as defaultGridSize } from './grid-CmmyVCoN.js';
4
4
  import { R as Render } from './index-BUsisVB6.js';
5
- import { S as SyncWithStore } from './index-CgECHQfr.js';
5
+ import { S as SyncWithStore } from './index-vqQJVJal.js';
6
6
 
7
7
  const rtkSpotlightGridCss = () => `: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%}`;
8
8
 
@@ -66,13 +66,13 @@ const RtkSpotlightGrid = class {
66
66
  t: this.t,
67
67
  };
68
68
  const nonPinnedParticipants = this.participants.filter((p) => this.pinnedParticipants.some((pt) => pt.id != p.id));
69
- return (h(Host, { key: '89eb01a359afac77b549cf1874a66ee3c71b3c03' }, h("main", { key: 'c3d6ec072a2f6ad20f74075c1f14ed35d338542d', part: "main" }, h(Render, { key: '3beb850780222b5de7733b4f784cd8a009cc6f5a', element: "rtk-simple-grid", defaults: defaults, props: {
69
+ return (h(Host, { key: '80307410481d7418e30c78351b6ec16e466b95da' }, h("main", { key: 'e454d37b226868e02f8da6f61abf18f274ce3fdd', part: "main" }, h(Render, { key: 'b05d69dd12ea7f2da225e4c0456aa9979d6db153', element: "rtk-simple-grid", defaults: defaults, props: {
70
70
  part: 'main-grid',
71
71
  participants: this.pinnedParticipants,
72
72
  aspectRatio: this.aspectRatio,
73
73
  gap: this.gap,
74
74
  size: this.getAdaptiveSize(this.pinnedParticipants.length),
75
- } })), nonPinnedParticipants.length > 0 && (h("aside", { key: '3e729aed79f80a9f12bb586654ef654613a1035d', part: "aside", class: this.gridSize.spotlight ? `grid-width-${this.gridSize.spotlight}` : 'grid-width-md' }, h(Render, { key: 'd23ad2d8775a4714b0681c39289930cfef90d531', element: "rtk-simple-grid", defaults: defaults, props: {
75
+ } })), nonPinnedParticipants.length > 0 && (h("aside", { key: 'd7de316e63f1a4a770022f7da4ebc5836b3f28d6', part: "aside", class: this.gridSize.spotlight ? `grid-width-${this.gridSize.spotlight}` : 'grid-width-md' }, h(Render, { key: '92c24d74113f04f8334be5a2fc1c68dd9d0ca421', element: "rtk-simple-grid", defaults: defaults, props: {
76
76
  part: 'aside-grid',
77
77
  participants: nonPinnedParticipants,
78
78
  aspectRatio: this.aspectRatio,
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, a as Host } from './index-gJCRRBX0.js';
2
- import { e as defaultIconPack, i as useLanguage } from './ui-store-25wIB_YH.js';
3
- import { S as SyncWithStore } from './index-CgECHQfr.js';
2
+ import { e as defaultIconPack, i as useLanguage } from './ui-store-GPnCYQx5.js';
3
+ import { S as SyncWithStore } from './index-vqQJVJal.js';
4
4
 
5
5
  const rtkSpotlightIndicatorCss = () => `: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{font-size:12px}#sync-button{flex-direction:row;border-radius:var(--rtk-border-radius-sm, 4px);padding-left:var(--rtk-space-1, 4px);display:flex;align-items:center;justify-content:center;margin-bottom:var(--rtk-space-1, 4px);font-size:12px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}:host([size='sm']) rtk-tooltip,:host([size='md']) rtk-tooltip{width:100%}:host([size='sm'])>#sync-button{height:var(--rtk-space-8, 32px);width:var(--rtk-space-16, 64px);padding-left:var(--rtk-space-0, 0px)}:host([size='md'])>#sync-button{height:var(--rtk-space-8, 32px);width:var(--rtk-space-16, 64px)}:host([size='lg'])>#sync-button{flex-direction:row;height:var(--rtk-space-8, 32px);width:var(--rtk-space-16, 64px)}@media (orientation: portrait){:host([size='lg']) #sync-button{flex-direction:column-reverse;height:var(--rtk-space-16, 64px);width:var(--rtk-space-16, 64px)}:host([size='md']) #sync-button{height:var(--rtk-space-16, 64px);width:var(--rtk-space-16, 64px)}:host([size='sm']) #sync-button{height:var(--rtk-space-10, 40px);width:var(--rtk-space-16, 64px);flex-direction:row}}#sync-button>rtk-icon{max-height:14px}#sync-button rtk-icon{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}:host([size='sm']) #sync-button>rtk-icon{width:auto}#sync-button.active rtk-icon{color:rgb(var(--rtk-colors-text-1000, 255 255 255))}div{align-content:center;line-height:2rem}rtk-icon{height:var(--rtk-space-6, 24px);width:var(--rtk-space-8, 32px)}#sync-button.active{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-bg-opacity))}`;
6
6
 
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, d as createEvent, h, a as Host } from './index-gJCRRBX0.js';
2
2
  import './breakout-rooms-manager-DKvL7M6E.js';
3
3
  import './livestream-C0vp-Q7v.js';
4
- import { e as defaultIconPack, i as useLanguage } from './ui-store-25wIB_YH.js';
5
- import { S as SyncWithStore } from './index-CgECHQfr.js';
4
+ import { e as defaultIconPack, i as useLanguage } from './ui-store-GPnCYQx5.js';
5
+ import { S as SyncWithStore } from './index-vqQJVJal.js';
6
6
  import './breakout-rooms-Daj_55_i.js';
7
7
 
8
8
  const canJoinStage = (meeting) => {
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, d as createEvent, h, a as Host } from './index-gJCRRBX0.js';
2
- import { e as defaultIconPack, i as useLanguage } from './ui-store-25wIB_YH.js';
3
- import { S as SyncWithStore } from './index-CgECHQfr.js';
2
+ import { e as defaultIconPack, i as useLanguage } from './ui-store-GPnCYQx5.js';
3
+ import { S as SyncWithStore } from './index-vqQJVJal.js';
4
4
 
5
5
  const rtkStageCss = () => `: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;position:relative;overflow:hidden}`;
6
6
 
@@ -24,7 +24,7 @@ const RtkStage = class {
24
24
  this.t = useLanguage();
25
25
  }
26
26
  render() {
27
- return (h(Host, { key: '2f1f0816b48e44bb3eae63b61e47adf34c31c24b' }, h("slot", { key: '030180b3dd7d9342fdb604c6dddcb81b54568ba5' })));
27
+ return (h(Host, { key: 'f6dd0ce28b9760f1e0a176963f42d5d13e3fcee3' }, h("slot", { key: 'f6e3e11c57948dcc5207ae42a6c045e35657ac4e' })));
28
28
  }
29
29
  };
30
30
  __decorate([
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, d as createEvent, h, a as Host } from './index-gJCRRBX0.js';
2
- import { e as defaultIconPack, i as useLanguage } from './ui-store-25wIB_YH.js';
3
- import { S as SyncWithStore } from './index-CgECHQfr.js';
2
+ import { e as defaultIconPack, i as useLanguage } from './ui-store-GPnCYQx5.js';
3
+ import { S as SyncWithStore } from './index-vqQJVJal.js';
4
4
 
5
5
  const rtkSwitchCss = () => `:host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{box-sizing:border-box;display:inline-flex;height:var(--rtk-space-6, 24px);width:var(--rtk-space-10, 40px);align-items:center;padding:var(--rtk-space-1, 4px);border-radius:9999px;background-color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));cursor:pointer}.switch{box-sizing:border-box;height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);background-color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));border-radius:9999px;transition-property:var(--rtk-transition-property, all);transition-duration:200ms}:host(.checked){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}:host(.checked) .switch{transform:translateX(100%)}:host([readonly]),:host([disabled]){cursor:not-allowed;opacity:0.6}`;
6
6
 
@@ -53,7 +53,7 @@ const RtkSwitch = class {
53
53
  this.onChange.emit(checked);
54
54
  }
55
55
  render() {
56
- return (h(Host, { key: 'd9c0f74bd15e8247f60489de4a4aeca2114cb021', role: "switch", tabIndex: this.disabled && 0, "aria-readonly": this.readonly, "aria-checked": this.checked, "aria-disabled": this.disabled, class: { checked: this.checked }, onClick: this.onClick, onKeyPress: this.onKeyPress }, h("div", { key: '8a0a02d723210616e57b8ee167f7967ab5e736c3', class: "switch", part: "switch" })));
56
+ return (h(Host, { key: '8a545b2400deec8b3c43ebd2e800249b1735e3c3', role: "switch", tabIndex: this.disabled && 0, "aria-readonly": this.readonly, "aria-checked": this.checked, "aria-disabled": this.disabled, class: { checked: this.checked }, onClick: this.onClick, onKeyPress: this.onKeyPress }, h("div", { key: 'deee0e70b4dba9c8b5030b7d3f921ec8cb56cdd0', class: "switch", part: "switch" })));
57
57
  }
58
58
  static get watchers() { return {
59
59
  "checked": [{
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, d as createEvent, h, a as Host } from './index-gJCRRBX0.js';
2
- import { i as useLanguage } from './ui-store-25wIB_YH.js';
3
- import { S as SyncWithStore } from './index-CgECHQfr.js';
2
+ import { i as useLanguage } from './ui-store-GPnCYQx5.js';
3
+ import { S as SyncWithStore } from './index-vqQJVJal.js';
4
4
 
5
5
  const rtkTranscriptCss = () => `: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{pointer-events:none;display:block;color:rgb(var(--rtk-colors-text-1000, 255 255 255));display:flex;justify-content:center;vertical-align:middle;animation:show 0.4s ease;transition:0.4s;z-index:5;width:100%}.ctr{box-sizing:border-box;display:inline-flex;height:100%;align-items:center;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);--tw-shadow-color:rgb(var(--rtk-colors-background-1000, 8 8 8));--tw-shadow:var(--tw-shadow-colored);pointer-events:auto;padding:var(--rtk-space-3, 12px);overflow:auto;max-width:50%}.message{margin:var(--rtk-space-0, 0px);display:inline-block;justify-content:center;max-width:100%;text-wrap:wrap;line-height:1.5rem}.message .name{font-weight:bold}:host(.exit){animation:exit 0.4s ease}@keyframes show{0%{opacity:0;transform:translateY(120px)}100%{opacity:1;transform:translateY(0px)}}@keyframes exit{0%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-120px)}}:host([size='sm']){font-size:14px}`;
6
6
 
@@ -42,7 +42,7 @@ const RtkTranscript = class {
42
42
  }, 10000);
43
43
  }
44
44
  render() {
45
- return (h(Host, { key: 'fdb8aba3206821e1ea2a740c4aa445743af78163' }, h("div", { key: '2dab88ac6c2e6ad3456e0937b554dc5ed1d3fc3b', class: "ctr" }, h("p", { key: 'a6f800abc99d21628bece07f8439e3bd08b73707', class: "message" }, h("span", { key: '582a269bf085439dc95c0c4f95e0de2dc9d515b1', class: "name" }, this.transcript.name), ": ", this.transcript.transcript))));
45
+ return (h(Host, { key: 'b120a7571b4bb3f29e501659a7826d1f1f67dd81' }, h("div", { key: '5886d22cff3bd5b9fccf8ec0d1ae93b648649880', class: "ctr" }, h("p", { key: '47b00c6367cb3c299c7ac78911cbe733a772c2e7', class: "message" }, h("span", { key: 'f2d8dd8cbb683cef4f18f404e52b48b9a1d09423', class: "name" }, this.transcript.name), ": ", this.transcript.transcript))));
46
46
  }
47
47
  static get watchers() { return {
48
48
  "transcript": [{
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, e as writeTask, h, a as Host, g as getElement } from './index-gJCRRBX0.js';
2
- import { c as createDefaultConfig, i as useLanguage, L as clone } from './ui-store-25wIB_YH.js';
2
+ import { c as createDefaultConfig, i as useLanguage, L as clone } from './ui-store-GPnCYQx5.js';
3
3
  import './breakout-rooms-manager-DKvL7M6E.js';
4
4
  import './livestream-C0vp-Q7v.js';
5
- import { S as SyncWithStore } from './index-CgECHQfr.js';
5
+ import { S as SyncWithStore } from './index-vqQJVJal.js';
6
6
  import './breakout-rooms-Daj_55_i.js';
7
7
 
8
8
  const rtkTranscriptsCss = () => `: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:absolute;top:var(--rtk-space-4, 16px);right:var(--rtk-space-4, 16px);bottom:var(--rtk-space-4, 16px);left:var(--rtk-space-4, 16px);top:auto;display:flex;flex-direction:column;pointer-events:none;justify-content:center;width:100%;z-index:5}rtk-transcript{margin-top:var(--rtk-space-2, 8px)}`;
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-gJCRRBX0.js';
2
2
  import './breakout-rooms-manager-DKvL7M6E.js';
3
- import { m as merge, r as reportUiKitMetadata, p as provideRtkDesignSystem } from './ui-kit-metadata-DBkOnyOI.js';
4
- import { e as defaultIconPack, i as useLanguage, c as createDefaultConfig, f as defaultOverrides, u as uiStore, b as createPeerStore } from './ui-store-25wIB_YH.js';
3
+ import { m as merge, r as reportUiKitMetadata, p as provideRtkDesignSystem } from './ui-kit-metadata-CIMhjc7J.js';
4
+ import { e as defaultIconPack, i as useLanguage, c as createDefaultConfig, f as defaultOverrides, u as uiStore, b as createPeerStore } from './ui-store-GPnCYQx5.js';
5
5
  import './livestream-C0vp-Q7v.js';
6
6
  import { g as getInitErrorInfo } from './init-error-Cj-LCS8F.js';
7
7
  import { g as getJoinErrorInfo } from './join-error-vBfDtD_u.js';
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h, a as Host } from './index-gJCRRBX0.js';
2
- import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage } from './ui-store-25wIB_YH.js';
2
+ import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage } from './ui-store-GPnCYQx5.js';
3
3
  import './breakout-rooms-manager-DKvL7M6E.js';
4
4
  import './livestream-C0vp-Q7v.js';
5
- import { S as SyncWithStore } from './index-CgECHQfr.js';
5
+ import { S as SyncWithStore } from './index-vqQJVJal.js';
6
6
  import './breakout-rooms-Daj_55_i.js';
7
7
 
8
8
  const rtkWaitingScreenCss = () => `:host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.centered{display:flex;flex-direction:column;align-items:center}rtk-logo{margin-bottom:var(--rtk-space-8, 32px);height:var(--rtk-space-12, 48px)}p{font-size:16px;border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-8, 32px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}`;
@@ -28,7 +28,7 @@ const RtkWaitingScreen = class {
28
28
  this.t = useLanguage();
29
29
  }
30
30
  render() {
31
- return (h(Host, { key: '26f7376b6a9342f61a633af98dbd52cfb776db89' }, h("slot", { key: 'b0f9d9c034e0e34fa1beaa8b74c0bb186972752d' }, h("div", { key: '9d564d44c7e587b2a1517e9f190f52ce994bc0b0', class: "centered", part: "content" }, h("rtk-logo", { key: '690aa7dce99175cdc91e5a9dc4a333ab1250ab82', meeting: this.meeting, config: this.config, part: "logo", t: this.t }), h("p", { key: '1bf08c2f97e04ea74c420ce1f26535d7f8fe5390' }, this.t('waitlist.body_text'))))));
31
+ return (h(Host, { key: 'c1f8d15bbab64006850e558d639964c98726ffcd' }, h("slot", { key: '20c43713af8b86beeed449ab42b0063c336b0ed0' }, h("div", { key: 'd096a2636a3f6e9d7ba407e35ee4a9b64945a178', class: "centered", part: "content" }, h("rtk-logo", { key: 'ee54555093bf71941f0dbabd18f8b018aa9fd2ad', meeting: this.meeting, config: this.config, part: "logo", t: this.t }), h("p", { key: '95678476c7ef18ac3fd2795d64ef0c0fb1c9e710' }, this.t('waitlist.body_text'))))));
32
32
  }
33
33
  };
34
34
  __decorate([
@@ -1,4 +1,4 @@
1
- import { m as defineProperty, n as baseAssignValue, o as assignValue, p as isObject, q as isArrayLike, r as isIndex, t as eq, v as isPrototype, w as arrayLikeKeys, x as isObjectLike, y as baseGetTag, z as getPrototype, A as isBuffer, B as isTypedArray, C as isArray, D as cloneBuffer, E as cloneTypedArray, F as isArguments, G as isFunction, H as initCloneObject, S as Stack } from './ui-store-25wIB_YH.js';
1
+ import { m as defineProperty, n as baseAssignValue, o as assignValue, p as isObject, q as isArrayLike, r as isIndex, t as eq, v as isPrototype, w as arrayLikeKeys, x as isObjectLike, y as baseGetTag, z as getPrototype, A as isBuffer, B as isTypedArray, C as isArray, D as cloneBuffer, E as cloneTypedArray, F as isArguments, G as isFunction, H as initCloneObject, S as Stack } from './ui-store-GPnCYQx5.js';
2
2
 
3
3
  var spacingScale = [
4
4
  0,
@@ -940,7 +940,7 @@ var merge = createAssigner(function(object, source, srcIndex) {
940
940
  * The literal below is replaced with the released package version by `prepublish.js`.
941
941
  * Builds that are not published (local, dev) report it as is.
942
942
  */
943
- const UI_KIT_VERSION = '2.2.0-staging.3';
943
+ const UI_KIT_VERSION = '2.2.0-staging.4';
944
944
  /**
945
945
  * The wrapper packages load components from the loader bundle, which carries its own copy of
946
946
  * this module, separate from the copy behind the main entry. The registered symbol is the one
@@ -2722,6 +2722,10 @@ const defaultLanguage = {
2722
2722
  'screenshare.min_preview': 'Minimize Preview',
2723
2723
  'screenshare.max_preview': 'Expand Preview',
2724
2724
  'screenshare.shared': 'Your screen is being shared.',
2725
+ 'screenshare.visibility.none': 'No one is viewing your screen.',
2726
+ 'screenshare.visibility.all': 'Everyone is viewing your screen.',
2727
+ 'screenshare.visibility.not_viewing': 'Not currently viewing:',
2728
+ 'screenshare.visibility.more': 'More participants',
2725
2729
  'screenshare.start': 'Share Screen',
2726
2730
  'screenshare.share_different_screen': 'Share Different Screen',
2727
2731
  'screenshare.menu': 'Screen Sharing',
@@ -1 +1 @@
1
- export{B as BreakoutRoomsManager}from"./p-Rq_6y0HI.js";export{p as provideRtkDesignSystem,s as setUiKitSdkName}from"./p-DgbGa7ou.js";import{g as t}from"./p-B3SWd1rN.js";export{e as extendConfig}from"./p-B3SWd1rN.js";import{c as r}from"./p-C8tHk7bV.js";export{b as createPeerStore,d as defaultConfig,e as defaultIconPack,h as defaultLanguage,f as defaultOverrides,g as getInitialStates,a as uiState,u as uiStore,i as useLanguage}from"./p-C8tHk7bV.js";export{R as RtkNotificationsAudio}from"./p-B56IYWsZ.js";export{g as generateChatGroupKey,a as getChatGroups,c as getParticipantUserId,b as getUnreadChatCounts}from"./p-CRQsZMW5.js";import"./p-Daj_55_i.js";import"./p-C0vp-Q7v.js";import"./p-gJCRRBX0.js";import"./p-CAqYddlg.js";const o=(t,s)=>{if("undefined"==typeof document)return!1;const e=new CustomEvent("rtkNotification",{detail:Object.assign(Object.assign({},t),{playSound:s}),composed:!0});return document.dispatchEvent(e)};function n(t){return s=>Array.isArray(s)?s[0]===t:s===t}function l(t){return s=>Array.isArray(s)?s[0]!==t:s!==t}function m(t){return t.replace(/([a-z])([A-Z])/g,(t=>`${t[0]}-${t[1]}`.toLowerCase()))}class v{constructor(t,s,e){this.elem=t,this.config=s,this.keyString=e}add(t,s={}){var e;let r=t=m(t);return Object.keys(s).length>0&&(r=[t,s]),Array.isArray(this.elem)?this.elem.push(r):"children"in this.elem&&Array.isArray(this.elem.children)?this.elem.children=[...this.elem.children,r]:"remove"in this.elem&&Array.isArray(this.elem.remove)&&this.elem.remove.find(n(t))?this.elem.remove=this.elem.remove.filter(l(t)):("add"in this.elem||(this.elem.add=[]),null===(e=this.elem.add)||void 0===e||e.push(r)),this}remove(t){var s;if(t=m(t),Array.isArray(this.elem)){const s=this.elem.findIndex(n(t));s>-1&&this.elem.splice(s,1)}else"children"in this.elem&&Array.isArray(this.elem.children)?this.elem.children=this.elem.children.filter(l(t)):"add"in this.elem&&Array.isArray(this.elem.add)&&this.elem.add.find((s=>s===t))?this.elem.add=this.elem.add.filter(l(t)):("remove"in this.elem||(this.elem.remove=[]),null===(s=this.elem.remove)||void 0===s||s.push(t));return this}set style(t){console.log(t)}setChildrenProps(t,s){console.log(this.keyString,t,s)}getChildrenProps(t){return console.log(this.keyString,t),{}}replace(t){console.log(this.config,t)}}class j{constructor(t){this.config=t||r()}find(t,s={}){t=m(t);const e=[],r=[];Object.keys(s||{}).forEach((t=>{"boolean"==typeof s[t]?e.push(t):r.push([t,s[t]])})),e.sort();const i=this.config.root;if(void 0===i)return;let o=t,a="";e.length>0&&(a=`.${e.join(".")}`,o=`${t}${a}`,Array.isArray(i[t])&&(i[t]={states:[],children:i[t]}),void 0===i[t].states&&(i[t].states=[]),e.forEach((s=>{var e,r;-1===(null===(e=i[t].states)||void 0===e?void 0:e.indexOf(s))&&(null===(r=i[t].states)||void 0===r||r.push(s))}))),r.length>0&&r.forEach((s=>{o=`${t}[${s[0]}=${s[1]}]${a}`,Array.isArray(i[t])&&(i[t]={state:s[0],children:i[t]})}));let n=i[o];return void 0===n&&(i[o]={},n=i[o]),new v(n,this.config,o)}build(){return this.config}}function y(s,e,r){if(!r){const s=t(e.self.config,e);r=s.config}return s.map((t=>{r=t.register(r,e,(t=>new j(t)))})),r}export{j as RtkUiBuilder,r as createDefaultConfig,t as generateConfig,y as registerAddons,o as sendNotification}
1
+ export{B as BreakoutRoomsManager}from"./p-Rq_6y0HI.js";export{p as provideRtkDesignSystem,s as setUiKitSdkName}from"./p-DkW8b_It.js";import{g as t}from"./p-CkEIiUAw.js";export{e as extendConfig}from"./p-CkEIiUAw.js";import{c as r}from"./p-DITWlMXR.js";export{b as createPeerStore,d as defaultConfig,e as defaultIconPack,h as defaultLanguage,f as defaultOverrides,g as getInitialStates,a as uiState,u as uiStore,i as useLanguage}from"./p-DITWlMXR.js";export{R as RtkNotificationsAudio}from"./p-B56IYWsZ.js";export{g as generateChatGroupKey,a as getChatGroups,c as getParticipantUserId,b as getUnreadChatCounts}from"./p-wx9iq4MT.js";import"./p-Daj_55_i.js";import"./p-C0vp-Q7v.js";import"./p-gJCRRBX0.js";import"./p-CAqYddlg.js";const o=(t,s)=>{if("undefined"==typeof document)return!1;const i=new CustomEvent("rtkNotification",{detail:Object.assign(Object.assign({},t),{playSound:s}),composed:!0});return document.dispatchEvent(i)};function n(t){return s=>Array.isArray(s)?s[0]===t:s===t}function l(t){return s=>Array.isArray(s)?s[0]!==t:s!==t}function m(t){return t.replace(/([a-z])([A-Z])/g,(t=>`${t[0]}-${t[1]}`.toLowerCase()))}class v{constructor(t,s,i){this.elem=t,this.config=s,this.keyString=i}add(t,s={}){var i;let e=t=m(t);return Object.keys(s).length>0&&(e=[t,s]),Array.isArray(this.elem)?this.elem.push(e):"children"in this.elem&&Array.isArray(this.elem.children)?this.elem.children=[...this.elem.children,e]:"remove"in this.elem&&Array.isArray(this.elem.remove)&&this.elem.remove.find(n(t))?this.elem.remove=this.elem.remove.filter(l(t)):("add"in this.elem||(this.elem.add=[]),null===(i=this.elem.add)||void 0===i||i.push(e)),this}remove(t){var s;if(t=m(t),Array.isArray(this.elem)){const s=this.elem.findIndex(n(t));s>-1&&this.elem.splice(s,1)}else"children"in this.elem&&Array.isArray(this.elem.children)?this.elem.children=this.elem.children.filter(l(t)):"add"in this.elem&&Array.isArray(this.elem.add)&&this.elem.add.find((s=>s===t))?this.elem.add=this.elem.add.filter(l(t)):("remove"in this.elem||(this.elem.remove=[]),null===(s=this.elem.remove)||void 0===s||s.push(t));return this}set style(t){console.log(t)}setChildrenProps(t,s){console.log(this.keyString,t,s)}getChildrenProps(t){return console.log(this.keyString,t),{}}replace(t){console.log(this.config,t)}}class j{constructor(t){this.config=t||r()}find(t,s={}){t=m(t);const i=[],e=[];Object.keys(s||{}).forEach((t=>{"boolean"==typeof s[t]?i.push(t):e.push([t,s[t]])})),i.sort();const r=this.config.root;if(void 0===r)return;let o=t,a="";i.length>0&&(a=`.${i.join(".")}`,o=`${t}${a}`,Array.isArray(r[t])&&(r[t]={states:[],children:r[t]}),void 0===r[t].states&&(r[t].states=[]),i.forEach((s=>{var i,e;-1===(null===(i=r[t].states)||void 0===i?void 0:i.indexOf(s))&&(null===(e=r[t].states)||void 0===e||e.push(s))}))),e.length>0&&e.forEach((s=>{o=`${t}[${s[0]}=${s[1]}]${a}`,Array.isArray(r[t])&&(r[t]={state:s[0],children:r[t]})}));let n=r[o];return void 0===n&&(r[o]={},n=r[o]),new v(n,this.config,o)}build(){return this.config}}function y(s,i,e){if(!e){const s=t(i.self.config,i);e=s.config}return s.map((t=>{e=t.register(e,i,(t=>new j(t)))})),e}export{j as RtkUiBuilder,r as createDefaultConfig,t as generateConfig,y as registerAddons,o as sendNotification}
@@ -1 +1 @@
1
- import{r as t,d as r,h as e,a as o}from"./p-gJCRRBX0.js";import"./p-Rq_6y0HI.js";import"./p-C0vp-Q7v.js";import{e as c,i as a}from"./p-C8tHk7bV.js";import{S as i}from"./p-CGOvNX5H.js";import"./p-Daj_55_i.js";var s=function(t,r,e,o){var c,a=arguments.length,i=a<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--)(c=t[s])&&(i=(a<3?c(i):a>3?c(r,e,i):c(r,e))||i);return a>3&&i&&Object.defineProperty(r,e,i),i};const p=class{constructor(e){t(this,e),this.onDropCallback=r(this,"dropCallback",7),this.iconPack=c,this.t=a(),this.dropzoneActivated=!1}connectedCallback(){if(!this.hostEl)throw new Error("hostEl prop is required");this.hostEl.addEventListener("dragover",(t=>{t.preventDefault(),this.dropzoneActivated=!0})),this.hostEl.addEventListener("dragleave",(()=>{this.dropzoneActivated=!1})),this.hostEl.addEventListener("drop",(t=>{t.preventDefault(),this.dropzoneActivated=!1,this.onDropCallback.emit(t)}))}render(){return 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
+ import{r as t,d as r,h as e,a as o}from"./p-gJCRRBX0.js";import"./p-Rq_6y0HI.js";import"./p-C0vp-Q7v.js";import{e as c,i as a}from"./p-DITWlMXR.js";import{S as i}from"./p-Dk8hCkEY.js";import"./p-Daj_55_i.js";var s=function(t,r,e,o){var c,a=arguments.length,i=a<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--)(c=t[s])&&(i=(a<3?c(i):a>3?c(r,e,i):c(r,e))||i);return a>3&&i&&Object.defineProperty(r,e,i),i};const p=class{constructor(e){t(this,e),this.onDropCallback=r(this,"dropCallback",7),this.iconPack=c,this.t=a(),this.dropzoneActivated=!1}connectedCallback(){if(!this.hostEl)throw new Error("hostEl prop is required");this.hostEl.addEventListener("dragover",(t=>{t.preventDefault(),this.dropzoneActivated=!0})),this.hostEl.addEventListener("dragleave",(()=>{this.dropzoneActivated=!1})),this.hostEl.addEventListener("drop",(t=>{t.preventDefault(),this.dropzoneActivated=!1,this.onDropCallback.emit(t)}))}render(){return 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,h as e,a}from"./p-gJCRRBX0.js";import{a as r,f as s}from"./p-vBD2htwQ.js";import{e as i,i as o}from"./p-C8tHk7bV.js";import{S as n}from"./p-CGOvNX5H.js";var c=function(t,e,a,r){var s,i=arguments.length,o=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,a,r);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(o=(i<3?s(o):i>3?s(e,a,o):s(e,a))||o);return i>3&&o&&Object.defineProperty(e,a,o),o};const l=class{constructor(e){t(this,e),this.isScreenShare=!1,this.variant="default",this.iconPack=i,this.t=o(),this.length=13}sizeChanged(t){this.length="sm"===t?8:13}formatNameTag(t,e){return this.isScreenShare?e?`${this.t("screen")} - ${r(t,this.length-3)} (${this.t("you")})`:`${this.t("screen")} - ${r(t,this.length)}`:e?`${r(t,this.length-3)} (${this.t("you")})`:r(t,this.length)}render(){var t,r,i;const o=s((null===(t=this.participant)||void 0===t?void 0:t.name)||""),n=(null===(r=this.participant)||void 0===r?void 0:r.id)===(null===(i=this.meeting)||void 0===i?void 0:i.self.id);return e(a,{key:"9040aabe429bea4cfcdc7a6635eeb336f2154961",title:o},e("slot",{key:"f66091f5af1914e91e14415a4758f9bdc15c0c85",name:"start"}),e("span",{key:"241ca42f60b258c5b3c20f423e9ade272f8f5a8b",class:"name"},this.formatNameTag(o,n)),e("slot",{key:"7f6f9b8e5c2ea76042a0ff812458af6ed702b43d",name:"end"}))}static get watchers(){return{size:[{sizeChanged:0}]}}};c([n()],l.prototype,"meeting",void 0),c([n()],l.prototype,"iconPack",void 0),c([n()],l.prototype,"t",void 0),l.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;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-1\\.5, 6px);padding-right:var(--rtk-space-1\\.5, 6px);font-size:14px;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));color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}span.name{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}::slotted(rtk-audio-visualizer[slot='start']){margin-right:var(--rtk-space-1\\.5, 6px)}::slotted(rtk-audio-visualizer[slot='end']){margin-left:var(--rtk-space-1\\.5, 6px)}:host([size='sm']){font-size:12px;--tw-bg-opacity:0.6}:host([variant='text']){background-color:transparent;padding:var(--rtk-space-0, 0px)}";export{l as rtk_name_tag}
1
+ import{r as t,h as e,a}from"./p-gJCRRBX0.js";import{a as r,f as s}from"./p-vBD2htwQ.js";import{e as i,i as o}from"./p-DITWlMXR.js";import{S as n}from"./p-Dk8hCkEY.js";var c=function(t,e,a,r){var s,i=arguments.length,o=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,a,r);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(o=(i<3?s(o):i>3?s(e,a,o):s(e,a))||o);return i>3&&o&&Object.defineProperty(e,a,o),o};const l=class{constructor(e){t(this,e),this.isScreenShare=!1,this.variant="default",this.iconPack=i,this.t=o(),this.length=13}sizeChanged(t){this.length="sm"===t?8:13}formatNameTag(t,e){return this.isScreenShare?e?`${this.t("screen")} - ${r(t,this.length-3)} (${this.t("you")})`:`${this.t("screen")} - ${r(t,this.length)}`:e?`${r(t,this.length-3)} (${this.t("you")})`:r(t,this.length)}render(){var t,r,i;const o=s((null===(t=this.participant)||void 0===t?void 0:t.name)||""),n=(null===(r=this.participant)||void 0===r?void 0:r.id)===(null===(i=this.meeting)||void 0===i?void 0:i.self.id);return e(a,{key:"9040aabe429bea4cfcdc7a6635eeb336f2154961",title:o},e("slot",{key:"f66091f5af1914e91e14415a4758f9bdc15c0c85",name:"start"}),e("span",{key:"241ca42f60b258c5b3c20f423e9ade272f8f5a8b",class:"name"},this.formatNameTag(o,n)),e("slot",{key:"7f6f9b8e5c2ea76042a0ff812458af6ed702b43d",name:"end"}))}static get watchers(){return{size:[{sizeChanged:0}]}}};c([n()],l.prototype,"meeting",void 0),c([n()],l.prototype,"iconPack",void 0),c([n()],l.prototype,"t",void 0),l.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;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-1\\.5, 6px);padding-right:var(--rtk-space-1\\.5, 6px);font-size:14px;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));color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}span.name{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}::slotted(rtk-audio-visualizer[slot='start']){margin-right:var(--rtk-space-1\\.5, 6px)}::slotted(rtk-audio-visualizer[slot='end']){margin-left:var(--rtk-space-1\\.5, 6px)}:host([size='sm']){font-size:12px;--tw-bg-opacity:0.6}:host([variant='text']){background-color:transparent;padding:var(--rtk-space-0, 0px)}";export{l as rtk_name_tag}
@@ -1 +1 @@
1
- import{r as t,e as s,h as i}from"./p-gJCRRBX0.js";import"./p-Rq_6y0HI.js";import"./p-C0vp-Q7v.js";import{e as r}from"./p-C8tHk7bV.js";import{S as e}from"./p-CGOvNX5H.js";import{d as h}from"./p-x7gw0EVy.js";import"./p-Daj_55_i.js";const a=class{constructor(i){t(this,i),this.visibleItemsCount=20,this.estimateItemSize=100,this.iconPack=r,this.isFetching=!1,this.autoScroll=!0,this.totalHeight=0,this.sizes=new Map,this.lastScrollTop=0,this.scrollToBottomRetries=0,this.elementObserver=(()=>{let t=null;const s=()=>t||("undefined"!=typeof ResizeObserver?t=new ResizeObserver((t=>{t.forEach((t=>{this.measureElement(t.target,t)}))})):null);return{disconnect:()=>{var t;return null===(t=s())||void 0===t?void 0:t.disconnect()},observe:t=>{var i;return null===(i=s())||void 0===i?void 0:i.observe(t,{box:"border-box"})},unobserve:t=>{var i;return null===(i=s())||void 0===i?void 0:i.unobserve(t)}}})(),this.measureElement=(t,s)=>{if(!t)return;const i=t.dataset.id;if(this.sizes.has(i))return void this.elementObserver.unobserve(t);if(s){const r=s.borderBoxSize[0];if(r&&r.blockSize>0)return this.saveItemSize(i,r.blockSize),void this.elementObserver.unobserve(t)}const r=t.getBoundingClientRect();r.height>0&&this.saveItemSize(i,r.height)},this.getVisibleItems=()=>this.messages.slice(this.range.start,this.range.end+1),this.updateVisibleItems=(t,s)=>{const i=this.messages.length;let r=t,e=s;i<=this.visibleItemsCount?(r=0,e=i-1):s-t<this.visibleItemsCount-1&&(r=this.range.end-this.visibleItemsCount+1),this.range.start!==r&&(this.range={start:r,end:e},this.totalHeight=this.getRangeSize(0,i))},this.getEstimatedItemSize=()=>this.estimateItemSize,this.getRangeSize=(t,s)=>{let i=0,r=0;for(let e=t;e<s;e++)r=this.sizes.get(this.messages[e].id),i+=r||this.getEstimatedItemSize();return i},this.getScrollTop=()=>this.$listRef?Math.ceil(this.$listRef.scrollTop):0,this.getClientHeight=()=>this.$listRef?Math.ceil(this.$listRef.clientHeight):0,this.getScrollHeight=()=>this.$listRef?Math.ceil(this.$listRef.scrollHeight):0,this.getItemsScrolled=()=>{const t=this.lastScrollTop;if(t<=0)return 0;let s=0,i=0,r=0,e=this.messages.length;for(;s<=e;){if(i=s+e>>>1,r=this.getRangeSize(0,i),r===t)return i;r<t?s=i+1:r>t&&(e=i-1)}return s>0?--s:0},this.getEndByStart=t=>Math.min(t+this.visibleItemsCount,this.messages.length-1),this.scrollToOffset=t=>{this.$listRef&&(this.$listRef.scrollTop=t)},this.scrollToIndex=t=>{if(t>=this.messages.length-1)this.scrollToBottom();else{const s=t<1?0:this.getRangeSize(0,t);this.scrollToOffset(s)}},this.scrollToBottom=()=>{this.$listEndRef&&s((()=>{this.$listEndRef.scrollIntoView(),this.getScrollHeight()-(this.getScrollTop()+this.getClientHeight())>0&&this.scrollToBottomRetries<10?setTimeout((()=>{this.scrollToBottom()}),1e3/60):(this.scrollToBottomRetries=0,this.autoScroll=!0)}))},this.handleScroll=async()=>{if(this.isFetching)return;const t=this.getScrollTop(),s=t<this.lastScrollTop||0===t?"UP":"DOWN";if(this.lastScrollTop=t,this.loadMore&&0===t&&"UP"===s&&!1===this.isFetching){this.isFetching=!0;const t=await this.loadMore(this.messages[0]);t&&t.length&&(this.messages=[...t,...this.messages]),this.isFetching=!1}"UP"===s?this.handleTop():"DOWN"===s&&this.handleBottom()},this.handleTop=()=>{const t=this.getItemsScrolled();if(t<=this.range.end-5&&(this.autoScroll=!1),t>this.range.start+5)return;const s=Math.max(this.range.start-5,0);this.updateVisibleItems(s,this.getEndByStart(s))},this.handleBottom=()=>{if(this.getItemsScrolled()<this.range.start+5)return;const t=this.range.start+5,s=this.getEndByStart(t);this.updateVisibleItems(s===this.messages.length-1?s-this.visibleItemsCount:t,s)},this.updateTotalHeight=h((()=>{this.totalHeight=this.getRangeSize(0,this.messages.length)}),1e3/30,{leading:!0}),this.rendererInternal=(t,s,i)=>{if(!t)return;if(t.dataset.id===s.id)return;const r=this.renderer(s,i);t.hasChildNodes&&(t.innerHTML=""),this.elementObserver.observe(t),t.dataset.id=s.id,t.appendChild(r)}}connectedCallback(){const t=this.messages.length-1;this.range={start:t-this.visibleItemsCount,end:t},this.updateVisibleItems(this.range.start,this.range.end),this.totalHeight=this.getRangeSize(0,t)}componentDidLoad(){this.autoScroll&&this.scrollToBottom()}messagesUpdated(t,s){if(t.length>s.length){const i=t.length-s.length;this.updateVisibleItems(i,this.getEndByStart(i)),this.scrollToIndex(this.range.start)}}saveItemSize(t,s){this.sizes.set(t,Math.round(s)),this.updateTotalHeight()}render(){return i("div",{key:"8da5ac7ee83f43da54ce1af023e178d206436b80",class:"scrollbar content-wrapper",ref:t=>this.$listRef=t,onScroll:this.handleScroll},i("div",{key:"3aeec25e25aeb2864b7ce0d68a08d58bb2b63cef",class:"scroller"},i("div",{key:"b65b2fb4471307f38c08480d268adfaafdb696fb",style:{height:`${this.totalHeight}px`}}),i("div",{key:"08aa1dcf4740ce438b152527e8d60aff28704e8a",class:"smallest-dom-element",id:"list-end",ref:t=>this.$listEndRef=t})),i("div",{key:"48ba3788f83f2329174fb3ddd107eaf4da91699a",class:"content",style:{transform:`translateY(${this.getRangeSize(0,this.range.start)}px)`}},this.isFetching&&i("div",{key:"1a53b6b02899df6ce80c781b44fcd71802105fdf",class:"loader"},i("rtk-spinner",{key:"222bdf5ad19f45914f48c91afb65075e3fef277f",size:"md"})),this.getVisibleItems().map(((t,s)=>i("div",{key:t.id,ref:i=>this.rendererInternal(i,t,s)})))))}static get watchers(){return{messages:[{messagesUpdated:0}]}}};(function(t,s,i,r){var e,h=arguments.length,a=h<3?s:null===r?r=Object.getOwnPropertyDescriptor(s,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,s,i,r);else for(var o=t.length-1;o>=0;o--)(e=t[o])&&(a=(h<3?e(a):h>3?e(s,i,a):e(s,i))||a);h>3&&a&&Object.defineProperty(s,i,a)})([e()],a.prototype,"iconPack",void 0),a.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}.loading{cursor:wait}.content-wrapper{height:100%;overflow-y:auto;position:relative;contain:strict}.scroller{width:1px;opacity:0}.content{position:absolute;top:0;width:100%}.smallest-dom-element{width:100%;height:2px;background:red}.loader{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);display:flex;justify-content:center}";export{a as rtk_message_list_view}
1
+ import{r as t,e as s,h as i}from"./p-gJCRRBX0.js";import"./p-Rq_6y0HI.js";import"./p-C0vp-Q7v.js";import{e as r}from"./p-DITWlMXR.js";import{S as e}from"./p-Dk8hCkEY.js";import{d as h}from"./p-B8OtSZCI.js";import"./p-Daj_55_i.js";const a=class{constructor(i){t(this,i),this.visibleItemsCount=20,this.estimateItemSize=100,this.iconPack=r,this.isFetching=!1,this.autoScroll=!0,this.totalHeight=0,this.sizes=new Map,this.lastScrollTop=0,this.scrollToBottomRetries=0,this.elementObserver=(()=>{let t=null;const s=()=>t||("undefined"!=typeof ResizeObserver?t=new ResizeObserver((t=>{t.forEach((t=>{this.measureElement(t.target,t)}))})):null);return{disconnect:()=>{var t;return null===(t=s())||void 0===t?void 0:t.disconnect()},observe:t=>{var i;return null===(i=s())||void 0===i?void 0:i.observe(t,{box:"border-box"})},unobserve:t=>{var i;return null===(i=s())||void 0===i?void 0:i.unobserve(t)}}})(),this.measureElement=(t,s)=>{if(!t)return;const i=t.dataset.id;if(this.sizes.has(i))return void this.elementObserver.unobserve(t);if(s){const r=s.borderBoxSize[0];if(r&&r.blockSize>0)return this.saveItemSize(i,r.blockSize),void this.elementObserver.unobserve(t)}const r=t.getBoundingClientRect();r.height>0&&this.saveItemSize(i,r.height)},this.getVisibleItems=()=>this.messages.slice(this.range.start,this.range.end+1),this.updateVisibleItems=(t,s)=>{const i=this.messages.length;let r=t,e=s;i<=this.visibleItemsCount?(r=0,e=i-1):s-t<this.visibleItemsCount-1&&(r=this.range.end-this.visibleItemsCount+1),this.range.start!==r&&(this.range={start:r,end:e},this.totalHeight=this.getRangeSize(0,i))},this.getEstimatedItemSize=()=>this.estimateItemSize,this.getRangeSize=(t,s)=>{let i=0,r=0;for(let e=t;e<s;e++)r=this.sizes.get(this.messages[e].id),i+=r||this.getEstimatedItemSize();return i},this.getScrollTop=()=>this.$listRef?Math.ceil(this.$listRef.scrollTop):0,this.getClientHeight=()=>this.$listRef?Math.ceil(this.$listRef.clientHeight):0,this.getScrollHeight=()=>this.$listRef?Math.ceil(this.$listRef.scrollHeight):0,this.getItemsScrolled=()=>{const t=this.lastScrollTop;if(t<=0)return 0;let s=0,i=0,r=0,e=this.messages.length;for(;s<=e;){if(i=s+e>>>1,r=this.getRangeSize(0,i),r===t)return i;r<t?s=i+1:r>t&&(e=i-1)}return s>0?--s:0},this.getEndByStart=t=>Math.min(t+this.visibleItemsCount,this.messages.length-1),this.scrollToOffset=t=>{this.$listRef&&(this.$listRef.scrollTop=t)},this.scrollToIndex=t=>{if(t>=this.messages.length-1)this.scrollToBottom();else{const s=t<1?0:this.getRangeSize(0,t);this.scrollToOffset(s)}},this.scrollToBottom=()=>{this.$listEndRef&&s((()=>{this.$listEndRef.scrollIntoView(),this.getScrollHeight()-(this.getScrollTop()+this.getClientHeight())>0&&this.scrollToBottomRetries<10?setTimeout((()=>{this.scrollToBottom()}),1e3/60):(this.scrollToBottomRetries=0,this.autoScroll=!0)}))},this.handleScroll=async()=>{if(this.isFetching)return;const t=this.getScrollTop(),s=t<this.lastScrollTop||0===t?"UP":"DOWN";if(this.lastScrollTop=t,this.loadMore&&0===t&&"UP"===s&&!1===this.isFetching){this.isFetching=!0;const t=await this.loadMore(this.messages[0]);t&&t.length&&(this.messages=[...t,...this.messages]),this.isFetching=!1}"UP"===s?this.handleTop():"DOWN"===s&&this.handleBottom()},this.handleTop=()=>{const t=this.getItemsScrolled();if(t<=this.range.end-5&&(this.autoScroll=!1),t>this.range.start+5)return;const s=Math.max(this.range.start-5,0);this.updateVisibleItems(s,this.getEndByStart(s))},this.handleBottom=()=>{if(this.getItemsScrolled()<this.range.start+5)return;const t=this.range.start+5,s=this.getEndByStart(t);this.updateVisibleItems(s===this.messages.length-1?s-this.visibleItemsCount:t,s)},this.updateTotalHeight=h((()=>{this.totalHeight=this.getRangeSize(0,this.messages.length)}),1e3/30,{leading:!0}),this.rendererInternal=(t,s,i)=>{if(!t)return;if(t.dataset.id===s.id)return;const r=this.renderer(s,i);t.hasChildNodes&&(t.innerHTML=""),this.elementObserver.observe(t),t.dataset.id=s.id,t.appendChild(r)}}connectedCallback(){const t=this.messages.length-1;this.range={start:t-this.visibleItemsCount,end:t},this.updateVisibleItems(this.range.start,this.range.end),this.totalHeight=this.getRangeSize(0,t)}componentDidLoad(){this.autoScroll&&this.scrollToBottom()}messagesUpdated(t,s){if(t.length>s.length){const i=t.length-s.length;this.updateVisibleItems(i,this.getEndByStart(i)),this.scrollToIndex(this.range.start)}}saveItemSize(t,s){this.sizes.set(t,Math.round(s)),this.updateTotalHeight()}render(){return i("div",{key:"8da5ac7ee83f43da54ce1af023e178d206436b80",class:"scrollbar content-wrapper",ref:t=>this.$listRef=t,onScroll:this.handleScroll},i("div",{key:"3aeec25e25aeb2864b7ce0d68a08d58bb2b63cef",class:"scroller"},i("div",{key:"b65b2fb4471307f38c08480d268adfaafdb696fb",style:{height:`${this.totalHeight}px`}}),i("div",{key:"08aa1dcf4740ce438b152527e8d60aff28704e8a",class:"smallest-dom-element",id:"list-end",ref:t=>this.$listEndRef=t})),i("div",{key:"48ba3788f83f2329174fb3ddd107eaf4da91699a",class:"content",style:{transform:`translateY(${this.getRangeSize(0,this.range.start)}px)`}},this.isFetching&&i("div",{key:"1a53b6b02899df6ce80c781b44fcd71802105fdf",class:"loader"},i("rtk-spinner",{key:"222bdf5ad19f45914f48c91afb65075e3fef277f",size:"md"})),this.getVisibleItems().map(((t,s)=>i("div",{key:t.id,ref:i=>this.rendererInternal(i,t,s)})))))}static get watchers(){return{messages:[{messagesUpdated:0}]}}};(function(t,s,i,r){var e,h=arguments.length,a=h<3?s:null===r?r=Object.getOwnPropertyDescriptor(s,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,s,i,r);else for(var o=t.length-1;o>=0;o--)(e=t[o])&&(a=(h<3?e(a):h>3?e(s,i,a):e(s,i))||a);h>3&&a&&Object.defineProperty(s,i,a)})([e()],a.prototype,"iconPack",void 0),a.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}.loading{cursor:wait}.content-wrapper{height:100%;overflow-y:auto;position:relative;contain:strict}.scroller{width:1px;opacity:0}.content{position:absolute;top:0;width:100%}.smallest-dom-element{width:100%;height:2px;background:red}.loader{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);display:flex;justify-content:center}";export{a as rtk_message_list_view}
@@ -1 +1 @@
1
- import{r as t,e as s,h as i,a as e,g as r}from"./p-gJCRRBX0.js";import{c as n,i as a,L as o}from"./p-C8tHk7bV.js";import"./p-Rq_6y0HI.js";import"./p-C0vp-Q7v.js";import{S as h}from"./p-CGOvNX5H.js";import"./p-Daj_55_i.js";var c=function(t,s,i,e){var r,n=arguments.length,a=n<3?s:null===e?e=Object.getOwnPropertyDescriptor(s,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,s,i,e);else for(var o=t.length-1;o>=0;o--)(r=t[o])&&(a=(n<3?r(a):n>3?r(s,i,a):r(s,i))||a);return n>3&&a&&Object.defineProperty(s,i,a),a};const p=class{constructor(s){t(this,s),this.config=n(),this.t=a(),this.transcripts=[],this.listenerAttached=!1,this.onTranscript=t=>{t.transcript&&this.add(t)}}connectedCallback(){this.meetingChanged(this.meeting)}addListener(t){var s;null===(s=null==t?void 0:t.ai)||void 0===s||s.addListener("transcript",this.onTranscript),this.listenerAttached=!0}clearListeners(t){var s;this.onTranscript&&(null===(s=null==t?void 0:t.ai)||void 0===s||s.removeListener("transcript",this.onTranscript)),this.listenerAttached=!1,clearTimeout(this.disconnectTimeout),this.transcripts=[]}disconnectedCallback(){this.meeting&&this.clearListeners(this.meeting)}meetingChanged(t,s){clearTimeout(this.disconnectTimeout),s&&this.clearListeners(s),t&&this.states.activeCaptions&&this.addListener(t)}statesChanged(t){t&&(t.activeCaptions&&!this.listenerAttached&&this.addListener(this.meeting),!t.activeCaptions&&this.listenerAttached&&this.clearListeners(this.meeting))}transcriptionsReducer(t,s){if(!t.length)return[s];let i=t[t.length-1];return i.peerId!==s.peerId?t.concat(s):i.id===s.id?(i.transcript=s.transcript,t.pop(),t.concat(o(i))):t.concat(s)}add(t){this.transcripts=this.transcriptionsReducer(this.transcripts,t),this.pruneToLatestTwoGroups()}buildGroups(){const t=[];return this.transcripts.forEach((s=>{const i=t[t.length-1];!i||i.peerId!==s.peerId||i.combinedText.length+s.transcript.length>400?(t.push({renderedId:s.id,peerId:s.peerId,combinedText:s.transcript,entries:[s]}),s.renderedId=s.id):(i.combinedText+=" "+s.transcript,s.renderedId=i.renderedId,i.entries.push(s))})),t}pruneToLatestTwoGroups(){const t=this.buildGroups();if(t.length<=2)return;const s=new Set(t.slice(-2).flatMap((t=>t.entries)));this.transcripts=this.transcripts.filter((t=>s.has(t)))}remove(t){this.transcripts=this.transcripts.filter((s=>s.renderedId!==t))}handleDismiss(t){t.stopPropagation();const{id:i,renderedId:e}=t.detail,r=this.host.shadowRoot.querySelector(`[data-id="${i}"]`);null==r||r.classList.add("exit"),setTimeout((()=>{s((()=>{this.remove(e)}))}),400)}renderTranscripts(){return this.buildGroups().slice(-2).map((t=>{const s=t.entries[0];return i("rtk-transcript",{key:s.id,"data-id":s.id,transcript:{name:s.name,date:s.date,peerId:t.peerId,userId:s.userId,customParticipantId:s.customParticipantId,transcript:t.combinedText,id:s.id,renderedId:t.renderedId},onRtkTranscriptDismiss:t=>this.handleDismiss(t),t:this.t})}))}render(){if(this.states.activeCaptions)return i(e,null,this.renderTranscripts())}get host(){return r(this)}static get watchers(){return{meeting:[{meetingChanged:0}],states:[{statesChanged:0}]}}};c([h()],p.prototype,"meeting",void 0),c([h()],p.prototype,"states",void 0),c([h()],p.prototype,"config",void 0),c([h()],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)}:host{position:absolute;top:var(--rtk-space-4, 16px);right:var(--rtk-space-4, 16px);bottom:var(--rtk-space-4, 16px);left:var(--rtk-space-4, 16px);top:auto;display:flex;flex-direction:column;pointer-events:none;justify-content:center;width:100%;z-index:5}rtk-transcript{margin-top:var(--rtk-space-2, 8px)}";export{p as rtk_transcripts}
1
+ import{r as t,e as s,h as i,a as e,g as r}from"./p-gJCRRBX0.js";import{c as n,i as a,L as o}from"./p-DITWlMXR.js";import"./p-Rq_6y0HI.js";import"./p-C0vp-Q7v.js";import{S as h}from"./p-Dk8hCkEY.js";import"./p-Daj_55_i.js";var c=function(t,s,i,e){var r,n=arguments.length,a=n<3?s:null===e?e=Object.getOwnPropertyDescriptor(s,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,s,i,e);else for(var o=t.length-1;o>=0;o--)(r=t[o])&&(a=(n<3?r(a):n>3?r(s,i,a):r(s,i))||a);return n>3&&a&&Object.defineProperty(s,i,a),a};const p=class{constructor(s){t(this,s),this.config=n(),this.t=a(),this.transcripts=[],this.listenerAttached=!1,this.onTranscript=t=>{t.transcript&&this.add(t)}}connectedCallback(){this.meetingChanged(this.meeting)}addListener(t){var s;null===(s=null==t?void 0:t.ai)||void 0===s||s.addListener("transcript",this.onTranscript),this.listenerAttached=!0}clearListeners(t){var s;this.onTranscript&&(null===(s=null==t?void 0:t.ai)||void 0===s||s.removeListener("transcript",this.onTranscript)),this.listenerAttached=!1,clearTimeout(this.disconnectTimeout),this.transcripts=[]}disconnectedCallback(){this.meeting&&this.clearListeners(this.meeting)}meetingChanged(t,s){clearTimeout(this.disconnectTimeout),s&&this.clearListeners(s),t&&this.states.activeCaptions&&this.addListener(t)}statesChanged(t){t&&(t.activeCaptions&&!this.listenerAttached&&this.addListener(this.meeting),!t.activeCaptions&&this.listenerAttached&&this.clearListeners(this.meeting))}transcriptionsReducer(t,s){if(!t.length)return[s];let i=t[t.length-1];return i.peerId!==s.peerId?t.concat(s):i.id===s.id?(i.transcript=s.transcript,t.pop(),t.concat(o(i))):t.concat(s)}add(t){this.transcripts=this.transcriptionsReducer(this.transcripts,t),this.pruneToLatestTwoGroups()}buildGroups(){const t=[];return this.transcripts.forEach((s=>{const i=t[t.length-1];!i||i.peerId!==s.peerId||i.combinedText.length+s.transcript.length>400?(t.push({renderedId:s.id,peerId:s.peerId,combinedText:s.transcript,entries:[s]}),s.renderedId=s.id):(i.combinedText+=" "+s.transcript,s.renderedId=i.renderedId,i.entries.push(s))})),t}pruneToLatestTwoGroups(){const t=this.buildGroups();if(t.length<=2)return;const s=new Set(t.slice(-2).flatMap((t=>t.entries)));this.transcripts=this.transcripts.filter((t=>s.has(t)))}remove(t){this.transcripts=this.transcripts.filter((s=>s.renderedId!==t))}handleDismiss(t){t.stopPropagation();const{id:i,renderedId:e}=t.detail,r=this.host.shadowRoot.querySelector(`[data-id="${i}"]`);null==r||r.classList.add("exit"),setTimeout((()=>{s((()=>{this.remove(e)}))}),400)}renderTranscripts(){return this.buildGroups().slice(-2).map((t=>{const s=t.entries[0];return i("rtk-transcript",{key:s.id,"data-id":s.id,transcript:{name:s.name,date:s.date,peerId:t.peerId,userId:s.userId,customParticipantId:s.customParticipantId,transcript:t.combinedText,id:s.id,renderedId:t.renderedId},onRtkTranscriptDismiss:t=>this.handleDismiss(t),t:this.t})}))}render(){if(this.states.activeCaptions)return i(e,null,this.renderTranscripts())}get host(){return r(this)}static get watchers(){return{meeting:[{meetingChanged:0}],states:[{statesChanged:0}]}}};c([h()],p.prototype,"meeting",void 0),c([h()],p.prototype,"states",void 0),c([h()],p.prototype,"config",void 0),c([h()],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)}:host{position:absolute;top:var(--rtk-space-4, 16px);right:var(--rtk-space-4, 16px);bottom:var(--rtk-space-4, 16px);left:var(--rtk-space-4, 16px);top:auto;display:flex;flex-direction:column;pointer-events:none;justify-content:center;width:100%;z-index:5}rtk-transcript{margin-top:var(--rtk-space-2, 8px)}";export{p as rtk_transcripts}
@@ -1 +1 @@
1
- import{r as t,d as i,h as e,F as r,a as o}from"./p-gJCRRBX0.js";import{a}from"./p-vBD2htwQ.js";import{c as s,e as n,i as c,f as l,j as d}from"./p-C8tHk7bV.js";import{R as p}from"./p-CTFO-5XH.js";import{S as h}from"./p-CGOvNX5H.js";import{g as v}from"./p-vBfDtD_u.js";var m=function(t,i,e,r){var o,a=arguments.length,s=a<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,e,r);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(s=(a<3?o(s):a>3?o(i,e,s):o(i,e))||s);return a>3&&s&&Object.defineProperty(i,e,s),s};const g=class{constructor(e){t(this,e),this.stateUpdate=i(this,"rtkStateUpdate",7),this.config=s(),this.iconPack=n,this.t=c(),this.overrides=l,this.isJoining=!1,this.canEditName=!0,this.canProduceAudio=!0,this.socketStateUpdate=({state:t})=>{this.connectionState=t,"connected"===t&&(this.joinError=void 0,this.joinErrorCode=void 0),"failed"===t&&(this.isJoining=!1)},this.join=async()=>{var t,i,e;if(""!==(null===(t=this.displayName)||void 0===t?void 0:t.trim())&&!this.isJoining){if("connected"!==this.connectionState)return void(this.connectionState&&(this.joinError=this.t("failed"===this.connectionState?"network.lost_extended":"network.lost")));this.isJoining=!0,this.joinError=void 0,this.joinErrorCode=void 0,null===(i=this.meeting)||void 0===i||i.self.setName(this.displayName),d.setItem("rtk-display-name",this.displayName);try{await(null===(e=this.meeting)||void 0===e?void 0:e.join())}catch(t){this.isJoining=!1;const{message:i,code:e}=v(this.t,t);this.joinError=i,this.joinErrorCode=e}}}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.meeting.meta.removeListener("socketConnectionUpdate",this.socketStateUpdate)}componentDidLoad(){var t;null===(t=this.inputEl)||void 0===t||t.focus()}meetingChanged(t){var i,e,r;t&&(this.connectionState=null===(i=t.meta.socketState)||void 0===i?void 0:i.state,this.canEditName=null===(e=t.self.permissions.canEditDisplayName)||void 0===e||e,this.displayName=(null===(r=t.self.name)||void 0===r?void 0:r.trim())||(this.canEditName?"":"Participant"),t.meta.addListener("socketConnectionUpdate",this.socketStateUpdate))}render(){var t,i,s,n,c,l,d;if(!this.meeting)return;const h=!!this.connectionState&&"connected"!==this.connectionState&&!this.joinError,v=this.joinError?this.joinError:this.t("failed"===this.connectionState?"network.lost_extended":"network.lost"),m=""===(null===(t=this.displayName)||void 0===t?void 0:t.trim())||"connected"!==this.connectionState||this.isJoining,g={meeting:this.meeting,config:this.config,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},k=null===(n=null===(s=null===(i=this.meeting)||void 0===i?void 0:i.meta)||void 0===s?void 0:s.meetingTitle)||void 0===n?void 0:n.trim();return e(o,null,e("div",{class:"container"},e("div",{class:"container-tile"},e(p,{element:"rtk-participant-tile",defaults:g,props:{participant:null===(c=this.meeting)||void 0===c?void 0:c.self,size:"md",isPreview:!0},childProps:{participant:null===(l=this.meeting)||void 0===l?void 0:l.self,size:"md"},deepProps:!0}),!(null===(d=this.overrides)||void 0===d?void 0:d.hideMediaSelectorsInSetupScreen)&&e("div",{class:"media-selectors"},e("rtk-microphone-selector",Object.assign({},g,{variant:"inline"})),e("rtk-camera-selector",Object.assign({},g,{variant:"inline"})),e("rtk-speaker-selector",Object.assign({},g,{variant:"inline"})))),e("div",{class:"metadata"},k&&""!==k&&e("div",{class:"meeting-title"},k),this.canEditName?e(r,null,e("div",{class:"join-as"},this.t("setup_screen.join_in_as")),e("input",{placeholder:this.t("setup_screen.your_name"),value:this.displayName,spellcheck:!1,autoFocus:!0,ref:t=>{this.inputEl=t},onInput:t=>{this.displayName=t.target.value},onKeyDown:t=>{"Enter"===t.key&&this.join()}})):e("div",{class:"uneditable-name"},e("span",{class:"text"},this.t("setup_screen.join_in_as")," ")," ",e("div",{class:"name"},a(this.displayName,20))),e("rtk-button",{size:"lg",kind:"wide",onClick:this.join,disabled:m},this.isJoining?e("rtk-spinner",{iconPack:this.iconPack}):this.t("join")),(this.joinError||h)&&e("div",{class:"no-network-badge",role:"alert"},e("rtk-icon",{size:"md",variant:"danger",icon:this.iconPack.disconnected}),v),this.meeting&&this.joinError&&e("a",{class:"troubleshoot-link",href:`https://test.realtime.cloudflare.com?authToken=${this.meeting.__internals__.authToken}`,target:"_blank",rel:"noopener noreferrer"},this.t("network.troubleshoot")),this.joinErrorCode&&e("span",{class:"error-code",part:"error-code"},this.t("join.error_code"),": ",this.joinErrorCode))))}static get watchers(){return{meeting:[{meetingChanged:0}]}}};m([h()],g.prototype,"meeting",void 0),m([h()],g.prototype,"states",void 0),m([h()],g.prototype,"config",void 0),m([h()],g.prototype,"iconPack",void 0),m([h()],g.prototype,"t",void 0),m([h()],g.prototype,"overrides",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{box-sizing:border-box;padding:var(--rtk-space-4, 16px);height:100%;min-height:100%;width:100%;display:flex;place-items:center;justify-content:center;--rtk-controlbar-button-background-color:rgb(var(--rtk-colors-background-700, 44 44 44))}.container{width:100%;max-width:1080px;display:flex;align-items:center;justify-content:space-evenly;gap:var(--rtk-space-4, 16px)}.container-tile{display:flex;height:100%;width:100%;max-width:584px;flex-direction:column;gap:var(--rtk-space-2, 8px)}.metadata{display:flex;width:100%;max-width:var(--rtk-space-80, 320px);flex-direction:column;align-items:center;text-align:center}.meeting-title{margin-bottom:var(--rtk-space-4, 16px);text-align:center;font-size:24px;font-weight:500}.join-as{margin:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-4, 16px);text-align:center;font-size:16px;letter-spacing:-0.025em;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.uneditable-name{margin-bottom:var(--rtk-space-6, 24px)}.uneditable-name .text,.uneditable-name .name{display:inline-block}.uneditable-name .name{font-size:16px;font-weight:500}input{margin-bottom:var(--rtk-space-6, 24px);display:block;height:var(--rtk-space-10, 40px);width:100%;max-width:var(--rtk-space-80, 320px);border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);color:rgb(var(--rtk-colors-text-1000, 255 255 255));box-sizing:border-box;font-size:16px;outline:2px solid transparent;outline-offset:2px;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}input::-moz-placeholder{color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}input::placeholder{color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}input{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}input:focus{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity))}rtk-spinner{color:rgb(var(--rtk-colors-text-1000, 255 255 255));--icon-size:var(--rtk-space-8, 32px)}:host([size='sm']) .container,:host([size='md']) .container{height:100%;flex-direction:column;justify-content:space-evenly}:host([size='sm']) .container-tile,:host([size='md']) .container-tile{height:-moz-min-content;height:min-content;flex-direction:column;justify-content:center}rtk-participant-tile{height:auto;width:100%;max-width:584px;overflow:visible}.media-selectors{display:flex;flex-direction:column;justify-content:space-between}.media-selectors .row{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr))}.no-network-badge{margin-top:var(--rtk-space-2, 8px);display:flex;width:100%;flex-direction:row;align-items:center;justify-content:flex-start;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));background-color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.1);padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);font-size:12px;color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.75)}.no-network-badge rtk-icon{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px)}.troubleshoot-link{margin-top:var(--rtk-space-1, 4px);font-size:12px;--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-400, 53 110 253) / var(--tw-text-opacity));text-decoration-line:underline;text-underline-offset:2px}.troubleshoot-link:hover{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity))}.error-code{margin-top:var(--rtk-space-1, 4px);font-size:10px;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}";export{g as rtk_setup_screen}
1
+ import{r as t,d as i,h as e,F as r,a as o}from"./p-gJCRRBX0.js";import{a}from"./p-vBD2htwQ.js";import{c as s,e as n,i as c,f as l,j as d}from"./p-DITWlMXR.js";import{R as p}from"./p-CTFO-5XH.js";import{S as h}from"./p-Dk8hCkEY.js";import{g as v}from"./p-vBfDtD_u.js";var m=function(t,i,e,r){var o,a=arguments.length,s=a<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,e,r);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(s=(a<3?o(s):a>3?o(i,e,s):o(i,e))||s);return a>3&&s&&Object.defineProperty(i,e,s),s};const k=class{constructor(e){t(this,e),this.stateUpdate=i(this,"rtkStateUpdate",7),this.config=s(),this.iconPack=n,this.t=c(),this.overrides=l,this.isJoining=!1,this.canEditName=!0,this.canProduceAudio=!0,this.socketStateUpdate=({state:t})=>{this.connectionState=t,"connected"===t&&(this.joinError=void 0,this.joinErrorCode=void 0),"failed"===t&&(this.isJoining=!1)},this.join=async()=>{var t,i,e;if(""!==(null===(t=this.displayName)||void 0===t?void 0:t.trim())&&!this.isJoining){if("connected"!==this.connectionState)return void(this.connectionState&&(this.joinError=this.t("failed"===this.connectionState?"network.lost_extended":"network.lost")));this.isJoining=!0,this.joinError=void 0,this.joinErrorCode=void 0,null===(i=this.meeting)||void 0===i||i.self.setName(this.displayName),d.setItem("rtk-display-name",this.displayName);try{await(null===(e=this.meeting)||void 0===e?void 0:e.join())}catch(t){this.isJoining=!1;const{message:i,code:e}=v(this.t,t);this.joinError=i,this.joinErrorCode=e}}}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.meeting.meta.removeListener("socketConnectionUpdate",this.socketStateUpdate)}componentDidLoad(){var t;null===(t=this.inputEl)||void 0===t||t.focus()}meetingChanged(t){var i,e,r;t&&(this.connectionState=null===(i=t.meta.socketState)||void 0===i?void 0:i.state,this.canEditName=null===(e=t.self.permissions.canEditDisplayName)||void 0===e||e,this.displayName=(null===(r=t.self.name)||void 0===r?void 0:r.trim())||(this.canEditName?"":"Participant"),t.meta.addListener("socketConnectionUpdate",this.socketStateUpdate))}render(){var t,i,s,n,c,l,d;if(!this.meeting)return;const h=!!this.connectionState&&"connected"!==this.connectionState&&!this.joinError,v=this.joinError?this.joinError:this.t("failed"===this.connectionState?"network.lost_extended":"network.lost"),m=""===(null===(t=this.displayName)||void 0===t?void 0:t.trim())||"connected"!==this.connectionState||this.isJoining,k={meeting:this.meeting,config:this.config,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},g=null===(n=null===(s=null===(i=this.meeting)||void 0===i?void 0:i.meta)||void 0===s?void 0:s.meetingTitle)||void 0===n?void 0:n.trim();return e(o,null,e("div",{class:"container"},e("div",{class:"container-tile"},e(p,{element:"rtk-participant-tile",defaults:k,props:{participant:null===(c=this.meeting)||void 0===c?void 0:c.self,size:"md",isPreview:!0},childProps:{participant:null===(l=this.meeting)||void 0===l?void 0:l.self,size:"md"},deepProps:!0}),!(null===(d=this.overrides)||void 0===d?void 0:d.hideMediaSelectorsInSetupScreen)&&e("div",{class:"media-selectors"},e("rtk-microphone-selector",Object.assign({},k,{variant:"inline"})),e("rtk-camera-selector",Object.assign({},k,{variant:"inline"})),e("rtk-speaker-selector",Object.assign({},k,{variant:"inline"})))),e("div",{class:"metadata"},g&&""!==g&&e("div",{class:"meeting-title"},g),this.canEditName?e(r,null,e("div",{class:"join-as"},this.t("setup_screen.join_in_as")),e("input",{placeholder:this.t("setup_screen.your_name"),value:this.displayName,spellcheck:!1,autoFocus:!0,ref:t=>{this.inputEl=t},onInput:t=>{this.displayName=t.target.value},onKeyDown:t=>{"Enter"===t.key&&this.join()}})):e("div",{class:"uneditable-name"},e("span",{class:"text"},this.t("setup_screen.join_in_as")," ")," ",e("div",{class:"name"},a(this.displayName,20))),e("rtk-button",{size:"lg",kind:"wide",onClick:this.join,disabled:m},this.isJoining?e("rtk-spinner",{iconPack:this.iconPack}):this.t("join")),(this.joinError||h)&&e("div",{class:"no-network-badge",role:"alert"},e("rtk-icon",{size:"md",variant:"danger",icon:this.iconPack.disconnected}),v),this.meeting&&this.joinError&&e("a",{class:"troubleshoot-link",href:`https://test.realtime.cloudflare.com?authToken=${this.meeting.__internals__.authToken}`,target:"_blank",rel:"noopener noreferrer"},this.t("network.troubleshoot")),this.joinErrorCode&&e("span",{class:"error-code",part:"error-code"},this.t("join.error_code"),": ",this.joinErrorCode))))}static get watchers(){return{meeting:[{meetingChanged:0}]}}};m([h()],k.prototype,"meeting",void 0),m([h()],k.prototype,"states",void 0),m([h()],k.prototype,"config",void 0),m([h()],k.prototype,"iconPack",void 0),m([h()],k.prototype,"t",void 0),m([h()],k.prototype,"overrides",void 0),k.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{box-sizing:border-box;padding:var(--rtk-space-4, 16px);height:100%;min-height:100%;width:100%;display:flex;place-items:center;justify-content:center;--rtk-controlbar-button-background-color:rgb(var(--rtk-colors-background-700, 44 44 44))}.container{width:100%;max-width:1080px;display:flex;align-items:center;justify-content:space-evenly;gap:var(--rtk-space-4, 16px)}.container-tile{display:flex;height:100%;width:100%;max-width:584px;flex-direction:column;gap:var(--rtk-space-2, 8px)}.metadata{display:flex;width:100%;max-width:var(--rtk-space-80, 320px);flex-direction:column;align-items:center;text-align:center}.meeting-title{margin-bottom:var(--rtk-space-4, 16px);text-align:center;font-size:24px;font-weight:500}.join-as{margin:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-4, 16px);text-align:center;font-size:16px;letter-spacing:-0.025em;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.uneditable-name{margin-bottom:var(--rtk-space-6, 24px)}.uneditable-name .text,.uneditable-name .name{display:inline-block}.uneditable-name .name{font-size:16px;font-weight:500}input{margin-bottom:var(--rtk-space-6, 24px);display:block;height:var(--rtk-space-10, 40px);width:100%;max-width:var(--rtk-space-80, 320px);border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);color:rgb(var(--rtk-colors-text-1000, 255 255 255));box-sizing:border-box;font-size:16px;outline:2px solid transparent;outline-offset:2px;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}input::-moz-placeholder{color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}input::placeholder{color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}input{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}input:focus{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity))}rtk-spinner{color:rgb(var(--rtk-colors-text-1000, 255 255 255));--icon-size:var(--rtk-space-8, 32px)}:host([size='sm']) .container,:host([size='md']) .container{height:100%;flex-direction:column;justify-content:space-evenly}:host([size='sm']) .container-tile,:host([size='md']) .container-tile{height:-moz-min-content;height:min-content;flex-direction:column;justify-content:center}rtk-participant-tile{height:auto;width:100%;max-width:584px;overflow:visible}.media-selectors{display:flex;flex-direction:column;justify-content:space-between}.media-selectors .row{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr))}.no-network-badge{margin-top:var(--rtk-space-2, 8px);display:flex;width:100%;flex-direction:row;align-items:center;justify-content:flex-start;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));background-color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.1);padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);font-size:12px;color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.75)}.no-network-badge rtk-icon{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px)}.troubleshoot-link{margin-top:var(--rtk-space-1, 4px);font-size:12px;--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-400, 53 110 253) / var(--tw-text-opacity));text-decoration-line:underline;text-underline-offset:2px}.troubleshoot-link:hover{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity))}.error-code{margin-top:var(--rtk-space-1, 4px);font-size:10px;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}";export{k as rtk_setup_screen}
@@ -1 +1 @@
1
- import{r as t,h as e,a as r}from"./p-gJCRRBX0.js";import{c as a,e as i,i as s}from"./p-C8tHk7bV.js";import"./p-Rq_6y0HI.js";import"./p-C0vp-Q7v.js";import{S as o}from"./p-CGOvNX5H.js";import"./p-Daj_55_i.js";var n=function(t,e,r,a){var i,s=arguments.length,o=s<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,r,a);else for(var n=t.length-1;n>=0;n--)(i=t[n])&&(o=(s<3?i(o):s>3?i(e,r,o):i(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o};const c=class{constructor(e){t(this,e),this.config=a(),this.icon=i,this.t=s(),this.iconPack=i,this.message=""}connectedCallback(){this.statesChanged(this.states)}getBreakoutRoomsMessage(t){var e;let r;return"connected-meeting"===(null==t?void 0:t.roomLeftState)&&(r=(null===(e=this.states.activeBreakoutRoomsManager)||void 0===e?void 0:e.destinationMeetingId)===this.meeting.connectedMeetings.parentMeeting.id?"breakout_rooms.move_reason.switch_main_room":"breakout_rooms.move_reason.switch_room"),r}statesChanged(t){if(null!=t)switch(null==t?void 0:t.roomLeftState){case"left":this.message="ended.left";break;case"kicked":this.message="ended.kicked";break;case"disconnected":this.message="ended.disconnected";break;case"rejected":this.message="ended.rejected";break;case"connected-meeting":this.message=this.getBreakoutRoomsMessage(t);break;case"unauthorized":this.message="ended.unauthorized";break;default:this.message="ended"}}renderBreakoutRoomScreen(){return e(r,null,e("div",{class:"ctr",part:"container"},e("rtk-icon",{icon:this.iconPack.breakout_rooms}),e("p",{part:"message",class:"breakout"},this.t(this.message))))}render(){if(!this.meeting)return null;const t=this.states;return"connected-meeting"===t.roomLeftState?this.renderBreakoutRoomScreen():e(r,null,e("div",{class:"ctr",part:"container"},e("rtk-logo",{meeting:this.meeting,config:this.config,part:"logo",t:this.t}),e("p",{part:"message"},this.t(this.message)),"disconnected"===(null==t?void 0:t.roomLeftState)&&e("span",{part:"description"},this.t("ended.network"))))}static get watchers(){return{states:[{statesChanged:0}]}}};n([o()],c.prototype,"config",void 0),n([o()],c.prototype,"states",void 0),n([o()],c.prototype,"t",void 0),n([o()],c.prototype,"iconPack",void 0),n([o()],c.prototype,"meeting",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{height:100%;width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;flex-direction:column;align-items:center;justify-content:center}.ctr{display:flex;flex-direction:column;align-items:center;gap:var(--rtk-space-8, 32px)}rtk-logo.loaded{height:var(--rtk-space-12, 48px)}.rejoin-button{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);padding-top:var(--rtk-space-6, 24px);padding-bottom:var(--rtk-space-6, 24px);padding-left:var(--rtk-space-16, 64px);padding-right:var(--rtk-space-16, 64px)}.rejoin-icon{margin-right:var(--rtk-space-2, 8px)}p{font-size:16px;border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-8, 32px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}p.breakout{font-size:20px;display:flex;flex-direction:column;align-items:center}p.breakout span{margin-top:var(--rtk-space-1, 4px);margin-bottom:var(--rtk-space-0, 0px);color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}span{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);font-size:14px}";export{c as rtk_ended_screen}
1
+ import{r as t,h as e,a as r}from"./p-gJCRRBX0.js";import{c as a,e as i,i as s}from"./p-DITWlMXR.js";import"./p-Rq_6y0HI.js";import"./p-C0vp-Q7v.js";import{S as o}from"./p-Dk8hCkEY.js";import"./p-Daj_55_i.js";var n=function(t,e,r,a){var i,s=arguments.length,o=s<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,r,a);else for(var n=t.length-1;n>=0;n--)(i=t[n])&&(o=(s<3?i(o):s>3?i(e,r,o):i(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o};const c=class{constructor(e){t(this,e),this.config=a(),this.icon=i,this.t=s(),this.iconPack=i,this.message=""}connectedCallback(){this.statesChanged(this.states)}getBreakoutRoomsMessage(t){var e;let r;return"connected-meeting"===(null==t?void 0:t.roomLeftState)&&(r=(null===(e=this.states.activeBreakoutRoomsManager)||void 0===e?void 0:e.destinationMeetingId)===this.meeting.connectedMeetings.parentMeeting.id?"breakout_rooms.move_reason.switch_main_room":"breakout_rooms.move_reason.switch_room"),r}statesChanged(t){if(null!=t)switch(null==t?void 0:t.roomLeftState){case"left":this.message="ended.left";break;case"kicked":this.message="ended.kicked";break;case"disconnected":this.message="ended.disconnected";break;case"rejected":this.message="ended.rejected";break;case"connected-meeting":this.message=this.getBreakoutRoomsMessage(t);break;case"unauthorized":this.message="ended.unauthorized";break;default:this.message="ended"}}renderBreakoutRoomScreen(){return e(r,null,e("div",{class:"ctr",part:"container"},e("rtk-icon",{icon:this.iconPack.breakout_rooms}),e("p",{part:"message",class:"breakout"},this.t(this.message))))}render(){if(!this.meeting)return null;const t=this.states;return"connected-meeting"===t.roomLeftState?this.renderBreakoutRoomScreen():e(r,null,e("div",{class:"ctr",part:"container"},e("rtk-logo",{meeting:this.meeting,config:this.config,part:"logo",t:this.t}),e("p",{part:"message"},this.t(this.message)),"disconnected"===(null==t?void 0:t.roomLeftState)&&e("span",{part:"description"},this.t("ended.network"))))}static get watchers(){return{states:[{statesChanged:0}]}}};n([o()],c.prototype,"config",void 0),n([o()],c.prototype,"states",void 0),n([o()],c.prototype,"t",void 0),n([o()],c.prototype,"iconPack",void 0),n([o()],c.prototype,"meeting",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{height:100%;width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;flex-direction:column;align-items:center;justify-content:center}.ctr{display:flex;flex-direction:column;align-items:center;gap:var(--rtk-space-8, 32px)}rtk-logo.loaded{height:var(--rtk-space-12, 48px)}.rejoin-button{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);padding-top:var(--rtk-space-6, 24px);padding-bottom:var(--rtk-space-6, 24px);padding-left:var(--rtk-space-16, 64px);padding-right:var(--rtk-space-16, 64px)}.rejoin-icon{margin-right:var(--rtk-space-2, 8px)}p{font-size:16px;border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-8, 32px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}p.breakout{font-size:20px;display:flex;flex-direction:column;align-items:center}p.breakout span{margin-top:var(--rtk-space-1, 4px);margin-bottom:var(--rtk-space-0, 0px);color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}span{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);font-size:14px}";export{c as rtk_ended_screen}
@@ -1 +1 @@
1
- import{r as t,h as i,a}from"./p-gJCRRBX0.js";import{c as s,e,i as r}from"./p-C8tHk7bV.js";import"./p-Rq_6y0HI.js";import"./p-C0vp-Q7v.js";import{R as n}from"./p-CTFO-5XH.js";import{S as c}from"./p-CGOvNX5H.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}
1
+ import{r as t,h as i,a}from"./p-gJCRRBX0.js";import{c as s,e,i as r}from"./p-DITWlMXR.js";import"./p-Rq_6y0HI.js";import"./p-C0vp-Q7v.js";import{R as n}from"./p-CTFO-5XH.js";import{S as c}from"./p-Dk8hCkEY.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 i,h as t,a as s,g as e}from"./p-gJCRRBX0.js";import{c as d,e as h,i as a}from"./p-DITWlMXR.js";import{d as r}from"./p-CmmyVCoN.js";import{R as o}from"./p-CTFO-5XH.js";import{S as m}from"./p-Dk8hCkEY.js";var n=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 c=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:"80307410481d7418e30c78351b6ec16e466b95da"},t("main",{key:"e454d37b226868e02f8da6f61abf18f274ce3fdd",part:"main"},t(o,{key:"b05d69dd12ea7f2da225e4c0456aa9979d6db153",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:"d7de316e63f1a4a770022f7da4ebc5836b3f28d6",part:"aside",class:this.gridSize.spotlight?`grid-width-${this.gridSize.spotlight}`:"grid-width-md"},t(o,{key:"92c24d74113f04f8334be5a2fc1c68dd9d0ca421",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)}};n([m()],c.prototype,"meeting",void 0),n([m()],c.prototype,"states",void 0),n([m()],c.prototype,"config",void 0),n([m()],c.prototype,"iconPack",void 0),n([m()],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: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{c as rtk_spotlight_grid}