@cloudflare/realtimekit-ui 1.1.0-staging.4 → 1.1.0-staging.6

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 (376) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/realtimekit-ui.cjs.js +1 -1
  4. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +1 -1
  5. package/dist/cjs/rtk-audio-grid.cjs.entry.js +1 -1
  6. package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +1 -1
  7. package/dist/cjs/rtk-avatar_24.cjs.entry.js +255 -232
  8. package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +4 -4
  9. package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +8 -8
  10. package/dist/cjs/rtk-channel-creator.cjs.entry.js +2 -2
  11. package/dist/cjs/rtk-channel-details.cjs.entry.js +1 -1
  12. package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +2 -2
  13. package/dist/cjs/rtk-chat-message.cjs.entry.js +2 -2
  14. package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +3 -3
  15. package/dist/cjs/rtk-chat-search-results.cjs.entry.js +1 -1
  16. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +27 -22
  17. package/dist/cjs/rtk-clock.cjs.entry.js +3 -3
  18. package/dist/cjs/rtk-controlbar.cjs.entry.js +1 -1
  19. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +1 -1
  20. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +1 -1
  21. package/dist/cjs/rtk-file-message_3.cjs.entry.js +8 -8
  22. package/dist/cjs/rtk-header.cjs.entry.js +1 -1
  23. package/dist/cjs/rtk-idle-screen.cjs.entry.js +1 -1
  24. package/dist/cjs/rtk-image-viewer.cjs.entry.js +1 -1
  25. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +1 -1
  26. package/dist/cjs/rtk-leave-button.cjs.entry.js +1 -1
  27. package/dist/cjs/rtk-message-list-view.cjs.entry.js +3 -3
  28. package/dist/cjs/rtk-more-toggle.cjs.entry.js +2 -2
  29. package/dist/cjs/rtk-notification.cjs.entry.js +2 -2
  30. package/dist/cjs/rtk-participant-setup.cjs.entry.js +2 -2
  31. package/dist/cjs/rtk-participant_2.cjs.entry.js +14 -14
  32. package/dist/cjs/rtk-participants-audio.cjs.entry.js +1 -1
  33. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +1 -1
  34. package/dist/cjs/rtk-plugins_2.cjs.entry.js +4 -4
  35. package/dist/cjs/rtk-poll_2.cjs.entry.js +3 -3
  36. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +1 -1
  37. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +5 -5
  38. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +1 -1
  39. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +2 -2
  40. package/dist/cjs/rtk-stage.cjs.entry.js +1 -1
  41. package/dist/cjs/rtk-transcript.cjs.entry.js +1 -1
  42. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +1 -1
  43. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +1 -1
  44. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +1 -1
  45. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +2 -2
  46. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +2 -2
  47. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +2 -2
  48. package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +1 -1
  49. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +2 -2
  50. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +2 -2
  51. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +3 -3
  52. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +1 -1
  53. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +1 -1
  54. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.css +1 -1
  55. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +27 -26
  56. package/dist/collection/components/rtk-clock/rtk-clock.js +3 -3
  57. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +1 -1
  58. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +1 -1
  59. package/dist/collection/components/rtk-counter/rtk-counter.js +2 -2
  60. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +1 -1
  61. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +1 -1
  62. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +1 -1
  63. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +1 -1
  64. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +1 -1
  65. package/dist/collection/components/rtk-file-message/rtk-file-message.js +2 -2
  66. package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +1 -1
  67. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +1 -1
  68. package/dist/collection/components/rtk-header/rtk-header.js +1 -1
  69. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +1 -1
  70. package/dist/collection/components/rtk-image-message/rtk-image-message.js +4 -4
  71. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +3 -3
  72. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +1 -1
  73. package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +1 -1
  74. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +1 -1
  75. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +2 -2
  76. package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +1 -1
  77. package/dist/collection/components/rtk-menu/rtk-menu.js +2 -2
  78. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +1 -1
  79. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +1 -1
  80. package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +3 -3
  81. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +2 -2
  82. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +1 -1
  83. package/dist/collection/components/rtk-notification/rtk-notification.js +2 -2
  84. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +1 -1
  85. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.css +5 -5
  86. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +285 -256
  87. package/dist/collection/components/rtk-participant/rtk-participant.js +12 -12
  88. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +2 -2
  89. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +1 -1
  90. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +1 -1
  91. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +1 -1
  92. package/dist/collection/components/rtk-plugins/rtk-plugins.js +1 -1
  93. package/dist/collection/components/rtk-poll/rtk-poll.js +1 -1
  94. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +2 -2
  95. package/dist/collection/components/rtk-polls/rtk-polls.js +3 -3
  96. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +1 -1
  97. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +5 -5
  98. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +1 -1
  99. package/dist/collection/components/rtk-spinner/rtk-spinner.js +1 -1
  100. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +2 -2
  101. package/dist/collection/components/rtk-stage/rtk-stage.js +1 -1
  102. package/dist/collection/components/rtk-switch/rtk-switch.js +1 -1
  103. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +1 -1
  104. package/dist/collection/components/rtk-text-message/rtk-text-message.js +2 -2
  105. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
  106. package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +1 -1
  107. package/dist/collection/components/rtk-transcript/rtk-transcript.js +1 -1
  108. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
  109. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +1 -1
  110. package/dist/components/{p-8479343e.js → p-00bb4abb.js} +6 -6
  111. package/dist/components/{p-12ae623e.js → p-02b840f8.js} +3 -3
  112. package/dist/components/{p-20290ade.js → p-0b2b3442.js} +2 -2
  113. package/dist/components/{p-b74221b4.js → p-0e5cc539.js} +2 -2
  114. package/dist/components/{p-7b344a65.js → p-0f2de0f8.js} +5 -5
  115. package/dist/components/{p-b30f3c49.js → p-107e55c1.js} +1 -1
  116. package/dist/components/{p-7965a1a6.js → p-1a9e3806.js} +1 -1
  117. package/dist/components/{p-e31889d3.js → p-1f5a4682.js} +2 -2
  118. package/dist/components/{p-b9b8697d.js → p-2309fb19.js} +2 -2
  119. package/dist/components/{p-95e51bef.js → p-241a8245.js} +1 -1
  120. package/dist/components/{p-402db72e.js → p-2447a26f.js} +2 -2
  121. package/dist/components/{p-4a84c913.js → p-28170a8d.js} +9 -9
  122. package/dist/components/{p-86f18b68.js → p-294cda89.js} +3 -3
  123. package/dist/components/{p-cd790a43.js → p-2a65883d.js} +1 -1
  124. package/dist/components/{p-020800ee.js → p-39e8b34a.js} +1 -1
  125. package/dist/components/{p-8f381eef.js → p-3e58e0f3.js} +1 -1
  126. package/dist/components/{p-c8583d9b.js → p-43d6a221.js} +2 -2
  127. package/dist/components/{p-828db489.js → p-45220ce9.js} +2 -2
  128. package/dist/components/{p-011adf66.js → p-46d99dd9.js} +2 -2
  129. package/dist/components/{p-578d73e5.js → p-48acb953.js} +1 -1
  130. package/dist/components/{p-89cfd513.js → p-4902c5cf.js} +1 -1
  131. package/dist/components/{p-40589702.js → p-4aede34c.js} +1 -1
  132. package/dist/components/{p-0e80bae4.js → p-4e5a54c2.js} +10 -10
  133. package/dist/components/{p-5b66b8f3.js → p-4ebf9684.js} +1 -1
  134. package/dist/components/{p-28d51137.js → p-540d8eb9.js} +1 -1
  135. package/dist/components/{p-4bfb4f60.js → p-5476e3f3.js} +2 -2
  136. package/dist/components/{p-40b1fef2.js → p-5669b6e7.js} +4 -4
  137. package/dist/components/{p-9d40e041.js → p-598dc3f2.js} +2 -2
  138. package/dist/components/{p-ea6b5bf5.js → p-616ae7ab.js} +2 -2
  139. package/dist/components/{p-9c3ca56e.js → p-6739a399.js} +2 -2
  140. package/dist/components/{p-597543af.js → p-713c7ed7.js} +3 -3
  141. package/dist/components/{p-966273a8.js → p-7148ec6a.js} +1 -1
  142. package/dist/components/{p-ce77fdfc.js → p-761c0e78.js} +1 -1
  143. package/dist/components/{p-a0a0867a.js → p-7f489600.js} +1 -1
  144. package/dist/components/{p-520dccab.js → p-819cb785.js} +1 -1
  145. package/dist/components/{p-9936031d.js → p-85872241.js} +20 -20
  146. package/dist/components/{p-2e3c0084.js → p-89025409.js} +3 -3
  147. package/dist/components/{p-bed61d79.js → p-8cfdac0d.js} +5 -5
  148. package/dist/components/{p-757856f4.js → p-8d6b21d5.js} +3 -3
  149. package/dist/components/{p-35af8a84.js → p-a25f3aca.js} +2 -2
  150. package/dist/components/{p-5f0f8967.js → p-a51db0d6.js} +16 -16
  151. package/dist/components/{p-c544502e.js → p-a73665b4.js} +4 -4
  152. package/dist/components/{p-b3447e0c.js → p-a8a6496d.js} +1 -1
  153. package/dist/components/{p-5739b5f1.js → p-af3b99f4.js} +2 -2
  154. package/dist/components/{p-53332481.js → p-b6781e91.js} +12 -12
  155. package/dist/components/{p-11a16ac3.js → p-bb4983b8.js} +2 -2
  156. package/dist/components/{p-3a1dbc0d.js → p-c334f0e5.js} +2 -2
  157. package/dist/components/{p-d2ce1170.js → p-cf8f725b.js} +1 -1
  158. package/dist/components/{p-157c1dc9.js → p-d765dbe4.js} +6 -6
  159. package/dist/components/{p-2eb35b99.js → p-da9018ea.js} +6 -6
  160. package/dist/components/{p-0ca31fce.js → p-dc3143c0.js} +2 -2
  161. package/dist/components/{p-ab842e10.js → p-e0510925.js} +1 -1
  162. package/dist/components/p-e7e2156a.js +375 -0
  163. package/dist/components/{p-09d1805e.js → p-eeb37b16.js} +1 -1
  164. package/dist/components/{p-d3588666.js → p-fa476519.js} +5 -5
  165. package/dist/components/{p-85990be7.js → p-fb836f65.js} +1 -1
  166. package/dist/components/{p-668f57d0.js → p-fb900e8f.js} +2 -2
  167. package/dist/components/rtk-ai-toggle.js +2 -2
  168. package/dist/components/rtk-ai-transcriptions.js +1 -1
  169. package/dist/components/rtk-ai.js +1 -1
  170. package/dist/components/rtk-audio-grid.js +1 -1
  171. package/dist/components/rtk-audio-tile.js +2 -2
  172. package/dist/components/rtk-avatar.js +1 -1
  173. package/dist/components/rtk-breakout-room-manager.js +1 -1
  174. package/dist/components/rtk-breakout-room-participants.js +1 -1
  175. package/dist/components/rtk-breakout-rooms-manager.js +1 -1
  176. package/dist/components/rtk-breakout-rooms-toggle.js +2 -2
  177. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  178. package/dist/components/rtk-camera-toggle.js +3 -3
  179. package/dist/components/rtk-caption-toggle.js +2 -2
  180. package/dist/components/rtk-channel-creator.js +4 -4
  181. package/dist/components/rtk-channel-details.js +1 -1
  182. package/dist/components/rtk-channel-header.js +4 -4
  183. package/dist/components/rtk-channel-selector-ui.js +4 -4
  184. package/dist/components/rtk-channel-selector-view.js +1 -1
  185. package/dist/components/rtk-chat-composer-ui.js +4 -4
  186. package/dist/components/rtk-chat-composer-view.js +1 -1
  187. package/dist/components/rtk-chat-message.js +1 -1
  188. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  189. package/dist/components/rtk-chat-messages-ui.js +14 -14
  190. package/dist/components/rtk-chat-search-results.js +11 -11
  191. package/dist/components/rtk-chat-toggle.js +30 -26
  192. package/dist/components/rtk-chat.js +1 -1
  193. package/dist/components/rtk-clock.js +3 -3
  194. package/dist/components/rtk-confirmation-modal.js +1 -1
  195. package/dist/components/rtk-controlbar-button.js +1 -1
  196. package/dist/components/rtk-controlbar.js +1 -1
  197. package/dist/components/rtk-counter.js +1 -1
  198. package/dist/components/rtk-debugger-toggle.js +3 -3
  199. package/dist/components/rtk-dialog-manager.js +13 -13
  200. package/dist/components/rtk-draft-attachment-view.js +1 -1
  201. package/dist/components/rtk-emoji-picker-button.js +1 -1
  202. package/dist/components/rtk-emoji-picker.js +1 -1
  203. package/dist/components/rtk-file-dropzone.js +1 -1
  204. package/dist/components/rtk-file-message-view.js +1 -1
  205. package/dist/components/rtk-file-message.js +1 -1
  206. package/dist/components/rtk-file-picker-button.js +1 -1
  207. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  208. package/dist/components/rtk-grid-pagination.js +1 -1
  209. package/dist/components/rtk-grid.js +4 -4
  210. package/dist/components/rtk-header.js +1 -1
  211. package/dist/components/rtk-idle-screen.js +2 -2
  212. package/dist/components/rtk-image-message-view.js +1 -1
  213. package/dist/components/rtk-image-message.js +1 -1
  214. package/dist/components/rtk-image-viewer.js +1 -1
  215. package/dist/components/rtk-information-tooltip.js +1 -1
  216. package/dist/components/rtk-leave-button.js +3 -3
  217. package/dist/components/rtk-leave-meeting.js +1 -1
  218. package/dist/components/rtk-livestream-player.js +1 -1
  219. package/dist/components/rtk-livestream-toggle.js +2 -2
  220. package/dist/components/rtk-markdown-view.js +1 -1
  221. package/dist/components/rtk-meeting-title.js +1 -1
  222. package/dist/components/rtk-meeting.js +21 -21
  223. package/dist/components/rtk-menu-item.js +1 -1
  224. package/dist/components/rtk-menu-list.js +1 -1
  225. package/dist/components/rtk-menu.js +1 -1
  226. package/dist/components/rtk-message-list-view.js +4 -4
  227. package/dist/components/rtk-message-view.js +1 -1
  228. package/dist/components/rtk-mic-toggle.js +3 -3
  229. package/dist/components/rtk-mixed-grid.js +3 -3
  230. package/dist/components/rtk-more-toggle.js +4 -4
  231. package/dist/components/rtk-mute-all-button.js +3 -3
  232. package/dist/components/rtk-mute-all-confirmation.js +1 -1
  233. package/dist/components/rtk-notification.js +1 -1
  234. package/dist/components/rtk-notifications.js +1 -1
  235. package/dist/components/rtk-overlay-modal.js +1 -1
  236. package/dist/components/rtk-paginated-list.js +1 -1
  237. package/dist/components/rtk-participant-setup.js +2 -2
  238. package/dist/components/rtk-participant.js +1 -1
  239. package/dist/components/rtk-participants-audio.js +1 -1
  240. package/dist/components/rtk-participants-stage-list.js +1 -1
  241. package/dist/components/rtk-participants-stage-queue.js +1 -1
  242. package/dist/components/rtk-participants-toggle.js +2 -2
  243. package/dist/components/rtk-participants-viewer-list.js +1 -1
  244. package/dist/components/rtk-participants-waiting-list.js +1 -1
  245. package/dist/components/rtk-participants.js +11 -11
  246. package/dist/components/rtk-permissions-message.js +1 -1
  247. package/dist/components/rtk-pip-toggle.js +2 -2
  248. package/dist/components/rtk-plugins-toggle.js +2 -2
  249. package/dist/components/rtk-plugins.js +1 -1
  250. package/dist/components/rtk-poll-form.js +1 -1
  251. package/dist/components/rtk-poll.js +1 -1
  252. package/dist/components/rtk-polls-toggle.js +2 -2
  253. package/dist/components/rtk-polls.js +1 -1
  254. package/dist/components/rtk-recording-indicator.js +1 -1
  255. package/dist/components/rtk-recording-toggle.js +2 -2
  256. package/dist/components/rtk-screen-share-toggle.js +3 -3
  257. package/dist/components/rtk-screenshare-view.js +6 -6
  258. package/dist/components/rtk-settings-audio.js +1 -1
  259. package/dist/components/rtk-settings-toggle.js +3 -3
  260. package/dist/components/rtk-settings-video.js +1 -1
  261. package/dist/components/rtk-settings.js +3 -3
  262. package/dist/components/rtk-setup-screen.js +1 -1
  263. package/dist/components/rtk-sidebar.js +5 -5
  264. package/dist/components/rtk-spinner.js +1 -1
  265. package/dist/components/rtk-spotlight-grid.js +2 -2
  266. package/dist/components/rtk-spotlight-indicator.js +1 -1
  267. package/dist/components/rtk-stage-toggle.js +3 -3
  268. package/dist/components/rtk-stage.js +1 -1
  269. package/dist/components/rtk-switch.js +1 -1
  270. package/dist/components/rtk-tab-bar.js +1 -1
  271. package/dist/components/rtk-text-composer-view.js +1 -1
  272. package/dist/components/rtk-text-message-view.js +1 -1
  273. package/dist/components/rtk-text-message.js +1 -1
  274. package/dist/components/rtk-tooltip.js +1 -1
  275. package/dist/components/rtk-transcript.js +1 -1
  276. package/dist/components/rtk-transcripts.js +1 -1
  277. package/dist/components/rtk-virtualized-participant-list.js +1 -1
  278. package/dist/components/rtk-waiting-screen.js +1 -1
  279. package/dist/docs/docs-components.json +44 -33
  280. package/dist/esm/loader.js +383 -354
  281. package/dist/esm/realtimekit-ui.js +1 -1
  282. package/dist/esm/rtk-ai-transcriptions.entry.js +1 -1
  283. package/dist/esm/rtk-audio-grid.entry.js +1 -1
  284. package/dist/esm/rtk-audio-visualizer_4.entry.js +1 -1
  285. package/dist/esm/rtk-avatar_24.entry.js +255 -232
  286. package/dist/esm/rtk-breakout-room-manager_3.entry.js +4 -4
  287. package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +8 -8
  288. package/dist/esm/rtk-channel-creator.entry.js +2 -2
  289. package/dist/esm/rtk-channel-details.entry.js +1 -1
  290. package/dist/esm/rtk-channel-selector-ui.entry.js +2 -2
  291. package/dist/esm/rtk-chat-message.entry.js +2 -2
  292. package/dist/esm/rtk-chat-messages-ui.entry.js +3 -3
  293. package/dist/esm/rtk-chat-search-results.entry.js +1 -1
  294. package/dist/esm/rtk-chat-toggle.entry.js +27 -22
  295. package/dist/esm/rtk-clock.entry.js +3 -3
  296. package/dist/esm/rtk-controlbar.entry.js +1 -1
  297. package/dist/esm/rtk-debugger-toggle.entry.js +1 -1
  298. package/dist/esm/rtk-file-dropzone.entry.js +1 -1
  299. package/dist/esm/rtk-file-message_3.entry.js +8 -8
  300. package/dist/esm/rtk-header.entry.js +1 -1
  301. package/dist/esm/rtk-idle-screen.entry.js +1 -1
  302. package/dist/esm/rtk-image-viewer.entry.js +1 -1
  303. package/dist/esm/rtk-information-tooltip.entry.js +1 -1
  304. package/dist/esm/rtk-leave-button.entry.js +1 -1
  305. package/dist/esm/rtk-message-list-view.entry.js +3 -3
  306. package/dist/esm/rtk-more-toggle.entry.js +2 -2
  307. package/dist/esm/rtk-notification.entry.js +2 -2
  308. package/dist/esm/rtk-participant-setup.entry.js +2 -2
  309. package/dist/esm/rtk-participant_2.entry.js +14 -14
  310. package/dist/esm/rtk-participants-audio.entry.js +1 -1
  311. package/dist/esm/rtk-participants-stage-list_4.entry.js +1 -1
  312. package/dist/esm/rtk-plugins_2.entry.js +4 -4
  313. package/dist/esm/rtk-poll_2.entry.js +3 -3
  314. package/dist/esm/rtk-recording-indicator.entry.js +1 -1
  315. package/dist/esm/rtk-screenshare-view.entry.js +5 -5
  316. package/dist/esm/rtk-settings-toggle.entry.js +1 -1
  317. package/dist/esm/rtk-spotlight-grid.entry.js +2 -2
  318. package/dist/esm/rtk-stage.entry.js +1 -1
  319. package/dist/esm/rtk-transcript.entry.js +1 -1
  320. package/dist/esm/rtk-waiting-screen.entry.js +1 -1
  321. package/dist/realtimekit-ui/{p-7660a4c1.entry.js → p-00445029.entry.js} +1 -1
  322. package/dist/realtimekit-ui/{p-bb369808.entry.js → p-02c6b025.entry.js} +1 -1
  323. package/dist/realtimekit-ui/{p-0fed7daa.entry.js → p-0baa78d7.entry.js} +1 -1
  324. package/dist/realtimekit-ui/p-19587963.entry.js +1 -0
  325. package/dist/realtimekit-ui/{p-0e2d6b1b.entry.js → p-1fe6003b.entry.js} +1 -1
  326. package/dist/realtimekit-ui/p-21d4bb9c.entry.js +1 -0
  327. package/dist/realtimekit-ui/{p-87f3b9a6.entry.js → p-2441260e.entry.js} +1 -1
  328. package/dist/realtimekit-ui/{p-4822dc9f.entry.js → p-322957ed.entry.js} +1 -1
  329. package/dist/realtimekit-ui/{p-f42c50db.entry.js → p-323d1aa4.entry.js} +1 -1
  330. package/dist/realtimekit-ui/p-421e4c6f.entry.js +1 -0
  331. package/dist/realtimekit-ui/{p-39410e81.entry.js → p-44d69c6b.entry.js} +1 -1
  332. package/dist/realtimekit-ui/p-48c87789.entry.js +1 -0
  333. package/dist/realtimekit-ui/{p-cea6c6ac.entry.js → p-53680d55.entry.js} +1 -1
  334. package/dist/realtimekit-ui/p-54a88fdf.entry.js +1 -0
  335. package/dist/realtimekit-ui/{p-9cab7a57.entry.js → p-5892c1e0.entry.js} +1 -1
  336. package/dist/realtimekit-ui/{p-73f489be.entry.js → p-612a8d25.entry.js} +1 -1
  337. package/dist/realtimekit-ui/p-64206b62.entry.js +1 -0
  338. package/dist/realtimekit-ui/{p-a62e84f9.entry.js → p-67ead213.entry.js} +1 -1
  339. package/dist/realtimekit-ui/{p-f2ce302b.entry.js → p-6896e819.entry.js} +1 -1
  340. package/dist/realtimekit-ui/{p-fea05f1c.entry.js → p-7a9a226e.entry.js} +1 -1
  341. package/dist/realtimekit-ui/{p-9cad5a6d.entry.js → p-80e51a73.entry.js} +1 -1
  342. package/dist/realtimekit-ui/p-820dad23.entry.js +1 -0
  343. package/dist/realtimekit-ui/{p-61d3e2d4.entry.js → p-85b3c0c4.entry.js} +1 -1
  344. package/dist/realtimekit-ui/{p-0c071f00.entry.js → p-8778b3e6.entry.js} +1 -1
  345. package/dist/realtimekit-ui/p-a1408db4.entry.js +1 -0
  346. package/dist/realtimekit-ui/{p-c50f4cab.entry.js → p-a67e2a25.entry.js} +1 -1
  347. package/dist/realtimekit-ui/{p-3e12d77a.entry.js → p-a680da64.entry.js} +1 -1
  348. package/dist/realtimekit-ui/{p-bd226f59.entry.js → p-a7172c2d.entry.js} +1 -1
  349. package/dist/realtimekit-ui/{p-cda80e2c.entry.js → p-a852e0cf.entry.js} +1 -1
  350. package/dist/realtimekit-ui/{p-9dcd9e30.entry.js → p-ac6c8ebe.entry.js} +1 -1
  351. package/dist/realtimekit-ui/{p-1dfe0269.entry.js → p-b25f7d7b.entry.js} +1 -1
  352. package/dist/realtimekit-ui/{p-2c71cc53.entry.js → p-b51e813e.entry.js} +1 -1
  353. package/dist/realtimekit-ui/{p-dded6ad0.entry.js → p-be5bdd0a.entry.js} +1 -1
  354. package/dist/realtimekit-ui/p-c5f704a3.entry.js +1 -0
  355. package/dist/realtimekit-ui/{p-d7a78f65.entry.js → p-cc226b51.entry.js} +1 -1
  356. package/dist/realtimekit-ui/{p-a25bb0ad.entry.js → p-cda276d6.entry.js} +1 -1
  357. package/dist/realtimekit-ui/p-d880fb69.entry.js +1 -0
  358. package/dist/realtimekit-ui/{p-a867b984.entry.js → p-f6c82f1b.entry.js} +1 -1
  359. package/dist/realtimekit-ui/p-fa86682c.entry.js +1 -0
  360. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  361. package/dist/types/components/rtk-chat-toggle/rtk-chat-toggle.d.ts +4 -6
  362. package/dist/types/components/rtk-paginated-list/rtk-paginated-list.d.ts +68 -53
  363. package/dist/types/components.d.ts +9 -5
  364. package/package.json +1 -1
  365. package/dist/components/p-78f91ffe.js +0 -357
  366. package/dist/realtimekit-ui/p-02889d02.entry.js +0 -1
  367. package/dist/realtimekit-ui/p-09fb29e7.entry.js +0 -1
  368. package/dist/realtimekit-ui/p-260fc2ed.entry.js +0 -1
  369. package/dist/realtimekit-ui/p-32211408.entry.js +0 -1
  370. package/dist/realtimekit-ui/p-48c76360.entry.js +0 -1
  371. package/dist/realtimekit-ui/p-4d31d165.entry.js +0 -1
  372. package/dist/realtimekit-ui/p-51c72bc8.entry.js +0 -1
  373. package/dist/realtimekit-ui/p-b58dc07c.entry.js +0 -1
  374. package/dist/realtimekit-ui/p-c96e2a96.entry.js +0 -1
  375. package/dist/realtimekit-ui/p-d194317d.entry.js +0 -1
  376. package/dist/realtimekit-ui/p-ff9bc5b0.entry.js +0 -1
