@cloudflare/realtimekit-ui 2.0.3-staging.1 → 2.0.3-staging.2

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 (489) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/{TextMessage-CXP5MCz2.js → TextMessage-cfaZckxh.js} +1 -1
  3. package/dist/cjs/{chat-BJwmnHGm.js → chat-Dmb93Uku.js} +1 -1
  4. package/dist/cjs/{config-lVBc97X8.js → config-wbyoqfPs.js} +2 -2
  5. package/dist/cjs/{debounce-BfjpS8nk.js → debounce-B5TJRWkG.js} +1 -1
  6. package/dist/cjs/{index-iml9xkbo.js → index-CmhPLhux.js} +1 -1
  7. package/dist/cjs/index.cjs.js +4 -4
  8. package/dist/cjs/{merge-BJWi-sVV.js → merge-B7Yr5DGf.js} +1 -1
  9. package/dist/cjs/rtk-ai-toggle.cjs.entry.js +2 -2
  10. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +2 -2
  11. package/dist/cjs/rtk-ai_3.cjs.entry.js +2 -2
  12. package/dist/cjs/rtk-audio-grid.cjs.entry.js +2 -2
  13. package/dist/cjs/rtk-audio-tile.cjs.entry.js +2 -2
  14. package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +2 -2
  15. package/dist/cjs/rtk-avatar_26.cjs.entry.js +6 -6
  16. package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +2 -2
  17. package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +2 -2
  18. package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +2 -2
  19. package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +2 -2
  20. package/dist/cjs/rtk-camera-toggle.cjs.entry.js +2 -2
  21. package/dist/cjs/rtk-caption-toggle.cjs.entry.js +2 -2
  22. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +3 -3
  23. package/dist/cjs/rtk-chat-message.cjs.entry.js +2 -2
  24. package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +2 -2
  25. package/dist/cjs/rtk-chat-search-results.cjs.entry.js +2 -2
  26. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +3 -3
  27. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +2 -2
  28. package/dist/cjs/rtk-clock.cjs.entry.js +2 -2
  29. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +2 -2
  30. package/dist/cjs/rtk-controlbar.cjs.entry.js +2 -2
  31. package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +2 -2
  32. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +2 -2
  33. package/dist/cjs/rtk-dialog-manager.cjs.entry.js +2 -2
  34. package/dist/cjs/rtk-dialog.cjs.entry.js +2 -2
  35. package/dist/cjs/rtk-ended-screen.cjs.entry.js +2 -2
  36. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +2 -2
  37. package/dist/cjs/rtk-file-message_3.cjs.entry.js +4 -4
  38. package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +2 -2
  39. package/dist/cjs/rtk-grid-pagination.cjs.entry.js +2 -2
  40. package/dist/cjs/rtk-grid.cjs.entry.js +2 -2
  41. package/dist/cjs/rtk-header.cjs.entry.js +2 -2
  42. package/dist/cjs/rtk-idle-screen.cjs.entry.js +2 -2
  43. package/dist/cjs/rtk-image-viewer.cjs.entry.js +2 -2
  44. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +2 -2
  45. package/dist/cjs/rtk-leave-button.cjs.entry.js +2 -2
  46. package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +2 -2
  47. package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +2 -2
  48. package/dist/cjs/rtk-logo.cjs.entry.js +2 -2
  49. package/dist/cjs/rtk-meeting-title.cjs.entry.js +2 -2
  50. package/dist/cjs/rtk-message-list-view.cjs.entry.js +3 -3
  51. package/dist/cjs/rtk-mic-toggle.cjs.entry.js +2 -2
  52. package/dist/cjs/rtk-mixed-grid.cjs.entry.js +2 -2
  53. package/dist/cjs/rtk-more-toggle.cjs.entry.js +2 -2
  54. package/dist/cjs/rtk-mute-all-button.cjs.entry.js +2 -2
  55. package/dist/cjs/rtk-name-tag.cjs.entry.js +2 -2
  56. package/dist/cjs/rtk-network-indicator.cjs.entry.js +2 -2
  57. package/dist/cjs/rtk-notification.cjs.entry.js +4 -4
  58. package/dist/cjs/rtk-notifications.cjs.entry.js +3 -3
  59. package/dist/cjs/rtk-participant-count.cjs.entry.js +2 -2
  60. package/dist/cjs/rtk-participant-setup.cjs.entry.js +2 -2
  61. package/dist/cjs/rtk-participant_2.cjs.entry.js +3 -3
  62. package/dist/cjs/rtk-participants-audio.cjs.entry.js +2 -2
  63. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +2 -2
  64. package/dist/cjs/rtk-participants-toggle.cjs.entry.js +2 -2
  65. package/dist/cjs/rtk-participants.cjs.entry.js +3 -3
  66. package/dist/cjs/rtk-pip-toggle.cjs.entry.js +2 -2
  67. package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +2 -2
  68. package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +2 -2
  69. package/dist/cjs/rtk-poll_2.cjs.entry.js +2 -2
  70. package/dist/cjs/rtk-polls-toggle.cjs.entry.js +2 -2
  71. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +2 -2
  72. package/dist/cjs/rtk-recording-toggle.cjs.entry.js +2 -2
  73. package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +2 -2
  74. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +2 -2
  75. package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +2 -2
  76. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +2 -2
  77. package/dist/cjs/rtk-settings.cjs.entry.js +2 -2
  78. package/dist/cjs/rtk-setup-screen.cjs.entry.js +2 -2
  79. package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +2 -2
  80. package/dist/cjs/rtk-sidebar.cjs.entry.js +2 -2
  81. package/dist/cjs/rtk-simple-grid.cjs.entry.js +2 -2
  82. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +2 -2
  83. package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +2 -2
  84. package/dist/cjs/rtk-stage-toggle.cjs.entry.js +2 -2
  85. package/dist/cjs/rtk-stage.cjs.entry.js +2 -2
  86. package/dist/cjs/rtk-transcript.cjs.entry.js +2 -2
  87. package/dist/cjs/rtk-transcripts.cjs.entry.js +2 -2
  88. package/dist/cjs/rtk-ui-provider.cjs.entry.js +2 -2
  89. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +2 -2
  90. package/dist/cjs/{ui-store-C8bSJOfE.js → ui-store-C7CyFWPZ.js} +1 -1
  91. package/dist/collection/utils/clone.js +1 -1
  92. package/dist/components/index.js +1 -1
  93. package/dist/components/{p-BssX9KwA.js → p--CEA0NQj.js} +1 -1
  94. package/dist/components/{p-CWHbCyoL.js → p--VK1POSX.js} +1 -1
  95. package/dist/components/{p-DX_XkIXf.js → p-3QJecdKl.js} +1 -1
  96. package/dist/components/{p-kwrAj1JQ.js → p-5i84b0Gw.js} +1 -1
  97. package/dist/components/{p-DCtgO53p.js → p-93ZUKlQ1.js} +1 -1
  98. package/dist/components/{p-COCm8rOB.js → p-A83Jz8rO.js} +1 -1
  99. package/dist/components/{p-DXSMSSbW.js → p-B0SC1Zj-.js} +1 -1
  100. package/dist/components/{p-CPF_oopS.js → p-B1HaRABx.js} +1 -1
  101. package/dist/components/{p-Dy1vyj0N.js → p-B1oyTNvb.js} +1 -1
  102. package/dist/components/{p-BQkUbUdr.js → p-B3dQhqRr.js} +1 -1
  103. package/dist/components/{p-Bgm0SnIA.js → p-B4dw_Fnl.js} +1 -1
  104. package/dist/components/{p-UCR1gRqj.js → p-BGz4FsG8.js} +1 -1
  105. package/dist/components/{p-BNRJKXAG.js → p-BHHJ7_MS.js} +1 -1
  106. package/dist/components/{p-Bj4I4jh7.js → p-BQJoMtIK.js} +1 -1
  107. package/dist/components/{p-Bqf3TobZ.js → p-BXHUa6x_.js} +1 -1
  108. package/dist/components/{p-CwNP8xfN.js → p-Bf-HIBwL.js} +1 -1
  109. package/dist/components/{p-CfFkjBT0.js → p-Bf-vQ6U9.js} +1 -1
  110. package/dist/components/{p-C71rbtpI.js → p-Bmk8auxt.js} +1 -1
  111. package/dist/components/{p-BbtnaCk4.js → p-Bn6JMUc9.js} +1 -1
  112. package/dist/components/{p-C-ZKbHGI.js → p-BsgKgxKu.js} +1 -1
  113. package/dist/components/{p-vBjvMv_5.js → p-Bux-kSlP.js} +1 -1
  114. package/dist/components/{p-Chf25Wxh.js → p-BvLjh5Yy.js} +1 -1
  115. package/dist/components/{p-C9KgVl-d.js → p-BxPmWGqJ.js} +1 -1
  116. package/dist/components/{p-xmJ8IJTr.js → p-BxotZto-.js} +1 -1
  117. package/dist/components/p-C5kkSbkd.js +1 -0
  118. package/dist/components/{p-B17zaVfB.js → p-C6AgOKhg.js} +1 -1
  119. package/dist/components/{p-CXK5Hixp.js → p-C7WazpNf.js} +1 -1
  120. package/dist/components/{p-DcBUj_Ju.js → p-CAMtxcI_.js} +1 -1
  121. package/dist/components/{p-Ba4odlrT.js → p-CCxMYXjI.js} +1 -1
  122. package/dist/components/{p-mm-pzvJ-.js → p-CEK_XoGw.js} +1 -1
  123. package/dist/components/{p-DPxfGgCX.js → p-CFBS-gbK.js} +1 -1
  124. package/dist/components/{p-DnGHVpK1.js → p-CJGAvEk3.js} +1 -1
  125. package/dist/components/{p-Bjmpb3KI.js → p-CMyYEHgz.js} +1 -1
  126. package/dist/components/{p-BRPrcA0X.js → p-CPRQStTn.js} +1 -1
  127. package/dist/components/{p-BGMQOFEz.js → p-CTuYqZY2.js} +1 -1
  128. package/dist/components/{p-oNFda96T.js → p-CU7xL-hP.js} +1 -1
  129. package/dist/components/{p-fEIEB26m.js → p-CW-FAeNP.js} +1 -1
  130. package/dist/components/{p-BUosYxgI.js → p-CXq0ujSg.js} +1 -1
  131. package/dist/components/{p-iZinM7-j.js → p-CfIrQkMg.js} +1 -1
  132. package/dist/components/{p-V9huV8XH.js → p-CjstGmGh.js} +1 -1
  133. package/dist/components/{p-CkA8t9GX.js → p-CkB6Me6q.js} +1 -1
  134. package/dist/components/{p-Cj0CCucK.js → p-CnPYfRgf.js} +1 -1
  135. package/dist/components/{p-nkadiHul.js → p-CpD_SehU.js} +1 -1
  136. package/dist/components/{p-iaFYN7Sj.js → p-CuRSxmeD.js} +1 -1
  137. package/dist/components/{p-BoeW-RxV.js → p-DK5nsYEy.js} +1 -1
  138. package/dist/components/{p-66poN2qn.js → p-DMbGWtns.js} +1 -1
  139. package/dist/components/{p-D__Gipxn.js → p-DONfrqzk.js} +1 -1
  140. package/dist/components/{p-CIfkVpTJ.js → p-DSUStc8e.js} +1 -1
  141. package/dist/components/{p-BIdrWJJD.js → p-DSe3wsBa.js} +1 -1
  142. package/dist/components/{p-B77rBORD.js → p-DViKr-34.js} +1 -1
  143. package/dist/components/{p-B2GVx1qA.js → p-DZcwJOUW.js} +1 -1
  144. package/dist/components/p-D_AEDHUV.js +1 -0
  145. package/dist/components/{p-DSm20Isy.js → p-DbBGSlfQ.js} +1 -1
  146. package/dist/components/{p-BhG6UsF5.js → p-DdSpe6Sb.js} +1 -1
  147. package/dist/components/{p-nad0N2DI.js → p-Dh8N1Wv8.js} +1 -1
  148. package/dist/components/{p-C8Dgpnzx.js → p-DhG2PF_5.js} +1 -1
  149. package/dist/components/p-DhwysA2e.js +1 -0
  150. package/dist/components/{p-DfGTdsn0.js → p-DjOiGHfI.js} +1 -1
  151. package/dist/components/{p-CAgV-5OF.js → p-DnOzzBR9.js} +1 -1
  152. package/dist/components/{p-CNv9-uKL.js → p-DnkJztTd.js} +1 -1
  153. package/dist/components/{p-Cz9_MmLt.js → p-Dq8iLPzP.js} +1 -1
  154. package/dist/components/{p-yIxFaBq2.js → p-DtN97Fhn.js} +1 -1
  155. package/dist/components/{p-DjSGHZA8.js → p-DzDWIdoE.js} +1 -1
  156. package/dist/components/{p-CVfA5R2h.js → p-EkUCxpDZ.js} +1 -1
  157. package/dist/components/{p-48gPeJ33.js → p-FS8aOnfM.js} +1 -1
  158. package/dist/components/{p-CuqFnmgF.js → p-M0IaFpEv.js} +1 -1
  159. package/dist/components/{p-ebQT96VB.js → p-NKK4fZcP.js} +1 -1
  160. package/dist/components/{p-jyZncre7.js → p-ObGKzmP7.js} +1 -1
  161. package/dist/components/{p-CSO-O3S1.js → p-Smh6fH4v.js} +1 -1
  162. package/dist/components/{p-CSt7vW9Z.js → p-Z8VMlEx7.js} +1 -1
  163. package/dist/components/{p-DL4GSZ2e.js → p-bRRQr4xn.js} +1 -1
  164. package/dist/components/{p-B6TKlHLV.js → p-gixOLeKl.js} +1 -1
  165. package/dist/components/{p-D_tCWiMP.js → p-l-tiOHlG.js} +1 -1
  166. package/dist/components/{p-RjS7wlRV.js → p-pcKO_EeI.js} +1 -1
  167. package/dist/components/{p-Bvn365hl.js → p-qDy7F0Tr.js} +1 -1
  168. package/dist/components/{p-CRr8LXGp.js → p-vqPkhXWC.js} +1 -1
  169. package/dist/components/{p-D3IRX-4x.js → p-y_feb08f.js} +1 -1
  170. package/dist/components/rtk-ai-toggle.js +1 -1
  171. package/dist/components/rtk-ai-transcriptions.js +1 -1
  172. package/dist/components/rtk-ai.js +1 -1
  173. package/dist/components/rtk-audio-grid.js +1 -1
  174. package/dist/components/rtk-audio-tile.js +1 -1
  175. package/dist/components/rtk-audio-visualizer.js +1 -1
  176. package/dist/components/rtk-avatar.js +1 -1
  177. package/dist/components/rtk-breakout-room-manager.js +1 -1
  178. package/dist/components/rtk-breakout-room-participants.js +1 -1
  179. package/dist/components/rtk-breakout-rooms-manager.js +1 -1
  180. package/dist/components/rtk-breakout-rooms-toggle.js +1 -1
  181. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  182. package/dist/components/rtk-camera-selector.js +1 -1
  183. package/dist/components/rtk-camera-toggle.js +1 -1
  184. package/dist/components/rtk-caption-toggle.js +1 -1
  185. package/dist/components/rtk-chat-composer-ui.js +1 -1
  186. package/dist/components/rtk-chat-composer-view.js +1 -1
  187. package/dist/components/rtk-chat-header.js +1 -1
  188. package/dist/components/rtk-chat-message.js +1 -1
  189. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  190. package/dist/components/rtk-chat-messages-ui.js +1 -1
  191. package/dist/components/rtk-chat-search-results.js +1 -1
  192. package/dist/components/rtk-chat-selector-ui.js +1 -1
  193. package/dist/components/rtk-chat-selector.js +1 -1
  194. package/dist/components/rtk-chat-toggle.js +1 -1
  195. package/dist/components/rtk-chat.js +1 -1
  196. package/dist/components/rtk-clock.js +1 -1
  197. package/dist/components/rtk-confirmation-modal.js +1 -1
  198. package/dist/components/rtk-controlbar-button.js +1 -1
  199. package/dist/components/rtk-controlbar.js +1 -1
  200. package/dist/components/rtk-counter.js +1 -1
  201. package/dist/components/rtk-debugger-audio.js +1 -1
  202. package/dist/components/rtk-debugger-screenshare.js +1 -1
  203. package/dist/components/rtk-debugger-system.js +1 -1
  204. package/dist/components/rtk-debugger-toggle.js +1 -1
  205. package/dist/components/rtk-debugger-video.js +1 -1
  206. package/dist/components/rtk-debugger.js +1 -1
  207. package/dist/components/rtk-dialog-manager.js +1 -1
  208. package/dist/components/rtk-dialog.js +1 -1
  209. package/dist/components/rtk-draft-attachment-view.js +1 -1
  210. package/dist/components/rtk-emoji-picker-button.js +1 -1
  211. package/dist/components/rtk-emoji-picker.js +1 -1
  212. package/dist/components/rtk-ended-screen.js +1 -1
  213. package/dist/components/rtk-file-dropzone.js +1 -1
  214. package/dist/components/rtk-file-message-view.js +1 -1
  215. package/dist/components/rtk-file-message.js +1 -1
  216. package/dist/components/rtk-file-picker-button.js +1 -1
  217. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  218. package/dist/components/rtk-grid-pagination.js +1 -1
  219. package/dist/components/rtk-grid.js +1 -1
  220. package/dist/components/rtk-header.js +1 -1
  221. package/dist/components/rtk-idle-screen.js +1 -1
  222. package/dist/components/rtk-image-message-view.js +1 -1
  223. package/dist/components/rtk-image-message.js +1 -1
  224. package/dist/components/rtk-image-viewer.js +1 -1
  225. package/dist/components/rtk-information-tooltip.js +1 -1
  226. package/dist/components/rtk-join-stage.js +1 -1
  227. package/dist/components/rtk-leave-button.js +1 -1
  228. package/dist/components/rtk-leave-meeting.js +1 -1
  229. package/dist/components/rtk-livestream-indicator.js +1 -1
  230. package/dist/components/rtk-livestream-player.js +1 -1
  231. package/dist/components/rtk-livestream-toggle.js +1 -1
  232. package/dist/components/rtk-logo.js +1 -1
  233. package/dist/components/rtk-meeting-title.js +1 -1
  234. package/dist/components/rtk-meeting.js +1 -1
  235. package/dist/components/rtk-menu-item.js +1 -1
  236. package/dist/components/rtk-menu-list.js +1 -1
  237. package/dist/components/rtk-menu.js +1 -1
  238. package/dist/components/rtk-message-list-view.js +1 -1
  239. package/dist/components/rtk-message-view.js +1 -1
  240. package/dist/components/rtk-mic-toggle.js +1 -1
  241. package/dist/components/rtk-microphone-selector.js +1 -1
  242. package/dist/components/rtk-mixed-grid.js +1 -1
  243. package/dist/components/rtk-more-toggle.js +1 -1
  244. package/dist/components/rtk-mute-all-button.js +1 -1
  245. package/dist/components/rtk-mute-all-confirmation.js +1 -1
  246. package/dist/components/rtk-name-tag.js +1 -1
  247. package/dist/components/rtk-network-indicator.js +1 -1
  248. package/dist/components/rtk-notification.js +1 -1
  249. package/dist/components/rtk-notifications.js +1 -1
  250. package/dist/components/rtk-overlay-modal.js +1 -1
  251. package/dist/components/rtk-paginated-list.js +1 -1
  252. package/dist/components/rtk-participant-count.js +1 -1
  253. package/dist/components/rtk-participant-setup.js +1 -1
  254. package/dist/components/rtk-participant-tile.js +1 -1
  255. package/dist/components/rtk-participant.js +1 -1
  256. package/dist/components/rtk-participants-audio.js +1 -1
  257. package/dist/components/rtk-participants-stage-list.js +1 -1
  258. package/dist/components/rtk-participants-stage-queue.js +1 -1
  259. package/dist/components/rtk-participants-toggle.js +1 -1
  260. package/dist/components/rtk-participants-viewer-list.js +1 -1
  261. package/dist/components/rtk-participants-waiting-list.js +1 -1
  262. package/dist/components/rtk-participants.js +1 -1
  263. package/dist/components/rtk-permissions-message.js +1 -1
  264. package/dist/components/rtk-pinned-message-selector.js +1 -1
  265. package/dist/components/rtk-pip-toggle.js +1 -1
  266. package/dist/components/rtk-plugin-main.js +1 -1
  267. package/dist/components/rtk-plugins-toggle.js +1 -1
  268. package/dist/components/rtk-plugins.js +1 -1
  269. package/dist/components/rtk-poll-form.js +1 -1
  270. package/dist/components/rtk-poll.js +1 -1
  271. package/dist/components/rtk-polls-toggle.js +1 -1
  272. package/dist/components/rtk-polls.js +1 -1
  273. package/dist/components/rtk-recording-indicator.js +1 -1
  274. package/dist/components/rtk-recording-toggle.js +1 -1
  275. package/dist/components/rtk-screen-share-toggle.js +1 -1
  276. package/dist/components/rtk-screenshare-view.js +1 -1
  277. package/dist/components/rtk-settings-audio.js +1 -1
  278. package/dist/components/rtk-settings-toggle.js +1 -1
  279. package/dist/components/rtk-settings-video.js +1 -1
  280. package/dist/components/rtk-settings.js +1 -1
  281. package/dist/components/rtk-setup-screen.js +1 -1
  282. package/dist/components/rtk-sidebar-ui.js +1 -1
  283. package/dist/components/rtk-sidebar.js +1 -1
  284. package/dist/components/rtk-simple-grid.js +1 -1
  285. package/dist/components/rtk-speaker-selector.js +1 -1
  286. package/dist/components/rtk-spinner.js +1 -1
  287. package/dist/components/rtk-spotlight-grid.js +1 -1
  288. package/dist/components/rtk-spotlight-indicator.js +1 -1
  289. package/dist/components/rtk-stage-toggle.js +1 -1
  290. package/dist/components/rtk-stage.js +1 -1
  291. package/dist/components/rtk-switch.js +1 -1
  292. package/dist/components/rtk-tab-bar.js +1 -1
  293. package/dist/components/rtk-text-composer-view.js +1 -1
  294. package/dist/components/rtk-text-message.js +1 -1
  295. package/dist/components/rtk-transcript.js +1 -1
  296. package/dist/components/rtk-transcripts.js +1 -1
  297. package/dist/components/rtk-ui-provider.js +1 -1
  298. package/dist/components/rtk-viewer-count.js +1 -1
  299. package/dist/components/rtk-waiting-screen.js +1 -1
  300. package/dist/docs/docs-components.json +1 -1
  301. package/dist/esm/{TextMessage-C1lPu3R8.js → TextMessage-B-38YeFE.js} +1 -1
  302. package/dist/esm/{chat-DRqOBXqN.js → chat-a6CRyl2K.js} +1 -1
  303. package/dist/esm/{config-BiYmSYD9.js → config-wP0cqv4b.js} +2 -2
  304. package/dist/esm/{debounce-BmgYF10w.js → debounce-lqMlEJcq.js} +1 -1
  305. package/dist/esm/{index-BnFmFXDx.js → index-CP1LPkYZ.js} +1 -1
  306. package/dist/esm/index.js +6 -6
  307. package/dist/esm/loader.js +1 -1
  308. package/dist/esm/{merge-Bnx8tW3F.js → merge-BWjuIacB.js} +1 -1
  309. package/dist/esm/rtk-ai-toggle.entry.js +2 -2
  310. package/dist/esm/rtk-ai-transcriptions.entry.js +2 -2
  311. package/dist/esm/rtk-ai_3.entry.js +2 -2
  312. package/dist/esm/rtk-audio-grid.entry.js +2 -2
  313. package/dist/esm/rtk-audio-tile.entry.js +2 -2
  314. package/dist/esm/rtk-audio-visualizer_4.entry.js +2 -2
  315. package/dist/esm/rtk-avatar_26.entry.js +6 -6
  316. package/dist/esm/rtk-breakout-room-manager_3.entry.js +2 -2
  317. package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +2 -2
  318. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +2 -2
  319. package/dist/esm/rtk-camera-selector_2.entry.js +2 -2
  320. package/dist/esm/rtk-camera-toggle.entry.js +2 -2
  321. package/dist/esm/rtk-caption-toggle.entry.js +2 -2
  322. package/dist/esm/rtk-chat-composer-ui.entry.js +3 -3
  323. package/dist/esm/rtk-chat-message.entry.js +2 -2
  324. package/dist/esm/rtk-chat-messages-ui.entry.js +2 -2
  325. package/dist/esm/rtk-chat-search-results.entry.js +2 -2
  326. package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
  327. package/dist/esm/rtk-chat-toggle.entry.js +2 -2
  328. package/dist/esm/rtk-clock.entry.js +2 -2
  329. package/dist/esm/rtk-controlbar-button.entry.js +2 -2
  330. package/dist/esm/rtk-controlbar.entry.js +2 -2
  331. package/dist/esm/rtk-debugger-audio_4.entry.js +2 -2
  332. package/dist/esm/rtk-debugger-toggle.entry.js +2 -2
  333. package/dist/esm/rtk-dialog-manager.entry.js +2 -2
  334. package/dist/esm/rtk-dialog.entry.js +2 -2
  335. package/dist/esm/rtk-ended-screen.entry.js +2 -2
  336. package/dist/esm/rtk-file-dropzone.entry.js +2 -2
  337. package/dist/esm/rtk-file-message_3.entry.js +4 -4
  338. package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
  339. package/dist/esm/rtk-grid-pagination.entry.js +2 -2
  340. package/dist/esm/rtk-grid.entry.js +2 -2
  341. package/dist/esm/rtk-header.entry.js +2 -2
  342. package/dist/esm/rtk-idle-screen.entry.js +2 -2
  343. package/dist/esm/rtk-image-viewer.entry.js +2 -2
  344. package/dist/esm/rtk-information-tooltip.entry.js +2 -2
  345. package/dist/esm/rtk-leave-button.entry.js +2 -2
  346. package/dist/esm/rtk-livestream-indicator_3.entry.js +2 -2
  347. package/dist/esm/rtk-livestream-toggle.entry.js +2 -2
  348. package/dist/esm/rtk-logo.entry.js +2 -2
  349. package/dist/esm/rtk-meeting-title.entry.js +2 -2
  350. package/dist/esm/rtk-message-list-view.entry.js +3 -3
  351. package/dist/esm/rtk-mic-toggle.entry.js +2 -2
  352. package/dist/esm/rtk-mixed-grid.entry.js +2 -2
  353. package/dist/esm/rtk-more-toggle.entry.js +2 -2
  354. package/dist/esm/rtk-mute-all-button.entry.js +2 -2
  355. package/dist/esm/rtk-name-tag.entry.js +2 -2
  356. package/dist/esm/rtk-network-indicator.entry.js +2 -2
  357. package/dist/esm/rtk-notification.entry.js +4 -4
  358. package/dist/esm/rtk-notifications.entry.js +3 -3
  359. package/dist/esm/rtk-participant-count.entry.js +2 -2
  360. package/dist/esm/rtk-participant-setup.entry.js +2 -2
  361. package/dist/esm/rtk-participant_2.entry.js +3 -3
  362. package/dist/esm/rtk-participants-audio.entry.js +2 -2
  363. package/dist/esm/rtk-participants-stage-list_4.entry.js +2 -2
  364. package/dist/esm/rtk-participants-toggle.entry.js +2 -2
  365. package/dist/esm/rtk-participants.entry.js +3 -3
  366. package/dist/esm/rtk-pip-toggle.entry.js +2 -2
  367. package/dist/esm/rtk-plugin-main_2.entry.js +2 -2
  368. package/dist/esm/rtk-plugins-toggle.entry.js +2 -2
  369. package/dist/esm/rtk-poll_2.entry.js +2 -2
  370. package/dist/esm/rtk-polls-toggle.entry.js +2 -2
  371. package/dist/esm/rtk-recording-indicator.entry.js +2 -2
  372. package/dist/esm/rtk-recording-toggle.entry.js +2 -2
  373. package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
  374. package/dist/esm/rtk-screenshare-view.entry.js +2 -2
  375. package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
  376. package/dist/esm/rtk-settings-toggle.entry.js +2 -2
  377. package/dist/esm/rtk-settings.entry.js +2 -2
  378. package/dist/esm/rtk-setup-screen.entry.js +2 -2
  379. package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
  380. package/dist/esm/rtk-sidebar.entry.js +2 -2
  381. package/dist/esm/rtk-simple-grid.entry.js +2 -2
  382. package/dist/esm/rtk-spotlight-grid.entry.js +2 -2
  383. package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
  384. package/dist/esm/rtk-stage-toggle.entry.js +2 -2
  385. package/dist/esm/rtk-stage.entry.js +2 -2
  386. package/dist/esm/rtk-transcript.entry.js +2 -2
  387. package/dist/esm/rtk-transcripts.entry.js +2 -2
  388. package/dist/esm/rtk-ui-provider.entry.js +2 -2
  389. package/dist/esm/rtk-waiting-screen.entry.js +2 -2
  390. package/dist/esm/{ui-store-CkvSNsmd.js → ui-store-Ctcbman-.js} +1 -1
  391. package/dist/realtimekit-ui/index.esm.js +1 -1
  392. package/dist/realtimekit-ui/{p-b7f7e42a.entry.js → p-0195bd60.entry.js} +1 -1
  393. package/dist/realtimekit-ui/{p-0c1a8f1a.entry.js → p-01c014e4.entry.js} +1 -1
  394. package/dist/realtimekit-ui/{p-f2380597.entry.js → p-0264d57f.entry.js} +1 -1
  395. package/dist/realtimekit-ui/{p-eeb3d851.entry.js → p-09ce95b2.entry.js} +1 -1
  396. package/dist/realtimekit-ui/{p-b90a0bf4.entry.js → p-194ebf74.entry.js} +1 -1
  397. package/dist/realtimekit-ui/{p-71b0d221.entry.js → p-21b69da3.entry.js} +1 -1
  398. package/dist/realtimekit-ui/{p-e3015917.entry.js → p-23e14ccd.entry.js} +1 -1
  399. package/dist/realtimekit-ui/{p-607f649e.entry.js → p-27751707.entry.js} +1 -1
  400. package/dist/realtimekit-ui/{p-11a08757.entry.js → p-286ce4d7.entry.js} +1 -1
  401. package/dist/realtimekit-ui/{p-f182042f.entry.js → p-2a527754.entry.js} +1 -1
  402. package/dist/realtimekit-ui/{p-207aa239.entry.js → p-2da96ec3.entry.js} +1 -1
  403. package/dist/realtimekit-ui/{p-ec9d4173.entry.js → p-2fd5255e.entry.js} +1 -1
  404. package/dist/realtimekit-ui/{p-1e4ffceb.entry.js → p-31c97dcd.entry.js} +1 -1
  405. package/dist/realtimekit-ui/{p-ff436b41.entry.js → p-384db558.entry.js} +1 -1
  406. package/dist/realtimekit-ui/{p-12fa2370.entry.js → p-3ed792bf.entry.js} +1 -1
  407. package/dist/realtimekit-ui/{p-588dcb34.entry.js → p-401b9ed3.entry.js} +1 -1
  408. package/dist/realtimekit-ui/{p-af7bffbb.entry.js → p-462d4e8f.entry.js} +1 -1
  409. package/dist/realtimekit-ui/p-47abb821.entry.js +1 -0
  410. package/dist/realtimekit-ui/{p-458e87f0.entry.js → p-481e75eb.entry.js} +1 -1
  411. package/dist/realtimekit-ui/{p-d79a49f3.entry.js → p-4a1ec4a2.entry.js} +1 -1
  412. package/dist/realtimekit-ui/{p-e1542a67.entry.js → p-4aa24ae6.entry.js} +1 -1
  413. package/dist/realtimekit-ui/{p-cf8e7495.entry.js → p-4add313e.entry.js} +1 -1
  414. package/dist/realtimekit-ui/{p-d1c91dad.entry.js → p-4bd89bff.entry.js} +1 -1
  415. package/dist/realtimekit-ui/{p-7bf3de16.entry.js → p-4ed011a1.entry.js} +1 -1
  416. package/dist/realtimekit-ui/{p-ad1157e0.entry.js → p-5361cd19.entry.js} +1 -1
  417. package/dist/realtimekit-ui/{p-14204827.entry.js → p-53ce2f30.entry.js} +1 -1
  418. package/dist/realtimekit-ui/{p-727fa3f2.entry.js → p-55ec635e.entry.js} +1 -1
  419. package/dist/realtimekit-ui/{p-2438cd32.entry.js → p-56df9c19.entry.js} +1 -1
  420. package/dist/realtimekit-ui/{p-f95e96b7.entry.js → p-58366145.entry.js} +1 -1
  421. package/dist/realtimekit-ui/{p-de1b894a.entry.js → p-601f1040.entry.js} +1 -1
  422. package/dist/realtimekit-ui/{p-64224592.entry.js → p-62a46799.entry.js} +1 -1
  423. package/dist/realtimekit-ui/{p-ee470245.entry.js → p-64bc4514.entry.js} +1 -1
  424. package/dist/realtimekit-ui/{p-b04cc83e.entry.js → p-67ee7fdd.entry.js} +1 -1
  425. package/dist/realtimekit-ui/{p-e010a673.entry.js → p-6ab2602a.entry.js} +1 -1
  426. package/dist/realtimekit-ui/{p-d10a73b2.entry.js → p-6b387775.entry.js} +1 -1
  427. package/dist/realtimekit-ui/{p-d438c98e.entry.js → p-6e0f43e4.entry.js} +1 -1
  428. package/dist/realtimekit-ui/{p-cb9a3294.entry.js → p-6e8c871f.entry.js} +1 -1
  429. package/dist/realtimekit-ui/{p-d9061f53.entry.js → p-7f45a1cd.entry.js} +1 -1
  430. package/dist/realtimekit-ui/{p-b1da05d3.entry.js → p-80b42139.entry.js} +1 -1
  431. package/dist/realtimekit-ui/{p-3e34195d.entry.js → p-815d9724.entry.js} +1 -1
  432. package/dist/realtimekit-ui/{p-0872cae4.entry.js → p-83a920c6.entry.js} +1 -1
  433. package/dist/realtimekit-ui/{p-92f6959e.entry.js → p-893da38a.entry.js} +1 -1
  434. package/dist/realtimekit-ui/{p-8cb45932.entry.js → p-959917cc.entry.js} +1 -1
  435. package/dist/realtimekit-ui/{p-932c7070.entry.js → p-9aac22a5.entry.js} +1 -1
  436. package/dist/realtimekit-ui/{p-56a5c456.entry.js → p-9ad5187d.entry.js} +1 -1
  437. package/dist/realtimekit-ui/{p-b491565f.entry.js → p-9ce9b595.entry.js} +1 -1
  438. package/dist/realtimekit-ui/{p-ae82b88b.entry.js → p-9fa91df2.entry.js} +1 -1
  439. package/dist/realtimekit-ui/{p-676d4a41.entry.js → p-9fb75436.entry.js} +1 -1
  440. package/dist/realtimekit-ui/{p-1de6c388.entry.js → p-9fd3cb5e.entry.js} +1 -1
  441. package/dist/realtimekit-ui/{p-3h3Qc6lD.js → p-B91vjjSJ.js} +1 -1
  442. package/dist/realtimekit-ui/{p-Dy41dnX2.js → p-BmRffDYW.js} +1 -1
  443. package/dist/realtimekit-ui/{p-BmaxriWP.js → p-CQ2xadpP.js} +1 -1
  444. package/dist/realtimekit-ui/{p-Cm8ENd-O.js → p-CfUJPUNx.js} +1 -1
  445. package/dist/realtimekit-ui/p-DI7wP4CL.js +1 -0
  446. package/dist/realtimekit-ui/{p-BTwUl5G9.js → p-MlOz-emx.js} +1 -1
  447. package/dist/realtimekit-ui/{p-2d1b8896.entry.js → p-a34a267b.entry.js} +1 -1
  448. package/dist/realtimekit-ui/{p-f5a30d5b.entry.js → p-a609f991.entry.js} +1 -1
  449. package/dist/realtimekit-ui/p-a646f038.entry.js +1 -0
  450. package/dist/realtimekit-ui/{p-df4122cb.entry.js → p-ab63946e.entry.js} +1 -1
  451. package/dist/realtimekit-ui/{p-d089d2bb.entry.js → p-ac79ef88.entry.js} +1 -1
  452. package/dist/realtimekit-ui/{p-cffb7c0e.entry.js → p-b41fc081.entry.js} +1 -1
  453. package/dist/realtimekit-ui/{p-066359c2.entry.js → p-b46d416b.entry.js} +1 -1
  454. package/dist/realtimekit-ui/{p-7e0daf2a.entry.js → p-b9f47f88.entry.js} +1 -1
  455. package/dist/realtimekit-ui/{p-86b027f8.entry.js → p-ba7fb049.entry.js} +1 -1
  456. package/dist/realtimekit-ui/{p-9e855d5f.entry.js → p-bcc20509.entry.js} +1 -1
  457. package/dist/realtimekit-ui/{p-ecac916f.entry.js → p-bcc42454.entry.js} +1 -1
  458. package/dist/realtimekit-ui/{p-34e01092.entry.js → p-bd848924.entry.js} +1 -1
  459. package/dist/realtimekit-ui/{p-a74a3bd7.entry.js → p-bdd8ebec.entry.js} +1 -1
  460. package/dist/realtimekit-ui/{p-cb9955f1.entry.js → p-bf54cdd9.entry.js} +1 -1
  461. package/dist/realtimekit-ui/p-c6d03162.entry.js +1 -0
  462. package/dist/realtimekit-ui/{p-fc6bfa36.entry.js → p-c6f6afcd.entry.js} +1 -1
  463. package/dist/realtimekit-ui/{p-8f4c582b.entry.js → p-cd5069ea.entry.js} +1 -1
  464. package/dist/realtimekit-ui/{p-c8f68298.entry.js → p-cf7f7d9c.entry.js} +1 -1
  465. package/dist/realtimekit-ui/{p-538b2ecf.entry.js → p-d4ff2477.entry.js} +1 -1
  466. package/dist/realtimekit-ui/{p-4d2fcc46.entry.js → p-d52b8b3d.entry.js} +1 -1
  467. package/dist/realtimekit-ui/{p-9139643b.entry.js → p-d85e142c.entry.js} +1 -1
  468. package/dist/realtimekit-ui/p-d9c7c4d8.entry.js +1 -0
  469. package/dist/realtimekit-ui/{p-CKXY5S4J.js → p-dYOM3dvx.js} +1 -1
  470. package/dist/realtimekit-ui/{p-6fa0e07e.entry.js → p-da9c7efe.entry.js} +1 -1
  471. package/dist/realtimekit-ui/{p-5f9fdbf1.entry.js → p-dc7a28a6.entry.js} +1 -1
  472. package/dist/realtimekit-ui/{p-8f362ed0.entry.js → p-dd6fa0d8.entry.js} +1 -1
  473. package/dist/realtimekit-ui/{p-7b94fb4f.entry.js → p-de4ecd17.entry.js} +1 -1
  474. package/dist/realtimekit-ui/{p-691a610d.entry.js → p-e347e0d8.entry.js} +1 -1
  475. package/dist/realtimekit-ui/{p-c2ea0c8a.entry.js → p-e8e6a1c8.entry.js} +1 -1
  476. package/dist/realtimekit-ui/{p-bbe8664e.entry.js → p-f5377574.entry.js} +1 -1
  477. package/dist/realtimekit-ui/{p-260169b4.entry.js → p-f5809d7c.entry.js} +1 -1
  478. package/dist/realtimekit-ui/{p-2bbc4dfc.entry.js → p-f6085321.entry.js} +1 -1
  479. package/dist/realtimekit-ui/{p-255290c6.entry.js → p-fb0a9fa6.entry.js} +1 -1
  480. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  481. package/package.json +1 -1
  482. package/dist/components/p-BsxEHBW2.js +0 -1
  483. package/dist/components/p-BthnOddY.js +0 -1
  484. package/dist/components/p-CEjlztlu.js +0 -1
  485. package/dist/realtimekit-ui/p-27dd7099.entry.js +0 -1
  486. package/dist/realtimekit-ui/p-94f25ba4.entry.js +0 -1
  487. package/dist/realtimekit-ui/p-98b33e56.entry.js +0 -1
  488. package/dist/realtimekit-ui/p-D9rFUUCb.js +0 -1
  489. package/dist/realtimekit-ui/p-c6be9e1f.entry.js +0 -1
