@cloudflare/realtimekit-ui 1.0.9-staging.2 → 1.0.9-staging.3

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 (498) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/ChatHead-e13f3b0e.js +13 -0
  3. package/dist/cjs/{TextMessage-4f9299ff.js → TextMessage-7bb3e1fd.js} +1 -1
  4. package/dist/cjs/{chat-04fd67b4.js → chat-717e517d.js} +1 -1
  5. package/dist/cjs/{notification-6f17add8.js → config-8c9ac89a.js} +0 -35
  6. package/dist/cjs/{ChatHead-6416d6cf.js → date-61ffcd0a.js} +0 -10
  7. package/dist/cjs/index-05554ce6.js +62 -2
  8. package/dist/cjs/index.cjs.js +11 -10
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/cjs/notification-567fe887.js +39 -0
  11. package/dist/cjs/realtimekit-ui.cjs.js +1 -1
  12. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +2 -1
  13. package/dist/cjs/rtk-avatar_24.cjs.entry.js +2568 -0
  14. package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +397 -0
  15. package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +986 -0
  16. package/dist/cjs/rtk-channel-creator.cjs.entry.js +163 -0
  17. package/dist/cjs/rtk-channel-details.cjs.entry.js +49 -0
  18. package/dist/cjs/rtk-channel-header.cjs.entry.js +83 -0
  19. package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +4 -4
  20. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +1 -1
  21. package/dist/cjs/rtk-chat-message.cjs.entry.js +118 -0
  22. package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +200 -0
  23. package/dist/cjs/rtk-chat-search-results.cjs.entry.js +57 -0
  24. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +1 -1
  25. package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +686 -0
  26. package/dist/cjs/rtk-dialog-manager.cjs.entry.js +154 -0
  27. package/dist/cjs/rtk-dialog.cjs.entry.js +93 -0
  28. package/dist/cjs/rtk-file-message_3.cjs.entry.js +148 -0
  29. package/dist/cjs/rtk-logo.cjs.entry.js +77 -0
  30. package/dist/cjs/rtk-notification.cjs.entry.js +71 -0
  31. package/dist/cjs/rtk-notifications.cjs.entry.js +588 -0
  32. package/dist/cjs/rtk-sidebar.cjs.entry.js +1 -1
  33. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +5 -2
  34. package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +2 -1
  35. package/dist/collection/components/rtk-channel-header/rtk-channel-header.js +1 -0
  36. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +5 -2
  37. package/dist/collection/components/rtk-chat/rtk-chat.js +5 -102
  38. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +3 -2
  39. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +13 -4
  40. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +4 -2
  41. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +2 -1
  42. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +0 -6
  43. package/dist/collection/components/rtk-file-message/rtk-file-message.js +3 -2
  44. package/dist/collection/components/rtk-image-message/rtk-image-message.js +5 -4
  45. package/dist/collection/components/rtk-message-view/rtk-message-view.css +26 -12
  46. package/dist/collection/components/rtk-message-view/rtk-message-view.js +23 -1
  47. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.css +2 -1
  48. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +3 -19
  49. package/dist/collection/components/rtk-sidebar/rtk-sidebar.css +2 -0
  50. package/dist/collection/components/rtk-text-message/rtk-text-message.js +3 -2
  51. package/dist/collection/utils/chat.js +1 -1
  52. package/dist/components/index.js +7 -7
  53. package/dist/components/{p-91a9efcf.js → p-013ffc19.js} +3 -3
  54. package/dist/components/{p-7f0ee3c6.js → p-024ef28a.js} +2 -2
  55. package/dist/components/{p-39a6a6a6.js → p-027ec380.js} +6 -6
  56. package/dist/components/{p-c663f9b1.js → p-06e20f42.js} +2 -2
  57. package/dist/components/{p-731ee854.js → p-08382c59.js} +5 -5
  58. package/dist/components/{p-65b9931e.js → p-0bbd0056.js} +2 -2
  59. package/dist/components/{p-a5a40d7e.js → p-102b6df8.js} +2 -2
  60. package/dist/components/{p-4772f368.js → p-121e073d.js} +2 -2
  61. package/dist/components/{p-c5dfd548.js → p-1f320625.js} +48 -325
  62. package/dist/components/{p-03fe0979.js → p-244cbe7b.js} +2 -2
  63. package/dist/components/{p-9ea5df8f.js → p-2508ac98.js} +2 -2
  64. package/dist/components/{p-9730c398.js → p-2590f470.js} +3 -3
  65. package/dist/components/{p-f46a0782.js → p-25ca06f2.js} +2 -2
  66. package/dist/components/{p-2b955eb0.js → p-27fea689.js} +4 -4
  67. package/dist/components/{p-cc5ecd67.js → p-2d08ab28.js} +2 -2
  68. package/dist/components/{p-ddb2df62.js → p-2ea7652f.js} +2 -2
  69. package/dist/components/{p-4c8cff29.js → p-30ac9705.js} +6 -21
  70. package/dist/components/{p-989d36e2.js → p-31c44fed.js} +6 -6
  71. package/dist/components/{p-c3582bf3.js → p-32609f9f.js} +12 -9
  72. package/dist/components/{p-3a80e3ab.js → p-32bf6a44.js} +4 -4
  73. package/dist/components/{p-c7413ac8.js → p-335f937c.js} +2 -2
  74. package/dist/components/{p-7119673c.js → p-33a87325.js} +2 -2
  75. package/dist/components/{p-3df2211d.js → p-3d3fa677.js} +2 -2
  76. package/dist/components/{p-1a60f5b0.js → p-3fa8f1e1.js} +2 -2
  77. package/dist/components/{p-af35ac31.js → p-47c25f64.js} +1 -1
  78. package/dist/components/{p-511ed3f8.js → p-498c01a6.js} +2 -2
  79. package/dist/components/{p-54dba22f.js → p-4b542718.js} +2 -2
  80. package/dist/components/{p-17867774.js → p-4c7f1a19.js} +2 -2
  81. package/dist/components/{p-b373754d.js → p-51de7af3.js} +1 -1
  82. package/dist/components/{p-52b090fc.js → p-52d1525c.js} +2 -2
  83. package/dist/components/{p-f5f0b499.js → p-560e7a4f.js} +1 -1
  84. package/dist/components/{p-93e1439e.js → p-566c1155.js} +1 -1
  85. package/dist/components/{p-49967150.js → p-5b03154d.js} +3 -3
  86. package/dist/components/{p-ed8955d0.js → p-5f26bba3.js} +2 -2
  87. package/dist/components/{p-12d2b558.js → p-63953295.js} +2 -2
  88. package/dist/components/{p-3438fd71.js → p-6756b222.js} +2 -2
  89. package/dist/components/{p-bccc21f8.js → p-68c9100f.js} +2 -2
  90. package/dist/components/{p-1d29b7c3.js → p-6c1b380d.js} +12 -12
  91. package/dist/components/{p-f9faeffc.js → p-6cbaf90a.js} +2 -2
  92. package/dist/components/{p-551bed08.js → p-6eabd1ad.js} +3 -3
  93. package/dist/components/{p-df25c2a7.js → p-6f340109.js} +1 -1
  94. package/dist/components/{p-840ef7fe.js → p-724074c4.js} +5 -5
  95. package/dist/components/{p-a09aefba.js → p-7481511c.js} +2 -2
  96. package/dist/components/{p-6bd3b767.js → p-78b61cce.js} +1 -1
  97. package/dist/components/{p-fb427023.js → p-7a322c43.js} +3 -3
  98. package/dist/components/{p-037e572f.js → p-7fc0dc2f.js} +1 -1
  99. package/dist/components/{p-a9d5d165.js → p-82c678d6.js} +7 -7
  100. package/dist/components/{p-314b1504.js → p-82f8c924.js} +2 -2
  101. package/dist/components/{p-6d49cf9f.js → p-84e5b453.js} +2 -2
  102. package/dist/components/{p-04aaec79.js → p-88e50eea.js} +17 -15
  103. package/dist/components/{p-f4ff7d70.js → p-97e1e186.js} +2 -2
  104. package/dist/components/{p-fb46d041.js → p-9c2c0760.js} +7 -7
  105. package/dist/components/{p-dc4b6fc4.js → p-9e87b2c9.js} +2 -2
  106. package/dist/components/{p-0a7f6a8a.js → p-9fd18352.js} +2 -2
  107. package/dist/components/{p-d2b37264.js → p-a0c8422f.js} +4 -4
  108. package/dist/components/{p-f734a4cf.js → p-a10b9faa.js} +2 -2
  109. package/dist/components/{p-d2c3870a.js → p-a159952c.js} +2 -2
  110. package/dist/components/{p-f81c7fda.js → p-a29c01fc.js} +2 -2
  111. package/dist/components/{p-897a04be.js → p-a4b26604.js} +4 -4
  112. package/dist/components/{p-a2f4f9e3.js → p-aae4c250.js} +1 -1
  113. package/dist/components/{p-72346e7f.js → p-afe77b50.js} +2 -2
  114. package/dist/components/{p-6fe2233b.js → p-b1338b4f.js} +3 -3
  115. package/dist/components/{p-e2e22bf8.js → p-b397a600.js} +4 -4
  116. package/dist/components/{p-34b580c9.js → p-b6ee1a32.js} +2 -2
  117. package/dist/components/{p-3fe1bb0d.js → p-b762cf1e.js} +11 -11
  118. package/dist/components/{p-4edd666b.js → p-bb8f2597.js} +6 -6
  119. package/dist/components/{p-b804a5f5.js → p-be9fe914.js} +7 -7
  120. package/dist/components/{p-9149c02e.js → p-c078ae06.js} +2 -2
  121. package/dist/components/{p-26055088.js → p-c07e3e6d.js} +2 -2
  122. package/dist/components/{p-40c5ca62.js → p-c515acba.js} +2 -2
  123. package/dist/components/{p-12437468.js → p-cf503999.js} +2 -2
  124. package/dist/components/{p-66bae0d9.js → p-d06d1eac.js} +2 -2
  125. package/dist/components/{p-0abe4b8a.js → p-dab9d3d6.js} +1 -1
  126. package/dist/components/{p-01a50790.js → p-e48cd596.js} +4 -4
  127. package/dist/components/{p-aba9b612.js → p-e732b5ee.js} +4 -4
  128. package/dist/components/{p-22d9d3ff.js → p-e87b68de.js} +5 -5
  129. package/dist/components/{p-22a734a8.js → p-eb7df0eb.js} +6 -6
  130. package/dist/components/{p-c40166a9.js → p-ef71b75e.js} +5 -5
  131. package/dist/components/{p-00ebd1dc.js → p-fa7412e2.js} +2 -2
  132. package/dist/components/{p-1986022b.js → p-fc21299d.js} +2 -2
  133. package/dist/components/{p-3051f5f5.js → p-fdb67d1f.js} +2 -2
  134. package/dist/components/rtk-ai-toggle.js +4 -4
  135. package/dist/components/rtk-ai-transcriptions.js +1 -1
  136. package/dist/components/rtk-ai.js +3 -3
  137. package/dist/components/rtk-audio-grid.js +2 -2
  138. package/dist/components/rtk-audio-tile.js +5 -5
  139. package/dist/components/rtk-audio-visualizer.js +1 -1
  140. package/dist/components/rtk-avatar.js +1 -1
  141. package/dist/components/rtk-breakout-room-manager.js +1 -1
  142. package/dist/components/rtk-breakout-room-participants.js +1 -1
  143. package/dist/components/rtk-breakout-rooms-manager.js +1 -1
  144. package/dist/components/rtk-breakout-rooms-toggle.js +4 -4
  145. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  146. package/dist/components/rtk-camera-selector.js +1 -1
  147. package/dist/components/rtk-camera-toggle.js +4 -4
  148. package/dist/components/rtk-caption-toggle.js +4 -4
  149. package/dist/components/rtk-channel-creator.js +209 -1
  150. package/dist/components/rtk-channel-details.js +1 -1
  151. package/dist/components/rtk-channel-header.js +146 -1
  152. package/dist/components/rtk-channel-selector-ui.js +7 -7
  153. package/dist/components/rtk-channel-selector-view.js +1 -1
  154. package/dist/components/rtk-chat-composer-ui.js +6 -6
  155. package/dist/components/rtk-chat-composer-view.js +1 -1
  156. package/dist/components/rtk-chat-message.js +1 -1
  157. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  158. package/dist/components/rtk-chat-messages-ui.js +302 -1
  159. package/dist/components/rtk-chat-search-results.js +146 -1
  160. package/dist/components/rtk-chat-selector-ui.js +3 -3
  161. package/dist/components/rtk-chat-toggle.js +5 -5
  162. package/dist/components/rtk-chat.js +1 -1
  163. package/dist/components/rtk-clock.js +2 -2
  164. package/dist/components/rtk-confirmation-modal.js +1 -1
  165. package/dist/components/rtk-controlbar-button.js +1 -1
  166. package/dist/components/rtk-controlbar.js +2 -2
  167. package/dist/components/rtk-counter.js +1 -1
  168. package/dist/components/rtk-debugger-audio.js +1 -1
  169. package/dist/components/rtk-debugger-screenshare.js +1 -1
  170. package/dist/components/rtk-debugger-system.js +1 -1
  171. package/dist/components/rtk-debugger-toggle.js +4 -4
  172. package/dist/components/rtk-debugger-video.js +1 -1
  173. package/dist/components/rtk-debugger.js +1 -1
  174. package/dist/components/rtk-dialog-manager.js +305 -1
  175. package/dist/components/rtk-dialog.js +1 -1
  176. package/dist/components/rtk-draft-attachment-view.js +1 -1
  177. package/dist/components/rtk-emoji-picker-button.js +1 -1
  178. package/dist/components/rtk-emoji-picker.js +1 -1
  179. package/dist/components/rtk-ended-screen.js +3 -3
  180. package/dist/components/rtk-file-dropzone.js +2 -2
  181. package/dist/components/rtk-file-message-view.js +1 -1
  182. package/dist/components/rtk-file-message.js +1 -1
  183. package/dist/components/rtk-file-picker-button.js +1 -1
  184. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  185. package/dist/components/rtk-grid-pagination.js +2 -2
  186. package/dist/components/rtk-grid.js +8 -8
  187. package/dist/components/rtk-header.js +2 -2
  188. package/dist/components/rtk-idle-screen.js +4 -4
  189. package/dist/components/rtk-image-message-view.js +1 -1
  190. package/dist/components/rtk-image-message.js +1 -1
  191. package/dist/components/rtk-image-viewer.js +2 -2
  192. package/dist/components/rtk-information-tooltip.js +2 -2
  193. package/dist/components/rtk-join-stage.js +1 -1
  194. package/dist/components/rtk-leave-button.js +4 -4
  195. package/dist/components/rtk-leave-meeting.js +1 -1
  196. package/dist/components/rtk-livestream-indicator.js +1 -1
  197. package/dist/components/rtk-livestream-player.js +1 -1
  198. package/dist/components/rtk-livestream-toggle.js +4 -4
  199. package/dist/components/rtk-logo.js +1 -1
  200. package/dist/components/rtk-markdown-view.js +1 -1
  201. package/dist/components/rtk-meeting-title.js +2 -2
  202. package/dist/components/rtk-meeting.js +46 -226
  203. package/dist/components/rtk-menu-item.js +1 -1
  204. package/dist/components/rtk-menu-list.js +1 -1
  205. package/dist/components/rtk-menu.js +1 -1
  206. package/dist/components/rtk-message-list-view.js +3 -3
  207. package/dist/components/rtk-message-view.js +1 -1
  208. package/dist/components/rtk-mic-toggle.js +4 -4
  209. package/dist/components/rtk-microphone-selector.js +1 -1
  210. package/dist/components/rtk-mixed-grid.js +5 -5
  211. package/dist/components/rtk-more-toggle.js +4 -4
  212. package/dist/components/rtk-mute-all-button.js +4 -4
  213. package/dist/components/rtk-mute-all-confirmation.js +1 -1
  214. package/dist/components/rtk-name-tag.js +1 -1
  215. package/dist/components/rtk-network-indicator.js +2 -2
  216. package/dist/components/rtk-notification.js +1 -1
  217. package/dist/components/rtk-notifications.js +629 -1
  218. package/dist/components/rtk-overlay-modal.js +1 -1
  219. package/dist/components/rtk-paginated-list.js +1 -1
  220. package/dist/components/rtk-participant-count.js +2 -2
  221. package/dist/components/rtk-participant-setup.js +2 -2
  222. package/dist/components/rtk-participant-tile.js +1 -1
  223. package/dist/components/rtk-participant.js +1 -1
  224. package/dist/components/rtk-participants-audio.js +3 -3
  225. package/dist/components/rtk-participants-stage-list.js +1 -1
  226. package/dist/components/rtk-participants-stage-queue.js +1 -1
  227. package/dist/components/rtk-participants-toggle.js +5 -5
  228. package/dist/components/rtk-participants-viewer-list.js +1 -1
  229. package/dist/components/rtk-participants-waiting-list.js +1 -1
  230. package/dist/components/rtk-participants.js +12 -12
  231. package/dist/components/rtk-permissions-message.js +1 -1
  232. package/dist/components/rtk-pip-toggle.js +4 -4
  233. package/dist/components/rtk-plugin-main.js +1 -1
  234. package/dist/components/rtk-plugins-toggle.js +5 -5
  235. package/dist/components/rtk-plugins.js +1 -1
  236. package/dist/components/rtk-poll-form.js +1 -1
  237. package/dist/components/rtk-poll.js +1 -1
  238. package/dist/components/rtk-polls-toggle.js +5 -5
  239. package/dist/components/rtk-polls.js +1 -1
  240. package/dist/components/rtk-recording-indicator.js +2 -2
  241. package/dist/components/rtk-recording-toggle.js +4 -4
  242. package/dist/components/rtk-screen-share-toggle.js +4 -4
  243. package/dist/components/rtk-screenshare-view.js +2 -2
  244. package/dist/components/rtk-settings-audio.js +1 -1
  245. package/dist/components/rtk-settings-toggle.js +4 -4
  246. package/dist/components/rtk-settings-video.js +1 -1
  247. package/dist/components/rtk-settings.js +10 -10
  248. package/dist/components/rtk-setup-screen.js +6 -6
  249. package/dist/components/rtk-sidebar-ui.js +1 -1
  250. package/dist/components/rtk-sidebar.js +9 -9
  251. package/dist/components/rtk-simple-grid.js +2 -2
  252. package/dist/components/rtk-speaker-selector.js +1 -1
  253. package/dist/components/rtk-spinner.js +1 -1
  254. package/dist/components/rtk-spotlight-grid.js +2 -2
  255. package/dist/components/rtk-spotlight-indicator.js +1 -1
  256. package/dist/components/rtk-stage-toggle.js +4 -4
  257. package/dist/components/rtk-stage.js +2 -2
  258. package/dist/components/rtk-switch.js +1 -1
  259. package/dist/components/rtk-tab-bar.js +1 -1
  260. package/dist/components/rtk-text-composer-view.js +1 -1
  261. package/dist/components/rtk-text-message-view.js +1 -1
  262. package/dist/components/rtk-text-message.js +1 -1
  263. package/dist/components/rtk-transcript.js +1 -1
  264. package/dist/components/rtk-transcripts.js +3 -3
  265. package/dist/components/rtk-ui-provider.js +2 -2
  266. package/dist/components/rtk-viewer-count.js +1 -1
  267. package/dist/components/rtk-waiting-screen.js +3 -3
  268. package/dist/docs/docs-components.json +140 -384
  269. package/dist/docs/docs-vscode.json +7 -3
  270. package/dist/esm/ChatHead-15c2f8d4.js +11 -0
  271. package/dist/esm/{TextMessage-07d53134.js → TextMessage-ca92045e.js} +1 -1
  272. package/dist/esm/{chat-32ac0c2b.js → chat-ff185374.js} +2 -2
  273. package/dist/esm/{notification-0794a8cc.js → config-e684aa4d.js} +3 -37
  274. package/dist/esm/{ChatHead-11b92a26.js → date-b1f78dea.js} +1 -10
  275. package/dist/esm/{debounce-6ec038d3.js → debounce-3ea4df36.js} +1 -1
  276. package/dist/esm/{file-849468c1.js → file-6114f1a9.js} +1 -1
  277. package/dist/esm/index-c1fb98bb.js +62 -2
  278. package/dist/esm/{index-849b9dd9.js → index-e65afca5.js} +1 -1
  279. package/dist/esm/index.js +7 -6
  280. package/dist/esm/loader.js +13266 -13290
  281. package/dist/esm/{merge-f5f3ca10.js → merge-7ffc04b3.js} +1 -1
  282. package/dist/esm/notification-78afaabf.js +37 -0
  283. package/dist/esm/realtimekit-ui.js +1 -1
  284. package/dist/esm/rtk-ai-toggle.entry.js +2 -2
  285. package/dist/esm/rtk-ai-transcriptions.entry.js +5 -4
  286. package/dist/esm/rtk-ai.entry.js +2 -2
  287. package/dist/esm/rtk-audio-grid.entry.js +2 -2
  288. package/dist/esm/rtk-audio-tile.entry.js +2 -2
  289. package/dist/esm/rtk-audio-visualizer_4.entry.js +2 -2
  290. package/dist/esm/rtk-avatar_24.entry.js +2541 -0
  291. package/dist/esm/rtk-breakout-room-manager_3.entry.js +391 -0
  292. package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +974 -0
  293. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +2 -2
  294. package/dist/esm/rtk-camera-selector_2.entry.js +2 -2
  295. package/dist/esm/rtk-camera-toggle.entry.js +2 -2
  296. package/dist/esm/rtk-caption-toggle.entry.js +2 -2
  297. package/dist/{components/p-c9a7cf06.js → esm/rtk-channel-creator.entry.js} +12 -64
  298. package/dist/esm/rtk-channel-details.entry.js +45 -0
  299. package/dist/{components/p-0c11d195.js → esm/rtk-channel-header.entry.js} +9 -78
  300. package/dist/esm/rtk-channel-selector-ui.entry.js +6 -6
  301. package/dist/esm/rtk-chat-composer-ui.entry.js +3 -3
  302. package/dist/esm/rtk-chat-message.entry.js +114 -0
  303. package/dist/{components/p-0e07ea51.js → esm/rtk-chat-messages-ui.entry.js} +14 -122
  304. package/dist/esm/rtk-chat-search-results.entry.js +53 -0
  305. package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
  306. package/dist/esm/rtk-chat-toggle.entry.js +3 -3
  307. package/dist/esm/rtk-clock.entry.js +2 -2
  308. package/dist/esm/rtk-controlbar-button.entry.js +2 -2
  309. package/dist/esm/rtk-controlbar.entry.js +2 -2
  310. package/dist/esm/rtk-debugger-audio_4.entry.js +679 -0
  311. package/dist/esm/rtk-debugger-toggle.entry.js +2 -2
  312. package/dist/{components/p-3042f998.js → esm/rtk-dialog-manager.entry.js} +10 -179
  313. package/dist/esm/rtk-dialog.entry.js +89 -0
  314. package/dist/esm/rtk-ended-screen.entry.js +2 -2
  315. package/dist/esm/rtk-file-dropzone.entry.js +2 -2
  316. package/dist/esm/rtk-file-message_3.entry.js +142 -0
  317. package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
  318. package/dist/esm/rtk-grid-pagination.entry.js +2 -2
  319. package/dist/esm/rtk-grid.entry.js +2 -2
  320. package/dist/esm/rtk-header.entry.js +2 -2
  321. package/dist/esm/rtk-idle-screen.entry.js +2 -2
  322. package/dist/esm/rtk-image-viewer.entry.js +4 -4
  323. package/dist/esm/rtk-information-tooltip.entry.js +2 -2
  324. package/dist/esm/rtk-leave-button.entry.js +2 -2
  325. package/dist/esm/rtk-livestream-indicator_3.entry.js +2 -2
  326. package/dist/esm/rtk-livestream-toggle.entry.js +2 -2
  327. package/dist/esm/rtk-logo.entry.js +73 -0
  328. package/dist/esm/rtk-meeting-title.entry.js +2 -2
  329. package/dist/esm/rtk-message-list-view.entry.js +3 -3
  330. package/dist/esm/rtk-mic-toggle.entry.js +2 -2
  331. package/dist/esm/rtk-mixed-grid.entry.js +2 -2
  332. package/dist/esm/rtk-more-toggle.entry.js +2 -2
  333. package/dist/esm/rtk-mute-all-button.entry.js +2 -2
  334. package/dist/esm/rtk-name-tag.entry.js +3 -3
  335. package/dist/esm/rtk-network-indicator.entry.js +2 -2
  336. package/dist/esm/rtk-notification.entry.js +67 -0
  337. package/dist/{components/p-7a336667.js → esm/rtk-notifications.entry.js} +13 -60
  338. package/dist/esm/rtk-participant-count.entry.js +2 -2
  339. package/dist/esm/rtk-participant-setup.entry.js +2 -2
  340. package/dist/esm/rtk-participant_2.entry.js +4 -4
  341. package/dist/esm/rtk-participants-audio.entry.js +2 -2
  342. package/dist/esm/rtk-participants-stage-list_4.entry.js +2 -2
  343. package/dist/esm/rtk-participants-toggle.entry.js +3 -3
  344. package/dist/esm/rtk-participants.entry.js +3 -3
  345. package/dist/esm/rtk-pip-toggle.entry.js +2 -2
  346. package/dist/esm/rtk-plugin-main_2.entry.js +3 -3
  347. package/dist/esm/rtk-plugins-toggle.entry.js +3 -3
  348. package/dist/esm/rtk-plugins_2.entry.js +2 -2
  349. package/dist/esm/rtk-poll_2.entry.js +3 -3
  350. package/dist/esm/rtk-polls-toggle.entry.js +3 -3
  351. package/dist/esm/rtk-recording-indicator.entry.js +2 -2
  352. package/dist/esm/rtk-recording-toggle.entry.js +2 -2
  353. package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
  354. package/dist/esm/rtk-screenshare-view.entry.js +2 -2
  355. package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
  356. package/dist/esm/rtk-settings-toggle.entry.js +2 -2
  357. package/dist/esm/rtk-settings.entry.js +2 -2
  358. package/dist/esm/rtk-setup-screen.entry.js +3 -3
  359. package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
  360. package/dist/esm/rtk-sidebar.entry.js +4 -4
  361. package/dist/esm/rtk-simple-grid.entry.js +2 -2
  362. package/dist/esm/rtk-spotlight-grid.entry.js +2 -2
  363. package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
  364. package/dist/esm/rtk-stage-toggle.entry.js +2 -2
  365. package/dist/esm/rtk-stage.entry.js +2 -2
  366. package/dist/esm/rtk-transcript.entry.js +2 -2
  367. package/dist/esm/rtk-transcripts.entry.js +2 -2
  368. package/dist/esm/rtk-ui-provider.entry.js +2 -2
  369. package/dist/esm/rtk-waiting-screen.entry.js +2 -2
  370. package/dist/esm/{sidebar-76cae1f0.js → sidebar-030fff49.js} +1 -1
  371. package/dist/esm/{string-5e8dab07.js → string-068ce30a.js} +1 -1
  372. package/dist/esm/{ui-store-2965ff1a.js → ui-store-9e486e1b.js} +1 -1
  373. package/dist/realtimekit-ui/index.esm.js +1 -1
  374. package/dist/realtimekit-ui/{p-a7ba0456.entry.js → p-013ae8ca.entry.js} +1 -1
  375. package/dist/realtimekit-ui/{p-ff19ee1e.entry.js → p-0689d68b.entry.js} +1 -1
  376. package/dist/realtimekit-ui/{p-2318c3af.js → p-084b6f30.js} +1 -1
  377. package/dist/realtimekit-ui/{p-53ffaa9f.entry.js → p-0898c8ee.entry.js} +1 -1
  378. package/dist/realtimekit-ui/{p-e6f1e6aa.entry.js → p-09869644.entry.js} +1 -1
  379. package/dist/realtimekit-ui/{p-b6c83f82.entry.js → p-11c964cf.entry.js} +1 -1
  380. package/dist/realtimekit-ui/{p-b2b8b421.entry.js → p-124eb1c7.entry.js} +1 -1
  381. package/dist/realtimekit-ui/{p-2857144e.js → p-12e4cb4a.js} +1 -1
  382. package/dist/realtimekit-ui/{p-00b5bdeb.entry.js → p-158b1b0c.entry.js} +1 -1
  383. package/dist/realtimekit-ui/{p-2d729cec.entry.js → p-17c6d2fa.entry.js} +1 -1
  384. package/dist/realtimekit-ui/{p-404207e0.entry.js → p-2b373e53.entry.js} +1 -1
  385. package/dist/realtimekit-ui/p-2d7b969d.entry.js +1 -0
  386. package/dist/realtimekit-ui/{p-d7a5c237.entry.js → p-32030329.entry.js} +1 -1
  387. package/dist/realtimekit-ui/p-3369f405.entry.js +1 -0
  388. package/dist/realtimekit-ui/p-382270d8.js +1 -0
  389. package/dist/realtimekit-ui/{p-f1ab4672.entry.js → p-38aec474.entry.js} +1 -1
  390. package/dist/realtimekit-ui/{p-368420fc.entry.js → p-3a325310.entry.js} +1 -1
  391. package/dist/realtimekit-ui/{p-51a8a9e5.entry.js → p-3b8de127.entry.js} +1 -1
  392. package/dist/realtimekit-ui/{p-83a8cd29.entry.js → p-3d0c4257.entry.js} +1 -1
  393. package/dist/realtimekit-ui/{p-6495f016.entry.js → p-3e02ec0b.entry.js} +1 -1
  394. package/dist/realtimekit-ui/p-40be18ee.js +1 -0
  395. package/dist/realtimekit-ui/{p-dfa4a588.entry.js → p-4554a674.entry.js} +1 -1
  396. package/dist/realtimekit-ui/p-474ba04f.entry.js +1 -0
  397. package/dist/realtimekit-ui/p-487e808a.entry.js +1 -0
  398. package/dist/realtimekit-ui/p-4ab26f1f.entry.js +1 -0
  399. package/dist/realtimekit-ui/{p-2aa2727b.entry.js → p-4eba1baa.entry.js} +1 -1
  400. package/dist/realtimekit-ui/{p-1185eec6.entry.js → p-50157a65.entry.js} +1 -1
  401. package/dist/realtimekit-ui/p-51e949d6.entry.js +1 -0
  402. package/dist/realtimekit-ui/{p-2d09aeb4.entry.js → p-53ac3d30.entry.js} +1 -1
  403. package/dist/realtimekit-ui/{p-e32c13e0.entry.js → p-54a31e02.entry.js} +1 -1
  404. package/dist/realtimekit-ui/{p-95ab3abe.entry.js → p-5a2d8313.entry.js} +1 -1
  405. package/dist/realtimekit-ui/p-5b2d97fc.js +1 -0
  406. package/dist/realtimekit-ui/{p-f16345d6.entry.js → p-5bbfdabe.entry.js} +1 -1
  407. package/dist/realtimekit-ui/p-60a29b69.entry.js +1 -0
  408. package/dist/realtimekit-ui/{p-3144bec3.entry.js → p-60b39e38.entry.js} +1 -1
  409. package/dist/realtimekit-ui/{p-77f71d40.entry.js → p-61d3f74f.entry.js} +1 -1
  410. package/dist/realtimekit-ui/{p-2dc496f0.entry.js → p-62e0a141.entry.js} +1 -1
  411. package/dist/realtimekit-ui/{p-0ab52f70.entry.js → p-643194e4.entry.js} +1 -1
  412. package/dist/realtimekit-ui/p-6a45f305.js +1 -0
  413. package/dist/realtimekit-ui/{p-e65d2f04.entry.js → p-6adb2de4.entry.js} +1 -1
  414. package/dist/realtimekit-ui/{p-efabd2ce.js → p-6f211c3e.js} +1 -1
  415. package/dist/realtimekit-ui/{p-c1d92065.entry.js → p-74e1b5a6.entry.js} +1 -1
  416. package/dist/realtimekit-ui/p-7786e9a7.entry.js +1 -0
  417. package/dist/realtimekit-ui/{p-5cb4f925.entry.js → p-77e04fb7.entry.js} +1 -1
  418. package/dist/realtimekit-ui/{p-1f328e83.entry.js → p-788f26c4.entry.js} +1 -1
  419. package/dist/realtimekit-ui/p-78d19559.entry.js +1 -0
  420. package/dist/realtimekit-ui/{p-f5560043.entry.js → p-7b999408.entry.js} +1 -1
  421. package/dist/realtimekit-ui/{p-2799d5b2.js → p-80c856cd.js} +1 -1
  422. package/dist/realtimekit-ui/{p-2d6c5160.entry.js → p-871d8fbf.entry.js} +1 -1
  423. package/dist/realtimekit-ui/{p-64aa0fae.entry.js → p-882d07c9.entry.js} +1 -1
  424. package/dist/realtimekit-ui/{p-7fab2c53.entry.js → p-8b189438.entry.js} +1 -1
  425. package/dist/realtimekit-ui/{p-ac1ff0f8.entry.js → p-8c55a630.entry.js} +1 -1
  426. package/dist/realtimekit-ui/{p-e24289b8.entry.js → p-8f512d69.entry.js} +1 -1
  427. package/dist/realtimekit-ui/{p-c6c86fd8.js → p-91ea043c.js} +1 -1
  428. package/dist/realtimekit-ui/{p-145caa6b.js → p-91fd286c.js} +1 -1
  429. package/dist/realtimekit-ui/p-930f0255.entry.js +1 -0
  430. package/dist/realtimekit-ui/p-93b84c22.js +1 -0
  431. package/dist/realtimekit-ui/{p-34350578.entry.js → p-941f159e.entry.js} +1 -1
  432. package/dist/realtimekit-ui/{p-f3998c17.entry.js → p-949b2b6a.entry.js} +1 -1
  433. package/dist/realtimekit-ui/{p-47e89714.entry.js → p-986e7389.entry.js} +1 -1
  434. package/dist/realtimekit-ui/{p-db9dd8ea.entry.js → p-98ee3341.entry.js} +1 -1
  435. package/dist/realtimekit-ui/p-99801804.entry.js +1 -0
  436. package/dist/realtimekit-ui/{p-7fbca8d1.entry.js → p-9ad2c746.entry.js} +1 -1
  437. package/dist/realtimekit-ui/p-9c1f42dd.entry.js +1 -0
  438. package/dist/realtimekit-ui/{p-6334ca51.entry.js → p-9cbf286a.entry.js} +1 -1
  439. package/dist/realtimekit-ui/{p-62949a7d.entry.js → p-9d3cf603.entry.js} +1 -1
  440. package/dist/realtimekit-ui/{p-f5a3ccc0.entry.js → p-a0563ab4.entry.js} +1 -1
  441. package/dist/realtimekit-ui/{p-0b93c12d.entry.js → p-a319e81f.entry.js} +1 -1
  442. package/dist/realtimekit-ui/{p-7f896d33.entry.js → p-a4372f65.entry.js} +1 -1
  443. package/dist/realtimekit-ui/{p-e7a89e24.entry.js → p-a9126c12.entry.js} +1 -1
  444. package/dist/realtimekit-ui/{p-a55863be.entry.js → p-a9dd63ef.entry.js} +1 -1
  445. package/dist/realtimekit-ui/{p-3263d76d.entry.js → p-aa757cd3.entry.js} +1 -1
  446. package/dist/realtimekit-ui/{p-9b6d809b.entry.js → p-ad26f7fd.entry.js} +1 -1
  447. package/dist/realtimekit-ui/{p-560fc162.entry.js → p-ad887be1.entry.js} +1 -1
  448. package/dist/realtimekit-ui/{p-ead8970b.entry.js → p-ae7319ac.entry.js} +1 -1
  449. package/dist/realtimekit-ui/p-b387e9a1.entry.js +1 -0
  450. package/dist/realtimekit-ui/{p-22313959.entry.js → p-b388b4c6.entry.js} +1 -1
  451. package/dist/realtimekit-ui/{p-9ba26c9f.entry.js → p-bbf76104.entry.js} +1 -1
  452. package/dist/realtimekit-ui/p-bc1a2b04.entry.js +1 -0
  453. package/dist/realtimekit-ui/p-c1d026d1.entry.js +1 -0
  454. package/dist/realtimekit-ui/{p-543dcdc1.entry.js → p-c5c965b8.entry.js} +1 -1
  455. package/dist/realtimekit-ui/p-c7711712.entry.js +1 -0
  456. package/dist/realtimekit-ui/p-cdacd242.entry.js +1 -0
  457. package/dist/realtimekit-ui/{p-0979ba30.entry.js → p-cdf8bc21.entry.js} +1 -1
  458. package/dist/realtimekit-ui/{p-bfd7cd5a.entry.js → p-d0384d90.entry.js} +1 -1
  459. package/dist/realtimekit-ui/{p-81d1334c.entry.js → p-d0bba739.entry.js} +1 -1
  460. package/dist/realtimekit-ui/p-d8962ea0.entry.js +1 -0
  461. package/dist/realtimekit-ui/{p-616f3a25.entry.js → p-d95ce443.entry.js} +1 -1
  462. package/dist/realtimekit-ui/{p-35b87831.entry.js → p-d9cad67f.entry.js} +1 -1
  463. package/dist/realtimekit-ui/{p-a449b5cd.entry.js → p-dbd07824.entry.js} +1 -1
  464. package/dist/realtimekit-ui/{p-0266e82b.entry.js → p-de75d48d.entry.js} +1 -1
  465. package/dist/realtimekit-ui/{p-4b62d6f9.entry.js → p-e62593a2.entry.js} +1 -1
  466. package/dist/realtimekit-ui/{p-fa2ee341.js → p-e720b51e.js} +1 -1
  467. package/dist/realtimekit-ui/{p-9ac89beb.entry.js → p-e7b83772.entry.js} +1 -1
  468. package/dist/realtimekit-ui/{p-8046e263.js → p-e87928f7.js} +1 -1
  469. package/dist/realtimekit-ui/{p-39d0ad4d.entry.js → p-e925ca8a.entry.js} +1 -1
  470. package/dist/realtimekit-ui/{p-e0dd5f79.entry.js → p-f0f6c282.entry.js} +1 -1
  471. package/dist/realtimekit-ui/{p-47d8e5c8.entry.js → p-f775be53.entry.js} +1 -1
  472. package/dist/realtimekit-ui/{p-bad807c1.entry.js → p-fee7bd4f.entry.js} +1 -1
  473. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  474. package/dist/types/components/rtk-channel-creator/rtk-channel-creator.d.ts +3 -0
  475. package/dist/types/components/rtk-channel-details/rtk-channel-details.d.ts +1 -0
  476. package/dist/types/components/rtk-channel-header/rtk-channel-header.d.ts +1 -0
  477. package/dist/types/components/rtk-channel-selector-ui/rtk-channel-selector-ui.d.ts +3 -0
  478. package/dist/types/components/rtk-chat/rtk-chat.d.ts +0 -9
  479. package/dist/types/components/rtk-chat-message/rtk-chat-message.d.ts +1 -0
  480. package/dist/types/components/rtk-chat-messages-ui/rtk-chat-messages-ui.d.ts +3 -0
  481. package/dist/types/components/rtk-chat-search-results/rtk-chat-search-results.d.ts +1 -0
  482. package/dist/types/components/rtk-file-message/rtk-file-message.d.ts +1 -0
  483. package/dist/types/components/rtk-image-message/rtk-image-message.d.ts +1 -0
  484. package/dist/types/components/rtk-message-view/rtk-message-view.d.ts +2 -0
  485. package/dist/types/components/rtk-text-message/rtk-text-message.d.ts +1 -0
  486. package/dist/types/components.d.ts +104 -0
  487. package/dist/types/types/props.d.ts +1 -0
  488. package/dist/types/utils/chat.d.ts +1 -1
  489. package/package.json +1 -1
  490. package/dist/cjs/rtk-avatar_54.cjs.entry.js +0 -6417
  491. package/dist/components/p-6a47e2ee.js +0 -148
  492. package/dist/esm/rtk-avatar_54.entry.js +0 -6360
  493. package/dist/realtimekit-ui/p-173457a5.js +0 -1
  494. package/dist/realtimekit-ui/p-34c90f1c.entry.js +0 -1
  495. package/dist/realtimekit-ui/p-47314bc7.js +0 -1
  496. package/dist/realtimekit-ui/p-4ea418c9.js +0 -1
  497. package/dist/realtimekit-ui/p-55f181be.entry.js +0 -1
  498. package/dist/realtimekit-ui/p-bfed80f3.entry.js +0 -1
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, w as writeTask, h, e as Host } from './p-c3592601.js';
2
- import { e as defaultIconPack, h as useLanguage, C as disableSettingSinkId } from './p-037e572f.js';
3
- import { S as SyncWithStore } from './p-af35ac31.js';
2
+ import { e as defaultIconPack, h as useLanguage, C as disableSettingSinkId } from './p-7fc0dc2f.js';
3
+ import { S as SyncWithStore } from './p-47c25f64.js';
4
4
  import { d as defineCustomElement$2 } from './p-1391bef0.js';