@@ -0,0 +1,375 @@
1
+ import { p as proxyCustomElement, H, w as writeTask, h, e as Host } from './p-c3592601.js';
2
+ import { e as defaultIconPack, i as useLanguage } from './p-e847fee9.js';
3
+ import { S as SyncWithStore } from './p-6f7c46d2.js';
4
+ import { d as defineCustomElement$3 } from './p-1391bef0.js';
5
+ import { d as defineCustomElement$2 } from './p-3b29dda1.js';
6
+ import { d as defineCustomElement$1 } from './p-4ebf9684.js';
7
+ import { d as debounce } from './p-1dca17d1.js';
8
+
9
+ const rtkPaginatedListCss = ".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;display:flex;flex-direction:column;flex:1}.container{box-sizing:border-box;display:flex;flex-direction:column-reverse;padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);flex:1 0 0px;overflow-y:scroll}.file-picker{display:none}.chat *:first-child{margin-top:var(--rtk-space-0, 0px)}.chat .head{display:flex;align-items:center}.chat .head .name{margin-right:var(--rtk-space-4, 16px);font-size:12px;font-weight:700}.chat .head .time{font-size:12px;color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.chat .body{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);overflow-wrap:break-word;font-size:14px;line-height:1.375}.chat .body .emoji{font-size:24px}p{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-3, 12px)}rtk-text-message,rtk-image-message,rtk-file-message{margin-top:var(--rtk-space-4, 16px);display:block;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);font-family:var(--rtk-font-family, sans-serif);color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));box-sizing:border-box}*[is-continued]{margin-top:var(--rtk-space-3, 12px)}rtk-text-message[is-continued]{margin-top:var(--rtk-space-2, 8px)}.chat .image{position:relative;height:var(--rtk-space-40, 160px);max-width:var(--rtk-space-64, 256px);cursor:pointer}.chat .image img{display:none;height:100%;width:100%;border-radius:var(--rtk-border-radius-sm, 4px);-o-object-fit:cover;object-fit:cover}.chat .image .image-spinner{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content: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))}.chat .image .image-spinner rtk-spinner{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}.chat .image .image-errored{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center;border-radius:var(--rtk-border-radius-sm, 4px);background-color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.1);--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}.chat .image .actions{display:none;height:var(--rtk-space-8, 32px);align-items:center;position:absolute;top:var(--rtk-space-2, 8px);right:var(--rtk-space-2, 8px);border-radius:var(--rtk-border-radius-sm, 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));overflow:hidden;--tw-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.chat .image .actions .action{height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);border-radius:var(--rtk-border-radius-none, 0);border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.chat .image .actions .action:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.image.loaded img{display:block}.image.loaded .image-spinner{display:none}.image:hover .actions,.image:focus .actions{display:flex}.chat .file{display:flex;align-items:center;gap:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);padding-top:var(--rtk-space-1\\.5, 6px);padding-bottom:var(--rtk-space-1\\.5, 6px);border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.chat .file .file-data{flex:1 1 0%}.chat .file .file-data .name{word-break:break-all;color:rgb(var(--rtk-colors-text-1000, 255 255 255));overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.chat .file .file-data .file-data-split{margin-top:var(--rtk-space-0\\.5, 2px);display:flex;align-items:center;font-size:12px}.chat .file .file-data .file-data-split .ext{margin-right:var(--rtk-space-2, 8px);text-transform:uppercase;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.chat .file .file-data .file-data-split .divider{height:var(--rtk-space-4, 16px);width:var(--rtk-space-0\\.5, 2px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.chat .file .file-data .file-data-split .size{margin-left:var(--rtk-space-2, 8px)}.smallest-dom-element{width:1px}#top-scroll{transform:translateY(20vh);transform:translateY(20px)}a{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity));text-decoration-line:none}a:hover{text-decoration-line:underline}.show-new-messages-ctr{position:absolute;bottom:var(--rtk-space-4, 16px);right:var(--rtk-space-4, 16px);z-index:10;margin-top:calc(var(--rtk-space-14, 56px) * -1);--tw-translate-y:var(--rtk-space-28, 112px);transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.show-new-messages-ctr.active{--tw-translate-y:var(--rtk-space-0, 0px);transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:pointer;opacity:1}.show-new-messages{pointer-events:auto;border-radius:9999px}.show-new-messages:hover{border-radius:9999px;--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(2px + 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);--tw-ring-opacity:1;--tw-ring-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-ring-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}rtk-spinner,.empty-list{margin:auto}.page-wrapper{margin-left:var(--rtk-space-1, 4px);margin-right:var(--rtk-space-1, 4px);display:flex;flex-direction:column-reverse}.message-wrapper{margin-bottom:var(--rtk-space-2, 8px)}.pinned .message-wrapper{position:relative}.pinned .pin-icon{position:absolute;right:calc(var(--rtk-space-1, 4px) * -1);top:calc(var(--rtk-space-1, 4px) * -1);display:flex;border-radius:var(--rtk-border-radius-sm, 4px)}.pinned rtk-message-view{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px)}.load-more-on-top-container{pointer-events:none;position:absolute;top:var(--rtk-space-2, 8px);right:var(--rtk-space-4, 16px);z-index:10}.load-more-icon{pointer-events:auto;border-radius:9999px}.load-more-icon:hover{--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(2px + 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);--tw-ring-opacity:1;--tw-ring-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-ring-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}";
10
+ const RtkPaginatedListStyle0 = rtkPaginatedListCss;
11
+
12
+ /**
13
+ * HOW INFINITE SCROLL WORKS:
14
+ *
15
+ * We use intersectionObserver to scroll up.
16
+ * We use scrollEnd listener to scroll down.
17
+ *
18
+ * Why?
19
+ * intersectionObserver doesn't work reliably for 2 way scrolling but has great ux,
20
+ * so we use it to smoothly scroll up.
21
+ *
22
+ * We have empty divs at the top and bottom ($topRef, $bottomRef)
23
+ * which act as triggers to tell that we have reached the top or end of our messages and need to fetch new messages,
24
+ *
25
+ * When scrolling up, we can't remove pages as intersectionObserver relies on
26
+ * the index of dom elements to work properly.
27
+ * So instead, we fetch older messages and push them to the end of the 2d array
28
+ * if length exceeds pagesAllowed, we free up the pages and keep the first empty index in memory (firstEmptyIndex).
29
+ *
30
+ * For scrolling down, when scroll ends we see if the bottomRef is in view.
31
+ * If yes, we fetch the new page and insert it at the firstEmptyIndex.
32
+ * We update timestamps & firstEmptyIndex, then we rerender.
33
+ *
34
+ * If we have exceeded our page allowance we delete old pages.
35
+ *
36
+ * In this case deleting pages is okay as we are not relying on the index of dom elements to detect page end.
37
+ *
38
+ * This also simplifies the code because when a user scrolls up we do not need to manage a lastEmptyIndex.
39
+ */
40
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
41
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
42
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
43
+ r = Reflect.decorate(decorators, target, key, desc);
44
+ else
45
+ for (var i = decorators.length - 1; i >= 0; i--)
46
+ if (d = decorators[i])
47
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
48
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
49
+ };
50
+ const RtkPaginatedList = /*@__PURE__*/ proxyCustomElement(class RtkPaginatedList extends H {
51
+ constructor() {
52
+ super();
53
+ this.__registerHost();
54
+ this.__attachShadow();
55
+ /**
56
+ * when scrolling up, we can't remove pages as intersectionObserver relies on
57
+ * the index of dom elements to stay stable.
58
+ * So, instead we free up the pages and keep the last empty index in memory.
59
+ */
60
+ this.firstEmptyIndex = -1;
61
+ this.maxTS = 0;
62
+ // the length of pages will always be pageSize + 2
63
+ this.pages = [];
64
+ /** label to show when empty */
65
+ this.emptyListLabel = null;
66
+ this.rerenderBoolean = false;
67
+ this.showEmptyListLabel = false;
68
+ /** Icon pack */
69
+ this.iconPack = defaultIconPack;
70
+ /** Language */
71
+ this.t = useLanguage();
72
+ this.isLoading = false;
73
+ this.isLoadingTop = false;
74
+ this.isLoadingBottom = false;
75
+ /**
76
+ * Even when auto scroll is enabled, we only want to scroll if a new realtime message has arrived.
77
+ * This variable tells us if we should respect auto scroll after a new page has been loaded.
78
+ * It is also used by the scroll to bottom button.
79
+ * */
80
+ this.shouldScrollToBottom = false;
81
+ /** UI Indicator for the "scroll to bottom" button.
82
+ * Toggles on when a new node is added and autoscroll is disabled.
83
+ * Toggles off when all nodes are loaded */
84
+ this.showNewMessagesCTR = false;
85
+ this.observe = (el) => {
86
+ if (!el)
87
+ return;
88
+ this.intersectionObserver.observe(el);
89
+ };
90
+ this.isAtBottom = () => {
91
+ const rect = this.$bottomRef.getBoundingClientRect();
92
+ return rect.top >= 0 && rect.bottom <= window.innerHeight;
93
+ };
94
+ }
95
+ /**
96
+ * Adds a new node to the beginning of the paginated list
97
+ * @param {DataNode} node - The data node to add to the beginning of the list
98
+ */
99
+ async onNewNode(node) {
100
+ // Always update the maxTS. New messages will load on scroll till the end cursor (newTS) reaches this value.
101
+ this.maxTS = Math.max(this.maxTS, node.timeMs);
102
+ // if we are at the bottom of the page
103
+ if (this.firstEmptyIndex === -1) {
104
+ // if there are no pages, load the first page
105
+ if (this.pages.length < 1) {
106
+ // update old timer to 1ms ahead of the latest message as we subtract this value to avoid loading duplicate messages when scrolling
107
+ this.oldTS = node.timeMs + 1;
108
+ this.loadPrevPage();
109
+ }
110
+ else {
111
+ // append messages to the page if page has not reached full capacity
112
+ if (this.pages[0].length < this.pageSize) {
113
+ this.pages[0].unshift(node);
114
+ this.newTS = node.timeMs;
115
+ this.rerender();
116
+ }
117
+ else {
118
+ // if page is at full capacity, load next page
119
+ this.loadNextPage();
120
+ }
121
+ }
122
+ }
123
+ // If autoscroll is enabled, this method will scroll to the bottom
124
+ if (this.autoScroll) {
125
+ this.shouldScrollToBottom = true;
126
+ this.scrollToBottom();
127
+ }
128
+ else {
129
+ this.showNewMessagesCTR = true;
130
+ }
131
+ }
132
+ // this method is called recursively based on shouldScrollToBottom (see scrollEnd listener)
133
+ scrollToBottom() {
134
+ this.$bottomRef.scrollIntoView({ behavior: 'smooth' });
135
+ }
136
+ /**
137
+ * Deletes a node anywhere from the list
138
+ * @param {string} id - The id of the node to delete
139
+ * */
140
+ async onNodeDelete(id) {
141
+ // Iterate only over pages that have content (not empty)
142
+ for (let i = this.pages.length - 1; i > this.firstEmptyIndex; i--) {
143
+ const index = this.pages[i].findIndex((node) => node.id === id);
144
+ // message in view
145
+ if (index !== -1) {
146
+ // delete message
147
+ this.pages[i].splice(index, 1);
148
+ // if we are on the first page and it's now empty, we need to go back to initial state
149
+ if (i === 0 && this.pages[i].length === 0) {
150
+ this.pages.shift();
151
+ this.firstEmptyIndex = -1;
152
+ }
153
+ else if (i === this.firstEmptyIndex + 1) {
154
+ // if newest page is empty, update first empty index
155
+ if (this.pages[i].length === 0)
156
+ this.firstEmptyIndex++;
157
+ // update timestamp, first empty index could be -1, so we need to cap it at 0
158
+ this.newTS = this.pages[Math.max(this.firstEmptyIndex, 0)][0].timeMs;
159
+ }
160
+ else if (i === this.firstEmptyIndex + this.pagesAllowed) {
161
+ // if oldest page is empty, remove it
162
+ if (this.pages[i].length === 0)
163
+ this.pages.pop();
164
+ // update timestamp
165
+ const lastPage = this.pages[this.firstEmptyIndex + this.pagesAllowed];
166
+ this.oldTS = lastPage[lastPage.length - 1].timeMs;
167
+ }
168
+ this.rerender();
169
+ }
170
+ }
171
+ }
172
+ /**
173
+ * Updates a new node anywhere in the list
174
+ * @param {string} _id - The id of the node to update
175
+ * @param {DataNode} _node - The updated data node
176
+ * */
177
+ async onNodeUpdate(_id, _node) { }
178
+ rerender() {
179
+ this.rerenderBoolean = !this.rerenderBoolean;
180
+ }
181
+ connectedCallback() {
182
+ this.rerender = debounce(this.rerender.bind(this), 50, { maxWait: 200 });
183
+ this.intersectionObserver = new IntersectionObserver((entries) => {
184
+ writeTask(async () => {
185
+ for (const entry of entries) {
186
+ if (entry.target.id === 'top-scroll' && entry.isIntersecting) {
187
+ this.isLoadingTop = true;
188
+ await this.loadPrevPage();
189
+ this.isLoadingTop = false;
190
+ }
191
+ }
192
+ });
193
+ });
194
+ }
195
+ componentDidLoad() {
196
+ this.observe(this.$topRef);
197
+ if (this.$containerRef) {
198
+ this.$containerRef.onscrollend = async () => {
199
+ /**
200
+ * Load new page if:
201
+ * if there are nodes to load at the bottom (maxTS > newTS)
202
+ * or if there are pages to fill at the bottom (firstEmptyIndex > -1)
203
+ */
204
+ if (this.isAtBottom() && (this.maxTS > this.newTS || this.firstEmptyIndex > -1)) {
205
+ this.isLoadingBottom = true;
206
+ await this.loadNextPage();
207
+ this.isLoadingBottom = false;
208
+ if (this.shouldScrollToBottom)
209
+ this.scrollToBottom();
210
+ }
211
+ };
212
+ }
213
+ }
214
+ async loadPrevPage() {
215
+ if (this.isLoading)
216
+ return;
217
+ /**
218
+ * NOTE(ikabra): this case also runs on initial load
219
+ * if scrolling up ->
220
+ * fetch older messages and push to the end of the array
221
+ * cleanup 1st non empty page from the array if length exceeds pagesAllowed
222
+ */
223
+ // if no old timestamp, it means we are at initial state
224
+ if (!this.oldTS)
225
+ this.oldTS = new Date().getTime();
226
+ // load data
227
+ this.isLoading = true;
228
+ const data = await this.fetchData(this.oldTS - 1, this.pageSize, true);
229
+ this.isLoading = false;
230
+ // no more old messages to show, we are at the top of the page
231
+ if (!data.length)
232
+ return;
233
+ // add old data to the end of the array
234
+ this.pages.push(data);
235
+ // clear old pages when we reach the limit
236
+ if (this.pages.length > this.pagesAllowed) {
237
+ this.pages[this.pages.length - this.pagesAllowed - 1] = [];
238
+ /**
239
+ * find last non empty page in range (this.pages.length, this.firstEmptyIndex)
240
+ * we are doing this because any of the middle pages in the currently rendered pages
241
+ * could be empty as we allow deleting messages.
242
+ * This helps us set the first empty index correctly.
243
+ */
244
+ for (let i = this.firstEmptyIndex + 1; i < this.pages.length; i++) {
245
+ if (this.pages[i].length > 0)
246
+ break;
247
+ this.firstEmptyIndex = i;
248
+ }
249
+ }
250
+ // update the old timestamp
251
+ const lastPage = this.pages[this.pages.length - 1];
252
+ this.oldTS = lastPage[lastPage.length - 1].timeMs;
253
+ // update the new timestamp
254
+ this.newTS = this.pages[this.firstEmptyIndex + 1][0].timeMs;
255
+ this.rerender();
256
+ }
257
+ async loadNextPage() {
258
+ if (this.isLoading)
259
+ return;
260
+ // new timestamp needs to be assigned by loadPrevPage method
261
+ if (!this.newTS) {
262
+ this.showNewMessagesCTR = false;
263
+ this.shouldScrollToBottom = false;
264
+ return;
265
+ }
266
+ // load data
267
+ this.isLoading = true;
268
+ const data = await this.fetchData(this.newTS + 1, this.pageSize, false);
269
+ this.isLoading = false;
270
+ // no more new messages to load
271
+ if (!data.length) {
272
+ this.showNewMessagesCTR = false;
273
+ this.shouldScrollToBottom = false;
274
+ // remove extra pages from the start if any (could be due to users deleting messages)
275
+ this.pages = this.pages.filter((page) => page.length > 0);
276
+ this.firstEmptyIndex = -1;
277
+ return;
278
+ }
279
+ // when filling empty pages
280
+ if (this.firstEmptyIndex > -1) {
281
+ this.pages[this.firstEmptyIndex] = data.reverse();
282
+ }
283
+ else {
284
+ // when already at the bottom and loading messages in realtime
285
+ this.pages.unshift(data.reverse());
286
+ }
287
+ if (this.pages.length > this.pagesAllowed) {
288
+ this.pages.pop();
289
+ }
290
+ // smallest value for firstEmptyIndex can be -1, so we cap the index at 0
291
+ this.newTS = this.pages[Math.max(0, this.firstEmptyIndex)][0].timeMs;
292
+ // remove all empty pages from the end
293
+ for (let i = this.pages.length - 1; i > this.firstEmptyIndex; i--) {
294
+ if (this.pages[i].length > 0)
295
+ break;
296
+ // if page is empty, remove it
297
+ this.pages.pop();
298
+ }
299
+ // update the old timestamp
300
+ const lastPage = this.pages[this.pages.length - 1];
301
+ this.oldTS = lastPage[lastPage.length - 1].timeMs;
302
+ // when scrolling too fast scroll a bit to the top to be able to load new messages when you scroll down
303
+ if (this.$containerRef.scrollTop === 0)
304
+ this.$containerRef.scrollTop = -60;
305
+ // smallest value for this index can be -1 (indicates we are at the bottom of the page).
306
+ this.firstEmptyIndex = Math.max(-1, this.firstEmptyIndex - 1);
307
+ this.rerender();
308
+ }
309
+ render() {
310
+ /**
311
+ * div.container is flex=column-reverse
312
+ * which is why div#bottom-scroll comes before div#top-scroll
313
+ */
314
+ return (h(Host, { key: '9bf695bccf42f2dd43b04725a855b6b77a4062fd' }, h("div", { key: '7c6805ed8b5e831ea6d932cfb5dc3ecf3d312775', class: "scrollbar container", part: "container", ref: (el) => (this.$containerRef = el) }, h("div", { key: 'eb6c68f97385b5a14a94ab2dc0abff4836f016f3', class: { 'show-new-messages-ctr': true, active: this.showNewMessagesCTR } }, h("rtk-button", { key: 'd1f04db290a9e4128ca58c9bd20b2146a7fc8f12', class: "show-new-messages", kind: "icon", variant: "secondary", part: "show-new-messages", onClick: () => {
315
+ this.shouldScrollToBottom = true;
316
+ this.scrollToBottom();
317
+ } }, h("rtk-icon", { key: '71d8a85911513bb4069578a63ae45f21ac53554c', icon: this.iconPack.chevron_down }))), h("div", { key: 'b1aa46b8163431df6060163d7c5a87eb1ebcffa3', class: "smallest-dom-element", id: "bottom-scroll", ref: (el) => (this.$bottomRef = el) }), this.isLoadingBottom && this.pages.length > 0 && h("rtk-spinner", { key: 'a3de0e7b8ca1ac505a596d86c0b8ecafee5fabba', size: "sm" }), this.isLoading && this.pages.length < 1 && h("rtk-spinner", { key: '21fa3a4091d3f1311f5d575c277859602718338c', size: "lg" }), !this.isLoading && this.pages.flat().length === 0 ? (h("div", { class: "empty-list" }, this.t('list.empty'))) : (h("div", { class: "page-wrapper" }, this.pages.map((page, pageIndex) => (h("div", { class: "page", "data-page-index": pageIndex }, this.createNodes([...page].reverse())))))), this.isLoadingTop && this.pages.length > 0 && h("rtk-spinner", { key: '7e018af534e7cd0be3345ca9ad9c8f0a7ab7cc3f', size: "sm" }), h("div", { key: '6c877368fc03c884338402bbcd878929cd4034fb', class: "smallest-dom-element", id: "top-scroll", ref: (el) => (this.$topRef = el) }))));
318
+ }
319
+ static get style() { return RtkPaginatedListStyle0; }
320
+ }, [1, "rtk-paginated-list", {
321
+ "pageSize": [2, "page-size"],
322
+ "pagesAllowed": [2, "pages-allowed"],
323
+ "emptyListLabel": [1, "empty-list-label"],
324
+ "fetchData": [16],
325
+ "createNodes": [16],
326
+ "selectedItemId": [1, "selected-item-id"],
327
+ "autoScroll": [4, "auto-scroll"],
328
+ "iconPack": [16],
329
+ "t": [16],
330
+ "rerenderBoolean": [32],
331
+ "showEmptyListLabel": [32],
332
+ "isLoading": [32],
333
+ "isLoadingTop": [32],
334
+ "isLoadingBottom": [32],
335
+ "onNewNode": [64],
336
+ "onNodeDelete": [64],
337
+ "onNodeUpdate": [64]
338
+ }]);
339
+ __decorate([
340
+ SyncWithStore()
341
+ ], RtkPaginatedList.prototype, "iconPack", void 0);
342
+ __decorate([
343
+ SyncWithStore()
344
+ ], RtkPaginatedList.prototype, "t", void 0);
345
+ function defineCustomElement() {
346
+ if (typeof customElements === "undefined") {
347
+ return;
348
+ }
349
+ const components = ["rtk-paginated-list", "rtk-button", "rtk-icon", "rtk-spinner"];
350
+ components.forEach(tagName => { switch (tagName) {
351
+ case "rtk-paginated-list":
352
+ if (!customElements.get(tagName)) {
353
+ customElements.define(tagName, RtkPaginatedList);
354
+ }
355
+ break;
356
+ case "rtk-button":
357
+ if (!customElements.get(tagName)) {
358
+ defineCustomElement$3();
359
+ }
360
+ break;
361
+ case "rtk-icon":
362
+ if (!customElements.get(tagName)) {
363
+ defineCustomElement$2();
364
+ }
365
+ break;
366
+ case "rtk-spinner":
367
+ if (!customElements.get(tagName)) {
368
+ defineCustomElement$1();
369
+ }
370
+ break;
371
+ } });
372
+ }
373
+ defineCustomElement();
374
+
375
+ export { RtkPaginatedList as R, defineCustomElement as d };
@@ -114,7 +114,7 @@ const RtkAiTranscriptions = /*@__PURE__*/ proxyCustomElement(class RtkAiTranscri
114
114
  });