@@ -1 +1 @@
1
- import{p as t,H as r,c as o,h as e,d as a,t as s}from"./p-BBHQOrFK.js";import{e as i,i as c}from"./p-BthnOddY.js";import{S as n}from"./p-DL4GSZ2e.js";import{d as l}from"./p-D6vw6bT2.js";import{d}from"./p-BYIBbfJ8.js";var p=function(t,r,o,e){var a,s=arguments.length,i=s<3?r:null===e?e=Object.getOwnPropertyDescriptor(r,o):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,r,o,e);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(i=(s<3?a(i):s>3?a(r,o,i):a(r,o))||i);return s>3&&i&&Object.defineProperty(r,o,i),i};const b=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.onCreate=o(this,"rtkCreatePoll",7),this.iconPack=i,this.t=c(),this.options=["",""],this.anonymous=!1,this.hideVotes=!0}removeOption(t){var r;this.options=this.options.filter(((r,o)=>o!==t)),1===(null===(r=this.error)||void 0===r?void 0:r.code)&&(this.error=void 0)}addOption(){this.options=[...this.options,""]}updateOption(t,r){var o;this.options[r]=t.target.value,1===(null===(o=this.error)||void 0===o?void 0:o.code)&&(this.error=void 0)}handleSubmit(){const t={question:this.question.value,options:this.options,anonymous:this.anonymous,hideVotes:!!this.anonymous||this.hideVotes};t.question?this.options.filter((t=>""===t.trim())).length>0?this.error={code:1,message:this.t("polls.errors.empty_option")}:this.onCreate.emit(t):this.error={code:0,message:this.t("polls.errors.question_required")}}render(){return e(a,{key:"ff160dd70e52bfa8a0c5116acea73a16cb84b9b8"},e("div",{key:"2f14946249e12cbc38db8cca86d370030286dc8e",class:"create-poll"},e("p",{key:"a6e3704c58e3526aa2e0f517f529c7ee48627f30"},this.t("polls.question")),e("textarea",{key:"6b076d162f80cc4e08ecc9379e829f37d43d06bb",onInput:()=>{this.error&&0===this.error.code&&(this.error=void 0)},ref:t=>this.question=t,placeholder:this.t("polls.question.placeholder")}),this.options.map(((t,r)=>e("div",{class:"option"},e("input",{placeholder:this.t("polls.option.placeholder"),value:t,onInput:t=>this.updateOption(t,r)}),r>1&&e("rtk-button",{kind:"icon",class:"auto remove-option",variant:"secondary",onClick:()=>this.removeOption(r)},e("rtk-icon",{icon:this.iconPack.subtract}))))),e("rtk-button",{key:"be4055b21c6c810d0721fe2daf3308011b2c6d8f",class:"add-option",variant:"secondary",onClick:()=>this.addOption()},this.t("polls.option")),e("label",{key:"0e22f9da27289adf831d5a9458237aa11758fd41"},e("input",{key:"577da1d275259a4e9ebffedf153f52e799172c42",id:"anonymous",type:"checkbox",onChange:t=>this.anonymous=t.target.checked}),this.t("polls.results.anon")),e("label",{key:"c06bcbfb6d15125c614764002985d20713e672a4"},e("input",{key:"9e9bb29126ed51c0bbd06481b44f690d737fbb64",id:"hideVotes",type:"checkbox",disabled:this.anonymous,checked:!!this.anonymous||this.hideVotes,onChange:t=>this.hideVotes=t.target.checked}),this.t("polls.results.hide")),e("rtk-button",{key:"ab48323f46db1f6e485bea960f6d7ec6bb684075",kind:"wide",onClick:()=>this.handleSubmit()},this.t("polls.create")),this.error&&e("span",{key:"1d61b167ee24001d0b66acdb361262bf7f2ffcc6",class:"error-text"},this.error.message)))}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}.create-poll{margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-3, 12px);display:flex;flex:1 1 0%;flex-direction:column;padding:var(--rtk-space-3, 12px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}.create-poll p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px);text-align:center}.create-poll textarea{display:flex;border-radius:var(--rtk-border-radius-sm, 4px);padding:var(--rtk-space-2, 8px);font-family:var(--rtk-font-family, sans-serif);border-width:var(--rtk-border-width-none, 0);border-style:none;font-weight:500;outline:2px solid transparent;outline-offset:2px;margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-3, 12px);resize:vertical;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.create-poll textarea:focus{outline-style:solid;outline-offset:2px;outline-color:rgb(var(--rtk-colors-background-600, 60 60 60))}.option{display:flex;flex-direction:row;align-items:center;margin-bottom:var(--rtk-space-3, 12px);width:100%}.option input{width:100%;border-radius:var(--rtk-border-radius-sm, 4px);padding:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;outline:2px solid transparent;outline-offset:2px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.remove-option{margin-left:var(--rtk-space-2, 8px);width:var(--rtk-space-10, 40px);border-radius:var(--rtk-border-radius-sm, 4px)}.add-option{margin-bottom:var(--rtk-space-3, 12px)}label{margin-bottom:var(--rtk-space-3, 12px)}.error-text{margin-top:var(--rtk-space-3, 12px);text-align:center;font-size:12px;--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}"}},[1,"rtk-poll-form",{iconPack:[16],t:[16],options:[32],anonymous:[32],hideVotes:[32],error:[32]}]);function k(){"undefined"!=typeof customElements&&["rtk-poll-form","rtk-button","rtk-icon"].forEach((t=>{switch(t){case"rtk-poll-form":customElements.get(s(t))||customElements.define(s(t),b);break;case"rtk-button":customElements.get(s(t))||l();break;case"rtk-icon":customElements.get(s(t))||d()}}))}p([n()],b.prototype,"iconPack",void 0),p([n()],b.prototype,"t",void 0),k();export{b as R,k as d}
1
+ import{p as t,H as r,c as o,h as e,d as a,t as s}from"./p-BBHQOrFK.js";import{e as i,i as c}from"./p-DhwysA2e.js";import{S as n}from"./p-bRRQr4xn.js";import{d as l}from"./p-D6vw6bT2.js";import{d}from"./p-BYIBbfJ8.js";var p=function(t,r,o,e){var a,s=arguments.length,i=s<3?r:null===e?e=Object.getOwnPropertyDescriptor(r,o):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,r,o,e);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(i=(s<3?a(i):s>3?a(r,o,i):a(r,o))||i);return s>3&&i&&Object.defineProperty(r,o,i),i};const b=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.onCreate=o(this,"rtkCreatePoll",7),this.iconPack=i,this.t=c(),this.options=["",""],this.anonymous=!1,this.hideVotes=!0}removeOption(t){var r;this.options=this.options.filter(((r,o)=>o!==t)),1===(null===(r=this.error)||void 0===r?void 0:r.code)&&(this.error=void 0)}addOption(){this.options=[...this.options,""]}updateOption(t,r){var o;this.options[r]=t.target.value,1===(null===(o=this.error)||void 0===o?void 0:o.code)&&(this.error=void 0)}handleSubmit(){const t={question:this.question.value,options:this.options,anonymous:this.anonymous,hideVotes:!!this.anonymous||this.hideVotes};t.question?this.options.filter((t=>""===t.trim())).length>0?this.error={code:1,message:this.t("polls.errors.empty_option")}:this.onCreate.emit(t):this.error={code:0,message:this.t("polls.errors.question_required")}}render(){return e(a,{key:"ff160dd70e52bfa8a0c5116acea73a16cb84b9b8"},e("div",{key:"2f14946249e12cbc38db8cca86d370030286dc8e",class:"create-poll"},e("p",{key:"a6e3704c58e3526aa2e0f517f529c7ee48627f30"},this.t("polls.question")),e("textarea",{key:"6b076d162f80cc4e08ecc9379e829f37d43d06bb",onInput:()=>{this.error&&0===this.error.code&&(this.error=void 0)},ref:t=>this.question=t,placeholder:this.t("polls.question.placeholder")}),this.options.map(((t,r)=>e("div",{class:"option"},e("input",{placeholder:this.t("polls.option.placeholder"),value:t,onInput:t=>this.updateOption(t,r)}),r>1&&e("rtk-button",{kind:"icon",class:"auto remove-option",variant:"secondary",onClick:()=>this.removeOption(r)},e("rtk-icon",{icon:this.iconPack.subtract}))))),e("rtk-button",{key:"be4055b21c6c810d0721fe2daf3308011b2c6d8f",class:"add-option",variant:"secondary",onClick:()=>this.addOption()},this.t("polls.option")),e("label",{key:"0e22f9da27289adf831d5a9458237aa11758fd41"},e("input",{key:"577da1d275259a4e9ebffedf153f52e799172c42",id:"anonymous",type:"checkbox",onChange:t=>this.anonymous=t.target.checked}),this.t("polls.results.anon")),e("label",{key:"c06bcbfb6d15125c614764002985d20713e672a4"},e("input",{key:"9e9bb29126ed51c0bbd06481b44f690d737fbb64",id:"hideVotes",type:"checkbox",disabled:this.anonymous,checked:!!this.anonymous||this.hideVotes,onChange:t=>this.hideVotes=t.target.checked}),this.t("polls.results.hide")),e("rtk-button",{key:"ab48323f46db1f6e485bea960f6d7ec6bb684075",kind:"wide",onClick:()=>this.handleSubmit()},this.t("polls.create")),this.error&&e("span",{key:"1d61b167ee24001d0b66acdb361262bf7f2ffcc6",class:"error-text"},this.error.message)))}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}.create-poll{margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-3, 12px);display:flex;flex:1 1 0%;flex-direction:column;padding:var(--rtk-space-3, 12px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}.create-poll p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px);text-align:center}.create-poll textarea{display:flex;border-radius:var(--rtk-border-radius-sm, 4px);padding:var(--rtk-space-2, 8px);font-family:var(--rtk-font-family, sans-serif);border-width:var(--rtk-border-width-none, 0);border-style:none;font-weight:500;outline:2px solid transparent;outline-offset:2px;margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-3, 12px);resize:vertical;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.create-poll textarea:focus{outline-style:solid;outline-offset:2px;outline-color:rgb(var(--rtk-colors-background-600, 60 60 60))}.option{display:flex;flex-direction:row;align-items:center;margin-bottom:var(--rtk-space-3, 12px);width:100%}.option input{width:100%;border-radius:var(--rtk-border-radius-sm, 4px);padding:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;outline:2px solid transparent;outline-offset:2px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.remove-option{margin-left:var(--rtk-space-2, 8px);width:var(--rtk-space-10, 40px);border-radius:var(--rtk-border-radius-sm, 4px)}.add-option{margin-bottom:var(--rtk-space-3, 12px)}label{margin-bottom:var(--rtk-space-3, 12px)}.error-text{margin-top:var(--rtk-space-3, 12px);text-align:center;font-size:12px;--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}"}},[1,"rtk-poll-form",{iconPack:[16],t:[16],options:[32],anonymous:[32],hideVotes:[32],error:[32]}]);function k(){"undefined"!=typeof customElements&&["rtk-poll-form","rtk-button","rtk-icon"].forEach((t=>{switch(t){case"rtk-poll-form":customElements.get(s(t))||customElements.define(s(t),b);break;case"rtk-button":customElements.get(s(t))||l();break;case"rtk-icon":customElements.get(s(t))||d()}}))}p([n()],b.prototype,"iconPack",void 0),p([n()],b.prototype,"t",void 0),k();export{b as R,k as d}
@@ -1 +1 @@
1
- import{p as t,H as e,w as i,h as r,d as s,t as a}from"./p-BBHQOrFK.js";import{e as o,i as n}from"./p-BthnOddY.js";import{S as c}from"./p-DL4GSZ2e.js";import{i as p}from"./p-CAqYddlg.js";import{d as l}from"./p-BYIBbfJ8.js";var d=function(t,e,i,r){var s,a=arguments.length,o=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,r);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(o=(a<3?s(o):a>3?s(e,i,o):s(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o};const h=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.iconPack=o,this.variant="full",this.t=n(),this.audioinputDevices=[],this.canProduceAudio=!0,this.currentDevices={audio:void 0},this.stageStateListener=()=>{this.canProduceAudio="ALLOWED"===this.meeting.self.permissions.canProduceAudio},this.deviceListUpdateListener=async()=>{const t=await this.meeting.self.getAudioDevices();this.audioinputDevices=t},this.deviceUpdateListener=({device:t})=>{"audioinput"===t.kind&&(this.currentDevices={audio:t})},this.mediaPermissionUpdateListener=async({kind:t,message:e})=>{this.meeting&&"audio"===t&&"ACCEPTED"===e&&(this.audioinputDevices=await this.meeting.self.getAudioDevices())}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t,e,i,r,s;null===(e=null===(t=this.meeting)||void 0===t?void 0:t.stage)||void 0===e||e.removeListener("stageStatusUpdate",this.stageStateListener),null===(i=this.meeting)||void 0===i||i.self.removeListener("deviceListUpdate",this.deviceListUpdateListener),null===(r=this.meeting)||void 0===r||r.self.removeListener("deviceUpdate",this.deviceUpdateListener),null===(s=this.meeting)||void 0===s||s.self.removeListener("mediaPermissionUpdate",this.mediaPermissionUpdateListener)}meetingChanged(t){t&&i((async()=>{var e,i;const{self:r,stage:s}=t,a=await t.self.getAudioDevices(),o=null===(e=t.self.getCurrentDevices())||void 0===e?void 0:e.audio;this.currentDevices={audio:o},this.canProduceAudio="ALLOWED"===t.self.permissions.canProduceAudio,null==s||s.addListener("stageStatusUpdate",this.stageStateListener),r.addListener("deviceListUpdate",this.deviceListUpdateListener),r.addListener("deviceUpdate",this.deviceUpdateListener),r.addListener("mediaPermissionUpdate",this.mediaPermissionUpdateListener),this.audioinputDevices=null!=o?[null!==(i=a.find((t=>t.deviceId===o.deviceId)))&&void 0!==i?i:o,...a.filter((t=>t.deviceId!==o.deviceId))]:a}))}setDevice(t){var e;if(p(this.meeting))return;const i=this.audioinputDevices.find((e=>e.deviceId===t));null!=i&&(this.currentDevices={audio:i},null===(e=this.meeting)||void 0===e||e.self.setDevice(i))}render(){if(!this.meeting)return null;let t=0;return r(s,null,this.canProduceAudio&&r("div",{part:"microphone-selection",class:"group container "+this.variant},r("label",{slot:"label"},"inline"!==this.variant&&this.t("settings.microphone_input"),r("rtk-icon",{icon:this.iconPack.mic_on,size:"sm"})),r("div",{class:"row"},r("select",{class:"rtk-select",onChange:t=>this.setDevice(t.target.value)},this.audioinputDevices.map((({deviceId:e,label:i})=>{var s;return r("option",{value:e,selected:(null===(s=this.currentDevices.audio)||void 0===s?void 0:s.deviceId)===e},i||"Microphone "+ ++t)}))),r("slot",{name:"indicator"}))))}static get watchers(){return{meeting:[{meetingChanged:0}]}}static get style(){return".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);width:100%;max-width:100%;text-overflow:ellipsis}.inline .rtk-select{margin-top:var(--rtk-space-1, 4px);width:100%;padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-1\\.5, 6px);padding-right:var(--rtk-space-1\\.5, 6px);padding-right:var(--rtk-space-8, 32px);font-size:14px}.row{margin-bottom:var(--rtk-space-2, 8px);display:flex;width:100%;align-items:center;justify-content:space-between;gap:var(--rtk-space-3, 12px)}.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%}.inline.group{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0\\.5, 2px)}.inline.group>*{margin-bottom:var(--rtk-space-0, 0px)}label{display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;gap:var(--rtk-space-1, 4px);font-size:14px}.inline.container{display:flex;align-items:center;justify-content:flex-start;gap:var(--rtk-space-2, 8px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px)}"}},[257,"rtk-microphone-selector",{meeting:[16],size:[513],iconPack:[16],variant:[1],t:[16],audioinputDevices:[32],canProduceAudio:[32],currentDevices:[32]},void 0,{meeting:[{meetingChanged:0}]}]);function v(){"undefined"!=typeof customElements&&["rtk-microphone-selector","rtk-icon"].forEach((t=>{switch(t){case"rtk-microphone-selector":customElements.get(a(t))||customElements.define(a(t),h);break;case"rtk-icon":customElements.get(a(t))||l()}}))}d([c()],h.prototype,"meeting",void 0),d([c()],h.prototype,"iconPack",void 0),d([c()],h.prototype,"t",void 0),v();export{h as R,v as d}
1
+ import{p as t,H as e,w as i,h as r,d as s,t as a}from"./p-BBHQOrFK.js";import{e as o,i as n}from"./p-DhwysA2e.js";import{S as c}from"./p-bRRQr4xn.js";import{i as p}from"./p-CAqYddlg.js";import{d as l}from"./p-BYIBbfJ8.js";var d=function(t,e,i,r){var s,a=arguments.length,o=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,r);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(o=(a<3?s(o):a>3?s(e,i,o):s(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o};const h=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.iconPack=o,this.variant="full",this.t=n(),this.audioinputDevices=[],this.canProduceAudio=!0,this.currentDevices={audio:void 0},this.stageStateListener=()=>{this.canProduceAudio="ALLOWED"===this.meeting.self.permissions.canProduceAudio},this.deviceListUpdateListener=async()=>{const t=await this.meeting.self.getAudioDevices();this.audioinputDevices=t},this.deviceUpdateListener=({device:t})=>{"audioinput"===t.kind&&(this.currentDevices={audio:t})},this.mediaPermissionUpdateListener=async({kind:t,message:e})=>{this.meeting&&"audio"===t&&"ACCEPTED"===e&&(this.audioinputDevices=await this.meeting.self.getAudioDevices())}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t,e,i,r,s;null===(e=null===(t=this.meeting)||void 0===t?void 0:t.stage)||void 0===e||e.removeListener("stageStatusUpdate",this.stageStateListener),null===(i=this.meeting)||void 0===i||i.self.removeListener("deviceListUpdate",this.deviceListUpdateListener),null===(r=this.meeting)||void 0===r||r.self.removeListener("deviceUpdate",this.deviceUpdateListener),null===(s=this.meeting)||void 0===s||s.self.removeListener("mediaPermissionUpdate",this.mediaPermissionUpdateListener)}meetingChanged(t){t&&i((async()=>{var e,i;const{self:r,stage:s}=t,a=await t.self.getAudioDevices(),o=null===(e=t.self.getCurrentDevices())||void 0===e?void 0:e.audio;this.currentDevices={audio:o},this.canProduceAudio="ALLOWED"===t.self.permissions.canProduceAudio,null==s||s.addListener("stageStatusUpdate",this.stageStateListener),r.addListener("deviceListUpdate",this.deviceListUpdateListener),r.addListener("deviceUpdate",this.deviceUpdateListener),r.addListener("mediaPermissionUpdate",this.mediaPermissionUpdateListener),this.audioinputDevices=null!=o?[null!==(i=a.find((t=>t.deviceId===o.deviceId)))&&void 0!==i?i:o,...a.filter((t=>t.deviceId!==o.deviceId))]:a}))}setDevice(t){var e;if(p(this.meeting))return;const i=this.audioinputDevices.find((e=>e.deviceId===t));null!=i&&(this.currentDevices={audio:i},null===(e=this.meeting)||void 0===e||e.self.setDevice(i))}render(){if(!this.meeting)return null;let t=0;return r(s,null,this.canProduceAudio&&r("div",{part:"microphone-selection",class:"group container "+this.variant},r("label",{slot:"label"},"inline"!==this.variant&&this.t("settings.microphone_input"),r("rtk-icon",{icon:this.iconPack.mic_on,size:"sm"})),r("div",{class:"row"},r("select",{class:"rtk-select",onChange:t=>this.setDevice(t.target.value)},this.audioinputDevices.map((({deviceId:e,label:i})=>{var s;return r("option",{value:e,selected:(null===(s=this.currentDevices.audio)||void 0===s?void 0:s.deviceId)===e},i||"Microphone "+ ++t)}))),r("slot",{name:"indicator"}))))}static get watchers(){return{meeting:[{meetingChanged:0}]}}static get style(){return".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);width:100%;max-width:100%;text-overflow:ellipsis}.inline .rtk-select{margin-top:var(--rtk-space-1, 4px);width:100%;padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-1\\.5, 6px);padding-right:var(--rtk-space-1\\.5, 6px);padding-right:var(--rtk-space-8, 32px);font-size:14px}.row{margin-bottom:var(--rtk-space-2, 8px);display:flex;width:100%;align-items:center;justify-content:space-between;gap:var(--rtk-space-3, 12px)}.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%}.inline.group{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0\\.5, 2px)}.inline.group>*{margin-bottom:var(--rtk-space-0, 0px)}label{display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;gap:var(--rtk-space-1, 4px);font-size:14px}.inline.container{display:flex;align-items:center;justify-content:flex-start;gap:var(--rtk-space-2, 8px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px)}"}},[257,"rtk-microphone-selector",{meeting:[16],size:[513],iconPack:[16],variant:[1],t:[16],audioinputDevices:[32],canProduceAudio:[32],currentDevices:[32]},void 0,{meeting:[{meetingChanged:0}]}]);function v(){"undefined"!=typeof customElements&&["rtk-microphone-selector","rtk-icon"].forEach((t=>{switch(t){case"rtk-microphone-selector":customElements.get(a(t))||customElements.define(a(t),h);break;case"rtk-icon":customElements.get(a(t))||l()}}))}d([c()],h.prototype,"meeting",void 0),d([c()],h.prototype,"iconPack",void 0),d([c()],h.prototype,"t",void 0),v();export{h as R,v as d}
@@ -1 +1 @@
1
- import{p as t,H as r,c as o,h as e,d as a,t as s}from"./p-BBHQOrFK.js";import{e as i,i as n}from"./p-BthnOddY.js";import{S as c}from"./p-DL4GSZ2e.js";import{d}from"./p-D6vw6bT2.js";import{d as b}from"./p-BoeW-RxV.js";import{d as l}from"./p-yIxFaBq2.js";import{d as g}from"./p-DX_XkIXf.js";import{d as h}from"./p-48gPeJ33.js";import{d as p}from"./p-BYIBbfJ8.js";var u=function(t,r,o,e){var a,s=arguments.length,i=s<3?r:null===e?e=Object.getOwnPropertyDescriptor(r,o):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,r,o,e);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(i=(s<3?a(i):s>3?a(r,o,i):a(r,o))||i);return s>3&&i&&Object.defineProperty(r,o,i),i};const k=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=o(this,"rtkStateUpdate",7),this.keyPressListener=t=>{"Escape"===t.key&&this.close()},this.iconPack=i,this.t=n(),this.activeTab="audio",this.isMobileMainVisible=!1,this.progress=0}connectedCallback(){document.addEventListener("keydown",this.keyPressListener)}disconnectedCallback(){this.keyPressListener&&document.removeEventListener("keydown",this.keyPressListener)}progressUpdate(t){this.progress=t.detail}changeTab(t){this.activeTab=t,"sm"===this.size&&(this.isMobileMainVisible||(this.isMobileMainVisible=!0))}close(){this.stateUpdate.emit({activeDebugger:!1})}getActiveTab(){switch(this.activeTab){case"audio":return this.t("debugger.audio.troubleshooting.label");case"screenshare":return this.t("debugger.screenshare.troubleshooting.label");case"video":return this.t("debugger.video.troubleshooting.label");case"system":return this.t("debugger.system.troubleshooting.label");default:return this.t("debugger.troubleshooting.label")}}render(){if(!this.meeting)return null;const t={meeting:this.meeting,states:this.states,iconPack:this.iconPack,t:this.t,size:this.size},r=this.getActiveTab(),o=void 0!==navigator.getBattery;return e(a,null,e("aside",{class:{hide:this.isMobileMainVisible},part:"menu"},e("header",null,e("h3",null,this.t("debugger.troubleshooting.label"))),e("button",{type:"button",class:{active:"audio"===this.activeTab},onClick:()=>this.changeTab("audio")},this.t("debugger.audio.label"),e("div",{class:"right"},e("rtk-icon",{icon:this.iconPack.mic_on}),"sm"===this.size&&e("rtk-icon",{icon:this.iconPack.chevron_right}))),e("button",{type:"button",class:{active:"video"===this.activeTab},onClick:()=>this.changeTab("video")},this.t("debugger.video.label"),e("div",{class:"right"},e("rtk-icon",{icon:this.iconPack.video_on}),"sm"===this.size&&e("rtk-icon",{icon:this.iconPack.chevron_right}))),e("button",{type:"button",class:{active:"screenshare"===this.activeTab},onClick:()=>this.changeTab("screenshare")},this.t("debugger.screenshare.label"),e("div",{class:"right"},e("rtk-icon",{icon:this.iconPack.share_screen_start}),"sm"===this.size&&e("rtk-icon",{icon:this.iconPack.chevron_right}))),e("button",{type:"button",class:{active:"system"===this.activeTab,hidden:!o},onClick:()=>this.changeTab("system")},this.t("debugger.system.label"),e("div",{class:"right"},e("rtk-icon",{icon:this.iconPack.settings}),"sm"===this.size&&e("rtk-icon",{icon:this.iconPack.chevron_right})))),e("main",{class:{active:this.isMobileMainVisible},part:"main-content"},"sm"===this.size&&e("header",null,e("rtk-button",{kind:"icon",class:"back-btn",onClick:()=>this.isMobileMainVisible=!1},e("rtk-icon",{icon:this.iconPack.chevron_left})),e("h4",null,r)),"audio"===this.activeTab&&e("rtk-debugger-audio",Object.assign({},t)),"video"===this.activeTab&&e("rtk-debugger-video",Object.assign({},t)),"screenshare"===this.activeTab&&e("rtk-debugger-screenshare",Object.assign({},t)),"system"===this.activeTab&&o&&e("rtk-debugger-system",Object.assign({},t))))}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;display:flex;overflow:hidden;border-radius:var(--rtk-border-radius-md, 8px);width:100%;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255))}header{margin-right:var(--rtk-space-2, 8px);display:flex;align-items:center;justify-content:space-between;padding-top:var(--rtk-space-0, 0px);padding-bottom:var(--rtk-space-0, 0px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px)}header h3{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px)}.back-btn{border-radius:var(--rtk-border-radius-sm, 4px);background-color:transparent;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.back-btn:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}aside{box-sizing:border-box;display:flex;max-width:var(--rtk-space-56, 224px) !important;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));padding-left:var(--rtk-space-2, 8px)}aside button{margin-top:var(--rtk-space-4, 16px);box-sizing:border-box;display:flex;width:100%;align-items:center;justify-content:space-between;border-top-left-radius:var(--rtk-border-radius-sm, 4px);border-bottom-left-radius:var(--rtk-border-radius-sm, 4px);padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);background-color:transparent;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));cursor:default;font-size:14px;--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);border-width:var(--rtk-border-width-none, 0);border-style:none;outline:2px solid transparent;outline-offset:2px}aside button .right{display:flex;align-items:center}aside button .right rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}aside button .right rtk-icon:last-child{margin-left:var(--rtk-space-4, 16px)}aside button[type='button']{cursor:pointer;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}aside button[type='button']:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}aside button[type='button']{border-right:var(--rtk-border-width-md, 2px) solid transparent}aside button.active{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity));background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / 0.2)}aside button.active:hover{background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / 0.2)}aside button.hidden{display:none}main{position:relative;box-sizing:border-box;display:flex;height:100%;width:100%;flex-direction:column}:host([size='sm']) aside{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));width:100% !important;max-width:100% !important;padding-left:var(--rtk-space-0, 0px)}:host([size='sm']) aside button{border-radius:var(--rtk-border-radius-none, 0)}:host([size='sm']) aside button.active{border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent}:host([size='sm']) aside button.active:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}:host([size='sm']) aside button.hidden{display:none}:host([size='sm']) aside.hide{display:none}aside button:host([size='sm']) aside.hide{display:none}:host([size='sm']) aside button:host([size='sm']) aside.hide{display:none}:host([size='sm']) main{display:none;height:100%;width:100%;padding:var(--rtk-space-0, 0px)}aside button:host([size='sm']) main{display:none}:host([size='sm']) aside button:host([size='sm']) main{display:none}:host([size='sm']) main.active{display:block}:host([size='sm']) header{margin:var(--rtk-space-0, 0px);justify-content:center}:host([size='sm']) header rtk-button{position:absolute;left:var(--rtk-space-4, 16px)}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{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))}::-webkit-scrollbar-thumb{border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}::-webkit-scrollbar-thumb:hover{border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}.progress-bar{height:var(--rtk-space-1, 4px);width:100%;overflow:hidden;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.progress-indicator{height:100%;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}"}},[1,"rtk-debugger",{meeting:[16],states:[16],size:[513],iconPack:[16],t:[16],activeTab:[32],isMobileMainVisible:[32],progress:[32]},[[0,"testProgress","progressUpdate"]]]);function v(){"undefined"!=typeof customElements&&["rtk-debugger","rtk-button","rtk-debugger-audio","rtk-debugger-screenshare","rtk-debugger-system","rtk-debugger-video","rtk-icon"].forEach((t=>{switch(t){case"rtk-debugger":customElements.get(s(t))||customElements.define(s(t),k);break;case"rtk-button":customElements.get(s(t))||d();break;case"rtk-debugger-audio":customElements.get(s(t))||b();break;case"rtk-debugger-screenshare":customElements.get(s(t))||l();break;case"rtk-debugger-system":customElements.get(s(t))||g();break;case"rtk-debugger-video":customElements.get(s(t))||h();break;case"rtk-icon":customElements.get(s(t))||p()}}))}u([c()],k.prototype,"meeting",void 0),u([c()],k.prototype,"states",void 0),u([c()],k.prototype,"iconPack",void 0),u([c()],k.prototype,"t",void 0),v();export{k as R,v as d}
1
+ import{p as t,H as r,c as o,h as e,d as a,t as s}from"./p-BBHQOrFK.js";import{e as i,i as n}from"./p-DhwysA2e.js";import{S as c}from"./p-bRRQr4xn.js";import{d}from"./p-D6vw6bT2.js";import{d as b}from"./p-DK5nsYEy.js";import{d as l}from"./p-DtN97Fhn.js";import{d as g}from"./p-3QJecdKl.js";import{d as h}from"./p-FS8aOnfM.js";import{d as p}from"./p-BYIBbfJ8.js";var u=function(t,r,o,e){var a,s=arguments.length,i=s<3?r:null===e?e=Object.getOwnPropertyDescriptor(r,o):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,r,o,e);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(i=(s<3?a(i):s>3?a(r,o,i):a(r,o))||i);return s>3&&i&&Object.defineProperty(r,o,i),i};const k=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=o(this,"rtkStateUpdate",7),this.keyPressListener=t=>{"Escape"===t.key&&this.close()},this.iconPack=i,this.t=n(),this.activeTab="audio",this.isMobileMainVisible=!1,this.progress=0}connectedCallback(){document.addEventListener("keydown",this.keyPressListener)}disconnectedCallback(){this.keyPressListener&&document.removeEventListener("keydown",this.keyPressListener)}progressUpdate(t){this.progress=t.detail}changeTab(t){this.activeTab=t,"sm"===this.size&&(this.isMobileMainVisible||(this.isMobileMainVisible=!0))}close(){this.stateUpdate.emit({activeDebugger:!1})}getActiveTab(){switch(this.activeTab){case"audio":return this.t("debugger.audio.troubleshooting.label");case"screenshare":return this.t("debugger.screenshare.troubleshooting.label");case"video":return this.t("debugger.video.troubleshooting.label");case"system":return this.t("debugger.system.troubleshooting.label");default:return this.t("debugger.troubleshooting.label")}}render(){if(!this.meeting)return null;const t={meeting:this.meeting,states:this.states,iconPack:this.iconPack,t:this.t,size:this.size},r=this.getActiveTab(),o=void 0!==navigator.getBattery;return e(a,null,e("aside",{class:{hide:this.isMobileMainVisible},part:"menu"},e("header",null,e("h3",null,this.t("debugger.troubleshooting.label"))),e("button",{type:"button",class:{active:"audio"===this.activeTab},onClick:()=>this.changeTab("audio")},this.t("debugger.audio.label"),e("div",{class:"right"},e("rtk-icon",{icon:this.iconPack.mic_on}),"sm"===this.size&&e("rtk-icon",{icon:this.iconPack.chevron_right}))),e("button",{type:"button",class:{active:"video"===this.activeTab},onClick:()=>this.changeTab("video")},this.t("debugger.video.label"),e("div",{class:"right"},e("rtk-icon",{icon:this.iconPack.video_on}),"sm"===this.size&&e("rtk-icon",{icon:this.iconPack.chevron_right}))),e("button",{type:"button",class:{active:"screenshare"===this.activeTab},onClick:()=>this.changeTab("screenshare")},this.t("debugger.screenshare.label"),e("div",{class:"right"},e("rtk-icon",{icon:this.iconPack.share_screen_start}),"sm"===this.size&&e("rtk-icon",{icon:this.iconPack.chevron_right}))),e("button",{type:"button",class:{active:"system"===this.activeTab,hidden:!o},onClick:()=>this.changeTab("system")},this.t("debugger.system.label"),e("div",{class:"right"},e("rtk-icon",{icon:this.iconPack.settings}),"sm"===this.size&&e("rtk-icon",{icon:this.iconPack.chevron_right})))),e("main",{class:{active:this.isMobileMainVisible},part:"main-content"},"sm"===this.size&&e("header",null,e("rtk-button",{kind:"icon",class:"back-btn",onClick:()=>this.isMobileMainVisible=!1},e("rtk-icon",{icon:this.iconPack.chevron_left})),e("h4",null,r)),"audio"===this.activeTab&&e("rtk-debugger-audio",Object.assign({},t)),"video"===this.activeTab&&e("rtk-debugger-video",Object.assign({},t)),"screenshare"===this.activeTab&&e("rtk-debugger-screenshare",Object.assign({},t)),"system"===this.activeTab&&o&&e("rtk-debugger-system",Object.assign({},t))))}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;display:flex;overflow:hidden;border-radius:var(--rtk-border-radius-md, 8px);width:100%;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255))}header{margin-right:var(--rtk-space-2, 8px);display:flex;align-items:center;justify-content:space-between;padding-top:var(--rtk-space-0, 0px);padding-bottom:var(--rtk-space-0, 0px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px)}header h3{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px)}.back-btn{border-radius:var(--rtk-border-radius-sm, 4px);background-color:transparent;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.back-btn:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}aside{box-sizing:border-box;display:flex;max-width:var(--rtk-space-56, 224px) !important;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));padding-left:var(--rtk-space-2, 8px)}aside button{margin-top:var(--rtk-space-4, 16px);box-sizing:border-box;display:flex;width:100%;align-items:center;justify-content:space-between;border-top-left-radius:var(--rtk-border-radius-sm, 4px);border-bottom-left-radius:var(--rtk-border-radius-sm, 4px);padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);background-color:transparent;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));cursor:default;font-size:14px;--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);border-width:var(--rtk-border-width-none, 0);border-style:none;outline:2px solid transparent;outline-offset:2px}aside button .right{display:flex;align-items:center}aside button .right rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}aside button .right rtk-icon:last-child{margin-left:var(--rtk-space-4, 16px)}aside button[type='button']{cursor:pointer;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}aside button[type='button']:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}aside button[type='button']{border-right:var(--rtk-border-width-md, 2px) solid transparent}aside button.active{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity));background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / 0.2)}aside button.active:hover{background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / 0.2)}aside button.hidden{display:none}main{position:relative;box-sizing:border-box;display:flex;height:100%;width:100%;flex-direction:column}:host([size='sm']) aside{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));width:100% !important;max-width:100% !important;padding-left:var(--rtk-space-0, 0px)}:host([size='sm']) aside button{border-radius:var(--rtk-border-radius-none, 0)}:host([size='sm']) aside button.active{border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent}:host([size='sm']) aside button.active:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}:host([size='sm']) aside button.hidden{display:none}:host([size='sm']) aside.hide{display:none}aside button:host([size='sm']) aside.hide{display:none}:host([size='sm']) aside button:host([size='sm']) aside.hide{display:none}:host([size='sm']) main{display:none;height:100%;width:100%;padding:var(--rtk-space-0, 0px)}aside button:host([size='sm']) main{display:none}:host([size='sm']) aside button:host([size='sm']) main{display:none}:host([size='sm']) main.active{display:block}:host([size='sm']) header{margin:var(--rtk-space-0, 0px);justify-content:center}:host([size='sm']) header rtk-button{position:absolute;left:var(--rtk-space-4, 16px)}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{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))}::-webkit-scrollbar-thumb{border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}::-webkit-scrollbar-thumb:hover{border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}.progress-bar{height:var(--rtk-space-1, 4px);width:100%;overflow:hidden;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.progress-indicator{height:100%;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}"}},[1,"rtk-debugger",{meeting:[16],states:[16],size:[513],iconPack:[16],t:[16],activeTab:[32],isMobileMainVisible:[32],progress:[32]},[[0,"testProgress","progressUpdate"]]]);function v(){"undefined"!=typeof customElements&&["rtk-debugger","rtk-button","rtk-debugger-audio","rtk-debugger-screenshare","rtk-debugger-system","rtk-debugger-video","rtk-icon"].forEach((t=>{switch(t){case"rtk-debugger":customElements.get(s(t))||customElements.define(s(t),k);break;case"rtk-button":customElements.get(s(t))||d();break;case"rtk-debugger-audio":customElements.get(s(t))||b();break;case"rtk-debugger-screenshare":customElements.get(s(t))||l();break;case"rtk-debugger-system":customElements.get(s(t))||g();break;case"rtk-debugger-video":customElements.get(s(t))||h();break;case"rtk-icon":customElements.get(s(t))||p()}}))}u([c()],k.prototype,"meeting",void 0),u([c()],k.prototype,"states",void 0),u([c()],k.prototype,"iconPack",void 0),u([c()],k.prototype,"t",void 0),v();export{k as R,v as d}
@@ -0,0 +1 @@
1
+ import{p as e,H as s,h as t,d as a,t as c}from"./p-BBHQOrFK.js";import{e as o,i}from"./p-DhwysA2e.js";import{h as r}from"./p-CJsXePY3.js";import{C as n}from"./p-aS2wpIc0.js";import{S as b}from"./p-bRRQr4xn.js";import{T as m}from"./p-Bx38FZhs.js";var f=function(e,s,t,a){var c,o=arguments.length,i=o<3?s:null===a?a=Object.getOwnPropertyDescriptor(s,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,s,t,a);else for(var r=e.length-1;r>=0;r--)(c=e[r])&&(i=(o<3?c(i):o>3?c(s,t,i):c(s,t))||i);return o>3&&i&&Object.defineProperty(s,t,i),i};const d=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.now=new Date,this.isContinued=!1,this.iconPack=o,this.t=i(),this.showBubble=!1}render(){return t(a,{key:"a34dd007a87a134202e153f3d886102bbe6a685c"},!this.isContinued&&t(n,{key:"8505cee0d359b7449776ece2bbd7455811217a41",name:this.message.displayName,time:this.message.time,now:this.now}),t("div",{key:"00b2baca454b62e4984e82790580bac116a046a0",class:{body:!0,bubble:this.showBubble},part:"body"},t("div",{key:"ecc8de946011c9836cebfd626a27cb23f111d0cc",class:{text:!0,emoji:r(this.message.message)}},t(m,{key:"1efad576e6110986cb2abac7ff2c42b492c995aa",message:this.message.message}))))}},[0,"rtk-text-message",{message:[16],now:[16],isContinued:[516,"is-continued"],iconPack:[16],t:[16],showBubble:[4,"show-bubble"]}]);function p(){"undefined"!=typeof customElements&&["rtk-text-message"].forEach((e=>{"rtk-text-message"===e&&(customElements.get(c(e))||customElements.define(c(e),d))}))}f([b()],d.prototype,"iconPack",void 0),f([b()],d.prototype,"t",void 0),p();export{d as R,p as d}
@@ -1 +1 @@
1
- import{p as t,H as r,c as a,h as e,d as s,t as o}from"./p-BBHQOrFK.js";import{c as i,e as c,i as n}from"./p-BthnOddY.js";import{R as d}from"./p-CBJjerDR.js";import{S as l}from"./p-DL4GSZ2e.js";import{d as p}from"./p-D6vw6bT2.js";import{d as b}from"./p-BYIBbfJ8.js";var g=function(t,r,a,e){var s,o=arguments.length,i=o<3?r:null===e?e=Object.getOwnPropertyDescriptor(r,a):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,r,a,e);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(o<3?s(i):o>3?s(r,a,i):s(r,a))||i);return o>3&&i&&Object.defineProperty(r,a,i),i};const h=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=a(this,"rtkStateUpdate",7),this.joinStage=a(this,"rtkJoinStage",7),this.leaveStage=a(this,"rtkLeaveStage",7),this.config=i(),this.iconPack=c,this.t=n(),this.dataConfig={title:this.t("stage.join_title"),label:{accept:this.t("stage.join_confirm"),reject:this.t("stage.join_cancel")},description:this.t("stage.join_summary")},this.isLoading=!1}render(){var t,r;const a={meeting:this.meeting,size:this.size,states:this.states,config:this.config,iconPack:this.iconPack,t:this.t};return e(s,{key:"2000c74c7b15b8ad8cc8d7b2940ee1c47c504111",class:{stage:!0}},e("header",{key:"1be2b7c17338f42472bd47c761e8a972d960eb45"},e("h2",{key:"8a2d2e49eb154fc58f121f26c067519473007aa1"},this.dataConfig.title)),e(d,{key:"17476c475c67d3eedfce7e66a2dc1829211e6f7b",element:"rtk-participant-setup",defaults:a,props:{participant:null===(t=this.meeting)||void 0===t?void 0:t.self,size:"md"},childProps:{participant:null===(r=this.meeting)||void 0===r?void 0:r.self,size:"md"},deepProps:!0}),e("div",{key:"708a514d2f5c903c5e01161a374455134f9c5fde",class:"summary"},this.dataConfig.description),e("div",{key:"690c062b55469b6d2757628cf9c841db05cb50dd",class:"container"},e("rtk-button",{key:"3c840601730f7c31da94f58fcc7a36fa7f2e98ac",variant:"secondary",onClick:()=>this.leaveStage.emit(),title:this.dataConfig.label.reject},this.dataConfig.label.reject),e("rtk-button",{key:"d4838af3f9b36c6d91ce04d9862840ee838111de",onClick:()=>{this.isLoading||(this.isLoading=!0,this.joinStage.emit())},title:this.dataConfig.label.accept},this.isLoading?e("rtk-icon",{icon:this.iconPack.spinner}):this.dataConfig.label.accept)))}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host::-webkit-scrollbar{width:var(--rtk-space-1\\.5, 6px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}:host::-webkit-scrollbar-thumb{border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}:host(.stage){box-sizing:border-box;display:block;width:512px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));padding:var(--rtk-space-6, 24px);-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:auto;border-radius:var(--rtk-border-radius-md, 8px);line-height:1.25}:host(.stage) rtk-participant-setup{display:flex;flex:1 1 0%;align-items:center;justify-content:space-around;margin-left:auto;margin-right:auto}:host(.stage) .container rtk-button{flex-grow:1;padding:var(--rtk-space-1, 4px);width:50%}:host(.stage) .container rtk-button:nth-child(1){margin-right:var(--rtk-space-1\\.5, 6px)}:host(.stage) .container rtk-button:nth-child(2){margin-left:var(--rtk-space-1\\.5, 6px)}:host(.stage) h2{font-size:24px;font-weight:500;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}:host(.stage) header{padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px)}:host(.stage) .summary{padding:var(--rtk-space-4, 16px)}.deny-access{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}.container{width:100%;max-width:1080px;display:flex;flex:1 1 0%;align-items:center;justify-content:space-around}header{display:flex;align-items:center;justify-content:space-between}"}},[1,"rtk-join-stage",{meeting:[16],config:[16],states:[16],size:[513],iconPack:[16],t:[16],dataConfig:[16],isLoading:[32]}]);function k(){"undefined"!=typeof customElements&&["rtk-join-stage","rtk-button","rtk-icon"].forEach((t=>{switch(t){case"rtk-join-stage":customElements.get(o(t))||customElements.define(o(t),h);break;case"rtk-button":customElements.get(o(t))||p();break;case"rtk-icon":customElements.get(o(t))||b()}}))}g([l()],h.prototype,"meeting",void 0),g([l()],h.prototype,"config",void 0),g([l()],h.prototype,"states",void 0),g([l()],h.prototype,"iconPack",void 0),g([l()],h.prototype,"t",void 0),k();export{h as R,k as d}
1
+ import{p as t,H as r,c as a,h as e,d as s,t as o}from"./p-BBHQOrFK.js";import{c as i,e as c,i as n}from"./p-DhwysA2e.js";import{R as d}from"./p-CBJjerDR.js";import{S as l}from"./p-bRRQr4xn.js";import{d as b}from"./p-D6vw6bT2.js";import{d as p}from"./p-BYIBbfJ8.js";var g=function(t,r,a,e){var s,o=arguments.length,i=o<3?r:null===e?e=Object.getOwnPropertyDescriptor(r,a):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,r,a,e);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(o<3?s(i):o>3?s(r,a,i):s(r,a))||i);return o>3&&i&&Object.defineProperty(r,a,i),i};const h=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=a(this,"rtkStateUpdate",7),this.joinStage=a(this,"rtkJoinStage",7),this.leaveStage=a(this,"rtkLeaveStage",7),this.config=i(),this.iconPack=c,this.t=n(),this.dataConfig={title:this.t("stage.join_title"),label:{accept:this.t("stage.join_confirm"),reject:this.t("stage.join_cancel")},description:this.t("stage.join_summary")},this.isLoading=!1}render(){var t,r;const a={meeting:this.meeting,size:this.size,states:this.states,config:this.config,iconPack:this.iconPack,t:this.t};return e(s,{key:"2000c74c7b15b8ad8cc8d7b2940ee1c47c504111",class:{stage:!0}},e("header",{key:"1be2b7c17338f42472bd47c761e8a972d960eb45"},e("h2",{key:"8a2d2e49eb154fc58f121f26c067519473007aa1"},this.dataConfig.title)),e(d,{key:"17476c475c67d3eedfce7e66a2dc1829211e6f7b",element:"rtk-participant-setup",defaults:a,props:{participant:null===(t=this.meeting)||void 0===t?void 0:t.self,size:"md"},childProps:{participant:null===(r=this.meeting)||void 0===r?void 0:r.self,size:"md"},deepProps:!0}),e("div",{key:"708a514d2f5c903c5e01161a374455134f9c5fde",class:"summary"},this.dataConfig.description),e("div",{key:"690c062b55469b6d2757628cf9c841db05cb50dd",class:"container"},e("rtk-button",{key:"3c840601730f7c31da94f58fcc7a36fa7f2e98ac",variant:"secondary",onClick:()=>this.leaveStage.emit(),title:this.dataConfig.label.reject},this.dataConfig.label.reject),e("rtk-button",{key:"d4838af3f9b36c6d91ce04d9862840ee838111de",onClick:()=>{this.isLoading||(this.isLoading=!0,this.joinStage.emit())},title:this.dataConfig.label.accept},this.isLoading?e("rtk-icon",{icon:this.iconPack.spinner}):this.dataConfig.label.accept)))}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host::-webkit-scrollbar{width:var(--rtk-space-1\\.5, 6px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}:host::-webkit-scrollbar-thumb{border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}:host(.stage){box-sizing:border-box;display:block;width:512px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));padding:var(--rtk-space-6, 24px);-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:auto;border-radius:var(--rtk-border-radius-md, 8px);line-height:1.25}:host(.stage) rtk-participant-setup{display:flex;flex:1 1 0%;align-items:center;justify-content:space-around;margin-left:auto;margin-right:auto}:host(.stage) .container rtk-button{flex-grow:1;padding:var(--rtk-space-1, 4px);width:50%}:host(.stage) .container rtk-button:nth-child(1){margin-right:var(--rtk-space-1\\.5, 6px)}:host(.stage) .container rtk-button:nth-child(2){margin-left:var(--rtk-space-1\\.5, 6px)}:host(.stage) h2{font-size:24px;font-weight:500;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}:host(.stage) header{padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px)}:host(.stage) .summary{padding:var(--rtk-space-4, 16px)}.deny-access{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}.container{width:100%;max-width:1080px;display:flex;flex:1 1 0%;align-items:center;justify-content:space-around}header{display:flex;align-items:center;justify-content:space-between}"}},[1,"rtk-join-stage",{meeting:[16],config:[16],states:[16],size:[513],iconPack:[16],t:[16],dataConfig:[16],isLoading:[32]}]);function k(){"undefined"!=typeof customElements&&["rtk-join-stage","rtk-button","rtk-icon"].forEach((t=>{switch(t){case"rtk-join-stage":customElements.get(o(t))||customElements.define(o(t),h);break;case"rtk-button":customElements.get(o(t))||b();break;case"rtk-icon":customElements.get(o(t))||p()}}))}g([l()],h.prototype,"meeting",void 0),g([l()],h.prototype,"config",void 0),g([l()],h.prototype,"states",void 0),g([l()],h.prototype,"iconPack",void 0),g([l()],h.prototype,"t",void 0),k();export{h as R,k as d}
@@ -1 +1 @@
1
- import{p as t,H as r,c as a,h as i,d as e,t as s}from"./p-BBHQOrFK.js";import{c as o,e as c,i as n}from"./p-BthnOddY.js";import{f as l,s as p}from"./p-CJsXePY3.js";import{S as h}from"./p-DL4GSZ2e.js";import{d}from"./p-D6vw6bT2.js";import{d as m}from"./p-BYIBbfJ8.js";import{d as k}from"./p-CSO-O3S1.js";import{d as b}from"./p-DHSRRtn3.js";var v=function(t,r,a,i){var e,s=arguments.length,o=s<3?r:null===i?i=Object.getOwnPropertyDescriptor(r,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,r,a,i);else for(var c=t.length-1;c>=0;c--)(e=t[c])&&(o=(s<3?e(o):s>3?e(r,a,o):e(r,a))||o);return s>3&&o&&Object.defineProperty(r,a,o),o};const g=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.tabChange=a(this,"tabChange",7),this.config=o(),this.layout="row",this.iconPack=c,this.t=n(),this.tabs=[]}render(){return i(e,{key:"1c4bce26c4c5baa19cd89be862922267c408ab97"},i("rtk-spotlight-indicator",{key:"496f3634771c4b9c94ff64e23fa5695e2e1532e2",meeting:this.meeting,iconPack:this.iconPack,t:this.t,size:this.size}),this.tabs.map((t=>{var r,a,e,s,o;let c=!1;if(("plugin"===(null===(r=this.activeTab)||void 0===r?void 0:r.type)&&t.plugin&&(null===(a=this.activeTab)||void 0===a?void 0:a.plugin.id)===t.plugin.id||"screenshare"===(null===(e=this.activeTab)||void 0===e?void 0:e.type)&&t.participant&&(null===(s=this.activeTab)||void 0===s?void 0:s.participant.id)===t.participant.id)&&(c=!0),"screenshare"===t.type){const r=t.participant,a=l(r.name);return i("rtk-button",{title:`${a}'s Screen Share`,key:t.participant.id,kind:"icon",variant:c?"primary":"secondary",class:{tab:!0,active:c},onClick:()=>this.tabChange.emit(t)},i("div",{class:"center col"},i("rtk-icon",{icon:this.iconPack.share_screen_person}),i("span",{class:"name"},r.id===(null===(o=this.meeting)||void 0===o?void 0:o.self.id)?this.t("you"):p(a,6))))}if("plugin"===t.type){const r=t.plugin;return i("rtk-button",{title:r.name,key:r.id,kind:"icon",variant:c?"primary":"secondary",class:{tab:!0,active:c},onClick:()=>this.tabChange.emit(t)},i("div",{class:"center col"},i("img",{src:r.icon,alt:r.name}),i("span",{class:"name"},p(r.name,6))))}})))}static get style(){return".scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{box-sizing:border-box;display:flex;height:100%;width:var(--rtk-space-16, 64px);flex-direction:column;gap:var(--rtk-space-2, 8px);overflow-y:auto;font-family:var(--rtk-font-family, sans-serif)}rtk-button{z-index:10}.col{display:flex;flex-direction:column;align-items:center}.tab{display:flex;height:var(--rtk-space-16, 64px);width:var(--rtk-space-16, 64px);align-items:center;justify-content:center;margin-bottom:var(--rtk-space-2, 8px);font-size:12px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}.tab.active{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}.tab img{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px);border-radius:var(--rtk-border-radius-sm, 4px)}.tab .name{margin-top:var(--rtk-space-0\\.5, 2px)}:host([size='sm']){flex-direction:column;margin-top:var(--rtk-space-4, 16px);height:var(--rtk-space-16, 64px);width:100%;flex-direction:row;gap:var(--rtk-space-2, 8px);overflow-x:auto}:host([size='sm']) .tab{margin:var(--rtk-space-0, 0px);text-overflow:clip;min-width:100px;height:40px}:host([size='sm']) .tab .col{display:flex;flex-direction:row;align-items:center;gap:var(--rtk-space-2, 8px)}:host([size='sm']) .tab .col img,:host([size='sm']) .tab .col rtk-icon{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}:host([size='sm']) .tab .col .name{gap:var(--rtk-space-1, 4px)}:host([layout='column']){flex-direction:column}:host([layout='column']) .aside{flex:2;max-width:100%;width:100%}@media (orientation: portrait){:host([size='sm']){margin-top:var(--rtk-space-2, 8px);height:var(--rtk-space-16, 64px);width:100%;flex-direction:row;transition:all 0.3s linear}:host([size='md']){height:var(--rtk-space-24, 96px);width:100%;flex-direction:row;transition:all 0.3s linear}:host .tab{margin:var(--rtk-space-0, 0px)}}@media (orientation: landscape){:host([size='sm']){margin-right:var(--rtk-space-4, 16px);height:100%;width:var(--rtk-space-14, 56px);flex-direction:row;gap:var(--rtk-space-2, 8px);overflow-y:auto;overflow-x:hidden;transition:all 0.3s linear}:host([size='md']){margin-right:var(--rtk-space-4, 16px);height:100%;width:var(--rtk-space-14, 56px);flex-direction:row;gap:var(--rtk-space-2, 8px);overflow-y:auto;overflow-x:hidden;transition:all 0.3s linear}:host .tab{margin:var(--rtk-space-0, 0px)}:host([size='sm']) .tab{margin:var(--rtk-space-0, 0px);width:100%;text-overflow:clip;min-width:0px;min-height:40px}:host([size='sm']) .tab .col{display:flex;flex-direction:column;align-items:center;gap:var(--rtk-space-2, 8px);font-size:10px}:host([size='sm']) .tab .col img,:host([size='sm']) .tab .col rtk-icon{height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px)}:host([size='sm']) .tab .col .name{gap:var(--rtk-space-1, 4px)}}"}},[1,"rtk-tab-bar",{size:[513],meeting:[16],states:[16],config:[16],layout:[513],iconPack:[16],t:[16],activeTab:[16],tabs:[16]}]);function x(){"undefined"!=typeof customElements&&["rtk-tab-bar","rtk-button","rtk-icon","rtk-spotlight-indicator","rtk-tooltip"].forEach((t=>{switch(t){case"rtk-tab-bar":customElements.get(s(t))||customElements.define(s(t),g);break;case"rtk-button":customElements.get(s(t))||d();break;case"rtk-icon":customElements.get(s(t))||m();break;case"rtk-spotlight-indicator":customElements.get(s(t))||k();break;case"rtk-tooltip":customElements.get(s(t))||b()}}))}v([h()],g.prototype,"meeting",void 0),v([h()],g.prototype,"states",void 0),v([h()],g.prototype,"config",void 0),v([h()],g.prototype,"iconPack",void 0),v([h()],g.prototype,"t",void 0),x();export{g as R,x as d}
1
+ import{p as t,H as r,c as a,h as i,d as e,t as s}from"./p-BBHQOrFK.js";import{c as o,e as c,i as n}from"./p-DhwysA2e.js";import{f as l,s as p}from"./p-CJsXePY3.js";import{S as h}from"./p-bRRQr4xn.js";import{d}from"./p-D6vw6bT2.js";import{d as m}from"./p-BYIBbfJ8.js";import{d as k}from"./p-Smh6fH4v.js";import{d as b}from"./p-DHSRRtn3.js";var v=function(t,r,a,i){var e,s=arguments.length,o=s<3?r:null===i?i=Object.getOwnPropertyDescriptor(r,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,r,a,i);else for(var c=t.length-1;c>=0;c--)(e=t[c])&&(o=(s<3?e(o):s>3?e(r,a,o):e(r,a))||o);return s>3&&o&&Object.defineProperty(r,a,o),o};const x=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.tabChange=a(this,"tabChange",7),this.config=o(),this.layout="row",this.iconPack=c,this.t=n(),this.tabs=[]}render(){return i(e,{key:"1c4bce26c4c5baa19cd89be862922267c408ab97"},i("rtk-spotlight-indicator",{key:"496f3634771c4b9c94ff64e23fa5695e2e1532e2",meeting:this.meeting,iconPack:this.iconPack,t:this.t,size:this.size}),this.tabs.map((t=>{var r,a,e,s,o;let c=!1;if(("plugin"===(null===(r=this.activeTab)||void 0===r?void 0:r.type)&&t.plugin&&(null===(a=this.activeTab)||void 0===a?void 0:a.plugin.id)===t.plugin.id||"screenshare"===(null===(e=this.activeTab)||void 0===e?void 0:e.type)&&t.participant&&(null===(s=this.activeTab)||void 0===s?void 0:s.participant.id)===t.participant.id)&&(c=!0),"screenshare"===t.type){const r=t.participant,a=l(r.name);return i("rtk-button",{title:`${a}'s Screen Share`,key:t.participant.id,kind:"icon",variant:c?"primary":"secondary",class:{tab:!0,active:c},onClick:()=>this.tabChange.emit(t)},i("div",{class:"center col"},i("rtk-icon",{icon:this.iconPack.share_screen_person}),i("span",{class:"name"},r.id===(null===(o=this.meeting)||void 0===o?void 0:o.self.id)?this.t("you"):p(a,6))))}if("plugin"===t.type){const r=t.plugin;return i("rtk-button",{title:r.name,key:r.id,kind:"icon",variant:c?"primary":"secondary",class:{tab:!0,active:c},onClick:()=>this.tabChange.emit(t)},i("div",{class:"center col"},i("img",{src:r.icon,alt:r.name}),i("span",{class:"name"},p(r.name,6))))}})))}static get style(){return".scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{box-sizing:border-box;display:flex;height:100%;width:var(--rtk-space-16, 64px);flex-direction:column;gap:var(--rtk-space-2, 8px);overflow-y:auto;font-family:var(--rtk-font-family, sans-serif)}rtk-button{z-index:10}.col{display:flex;flex-direction:column;align-items:center}.tab{display:flex;height:var(--rtk-space-16, 64px);width:var(--rtk-space-16, 64px);align-items:center;justify-content:center;margin-bottom:var(--rtk-space-2, 8px);font-size:12px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}.tab.active{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}.tab img{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px);border-radius:var(--rtk-border-radius-sm, 4px)}.tab .name{margin-top:var(--rtk-space-0\\.5, 2px)}:host([size='sm']){flex-direction:column;margin-top:var(--rtk-space-4, 16px);height:var(--rtk-space-16, 64px);width:100%;flex-direction:row;gap:var(--rtk-space-2, 8px);overflow-x:auto}:host([size='sm']) .tab{margin:var(--rtk-space-0, 0px);text-overflow:clip;min-width:100px;height:40px}:host([size='sm']) .tab .col{display:flex;flex-direction:row;align-items:center;gap:var(--rtk-space-2, 8px)}:host([size='sm']) .tab .col img,:host([size='sm']) .tab .col rtk-icon{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}:host([size='sm']) .tab .col .name{gap:var(--rtk-space-1, 4px)}:host([layout='column']){flex-direction:column}:host([layout='column']) .aside{flex:2;max-width:100%;width:100%}@media (orientation: portrait){:host([size='sm']){margin-top:var(--rtk-space-2, 8px);height:var(--rtk-space-16, 64px);width:100%;flex-direction:row;transition:all 0.3s linear}:host([size='md']){height:var(--rtk-space-24, 96px);width:100%;flex-direction:row;transition:all 0.3s linear}:host .tab{margin:var(--rtk-space-0, 0px)}}@media (orientation: landscape){:host([size='sm']){margin-right:var(--rtk-space-4, 16px);height:100%;width:var(--rtk-space-14, 56px);flex-direction:row;gap:var(--rtk-space-2, 8px);overflow-y:auto;overflow-x:hidden;transition:all 0.3s linear}:host([size='md']){margin-right:var(--rtk-space-4, 16px);height:100%;width:var(--rtk-space-14, 56px);flex-direction:row;gap:var(--rtk-space-2, 8px);overflow-y:auto;overflow-x:hidden;transition:all 0.3s linear}:host .tab{margin:var(--rtk-space-0, 0px)}:host([size='sm']) .tab{margin:var(--rtk-space-0, 0px);width:100%;text-overflow:clip;min-width:0px;min-height:40px}:host([size='sm']) .tab .col{display:flex;flex-direction:column;align-items:center;gap:var(--rtk-space-2, 8px);font-size:10px}:host([size='sm']) .tab .col img,:host([size='sm']) .tab .col rtk-icon{height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px)}:host([size='sm']) .tab .col .name{gap:var(--rtk-space-1, 4px)}}"}},[1,"rtk-tab-bar",{size:[513],meeting:[16],states:[16],config:[16],layout:[513],iconPack:[16],t:[16],activeTab:[16],tabs:[16]}]);function g(){"undefined"!=typeof customElements&&["rtk-tab-bar","rtk-button","rtk-icon","rtk-spotlight-indicator","rtk-tooltip"].forEach((t=>{switch(t){case"rtk-tab-bar":customElements.get(s(t))||customElements.define(s(t),x);break;case"rtk-button":customElements.get(s(t))||d();break;case"rtk-icon":customElements.get(s(t))||m();break;case"rtk-spotlight-indicator":customElements.get(s(t))||k();break;case"rtk-tooltip":customElements.get(s(t))||b()}}))}v([h()],x.prototype,"meeting",void 0),v([h()],x.prototype,"states",void 0),v([h()],x.prototype,"config",void 0),v([h()],x.prototype,"iconPack",void 0),v([h()],x.prototype,"t",void 0),g();export{x as R,g as d}
@@ -1 +1 @@
1
- import{p as r,H as t,h as e,d as a,t as s}from"./p-BBHQOrFK.js";import{e as i,i as o,D as n}from"./p-BthnOddY.js";import{C as c}from"./p-aS2wpIc0.js";import{s as d}from"./p-BIplIdLH.js";import{S as l}from"./p-DL4GSZ2e.js";import{d as p}from"./p-BYIBbfJ8.js";var h=function(r,t,e,a){var s,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,e):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(r,t,e,a);else for(var n=r.length-1;n>=0;n--)(s=r[n])&&(o=(i<3?s(o):i>3?s(t,e,o):s(t,e))||o);return i>3&&o&&Object.defineProperty(t,e,o),o};const b=r(class extends t{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow(),this.searchQuery="",this.isProcessing=!1,this.iconPack=i,this.t=o(),this.transcriptions=[],this.autoScrollEnabled=!0,this.onScroll=r=>{const{scrollTop:t,clientHeight:e,scrollHeight:a}=r.target;this.autoScrollEnabled=t+e+10>=a},this.onTranscriptHandler=r=>{this.transcriptions=this.transcriptionsReducer(this.transcriptions,r)}}transcriptionsReducer(r,t){if(!r.length||r[r.length-1].peerId!==t.peerId)return r.concat(t);const e=r[r.length-1];return e.id===t.id?(e.transcript=t.transcript,r.pop(),r.concat(e)):r.concat(t)}connectedCallback(){this.meeting&&this.meetingChanged(this.meeting)}componentDidLoad(){var r;null===(r=this.contentContainer)||void 0===r||r.addEventListener("scroll",this.onScroll)}disconnectedCallback(){var r,t,e;null===(t=null===(r=this.meeting)||void 0===r?void 0:r.ai)||void 0===t||t.off("transcript",this.onTranscriptHandler),null===(e=this.contentContainer)||void 0===e||e.removeEventListener("scroll",this.onScroll)}meetingChanged(r){var t,e;this.transcriptions=n(null===(t=null==r?void 0:r.ai)||void 0===t?void 0:t.transcripts),this.transcriptions=this.transcriptions.reduce(this.transcriptionsReducer,[]),null===(e=null==r?void 0:r.ai)||void 0===e||e.on("transcript",this.onTranscriptHandler)}transcriptionsChanged(){this.autoScrollEnabled&&setTimeout((()=>{d(this.contentContainer,!1)}),100)}renderContent(){const r=this.renderTranscripts();return e("div",{class:"content scrollbar",ref:r=>this.contentContainer=r},0===this.transcriptions.length&&e("div",{class:"started-message"},this.t("ai.transcriptions.no_transcripts_yet")),r,this.transcriptions.length>0&&this.searchQuery&&0===r.length&&e("div",{class:"started-message"},this.t("ai.transcriptions.no_transcripts_found")))}renderTranscripts(){var r;const t=null===(r=this.searchQuery)||void 0===r?void 0:r.toLowerCase(),a=this.transcriptions.filter((r=>{var e,a;return!t||(null===(e=r.name)||void 0===e?void 0:e.toLowerCase().includes(t))||(null===(a=r.transcript)||void 0===a?void 0:a.toLowerCase().includes(t))})),s=[];return a.forEach((r=>{const t={name:r.name,date:r.date,peerId:r.peerId,transcript:r.transcript};if(!s.length)return void s.push(t);const e=s[s.length-1];r.peerId===e.peerId?e.transcript+=" "+r.transcript:s.push(t)})),s.map((r=>e("div",{class:"message"},e(c,{name:r.name,time:new Date(r.date),now:new Date}),e("div",{class:"body"},r.transcript))))}render(){return e(a,{key:"08b41c4274270f9df80881c0a1fee9cdb5621ed7"},e("div",{key:"debebf0ef34437b1d9266cf5470a3d47975a865b",class:"search"},e("rtk-icon",{key:"5a17bcacd6ee1813ca40f5d6d550cc7425060d14",icon:this.iconPack.search}),e("input",{key:"b36d618edaccca47d5a076bf28e2af4c08039929",type:"search",autocomplete:"off",placeholder:this.t("ai.transcriptions.search_placeholder"),value:this.searchQuery,onInput:r=>this.searchQuery=r.target.value})),this.isProcessing&&e("div",{key:"8a9a5fda23dec97e14faaacc6bbade22a711b137",class:"processing"},e("p",{key:"24385d63e55281e957bed28b5055560b9a860c63"},"Processing audio....")),!this.isProcessing&&this.renderContent())}static get watchers(){return{meeting:[{meetingChanged:0}],transcriptions:[{transcriptionsChanged:0}]}}static get style(){return":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)}.head{display:flex;align-items:center}.head .name{margin-right:var(--rtk-space-4, 16px);font-size:12px;font-weight:700}.head .time{font-size:12px;color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}*{box-sizing:border-box;border-width:0;border-style:solid}:host{width:100%;display:flex;flex-direction:column}.processing{display:flex;flex:1 1 0%;flex-direction:column;align-items:center;justify-content:center}.content{box-sizing:border-box;display:flex;flex-direction:column;padding:var(--rtk-space-3, 12px);flex:1 0 0px;overflow-y:scroll}.started-message{margin-top:var(--rtk-space-5, 20px);margin-bottom:var(--rtk-space-5, 20px);text-align:center;font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.search{position:sticky;box-sizing:border-box;display:flex;align-items:center;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));margin-left:var(--rtk-space-3, 12px);margin-right:var(--rtk-space-3, 12px);margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px)}.search rtk-icon{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.search input{box-sizing:border-box;height:var(--rtk-space-9, 36px);width:100%;padding-right:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;--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));outline:2px solid transparent;outline-offset:2px;border-radius:var(--rtk-border-radius-sm, 4px);font-size:14px}.search input::-moz-placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.search input::placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.caption-view{height:var(--rtk-space-12, 48px);width:100%;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);border-bottom-width:var(--rtk-border-width-sm, 1px);border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));display:flex;align-items:center;justify-content:space-between;font-size:14px}.message .body{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);font-size:14px;word-break:break-word}.message{margin-bottom:var(--rtk-space-3, 12px)}.message:last-child{margin-bottom:var(--rtk-space-0, 0px)}"}},[1,"rtk-ai-transcriptions",{meeting:[16],iconPack:[16],t:[16],initialTranscriptions:[16],searchQuery:[32],isProcessing:[32],transcriptions:[32]},void 0,{meeting:[{meetingChanged:0}],transcriptions:[{transcriptionsChanged:0}]}]);function g(){"undefined"!=typeof customElements&&["rtk-ai-transcriptions","rtk-icon"].forEach((r=>{switch(r){case"rtk-ai-transcriptions":customElements.get(s(r))||customElements.define(s(r),b);break;case"rtk-icon":customElements.get(s(r))||p()}}))}h([l()],b.prototype,"meeting",void 0),h([l()],b.prototype,"iconPack",void 0),h([l()],b.prototype,"t",void 0),g();export{b as R,g as d}
1
+ import{p as r,H as t,h as e,d as a,t as s}from"./p-BBHQOrFK.js";import{e as i,i as o,D as n}from"./p-DhwysA2e.js";import{C as c}from"./p-aS2wpIc0.js";import{s as d}from"./p-BIplIdLH.js";import{S as l}from"./p-bRRQr4xn.js";import{d as p}from"./p-BYIBbfJ8.js";var b=function(r,t,e,a){var s,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,e):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(r,t,e,a);else for(var n=r.length-1;n>=0;n--)(s=r[n])&&(o=(i<3?s(o):i>3?s(t,e,o):s(t,e))||o);return i>3&&o&&Object.defineProperty(t,e,o),o};const h=r(class extends t{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow(),this.searchQuery="",this.isProcessing=!1,this.iconPack=i,this.t=o(),this.transcriptions=[],this.autoScrollEnabled=!0,this.onScroll=r=>{const{scrollTop:t,clientHeight:e,scrollHeight:a}=r.target;this.autoScrollEnabled=t+e+10>=a},this.onTranscriptHandler=r=>{this.transcriptions=this.transcriptionsReducer(this.transcriptions,r)}}transcriptionsReducer(r,t){if(!r.length||r[r.length-1].peerId!==t.peerId)return r.concat(t);const e=r[r.length-1];return e.id===t.id?(e.transcript=t.transcript,r.pop(),r.concat(e)):r.concat(t)}connectedCallback(){this.meeting&&this.meetingChanged(this.meeting)}componentDidLoad(){var r;null===(r=this.contentContainer)||void 0===r||r.addEventListener("scroll",this.onScroll)}disconnectedCallback(){var r,t,e;null===(t=null===(r=this.meeting)||void 0===r?void 0:r.ai)||void 0===t||t.off("transcript",this.onTranscriptHandler),null===(e=this.contentContainer)||void 0===e||e.removeEventListener("scroll",this.onScroll)}meetingChanged(r){var t,e;this.transcriptions=n(null===(t=null==r?void 0:r.ai)||void 0===t?void 0:t.transcripts),this.transcriptions=this.transcriptions.reduce(this.transcriptionsReducer,[]),null===(e=null==r?void 0:r.ai)||void 0===e||e.on("transcript",this.onTranscriptHandler)}transcriptionsChanged(){this.autoScrollEnabled&&setTimeout((()=>{d(this.contentContainer,!1)}),100)}renderContent(){const r=this.renderTranscripts();return e("div",{class:"content scrollbar",ref:r=>this.contentContainer=r},0===this.transcriptions.length&&e("div",{class:"started-message"},this.t("ai.transcriptions.no_transcripts_yet")),r,this.transcriptions.length>0&&this.searchQuery&&0===r.length&&e("div",{class:"started-message"},this.t("ai.transcriptions.no_transcripts_found")))}renderTranscripts(){var r;const t=null===(r=this.searchQuery)||void 0===r?void 0:r.toLowerCase(),a=this.transcriptions.filter((r=>{var e,a;return!t||(null===(e=r.name)||void 0===e?void 0:e.toLowerCase().includes(t))||(null===(a=r.transcript)||void 0===a?void 0:a.toLowerCase().includes(t))})),s=[];return a.forEach((r=>{const t={name:r.name,date:r.date,peerId:r.peerId,transcript:r.transcript};if(!s.length)return void s.push(t);const e=s[s.length-1];r.peerId===e.peerId?e.transcript+=" "+r.transcript:s.push(t)})),s.map((r=>e("div",{class:"message"},e(c,{name:r.name,time:new Date(r.date),now:new Date}),e("div",{class:"body"},r.transcript))))}render(){return e(a,{key:"08b41c4274270f9df80881c0a1fee9cdb5621ed7"},e("div",{key:"debebf0ef34437b1d9266cf5470a3d47975a865b",class:"search"},e("rtk-icon",{key:"5a17bcacd6ee1813ca40f5d6d550cc7425060d14",icon:this.iconPack.search}),e("input",{key:"b36d618edaccca47d5a076bf28e2af4c08039929",type:"search",autocomplete:"off",placeholder:this.t("ai.transcriptions.search_placeholder"),value:this.searchQuery,onInput:r=>this.searchQuery=r.target.value})),this.isProcessing&&e("div",{key:"8a9a5fda23dec97e14faaacc6bbade22a711b137",class:"processing"},e("p",{key:"24385d63e55281e957bed28b5055560b9a860c63"},"Processing audio....")),!this.isProcessing&&this.renderContent())}static get watchers(){return{meeting:[{meetingChanged:0}],transcriptions:[{transcriptionsChanged:0}]}}static get style(){return":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)}.head{display:flex;align-items:center}.head .name{margin-right:var(--rtk-space-4, 16px);font-size:12px;font-weight:700}.head .time{font-size:12px;color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}*{box-sizing:border-box;border-width:0;border-style:solid}:host{width:100%;display:flex;flex-direction:column}.processing{display:flex;flex:1 1 0%;flex-direction:column;align-items:center;justify-content:center}.content{box-sizing:border-box;display:flex;flex-direction:column;padding:var(--rtk-space-3, 12px);flex:1 0 0px;overflow-y:scroll}.started-message{margin-top:var(--rtk-space-5, 20px);margin-bottom:var(--rtk-space-5, 20px);text-align:center;font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.search{position:sticky;box-sizing:border-box;display:flex;align-items:center;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));margin-left:var(--rtk-space-3, 12px);margin-right:var(--rtk-space-3, 12px);margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px)}.search rtk-icon{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.search input{box-sizing:border-box;height:var(--rtk-space-9, 36px);width:100%;padding-right:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;--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));outline:2px solid transparent;outline-offset:2px;border-radius:var(--rtk-border-radius-sm, 4px);font-size:14px}.search input::-moz-placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.search input::placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.caption-view{height:var(--rtk-space-12, 48px);width:100%;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);border-bottom-width:var(--rtk-border-width-sm, 1px);border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));display:flex;align-items:center;justify-content:space-between;font-size:14px}.message .body{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);font-size:14px;word-break:break-word}.message{margin-bottom:var(--rtk-space-3, 12px)}.message:last-child{margin-bottom:var(--rtk-space-0, 0px)}"}},[1,"rtk-ai-transcriptions",{meeting:[16],iconPack:[16],t:[16],initialTranscriptions:[16],searchQuery:[32],isProcessing:[32],transcriptions:[32]},void 0,{meeting:[{meetingChanged:0}],transcriptions:[{transcriptionsChanged:0}]}]);function g(){"undefined"!=typeof customElements&&["rtk-ai-transcriptions","rtk-icon"].forEach((r=>{switch(r){case"rtk-ai-transcriptions":customElements.get(s(r))||customElements.define(s(r),h);break;case"rtk-icon":customElements.get(s(r))||p()}}))}b([l()],h.prototype,"meeting",void 0),b([l()],h.prototype,"iconPack",void 0),b([l()],h.prototype,"t",void 0),g();export{h as R,g as d}
@@ -1 +1 @@
1
- import{p as t,H as r,c as e,h as a,d as i,t as s}from"./p-BBHQOrFK.js";import{e as o,i as n}from"./p-BthnOddY.js";import{S as c}from"./p-DL4GSZ2e.js";import{T as d}from"./p-Bx38FZhs.js";import{d as p}from"./p-D6vw6bT2.js";import{d as l}from"./p-BYIBbfJ8.js";var h=function(t,r,e,a){var i,s=arguments.length,o=s<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,e):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,r,e,a);else for(var n=t.length-1;n>=0;n--)(i=t[n])&&(o=(s<3?i(o):s>3?i(r,e,o):i(r,e))||o);return s>3&&o&&Object.defineProperty(r,e,o),o};const b=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.dismiss=e(this,"rtkNotificationDismiss",7),this.iconPack=o,this.t=n(),this.imageState="loading"}connectedCallback(){this.notificationChanged(this.notification)}pausedChanged(t){t?clearTimeout(this.timeout):this.notificationChanged(this.notification)}notificationChanged(t){null==t||"number"!=typeof t.duration||this.paused||(this.timeout=window.setTimeout((()=>{this.dismiss.emit(t.id)}),t.duration))}render(){var t;return a(i,{key:"f8ddbd9e32a05c36d3b7ea8d1589bba1b6009fab"},a("div",{key:"61fe82306da70295f9530edf9acdb28d891ae9d5",class:"ctr"},null!=this.notification.icon&&a("rtk-icon",{key:"59cb7c56120f3c3d52fc9d39c7e1c7066d7f5d72",class:"icon",icon:this.notification.icon,variant:null!==(t=this.notification.iconVariant)&&void 0!==t?t:"primary"}),null!=this.notification.image&&null==this.notification.icon&&"errored"!==this.imageState&&a("img",{key:"3dce9047059aa31989e0205f1fe20abade6b56f7",src:this.notification.image,class:{loaded:"loaded"===this.imageState},onLoad:()=>this.imageState="loaded",onError:()=>this.imageState="errored"}),a("p",{key:"eaf2809d755002b226552111f52e5d6ec35f1731",class:"message"},a(d,{key:"5fc9377a438bcb3fe70d8ad85d753ed30123204c",message:this.notification.message})),a("div",{key:"5d4562cd5dd565b107f39b1eb0cbbd400281082b",class:"right"},null!=this.notification.button&&a("rtk-button",{key:"f21316499b4f85b4ab7b3b1194c8014b969f2358",size:"sm",variant:this.notification.button.variant,onClick:()=>this.notification.button.onClick()},this.notification.button.text),a("button",{key:"299be899a5cd4e7e23b9e0006e69d030b5f06b10",onClick:()=>this.dismiss.emit(this.notification.id),class:"dismiss"},a("rtk-icon",{key:"ef56fd50689c3166a3f6f7f8cebb2ed9d902dc3d","aria-label":this.t("dismiss"),icon:this.iconPack.dismiss})))))}static get watchers(){return{paused:[{pausedChanged:0}],notification:[{notificationChanged:0}]}}static get style(){return":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;height:var(--rtk-space-10, 40px);color:rgb(var(--rtk-colors-text-1000, 255 255 255));animation:show 0.4s ease;transition:0.4s;z-index:100}.ctr{box-sizing:border-box;display:inline-flex;height:100%;min-width:var(--rtk-space-40, 160px);align-items:center;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-2, 8px);-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}img{margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-0, 0px);width:var(--rtk-space-0, 0px);border-radius:9999px}img.loaded{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}.message{margin-right:var(--rtk-space-2, 8px);max-width:var(--rtk-space-72, 288px) !important;font-size:14px !important;overflow:hidden !important;display:-webkit-box !important;-webkit-box-orient:vertical !important;-webkit-line-clamp:2 !important}.message p{margin:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-1, 4px)}.message blockquote{display:none}rtk-icon.icon{margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px);color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}button.dismiss{display:flex;height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px);align-items:center;justify-content:center;border-width:var(--rtk-border-width-none, 0);border-style:none;padding:var(--rtk-space-0, 0px);border-radius:var(--rtk-border-radius-sm, 4px);background-color:transparent;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));outline-width:1px;outline-color:rgb(var(--rtk-colors-text-1000, 255 255 255))}button.dismiss:hover{cursor:pointer;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}button.dismiss:focus-visible{outline-style:solid}button.dismiss{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.dismiss rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}rtk-button{border-radius:var(--rtk-border-radius-sm, 4px)}.right{margin-left:auto;display:flex;align-items:center;gap:var(--rtk-space-2, 8px)}:host(.exit){animation:exit 0.4s ease}@keyframes show{0%{opacity:0;transform:translateX(-120px)}100%{opacity:1;transform:translateX(0px)}}@keyframes exit{0%{opacity:1;transform:translateX(0)}100%{opacity:0;transform:translateX(-120px)}}:host([size='sm']){font-size:14px}"}},[1,"rtk-notification",{notification:[16],paused:[4],size:[513],iconPack:[16],t:[16],imageState:[32]},void 0,{paused:[{pausedChanged:0}],notification:[{notificationChanged:0}]}]);function f(){"undefined"!=typeof customElements&&["rtk-notification","rtk-button","rtk-icon"].forEach((t=>{switch(t){case"rtk-notification":customElements.get(s(t))||customElements.define(s(t),b);break;case"rtk-button":customElements.get(s(t))||p();break;case"rtk-icon":customElements.get(s(t))||l()}}))}h([c()],b.prototype,"iconPack",void 0),h([c()],b.prototype,"t",void 0),f();export{b as R,f as d}
1
+ import{p as t,H as r,c as e,h as a,d as i,t as s}from"./p-BBHQOrFK.js";import{e as o,i as n}from"./p-DhwysA2e.js";import{S as c}from"./p-bRRQr4xn.js";import{T as d}from"./p-Bx38FZhs.js";import{d as p}from"./p-D6vw6bT2.js";import{d as l}from"./p-BYIBbfJ8.js";var h=function(t,r,e,a){var i,s=arguments.length,o=s<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,e):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,r,e,a);else for(var n=t.length-1;n>=0;n--)(i=t[n])&&(o=(s<3?i(o):s>3?i(r,e,o):i(r,e))||o);return s>3&&o&&Object.defineProperty(r,e,o),o};const b=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.dismiss=e(this,"rtkNotificationDismiss",7),this.iconPack=o,this.t=n(),this.imageState="loading"}connectedCallback(){this.notificationChanged(this.notification)}pausedChanged(t){t?clearTimeout(this.timeout):this.notificationChanged(this.notification)}notificationChanged(t){null==t||"number"!=typeof t.duration||this.paused||(this.timeout=window.setTimeout((()=>{this.dismiss.emit(t.id)}),t.duration))}render(){var t;return a(i,{key:"f8ddbd9e32a05c36d3b7ea8d1589bba1b6009fab"},a("div",{key:"61fe82306da70295f9530edf9acdb28d891ae9d5",class:"ctr"},null!=this.notification.icon&&a("rtk-icon",{key:"59cb7c56120f3c3d52fc9d39c7e1c7066d7f5d72",class:"icon",icon:this.notification.icon,variant:null!==(t=this.notification.iconVariant)&&void 0!==t?t:"primary"}),null!=this.notification.image&&null==this.notification.icon&&"errored"!==this.imageState&&a("img",{key:"3dce9047059aa31989e0205f1fe20abade6b56f7",src:this.notification.image,class:{loaded:"loaded"===this.imageState},onLoad:()=>this.imageState="loaded",onError:()=>this.imageState="errored"}),a("p",{key:"eaf2809d755002b226552111f52e5d6ec35f1731",class:"message"},a(d,{key:"5fc9377a438bcb3fe70d8ad85d753ed30123204c",message:this.notification.message})),a("div",{key:"5d4562cd5dd565b107f39b1eb0cbbd400281082b",class:"right"},null!=this.notification.button&&a("rtk-button",{key:"f21316499b4f85b4ab7b3b1194c8014b969f2358",size:"sm",variant:this.notification.button.variant,onClick:()=>this.notification.button.onClick()},this.notification.button.text),a("button",{key:"299be899a5cd4e7e23b9e0006e69d030b5f06b10",onClick:()=>this.dismiss.emit(this.notification.id),class:"dismiss"},a("rtk-icon",{key:"ef56fd50689c3166a3f6f7f8cebb2ed9d902dc3d","aria-label":this.t("dismiss"),icon:this.iconPack.dismiss})))))}static get watchers(){return{paused:[{pausedChanged:0}],notification:[{notificationChanged:0}]}}static get style(){return":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;height:var(--rtk-space-10, 40px);color:rgb(var(--rtk-colors-text-1000, 255 255 255));animation:show 0.4s ease;transition:0.4s;z-index:100}.ctr{box-sizing:border-box;display:inline-flex;height:100%;min-width:var(--rtk-space-40, 160px);align-items:center;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-2, 8px);-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}img{margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-0, 0px);width:var(--rtk-space-0, 0px);border-radius:9999px}img.loaded{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}.message{margin-right:var(--rtk-space-2, 8px);max-width:var(--rtk-space-72, 288px) !important;font-size:14px !important;overflow:hidden !important;display:-webkit-box !important;-webkit-box-orient:vertical !important;-webkit-line-clamp:2 !important}.message p{margin:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-1, 4px)}.message blockquote{display:none}rtk-icon.icon{margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px);color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}button.dismiss{display:flex;height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px);align-items:center;justify-content:center;border-width:var(--rtk-border-width-none, 0);border-style:none;padding:var(--rtk-space-0, 0px);border-radius:var(--rtk-border-radius-sm, 4px);background-color:transparent;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));outline-width:1px;outline-color:rgb(var(--rtk-colors-text-1000, 255 255 255))}button.dismiss:hover{cursor:pointer;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}button.dismiss:focus-visible{outline-style:solid}button.dismiss{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.dismiss rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}rtk-button{border-radius:var(--rtk-border-radius-sm, 4px)}.right{margin-left:auto;display:flex;align-items:center;gap:var(--rtk-space-2, 8px)}:host(.exit){animation:exit 0.4s ease}@keyframes show{0%{opacity:0;transform:translateX(-120px)}100%{opacity:1;transform:translateX(0px)}}@keyframes exit{0%{opacity:1;transform:translateX(0)}100%{opacity:0;transform:translateX(-120px)}}:host([size='sm']){font-size:14px}"}},[1,"rtk-notification",{notification:[16],paused:[4],size:[513],iconPack:[16],t:[16],imageState:[32]},void 0,{paused:[{pausedChanged:0}],notification:[{notificationChanged:0}]}]);function f(){"undefined"!=typeof customElements&&["rtk-notification","rtk-button","rtk-icon"].forEach((t=>{switch(t){case"rtk-notification":customElements.get(s(t))||customElements.define(s(t),b);break;case"rtk-button":customElements.get(s(t))||p();break;case"rtk-icon":customElements.get(s(t))||l()}}))}h([c()],b.prototype,"iconPack",void 0),h([c()],b.prototype,"t",void 0),f();export{b as R,f as d}
@@ -1 +1 @@
1
- import{p as t,H as e,c as s,h as i,d as n,t as r}from"./p-BBHQOrFK.js";import{e as a,i as o}from"./p-BthnOddY.js";import{i as c,r as l,e as h,a as f}from"./p-GSFejkz7.js";import{S as u}from"./p-DL4GSZ2e.js";import{d}from"./p-DPxfGgCX.js";import{d as m}from"./p-BYIBbfJ8.js";import{d as p}from"./p-DXSMSSbW.js";var k=function(t,e,s,i){var n,r=arguments.length,a=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,s,i);else for(var o=t.length-1;o>=0;o--)(n=t[o])&&(a=(r<3?n(a):r>3?n(e,s,a):n(e,s))||a);return r>3&&a&&Object.defineProperty(e,s,a),a};const b=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=s(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=a,this.t=o(),this.fullScreenActive=!1,this.isFullScreenSupported=!0,this.onFullScreenchange=()=>{this.fullScreenActive=c()},this.toggleFullScreen=()=>{let t=this.targetElement||document.querySelector("rtk-meeting");t&&(this.fullScreenActive?(h(),this.fullScreenActive=!1):(l(t),this.fullScreenActive=!0),this.stateUpdate.emit({activeMoreMenu:!1}))}}connectedCallback(){this.isFullScreenSupported=f(),this.onFullScreenchange(),window.addEventListener("webkitfullscreenchange",this.onFullScreenchange),window.addEventListener("fullscreenchange",this.onFullScreenchange)}disconnectedCallback(){window.removeEventListener("webkitfullscreenchange",this.onFullScreenchange),window.removeEventListener("fullscreenchange",this.onFullScreenchange)}render(){return this.isFullScreenSupported?i(n,{title:this.t("full_screen")},i("rtk-controlbar-button",{size:this.size,iconPack:this.iconPack,onClick:this.toggleFullScreen,icon:this.fullScreenActive?this.iconPack.full_screen_minimize:this.iconPack.full_screen_maximize,label:this.t(this.fullScreenActive?"full_screen.exit":"full_screen"),variant:this.variant})):i(n,{"data-hidden":!0})}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}:host([data-hidden]){display:none}"}},[1,"rtk-fullscreen-toggle",{states:[16],targetElement:[16],variant:[513],size:[513],iconPack:[16],t:[16],fullScreenActive:[32],isFullScreenSupported:[32]}]);function g(){"undefined"!=typeof customElements&&["rtk-fullscreen-toggle","rtk-controlbar-button","rtk-icon","rtk-spinner"].forEach((t=>{switch(t){case"rtk-fullscreen-toggle":customElements.get(r(t))||customElements.define(r(t),b);break;case"rtk-controlbar-button":customElements.get(r(t))||d();break;case"rtk-icon":customElements.get(r(t))||m();break;case"rtk-spinner":customElements.get(r(t))||p()}}))}k([u()],b.prototype,"states",void 0),k([u()],b.prototype,"iconPack",void 0),k([u()],b.prototype,"t",void 0),g();export{b as R,g as d}
1
+ import{p as t,H as e,c as s,h as i,d as n,t as r}from"./p-BBHQOrFK.js";import{e as a,i as o}from"./p-DhwysA2e.js";import{i as c,r as l,e as h,a as f}from"./p-GSFejkz7.js";import{S as u}from"./p-bRRQr4xn.js";import{d as m}from"./p-CFBS-gbK.js";import{d as p}from"./p-BYIBbfJ8.js";import{d}from"./p-B0SC1Zj-.js";var k=function(t,e,s,i){var n,r=arguments.length,a=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,s,i);else for(var o=t.length-1;o>=0;o--)(n=t[o])&&(a=(r<3?n(a):r>3?n(e,s,a):n(e,s))||a);return r>3&&a&&Object.defineProperty(e,s,a),a};const b=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=s(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=a,this.t=o(),this.fullScreenActive=!1,this.isFullScreenSupported=!0,this.onFullScreenchange=()=>{this.fullScreenActive=c()},this.toggleFullScreen=()=>{let t=this.targetElement||document.querySelector("rtk-meeting");t&&(this.fullScreenActive?(h(),this.fullScreenActive=!1):(l(t),this.fullScreenActive=!0),this.stateUpdate.emit({activeMoreMenu:!1}))}}connectedCallback(){this.isFullScreenSupported=f(),this.onFullScreenchange(),window.addEventListener("webkitfullscreenchange",this.onFullScreenchange),window.addEventListener("fullscreenchange",this.onFullScreenchange)}disconnectedCallback(){window.removeEventListener("webkitfullscreenchange",this.onFullScreenchange),window.removeEventListener("fullscreenchange",this.onFullScreenchange)}render(){return this.isFullScreenSupported?i(n,{title:this.t("full_screen")},i("rtk-controlbar-button",{size:this.size,iconPack:this.iconPack,onClick:this.toggleFullScreen,icon:this.fullScreenActive?this.iconPack.full_screen_minimize:this.iconPack.full_screen_maximize,label:this.t(this.fullScreenActive?"full_screen.exit":"full_screen"),variant:this.variant})):i(n,{"data-hidden":!0})}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}:host([data-hidden]){display:none}"}},[1,"rtk-fullscreen-toggle",{states:[16],targetElement:[16],variant:[513],size:[513],iconPack:[16],t:[16],fullScreenActive:[32],isFullScreenSupported:[32]}]);function g(){"undefined"!=typeof customElements&&["rtk-fullscreen-toggle","rtk-controlbar-button","rtk-icon","rtk-spinner"].forEach((t=>{switch(t){case"rtk-fullscreen-toggle":customElements.get(r(t))||customElements.define(r(t),b);break;case"rtk-controlbar-button":customElements.get(r(t))||m();break;case"rtk-icon":customElements.get(r(t))||p();break;case"rtk-spinner":customElements.get(r(t))||d()}}))}k([u()],b.prototype,"states",void 0),k([u()],b.prototype,"iconPack",void 0),k([u()],b.prototype,"t",void 0),g();export{b as R,g as d}
@@ -1 +1 @@
1
- import{p as t,H as r,h as o,d as a,t as i}from"./p-BBHQOrFK.js";import{e}from"./p-BthnOddY.js";import{S as n}from"./p-DL4GSZ2e.js";import{d as c}from"./p-BYIBbfJ8.js";import{d as s}from"./p-DXSMSSbW.js";const d=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.variant="button",this.showWarning=!1,this.disabled=!1,this.iconPack=e,this.brandIcon=!1}render(){return o(a,{key:"90cbc7f04dd7975ef7331aace992aeadd1fdba52"},o("button",{key:"36ea971cf7d69742346dd6a65b41ef57def59a40","aria-label":this.label,part:"button"},this.isLoading?o("rtk-spinner",{id:"icon",part:"spinner",iconPack:this.iconPack}):o("rtk-icon",{id:"icon",icon:this.icon,tabIndex:-1,"aria-hidden":!0,part:"icon"}),o("span",{key:"83dda2888c01eec119c1cc21921a682cc2111307",class:"label",part:"label"},this.label),this.showWarning&&o("rtk-icon",{key:"abddcd4d3c81f7ba09cc4595c98cb55c76d678ad",id:"warning-indicator",icon:this.iconPack.warning,part:"warning-indicator"})))}static get delegatesFocus(){return!0}static get style(){return":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{--background-color:var( --rtk-controlbar-button-background-color, rgb(var(--rtk-colors-background-1000, 8 8 8)) );--icon-size:var(--rtk-controlbar-button-icon-size, var(--rtk-space-7, 28px));position:relative;box-sizing:border-box;display:inline-flex;height:100%;width:auto;min-width:var(--rtk-space-20, 80px);-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:var(--rtk-border-radius-md, 8px);transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;color:rgb(var(--rtk-colors-text-1000, 255 255 255));background-color:var(--background-color)}button{padding:var(--rtk-space-1, 4px)}:host(.red-icon) #icon{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}:host([disabled]){color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}button{box-sizing:border-box;display:inline-flex;height:100%;width:100%;flex:1 1 0%;flex-direction:column;gap:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-1, 4px);padding-right:var(--rtk-space-1, 4px);align-items:center;justify-content:center;cursor:pointer;border-radius:var(--rtk-border-radius-md, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent;color:inherit;outline-offset:-2px;border:var(--rtk-border-width-md, 2px) solid transparent}.label{text-align:center;font-size:12px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}#warning-indicator{position:absolute;top:var(--rtk-space-1, 4px);right:var(--rtk-space-2, 8px);height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-warning, 255 205 7) / var(--tw-text-opacity))}:host([size='sm']) #warning-indicator{right:var(--rtk-space-0, 0px);top:var(--rtk-space-0, 0px);height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px)}:host(:hover) button{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}#icon{width:var(--icon-size);height:var(--icon-size)}:host(.leave:hover) button{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity));border:var(--rtk-border-width-md, 2px) solid rgb(var(--rtk-colors-danger, 255 45 45))}:host(.active) button{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-400, 53 110 253) / var(--tw-text-opacity));border:var(--rtk-border-width-md, 2px) solid rgb(var(--rtk-colors-brand-400, 53 110 253))}button:focus-visible{outline:2px solid rgb(var(--rtk-colors-brand-400, 53 110 253))}:host(.active-livestream){--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}:host([size='sm']){min-width:var(--rtk-space-14, 56px)}:host([size='sm']) .label{display:none}:host([variant='horizontal']){width:100%}:host([variant='horizontal']) button{border-radius:7px;height:var(--rtk-space-12, 48px);width:100%;padding-left:var(--rtk-space-5, 20px);padding-right:var(--rtk-space-5, 20px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);flex-direction:row;justify-content:flex-start;gap:var(--rtk-space-3, 12px)}:host([variant='horizontal']) #icon{width:var(--rtk-space-6, 24px)}:host([variant='horizontal']) .label{display:block;font-size:14px;line-height:1.25rem}:host([variant='horizontal']) #warning-indicator{right:auto;left:var(--rtk-space-4, 16px)}:host([brand-icon]) rtk-icon#icon{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}@media only screen and (max-device-height: 480px) and (orientation: landscape){:host .label{display:none}:slotted(rtk-icon){height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}}"}},[17,"rtk-controlbar-button",{variant:[513],showWarning:[4,"show-warning"],size:[513],label:[1],icon:[1],isLoading:[4,"is-loading"],disabled:[516],iconPack:[16],brandIcon:[516,"brand-icon"]}]);function p(){"undefined"!=typeof customElements&&["rtk-controlbar-button","rtk-icon","rtk-spinner"].forEach((t=>{switch(t){case"rtk-controlbar-button":customElements.get(i(t))||customElements.define(i(t),d);break;case"rtk-icon":customElements.get(i(t))||c();break;case"rtk-spinner":customElements.get(i(t))||s()}}))}(function(t,r,o,a){var i,e=arguments.length,n=e<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,r,o,a);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(n=(e<3?i(n):e>3?i(r,o,n):i(r,o))||n);e>3&&n&&Object.defineProperty(r,o,n)})([n()],d.prototype,"iconPack",void 0),p();export{d as R,p as d}
1
+ import{p as t,H as r,h as o,d as a,t as i}from"./p-BBHQOrFK.js";import{e}from"./p-DhwysA2e.js";import{S as n}from"./p-bRRQr4xn.js";import{d as c}from"./p-BYIBbfJ8.js";import{d as s}from"./p-B0SC1Zj-.js";const d=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.variant="button",this.showWarning=!1,this.disabled=!1,this.iconPack=e,this.brandIcon=!1}render(){return o(a,{key:"90cbc7f04dd7975ef7331aace992aeadd1fdba52"},o("button",{key:"36ea971cf7d69742346dd6a65b41ef57def59a40","aria-label":this.label,part:"button"},this.isLoading?o("rtk-spinner",{id:"icon",part:"spinner",iconPack:this.iconPack}):o("rtk-icon",{id:"icon",icon:this.icon,tabIndex:-1,"aria-hidden":!0,part:"icon"}),o("span",{key:"83dda2888c01eec119c1cc21921a682cc2111307",class:"label",part:"label"},this.label),this.showWarning&&o("rtk-icon",{key:"abddcd4d3c81f7ba09cc4595c98cb55c76d678ad",id:"warning-indicator",icon:this.iconPack.warning,part:"warning-indicator"})))}static get delegatesFocus(){return!0}static get style(){return":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{--background-color:var( --rtk-controlbar-button-background-color, rgb(var(--rtk-colors-background-1000, 8 8 8)) );--icon-size:var(--rtk-controlbar-button-icon-size, var(--rtk-space-7, 28px));position:relative;box-sizing:border-box;display:inline-flex;height:100%;width:auto;min-width:var(--rtk-space-20, 80px);-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:var(--rtk-border-radius-md, 8px);transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;color:rgb(var(--rtk-colors-text-1000, 255 255 255));background-color:var(--background-color)}button{padding:var(--rtk-space-1, 4px)}:host(.red-icon) #icon{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}:host([disabled]){color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}button{box-sizing:border-box;display:inline-flex;height:100%;width:100%;flex:1 1 0%;flex-direction:column;gap:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-1, 4px);padding-right:var(--rtk-space-1, 4px);align-items:center;justify-content:center;cursor:pointer;border-radius:var(--rtk-border-radius-md, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent;color:inherit;outline-offset:-2px;border:var(--rtk-border-width-md, 2px) solid transparent}.label{text-align:center;font-size:12px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}#warning-indicator{position:absolute;top:var(--rtk-space-1, 4px);right:var(--rtk-space-2, 8px);height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-warning, 255 205 7) / var(--tw-text-opacity))}:host([size='sm']) #warning-indicator{right:var(--rtk-space-0, 0px);top:var(--rtk-space-0, 0px);height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px)}:host(:hover) button{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}#icon{width:var(--icon-size);height:var(--icon-size)}:host(.leave:hover) button{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity));border:var(--rtk-border-width-md, 2px) solid rgb(var(--rtk-colors-danger, 255 45 45))}:host(.active) button{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-400, 53 110 253) / var(--tw-text-opacity));border:var(--rtk-border-width-md, 2px) solid rgb(var(--rtk-colors-brand-400, 53 110 253))}button:focus-visible{outline:2px solid rgb(var(--rtk-colors-brand-400, 53 110 253))}:host(.active-livestream){--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}:host([size='sm']){min-width:var(--rtk-space-14, 56px)}:host([size='sm']) .label{display:none}:host([variant='horizontal']){width:100%}:host([variant='horizontal']) button{border-radius:7px;height:var(--rtk-space-12, 48px);width:100%;padding-left:var(--rtk-space-5, 20px);padding-right:var(--rtk-space-5, 20px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);flex-direction:row;justify-content:flex-start;gap:var(--rtk-space-3, 12px)}:host([variant='horizontal']) #icon{width:var(--rtk-space-6, 24px)}:host([variant='horizontal']) .label{display:block;font-size:14px;line-height:1.25rem}:host([variant='horizontal']) #warning-indicator{right:auto;left:var(--rtk-space-4, 16px)}:host([brand-icon]) rtk-icon#icon{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}@media only screen and (max-device-height: 480px) and (orientation: landscape){:host .label{display:none}:slotted(rtk-icon){height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}}"}},[17,"rtk-controlbar-button",{variant:[513],showWarning:[4,"show-warning"],size:[513],label:[1],icon:[1],isLoading:[4,"is-loading"],disabled:[516],iconPack:[16],brandIcon:[516,"brand-icon"]}]);function p(){"undefined"!=typeof customElements&&["rtk-controlbar-button","rtk-icon","rtk-spinner"].forEach((t=>{switch(t){case"rtk-controlbar-button":customElements.get(i(t))||customElements.define(i(t),d);break;case"rtk-icon":customElements.get(i(t))||c();break;case"rtk-spinner":customElements.get(i(t))||s()}}))}(function(t,r,o,a){var i,e=arguments.length,n=e<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,r,o,a);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(n=(e<3?i(n):e>3?i(r,o,n):i(r,o))||n);e>3&&n&&Object.defineProperty(r,o,n)})([n()],d.prototype,"iconPack",void 0),p();export{d as R,p as d}
@@ -1 +1 @@
1
- import{p as t,H as e,c as r,h as a,d as s,t as i}from"./p-BBHQOrFK.js";import{i as o}from"./p-BthnOddY.js";import{S as n}from"./p-DL4GSZ2e.js";const c=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.dismiss=r(this,"rtkTranscriptDismiss",7),this.t=o()}connectedCallback(){this.transcriptChanged(this.transcript)}disconnectedCallback(){clearTimeout(this.timeout)}transcriptChanged(t,e){if((null==e?void 0:e.renderedId)===t.renderedId&&(null==e?void 0:e.transcript)===t.transcript)return;if(clearTimeout(this.timeout),!(null==t?void 0:t.name)||!(null==t?void 0:t.transcript))return;const{id:r,renderedId:a}=t;this.timeout=setTimeout((()=>{this.dismiss.emit({id:r,renderedId:a})}),1e4)}render(){return a(s,{key:"c9f584259f21f759133ea5d6f4e07bac1524b5fb"},a("div",{key:"d25914df1db61994cfe8a5f0fc42af79c2823ece",class:"ctr"},a("p",{key:"06fefba0bca0a253a9140a9f2a86c2230b83f049",class:"message"},a("span",{key:"5f833c6901ab4f246e06d8a82c47a3d49616e44c",class:"name"},this.transcript.name),": ",this.transcript.transcript)))}static get watchers(){return{transcript:[{transcriptChanged:0}]}}static get style(){return":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}"}},[1,"rtk-transcript",{transcript:[16],t:[16],timeout:[32]},void 0,{transcript:[{transcriptChanged:0}]}]);function d(){"undefined"!=typeof customElements&&["rtk-transcript"].forEach((t=>{"rtk-transcript"===t&&(customElements.get(i(t))||customElements.define(i(t),c))}))}(function(t,e,r,a){var s,i=arguments.length,o=i<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,r,a);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(o=(i<3?s(o):i>3?s(e,r,o):s(e,r))||o);i>3&&o&&Object.defineProperty(e,r,o)})([n()],c.prototype,"t",void 0),d();export{c as R,d}
1
+ import{p as t,H as e,c as r,h as a,d as s,t as i}from"./p-BBHQOrFK.js";import{i as o}from"./p-DhwysA2e.js";import{S as n}from"./p-bRRQr4xn.js";const c=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.dismiss=r(this,"rtkTranscriptDismiss",7),this.t=o()}connectedCallback(){this.transcriptChanged(this.transcript)}disconnectedCallback(){clearTimeout(this.timeout)}transcriptChanged(t,e){if((null==e?void 0:e.renderedId)===t.renderedId&&(null==e?void 0:e.transcript)===t.transcript)return;if(clearTimeout(this.timeout),!(null==t?void 0:t.name)||!(null==t?void 0:t.transcript))return;const{id:r,renderedId:a}=t;this.timeout=setTimeout((()=>{this.dismiss.emit({id:r,renderedId:a})}),1e4)}render(){return a(s,{key:"c9f584259f21f759133ea5d6f4e07bac1524b5fb"},a("div",{key:"d25914df1db61994cfe8a5f0fc42af79c2823ece",class:"ctr"},a("p",{key:"06fefba0bca0a253a9140a9f2a86c2230b83f049",class:"message"},a("span",{key:"5f833c6901ab4f246e06d8a82c47a3d49616e44c",class:"name"},this.transcript.name),": ",this.transcript.transcript)))}static get watchers(){return{transcript:[{transcriptChanged:0}]}}static get style(){return":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}"}},[1,"rtk-transcript",{transcript:[16],t:[16],timeout:[32]},void 0,{transcript:[{transcriptChanged:0}]}]);function d(){"undefined"!=typeof customElements&&["rtk-transcript"].forEach((t=>{"rtk-transcript"===t&&(customElements.get(i(t))||customElements.define(i(t),c))}))}(function(t,e,r,a){var s,i=arguments.length,o=i<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,r,a);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(o=(i<3?s(o):i>3?s(e,r,o):s(e,r))||o);i>3&&o&&Object.defineProperty(e,r,o)})([n()],c.prototype,"t",void 0),d();export{c as R,d}
@@ -1 +1 @@
1
- import{p as t,H as e,c as i,h as r,d as s,t as a}from"./p-BBHQOrFK.js";import{e as o,i as n}from"./p-BthnOddY.js";import{b as c,s as p}from"./p-Dguuxuf6.js";import{S as l}from"./p-DL4GSZ2e.js";import{d}from"./p-fEIEB26m.js";import{d as g}from"./p-BYIBbfJ8.js";import{d as h}from"./p-Bqf3TobZ.js";import{d as m}from"./p-kwrAj1JQ.js";var v=function(t,e,i,r){var s,a=arguments.length,o=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,r);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(o=(a<3?s(o):a>3?s(e,i,o):s(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o};const k=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=i(this,"rtkStateUpdate",7),this.iconPack=o,this.t=n(),this.onVideoUpdate=t=>{this.videoEnabled=t.videoEnabled}}componentDidLoad(){this.meetingChanged(this.meeting)}meetingChanged(t){var e;t&&(this.videoEnabled=t.self.videoEnabled,null===(e=t.self)||void 0===e||e.addListener("videoUpdate",this.onVideoUpdate))}disconnectedCallback(){var t;null===(t=this.meeting.self)||void 0===t||t.removeListener("videoUpdate",this.onVideoUpdate)}render(){var t,e,i;if(!this.meeting)return null;const a={meeting:this.meeting,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},o=this.states,n=!0===(null===(t=null==o?void 0:o.prefs)||void 0===t?void 0:t.mirrorVideo)||"true"===c("mirror-video");return r(s,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===(e=this.meeting)||void 0===e?void 0:e.self,iconPack:this.iconPack,t:this.t,states:o,size:this.size,isPreview:!0}):r("div",{class:"camera-off-helper"},r("rtk-participant-tile",{meeting:this.meeting,participant:null===(i=this.meeting)||void 0===i?void 0:i.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:n,iconPack:this.iconPack,t:this.t,onRtkChange:t=>{const{checked:e}=t.target;this.stateUpdate.emit({prefs:{mirrorVideo:e}}),p("mirror-video",e)}}))))}static get watchers(){return{meeting:[{meetingChanged:0}]}}static get style(){return":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}}"}},[1,"rtk-settings-video",{meeting:[16],states:[16],size:[513],iconPack:[16],t:[16],videoEnabled:[32]},void 0,{meeting:[{meetingChanged:0}]}]);function f(){"undefined"!=typeof customElements&&["rtk-settings-video","rtk-camera-selector","rtk-icon","rtk-participant-tile","rtk-switch"].forEach((t=>{switch(t){case"rtk-settings-video":customElements.get(a(t))||customElements.define(a(t),k);break;case"rtk-camera-selector":customElements.get(a(t))||d();break;case"rtk-icon":customElements.get(a(t))||g();break;case"rtk-participant-tile":customElements.get(a(t))||h();break;case"rtk-switch":customElements.get(a(t))||m()}}))}v([l()],k.prototype,"meeting",void 0),v([l()],k.prototype,"states",void 0),v([l()],k.prototype,"iconPack",void 0),v([l()],k.prototype,"t",void 0),f();export{k as R,f as d}
1
+ import{p as t,H as e,c as i,h as r,d as s,t as a}from"./p-BBHQOrFK.js";import{e as o,i as n}from"./p-DhwysA2e.js";import{b as c,s as p}from"./p-Dguuxuf6.js";import{S as l}from"./p-bRRQr4xn.js";import{d}from"./p-CW-FAeNP.js";import{d as g}from"./p-BYIBbfJ8.js";import{d as h}from"./p-BXHUa6x_.js";import{d as m}from"./p-5i84b0Gw.js";var v=function(t,e,i,r){var s,a=arguments.length,o=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,r);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(o=(a<3?s(o):a>3?s(e,i,o):s(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o};const k=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=i(this,"rtkStateUpdate",7),this.iconPack=o,this.t=n(),this.onVideoUpdate=t=>{this.videoEnabled=t.videoEnabled}}componentDidLoad(){this.meetingChanged(this.meeting)}meetingChanged(t){var e;t&&(this.videoEnabled=t.self.videoEnabled,null===(e=t.self)||void 0===e||e.addListener("videoUpdate",this.onVideoUpdate))}disconnectedCallback(){var t;null===(t=this.meeting.self)||void 0===t||t.removeListener("videoUpdate",this.onVideoUpdate)}render(){var t,e,i;if(!this.meeting)return null;const a={meeting:this.meeting,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},o=this.states,n=!0===(null===(t=null==o?void 0:o.prefs)||void 0===t?void 0:t.mirrorVideo)||"true"===c("mirror-video");return r(s,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===(e=this.meeting)||void 0===e?void 0:e.self,iconPack:this.iconPack,t:this.t,states:o,size:this.size,isPreview:!0}):r("div",{class:"camera-off-helper"},r("rtk-participant-tile",{meeting:this.meeting,participant:null===(i=this.meeting)||void 0===i?void 0:i.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:n,iconPack:this.iconPack,t:this.t,onRtkChange:t=>{const{checked:e}=t.target;this.stateUpdate.emit({prefs:{mirrorVideo:e}}),p("mirror-video",e)}}))))}static get watchers(){return{meeting:[{meetingChanged:0}]}}static get style(){return":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}}"}},[1,"rtk-settings-video",{meeting:[16],states:[16],size:[513],iconPack:[16],t:[16],videoEnabled:[32]},void 0,{meeting:[{meetingChanged:0}]}]);function f(){"undefined"!=typeof customElements&&["rtk-settings-video","rtk-camera-selector","rtk-icon","rtk-participant-tile","rtk-switch"].forEach((t=>{switch(t){case"rtk-settings-video":customElements.get(a(t))||customElements.define(a(t),k);break;case"rtk-camera-selector":customElements.get(a(t))||d();break;case"rtk-icon":customElements.get(a(t))||g();break;case"rtk-participant-tile":customElements.get(a(t))||h();break;case"rtk-switch":customElements.get(a(t))||m()}}))}v([l()],k.prototype,"meeting",void 0),v([l()],k.prototype,"states",void 0),v([l()],k.prototype,"iconPack",void 0),v([l()],k.prototype,"t",void 0),f();export{k as R,f as d}
@@ -1 +1 @@
1
- import{p as t,H as s,c as i,h as e,d as o,t as r}from"./p-BBHQOrFK.js";import{e as a,i as n}from"./p-BthnOddY.js";import{b as c,s as l}from"./p-Dguuxuf6.js";import{S as p}from"./p-DL4GSZ2e.js";import{d}from"./p-nad0N2DI.js";import{d as m}from"./p-D6vw6bT2.js";import{d as u}from"./p-BYIBbfJ8.js";import{d as k}from"./p-C9KgVl-d.js";import{d as f}from"./p-UCR1gRqj.js";import{d as h}from"./p-kwrAj1JQ.js";var g=function(t,s,i,e){var o,r=arguments.length,a=r<3?s:null===e?e=Object.getOwnPropertyDescriptor(s,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,s,i,e);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(a=(r<3?o(a):r>3?o(s,i,a):o(s,i))||a);return r>3&&a&&Object.defineProperty(s,i,a),a};const v=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=i(this,"rtkStateUpdate",7),this.iconPack=a,this.t=n()}render(){var t,s;if(!this.meeting)return null;const i={meeting:this.meeting,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},r=this.states,a=!0===(null===(t=null==r?void 0:r.prefs)||void 0===t?void 0:t.muteNotificationSounds)||"true"===c("mute-notification-sounds");return e(o,null,e("rtk-microphone-selector",Object.assign({},i),e("rtk-audio-visualizer",{participant:null===(s=this.meeting)||void 0===s?void 0:s.self,iconPack:this.iconPack,t:this.t,slot:"indicator"})),e("rtk-speaker-selector",Object.assign({},i)),e("div",{class:"group",part:"notification-toggle"},e("div",{class:"row"},e("label",{htmlFor:"notification-toggle"},this.t("settings.notification_sound")),e("rtk-switch",{id:"notification-toggle",checked:!a,onRtkChange:t=>{const{checked:s}=t.target,i=!s;this.stateUpdate.emit({prefs:{muteNotificationSounds:i}}),l("mute-notification-sounds",i)},iconPack:this.iconPack,t:this.t}))))}static get style(){return":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)}"}},[1,"rtk-settings-audio",{meeting:[16],states:[16],size:[513],iconPack:[16],t:[16]}]);function b(){"undefined"!=typeof customElements&&["rtk-settings-audio","rtk-audio-visualizer","rtk-button","rtk-icon","rtk-microphone-selector","rtk-speaker-selector","rtk-switch"].forEach((t=>{switch(t){case"rtk-settings-audio":customElements.get(r(t))||customElements.define(r(t),v);break;case"rtk-audio-visualizer":customElements.get(r(t))||d();break;case"rtk-button":customElements.get(r(t))||m();break;case"rtk-icon":customElements.get(r(t))||u();break;case"rtk-microphone-selector":customElements.get(r(t))||k();break;case"rtk-speaker-selector":customElements.get(r(t))||f();break;case"rtk-switch":customElements.get(r(t))||h()}}))}g([p()],v.prototype,"meeting",void 0),g([p()],v.prototype,"states",void 0),g([p()],v.prototype,"iconPack",void 0),g([p()],v.prototype,"t",void 0),b();export{v as R,b as d}
1
+ import{p as t,H as s,c as i,h as e,d as o,t as r}from"./p-BBHQOrFK.js";import{e as a,i as n}from"./p-DhwysA2e.js";import{b as c,s as l}from"./p-Dguuxuf6.js";import{S as p}from"./p-bRRQr4xn.js";import{d as m}from"./p-Dh8N1Wv8.js";import{d as u}from"./p-D6vw6bT2.js";import{d}from"./p-BYIBbfJ8.js";import{d as k}from"./p-BxPmWGqJ.js";import{d as f}from"./p-BGz4FsG8.js";import{d as h}from"./p-5i84b0Gw.js";var g=function(t,s,i,e){var o,r=arguments.length,a=r<3?s:null===e?e=Object.getOwnPropertyDescriptor(s,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,s,i,e);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(a=(r<3?o(a):r>3?o(s,i,a):o(s,i))||a);return r>3&&a&&Object.defineProperty(s,i,a),a};const v=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=i(this,"rtkStateUpdate",7),this.iconPack=a,this.t=n()}render(){var t,s;if(!this.meeting)return null;const i={meeting:this.meeting,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},r=this.states,a=!0===(null===(t=null==r?void 0:r.prefs)||void 0===t?void 0:t.muteNotificationSounds)||"true"===c("mute-notification-sounds");return e(o,null,e("rtk-microphone-selector",Object.assign({},i),e("rtk-audio-visualizer",{participant:null===(s=this.meeting)||void 0===s?void 0:s.self,iconPack:this.iconPack,t:this.t,slot:"indicator"})),e("rtk-speaker-selector",Object.assign({},i)),e("div",{class:"group",part:"notification-toggle"},e("div",{class:"row"},e("label",{htmlFor:"notification-toggle"},this.t("settings.notification_sound")),e("rtk-switch",{id:"notification-toggle",checked:!a,onRtkChange:t=>{const{checked:s}=t.target,i=!s;this.stateUpdate.emit({prefs:{muteNotificationSounds:i}}),l("mute-notification-sounds",i)},iconPack:this.iconPack,t:this.t}))))}static get style(){return":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)}"}},[1,"rtk-settings-audio",{meeting:[16],states:[16],size:[513],iconPack:[16],t:[16]}]);function b(){"undefined"!=typeof customElements&&["rtk-settings-audio","rtk-audio-visualizer","rtk-button","rtk-icon","rtk-microphone-selector","rtk-speaker-selector","rtk-switch"].forEach((t=>{switch(t){case"rtk-settings-audio":customElements.get(r(t))||customElements.define(r(t),v);break;case"rtk-audio-visualizer":customElements.get(r(t))||m();break;case"rtk-button":customElements.get(r(t))||u();break;case"rtk-icon":customElements.get(r(t))||d();break;case"rtk-microphone-selector":customElements.get(r(t))||k();break;case"rtk-speaker-selector":customElements.get(r(t))||f();break;case"rtk-switch":customElements.get(r(t))||h()}}))}g([p()],v.prototype,"meeting",void 0),g([p()],v.prototype,"states",void 0),g([p()],v.prototype,"iconPack",void 0),g([p()],v.prototype,"t",void 0),b();export{v as R,b as d}
@@ -1 +1 @@
1
- import{p as t,H as e,h as a,d as s,t as r}from"./p-BBHQOrFK.js";import{s as i,f as n}from"./p-CJsXePY3.js";import{e as o,i as c}from"./p-BthnOddY.js";import{S as d}from"./p-DL4GSZ2e.js";var l=function(t,e,a,s){var r,i=arguments.length,n=i<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,a):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,a,s);else for(var o=t.length-1;o>=0;o--)(r=t[o])&&(n=(i<3?r(n):i>3?r(e,a,n):r(e,a))||n);return i>3&&n&&Object.defineProperty(e,a,n),n};const p=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.isScreenShare=!1,this.variant="default",this.iconPack=o,this.t=c(),this.length=13}sizeChanged(t){this.length="sm"===t?8:13}formatNameTag(t,e){return this.isScreenShare?e?`${this.t("screen")} - ${i(t,this.length-3)} (${this.t("you")})`:`${this.t("screen")} - ${i(t,this.length)}`:e?`${i(t,this.length-3)} (${this.t("you")})`:i(t,this.length)}render(){var t,e,r;const i=n((null===(t=this.participant)||void 0===t?void 0:t.name)||""),o=(null===(e=this.participant)||void 0===e?void 0:e.id)===(null===(r=this.meeting)||void 0===r?void 0:r.self.id);return a(s,{key:"9040aabe429bea4cfcdc7a6635eeb336f2154961",title:i},a("slot",{key:"f66091f5af1914e91e14415a4758f9bdc15c0c85",name:"start"}),a("span",{key:"241ca42f60b258c5b3c20f423e9ade272f8f5a8b",class:"name"},this.formatNameTag(i,o)),a("slot",{key:"7f6f9b8e5c2ea76042a0ff812458af6ed702b43d",name:"end"}))}static get watchers(){return{size:[{sizeChanged:0}]}}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:inline-flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-1\\.5, 6px);padding-right:var(--rtk-space-1\\.5, 6px);font-size:14px;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}span.name{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}::slotted(rtk-audio-visualizer[slot='start']){margin-right:var(--rtk-space-1\\.5, 6px)}::slotted(rtk-audio-visualizer[slot='end']){margin-left:var(--rtk-space-1\\.5, 6px)}:host([size='sm']){font-size:12px;--tw-bg-opacity:0.6}:host([variant='text']){background-color:transparent;padding:var(--rtk-space-0, 0px)}"}},[257,"rtk-name-tag",{participant:[16],meeting:[16],size:[513],isScreenShare:[4,"is-screen-share"],variant:[513],iconPack:[16],t:[16],length:[32]},void 0,{size:[{sizeChanged:0}]}]);function f(){"undefined"!=typeof customElements&&["rtk-name-tag"].forEach((t=>{"rtk-name-tag"===t&&(customElements.get(r(t))||customElements.define(r(t),p))}))}l([d()],p.prototype,"meeting",void 0),l([d()],p.prototype,"iconPack",void 0),l([d()],p.prototype,"t",void 0),f();export{p as R,f as d}
1
+ import{p as t,H as e,h as a,d as s,t as r}from"./p-BBHQOrFK.js";import{s as i,f as n}from"./p-CJsXePY3.js";import{e as o,i as c}from"./p-DhwysA2e.js";import{S as d}from"./p-bRRQr4xn.js";var l=function(t,e,a,s){var r,i=arguments.length,n=i<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,a):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,a,s);else for(var o=t.length-1;o>=0;o--)(r=t[o])&&(n=(i<3?r(n):i>3?r(e,a,n):r(e,a))||n);return i>3&&n&&Object.defineProperty(e,a,n),n};const p=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.isScreenShare=!1,this.variant="default",this.iconPack=o,this.t=c(),this.length=13}sizeChanged(t){this.length="sm"===t?8:13}formatNameTag(t,e){return this.isScreenShare?e?`${this.t("screen")} - ${i(t,this.length-3)} (${this.t("you")})`:`${this.t("screen")} - ${i(t,this.length)}`:e?`${i(t,this.length-3)} (${this.t("you")})`:i(t,this.length)}render(){var t,e,r;const i=n((null===(t=this.participant)||void 0===t?void 0:t.name)||""),o=(null===(e=this.participant)||void 0===e?void 0:e.id)===(null===(r=this.meeting)||void 0===r?void 0:r.self.id);return a(s,{key:"9040aabe429bea4cfcdc7a6635eeb336f2154961",title:i},a("slot",{key:"f66091f5af1914e91e14415a4758f9bdc15c0c85",name:"start"}),a("span",{key:"241ca42f60b258c5b3c20f423e9ade272f8f5a8b",class:"name"},this.formatNameTag(i,o)),a("slot",{key:"7f6f9b8e5c2ea76042a0ff812458af6ed702b43d",name:"end"}))}static get watchers(){return{size:[{sizeChanged:0}]}}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:inline-flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-1\\.5, 6px);padding-right:var(--rtk-space-1\\.5, 6px);font-size:14px;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}span.name{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}::slotted(rtk-audio-visualizer[slot='start']){margin-right:var(--rtk-space-1\\.5, 6px)}::slotted(rtk-audio-visualizer[slot='end']){margin-left:var(--rtk-space-1\\.5, 6px)}:host([size='sm']){font-size:12px;--tw-bg-opacity:0.6}:host([variant='text']){background-color:transparent;padding:var(--rtk-space-0, 0px)}"}},[257,"rtk-name-tag",{participant:[16],meeting:[16],size:[513],isScreenShare:[4,"is-screen-share"],variant:[513],iconPack:[16],t:[16],length:[32]},void 0,{size:[{sizeChanged:0}]}]);function f(){"undefined"!=typeof customElements&&["rtk-name-tag"].forEach((t=>{"rtk-name-tag"===t&&(customElements.get(r(t))||customElements.define(r(t),p))}))}l([d()],p.prototype,"meeting",void 0),l([d()],p.prototype,"iconPack",void 0),l([d()],p.prototype,"t",void 0),f();export{p as R,f as d}
@@ -1 +1 @@
1
- import{p as t,H as r,c as a,h as i,d as e,t as s}from"./p-BBHQOrFK.js";import{c as o,e as n,i as c}from"./p-BthnOddY.js";import{S as l}from"./p-DL4GSZ2e.js";import"./p-DxDYE5-a.js";import"./p-C0vp-Q7v.js";import"./p-Dguuxuf6.js";import{d}from"./p-D6vw6bT2.js";import{d as p}from"./p-BYIBbfJ8.js";var g=function(t,r,a,i){var e,s=arguments.length,o=s<3?r:null===i?i=Object.getOwnPropertyDescriptor(r,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,r,a,i);else for(var n=t.length-1;n>=0;n--)(e=t[n])&&(o=(s<3?e(o):s>3?e(r,a,o):e(r,a))||o);return s>3&&o&&Object.defineProperty(r,a,o),o};const h=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=a(this,"rtkStateUpdate",7),this.updateActivePlugins=()=>{this.meeting&&(this.activatedPluginsId=this.meeting.plugins.active.toArray().map((t=>t.id)))},this.config=o(),this.iconPack=n,this.t=c(),this.plugins=[],this.activatedPluginsId=[],this.close=()=>{this.stateUpdate.emit({activeSidebar:!1,sidebar:void 0})}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t;null===(t=this.meeting)||void 0===t||t.plugins.all.removeListener("stateUpdate",this.updateActivePlugins)}meetingChanged(t,r){r&&r.plugins.all.removeListener("stateUpdate",this.updateActivePlugins),null!=t&&(this.plugins=t.plugins.all.toArray(),this.updateActivePlugins(),t.plugins.all.addListener("stateUpdate",this.updateActivePlugins))}render(){return i(e,{key:"9a0c98a1c3313bae757ecdc7c2c6932456c2d924"},0===this.plugins.length&&i("div",{key:"ea6629a4739c87842bb0fa7cb0c73d0dc9511f51",class:"empty-plugins"},this.t("plugins.empty")),i("ul",{key:"9632e9183e3c1dbbaa5adb80b81cb66096b6742f",class:"scrollbar"},this.plugins.map((t=>{var r,a;return i("li",{key:t.name,class:"plugin"},i("div",{class:"metadata"},i("img",{src:t.icon,alt:t.name}),i("div",{class:"name"},t.name)),!this.activatedPluginsId.includes(t.id)&&(null===(r=null==t?void 0:t.permissions)||void 0===r?void 0:r.canActivate)&&i("div",{class:"buttons"},i("rtk-button",{kind:"icon",size:"lg",onClick:()=>{t.activate(),this.close()},"aria-label":`${this.t("activate")} ${t.name}`},i("rtk-icon",{icon:this.iconPack.rocket,tabIndex:-1,"aria-hidden":!0}))),this.activatedPluginsId.includes(t.id)&&(null===(a=null==t?void 0:t.permissions)||void 0===a?void 0:a.canDeactivate)&&i("div",{class:"buttons"},i("rtk-button",{kind:"icon",size:"lg",onClick:()=>{t.deactivate()},"aria-label":`${this.t("close")} ${t.name}`},i("rtk-icon",{icon:this.iconPack.dismiss,tabIndex:-1,"aria-hidden":!0}))))}))))}static get watchers(){return{meeting:[{meetingChanged:0}]}}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);display:flex;height:100%;width:100%;flex-direction:column;font-size:14px;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}h3{margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px);margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);display:block;padding:var(--rtk-space-0, 0px);font-size:16px;font-weight:400;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));text-align:center}ul{overflow-y:auto;padding:var(--rtk-space-0, 0px);flex-grow:1;flex-basis:0}.metadata{display:flex;align-items:center}.metadata img{height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);border-radius:var(--rtk-border-radius-sm, 4px)}.metadata .name{margin-left:var(--rtk-space-2, 8px);font-weight:500}.plugin{display:flex;align-items:center;justify-content:space-between;padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px)}.plugin .buttons{display:flex;align-items:center}.empty-plugins{display:flex;height:100%;width:100%;align-items:center;justify-content:center;padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}rtk-button:hover{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);--tw-ring-opacity:1;--tw-ring-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-ring-opacity));--tw-ring-offset-width:2px;--tw-ring-offset-color:rgb(var(--rtk-colors-background-1000, 8 8 8))}"}},[1,"rtk-plugins",{meeting:[16],config:[16],size:[513],iconPack:[16],t:[16],plugins:[32],activatedPluginsId:[32]},void 0,{meeting:[{meetingChanged:0}]}]);function v(){"undefined"!=typeof customElements&&["rtk-plugins","rtk-button","rtk-icon"].forEach((t=>{switch(t){case"rtk-plugins":customElements.get(s(t))||customElements.define(s(t),h);break;case"rtk-button":customElements.get(s(t))||d();break;case"rtk-icon":customElements.get(s(t))||p()}}))}g([l()],h.prototype,"meeting",void 0),g([l()],h.prototype,"config",void 0),g([l()],h.prototype,"iconPack",void 0),g([l()],h.prototype,"t",void 0),v();export{h as R,v as d}
1
+ import{p as t,H as r,c as a,h as i,d as e,t as s}from"./p-BBHQOrFK.js";import{c as o,e as n,i as c}from"./p-DhwysA2e.js";import{S as l}from"./p-bRRQr4xn.js";import"./p-DxDYE5-a.js";import"./p-C0vp-Q7v.js";import"./p-Dguuxuf6.js";import{d}from"./p-D6vw6bT2.js";import{d as p}from"./p-BYIBbfJ8.js";var g=function(t,r,a,i){var e,s=arguments.length,o=s<3?r:null===i?i=Object.getOwnPropertyDescriptor(r,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,r,a,i);else for(var n=t.length-1;n>=0;n--)(e=t[n])&&(o=(s<3?e(o):s>3?e(r,a,o):e(r,a))||o);return s>3&&o&&Object.defineProperty(r,a,o),o};const h=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=a(this,"rtkStateUpdate",7),this.updateActivePlugins=()=>{this.meeting&&(this.activatedPluginsId=this.meeting.plugins.active.toArray().map((t=>t.id)))},this.config=o(),this.iconPack=n,this.t=c(),this.plugins=[],this.activatedPluginsId=[],this.close=()=>{this.stateUpdate.emit({activeSidebar:!1,sidebar:void 0})}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t;null===(t=this.meeting)||void 0===t||t.plugins.all.removeListener("stateUpdate",this.updateActivePlugins)}meetingChanged(t,r){r&&r.plugins.all.removeListener("stateUpdate",this.updateActivePlugins),null!=t&&(this.plugins=t.plugins.all.toArray(),this.updateActivePlugins(),t.plugins.all.addListener("stateUpdate",this.updateActivePlugins))}render(){return i(e,{key:"9a0c98a1c3313bae757ecdc7c2c6932456c2d924"},0===this.plugins.length&&i("div",{key:"ea6629a4739c87842bb0fa7cb0c73d0dc9511f51",class:"empty-plugins"},this.t("plugins.empty")),i("ul",{key:"9632e9183e3c1dbbaa5adb80b81cb66096b6742f",class:"scrollbar"},this.plugins.map((t=>{var r,a;return i("li",{key:t.name,class:"plugin"},i("div",{class:"metadata"},i("img",{src:t.icon,alt:t.name}),i("div",{class:"name"},t.name)),!this.activatedPluginsId.includes(t.id)&&(null===(r=null==t?void 0:t.permissions)||void 0===r?void 0:r.canActivate)&&i("div",{class:"buttons"},i("rtk-button",{kind:"icon",size:"lg",onClick:()=>{t.activate(),this.close()},"aria-label":`${this.t("activate")} ${t.name}`},i("rtk-icon",{icon:this.iconPack.rocket,tabIndex:-1,"aria-hidden":!0}))),this.activatedPluginsId.includes(t.id)&&(null===(a=null==t?void 0:t.permissions)||void 0===a?void 0:a.canDeactivate)&&i("div",{class:"buttons"},i("rtk-button",{kind:"icon",size:"lg",onClick:()=>{t.deactivate()},"aria-label":`${this.t("close")} ${t.name}`},i("rtk-icon",{icon:this.iconPack.dismiss,tabIndex:-1,"aria-hidden":!0}))))}))))}static get watchers(){return{meeting:[{meetingChanged:0}]}}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);display:flex;height:100%;width:100%;flex-direction:column;font-size:14px;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}h3{margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px);margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);display:block;padding:var(--rtk-space-0, 0px);font-size:16px;font-weight:400;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));text-align:center}ul{overflow-y:auto;padding:var(--rtk-space-0, 0px);flex-grow:1;flex-basis:0}.metadata{display:flex;align-items:center}.metadata img{height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);border-radius:var(--rtk-border-radius-sm, 4px)}.metadata .name{margin-left:var(--rtk-space-2, 8px);font-weight:500}.plugin{display:flex;align-items:center;justify-content:space-between;padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px)}.plugin .buttons{display:flex;align-items:center}.empty-plugins{display:flex;height:100%;width:100%;align-items:center;justify-content:center;padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}rtk-button:hover{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);--tw-ring-opacity:1;--tw-ring-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-ring-opacity));--tw-ring-offset-width:2px;--tw-ring-offset-color:rgb(var(--rtk-colors-background-1000, 8 8 8))}"}},[1,"rtk-plugins",{meeting:[16],config:[16],size:[513],iconPack:[16],t:[16],plugins:[32],activatedPluginsId:[32]},void 0,{meeting:[{meetingChanged:0}]}]);function v(){"undefined"!=typeof customElements&&["rtk-plugins","rtk-button","rtk-icon"].forEach((t=>{switch(t){case"rtk-plugins":customElements.get(s(t))||customElements.define(s(t),h);break;case"rtk-button":customElements.get(s(t))||d();break;case"rtk-icon":customElements.get(s(t))||p()}}))}g([l()],h.prototype,"meeting",void 0),g([l()],h.prototype,"config",void 0),g([l()],h.prototype,"iconPack",void 0),g([l()],h.prototype,"t",void 0),v();export{h as R,v as d}
@@ -1 +1 @@
1
- import{p as t,H as e,w as i,h as r,d as a,t as s}from"./p-BBHQOrFK.js";import{e as o,i as n}from"./p-BthnOddY.js";import{S as c}from"./p-DL4GSZ2e.js";import{d as p}from"./p-BYIBbfJ8.js";var l=function(t,e,i,r){var a,s=arguments.length,o=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,r);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(o=(s<3?a(o):s>3?a(e,i,o):a(e,i))||o);return s>3&&o&&Object.defineProperty(e,i,o),o};const d=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.iconPack=o,this.variant="full",this.t=n(),this.videoDevices=[],this.canProduceVideo=!0,this.stageStateListener=()=>{this.canProduceVideo="ALLOWED"===this.meeting.self.permissions.canProduceVideo},this.deviceListUpdateListener=({devices:t})=>{this.videoDevices=t.filter((t=>"videoinput"===t.kind))},this.deviceUpdateListener=({device:t})=>{"videoinput"===t.kind&&(this.currentDevice=t)},this.mediaPermissionUpdateListener=async({kind:t,message:e})=>{this.meeting&&"video"===t&&"ACCEPTED"===e&&(this.videoDevices=await this.meeting.self.getVideoDevices())}}meetingChanged(t){var e,r,a;t&&(null===(e=t.self)||void 0===e||e.addListener("deviceListUpdate",this.deviceListUpdateListener),null===(r=t.self)||void 0===r||r.addListener("deviceUpdate",this.deviceUpdateListener),null===(a=t.self)||void 0===a||a.addListener("mediaPermissionUpdate",this.mediaPermissionUpdateListener),i((async()=>{var e,i;const r=await t.self.getVideoDevices(),a=null===(e=t.self.getCurrentDevices())||void 0===e?void 0:e.video;this.videoDevices=null!=a?[null!==(i=r.find((t=>t.deviceId===a.deviceId)))&&void 0!==i?i:a,...r.filter((t=>t.deviceId!==a.deviceId))]:r})))}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t,e,i,r,a;null===(e=null===(t=this.meeting)||void 0===t?void 0:t.stage)||void 0===e||e.removeListener("stageStatusUpdate",this.stageStateListener),null===(i=this.meeting)||void 0===i||i.self.removeListener("deviceListUpdate",this.deviceListUpdateListener),null===(r=this.meeting)||void 0===r||r.self.removeListener("deviceUpdate",this.deviceUpdateListener),null===(a=this.meeting)||void 0===a||a.self.removeListener("mediaPermissionUpdate",this.mediaPermissionUpdateListener)}async setDevice(t){var e;const i=this.videoDevices.find((e=>e.deviceId===t));this.currentDevice=i,null!=i&&await(null===(e=this.meeting)||void 0===e?void 0:e.self.setDevice(i))}render(){if(!this.meeting)return null;let t=0;return r(a,null,this.canProduceVideo&&r("div",{class:"group container "+this.variant,part:"camera-selection"},r("label",null,"inline"!==this.variant&&this.t("camera"),r("rtk-icon",{icon:this.iconPack.video_on,size:"sm"})),r("div",{class:"row"},r("select",{class:"rtk-select",onChange:t=>this.setDevice(t.target.value)},this.videoDevices.map((({deviceId:e,label:i})=>{var a;return r("option",{selected:(null===(a=this.currentDevice)||void 0===a?void 0:a.deviceId)===e,value:e},i||"Camera "+ ++t)}))))))}static get watchers(){return{meeting:[{meetingChanged:0}]}}static get style(){return".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);width:100%;max-width:100%;text-overflow:ellipsis}.inline .rtk-select{margin-top:var(--rtk-space-1, 4px);width:100%;padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-1\\.5, 6px);padding-right:var(--rtk-space-1\\.5, 6px);padding-right:var(--rtk-space-8, 32px);font-size:14px}.row{margin-bottom:var(--rtk-space-2, 8px);display:flex;width:100%;align-items:center;justify-content:space-between;gap:var(--rtk-space-3, 12px)}.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%}.group{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0, 0px)}.group>*{margin-bottom:var(--rtk-space-0, 0px)}label{display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;gap:var(--rtk-space-1, 4px);font-size:14px}.inline.container{display:flex;align-items:center;justify-content:flex-start;gap:var(--rtk-space-2, 8px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px)}"}},[1,"rtk-camera-selector",{meeting:[16],size:[513],iconPack:[16],variant:[1],t:[16],videoDevices:[32],currentDevice:[32],canProduceVideo:[32]},void 0,{meeting:[{meetingChanged:0}]}]);function v(){"undefined"!=typeof customElements&&["rtk-camera-selector","rtk-icon"].forEach((t=>{switch(t){case"rtk-camera-selector":customElements.get(s(t))||customElements.define(s(t),d);break;case"rtk-icon":customElements.get(s(t))||p()}}))}l([c()],d.prototype,"meeting",void 0),l([c()],d.prototype,"iconPack",void 0),l([c()],d.prototype,"t",void 0),v();export{d as R,v as d}
1
+ import{p as t,H as e,w as i,h as r,d as a,t as s}from"./p-BBHQOrFK.js";import{e as o,i as n}from"./p-DhwysA2e.js";import{S as c}from"./p-bRRQr4xn.js";import{d as p}from"./p-BYIBbfJ8.js";var l=function(t,e,i,r){var a,s=arguments.length,o=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,r);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(o=(s<3?a(o):s>3?a(e,i,o):a(e,i))||o);return s>3&&o&&Object.defineProperty(e,i,o),o};const d=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.iconPack=o,this.variant="full",this.t=n(),this.videoDevices=[],this.canProduceVideo=!0,this.stageStateListener=()=>{this.canProduceVideo="ALLOWED"===this.meeting.self.permissions.canProduceVideo},this.deviceListUpdateListener=({devices:t})=>{this.videoDevices=t.filter((t=>"videoinput"===t.kind))},this.deviceUpdateListener=({device:t})=>{"videoinput"===t.kind&&(this.currentDevice=t)},this.mediaPermissionUpdateListener=async({kind:t,message:e})=>{this.meeting&&"video"===t&&"ACCEPTED"===e&&(this.videoDevices=await this.meeting.self.getVideoDevices())}}meetingChanged(t){var e,r,a;t&&(null===(e=t.self)||void 0===e||e.addListener("deviceListUpdate",this.deviceListUpdateListener),null===(r=t.self)||void 0===r||r.addListener("deviceUpdate",this.deviceUpdateListener),null===(a=t.self)||void 0===a||a.addListener("mediaPermissionUpdate",this.mediaPermissionUpdateListener),i((async()=>{var e,i;const r=await t.self.getVideoDevices(),a=null===(e=t.self.getCurrentDevices())||void 0===e?void 0:e.video;this.videoDevices=null!=a?[null!==(i=r.find((t=>t.deviceId===a.deviceId)))&&void 0!==i?i:a,...r.filter((t=>t.deviceId!==a.deviceId))]:r})))}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t,e,i,r,a;null===(e=null===(t=this.meeting)||void 0===t?void 0:t.stage)||void 0===e||e.removeListener("stageStatusUpdate",this.stageStateListener),null===(i=this.meeting)||void 0===i||i.self.removeListener("deviceListUpdate",this.deviceListUpdateListener),null===(r=this.meeting)||void 0===r||r.self.removeListener("deviceUpdate",this.deviceUpdateListener),null===(a=this.meeting)||void 0===a||a.self.removeListener("mediaPermissionUpdate",this.mediaPermissionUpdateListener)}async setDevice(t){var e;const i=this.videoDevices.find((e=>e.deviceId===t));this.currentDevice=i,null!=i&&await(null===(e=this.meeting)||void 0===e?void 0:e.self.setDevice(i))}render(){if(!this.meeting)return null;let t=0;return r(a,null,this.canProduceVideo&&r("div",{class:"group container "+this.variant,part:"camera-selection"},r("label",null,"inline"!==this.variant&&this.t("camera"),r("rtk-icon",{icon:this.iconPack.video_on,size:"sm"})),r("div",{class:"row"},r("select",{class:"rtk-select",onChange:t=>this.setDevice(t.target.value)},this.videoDevices.map((({deviceId:e,label:i})=>{var a;return r("option",{selected:(null===(a=this.currentDevice)||void 0===a?void 0:a.deviceId)===e,value:e},i||"Camera "+ ++t)}))))))}static get watchers(){return{meeting:[{meetingChanged:0}]}}static get style(){return".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);width:100%;max-width:100%;text-overflow:ellipsis}.inline .rtk-select{margin-top:var(--rtk-space-1, 4px);width:100%;padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-1\\.5, 6px);padding-right:var(--rtk-space-1\\.5, 6px);padding-right:var(--rtk-space-8, 32px);font-size:14px}.row{margin-bottom:var(--rtk-space-2, 8px);display:flex;width:100%;align-items:center;justify-content:space-between;gap:var(--rtk-space-3, 12px)}.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%}.group{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0, 0px)}.group>*{margin-bottom:var(--rtk-space-0, 0px)}label{display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;gap:var(--rtk-space-1, 4px);font-size:14px}.inline.container{display:flex;align-items:center;justify-content:flex-start;gap:var(--rtk-space-2, 8px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px)}"}},[1,"rtk-camera-selector",{meeting:[16],size:[513],iconPack:[16],variant:[1],t:[16],videoDevices:[32],currentDevice:[32],canProduceVideo:[32]},void 0,{meeting:[{meetingChanged:0}]}]);function v(){"undefined"!=typeof customElements&&["rtk-camera-selector","rtk-icon"].forEach((t=>{switch(t){case"rtk-camera-selector":customElements.get(s(t))||customElements.define(s(t),d);break;case"rtk-icon":customElements.get(s(t))||p()}}))}l([c()],d.prototype,"meeting",void 0),l([c()],d.prototype,"iconPack",void 0),l([c()],d.prototype,"t",void 0),v();export{d as R,v as d}
@@ -1 +1 @@
1
- import{p as t,H as r,c as e,h as a,d as o,t as s}from"./p-BBHQOrFK.js";import{e as i,i as n}from"./p-BthnOddY.js";import{S as c}from"./p-DL4GSZ2e.js";import{d}from"./p-D6vw6bT2.js";import{d as p}from"./p-BYIBbfJ8.js";var l=function(t,r,e,a){var o,s=arguments.length,i=s<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,e):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,r,e,a);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s<3?o(i):s>3?o(r,e,i):o(r,e))||i);return s>3&&i&&Object.defineProperty(r,e,i),i};const b=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=e(this,"rtkStateUpdate",7),this.iconPack=i,this.t=n(),this.messagePayload={to:"Everyone",message:""},this.successMessage=!1}close(){var t;null===(t=this.stateUpdate)||void 0===t||t.emit({activeBroadcastMessageModal:!1})}sendMessage(){this.successMessage=!0,setTimeout((()=>{this.close()}),2e3)}render(){return a(o,{key:"0ddf3933cc56bd2d95a2d112965c22070a52c1ca"},a("div",{key:"4a1428283dee02f1d09b0650b0facceebd612772",class:"content-col"},a("h2",{key:"610e4ada5ae3543b629526324e4608e9950a20b0"},"Broadcast message to"),a("select",{key:"46b4a3573a196f00ad1d9d20d92f3e03b250162c",onChange:t=>{this.messagePayload=Object.assign(Object.assign({},this.messagePayload),{to:t.target.value})}},a("option",{key:"aaa981db25435bb257d02086463703d3d2a14ec2"},"Everyone"),a("option",{key:"4bae49f7600fe5b5156f030e2f2433b334856e00"},"List of rooms")),a("textarea",{key:"0d6da453ebb0b9711c79ba3c2c2c71a662955a9d",placeholder:"Type message here...",onInput:t=>{this.messagePayload=Object.assign(Object.assign({},this.messagePayload),{message:t.target.value})}}),this.successMessage?a("p",null,"Message sent to ",this.messagePayload.to,a("rtk-icon",{icon:this.iconPack.checkmark})):a("div",{class:"content-row"},a("rtk-button",{onClick:()=>this.close(),variant:"secondary"},"Cancel")," ",a("rtk-button",{variant:"primary",onClick:()=>this.sendMessage()},"Send"))))}static get style(){return":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:flex;flex-direction:column;overflow:hidden;border-radius:var(--rtk-border-radius-md, 8px);padding:var(--rtk-space-4, 16px);width:100%;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));width:400px;max-width:80%}.content-col{display:flex;width:100%;flex-direction:column}h2{margin:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-2, 8px)}.content-row{display:flex;width:100%;flex-direction:row}.content-row rtk-button{margin-top:var(--rtk-space-4, 16px);width:100%}textarea{margin-top:var(--rtk-space-3, 12px);resize:none;border-radius:var(--rtk-border-radius-sm, 4px);border-width:var(--rtk-border-width-none, 0);border-style:none;font-family:var(--rtk-font-family, sans-serif);outline:2px solid transparent;outline-offset:2px;height:var(--rtk-space-16, 64px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px);color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}textarea::-moz-placeholder{color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}textarea::placeholder{color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}select{border-radius:var(--rtk-border-radius-sm, 4px);border-width:var(--rtk-border-width-none, 0);border-style:none;padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);outline:2px solid transparent;outline-offset:2px;border-right-width:var(--rtk-border-width-md, 2px);border-style:solid;border-color:transparent;--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))}p{margin:var(--rtk-space-0, 0px);margin-top:var(--rtk-space-2, 8px);width:100%;text-align:center;font-size:14px;--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity));display:flex;flex-direction:row;align-items:center;justify-content:center}p rtk-icon{margin-left:var(--rtk-space-1, 4px);height:var(--rtk-space-5, 20px)}"}},[1,"rtk-broadcast-message-modal",{meeting:[16],states:[16],iconPack:[16],t:[16],messagePayload:[32],successMessage:[32]}]);function k(){"undefined"!=typeof customElements&&["rtk-broadcast-message-modal","rtk-button","rtk-icon"].forEach((t=>{switch(t){case"rtk-broadcast-message-modal":customElements.get(s(t))||customElements.define(s(t),b);break;case"rtk-button":customElements.get(s(t))||d();break;case"rtk-icon":customElements.get(s(t))||p()}}))}l([c()],b.prototype,"meeting",void 0),l([c()],b.prototype,"states",void 0),l([c()],b.prototype,"iconPack",void 0),l([c()],b.prototype,"t",void 0),k();export{b as R,k as d}
1
+ import{p as t,H as r,c as e,h as a,d as o,t as s}from"./p-BBHQOrFK.js";import{e as i,i as n}from"./p-DhwysA2e.js";import{S as c}from"./p-bRRQr4xn.js";import{d}from"./p-D6vw6bT2.js";import{d as p}from"./p-BYIBbfJ8.js";var l=function(t,r,e,a){var o,s=arguments.length,i=s<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,e):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,r,e,a);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s<3?o(i):s>3?o(r,e,i):o(r,e))||i);return s>3&&i&&Object.defineProperty(r,e,i),i};const b=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=e(this,"rtkStateUpdate",7),this.iconPack=i,this.t=n(),this.messagePayload={to:"Everyone",message:""},this.successMessage=!1}close(){var t;null===(t=this.stateUpdate)||void 0===t||t.emit({activeBroadcastMessageModal:!1})}sendMessage(){this.successMessage=!0,setTimeout((()=>{this.close()}),2e3)}render(){return a(o,{key:"0ddf3933cc56bd2d95a2d112965c22070a52c1ca"},a("div",{key:"4a1428283dee02f1d09b0650b0facceebd612772",class:"content-col"},a("h2",{key:"610e4ada5ae3543b629526324e4608e9950a20b0"},"Broadcast message to"),a("select",{key:"46b4a3573a196f00ad1d9d20d92f3e03b250162c",onChange:t=>{this.messagePayload=Object.assign(Object.assign({},this.messagePayload),{to:t.target.value})}},a("option",{key:"aaa981db25435bb257d02086463703d3d2a14ec2"},"Everyone"),a("option",{key:"4bae49f7600fe5b5156f030e2f2433b334856e00"},"List of rooms")),a("textarea",{key:"0d6da453ebb0b9711c79ba3c2c2c71a662955a9d",placeholder:"Type message here...",onInput:t=>{this.messagePayload=Object.assign(Object.assign({},this.messagePayload),{message:t.target.value})}}),this.successMessage?a("p",null,"Message sent to ",this.messagePayload.to,a("rtk-icon",{icon:this.iconPack.checkmark})):a("div",{class:"content-row"},a("rtk-button",{onClick:()=>this.close(),variant:"secondary"},"Cancel")," ",a("rtk-button",{variant:"primary",onClick:()=>this.sendMessage()},"Send"))))}static get style(){return":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:flex;flex-direction:column;overflow:hidden;border-radius:var(--rtk-border-radius-md, 8px);padding:var(--rtk-space-4, 16px);width:100%;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));width:400px;max-width:80%}.content-col{display:flex;width:100%;flex-direction:column}h2{margin:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-2, 8px)}.content-row{display:flex;width:100%;flex-direction:row}.content-row rtk-button{margin-top:var(--rtk-space-4, 16px);width:100%}textarea{margin-top:var(--rtk-space-3, 12px);resize:none;border-radius:var(--rtk-border-radius-sm, 4px);border-width:var(--rtk-border-width-none, 0);border-style:none;font-family:var(--rtk-font-family, sans-serif);outline:2px solid transparent;outline-offset:2px;height:var(--rtk-space-16, 64px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px);color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}textarea::-moz-placeholder{color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}textarea::placeholder{color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}select{border-radius:var(--rtk-border-radius-sm, 4px);border-width:var(--rtk-border-width-none, 0);border-style:none;padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);outline:2px solid transparent;outline-offset:2px;border-right-width:var(--rtk-border-width-md, 2px);border-style:solid;border-color:transparent;--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))}p{margin:var(--rtk-space-0, 0px);margin-top:var(--rtk-space-2, 8px);width:100%;text-align:center;font-size:14px;--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity));display:flex;flex-direction:row;align-items:center;justify-content:center}p rtk-icon{margin-left:var(--rtk-space-1, 4px);height:var(--rtk-space-5, 20px)}"}},[1,"rtk-broadcast-message-modal",{meeting:[16],states:[16],iconPack:[16],t:[16],messagePayload:[32],successMessage:[32]}]);function k(){"undefined"!=typeof customElements&&["rtk-broadcast-message-modal","rtk-button","rtk-icon"].forEach((t=>{switch(t){case"rtk-broadcast-message-modal":customElements.get(s(t))||customElements.define(s(t),b);break;case"rtk-button":customElements.get(s(t))||d();break;case"rtk-icon":customElements.get(s(t))||p()}}))}l([c()],b.prototype,"meeting",void 0),l([c()],b.prototype,"states",void 0),l([c()],b.prototype,"iconPack",void 0),l([c()],b.prototype,"t",void 0),k();export{b as R,k as d}
@@ -1 +1 @@
1
- import{j as t,k as n,l as r,m as o,n as e,o as i,p as s,q as a,r as c,s as f,t as u,v as d,w as l,x as v,y as m,z as p,A as b,S as g}from"./p-BthnOddY.js";import{i as y,a as F,b as $}from"./p-Dkd2PDJ-.js";var k=[0,.5,1,1.5,2,3,4,5,6,7,8,9,10,12,14,16,20,24,28,32,36,40,44,48,52,56,60,64,72,80,96];const x={darkest:{background:{1e3:"#080808",900:"#1A1A1A",800:"#1E1E1E",700:"#2C2C2C",600:"#393939"},text:"#FFFFFF"},dark:{background:{1e3:"#252525",900:"#2F2F2F",800:"#323232",700:"#3E3E3E",600:"#4A4A4A"},text:"#F5F5F5","video-bg":"#1C1C1C"},light:{background:{1e3:"#FFFFFF",900:"#F5F5F5",800:"#EBEBEB",700:"#E0E0E0",600:"#D6D6D6"},text:"#111111","text-on-brand":"#ffffff","video-bg":"#DADADA"}},j={none:{none:0,sm:0,md:0,lg:0},thin:{none:0,sm:1,md:2,lg:4},fat:{none:0,sm:2,md:4,lg:8}},h={sharp:{none:0,sm:0,md:0,lg:0},rounded:{none:0,sm:4,md:8,lg:12},"extra-rounded":{none:0,sm:8,md:16,lg:24},circular:{none:9999,sm:9999,md:9999,lg:9999}};function E(t){let n="0",r="0",o="0";return 4==(t=t.trim()).length?(n="0x"+t[1]+t[1],r="0x"+t[2]+t[2],o="0x"+t[3]+t[3]):t.length>6&&(n="0x"+t[1]+t[2],r="0x"+t[3]+t[4],o="0x"+t[5]+t[6]),[+n,+r,+o]}const A=t=>"string"==typeof t&&7===t.length&&t.startsWith("#"),O="--rtk-";function D(t,n=O){return n+t}const w=(t,n,r=O)=>{Object.keys(n).forEach((o=>{const e=n[o];if("string"==typeof e)if("text"===o||"text-on-brand"===o){const n=E(e).join(" ");t.style.setProperty(D(`colors-${o}-1000`,r),`${n}`),t.style.setProperty(D(`colors-${o}-900`,r),`${n} / 0.88`),t.style.setProperty(D(`colors-${o}-800`,r),`${n} / 0.76`),t.style.setProperty(D(`colors-${o}-700`,r),`${n} / 0.64`),t.style.setProperty(D(`colors-${o}-600`,r),`${n} / 0.52`)}else{const n=E(e).join(" ");t.style.setProperty(D(`colors-${o}`,r),n)}else"object"==typeof e&&Object.keys(e).forEach((n=>{const i=E(e[n]).join(" ");t.style.setProperty(D(`colors-${o}-${n}`,r),i)}))}))},C=(t,{spacingBase:n,borderRadius:r,borderWidth:o,colors:e,fontFamily:i,googleFont:s,theme:a,tokenPrefix:c=O})=>{if("object"!=typeof t)throw new Error("[rtk-ui-kit] (provideRtkDesignSystem): Passed element is not a valid HTML Element");if("string"==typeof s&&((t=>{const n=[];if(null==document.querySelector("link[data-rtk-font]")){const t=document.createElement("link");t.rel="preconnect",t.setAttribute("data-rtk-font","true"),t.href="https://fonts.googleapis.com";const r=t.cloneNode(!0);r.href="https://fonts.gstatic.com",r.crossOrigin="",n.push(t,r)}const r=document.createElement("link");r.rel="stylesheet",r.setAttribute("data-rtk-font",t),r.href=encodeURI(`https://fonts.googleapis.com/css2?family=${t}:wght@${[400,500,700].join(";")}&display=swap`),n.push(r),document.head.append(...n)})(s),t.style.setProperty(D("font-family",c),s)),"string"==typeof i&&t.style.setProperty(D("font-family",c),i),"number"==typeof n&&((t,n,r=O)=>{k.forEach((o=>{t.style.setProperty(D(`space-${o}`,r),o*n+"px")}))})(t,n,c),"string"==typeof o&&((t,n,r=O)=>{if(n in j){const o=j[n];Object.keys(o).forEach((n=>{t.style.setProperty(D(`border-width-${n}`,r),`${o[n]}px`)}))}})(t,o,c),"string"==typeof r&&((t,n,r=O)=>{if(n in h){const o=h[n];Object.keys(o).forEach((n=>{t.style.setProperty(D(`border-radius-${n}`,r),`${o[n]}px`)}))}})(t,r,c),"string"==typeof a){const n=x[a];null!=n&&w(t,n,c)}"object"==typeof e&&w(t,e,c)};function B(t){return t}var _,P,R,S=Date.now,M=t?function(n,r){return t(n,"toString",{configurable:!0,enumerable:!1,value:(o=r,function(){return o}),writable:!0});var o}:B,q=(_=M,P=0,R=0,function(){var t=S(),n=16-(t-R);if(R=t,n>0){if(++P>=800)return arguments[0]}else P=0;return _.apply(void 0,arguments)}),z=Math.max;var H=Object.prototype.hasOwnProperty;function I(t){return o(t)?a(t,!0):function(t){if(!y(t))return function(t){var n=[];if(null!=t)for(var r in Object(t))n.push(r);return n}(t);var n=s(t),r=[];for(var o in t)("constructor"!=o||!n&&H.call(t,o))&&r.push(o);return r}(t)}var J=Function.prototype.toString,L=Object.prototype.hasOwnProperty,T=J.call(Object);function U(t,r,o){(void 0!==o&&!i(t[r],o)||void 0===o&&!(r in t))&&n(t,r,o)}function W(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}function Y(t,e,i,s,a,g,k){var x=W(t,i),j=W(e,i),h=k.get(j);if(h)U(t,i,h);else{var E,A=g?g(x,j,i+"",t,e,k):void 0,O=void 0===A;if(O){var D=d(j),w=!D&&f(j),C=!D&&!w&&u(j);A=j,D||w||C?d(x)?A=x:F(E=x)&&o(E)?A=function(t,n){var r=-1,o=t.length;for(n||(n=Array(o));++r<o;)n[r]=t[r];return n}(x):w?(O=!1,A=l(j,!0)):C?(O=!1,A=v(j,!0)):A=[]:function(t){if(!F(t)||"[object Object]"!=$(t))return!1;var n=c(t);if(null===n)return!0;var r=L.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&J.call(r)==T}(j)||m(j)?(A=x,m(x)?A=function(t){return function(t,o,e){var i=!e;e||(e={});for(var s=-1,a=o.length;++s<a;){var c=o[s],f=void 0;void 0===f&&(f=t[c]),i?n(e,c,f):r(e,c,f)}return e}(t,I(t))}(x):y(x)&&!p(x)||(A=b(j))):O=!1}O&&(k.set(j,A),a(A,j,s,g,k),k.delete(j)),U(t,i,A)}}function G(t,n,r,o,e){t!==n&&function(t,n,r){for(var o=-1,e=Object(t),i=r(t),s=i.length;s--;){var a=i[++o];if(!1===n(e[a],a,e))break}}(n,(function(i,s){if(e||(e=new g),y(i))Y(t,n,s,r,G,o,e);else{var a=o?o(W(t,s),i,s+"",t,n,e):void 0;void 0===a&&(a=i),U(t,s,a)}}),I)}var K,N=(K=function(t,n,r){G(t,n,r)},function(t,n){return q(function(t,n,r){return n=z(void 0===n?t.length-1:n,0),function(){for(var o=arguments,e=-1,i=z(o.length-n,0),s=Array(i);++e<i;)s[e]=o[n+e];e=-1;for(var a=Array(n+1);++e<n;)a[e]=o[e];return a[n]=r(s),function(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}(t,this,a)}}(t,n,B),t+"")}((function(t,n){var r=-1,s=n.length,a=s>1?n[s-1]:void 0,c=s>2?n[2]:void 0;for(a=K.length>3&&"function"==typeof a?(s--,a):void 0,c&&function(t,n,r){if(!y(r))return!1;var s=typeof n;return!!("number"==s?o(r)&&e(n,r.length):"string"==s&&n in r)&&i(r[n],t)}(n[0],n[1],c)&&(a=s<3?void 0:a,s=1),t=Object(t);++r<s;){var f=n[r];f&&K(t,f,r)}return t})));export{A as i,N as m,C as p}
1
+ import{j as t,k as n,l as r,m as o,n as e,o as i,p as s,q as a,r as c,s as f,t as u,v as d,w as l,x as v,y as m,z as p,A as b,S as g}from"./p-DhwysA2e.js";import{i as y,a as F,b as $}from"./p-Dkd2PDJ-.js";var k=[0,.5,1,1.5,2,3,4,5,6,7,8,9,10,12,14,16,20,24,28,32,36,40,44,48,52,56,60,64,72,80,96];const x={darkest:{background:{1e3:"#080808",900:"#1A1A1A",800:"#1E1E1E",700:"#2C2C2C",600:"#393939"},text:"#FFFFFF"},dark:{background:{1e3:"#252525",900:"#2F2F2F",800:"#323232",700:"#3E3E3E",600:"#4A4A4A"},text:"#F5F5F5","video-bg":"#1C1C1C"},light:{background:{1e3:"#FFFFFF",900:"#F5F5F5",800:"#EBEBEB",700:"#E0E0E0",600:"#D6D6D6"},text:"#111111","text-on-brand":"#ffffff","video-bg":"#DADADA"}},j={none:{none:0,sm:0,md:0,lg:0},thin:{none:0,sm:1,md:2,lg:4},fat:{none:0,sm:2,md:4,lg:8}},h={sharp:{none:0,sm:0,md:0,lg:0},rounded:{none:0,sm:4,md:8,lg:12},"extra-rounded":{none:0,sm:8,md:16,lg:24},circular:{none:9999,sm:9999,md:9999,lg:9999}};function A(t){let n="0",r="0",o="0";return 4==(t=t.trim()).length?(n="0x"+t[1]+t[1],r="0x"+t[2]+t[2],o="0x"+t[3]+t[3]):t.length>6&&(n="0x"+t[1]+t[2],r="0x"+t[3]+t[4],o="0x"+t[5]+t[6]),[+n,+r,+o]}const E=t=>"string"==typeof t&&7===t.length&&t.startsWith("#"),D="--rtk-";function O(t,n=D){return n+t}const w=(t,n,r=D)=>{Object.keys(n).forEach((o=>{const e=n[o];if("string"==typeof e)if("text"===o||"text-on-brand"===o){const n=A(e).join(" ");t.style.setProperty(O(`colors-${o}-1000`,r),`${n}`),t.style.setProperty(O(`colors-${o}-900`,r),`${n} / 0.88`),t.style.setProperty(O(`colors-${o}-800`,r),`${n} / 0.76`),t.style.setProperty(O(`colors-${o}-700`,r),`${n} / 0.64`),t.style.setProperty(O(`colors-${o}-600`,r),`${n} / 0.52`)}else{const n=A(e).join(" ");t.style.setProperty(O(`colors-${o}`,r),n)}else"object"==typeof e&&Object.keys(e).forEach((n=>{const i=A(e[n]).join(" ");t.style.setProperty(O(`colors-${o}-${n}`,r),i)}))}))},C=(t,{spacingBase:n,borderRadius:r,borderWidth:o,colors:e,fontFamily:i,googleFont:s,theme:a,tokenPrefix:c=D})=>{if("object"!=typeof t)throw new Error("[rtk-ui-kit] (provideRtkDesignSystem): Passed element is not a valid HTML Element");if("string"==typeof s&&((t=>{const n=[];if(null==document.querySelector("link[data-rtk-font]")){const t=document.createElement("link");t.rel="preconnect",t.setAttribute("data-rtk-font","true"),t.href="https://fonts.googleapis.com";const r=t.cloneNode(!0);r.href="https://fonts.gstatic.com",r.crossOrigin="",n.push(t,r)}const r=document.createElement("link");r.rel="stylesheet",r.setAttribute("data-rtk-font",t),r.href=encodeURI(`https://fonts.googleapis.com/css2?family=${t}:wght@${[400,500,700].join(";")}&display=swap`),n.push(r),document.head.append(...n)})(s),t.style.setProperty(O("font-family",c),s)),"string"==typeof i&&t.style.setProperty(O("font-family",c),i),"number"==typeof n&&((t,n,r=D)=>{k.forEach((o=>{t.style.setProperty(O(`space-${o}`,r),o*n+"px")}))})(t,n,c),"string"==typeof o&&((t,n,r=D)=>{if(n in j){const o=j[n];Object.keys(o).forEach((n=>{t.style.setProperty(O(`border-width-${n}`,r),`${o[n]}px`)}))}})(t,o,c),"string"==typeof r&&((t,n,r=D)=>{if(n in h){const o=h[n];Object.keys(o).forEach((n=>{t.style.setProperty(O(`border-radius-${n}`,r),`${o[n]}px`)}))}})(t,r,c),"string"==typeof a){const n=x[a];null!=n&&w(t,n,c)}"object"==typeof e&&w(t,e,c)};function B(t){return t}var _,P,R,S=Date.now,M=t?function(n,r){return t(n,"toString",{configurable:!0,enumerable:!1,value:(o=r,function(){return o}),writable:!0});var o}:B,q=(_=M,P=0,R=0,function(){var t=S(),n=16-(t-R);if(R=t,n>0){if(++P>=800)return arguments[0]}else P=0;return _.apply(void 0,arguments)}),z=Math.max;var H=Object.prototype.hasOwnProperty;function I(t){return o(t)?a(t,!0):function(t){if(!y(t))return function(t){var n=[];if(null!=t)for(var r in Object(t))n.push(r);return n}(t);var n=s(t),r=[];for(var o in t)("constructor"!=o||!n&&H.call(t,o))&&r.push(o);return r}(t)}var J=Function.prototype.toString,L=Object.prototype.hasOwnProperty,T=J.call(Object);function U(t,r,o){(void 0!==o&&!i(t[r],o)||void 0===o&&!(r in t))&&n(t,r,o)}function W(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}function G(t,e,i,s,a,g,k){var x=W(t,i),j=W(e,i),h=k.get(j);if(h)U(t,i,h);else{var A,E=g?g(x,j,i+"",t,e,k):void 0,D=void 0===E;if(D){var O=d(j),w=!O&&f(j),C=!O&&!w&&u(j);E=j,O||w||C?d(x)?E=x:F(A=x)&&o(A)?E=function(t,n){var r=-1,o=t.length;for(n||(n=Array(o));++r<o;)n[r]=t[r];return n}(x):w?(D=!1,E=l(j,!0)):C?(D=!1,E=v(j,!0)):E=[]:function(t){if(!F(t)||"[object Object]"!=$(t))return!1;var n=c(t);if(null===n)return!0;var r=L.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&J.call(r)==T}(j)||m(j)?(E=x,m(x)?E=function(t){return function(t,o,e){var i=!e;e||(e={});for(var s=-1,a=o.length;++s<a;){var c=o[s],f=void 0;void 0===f&&(f=t[c]),i?n(e,c,f):r(e,c,f)}return e}(t,I(t))}(x):y(x)&&!p(x)||(E=b(j))):D=!1}D&&(k.set(j,E),a(E,j,s,g,k),k.delete(j)),U(t,i,E)}}function K(t,n,r,o,e){t!==n&&function(t,n,r){for(var o=-1,e=Object(t),i=r(t),s=i.length;s--;){var a=i[++o];if(!1===n(e[a],a,e))break}}(n,(function(i,s){if(e||(e=new g),y(i))G(t,n,s,r,K,o,e);else{var a=o?o(W(t,s),i,s+"",t,n,e):void 0;void 0===a&&(a=i),U(t,s,a)}}),I)}var N,Q=(N=function(t,n,r){K(t,n,r)},function(t,n){return q(function(t,n,r){return n=z(void 0===n?t.length-1:n,0),function(){for(var o=arguments,e=-1,i=z(o.length-n,0),s=Array(i);++e<i;)s[e]=o[n+e];e=-1;for(var a=Array(n+1);++e<n;)a[e]=o[e];return a[n]=r(s),function(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}(t,this,a)}}(t,n,B),t+"")}((function(t,n){var r=-1,s=n.length,a=s>1?n[s-1]:void 0,c=s>2?n[2]:void 0;for(a=N.length>3&&"function"==typeof a?(s--,a):void 0,c&&function(t,n,r){if(!y(r))return!1;var s=typeof n;return!!("number"==s?o(r)&&e(n,r.length):"string"==s&&n in r)&&i(r[n],t)}(n[0],n[1],c)&&(a=s<3?void 0:a,s=1),t=Object(t);++r<s;){var f=n[r];f&&N(t,f,r)}return t})));export{E as i,Q as m,C as p}