5
5
  import { d as defineCustomElement$1 } from './p-3b29dda1.js';
6
6
 
@@ -21,7 +21,7 @@ function alphabeticalSorter(a, b) {
21
21
  return a.localeCompare(b);
22
22
  }
23
23
  /**
24
- * Generate a unique chat group key used in `<rtk-chat-messages-ui />`
24
+ * Generate a unique chat group key used in `<rtk-chat /> and <rtk-chat-selector-ui />`
25
25
  * @param ids An array of user ids
26
26
  * @returns A unique key from the user ids
27
27
  */
@@ -1,9 +1,9 @@
1
1
  import { p as proxyCustomElement, H, h, e as Host } from './p-c3592601.js';
2
2
  import { C as ChatHead } from './p-a54b82e9.js';
3
3
  import { a as sanitizeLink } from './p-efabd2ce.js';
4
- import { e as defaultIconPack, h as useLanguage } from './p-037e572f.js';
4
+ import { e as defaultIconPack, h as useLanguage } from './p-7fc0dc2f.js';
5
5
  import { g as getExtension, a as getFileSize, d as downloadFile } from './p-47314bc7.js';
6
- import { S as SyncWithStore } from './p-af35ac31.js';
6
+ import { S as SyncWithStore } from './p-47c25f64.js';
7
7
  import { d as defineCustomElement$2 } from './p-1391bef0.js';