115
115
  }
116
116
  render() {
117
- return (h(Host, { key: '4b1952a7b031b1e63720ed4a81b818552c82c251' }, h("div", { key: '729f8592ed12147024f378ac101963dd890e1006', class: "search-bar" }, h("input", { key: 'b3ca0a213da793723e7f807e5acec72b264b4667', type: "text", placeholder: "Search Participant", value: this.participantQuery, onInput: (e) => (this.participantQuery = e.target.value) })), this.isProcessing && (h("div", { key: '3fcd1d981d111f4b6969a0236c7de54b9172cd24', class: "processing" }, h("p", { key: 'dbe93a5790f62a9e6bb0621942af5125313012c7' }, "Processing audio...."))), !this.isProcessing && (h("div", { key: 'ef3e85da20cebf072ad4eddcafc3b46579d2534e', class: "content scrollbar", ref: (el) => (this.contentContainer = el) }, h("div", { key: '6af5b7c1e0222bb127e994fdc6505f71c84da5e0', class: "started-message" }, "Transcription started"), this.renderTranscripts()))));
117
+ return (h(Host, { key: '94f60db03785e266280aea971d3b998280840be2' }, h("div", { key: '0c709d7013ffd86748abc3a367e9cb504c2a37f5', class: "search-bar" }, h("input", { key: 'd98c6b1eb8835e59ed48d7a07bd12efbf72c9ae1', type: "text", placeholder: "Search Participant", value: this.participantQuery, onInput: (e) => (this.participantQuery = e.target.value) })), this.isProcessing && (h("div", { key: '041a08dd3e14b3d8c35d2d487d30a281f53338a0', class: "processing" }, h("p", { key: 'c4c90b39ca5ad0fd8161f0e3eb96aba38d959c6e' }, "Processing audio...."))), !this.isProcessing && (h("div", { key: '03bd5836324c9865d0e522d86e51701ec305f6ad', class: "content scrollbar", ref: (el) => (this.contentContainer = el) }, h("div", { key: '1df6f1b8cf06aa6f14d5700a7dfa86177bf3a752', class: "started-message" }, "Transcription started"), this.renderTranscripts()))));
118
118
  }
