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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (648) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/{TextMessage-7f012918.js → TextMessage-e4aa2ae5.js} +1 -1
  3. package/dist/cjs/{chat-96cd44fb.js → chat-c11dcc22.js} +1 -1
  4. package/dist/cjs/{config-bd1bd8ae.js → config-0a5170cb.js} +2 -2
  5. package/dist/cjs/{debounce-229c1bae.js → debounce-166c1a63.js} +1 -1
  6. package/dist/cjs/{index-d27eebb5.js → index-c77d9e9c.js} +1 -1
  7. package/dist/cjs/index.cjs.js +4 -4
  8. package/dist/cjs/loader.cjs.js +1 -1
  9. package/dist/cjs/{merge-f939d965.js → merge-76bc078c.js} +1 -1
  10. package/dist/cjs/realtimekit-ui.cjs.js +1 -1
  11. package/dist/cjs/rtk-ai-toggle.cjs.entry.js +2 -2
  12. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +24 -10
  13. package/dist/cjs/rtk-ai_3.cjs.entry.js +7 -7
  14. package/dist/cjs/rtk-audio-grid.cjs.entry.js +3 -3
  15. package/dist/cjs/rtk-audio-tile.cjs.entry.js +2 -2
  16. package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +3 -3
  17. package/dist/cjs/rtk-avatar_26.cjs.entry.js +25 -25
  18. package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +6 -6
  19. package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +10 -10
  20. package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +2 -2
  21. package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +2 -2
  22. package/dist/cjs/rtk-camera-toggle.cjs.entry.js +2 -2
  23. package/dist/cjs/rtk-caption-toggle.cjs.entry.js +2 -2
  24. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +3 -3
  25. package/dist/cjs/rtk-chat-message.cjs.entry.js +4 -4
  26. package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +5 -5
  27. package/dist/cjs/rtk-chat-search-results.cjs.entry.js +3 -3
  28. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +3 -3
  29. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +3 -3
  30. package/dist/cjs/rtk-clock.cjs.entry.js +5 -5
  31. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +2 -2
  32. package/dist/cjs/rtk-controlbar.cjs.entry.js +3 -3
  33. package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +2 -2
  34. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +3 -3
  35. package/dist/cjs/rtk-dialog-manager.cjs.entry.js +2 -2
  36. package/dist/cjs/rtk-dialog.cjs.entry.js +2 -2
  37. package/dist/cjs/rtk-ended-screen.cjs.entry.js +2 -2
  38. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +3 -3
  39. package/dist/cjs/rtk-file-message_3.cjs.entry.js +12 -12
  40. package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +2 -2
  41. package/dist/cjs/rtk-grid-pagination.cjs.entry.js +2 -2
  42. package/dist/cjs/rtk-grid.cjs.entry.js +2 -2
  43. package/dist/cjs/rtk-header.cjs.entry.js +3 -3
  44. package/dist/cjs/rtk-idle-screen.cjs.entry.js +3 -3
  45. package/dist/cjs/rtk-image-viewer.cjs.entry.js +3 -3
  46. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +3 -3
  47. package/dist/cjs/rtk-leave-button.cjs.entry.js +3 -3
  48. package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +2 -2
  49. package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +2 -2
  50. package/dist/cjs/rtk-logo.cjs.entry.js +2 -2
  51. package/dist/cjs/rtk-meeting-title.cjs.entry.js +2 -2
  52. package/dist/cjs/rtk-message-list-view.cjs.entry.js +6 -6
  53. package/dist/cjs/rtk-mic-toggle.cjs.entry.js +2 -2
  54. package/dist/cjs/rtk-mixed-grid.cjs.entry.js +2 -2
  55. package/dist/cjs/rtk-more-toggle.cjs.entry.js +4 -4
  56. package/dist/cjs/rtk-mute-all-button.cjs.entry.js +2 -2
  57. package/dist/cjs/rtk-name-tag.cjs.entry.js +2 -2
  58. package/dist/cjs/rtk-network-indicator.cjs.entry.js +2 -2
  59. package/dist/cjs/rtk-notification.cjs.entry.js +6 -6
  60. package/dist/cjs/rtk-notifications.cjs.entry.js +3 -3
  61. package/dist/cjs/rtk-participant-count.cjs.entry.js +2 -2
  62. package/dist/cjs/rtk-participant-setup.cjs.entry.js +4 -4
  63. package/dist/cjs/rtk-participant_2.cjs.entry.js +5 -5
  64. package/dist/cjs/rtk-participants-audio.cjs.entry.js +3 -3
  65. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +3 -3
  66. package/dist/cjs/rtk-participants-toggle.cjs.entry.js +3 -3
  67. package/dist/cjs/rtk-participants.cjs.entry.js +3 -3
  68. package/dist/cjs/rtk-pip-toggle.cjs.entry.js +2 -2
  69. package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +2 -2
  70. package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +3 -3
  71. package/dist/cjs/rtk-poll_2.cjs.entry.js +5 -5
  72. package/dist/cjs/rtk-polls-toggle.cjs.entry.js +3 -3
  73. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +3 -3
  74. package/dist/cjs/rtk-recording-toggle.cjs.entry.js +2 -2
  75. package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +2 -2
  76. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +7 -7
  77. package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +2 -2
  78. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +3 -3
  79. package/dist/cjs/rtk-settings.cjs.entry.js +2 -2
  80. package/dist/cjs/rtk-setup-screen.cjs.entry.js +2 -2
  81. package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +2 -2
  82. package/dist/cjs/rtk-sidebar.cjs.entry.js +3 -3
  83. package/dist/cjs/rtk-simple-grid.cjs.entry.js +2 -2
  84. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +4 -4
  85. package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +2 -2
  86. package/dist/cjs/rtk-stage-toggle.cjs.entry.js +2 -2
  87. package/dist/cjs/rtk-stage.cjs.entry.js +3 -3
  88. package/dist/cjs/rtk-transcript.cjs.entry.js +3 -3
  89. package/dist/cjs/rtk-transcripts.cjs.entry.js +2 -2
  90. package/dist/cjs/rtk-ui-provider.cjs.entry.js +2 -2
  91. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +3 -3
  92. package/dist/cjs/{sidebar-02b2a4d3.js → sidebar-5aab4432.js} +1 -1
  93. package/dist/cjs/{ui-store-b202f1da.js → ui-store-4387207b.js} +4 -1
  94. package/dist/collection/components/rtk-ai/rtk-ai.css +0 -4
  95. package/dist/collection/components/rtk-ai/rtk-ai.js +1 -1
  96. package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +1 -1
  97. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.css +39 -14
  98. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +63 -24
  99. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +2 -2
  100. package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +1 -1
  101. package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +1 -1
  102. package/dist/collection/components/rtk-avatar/rtk-avatar.js +1 -1
  103. package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +1 -1
  104. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +3 -3
  105. package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +2 -2
  106. package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +2 -2
  107. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +3 -3
  108. package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +1 -1
  109. package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +1 -1
  110. package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +1 -1
  111. package/dist/collection/components/rtk-chat/rtk-chat.js +1 -1
  112. package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +1 -1
  113. package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +1 -1
  114. package/dist/collection/components/rtk-chat-header/rtk-chat-header.js +1 -1
  115. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +3 -3
  116. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +4 -4
  117. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +2 -2
  118. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +2 -2
  119. package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.js +1 -1
  120. package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +1 -1
  121. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +1 -1
  122. package/dist/collection/components/rtk-clock/rtk-clock.js +3 -3
  123. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +2 -2
  124. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +2 -2
  125. package/dist/collection/components/rtk-counter/rtk-counter.js +3 -3
  126. package/dist/collection/components/rtk-debugger/rtk-debugger.js +1 -1
  127. package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +1 -1
  128. package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +1 -1
  129. package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +1 -1
  130. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +2 -2
  131. package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +1 -1
  132. package/dist/collection/components/rtk-dialog/rtk-dialog.js +1 -1
  133. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +1 -1
  134. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +2 -2
  135. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +2 -2
  136. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +2 -2
  137. package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +1 -1
  138. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +2 -2
  139. package/dist/collection/components/rtk-file-message/rtk-file-message.js +3 -3
  140. package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +1 -1
  141. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +2 -2
  142. package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +1 -1
  143. package/dist/collection/components/rtk-grid/rtk-grid.js +1 -1
  144. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +1 -1
  145. package/dist/collection/components/rtk-header/rtk-header.js +2 -2
  146. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +2 -2
  147. package/dist/collection/components/rtk-image-message/rtk-image-message.js +5 -5
  148. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +4 -4
  149. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +2 -2
  150. package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +1 -1
  151. package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +1 -1
  152. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +2 -2
  153. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +3 -3
  154. package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +1 -1
  155. package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +1 -1
  156. package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +1 -1
  157. package/dist/collection/components/rtk-logo/rtk-logo.js +1 -1
  158. package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +1 -1
  159. package/dist/collection/components/rtk-meeting/rtk-meeting.js +1 -1
  160. package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +1 -1
  161. package/dist/collection/components/rtk-menu/rtk-menu.js +3 -3
  162. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +2 -2
  163. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +2 -2
  164. package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +3 -3
  165. package/dist/collection/components/rtk-message-view/rtk-message-view.css +3 -2
  166. package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +1 -1
  167. package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +1 -1
  168. package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +1 -1
  169. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +3 -3
  170. package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +1 -1
  171. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +2 -2
  172. package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +1 -1
  173. package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +1 -1
  174. package/dist/collection/components/rtk-notification/rtk-notification.js +3 -3
  175. package/dist/collection/components/rtk-notifications/rtk-notifications.js +1 -1
  176. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +2 -2
  177. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +1 -1
  178. package/dist/collection/components/rtk-participant/rtk-participant.js +1 -1
  179. package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +1 -1
  180. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +3 -3
  181. package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +1 -1
  182. package/dist/collection/components/rtk-participants/rtk-participants.js +1 -1
  183. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +2 -2
  184. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +2 -2
  185. package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +1 -1
  186. package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +1 -1
  187. package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +1 -1
  188. package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +1 -1
  189. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +2 -2
  190. package/dist/collection/components/rtk-pinned-message-selector/rtk-pinned-message-selector.js +1 -1
  191. package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +1 -1
  192. package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +1 -1
  193. package/dist/collection/components/rtk-plugins/rtk-plugins.js +2 -2
  194. package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +1 -1
  195. package/dist/collection/components/rtk-poll/rtk-poll.js +2 -2
  196. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +3 -3
  197. package/dist/collection/components/rtk-polls/rtk-polls.js +4 -4
  198. package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +1 -1
  199. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +2 -2
  200. package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +1 -1
  201. package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +1 -1
  202. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +6 -6
  203. package/dist/collection/components/rtk-settings/rtk-settings.js +1 -1
  204. package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +1 -1
  205. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +2 -2
  206. package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +1 -1
  207. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +1 -1
  208. package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +1 -1
  209. package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +1 -1
  210. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +1 -1
  211. package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +1 -1
  212. package/dist/collection/components/rtk-spinner/rtk-spinner.js +1 -1
  213. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +3 -3
  214. package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +1 -1
  215. package/dist/collection/components/rtk-stage/rtk-stage.js +2 -2
  216. package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +1 -1
  217. package/dist/collection/components/rtk-switch/rtk-switch.js +2 -2
  218. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +1 -1
  219. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +2 -2
  220. package/dist/collection/components/rtk-text-message/rtk-text-message.js +3 -3
  221. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
  222. package/dist/collection/components/rtk-transcript/rtk-transcript.js +2 -2
  223. package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +1 -1
  224. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +1 -1
  225. package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +1 -1
  226. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
  227. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +2 -2
  228. package/dist/collection/lib/lang/default-language.js +4 -1
  229. package/dist/components/index.js +5 -5
  230. package/dist/components/{p-0a635c4c.js → p-011fcf99.js} +3 -3
  231. package/dist/components/{p-e8e741f1.js → p-02308402.js} +12 -12
  232. package/dist/components/{p-37dabd28.js → p-0743c681.js} +34 -13
  233. package/dist/components/{p-3ecec94a.js → p-08bd9a6a.js} +2 -2
  234. package/dist/components/{p-75e23d98.js → p-0edd6df3.js} +3 -3
  235. package/dist/components/{p-3fbe82a1.js → p-0f559b0c.js} +3 -3
  236. package/dist/components/{p-71339d27.js → p-15518cbf.js} +4 -4
  237. package/dist/components/{p-544c2f96.js → p-184d0c8b.js} +7 -7
  238. package/dist/components/{p-7f4fb4f4.js → p-19575460.js} +3 -3
  239. package/dist/components/{p-48bc7ba0.js → p-1b4de4ce.js} +6 -6
  240. package/dist/components/{p-d3ab9c7e.js → p-23337f79.js} +4 -4
  241. package/dist/components/{p-39e9d83c.js → p-263b72fd.js} +4 -4
  242. package/dist/components/{p-f8d015e4.js → p-2b1416aa.js} +7 -7
  243. package/dist/components/{p-03151d5a.js → p-35585fc1.js} +1 -1
  244. package/dist/components/{p-87492537.js → p-3acb4ec0.js} +8 -8
  245. package/dist/components/{p-5dc1b56e.js → p-3bcae7b5.js} +2 -2
  246. package/dist/components/{p-6c8cdc31.js → p-3cde4dd0.js} +3 -3
  247. package/dist/components/{p-5d1ee3a6.js → p-41ea5359.js} +2 -2
  248. package/dist/components/{p-4c97d57c.js → p-43834118.js} +3 -3
  249. package/dist/components/{p-b9279738.js → p-464893b1.js} +3 -3
  250. package/dist/components/{p-e7715930.js → p-46cd757c.js} +2 -2
  251. package/dist/components/{p-8e8dc682.js → p-490f7547.js} +6 -6
  252. package/dist/components/{p-da5a31aa.js → p-51b6f520.js} +2 -2
  253. package/dist/components/{p-56849eb6.js → p-523c9e18.js} +3 -3
  254. package/dist/components/{p-4d8f940a.js → p-53b7ce6b.js} +5 -5
  255. package/dist/components/{p-cea76025.js → p-53e4f280.js} +2 -2
  256. package/dist/components/{p-70f74f9f.js → p-5492bc23.js} +3 -3
  257. package/dist/components/{p-c3356393.js → p-549ab58f.js} +1 -1
  258. package/dist/components/{p-d31600b1.js → p-54a5a9d9.js} +4 -4
  259. package/dist/components/{p-588ef75c.js → p-55ac4ece.js} +2 -2
  260. package/dist/components/{p-4c663917.js → p-5b6b7538.js} +2 -2
  261. package/dist/components/{p-7c4fe81b.js → p-5bc7ecc8.js} +4 -4
  262. package/dist/components/{p-b0b69ccb.js → p-5c5d9287.js} +3 -3
  263. package/dist/components/{p-8ae3a680.js → p-5cdfe14a.js} +4 -4
  264. package/dist/components/{p-2208d88b.js → p-66af89b3.js} +3 -3
  265. package/dist/components/{p-dff5310f.js → p-6a1384e5.js} +4 -4
  266. package/dist/components/{p-8206c520.js → p-6da3aab3.js} +3 -3
  267. package/dist/components/{p-bd1e6915.js → p-6df21eeb.js} +2 -2
  268. package/dist/components/{p-b4e783cb.js → p-6e5022d2.js} +4 -4
  269. package/dist/components/{p-a3b9b0ae.js → p-71d09e9f.js} +1 -1
  270. package/dist/components/{p-7c4f018e.js → p-729a1651.js} +2 -2
  271. package/dist/components/{p-5e148c2a.js → p-75088feb.js} +3 -3
  272. package/dist/components/{p-3a32bf84.js → p-7b72c962.js} +4 -1
  273. package/dist/components/{p-204dd657.js → p-7e20f300.js} +23 -23
  274. package/dist/components/{p-9068cc0a.js → p-7eb94f88.js} +8 -8
  275. package/dist/components/{p-78ceec2f.js → p-813075c7.js} +6 -6
  276. package/dist/components/{p-9200cac3.js → p-83632dd0.js} +4 -4
  277. package/dist/components/{p-e373dd9c.js → p-83b0039d.js} +10 -10
  278. package/dist/components/{p-536f87eb.js → p-8b25e9f4.js} +11 -5
  279. package/dist/components/{p-b06caf94.js → p-8b292ee2.js} +6 -6
  280. package/dist/components/{p-ff97acaf.js → p-8e61f2e4.js} +2 -2
  281. package/dist/components/{p-14a4d4db.js → p-9311d3c4.js} +3 -3
  282. package/dist/components/{p-7f511004.js → p-935ee413.js} +3 -3
  283. package/dist/components/{p-3493d8e5.js → p-9432ec0c.js} +4 -4
  284. package/dist/components/{p-f0118467.js → p-9ed64f3a.js} +3 -3
  285. package/dist/components/{p-a5c02d07.js → p-a30a5b6f.js} +14 -14
  286. package/dist/components/{p-fbdd8005.js → p-a70c7550.js} +4 -4
  287. package/dist/components/{p-3bef5319.js → p-a9e36fd3.js} +1 -1
  288. package/dist/components/{p-1025b97a.js → p-abd8953a.js} +5 -5
  289. package/dist/components/{p-236d2c07.js → p-af14bbaa.js} +7 -7
  290. package/dist/components/{p-7b545a32.js → p-b12f8b81.js} +5 -5
  291. package/dist/components/{p-f49f2d11.js → p-b5ffdb09.js} +2 -2
  292. package/dist/components/{p-a6ae7b9e.js → p-b7c1a17e.js} +4 -4
  293. package/dist/components/{p-1f12006f.js → p-bb6f1440.js} +2 -2
  294. package/dist/components/{p-b18c921f.js → p-bd3f941d.js} +2 -2
  295. package/dist/components/{p-95efad4d.js → p-be6f601b.js} +6 -6
  296. package/dist/components/{p-f7b19d77.js → p-c0dc1eee.js} +3 -3
  297. package/dist/components/{p-2fafedba.js → p-cc7495c3.js} +4 -4
  298. package/dist/components/{p-d804d951.js → p-cd1c31ca.js} +3 -3
  299. package/dist/components/{p-978a2e8c.js → p-d3a1de01.js} +4 -4
  300. package/dist/components/{p-ac95f7dc.js → p-d48b4170.js} +2 -2
  301. package/dist/components/{p-b93af02b.js → p-d663061f.js} +6 -6
  302. package/dist/components/{p-a94354a1.js → p-da8b7f0a.js} +5 -5
  303. package/dist/components/{p-544fcff3.js → p-df752a44.js} +3 -3
  304. package/dist/components/{p-88cf2161.js → p-eb12d1dc.js} +2 -2
  305. package/dist/components/{p-238b7f12.js → p-eb9d693b.js} +2 -2
  306. package/dist/components/{p-69b056ab.js → p-f51f5f56.js} +2 -2
  307. package/dist/components/{p-c88d88eb.js → p-f7c1ac0b.js} +2 -2
  308. package/dist/components/{p-0fa9fe9d.js → p-fc96ecd7.js} +3 -3
  309. package/dist/components/{p-99702038.js → p-fdfee0ac.js} +2 -2
  310. package/dist/components/{p-0a412100.js → p-ff635cba.js} +2 -2
  311. package/dist/components/rtk-ai-toggle.js +4 -4
  312. package/dist/components/rtk-ai-transcriptions.js +1 -1
  313. package/dist/components/rtk-ai.js +1 -1
  314. package/dist/components/rtk-audio-grid.js +3 -3
  315. package/dist/components/rtk-audio-tile.js +5 -5
  316. package/dist/components/rtk-audio-visualizer.js +1 -1
  317. package/dist/components/rtk-avatar.js +1 -1
  318. package/dist/components/rtk-breakout-room-manager.js +1 -1
  319. package/dist/components/rtk-breakout-room-participants.js +1 -1
  320. package/dist/components/rtk-breakout-rooms-manager.js +1 -1
  321. package/dist/components/rtk-breakout-rooms-toggle.js +4 -4
  322. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  323. package/dist/components/rtk-camera-selector.js +1 -1
  324. package/dist/components/rtk-camera-toggle.js +4 -4
  325. package/dist/components/rtk-caption-toggle.js +4 -4
  326. package/dist/components/rtk-chat-composer-ui.js +5 -5
  327. package/dist/components/rtk-chat-composer-view.js +1 -1
  328. package/dist/components/rtk-chat-header.js +1 -1
  329. package/dist/components/rtk-chat-message.js +1 -1
  330. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  331. package/dist/components/rtk-chat-messages-ui.js +15 -15
  332. package/dist/components/rtk-chat-search-results.js +13 -13
  333. package/dist/components/rtk-chat-selector-ui.js +2 -2
  334. package/dist/components/rtk-chat-selector.js +1 -1
  335. package/dist/components/rtk-chat-toggle.js +5 -5
  336. package/dist/components/rtk-chat.js +1 -1
  337. package/dist/components/rtk-clock.js +5 -5
  338. package/dist/components/rtk-confirmation-modal.js +1 -1
  339. package/dist/components/rtk-controlbar-button.js +1 -1
  340. package/dist/components/rtk-controlbar.js +3 -3
  341. package/dist/components/rtk-counter.js +1 -1
  342. package/dist/components/rtk-debugger-audio.js +1 -1
  343. package/dist/components/rtk-debugger-screenshare.js +1 -1
  344. package/dist/components/rtk-debugger-system.js +1 -1
  345. package/dist/components/rtk-debugger-toggle.js +5 -5
  346. package/dist/components/rtk-debugger-video.js +1 -1
  347. package/dist/components/rtk-debugger.js +1 -1
  348. package/dist/components/rtk-dialog-manager.js +21 -21
  349. package/dist/components/rtk-dialog.js +1 -1
  350. package/dist/components/rtk-draft-attachment-view.js +1 -1
  351. package/dist/components/rtk-emoji-picker-button.js +1 -1
  352. package/dist/components/rtk-emoji-picker.js +1 -1
  353. package/dist/components/rtk-ended-screen.js +3 -3
  354. package/dist/components/rtk-file-dropzone.js +3 -3
  355. package/dist/components/rtk-file-message-view.js +1 -1
  356. package/dist/components/rtk-file-message.js +1 -1
  357. package/dist/components/rtk-file-picker-button.js +1 -1
  358. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  359. package/dist/components/rtk-grid-pagination.js +2 -2
  360. package/dist/components/rtk-grid.js +8 -8
  361. package/dist/components/rtk-header.js +3 -3
  362. package/dist/components/rtk-idle-screen.js +5 -5
  363. package/dist/components/rtk-image-message-view.js +1 -1
  364. package/dist/components/rtk-image-message.js +1 -1
  365. package/dist/components/rtk-image-viewer.js +3 -3
  366. package/dist/components/rtk-information-tooltip.js +3 -3
  367. package/dist/components/rtk-join-stage.js +1 -1
  368. package/dist/components/rtk-leave-button.js +5 -5
  369. package/dist/components/rtk-leave-meeting.js +1 -1
  370. package/dist/components/rtk-livestream-indicator.js +1 -1
  371. package/dist/components/rtk-livestream-player.js +1 -1
  372. package/dist/components/rtk-livestream-toggle.js +4 -4
  373. package/dist/components/rtk-logo.js +1 -1
  374. package/dist/components/rtk-markdown-view.js +1 -1
  375. package/dist/components/rtk-meeting-title.js +2 -2
  376. package/dist/components/rtk-meeting.js +25 -25
  377. package/dist/components/rtk-menu-item.js +1 -1
  378. package/dist/components/rtk-menu-list.js +1 -1
  379. package/dist/components/rtk-menu.js +1 -1
  380. package/dist/components/rtk-message-list-view.js +6 -6
  381. package/dist/components/rtk-message-view.js +1 -1
  382. package/dist/components/rtk-mic-toggle.js +4 -4
  383. package/dist/components/rtk-microphone-selector.js +1 -1
  384. package/dist/components/rtk-mixed-grid.js +5 -5
  385. package/dist/components/rtk-more-toggle.js +6 -6
  386. package/dist/components/rtk-mute-all-button.js +4 -4
  387. package/dist/components/rtk-mute-all-confirmation.js +1 -1
  388. package/dist/components/rtk-name-tag.js +1 -1
  389. package/dist/components/rtk-network-indicator.js +2 -2
  390. package/dist/components/rtk-notification.js +1 -1
  391. package/dist/components/rtk-notifications.js +3 -3
  392. package/dist/components/rtk-overlay-modal.js +1 -1
  393. package/dist/components/rtk-paginated-list.js +1 -1
  394. package/dist/components/rtk-participant-count.js +2 -2
  395. package/dist/components/rtk-participant-setup.js +4 -4
  396. package/dist/components/rtk-participant-tile.js +1 -1
  397. package/dist/components/rtk-participant.js +1 -1
  398. package/dist/components/rtk-participants-audio.js +4 -4
  399. package/dist/components/rtk-participants-stage-list.js +1 -1
  400. package/dist/components/rtk-participants-stage-queue.js +1 -1
  401. package/dist/components/rtk-participants-toggle.js +5 -5
  402. package/dist/components/rtk-participants-viewer-list.js +1 -1
  403. package/dist/components/rtk-participants-waiting-list.js +1 -1
  404. package/dist/components/rtk-participants.js +13 -13
  405. package/dist/components/rtk-permissions-message.js +1 -1
  406. package/dist/components/rtk-pinned-message-selector.js +1 -1
  407. package/dist/components/rtk-pip-toggle.js +4 -4
  408. package/dist/components/rtk-plugin-main.js +1 -1
  409. package/dist/components/rtk-plugins-toggle.js +5 -5
  410. package/dist/components/rtk-plugins.js +1 -1
  411. package/dist/components/rtk-poll-form.js +1 -1
  412. package/dist/components/rtk-poll.js +1 -1
  413. package/dist/components/rtk-polls-toggle.js +5 -5
  414. package/dist/components/rtk-polls.js +1 -1
  415. package/dist/components/rtk-recording-indicator.js +3 -3
  416. package/dist/components/rtk-recording-toggle.js +4 -4
  417. package/dist/components/rtk-screen-share-toggle.js +4 -4
  418. package/dist/components/rtk-screenshare-view.js +7 -7
  419. package/dist/components/rtk-settings-audio.js +1 -1
  420. package/dist/components/rtk-settings-toggle.js +5 -5
  421. package/dist/components/rtk-settings-video.js +1 -1
  422. package/dist/components/rtk-settings.js +10 -10
  423. package/dist/components/rtk-setup-screen.js +6 -6
  424. package/dist/components/rtk-sidebar-ui.js +1 -1
  425. package/dist/components/rtk-sidebar.js +10 -10
  426. package/dist/components/rtk-simple-grid.js +2 -2
  427. package/dist/components/rtk-speaker-selector.js +1 -1
  428. package/dist/components/rtk-spinner.js +1 -1
  429. package/dist/components/rtk-spotlight-grid.js +4 -4
  430. package/dist/components/rtk-spotlight-indicator.js +1 -1
  431. package/dist/components/rtk-stage-toggle.js +4 -4
  432. package/dist/components/rtk-stage.js +3 -3
  433. package/dist/components/rtk-switch.js +1 -1
  434. package/dist/components/rtk-tab-bar.js +1 -1
  435. package/dist/components/rtk-text-composer-view.js +1 -1
  436. package/dist/components/rtk-text-message-view.js +1 -1
  437. package/dist/components/rtk-text-message.js +1 -1
  438. package/dist/components/rtk-transcript.js +1 -1
  439. package/dist/components/rtk-transcripts.js +3 -3
  440. package/dist/components/rtk-ui-provider.js +2 -2
  441. package/dist/components/rtk-viewer-count.js +1 -1
  442. package/dist/components/rtk-virtualized-participant-list.js +1 -1
  443. package/dist/components/rtk-waiting-screen.js +4 -4
  444. package/dist/docs/docs-components.json +1758 -250
  445. package/dist/esm/{TextMessage-205e8e59.js → TextMessage-31a1055f.js} +1 -1
  446. package/dist/esm/{chat-e081c72c.js → chat-e5f7c9a9.js} +1 -1
  447. package/dist/esm/{config-6b0fb33f.js → config-3ee0b77d.js} +2 -2
  448. package/dist/esm/{debounce-64b20a41.js → debounce-76bf7eef.js} +1 -1
  449. package/dist/esm/{index-7a7cc1c8.js → index-674e5834.js} +1 -1
  450. package/dist/esm/index.js +6 -6
  451. package/dist/esm/loader.js +118 -101
  452. package/dist/esm/{merge-fdf6a529.js → merge-bb3b8189.js} +1 -1
  453. package/dist/esm/realtimekit-ui.js +1 -1
  454. package/dist/esm/rtk-ai-toggle.entry.js +2 -2
  455. package/dist/esm/rtk-ai-transcriptions.entry.js +24 -10
  456. package/dist/esm/rtk-ai_3.entry.js +7 -7
  457. package/dist/esm/rtk-audio-grid.entry.js +3 -3
  458. package/dist/esm/rtk-audio-tile.entry.js +2 -2
  459. package/dist/esm/rtk-audio-visualizer_4.entry.js +3 -3
  460. package/dist/esm/rtk-avatar_26.entry.js +25 -25
  461. package/dist/esm/rtk-breakout-room-manager_3.entry.js +6 -6
  462. package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +10 -10
  463. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +2 -2
  464. package/dist/esm/rtk-camera-selector_2.entry.js +2 -2
  465. package/dist/esm/rtk-camera-toggle.entry.js +2 -2
  466. package/dist/esm/rtk-caption-toggle.entry.js +2 -2
  467. package/dist/esm/rtk-chat-composer-ui.entry.js +3 -3
  468. package/dist/esm/rtk-chat-message.entry.js +4 -4
  469. package/dist/esm/rtk-chat-messages-ui.entry.js +5 -5
  470. package/dist/esm/rtk-chat-search-results.entry.js +3 -3
  471. package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
  472. package/dist/esm/rtk-chat-toggle.entry.js +3 -3
  473. package/dist/esm/rtk-clock.entry.js +5 -5
  474. package/dist/esm/rtk-controlbar-button.entry.js +2 -2
  475. package/dist/esm/rtk-controlbar.entry.js +3 -3
  476. package/dist/esm/rtk-debugger-audio_4.entry.js +2 -2
  477. package/dist/esm/rtk-debugger-toggle.entry.js +3 -3
  478. package/dist/esm/rtk-dialog-manager.entry.js +2 -2
  479. package/dist/esm/rtk-dialog.entry.js +2 -2
  480. package/dist/esm/rtk-ended-screen.entry.js +2 -2
  481. package/dist/esm/rtk-file-dropzone.entry.js +3 -3
  482. package/dist/esm/rtk-file-message_3.entry.js +12 -12
  483. package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
  484. package/dist/esm/rtk-grid-pagination.entry.js +2 -2
  485. package/dist/esm/rtk-grid.entry.js +2 -2
  486. package/dist/esm/rtk-header.entry.js +3 -3
  487. package/dist/esm/rtk-idle-screen.entry.js +3 -3
  488. package/dist/esm/rtk-image-viewer.entry.js +3 -3
  489. package/dist/esm/rtk-information-tooltip.entry.js +3 -3
  490. package/dist/esm/rtk-leave-button.entry.js +3 -3
  491. package/dist/esm/rtk-livestream-indicator_3.entry.js +2 -2
  492. package/dist/esm/rtk-livestream-toggle.entry.js +2 -2
  493. package/dist/esm/rtk-logo.entry.js +2 -2
  494. package/dist/esm/rtk-meeting-title.entry.js +2 -2
  495. package/dist/esm/rtk-message-list-view.entry.js +6 -6
  496. package/dist/esm/rtk-mic-toggle.entry.js +2 -2
  497. package/dist/esm/rtk-mixed-grid.entry.js +2 -2
  498. package/dist/esm/rtk-more-toggle.entry.js +4 -4
  499. package/dist/esm/rtk-mute-all-button.entry.js +2 -2
  500. package/dist/esm/rtk-name-tag.entry.js +2 -2
  501. package/dist/esm/rtk-network-indicator.entry.js +2 -2
  502. package/dist/esm/rtk-notification.entry.js +6 -6
  503. package/dist/esm/rtk-notifications.entry.js +3 -3
  504. package/dist/esm/rtk-participant-count.entry.js +2 -2
  505. package/dist/esm/rtk-participant-setup.entry.js +4 -4
  506. package/dist/esm/rtk-participant_2.entry.js +5 -5
  507. package/dist/esm/rtk-participants-audio.entry.js +3 -3
  508. package/dist/esm/rtk-participants-stage-list_4.entry.js +3 -3
  509. package/dist/esm/rtk-participants-toggle.entry.js +3 -3
  510. package/dist/esm/rtk-participants.entry.js +3 -3
  511. package/dist/esm/rtk-pip-toggle.entry.js +2 -2
  512. package/dist/esm/rtk-plugin-main_2.entry.js +2 -2
  513. package/dist/esm/rtk-plugins-toggle.entry.js +3 -3
  514. package/dist/esm/rtk-poll_2.entry.js +5 -5
  515. package/dist/esm/rtk-polls-toggle.entry.js +3 -3
  516. package/dist/esm/rtk-recording-indicator.entry.js +3 -3
  517. package/dist/esm/rtk-recording-toggle.entry.js +2 -2
  518. package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
  519. package/dist/esm/rtk-screenshare-view.entry.js +7 -7
  520. package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
  521. package/dist/esm/rtk-settings-toggle.entry.js +3 -3
  522. package/dist/esm/rtk-settings.entry.js +2 -2
  523. package/dist/esm/rtk-setup-screen.entry.js +2 -2
  524. package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
  525. package/dist/esm/rtk-sidebar.entry.js +3 -3
  526. package/dist/esm/rtk-simple-grid.entry.js +2 -2
  527. package/dist/esm/rtk-spotlight-grid.entry.js +4 -4
  528. package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
  529. package/dist/esm/rtk-stage-toggle.entry.js +2 -2
  530. package/dist/esm/rtk-stage.entry.js +3 -3
  531. package/dist/esm/rtk-transcript.entry.js +3 -3
  532. package/dist/esm/rtk-transcripts.entry.js +2 -2
  533. package/dist/esm/rtk-ui-provider.entry.js +2 -2
  534. package/dist/esm/rtk-waiting-screen.entry.js +3 -3
  535. package/dist/esm/{sidebar-852b53f1.js → sidebar-b617fa34.js} +1 -1
  536. package/dist/esm/{ui-store-be7366eb.js → ui-store-8c88e8bd.js} +4 -1
  537. package/dist/realtimekit-ui/index.esm.js +1 -1
  538. package/dist/realtimekit-ui/{p-b80f3778.entry.js → p-032bedbe.entry.js} +1 -1
  539. package/dist/realtimekit-ui/{p-28be2a9e.entry.js → p-0572737c.entry.js} +1 -1
  540. package/dist/realtimekit-ui/{p-10eadeba.js → p-0769d0b9.js} +1 -1
  541. package/dist/realtimekit-ui/{p-b2a7fc6c.entry.js → p-076e8873.entry.js} +1 -1
  542. package/dist/realtimekit-ui/{p-ff3bb440.entry.js → p-0937ddd1.entry.js} +1 -1
  543. package/dist/realtimekit-ui/p-0b7bda80.entry.js +1 -0
  544. package/dist/realtimekit-ui/{p-7b6570cf.entry.js → p-1430558a.entry.js} +1 -1
  545. package/dist/realtimekit-ui/{p-0578c874.entry.js → p-15079b93.entry.js} +1 -1
  546. package/dist/realtimekit-ui/{p-faaa8c69.entry.js → p-15cc7a83.entry.js} +1 -1
  547. package/dist/realtimekit-ui/{p-d4e7a13c.entry.js → p-1881d92e.entry.js} +1 -1
  548. package/dist/realtimekit-ui/{p-a1ed1972.entry.js → p-1a1ee2db.entry.js} +1 -1
  549. package/dist/realtimekit-ui/{p-47979011.js → p-1b41ba11.js} +1 -1
  550. package/dist/realtimekit-ui/{p-d34ab92d.entry.js → p-1f1f9055.entry.js} +1 -1
  551. package/dist/realtimekit-ui/{p-91832f46.js → p-1fce947c.js} +1 -1
  552. package/dist/realtimekit-ui/{p-4f2cf2f4.entry.js → p-204ad2bb.entry.js} +1 -1
  553. package/dist/realtimekit-ui/{p-fd33722a.entry.js → p-221d161d.entry.js} +1 -1
  554. package/dist/realtimekit-ui/{p-d85d8922.entry.js → p-2536f6a6.entry.js} +1 -1
  555. package/dist/realtimekit-ui/{p-2316c6bc.entry.js → p-258d2fc9.entry.js} +1 -1
  556. package/dist/realtimekit-ui/{p-a57a1526.entry.js → p-27f02ea3.entry.js} +1 -1
  557. package/dist/realtimekit-ui/p-3506c2ea.entry.js +1 -0
  558. package/dist/realtimekit-ui/{p-7dad6390.entry.js → p-3ac61086.entry.js} +1 -1
  559. package/dist/realtimekit-ui/p-402c516a.entry.js +1 -0
  560. package/dist/realtimekit-ui/{p-b123f8b1.entry.js → p-4691f987.entry.js} +1 -1
  561. package/dist/realtimekit-ui/{p-5fc56f2c.entry.js → p-4bb3bd4d.entry.js} +1 -1
  562. package/dist/realtimekit-ui/{p-1bfb9d4c.entry.js → p-4bd66d53.entry.js} +1 -1
  563. package/dist/realtimekit-ui/{p-44c3a864.entry.js → p-4ffbbe73.entry.js} +1 -1
  564. package/dist/realtimekit-ui/{p-2c7e8ce0.entry.js → p-52af43ec.entry.js} +1 -1
  565. package/dist/realtimekit-ui/{p-120a5327.entry.js → p-52b9add3.entry.js} +1 -1
  566. package/dist/realtimekit-ui/{p-c541aac1.entry.js → p-52ef4fec.entry.js} +1 -1
  567. package/dist/realtimekit-ui/p-5340ca99.entry.js +1 -0
  568. package/dist/realtimekit-ui/p-53c0ddc5.js +1 -0
  569. package/dist/realtimekit-ui/{p-f678609d.entry.js → p-56860ab9.entry.js} +1 -1
  570. package/dist/realtimekit-ui/{p-d14da2b2.entry.js → p-56e9412d.entry.js} +1 -1
  571. package/dist/realtimekit-ui/{p-942ef1b9.entry.js → p-5a55f6ea.entry.js} +1 -1
  572. package/dist/realtimekit-ui/{p-3a65d21b.js → p-5c8df43e.js} +1 -1
  573. package/dist/realtimekit-ui/p-613dd40b.entry.js +1 -0
  574. package/dist/realtimekit-ui/{p-fa3321a2.entry.js → p-6c73ea2e.entry.js} +1 -1
  575. package/dist/realtimekit-ui/{p-47417ad0.entry.js → p-731b75a2.entry.js} +1 -1
  576. package/dist/realtimekit-ui/{p-a1a35935.entry.js → p-7eda08df.entry.js} +1 -1
  577. package/dist/realtimekit-ui/{p-e032d55e.entry.js → p-7f8cb2ac.entry.js} +1 -1
  578. package/dist/realtimekit-ui/{p-5f097be0.entry.js → p-7ff232ee.entry.js} +1 -1
  579. package/dist/realtimekit-ui/{p-90457a23.entry.js → p-85e5c7a8.entry.js} +1 -1
  580. package/dist/realtimekit-ui/{p-84f5261f.entry.js → p-8709edc6.entry.js} +1 -1
  581. package/dist/realtimekit-ui/{p-a0120425.entry.js → p-897ba0b8.entry.js} +1 -1
  582. package/dist/realtimekit-ui/{p-08ed9902.entry.js → p-89805e9c.entry.js} +1 -1
  583. package/dist/realtimekit-ui/p-8ba34ca9.entry.js +1 -0
  584. package/dist/realtimekit-ui/p-91cea045.entry.js +1 -0
  585. package/dist/realtimekit-ui/{p-7d0a1501.entry.js → p-92057a00.entry.js} +1 -1
  586. package/dist/realtimekit-ui/p-925ca884.entry.js +1 -0
  587. package/dist/realtimekit-ui/{p-9ffe2cf8.entry.js → p-93a3d9ef.entry.js} +1 -1
  588. package/dist/realtimekit-ui/{p-4cda414d.entry.js → p-93fe6cc7.entry.js} +1 -1
  589. package/dist/realtimekit-ui/p-95214bc5.entry.js +1 -0
  590. package/dist/realtimekit-ui/{p-defdde34.entry.js → p-96d27e12.entry.js} +1 -1
  591. package/dist/realtimekit-ui/{p-9ca0417e.entry.js → p-9b24930d.entry.js} +1 -1
  592. package/dist/realtimekit-ui/{p-dee39d44.entry.js → p-9d454c75.entry.js} +1 -1
  593. package/dist/realtimekit-ui/{p-9235a4e6.entry.js → p-a070157b.entry.js} +1 -1
  594. package/dist/realtimekit-ui/{p-0a8c9715.entry.js → p-a27c59b3.entry.js} +1 -1
  595. package/dist/realtimekit-ui/{p-3fefd152.entry.js → p-a67d2980.entry.js} +1 -1
  596. package/dist/realtimekit-ui/{p-53be9a05.entry.js → p-acd26490.entry.js} +1 -1
  597. package/dist/realtimekit-ui/{p-78f862c3.entry.js → p-af99af7b.entry.js} +1 -1
  598. package/dist/realtimekit-ui/{p-77691d67.entry.js → p-b39bcc95.entry.js} +1 -1
  599. package/dist/realtimekit-ui/{p-47732303.entry.js → p-b4b35ca3.entry.js} +1 -1
  600. package/dist/realtimekit-ui/{p-343ef888.entry.js → p-b6604ddb.entry.js} +1 -1
  601. package/dist/realtimekit-ui/{p-ffea4e94.entry.js → p-b6afdb2b.entry.js} +1 -1
  602. package/dist/realtimekit-ui/p-b9417ac5.entry.js +1 -0
  603. package/dist/realtimekit-ui/{p-3d4c16da.entry.js → p-bfed2368.entry.js} +1 -1
  604. package/dist/realtimekit-ui/{p-7e6c2020.entry.js → p-c252748f.entry.js} +1 -1
  605. package/dist/realtimekit-ui/{p-254a6b5d.entry.js → p-c2fabc46.entry.js} +1 -1
  606. package/dist/realtimekit-ui/{p-95988b6f.entry.js → p-c3415f79.entry.js} +1 -1
  607. package/dist/realtimekit-ui/{p-e0c856f5.entry.js → p-c4426323.entry.js} +1 -1
  608. package/dist/realtimekit-ui/{p-b042d9b0.entry.js → p-c6642878.entry.js} +1 -1
  609. package/dist/realtimekit-ui/{p-b0532c87.entry.js → p-cd52728a.entry.js} +1 -1
  610. package/dist/realtimekit-ui/{p-a31c08c8.entry.js → p-cdb32b58.entry.js} +1 -1
  611. package/dist/realtimekit-ui/{p-081ebe8f.entry.js → p-cddc7e9b.entry.js} +1 -1
  612. package/dist/realtimekit-ui/p-ced9130e.entry.js +1 -0
  613. package/dist/realtimekit-ui/{p-79b8a0cd.entry.js → p-d0430abf.entry.js} +1 -1
  614. package/dist/realtimekit-ui/{p-4d65b02f.entry.js → p-d3498d94.entry.js} +1 -1
  615. package/dist/realtimekit-ui/{p-8af33b63.entry.js → p-d52eeb73.entry.js} +1 -1
  616. package/dist/realtimekit-ui/{p-ac2418d3.entry.js → p-da45cdc0.entry.js} +1 -1
  617. package/dist/realtimekit-ui/p-de70cab0.entry.js +1 -0
  618. package/dist/realtimekit-ui/p-e309dd38.entry.js +1 -0
  619. package/dist/realtimekit-ui/{p-a971914f.entry.js → p-e39f23e1.entry.js} +1 -1
  620. package/dist/realtimekit-ui/{p-319d7ccf.js → p-e4e7a8da.js} +1 -1
  621. package/dist/realtimekit-ui/p-ea127f94.entry.js +1 -0
  622. package/dist/realtimekit-ui/{p-95533cfd.entry.js → p-eac158e1.entry.js} +1 -1
  623. package/dist/realtimekit-ui/{p-c76f9116.entry.js → p-ed5c4c4e.entry.js} +1 -1
  624. package/dist/realtimekit-ui/p-efad3c75.js +1 -0
  625. package/dist/realtimekit-ui/{p-803461e6.entry.js → p-f1bba123.entry.js} +1 -1
  626. package/dist/realtimekit-ui/p-fbd7f684.js +1 -0
  627. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  628. package/dist/types/components/rtk-ai-transcriptions/rtk-ai-transcriptions.d.ts +7 -3
  629. package/dist/types/components.d.ts +8 -0
  630. package/dist/types/lib/lang/default-language.d.ts +3 -0
  631. package/package.json +1 -1
  632. package/dist/realtimekit-ui/p-053a52f7.entry.js +0 -1
  633. package/dist/realtimekit-ui/p-13cebc8f.js +0 -1
  634. package/dist/realtimekit-ui/p-14fe24b5.js +0 -1
  635. package/dist/realtimekit-ui/p-2e07fcff.entry.js +0 -1
  636. package/dist/realtimekit-ui/p-3ad9f0bd.entry.js +0 -1
  637. package/dist/realtimekit-ui/p-3f95b4f6.entry.js +0 -1
  638. package/dist/realtimekit-ui/p-60fec53d.entry.js +0 -1
  639. package/dist/realtimekit-ui/p-64e89a74.entry.js +0 -1
  640. package/dist/realtimekit-ui/p-7efa6ca9.entry.js +0 -1
  641. package/dist/realtimekit-ui/p-8ed5c06b.entry.js +0 -1
  642. package/dist/realtimekit-ui/p-8fe640ee.entry.js +0 -1
  643. package/dist/realtimekit-ui/p-9c6a27ee.js +0 -1
  644. package/dist/realtimekit-ui/p-b8f02662.entry.js +0 -1
  645. package/dist/realtimekit-ui/p-b96ac804.entry.js +0 -1
  646. package/dist/realtimekit-ui/p-cbb2085d.entry.js +0 -1
  647. package/dist/realtimekit-ui/p-d2f12e6d.entry.js +0 -1
  648. package/dist/realtimekit-ui/p-d5399985.entry.js +0 -1
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, h, a as Host, g as getElement } from './index-55463a54.js';
2
- import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage } from './ui-store-be7366eb.js';
2
+ import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage } from './ui-store-8c88e8bd.js';
3
3
  import { R as Render } from './index-3f51790f.js';