8
8
  import { d as defineCustomElement$1 } from './p-3b29dda1.js';
9
9
 
@@ -34,10 +34,10 @@ const RtkFileMessage = /*@__PURE__*/ proxyCustomElement(class RtkFileMessage ext
34
34
  }
35
35
  render() {
36
36
  const link = sanitizeLink(this.message.link);
37
- return (h(Host, { key: '771fc8ccb2700a3fba83f04676a0c4396c1a8a41' }, !this.isContinued && (h(ChatHead, { key: 'ef2d83897dcae870bb7a2b0eeef397585b873b77', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: '841039fcad32f254653bd490a98f268479345b44', class: {
37
+ return (h(Host, { key: '8796e55e793db9aeb4ede2d57524bc38aa817ddf' }, !this.isContinued && (h(ChatHead, { key: '7018209894272b21e1f5225d7bad92de5107d0d7', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: 'd30878670f4e90b35578ac616761645e5744c7cd', class: {
38
38
  body: true,
39
39
  bubble: this.showBubble,
40
- }, part: "body" }, h("div", { key: '65e3c8aafa4e9fa55a24264685bb0cf20841048a', class: "file" }, h("div", { key: '1b1e97b1518c5471964ea91889f4500fc0e01e03', class: "file-data" }, h("div", { key: 'ff9d3071b528162f6e796ccb49e2472df2e8d364', class: "name" }, this.message.name), h("div", { key: '1d3ccb1f5bc2a94983de216e77a8ebc0ae07d669', class: "file-data-split" }, h("div", { key: 'ebab32b642e097b3c1c1903269a8d76fbd586f5c', class: "ext" }, getExtension(this.message.name)), h("span", { key: '81ee3600ba18a7689706504befebcf02697a56e7', class: "divider" }), h("div", { key: 'e969a8d6221d8af560a26510c38a92406a18ef2a', class: "size" }, getFileSize(this.message.size)))), h("rtk-button", { key: '482c27659f71cfebf9f88fdf538e32baa6b87073', variant: "secondary", kind: "icon", onClick: () => downloadFile(link, { name: this.message.name, fallbackName: 'file' }), part: "button" }, h("rtk-icon", { key: '4efaeb927b4ea2010eed09227eb7f511b9253017', icon: this.iconPack.download }))))));
40
+ }, part: "body" }, h("div", { key: '73ba1a2b1aaacec88930605d5a826d32ad56581e', class: "file" }, h("div", { key: '17234fd57360f3a7953ce898282240e03b94eb58', class: "file-data" }, h("div", { key: '07424973ceeb567efee25cb45eca09792482cd21', class: "name" }, this.message.name), h("div", { key: '255087ceadb46be8da915d2b9134b3922f9a50b7', class: "file-data-split" }, h("div", { key: 'a01185efdf779d87548e1b7d73dfad823dbbd611', class: "ext" }, getExtension(this.message.name)), h("span", { key: 'a129cb26284432bbfad635dc3774309fbadc8fec', class: "divider" }), h("div", { key: '0af8af2f2d18c0a1d72bc5040bdabb1f06209840', class: "size" }, getFileSize(this.message.size)))), h("rtk-button", { key: '522a0378351016927ca644cce5db710336bf348b', variant: "secondary", kind: "icon", onClick: () => downloadFile(link, { name: this.message.name, fallbackName: 'file' }), part: "button" }, h("rtk-icon", { key: '8d49abfffb8149adc9fd3e9f214b54a1f642edc3', icon: this.iconPack.download }))))));
41
41
  }
42
42
  }, [0, "rtk-file-message", {
43
43
  "message": [16],
@@ -1,10 +1,10 @@
1
1
  import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-c3592601.js';
2
- import { e as defaultIconPack, h as useLanguage, H as participantIdentifier, G as getAllConnectedParticipants } from './p-037e572f.js';
3
- import { S as SyncWithStore } from './p-af35ac31.js';
2
+ import { e as defaultIconPack, h as useLanguage, H as participantIdentifier, G as getAllConnectedParticipants } from './p-7fc0dc2f.js';
3
+ import { S as SyncWithStore } from './p-47c25f64.js';
4
4
  import { f as formatName, s as shorten } from './p-efabd2ce.js';
5
- import { d as defineCustomElement$4 } from './p-6fe2233b.js';
5
+ import { d as defineCustomElement$4 } from './p-b1338b4f.js';
6
6
  import { d as defineCustomElement$3 } from './p-3b29dda1.js';
7
- import { d as defineCustomElement$2 } from './p-34b580c9.js';
7
+ import { d as defineCustomElement$2 } from './p-b6ee1a32.js';
8
8
  import { d as defineCustomElement$1 } from './p-03bdc4c0.js';
9
9
 
10
10
  const rtkBreakoutRoomParticipantsCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{display:flex;height:100%;flex-direction:column;font-size:14px}:host input[type='checkbox']{margin:var(--rtk-space-0, 0px);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--rtk-border-radius-sm, 4px);position:relative;height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);border-width:var(--rtk-border-width-sm, 1px);border-style:solid;border-color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}:host input[type='checkbox']:checked{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}:host input[type='checkbox']:checked::before{position:absolute;top:1px;left:1px;height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px);background-color:rgb(var(--rtk-colors-text-1000, 255 255 255));content:'';clip-path:polygon(5% 60%, 35% 93%, 100% 19%, 86% 4%, 36% 62%, 19% 44%)}*{box-sizing:border-box}.participants{margin-top:var(--rtk-space-2, 8px);padding:var(--rtk-space-0, 0px)}.ctr{box-sizing:border-box;padding-top:var(--rtk-space-0, 0px);padding-bottom:var(--rtk-space-0, 0px);overflow-y:auto;flex-grow:1;flex-basis:0}.empty-message{margin-top:var(--rtk-space-10, 40px);margin-bottom:var(--rtk-space-10, 40px);text-align:center;font-size:14px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.empty-room{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--rtk-space-2, 8px);height:100%;text-align:center;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.empty-room rtk-icon{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px)}.empty-room p{font-size:16px;font-weight:500;margin:var(--rtk-space-0, 0px)}.empty-room span{font-size:12px;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.search-wrapper{margin-bottom:var(--rtk-space-1, 4px);display:flex;align-items:center;gap:var(--rtk-space-2, 8px)}.search{position:sticky;box-sizing:border-box;display:flex;align-items:center;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0, 0px);height:var(--rtk-space-8, 32px)}.search .search-icon{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.search input{box-sizing:border-box;width:100%;padding-right:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:inherit;color:rgb(var(--rtk-colors-text-1000, 255 255 255));outline:2px solid transparent;outline-offset:2px;border-radius:var(--rtk-border-radius-sm, 4px);font-size:14px}.search input::-moz-placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.search input::placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.header{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-1\\.5, 6px);height:var(--rtk-space-9, 36px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-0\\.5, 2px);border-bottom-width:var(--rtk-border-width-sm, 1px);border-top-width:var(--rtk-border-width-none, 0);border-right-width:var(--rtk-border-width-none, 0);border-left-width:var(--rtk-border-width-none, 0);border-style:solid;--tw-border-opacity:1;border-bottom-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));font-size:12px;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));display:flex;align-items:center;justify-content:space-between}.title-wrapper{display:flex;align-items:center;gap:var(--rtk-space-2, 8px)}.participant-count{display:flex;align-items:center;font-size:14px}.participant-count rtk-icon{margin-right:var(--rtk-space-0\\.5, 2px);width:var(--rtk-space-3, 12px)}.participant-item{display:flex;align-items:center;justify-content:space-between;margin-top:var(--rtk-space-1, 4px);margin-bottom:var(--rtk-space-1, 4px);border-radius:var(--rtk-border-radius-sm, 4px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);cursor:pointer}.participant-item input.hide-checkbox{display:none}.participant-item input:checked{display:inline-block}.dragging input{display:none}.participant-item:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.participant-item:hover input{display:inline-block}.peer-ui-container{position:relative;display:flex;align-items:center;gap:var(--rtk-space-2, 8px);height:var(--rtk-space-10, 40px);cursor:pointer;border-radius:var(--rtk-border-radius-sm, 4px);color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.peer-ui-container rtk-avatar{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px);font-size:14px;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.peer-ui-container .name{font-size:14px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}";
@@ -1,11 +1,11 @@
1
1
  import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-c3592601.js';
2
- import { e as defaultIconPack, h as useLanguage } from './p-037e572f.js';
2
+ import { e as defaultIconPack, h as useLanguage } from './p-7fc0dc2f.js';
3
3
  import { b as getPreference, s as setPreference } from './p-a83ccdbd.js';
4
- import { S as SyncWithStore } from './p-af35ac31.js';
5
- import { d as defineCustomElement$4 } from './p-3438fd71.js';
4
+ import { S as SyncWithStore } from './p-47c25f64.js';
5
+ import { d as defineCustomElement$4 } from './p-6756b222.js';
6
6
  import { d as defineCustomElement$3 } from './p-3b29dda1.js';
7
- import { d as defineCustomElement$2 } from './p-a09aefba.js';
8
- import { d as defineCustomElement$1 } from './p-ddb2df62.js';
7
+ import { d as defineCustomElement$2 } from './p-7481511c.js';
8
+ import { d as defineCustomElement$1 } from './p-2ea7652f.js';
9
9
 
10
10
  const rtkSettingsVideoCss = ":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)}.rtk-select{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.rtk-select:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)}.rtk-select{display:block;border-radius:var(--rtk-border-radius-sm, 4px);border-width:var(--rtk-border-width-none, 0);border-style:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:var(--rtk-space-3, 12px);font-size:16px;--icon-size:var(--rtk-select-chevron-size, var(--rtk-space-6, 24px));--icon-right-position:var(--rtk-select-chevron-right-position, var(--rtk-space-2, 8px));background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e\");background-position:right var(--icon-right-position) center;background-repeat:no-repeat;background-size:var(--icon-size) var(--icon-size);padding-right:calc(var(--icon-right-position) * 5)}:host{display:flex;width:100%;flex-direction:column}.rtk-select{width:100%;text-overflow:ellipsis}rtk-participant-tile{margin-left:auto;margin-right:auto;margin-bottom:var(--rtk-space-4, 16px);max-width:100%}#icon{padding-bottom:var(--rtk-space-1, 4px)}.apply-button{height:var(--rtk-space-10, 40px)}label{-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:14px}.group{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px)}.group>*{margin-bottom:var(--rtk-space-2, 8px)}.group>*:last-child{margin-bottom:var(--rtk-space-0, 0px)}.group select{flex:1 1 0%}.row{display:flex;align-items:center;justify-content:space-between;gap:var(--rtk-space-3, 12px)}.section{display:flex;flex-direction:column}@media only screen and (max-height: 480px) and (orientation: landscape){:host{flex-direction:row}:host([size='sm']){flex-direction:row}.section[part='tile-preview']{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);max-height:90%;max-width:40%;flex-shrink:1}.section[part='video-settings']{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);flex-grow:1}}";
11
11
  const RtkSettingsVideoStyle0 = rtkSettingsVideoCss;
@@ -1,12 +1,12 @@
1
1
  import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-c3592601.js';
2
- import { e as defaultIconPack, h as useLanguage } from './p-037e572f.js';
2
+ import { e as defaultIconPack, h as useLanguage } from './p-7fc0dc2f.js';
3
3
  import './p-a83ccdbd.js';
4
- import { S as SyncWithStore } from './p-af35ac31.js';
5
- import { d as defineCustomElement$5 } from './p-6fe2233b.js';
4
+ import { S as SyncWithStore } from './p-47c25f64.js';
5
+ import { d as defineCustomElement$5 } from './p-b1338b4f.js';
6
6
  import { d as defineCustomElement$4 } from './p-3b29dda1.js';
7
- import { d as defineCustomElement$3 } from './p-f5f0b499.js';
8
- import { d as defineCustomElement$2 } from './p-34b580c9.js';
9
- import { d as defineCustomElement$1 } from './p-93e1439e.js';
7
+ import { d as defineCustomElement$3 } from './p-560e7a4f.js';
8
+ import { d as defineCustomElement$2 } from './p-b6ee1a32.js';
9
+ import { d as defineCustomElement$1 } from './p-566c1155.js';
10
10
  import { d as debounce } from './p-1dca17d1.js';
11
11
 
12
12
  const rtkChannelSelectorViewCss = ".scrollbar {\n /* For Firefox */\n scrollbar-width: thin;\n scrollbar-color: var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent);\n}\n\n/* For WebKit */\n.scrollbar::-webkit-scrollbar {\n height: var(--rtk-space-1\\.5, 6px);\n width: var(--rtk-space-1\\.5, 6px);\n border-radius: 9999px;\n background-color: var(--rtk-scrollbar-background, transparent);\n}\n\n.scrollbar::-webkit-scrollbar-thumb {\n border-radius: 9999px;\n background-color: var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)));\n}\n\n\n:host {\n display: flex;\n flex-direction: column;\n width: 100%;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));\n position: relative;\n z-index: 10;\n height: var(--rtk-space-12, 48px);\n min-height: 48px;\n}\n\n.dropdown-trigger {\n height: 100%;\n width: 100%;\n border-width: var(--rtk-border-width-none, 0);\n border-style: none;\n padding: var(--rtk-space-4, 16px);\n display: flex;\n align-items: center;\n justify-content: space-between;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));\n font-size: 14px;\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n cursor: pointer;\n position: absolute;\n z-index: 20;\n}\n\n.dropdown-trigger span {\n display: flex;\n flex: 1 1 0%;\n align-items: center;\n justify-content: space-between;\n}\n\n.dropdown-trigger rtk-icon {\n margin-left: var(--rtk-space-1, 4px);\n height: var(--rtk-space-5, 20px);\n width: var(--rtk-space-5, 20px);\n flex-shrink: 0;\n}\n\n@container chatcontainer (height < 360px) {\n .dropdown-trigger {\n padding: var(--rtk-space-2, 8px);\n }\n .dropdown {\n top: var(--rtk-space-8, 32px) !important;\n }\n .search-container {\n padding-left: var(--rtk-space-0, 0px) !important;\n padding-right: var(--rtk-space-0, 0px) !important;\n padding-top: var(--rtk-space-0, 0px) !important;\n padding-bottom: var(--rtk-space-0, 0px) !important;\n }\n input {\n height: var(--rtk-space-8, 32px) !important;\n border-radius: var(--rtk-border-radius-none, 0) !important;\n }\n .channel {\n height: var(--rtk-space-8, 32px) !important;\n border-radius: var(--rtk-border-radius-sm, 4px) !important;\n }\n .avatar-icon {\n height: var(--rtk-space-3, 12px) !important;\n width: var(--rtk-space-3, 12px) !important;\n padding: var(--rtk-space-1, 4px) !important;\n }\n\n rtk-avatar {\n height: var(--rtk-space-5, 20px) !important;\n width: var(--rtk-space-5, 20px) !important;\n }\n}\n\n.dropdown {\n position: absolute;\n width: 100%;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));\n top: var(--rtk-space-12, 48px);\n z-index: 10;\n animation: 0.3s slide-down ease;\n}\n\n.dropdown .channels-container {\n max-height: var(--rtk-space-80, 320px);\n}\n\n.list {\n display: flex;\n flex-direction: column;\n}\n\n.list .channel .channel-data {\n align-items: flex-start;\n}\n\n.unread-count {\n display: flex;\n justify-content: center;\n height: var(--rtk-space-5, 20px);\n min-width: var(--rtk-space-3, 12px);\n border-radius: 9999px;\n padding-left: var(--rtk-space-1, 4px);\n padding-right: var(--rtk-space-1, 4px);\n font-size: 12px;\n line-height: 1.25rem;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));\n color: rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));\n}\n\ninput {\n height: var(--rtk-space-9, 36px);\n width: 100%;\n padding-left: var(--rtk-space-3, 12px);\n padding-right: var(--rtk-space-3, 12px);\n box-sizing: border-box;\n border-width: var(--rtk-border-width-none, 0);\n border-style: none;\n outline: 2px solid transparent;\n outline-offset: 2px;\n border-radius: var(--rtk-border-radius-sm, 4px);\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n}\n\n.search-container {\n display: flex;\n flex-shrink: 0;\n flex-grow: 0;\n flex-basis: auto;\n align-items: center;\n padding-top: var(--rtk-space-3, 12px);\n padding-bottom: var(--rtk-space-3, 12px);\n padding-left: var(--rtk-space-2, 8px);\n padding-right: var(--rtk-space-2, 8px);\n border-bottom: var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-700, 44 44 44));\n}\n\n.search-container rtk-icon {\n margin-left: calc(var(--rtk-space-8, 32px) * -1);\n height: var(--rtk-space-5, 20px);\n width: var(--rtk-space-5, 20px);\n color: rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76));\n}\n\n.channels-container {\n display: flex;\n flex-direction: column;\n gap: var(--rtk-space-1, 4px);\n padding: var(--rtk-space-2, 8px);\n flex: 1 1 auto;\n overflow-y: auto;\n}\n\n.channel {\n flex-shrink: 0;\n box-sizing: border-box;\n border-width: var(--rtk-border-width-none, 0);\n border-style: none;\n background-color: transparent;\n outline: 2px solid transparent;\n outline-offset: 2px;\n cursor: pointer;\n border-radius: var(--rtk-border-radius-md, 8px);\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--rtk-space-2, 8px);\n height: var(--rtk-space-16, 64px);\n width: 100%;\n padding-left: var(--rtk-space-2, 8px);\n padding-right: var(--rtk-space-3, 12px);\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.channel:hover {\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));\n}\n\n.channel .channel-data {\n flex: 1 1 0%;\n align-items: center;\n justify-content: space-between;\n display: flex;\n gap: var(--rtk-space-2, 8px);\n}\n\n.channel .name {\n font-size: 16px;\n}\n\n.channel .name, \n .channel .last-message {\n max-width: var(--rtk-space-40, 160px);\n text-align: left;\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n}\n\n.channel .no-message {\n font-style: italic;\n}\n\n.channel rtk-avatar {\n height: var(--rtk-space-12, 48px);\n width: var(--rtk-space-12, 48px);\n overflow: clip;\n border-radius: 9999px;\n font-size: 14px;\n}\n\n.channel .avatar-icon {\n height: var(--rtk-space-6, 24px);\n width: var(--rtk-space-6, 24px);\n padding: var(--rtk-space-3, 12px);\n color: rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));\n overflow: clip;\n border-radius: 9999px;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));\n}\n\n.channel time, \n .channel .last-message {\n font-size: 12px;\n color: rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76));\n}\n\n.channel.active {\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-bg-opacity));\n color: rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));\n}\n\n.channel.active .unread-count {\n background-color: rgb(var(--rtk-colors-text-on-brand-800, var(--rtk-colors-text-800, 255 255 255 / 0.76)));\n --tw-text-opacity: 1;\n color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity));\n}\n\n.channel.active time {\n color: rgb(var(--rtk-colors-text-on-brand-800, var(--rtk-colors-text-800, 255 255 255 / 0.76)));\n}\n\n.channel.active .last-message {\n color: rgb(var(--rtk-colors-text-on-brand-700, var(--rtk-colors-text-700, 255 255 255 / 0.64)));\n}\n\n.channel.active rtk-avatar {\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));\n color: rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));\n}\n\n.col {\n gap: var(--rtk-space-1, 4px);\n display: flex;\n flex-direction: column;\n}\n\n.channel-meta {\n flex-shrink: 0;\n align-items: flex-end;\n}\n\n@keyframes slide-down {\n from {\n transform: translateY(-50px);\n }\n to {\n transform: translateY(0%);\n }\n}\n";
@@ -1,12 +1,12 @@
1
1
  import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-c3592601.js';
2
- import { h as useLanguage, e as defaultIconPack, P as PlayerState, N as getLivestreamViewerAllowedQualityLevels, L as showLivestream } from './p-037e572f.js';
2
+ import { h as useLanguage, e as defaultIconPack, P as PlayerState, N as getLivestreamViewerAllowedQualityLevels, M as showLivestream } from './p-7fc0dc2f.js';
3
3
  import './p-a83ccdbd.js';
4
- import { S as SyncWithStore } from './p-af35ac31.js';
4
+ import { S as SyncWithStore } from './p-47c25f64.js';
5
5
  import { d as defineCustomElement$5 } from './p-1391bef0.js';
6
- import { d as defineCustomElement$4 } from './p-9730c398.js';
7
- import { d as defineCustomElement$3 } from './p-897a04be.js';
6
+ import { d as defineCustomElement$4 } from './p-2590f470.js';
7
+ import { d as defineCustomElement$3 } from './p-a4b26604.js';
8
8
  import { d as defineCustomElement$2 } from './p-3b29dda1.js';
9
- import { d as defineCustomElement$1 } from './p-34b580c9.js';
9
+ import { d as defineCustomElement$1 } from './p-b6ee1a32.js';
10
10
 
11
11
  // https://caniuse.com/mdn-javascript_builtins_number_isfinite
12
12
  const isFiniteNumber = Number.isFinite || function (value) {
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-c3592601.js';
2
- import { S as SyncWithStore } from './p-af35ac31.js';
3
- import { e as defaultIconPack, h as useLanguage } from './p-037e572f.js';
2
+ import { S as SyncWithStore } from './p-47c25f64.js';
3
+ import { e as defaultIconPack, h as useLanguage } from './p-7fc0dc2f.js';
4
4
  import './p-a83ccdbd.js';
5
5
  import { d as defineCustomElement$3 } from './p-1391bef0.js';
6
6
  import { d as defineCustomElement$2 } from './p-3b29dda1.js';
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, h, e as Host } from './p-c3592601.js';
2
- import { e as defaultIconPack, h as useLanguage } from './p-037e572f.js';
3
- import { S as SyncWithStore } from './p-af35ac31.js';
2
+ import { e as defaultIconPack, h as useLanguage } from './p-7fc0dc2f.js';
3
+ import { S as SyncWithStore } from './p-47c25f64.js';
4
4
 
5
5
  const rtkMenuItemCss = ":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;align-items:center;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px);cursor:pointer;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;color:rgb(var(--rtk-colors-text-1000, 255 255 255));font-size:14px}::slotted([slot='start']){margin-right:var(--rtk-space-2, 8px)}::slotted([slot='end']){margin-left:var(--rtk-space-2, 8px)}:host(:hover){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}:host(.red){--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}";
6
6
  const RtkMenuItemStyle0 = rtkMenuItemCss;
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-c3592601.js';
2
- import { e as defaultIconPack, h as useLanguage } from './p-037e572f.js';
3
- import { S as SyncWithStore } from './p-af35ac31.js';
2
+ import { e as defaultIconPack, h as useLanguage } from './p-7fc0dc2f.js';
3
+ import { S as SyncWithStore } from './p-47c25f64.js';
4
4
  import { s as shorten, f as formatName, g as getInitials } from './p-efabd2ce.js';
5
5
  import { d as defineCustomElement$1 } from './p-03bdc4c0.js';
6
6
 
@@ -1,9 +1,9 @@
1
1
  import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-c3592601.js';
2
- import { e as defaultIconPack, h as useLanguage } from './p-037e572f.js';
3
- import { S as SyncWithStore } from './p-af35ac31.js';
4
- import { d as defineCustomElement$4 } from './p-9730c398.js';
2
+ import { e as defaultIconPack, h as useLanguage } from './p-7fc0dc2f.js';
3
+ import { S as SyncWithStore } from './p-47c25f64.js';
4
+ import { d as defineCustomElement$4 } from './p-2590f470.js';
5
5
  import { d as defineCustomElement$3 } from './p-3b29dda1.js';
6
- import { d as defineCustomElement$2 } from './p-34b580c9.js';
6
+ import { d as defineCustomElement$2 } from './p-b6ee1a32.js';
7
7
 
8
8
  const rtkAiToggleCss = ":host{display:block}:host([data-hidden]){display:none}";
9
9
  const RtkAiToggleStyle0 = rtkAiToggleCss;
@@ -1,4 +1,4 @@
1
- import { R as RtkAiTranscriptions$1, d as defineCustomElement$1 } from './p-7f0ee3c6.js';
1
+ import { R as RtkAiTranscriptions$1, d as defineCustomElement$1 } from './p-024ef28a.js';
2
2
 
3
3
  const RtkAiTranscriptions = RtkAiTranscriptions$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,7 +1,7 @@
1
1
  import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-c3592601.js';
2
- import { c as createDefaultConfig, e as defaultIconPack, h as useLanguage } from './p-037e572f.js';
3
- import { S as SyncWithStore } from './p-af35ac31.js';
4
- import { d as defineCustomElement$4 } from './p-7f0ee3c6.js';
2
+ import { c as createDefaultConfig, e as defaultIconPack, h as useLanguage } from './p-7fc0dc2f.js';
3
+ import { S as SyncWithStore } from './p-47c25f64.js';
4
+ import { d as defineCustomElement$4 } from './p-024ef28a.js';
5
5
  import { d as defineCustomElement$3 } from './p-1391bef0.js';
6
6
  import { d as defineCustomElement$2 } from './p-3b29dda1.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { p as proxyCustomElement, H, h, e as Host } from './p-c3592601.js';
2
- import { e as defaultIconPack, h as useLanguage } from './p-037e572f.js';
2
+ import { e as defaultIconPack, h as useLanguage } from './p-7fc0dc2f.js';
3
3
  import './p-a83ccdbd.js';
4
- import { S as SyncWithStore } from './p-af35ac31.js';
4
+ import { S as SyncWithStore } from './p-47c25f64.js';
5
5
  import { R as Render } from './p-60fdbd75.js';
6
6
 
7
7
  const rtkAudioGridCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;height:100%;width:100%;box-sizing:border-box}.content{position:relative;display:flex;height:100%;width:100%;flex-direction:column;overflow-y:auto}.waitlist-area{display:flex;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.listening-title{text-align:center;margin-top:var(--rtk-space-5, 20px);margin-bottom:var(--rtk-space-4, 16px)}.waitlist-grid{flex:1 1 0%}.grid{box-sizing:border-box;flex:1 1 0%;gap:var(--rtk-space-6, 24px);display:flex;align-content:center;justify-content:center;flex-wrap:wrap}:host([size='md']) .grid{gap:var(--rtk-space-4, 16px)}:host([size='sm']) .grid{gap:var(--rtk-space-3, 12px)}rtk-audio-tile{aspect-ratio:1 / 1;flex:none;width:calc(20%);max-width:var(--rtk-space-48, 192px);transition:all 0.3s}rtk-audio-tile[size='md']{width:100%;max-width:var(--rtk-space-36, 144px)}rtk-audio-tile[size='sm']{width:100%;max-width:var(--rtk-space-24, 96px)}";
@@ -1,12 +1,12 @@
1
1
  import { p as proxyCustomElement, H, h, e as Host } from './p-c3592601.js';
2
- import { e as defaultIconPack, h as useLanguage } from './p-037e572f.js';
2
+ import { e as defaultIconPack, h as useLanguage } from './p-7fc0dc2f.js';
3
3
  import './p-a83ccdbd.js';
4
4
  import { h as hark } from './p-3f882e7c.js';
5
- import { S as SyncWithStore } from './p-af35ac31.js';
6
- import { d as defineCustomElement$5 } from './p-6fe2233b.js';
5
+ import { S as SyncWithStore } from './p-47c25f64.js';
6
+ import { d as defineCustomElement$5 } from './p-b1338b4f.js';
7
7
  import { d as defineCustomElement$4 } from './p-3b29dda1.js';
8
- import { d as defineCustomElement$3 } from './p-72346e7f.js';
9
- import { d as defineCustomElement$2 } from './p-34b580c9.js';
8
+ import { d as defineCustomElement$3 } from './p-afe77b50.js';
9
+ import { d as defineCustomElement$2 } from './p-b6ee1a32.js';
10
10
 
11
11
  const rtkAudioTileCss = ":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)}";
12
12
  const RtkAudioTileStyle0 = rtkAudioTileCss;
@@ -1,4 +1,4 @@
1
- import { R as RtkAudioVisualizer$1, d as defineCustomElement$1 } from './p-f734a4cf.js';
1
+ import { R as RtkAudioVisualizer$1, d as defineCustomElement$1 } from './p-a10b9faa.js';
2
2
 
3
3
  const RtkAudioVisualizer = RtkAudioVisualizer$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { R as RtkAvatar$1, d as defineCustomElement$1 } from './p-6fe2233b.js';
1
+ import { R as RtkAvatar$1, d as defineCustomElement$1 } from './p-b1338b4f.js';
2
2
 
3
3
  const RtkAvatar = RtkAvatar$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { R as RtkBreakoutRoomManager$1, d as defineCustomElement$1 } from './p-e2e22bf8.js';
1
+ import { R as RtkBreakoutRoomManager$1, d as defineCustomElement$1 } from './p-b397a600.js';
2
2
 
3
3
  const RtkBreakoutRoomManager = RtkBreakoutRoomManager$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { R as RtkBreakoutRoomParticipants$1, d as defineCustomElement$1 } from './p-aba9b612.js';
1
+ import { R as RtkBreakoutRoomParticipants$1, d as defineCustomElement$1 } from './p-e732b5ee.js';
2
2
 
3
3
  const RtkBreakoutRoomParticipants = RtkBreakoutRoomParticipants$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { R as RtkBreakoutRoomsManager$1, d as defineCustomElement$1 } from './p-fb46d041.js';
1
+ import { R as RtkBreakoutRoomsManager$1, d as defineCustomElement$1 } from './p-9c2c0760.js';
2
2
 
3
3
  const RtkBreakoutRoomsManager = RtkBreakoutRoomsManager$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,9 +1,9 @@
1
1
  import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-c3592601.js';
2
- import { e as defaultIconPack, h as useLanguage, J as canToggleBreakout } from './p-037e572f.js';
3
- import { S as SyncWithStore } from './p-af35ac31.js';
4
- import { d as defineCustomElement$4 } from './p-9730c398.js';
2
+ import { e as defaultIconPack, h as useLanguage, J as canToggleBreakout } from './p-7fc0dc2f.js';
3
+ import { S as SyncWithStore } from './p-47c25f64.js';
4
+ import { d as defineCustomElement$4 } from './p-2590f470.js';
5
5
  import { d as defineCustomElement$3 } from './p-3b29dda1.js';
6
- import { d as defineCustomElement$2 } from './p-34b580c9.js';
6
+ import { d as defineCustomElement$2 } from './p-b6ee1a32.js';
7
7
 
8
8
  const rtkBreakoutRoomsToggleCss = ":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}";
9
9
  const RtkBreakoutRoomsToggleStyle0 = rtkBreakoutRoomsToggleCss;
@@ -1,4 +1,4 @@
1
- import { R as RtkBroadcastMessageModal$1, d as defineCustomElement$1 } from './p-511ed3f8.js';
1
+ import { R as RtkBroadcastMessageModal$1, d as defineCustomElement$1 } from './p-498c01a6.js';
2
2
 
3
3
  const RtkBroadcastMessageModal = RtkBroadcastMessageModal$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { R as RtkCameraSelector$1, d as defineCustomElement$1 } from './p-3438fd71.js';
1
+ import { R as RtkCameraSelector$1, d as defineCustomElement$1 } from './p-6756b222.js';
2
2
 
3
3
  const RtkCameraSelector = RtkCameraSelector$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,9 +1,9 @@
1
1
  import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-c3592601.js';
2
- import { e as defaultIconPack, h as useLanguage } from './p-037e572f.js';
3
- import { S as SyncWithStore } from './p-af35ac31.js';
4
- import { d as defineCustomElement$5 } from './p-9730c398.js';
2
+ import { e as defaultIconPack, h as useLanguage } from './p-7fc0dc2f.js';
3
+ import { S as SyncWithStore } from './p-47c25f64.js';
4
+ import { d as defineCustomElement$5 } from './p-2590f470.js';
5
5
  import { d as defineCustomElement$4 } from './p-3b29dda1.js';
6
- import { d as defineCustomElement$3 } from './p-34b580c9.js';
6
+ import { d as defineCustomElement$3 } from './p-b6ee1a32.js';
7
7
  import { d as defineCustomElement$2 } from './p-03bdc4c0.js';
8
8
 
9
9
  const rtkCameraToggleCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}:host([data-hidden]){display:none}";