119
119
  static get watchers() { return {
120
120
  "meeting": ["meetingChanged"],
@@ -6,7 +6,7 @@ import { d as downloadFile } from './p-47314bc7.js';
6
6
  import { S as SyncWithStore } from './p-6f7c46d2.js';
7
7
  import { d as defineCustomElement$3 } from './p-1391bef0.js';
8
8
  import { d as defineCustomElement$2 } from './p-3b29dda1.js';
9
- import { d as defineCustomElement$1 } from './p-5b66b8f3.js';
9
+ import { d as defineCustomElement$1 } from './p-4ebf9684.js';
10
10
 
11
11
  const rtkImageMessageCss = ":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}";
12
12
  const RtkImageMessageStyle0 = rtkImageMessageCss;
@@ -39,10 +39,10 @@ const RtkImageMessage = /*@__PURE__*/ proxyCustomElement(class RtkImageMessage e
39
39
  this.status = 'loading';
40
40
  }
41
41
  render() {
42
- return (h(Host, { key: '91690b290bd0fb2af8a55bea018b8b9353d60396' }, !this.isContinued && (h(ChatHead, { key: 'ef3341005308c597a2f60ec4930f2f38cf81e20a', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: '96d5ad95a36ada5c67ffa93e718e89dbe2a97fbb', class: {
42
+ return (h(Host, { key: '4d83696c62cb30b3c50201c054aed059f9d087fb' }, !this.isContinued && (h(ChatHead, { key: 'b1f8ca2684e487f9f51106562af2fb7bb7d0ae5e', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: '0ffd97ca74224fb7e464b5bbde3d79c8b11c6105', class: {
43
43
  body: true,
44
44
  bubble: this.showBubble,
45
- }, part: "body" }, h("div", { key: 'ba3f2db210f343814896a2397386fbbfc7babd10', class: { image: true, loaded: this.status === 'loaded' } }, h("img", { key: '3ad9f01111c8c012513dd3a300b290b439d4a96c', src: sanitizeLink(this.message.link), onLoad: () => {
45
+ }, part: "body" }, h("div", { key: 'de64e6fff4b952e08eea1895f6b02ce6de7ea528', class: { image: true, loaded: this.status === 'loaded' } }, h("img", { key: 'fae1d0126e403da11c8d4aeb036ad29484af2bf6', src: sanitizeLink(this.message.link), onLoad: () => {
46
46
  this.status = 'loaded';
47
47
  }, onError: () => {
48
48
  this.status = 'errored';
@@ -50,9 +50,9 @@ const RtkImageMessage = /*@__PURE__*/ proxyCustomElement(class RtkImageMessage e
50
50
  if (this.status === 'loaded') {
51
51
  this.stateUpdate.emit({ image: this.message });
52
52
  }
53
- } }), this.status === 'loading' && (h("div", { key: '35140b999e092b083cabfa53c21a468092257b05', class: "image-spinner", title: this.t('chat.img.loading'), "aria-label": this.t('chat.img.loading') }, h("rtk-spinner", { key: '863b39fd51599ace190b75ee00af7406bbbd6d27', iconPack: this.iconPack }))), this.status === 'errored' && (h("div", { key: '647d8f244b63ceb208b3d75bef6f5e4c7777243b', class: "image-errored", title: this.t('chat.error.img_not_found'), "aria-label": this.t('chat.error.img_not_found') }, h("rtk-icon", { key: 'bd40ec4564ae22d65badbec458a3b1b232e46e35', icon: this.iconPack.image_off }))), this.status === 'loaded' && (h("div", { key: 'bb6ff686812867825aca0fbd451e122fee19b6a0', class: "actions" }, h("rtk-button", { key: '5d9fad092c3f5d4049140dc12b73ca9f53ff1088', class: "action", variant: "secondary", kind: "icon", onClick: () => {
53
+ } }), this.status === 'loading' && (h("div", { key: 'b5e4c17c94f065f06a513d8601564ca6512d38a9', class: "image-spinner", title: this.t('chat.img.loading'), "aria-label": this.t('chat.img.loading') }, h("rtk-spinner", { key: '4819886ed836fc94d35b48fd2f185bed2f142db6', iconPack: this.iconPack }))), this.status === 'errored' && (h("div", { key: '7d2381426f1867524b59963d025ed6728d0bee34', class: "image-errored", title: this.t('chat.error.img_not_found'), "aria-label": this.t('chat.error.img_not_found') }, h("rtk-icon", { key: 'abe064f6b5ecf9740611362c8c836a1fcf886223', icon: this.iconPack.image_off }))), this.status === 'loaded' && (h("div", { key: '863b9db15ee68f5bd5939b70f7b24f215b250a19', class: "actions" }, h("rtk-button", { key: '6b9d6e415a485fbbe8844a38a3b2d2401aa7ad22', class: "action", variant: "secondary", kind: "icon", onClick: () => {
54
54
  this.stateUpdate.emit({ image: this.message });
55
- } }, h("rtk-icon", { key: 'c77c89797b993d2486e53d15eb8f8bf721bc2c97', icon: this.iconPack.full_screen_maximize })), h("rtk-button", { key: '45974cb9f8b88a71d340c0d260b6e5daf64eec12', class: "action", variant: "secondary", kind: "icon", onClick: () => downloadFile(this.message.link, { fallbackName: 'image' }) }, h("rtk-icon", { key: '3c50dba681609dae024479493b1bcc8ee25a5ef1', icon: this.iconPack.download }))))))));
55
+ } }, h("rtk-icon", { key: 'a40d297b50b7667b08b9a5d08223b7326c3314be', icon: this.iconPack.full_screen_maximize })), h("rtk-button", { key: 'cb344d52dbcc0c6a55da8017b5664b8a160dd339', class: "action", variant: "secondary", kind: "icon", onClick: () => downloadFile(this.message.link, { fallbackName: 'image' }) }, h("rtk-icon", { key: 'e4a5cee14a5fae2496930dbbdaa3199a6b2d9b6b', icon: this.iconPack.download }))))))));
56
56
  }
57
57
  static get style() { return RtkImageMessageStyle0; }
58
58
  }, [0, "rtk-image-message", {
@@ -104,7 +104,7 @@ const RtkMenu = /*@__PURE__*/ proxyCustomElement(class RtkMenu extends H {
104
104
  });
105
105
  }
106
106
  render() {
107
- return (h(Host, { key: '502a8095ff2d516209a343d9fd9d6869757bf68b' }, h("span", { key: '18089635a87113958cb9ff8f3f5f5a44a32456e8', part: "trigger", id: "trigger", ref: (el) => (this.triggerEl = el) }, h("slot", { key: '5a31f0ab6825d8fc822afbb2a55604b5dd306b1c' })), h("div", { key: '8d2859fcdda1429d4527659ff5f7127f6e6fb4d2', part: "tooltip", class: "tooltip", id: "tooltip", role: "tooltip", ref: (el) => (this.tooltipEl = el) }, h("div", { key: '21ee9c44389decfac5bb43a3182ea645b237900d', id: "arrow", ref: (el) => (this.arrowEl = el), part: "arrow" }), this.label, h("slot", { key: '43d0841146bc003133e1b6747fae4a676f9b5324', name: "tooltip" }))));
107
+ return (h(Host, { key: '5278137bc9b99d9fe9ffeb0fc30bd887d600494d' }, h("span", { key: 'cbefda068a15340dad76668c3696a10bd94cb8e9', part: "trigger", id: "trigger", ref: (el) => (this.triggerEl = el) }, h("slot", { key: 'f160cf29ece64145e795a9a11459bd458482c446' })), h("div", { key: '1056b2bbc8cbacd3c32280d334d9f703a578b5ef', part: "tooltip", class: "tooltip", id: "tooltip", role: "tooltip", ref: (el) => (this.tooltipEl = el) }, h("div", { key: '6c6816fa1b18d49fa22ab6ffb600aaa23c5b9ec5', id: "arrow", ref: (el) => (this.arrowEl = el), part: "arrow" }), this.label, h("slot", { key: '3c2d3425b2e8b4d810de2ce40394491c4698aede', name: "tooltip" }))));
108
108
  }
109
109
  static get watchers() { return {
110
110
  "open": ["openChanged"]
@@ -79,9 +79,9 @@ const RtkLeaveMeeting = /*@__PURE__*/ proxyCustomElement(class RtkLeaveMeeting e
79
79
  }
80
80
  }
81
81
  render() {
82
- return (h(Host, { key: '4680ed34de64c4ab67dc939941a0c0a8f72af619' }, h("div", { key: '6ed0410cb32c8bd113dbc7cc5cfe5a3079606ff5', class: "leave-modal" }, h("div", { key: '8f9702a7fd68a1785bb63620587836c769c379bc', class: "header" }, h("h2", { key: 'e071e2ddbdba0ad61a3e5dc4a8ecf5c39610ffac', class: "title" }, this.t('leave'))), h("p", { key: '39ec1123fadc7fb945b600d114246aaf7b251e5a', class: "message" }, this.isBreakoutRoomsActive && this.isChildMeeting
82
+ return (h(Host, { key: '55991a2b1b60bb963ee7dfb10fbea5d5bc63c186' }, h("div", { key: 'bc50b5a89ff7ee5348aadbba4fe8f709fa35bee9', class: "leave-modal" }, h("div", { key: '7a19d21b272222e7cf83bbb6dbd8bb4284ea9d29', class: "header" }, h("h2", { key: '935e06a35f3669457c63761697a9152972d69c54', class: "title" }, this.t('leave'))), h("p", { key: 'cd1ba755b4f73c0d3fb4c9078ee11afc31cee726', class: "message" }, this.isBreakoutRoomsActive && this.isChildMeeting
83
83
  ? this.t('breakout_rooms.leave_confirmation')
84
- : this.t('leave_confirmation')), h("div", { key: 'ae5e42b89313baedea3478e59c320ccadd871e3b', class: "content" }, h("rtk-button", { key: '5eccf433e1de71cbbe84d9b9062848f47bcb68b6', variant: "secondary", onClick: this.close, class: "secondary-btn" }, this.t('cancel')), this.isBreakoutRoomsActive && this.isChildMeeting && this.canJoinMainRoom && (h("rtk-button", { key: 'ad34c1c74a3c76289bfaf87e0d03e9323222735a', variant: "secondary", onClick: this.handleJoinMainRoom, class: "secondary-btn" }, this.t('breakout_rooms.leave_confirmation.main_room_btn'))), h("rtk-button", { key: '45a051102497bcfce0efb7a113a6d00a43de0605', variant: "danger", title: this.t('leave'), onClick: this.handleLeave }, this.t('leave')), this.canEndMeeting && (h("rtk-button", { key: '581e73b8d12ecb3a09182cb6561cdbb61ebb913f', variant: "danger", class: "secondary-btn secondary-danger-btn", onClick: this.handleEndMeeting }, this.t('end.all')))))));
84
+ : this.t('leave_confirmation')), h("div", { key: 'd4031f068f492f76d5feb9dd39587263e9b545f0', class: "content" }, h("rtk-button", { key: 'a014dc329e5f861de85468e04715d8aeb87f4e8c', variant: "secondary", onClick: this.close, class: "secondary-btn" }, this.t('cancel')), this.isBreakoutRoomsActive && this.isChildMeeting && this.canJoinMainRoom && (h("rtk-button", { key: '501a689793bb5e1ff2a8d03f5b9d0ab3d6baafbf', variant: "secondary", onClick: this.handleJoinMainRoom, class: "secondary-btn" }, this.t('breakout_rooms.leave_confirmation.main_room_btn'))), h("rtk-button", { key: '35a6941049928fa81f1e0a73b64f4ce937c86451', variant: "danger", title: this.t('leave'), onClick: this.handleLeave }, this.t('leave')), this.canEndMeeting && (h("rtk-button", { key: '7c6367e3f9322235e126c01cc16014f5b2c81ecc', variant: "danger", class: "secondary-btn secondary-danger-btn", onClick: this.handleEndMeeting }, this.t('end.all')))))));
85
85
  }
86
86
  static get watchers() { return {
87
87
  "meeting": ["meetingChanged"]
@@ -1,9 +1,9 @@
1
1
  import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-c3592601.js';
2
2
  import { e as defaultIconPack, i as useLanguage } from './p-e847fee9.js';
3
3
  import { S as SyncWithStore } from './p-6f7c46d2.js';
4
- import { d as defineCustomElement$4 } from './p-cd790a43.js';
4
+ import { d as defineCustomElement$4 } from './p-2a65883d.js';
5
5
  import { d as defineCustomElement$3 } from './p-3b29dda1.js';
6
- import { d as defineCustomElement$2 } from './p-5b66b8f3.js';
6
+ import { d as defineCustomElement$2 } from './p-4ebf9684.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-09d1805e.js';
1
+ import { R as RtkAiTranscriptions$1, d as defineCustomElement$1 } from './p-eeb37b16.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
2
  import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage } from './p-e847fee9.js';
3
3
  import { S as SyncWithStore } from './p-6f7c46d2.js';
4
- import { d as defineCustomElement$4 } from './p-09d1805e.js';
4
+ import { d as defineCustomElement$4 } from './p-eeb37b16.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
 
@@ -88,7 +88,7 @@ const RtkAudioGrid$1 = /*@__PURE__*/ proxyCustomElement(class RtkAudioGrid exten
88
88
  }
89
89
  render() {
90
90
  const onStage = this.activeParticipants.concat(this.onStageParticipants);
91
- return (h(Host, { key: '299200e5a41d726073148287637e109e5a869d2d' }, h("div", { key: '9619ff485abbc7abebeaf4cee9808526391a71a0', class: "content scrollbar" }, h("div", { key: '1266ebb3ccd0278b5f160bbb70ea4726461f1e54', class: "stage grid" }, this.renderGrid(onStage)), this.offStageParticipants.length > 0 && (h("div", { key: 'a3add35c718ff260991720837c572d83ad84938a', class: "waitlist-area" }, h("div", { key: 'e916f1aae651d8b534c0b94e6fb6d18f4634a678', class: "listening-title" }, this.offStageParticipants.length, " ", this.t('grid.listening')), h("div", { key: 'a070304c733a2fb4cce581dce4df64f511984a21', class: "waitlist-grid grid" }, this.renderGrid(this.offStageParticipants))))), h("slot", { key: '012a150a33f6e3cdddb9d65ef1adb30e2ce06d05' })));
91
+ return (h(Host, { key: '1fe3a85bc93c05e225d68f21055e1017a7f70d58' }, h("div", { key: 'af48ec158bcd5b6a9c2326703aac739643053c05', class: "content scrollbar" }, h("div", { key: 'c8141f9cb9f9eee023419c3c99cc98098907208b', class: "stage grid" }, this.renderGrid(onStage)), this.offStageParticipants.length > 0 && (h("div", { key: '43bc09bdf14e0faac406f8f5f0f0a244ec95624a', class: "waitlist-area" }, h("div", { key: '609530579f746d37e16839dd82afd8f04c183101', class: "listening-title" }, this.offStageParticipants.length, " ", this.t('grid.listening')), h("div", { key: '410f40724a1816bd12e925e5de5a2212f0202c6a', class: "waitlist-grid grid" }, this.renderGrid(this.offStageParticipants))))), h("slot", { key: 'f3ecc1e452e89239e3cb3327b597805fd01b6a1b' })));
92
92
  }
93
93
  get host() { return this; }
94
94
  static get watchers() { return {
@@ -3,10 +3,10 @@ import { e as defaultIconPack, i as useLanguage } from './p-e847fee9.js';
3
3
  import './p-a83ccdbd.js';
4
4
  import { h as hark } from './p-3f882e7c.js';
5
5
  import { S as SyncWithStore } from './p-6f7c46d2.js';
6
- import { d as defineCustomElement$5 } from './p-95e51bef.js';
6
+ import { d as defineCustomElement$5 } from './p-241a8245.js';
7
7
  import { d as defineCustomElement$4 } from './p-3b29dda1.js';
8
8
  import { d as defineCustomElement$3 } from './p-6c9a833e.js';
9
- import { d as defineCustomElement$2 } from './p-5b66b8f3.js';
9
+ import { d as defineCustomElement$2 } from './p-4ebf9684.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 RtkAvatar$1, d as defineCustomElement$1 } from './p-95e51bef.js';
1
+ import { R as RtkAvatar$1, d as defineCustomElement$1 } from './p-241a8245.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-86f18b68.js';
1
+ import { R as RtkBreakoutRoomManager$1, d as defineCustomElement$1 } from './p-294cda89.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-bed61d79.js';
1
+ import { R as RtkBreakoutRoomParticipants$1, d as defineCustomElement$1 } from './p-8cfdac0d.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-157c1dc9.js';
1
+ import { R as RtkBreakoutRoomsManager$1, d as defineCustomElement$1 } from './p-d765dbe4.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
2
  import { e as defaultIconPack, i as useLanguage, K as canToggleBreakout } from './p-e847fee9.js';
3
3
  import { S as SyncWithStore } from './p-6f7c46d2.js';
4
- import { d as defineCustomElement$4 } from './p-cd790a43.js';
4
+ import { d as defineCustomElement$4 } from './p-2a65883d.js';
5
5
  import { d as defineCustomElement$3 } from './p-3b29dda1.js';
6
- import { d as defineCustomElement$2 } from './p-5b66b8f3.js';
6
+ import { d as defineCustomElement$2 } from './p-4ebf9684.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-828db489.js';
1
+ import { R as RtkBroadcastMessageModal$1, d as defineCustomElement$1 } from './p-45220ce9.js';
2
2
 
3
3
  const RtkBroadcastMessageModal = RtkBroadcastMessageModal$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,10 +1,10 @@
1
1
  import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-c3592601.js';
2
2
  import { e as defaultIconPack, i as useLanguage } from './p-e847fee9.js';
3
3
  import { S as SyncWithStore } from './p-6f7c46d2.js';
4
- import { d as defineCustomElement$5 } from './p-cd790a43.js';
4
+ import { d as defineCustomElement$5 } from './p-2a65883d.js';
5
5
  import { d as defineCustomElement$4 } from './p-3b29dda1.js';
6
- import { d as defineCustomElement$3 } from './p-5b66b8f3.js';
7
- import { d as defineCustomElement$2 } from './p-85990be7.js';
6
+ import { d as defineCustomElement$3 } from './p-4ebf9684.js';
7
+ import { d as defineCustomElement$2 } from './p-fb836f65.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}";
10
10
  const RtkCameraToggleStyle0 = rtkCameraToggleCss;
@@ -2,9 +2,9 @@ import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-
2
2
  import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage } from './p-e847fee9.js';
3
3
  import './p-a83ccdbd.js';
4
4
  import { S as SyncWithStore } from './p-6f7c46d2.js';
5
- import { d as defineCustomElement$4 } from './p-cd790a43.js';
5
+ import { d as defineCustomElement$4 } from './p-2a65883d.js';
6
6
  import { d as defineCustomElement$3 } from './p-3b29dda1.js';
7
- import { d as defineCustomElement$2 } from './p-5b66b8f3.js';
7
+ import { d as defineCustomElement$2 } from './p-4ebf9684.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;