4
4
  import { u as useGrid } from './grid-a3ca5a3e.js';
5
5
  import { i as index } from './ResizeObserver.es-02979d4e.js';
6
- import { S as SyncWithStore } from './index-7a7cc1c8.js';
6
+ import { S as SyncWithStore } from './index-674e5834.js';
7
7
 
8
8
  const rtkSimpleGridCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:block;height:100%;width:100%}";
9
9
  const RtkSimpleGridStyle0 = rtkSimpleGridCss;
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h, a as Host, g as getElement } from './index-55463a54.js';
2
- import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage } from './ui-store-be7366eb.js';
2
+ import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage } from './ui-store-8c88e8bd.js';
3
3
  import { d as defaultGridSize } from './grid-a3ca5a3e.js';
4
4
  import { R as Render } from './index-3f51790f.js';
5
- import { S as SyncWithStore } from './index-7a7cc1c8.js';
5
+ import { S as SyncWithStore } from './index-674e5834.js';
6
6
 
7
7
  const rtkSpotlightGridCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;height:100%;width:100%}main{flex:1 1 0%}.grid-width-sm{width:25%}.grid-width-md{width:50%}.grid-width-lg{width:66.666667%}:host([size='sm']),:host([size='md']){flex-direction:column}:host([size='md']) aside{max-height:var(--rtk-space-96, 384px);width:100%;max-width:100%}:host([size='md']) .grid-width-sm{height:25%}:host([size='md']) .grid-width-md{height:50%}:host([size='md']) .grid-width-lg{height:66.666667%}:host([size='sm']) aside{max-height:var(--rtk-space-96, 384px);width:100%;max-width:100%}:host([size='sm']) .grid-width-sm,:host([size='sm']) .grid-width-md,:host([size='sm']) .grid-width-lg{height:50%}:host([size='xl']) .grid-width-sm,:host([size='xl']) .grid-width-md,:host([size='xl']) .grid-width-lg{width:400px}:host([layout='column']){flex-direction:column}:host([layout='column']) main{flex:4}:host([layout='column']) aside{flex:2;max-width:100%;width:100%}";