@@ -1,10 +1,10 @@
1
1
  import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-c3592601.js';
2
- import { c as createDefaultConfig, e as defaultIconPack, h as useLanguage } from './p-037e572f.js';
2
+ import { c as createDefaultConfig, e as defaultIconPack, h as useLanguage } from './p-7fc0dc2f.js';
3
3
  import './p-a83ccdbd.js';
4
- import { S as SyncWithStore } from './p-af35ac31.js';
5
- import { d as defineCustomElement$4 } from './p-9730c398.js';
4
+ import { S as SyncWithStore } from './p-47c25f64.js';
5
+ import { d as defineCustomElement$4 } from './p-2590f470.js';
6
6
  import { d as defineCustomElement$3 } from './p-3b29dda1.js';
7
- import { d as defineCustomElement$2 } from './p-34b580c9.js';
7
+ import { d as defineCustomElement$2 } from './p-b6ee1a32.js';
8
8
 
9
9
  const rtkCaptionToggleCss = ":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}";
10
10
  const RtkCaptionToggleStyle0 = rtkCaptionToggleCss;
@@ -1,4 +1,212 @@
1
- import { R as RtkChannelCreator$1, d as defineCustomElement$1 } from './p-c9a7cf06.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, w as writeTask, f as forceUpdate, h, e as Host } from './p-c3592601.js';
2
+ import { h as useLanguage, e as defaultIconPack } from './p-7fc0dc2f.js';
3
+ import './p-a83ccdbd.js';
4
+ import { S as SyncWithStore } from './p-47c25f64.js';
5
+ import { d as defineCustomElement$5 } from './p-b1338b4f.js';
6
+ import { d as defineCustomElement$4 } from './p-1391bef0.js';
7
+ import { d as defineCustomElement$3 } from './p-3b29dda1.js';
8
+ import { d as defineCustomElement$2 } from './p-b6ee1a32.js';
9
+
10
+ const rtkChannelCreatorCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));display:flex;flex-direction:column;width:var(--rtk-space-96, 384px);padding-left:var(--rtk-space-9, 36px);padding-right:var(--rtk-space-9, 36px);padding-top:var(--rtk-space-10, 40px);padding-bottom:var(--rtk-space-10, 40px)}header{margin-bottom:var(--rtk-space-8, 32px);display:flex;align-items:center;gap:var(--rtk-space-2, 8px);font-size:24px;font-weight:600}.channel-name-input{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));border-radius:var(--rtk-border-radius-sm, 4px);border-width:var(--rtk-border-width-none, 0);border-style:none;padding:var(--rtk-space-3, 12px);font-size:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;line-height:1.25;outline:2px solid transparent;outline-offset:2px}.channel-name-input:focus{outline-width:2px;outline-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / 0.5)}footer{margin-top:var(--rtk-space-5, 20px);display:flex;justify-content:flex-end}.member{display:flex;align-items:center;gap:var(--rtk-space-1, 4px);padding:var(--rtk-space-2, 8px)}.member rtk-avatar{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);font-size:14px;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.input-container{position:relative;-webkit-appearance:none;-moz-appearance:none;appearance:none;line-height:1.25;outline:2px solid transparent;outline-offset:2px;outline-width:2px;outline-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / 0.5);border-radius:var(--rtk-border-radius-sm, 4px)}.input-container .members{margin:var(--rtk-space-0, 0px);max-height:var(--rtk-space-28, 112px);border-radius:var(--rtk-border-radius-sm, 4px);padding:var(--rtk-space-2, 8px);list-style-type:none;display:flex;flex-wrap:wrap;gap:var(--rtk-space-1, 4px);cursor:text;font-size:16px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));overflow-y:auto;min-height:var(--rtk-space-7, 28px)}.input-container .pill{display:flex;align-items:center;gap:var(--rtk-space-1, 4px);border-radius:var(--rtk-border-radius-sm, 4px);padding:var(--rtk-space-2, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.input-container .pill rtk-avatar{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);font-size:14px;color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.input-container .pill span{max-width:var(--rtk-space-32, 128px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.input-container .pill rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);cursor:pointer}.input-container input{width:var(--rtk-space-24, 96px);border-radius:var(--rtk-border-radius-sm, 4px);border-width:var(--rtk-border-width-none, 0);border-style:none;padding:var(--rtk-space-1, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));outline:2px solid transparent;outline-offset:2px;font-size:16px;line-height:1.25rem}.input-container input.wide-input{width:100%}.search-results{margin:var(--rtk-space-0, 0px);margin-top:var(--rtk-space-1, 4px);max-height:var(--rtk-space-28, 112px);width:100%;padding:var(--rtk-space-0, 0px);position:absolute;list-style-type:none;overflow-y:auto;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));border-radius:var(--rtk-border-radius-md, 8px);--tw-border-spacing-x:var(--rtk-space-2, 8px);--tw-border-spacing-y:var(--rtk-space-2, 8px);border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y);border-style:solid;border-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / 0.5)}.search-results .member{cursor:pointer}.search-results .member rtk-avatar{color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.search-results .member:hover,.search-results .member.selected{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-700, 2 70 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}";
11
+ const RtkChannelCreatorStyle0 = rtkChannelCreatorCss;
12
+
13
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
14
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
15
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
16
+ r = Reflect.decorate(decorators, target, key, desc);
17
+ else
18
+ for (var i = decorators.length - 1; i >= 0; i--)
19
+ if (d = decorators[i])
20
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
21
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
22
+ };
23
+ const RtkChannelCreator$1 = /*@__PURE__*/ proxyCustomElement(class RtkChannelCreator extends H {
24
+ constructor() {
25
+ super();
26
+ this.__registerHost();
27
+ this.__attachShadow();
28
+ this.stateUpdate = createEvent(this, "rtkStateUpdate", 7);
29
+ this.switchChannel = createEvent(this, "switchChannel", 7);
30
+ /** Language */
31
+ this.t = useLanguage();
32
+ /** Icon pack */
33
+ this.iconPack = defaultIconPack;
34
+ this.channelName = '';
35
+ this.searchQuery = '';
36
+ this.step = 1;
37
+ this.loading = false;
38
+ this.selectedMemberIds = new Set();
39
+ this.focusedMemberIndex = -1;
40
+ this.showAllMembersList = false;
41
+ this.allMembers = new Map();
42
+ this.inputTextRef = null;
43
+ this.searchInputTextRef = null;
44
+ this.focusOnSearch = (selectText = false) => {
45
+ this.focusedMemberIndex = -1;
46
+ writeTask(() => {
47
+ var _a, _b;
48
+ (_a = this.searchInputTextRef) === null || _a === void 0 ? void 0 : _a.focus();
49
+ if (selectText)
50
+ (_b = this.searchInputTextRef) === null || _b === void 0 ? void 0 : _b.select();
51
+ });
52
+ };
53
+ this.onClickHandler = async () => {
54
+ if (this.channelName.length === 0)
55
+ return;
56
+ if (this.step === 1) {
57
+ const members = this.meeting.participants.all.toArray();
58
+ const selfId = this.meeting.self.userId;
59
+ const nonSelfMembers = members.filter((member) => member.userId !== selfId);
60
+ nonSelfMembers.forEach((member) => this.allMembers.set(member.userId, member));
61
+ this.step = 2;
62
+ this.focusOnSearch();
63
+ return;
64
+ }
65
+ // step 2 - add members and create channel
66
+ await this.createChannel();
67
+ };
68
+ this.createChannel = async () => {
69
+ const members = Array.from(this.selectedMemberIds);
70
+ const newChannel = await this.meeting.chat.createChannel(this.channelName, members, {
71
+ displayPictureUrl: '',
72
+ visibility: 'public',
73
+ isDirectMessage: false,
74
+ });
75
+ this.switchChannel.emit(newChannel.id);
76
+ this.stateUpdate.emit({ activeChannelCreator: false });
77
+ };
78
+ this.onMemberAdd = (id) => {
79
+ this.showAllMembersList = false;
80
+ this.selectedMemberIds.add(id);
81
+ this.searchQuery = '';
82
+ this.focusOnSearch();
83
+ };
84
+ this.keyDownHandler = (e, filteredMembers) => {
85
+ if (e.key === 'ArrowDown') {
86
+ this.focusedMemberIndex = Math.min(this.focusedMemberIndex + 1, filteredMembers.length - 1);
87
+ }
88
+ else if (e.key === 'ArrowUp') {
89
+ if (this.focusedMemberIndex === -1)
90
+ return;
91
+ if (this.focusedMemberIndex === 0) {
92
+ this.focusOnSearch(true);
93
+ return;
94
+ }
95
+ this.focusedMemberIndex = Math.max(this.focusedMemberIndex - 1, 0);
96
+ }
97
+ else if (e.key === 'Enter') {
98
+ this.onMemberAdd(filteredMembers[this.focusedMemberIndex].userId);
99
+ }
100
+ else if (e.key === 'Backspace') {
101
+ if (this.searchQuery.length !== 0)
102
+ return;
103
+ if (this.selectedMemberIds.size === 0)
104
+ return;
105
+ const lastMemberId = Array.from(this.selectedMemberIds.values()).at(-1);
106
+ this.selectedMemberIds.delete(lastMemberId);
107
+ forceUpdate(this.$el);
108
+ }
109
+ };
110
+ this.renderMemberSelector = () => {
111
+ const filteredMembers = Array.from(this.allMembers.values()).filter((member) => !this.selectedMemberIds.has(member.userId) &&
112
+ member.name.toLowerCase().includes(this.searchQuery.toLowerCase()));
113
+ const selectedMembers = Array.from(this.selectedMemberIds.values()).map((id) => this.allMembers.get(id));
114
+ const disableInput = this.selectedMemberIds.size === this.allMembers.size;
115
+ return (h("div", { class: "input-container" }, h("ul", { class: "members scrollbar", onClick: () => {
116
+ var _a;
117
+ (_a = this.searchInputTextRef) === null || _a === void 0 ? void 0 : _a.focus();
118
+ } }, selectedMembers.map((member) => (h("li", { class: "pill" }, h("rtk-avatar", { participant: {
119
+ name: member.name,
120
+ picture: member.picture,
121
+ }, size: "sm" }), h("span", null, member.name), h("rtk-icon", { icon: this.iconPack.dismiss, onClick: () => {
122
+ this.selectedMemberIds.delete(member.userId);
123
+ forceUpdate(this.$el);
124
+ this.focusOnSearch();
125
+ } })))), !disableInput && (h("input", { type: "text", ref: (el) => (this.searchInputTextRef = el), value: this.searchQuery, placeholder: this.selectedMemberIds.size === 0 ? this.t('chat.member_name') : '', class: {
126
+ 'wide-input': this.selectedMemberIds.size === 0,
127
+ }, onInput: (e) => {
128
+ this.searchQuery = e.target.value.trim();
129
+ }, onClick: () => {
130
+ this.showAllMembersList = !this.showAllMembersList;
131
+ }, onKeyDown: (e) => this.keyDownHandler(e, filteredMembers) }))), (this.searchQuery.length !== 0 || this.showAllMembersList) && (h("ul", { class: "search-results" }, filteredMembers.map((member, index) => (h("li", { class: { member: true, selected: index === this.focusedMemberIndex }, onClick: () => this.onMemberAdd(member.userId), ref: ($li) => {
132
+ if (index === this.focusedMemberIndex) {
133
+ writeTask(() => {
134
+ if ($li)
135
+ $li.scrollIntoView({ behavior: 'smooth', block: 'end', inline: 'nearest' });
136
+ });
137
+ }
138
+ } }, h("rtk-avatar", { participant: {
139
+ name: member.name,
140
+ picture: member.picture,
141
+ }, size: "sm" }), h("span", null, member.name)))), filteredMembers.length === 0 && (h("li", { class: "member" }, h("span", null, this.t('chat.error.empty_results'))))))));
142
+ };
143
+ }
144
+ componentDidLoad() {
145
+ var _a;
146
+ (_a = this.inputTextRef) === null || _a === void 0 ? void 0 : _a.focus();
147
+ }
148
+ render() {
149
+ return (h(Host, { key: 'b0d6ee605e9b523d53bcc616d2e91569f25eefb8' }, h("header", { key: '95a37537138ddd6069f445d956bb2fc40d211e0a' }, this.step === 1 ? this.t('chat.new_channel') : this.t('chat.add_members')), this.step === 1 && (h("input", { key: '0a91dd51ebddb6d7d153f3650b441b475016941b', class: "channel-name-input", type: "text", placeholder: this.t('chat.channel_name'), ref: (el) => (this.inputTextRef = el), onInput: (e) => {
150
+ this.channelName = e.target.value.trim();
151
+ } })), this.step === 2 && this.renderMemberSelector(), h("footer", { key: '18e65d42174a88f7ef34bce3d8ab60ee7a052606' }, h("rtk-button", { key: 'b83ad46229d783ad642b8ae0293f93936353f99c', kind: "button", size: "lg", disabled: this.channelName.length === 0, onClick: this.onClickHandler }, this.step === 1 ? this.t('chat.add_members') : this.t('create')))));
152
+ }
153
+ get $el() { return this; }
154
+ static get style() { return RtkChannelCreatorStyle0; }
155
+ }, [1, "rtk-channel-creator", {
156
+ "meeting": [16],
157
+ "t": [16],
158
+ "iconPack": [16],
159
+ "channelName": [32],
160
+ "searchQuery": [32],
161
+ "step": [32],
162
+ "loading": [32],
163
+ "selectedMemberIds": [32],
164
+ "focusedMemberIndex": [32],
165
+ "showAllMembersList": [32]
166
+ }]);
167
+ __decorate([
168
+ SyncWithStore()
169
+ ], RtkChannelCreator$1.prototype, "meeting", void 0);
170
+ __decorate([
171
+ SyncWithStore()
172
+ ], RtkChannelCreator$1.prototype, "t", void 0);
173
+ __decorate([
174
+ SyncWithStore()
175
+ ], RtkChannelCreator$1.prototype, "iconPack", void 0);
176
+ function defineCustomElement$1() {
177
+ if (typeof customElements === "undefined") {
178
+ return;
179
+ }
180
+ const components = ["rtk-channel-creator", "rtk-avatar", "rtk-button", "rtk-icon", "rtk-spinner"];
181
+ components.forEach(tagName => { switch (tagName) {
182
+ case "rtk-channel-creator":
183
+ if (!customElements.get(tagName)) {
184
+ customElements.define(tagName, RtkChannelCreator$1);
185
+ }
186
+ break;
187
+ case "rtk-avatar":
188
+ if (!customElements.get(tagName)) {
189
+ defineCustomElement$5();
190
+ }
191
+ break;
192
+ case "rtk-button":
193
+ if (!customElements.get(tagName)) {
194
+ defineCustomElement$4();
195
+ }
196
+ break;
197
+ case "rtk-icon":
198
+ if (!customElements.get(tagName)) {
199
+ defineCustomElement$3();
200
+ }
201
+ break;
202
+ case "rtk-spinner":
203
+ if (!customElements.get(tagName)) {
204
+ defineCustomElement$2();
205
+ }
206
+ break;
207
+ } });
208
+ }
209
+ defineCustomElement$1();
2
210
 
3
211
  const RtkChannelCreator = RtkChannelCreator$1;
4
212
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { R as RtkChannelDetails$1, d as defineCustomElement$1 } from './p-840ef7fe.js';
1
+ import { R as RtkChannelDetails$1, d as defineCustomElement$1 } from './p-724074c4.js';
2
2
 
3
3
  const RtkChannelDetails = RtkChannelDetails$1;
4
4
  const defineCustomElement = defineCustomElement$1;