@cloudflare/realtimekit-ui 2.0.0-staging.1 → 2.0.1-staging.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (627) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/{TextMessage-ca569f12.js → TextMessage-492778db.js} +1 -1
  3. package/dist/cjs/{chat-a1c8f378.js → chat-4f5c28ca.js} +1 -1
  4. package/dist/cjs/{config-8ce93a9c.js → config-705c8f2c.js} +2 -2
  5. package/dist/cjs/{debounce-43f12da4.js → debounce-7fa6354d.js} +1 -1
  6. package/dist/cjs/{index-3f8e5441.js → index-4366eb3b.js} +1 -1
  7. package/dist/cjs/index.cjs.js +4 -4
  8. package/dist/cjs/init-error-70ccf3b6.js +28 -0
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/cjs/{merge-ff059743.js → merge-79537b1d.js} +1 -1
  11. package/dist/cjs/realtimekit-ui.cjs.js +1 -1
  12. package/dist/cjs/rtk-ai-toggle.cjs.entry.js +2 -2
  13. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +2 -2
  14. package/dist/cjs/rtk-ai_3.cjs.entry.js +2 -2
  15. package/dist/cjs/rtk-audio-grid.cjs.entry.js +2 -2
  16. package/dist/cjs/rtk-audio-tile.cjs.entry.js +2 -2
  17. package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +2 -2
  18. package/dist/cjs/rtk-avatar_26.cjs.entry.js +16 -16
  19. package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +2 -2
  20. package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +2 -2
  21. package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +2 -2
  22. package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +2 -2
  23. package/dist/cjs/rtk-camera-toggle.cjs.entry.js +2 -2
  24. package/dist/cjs/rtk-caption-toggle.cjs.entry.js +2 -2
  25. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +3 -3
  26. package/dist/cjs/rtk-chat-message.cjs.entry.js +2 -2
  27. package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +2 -2
  28. package/dist/cjs/rtk-chat-search-results.cjs.entry.js +2 -2
  29. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +3 -3
  30. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +3 -3
  31. package/dist/cjs/rtk-clock.cjs.entry.js +2 -2
  32. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +2 -2
  33. package/dist/cjs/rtk-controlbar.cjs.entry.js +2 -2
  34. package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +2 -2
  35. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +2 -2
  36. package/dist/cjs/rtk-dialog-manager.cjs.entry.js +2 -2
  37. package/dist/cjs/rtk-dialog.cjs.entry.js +2 -2
  38. package/dist/cjs/rtk-ended-screen.cjs.entry.js +2 -2
  39. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +2 -2
  40. package/dist/cjs/rtk-file-message_3.cjs.entry.js +4 -4
  41. package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +2 -2
  42. package/dist/cjs/rtk-grid-pagination.cjs.entry.js +2 -2
  43. package/dist/cjs/rtk-grid.cjs.entry.js +2 -2
  44. package/dist/cjs/rtk-header.cjs.entry.js +2 -2
  45. package/dist/cjs/rtk-idle-screen.cjs.entry.js +12 -11
  46. package/dist/cjs/rtk-image-viewer.cjs.entry.js +2 -2
  47. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +2 -2
  48. package/dist/cjs/rtk-leave-button.cjs.entry.js +2 -2
  49. package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +2 -2
  50. package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +2 -2
  51. package/dist/cjs/rtk-logo.cjs.entry.js +2 -2
  52. package/dist/cjs/rtk-meeting-title.cjs.entry.js +2 -2
  53. package/dist/cjs/rtk-message-list-view.cjs.entry.js +3 -3
  54. package/dist/cjs/rtk-mic-toggle.cjs.entry.js +2 -2
  55. package/dist/cjs/rtk-mixed-grid.cjs.entry.js +2 -2
  56. package/dist/cjs/rtk-more-toggle.cjs.entry.js +2 -2
  57. package/dist/cjs/rtk-mute-all-button.cjs.entry.js +2 -2
  58. package/dist/cjs/rtk-name-tag.cjs.entry.js +2 -2
  59. package/dist/cjs/rtk-network-indicator.cjs.entry.js +2 -2
  60. package/dist/cjs/rtk-notification.cjs.entry.js +4 -4
  61. package/dist/cjs/rtk-notifications.cjs.entry.js +3 -3
  62. package/dist/cjs/rtk-participant-count.cjs.entry.js +2 -2
  63. package/dist/cjs/rtk-participant-setup.cjs.entry.js +2 -2
  64. package/dist/cjs/rtk-participant_2.cjs.entry.js +3 -3
  65. package/dist/cjs/rtk-participants-audio.cjs.entry.js +2 -2
  66. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +2 -2
  67. package/dist/cjs/rtk-participants-toggle.cjs.entry.js +3 -3
  68. package/dist/cjs/rtk-participants.cjs.entry.js +3 -3
  69. package/dist/cjs/rtk-pip-toggle.cjs.entry.js +2 -2
  70. package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +2 -2
  71. package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +3 -3
  72. package/dist/cjs/rtk-poll_2.cjs.entry.js +2 -2
  73. package/dist/cjs/rtk-polls-toggle.cjs.entry.js +3 -3
  74. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +2 -2
  75. package/dist/cjs/rtk-recording-toggle.cjs.entry.js +2 -2
  76. package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +2 -2
  77. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +2 -2
  78. package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +2 -2
  79. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +2 -2
  80. package/dist/cjs/rtk-settings.cjs.entry.js +2 -2
  81. package/dist/cjs/rtk-setup-screen.cjs.entry.js +2 -2
  82. package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +2 -2
  83. package/dist/cjs/rtk-sidebar.cjs.entry.js +3 -3
  84. package/dist/cjs/rtk-simple-grid.cjs.entry.js +2 -2
  85. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +2 -2
  86. package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +2 -2
  87. package/dist/cjs/rtk-stage-toggle.cjs.entry.js +2 -2
  88. package/dist/cjs/rtk-stage.cjs.entry.js +2 -2
  89. package/dist/cjs/rtk-transcript.cjs.entry.js +2 -2
  90. package/dist/cjs/rtk-transcripts.cjs.entry.js +2 -2
  91. package/dist/cjs/rtk-ui-provider.cjs.entry.js +20 -11
  92. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +2 -2
  93. package/dist/cjs/{sidebar-0166350b.js → sidebar-3d8abb05.js} +1 -1
  94. package/dist/cjs/{ui-store-583d205a.js → ui-store-b1ac9e83.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 +2 -2
  105. package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +2 -2
  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 +12 -12
  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 +11 -11
  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.js +1 -1
  195. package/dist/collection/components/rtk-settings/rtk-settings.js +1 -1
  196. package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +1 -1
  197. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +1 -1
  198. package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +1 -1
  199. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +1 -1
  200. package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +1 -1
  201. package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +1 -1
  202. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +1 -1
  203. package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +1 -1
  204. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +1 -1
  205. package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +1 -1
  206. package/dist/collection/components/rtk-stage/rtk-stage.js +1 -1
  207. package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +1 -1
  208. package/dist/collection/components/rtk-switch/rtk-switch.js +1 -1
  209. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +1 -1
  210. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +1 -1
  211. package/dist/collection/components/rtk-text-message/rtk-text-message.js +1 -1
  212. package/dist/collection/components/rtk-transcript/rtk-transcript.js +1 -1
  213. package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +1 -1
  214. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +19 -10
  215. package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +1 -1
  216. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +1 -1
  217. package/dist/collection/lib/lang/default-language.js +4 -0
  218. package/dist/collection/utils/init-error.js +24 -0
  219. package/dist/components/index.js +5 -5
  220. package/dist/components/{p-42aa9cd9.js → p-00568bea.js} +4 -4
  221. package/dist/components/{p-c1ab8045.js → p-026049ee.js} +2 -2
  222. package/dist/components/{p-32b624f9.js → p-03e354cd.js} +2 -2
  223. package/dist/components/{p-5644d937.js → p-04ac37d4.js} +2 -2
  224. package/dist/components/{p-06bfb00c.js → p-0529c72c.js} +5 -5
  225. package/dist/components/{p-e1f78de7.js → p-084f7d6c.js} +2 -2
  226. package/dist/components/{p-c6700b7b.js → p-08e39399.js} +2 -2
  227. package/dist/components/{p-f74bd10e.js → p-1a7dd46a.js} +7 -7
  228. package/dist/components/{p-02f091dd.js → p-1cb276df.js} +2 -2
  229. package/dist/components/{p-5ba840d9.js → p-240d48d1.js} +2 -2
  230. package/dist/components/{p-344db48b.js → p-278a613b.js} +2 -2
  231. package/dist/components/{p-7dd3acf5.js → p-29e60132.js} +3 -3
  232. package/dist/components/{p-21453136.js → p-2f2b07a1.js} +2 -2
  233. package/dist/components/{p-4a34e1d0.js → p-303a7f1f.js} +6 -6
  234. package/dist/components/{p-0e5b6daf.js → p-32b95100.js} +3 -3
  235. package/dist/components/{p-d6a71424.js → p-32f14b1a.js} +5 -5
  236. package/dist/components/{p-7c6602b9.js → p-36ad7fe2.js} +2 -2
  237. package/dist/components/{p-f4a5c8ff.js → p-3ae130f7.js} +4 -4
  238. package/dist/components/{p-6ccdf3c3.js → p-3eedb9db.js} +2 -2
  239. package/dist/components/{p-88e8bca6.js → p-42c2e598.js} +2 -2
  240. package/dist/components/{p-00e98940.js → p-4351785c.js} +3 -3
  241. package/dist/components/{p-a9e7fa80.js → p-467abb0c.js} +6 -6
  242. package/dist/components/{p-5d232d53.js → p-48b6fb95.js} +11 -11
  243. package/dist/components/{p-2e897160.js → p-4e02ee0f.js} +3 -3
  244. package/dist/components/{p-7e34f516.js → p-556de366.js} +1 -1
  245. package/dist/components/{p-a2de6dfc.js → p-5654365f.js} +2 -2
  246. package/dist/components/{p-0da52a33.js → p-592cd396.js} +2 -2
  247. package/dist/components/{p-1804e307.js → p-5995471c.js} +2 -2
  248. package/dist/components/{p-1a6308ec.js → p-5c55e43b.js} +2 -2
  249. package/dist/components/{p-6fa03a7f.js → p-5d3174d1.js} +2 -2
  250. package/dist/components/{p-165dddf4.js → p-695e5dc5.js} +2 -2
  251. package/dist/components/{p-477d076c.js → p-6a0a1a25.js} +2 -2
  252. package/dist/components/{p-8564f93d.js → p-6bd3b29c.js} +3 -3
  253. package/dist/components/{p-4c3d522b.js → p-6c6cefb0.js} +2 -2
  254. package/dist/components/{p-b350d09f.js → p-70c0c7ce.js} +2 -2
  255. package/dist/components/{p-60d401f8.js → p-78db5933.js} +3 -3
  256. package/dist/components/{p-73901fd8.js → p-7d8d9693.js} +2 -2
  257. package/dist/components/{p-13a05c55.js → p-8133c228.js} +2 -2
  258. package/dist/components/{p-4594b213.js → p-82df4307.js} +2 -2
  259. package/dist/components/{p-10552fa5.js → p-84deab1d.js} +7 -7
  260. package/dist/components/{p-d4c852fe.js → p-92ac782c.js} +5 -5
  261. package/dist/components/{p-550ddac7.js → p-95721bd2.js} +2 -2
  262. package/dist/components/{p-670b184f.js → p-96be6716.js} +2 -2
  263. package/dist/components/{p-9033d188.js → p-9c89d7b1.js} +5 -5
  264. package/dist/components/{p-b220448d.js → p-9f0c9162.js} +2 -2
  265. package/dist/components/{p-7071c775.js → p-9f5d24b0.js} +2 -2
  266. package/dist/components/{p-0304f83a.js → p-a0a863fa.js} +2 -2
  267. package/dist/components/{p-4f889007.js → p-a3c85ced.js} +2 -2
  268. package/dist/components/{p-27d6399a.js → p-a3fc952e.js} +1 -1
  269. package/dist/components/{p-3e49e36a.js → p-a6cf88b5.js} +2 -2
  270. package/dist/components/{p-c5ef686a.js → p-a9d577bb.js} +4 -4
  271. package/dist/components/{p-d0abd8bc.js → p-ab37c121.js} +4 -4
  272. package/dist/components/{p-0a836b64.js → p-b1a9a7c4.js} +2 -2
  273. package/dist/components/{p-adf6dfcc.js → p-b1aeb013.js} +2 -2
  274. package/dist/components/{p-5ba9c3d1.js → p-b29d03cf.js} +2 -2
  275. package/dist/components/{p-02d63986.js → p-b4068392.js} +2 -2
  276. package/dist/components/{p-465af231.js → p-b75297d7.js} +8 -8
  277. package/dist/components/{p-241583c3.js → p-b98fd0eb.js} +2 -2
  278. package/dist/components/{p-070aa695.js → p-bd10fae6.js} +1 -1
  279. package/dist/components/{p-ecb802ad.js → p-bf64e0af.js} +2 -2
  280. package/dist/components/{p-20612910.js → p-c3c8f309.js} +2 -2
  281. package/dist/components/{p-c0931990.js → p-c82e13b1.js} +2 -2
  282. package/dist/components/{p-0c8d2918.js → p-c9f704c4.js} +6 -6
  283. package/dist/components/{p-cb6f4d4b.js → p-cedfbbd4.js} +2 -2
  284. package/dist/components/{p-e6245534.js → p-cf1903b1.js} +2 -2
  285. package/dist/components/p-cfa0b5c7.js +26 -0
  286. package/dist/components/{p-a642ad81.js → p-d411c80b.js} +21 -21
  287. package/dist/components/{p-5b3a7f00.js → p-d5a12339.js} +4 -0
  288. package/dist/components/{p-3ff755e5.js → p-d83124b1.js} +2 -2
  289. package/dist/components/{p-bc5c1265.js → p-de0b23a0.js} +10 -10
  290. package/dist/components/{p-cc8af588.js → p-e0129657.js} +7 -7
  291. package/dist/components/{p-bd5c9c89.js → p-e8809896.js} +2 -2
  292. package/dist/components/{p-a3bf84d7.js → p-ea359bb7.js} +3 -3
  293. package/dist/components/{p-b3a98a90.js → p-ea4aa3bf.js} +5 -5
  294. package/dist/components/{p-9068e892.js → p-ed0fad6d.js} +2 -2
  295. package/dist/components/{p-0031a3c0.js → p-f179a6ff.js} +3 -3
  296. package/dist/components/{p-c232dfce.js → p-f867ebba.js} +4 -4
  297. package/dist/components/{p-d414fa54.js → p-f9cbb223.js} +2 -2
  298. package/dist/components/{p-49619802.js → p-f9f08610.js} +4 -4
  299. package/dist/components/rtk-ai-toggle.js +4 -4
  300. package/dist/components/rtk-ai-transcriptions.js +1 -1
  301. package/dist/components/rtk-ai.js +1 -1
  302. package/dist/components/rtk-audio-grid.js +2 -2
  303. package/dist/components/rtk-audio-tile.js +5 -5
  304. package/dist/components/rtk-audio-visualizer.js +1 -1
  305. package/dist/components/rtk-avatar.js +1 -1
  306. package/dist/components/rtk-breakout-room-manager.js +1 -1
  307. package/dist/components/rtk-breakout-room-participants.js +1 -1
  308. package/dist/components/rtk-breakout-rooms-manager.js +1 -1
  309. package/dist/components/rtk-breakout-rooms-toggle.js +4 -4
  310. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  311. package/dist/components/rtk-camera-selector.js +1 -1
  312. package/dist/components/rtk-camera-toggle.js +4 -4
  313. package/dist/components/rtk-caption-toggle.js +4 -4
  314. package/dist/components/rtk-chat-composer-ui.js +5 -5
  315. package/dist/components/rtk-chat-composer-view.js +1 -1
  316. package/dist/components/rtk-chat-header.js +1 -1
  317. package/dist/components/rtk-chat-message.js +1 -1
  318. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  319. package/dist/components/rtk-chat-messages-ui.js +10 -10
  320. package/dist/components/rtk-chat-search-results.js +12 -12
  321. package/dist/components/rtk-chat-selector-ui.js +2 -2
  322. package/dist/components/rtk-chat-selector.js +1 -1
  323. package/dist/components/rtk-chat-toggle.js +5 -5
  324. package/dist/components/rtk-chat.js +1 -1
  325. package/dist/components/rtk-clock.js +2 -2
  326. package/dist/components/rtk-confirmation-modal.js +1 -1
  327. package/dist/components/rtk-controlbar-button.js +1 -1
  328. package/dist/components/rtk-controlbar.js +2 -2
  329. package/dist/components/rtk-counter.js +1 -1
  330. package/dist/components/rtk-debugger-audio.js +1 -1
  331. package/dist/components/rtk-debugger-screenshare.js +1 -1
  332. package/dist/components/rtk-debugger-system.js +1 -1
  333. package/dist/components/rtk-debugger-toggle.js +4 -4
  334. package/dist/components/rtk-debugger-video.js +1 -1
  335. package/dist/components/rtk-debugger.js +1 -1
  336. package/dist/components/rtk-dialog-manager.js +21 -21
  337. package/dist/components/rtk-dialog.js +1 -1
  338. package/dist/components/rtk-draft-attachment-view.js +1 -1
  339. package/dist/components/rtk-emoji-picker-button.js +1 -1
  340. package/dist/components/rtk-emoji-picker.js +1 -1
  341. package/dist/components/rtk-ended-screen.js +3 -3
  342. package/dist/components/rtk-file-dropzone.js +2 -2
  343. package/dist/components/rtk-file-message-view.js +1 -1
  344. package/dist/components/rtk-file-message.js +1 -1
  345. package/dist/components/rtk-file-picker-button.js +1 -1
  346. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  347. package/dist/components/rtk-grid-pagination.js +2 -2
  348. package/dist/components/rtk-grid.js +8 -8
  349. package/dist/components/rtk-header.js +2 -2
  350. package/dist/components/rtk-idle-screen.js +15 -15
  351. package/dist/components/rtk-image-message-view.js +1 -1
  352. package/dist/components/rtk-image-message.js +1 -1
  353. package/dist/components/rtk-image-viewer.js +2 -2
  354. package/dist/components/rtk-information-tooltip.js +2 -2
  355. package/dist/components/rtk-join-stage.js +1 -1
  356. package/dist/components/rtk-leave-button.js +4 -4
  357. package/dist/components/rtk-leave-meeting.js +1 -1
  358. package/dist/components/rtk-livestream-indicator.js +1 -1
  359. package/dist/components/rtk-livestream-player.js +1 -1
  360. package/dist/components/rtk-livestream-toggle.js +4 -4
  361. package/dist/components/rtk-logo.js +1 -1
  362. package/dist/components/rtk-meeting-title.js +2 -2
  363. package/dist/components/rtk-meeting.js +33 -33
  364. package/dist/components/rtk-menu-item.js +1 -1
  365. package/dist/components/rtk-menu-list.js +1 -1
  366. package/dist/components/rtk-menu.js +1 -1
  367. package/dist/components/rtk-message-list-view.js +3 -3
  368. package/dist/components/rtk-message-view.js +1 -1
  369. package/dist/components/rtk-mic-toggle.js +4 -4
  370. package/dist/components/rtk-microphone-selector.js +1 -1
  371. package/dist/components/rtk-mixed-grid.js +5 -5
  372. package/dist/components/rtk-more-toggle.js +4 -4
  373. package/dist/components/rtk-mute-all-button.js +4 -4
  374. package/dist/components/rtk-mute-all-confirmation.js +1 -1
  375. package/dist/components/rtk-name-tag.js +1 -1
  376. package/dist/components/rtk-network-indicator.js +2 -2
  377. package/dist/components/rtk-notification.js +1 -1
  378. package/dist/components/rtk-notifications.js +3 -3
  379. package/dist/components/rtk-overlay-modal.js +1 -1
  380. package/dist/components/rtk-paginated-list.js +1 -1
  381. package/dist/components/rtk-participant-count.js +2 -2
  382. package/dist/components/rtk-participant-setup.js +2 -2
  383. package/dist/components/rtk-participant-tile.js +1 -1
  384. package/dist/components/rtk-participant.js +1 -1
  385. package/dist/components/rtk-participants-audio.js +3 -3
  386. package/dist/components/rtk-participants-stage-list.js +1 -1
  387. package/dist/components/rtk-participants-stage-queue.js +1 -1
  388. package/dist/components/rtk-participants-toggle.js +5 -5
  389. package/dist/components/rtk-participants-viewer-list.js +1 -1
  390. package/dist/components/rtk-participants-waiting-list.js +1 -1
  391. package/dist/components/rtk-participants.js +12 -12
  392. package/dist/components/rtk-permissions-message.js +1 -1
  393. package/dist/components/rtk-pinned-message-selector.js +1 -1
  394. package/dist/components/rtk-pip-toggle.js +4 -4
  395. package/dist/components/rtk-plugin-main.js +1 -1
  396. package/dist/components/rtk-plugins-toggle.js +5 -5
  397. package/dist/components/rtk-plugins.js +1 -1
  398. package/dist/components/rtk-poll-form.js +1 -1
  399. package/dist/components/rtk-poll.js +1 -1
  400. package/dist/components/rtk-polls-toggle.js +5 -5
  401. package/dist/components/rtk-polls.js +1 -1
  402. package/dist/components/rtk-recording-indicator.js +2 -2
  403. package/dist/components/rtk-recording-toggle.js +4 -4
  404. package/dist/components/rtk-screen-share-toggle.js +4 -4
  405. package/dist/components/rtk-screenshare-view.js +2 -2
  406. package/dist/components/rtk-settings-audio.js +1 -1
  407. package/dist/components/rtk-settings-toggle.js +4 -4
  408. package/dist/components/rtk-settings-video.js +1 -1
  409. package/dist/components/rtk-settings.js +10 -10
  410. package/dist/components/rtk-setup-screen.js +6 -6
  411. package/dist/components/rtk-sidebar-ui.js +1 -1
  412. package/dist/components/rtk-sidebar.js +10 -10
  413. package/dist/components/rtk-simple-grid.js +2 -2
  414. package/dist/components/rtk-speaker-selector.js +1 -1
  415. package/dist/components/rtk-spinner.js +1 -1
  416. package/dist/components/rtk-spotlight-grid.js +2 -2
  417. package/dist/components/rtk-spotlight-indicator.js +1 -1
  418. package/dist/components/rtk-stage-toggle.js +4 -4
  419. package/dist/components/rtk-stage.js +2 -2
  420. package/dist/components/rtk-switch.js +1 -1
  421. package/dist/components/rtk-tab-bar.js +1 -1
  422. package/dist/components/rtk-text-composer-view.js +1 -1
  423. package/dist/components/rtk-text-message.js +1 -1
  424. package/dist/components/rtk-transcript.js +1 -1
  425. package/dist/components/rtk-transcripts.js +3 -3
  426. package/dist/components/rtk-ui-provider.js +20 -11
  427. package/dist/components/rtk-viewer-count.js +1 -1
  428. package/dist/components/rtk-waiting-screen.js +3 -3
  429. package/dist/docs/docs-components.json +2202 -250
  430. package/dist/esm/{TextMessage-2acfc44b.js → TextMessage-0ab2db20.js} +1 -1
  431. package/dist/esm/{chat-269c61ba.js → chat-1107a64f.js} +1 -1
  432. package/dist/esm/{config-4bdf983d.js → config-f3f01b9a.js} +2 -2
  433. package/dist/esm/{debounce-296a3316.js → debounce-430cbf00.js} +1 -1
  434. package/dist/esm/{index-dafb4b7f.js → index-b81ca899.js} +1 -1
  435. package/dist/esm/index.js +6 -6
  436. package/dist/esm/init-error-ff5ead9a.js +26 -0
  437. package/dist/esm/loader.js +65 -29
  438. package/dist/esm/{merge-86cf8b27.js → merge-201ecd5c.js} +1 -1
  439. package/dist/esm/realtimekit-ui.js +1 -1
  440. package/dist/esm/rtk-ai-toggle.entry.js +2 -2
  441. package/dist/esm/rtk-ai-transcriptions.entry.js +2 -2
  442. package/dist/esm/rtk-ai_3.entry.js +2 -2
  443. package/dist/esm/rtk-audio-grid.entry.js +2 -2
  444. package/dist/esm/rtk-audio-tile.entry.js +2 -2
  445. package/dist/esm/rtk-audio-visualizer_4.entry.js +2 -2
  446. package/dist/esm/rtk-avatar_26.entry.js +16 -16
  447. package/dist/esm/rtk-breakout-room-manager_3.entry.js +2 -2
  448. package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +2 -2
  449. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +2 -2
  450. package/dist/esm/rtk-camera-selector_2.entry.js +2 -2
  451. package/dist/esm/rtk-camera-toggle.entry.js +2 -2
  452. package/dist/esm/rtk-caption-toggle.entry.js +2 -2
  453. package/dist/esm/rtk-chat-composer-ui.entry.js +3 -3
  454. package/dist/esm/rtk-chat-message.entry.js +2 -2
  455. package/dist/esm/rtk-chat-messages-ui.entry.js +2 -2
  456. package/dist/esm/rtk-chat-search-results.entry.js +2 -2
  457. package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
  458. package/dist/esm/rtk-chat-toggle.entry.js +3 -3
  459. package/dist/esm/rtk-clock.entry.js +2 -2
  460. package/dist/esm/rtk-controlbar-button.entry.js +2 -2
  461. package/dist/esm/rtk-controlbar.entry.js +2 -2
  462. package/dist/esm/rtk-debugger-audio_4.entry.js +2 -2
  463. package/dist/esm/rtk-debugger-toggle.entry.js +2 -2
  464. package/dist/esm/rtk-dialog-manager.entry.js +2 -2
  465. package/dist/esm/rtk-dialog.entry.js +2 -2
  466. package/dist/esm/rtk-ended-screen.entry.js +2 -2
  467. package/dist/esm/rtk-file-dropzone.entry.js +2 -2
  468. package/dist/esm/rtk-file-message_3.entry.js +4 -4
  469. package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
  470. package/dist/esm/rtk-grid-pagination.entry.js +2 -2
  471. package/dist/esm/rtk-grid.entry.js +2 -2
  472. package/dist/esm/rtk-header.entry.js +2 -2
  473. package/dist/esm/rtk-idle-screen.entry.js +12 -11
  474. package/dist/esm/rtk-image-viewer.entry.js +2 -2
  475. package/dist/esm/rtk-information-tooltip.entry.js +2 -2
  476. package/dist/esm/rtk-leave-button.entry.js +2 -2
  477. package/dist/esm/rtk-livestream-indicator_3.entry.js +2 -2
  478. package/dist/esm/rtk-livestream-toggle.entry.js +2 -2
  479. package/dist/esm/rtk-logo.entry.js +2 -2
  480. package/dist/esm/rtk-meeting-title.entry.js +2 -2
  481. package/dist/esm/rtk-message-list-view.entry.js +3 -3
  482. package/dist/esm/rtk-mic-toggle.entry.js +2 -2
  483. package/dist/esm/rtk-mixed-grid.entry.js +2 -2
  484. package/dist/esm/rtk-more-toggle.entry.js +2 -2
  485. package/dist/esm/rtk-mute-all-button.entry.js +2 -2
  486. package/dist/esm/rtk-name-tag.entry.js +2 -2
  487. package/dist/esm/rtk-network-indicator.entry.js +2 -2
  488. package/dist/esm/rtk-notification.entry.js +4 -4
  489. package/dist/esm/rtk-notifications.entry.js +3 -3
  490. package/dist/esm/rtk-participant-count.entry.js +2 -2
  491. package/dist/esm/rtk-participant-setup.entry.js +2 -2
  492. package/dist/esm/rtk-participant_2.entry.js +3 -3
  493. package/dist/esm/rtk-participants-audio.entry.js +2 -2
  494. package/dist/esm/rtk-participants-stage-list_4.entry.js +2 -2
  495. package/dist/esm/rtk-participants-toggle.entry.js +3 -3
  496. package/dist/esm/rtk-participants.entry.js +3 -3
  497. package/dist/esm/rtk-pip-toggle.entry.js +2 -2
  498. package/dist/esm/rtk-plugin-main_2.entry.js +2 -2
  499. package/dist/esm/rtk-plugins-toggle.entry.js +3 -3
  500. package/dist/esm/rtk-poll_2.entry.js +2 -2
  501. package/dist/esm/rtk-polls-toggle.entry.js +3 -3
  502. package/dist/esm/rtk-recording-indicator.entry.js +2 -2
  503. package/dist/esm/rtk-recording-toggle.entry.js +2 -2
  504. package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
  505. package/dist/esm/rtk-screenshare-view.entry.js +2 -2
  506. package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
  507. package/dist/esm/rtk-settings-toggle.entry.js +2 -2
  508. package/dist/esm/rtk-settings.entry.js +2 -2
  509. package/dist/esm/rtk-setup-screen.entry.js +2 -2
  510. package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
  511. package/dist/esm/rtk-sidebar.entry.js +3 -3
  512. package/dist/esm/rtk-simple-grid.entry.js +2 -2
  513. package/dist/esm/rtk-spotlight-grid.entry.js +2 -2
  514. package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
  515. package/dist/esm/rtk-stage-toggle.entry.js +2 -2
  516. package/dist/esm/rtk-stage.entry.js +2 -2
  517. package/dist/esm/rtk-transcript.entry.js +2 -2
  518. package/dist/esm/rtk-transcripts.entry.js +2 -2
  519. package/dist/esm/rtk-ui-provider.entry.js +20 -11
  520. package/dist/esm/rtk-waiting-screen.entry.js +2 -2
  521. package/dist/esm/{sidebar-4b23298b.js → sidebar-a13dc215.js} +1 -1
  522. package/dist/esm/{ui-store-76bb0e8e.js → ui-store-1bc7abc6.js} +4 -0
  523. package/dist/realtimekit-ui/index.esm.js +1 -1
  524. package/dist/realtimekit-ui/{p-1f8208c4.entry.js → p-012cd22a.entry.js} +1 -1
  525. package/dist/realtimekit-ui/p-026e8157.entry.js +1 -0
  526. package/dist/realtimekit-ui/{p-9a3d1fe3.entry.js → p-03db9946.entry.js} +1 -1
  527. package/dist/realtimekit-ui/{p-242afbdf.entry.js → p-069cc080.entry.js} +1 -1
  528. package/dist/realtimekit-ui/{p-977fb594.entry.js → p-083e53cc.entry.js} +1 -1
  529. package/dist/realtimekit-ui/{p-67ed9214.entry.js → p-0bd95245.entry.js} +1 -1
  530. package/dist/realtimekit-ui/{p-386d54ee.entry.js → p-1b26c15d.entry.js} +1 -1
  531. package/dist/realtimekit-ui/{p-63ee927b.entry.js → p-1e19ef2c.entry.js} +1 -1
  532. package/dist/realtimekit-ui/{p-0fa0e7d1.js → p-1e62d63b.js} +1 -1
  533. package/dist/realtimekit-ui/{p-bbfa215e.entry.js → p-20390946.entry.js} +1 -1
  534. package/dist/realtimekit-ui/{p-2fac891e.entry.js → p-217dcd9f.entry.js} +1 -1
  535. package/dist/realtimekit-ui/{p-8202a654.entry.js → p-234a709e.entry.js} +1 -1
  536. package/dist/realtimekit-ui/{p-8d6f2c1d.entry.js → p-26ffb189.entry.js} +1 -1
  537. package/dist/realtimekit-ui/{p-a74e0a97.entry.js → p-30fa04e9.entry.js} +1 -1
  538. package/dist/realtimekit-ui/{p-e49b1288.entry.js → p-3306b122.entry.js} +1 -1
  539. package/dist/realtimekit-ui/{p-5e408139.entry.js → p-3540d2b0.entry.js} +1 -1
  540. package/dist/realtimekit-ui/{p-2cb8e246.entry.js → p-3707f1e0.entry.js} +1 -1
  541. package/dist/realtimekit-ui/{p-003a95fc.entry.js → p-39c48b22.entry.js} +1 -1
  542. package/dist/realtimekit-ui/{p-32915a9a.js → p-41fa7b4f.js} +1 -1
  543. package/dist/realtimekit-ui/{p-35a53de8.entry.js → p-44fb5d40.entry.js} +1 -1
  544. package/dist/realtimekit-ui/{p-9baa1a27.entry.js → p-4564c9ff.entry.js} +1 -1
  545. package/dist/realtimekit-ui/{p-722aa34d.entry.js → p-4b9450d3.entry.js} +1 -1
  546. package/dist/realtimekit-ui/{p-77bdd9b4.entry.js → p-548f72ee.entry.js} +1 -1
  547. package/dist/realtimekit-ui/{p-a1af8ff8.entry.js → p-5564adad.entry.js} +1 -1
  548. package/dist/realtimekit-ui/{p-0e11efb7.entry.js → p-5623d82e.entry.js} +1 -1
  549. package/dist/realtimekit-ui/{p-ce7a7178.entry.js → p-5862bcba.entry.js} +1 -1
  550. package/dist/realtimekit-ui/{p-4490e4a5.entry.js → p-58b2f1a1.entry.js} +1 -1
  551. package/dist/realtimekit-ui/{p-412cdd31.entry.js → p-62c4d1ba.entry.js} +1 -1
  552. package/dist/realtimekit-ui/{p-a6a139d0.entry.js → p-64b59d46.entry.js} +1 -1
  553. package/dist/realtimekit-ui/{p-560cea5a.js → p-667c84b1.js} +1 -1
  554. package/dist/realtimekit-ui/{p-44832865.entry.js → p-6b177ee6.entry.js} +1 -1
  555. package/dist/realtimekit-ui/{p-901c1d40.js → p-6befaf17.js} +1 -1
  556. package/dist/realtimekit-ui/{p-7c4a22cd.entry.js → p-6c9a2464.entry.js} +1 -1
  557. package/dist/realtimekit-ui/{p-9e211b0c.entry.js → p-71a44776.entry.js} +1 -1
  558. package/dist/realtimekit-ui/{p-35a5637a.entry.js → p-72461b1f.entry.js} +1 -1
  559. package/dist/realtimekit-ui/{p-153cdff6.entry.js → p-7649168e.entry.js} +1 -1
  560. package/dist/realtimekit-ui/{p-6f6376d7.entry.js → p-76f87172.entry.js} +1 -1
  561. package/dist/realtimekit-ui/{p-e0957448.entry.js → p-79060698.entry.js} +1 -1
  562. package/dist/realtimekit-ui/{p-f1684041.entry.js → p-7bdd688b.entry.js} +1 -1
  563. package/dist/realtimekit-ui/{p-af705ed1.js → p-7e3c2d64.js} +1 -1
  564. package/dist/realtimekit-ui/{p-c370864b.entry.js → p-7e4a3510.entry.js} +1 -1
  565. package/dist/realtimekit-ui/{p-0b892bb4.entry.js → p-80be0156.entry.js} +1 -1
  566. package/dist/realtimekit-ui/{p-d879ebe0.entry.js → p-85818728.entry.js} +1 -1
  567. package/dist/realtimekit-ui/{p-ebfa6492.entry.js → p-873a645c.entry.js} +1 -1
  568. package/dist/realtimekit-ui/{p-2af1d7f6.entry.js → p-88a01a0c.entry.js} +1 -1
  569. package/dist/realtimekit-ui/{p-44ea537a.entry.js → p-8c971978.entry.js} +1 -1
  570. package/dist/realtimekit-ui/{p-06f49c32.entry.js → p-8cc4f116.entry.js} +1 -1
  571. package/dist/realtimekit-ui/{p-52e08862.entry.js → p-8edfe6fa.entry.js} +1 -1
  572. package/dist/realtimekit-ui/{p-dc6a9973.entry.js → p-8fa0ea33.entry.js} +1 -1
  573. package/dist/realtimekit-ui/{p-3390e8ab.entry.js → p-91795fd7.entry.js} +1 -1
  574. package/dist/realtimekit-ui/{p-48d5f1f4.entry.js → p-91c8f9d1.entry.js} +1 -1
  575. package/dist/realtimekit-ui/{p-bcfa5ae6.entry.js → p-93f88675.entry.js} +1 -1
  576. package/dist/realtimekit-ui/p-9727a165.js +1 -0
  577. package/dist/realtimekit-ui/{p-d9a5d325.entry.js → p-a0471508.entry.js} +1 -1
  578. package/dist/realtimekit-ui/p-a056fd35.entry.js +1 -0
  579. package/dist/realtimekit-ui/{p-62e9fbff.entry.js → p-a2693bee.entry.js} +1 -1
  580. package/dist/realtimekit-ui/{p-113467fc.entry.js → p-a47c017b.entry.js} +1 -1
  581. package/dist/realtimekit-ui/{p-3b221671.entry.js → p-a9ab826e.entry.js} +1 -1
  582. package/dist/realtimekit-ui/{p-52ff99d3.js → p-ae0bb894.js} +1 -1
  583. package/dist/realtimekit-ui/{p-44b0cd83.entry.js → p-b27886ff.entry.js} +1 -1
  584. package/dist/realtimekit-ui/{p-fff385a0.entry.js → p-b3f1ad3b.entry.js} +1 -1
  585. package/dist/realtimekit-ui/{p-84a52bdf.entry.js → p-b5f0c31d.entry.js} +1 -1
  586. package/dist/realtimekit-ui/{p-0928d88d.entry.js → p-b86e3e01.entry.js} +1 -1
  587. package/dist/realtimekit-ui/{p-f10b9cc3.entry.js → p-b89873a4.entry.js} +1 -1
  588. package/dist/realtimekit-ui/{p-e80dea09.entry.js → p-bde05d24.entry.js} +1 -1
  589. package/dist/realtimekit-ui/{p-b10872dc.entry.js → p-c57e0778.entry.js} +1 -1
  590. package/dist/realtimekit-ui/{p-a9441717.entry.js → p-c6a8ef1e.entry.js} +1 -1
  591. package/dist/realtimekit-ui/{p-cdc266b8.entry.js → p-c8bc3bb1.entry.js} +1 -1
  592. package/dist/realtimekit-ui/{p-a2367cc6.entry.js → p-c8f7b427.entry.js} +1 -1
  593. package/dist/realtimekit-ui/{p-a1260195.entry.js → p-c9d62ba7.entry.js} +1 -1
  594. package/dist/realtimekit-ui/p-cfa0b5c7.js +1 -0
  595. package/dist/realtimekit-ui/{p-eb9ebb93.entry.js → p-d0959773.entry.js} +1 -1
  596. package/dist/realtimekit-ui/{p-9e4200f3.entry.js → p-d4a2594a.entry.js} +1 -1
  597. package/dist/realtimekit-ui/{p-9a3880ea.entry.js → p-d59e0ecc.entry.js} +1 -1
  598. package/dist/realtimekit-ui/{p-48af2624.entry.js → p-d790f2be.entry.js} +1 -1
  599. package/dist/realtimekit-ui/{p-29097dbf.entry.js → p-d7fd359f.entry.js} +1 -1
  600. package/dist/realtimekit-ui/{p-f44b2e72.entry.js → p-d93b1e9c.entry.js} +1 -1
  601. package/dist/realtimekit-ui/{p-8865b8c8.entry.js → p-daf01d45.entry.js} +1 -1
  602. package/dist/realtimekit-ui/{p-e7ec420f.entry.js → p-db2a6aed.entry.js} +1 -1
  603. package/dist/realtimekit-ui/p-de170ad4.entry.js +1 -0
  604. package/dist/realtimekit-ui/{p-c31cc651.entry.js → p-de31f5b0.entry.js} +1 -1
  605. package/dist/realtimekit-ui/{p-6a609ccb.entry.js → p-deaae495.entry.js} +1 -1
  606. package/dist/realtimekit-ui/{p-f4d6b673.entry.js → p-e0426f17.entry.js} +1 -1
  607. package/dist/realtimekit-ui/{p-52a632bf.entry.js → p-e59cc7d0.entry.js} +1 -1
  608. package/dist/realtimekit-ui/{p-ff29818e.entry.js → p-ea03b1a0.entry.js} +1 -1
  609. package/dist/realtimekit-ui/{p-f20f9ec3.entry.js → p-ede50497.entry.js} +1 -1
  610. package/dist/realtimekit-ui/{p-0d674434.entry.js → p-f52fdfb4.entry.js} +1 -1
  611. package/dist/realtimekit-ui/{p-792d3d16.js → p-fa9759f4.js} +1 -1
  612. package/dist/realtimekit-ui/p-fd80c28e.entry.js +1 -0
  613. package/dist/realtimekit-ui/{p-7d059801.entry.js → p-ff971eea.entry.js} +1 -1
  614. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  615. package/dist/types/components/rtk-idle-screen/rtk-idle-screen.d.ts +2 -3
  616. package/dist/types/components/rtk-meeting/rtk-meeting.d.ts +1 -1
  617. package/dist/types/components/rtk-ui-provider/rtk-ui-provider.d.ts +1 -1
  618. package/dist/types/exports.d.ts +1 -1
  619. package/dist/types/lib/lang/default-language.d.ts +4 -0
  620. package/dist/types/types/props.d.ts +11 -2
  621. package/dist/types/utils/init-error.d.ts +14 -0
  622. package/package.json +1 -1
  623. package/dist/realtimekit-ui/p-1eb9b441.entry.js +0 -1
  624. package/dist/realtimekit-ui/p-238e36c9.entry.js +0 -1
  625. package/dist/realtimekit-ui/p-9566f8ce.entry.js +0 -1
  626. package/dist/realtimekit-ui/p-9811c98c.js +0 -1
  627. package/dist/realtimekit-ui/p-c63ba546.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,d as i,h as e,a as s}from"./p-a599f720.js";import{c as o,e as a,i as n}from"./p-9811c98c.js";import{S as r}from"./p-af705ed1.js";var l=function(t,i,e,s){var o,a=arguments.length,n=a<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,e,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(n=(a<3?o(n):a>3?o(i,e,n):o(i,e))||n);return a>3&&n&&Object.defineProperty(i,e,n),n};const c=class{constructor(e){t(this,e),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.config=o(),this.iconPack=a,this.t=n(),this.pipSupported=!1}connectedCallback(){this.meetingChanged(this.meeting)}meetingChanged(t){var i,e,s;t&&(this.pipSupported=(null===(i=t.participants.pip)||void 0===i?void 0:i.isSupported())&&(null===(e=t.self.config)||void 0===e?void 0:e.pipMode)&&"LIVESTREAM"!==(null===(s=t.self.config)||void 0===s?void 0:s.viewType))}togglePip(){this.meeting.participants.pip&&(this.meeting.participants.pip.isActive?this.meeting.participants.pip.disable():this.meeting.participants.pip.enable(),this.stateUpdate.emit({activeMoreMenu:!1}))}render(){if(!this.meeting)return null;if(!this.pipSupported)return e(s,{"data-hidden":!0});const t=this.meeting.participants.pip.isActive;return e(s,{role:"log","aria-label":"Picture-in-Picture mode"},e("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,onClick:()=>this.togglePip(),icon:t?this.iconPack.pip_on:this.iconPack.pip_off,label:this.t(t?"pip_off":"pip_on"),variant:this.variant}))}static get watchers(){return{meeting:["meetingChanged"]}}};l([r()],c.prototype,"meeting",void 0),l([r()],c.prototype,"states",void 0),l([r()],c.prototype,"config",void 0),l([r()],c.prototype,"iconPack",void 0),l([r()],c.prototype,"t",void 0),c.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}:host([data-hidden]){display:none}";export{c as rtk_pip_toggle}
1
+ import{r as t,d as i,h as e,a as s}from"./p-a599f720.js";import{c as o,e as a,i as n}from"./p-9727a165.js";import{S as r}from"./p-7e3c2d64.js";var l=function(t,i,e,s){var o,a=arguments.length,n=a<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,e,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(n=(a<3?o(n):a>3?o(i,e,n):o(i,e))||n);return a>3&&n&&Object.defineProperty(i,e,n),n};const h=class{constructor(e){t(this,e),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.config=o(),this.iconPack=a,this.t=n(),this.pipSupported=!1}connectedCallback(){this.meetingChanged(this.meeting)}meetingChanged(t){var i,e,s;t&&(this.pipSupported=(null===(i=t.participants.pip)||void 0===i?void 0:i.isSupported())&&(null===(e=t.self.config)||void 0===e?void 0:e.pipMode)&&"LIVESTREAM"!==(null===(s=t.self.config)||void 0===s?void 0:s.viewType))}togglePip(){this.meeting.participants.pip&&(this.meeting.participants.pip.isActive?this.meeting.participants.pip.disable():this.meeting.participants.pip.enable(),this.stateUpdate.emit({activeMoreMenu:!1}))}render(){if(!this.meeting)return null;if(!this.pipSupported)return e(s,{"data-hidden":!0});const t=this.meeting.participants.pip.isActive;return e(s,{role:"log","aria-label":"Picture-in-Picture mode"},e("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,onClick:()=>this.togglePip(),icon:t?this.iconPack.pip_on:this.iconPack.pip_off,label:this.t(t?"pip_off":"pip_on"),variant:this.variant}))}static get watchers(){return{meeting:["meetingChanged"]}}};l([r()],h.prototype,"meeting",void 0),l([r()],h.prototype,"states",void 0),l([r()],h.prototype,"config",void 0),l([r()],h.prototype,"iconPack",void 0),l([r()],h.prototype,"t",void 0),h.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}:host([data-hidden]){display:none}";export{h as rtk_pip_toggle}
@@ -1 +1 @@
1
- import{r as e,h as a,a as t,d as i}from"./p-a599f720.js";import{C as c}from"./p-4ec77793.js";import{s,h as d}from"./p-6f211c3e.js";import{e as f,i as o}from"./p-9811c98c.js";import{g as r,a as b,d as n}from"./p-40be18ee.js";import{S as l}from"./p-af705ed1.js";import{T as h}from"./p-792d3d16.js";import"./p-382270d8.js";import"./p-0fa0e7d1.js";var k=function(e,a,t,i){var c,s=arguments.length,d=s<3?a:null===i?i=Object.getOwnPropertyDescriptor(a,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,a,t,i);else for(var f=e.length-1;f>=0;f--)(c=e[f])&&(d=(s<3?c(d):s>3?c(a,t,d):c(a,t))||d);return s>3&&d&&Object.defineProperty(a,t,d),d};const m=class{constructor(a){e(this,a),this.now=new Date,this.isContinued=!1,this.iconPack=f,this.t=o(),this.showBubble=!1}render(){const e=s(this.message.link);return a(t,{key:"b10da5fd1c4c6d80a1e5bf5f35f4956abde0ed5d"},!this.isContinued&&a(c,{key:"fb1384ad8bfc73219b28c4500f78e6c6421ee848",name:this.message.displayName,time:this.message.time,now:this.now}),a("div",{key:"81a067a5567ad160e4398a6f16b21309f81a0c9b",class:{body:!0,bubble:this.showBubble},part:"body"},a("div",{key:"c6eb4b26b0090b7f9fd6af9e79d04c8b4e76a6d1",class:"file"},a("div",{key:"10e9b854fa0c1f311bb1bc76c90223220c9a10f3",class:"file-data"},a("div",{key:"ace6eeb050ad6c656cd215456b69f8b6e9529aec",class:"name"},this.message.name),a("div",{key:"562de08ebd242e92aeca1fae0aa4823612a60c1c",class:"file-data-split"},a("div",{key:"968eee3032f98a59da43c0b4604dc597c4bfd94c",class:"ext"},r(this.message.name)),a("span",{key:"2cb436ffed86b9c3a73ff5feab9d3ec7c8e0ef3b",class:"divider"}),a("div",{key:"9cc1d37edf60fbd3d3538512539a79244ffd74de",class:"size"},b(this.message.size)))),a("rtk-button",{key:"e4eb744391b8fe61bd4d58e3ac3d7d10ee748976",variant:"secondary",kind:"icon",onClick:()=>n(e,{name:this.message.name,fallbackName:"file"}),part:"button"},a("rtk-icon",{key:"79efeb36257d970f243d1730d0ac4ad84bc6993d",icon:this.iconPack.download})))))}};k([l()],m.prototype,"iconPack",void 0),k([l()],m.prototype,"t",void 0);var y=function(e,a,t,i){var c,s=arguments.length,d=s<3?a:null===i?i=Object.getOwnPropertyDescriptor(a,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,a,t,i);else for(var f=e.length-1;f>=0;f--)(c=e[f])&&(d=(s<3?c(d):s>3?c(a,t,d):c(a,t))||d);return s>3&&d&&Object.defineProperty(a,t,d),d};const p=class{constructor(a){e(this,a),this.stateUpdate=i(this,"rtkStateUpdate",7),this.now=new Date,this.isContinued=!1,this.iconPack=f,this.t=o(),this.showBubble=!1,this.status="loading"}render(){return a(t,{key:"8ac3f237a8d77254219f8b5763dd6b53d2cb764b"},!this.isContinued&&a(c,{key:"6eb17e16b4fd4e12d3b8a7ce8a5bcfd548930a50",name:this.message.displayName,time:this.message.time,now:this.now}),a("div",{key:"d5cce1675057a0378425452898fcbc4c738b7bb2",class:{body:!0,bubble:this.showBubble},part:"body"},a("div",{key:"45f073d8268c92aee4fec8b139fd325e668dab76",class:{image:!0,loaded:"loaded"===this.status}},a("img",{key:"28a206e34b791205e042233ee7f317f389f421da",src:s(this.message.link),onLoad:()=>{this.status="loaded"},onError:()=>{this.status="errored"},onClick:()=>{"loaded"===this.status&&this.stateUpdate.emit({image:this.message})}}),"loading"===this.status&&a("div",{key:"b7862bff3f6c9df7042bdab2f6b0370e7c362f02",class:"image-spinner",title:this.t("chat.img.loading"),"aria-label":this.t("chat.img.loading")},a("rtk-spinner",{key:"460074eae700cd3f522019f967ba5955b9eb972e",iconPack:this.iconPack})),"errored"===this.status&&a("div",{key:"bdf48c8fdc5057d2c77d10b64d7af5576f478556",class:"image-errored",title:this.t("chat.error.img_not_found"),"aria-label":this.t("chat.error.img_not_found")},a("rtk-icon",{key:"523e5ff6dd4579082e5953346155df9b7b23862f",icon:this.iconPack.image_off})),"loaded"===this.status&&a("div",{key:"89e3679101615838ec6a0f521b98386454d25197",class:"actions"},a("rtk-button",{key:"ccaed0a3d70945d66e7b700e01bbc5289421f8ae",class:"action",variant:"secondary",kind:"icon",onClick:()=>{this.stateUpdate.emit({image:this.message})}},a("rtk-icon",{key:"ee20f5497dbb38590de65c4a404eda90b0d5c4e5",icon:this.iconPack.full_screen_maximize})),a("rtk-button",{key:"181d39cfd837e45d3da1aa0fa0f97226c50cb46a",class:"action",variant:"secondary",kind:"icon",onClick:()=>n(this.message.link,{fallbackName:"image"})},a("rtk-icon",{key:"53c7e551ec4a2efb32d60d16eb2a4a02144abf4f",icon:this.iconPack.download}))))))}};y([l()],p.prototype,"iconPack",void 0),y([l()],p.prototype,"t",void 0),p.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.image-spinner{cursor:wait}.image-errored{cursor:not-allowed}";var v=function(e,a,t,i){var c,s=arguments.length,d=s<3?a:null===i?i=Object.getOwnPropertyDescriptor(a,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,a,t,i);else for(var f=e.length-1;f>=0;f--)(c=e[f])&&(d=(s<3?c(d):s>3?c(a,t,d):c(a,t))||d);return s>3&&d&&Object.defineProperty(a,t,d),d};const u=class{constructor(a){e(this,a),this.now=new Date,this.isContinued=!1,this.iconPack=f,this.t=o(),this.showBubble=!1}render(){return a(t,{key:"a34dd007a87a134202e153f3d886102bbe6a685c"},!this.isContinued&&a(c,{key:"8505cee0d359b7449776ece2bbd7455811217a41",name:this.message.displayName,time:this.message.time,now:this.now}),a("div",{key:"00b2baca454b62e4984e82790580bac116a046a0",class:{body:!0,bubble:this.showBubble},part:"body"},a("div",{key:"ecc8de946011c9836cebfd626a27cb23f111d0cc",class:{text:!0,emoji:d(this.message.message)}},a(h,{key:"1efad576e6110986cb2abac7ff2c42b492c995aa",message:this.message.message}))))}};v([l()],u.prototype,"iconPack",void 0),v([l()],u.prototype,"t",void 0);export{m as rtk_file_message,p as rtk_image_message,u as rtk_text_message}
1
+ import{r as e,h as a,a as t,d as i}from"./p-a599f720.js";import{C as c}from"./p-4ec77793.js";import{s,h as d}from"./p-6f211c3e.js";import{e as f,i as o}from"./p-9727a165.js";import{g as r,a as b,d as n}from"./p-40be18ee.js";import{S as l}from"./p-7e3c2d64.js";import{T as h}from"./p-fa9759f4.js";import"./p-382270d8.js";import"./p-1e62d63b.js";var k=function(e,a,t,i){var c,s=arguments.length,d=s<3?a:null===i?i=Object.getOwnPropertyDescriptor(a,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,a,t,i);else for(var f=e.length-1;f>=0;f--)(c=e[f])&&(d=(s<3?c(d):s>3?c(a,t,d):c(a,t))||d);return s>3&&d&&Object.defineProperty(a,t,d),d};const m=class{constructor(a){e(this,a),this.now=new Date,this.isContinued=!1,this.iconPack=f,this.t=o(),this.showBubble=!1}render(){const e=s(this.message.link);return a(t,{key:"b10da5fd1c4c6d80a1e5bf5f35f4956abde0ed5d"},!this.isContinued&&a(c,{key:"fb1384ad8bfc73219b28c4500f78e6c6421ee848",name:this.message.displayName,time:this.message.time,now:this.now}),a("div",{key:"81a067a5567ad160e4398a6f16b21309f81a0c9b",class:{body:!0,bubble:this.showBubble},part:"body"},a("div",{key:"c6eb4b26b0090b7f9fd6af9e79d04c8b4e76a6d1",class:"file"},a("div",{key:"10e9b854fa0c1f311bb1bc76c90223220c9a10f3",class:"file-data"},a("div",{key:"ace6eeb050ad6c656cd215456b69f8b6e9529aec",class:"name"},this.message.name),a("div",{key:"562de08ebd242e92aeca1fae0aa4823612a60c1c",class:"file-data-split"},a("div",{key:"968eee3032f98a59da43c0b4604dc597c4bfd94c",class:"ext"},r(this.message.name)),a("span",{key:"2cb436ffed86b9c3a73ff5feab9d3ec7c8e0ef3b",class:"divider"}),a("div",{key:"9cc1d37edf60fbd3d3538512539a79244ffd74de",class:"size"},b(this.message.size)))),a("rtk-button",{key:"e4eb744391b8fe61bd4d58e3ac3d7d10ee748976",variant:"secondary",kind:"icon",onClick:()=>n(e,{name:this.message.name,fallbackName:"file"}),part:"button"},a("rtk-icon",{key:"79efeb36257d970f243d1730d0ac4ad84bc6993d",icon:this.iconPack.download})))))}};k([l()],m.prototype,"iconPack",void 0),k([l()],m.prototype,"t",void 0);var y=function(e,a,t,i){var c,s=arguments.length,d=s<3?a:null===i?i=Object.getOwnPropertyDescriptor(a,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,a,t,i);else for(var f=e.length-1;f>=0;f--)(c=e[f])&&(d=(s<3?c(d):s>3?c(a,t,d):c(a,t))||d);return s>3&&d&&Object.defineProperty(a,t,d),d};const p=class{constructor(a){e(this,a),this.stateUpdate=i(this,"rtkStateUpdate",7),this.now=new Date,this.isContinued=!1,this.iconPack=f,this.t=o(),this.showBubble=!1,this.status="loading"}render(){return a(t,{key:"8ac3f237a8d77254219f8b5763dd6b53d2cb764b"},!this.isContinued&&a(c,{key:"6eb17e16b4fd4e12d3b8a7ce8a5bcfd548930a50",name:this.message.displayName,time:this.message.time,now:this.now}),a("div",{key:"d5cce1675057a0378425452898fcbc4c738b7bb2",class:{body:!0,bubble:this.showBubble},part:"body"},a("div",{key:"45f073d8268c92aee4fec8b139fd325e668dab76",class:{image:!0,loaded:"loaded"===this.status}},a("img",{key:"28a206e34b791205e042233ee7f317f389f421da",src:s(this.message.link),onLoad:()=>{this.status="loaded"},onError:()=>{this.status="errored"},onClick:()=>{"loaded"===this.status&&this.stateUpdate.emit({image:this.message})}}),"loading"===this.status&&a("div",{key:"b7862bff3f6c9df7042bdab2f6b0370e7c362f02",class:"image-spinner",title:this.t("chat.img.loading"),"aria-label":this.t("chat.img.loading")},a("rtk-spinner",{key:"460074eae700cd3f522019f967ba5955b9eb972e",iconPack:this.iconPack})),"errored"===this.status&&a("div",{key:"bdf48c8fdc5057d2c77d10b64d7af5576f478556",class:"image-errored",title:this.t("chat.error.img_not_found"),"aria-label":this.t("chat.error.img_not_found")},a("rtk-icon",{key:"523e5ff6dd4579082e5953346155df9b7b23862f",icon:this.iconPack.image_off})),"loaded"===this.status&&a("div",{key:"89e3679101615838ec6a0f521b98386454d25197",class:"actions"},a("rtk-button",{key:"ccaed0a3d70945d66e7b700e01bbc5289421f8ae",class:"action",variant:"secondary",kind:"icon",onClick:()=>{this.stateUpdate.emit({image:this.message})}},a("rtk-icon",{key:"ee20f5497dbb38590de65c4a404eda90b0d5c4e5",icon:this.iconPack.full_screen_maximize})),a("rtk-button",{key:"181d39cfd837e45d3da1aa0fa0f97226c50cb46a",class:"action",variant:"secondary",kind:"icon",onClick:()=>n(this.message.link,{fallbackName:"image"})},a("rtk-icon",{key:"53c7e551ec4a2efb32d60d16eb2a4a02144abf4f",icon:this.iconPack.download}))))))}};y([l()],p.prototype,"iconPack",void 0),y([l()],p.prototype,"t",void 0),p.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.image-spinner{cursor:wait}.image-errored{cursor:not-allowed}";var v=function(e,a,t,i){var c,s=arguments.length,d=s<3?a:null===i?i=Object.getOwnPropertyDescriptor(a,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,a,t,i);else for(var f=e.length-1;f>=0;f--)(c=e[f])&&(d=(s<3?c(d):s>3?c(a,t,d):c(a,t))||d);return s>3&&d&&Object.defineProperty(a,t,d),d};const u=class{constructor(a){e(this,a),this.now=new Date,this.isContinued=!1,this.iconPack=f,this.t=o(),this.showBubble=!1}render(){return a(t,{key:"a34dd007a87a134202e153f3d886102bbe6a685c"},!this.isContinued&&a(c,{key:"8505cee0d359b7449776ece2bbd7455811217a41",name:this.message.displayName,time:this.message.time,now:this.now}),a("div",{key:"00b2baca454b62e4984e82790580bac116a046a0",class:{body:!0,bubble:this.showBubble},part:"body"},a("div",{key:"ecc8de946011c9836cebfd626a27cb23f111d0cc",class:{text:!0,emoji:d(this.message.message)}},a(h,{key:"1efad576e6110986cb2abac7ff2c42b492c995aa",message:this.message.message}))))}};v([l()],u.prototype,"iconPack",void 0),v([l()],u.prototype,"t",void 0);export{m as rtk_file_message,p as rtk_image_message,u as rtk_text_message}
@@ -1 +1 @@
1
- import{r as t,e as i,h as s,a as e,g as r}from"./p-a599f720.js";import{c as n,i as a,O as o}from"./p-9811c98c.js";import{S as h}from"./p-af705ed1.js";var c=function(t,i,s,e){var r,n=arguments.length,a=n<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,s,e);else for(var o=t.length-1;o>=0;o--)(r=t[o])&&(a=(n<3?r(a):n>3?r(i,s,a):r(i,s))||a);return n>3&&a&&Object.defineProperty(i,s,a),a};const d=class{constructor(i){t(this,i),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 i;null===(i=null==t?void 0:t.ai)||void 0===i||i.addListener("transcript",this.onTranscript),this.listenerAttached=!0}clearListeners(t){var i;this.onTranscript&&(null===(i=null==t?void 0:t.ai)||void 0===i||i.removeListener("transcript",this.onTranscript)),this.listenerAttached=!1,clearTimeout(this.disconnectTimeout),this.transcripts=[]}disconnectedCallback(){this.meeting&&this.clearListeners(this.meeting)}meetingChanged(t,i){clearTimeout(this.disconnectTimeout),i&&this.clearListeners(i),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,i){if(!t.length)return[i];let s=t[t.length-1];return s.peerId!==i.peerId?t.concat(i):s.id===i.id?(s.transcript=i.transcript,t.pop(),t.concat(o(s))):t.concat(i)}add(t){this.transcripts=this.transcriptionsReducer(this.transcripts,t)}remove(t){this.transcripts=this.transcripts.filter((i=>i.renderedId!==t))}handleDismiss(t){t.stopPropagation();const{id:s,renderedId:e}=t.detail,r=this.host.shadowRoot.querySelector(`[data-id="${s}"]`);null==r||r.classList.add("exit"),setTimeout((()=>{i((()=>{this.remove(e)}))}),400)}renderTranscripts(){const t=[];return this.transcripts.forEach((i=>{const s={name:i.name,date:i.date,peerId:i.peerId,transcript:i.transcript,id:i.id,renderedId:i.id};if(!t.length)return i.renderedId=s.renderedId,void t.push(s);const e=t[t.length-1];if(e.transcript.length+s.transcript.length>400||e.peerId!==i.peerId)return i.renderedId=s.renderedId,void t.push(s);e.transcript+=" "+i.transcript,i.renderedId=e.renderedId})),t.splice(0,t.length-2),null==t?void 0:t.map((t=>s("rtk-transcript",{key:t.id,"data-id":t.id,transcript:t,onRtkTranscriptDismiss:t=>this.handleDismiss(t),t:this.t})))}render(){if(this.states.activeCaptions)return s(e,null,this.renderTranscripts())}get host(){return r(this)}static get watchers(){return{meeting:["meetingChanged"],states:["statesChanged"]}}};c([h()],d.prototype,"meeting",void 0),c([h()],d.prototype,"states",void 0),c([h()],d.prototype,"config",void 0),c([h()],d.prototype,"t",void 0),d.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position: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{d as rtk_transcripts}
1
+ import{r as t,e as i,h as s,a as e,g as r}from"./p-a599f720.js";import{c as n,i as a,O as o}from"./p-9727a165.js";import{S as h}from"./p-7e3c2d64.js";var c=function(t,i,s,e){var r,n=arguments.length,a=n<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,s,e);else for(var o=t.length-1;o>=0;o--)(r=t[o])&&(a=(n<3?r(a):n>3?r(i,s,a):r(i,s))||a);return n>3&&a&&Object.defineProperty(i,s,a),a};const d=class{constructor(i){t(this,i),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 i;null===(i=null==t?void 0:t.ai)||void 0===i||i.addListener("transcript",this.onTranscript),this.listenerAttached=!0}clearListeners(t){var i;this.onTranscript&&(null===(i=null==t?void 0:t.ai)||void 0===i||i.removeListener("transcript",this.onTranscript)),this.listenerAttached=!1,clearTimeout(this.disconnectTimeout),this.transcripts=[]}disconnectedCallback(){this.meeting&&this.clearListeners(this.meeting)}meetingChanged(t,i){clearTimeout(this.disconnectTimeout),i&&this.clearListeners(i),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,i){if(!t.length)return[i];let s=t[t.length-1];return s.peerId!==i.peerId?t.concat(i):s.id===i.id?(s.transcript=i.transcript,t.pop(),t.concat(o(s))):t.concat(i)}add(t){this.transcripts=this.transcriptionsReducer(this.transcripts,t)}remove(t){this.transcripts=this.transcripts.filter((i=>i.renderedId!==t))}handleDismiss(t){t.stopPropagation();const{id:s,renderedId:e}=t.detail,r=this.host.shadowRoot.querySelector(`[data-id="${s}"]`);null==r||r.classList.add("exit"),setTimeout((()=>{i((()=>{this.remove(e)}))}),400)}renderTranscripts(){const t=[];return this.transcripts.forEach((i=>{const s={name:i.name,date:i.date,peerId:i.peerId,transcript:i.transcript,id:i.id,renderedId:i.id};if(!t.length)return i.renderedId=s.renderedId,void t.push(s);const e=t[t.length-1];if(e.transcript.length+s.transcript.length>400||e.peerId!==i.peerId)return i.renderedId=s.renderedId,void t.push(s);e.transcript+=" "+i.transcript,i.renderedId=e.renderedId})),t.splice(0,t.length-2),null==t?void 0:t.map((t=>s("rtk-transcript",{key:t.id,"data-id":t.id,transcript:t,onRtkTranscriptDismiss:t=>this.handleDismiss(t),t:this.t})))}render(){if(this.states.activeCaptions)return s(e,null,this.renderTranscripts())}get host(){return r(this)}static get watchers(){return{meeting:["meetingChanged"],states:["statesChanged"]}}};c([h()],d.prototype,"meeting",void 0),c([h()],d.prototype,"states",void 0),c([h()],d.prototype,"config",void 0),c([h()],d.prototype,"t",void 0),d.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position: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{d as rtk_transcripts}
@@ -1 +1 @@
1
- import{r as t,h as i,a}from"./p-a599f720.js";import{c as s,e,i as r}from"./p-9811c98c.js";import{R as n}from"./p-eccb6d78.js";import{S as c}from"./p-af705ed1.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"],search:["searchChanged"]}}};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"]}}};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"],search:["searchChanged"]}}};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"]}}};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-a599f720.js";import{c as s,e,i as r}from"./p-9727a165.js";import{R as n}from"./p-eccb6d78.js";import{S as c}from"./p-7e3c2d64.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"],search:["searchChanged"]}}};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"]}}};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"],search:["searchChanged"]}}};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"]}}};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 +1 @@
1
- import{g as e}from"./p-a599f720.js";import{u as t,I as o,J as r}from"./p-9811c98c.js";function n(){return function(n,s){const{connectedCallback:c,disconnectedCallback:a}=n;n.connectedCallback=function(){const n=e(this),a=n[s];n[`_rtkStoreToCleanup-${s}`]=t,a||(n[s]=t.state[s],o(s,n,t));const u=e=>{if(e.detail.requestId===n._storeRequestId){const c=e.detail.store.state[s];n.componentOnReady().then((()=>{n[s]=c})),o(s,n,e.detail.store),n[`_rtkStoreToCleanup-${s}`]=e.detail.store,r(s,n,t)}};n[`_rtkStoreResponseListener-${s}`]=u,document.addEventListener("rtkProvideStore",u);const d=`${n.tagName}-${Date.now()}-${Math.random()}`;n._storeRequestId=d;const i=new CustomEvent("rtkRequestStore",{detail:{element:n,propName:s,requestId:d},bubbles:!0,composed:!0});n.dispatchEvent(i);const l=()=>{const e=`${n.tagName}-${Date.now()}-${Math.random().toString(36)}`;n._storeRequestId=e;const t=new CustomEvent("rtkRequestStore",{detail:{element:n,propName:s,requestId:e},bubbles:!0,composed:!0});n.dispatchEvent(t)};return n[`_rtkStoreReadyListener-${s}`]=l,document.addEventListener("rtkPeerStoreReady",l),null==c?void 0:c.call(this)},n.disconnectedCallback=function(){const t=e(this);r(s,t,t[`_rtkStoreToCleanup-${s}`]);const o=t[`_rtkStoreResponseListener-${s}`];o&&(document.removeEventListener("rtkProvideStore",o),delete t[`_rtkStoreResponseListener-${s}`]);const n=t[`_rtkStoreReadyListener-${s}`];return n&&(document.removeEventListener("rtkPeerStoreReady",n),delete t[`_rtkStoreReadyListener-${s}`]),null==a?void 0:a.call(this)}}}export{n as S}
1
+ import{g as e}from"./p-a599f720.js";import{u as t,I as o,J as r}from"./p-9727a165.js";function n(){return function(n,s){const{connectedCallback:c,disconnectedCallback:a}=n;n.connectedCallback=function(){const n=e(this),a=n[s];n[`_rtkStoreToCleanup-${s}`]=t,a||(n[s]=t.state[s],o(s,n,t));const u=e=>{if(e.detail.requestId===n._storeRequestId){const c=e.detail.store.state[s];n.componentOnReady().then((()=>{n[s]=c})),o(s,n,e.detail.store),n[`_rtkStoreToCleanup-${s}`]=e.detail.store,r(s,n,t)}};n[`_rtkStoreResponseListener-${s}`]=u,document.addEventListener("rtkProvideStore",u);const d=`${n.tagName}-${Date.now()}-${Math.random()}`;n._storeRequestId=d;const i=new CustomEvent("rtkRequestStore",{detail:{element:n,propName:s,requestId:d},bubbles:!0,composed:!0});n.dispatchEvent(i);const l=()=>{const e=`${n.tagName}-${Date.now()}-${Math.random().toString(36)}`;n._storeRequestId=e;const t=new CustomEvent("rtkRequestStore",{detail:{element:n,propName:s,requestId:e},bubbles:!0,composed:!0});n.dispatchEvent(t)};return n[`_rtkStoreReadyListener-${s}`]=l,document.addEventListener("rtkPeerStoreReady",l),null==c?void 0:c.call(this)},n.disconnectedCallback=function(){const t=e(this);r(s,t,t[`_rtkStoreToCleanup-${s}`]);const o=t[`_rtkStoreResponseListener-${s}`];o&&(document.removeEventListener("rtkProvideStore",o),delete t[`_rtkStoreResponseListener-${s}`]);const n=t[`_rtkStoreReadyListener-${s}`];return n&&(document.removeEventListener("rtkPeerStoreReady",n),delete t[`_rtkStoreReadyListener-${s}`]),null==a?void 0:a.call(this)}}}export{n as S}
@@ -1 +1 @@
1
- import{r as t,h as r,a}from"./p-a599f720.js";import{e as i,i as o}from"./p-9811c98c.js";import{h as s}from"./p-3f882e7c.js";import{S as e}from"./p-af705ed1.js";var c=function(t,r,a,i){var o,s=arguments.length,e=s<3?r:null===i?i=Object.getOwnPropertyDescriptor(r,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)e=Reflect.decorate(t,r,a,i);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(e=(s<3?o(e):s>3?o(r,a,e):o(r,a))||e);return s>3&&e&&Object.defineProperty(r,a,e),e};const n=class{constructor(r){t(this,r),this.iconPack=i,this.t=o(),this.audioEnabled=!1,this.volume=0,this.onAudioUpdate=({audioEnabled:t,audioTrack:r})=>{if(this.participant)if(t&&r){const t=new MediaStream;t.addTrack(r),this.calcVolume(t),this.audioEnabled=!0}else this.volume=0,this.audioEnabled=!1}}connectedCallback(){this.participantChanged(this.participant)}disconnectedCallback(){var t,r;null===(t=this.hark)||void 0===t||t.stop(),null===(r=this.participant)||void 0===r||r.removeListener("audioUpdate",this.onAudioUpdate)}participantChanged(t){t&&(this.audioEnabled=t.audioEnabled,t.addListener("audioUpdate",this.onAudioUpdate))}calcVolume(t){this.hark=s(t,{play:!1,interval:100}),this.hark.on("volume_change",(t=>{const r=this.volume;let a=Math.round(10**(t/115)*10);a<3&&(a=0);let i=Math.round((2*r+a)/3);r!==i&&(this.volume=i)}))}render(){if(!this.meeting)return null;const t={meeting:this.meeting,size:this.size,config:this.config,states:this.states,iconPack:this.iconPack,t:this.t};let o="bar-0";return o=this.volume>5?"bar-5":this.volume<0?"bar-0":"bar-"+this.volume,r(a,null,r("div",{class:{"avatar-ctr":!0,speaking:this.audioEnabled,[o]:!0}},r("rtk-avatar",{participant:this.participant,size:this.size},!this.audioEnabled&&r("div",{class:"mic-icon"},r("rtk-icon",{icon:i.mic_off})))),r("rtk-name-tag",Object.assign({variant:"text",participant:this.participant},t)),r("slot",null))}static get watchers(){return{participant:["participantChanged"]}}};c([e()],n.prototype,"meeting",void 0),c([e()],n.prototype,"config",void 0),c([e()],n.prototype,"states",void 0),c([e()],n.prototype,"iconPack",void 0),c([e()],n.prototype,"t",void 0),n.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{box-sizing:border-box;display:flex;flex-direction:column}.avatar-ctr{box-sizing:border-box;width:100%;flex:1 1 0%;padding:var(--rtk-space-1\\.5, 6px);border:2px solid transparent;border-radius:calc(var(--rtk-border-radius-xl, 40px) + var(--rtk-space-1\\.5, 6px))}.avatar-ctr.speaking{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity));transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.bar-0{box-shadow:none}.bar-1{box-shadow:0 0 4px rgb(var(--rtk-colors-brand-500, 33 96 253))}.bar-2{box-shadow:0 0 8px rgb(var(--rtk-colors-brand-500, 33 96 253))}.bar-3{box-shadow:0 0 16px 1px rgb(var(--rtk-colors-brand-500, 33 96 253))}.bar-4{box-shadow:0 0 20px 3px rgb(var(--rtk-colors-brand-500, 33 96 253))}.bar-5{box-shadow:0 0 24px 6px rgb(var(--rtk-colors-brand-500, 33 96 253))}rtk-avatar{aspect-ratio:1 / 1;height:100%;width:100%;position:relative;border-radius:var(--rtk-border-radius-xl, 40px)}rtk-name-tag{display:block;height:var(--rtk-space-10, 40px);width:100%;text-align:center;line-height:2.5rem}:host([size='sm']) .avatar-ctr{border-radius:calc(var(--rtk-border-radius-lg, 12px) + var(--rtk-space-1\\.5, 6px))}:host([size='sm']) rtk-name-tag{height:var(--rtk-space-7, 28px);line-height:1.75rem}:host([size='sm']) rtk-avatar{border-radius:var(--rtk-border-radius-lg, 12px)}.mic-icon{position:absolute;bottom:calc(var(--rtk-space-1, 4px) * -1);right:calc(var(--rtk-space-1, 4px) * -1);border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px);color:rgb(var(--rtk-colors-text-1000, 255 255 255));--tw-shadow:0 1px 2px 0 rgb(0 0 0 / 0.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.mic-icon rtk-icon{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px)}:host([size='sm']) .mic-icon rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}:host([size='md']) .mic-icon rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}";export{n as rtk_audio_tile}
1
+ import{r as t,h as r,a}from"./p-a599f720.js";import{e as i,i as o}from"./p-9727a165.js";import{h as s}from"./p-3f882e7c.js";import{S as e}from"./p-7e3c2d64.js";var c=function(t,r,a,i){var o,s=arguments.length,e=s<3?r:null===i?i=Object.getOwnPropertyDescriptor(r,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)e=Reflect.decorate(t,r,a,i);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(e=(s<3?o(e):s>3?o(r,a,e):o(r,a))||e);return s>3&&e&&Object.defineProperty(r,a,e),e};const n=class{constructor(r){t(this,r),this.iconPack=i,this.t=o(),this.audioEnabled=!1,this.volume=0,this.onAudioUpdate=({audioEnabled:t,audioTrack:r})=>{if(this.participant)if(t&&r){const t=new MediaStream;t.addTrack(r),this.calcVolume(t),this.audioEnabled=!0}else this.volume=0,this.audioEnabled=!1}}connectedCallback(){this.participantChanged(this.participant)}disconnectedCallback(){var t,r;null===(t=this.hark)||void 0===t||t.stop(),null===(r=this.participant)||void 0===r||r.removeListener("audioUpdate",this.onAudioUpdate)}participantChanged(t){t&&(this.audioEnabled=t.audioEnabled,t.addListener("audioUpdate",this.onAudioUpdate))}calcVolume(t){this.hark=s(t,{play:!1,interval:100}),this.hark.on("volume_change",(t=>{const r=this.volume;let a=Math.round(10**(t/115)*10);a<3&&(a=0);let i=Math.round((2*r+a)/3);r!==i&&(this.volume=i)}))}render(){if(!this.meeting)return null;const t={meeting:this.meeting,size:this.size,config:this.config,states:this.states,iconPack:this.iconPack,t:this.t};let o="bar-0";return o=this.volume>5?"bar-5":this.volume<0?"bar-0":"bar-"+this.volume,r(a,null,r("div",{class:{"avatar-ctr":!0,speaking:this.audioEnabled,[o]:!0}},r("rtk-avatar",{participant:this.participant,size:this.size},!this.audioEnabled&&r("div",{class:"mic-icon"},r("rtk-icon",{icon:i.mic_off})))),r("rtk-name-tag",Object.assign({variant:"text",participant:this.participant},t)),r("slot",null))}static get watchers(){return{participant:["participantChanged"]}}};c([e()],n.prototype,"meeting",void 0),c([e()],n.prototype,"config",void 0),c([e()],n.prototype,"states",void 0),c([e()],n.prototype,"iconPack",void 0),c([e()],n.prototype,"t",void 0),n.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{box-sizing:border-box;display:flex;flex-direction:column}.avatar-ctr{box-sizing:border-box;width:100%;flex:1 1 0%;padding:var(--rtk-space-1\\.5, 6px);border:2px solid transparent;border-radius:calc(var(--rtk-border-radius-xl, 40px) + var(--rtk-space-1\\.5, 6px))}.avatar-ctr.speaking{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity));transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.bar-0{box-shadow:none}.bar-1{box-shadow:0 0 4px rgb(var(--rtk-colors-brand-500, 33 96 253))}.bar-2{box-shadow:0 0 8px rgb(var(--rtk-colors-brand-500, 33 96 253))}.bar-3{box-shadow:0 0 16px 1px rgb(var(--rtk-colors-brand-500, 33 96 253))}.bar-4{box-shadow:0 0 20px 3px rgb(var(--rtk-colors-brand-500, 33 96 253))}.bar-5{box-shadow:0 0 24px 6px rgb(var(--rtk-colors-brand-500, 33 96 253))}rtk-avatar{aspect-ratio:1 / 1;height:100%;width:100%;position:relative;border-radius:var(--rtk-border-radius-xl, 40px)}rtk-name-tag{display:block;height:var(--rtk-space-10, 40px);width:100%;text-align:center;line-height:2.5rem}:host([size='sm']) .avatar-ctr{border-radius:calc(var(--rtk-border-radius-lg, 12px) + var(--rtk-space-1\\.5, 6px))}:host([size='sm']) rtk-name-tag{height:var(--rtk-space-7, 28px);line-height:1.75rem}:host([size='sm']) rtk-avatar{border-radius:var(--rtk-border-radius-lg, 12px)}.mic-icon{position:absolute;bottom:calc(var(--rtk-space-1, 4px) * -1);right:calc(var(--rtk-space-1, 4px) * -1);border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px);color:rgb(var(--rtk-colors-text-1000, 255 255 255));--tw-shadow:0 1px 2px 0 rgb(0 0 0 / 0.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.mic-icon rtk-icon{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px)}:host([size='sm']) .mic-icon rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}:host([size='md']) .mic-icon rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}";export{n as rtk_audio_tile}