8
8
  const RtkSpotlightGridStyle0 = rtkSpotlightGridCss;
@@ -67,13 +67,13 @@ const RtkSpotlightGrid = class {
67
67
  t: this.t,
68
68
  };
69
69
  const nonPinnedParticipants = this.participants.filter((p) => this.pinnedParticipants.some((pt) => pt.id != p.id));
70
- return (h(Host, { key: 'ae7a59ab30389858e0e858e45715703b5ff70a64' }, h("main", { key: 'c654fa973b878dfedcbf50d4cd721ead7c934823', part: "main" }, h(Render, { key: '76977fe2c71d9f5bb6fc1db0ea3b0a1fec953342', element: "rtk-simple-grid", defaults: defaults, props: {
70
+ return (h(Host, { key: '1cb846cc92b660a8244d16a74f48dfadcef903b6' }, h("main", { key: '8564f8b0bf6e7bd668132e2833fe73c73855d090', part: "main" }, h(Render, { key: '61b96f305727dc74de15f4c3c645069d6300afd9', element: "rtk-simple-grid", defaults: defaults, props: {
71
71
  part: 'main-grid',
72
72
  participants: this.pinnedParticipants,
73
73
  aspectRatio: this.aspectRatio,
74
74
  gap: this.gap,
75
75
  size: this.getAdaptiveSize(this.pinnedParticipants.length),
76
- } })), nonPinnedParticipants.length > 0 && (h("aside", { key: 'c4472ba092926b8252309ccb705ab176c9f778d3', part: "aside", class: this.gridSize.spotlight ? `grid-width-${this.gridSize.spotlight}` : 'grid-width-md' }, h(Render, { key: 'e7b636cc6dd46a7c4b9771070df8531d239fc0c0', element: "rtk-simple-grid", defaults: defaults, props: {
76
+ } })), nonPinnedParticipants.length > 0 && (h("aside", { key: '2e297a8d83c1f7241d8688b643c055331d69299b', part: "aside", class: this.gridSize.spotlight ? `grid-width-${this.gridSize.spotlight}` : 'grid-width-md' }, h(Render, { key: '2c1969c610018dfb0a23308316f072e3b8d87a6e', element: "rtk-simple-grid", defaults: defaults, props: {
77
77
  part: 'aside-grid',
78
78
  participants: nonPinnedParticipants,
79
79
  aspectRatio: this.aspectRatio,
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, a as Host } from './index-55463a54.js';
2
- import { e as defaultIconPack, i as useLanguage } from './ui-store-be7366eb.js';
3
- import { S as SyncWithStore } from './index-7a7cc1c8.js';
2
+ import { e as defaultIconPack, i as useLanguage } from './ui-store-8c88e8bd.js';
3
+ import { S as SyncWithStore } from './index-674e5834.js';
4
4
 
5
5
  const rtkSpotlightIndicatorCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{font-size:12px}#sync-button{flex-direction:row;border-radius:var(--rtk-border-radius-sm, 4px);padding-left:var(--rtk-space-1, 4px);display:flex;align-items:center;justify-content:center;margin-bottom:var(--rtk-space-1, 4px);font-size:12px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}:host([size='sm']) rtk-tooltip,:host([size='md']) rtk-tooltip{width:100%}:host([size='sm'])>#sync-button{height:var(--rtk-space-8, 32px);width:var(--rtk-space-16, 64px);padding-left:var(--rtk-space-0, 0px)}:host([size='md'])>#sync-button{height:var(--rtk-space-8, 32px);width:var(--rtk-space-16, 64px)}:host([size='lg'])>#sync-button{flex-direction:row;height:var(--rtk-space-8, 32px);width:var(--rtk-space-16, 64px)}@media (orientation: portrait){:host([size='lg']) #sync-button{flex-direction:column-reverse;height:var(--rtk-space-16, 64px);width:var(--rtk-space-16, 64px)}:host([size='md']) #sync-button{height:var(--rtk-space-16, 64px);width:var(--rtk-space-16, 64px)}:host([size='sm']) #sync-button{height:var(--rtk-space-10, 40px);width:var(--rtk-space-16, 64px);flex-direction:row}}#sync-button>rtk-icon{max-height:14px}#sync-button rtk-icon{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}:host([size='sm']) #sync-button>rtk-icon{width:auto}#sync-button.active rtk-icon{color:rgb(var(--rtk-colors-text-1000, 255 255 255))}div{align-content:center;line-height:2rem}rtk-icon{height:var(--rtk-space-6, 24px);width:var(--rtk-space-8, 32px)}#sync-button.active{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-bg-opacity))}";
6
6
  const RtkSpotlightIndicatorStyle0 = rtkSpotlightIndicatorCss;
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, d as createEvent, h, a as Host } from './index-55463a54.js';
2
- import { e as defaultIconPack, i as useLanguage } from './ui-store-be7366eb.js';
3
- import { S as SyncWithStore } from './index-7a7cc1c8.js';
2
+ import { e as defaultIconPack, i as useLanguage } from './ui-store-8c88e8bd.js';
3
+ import { S as SyncWithStore } from './index-674e5834.js';
4
4
 
5
5
  const canJoinStage = (meeting) => {
6
6
  var _a, _b;
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, d as createEvent, h, a as Host } from './index-55463a54.js';
2
- import { e as defaultIconPack, i as useLanguage } from './ui-store-be7366eb.js';
3
- import { S as SyncWithStore } from './index-7a7cc1c8.js';
2
+ import { e as defaultIconPack, i as useLanguage } from './ui-store-8c88e8bd.js';
3
+ import { S as SyncWithStore } from './index-674e5834.js';
4
4
 
5
5
  const rtkStageCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block;position:relative;overflow:hidden}";
6
6
  const RtkStageStyle0 = rtkStageCss;
@@ -25,7 +25,7 @@ const RtkStage = class {
25
25
  this.t = useLanguage();
26
26
  }
27
27
  render() {
28
- return (h(Host, { key: '080bd127c4c95f790680c3c7a7fc3b017d338c63' }, h("slot", { key: '7de16a4fbc2940c4b5dd7a9f564ecc1792f7c0fc' })));
28
+ return (h(Host, { key: '681977138d7984d09fce875a7de3ccf763dbe3f7' }, h("slot", { key: '8412278c7a9491758d6cc0b96b262b616a8ba04f' })));
29
29
  }
30
30
  };
31
31
  __decorate([
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, d as createEvent, h, a as Host } from './index-55463a54.js';
2
- import { i as useLanguage } from './ui-store-be7366eb.js';
3
- import { S as SyncWithStore } from './index-7a7cc1c8.js';
2
+ import { i as useLanguage } from './ui-store-8c88e8bd.js';
3
+ import { S as SyncWithStore } from './index-674e5834.js';
4
4
 
5
5
  const rtkTranscriptCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{pointer-events:none;display:block;color:rgb(var(--rtk-colors-text-1000, 255 255 255));display:flex;justify-content:center;vertical-align:middle;animation:show 0.4s ease;transition:0.4s;z-index:5;width:100%}.ctr{box-sizing:border-box;display:inline-flex;height:100%;align-items:center;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);--tw-shadow-color:rgb(var(--rtk-colors-background-1000, 8 8 8));--tw-shadow:var(--tw-shadow-colored);pointer-events:auto;padding:var(--rtk-space-3, 12px);overflow:auto;max-width:50%}.message{margin:var(--rtk-space-0, 0px);display:inline-block;justify-content:center;max-width:100%;text-wrap:wrap;line-height:1.5rem}.message .name{font-weight:bold}:host(.exit){animation:exit 0.4s ease}@keyframes show{0%{opacity:0;transform:translateY(120px)}100%{opacity:1;transform:translateY(0px)}}@keyframes exit{0%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-120px)}}:host([size='sm']){font-size:14px}";
6
6
  const RtkTranscriptStyle0 = rtkTranscriptCss;
@@ -40,7 +40,7 @@ const RtkTranscript = class {
40
40
  }, 10000);
41
41
  }
42
42
  render() {
43
- return (h(Host, { key: '1ef3069a15bd4ad0a8640e4caca8848827caae76' }, h("div", { key: 'f83ec302741a682c167759499a96827e860d4d10', class: "ctr" }, h("p", { key: 'e2f8c1217b7356c9ac1512d5b7829665811aec23', class: "message" }, h("span", { key: 'facedc310aadcbd93f2739e08eaa269c7ec11432', class: "name" }, this.transcript.name), ": ", this.transcript.transcript))));
43
+ return (h(Host, { key: '0c5388d7f66dc55a13ccd85b83292bacfe4d1c7a' }, h("div", { key: '3b1684efa2f6b9e5653cec33572ffe41654460e9', class: "ctr" }, h("p", { key: 'b055b2371877d999c7ac60ff67f1c7ece9e4ec42', class: "message" }, h("span", { key: '283903c7e3cd282f6f377e93bd13faba265acdd8', class: "name" }, this.transcript.name), ": ", this.transcript.transcript))));
44
44
  }
45
45
  static get watchers() { return {
46
46
  "transcript": ["transcriptChanged"]
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, e as writeTask, h, a as Host, g as getElement } from './index-55463a54.js';
2
- import { c as createDefaultConfig, i as useLanguage, O as clone } from './ui-store-be7366eb.js';
3
- import { S as SyncWithStore } from './index-7a7cc1c8.js';
2
+ import { c as createDefaultConfig, i as useLanguage, O as clone } from './ui-store-8c88e8bd.js';
3
+ import { S as SyncWithStore } from './index-674e5834.js';
4
4
 
5
5
  const rtkTranscriptsCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:absolute;top:var(--rtk-space-4, 16px);right:var(--rtk-space-4, 16px);bottom:var(--rtk-space-4, 16px);left:var(--rtk-space-4, 16px);top:auto;display:flex;flex-direction:column;pointer-events:none;justify-content:center;width:100%;z-index:5}rtk-transcript{margin-top:var(--rtk-space-2, 8px)}";
6
6
  const RtkTranscriptsStyle0 = rtkTranscriptsCss;
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-55463a54.js';
2
- import { e as defaultIconPack, i as useLanguage, c as createDefaultConfig, f as defaultOverrides, u as uiStore, b as createPeerStore } from './ui-store-be7366eb.js';
3
- import { d as deepMerge, p as provideRtkDesignSystem } from './merge-fdf6a529.js';
2
+ import { e as defaultIconPack, i as useLanguage, c as createDefaultConfig, f as defaultOverrides, u as uiStore, b as createPeerStore } from './ui-store-8c88e8bd.js';
3
+ import { d as deepMerge, p as provideRtkDesignSystem } from './merge-bb3b8189.js';
4
4
 
5
5
  const rtkUiProviderCss = ":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;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));overflow:hidden;position:fixed;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);height:100%;width:100%}:host([mode='fill']){position:relative}";
6
6
  const RtkUiProviderStyle0 = rtkUiProviderCss;
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, a as Host } from './index-55463a54.js';
2
- import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage } from './ui-store-be7366eb.js';
3
- import { S as SyncWithStore } from './index-7a7cc1c8.js';
2
+ import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage } from './ui-store-8c88e8bd.js';
3
+ import { S as SyncWithStore } from './index-674e5834.js';
4
4
 
5
5
  const rtkWaitingScreenCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.centered{display:flex;flex-direction:column;align-items:center}rtk-logo{margin-bottom:var(--rtk-space-8, 32px);height:var(--rtk-space-12, 48px)}p{font-size:16px;border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-8, 32px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}";
6
6
  const RtkWaitingScreenStyle0 = rtkWaitingScreenCss;
@@ -26,7 +26,7 @@ const RtkWaitingScreen = class {
26
26
  this.t = useLanguage();
27
27
  }
28
28
  render() {
29
- return (h(Host, { key: '3dabde5229cc774205c261f4d75898fabb13664c' }, h("slot", { key: 'aee4650d8108dd7ca85a1894aed69585c56dc071' }, h("div", { key: '81675717c6d563e24ab0768ca2ee2d42f82951d1', class: "centered", part: "content" }, h("rtk-logo", { key: '7bfa23389008d7174a2ab2538c046d8e11c74d89', meeting: this.meeting, config: this.config, part: "logo", t: this.t }), h("p", { key: 'ee05c7dfd65465ea9bf8f0064793f7c77b8fb3c8' }, this.t('waitlist.body_text'))))));
29
+ return (h(Host, { key: 'ac7096bd5df59387dcef15bbd4ef8955a4a42298' }, h("slot", { key: '6dd0f5b9555c956c1371311ef3c4ac8f661e9523' }, h("div", { key: '07925b636545e1196b10512cd504516df2cfbbf4', class: "centered", part: "content" }, h("rtk-logo", { key: '9b3fcf182d7c68aaf525a8170dbab9e59fc40404', meeting: this.meeting, config: this.config, part: "logo", t: this.t }), h("p", { key: '763a6403bc98a16f020101090bbed250041ae7cd' }, this.t('waitlist.body_text'))))));
30
30
  }
31
31
  };
32
32
  __decorate([
@@ -1,4 +1,4 @@
1
- import { M as isLiveStreamViewer } from './ui-store-be7366eb.js';
1
+ import { M as isLiveStreamViewer } from './ui-store-8c88e8bd.js';
2
2
 
3
3
  const canViewChat = (meeting) => {
4
4
  if (meeting && !meeting.chat)
@@ -3592,7 +3592,7 @@ const defaultLanguage = {
3592
3592
  'breakout_rooms.leave_confirmation': 'Are you sure you want to leave the call? You are in a breakout room, you can join the main room too.',
3593
3593
  'breakout_rooms.leave_confirmation.main_room_btn': 'Go back to main room',
3594
3594
  ai: 'AI',
3595
- 'ai.meeting_ai': 'MeetingAI',
3595
+ 'ai.meeting_ai': 'Meeting AI',
3596
3596
  'ai.home': 'Home',
3597
3597
  'ai.transcriptions': 'Transcriptions',
3598
3598
  'ai.personal': 'Personal',
@@ -3600,6 +3600,9 @@ const defaultLanguage = {
3600
3600
  'ai.chat.tooltip': 'This conversation will just be visible to you and not to others in the call.',
3601
3601
  'ai.chat.summarize': 'Hey AI, summarize this call',
3602
3602
  'ai.chat.agenda': "Hey AI, what is today's agenda?",
3603
+ 'ai.transcriptions.search_placeholder': 'Search by participant name or transcript',
3604
+ 'ai.transcriptions.no_transcripts_found': 'No transcripts found. Try searching for a different participant or transcript.',
3605
+ 'ai.transcriptions.no_transcripts_yet': 'No transcripts yet.',
3603
3606
  search: 'Search',
3604
3607
  'search.could_not_find': "Couldn't find a participant with the specified name or ID.",
3605
3608
  'search.empty': 'It looks like nobody is here.',
@@ -1 +1 @@
1
- import{c as t}from"./p-13cebc8f.js";export{B as BreakoutRoomsManager,c as createDefaultConfig,b as createPeerStore,d as defaultConfig,e as defaultIconPack,h as defaultLanguage,f as defaultOverrides,g as getInitialStates,a as uiState,u as uiStore,i as useLanguage}from"./p-13cebc8f.js";export{p as provideRtkDesignSystem}from"./p-91832f46.js";import{g as s}from"./p-3a65d21b.js";export{e as extendConfig,g as generateConfig}from"./p-3a65d21b.js";export{R as RtkNotificationsAudio}from"./p-598b792e.js";export{g as generateChatGroupKey,a as getChatGroups,c as getParticipantUserId,b as getUnreadChatCounts}from"./p-319d7ccf.js";import"./p-a599f720.js";import"./p-05186172.js";const r=(t,e)=>{if("undefined"==typeof document)return!1;const s=new CustomEvent("rtkNotification",{detail:Object.assign(Object.assign({},t),{playSound:e}),composed:!0});return document.dispatchEvent(s)};function o(t){return e=>Array.isArray(e)?e[0]===t:e===t}function n(t){return e=>Array.isArray(e)?e[0]!==t:e!==t}function l(t){return t.replace(/([a-z])([A-Z])/g,(t=>`${t[0]}-${t[1]}`.toLowerCase()))}class m{constructor(t,e,s){this.elem=t,this.config=e,this.keyString=s}add(t,e={}){var s;let i=t=l(t);return Object.keys(e).length>0&&(i=[t,e]),Array.isArray(this.elem)?this.elem.push(i):"children"in this.elem&&Array.isArray(this.elem.children)?this.elem.children=[...this.elem.children,i]:"remove"in this.elem&&Array.isArray(this.elem.remove)&&this.elem.remove.find(o(t))?this.elem.remove=this.elem.remove.filter(n(t)):("add"in this.elem||(this.elem.add=[]),null===(s=this.elem.add)||void 0===s||s.push(i)),this}remove(t){var e;if(t=l(t),Array.isArray(this.elem)){const e=this.elem.findIndex(o(t));e>-1&&this.elem.splice(e,1)}else"children"in this.elem&&Array.isArray(this.elem.children)?this.elem.children=this.elem.children.filter(n(t)):"add"in this.elem&&Array.isArray(this.elem.add)&&this.elem.add.find((e=>e===t))?this.elem.add=this.elem.add.filter(n(t)):("remove"in this.elem||(this.elem.remove=[]),null===(e=this.elem.remove)||void 0===e||e.push(t));return this}set style(t){console.log(t)}setChildrenProps(t,e){console.log(this.keyString,t,e)}getChildrenProps(t){return console.log(this.keyString,t),{}}replace(t){console.log(this.config,t)}}class v{constructor(e){this.config=e||t()}find(t,e={}){t=l(t);const s=[],i=[];Object.keys(e||{}).forEach((t=>{"boolean"==typeof e[t]?s.push(t):i.push([t,e[t]])})),s.sort();const r=this.config.root;if(void 0===r)return;let o=t,a="";s.length>0&&(a=`.${s.join(".")}`,o=`${t}${a}`,Array.isArray(r[t])&&(r[t]={states:[],children:r[t]}),void 0===r[t].states&&(r[t].states=[]),s.forEach((e=>{var s,i;-1===(null===(s=r[t].states)||void 0===s?void 0:s.indexOf(e))&&(null===(i=r[t].states)||void 0===i||i.push(e))}))),i.length>0&&i.forEach((e=>{o=`${t}[${e[0]}=${e[1]}]${a}`,Array.isArray(r[t])&&(r[t]={state:e[0],children:r[t]})}));let n=r[o];return void 0===n&&(r[o]={},n=r[o]),new m(n,this.config,o)}build(){return this.config}}function y(t,e,i){if(!i){const t=s(e.self.config,e);i=t.config}return t.map((t=>{i=t.register(i,e,(t=>new v(t)))})),i}export{v as RtkUiBuilder,y as registerAddons,r as sendNotification}
1
+ import{c as t}from"./p-efad3c75.js";export{B as BreakoutRoomsManager,c as createDefaultConfig,b as createPeerStore,d as defaultConfig,e as defaultIconPack,h as defaultLanguage,f as defaultOverrides,g as getInitialStates,a as uiState,u as uiStore,i as useLanguage}from"./p-efad3c75.js";export{p as provideRtkDesignSystem}from"./p-1fce947c.js";import{g as s}from"./p-5c8df43e.js";export{e as extendConfig,g as generateConfig}from"./p-5c8df43e.js";export{R as RtkNotificationsAudio}from"./p-598b792e.js";export{g as generateChatGroupKey,a as getChatGroups,c as getParticipantUserId,b as getUnreadChatCounts}from"./p-e4e7a8da.js";import"./p-a599f720.js";import"./p-05186172.js";const r=(t,e)=>{if("undefined"==typeof document)return!1;const s=new CustomEvent("rtkNotification",{detail:Object.assign(Object.assign({},t),{playSound:e}),composed:!0});return document.dispatchEvent(s)};function o(t){return e=>Array.isArray(e)?e[0]===t:e===t}function n(t){return e=>Array.isArray(e)?e[0]!==t:e!==t}function l(t){return t.replace(/([a-z])([A-Z])/g,(t=>`${t[0]}-${t[1]}`.toLowerCase()))}class m{constructor(t,e,s){this.elem=t,this.config=e,this.keyString=s}add(t,e={}){var s;let i=t=l(t);return Object.keys(e).length>0&&(i=[t,e]),Array.isArray(this.elem)?this.elem.push(i):"children"in this.elem&&Array.isArray(this.elem.children)?this.elem.children=[...this.elem.children,i]:"remove"in this.elem&&Array.isArray(this.elem.remove)&&this.elem.remove.find(o(t))?this.elem.remove=this.elem.remove.filter(n(t)):("add"in this.elem||(this.elem.add=[]),null===(s=this.elem.add)||void 0===s||s.push(i)),this}remove(t){var e;if(t=l(t),Array.isArray(this.elem)){const e=this.elem.findIndex(o(t));e>-1&&this.elem.splice(e,1)}else"children"in this.elem&&Array.isArray(this.elem.children)?this.elem.children=this.elem.children.filter(n(t)):"add"in this.elem&&Array.isArray(this.elem.add)&&this.elem.add.find((e=>e===t))?this.elem.add=this.elem.add.filter(n(t)):("remove"in this.elem||(this.elem.remove=[]),null===(e=this.elem.remove)||void 0===e||e.push(t));return this}set style(t){console.log(t)}setChildrenProps(t,e){console.log(this.keyString,t,e)}getChildrenProps(t){return console.log(this.keyString,t),{}}replace(t){console.log(this.config,t)}}class v{constructor(e){this.config=e||t()}find(t,e={}){t=l(t);const s=[],i=[];Object.keys(e||{}).forEach((t=>{"boolean"==typeof e[t]?s.push(t):i.push([t,e[t]])})),s.sort();const r=this.config.root;if(void 0===r)return;let a=t,o="";s.length>0&&(o=`.${s.join(".")}`,a=`${t}${o}`,Array.isArray(r[t])&&(r[t]={states:[],children:r[t]}),void 0===r[t].states&&(r[t].states=[]),s.forEach((e=>{var s,i;-1===(null===(s=r[t].states)||void 0===s?void 0:s.indexOf(e))&&(null===(i=r[t].states)||void 0===i||i.push(e))}))),i.length>0&&i.forEach((e=>{a=`${t}[${e[0]}=${e[1]}]${o}`,Array.isArray(r[t])&&(r[t]={state:e[0],children:r[t]})}));let n=r[a];return void 0===n&&(r[a]={},n=r[a]),new m(n,this.config,a)}build(){return this.config}}function y(t,e,i){if(!i){const t=s(e.self.config,e);i=t.config}return t.map((t=>{i=t.register(i,e,(t=>new v(t)))})),i}export{v as RtkUiBuilder,y as registerAddons,r as sendNotification}
@@ -1 +1 @@
1
- import{r as t,e as i,h as s,a as e,g as n}from"./p-a599f720.js";import{R as o}from"./p-598b792e.js";import{f as a}from"./p-6f211c3e.js";import{c as h,i as c,e as r,N as d}from"./p-13cebc8f.js";import{f as l}from"./p-319d7ccf.js";import{S as u}from"./p-47979011.js";import"./p-05186172.js";const p=2e3,g=Object.freeze({notifications:{participant_joined:!0,participant_left:!0,participant_joined_waitlist:!0,chat:!0,polls:!0,webinar:!0,tab_sync:!0,recording_started:!0,recording_stopped:!0},notification_sounds:{participant_joined:!0,participant_left:!0,chat:!0,polls:!0,webinar:!0,participant_joined_waitlist:!0},notification_duration:{participant_joined:2100,participant_left:2100,participant_joined_waitlist:4e3,chat:p,polls:p,webinar:p,tab_sync:p,recording_started:p,recording_stopped:p},participant_joined_sound_notification_limit:10,participant_chat_message_sound_notification_limit:10});var f=function(t,i,s,e){var n,o=arguments.length,a=o<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,s,e);else for(var h=t.length-1;h>=0;h--)(n=t[h])&&(a=(o<3?n(a):o>3?n(i,s,a):n(i,s))||a);return o>3&&a&&Object.defineProperty(i,s,a),a};function m(t){return Object.keys(t).filter((i=>t[i]))}const v=class{constructor(i){t(this,i),this.permissions=g,this.enabledSounds=m(g.notification_sounds),this.config=h(),this.t=c(),this.iconPack=r,this.notifications=[],this.addStagePeersListeners=t=>{t.participants.joined.addListener("participantJoined",this.participantJoinedListener),t.participants.joined.addListener("participantLeft",this.participantLeftListener)},this.removeStagePeersListeners=t=>{t.participants.joined.removeListener("participantJoined",this.participantJoinedListener),t.participants.joined.removeListener("participantLeft",this.participantLeftListener)},this.onNotification=t=>{this.add(t.detail);const i=t.detail.playSound;null!=i&&this.audio.play(i)},this.onRecordingUpdate=t=>{var i,s;"RECORDING"===t&&!1!==this.permissions.notifications.recording_started?this.add({id:"recording-started",icon:this.iconPack.recording,message:this.t("recording.started"),duration:null!==(i=this.permissions.notification_duration.recording_started)&&void 0!==i?i:p}):"STOPPING"===t&&!1!==this.permissions.notifications.recording_stopped&&this.add({id:"recording-stopped",icon:this.iconPack.stop_recording,message:this.t("recording.stopped"),duration:null!==(s=this.permissions.notification_duration.recording_stopped)&&void 0!==s?s:p})},this.paused=!1}connectedCallback(){"undefined"!=typeof document&&(null===document||void 0===document||document.addEventListener("rtkNotification",this.onNotification)),this.meetingChanged(this.meeting),this.configChanged(this.config),this.statesChanged(this.states)}clearListeners(t){var i,s,e,n,o,a,h,c;const r="LIVESTREAM"===t.meta.viewType;(r&&"ON_STAGE"===(null===(i=t.stage)||void 0===i?void 0:i.status)||!r)&&this.removeStagePeersListeners(t),this.chatUpdateListener&&(null===(s=t.chat)||void 0===s||s.removeListener("chatUpdate",this.chatUpdateListener)),this.pollUpdateListener&&(null===(e=t.polls)||void 0===e||e.removeListener("pollsUpdate",this.pollUpdateListener)),t.meta.removeListener("socketConnectionUpdate",this.socketConnectionUpdateListener),this.stageRequestAccepted&&(null===(n=t.stage)||void 0===n||n.removeListener("stageRequestApproved",this.stageRequestAccepted)),this.stageRequestRejected&&(null===(o=t.stage)||void 0===o||o.removeListener("stageRequestRejected",this.stageRequestRejected)),this.newStageRequests&&(null===(a=t.stage)||void 0===a||a.removeListener("newStageRequest",this.newStageRequests)),this.stageStatusUpdateListener&&(null===(h=t.stage)||void 0===h||h.removeListener("stageStatusUpdate",this.stageStatusUpdateListener)),null===(c=t.recording)||void 0===c||c.removeListener("recordingUpdate",this.onRecordingUpdate),clearTimeout(this.disconnectTimeout),t.self.removeListener("deviceUpdate",this.deviceUpdateListener)}disconnectedCallback(){var t;"undefined"!=typeof document&&(null===document||void 0===document||document.removeEventListener("rtkNotification",this.onNotification)),this.meeting&&(this.clearListeners(this.meeting),this.waitlistedParticipantJoinedListener&&this.meeting.participants.waitlisted.removeListener("participantJoined",this.waitlistedParticipantJoinedListener),this.waitlistedParticipantLeftListener&&this.meeting.participants.waitlisted.removeListener("participantLeft",this.waitlistedParticipantLeftListener),this.activeTabUpdateListener&&(null===(t=this.meeting.meta)||void 0===t||t.removeListener("activeTabUpdate",this.activeTabUpdateListener)),this.peerStageStatusListener&&this.meeting.participants.joined.removeListener("stageStatusUpdate",this.peerStageStatusListener))}meetingChanged(t,i){var s,e,n,h,c,r,u,p,g;if(clearTimeout(this.disconnectTimeout),i&&this.clearListeners(i),!t)return;const f="LIVESTREAM"===t.meta.viewType;this.audio=new o(t);const{notifications:m,notification_duration:v,notification_sounds:_}=this.permissions;if(this.participantJoinedListener=t=>{m.participant_joined&&this.add({id:`${t.id}-joined`,message:`${a(t.name)} ${this.t("notifications.joined")}`,image:t.picture,duration:v.participant_joined}),_.participant_joined&&this.canPlayParticipantJoinedSound()&&this.audio.play("joined")},this.participantLeftListener=t=>{const{socketState:{state:i}}=this.meeting.meta;m.participant_left&&"connected"!==i&&this.add({id:`${t.id}-left`,message:`${a(t.name)} ${this.t("notifications.left")}`,image:t.picture,duration:v.participant_left}),_.participant_left&&this.canPlayParticipantJoinedSound()&&this.audio.play("left")},this.waitlistedParticipantJoinedListener=t=>{if(!this.canAcceptWaitingRequests())return;const i=`${t.id}-joined-waitlist`;this.add({id:i,message:`${a(t.name)} ${this.t("notifications.requesting_to_join_meeting")}`,image:t.picture,duration:v.participant_joined_waitlist,button:{text:this.t("notifications.accept"),variant:"primary",onClick:async()=>{await this.meeting.participants.acceptWaitingRoomRequest(t.id),this.remove(i)}}}),_.participant_joined_waitlist&&this.canPlayParticipantJoinedSound()&&this.audio.play("message")},this.waitlistedParticipantLeftListener=t=>{this.remove(`${t.id}-joined-waitlist`)},this.chatUpdateListener=({message:i,action:s})=>{if("add"!==s)return;const e=l(i);if(null!=e){if(e.userId===t.self.userId)return;"text"===e.type&&(m.chat&&this.add({id:`message-${Math.random().toString(36)}`,icon:this.iconPack.chat,message:`${e.displayName}: ${e.message}`,duration:v.chat}),_.chat&&this.canPlayChatSound()&&this.audio.play("message"))}},this.pollUpdateListener=({polls:t,newPoll:i})=>{!1!==i&&(m.polls&&this.meeting.self.userId!==t[t.length-1].createdByUserId&&this.add({id:`poll-${Math.random().toString(36)}`,icon:this.iconPack.poll,message:`${this.t("notifications.new_poll_created_by")} ${t[t.length-1].createdBy}`,duration:v.polls}),_.polls&&this.meeting.self.userId!==t[t.length-1].createdByUserId&&this.canPlayChatSound()&&this.audio.play("message"))},this.deviceUpdateListener=({device:t,preview:i})=>{i||("audiooutput"===t.kind&&(this.audio.setDevice(t.deviceId),this.remove("speaker-switched"),this.add({id:"speaker-switched",message:`${this.t("notifications.connected_to")} ${t.label}`,icon:this.iconPack.speaker,duration:5e3})),"videoinput"===t.kind&&(this.remove("camera-switched"),this.add({id:"camera-switched",message:`${this.t("notifications.connected_to")} ${t.label}`,icon:this.meeting.self.videoEnabled?this.iconPack.video_on:this.iconPack.video_off,iconVariant:this.meeting.self.videoEnabled?"primary":"danger",duration:5e3})),"audioinput"===t.kind&&(this.remove("mic-switched"),this.add({id:"mic-switched",message:`${this.t("notifications.connected_to")} ${t.label}`,icon:this.meeting.self.audioEnabled?this.iconPack.mic_on:this.iconPack.mic_off,iconVariant:this.meeting.self.audioEnabled?"primary":"danger",duration:5e3})))},this.socketConnectionUpdateListener=({state:t,reconnectionAttempt:i,reconnected:s})=>{switch(t){case"connected":this.remove("socket"),s&&this.add({id:"socket",icon:this.iconPack.wifi,message:this.t("network.restored"),duration:3e3});break;case"disconnected":this.remove("socket"),this.add({id:"socket",icon:this.iconPack.disconnected,message:this.t("network.reconnecting")});break;case"reconnecting":i>=6?(this.remove("socket"),this.add({id:"socket",icon:this.iconPack.disconnected,message:this.t("network.disconnected"),button:{text:this.t("end"),variant:"danger",onClick:()=>{var t;return null===(t=this.meeting)||void 0===t?void 0:t.leaveRoom()}}})):i>=4&&(this.remove("socket"),this.add({id:"socket",icon:this.iconPack.disconnected,message:this.t("network.delay_extended")}));break;case"failed":this.remove("socket"),this.add({id:"socket",icon:this.iconPack.disconnected,message:this.t("network.leaving"),button:{text:this.t("end"),variant:"danger",onClick:()=>{var t;return null===(t=this.meeting)||void 0===t?void 0:t.leaveRoom()}}})}},this.activeTabUpdateListener=i=>{if(m.tab_sync)switch(i.type){case"plugin":const s=t.plugins.active.toArray().find((t=>t.id==i.id));null!=s&&this.add({id:"activeTab",message:`${this.t("notifications.plugin_switched_to")} ${s.name}`,duration:v.participant_joined});break;case"screenshare":const e=t.participants.joined.toArray().filter((t=>t.screenShareEnabled)).find((t=>t.id==i.id));null!=e&&this.add({id:"spotlight",message:`Now watching ${e.name}'s screen`,duration:v.webinar})}},this.peerStageStatusListener=t=>{"REQUESTED_TO_JOIN_STAGE"===t.stageStatus&&(this.add({id:`stage-request-${t.id}`,message:`${t.name} ${this.t("notifications.requested_to_join_stage")}`,duration:v.webinar,button:{text:this.t("notifications.accept"),variant:"primary",onClick:async()=>{await this.meeting.stage.grantAccess([t.userId]),this.remove(`stage-request-${t.id}`)}}}),_.webinar&&this.audio.play("joined")),"ON_STAGE"===t.stageStatus&&(this.add({id:`stage-joined-${t.id}`,message:`${t.name} ${this.t("notifications.joined_stage")}`,duration:v.webinar}),_.webinar&&this.audio.play("joined"))},this.stageRequestAccepted=()=>{this.add({id:"stage-request-accepted",message:this.t("notifications.request_to_join_accepted"),duration:3e3})},this.stageRequestRejected=()=>{this.add({id:"stage-request-rejected",message:this.t("notifications.request_to_join_rejected"),duration:3e3})},this.newStageRequests=({count:t})=>{this.add({id:"new-stage-request",message:`You have ${t<0?"new stage":`${t} pending`} request${1===t?"":"s"}`,duration:3e3})},this.stageStatusUpdateListener=i=>{"ON_STAGE"===i?this.addStagePeersListeners(t):this.removeStagePeersListeners(t)},!d(t)&&(null===(s=t.chat)||void 0===s||s.addListener("chatUpdate",this.chatUpdateListener)),"CHAT"===(null===(e=t.self.config.viewType)||void 0===e?void 0:e.toString()))return;const k=t.self.getCurrentDevices();null!=k.speaker&&this.audio.setDevice(k.speaker.deviceId),f?null===(n=t.stage)||void 0===n||n.on("stageStatusUpdate",this.stageStatusUpdateListener):this.addStagePeersListeners(t),this.canAcceptWaitingRequests()&&(t.participants.waitlisted.addListener("participantJoined",this.waitlistedParticipantJoinedListener),t.participants.waitlisted.addListener("participantLeft",this.waitlistedParticipantLeftListener)),null===(h=t.polls)||void 0===h||h.addListener("pollsUpdate",this.pollUpdateListener),t.self.addListener("deviceUpdate",this.deviceUpdateListener),t.meta.addListener("socketConnectionUpdate",this.socketConnectionUpdateListener),null===(c=t.meta)||void 0===c||c.addListener("activeTabUpdate",this.activeTabUpdateListener),null===(r=t.recording)||void 0===r||r.addListener("recordingUpdate",this.onRecordingUpdate),null===(u=t.stage)||void 0===u||u.addListener("stageRequestApproved",this.stageRequestAccepted),null===(p=t.stage)||void 0===p||p.addListener("stageRequestRejected",this.stageRequestRejected),t.self.permissions.stageEnabled&&t.self.permissions.acceptStageRequests&&(null===(g=t.stage)||void 0===g||g.addListener("newStageRequest",this.newStageRequests))}configChanged(t){null!=t&&null!=(null==t?void 0:t.config)&&(this.permissions=function(t){const i=Object.assign({},g);return null==t||(Object.assign(i.notification_sounds,t.notification_sounds),Object.assign(i.notifications,t.notifications),Object.assign(i.notification_duration,t.notification_duration),i.participant_chat_message_sound_notification_limit=t.participant_chat_message_sound_notification_limit,i.participant_joined_sound_notification_limit=t.participant_joined_sound_notification_limit),i}(t.config),this.enabledSounds=m(this.permissions.notification_sounds))}statesChanged(t){var i;if(null!=t){const s=!(null===(i=null==t?void 0:t.prefs)||void 0===i?void 0:i.muteNotificationSounds);for(const t of this.enabledSounds)t in this.permissions.notification_sounds&&(this.permissions.notification_sounds[t]=s)}}apiErrorListener({detail:t}){const{trace:i,message:s}=t;this.add({id:i,message:s,duration:p,icon:this.iconPack.warning})}sendNotificationListener({detail:t}){const{trace:i,message:s}=t;this.add({id:i,message:s,duration:p})}add(t){"visible"===document.visibilityState&&this.notifications.length<5&&(this.notifications=[...this.notifications,t])}remove(t){this.notifications=this.notifications.filter((i=>i.id!==t))}handleDismiss(t){t.stopPropagation();const s=t.detail,e=this.host.shadowRoot.querySelector(`[data-id="${s}"]`);null==e||e.classList.add("exit"),setTimeout((()=>{i((()=>{this.remove(s)}))}),400)}canPlayParticipantJoinedSound(){return null==this.permissions.participant_joined_sound_notification_limit||this.permissions.participant_joined_sound_notification_limit<=0||this.meeting.participants.count<=this.permissions.participant_joined_sound_notification_limit}canPlayChatSound(){return null==this.permissions.participant_chat_message_sound_notification_limit||this.permissions.participant_chat_message_sound_notification_limit<=0||this.meeting.participants.count<=this.permissions.participant_chat_message_sound_notification_limit}canAcceptWaitingRequests(){return this.permissions.notifications.participant_joined_waitlist&&this.meeting.self.permissions.acceptWaitingRequests}render(){if(this.meeting)return s(e,null,s("div",{onMouseEnter:()=>this.paused=!0,onFocusin:()=>this.paused=!0,onMouseLeave:()=>this.paused=!1,onFocusout:()=>this.paused=!1},this.notifications.map((t=>s("rtk-notification",{size:this.size,key:t.id,"data-id":t.id,notification:t,onRtkNotificationDismiss:t=>this.handleDismiss(t),iconPack:this.iconPack,paused:this.paused,t:this.t})))))}get host(){return n(this)}static get watchers(){return{meeting:["meetingChanged"],config:["configChanged"],states:["statesChanged"]}}};f([u()],v.prototype,"meeting",void 0),f([u()],v.prototype,"states",void 0),f([u()],v.prototype,"config",void 0),f([u()],v.prototype,"t",void 0),f([u()],v.prototype,"iconPack",void 0),v.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:absolute;top:var(--rtk-space-4, 16px);right:var(--rtk-space-4, 16px);bottom:var(--rtk-space-4, 16px);left:var(--rtk-space-4, 16px);top:auto;display:flex;flex-direction:column;pointer-events:none;z-index:100}rtk-notification{margin-top:var(--rtk-space-2, 8px)}";export{v as rtk_notifications}
1
+ import{r as t,e as i,h as s,a as e,g as n}from"./p-a599f720.js";import{R as a}from"./p-598b792e.js";import{f as o}from"./p-6f211c3e.js";import{c as h,i as c,e as r,N as d}from"./p-efad3c75.js";import{f as l}from"./p-e4e7a8da.js";import{S as u}from"./p-1b41ba11.js";import"./p-05186172.js";const p=2e3,g=Object.freeze({notifications:{participant_joined:!0,participant_left:!0,participant_joined_waitlist:!0,chat:!0,polls:!0,webinar:!0,tab_sync:!0,recording_started:!0,recording_stopped:!0},notification_sounds:{participant_joined:!0,participant_left:!0,chat:!0,polls:!0,webinar:!0,participant_joined_waitlist:!0},notification_duration:{participant_joined:2100,participant_left:2100,participant_joined_waitlist:4e3,chat:p,polls:p,webinar:p,tab_sync:p,recording_started:p,recording_stopped:p},participant_joined_sound_notification_limit:10,participant_chat_message_sound_notification_limit:10});var f=function(t,i,s,e){var n,a=arguments.length,o=a<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,s,e);else for(var h=t.length-1;h>=0;h--)(n=t[h])&&(o=(a<3?n(o):a>3?n(i,s,o):n(i,s))||o);return a>3&&o&&Object.defineProperty(i,s,o),o};function m(t){return Object.keys(t).filter((i=>t[i]))}const v=class{constructor(i){t(this,i),this.permissions=g,this.enabledSounds=m(g.notification_sounds),this.config=h(),this.t=c(),this.iconPack=r,this.notifications=[],this.addStagePeersListeners=t=>{t.participants.joined.addListener("participantJoined",this.participantJoinedListener),t.participants.joined.addListener("participantLeft",this.participantLeftListener)},this.removeStagePeersListeners=t=>{t.participants.joined.removeListener("participantJoined",this.participantJoinedListener),t.participants.joined.removeListener("participantLeft",this.participantLeftListener)},this.onNotification=t=>{this.add(t.detail);const i=t.detail.playSound;null!=i&&this.audio.play(i)},this.onRecordingUpdate=t=>{var i,s;"RECORDING"===t&&!1!==this.permissions.notifications.recording_started?this.add({id:"recording-started",icon:this.iconPack.recording,message:this.t("recording.started"),duration:null!==(i=this.permissions.notification_duration.recording_started)&&void 0!==i?i:p}):"STOPPING"===t&&!1!==this.permissions.notifications.recording_stopped&&this.add({id:"recording-stopped",icon:this.iconPack.stop_recording,message:this.t("recording.stopped"),duration:null!==(s=this.permissions.notification_duration.recording_stopped)&&void 0!==s?s:p})},this.paused=!1}connectedCallback(){"undefined"!=typeof document&&(null===document||void 0===document||document.addEventListener("rtkNotification",this.onNotification)),this.meetingChanged(this.meeting),this.configChanged(this.config),this.statesChanged(this.states)}clearListeners(t){var i,s,e,n,a,o,h,c;const r="LIVESTREAM"===t.meta.viewType;(r&&"ON_STAGE"===(null===(i=t.stage)||void 0===i?void 0:i.status)||!r)&&this.removeStagePeersListeners(t),this.chatUpdateListener&&(null===(s=t.chat)||void 0===s||s.removeListener("chatUpdate",this.chatUpdateListener)),this.pollUpdateListener&&(null===(e=t.polls)||void 0===e||e.removeListener("pollsUpdate",this.pollUpdateListener)),t.meta.removeListener("socketConnectionUpdate",this.socketConnectionUpdateListener),this.stageRequestAccepted&&(null===(n=t.stage)||void 0===n||n.removeListener("stageRequestApproved",this.stageRequestAccepted)),this.stageRequestRejected&&(null===(a=t.stage)||void 0===a||a.removeListener("stageRequestRejected",this.stageRequestRejected)),this.newStageRequests&&(null===(o=t.stage)||void 0===o||o.removeListener("newStageRequest",this.newStageRequests)),this.stageStatusUpdateListener&&(null===(h=t.stage)||void 0===h||h.removeListener("stageStatusUpdate",this.stageStatusUpdateListener)),null===(c=t.recording)||void 0===c||c.removeListener("recordingUpdate",this.onRecordingUpdate),clearTimeout(this.disconnectTimeout),t.self.removeListener("deviceUpdate",this.deviceUpdateListener)}disconnectedCallback(){var t;"undefined"!=typeof document&&(null===document||void 0===document||document.removeEventListener("rtkNotification",this.onNotification)),this.meeting&&(this.clearListeners(this.meeting),this.waitlistedParticipantJoinedListener&&this.meeting.participants.waitlisted.removeListener("participantJoined",this.waitlistedParticipantJoinedListener),this.waitlistedParticipantLeftListener&&this.meeting.participants.waitlisted.removeListener("participantLeft",this.waitlistedParticipantLeftListener),this.activeTabUpdateListener&&(null===(t=this.meeting.meta)||void 0===t||t.removeListener("activeTabUpdate",this.activeTabUpdateListener)),this.peerStageStatusListener&&this.meeting.participants.joined.removeListener("stageStatusUpdate",this.peerStageStatusListener))}meetingChanged(t,i){var s,e,n,h,c,r,u,p,g;if(clearTimeout(this.disconnectTimeout),i&&this.clearListeners(i),!t)return;const f="LIVESTREAM"===t.meta.viewType;this.audio=new a(t);const{notifications:m,notification_duration:v,notification_sounds:_}=this.permissions;if(this.participantJoinedListener=t=>{m.participant_joined&&this.add({id:`${t.id}-joined`,message:`${o(t.name)} ${this.t("notifications.joined")}`,image:t.picture,duration:v.participant_joined}),_.participant_joined&&this.canPlayParticipantJoinedSound()&&this.audio.play("joined")},this.participantLeftListener=t=>{const{socketState:{state:i}}=this.meeting.meta;m.participant_left&&"connected"!==i&&this.add({id:`${t.id}-left`,message:`${o(t.name)} ${this.t("notifications.left")}`,image:t.picture,duration:v.participant_left}),_.participant_left&&this.canPlayParticipantJoinedSound()&&this.audio.play("left")},this.waitlistedParticipantJoinedListener=t=>{if(!this.canAcceptWaitingRequests())return;const i=`${t.id}-joined-waitlist`;this.add({id:i,message:`${o(t.name)} ${this.t("notifications.requesting_to_join_meeting")}`,image:t.picture,duration:v.participant_joined_waitlist,button:{text:this.t("notifications.accept"),variant:"primary",onClick:async()=>{await this.meeting.participants.acceptWaitingRoomRequest(t.id),this.remove(i)}}}),_.participant_joined_waitlist&&this.canPlayParticipantJoinedSound()&&this.audio.play("message")},this.waitlistedParticipantLeftListener=t=>{this.remove(`${t.id}-joined-waitlist`)},this.chatUpdateListener=({message:i,action:s})=>{if("add"!==s)return;const e=l(i);if(null!=e){if(e.userId===t.self.userId)return;"text"===e.type&&(m.chat&&this.add({id:`message-${Math.random().toString(36)}`,icon:this.iconPack.chat,message:`${e.displayName}: ${e.message}`,duration:v.chat}),_.chat&&this.canPlayChatSound()&&this.audio.play("message"))}},this.pollUpdateListener=({polls:t,newPoll:i})=>{!1!==i&&(m.polls&&this.meeting.self.userId!==t[t.length-1].createdByUserId&&this.add({id:`poll-${Math.random().toString(36)}`,icon:this.iconPack.poll,message:`${this.t("notifications.new_poll_created_by")} ${t[t.length-1].createdBy}`,duration:v.polls}),_.polls&&this.meeting.self.userId!==t[t.length-1].createdByUserId&&this.canPlayChatSound()&&this.audio.play("message"))},this.deviceUpdateListener=({device:t,preview:i})=>{i||("audiooutput"===t.kind&&(this.audio.setDevice(t.deviceId),this.remove("speaker-switched"),this.add({id:"speaker-switched",message:`${this.t("notifications.connected_to")} ${t.label}`,icon:this.iconPack.speaker,duration:5e3})),"videoinput"===t.kind&&(this.remove("camera-switched"),this.add({id:"camera-switched",message:`${this.t("notifications.connected_to")} ${t.label}`,icon:this.meeting.self.videoEnabled?this.iconPack.video_on:this.iconPack.video_off,iconVariant:this.meeting.self.videoEnabled?"primary":"danger",duration:5e3})),"audioinput"===t.kind&&(this.remove("mic-switched"),this.add({id:"mic-switched",message:`${this.t("notifications.connected_to")} ${t.label}`,icon:this.meeting.self.audioEnabled?this.iconPack.mic_on:this.iconPack.mic_off,iconVariant:this.meeting.self.audioEnabled?"primary":"danger",duration:5e3})))},this.socketConnectionUpdateListener=({state:t,reconnectionAttempt:i,reconnected:s})=>{switch(t){case"connected":this.remove("socket"),s&&this.add({id:"socket",icon:this.iconPack.wifi,message:this.t("network.restored"),duration:3e3});break;case"disconnected":this.remove("socket"),this.add({id:"socket",icon:this.iconPack.disconnected,message:this.t("network.reconnecting")});break;case"reconnecting":i>=6?(this.remove("socket"),this.add({id:"socket",icon:this.iconPack.disconnected,message:this.t("network.disconnected"),button:{text:this.t("end"),variant:"danger",onClick:()=>{var t;return null===(t=this.meeting)||void 0===t?void 0:t.leaveRoom()}}})):i>=4&&(this.remove("socket"),this.add({id:"socket",icon:this.iconPack.disconnected,message:this.t("network.delay_extended")}));break;case"failed":this.remove("socket"),this.add({id:"socket",icon:this.iconPack.disconnected,message:this.t("network.leaving"),button:{text:this.t("end"),variant:"danger",onClick:()=>{var t;return null===(t=this.meeting)||void 0===t?void 0:t.leaveRoom()}}})}},this.activeTabUpdateListener=i=>{if(m.tab_sync)switch(i.type){case"plugin":const s=t.plugins.active.toArray().find((t=>t.id==i.id));null!=s&&this.add({id:"activeTab",message:`${this.t("notifications.plugin_switched_to")} ${s.name}`,duration:v.participant_joined});break;case"screenshare":const e=t.participants.joined.toArray().filter((t=>t.screenShareEnabled)).find((t=>t.id==i.id));null!=e&&this.add({id:"spotlight",message:`Now watching ${e.name}'s screen`,duration:v.webinar})}},this.peerStageStatusListener=t=>{"REQUESTED_TO_JOIN_STAGE"===t.stageStatus&&(this.add({id:`stage-request-${t.id}`,message:`${t.name} ${this.t("notifications.requested_to_join_stage")}`,duration:v.webinar,button:{text:this.t("notifications.accept"),variant:"primary",onClick:async()=>{await this.meeting.stage.grantAccess([t.userId]),this.remove(`stage-request-${t.id}`)}}}),_.webinar&&this.audio.play("joined")),"ON_STAGE"===t.stageStatus&&(this.add({id:`stage-joined-${t.id}`,message:`${t.name} ${this.t("notifications.joined_stage")}`,duration:v.webinar}),_.webinar&&this.audio.play("joined"))},this.stageRequestAccepted=()=>{this.add({id:"stage-request-accepted",message:this.t("notifications.request_to_join_accepted"),duration:3e3})},this.stageRequestRejected=()=>{this.add({id:"stage-request-rejected",message:this.t("notifications.request_to_join_rejected"),duration:3e3})},this.newStageRequests=({count:t})=>{this.add({id:"new-stage-request",message:`You have ${t<0?"new stage":`${t} pending`} request${1===t?"":"s"}`,duration:3e3})},this.stageStatusUpdateListener=i=>{"ON_STAGE"===i?this.addStagePeersListeners(t):this.removeStagePeersListeners(t)},!d(t)&&(null===(s=t.chat)||void 0===s||s.addListener("chatUpdate",this.chatUpdateListener)),"CHAT"===(null===(e=t.self.config.viewType)||void 0===e?void 0:e.toString()))return;const k=t.self.getCurrentDevices();null!=k.speaker&&this.audio.setDevice(k.speaker.deviceId),f?null===(n=t.stage)||void 0===n||n.on("stageStatusUpdate",this.stageStatusUpdateListener):this.addStagePeersListeners(t),this.canAcceptWaitingRequests()&&(t.participants.waitlisted.addListener("participantJoined",this.waitlistedParticipantJoinedListener),t.participants.waitlisted.addListener("participantLeft",this.waitlistedParticipantLeftListener)),null===(h=t.polls)||void 0===h||h.addListener("pollsUpdate",this.pollUpdateListener),t.self.addListener("deviceUpdate",this.deviceUpdateListener),t.meta.addListener("socketConnectionUpdate",this.socketConnectionUpdateListener),null===(c=t.meta)||void 0===c||c.addListener("activeTabUpdate",this.activeTabUpdateListener),null===(r=t.recording)||void 0===r||r.addListener("recordingUpdate",this.onRecordingUpdate),null===(u=t.stage)||void 0===u||u.addListener("stageRequestApproved",this.stageRequestAccepted),null===(p=t.stage)||void 0===p||p.addListener("stageRequestRejected",this.stageRequestRejected),t.self.permissions.stageEnabled&&t.self.permissions.acceptStageRequests&&(null===(g=t.stage)||void 0===g||g.addListener("newStageRequest",this.newStageRequests))}configChanged(t){null!=t&&null!=(null==t?void 0:t.config)&&(this.permissions=function(t){const i=Object.assign({},g);return null==t||(Object.assign(i.notification_sounds,t.notification_sounds),Object.assign(i.notifications,t.notifications),Object.assign(i.notification_duration,t.notification_duration),i.participant_chat_message_sound_notification_limit=t.participant_chat_message_sound_notification_limit,i.participant_joined_sound_notification_limit=t.participant_joined_sound_notification_limit),i}(t.config),this.enabledSounds=m(this.permissions.notification_sounds))}statesChanged(t){var i;if(null!=t){const s=!(null===(i=null==t?void 0:t.prefs)||void 0===i?void 0:i.muteNotificationSounds);for(const t of this.enabledSounds)t in this.permissions.notification_sounds&&(this.permissions.notification_sounds[t]=s)}}apiErrorListener({detail:t}){const{trace:i,message:s}=t;this.add({id:i,message:s,duration:p,icon:this.iconPack.warning})}sendNotificationListener({detail:t}){const{trace:i,message:s}=t;this.add({id:i,message:s,duration:p})}add(t){"visible"===document.visibilityState&&this.notifications.length<5&&(this.notifications=[...this.notifications,t])}remove(t){this.notifications=this.notifications.filter((i=>i.id!==t))}handleDismiss(t){t.stopPropagation();const s=t.detail,e=this.host.shadowRoot.querySelector(`[data-id="${s}"]`);null==e||e.classList.add("exit"),setTimeout((()=>{i((()=>{this.remove(s)}))}),400)}canPlayParticipantJoinedSound(){return null==this.permissions.participant_joined_sound_notification_limit||this.permissions.participant_joined_sound_notification_limit<=0||this.meeting.participants.count<=this.permissions.participant_joined_sound_notification_limit}canPlayChatSound(){return null==this.permissions.participant_chat_message_sound_notification_limit||this.permissions.participant_chat_message_sound_notification_limit<=0||this.meeting.participants.count<=this.permissions.participant_chat_message_sound_notification_limit}canAcceptWaitingRequests(){return this.permissions.notifications.participant_joined_waitlist&&this.meeting.self.permissions.acceptWaitingRequests}render(){if(this.meeting)return s(e,null,s("div",{onMouseEnter:()=>this.paused=!0,onFocusin:()=>this.paused=!0,onMouseLeave:()=>this.paused=!1,onFocusout:()=>this.paused=!1},this.notifications.map((t=>s("rtk-notification",{size:this.size,key:t.id,"data-id":t.id,notification:t,onRtkNotificationDismiss:t=>this.handleDismiss(t),iconPack:this.iconPack,paused:this.paused,t:this.t})))))}get host(){return n(this)}static get watchers(){return{meeting:["meetingChanged"],config:["configChanged"],states:["statesChanged"]}}};f([u()],v.prototype,"meeting",void 0),f([u()],v.prototype,"states",void 0),f([u()],v.prototype,"config",void 0),f([u()],v.prototype,"t",void 0),f([u()],v.prototype,"iconPack",void 0),v.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:absolute;top:var(--rtk-space-4, 16px);right:var(--rtk-space-4, 16px);bottom:var(--rtk-space-4, 16px);left:var(--rtk-space-4, 16px);top:auto;display:flex;flex-direction:column;pointer-events:none;z-index:100}rtk-notification{margin-top:var(--rtk-space-2, 8px)}";export{v as rtk_notifications}
@@ -1 +1 @@
1
- import{r as t,h as e,a as i}from"./p-a599f720.js";import{e as a}from"./p-13cebc8f.js";import{S as n}from"./p-47979011.js";var s=function(t,e,i,a){var n,s=arguments.length,r=s<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,a);else for(var o=t.length-1;o>=0;o--)(n=t[o])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const r=t=>Math.trunc(t).toString().padStart(2,"0"),o=class{constructor(e){t(this,e),this.iconPack=a,this.disconnectMeeting=()=>{var t,e;this.timeout&&clearTimeout(this.timeout),"number"==typeof this.request&&cancelAnimationFrame(this.request),null===(e=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===e||e.removeListener("meetingStartTimeUpdate",this.startedTimeUpdateListener)},this.startedTimeUpdateListener=()=>{var t,e,i;this.startedTime=null===(i=null===(e=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===e?void 0:e.meetingStartedTimestamp)||void 0===i?void 0:i.toISOString()}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.disconnectMeeting()}meetingChanged(t){var e,i,a;this.disconnectMeeting(),null!=t&&(this.startedTime=null===(i=null===(e=t.meta)||void 0===e?void 0:e.meetingStartedTimestamp)||void 0===i?void 0:i.toISOString(),null===(a=t.meta)||void 0===a||a.addListener("meetingStartTimeUpdate",this.startedTimeUpdateListener))}startedTimeChanged(t){if(void 0!==t){const t=()=>{this.timeDiff=(Date.now()-new Date(this.startedTime).getTime())/1e3,this.timeout=setTimeout((()=>{null!=this.request&&(this.request=requestAnimationFrame(t))}),500)};this.request=requestAnimationFrame(t)}}getFormattedTime(){if(null==this.timeDiff)return null;const t=this.timeDiff;let e="";return t>=3600&&(e=`${r(t/3600)}:`),e+=`${r(t%3600/60)}:${r(t%60)}`,e}render(){return e(i,{key:"38836be8a2179a1cd5a01217bb9bcb39c5200b60","data-hidden":!(void 0!==this.startedTime),tabIndex:0,role:"timer","aria-live":"off"},void 0!==this.startedTime&&[e("rtk-icon",{key:"510051b64ae8676988164df6eb0e04567ede57c8",icon:this.iconPack.clock,"aria-hidden":!0,tabIndex:-1,part:"icon"}),e("span",{key:"5990d231ad6ceb66ff7ae1ddc17ca6857c6c4628",part:"text"},this.getFormattedTime())])}static get watchers(){return{meeting:["meetingChanged"],startedTime:["startedTimeChanged"]}}};s([n()],o.prototype,"meeting",void 0),s([n()],o.prototype,"iconPack",void 0),o.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:inline-flex;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:14px;color:rgb(var(--rtk-colors-text-1000, 255 255 255));font-variant-numeric:tabular-nums}:host([data-hidden]){display:none}:host([size='sm']){font-size:12px}rtk-icon{margin-right:var(--rtk-space-1, 4px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}:host([size='sm']) rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}";export{o as rtk_clock}
1
+ import{r as t,h as e,a as i}from"./p-a599f720.js";import{e as a}from"./p-efad3c75.js";import{S as n}from"./p-1b41ba11.js";var s=function(t,e,i,a){var n,s=arguments.length,r=s<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,a);else for(var o=t.length-1;o>=0;o--)(n=t[o])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const r=t=>Math.trunc(t).toString().padStart(2,"0"),o=class{constructor(e){t(this,e),this.iconPack=a,this.disconnectMeeting=()=>{var t,e;this.timeout&&clearTimeout(this.timeout),"number"==typeof this.request&&cancelAnimationFrame(this.request),null===(e=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===e||e.removeListener("meetingStartTimeUpdate",this.startedTimeUpdateListener)},this.startedTimeUpdateListener=()=>{var t,e,i;this.startedTime=null===(i=null===(e=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===e?void 0:e.meetingStartedTimestamp)||void 0===i?void 0:i.toISOString()}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.disconnectMeeting()}meetingChanged(t){var e,i,a;this.disconnectMeeting(),null!=t&&(this.startedTime=null===(i=null===(e=t.meta)||void 0===e?void 0:e.meetingStartedTimestamp)||void 0===i?void 0:i.toISOString(),null===(a=t.meta)||void 0===a||a.addListener("meetingStartTimeUpdate",this.startedTimeUpdateListener))}startedTimeChanged(t){if(void 0!==t){const t=()=>{this.timeDiff=(Date.now()-new Date(this.startedTime).getTime())/1e3,this.timeout=setTimeout((()=>{null!=this.request&&(this.request=requestAnimationFrame(t))}),500)};this.request=requestAnimationFrame(t)}}getFormattedTime(){if(null==this.timeDiff)return null;const t=this.timeDiff;let e="";return t>=3600&&(e=`${r(t/3600)}:`),e+=`${r(t%3600/60)}:${r(t%60)}`,e}render(){return e(i,{key:"4592c92b870075a8ec23d89c01c382f61278983a","data-hidden":!(void 0!==this.startedTime),tabIndex:0,role:"timer","aria-live":"off"},void 0!==this.startedTime&&[e("rtk-icon",{key:"87b1012dd7c5d7187182a2ed025868f05ed010e7",icon:this.iconPack.clock,"aria-hidden":!0,tabIndex:-1,part:"icon"}),e("span",{key:"6fec2fef30be9c54a3e68108fde81a59ce000576",part:"text"},this.getFormattedTime())])}static get watchers(){return{meeting:["meetingChanged"],startedTime:["startedTimeChanged"]}}};s([n()],o.prototype,"meeting",void 0),s([n()],o.prototype,"iconPack",void 0),o.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:inline-flex;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:14px;color:rgb(var(--rtk-colors-text-1000, 255 255 255));font-variant-numeric:tabular-nums}:host([data-hidden]){display:none}:host([size='sm']){font-size:12px}rtk-icon{margin-right:var(--rtk-space-1, 4px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}:host([size='sm']) rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}";export{o as rtk_clock}
@@ -1 +1 @@
1
- import{M as r}from"./p-13cebc8f.js";const n=r=>{if(r&&!r.chat)return!1;const{chatPublic:n,chatPrivate:t}=r.self.permissions;return n.canSend||n.canReceive||n.text||n.files||t.canSend||t.canReceive||t.files||t.text},t=r=>{if(r&&!r.polls)return!1;const{polls:n}=r.self.permissions;return n.canCreate||n.canView||n.canVote},i=r=>{var n;if(!(null===(n=r.self.permissions)||void 0===n?void 0:n.showParticipantList))return!1;if(r&&!r.participants)return!1;const t=null==r?void 0:r.self.config;return!(t&&!t.controlBar.elements.participants)},u=r=>{var n,t;return!!(null===(t=null===(n=null==r?void 0:r.self)||void 0===n?void 0:n.permissions)||void 0===t?void 0:t.transcriptionEnabled)},o=n=>{if(r(n))return!1;if(n&&!n.plugins)return!1;if("LIVESTREAM"===n.meta.viewType)return"ON_STAGE"===n.stage.status;const{plugins:t}=n.self.permissions;return t.canClose||t.canStart};export{i as a,o as b,n as c,t as d,u as e}
1
+ import{M as r}from"./p-efad3c75.js";const n=r=>{if(r&&!r.chat)return!1;const{chatPublic:n,chatPrivate:t}=r.self.permissions;return n.canSend||n.canReceive||n.text||n.files||t.canSend||t.canReceive||t.files||t.text},t=r=>{if(r&&!r.polls)return!1;const{polls:n}=r.self.permissions;return n.canCreate||n.canView||n.canVote},i=r=>{var n;if(!(null===(n=r.self.permissions)||void 0===n?void 0:n.showParticipantList))return!1;if(r&&!r.participants)return!1;const t=null==r?void 0:r.self.config;return!(t&&!t.controlBar.elements.participants)},u=r=>{var n,t;return!!(null===(t=null===(n=null==r?void 0:r.self)||void 0===n?void 0:n.permissions)||void 0===t?void 0:t.transcriptionEnabled)},o=n=>{if(r(n))return!1;if(n&&!n.plugins)return!1;if("LIVESTREAM"===n.meta.viewType)return"ON_STAGE"===n.stage.status;const{plugins:t}=n.self.permissions;return t.canClose||t.canStart};export{i as a,o as b,n as c,t as d,u as e}
@@ -1 +1 @@
1
- import{r as t,h as i,a as o}from"./p-a599f720.js";import{c as n,i as e}from"./p-13cebc8f.js";import{S as r}from"./p-47979011.js";var l=function(t,i,o,n){var e,r=arguments.length,l=r<3?i:null===n?n=Object.getOwnPropertyDescriptor(i,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,i,o,n);else for(var s=t.length-1;s>=0;s--)(e=t[s])&&(l=(r<3?e(l):r>3?e(i,o,l):e(i,o))||l);return r>3&&l&&Object.defineProperty(i,o,l),l};const s=class{constructor(i){t(this,i),this.config=n(),this.t=e()}connectedCallback(){this.configChanged(this.config),this.meetingChanged(this.meeting)}configChanged(t){var i;if(null!=t){const o=null===(i=null==t?void 0:t.designTokens)||void 0===i?void 0:i.logo;null!=o&&null==this.logoUrl&&(this.logoUrl=o)}}meetingChanged(t){var i,o,n,e;if(null!=t){const r=null===(e=null===(n=null===(o=null===(i=t.self)||void 0===i?void 0:i.config)||void 0===o?void 0:o.header)||void 0===n?void 0:n.elements)||void 0===e?void 0:e.logo;null!=r&&null==this.logoUrl&&(this.logoUrl=r)}}render(){if(!this.logoUrl||""===this.logoUrl)return null;const t=this.logoUrl,n=this.t("logo");return i(o,{class:"loaded"},i("img",{src:t,alt:n}))}static get watchers(){return{config:["configChanged"],meeting:["meetingChanged"]}}};l([r()],s.prototype,"config",void 0),l([r()],s.prototype,"meeting",void 0),l([r()],s.prototype,"t",void 0),s.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;flex-direction:column;align-items:center;justify-content:center;color:rgb(var(--rtk-colors-text-1000, 255 255 255));height:100%;width:auto}svg,img{height:100%;width:auto}.brand-color{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}";export{s as rtk_logo}
1
+ import{r as t,h as i,a as o}from"./p-a599f720.js";import{c as n,i as e}from"./p-efad3c75.js";import{S as r}from"./p-1b41ba11.js";var l=function(t,i,o,n){var e,r=arguments.length,l=r<3?i:null===n?n=Object.getOwnPropertyDescriptor(i,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,i,o,n);else for(var a=t.length-1;a>=0;a--)(e=t[a])&&(l=(r<3?e(l):r>3?e(i,o,l):e(i,o))||l);return r>3&&l&&Object.defineProperty(i,o,l),l};const a=class{constructor(i){t(this,i),this.config=n(),this.t=e()}connectedCallback(){this.configChanged(this.config),this.meetingChanged(this.meeting)}configChanged(t){var i;if(null!=t){const o=null===(i=null==t?void 0:t.designTokens)||void 0===i?void 0:i.logo;null!=o&&null==this.logoUrl&&(this.logoUrl=o)}}meetingChanged(t){var i,o,n,e;if(null!=t){const r=null===(e=null===(n=null===(o=null===(i=t.self)||void 0===i?void 0:i.config)||void 0===o?void 0:o.header)||void 0===n?void 0:n.elements)||void 0===e?void 0:e.logo;null!=r&&null==this.logoUrl&&(this.logoUrl=r)}}render(){if(!this.logoUrl||""===this.logoUrl)return null;const t=this.logoUrl,n=this.t("logo");return i(o,{class:"loaded"},i("img",{src:t,alt:n}))}static get watchers(){return{config:["configChanged"],meeting:["meetingChanged"]}}};l([r()],a.prototype,"config",void 0),l([r()],a.prototype,"meeting",void 0),l([r()],a.prototype,"t",void 0),a.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;flex-direction:column;align-items:center;justify-content:center;color:rgb(var(--rtk-colors-text-1000, 255 255 255));height:100%;width:auto}svg,img{height:100%;width:auto}.brand-color{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}";export{a as rtk_logo}
@@ -1 +1 @@
1
- import{r as t,h as r,a}from"./p-a599f720.js";import{e as o,i}from"./p-13cebc8f.js";import{S as e}from"./p-47979011.js";var s=function(t,r,a,o){var i,e=arguments.length,s=e<3?r:null===o?o=Object.getOwnPropertyDescriptor(r,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,r,a,o);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(s=(e<3?i(s):e>3?i(r,a,s):i(r,a))||s);return e>3&&s&&Object.defineProperty(r,a,s),s};const c=class{constructor(r){t(this,r),this.iconPack=o,this.t=i(),this.isScreenShare=!1,this.score=10,this.onMediaScoreUpdate=({kind:t,isScreenshare:r,score:a})=>{("video"===t||this.isScreenShare&&r)&&(this.score=a)}}connectedCallback(){this.participantChanged(this.participant)}participantChanged(t){t&&t.addListener("mediaScoreUpdate",this.onMediaScoreUpdate)}disconnectedCallback(){var t;null===(t=this.participant)||void 0===t||t.removeListener("mediaScoreUpdate",this.onMediaScoreUpdate)}render(){let t=Math.round(this.score/2),o="good";if(t>3)return null;switch(t<1&&(t=1),t){case 3:case 2:o="poor";break;case 1:o="poorest"}return r(a,null,r("rtk-icon",{icon:this.iconPack[`signal_${t}`],class:o}),r("rtk-icon",{icon:this.iconPack.signal_5,class:"bg-signal"}))}static get watchers(){return{participant:["participantChanged"]}}};s([e()],c.prototype,"meeting",void 0),s([e()],c.prototype,"iconPack",void 0),s([e()],c.prototype,"t",void 0),c.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:block;height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px)}rtk-icon{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);z-index:10;height:100%;width:100%;--tw-text-opacity:1;color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-text-opacity))}rtk-icon.good{--tw-text-opacity:1;color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-text-opacity))}rtk-icon.poor{--tw-text-opacity:1;color:rgba(var(--rtk-colors-warning, 255 205 7) / var(--tw-text-opacity))}rtk-icon.poorest{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}:host([size='md']){height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}:host([size='sm']){height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}.bg-signal{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);z-index:0;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}";export{c as rtk_network_indicator}
1
+ import{r as t,h as r,a}from"./p-a599f720.js";import{e as o,i}from"./p-efad3c75.js";import{S as e}from"./p-1b41ba11.js";var s=function(t,r,a,o){var i,e=arguments.length,s=e<3?r:null===o?o=Object.getOwnPropertyDescriptor(r,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,r,a,o);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(s=(e<3?i(s):e>3?i(r,a,s):i(r,a))||s);return e>3&&s&&Object.defineProperty(r,a,s),s};const c=class{constructor(r){t(this,r),this.iconPack=o,this.t=i(),this.isScreenShare=!1,this.score=10,this.onMediaScoreUpdate=({kind:t,isScreenshare:r,score:a})=>{("video"===t||this.isScreenShare&&r)&&(this.score=a)}}connectedCallback(){this.participantChanged(this.participant)}participantChanged(t){t&&t.addListener("mediaScoreUpdate",this.onMediaScoreUpdate)}disconnectedCallback(){var t;null===(t=this.participant)||void 0===t||t.removeListener("mediaScoreUpdate",this.onMediaScoreUpdate)}render(){let t=Math.round(this.score/2),o="good";if(t>3)return null;switch(t<1&&(t=1),t){case 3:case 2:o="poor";break;case 1:o="poorest"}return r(a,null,r("rtk-icon",{icon:this.iconPack[`signal_${t}`],class:o}),r("rtk-icon",{icon:this.iconPack.signal_5,class:"bg-signal"}))}static get watchers(){return{participant:["participantChanged"]}}};s([e()],c.prototype,"meeting",void 0),s([e()],c.prototype,"iconPack",void 0),s([e()],c.prototype,"t",void 0),c.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:block;height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px)}rtk-icon{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);z-index:10;height:100%;width:100%;--tw-text-opacity:1;color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-text-opacity))}rtk-icon.good{--tw-text-opacity:1;color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-text-opacity))}rtk-icon.poor{--tw-text-opacity:1;color:rgba(var(--rtk-colors-warning, 255 205 7) / var(--tw-text-opacity))}rtk-icon.poorest{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}:host([size='md']){height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}:host([size='sm']){height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}.bg-signal{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);z-index:0;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}";export{c as rtk_network_indicator}
@@ -0,0 +1 @@
1
+ import{r as t,d as e,h as i,a}from"./p-a599f720.js";import{i as o,e as s}from"./p-efad3c75.js";import{S as r}from"./p-1b41ba11.js";var n=function(t,e,i,a){var o,s=arguments.length,r=s<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,a);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(r=(s<3?o(r):s>3?o(e,i,r):o(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const c=class{constructor(i){t(this,i),this.stateUpdate=e(this,"rtkStateUpdate",7),this.variant="button",this.t=o(),this.iconPack=s}toggleDebugger(){var t;this.stateUpdate.emit({activeDebugger:!(null===(t=this.states)||void 0===t?void 0:t.activeDebugger),activeMoreMenu:!1})}render(){return i(a,{key:"33f74fc915ee6fe35432cda13c27812bc505e516",title:this.t("Troubleshooting")},i("rtk-controlbar-button",{key:"24981c8bbaaa255dd0c7f77d9ef13eee0c9939a7",size:this.size,iconPack:this.iconPack,onClick:()=>this.toggleDebugger(),icon:this.iconPack.debug,label:this.t("Troubleshooting"),variant:this.variant}))}};n([r()],c.prototype,"meeting",void 0),n([r()],c.prototype,"states",void 0),n([r()],c.prototype,"t",void 0),n([r()],c.prototype,"iconPack",void 0),c.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}";export{c as rtk_debugger_toggle}
@@ -1 +1 @@
1
- import{r as t,d as i,h as r,a as e}from"./p-a599f720.js";import{e as o,i as a,U as s,V as n}from"./p-13cebc8f.js";import{S as c}from"./p-47979011.js";var l=function(t,i,r,e){var o,a=arguments.length,s=a<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,r):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,r,e);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(s=(a<3?o(s):a>3?o(i,r,s):o(i,r))||s);return a>3&&s&&Object.defineProperty(i,r,s),s};const p=class{constructor(r){t(this,r),this.stateUpdate=i(this,"rtkStateUpdate",7),this.iconPack=o,this.t=a()}render(){var t,i;if(!this.meeting)return null;const o={meeting:this.meeting,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},a=this.states,c=!0===(null===(t=null==a?void 0:a.prefs)||void 0===t?void 0:t.muteNotificationSounds)||"true"===s("mute-notification-sounds");return r(e,null,r("rtk-microphone-selector",Object.assign({},o),r("rtk-audio-visualizer",{participant:null===(i=this.meeting)||void 0===i?void 0:i.self,iconPack:this.iconPack,t:this.t,slot:"indicator"})),r("rtk-speaker-selector",Object.assign({},o)),r("div",{class:"group",part:"notification-toggle"},r("div",{class:"row"},r("label",{htmlFor:"notification-toggle"},this.t("settings.notification_sound")),r("rtk-switch",{id:"notification-toggle",checked:!c,onRtkChange:t=>{const{checked:i}=t.target,r=!i;this.stateUpdate.emit({prefs:{muteNotificationSounds:r}}),n("mute-notification-sounds",r)},iconPack:this.iconPack,t:this.t}))))}};l([c()],p.prototype,"meeting",void 0),l([c()],p.prototype,"states",void 0),l([c()],p.prototype,"iconPack",void 0),l([c()],p.prototype,"t",void 0),p.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;width:100%;flex-direction:column}audio{visibility:hidden}.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)}rtk-audio-visualizer{flex-shrink:0}rtk-button{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));--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)}rtk-button rtk-icon{margin-right:var(--rtk-space-2, 8px)}";var d=function(t,i,r,e){var o,a=arguments.length,s=a<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,r):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,r,e);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(s=(a<3?o(s):a>3?o(i,r,s):o(i,r))||s);return a>3&&s&&Object.defineProperty(i,r,s),s};const h=class{constructor(r){t(this,r),this.stateUpdate=i(this,"rtkStateUpdate",7),this.iconPack=o,this.t=a(),this.onVideoUpdate=t=>{this.videoEnabled=t.videoEnabled}}componentDidLoad(){this.meetingChanged(this.meeting)}meetingChanged(t){var i;t&&(this.videoEnabled=t.self.videoEnabled,null===(i=t.self)||void 0===i||i.addListener("videoUpdate",this.onVideoUpdate))}disconnectedCallback(){var t;null===(t=this.meeting.self)||void 0===t||t.removeListener("videoUpdate",this.onVideoUpdate)}render(){var t,i,o;if(!this.meeting)return null;const a={meeting:this.meeting,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},c=this.states,l=!0===(null===(t=null==c?void 0:c.prefs)||void 0===t?void 0:t.mirrorVideo)||"true"===s("mirror-video");return r(e,null,r("div",{class:"section",part:"tile-preview"},r("div",{class:"group",part:"tile-preview"},!0===this.videoEnabled?r("rtk-participant-tile",{meeting:this.meeting,participant:null===(i=this.meeting)||void 0===i?void 0:i.self,iconPack:this.iconPack,t:this.t,states:c,size:this.size,isPreview:!0}):r("div",{class:"camera-off-helper"},r("rtk-participant-tile",{meeting:this.meeting,participant:null===(o=this.meeting)||void 0===o?void 0:o.self,size:this.size},r("div",null,r("rtk-icon",{id:"icon",icon:this.iconPack.video_off,tabIndex:-1,"aria-hidden":!0}),r("div",null,this.t("settings.camera_off"))))))),r("rtk-camera-selector",Object.assign({},a)),r("div",{class:"group",part:"mirror-toggle"},r("div",{class:"row"},r("label",{htmlFor:"mirror-toggle"},this.t("settings.mirror_video")),r("rtk-switch",{checked:l,iconPack:this.iconPack,t:this.t,onRtkChange:t=>{const{checked:i}=t.target;this.stateUpdate.emit({prefs:{mirrorVideo:i}}),n("mirror-video",i)}}))))}static get watchers(){return{meeting:["meetingChanged"]}}};d([c()],h.prototype,"meeting",void 0),d([c()],h.prototype,"states",void 0),d([c()],h.prototype,"iconPack",void 0),d([c()],h.prototype,"t",void 0),h.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.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}}";export{p as rtk_settings_audio,h as rtk_settings_video}
1
+ import{r as t,d as i,h as r,a as e}from"./p-a599f720.js";import{e as o,i as a,U as s,V as n}from"./p-efad3c75.js";import{S as c}from"./p-1b41ba11.js";var l=function(t,i,r,e){var o,a=arguments.length,s=a<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,r):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,r,e);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(s=(a<3?o(s):a>3?o(i,r,s):o(i,r))||s);return a>3&&s&&Object.defineProperty(i,r,s),s};const p=class{constructor(r){t(this,r),this.stateUpdate=i(this,"rtkStateUpdate",7),this.iconPack=o,this.t=a()}render(){var t,i;if(!this.meeting)return null;const o={meeting:this.meeting,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},a=this.states,c=!0===(null===(t=null==a?void 0:a.prefs)||void 0===t?void 0:t.muteNotificationSounds)||"true"===s("mute-notification-sounds");return r(e,null,r("rtk-microphone-selector",Object.assign({},o),r("rtk-audio-visualizer",{participant:null===(i=this.meeting)||void 0===i?void 0:i.self,iconPack:this.iconPack,t:this.t,slot:"indicator"})),r("rtk-speaker-selector",Object.assign({},o)),r("div",{class:"group",part:"notification-toggle"},r("div",{class:"row"},r("label",{htmlFor:"notification-toggle"},this.t("settings.notification_sound")),r("rtk-switch",{id:"notification-toggle",checked:!c,onRtkChange:t=>{const{checked:i}=t.target,r=!i;this.stateUpdate.emit({prefs:{muteNotificationSounds:r}}),n("mute-notification-sounds",r)},iconPack:this.iconPack,t:this.t}))))}};l([c()],p.prototype,"meeting",void 0),l([c()],p.prototype,"states",void 0),l([c()],p.prototype,"iconPack",void 0),l([c()],p.prototype,"t",void 0),p.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;width:100%;flex-direction:column}audio{visibility:hidden}.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)}rtk-audio-visualizer{flex-shrink:0}rtk-button{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));--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)}rtk-button rtk-icon{margin-right:var(--rtk-space-2, 8px)}";var d=function(t,i,r,e){var o,a=arguments.length,s=a<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,r):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,r,e);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(s=(a<3?o(s):a>3?o(i,r,s):o(i,r))||s);return a>3&&s&&Object.defineProperty(i,r,s),s};const h=class{constructor(r){t(this,r),this.stateUpdate=i(this,"rtkStateUpdate",7),this.iconPack=o,this.t=a(),this.onVideoUpdate=t=>{this.videoEnabled=t.videoEnabled}}componentDidLoad(){this.meetingChanged(this.meeting)}meetingChanged(t){var i;t&&(this.videoEnabled=t.self.videoEnabled,null===(i=t.self)||void 0===i||i.addListener("videoUpdate",this.onVideoUpdate))}disconnectedCallback(){var t;null===(t=this.meeting.self)||void 0===t||t.removeListener("videoUpdate",this.onVideoUpdate)}render(){var t,i,o;if(!this.meeting)return null;const a={meeting:this.meeting,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},c=this.states,l=!0===(null===(t=null==c?void 0:c.prefs)||void 0===t?void 0:t.mirrorVideo)||"true"===s("mirror-video");return r(e,null,r("div",{class:"section",part:"tile-preview"},r("div",{class:"group",part:"tile-preview"},!0===this.videoEnabled?r("rtk-participant-tile",{meeting:this.meeting,participant:null===(i=this.meeting)||void 0===i?void 0:i.self,iconPack:this.iconPack,t:this.t,states:c,size:this.size,isPreview:!0}):r("div",{class:"camera-off-helper"},r("rtk-participant-tile",{meeting:this.meeting,participant:null===(o=this.meeting)||void 0===o?void 0:o.self,size:this.size},r("div",null,r("rtk-icon",{id:"icon",icon:this.iconPack.video_off,tabIndex:-1,"aria-hidden":!0}),r("div",null,this.t("settings.camera_off"))))))),r("rtk-camera-selector",Object.assign({},a)),r("div",{class:"group",part:"mirror-toggle"},r("div",{class:"row"},r("label",{htmlFor:"mirror-toggle"},this.t("settings.mirror_video")),r("rtk-switch",{checked:l,iconPack:this.iconPack,t:this.t,onRtkChange:t=>{const{checked:i}=t.target;this.stateUpdate.emit({prefs:{mirrorVideo:i}}),n("mirror-video",i)}}))))}static get watchers(){return{meeting:["meetingChanged"]}}};d([c()],h.prototype,"meeting",void 0),d([c()],h.prototype,"states",void 0),d([c()],h.prototype,"iconPack",void 0),d([c()],h.prototype,"t",void 0),h.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.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}}";export{p as rtk_settings_audio,h as rtk_settings_video}
@@ -1 +1 @@
1
- import{r as t,d as i,h as s,a as o}from"./p-a599f720.js";import{e,i as a,L as r}from"./p-13cebc8f.js";import{S as n}from"./p-47979011.js";var l=function(t,i,s,o){var e,a=arguments.length,r=a<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,s,o);else for(var n=t.length-1;n>=0;n--)(e=t[n])&&(r=(a<3?e(r):a>3?e(i,s,r):e(i,s))||r);return a>3&&r&&Object.defineProperty(i,s,r),r};const c=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=e,this.t=a(),this.canToggle=!1,this.permissionsUpdateListener=()=>{this.canToggle=r(this.meeting)},this.breakoutRoomToggle=()=>{var t,i;this.stateUpdate.emit({activeBreakoutRoomsManager:{active:!(null===(i=null===(t=this.states)||void 0===t?void 0:t.activeBreakoutRoomsManager)||void 0===i?void 0:i.active),mode:this.meeting.connectedMeetings.isActive?"view":"create"}})}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t,i,s;null===(s=null===(i=null===(t=this.meeting)||void 0===t?void 0:t.self)||void 0===i?void 0:i.permissions)||void 0===s||s.off("permissionsUpdate",this.permissionsUpdateListener)}meetingChanged(t){t&&(this.canToggle=r(t),t.self.permissions.on("permissionsUpdate",this.permissionsUpdateListener))}render(){return this.meeting?this.canToggle?s(o,{title:this.t("breakout_rooms")},s("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,onClick:this.breakoutRoomToggle,icon:this.iconPack.breakout_rooms,label:this.t("breakout_rooms"),variant:this.variant})):void 0:null}static get watchers(){return{meeting:["meetingChanged"]}}};l([n()],c.prototype,"meeting",void 0),l([n()],c.prototype,"states",void 0),l([n()],c.prototype,"iconPack",void 0),l([n()],c.prototype,"t",void 0),c.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}";export{c as rtk_breakout_rooms_toggle}
1
+ import{r as t,d as i,h as s,a as o}from"./p-a599f720.js";import{e,i as a,L as r}from"./p-efad3c75.js";import{S as n}from"./p-1b41ba11.js";var l=function(t,i,s,o){var e,a=arguments.length,r=a<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,s,o);else for(var n=t.length-1;n>=0;n--)(e=t[n])&&(r=(a<3?e(r):a>3?e(i,s,r):e(i,s))||r);return a>3&&r&&Object.defineProperty(i,s,r),r};const h=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=e,this.t=a(),this.canToggle=!1,this.permissionsUpdateListener=()=>{this.canToggle=r(this.meeting)},this.breakoutRoomToggle=()=>{var t,i;this.stateUpdate.emit({activeBreakoutRoomsManager:{active:!(null===(i=null===(t=this.states)||void 0===t?void 0:t.activeBreakoutRoomsManager)||void 0===i?void 0:i.active),mode:this.meeting.connectedMeetings.isActive?"view":"create"}})}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t,i,s;null===(s=null===(i=null===(t=this.meeting)||void 0===t?void 0:t.self)||void 0===i?void 0:i.permissions)||void 0===s||s.off("permissionsUpdate",this.permissionsUpdateListener)}meetingChanged(t){t&&(this.canToggle=r(t),t.self.permissions.on("permissionsUpdate",this.permissionsUpdateListener))}render(){return this.meeting?this.canToggle?s(o,{title:this.t("breakout_rooms")},s("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,onClick:this.breakoutRoomToggle,icon:this.iconPack.breakout_rooms,label:this.t("breakout_rooms"),variant:this.variant})):void 0:null}static get watchers(){return{meeting:["meetingChanged"]}}};l([n()],h.prototype,"meeting",void 0),l([n()],h.prototype,"states",void 0),l([n()],h.prototype,"iconPack",void 0),l([n()],h.prototype,"t",void 0),h.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}";export{h as rtk_breakout_rooms_toggle}
@@ -1 +1 @@
1
- import{r as t,h as i,a as r}from"./p-a599f720.js";import{e,i as s}from"./p-13cebc8f.js";import{S as a}from"./p-47979011.js";var o=function(t,i,r,e){var s,a=arguments.length,o=a<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,r):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,r,e);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(o=(a<3?s(o):a>3?s(i,r,o):s(i,r))||o);return a>3&&o&&Object.defineProperty(i,r,o),o};const n=class{constructor(i){t(this,i),this.iconPack=e,this.t=s(),this.permissionsUpdateListener=()=>{this.canSpotlight=this.meeting.self.permissions.canSpotlight}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t;null===(t=this.meeting)||void 0===t||t.self.permissions.removeListener("permissionsUpdate",this.permissionsUpdateListener)}meetingChanged(t){var i,r;null!=t&&(this.canSpotlight=t.self.permissions.canSpotlight,this.isSpotlighted=null!==(r=null===(i=t.meta)||void 0===i?void 0:i.broadcastTabChanges)&&void 0!==r&&r,t.self.permissions.addListener("permissionsUpdate",this.permissionsUpdateListener))}updateSpotlightState(t){var i;try{null===(i=this.meeting.meta)||void 0===i||i.setBroadcastTabChanges(t),this.isSpotlighted=t}catch(t){console.error(t)}}render(){if(this.canSpotlight)return i(r,null,i("rtk-tooltip",{size:"md",label:this.t("remote_access.indicator")},i("div",{id:"sync-button",class:{tab:!0,active:this.isSpotlighted},onClick:()=>this.updateSpotlightState(!this.isSpotlighted)},i("span",{class:"name"},"Sync"),i("rtk-icon",{id:"icon",icon:this.isSpotlighted?this.iconPack.checkmark:this.iconPack.warning,tabIndex:-1,"aria-hidden":!0}))))}static get watchers(){return{meeting:["meetingChanged"]}}};o([a()],n.prototype,"meeting",void 0),o([a()],n.prototype,"iconPack",void 0),o([a()],n.prototype,"t",void 0),n.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{font-size:12px}#sync-button{flex-direction:row;border-radius:var(--rtk-border-radius-sm, 4px);padding-left:var(--rtk-space-1, 4px);display:flex;align-items:center;justify-content:center;margin-bottom:var(--rtk-space-1, 4px);font-size:12px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}:host([size='sm']) rtk-tooltip,:host([size='md']) rtk-tooltip{width:100%}:host([size='sm'])>#sync-button{height:var(--rtk-space-8, 32px);width:var(--rtk-space-16, 64px);padding-left:var(--rtk-space-0, 0px)}:host([size='md'])>#sync-button{height:var(--rtk-space-8, 32px);width:var(--rtk-space-16, 64px)}:host([size='lg'])>#sync-button{flex-direction:row;height:var(--rtk-space-8, 32px);width:var(--rtk-space-16, 64px)}@media (orientation: portrait){:host([size='lg']) #sync-button{flex-direction:column-reverse;height:var(--rtk-space-16, 64px);width:var(--rtk-space-16, 64px)}:host([size='md']) #sync-button{height:var(--rtk-space-16, 64px);width:var(--rtk-space-16, 64px)}:host([size='sm']) #sync-button{height:var(--rtk-space-10, 40px);width:var(--rtk-space-16, 64px);flex-direction:row}}#sync-button>rtk-icon{max-height:14px}#sync-button rtk-icon{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}:host([size='sm']) #sync-button>rtk-icon{width:auto}#sync-button.active rtk-icon{color:rgb(var(--rtk-colors-text-1000, 255 255 255))}div{align-content:center;line-height:2rem}rtk-icon{height:var(--rtk-space-6, 24px);width:var(--rtk-space-8, 32px)}#sync-button.active{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-bg-opacity))}";export{n as rtk_spotlight_indicator}
1
+ import{r as t,h as i,a as r}from"./p-a599f720.js";import{e,i as s}from"./p-efad3c75.js";import{S as a}from"./p-1b41ba11.js";var o=function(t,i,r,e){var s,a=arguments.length,o=a<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,r):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,r,e);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(o=(a<3?s(o):a>3?s(i,r,o):s(i,r))||o);return a>3&&o&&Object.defineProperty(i,r,o),o};const n=class{constructor(i){t(this,i),this.iconPack=e,this.t=s(),this.permissionsUpdateListener=()=>{this.canSpotlight=this.meeting.self.permissions.canSpotlight}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t;null===(t=this.meeting)||void 0===t||t.self.permissions.removeListener("permissionsUpdate",this.permissionsUpdateListener)}meetingChanged(t){var i,r;null!=t&&(this.canSpotlight=t.self.permissions.canSpotlight,this.isSpotlighted=null!==(r=null===(i=t.meta)||void 0===i?void 0:i.broadcastTabChanges)&&void 0!==r&&r,t.self.permissions.addListener("permissionsUpdate",this.permissionsUpdateListener))}updateSpotlightState(t){var i;try{null===(i=this.meeting.meta)||void 0===i||i.setBroadcastTabChanges(t),this.isSpotlighted=t}catch(t){console.error(t)}}render(){if(this.canSpotlight)return i(r,null,i("rtk-tooltip",{size:"md",label:this.t("remote_access.indicator")},i("div",{id:"sync-button",class:{tab:!0,active:this.isSpotlighted},onClick:()=>this.updateSpotlightState(!this.isSpotlighted)},i("span",{class:"name"},"Sync"),i("rtk-icon",{id:"icon",icon:this.isSpotlighted?this.iconPack.checkmark:this.iconPack.warning,tabIndex:-1,"aria-hidden":!0}))))}static get watchers(){return{meeting:["meetingChanged"]}}};o([a()],n.prototype,"meeting",void 0),o([a()],n.prototype,"iconPack",void 0),o([a()],n.prototype,"t",void 0),n.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{font-size:12px}#sync-button{flex-direction:row;border-radius:var(--rtk-border-radius-sm, 4px);padding-left:var(--rtk-space-1, 4px);display:flex;align-items:center;justify-content:center;margin-bottom:var(--rtk-space-1, 4px);font-size:12px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}:host([size='sm']) rtk-tooltip,:host([size='md']) rtk-tooltip{width:100%}:host([size='sm'])>#sync-button{height:var(--rtk-space-8, 32px);width:var(--rtk-space-16, 64px);padding-left:var(--rtk-space-0, 0px)}:host([size='md'])>#sync-button{height:var(--rtk-space-8, 32px);width:var(--rtk-space-16, 64px)}:host([size='lg'])>#sync-button{flex-direction:row;height:var(--rtk-space-8, 32px);width:var(--rtk-space-16, 64px)}@media (orientation: portrait){:host([size='lg']) #sync-button{flex-direction:column-reverse;height:var(--rtk-space-16, 64px);width:var(--rtk-space-16, 64px)}:host([size='md']) #sync-button{height:var(--rtk-space-16, 64px);width:var(--rtk-space-16, 64px)}:host([size='sm']) #sync-button{height:var(--rtk-space-10, 40px);width:var(--rtk-space-16, 64px);flex-direction:row}}#sync-button>rtk-icon{max-height:14px}#sync-button rtk-icon{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}:host([size='sm']) #sync-button>rtk-icon{width:auto}#sync-button.active rtk-icon{color:rgb(var(--rtk-colors-text-1000, 255 255 255))}div{align-content:center;line-height:2rem}rtk-icon{height:var(--rtk-space-6, 24px);width:var(--rtk-space-8, 32px)}#sync-button.active{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-bg-opacity))}";export{n as rtk_spotlight_indicator}