@cloudflare/realtimekit-ui 0.0.0 → 1.0.0-staging.10

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 (1229) hide show
  1. package/README.md +62 -0
  2. package/dist/browser.js +1 -0
  3. package/dist/cjs/ChatHead-d2f094ec.js +46 -0
  4. package/dist/cjs/ResizeObserver.es-ba961f16.js +930 -0
  5. package/dist/cjs/TextMessage-e9ca06aa.js +69 -0
  6. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  7. package/dist/cjs/chat-46e7e4fe.js +217 -0
  8. package/dist/cjs/clone-2e9a4cae.js +754 -0
  9. package/dist/cjs/config-dba24e25.js +1183 -0
  10. package/dist/cjs/debounce-6080cc73.js +544 -0
  11. package/dist/cjs/debounce-6dabb441.js +331 -0
  12. package/dist/cjs/file-33e9ed90.js +61 -0
  13. package/dist/cjs/floating-ui.dom.esm-c3c35b98.js +1900 -0
  14. package/dist/cjs/full-screen-de3e9caf.js +55 -0
  15. package/dist/cjs/grid-edc342a7.js +99 -0
  16. package/dist/cjs/hark-c97d0a59.js +301 -0
  17. package/dist/cjs/index-05554ce6.js +2191 -0
  18. package/dist/cjs/index-821d14b7.js +227 -0
  19. package/dist/cjs/index-daae8cee.js +26 -0
  20. package/dist/cjs/index.cjs.js +268 -0
  21. package/dist/cjs/isObjectLike-73d13a39.js +171 -0
  22. package/dist/cjs/keysIn-8bdbe83d.js +1438 -0
  23. package/dist/cjs/loader.cjs.js +15 -0
  24. package/dist/cjs/logger-3df9c75d.js +5 -0
  25. package/dist/cjs/notification-1948ed2f.js +44 -0
  26. package/dist/cjs/realtimekit-ui.cjs.js +25 -0
  27. package/dist/cjs/rtk-ai-toggle.cjs.entry.js +76 -0
  28. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +138 -0
  29. package/dist/cjs/rtk-ai.cjs.entry.js +91 -0
  30. package/dist/cjs/rtk-audio-grid.cjs.entry.js +116 -0
  31. package/dist/cjs/rtk-audio-tile.cjs.entry.js +130 -0
  32. package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +501 -0
  33. package/dist/cjs/rtk-avatar_54.cjs.entry.js +6378 -0
  34. package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +86 -0
  35. package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +281 -0
  36. package/dist/cjs/rtk-camera-toggle.cjs.entry.js +186 -0
  37. package/dist/cjs/rtk-caption-toggle.cjs.entry.js +84 -0
  38. package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +147 -0
  39. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +315 -0
  40. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +78 -0
  41. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +138 -0
  42. package/dist/cjs/rtk-clock.cjs.entry.js +98 -0
  43. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +49 -0
  44. package/dist/cjs/rtk-controlbar.cjs.entry.js +66 -0
  45. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +61 -0
  46. package/dist/cjs/rtk-ended-screen.cjs.entry.js +109 -0
  47. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +60 -0
  48. package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +86 -0
  49. package/dist/cjs/rtk-grid-pagination.cjs.entry.js +159 -0
  50. package/dist/cjs/rtk-grid.cjs.entry.js +362 -0
  51. package/dist/cjs/rtk-header.cjs.entry.js +66 -0
  52. package/dist/cjs/rtk-idle-screen.cjs.entry.js +47 -0
  53. package/dist/cjs/rtk-image-viewer.cjs.entry.js +62 -0
  54. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +37 -0
  55. package/dist/cjs/rtk-leave-button.cjs.entry.js +52 -0
  56. package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +29148 -0
  57. package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +142 -0
  58. package/dist/cjs/rtk-meeting-title.cjs.entry.js +49 -0
  59. package/dist/cjs/rtk-message-list-view.cjs.entry.js +285 -0
  60. package/dist/cjs/rtk-mic-toggle.cjs.entry.js +184 -0
  61. package/dist/cjs/rtk-mixed-grid.cjs.entry.js +226 -0
  62. package/dist/cjs/rtk-more-toggle.cjs.entry.js +77 -0
  63. package/dist/cjs/rtk-mute-all-button.cjs.entry.js +79 -0
  64. package/dist/cjs/rtk-name-tag.cjs.entry.js +72 -0
  65. package/dist/cjs/rtk-network-indicator.cjs.entry.js +86 -0
  66. package/dist/cjs/rtk-participant-count.cjs.entry.js +91 -0
  67. package/dist/cjs/rtk-participant-setup.cjs.entry.js +118 -0
  68. package/dist/cjs/rtk-participant_2.cjs.entry.js +419 -0
  69. package/dist/cjs/rtk-participants-audio.cjs.entry.js +207 -0
  70. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +467 -0
  71. package/dist/cjs/rtk-participants-toggle.cjs.entry.js +150 -0
  72. package/dist/cjs/rtk-participants.cjs.entry.js +190 -0
  73. package/dist/cjs/rtk-pip-toggle.cjs.entry.js +88 -0
  74. package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +196 -0
  75. package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +106 -0
  76. package/dist/cjs/rtk-plugins_2.cjs.entry.js +181 -0
  77. package/dist/cjs/rtk-poll_2.cjs.entry.js +142 -0
  78. package/dist/cjs/rtk-polls-toggle.cjs.entry.js +117 -0
  79. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +70 -0
  80. package/dist/cjs/rtk-recording-toggle.cjs.entry.js +162 -0
  81. package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +266 -0
  82. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +149 -0
  83. package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +150 -0
  84. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +57 -0
  85. package/dist/cjs/rtk-settings.cjs.entry.js +124 -0
  86. package/dist/cjs/rtk-setup-screen.cjs.entry.js +120 -0
  87. package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +80 -0
  88. package/dist/cjs/rtk-sidebar.cjs.entry.js +151 -0
  89. package/dist/cjs/rtk-simple-grid.cjs.entry.js +118 -0
  90. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +107 -0
  91. package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +85 -0
  92. package/dist/cjs/rtk-stage-toggle.cjs.entry.js +147 -0
  93. package/dist/cjs/rtk-stage.cjs.entry.js +43 -0
  94. package/dist/cjs/rtk-transcript.cjs.entry.js +58 -0
  95. package/dist/cjs/rtk-transcripts.cjs.entry.js +167 -0
  96. package/dist/cjs/rtk-ui-provider.cjs.entry.js +168 -0
  97. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +47 -0
  98. package/dist/cjs/scroll-c6404609.js +15 -0
  99. package/dist/cjs/sidebar-a3c87828.js +50 -0
  100. package/dist/cjs/size-2a406e36.js +28 -0
  101. package/dist/cjs/string-a410fab6.js +64 -0
  102. package/dist/cjs/ui-store-3ddce955.js +1608 -0
  103. package/dist/collection/collection-manifest.json +149 -0
  104. package/dist/collection/components/rtk-ai/rtk-ai.css +69 -0
  105. package/dist/collection/components/rtk-ai/rtk-ai.js +292 -0
  106. package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.css +8 -0
  107. package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +257 -0
  108. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.css +139 -0
  109. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +221 -0
  110. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.css +102 -0
  111. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +292 -0
  112. package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.css +118 -0
  113. package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +308 -0
  114. package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.css +46 -0
  115. package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +324 -0
  116. package/dist/collection/components/rtk-avatar/rtk-avatar.css +117 -0
  117. package/dist/collection/components/rtk-avatar/rtk-avatar.js +202 -0
  118. package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.css +272 -0
  119. package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +509 -0
  120. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.css +269 -0
  121. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +305 -0
  122. package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.css +17 -0
  123. package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +273 -0
  124. package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.css +379 -0
  125. package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +481 -0
  126. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.css +111 -0
  127. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +198 -0
  128. package/dist/collection/components/rtk-button/rtk-button.css +185 -0
  129. package/dist/collection/components/rtk-button/rtk-button.js +198 -0
  130. package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.css +146 -0
  131. package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +263 -0
  132. package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.css +22 -0
  133. package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +350 -0
  134. package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.css +17 -0
  135. package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +289 -0
  136. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.css +210 -0
  137. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +287 -0
  138. package/dist/collection/components/rtk-channel-details/rtk-channel-details.css +93 -0
  139. package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +148 -0
  140. package/dist/collection/components/rtk-channel-header/rtk-channel-header.css +99 -0
  141. package/dist/collection/components/rtk-channel-header/rtk-channel-header.js +255 -0
  142. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.css +330 -0
  143. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +283 -0
  144. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.css +306 -0
  145. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.js +341 -0
  146. package/dist/collection/components/rtk-chat/components/ChatHead.js +6 -0
  147. package/dist/collection/components/rtk-chat/rtk-chat.css +224 -0
  148. package/dist/collection/components/rtk-chat/rtk-chat.js +866 -0
  149. package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.css +304 -0
  150. package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +583 -0
  151. package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.css +111 -0
  152. package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +535 -0
  153. package/dist/collection/components/rtk-chat-message/rtk-chat-message.css +428 -0
  154. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +569 -0
  155. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.css +191 -0
  156. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +420 -0
  157. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.css +7 -0
  158. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +465 -0
  159. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.css +22 -0
  160. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +170 -0
  161. package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.css +219 -0
  162. package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +245 -0
  163. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.css +65 -0
  164. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +338 -0
  165. package/dist/collection/components/rtk-clock/rtk-clock.css +46 -0
  166. package/dist/collection/components/rtk-clock/rtk-clock.js +163 -0
  167. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.css +68 -0
  168. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +198 -0
  169. package/dist/collection/components/rtk-controlbar/rtk-controlbar.css +32 -0
  170. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +259 -0
  171. package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.css +187 -0
  172. package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +248 -0
  173. package/dist/collection/components/rtk-counter/rtk-counter.css +64 -0
  174. package/dist/collection/components/rtk-counter/rtk-counter.js +219 -0
  175. package/dist/collection/components/rtk-debugger/rtk-debugger.css +262 -0
  176. package/dist/collection/components/rtk-debugger/rtk-debugger.js +271 -0
  177. package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.css +180 -0
  178. package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +294 -0
  179. package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.css +175 -0
  180. package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +339 -0
  181. package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.css +176 -0
  182. package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +260 -0
  183. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.css +17 -0
  184. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +234 -0
  185. package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.css +180 -0
  186. package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +306 -0
  187. package/dist/collection/components/rtk-dialog/rtk-dialog.css +47 -0
  188. package/dist/collection/components/rtk-dialog/rtk-dialog.js +322 -0
  189. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.css +17 -0
  190. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +343 -0
  191. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.css +81 -0
  192. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +180 -0
  193. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.css +141 -0
  194. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +192 -0
  195. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.css +3 -0
  196. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +113 -0
  197. package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.css +80 -0
  198. package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +270 -0
  199. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.css +20 -0
  200. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +162 -0
  201. package/dist/collection/components/rtk-file-message/rtk-file-message.js +186 -0
  202. package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.css +76 -0
  203. package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +127 -0
  204. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.css +3 -0
  205. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +206 -0
  206. package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.css +22 -0
  207. package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +268 -0
  208. package/dist/collection/components/rtk-grid/rtk-grid.css +122 -0
  209. package/dist/collection/components/rtk-grid/rtk-grid.js +678 -0
  210. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.css +174 -0
  211. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +327 -0
  212. package/dist/collection/components/rtk-header/rtk-header.css +35 -0
  213. package/dist/collection/components/rtk-header/rtk-header.js +259 -0
  214. package/dist/collection/components/rtk-icon/rtk-icon.css +73 -0
  215. package/dist/collection/components/rtk-icon/rtk-icon.js +124 -0
  216. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.css +40 -0
  217. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +152 -0
  218. package/dist/collection/components/rtk-image-message/rtk-image-message.css +21 -0
  219. package/dist/collection/components/rtk-image-message/rtk-image-message.js +235 -0
  220. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.css +117 -0
  221. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +152 -0
  222. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.css +99 -0
  223. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +183 -0
  224. package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.css +41 -0
  225. package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +65 -0
  226. package/dist/collection/components/rtk-join-stage/rtk-join-stage.css +131 -0
  227. package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +310 -0
  228. package/dist/collection/components/rtk-leave-button/rtk-leave-button.css +17 -0
  229. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +182 -0
  230. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.css +75 -0
  231. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +239 -0
  232. package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.css +65 -0
  233. package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +180 -0
  234. package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.css +177 -0
  235. package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +485 -0
  236. package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.css +22 -0
  237. package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +315 -0
  238. package/dist/collection/components/rtk-logo/rtk-logo.css +34 -0
  239. package/dist/collection/components/rtk-logo/rtk-logo.js +177 -0
  240. package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.css +44 -0
  241. package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +136 -0
  242. package/dist/collection/components/rtk-meeting/rtk-meeting.css +43 -0
  243. package/dist/collection/components/rtk-meeting/rtk-meeting.js +520 -0
  244. package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.css +38 -0
  245. package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +128 -0
  246. package/dist/collection/components/rtk-menu/rtk-menu.css +25 -0
  247. package/dist/collection/components/rtk-menu/rtk-menu.js +217 -0
  248. package/dist/collection/components/rtk-menu-item/rtk-menu-item.css +46 -0
  249. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +130 -0
  250. package/dist/collection/components/rtk-menu-list/rtk-menu-list.css +30 -0
  251. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +100 -0
  252. package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.css +68 -0
  253. package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +439 -0
  254. package/dist/collection/components/rtk-message-view/rtk-message-view.css +169 -0
  255. package/dist/collection/components/rtk-message-view/rtk-message-view.js +283 -0
  256. package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.css +27 -0
  257. package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +348 -0
  258. package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.css +146 -0
  259. package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +276 -0
  260. package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.css +257 -0
  261. package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +577 -0
  262. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.css +61 -0
  263. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +210 -0
  264. package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.css +17 -0
  265. package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +237 -0
  266. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.css +74 -0
  267. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +185 -0
  268. package/dist/collection/components/rtk-name-tag/rtk-name-tag.css +55 -0
  269. package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +253 -0
  270. package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.css +68 -0
  271. package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +213 -0
  272. package/dist/collection/components/rtk-notification/rtk-notification.css +161 -0
  273. package/dist/collection/components/rtk-notification/rtk-notification.js +226 -0
  274. package/dist/collection/components/rtk-notifications/rtk-notifications.css +30 -0
  275. package/dist/collection/components/rtk-notifications/rtk-notifications.js +736 -0
  276. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.css +41 -0
  277. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +181 -0
  278. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.css +337 -0
  279. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +591 -0
  280. package/dist/collection/components/rtk-participant/rtk-participant.css +91 -0
  281. package/dist/collection/components/rtk-participant/rtk-participant.js +503 -0
  282. package/dist/collection/components/rtk-participant-count/rtk-participant-count.css +42 -0
  283. package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +205 -0
  284. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.css +111 -0
  285. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +338 -0
  286. package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.css +283 -0
  287. package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +464 -0
  288. package/dist/collection/components/rtk-participants/rtk-participants.css +127 -0
  289. package/dist/collection/components/rtk-participants/rtk-participants.js +404 -0
  290. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.css +46 -0
  291. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +282 -0
  292. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.css +61 -0
  293. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +364 -0
  294. package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.css +116 -0
  295. package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +286 -0
  296. package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.css +50 -0
  297. package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +348 -0
  298. package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.css +58 -0
  299. package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +326 -0
  300. package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.css +107 -0
  301. package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +263 -0
  302. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.css +110 -0
  303. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +325 -0
  304. package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.css +22 -0
  305. package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +293 -0
  306. package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.css +89 -0
  307. package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +232 -0
  308. package/dist/collection/components/rtk-plugins/rtk-plugins.css +105 -0
  309. package/dist/collection/components/rtk-plugins/rtk-plugins.js +251 -0
  310. package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.css +22 -0
  311. package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +301 -0
  312. package/dist/collection/components/rtk-poll/rtk-poll.css +153 -0
  313. package/dist/collection/components/rtk-poll/rtk-poll.js +202 -0
  314. package/dist/collection/components/rtk-poll-form/rtk-poll-form.css +121 -0
  315. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +175 -0
  316. package/dist/collection/components/rtk-polls/rtk-polls.css +69 -0
  317. package/dist/collection/components/rtk-polls/rtk-polls.js +242 -0
  318. package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.css +51 -0
  319. package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +315 -0
  320. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.css +63 -0
  321. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +184 -0
  322. package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.css +17 -0
  323. package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +342 -0
  324. package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.css +22 -0
  325. package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +470 -0
  326. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.css +294 -0
  327. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +394 -0
  328. package/dist/collection/components/rtk-settings/rtk-settings.css +241 -0
  329. package/dist/collection/components/rtk-settings/rtk-settings.js +286 -0
  330. package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.css +59 -0
  331. package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +230 -0
  332. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.css +17 -0
  333. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +216 -0
  334. package/dist/collection/components/rtk-settings-video/rtk-settings-video.css +135 -0
  335. package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +256 -0
  336. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.css +175 -0
  337. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +309 -0
  338. package/dist/collection/components/rtk-sidebar/rtk-sidebar.css +65 -0
  339. package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +417 -0
  340. package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.css +135 -0
  341. package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +289 -0
  342. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.css +20 -0
  343. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +343 -0
  344. package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.css +144 -0
  345. package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +299 -0
  346. package/dist/collection/components/rtk-spinner/rtk-spinner.css +52 -0
  347. package/dist/collection/components/rtk-spinner/rtk-spinner.js +99 -0
  348. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.css +88 -0
  349. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +402 -0
  350. package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.css +102 -0
  351. package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +195 -0
  352. package/dist/collection/components/rtk-stage/rtk-stage.css +19 -0
  353. package/dist/collection/components/rtk-stage/rtk-stage.js +125 -0
  354. package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.css +22 -0
  355. package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +321 -0
  356. package/dist/collection/components/rtk-switch/rtk-switch.css +51 -0
  357. package/dist/collection/components/rtk-switch/rtk-switch.js +211 -0
  358. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.css +194 -0
  359. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +330 -0
  360. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.css +81 -0
  361. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +316 -0
  362. package/dist/collection/components/rtk-text-message/components/TextMessage.js +62 -0
  363. package/dist/collection/components/rtk-text-message/rtk-text-message.js +185 -0
  364. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.css +25 -0
  365. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +68 -0
  366. package/dist/collection/components/rtk-tooltip/rtk-tooltip.css +67 -0
  367. package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +349 -0
  368. package/dist/collection/components/rtk-transcript/rtk-transcript.css +96 -0
  369. package/dist/collection/components/rtk-transcript/rtk-transcript.js +140 -0
  370. package/dist/collection/components/rtk-transcripts/rtk-transcripts.css +32 -0
  371. package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +281 -0
  372. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.css +5 -0
  373. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +374 -0
  374. package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.css +61 -0
  375. package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +191 -0
  376. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.css +4 -0
  377. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +264 -0
  378. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.css +45 -0
  379. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +148 -0
  380. package/dist/collection/exports.js +16 -0
  381. package/dist/collection/index.js +2 -0
  382. package/dist/collection/lib/addons/index.js +19 -0
  383. package/dist/collection/lib/audio.js +54 -0
  384. package/dist/collection/lib/builder/index.js +203 -0
  385. package/dist/collection/lib/default-ui-config.js +324 -0
  386. package/dist/collection/lib/grid.js +94 -0
  387. package/dist/collection/lib/icons/default-icon-pack.js +87 -0
  388. package/dist/collection/lib/icons/index.js +20 -0
  389. package/dist/collection/lib/lang/default-language.js +415 -0
  390. package/dist/collection/lib/lang/index.js +17 -0
  391. package/dist/collection/lib/notification.js +39 -0
  392. package/dist/collection/lib/render/index.js +97 -0
  393. package/dist/collection/lib/render/utils.js +115 -0
  394. package/dist/collection/lib/visualizer.js +42 -0
  395. package/dist/collection/theme/colors.js +130 -0
  396. package/dist/collection/theme/index.js +65 -0
  397. package/dist/collection/theme/presets/border.js +46 -0
  398. package/dist/collection/theme/presets/themes.js +35 -0
  399. package/dist/collection/theme/space.js +17 -0
  400. package/dist/collection/theme/tests/space.spec.js +17 -0
  401. package/dist/collection/types/floating-ui.js +1 -0
  402. package/dist/collection/types/props.js +1 -0
  403. package/dist/collection/types/rtk-ai.js +1 -0
  404. package/dist/collection/types/rtk-client.js +10 -0
  405. package/dist/collection/types/ui-config/config.js +35 -0
  406. package/dist/collection/types/ui-config/design-tokens.js +1 -0
  407. package/dist/collection/types/ui-config/index.js +1 -0
  408. package/dist/collection/types/ui-config/root.js +1 -0
  409. package/dist/collection/utils/assets.js +13 -0
  410. package/dist/collection/utils/breakout-rooms-manager.js +299 -0
  411. package/dist/collection/utils/breakout-rooms.js +69 -0
  412. package/dist/collection/utils/chat.js +198 -0
  413. package/dist/collection/utils/clone.js +7 -0
  414. package/dist/collection/utils/color.js +175 -0
  415. package/dist/collection/utils/config.js +359 -0
  416. package/dist/collection/utils/date.js +30 -0
  417. package/dist/collection/utils/debugger-utils.js +83 -0
  418. package/dist/collection/utils/file.js +54 -0
  419. package/dist/collection/utils/flags.js +24 -0
  420. package/dist/collection/utils/full-screen.js +48 -0
  421. package/dist/collection/utils/graceful-storage.js +18 -0
  422. package/dist/collection/utils/livestream.js +100 -0
  423. package/dist/collection/utils/logger.js +1 -0
  424. package/dist/collection/utils/notification.js +15 -0
  425. package/dist/collection/utils/provide-design-system.js +114 -0
  426. package/dist/collection/utils/scroll.js +11 -0
  427. package/dist/collection/utils/sidebar.js +42 -0
  428. package/dist/collection/utils/size.js +14 -0
  429. package/dist/collection/utils/stage.js +9 -0
  430. package/dist/collection/utils/string.js +56 -0
  431. package/dist/collection/utils/sync-with-store/index.js +21 -0
  432. package/dist/collection/utils/sync-with-store/ui-store.js +56 -0
  433. package/dist/collection/utils/time.js +9 -0
  434. package/dist/collection/utils/troubleshooter.js +469 -0
  435. package/dist/collection/utils/user-prefs.js +20 -0
  436. package/dist/components/index.d.ts +33 -0
  437. package/dist/components/index.js +246 -0
  438. package/dist/components/p-02f19345.js +50 -0
  439. package/dist/components/p-0752f2ba.js +13 -0
  440. package/dist/components/p-0a9d8224.js +168 -0
  441. package/dist/components/p-0abe4b8a.js +200 -0
  442. package/dist/components/p-0c4a1808.js +305 -0
  443. package/dist/components/p-0c94b402.js +309 -0
  444. package/dist/components/p-0e02697c.js +85 -0
  445. package/dist/components/p-0ea515b2.js +108 -0
  446. package/dist/components/p-0eab3933.js +97 -0
  447. package/dist/components/p-10182034.js +61 -0
  448. package/dist/components/p-10759cad.js +95 -0
  449. package/dist/components/p-135d5d2f.js +82 -0
  450. package/dist/components/p-1a546cf4.js +628 -0
  451. package/dist/components/p-24e9b37b.js +157 -0
  452. package/dist/components/p-24ffce5a.js +227 -0
  453. package/dist/components/p-260b86da.js +131 -0
  454. package/dist/components/p-2c3cda13.js +164 -0
  455. package/dist/components/p-2ecf028f.js +168 -0
  456. package/dist/components/p-2f2fb96d.js +62 -0
  457. package/dist/components/p-31964573.js +1892 -0
  458. package/dist/components/p-31a1dc4d.js +159 -0
  459. package/dist/components/p-31ce3b90.js +182 -0
  460. package/dist/components/p-32d788e7.js +149 -0
  461. package/dist/components/p-3358d7dc.js +108 -0
  462. package/dist/components/p-338c7261.js +58 -0
  463. package/dist/components/p-35d6211b.js +81 -0
  464. package/dist/components/p-382270d8.js +32 -0
  465. package/dist/components/p-3d845f44.js +131 -0
  466. package/dist/components/p-3f882e7c.js +299 -0
  467. package/dist/components/p-406292be.js +68 -0
  468. package/dist/components/p-4096426e.js +92 -0
  469. package/dist/components/p-4307888c.js +96 -0
  470. package/dist/components/p-4608147b.js +105 -0
  471. package/dist/components/p-46690510.js +157 -0
  472. package/dist/components/p-46923b34.js +1409 -0
  473. package/dist/components/p-4880c342.js +148 -0
  474. package/dist/components/p-4a436e2d.js +1178 -0
  475. package/dist/components/p-4cc0e9a5.js +64 -0
  476. package/dist/components/p-4cedc9e8.js +105 -0
  477. package/dist/components/p-4e3d7f9d.js +95 -0
  478. package/dist/components/p-50ecaaf1.js +42 -0
  479. package/dist/components/p-55598b38.js +76 -0
  480. package/dist/components/p-5605a420.js +3 -0
  481. package/dist/components/p-563bc723.js +156 -0
  482. package/dist/components/p-59ea0ce1.js +116 -0
  483. package/dist/components/p-59fb6900.js +204 -0
  484. package/dist/components/p-5c3d1c4f.js +148 -0
  485. package/dist/components/p-5ffcbba3.js +95 -0
  486. package/dist/components/p-606ca241.js +119 -0
  487. package/dist/components/p-60fdbd75.js +224 -0
  488. package/dist/components/p-62a6b783.js +194 -0
  489. package/dist/components/p-68b6f23b.js +223 -0
  490. package/dist/components/p-6acaa07e.js +83 -0
  491. package/dist/components/p-71e0f6f2.js +79 -0
  492. package/dist/components/p-734a10e4.js +86 -0
  493. package/dist/components/p-7a7d1710.js +134 -0
  494. package/dist/components/p-80bef3b5.js +125 -0
  495. package/dist/components/p-81f4e985.js +63 -0
  496. package/dist/components/p-898da6ae.js +307 -0
  497. package/dist/components/p-8f99c783.js +316 -0
  498. package/dist/components/p-922f201f.js +103 -0
  499. package/dist/components/p-935b5e0f.js +77 -0
  500. package/dist/components/p-965a4bd9.js +101 -0
  501. package/dist/components/p-96be234f.js +26 -0
  502. package/dist/components/p-9c17c7ce.js +93 -0
  503. package/dist/components/p-9cace38c.js +203 -0
  504. package/dist/components/p-9cfe5c7c.js +353 -0
  505. package/dist/components/p-9da5b9d0.js +211 -0
  506. package/dist/components/p-9fc565cf.js +57 -0
  507. package/dist/components/p-a08b5a59.js +329 -0
  508. package/dist/components/p-a24309fd.js +118 -0
  509. package/dist/components/p-a2f4f9e3.js +67 -0
  510. package/dist/components/p-a41e1b94.js +161 -0
  511. package/dist/components/p-a83ccdbd.js +40 -0
  512. package/dist/components/p-aa9ee9a5.js +180 -0
  513. package/dist/components/p-ab87c5be.js +178 -0
  514. package/dist/components/p-ae239151.js +150 -0
  515. package/dist/components/p-b12e5011.js +115 -0
  516. package/dist/components/p-b13ddb7d.js +96 -0
  517. package/dist/components/p-b3537ccc.js +69 -0
  518. package/dist/components/p-b373da43.js +357 -0
  519. package/dist/components/p-b39c779d.js +114 -0
  520. package/dist/components/p-bcb91396.js +43 -0
  521. package/dist/components/p-c11b2f37.js +45 -0
  522. package/dist/components/p-c15d924f.js +752 -0
  523. package/dist/components/p-c2723ebb.js +213 -0
  524. package/dist/components/p-c27c353f.js +128 -0
  525. package/dist/components/p-c3592601.js +1641 -0
  526. package/dist/components/p-c7dcb441.js +57 -0
  527. package/dist/components/p-c939f92d.js +114 -0
  528. package/dist/components/p-cbdd7a99.js +542 -0
  529. package/dist/components/p-cd50770d.js +127 -0
  530. package/dist/components/p-d5791958.js +24 -0
  531. package/dist/components/p-dba3cdd1.js +951 -0
  532. package/dist/components/p-ddf6148a.js +125 -0
  533. package/dist/components/p-e2b78972.js +153 -0
  534. package/dist/components/p-e3b59650.js +155 -0
  535. package/dist/components/p-e3ffbf6c.js +124 -0
  536. package/dist/components/p-e4241aa9.js +29080 -0
  537. package/dist/components/p-e4376670.js +162 -0
  538. package/dist/components/p-e542eda6.js +264 -0
  539. package/dist/components/p-e6d09c50.js +1544 -0
  540. package/dist/components/p-eb10c563.js +390 -0
  541. package/dist/components/p-ece96324.js +107 -0
  542. package/dist/components/p-ef376a73.js +103 -0
  543. package/dist/components/p-f0dfdfea.js +120 -0
  544. package/dist/components/p-f33bb583.js +199 -0
  545. package/dist/components/p-f47d4fe8.js +928 -0
  546. package/dist/components/p-f6046472.js +85 -0
  547. package/dist/components/p-fe278fba.js +215 -0
  548. package/dist/components/p-febe3ebc.js +11 -0
  549. package/dist/components/rtk-ai-toggle.d.ts +11 -0
  550. package/dist/components/rtk-ai-toggle.js +119 -0
  551. package/dist/components/rtk-ai-transcriptions.d.ts +11 -0
  552. package/dist/components/rtk-ai-transcriptions.js +6 -0
  553. package/dist/components/rtk-ai.d.ts +11 -0
  554. package/dist/components/rtk-ai.js +134 -0
  555. package/dist/components/rtk-audio-grid.d.ts +11 -0
  556. package/dist/components/rtk-audio-grid.js +145 -0
  557. package/dist/components/rtk-audio-tile.d.ts +11 -0
  558. package/dist/components/rtk-audio-tile.js +182 -0
  559. package/dist/components/rtk-audio-visualizer.d.ts +11 -0
  560. package/dist/components/rtk-audio-visualizer.js +6 -0
  561. package/dist/components/rtk-avatar.d.ts +11 -0
  562. package/dist/components/rtk-avatar.js +6 -0
  563. package/dist/components/rtk-breakout-room-manager.d.ts +11 -0
  564. package/dist/components/rtk-breakout-room-manager.js +6 -0
  565. package/dist/components/rtk-breakout-room-participants.d.ts +11 -0
  566. package/dist/components/rtk-breakout-room-participants.js +6 -0
  567. package/dist/components/rtk-breakout-rooms-manager.d.ts +11 -0
  568. package/dist/components/rtk-breakout-rooms-manager.js +6 -0
  569. package/dist/components/rtk-breakout-rooms-toggle.d.ts +11 -0
  570. package/dist/components/rtk-breakout-rooms-toggle.js +129 -0
  571. package/dist/components/rtk-broadcast-message-modal.d.ts +11 -0
  572. package/dist/components/rtk-broadcast-message-modal.js +6 -0
  573. package/dist/components/rtk-button.d.ts +11 -0
  574. package/dist/components/rtk-button.js +6 -0
  575. package/dist/components/rtk-camera-selector.d.ts +11 -0
  576. package/dist/components/rtk-camera-selector.js +6 -0
  577. package/dist/components/rtk-camera-toggle.d.ts +11 -0
  578. package/dist/components/rtk-camera-toggle.js +237 -0
  579. package/dist/components/rtk-caption-toggle.d.ts +11 -0
  580. package/dist/components/rtk-caption-toggle.js +129 -0
  581. package/dist/components/rtk-channel-creator.d.ts +11 -0
  582. package/dist/components/rtk-channel-creator.js +6 -0
  583. package/dist/components/rtk-channel-details.d.ts +11 -0
  584. package/dist/components/rtk-channel-details.js +6 -0
  585. package/dist/components/rtk-channel-header.d.ts +11 -0
  586. package/dist/components/rtk-channel-header.js +6 -0
  587. package/dist/components/rtk-channel-selector-ui.d.ts +11 -0
  588. package/dist/components/rtk-channel-selector-ui.js +194 -0
  589. package/dist/components/rtk-channel-selector-view.d.ts +11 -0
  590. package/dist/components/rtk-channel-selector-view.js +6 -0
  591. package/dist/components/rtk-chat-composer-ui.d.ts +11 -0
  592. package/dist/components/rtk-chat-composer-ui.js +383 -0
  593. package/dist/components/rtk-chat-composer-view.d.ts +11 -0
  594. package/dist/components/rtk-chat-composer-view.js +6 -0
  595. package/dist/components/rtk-chat-message.d.ts +11 -0
  596. package/dist/components/rtk-chat-message.js +6 -0
  597. package/dist/components/rtk-chat-messages-ui-paginated.d.ts +11 -0
  598. package/dist/components/rtk-chat-messages-ui-paginated.js +6 -0
  599. package/dist/components/rtk-chat-messages-ui.d.ts +11 -0
  600. package/dist/components/rtk-chat-messages-ui.js +6 -0
  601. package/dist/components/rtk-chat-search-results.d.ts +11 -0
  602. package/dist/components/rtk-chat-search-results.js +6 -0
  603. package/dist/components/rtk-chat-selector-ui.d.ts +11 -0
  604. package/dist/components/rtk-chat-selector-ui.js +108 -0
  605. package/dist/components/rtk-chat-toggle.d.ts +11 -0
  606. package/dist/components/rtk-chat-toggle.js +186 -0
  607. package/dist/components/rtk-chat.d.ts +11 -0
  608. package/dist/components/rtk-chat.js +6 -0
  609. package/dist/components/rtk-clock.d.ts +11 -0
  610. package/dist/components/rtk-clock.js +127 -0
  611. package/dist/components/rtk-confirmation-modal.d.ts +11 -0
  612. package/dist/components/rtk-confirmation-modal.js +6 -0
  613. package/dist/components/rtk-controlbar-button.d.ts +11 -0
  614. package/dist/components/rtk-controlbar-button.js +6 -0
  615. package/dist/components/rtk-controlbar.d.ts +11 -0
  616. package/dist/components/rtk-controlbar.js +91 -0
  617. package/dist/components/rtk-counter.d.ts +11 -0
  618. package/dist/components/rtk-counter.js +6 -0
  619. package/dist/components/rtk-debugger-audio.d.ts +11 -0
  620. package/dist/components/rtk-debugger-audio.js +6 -0
  621. package/dist/components/rtk-debugger-screenshare.d.ts +11 -0
  622. package/dist/components/rtk-debugger-screenshare.js +6 -0
  623. package/dist/components/rtk-debugger-system.d.ts +11 -0
  624. package/dist/components/rtk-debugger-system.js +6 -0
  625. package/dist/components/rtk-debugger-toggle.d.ts +11 -0
  626. package/dist/components/rtk-debugger-toggle.js +101 -0
  627. package/dist/components/rtk-debugger-video.d.ts +11 -0
  628. package/dist/components/rtk-debugger-video.js +6 -0
  629. package/dist/components/rtk-debugger.d.ts +11 -0
  630. package/dist/components/rtk-debugger.js +6 -0
  631. package/dist/components/rtk-dialog-manager.d.ts +11 -0
  632. package/dist/components/rtk-dialog-manager.js +6 -0
  633. package/dist/components/rtk-dialog.d.ts +11 -0
  634. package/dist/components/rtk-dialog.js +6 -0
  635. package/dist/components/rtk-draft-attachment-view.d.ts +11 -0
  636. package/dist/components/rtk-draft-attachment-view.js +6 -0
  637. package/dist/components/rtk-emoji-picker-button.d.ts +11 -0
  638. package/dist/components/rtk-emoji-picker-button.js +6 -0
  639. package/dist/components/rtk-emoji-picker.d.ts +11 -0
  640. package/dist/components/rtk-emoji-picker.js +6 -0
  641. package/dist/components/rtk-ended-screen.d.ts +11 -0
  642. package/dist/components/rtk-ended-screen.js +148 -0
  643. package/dist/components/rtk-file-dropzone.d.ts +11 -0
  644. package/dist/components/rtk-file-dropzone.js +87 -0
  645. package/dist/components/rtk-file-message-view.d.ts +11 -0
  646. package/dist/components/rtk-file-message-view.js +6 -0
  647. package/dist/components/rtk-file-message.d.ts +11 -0
  648. package/dist/components/rtk-file-message.js +6 -0
  649. package/dist/components/rtk-file-picker-button.d.ts +11 -0
  650. package/dist/components/rtk-file-picker-button.js +6 -0
  651. package/dist/components/rtk-fullscreen-toggle.d.ts +11 -0
  652. package/dist/components/rtk-fullscreen-toggle.js +6 -0
  653. package/dist/components/rtk-grid-pagination.d.ts +11 -0
  654. package/dist/components/rtk-grid-pagination.js +207 -0
  655. package/dist/components/rtk-grid.d.ts +11 -0
  656. package/dist/components/rtk-grid.js +454 -0
  657. package/dist/components/rtk-header.d.ts +11 -0
  658. package/dist/components/rtk-header.js +91 -0
  659. package/dist/components/rtk-icon.d.ts +11 -0
  660. package/dist/components/rtk-icon.js +6 -0
  661. package/dist/components/rtk-idle-screen.d.ts +11 -0
  662. package/dist/components/rtk-idle-screen.js +86 -0
  663. package/dist/components/rtk-image-message-view.d.ts +11 -0
  664. package/dist/components/rtk-image-message-view.js +6 -0
  665. package/dist/components/rtk-image-message.d.ts +11 -0
  666. package/dist/components/rtk-image-message.js +6 -0
  667. package/dist/components/rtk-image-viewer.d.ts +11 -0
  668. package/dist/components/rtk-image-viewer.js +94 -0
  669. package/dist/components/rtk-information-tooltip.d.ts +11 -0
  670. package/dist/components/rtk-information-tooltip.js +61 -0
  671. package/dist/components/rtk-join-stage.d.ts +11 -0
  672. package/dist/components/rtk-join-stage.js +6 -0
  673. package/dist/components/rtk-leave-button.d.ts +11 -0
  674. package/dist/components/rtk-leave-button.js +90 -0
  675. package/dist/components/rtk-leave-meeting.d.ts +11 -0
  676. package/dist/components/rtk-leave-meeting.js +6 -0
  677. package/dist/components/rtk-livestream-indicator.d.ts +11 -0
  678. package/dist/components/rtk-livestream-indicator.js +6 -0
  679. package/dist/components/rtk-livestream-player.d.ts +11 -0
  680. package/dist/components/rtk-livestream-player.js +6 -0
  681. package/dist/components/rtk-livestream-toggle.d.ts +11 -0
  682. package/dist/components/rtk-livestream-toggle.js +184 -0
  683. package/dist/components/rtk-logo.d.ts +11 -0
  684. package/dist/components/rtk-logo.js +6 -0
  685. package/dist/components/rtk-markdown-view.d.ts +11 -0
  686. package/dist/components/rtk-markdown-view.js +6 -0
  687. package/dist/components/rtk-meeting-title.d.ts +11 -0
  688. package/dist/components/rtk-meeting-title.js +74 -0
  689. package/dist/components/rtk-meeting.d.ts +11 -0
  690. package/dist/components/rtk-meeting.js +566 -0
  691. package/dist/components/rtk-menu-item.d.ts +11 -0
  692. package/dist/components/rtk-menu-item.js +6 -0
  693. package/dist/components/rtk-menu-list.d.ts +11 -0
  694. package/dist/components/rtk-menu-list.js +6 -0
  695. package/dist/components/rtk-menu.d.ts +11 -0
  696. package/dist/components/rtk-menu.js +6 -0
  697. package/dist/components/rtk-message-list-view.d.ts +11 -0
  698. package/dist/components/rtk-message-list-view.js +324 -0
  699. package/dist/components/rtk-message-view.d.ts +11 -0
  700. package/dist/components/rtk-message-view.js +6 -0
  701. package/dist/components/rtk-mic-toggle.d.ts +11 -0
  702. package/dist/components/rtk-mic-toggle.js +235 -0
  703. package/dist/components/rtk-microphone-selector.d.ts +11 -0
  704. package/dist/components/rtk-microphone-selector.js +6 -0
  705. package/dist/components/rtk-mixed-grid.d.ts +11 -0
  706. package/dist/components/rtk-mixed-grid.js +298 -0
  707. package/dist/components/rtk-more-toggle.d.ts +11 -0
  708. package/dist/components/rtk-more-toggle.js +115 -0
  709. package/dist/components/rtk-mute-all-button.d.ts +11 -0
  710. package/dist/components/rtk-mute-all-button.js +128 -0
  711. package/dist/components/rtk-mute-all-confirmation.d.ts +11 -0
  712. package/dist/components/rtk-mute-all-confirmation.js +6 -0
  713. package/dist/components/rtk-name-tag.d.ts +11 -0
  714. package/dist/components/rtk-name-tag.js +6 -0
  715. package/dist/components/rtk-network-indicator.d.ts +11 -0
  716. package/dist/components/rtk-network-indicator.js +117 -0
  717. package/dist/components/rtk-notification.d.ts +11 -0
  718. package/dist/components/rtk-notification.js +6 -0
  719. package/dist/components/rtk-notifications.d.ts +11 -0
  720. package/dist/components/rtk-notifications.js +6 -0
  721. package/dist/components/rtk-overlay-modal.d.ts +11 -0
  722. package/dist/components/rtk-overlay-modal.js +6 -0
  723. package/dist/components/rtk-paginated-list.d.ts +11 -0
  724. package/dist/components/rtk-paginated-list.js +6 -0
  725. package/dist/components/rtk-participant-count.d.ts +11 -0
  726. package/dist/components/rtk-participant-count.js +121 -0
  727. package/dist/components/rtk-participant-setup.d.ts +11 -0
  728. package/dist/components/rtk-participant-setup.js +149 -0
  729. package/dist/components/rtk-participant-tile.d.ts +11 -0
  730. package/dist/components/rtk-participant-tile.js +6 -0
  731. package/dist/components/rtk-participant.d.ts +11 -0
  732. package/dist/components/rtk-participant.js +6 -0
  733. package/dist/components/rtk-participants-audio.d.ts +11 -0
  734. package/dist/components/rtk-participants-audio.js +248 -0
  735. package/dist/components/rtk-participants-stage-list.d.ts +11 -0
  736. package/dist/components/rtk-participants-stage-list.js +6 -0
  737. package/dist/components/rtk-participants-stage-queue.d.ts +11 -0
  738. package/dist/components/rtk-participants-stage-queue.js +6 -0
  739. package/dist/components/rtk-participants-toggle.d.ts +11 -0
  740. package/dist/components/rtk-participants-toggle.js +199 -0
  741. package/dist/components/rtk-participants-viewer-list.d.ts +11 -0
  742. package/dist/components/rtk-participants-viewer-list.js +6 -0
  743. package/dist/components/rtk-participants-waiting-list.d.ts +11 -0
  744. package/dist/components/rtk-participants-waiting-list.js +6 -0
  745. package/dist/components/rtk-participants.d.ts +11 -0
  746. package/dist/components/rtk-participants.js +304 -0
  747. package/dist/components/rtk-permissions-message.d.ts +11 -0
  748. package/dist/components/rtk-permissions-message.js +6 -0
  749. package/dist/components/rtk-pip-toggle.d.ts +11 -0
  750. package/dist/components/rtk-pip-toggle.js +133 -0
  751. package/dist/components/rtk-plugin-main.d.ts +11 -0
  752. package/dist/components/rtk-plugin-main.js +6 -0
  753. package/dist/components/rtk-plugins-toggle.d.ts +11 -0
  754. package/dist/components/rtk-plugins-toggle.js +152 -0
  755. package/dist/components/rtk-plugins.d.ts +11 -0
  756. package/dist/components/rtk-plugins.js +6 -0
  757. package/dist/components/rtk-poll-form.d.ts +11 -0
  758. package/dist/components/rtk-poll-form.js +6 -0
  759. package/dist/components/rtk-poll.d.ts +11 -0
  760. package/dist/components/rtk-poll.js +6 -0
  761. package/dist/components/rtk-polls-toggle.d.ts +11 -0
  762. package/dist/components/rtk-polls-toggle.js +164 -0
  763. package/dist/components/rtk-polls.d.ts +11 -0
  764. package/dist/components/rtk-polls.js +6 -0
  765. package/dist/components/rtk-recording-indicator.d.ts +11 -0
  766. package/dist/components/rtk-recording-indicator.js +99 -0
  767. package/dist/components/rtk-recording-toggle.d.ts +11 -0
  768. package/dist/components/rtk-recording-toggle.js +206 -0
  769. package/dist/components/rtk-screen-share-toggle.d.ts +11 -0
  770. package/dist/components/rtk-screen-share-toggle.js +321 -0
  771. package/dist/components/rtk-screenshare-view.d.ts +11 -0
  772. package/dist/components/rtk-screenshare-view.js +197 -0
  773. package/dist/components/rtk-settings-audio.d.ts +11 -0
  774. package/dist/components/rtk-settings-audio.js +6 -0
  775. package/dist/components/rtk-settings-toggle.d.ts +11 -0
  776. package/dist/components/rtk-settings-toggle.js +96 -0
  777. package/dist/components/rtk-settings-video.d.ts +11 -0
  778. package/dist/components/rtk-settings-video.js +6 -0
  779. package/dist/components/rtk-settings.d.ts +11 -0
  780. package/dist/components/rtk-settings.js +211 -0
  781. package/dist/components/rtk-setup-screen.d.ts +11 -0
  782. package/dist/components/rtk-setup-screen.js +186 -0
  783. package/dist/components/rtk-sidebar-ui.d.ts +11 -0
  784. package/dist/components/rtk-sidebar-ui.js +6 -0
  785. package/dist/components/rtk-sidebar.d.ts +11 -0
  786. package/dist/components/rtk-sidebar.js +231 -0
  787. package/dist/components/rtk-simple-grid.d.ts +11 -0
  788. package/dist/components/rtk-simple-grid.js +147 -0
  789. package/dist/components/rtk-speaker-selector.d.ts +11 -0
  790. package/dist/components/rtk-speaker-selector.js +6 -0
  791. package/dist/components/rtk-spinner.d.ts +11 -0
  792. package/dist/components/rtk-spinner.js +6 -0
  793. package/dist/components/rtk-spotlight-grid.d.ts +11 -0
  794. package/dist/components/rtk-spotlight-grid.js +135 -0
  795. package/dist/components/rtk-spotlight-indicator.d.ts +11 -0
  796. package/dist/components/rtk-spotlight-indicator.js +6 -0
  797. package/dist/components/rtk-stage-toggle.d.ts +11 -0
  798. package/dist/components/rtk-stage-toggle.js +198 -0
  799. package/dist/components/rtk-stage.d.ts +11 -0
  800. package/dist/components/rtk-stage.js +61 -0
  801. package/dist/components/rtk-switch.d.ts +11 -0
  802. package/dist/components/rtk-switch.js +6 -0
  803. package/dist/components/rtk-tab-bar.d.ts +11 -0
  804. package/dist/components/rtk-tab-bar.js +6 -0
  805. package/dist/components/rtk-text-composer-view.d.ts +11 -0
  806. package/dist/components/rtk-text-composer-view.js +6 -0
  807. package/dist/components/rtk-text-message-view.d.ts +11 -0
  808. package/dist/components/rtk-text-message-view.js +6 -0
  809. package/dist/components/rtk-text-message.d.ts +11 -0
  810. package/dist/components/rtk-text-message.js +6 -0
  811. package/dist/components/rtk-tooltip.d.ts +11 -0
  812. package/dist/components/rtk-tooltip.js +6 -0
  813. package/dist/components/rtk-transcript.d.ts +11 -0
  814. package/dist/components/rtk-transcript.js +6 -0
  815. package/dist/components/rtk-transcripts.d.ts +11 -0
  816. package/dist/components/rtk-transcripts.js +197 -0
  817. package/dist/components/rtk-ui-provider.d.ts +11 -0
  818. package/dist/components/rtk-ui-provider.js +195 -0
  819. package/dist/components/rtk-viewer-count.d.ts +11 -0
  820. package/dist/components/rtk-viewer-count.js +6 -0
  821. package/dist/components/rtk-virtualized-participant-list.d.ts +11 -0
  822. package/dist/components/rtk-virtualized-participant-list.js +6 -0
  823. package/dist/components/rtk-waiting-screen.d.ts +11 -0
  824. package/dist/components/rtk-waiting-screen.js +74 -0
  825. package/dist/docs/docs-components.d.ts +443 -0
  826. package/dist/docs/docs-components.json +239263 -0
  827. package/dist/docs/docs-vscode.json +4429 -0
  828. package/dist/esm/ChatHead-cf7a7e22.js +41 -0
  829. package/dist/esm/ResizeObserver.es-02979d4e.js +928 -0
  830. package/dist/esm/TextMessage-efd224db.js +67 -0
  831. package/dist/esm/app-globals-0f993ce5.js +3 -0
  832. package/dist/esm/chat-c25836b0.js +200 -0
  833. package/dist/esm/clone-acd4af50.js +752 -0
  834. package/dist/esm/config-1ca1ba30.js +1178 -0
  835. package/dist/esm/debounce-0169a54d.js +542 -0
  836. package/dist/esm/debounce-ea0579b2.js +329 -0
  837. package/dist/esm/file-1d408324.js +57 -0
  838. package/dist/esm/floating-ui.dom.esm-cf1488a2.js +1892 -0
  839. package/dist/esm/full-screen-1f58c594.js +50 -0
  840. package/dist/esm/grid-a3ca5a3e.js +96 -0
  841. package/dist/esm/hark-6327d91e.js +299 -0
  842. package/dist/esm/index-6aaa85ca.js +24 -0
  843. package/dist/esm/index-c1fb98bb.js +2158 -0
  844. package/dist/esm/index-d31a2e33.js +224 -0
  845. package/dist/esm/index.js +249 -0
  846. package/dist/esm/isObjectLike-773b9473.js +164 -0
  847. package/dist/esm/keysIn-310f65c1.js +1409 -0
  848. package/dist/esm/loader.js +56266 -0
  849. package/dist/esm/logger-31448943.js +3 -0
  850. package/dist/esm/notification-800f2bcd.js +42 -0
  851. package/dist/esm/realtimekit-ui.js +20 -0
  852. package/dist/esm/rtk-ai-toggle.entry.js +72 -0
  853. package/dist/esm/rtk-ai-transcriptions.entry.js +134 -0
  854. package/dist/esm/rtk-ai.entry.js +87 -0
  855. package/dist/esm/rtk-audio-grid.entry.js +112 -0
  856. package/dist/esm/rtk-audio-tile.entry.js +126 -0
  857. package/dist/esm/rtk-audio-visualizer_4.entry.js +494 -0
  858. package/dist/esm/rtk-avatar_54.entry.js +6321 -0
  859. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +82 -0
  860. package/dist/esm/rtk-camera-selector_2.entry.js +276 -0
  861. package/dist/esm/rtk-camera-toggle.entry.js +182 -0
  862. package/dist/esm/rtk-caption-toggle.entry.js +80 -0
  863. package/dist/esm/rtk-channel-selector-ui.entry.js +143 -0
  864. package/dist/esm/rtk-chat-composer-ui.entry.js +311 -0
  865. package/dist/esm/rtk-chat-selector-ui.entry.js +74 -0
  866. package/dist/esm/rtk-chat-toggle.entry.js +134 -0
  867. package/dist/esm/rtk-clock.entry.js +94 -0
  868. package/dist/esm/rtk-controlbar-button.entry.js +45 -0
  869. package/dist/esm/rtk-controlbar.entry.js +62 -0
  870. package/dist/esm/rtk-debugger-toggle.entry.js +57 -0
  871. package/dist/esm/rtk-ended-screen.entry.js +105 -0
  872. package/dist/esm/rtk-file-dropzone.entry.js +56 -0
  873. package/dist/esm/rtk-fullscreen-toggle.entry.js +82 -0
  874. package/dist/esm/rtk-grid-pagination.entry.js +155 -0
  875. package/dist/esm/rtk-grid.entry.js +358 -0
  876. package/dist/esm/rtk-header.entry.js +62 -0
  877. package/dist/esm/rtk-idle-screen.entry.js +43 -0
  878. package/dist/esm/rtk-image-viewer.entry.js +58 -0
  879. package/dist/esm/rtk-information-tooltip.entry.js +33 -0
  880. package/dist/esm/rtk-leave-button.entry.js +48 -0
  881. package/dist/esm/rtk-livestream-indicator_3.entry.js +29142 -0
  882. package/dist/esm/rtk-livestream-toggle.entry.js +138 -0
  883. package/dist/esm/rtk-meeting-title.entry.js +45 -0
  884. package/dist/esm/rtk-message-list-view.entry.js +281 -0
  885. package/dist/esm/rtk-mic-toggle.entry.js +180 -0
  886. package/dist/esm/rtk-mixed-grid.entry.js +222 -0
  887. package/dist/esm/rtk-more-toggle.entry.js +73 -0
  888. package/dist/esm/rtk-mute-all-button.entry.js +75 -0
  889. package/dist/esm/rtk-name-tag.entry.js +68 -0
  890. package/dist/esm/rtk-network-indicator.entry.js +82 -0
  891. package/dist/esm/rtk-participant-count.entry.js +87 -0
  892. package/dist/esm/rtk-participant-setup.entry.js +114 -0
  893. package/dist/esm/rtk-participant_2.entry.js +414 -0
  894. package/dist/esm/rtk-participants-audio.entry.js +203 -0
  895. package/dist/esm/rtk-participants-stage-list_4.entry.js +460 -0
  896. package/dist/esm/rtk-participants-toggle.entry.js +146 -0
  897. package/dist/esm/rtk-participants.entry.js +186 -0
  898. package/dist/esm/rtk-pip-toggle.entry.js +84 -0
  899. package/dist/esm/rtk-plugin-main_2.entry.js +191 -0
  900. package/dist/esm/rtk-plugins-toggle.entry.js +102 -0
  901. package/dist/esm/rtk-plugins_2.entry.js +176 -0
  902. package/dist/esm/rtk-poll_2.entry.js +137 -0
  903. package/dist/esm/rtk-polls-toggle.entry.js +113 -0
  904. package/dist/esm/rtk-recording-indicator.entry.js +66 -0
  905. package/dist/esm/rtk-recording-toggle.entry.js +158 -0
  906. package/dist/esm/rtk-screen-share-toggle.entry.js +262 -0
  907. package/dist/esm/rtk-screenshare-view.entry.js +145 -0
  908. package/dist/esm/rtk-settings-audio_2.entry.js +145 -0
  909. package/dist/esm/rtk-settings-toggle.entry.js +53 -0
  910. package/dist/esm/rtk-settings.entry.js +120 -0
  911. package/dist/esm/rtk-setup-screen.entry.js +116 -0
  912. package/dist/esm/rtk-sidebar-ui.entry.js +76 -0
  913. package/dist/esm/rtk-sidebar.entry.js +147 -0
  914. package/dist/esm/rtk-simple-grid.entry.js +114 -0
  915. package/dist/esm/rtk-spotlight-grid.entry.js +103 -0
  916. package/dist/esm/rtk-spotlight-indicator.entry.js +81 -0
  917. package/dist/esm/rtk-stage-toggle.entry.js +143 -0
  918. package/dist/esm/rtk-stage.entry.js +39 -0
  919. package/dist/esm/rtk-transcript.entry.js +54 -0
  920. package/dist/esm/rtk-transcripts.entry.js +163 -0
  921. package/dist/esm/rtk-ui-provider.entry.js +164 -0
  922. package/dist/esm/rtk-waiting-screen.entry.js +43 -0
  923. package/dist/esm/scroll-2d8e810c.js +13 -0
  924. package/dist/esm/sidebar-cafaa8d3.js +45 -0
  925. package/dist/esm/size-505ade24.js +26 -0
  926. package/dist/esm/string-ed1380fb.js +58 -0
  927. package/dist/esm/ui-store-b453cdf2.js +1582 -0
  928. package/dist/index.cjs.js +1 -0
  929. package/dist/index.js +1 -0
  930. package/dist/realtimekit-ui/index.esm.js +1 -0
  931. package/dist/realtimekit-ui/p-01f5aba6.entry.js +1 -0
  932. package/dist/realtimekit-ui/p-02f19345.js +1 -0
  933. package/dist/realtimekit-ui/p-03a04390.entry.js +1 -0
  934. package/dist/realtimekit-ui/p-050f0b1f.entry.js +1 -0
  935. package/dist/realtimekit-ui/p-0752f2ba.js +1 -0
  936. package/dist/realtimekit-ui/p-0a1d9e02.entry.js +1 -0
  937. package/dist/realtimekit-ui/p-0b1fabf5.js +1 -0
  938. package/dist/realtimekit-ui/p-0d4db84d.entry.js +1 -0
  939. package/dist/realtimekit-ui/p-0e777b3f.entry.js +1 -0
  940. package/dist/realtimekit-ui/p-0ee570cd.js +2 -0
  941. package/dist/realtimekit-ui/p-131b1e94.entry.js +1 -0
  942. package/dist/realtimekit-ui/p-139da463.entry.js +1 -0
  943. package/dist/realtimekit-ui/p-18fdb6bb.entry.js +1 -0
  944. package/dist/realtimekit-ui/p-235b7aa8.entry.js +1 -0
  945. package/dist/realtimekit-ui/p-238a19f8.entry.js +1 -0
  946. package/dist/realtimekit-ui/p-29802710.entry.js +1 -0
  947. package/dist/realtimekit-ui/p-2aa242f4.js +1 -0
  948. package/dist/realtimekit-ui/p-2bfa32da.entry.js +1 -0
  949. package/dist/realtimekit-ui/p-2c3cda13.js +1 -0
  950. package/dist/realtimekit-ui/p-31964573.js +1 -0
  951. package/dist/realtimekit-ui/p-338c7261.js +1 -0
  952. package/dist/realtimekit-ui/p-3ed1c004.entry.js +1 -0
  953. package/dist/realtimekit-ui/p-3f882e7c.js +1 -0
  954. package/dist/realtimekit-ui/p-3fd79328.entry.js +1 -0
  955. package/dist/realtimekit-ui/p-42a64cbb.entry.js +1 -0
  956. package/dist/realtimekit-ui/p-44915a3b.entry.js +1 -0
  957. package/dist/realtimekit-ui/p-457a0412.entry.js +1 -0
  958. package/dist/realtimekit-ui/p-46923b34.js +1 -0
  959. package/dist/realtimekit-ui/p-4b882b41.js +1 -0
  960. package/dist/realtimekit-ui/p-4d8ab9a5.entry.js +1 -0
  961. package/dist/realtimekit-ui/p-4f2ec64b.entry.js +1 -0
  962. package/dist/realtimekit-ui/p-4f45e362.entry.js +1 -0
  963. package/dist/realtimekit-ui/p-4ff47eb0.entry.js +1 -0
  964. package/dist/realtimekit-ui/p-5325b5e5.entry.js +1 -0
  965. package/dist/realtimekit-ui/p-55040827.entry.js +1 -0
  966. package/dist/realtimekit-ui/p-55503b00.entry.js +1 -0
  967. package/dist/realtimekit-ui/p-556db3a1.entry.js +1 -0
  968. package/dist/realtimekit-ui/p-5605a420.js +1 -0
  969. package/dist/realtimekit-ui/p-560c3d93.entry.js +1 -0
  970. package/dist/realtimekit-ui/p-58e58de6.entry.js +1 -0
  971. package/dist/realtimekit-ui/p-5b15e3cf.entry.js +1 -0
  972. package/dist/realtimekit-ui/p-61c38e05.entry.js +1 -0
  973. package/dist/realtimekit-ui/p-621a7265.entry.js +1 -0
  974. package/dist/realtimekit-ui/p-679bd218.entry.js +1 -0
  975. package/dist/realtimekit-ui/p-6be9be47.entry.js +1 -0
  976. package/dist/realtimekit-ui/p-6c238609.entry.js +1 -0
  977. package/dist/realtimekit-ui/p-6ededa68.js +1 -0
  978. package/dist/realtimekit-ui/p-73bc3abd.entry.js +1 -0
  979. package/dist/realtimekit-ui/p-7536cb87.entry.js +1 -0
  980. package/dist/realtimekit-ui/p-7c1a2584.entry.js +1 -0
  981. package/dist/realtimekit-ui/p-7dbd2a25.entry.js +1 -0
  982. package/dist/realtimekit-ui/p-807dd186.entry.js +1 -0
  983. package/dist/realtimekit-ui/p-85ff4a34.entry.js +1 -0
  984. package/dist/realtimekit-ui/p-89f6a08a.entry.js +1 -0
  985. package/dist/realtimekit-ui/p-8fe6b03c.entry.js +1 -0
  986. package/dist/realtimekit-ui/p-917f2951.entry.js +1 -0
  987. package/dist/realtimekit-ui/p-93f881e2.entry.js +1 -0
  988. package/dist/realtimekit-ui/p-9435f236.entry.js +1 -0
  989. package/dist/realtimekit-ui/p-94b739b4.entry.js +1 -0
  990. package/dist/realtimekit-ui/p-96be234f.js +1 -0
  991. package/dist/realtimekit-ui/p-9946b484.entry.js +1 -0
  992. package/dist/realtimekit-ui/p-9bbe1d7c.entry.js +1 -0
  993. package/dist/realtimekit-ui/p-9fc565cf.js +1 -0
  994. package/dist/realtimekit-ui/p-9ff45356.entry.js +1 -0
  995. package/dist/realtimekit-ui/p-a08b5a59.js +1 -0
  996. package/dist/realtimekit-ui/p-a5d22edf.entry.js +1 -0
  997. package/dist/realtimekit-ui/p-a6f03681.entry.js +1 -0
  998. package/dist/realtimekit-ui/p-a738a7b3.entry.js +1 -0
  999. package/dist/realtimekit-ui/p-aaba206b.js +1 -0
  1000. package/dist/realtimekit-ui/p-ac91f9f9.entry.js +1 -0
  1001. package/dist/realtimekit-ui/p-affaaf1a.entry.js +1 -0
  1002. package/dist/realtimekit-ui/p-b13ddb7d.js +1 -0
  1003. package/dist/realtimekit-ui/p-b14563cb.entry.js +1 -0
  1004. package/dist/realtimekit-ui/p-b16cee89.js +1 -0
  1005. package/dist/realtimekit-ui/p-b62f9abb.entry.js +1 -0
  1006. package/dist/realtimekit-ui/p-b80f1bed.entry.js +1 -0
  1007. package/dist/realtimekit-ui/p-bc17c582.entry.js +1 -0
  1008. package/dist/realtimekit-ui/p-bf56688f.entry.js +1 -0
  1009. package/dist/realtimekit-ui/p-c15d924f.js +1 -0
  1010. package/dist/realtimekit-ui/p-c6f7cd03.entry.js +1 -0
  1011. package/dist/realtimekit-ui/p-c8eaa707.js +1 -0
  1012. package/dist/realtimekit-ui/p-c8f8b690.entry.js +1 -0
  1013. package/dist/realtimekit-ui/p-cbdd7a99.js +1 -0
  1014. package/dist/realtimekit-ui/p-d013442a.entry.js +1 -0
  1015. package/dist/realtimekit-ui/p-d075d673.entry.js +1 -0
  1016. package/dist/realtimekit-ui/p-d77f7f22.entry.js +1 -0
  1017. package/dist/realtimekit-ui/p-d9217d24.entry.js +1 -0
  1018. package/dist/realtimekit-ui/p-d9e81b11.entry.js +1 -0
  1019. package/dist/realtimekit-ui/p-dbb95589.entry.js +1 -0
  1020. package/dist/realtimekit-ui/p-e1255160.js +1 -0
  1021. package/dist/realtimekit-ui/p-e13b5128.entry.js +1 -0
  1022. package/dist/realtimekit-ui/p-e171b1c4.entry.js +1 -0
  1023. package/dist/realtimekit-ui/p-e80cf367.entry.js +1 -0
  1024. package/dist/realtimekit-ui/p-ee167b96.js +1 -0
  1025. package/dist/realtimekit-ui/p-f47d4fe8.js +1 -0
  1026. package/dist/realtimekit-ui/p-f7c6931d.entry.js +1 -0
  1027. package/dist/realtimekit-ui/p-fc36f92c.js +1 -0
  1028. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -0
  1029. package/dist/types/components/rtk-ai/rtk-ai.d.ts +31 -0
  1030. package/dist/types/components/rtk-ai-toggle/rtk-ai-toggle.d.ts +26 -0
  1031. package/dist/types/components/rtk-ai-transcriptions/rtk-ai-transcriptions.d.ts +26 -0
  1032. package/dist/types/components/rtk-audio-grid/rtk-audio-grid.d.ts +29 -0
  1033. package/dist/types/components/rtk-audio-tile/rtk-audio-tile.d.ts +33 -0
  1034. package/dist/types/components/rtk-audio-visualizer/rtk-audio-visualizer.d.ts +42 -0
  1035. package/dist/types/components/rtk-avatar/rtk-avatar.d.ts +26 -0
  1036. package/dist/types/components/rtk-breakout-room-manager/rtk-breakout-room-manager.d.ts +70 -0
  1037. package/dist/types/components/rtk-breakout-room-participants/rtk-breakout-room-participants.d.ts +46 -0
  1038. package/dist/types/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.d.ts +34 -0
  1039. package/dist/types/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.d.ts +82 -0
  1040. package/dist/types/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.d.ts +26 -0
  1041. package/dist/types/components/rtk-button/rtk-button.d.ts +25 -0
  1042. package/dist/types/components/rtk-camera-selector/rtk-camera-selector.d.ts +40 -0
  1043. package/dist/types/components/rtk-camera-toggle/rtk-camera-toggle.d.ts +39 -0
  1044. package/dist/types/components/rtk-caption-toggle/rtk-caption-toggle.d.ts +30 -0
  1045. package/dist/types/components/rtk-channel-creator/rtk-channel-creator.d.ts +34 -0
  1046. package/dist/types/components/rtk-channel-details/rtk-channel-details.d.ts +15 -0
  1047. package/dist/types/components/rtk-channel-header/rtk-channel-header.d.ts +31 -0
  1048. package/dist/types/components/rtk-channel-selector-ui/rtk-channel-selector-ui.d.ts +32 -0
  1049. package/dist/types/components/rtk-channel-selector-view/rtk-channel-selector-view.d.ts +62 -0
  1050. package/dist/types/components/rtk-chat/components/ChatHead.d.ts +8 -0
  1051. package/dist/types/components/rtk-chat/rtk-chat.d.ts +122 -0
  1052. package/dist/types/components/rtk-chat-composer-ui/rtk-chat-composer-ui.d.ts +84 -0
  1053. package/dist/types/components/rtk-chat-composer-view/rtk-chat-composer-view.d.ts +73 -0
  1054. package/dist/types/components/rtk-chat-message/rtk-chat-message.d.ts +67 -0
  1055. package/dist/types/components/rtk-chat-messages-ui/rtk-chat-messages-ui.d.ts +46 -0
  1056. package/dist/types/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.d.ts +61 -0
  1057. package/dist/types/components/rtk-chat-search-results/rtk-chat-search-results.d.ts +18 -0
  1058. package/dist/types/components/rtk-chat-selector-ui/rtk-chat-selector-ui.d.ts +29 -0
  1059. package/dist/types/components/rtk-chat-toggle/rtk-chat-toggle.d.ts +50 -0
  1060. package/dist/types/components/rtk-clock/rtk-clock.d.ts +23 -0
  1061. package/dist/types/components/rtk-confirmation-modal/rtk-confirmation-modal.d.ts +27 -0
  1062. package/dist/types/components/rtk-controlbar/rtk-controlbar.d.ts +28 -0
  1063. package/dist/types/components/rtk-controlbar-button/rtk-controlbar-button.d.ts +30 -0
  1064. package/dist/types/components/rtk-counter/rtk-counter.d.ts +27 -0
  1065. package/dist/types/components/rtk-debugger/rtk-debugger.d.ts +34 -0
  1066. package/dist/types/components/rtk-debugger-audio/rtk-debugger-audio.d.ts +36 -0
  1067. package/dist/types/components/rtk-debugger-screenshare/rtk-debugger-screenshare.d.ts +38 -0
  1068. package/dist/types/components/rtk-debugger-system/rtk-debugger-system.d.ts +40 -0
  1069. package/dist/types/components/rtk-debugger-toggle/rtk-debugger-toggle.d.ts +24 -0
  1070. package/dist/types/components/rtk-debugger-video/rtk-debugger-video.d.ts +36 -0
  1071. package/dist/types/components/rtk-dialog/rtk-dialog.d.ts +38 -0
  1072. package/dist/types/components/rtk-dialog-manager/rtk-dialog-manager.d.ts +41 -0
  1073. package/dist/types/components/rtk-draft-attachment-view/rtk-draft-attachment-view.d.ts +26 -0
  1074. package/dist/types/components/rtk-emoji-picker/rtk-emoji-picker.d.ts +32 -0
  1075. package/dist/types/components/rtk-emoji-picker-button/rtk-emoji-picker-button.d.ts +10 -0
  1076. package/dist/types/components/rtk-ended-screen/rtk-ended-screen.d.ts +30 -0
  1077. package/dist/types/components/rtk-file-dropzone/rtk-file-dropzone.d.ts +15 -0
  1078. package/dist/types/components/rtk-file-message/rtk-file-message.d.ts +21 -0
  1079. package/dist/types/components/rtk-file-message-view/rtk-file-message-view.d.ts +15 -0
  1080. package/dist/types/components/rtk-file-picker-button/rtk-file-picker-button.d.ts +21 -0
  1081. package/dist/types/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.d.ts +32 -0
  1082. package/dist/types/components/rtk-grid/rtk-grid.d.ts +83 -0
  1083. package/dist/types/components/rtk-grid-pagination/rtk-grid-pagination.d.ts +40 -0
  1084. package/dist/types/components/rtk-header/rtk-header.d.ts +28 -0
  1085. package/dist/types/components/rtk-icon/rtk-icon.d.ts +14 -0
  1086. package/dist/types/components/rtk-idle-screen/rtk-idle-screen.d.ts +19 -0
  1087. package/dist/types/components/rtk-image-message/rtk-image-message.d.ts +26 -0
  1088. package/dist/types/components/rtk-image-message-view/rtk-image-message-view.d.ts +17 -0
  1089. package/dist/types/components/rtk-image-viewer/rtk-image-viewer.d.ts +25 -0
  1090. package/dist/types/components/rtk-information-tooltip/rtk-information-tooltip.d.ts +6 -0
  1091. package/dist/types/components/rtk-join-stage/rtk-join-stage.d.ts +38 -0
  1092. package/dist/types/components/rtk-leave-button/rtk-leave-button.d.ts +22 -0
  1093. package/dist/types/components/rtk-leave-meeting/rtk-leave-meeting.d.ts +35 -0
  1094. package/dist/types/components/rtk-livestream-indicator/rtk-livestream-indicator.d.ts +18 -0
  1095. package/dist/types/components/rtk-livestream-player/rtk-livestream-player.d.ts +60 -0
  1096. package/dist/types/components/rtk-livestream-toggle/rtk-livestream-toggle.d.ts +40 -0
  1097. package/dist/types/components/rtk-logo/rtk-logo.d.ts +20 -0
  1098. package/dist/types/components/rtk-markdown-view/rtk-markdown-view.d.ts +15 -0
  1099. package/dist/types/components/rtk-meeting/rtk-meeting.d.ts +59 -0
  1100. package/dist/types/components/rtk-meeting-title/rtk-meeting-title.d.ts +15 -0
  1101. package/dist/types/components/rtk-menu/rtk-menu.d.ts +30 -0
  1102. package/dist/types/components/rtk-menu-item/rtk-menu-item.d.ts +19 -0
  1103. package/dist/types/components/rtk-menu-list/rtk-menu-list.d.ts +14 -0
  1104. package/dist/types/components/rtk-message-list-view/rtk-message-list-view.d.ts +62 -0
  1105. package/dist/types/components/rtk-message-view/rtk-message-view.d.ts +33 -0
  1106. package/dist/types/components/rtk-mic-toggle/rtk-mic-toggle.d.ts +39 -0
  1107. package/dist/types/components/rtk-microphone-selector/rtk-microphone-selector.d.ts +42 -0
  1108. package/dist/types/components/rtk-mixed-grid/rtk-mixed-grid.d.ts +61 -0
  1109. package/dist/types/components/rtk-more-toggle/rtk-more-toggle.d.ts +32 -0
  1110. package/dist/types/components/rtk-mute-all-button/rtk-mute-all-button.d.ts +26 -0
  1111. package/dist/types/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.d.ts +21 -0
  1112. package/dist/types/components/rtk-name-tag/rtk-name-tag.d.ts +28 -0
  1113. package/dist/types/components/rtk-network-indicator/rtk-network-indicator.d.ts +20 -0
  1114. package/dist/types/components/rtk-notification/rtk-notification.d.ts +30 -0
  1115. package/dist/types/components/rtk-notifications/rtk-notifications.d.ts +69 -0
  1116. package/dist/types/components/rtk-overlay-modal/rtk-overlay-modal.d.ts +22 -0
  1117. package/dist/types/components/rtk-paginated-list/rtk-paginated-list.d.ts +91 -0
  1118. package/dist/types/components/rtk-participant/rtk-participant.d.ts +62 -0
  1119. package/dist/types/components/rtk-participant-count/rtk-participant-count.d.ts +26 -0
  1120. package/dist/types/components/rtk-participant-setup/rtk-participant-setup.d.ts +37 -0
  1121. package/dist/types/components/rtk-participant-tile/rtk-participant-tile.d.ts +55 -0
  1122. package/dist/types/components/rtk-participants/rtk-participants.d.ts +48 -0
  1123. package/dist/types/components/rtk-participants-audio/rtk-participants-audio.d.ts +34 -0
  1124. package/dist/types/components/rtk-participants-stage-list/rtk-participants-stage-list.d.ts +42 -0
  1125. package/dist/types/components/rtk-participants-stage-queue/rtk-participants-stage-queue.d.ts +29 -0
  1126. package/dist/types/components/rtk-participants-toggle/rtk-participants-toggle.d.ts +49 -0
  1127. package/dist/types/components/rtk-participants-viewer-list/rtk-participants-viewer-list.d.ts +33 -0
  1128. package/dist/types/components/rtk-participants-waiting-list/rtk-participants-waiting-list.d.ts +29 -0
  1129. package/dist/types/components/rtk-permissions-message/rtk-permissions-message.d.ts +40 -0
  1130. package/dist/types/components/rtk-pip-toggle/rtk-pip-toggle.d.ts +28 -0
  1131. package/dist/types/components/rtk-plugin-main/rtk-plugin-main.d.ts +28 -0
  1132. package/dist/types/components/rtk-plugins/rtk-plugins.d.ts +35 -0
  1133. package/dist/types/components/rtk-plugins-toggle/rtk-plugins-toggle.d.ts +42 -0
  1134. package/dist/types/components/rtk-poll/rtk-poll.d.ts +30 -0
  1135. package/dist/types/components/rtk-poll-form/rtk-poll-form.d.ts +30 -0
  1136. package/dist/types/components/rtk-polls/rtk-polls.d.ts +38 -0
  1137. package/dist/types/components/rtk-polls-toggle/rtk-polls-toggle.d.ts +46 -0
  1138. package/dist/types/components/rtk-recording-indicator/rtk-recording-indicator.d.ts +26 -0
  1139. package/dist/types/components/rtk-recording-toggle/rtk-recording-toggle.d.ts +47 -0
  1140. package/dist/types/components/rtk-screen-share-toggle/rtk-screen-share-toggle.d.ts +67 -0
  1141. package/dist/types/components/rtk-screenshare-view/rtk-screenshare-view.d.ts +52 -0
  1142. package/dist/types/components/rtk-settings/rtk-settings.d.ts +38 -0
  1143. package/dist/types/components/rtk-settings-audio/rtk-settings-audio.d.ts +32 -0
  1144. package/dist/types/components/rtk-settings-toggle/rtk-settings-toggle.d.ts +30 -0
  1145. package/dist/types/components/rtk-settings-video/rtk-settings-video.d.ts +37 -0
  1146. package/dist/types/components/rtk-setup-screen/rtk-setup-screen.d.ts +40 -0
  1147. package/dist/types/components/rtk-sidebar/rtk-sidebar.d.ts +49 -0
  1148. package/dist/types/components/rtk-sidebar-ui/rtk-sidebar-ui.d.ts +120 -0
  1149. package/dist/types/components/rtk-simple-grid/rtk-simple-grid.d.ts +43 -0
  1150. package/dist/types/components/rtk-speaker-selector/rtk-speaker-selector.d.ts +44 -0
  1151. package/dist/types/components/rtk-spinner/rtk-spinner.d.ts +12 -0
  1152. package/dist/types/components/rtk-spotlight-grid/rtk-spotlight-grid.d.ts +47 -0
  1153. package/dist/types/components/rtk-spotlight-indicator/rtk-spotlight-indicator.d.ts +22 -0
  1154. package/dist/types/components/rtk-stage/rtk-stage.d.ts +19 -0
  1155. package/dist/types/components/rtk-stage-toggle/rtk-stage-toggle.d.ts +36 -0
  1156. package/dist/types/components/rtk-switch/rtk-switch.d.ts +25 -0
  1157. package/dist/types/components/rtk-tab-bar/rtk-tab-bar.d.ts +37 -0
  1158. package/dist/types/components/rtk-text-composer-view/rtk-text-composer-view.d.ts +34 -0
  1159. package/dist/types/components/rtk-text-message/components/TextMessage.d.ts +6 -0
  1160. package/dist/types/components/rtk-text-message/rtk-text-message.d.ts +21 -0
  1161. package/dist/types/components/rtk-text-message-view/rtk-text-message-view.d.ts +10 -0
  1162. package/dist/types/components/rtk-tooltip/rtk-tooltip.d.ts +42 -0
  1163. package/dist/types/components/rtk-transcript/rtk-transcript.d.ts +30 -0
  1164. package/dist/types/components/rtk-transcripts/rtk-transcripts.d.ts +39 -0
  1165. package/dist/types/components/rtk-ui-provider/rtk-ui-provider.d.ts +45 -0
  1166. package/dist/types/components/rtk-viewer-count/rtk-viewer-count.d.ts +24 -0
  1167. package/dist/types/components/rtk-virtualized-list/rtk-virtualized-participant-list.d.ts +30 -0
  1168. package/dist/types/components/rtk-waiting-screen/rtk-waiting-screen.d.ts +15 -0
  1169. package/dist/types/components.d.ts +11544 -0
  1170. package/dist/types/exports.d.ts +20 -0
  1171. package/dist/types/globals.d.ts +15 -0
  1172. package/dist/types/index.d.ts +2 -0
  1173. package/dist/types/lib/addons/index.d.ts +27 -0
  1174. package/dist/types/lib/audio.d.ts +17 -0
  1175. package/dist/types/lib/builder/index.d.ts +42 -0
  1176. package/dist/types/lib/default-ui-config.d.ts +5 -0
  1177. package/dist/types/lib/grid.d.ts +43 -0
  1178. package/dist/types/lib/icons/default-icon-pack.d.ts +88 -0
  1179. package/dist/types/lib/icons/index.d.ts +9 -0
  1180. package/dist/types/lib/lang/default-language.d.ts +415 -0
  1181. package/dist/types/lib/lang/index.d.ts +16 -0
  1182. package/dist/types/lib/notification.d.ts +19 -0
  1183. package/dist/types/lib/render/index.d.ts +45 -0
  1184. package/dist/types/lib/render/utils.d.ts +31 -0
  1185. package/dist/types/lib/visualizer.d.ts +6 -0
  1186. package/dist/types/stencil-public-runtime.d.ts +1680 -0
  1187. package/dist/types/theme/presets/border.d.ts +13 -0
  1188. package/dist/types/theme/presets/themes.d.ts +2 -0
  1189. package/dist/types/types/floating-ui.d.ts +1 -0
  1190. package/dist/types/types/props.d.ts +175 -0
  1191. package/dist/types/types/rtk-ai.d.ts +9 -0
  1192. package/dist/types/types/rtk-client.d.ts +16 -0
  1193. package/dist/types/types/ui-config/config.d.ts +25 -0
  1194. package/dist/types/types/ui-config/design-tokens.d.ts +41 -0
  1195. package/dist/types/types/ui-config/index.d.ts +15 -0
  1196. package/dist/types/types/ui-config/root.d.ts +23 -0
  1197. package/dist/types/types/web-core.d.ts +9 -0
  1198. package/dist/types/utils/assets.d.ts +6 -0
  1199. package/dist/types/utils/breakout-rooms-manager.d.ts +100 -0
  1200. package/dist/types/utils/breakout-rooms.d.ts +24 -0
  1201. package/dist/types/utils/chat.d.ts +49 -0
  1202. package/dist/types/utils/clone.d.ts +1 -0
  1203. package/dist/types/utils/color.d.ts +69 -0
  1204. package/dist/types/utils/config.d.ts +28 -0
  1205. package/dist/types/utils/date.d.ts +3 -0
  1206. package/dist/types/utils/debugger-utils.d.ts +40 -0
  1207. package/dist/types/utils/file.d.ts +23 -0
  1208. package/dist/types/utils/full-screen.d.ts +4 -0
  1209. package/dist/types/utils/graceful-storage.d.ts +2 -0
  1210. package/dist/types/utils/logger.d.ts +1 -0
  1211. package/dist/types/utils/notification.d.ts +9 -0
  1212. package/dist/types/utils/provide-design-system.d.ts +7 -0
  1213. package/dist/types/utils/scroll.d.ts +7 -0
  1214. package/dist/types/utils/sidebar.d.ts +5 -0
  1215. package/dist/types/utils/size.d.ts +7 -0
  1216. package/dist/types/utils/stage.d.ts +3 -0
  1217. package/dist/types/utils/string.d.ts +24 -0
  1218. package/dist/types/utils/sync-with-store/index.d.ts +3 -0
  1219. package/dist/types/utils/sync-with-store/ui-store.d.ts +20 -0
  1220. package/dist/types/utils/time.d.ts +1 -0
  1221. package/dist/types/utils/troubleshooter.d.ts +151 -0
  1222. package/dist/types/utils/user-prefs.d.ts +7 -0
  1223. package/loader/cdn.js +1 -0
  1224. package/loader/index.cjs.js +1 -0
  1225. package/loader/index.d.ts +24 -0
  1226. package/loader/index.es2017.js +1 -0
  1227. package/loader/index.js +2 -0
  1228. package/loader/package.json +11 -0
  1229. package/package.json +59 -3
@@ -0,0 +1,2191 @@
1
+ 'use strict';
2
+
3
+ function _interopNamespace(e) {
4
+ if (e && e.__esModule) return e;
5
+ var n = Object.create(null);
6
+ if (e) {
7
+ Object.keys(e).forEach(function (k) {
8
+ if (k !== 'default') {
9
+ var d = Object.getOwnPropertyDescriptor(e, k);
10
+ Object.defineProperty(n, k, d.get ? d : {
11
+ enumerable: true,
12
+ get: function () {
13
+ return e[k];
14
+ }
15
+ });
16
+ }
17
+ });
18
+ }
19
+ n['default'] = e;
20
+ return Object.freeze(n);
21
+ }
22
+
23
+ const NAMESPACE = 'realtimekit-ui';
24
+ const BUILD = /* realtimekit-ui */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, constructableCSS: true, cssAnnotations: true, devTools: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: true, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
25
+
26
+ /*
27
+ Stencil Client Platform v4.27.2 | MIT Licensed | https://stenciljs.com
28
+ */
29
+ var __defProp = Object.defineProperty;
30
+ var __export = (target, all) => {
31
+ for (var name in all)
32
+ __defProp(target, name, { get: all[name], enumerable: true });
33
+ };
34
+
35
+ // src/client/client-host-ref.ts
36
+ var getHostRef = (ref) => {
37
+ if (ref.__stencil__getHostRef) {
38
+ return ref.__stencil__getHostRef();
39
+ }
40
+ return void 0;
41
+ };
42
+ var registerInstance = (lazyInstance, hostRef) => {
43
+ lazyInstance.__stencil__getHostRef = () => hostRef;
44
+ hostRef.$lazyInstance$ = lazyInstance;
45
+ };
46
+ var registerHost = (hostElement, cmpMeta) => {
47
+ const hostRef = {
48
+ $flags$: 0,
49
+ $hostElement$: hostElement,
50
+ $cmpMeta$: cmpMeta,
51
+ $instanceValues$: /* @__PURE__ */ new Map()
52
+ };
53
+ {
54
+ hostRef.$onInstancePromise$ = new Promise((r) => hostRef.$onInstanceResolve$ = r);
55
+ }
56
+ {
57
+ hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
58
+ hostElement["s-p"] = [];
59
+ hostElement["s-rc"] = [];
60
+ }
61
+ const ref = hostRef;
62
+ hostElement.__stencil__getHostRef = () => ref;
63
+ return ref;
64
+ };
65
+ var isMemberInElement = (elm, memberName) => memberName in elm;
66
+ var consoleError = (e, el) => (0, console.error)(e, el);
67
+
68
+ // src/client/client-load-module.ts
69
+ var cmpModules = /* @__PURE__ */ new Map();
70
+ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
71
+ const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
72
+ const bundleId = cmpMeta.$lazyBundleId$;
73
+ if (!bundleId) {
74
+ return void 0;
75
+ }
76
+ const module = cmpModules.get(bundleId) ;
77
+ if (module) {
78
+ return module[exportName];
79
+ }
80
+
81
+ if (!hmrVersionId || !BUILD.hotModuleReplacement) {
82
+ const processMod = importedModule => {
83
+ cmpModules.set(bundleId, importedModule);
84
+ return importedModule[exportName];
85
+ }
86
+ switch(bundleId) {
87
+
88
+ case 'rtk-avatar_54.cjs':
89
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
90
+ /* webpackMode: "lazy" */
91
+ './rtk-avatar_54.cjs.entry.js')); }).then(processMod, consoleError);
92
+ case 'rtk-ai.cjs':
93
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
94
+ /* webpackMode: "lazy" */
95
+ './rtk-ai.cjs.entry.js')); }).then(processMod, consoleError);
96
+ case 'rtk-ai-toggle.cjs':
97
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
98
+ /* webpackMode: "lazy" */
99
+ './rtk-ai-toggle.cjs.entry.js')); }).then(processMod, consoleError);
100
+ case 'rtk-audio-grid.cjs':
101
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
102
+ /* webpackMode: "lazy" */
103
+ './rtk-audio-grid.cjs.entry.js')); }).then(processMod, consoleError);
104
+ case 'rtk-audio-tile.cjs':
105
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
106
+ /* webpackMode: "lazy" */
107
+ './rtk-audio-tile.cjs.entry.js')); }).then(processMod, consoleError);
108
+ case 'rtk-breakout-rooms-toggle.cjs':
109
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
110
+ /* webpackMode: "lazy" */
111
+ './rtk-breakout-rooms-toggle.cjs.entry.js')); }).then(processMod, consoleError);
112
+ case 'rtk-camera-toggle.cjs':
113
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
114
+ /* webpackMode: "lazy" */
115
+ './rtk-camera-toggle.cjs.entry.js')); }).then(processMod, consoleError);
116
+ case 'rtk-caption-toggle.cjs':
117
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
118
+ /* webpackMode: "lazy" */
119
+ './rtk-caption-toggle.cjs.entry.js')); }).then(processMod, consoleError);
120
+ case 'rtk-channel-selector-ui.cjs':
121
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
122
+ /* webpackMode: "lazy" */
123
+ './rtk-channel-selector-ui.cjs.entry.js')); }).then(processMod, consoleError);
124
+ case 'rtk-chat-composer-ui.cjs':
125
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
126
+ /* webpackMode: "lazy" */
127
+ './rtk-chat-composer-ui.cjs.entry.js')); }).then(processMod, consoleError);
128
+ case 'rtk-chat-selector-ui.cjs':
129
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
130
+ /* webpackMode: "lazy" */
131
+ './rtk-chat-selector-ui.cjs.entry.js')); }).then(processMod, consoleError);
132
+ case 'rtk-chat-toggle.cjs':
133
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
134
+ /* webpackMode: "lazy" */
135
+ './rtk-chat-toggle.cjs.entry.js')); }).then(processMod, consoleError);
136
+ case 'rtk-clock.cjs':
137
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
138
+ /* webpackMode: "lazy" */
139
+ './rtk-clock.cjs.entry.js')); }).then(processMod, consoleError);
140
+ case 'rtk-controlbar.cjs':
141
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
142
+ /* webpackMode: "lazy" */
143
+ './rtk-controlbar.cjs.entry.js')); }).then(processMod, consoleError);
144
+ case 'rtk-debugger-toggle.cjs':
145
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
146
+ /* webpackMode: "lazy" */
147
+ './rtk-debugger-toggle.cjs.entry.js')); }).then(processMod, consoleError);
148
+ case 'rtk-ended-screen.cjs':
149
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
150
+ /* webpackMode: "lazy" */
151
+ './rtk-ended-screen.cjs.entry.js')); }).then(processMod, consoleError);
152
+ case 'rtk-file-dropzone.cjs':
153
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
154
+ /* webpackMode: "lazy" */
155
+ './rtk-file-dropzone.cjs.entry.js')); }).then(processMod, consoleError);
156
+ case 'rtk-grid.cjs':
157
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
158
+ /* webpackMode: "lazy" */
159
+ './rtk-grid.cjs.entry.js')); }).then(processMod, consoleError);
160
+ case 'rtk-grid-pagination.cjs':
161
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
162
+ /* webpackMode: "lazy" */
163
+ './rtk-grid-pagination.cjs.entry.js')); }).then(processMod, consoleError);
164
+ case 'rtk-header.cjs':
165
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
166
+ /* webpackMode: "lazy" */
167
+ './rtk-header.cjs.entry.js')); }).then(processMod, consoleError);
168
+ case 'rtk-idle-screen.cjs':
169
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
170
+ /* webpackMode: "lazy" */
171
+ './rtk-idle-screen.cjs.entry.js')); }).then(processMod, consoleError);
172
+ case 'rtk-image-viewer.cjs':
173
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
174
+ /* webpackMode: "lazy" */
175
+ './rtk-image-viewer.cjs.entry.js')); }).then(processMod, consoleError);
176
+ case 'rtk-information-tooltip.cjs':
177
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
178
+ /* webpackMode: "lazy" */
179
+ './rtk-information-tooltip.cjs.entry.js')); }).then(processMod, consoleError);
180
+ case 'rtk-leave-button.cjs':
181
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
182
+ /* webpackMode: "lazy" */
183
+ './rtk-leave-button.cjs.entry.js')); }).then(processMod, consoleError);
184
+ case 'rtk-livestream-toggle.cjs':
185
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
186
+ /* webpackMode: "lazy" */
187
+ './rtk-livestream-toggle.cjs.entry.js')); }).then(processMod, consoleError);
188
+ case 'rtk-meeting-title.cjs':
189
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
190
+ /* webpackMode: "lazy" */
191
+ './rtk-meeting-title.cjs.entry.js')); }).then(processMod, consoleError);
192
+ case 'rtk-message-list-view.cjs':
193
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
194
+ /* webpackMode: "lazy" */
195
+ './rtk-message-list-view.cjs.entry.js')); }).then(processMod, consoleError);
196
+ case 'rtk-mic-toggle.cjs':
197
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
198
+ /* webpackMode: "lazy" */
199
+ './rtk-mic-toggle.cjs.entry.js')); }).then(processMod, consoleError);
200
+ case 'rtk-mixed-grid.cjs':
201
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
202
+ /* webpackMode: "lazy" */
203
+ './rtk-mixed-grid.cjs.entry.js')); }).then(processMod, consoleError);
204
+ case 'rtk-more-toggle.cjs':
205
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
206
+ /* webpackMode: "lazy" */
207
+ './rtk-more-toggle.cjs.entry.js')); }).then(processMod, consoleError);
208
+ case 'rtk-mute-all-button.cjs':
209
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
210
+ /* webpackMode: "lazy" */
211
+ './rtk-mute-all-button.cjs.entry.js')); }).then(processMod, consoleError);
212
+ case 'rtk-network-indicator.cjs':
213
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
214
+ /* webpackMode: "lazy" */
215
+ './rtk-network-indicator.cjs.entry.js')); }).then(processMod, consoleError);
216
+ case 'rtk-participant-count.cjs':
217
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
218
+ /* webpackMode: "lazy" */
219
+ './rtk-participant-count.cjs.entry.js')); }).then(processMod, consoleError);
220
+ case 'rtk-participant-setup.cjs':
221
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
222
+ /* webpackMode: "lazy" */
223
+ './rtk-participant-setup.cjs.entry.js')); }).then(processMod, consoleError);
224
+ case 'rtk-participants.cjs':
225
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
226
+ /* webpackMode: "lazy" */
227
+ './rtk-participants.cjs.entry.js')); }).then(processMod, consoleError);
228
+ case 'rtk-participants-audio.cjs':
229
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
230
+ /* webpackMode: "lazy" */
231
+ './rtk-participants-audio.cjs.entry.js')); }).then(processMod, consoleError);
232
+ case 'rtk-participants-toggle.cjs':
233
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
234
+ /* webpackMode: "lazy" */
235
+ './rtk-participants-toggle.cjs.entry.js')); }).then(processMod, consoleError);
236
+ case 'rtk-pip-toggle.cjs':
237
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
238
+ /* webpackMode: "lazy" */
239
+ './rtk-pip-toggle.cjs.entry.js')); }).then(processMod, consoleError);
240
+ case 'rtk-plugins-toggle.cjs':
241
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
242
+ /* webpackMode: "lazy" */
243
+ './rtk-plugins-toggle.cjs.entry.js')); }).then(processMod, consoleError);
244
+ case 'rtk-polls-toggle.cjs':
245
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
246
+ /* webpackMode: "lazy" */
247
+ './rtk-polls-toggle.cjs.entry.js')); }).then(processMod, consoleError);
248
+ case 'rtk-recording-indicator.cjs':
249
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
250
+ /* webpackMode: "lazy" */
251
+ './rtk-recording-indicator.cjs.entry.js')); }).then(processMod, consoleError);
252
+ case 'rtk-recording-toggle.cjs':
253
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
254
+ /* webpackMode: "lazy" */
255
+ './rtk-recording-toggle.cjs.entry.js')); }).then(processMod, consoleError);
256
+ case 'rtk-screen-share-toggle.cjs':
257
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
258
+ /* webpackMode: "lazy" */
259
+ './rtk-screen-share-toggle.cjs.entry.js')); }).then(processMod, consoleError);
260
+ case 'rtk-screenshare-view.cjs':
261
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
262
+ /* webpackMode: "lazy" */
263
+ './rtk-screenshare-view.cjs.entry.js')); }).then(processMod, consoleError);
264
+ case 'rtk-settings.cjs':
265
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
266
+ /* webpackMode: "lazy" */
267
+ './rtk-settings.cjs.entry.js')); }).then(processMod, consoleError);
268
+ case 'rtk-settings-toggle.cjs':
269
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
270
+ /* webpackMode: "lazy" */
271
+ './rtk-settings-toggle.cjs.entry.js')); }).then(processMod, consoleError);
272
+ case 'rtk-setup-screen.cjs':
273
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
274
+ /* webpackMode: "lazy" */
275
+ './rtk-setup-screen.cjs.entry.js')); }).then(processMod, consoleError);
276
+ case 'rtk-sidebar.cjs':
277
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
278
+ /* webpackMode: "lazy" */
279
+ './rtk-sidebar.cjs.entry.js')); }).then(processMod, consoleError);
280
+ case 'rtk-simple-grid.cjs':
281
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
282
+ /* webpackMode: "lazy" */
283
+ './rtk-simple-grid.cjs.entry.js')); }).then(processMod, consoleError);
284
+ case 'rtk-spotlight-grid.cjs':
285
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
286
+ /* webpackMode: "lazy" */
287
+ './rtk-spotlight-grid.cjs.entry.js')); }).then(processMod, consoleError);
288
+ case 'rtk-stage.cjs':
289
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
290
+ /* webpackMode: "lazy" */
291
+ './rtk-stage.cjs.entry.js')); }).then(processMod, consoleError);
292
+ case 'rtk-stage-toggle.cjs':
293
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
294
+ /* webpackMode: "lazy" */
295
+ './rtk-stage-toggle.cjs.entry.js')); }).then(processMod, consoleError);
296
+ case 'rtk-transcripts.cjs':
297
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
298
+ /* webpackMode: "lazy" */
299
+ './rtk-transcripts.cjs.entry.js')); }).then(processMod, consoleError);
300
+ case 'rtk-ui-provider.cjs':
301
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
302
+ /* webpackMode: "lazy" */
303
+ './rtk-ui-provider.cjs.entry.js')); }).then(processMod, consoleError);
304
+ case 'rtk-waiting-screen.cjs':
305
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
306
+ /* webpackMode: "lazy" */
307
+ './rtk-waiting-screen.cjs.entry.js')); }).then(processMod, consoleError);
308
+ case 'rtk-ai-transcriptions.cjs':
309
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
310
+ /* webpackMode: "lazy" */
311
+ './rtk-ai-transcriptions.cjs.entry.js')); }).then(processMod, consoleError);
312
+ case 'rtk-livestream-indicator_3.cjs':
313
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
314
+ /* webpackMode: "lazy" */
315
+ './rtk-livestream-indicator_3.cjs.entry.js')); }).then(processMod, consoleError);
316
+ case 'rtk-name-tag.cjs':
317
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
318
+ /* webpackMode: "lazy" */
319
+ './rtk-name-tag.cjs.entry.js')); }).then(processMod, consoleError);
320
+ case 'rtk-participants-stage-list_4.cjs':
321
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
322
+ /* webpackMode: "lazy" */
323
+ './rtk-participants-stage-list_4.cjs.entry.js')); }).then(processMod, consoleError);
324
+ case 'rtk-plugin-main_2.cjs':
325
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
326
+ /* webpackMode: "lazy" */
327
+ './rtk-plugin-main_2.cjs.entry.js')); }).then(processMod, consoleError);
328
+ case 'rtk-plugins_2.cjs':
329
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
330
+ /* webpackMode: "lazy" */
331
+ './rtk-plugins_2.cjs.entry.js')); }).then(processMod, consoleError);
332
+ case 'rtk-settings-audio_2.cjs':
333
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
334
+ /* webpackMode: "lazy" */
335
+ './rtk-settings-audio_2.cjs.entry.js')); }).then(processMod, consoleError);
336
+ case 'rtk-transcript.cjs':
337
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
338
+ /* webpackMode: "lazy" */
339
+ './rtk-transcript.cjs.entry.js')); }).then(processMod, consoleError);
340
+ case 'rtk-audio-visualizer_4.cjs':
341
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
342
+ /* webpackMode: "lazy" */
343
+ './rtk-audio-visualizer_4.cjs.entry.js')); }).then(processMod, consoleError);
344
+ case 'rtk-fullscreen-toggle.cjs':
345
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
346
+ /* webpackMode: "lazy" */
347
+ './rtk-fullscreen-toggle.cjs.entry.js')); }).then(processMod, consoleError);
348
+ case 'rtk-participant_2.cjs':
349
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
350
+ /* webpackMode: "lazy" */
351
+ './rtk-participant_2.cjs.entry.js')); }).then(processMod, consoleError);
352
+ case 'rtk-camera-selector_2.cjs':
353
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
354
+ /* webpackMode: "lazy" */
355
+ './rtk-camera-selector_2.cjs.entry.js')); }).then(processMod, consoleError);
356
+ case 'rtk-poll_2.cjs':
357
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
358
+ /* webpackMode: "lazy" */
359
+ './rtk-poll_2.cjs.entry.js')); }).then(processMod, consoleError);
360
+ case 'rtk-sidebar-ui.cjs':
361
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
362
+ /* webpackMode: "lazy" */
363
+ './rtk-sidebar-ui.cjs.entry.js')); }).then(processMod, consoleError);
364
+ case 'rtk-spotlight-indicator.cjs':
365
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
366
+ /* webpackMode: "lazy" */
367
+ './rtk-spotlight-indicator.cjs.entry.js')); }).then(processMod, consoleError);
368
+ case 'rtk-controlbar-button.cjs':
369
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
370
+ /* webpackMode: "lazy" */
371
+ './rtk-controlbar-button.cjs.entry.js')); }).then(processMod, consoleError);
372
+ }
373
+ }
374
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
375
+ /* @vite-ignore */
376
+ /* webpackInclude: /\.entry\.js$/ */
377
+ /* webpackExclude: /\.system\.entry\.js$/ */
378
+ /* webpackMode: "lazy" */
379
+ `./${bundleId}.entry.js${""}`
380
+ )); }).then(
381
+ (importedModule) => {
382
+ {
383
+ cmpModules.set(bundleId, importedModule);
384
+ }
385
+ return importedModule[exportName];
386
+ },
387
+ (e) => {
388
+ consoleError(e, hostRef.$hostElement$);
389
+ }
390
+ );
391
+ };
392
+
393
+ // src/client/client-style.ts
394
+ var styles = /* @__PURE__ */ new Map();
395
+ var HYDRATED_STYLE_ID = "sty-id";
396
+ var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
397
+ var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
398
+ var XLINK_NS = "http://www.w3.org/1999/xlink";
399
+ var win = typeof window !== "undefined" ? window : {};
400
+ var plt = {
401
+ $flags$: 0,
402
+ $resourcesUrl$: "",
403
+ jmp: (h2) => h2(),
404
+ raf: (h2) => requestAnimationFrame(h2),
405
+ ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
406
+ rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
407
+ ce: (eventName, opts) => new CustomEvent(eventName, opts)
408
+ };
409
+ var supportsListenerOptions = /* @__PURE__ */ (() => {
410
+ var _a;
411
+ let supportsListenerOptions2 = false;
412
+ try {
413
+ (_a = win.document) == null ? void 0 : _a.addEventListener(
414
+ "e",
415
+ null,
416
+ Object.defineProperty({}, "passive", {
417
+ get() {
418
+ supportsListenerOptions2 = true;
419
+ }
420
+ })
421
+ );
422
+ } catch (e) {
423
+ }
424
+ return supportsListenerOptions2;
425
+ })();
426
+ var promiseResolve = (v) => Promise.resolve(v);
427
+ var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
428
+ try {
429
+ new CSSStyleSheet();
430
+ return typeof new CSSStyleSheet().replaceSync === "function";
431
+ } catch (e) {
432
+ }
433
+ return false;
434
+ })() ;
435
+ var queuePending = false;
436
+ var queueDomReads = [];
437
+ var queueDomWrites = [];
438
+ var queueTask = (queue, write) => (cb) => {
439
+ queue.push(cb);
440
+ if (!queuePending) {
441
+ queuePending = true;
442
+ if (write && plt.$flags$ & 4 /* queueSync */) {
443
+ nextTick(flush);
444
+ } else {
445
+ plt.raf(flush);
446
+ }
447
+ }
448
+ };
449
+ var consume = (queue) => {
450
+ for (let i2 = 0; i2 < queue.length; i2++) {
451
+ try {
452
+ queue[i2](performance.now());
453
+ } catch (e) {
454
+ consoleError(e);
455
+ }
456
+ }
457
+ queue.length = 0;
458
+ };
459
+ var flush = () => {
460
+ consume(queueDomReads);
461
+ {
462
+ consume(queueDomWrites);
463
+ if (queuePending = queueDomReads.length > 0) {
464
+ plt.raf(flush);
465
+ }
466
+ }
467
+ };
468
+ var nextTick = (cb) => promiseResolve().then(cb);
469
+ var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
470
+ var isComplexType = (o) => {
471
+ o = typeof o;
472
+ return o === "object" || o === "function";
473
+ };
474
+
475
+ // src/utils/query-nonce-meta-tag-content.ts
476
+ function queryNonceMetaTagContent(doc) {
477
+ var _a, _b, _c;
478
+ return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
479
+ }
480
+
481
+ // src/utils/result.ts
482
+ var result_exports = {};
483
+ __export(result_exports, {
484
+ err: () => err,
485
+ map: () => map,
486
+ ok: () => ok,
487
+ unwrap: () => unwrap,
488
+ unwrapErr: () => unwrapErr
489
+ });
490
+ var ok = (value) => ({
491
+ isOk: true,
492
+ isErr: false,
493
+ value
494
+ });
495
+ var err = (value) => ({
496
+ isOk: false,
497
+ isErr: true,
498
+ value
499
+ });
500
+ function map(result, fn) {
501
+ if (result.isOk) {
502
+ const val = fn(result.value);
503
+ if (val instanceof Promise) {
504
+ return val.then((newVal) => ok(newVal));
505
+ } else {
506
+ return ok(val);
507
+ }
508
+ }
509
+ if (result.isErr) {
510
+ const value = result.value;
511
+ return err(value);
512
+ }
513
+ throw "should never get here";
514
+ }
515
+ var unwrap = (result) => {
516
+ if (result.isOk) {
517
+ return result.value;
518
+ } else {
519
+ throw result.value;
520
+ }
521
+ };
522
+ var unwrapErr = (result) => {
523
+ if (result.isErr) {
524
+ return result.value;
525
+ } else {
526
+ throw result.value;
527
+ }
528
+ };
529
+ var updateFallbackSlotVisibility = (elm) => {
530
+ const childNodes = internalCall(elm, "childNodes");
531
+ if (elm.tagName && elm.tagName.includes("-") && elm["s-cr"] && elm.tagName !== "SLOT-FB") {
532
+ getHostSlotNodes(childNodes, elm.tagName).forEach((slotNode) => {
533
+ if (slotNode.nodeType === 1 /* ElementNode */ && slotNode.tagName === "SLOT-FB") {
534
+ if (getSlotChildSiblings(slotNode, getSlotName(slotNode), false).length) {
535
+ slotNode.hidden = true;
536
+ } else {
537
+ slotNode.hidden = false;
538
+ }
539
+ }
540
+ });
541
+ }
542
+ let i2 = 0;
543
+ for (i2 = 0; i2 < childNodes.length; i2++) {
544
+ const childNode = childNodes[i2];
545
+ if (childNode.nodeType === 1 /* ElementNode */ && internalCall(childNode, "childNodes").length) {
546
+ updateFallbackSlotVisibility(childNode);
547
+ }
548
+ }
549
+ };
550
+ var getSlottedChildNodes = (childNodes) => {
551
+ const result = [];
552
+ for (let i2 = 0; i2 < childNodes.length; i2++) {
553
+ const slottedNode = childNodes[i2]["s-nr"] || void 0;
554
+ if (slottedNode && slottedNode.isConnected) {
555
+ result.push(slottedNode);
556
+ }
557
+ }
558
+ return result;
559
+ };
560
+ function getHostSlotNodes(childNodes, hostName, slotName) {
561
+ let i2 = 0;
562
+ let slottedNodes = [];
563
+ let childNode;
564
+ for (; i2 < childNodes.length; i2++) {
565
+ childNode = childNodes[i2];
566
+ if (childNode["s-sr"] && (!hostName || childNode["s-hn"] === hostName) && (slotName === void 0 || getSlotName(childNode) === slotName)) {
567
+ slottedNodes.push(childNode);
568
+ if (typeof slotName !== "undefined") return slottedNodes;
569
+ }
570
+ slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode.childNodes, hostName, slotName)];
571
+ }
572
+ return slottedNodes;
573
+ }
574
+ var getSlotChildSiblings = (slot, slotName, includeSlot = true) => {
575
+ const childNodes = [];
576
+ if (includeSlot && slot["s-sr"] || !slot["s-sr"]) childNodes.push(slot);
577
+ let node = slot;
578
+ while (node = node.nextSibling) {
579
+ if (getSlotName(node) === slotName && (includeSlot || !node["s-sr"])) childNodes.push(node);
580
+ }
581
+ return childNodes;
582
+ };
583
+ var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
584
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
585
+ if (nodeToRelocate.getAttribute("slot") === null && slotName === "") {
586
+ return true;
587
+ }
588
+ if (nodeToRelocate.getAttribute("slot") === slotName) {
589
+ return true;
590
+ }
591
+ return false;
592
+ }
593
+ if (nodeToRelocate["s-sn"] === slotName) {
594
+ return true;
595
+ }
596
+ return slotName === "";
597
+ };
598
+ var getSlotName = (node) => typeof node["s-sn"] === "string" ? node["s-sn"] : node.nodeType === 1 && node.getAttribute("slot") || void 0;
599
+ function patchSlotNode(node) {
600
+ if (node.assignedElements || node.assignedNodes || !node["s-sr"]) return;
601
+ const assignedFactory = (elementsOnly) => (function(opts) {
602
+ const toReturn = [];
603
+ const slotName = this["s-sn"];
604
+ if (opts == null ? void 0 : opts.flatten) {
605
+ console.error(`
606
+ Flattening is not supported for Stencil non-shadow slots.
607
+ You can use \`.childNodes\` to nested slot fallback content.
608
+ If you have a particular use case, please open an issue on the Stencil repo.
609
+ `);
610
+ }
611
+ const parent = this["s-cr"].parentElement;
612
+ const slottedNodes = parent.__childNodes ? parent.childNodes : getSlottedChildNodes(parent.childNodes);
613
+ slottedNodes.forEach((n) => {
614
+ if (slotName === getSlotName(n)) {
615
+ toReturn.push(n);
616
+ }
617
+ });
618
+ if (elementsOnly) {
619
+ return toReturn.filter((n) => n.nodeType === 1 /* ElementNode */);
620
+ }
621
+ return toReturn;
622
+ }).bind(node);
623
+ node.assignedElements = assignedFactory(true);
624
+ node.assignedNodes = assignedFactory(false);
625
+ }
626
+ function internalCall(node, method) {
627
+ if ("__" + method in node) {
628
+ const toReturn = node["__" + method];
629
+ if (typeof toReturn !== "function") return toReturn;
630
+ return toReturn.bind(node);
631
+ } else {
632
+ if (typeof node[method] !== "function") return node[method];
633
+ return node[method].bind(node);
634
+ }
635
+ }
636
+ var createTime = (fnName, tagName = "") => {
637
+ {
638
+ return () => {
639
+ return;
640
+ };
641
+ }
642
+ };
643
+ var uniqueTime = (key, measureText) => {
644
+ {
645
+ return () => {
646
+ return;
647
+ };
648
+ }
649
+ };
650
+ var h = (nodeName, vnodeData, ...children) => {
651
+ let child = null;
652
+ let key = null;
653
+ let slotName = null;
654
+ let simple = false;
655
+ let lastSimple = false;
656
+ const vNodeChildren = [];
657
+ const walk = (c) => {
658
+ for (let i2 = 0; i2 < c.length; i2++) {
659
+ child = c[i2];
660
+ if (Array.isArray(child)) {
661
+ walk(child);
662
+ } else if (child != null && typeof child !== "boolean") {
663
+ if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
664
+ child = String(child);
665
+ }
666
+ if (simple && lastSimple) {
667
+ vNodeChildren[vNodeChildren.length - 1].$text$ += child;
668
+ } else {
669
+ vNodeChildren.push(simple ? newVNode(null, child) : child);
670
+ }
671
+ lastSimple = simple;
672
+ }
673
+ }
674
+ };
675
+ walk(children);
676
+ if (vnodeData) {
677
+ if (vnodeData.key) {
678
+ key = vnodeData.key;
679
+ }
680
+ if (vnodeData.name) {
681
+ slotName = vnodeData.name;
682
+ }
683
+ {
684
+ const classData = vnodeData.className || vnodeData.class;
685
+ if (classData) {
686
+ vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
687
+ }
688
+ }
689
+ }
690
+ if (typeof nodeName === "function") {
691
+ return nodeName(
692
+ vnodeData === null ? {} : vnodeData,
693
+ vNodeChildren,
694
+ vdomFnUtils
695
+ );
696
+ }
697
+ const vnode = newVNode(nodeName, null);
698
+ vnode.$attrs$ = vnodeData;
699
+ if (vNodeChildren.length > 0) {
700
+ vnode.$children$ = vNodeChildren;
701
+ }
702
+ {
703
+ vnode.$key$ = key;
704
+ }
705
+ {
706
+ vnode.$name$ = slotName;
707
+ }
708
+ return vnode;
709
+ };
710
+ var newVNode = (tag, text) => {
711
+ const vnode = {
712
+ $flags$: 0,
713
+ $tag$: tag,
714
+ $text$: text,
715
+ $elm$: null,
716
+ $children$: null
717
+ };
718
+ {
719
+ vnode.$attrs$ = null;
720
+ }
721
+ {
722
+ vnode.$key$ = null;
723
+ }
724
+ {
725
+ vnode.$name$ = null;
726
+ }
727
+ return vnode;
728
+ };
729
+ var Host = {};
730
+ var isHost = (node) => node && node.$tag$ === Host;
731
+ var vdomFnUtils = {
732
+ forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
733
+ map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate)
734
+ };
735
+ var convertToPublic = (node) => ({
736
+ vattrs: node.$attrs$,
737
+ vchildren: node.$children$,
738
+ vkey: node.$key$,
739
+ vname: node.$name$,
740
+ vtag: node.$tag$,
741
+ vtext: node.$text$
742
+ });
743
+ var convertToPrivate = (node) => {
744
+ if (typeof node.vtag === "function") {
745
+ const vnodeData = { ...node.vattrs };
746
+ if (node.vkey) {
747
+ vnodeData.key = node.vkey;
748
+ }
749
+ if (node.vname) {
750
+ vnodeData.name = node.vname;
751
+ }
752
+ return h(node.vtag, vnodeData, ...node.vchildren || []);
753
+ }
754
+ const vnode = newVNode(node.vtag, node.vtext);
755
+ vnode.$attrs$ = node.vattrs;
756
+ vnode.$children$ = node.vchildren;
757
+ vnode.$key$ = node.vkey;
758
+ vnode.$name$ = node.vname;
759
+ return vnode;
760
+ };
761
+ var parsePropertyValue = (propValue, propType) => {
762
+ if (propValue != null && !isComplexType(propValue)) {
763
+ if (propType & 4 /* Boolean */) {
764
+ return propValue === "false" ? false : propValue === "" || !!propValue;
765
+ }
766
+ if (propType & 2 /* Number */) {
767
+ return parseFloat(propValue);
768
+ }
769
+ if (propType & 1 /* String */) {
770
+ return String(propValue);
771
+ }
772
+ return propValue;
773
+ }
774
+ return propValue;
775
+ };
776
+ var getElement = (ref) => getHostRef(ref).$hostElement$ ;
777
+
778
+ // src/runtime/event-emitter.ts
779
+ var createEvent = (ref, name, flags) => {
780
+ const elm = getElement(ref);
781
+ return {
782
+ emit: (detail) => {
783
+ return emitEvent(elm, name, {
784
+ bubbles: !!(flags & 4 /* Bubbles */),
785
+ composed: !!(flags & 2 /* Composed */),
786
+ cancelable: !!(flags & 1 /* Cancellable */),
787
+ detail
788
+ });
789
+ }
790
+ };
791
+ };
792
+ var emitEvent = (elm, name, opts) => {
793
+ const ev = plt.ce(name, opts);
794
+ elm.dispatchEvent(ev);
795
+ return ev;
796
+ };
797
+ var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
798
+ var registerStyle = (scopeId2, cssText, allowCS) => {
799
+ let style = styles.get(scopeId2);
800
+ if (supportsConstructableStylesheets && allowCS) {
801
+ style = style || new CSSStyleSheet();
802
+ if (typeof style === "string") {
803
+ style = cssText;
804
+ } else {
805
+ style.replaceSync(cssText);
806
+ }
807
+ } else {
808
+ style = cssText;
809
+ }
810
+ styles.set(scopeId2, style);
811
+ };
812
+ var addStyle = (styleContainerNode, cmpMeta, mode) => {
813
+ var _a;
814
+ const scopeId2 = getScopeId(cmpMeta);
815
+ const style = styles.get(scopeId2);
816
+ if (!win.document) {
817
+ return scopeId2;
818
+ }
819
+ styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
820
+ if (style) {
821
+ if (typeof style === "string") {
822
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
823
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
824
+ let styleElm;
825
+ if (!appliedStyles) {
826
+ rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
827
+ }
828
+ if (!appliedStyles.has(scopeId2)) {
829
+ {
830
+ styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || win.document.createElement("style");
831
+ styleElm.innerHTML = style;
832
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
833
+ if (nonce != null) {
834
+ styleElm.setAttribute("nonce", nonce);
835
+ }
836
+ if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
837
+ if (styleContainerNode.nodeName === "HEAD") {
838
+ const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
839
+ const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
840
+ styleContainerNode.insertBefore(
841
+ styleElm,
842
+ (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
843
+ );
844
+ } else if ("host" in styleContainerNode) {
845
+ if (supportsConstructableStylesheets) {
846
+ const stylesheet = new CSSStyleSheet();
847
+ stylesheet.replaceSync(style);
848
+ styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
849
+ } else {
850
+ const existingStyleContainer = styleContainerNode.querySelector("style");
851
+ if (existingStyleContainer) {
852
+ existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
853
+ } else {
854
+ styleContainerNode.prepend(styleElm);
855
+ }
856
+ }
857
+ } else {
858
+ styleContainerNode.append(styleElm);
859
+ }
860
+ }
861
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
862
+ styleContainerNode.insertBefore(styleElm, null);
863
+ }
864
+ }
865
+ if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
866
+ styleElm.innerHTML += SLOT_FB_CSS;
867
+ }
868
+ if (appliedStyles) {
869
+ appliedStyles.add(scopeId2);
870
+ }
871
+ }
872
+ } else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
873
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
874
+ }
875
+ }
876
+ return scopeId2;
877
+ };
878
+ var attachStyles = (hostRef) => {
879
+ const cmpMeta = hostRef.$cmpMeta$;
880
+ const elm = hostRef.$hostElement$;
881
+ const flags = cmpMeta.$flags$;
882
+ const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
883
+ const scopeId2 = addStyle(
884
+ elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
885
+ cmpMeta);
886
+ if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
887
+ elm["s-sc"] = scopeId2;
888
+ elm.classList.add(scopeId2 + "-h");
889
+ }
890
+ endAttachStyles();
891
+ };
892
+ var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
893
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
894
+ if (oldValue === newValue) {
895
+ return;
896
+ }
897
+ let isProp = isMemberInElement(elm, memberName);
898
+ let ln = memberName.toLowerCase();
899
+ if (memberName === "class") {
900
+ const classList = elm.classList;
901
+ const oldClasses = parseClassList(oldValue);
902
+ let newClasses = parseClassList(newValue);
903
+ {
904
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
905
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
906
+ }
907
+ } else if (memberName === "style") {
908
+ {
909
+ for (const prop in oldValue) {
910
+ if (!newValue || newValue[prop] == null) {
911
+ if (prop.includes("-")) {
912
+ elm.style.removeProperty(prop);
913
+ } else {
914
+ elm.style[prop] = "";
915
+ }
916
+ }
917
+ }
918
+ }
919
+ for (const prop in newValue) {
920
+ if (!oldValue || newValue[prop] !== oldValue[prop]) {
921
+ if (prop.includes("-")) {
922
+ elm.style.setProperty(prop, newValue[prop]);
923
+ } else {
924
+ elm.style[prop] = newValue[prop];
925
+ }
926
+ }
927
+ }
928
+ } else if (memberName === "key") ; else if (memberName === "ref") {
929
+ if (newValue) {
930
+ newValue(elm);
931
+ }
932
+ } else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
933
+ if (memberName[2] === "-") {
934
+ memberName = memberName.slice(3);
935
+ } else if (isMemberInElement(win, ln)) {
936
+ memberName = ln.slice(2);
937
+ } else {
938
+ memberName = ln[2] + memberName.slice(3);
939
+ }
940
+ if (oldValue || newValue) {
941
+ const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
942
+ memberName = memberName.replace(CAPTURE_EVENT_REGEX, "");
943
+ if (oldValue) {
944
+ plt.rel(elm, memberName, oldValue, capture);
945
+ }
946
+ if (newValue) {
947
+ plt.ael(elm, memberName, newValue, capture);
948
+ }
949
+ }
950
+ } else {
951
+ const isComplex = isComplexType(newValue);
952
+ if ((isProp || isComplex && newValue !== null) && !isSvg) {
953
+ try {
954
+ if (!elm.tagName.includes("-")) {
955
+ const n = newValue == null ? "" : newValue;
956
+ if (memberName === "list") {
957
+ isProp = false;
958
+ } else if (oldValue == null || elm[memberName] != n) {
959
+ if (typeof elm.__lookupSetter__(memberName) === "function") {
960
+ elm[memberName] = n;
961
+ } else {
962
+ elm.setAttribute(memberName, n);
963
+ }
964
+ }
965
+ } else if (elm[memberName] !== newValue) {
966
+ elm[memberName] = newValue;
967
+ }
968
+ } catch (e) {
969
+ }
970
+ }
971
+ let xlink = false;
972
+ {
973
+ if (ln !== (ln = ln.replace(/^xlink\:?/, ""))) {
974
+ memberName = ln;
975
+ xlink = true;
976
+ }
977
+ }
978
+ if (newValue == null || newValue === false) {
979
+ if (newValue !== false || elm.getAttribute(memberName) === "") {
980
+ if (xlink) {
981
+ elm.removeAttributeNS(XLINK_NS, memberName);
982
+ } else {
983
+ elm.removeAttribute(memberName);
984
+ }
985
+ }
986
+ } else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex && elm.nodeType === 1 /* ElementNode */) {
987
+ newValue = newValue === true ? "" : newValue;
988
+ if (xlink) {
989
+ elm.setAttributeNS(XLINK_NS, memberName, newValue);
990
+ } else {
991
+ elm.setAttribute(memberName, newValue);
992
+ }
993
+ }
994
+ }
995
+ };
996
+ var parseClassListRegex = /\s/;
997
+ var parseClassList = (value) => {
998
+ if (typeof value === "object" && value && "baseVal" in value) {
999
+ value = value.baseVal;
1000
+ }
1001
+ if (!value || typeof value !== "string") {
1002
+ return [];
1003
+ }
1004
+ return value.split(parseClassListRegex);
1005
+ };
1006
+ var CAPTURE_EVENT_SUFFIX = "Capture";
1007
+ var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
1008
+
1009
+ // src/runtime/vdom/update-element.ts
1010
+ var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
1011
+ const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
1012
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
1013
+ const newVnodeAttrs = newVnode.$attrs$ || {};
1014
+ {
1015
+ for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
1016
+ if (!(memberName in newVnodeAttrs)) {
1017
+ setAccessor(
1018
+ elm,
1019
+ memberName,
1020
+ oldVnodeAttrs[memberName],
1021
+ void 0,
1022
+ isSvgMode2,
1023
+ newVnode.$flags$);
1024
+ }
1025
+ }
1026
+ }
1027
+ for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
1028
+ setAccessor(
1029
+ elm,
1030
+ memberName,
1031
+ oldVnodeAttrs[memberName],
1032
+ newVnodeAttrs[memberName],
1033
+ isSvgMode2,
1034
+ newVnode.$flags$);
1035
+ }
1036
+ };
1037
+ function sortedAttrNames(attrNames) {
1038
+ return attrNames.includes("ref") ? (
1039
+ // we need to sort these to ensure that `'ref'` is the last attr
1040
+ [...attrNames.filter((attr) => attr !== "ref"), "ref"]
1041
+ ) : (
1042
+ // no need to sort, return the original array
1043
+ attrNames
1044
+ );
1045
+ }
1046
+ var contentRef;
1047
+ var hostTagName;
1048
+ var useNativeShadowDom = false;
1049
+ var checkSlotFallbackVisibility = false;
1050
+ var checkSlotRelocate = false;
1051
+ var isSvgMode = false;
1052
+ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
1053
+ var _a;
1054
+ const newVNode2 = newParentVNode.$children$[childIndex];
1055
+ let i2 = 0;
1056
+ let elm;
1057
+ let childNode;
1058
+ let oldVNode;
1059
+ if (!useNativeShadowDom) {
1060
+ checkSlotRelocate = true;
1061
+ if (newVNode2.$tag$ === "slot") {
1062
+ newVNode2.$flags$ |= newVNode2.$children$ ? (
1063
+ // slot element has fallback content
1064
+ // still create an element that "mocks" the slot element
1065
+ 2 /* isSlotFallback */
1066
+ ) : (
1067
+ // slot element does not have fallback content
1068
+ // create an html comment we'll use to always reference
1069
+ // where actual slot content should sit next to
1070
+ 1 /* isSlotReference */
1071
+ );
1072
+ }
1073
+ }
1074
+ if (newVNode2.$text$ !== null) {
1075
+ elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
1076
+ } else if (newVNode2.$flags$ & 1 /* isSlotReference */) {
1077
+ elm = newVNode2.$elm$ = win.document.createTextNode("");
1078
+ {
1079
+ updateElement(null, newVNode2, isSvgMode);
1080
+ }
1081
+ } else {
1082
+ if (!win.document) {
1083
+ throw new Error(
1084
+ "You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component."
1085
+ );
1086
+ }
1087
+ elm = newVNode2.$elm$ = win.document.createElement(
1088
+ !useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
1089
+ );
1090
+ {
1091
+ updateElement(null, newVNode2, isSvgMode);
1092
+ }
1093
+ if (newVNode2.$children$) {
1094
+ for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
1095
+ childNode = createElm(oldParentVNode, newVNode2, i2);
1096
+ if (childNode) {
1097
+ elm.appendChild(childNode);
1098
+ }
1099
+ }
1100
+ }
1101
+ }
1102
+ elm["s-hn"] = hostTagName;
1103
+ {
1104
+ if (newVNode2.$flags$ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {
1105
+ elm["s-sr"] = true;
1106
+ elm["s-cr"] = contentRef;
1107
+ elm["s-sn"] = newVNode2.$name$ || "";
1108
+ elm["s-rf"] = (_a = newVNode2.$attrs$) == null ? void 0 : _a.ref;
1109
+ patchSlotNode(elm);
1110
+ oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
1111
+ if (oldVNode && oldVNode.$tag$ === newVNode2.$tag$ && oldParentVNode.$elm$) {
1112
+ {
1113
+ putBackInOriginalLocation(oldParentVNode.$elm$, false);
1114
+ }
1115
+ }
1116
+ }
1117
+ }
1118
+ return elm;
1119
+ };
1120
+ var putBackInOriginalLocation = (parentElm, recursive) => {
1121
+ plt.$flags$ |= 1 /* isTmpDisconnected */;
1122
+ const oldSlotChildNodes = Array.from(parentElm.__childNodes || parentElm.childNodes);
1123
+ if (parentElm["s-sr"] && BUILD.experimentalSlotFixes) {
1124
+ let node = parentElm;
1125
+ while (node = node.nextSibling) {
1126
+ if (node && node["s-sn"] === parentElm["s-sn"] && node["s-sh"] === hostTagName) {
1127
+ oldSlotChildNodes.push(node);
1128
+ }
1129
+ }
1130
+ }
1131
+ for (let i2 = oldSlotChildNodes.length - 1; i2 >= 0; i2--) {
1132
+ const childNode = oldSlotChildNodes[i2];
1133
+ if (childNode["s-hn"] !== hostTagName && childNode["s-ol"]) {
1134
+ insertBefore(referenceNode(childNode).parentNode, childNode, referenceNode(childNode));
1135
+ childNode["s-ol"].remove();
1136
+ childNode["s-ol"] = void 0;
1137
+ childNode["s-sh"] = void 0;
1138
+ checkSlotRelocate = true;
1139
+ }
1140
+ if (recursive) {
1141
+ putBackInOriginalLocation(childNode, recursive);
1142
+ }
1143
+ }
1144
+ plt.$flags$ &= ~1 /* isTmpDisconnected */;
1145
+ };
1146
+ var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
1147
+ let containerElm = parentElm["s-cr"] && parentElm["s-cr"].parentNode || parentElm;
1148
+ let childNode;
1149
+ if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
1150
+ containerElm = containerElm.shadowRoot;
1151
+ }
1152
+ for (; startIdx <= endIdx; ++startIdx) {
1153
+ if (vnodes[startIdx]) {
1154
+ childNode = createElm(null, parentVNode, startIdx);
1155
+ if (childNode) {
1156
+ vnodes[startIdx].$elm$ = childNode;
1157
+ insertBefore(containerElm, childNode, referenceNode(before) );
1158
+ }
1159
+ }
1160
+ }
1161
+ };
1162
+ var removeVnodes = (vnodes, startIdx, endIdx) => {
1163
+ for (let index = startIdx; index <= endIdx; ++index) {
1164
+ const vnode = vnodes[index];
1165
+ if (vnode) {
1166
+ const elm = vnode.$elm$;
1167
+ nullifyVNodeRefs(vnode);
1168
+ if (elm) {
1169
+ {
1170
+ checkSlotFallbackVisibility = true;
1171
+ if (elm["s-ol"]) {
1172
+ elm["s-ol"].remove();
1173
+ } else {
1174
+ putBackInOriginalLocation(elm, true);
1175
+ }
1176
+ }
1177
+ elm.remove();
1178
+ }
1179
+ }
1180
+ }
1181
+ };
1182
+ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = false) => {
1183
+ let oldStartIdx = 0;
1184
+ let newStartIdx = 0;
1185
+ let idxInOld = 0;
1186
+ let i2 = 0;
1187
+ let oldEndIdx = oldCh.length - 1;
1188
+ let oldStartVnode = oldCh[0];
1189
+ let oldEndVnode = oldCh[oldEndIdx];
1190
+ let newEndIdx = newCh.length - 1;
1191
+ let newStartVnode = newCh[0];
1192
+ let newEndVnode = newCh[newEndIdx];
1193
+ let node;
1194
+ let elmToMove;
1195
+ while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
1196
+ if (oldStartVnode == null) {
1197
+ oldStartVnode = oldCh[++oldStartIdx];
1198
+ } else if (oldEndVnode == null) {
1199
+ oldEndVnode = oldCh[--oldEndIdx];
1200
+ } else if (newStartVnode == null) {
1201
+ newStartVnode = newCh[++newStartIdx];
1202
+ } else if (newEndVnode == null) {
1203
+ newEndVnode = newCh[--newEndIdx];
1204
+ } else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
1205
+ patch(oldStartVnode, newStartVnode, isInitialRender);
1206
+ oldStartVnode = oldCh[++oldStartIdx];
1207
+ newStartVnode = newCh[++newStartIdx];
1208
+ } else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
1209
+ patch(oldEndVnode, newEndVnode, isInitialRender);
1210
+ oldEndVnode = oldCh[--oldEndIdx];
1211
+ newEndVnode = newCh[--newEndIdx];
1212
+ } else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
1213
+ if ((oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
1214
+ putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
1215
+ }
1216
+ patch(oldStartVnode, newEndVnode, isInitialRender);
1217
+ insertBefore(parentElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
1218
+ oldStartVnode = oldCh[++oldStartIdx];
1219
+ newEndVnode = newCh[--newEndIdx];
1220
+ } else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
1221
+ if ((oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
1222
+ putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
1223
+ }
1224
+ patch(oldEndVnode, newStartVnode, isInitialRender);
1225
+ insertBefore(parentElm, oldEndVnode.$elm$, oldStartVnode.$elm$);
1226
+ oldEndVnode = oldCh[--oldEndIdx];
1227
+ newStartVnode = newCh[++newStartIdx];
1228
+ } else {
1229
+ idxInOld = -1;
1230
+ {
1231
+ for (i2 = oldStartIdx; i2 <= oldEndIdx; ++i2) {
1232
+ if (oldCh[i2] && oldCh[i2].$key$ !== null && oldCh[i2].$key$ === newStartVnode.$key$) {
1233
+ idxInOld = i2;
1234
+ break;
1235
+ }
1236
+ }
1237
+ }
1238
+ if (idxInOld >= 0) {
1239
+ elmToMove = oldCh[idxInOld];
1240
+ if (elmToMove.$tag$ !== newStartVnode.$tag$) {
1241
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld);
1242
+ } else {
1243
+ patch(elmToMove, newStartVnode, isInitialRender);
1244
+ oldCh[idxInOld] = void 0;
1245
+ node = elmToMove.$elm$;
1246
+ }
1247
+ newStartVnode = newCh[++newStartIdx];
1248
+ } else {
1249
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
1250
+ newStartVnode = newCh[++newStartIdx];
1251
+ }
1252
+ if (node) {
1253
+ {
1254
+ insertBefore(
1255
+ referenceNode(oldStartVnode.$elm$).parentNode,
1256
+ node,
1257
+ referenceNode(oldStartVnode.$elm$)
1258
+ );
1259
+ }
1260
+ }
1261
+ }
1262
+ }
1263
+ if (oldStartIdx > oldEndIdx) {
1264
+ addVnodes(
1265
+ parentElm,
1266
+ newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$,
1267
+ newVNode2,
1268
+ newCh,
1269
+ newStartIdx,
1270
+ newEndIdx
1271
+ );
1272
+ } else if (newStartIdx > newEndIdx) {
1273
+ removeVnodes(oldCh, oldStartIdx, oldEndIdx);
1274
+ }
1275
+ };
1276
+ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
1277
+ if (leftVNode.$tag$ === rightVNode.$tag$) {
1278
+ if (leftVNode.$tag$ === "slot") {
1279
+ return leftVNode.$name$ === rightVNode.$name$;
1280
+ }
1281
+ if (!isInitialRender) {
1282
+ return leftVNode.$key$ === rightVNode.$key$;
1283
+ }
1284
+ if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
1285
+ leftVNode.$key$ = rightVNode.$key$;
1286
+ }
1287
+ return true;
1288
+ }
1289
+ return false;
1290
+ };
1291
+ var referenceNode = (node) => node && node["s-ol"] || node;
1292
+ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
1293
+ const elm = newVNode2.$elm$ = oldVNode.$elm$;
1294
+ const oldChildren = oldVNode.$children$;
1295
+ const newChildren = newVNode2.$children$;
1296
+ const text = newVNode2.$text$;
1297
+ let defaultHolder;
1298
+ if (text === null) {
1299
+ {
1300
+ updateElement(oldVNode, newVNode2, isSvgMode);
1301
+ }
1302
+ if (oldChildren !== null && newChildren !== null) {
1303
+ updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
1304
+ } else if (newChildren !== null) {
1305
+ if (oldVNode.$text$ !== null) {
1306
+ elm.textContent = "";
1307
+ }
1308
+ addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
1309
+ } else if (
1310
+ // don't do this on initial render as it can cause non-hydrated content to be removed
1311
+ !isInitialRender && BUILD.updatable && oldChildren !== null
1312
+ ) {
1313
+ removeVnodes(oldChildren, 0, oldChildren.length - 1);
1314
+ }
1315
+ } else if ((defaultHolder = elm["s-cr"])) {
1316
+ defaultHolder.parentNode.textContent = text;
1317
+ } else if (oldVNode.$text$ !== text) {
1318
+ elm.data = text;
1319
+ }
1320
+ };
1321
+ var relocateNodes = [];
1322
+ var markSlotContentForRelocation = (elm) => {
1323
+ let node;
1324
+ let hostContentNodes;
1325
+ let j;
1326
+ const children = elm.__childNodes || elm.childNodes;
1327
+ for (const childNode of children) {
1328
+ if (childNode["s-sr"] && (node = childNode["s-cr"]) && node.parentNode) {
1329
+ hostContentNodes = node.parentNode.__childNodes || node.parentNode.childNodes;
1330
+ const slotName = childNode["s-sn"];
1331
+ for (j = hostContentNodes.length - 1; j >= 0; j--) {
1332
+ node = hostContentNodes[j];
1333
+ if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (!BUILD.experimentalSlotFixes )) {
1334
+ if (isNodeLocatedInSlot(node, slotName)) {
1335
+ let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1336
+ checkSlotFallbackVisibility = true;
1337
+ node["s-sn"] = node["s-sn"] || slotName;
1338
+ if (relocateNodeData) {
1339
+ relocateNodeData.$nodeToRelocate$["s-sh"] = childNode["s-hn"];
1340
+ relocateNodeData.$slotRefNode$ = childNode;
1341
+ } else {
1342
+ node["s-sh"] = childNode["s-hn"];
1343
+ relocateNodes.push({
1344
+ $slotRefNode$: childNode,
1345
+ $nodeToRelocate$: node
1346
+ });
1347
+ }
1348
+ if (node["s-sr"]) {
1349
+ relocateNodes.map((relocateNode) => {
1350
+ if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node["s-sn"])) {
1351
+ relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1352
+ if (relocateNodeData && !relocateNode.$slotRefNode$) {
1353
+ relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
1354
+ }
1355
+ }
1356
+ });
1357
+ }
1358
+ } else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
1359
+ relocateNodes.push({
1360
+ $nodeToRelocate$: node
1361
+ });
1362
+ }
1363
+ }
1364
+ }
1365
+ }
1366
+ if (childNode.nodeType === 1 /* ElementNode */) {
1367
+ markSlotContentForRelocation(childNode);
1368
+ }
1369
+ }
1370
+ };
1371
+ var nullifyVNodeRefs = (vNode) => {
1372
+ {
1373
+ vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
1374
+ vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
1375
+ }
1376
+ };
1377
+ var insertBefore = (parent, newNode, reference) => {
1378
+ {
1379
+ return parent == null ? void 0 : parent.insertBefore(newNode, reference);
1380
+ }
1381
+ };
1382
+ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1383
+ var _a, _b, _c, _d;
1384
+ const hostElm = hostRef.$hostElement$;
1385
+ const cmpMeta = hostRef.$cmpMeta$;
1386
+ const oldVNode = hostRef.$vnode$ || newVNode(null, null);
1387
+ const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
1388
+ hostTagName = hostElm.tagName;
1389
+ if (cmpMeta.$attrsToReflect$) {
1390
+ rootVnode.$attrs$ = rootVnode.$attrs$ || {};
1391
+ cmpMeta.$attrsToReflect$.map(
1392
+ ([propName, attribute]) => rootVnode.$attrs$[attribute] = hostElm[propName]
1393
+ );
1394
+ }
1395
+ if (isInitialLoad && rootVnode.$attrs$) {
1396
+ for (const key of Object.keys(rootVnode.$attrs$)) {
1397
+ if (hostElm.hasAttribute(key) && !["key", "ref", "style", "class"].includes(key)) {
1398
+ rootVnode.$attrs$[key] = hostElm[key];
1399
+ }
1400
+ }
1401
+ }
1402
+ rootVnode.$tag$ = null;
1403
+ rootVnode.$flags$ |= 4 /* isHost */;
1404
+ hostRef.$vnode$ = rootVnode;
1405
+ rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
1406
+ useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
1407
+ {
1408
+ contentRef = hostElm["s-cr"];
1409
+ checkSlotFallbackVisibility = false;
1410
+ }
1411
+ patch(oldVNode, rootVnode, isInitialLoad);
1412
+ {
1413
+ plt.$flags$ |= 1 /* isTmpDisconnected */;
1414
+ if (checkSlotRelocate) {
1415
+ markSlotContentForRelocation(rootVnode.$elm$);
1416
+ for (const relocateData of relocateNodes) {
1417
+ const nodeToRelocate = relocateData.$nodeToRelocate$;
1418
+ if (!nodeToRelocate["s-ol"] && win.document) {
1419
+ const orgLocationNode = win.document.createTextNode("");
1420
+ orgLocationNode["s-nr"] = nodeToRelocate;
1421
+ insertBefore(nodeToRelocate.parentNode, nodeToRelocate["s-ol"] = orgLocationNode, nodeToRelocate);
1422
+ }
1423
+ }
1424
+ for (const relocateData of relocateNodes) {
1425
+ const nodeToRelocate = relocateData.$nodeToRelocate$;
1426
+ const slotRefNode = relocateData.$slotRefNode$;
1427
+ if (slotRefNode) {
1428
+ const parentNodeRef = slotRefNode.parentNode;
1429
+ let insertBeforeNode = slotRefNode.nextSibling;
1430
+ {
1431
+ let orgLocationNode = (_a = nodeToRelocate["s-ol"]) == null ? void 0 : _a.previousSibling;
1432
+ while (orgLocationNode) {
1433
+ let refNode = (_b = orgLocationNode["s-nr"]) != null ? _b : null;
1434
+ if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === (refNode.__parentNode || refNode.parentNode)) {
1435
+ refNode = refNode.nextSibling;
1436
+ while (refNode === nodeToRelocate || (refNode == null ? void 0 : refNode["s-sr"])) {
1437
+ refNode = refNode == null ? void 0 : refNode.nextSibling;
1438
+ }
1439
+ if (!refNode || !refNode["s-nr"]) {
1440
+ insertBeforeNode = refNode;
1441
+ break;
1442
+ }
1443
+ }
1444
+ orgLocationNode = orgLocationNode.previousSibling;
1445
+ }
1446
+ }
1447
+ const parent = nodeToRelocate.__parentNode || nodeToRelocate.parentNode;
1448
+ const nextSibling = nodeToRelocate.__nextSibling || nodeToRelocate.nextSibling;
1449
+ if (!insertBeforeNode && parentNodeRef !== parent || nextSibling !== insertBeforeNode) {
1450
+ if (nodeToRelocate !== insertBeforeNode) {
1451
+ if (!nodeToRelocate["s-hn"] && nodeToRelocate["s-ol"]) {
1452
+ nodeToRelocate["s-hn"] = nodeToRelocate["s-ol"].parentNode.nodeName;
1453
+ }
1454
+ insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode);
1455
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */ && nodeToRelocate.tagName !== "SLOT-FB") {
1456
+ nodeToRelocate.hidden = (_c = nodeToRelocate["s-ih"]) != null ? _c : false;
1457
+ }
1458
+ }
1459
+ }
1460
+ nodeToRelocate && typeof slotRefNode["s-rf"] === "function" && slotRefNode["s-rf"](slotRefNode);
1461
+ } else {
1462
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
1463
+ if (isInitialLoad) {
1464
+ nodeToRelocate["s-ih"] = (_d = nodeToRelocate.hidden) != null ? _d : false;
1465
+ }
1466
+ nodeToRelocate.hidden = true;
1467
+ }
1468
+ }
1469
+ }
1470
+ }
1471
+ if (checkSlotFallbackVisibility) {
1472
+ updateFallbackSlotVisibility(rootVnode.$elm$);
1473
+ }
1474
+ plt.$flags$ &= ~1 /* isTmpDisconnected */;
1475
+ relocateNodes.length = 0;
1476
+ }
1477
+ contentRef = void 0;
1478
+ };
1479
+
1480
+ // src/runtime/update-component.ts
1481
+ var attachToAncestor = (hostRef, ancestorComponent) => {
1482
+ if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
1483
+ const index = ancestorComponent["s-p"].push(
1484
+ new Promise(
1485
+ (r) => hostRef.$onRenderResolve$ = () => {
1486
+ ancestorComponent["s-p"].splice(index - 1, 1);
1487
+ r();
1488
+ }
1489
+ )
1490
+ );
1491
+ }
1492
+ };
1493
+ var scheduleUpdate = (hostRef, isInitialLoad) => {
1494
+ {
1495
+ hostRef.$flags$ |= 16 /* isQueuedForUpdate */;
1496
+ }
1497
+ if (hostRef.$flags$ & 4 /* isWaitingForChildren */) {
1498
+ hostRef.$flags$ |= 512 /* needsRerender */;
1499
+ return;
1500
+ }
1501
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$);
1502
+ const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
1503
+ return writeTask(dispatch) ;
1504
+ };
1505
+ var dispatchHooks = (hostRef, isInitialLoad) => {
1506
+ const elm = hostRef.$hostElement$;
1507
+ const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
1508
+ const instance = hostRef.$lazyInstance$ ;
1509
+ if (!instance) {
1510
+ throw new Error(
1511
+ `Can't render component <${elm.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
1512
+ );
1513
+ }
1514
+ let maybePromise;
1515
+ if (isInitialLoad) {
1516
+ {
1517
+ hostRef.$flags$ |= 256 /* isListenReady */;
1518
+ if (hostRef.$queuedListeners$) {
1519
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
1520
+ hostRef.$queuedListeners$ = void 0;
1521
+ }
1522
+ }
1523
+ maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
1524
+ } else {
1525
+ maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
1526
+ }
1527
+ maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender", void 0, elm));
1528
+ endSchedule();
1529
+ return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
1530
+ };
1531
+ var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((err2) => {
1532
+ console.error(err2);
1533
+ fn();
1534
+ }) : fn();
1535
+ var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
1536
+ var updateComponent = async (hostRef, instance, isInitialLoad) => {
1537
+ var _a;
1538
+ const elm = hostRef.$hostElement$;
1539
+ const endUpdate = createTime("update", hostRef.$cmpMeta$.$tagName$);
1540
+ const rc = elm["s-rc"];
1541
+ if (isInitialLoad) {
1542
+ attachStyles(hostRef);
1543
+ }
1544
+ const endRender = createTime("render", hostRef.$cmpMeta$.$tagName$);
1545
+ {
1546
+ callRender(hostRef, instance, elm, isInitialLoad);
1547
+ }
1548
+ if (rc) {
1549
+ rc.map((cb) => cb());
1550
+ elm["s-rc"] = void 0;
1551
+ }
1552
+ endRender();
1553
+ endUpdate();
1554
+ {
1555
+ const childrenPromises = (_a = elm["s-p"]) != null ? _a : [];
1556
+ const postUpdate = () => postUpdateComponent(hostRef);
1557
+ if (childrenPromises.length === 0) {
1558
+ postUpdate();
1559
+ } else {
1560
+ Promise.all(childrenPromises).then(postUpdate);
1561
+ hostRef.$flags$ |= 4 /* isWaitingForChildren */;
1562
+ childrenPromises.length = 0;
1563
+ }
1564
+ }
1565
+ };
1566
+ var renderingRef = null;
1567
+ var callRender = (hostRef, instance, elm, isInitialLoad) => {
1568
+ try {
1569
+ renderingRef = instance;
1570
+ instance = instance.render() ;
1571
+ {
1572
+ hostRef.$flags$ &= ~16 /* isQueuedForUpdate */;
1573
+ }
1574
+ {
1575
+ hostRef.$flags$ |= 2 /* hasRendered */;
1576
+ }
1577
+ {
1578
+ {
1579
+ {
1580
+ renderVdom(hostRef, instance, isInitialLoad);
1581
+ }
1582
+ }
1583
+ }
1584
+ } catch (e) {
1585
+ consoleError(e, hostRef.$hostElement$);
1586
+ }
1587
+ renderingRef = null;
1588
+ return null;
1589
+ };
1590
+ var getRenderingRef = () => renderingRef;
1591
+ var postUpdateComponent = (hostRef) => {
1592
+ const tagName = hostRef.$cmpMeta$.$tagName$;
1593
+ const elm = hostRef.$hostElement$;
1594
+ const endPostUpdate = createTime("postUpdate", tagName);
1595
+ const instance = hostRef.$lazyInstance$ ;
1596
+ const ancestorComponent = hostRef.$ancestorComponent$;
1597
+ safeCall(instance, "componentDidRender", void 0, elm);
1598
+ if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
1599
+ hostRef.$flags$ |= 64 /* hasLoadedComponent */;
1600
+ {
1601
+ addHydratedFlag(elm);
1602
+ }
1603
+ safeCall(instance, "componentDidLoad", void 0, elm);
1604
+ endPostUpdate();
1605
+ {
1606
+ hostRef.$onReadyResolve$(elm);
1607
+ if (!ancestorComponent) {
1608
+ appDidLoad();
1609
+ }
1610
+ }
1611
+ } else {
1612
+ safeCall(instance, "componentDidUpdate", void 0, elm);
1613
+ endPostUpdate();
1614
+ }
1615
+ {
1616
+ hostRef.$onInstanceResolve$(elm);
1617
+ }
1618
+ {
1619
+ if (hostRef.$onRenderResolve$) {
1620
+ hostRef.$onRenderResolve$();
1621
+ hostRef.$onRenderResolve$ = void 0;
1622
+ }
1623
+ if (hostRef.$flags$ & 512 /* needsRerender */) {
1624
+ nextTick(() => scheduleUpdate(hostRef, false));
1625
+ }
1626
+ hostRef.$flags$ &= ~(4 /* isWaitingForChildren */ | 512 /* needsRerender */);
1627
+ }
1628
+ };
1629
+ var forceUpdate = (ref) => {
1630
+ {
1631
+ const hostRef = getHostRef(ref);
1632
+ const isConnected = hostRef.$hostElement$.isConnected;
1633
+ if (isConnected && (hostRef.$flags$ & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1634
+ scheduleUpdate(hostRef, false);
1635
+ }
1636
+ return isConnected;
1637
+ }
1638
+ };
1639
+ var appDidLoad = (who) => {
1640
+ nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
1641
+ };
1642
+ var safeCall = (instance, method, arg, elm) => {
1643
+ if (instance && instance[method]) {
1644
+ try {
1645
+ return instance[method](arg);
1646
+ } catch (e) {
1647
+ consoleError(e, elm);
1648
+ }
1649
+ }
1650
+ return void 0;
1651
+ };
1652
+ var addHydratedFlag = (elm) => {
1653
+ var _a;
1654
+ return elm.classList.add((_a = BUILD.hydratedSelectorName) != null ? _a : "hydrated") ;
1655
+ };
1656
+
1657
+ // src/runtime/set-value.ts
1658
+ var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
1659
+ var setValue = (ref, propName, newVal, cmpMeta) => {
1660
+ const hostRef = getHostRef(ref);
1661
+ if (!hostRef) {
1662
+ throw new Error(
1663
+ `Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`
1664
+ );
1665
+ }
1666
+ const elm = hostRef.$hostElement$ ;
1667
+ const oldVal = hostRef.$instanceValues$.get(propName);
1668
+ const flags = hostRef.$flags$;
1669
+ const instance = hostRef.$lazyInstance$ ;
1670
+ newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
1671
+ const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
1672
+ const didValueChange = newVal !== oldVal && !areBothNaN;
1673
+ if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
1674
+ hostRef.$instanceValues$.set(propName, newVal);
1675
+ if (instance) {
1676
+ if (cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {
1677
+ const watchMethods = cmpMeta.$watchers$[propName];
1678
+ if (watchMethods) {
1679
+ watchMethods.map((watchMethodName) => {
1680
+ try {
1681
+ instance[watchMethodName](newVal, oldVal, propName);
1682
+ } catch (e) {
1683
+ consoleError(e, elm);
1684
+ }
1685
+ });
1686
+ }
1687
+ }
1688
+ if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1689
+ if (instance.componentShouldUpdate) {
1690
+ if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
1691
+ return;
1692
+ }
1693
+ }
1694
+ scheduleUpdate(hostRef, false);
1695
+ }
1696
+ }
1697
+ }
1698
+ };
1699
+
1700
+ // src/runtime/proxy-component.ts
1701
+ var proxyComponent = (Cstr, cmpMeta, flags) => {
1702
+ var _a, _b;
1703
+ const prototype = Cstr.prototype;
1704
+ if (cmpMeta.$members$ || (cmpMeta.$watchers$ || Cstr.watchers)) {
1705
+ if (Cstr.watchers && !cmpMeta.$watchers$) {
1706
+ cmpMeta.$watchers$ = Cstr.watchers;
1707
+ }
1708
+ const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
1709
+ members.map(([memberName, [memberFlags]]) => {
1710
+ if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
1711
+ const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
1712
+ if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
1713
+ if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
1714
+ if (flags & 1 /* isElementConstructor */ || !origGetter) {
1715
+ Object.defineProperty(prototype, memberName, {
1716
+ get() {
1717
+ {
1718
+ if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
1719
+ return getValue(this, memberName);
1720
+ }
1721
+ const ref = getHostRef(this);
1722
+ const instance = ref ? ref.$lazyInstance$ : prototype;
1723
+ if (!instance) return;
1724
+ return instance[memberName];
1725
+ }
1726
+ },
1727
+ configurable: true,
1728
+ enumerable: true
1729
+ });
1730
+ }
1731
+ Object.defineProperty(prototype, memberName, {
1732
+ set(newValue) {
1733
+ const ref = getHostRef(this);
1734
+ if (origSetter) {
1735
+ const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1736
+ if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
1737
+ newValue = ref.$instanceValues$.get(memberName);
1738
+ } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
1739
+ ref.$instanceValues$.set(memberName, currentValue);
1740
+ }
1741
+ origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
1742
+ newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1743
+ setValue(this, memberName, newValue, cmpMeta);
1744
+ return;
1745
+ }
1746
+ {
1747
+ if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
1748
+ setValue(this, memberName, newValue, cmpMeta);
1749
+ if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
1750
+ ref.$onReadyPromise$.then(() => {
1751
+ if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
1752
+ ref.$lazyInstance$[memberName] = newValue;
1753
+ }
1754
+ });
1755
+ }
1756
+ return;
1757
+ }
1758
+ const setterSetVal = () => {
1759
+ const currentValue = ref.$lazyInstance$[memberName];
1760
+ if (!ref.$instanceValues$.get(memberName) && currentValue) {
1761
+ ref.$instanceValues$.set(memberName, currentValue);
1762
+ }
1763
+ ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
1764
+ setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
1765
+ };
1766
+ if (ref.$lazyInstance$) {
1767
+ setterSetVal();
1768
+ } else {
1769
+ ref.$onReadyPromise$.then(() => setterSetVal());
1770
+ }
1771
+ }
1772
+ }
1773
+ });
1774
+ } else if (flags & 1 /* isElementConstructor */ && memberFlags & 64 /* Method */) {
1775
+ Object.defineProperty(prototype, memberName, {
1776
+ value(...args) {
1777
+ var _a2;
1778
+ const ref = getHostRef(this);
1779
+ return (_a2 = ref == null ? void 0 : ref.$onInstancePromise$) == null ? void 0 : _a2.then(() => {
1780
+ var _a3;
1781
+ return (_a3 = ref.$lazyInstance$) == null ? void 0 : _a3[memberName](...args);
1782
+ });
1783
+ }
1784
+ });
1785
+ }
1786
+ });
1787
+ if ((flags & 1 /* isElementConstructor */)) {
1788
+ const attrNameToPropName = /* @__PURE__ */ new Map();
1789
+ prototype.attributeChangedCallback = function(attrName, oldValue, newValue) {
1790
+ plt.jmp(() => {
1791
+ var _a2;
1792
+ const propName = attrNameToPropName.get(attrName);
1793
+ if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
1794
+ newValue = this[propName];
1795
+ delete this[propName];
1796
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1797
+ this[propName] == newValue) {
1798
+ return;
1799
+ } else if (propName == null) {
1800
+ const hostRef = getHostRef(this);
1801
+ const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
1802
+ if (flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
1803
+ const instance = hostRef.$lazyInstance$ ;
1804
+ const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
1805
+ entry == null ? void 0 : entry.forEach((callbackName) => {
1806
+ if (instance[callbackName] != null) {
1807
+ instance[callbackName].call(instance, newValue, oldValue, attrName);
1808
+ }
1809
+ });
1810
+ }
1811
+ return;
1812
+ }
1813
+ const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1814
+ newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1815
+ if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1816
+ this[propName] = newValue;
1817
+ }
1818
+ });
1819
+ };
1820
+ Cstr.observedAttributes = Array.from(
1821
+ /* @__PURE__ */ new Set([
1822
+ ...Object.keys((_b = cmpMeta.$watchers$) != null ? _b : {}),
1823
+ ...members.filter(([_, m]) => m[0] & 15 /* HasAttribute */).map(([propName, m]) => {
1824
+ var _a2;
1825
+ const attrName = m[1] || propName;
1826
+ attrNameToPropName.set(attrName, propName);
1827
+ if (m[0] & 512 /* ReflectAttr */) {
1828
+ (_a2 = cmpMeta.$attrsToReflect$) == null ? void 0 : _a2.push([propName, attrName]);
1829
+ }
1830
+ return attrName;
1831
+ })
1832
+ ])
1833
+ );
1834
+ }
1835
+ }
1836
+ return Cstr;
1837
+ };
1838
+
1839
+ // src/runtime/initialize-component.ts
1840
+ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1841
+ let Cstr;
1842
+ if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
1843
+ hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1844
+ const bundleId = cmpMeta.$lazyBundleId$;
1845
+ if (bundleId) {
1846
+ const CstrImport = loadModule(cmpMeta, hostRef);
1847
+ if (CstrImport && "then" in CstrImport) {
1848
+ const endLoad = uniqueTime();
1849
+ Cstr = await CstrImport;
1850
+ endLoad();
1851
+ } else {
1852
+ Cstr = CstrImport;
1853
+ }
1854
+ if (!Cstr) {
1855
+ throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
1856
+ }
1857
+ if (!Cstr.isProxied) {
1858
+ {
1859
+ cmpMeta.$watchers$ = Cstr.watchers;
1860
+ }
1861
+ proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
1862
+ Cstr.isProxied = true;
1863
+ }
1864
+ const endNewInstance = createTime("createInstance", cmpMeta.$tagName$);
1865
+ {
1866
+ hostRef.$flags$ |= 8 /* isConstructingInstance */;
1867
+ }
1868
+ try {
1869
+ new Cstr(hostRef);
1870
+ } catch (e) {
1871
+ consoleError(e, elm);
1872
+ }
1873
+ {
1874
+ hostRef.$flags$ &= ~8 /* isConstructingInstance */;
1875
+ }
1876
+ {
1877
+ hostRef.$flags$ |= 128 /* isWatchReady */;
1878
+ }
1879
+ endNewInstance();
1880
+ fireConnectedCallback(hostRef.$lazyInstance$, elm);
1881
+ } else {
1882
+ Cstr = elm.constructor;
1883
+ const cmpTag = elm.localName;
1884
+ customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
1885
+ }
1886
+ if (Cstr && Cstr.style) {
1887
+ let style;
1888
+ if (typeof Cstr.style === "string") {
1889
+ style = Cstr.style;
1890
+ }
1891
+ const scopeId2 = getScopeId(cmpMeta);
1892
+ if (!styles.has(scopeId2)) {
1893
+ const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
1894
+ registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
1895
+ endRegisterStyles();
1896
+ }
1897
+ }
1898
+ }
1899
+ const ancestorComponent = hostRef.$ancestorComponent$;
1900
+ const schedule = () => scheduleUpdate(hostRef, true);
1901
+ if (ancestorComponent && ancestorComponent["s-rc"]) {
1902
+ ancestorComponent["s-rc"].push(schedule);
1903
+ } else {
1904
+ schedule();
1905
+ }
1906
+ };
1907
+ var fireConnectedCallback = (instance, elm) => {
1908
+ {
1909
+ safeCall(instance, "connectedCallback", void 0, elm);
1910
+ }
1911
+ };
1912
+
1913
+ // src/runtime/connected-callback.ts
1914
+ var connectedCallback = (elm) => {
1915
+ if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1916
+ const hostRef = getHostRef(elm);
1917
+ const cmpMeta = hostRef.$cmpMeta$;
1918
+ const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
1919
+ if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
1920
+ hostRef.$flags$ |= 1 /* hasConnected */;
1921
+ {
1922
+ if (// TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
1923
+ cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */)) {
1924
+ setContentReference(elm);
1925
+ }
1926
+ }
1927
+ {
1928
+ let ancestorComponent = elm;
1929
+ while (ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host) {
1930
+ if (ancestorComponent["s-p"]) {
1931
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$ = ancestorComponent);
1932
+ break;
1933
+ }
1934
+ }
1935
+ }
1936
+ if (cmpMeta.$members$) {
1937
+ Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1938
+ if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {
1939
+ const value = elm[memberName];
1940
+ delete elm[memberName];
1941
+ elm[memberName] = value;
1942
+ }
1943
+ });
1944
+ }
1945
+ {
1946
+ initializeComponent(elm, hostRef, cmpMeta);
1947
+ }
1948
+ } else {
1949
+ addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
1950
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1951
+ fireConnectedCallback(hostRef.$lazyInstance$, elm);
1952
+ } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1953
+ hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
1954
+ }
1955
+ }
1956
+ endConnected();
1957
+ }
1958
+ };
1959
+ var setContentReference = (elm) => {
1960
+ if (!win.document) {
1961
+ return;
1962
+ }
1963
+ const contentRefElm = elm["s-cr"] = win.document.createComment(
1964
+ ""
1965
+ );
1966
+ contentRefElm["s-cn"] = true;
1967
+ insertBefore(elm, contentRefElm, elm.firstChild);
1968
+ };
1969
+ var disconnectInstance = (instance, elm) => {
1970
+ {
1971
+ safeCall(instance, "disconnectedCallback", void 0, elm || instance);
1972
+ }
1973
+ };
1974
+ var disconnectedCallback = async (elm) => {
1975
+ if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1976
+ const hostRef = getHostRef(elm);
1977
+ {
1978
+ if (hostRef.$rmListeners$) {
1979
+ hostRef.$rmListeners$.map((rmListener) => rmListener());
1980
+ hostRef.$rmListeners$ = void 0;
1981
+ }
1982
+ }
1983
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1984
+ disconnectInstance(hostRef.$lazyInstance$, elm);
1985
+ } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1986
+ hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
1987
+ }
1988
+ }
1989
+ if (rootAppliedStyles.has(elm)) {
1990
+ rootAppliedStyles.delete(elm);
1991
+ }
1992
+ if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1993
+ rootAppliedStyles.delete(elm.shadowRoot);
1994
+ }
1995
+ };
1996
+
1997
+ // src/runtime/bootstrap-lazy.ts
1998
+ var bootstrapLazy = (lazyBundles, options = {}) => {
1999
+ var _a;
2000
+ if (!win.document) {
2001
+ console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");
2002
+ return;
2003
+ }
2004
+ const endBootstrap = createTime();
2005
+ const cmpTags = [];
2006
+ const exclude = options.exclude || [];
2007
+ const customElements2 = win.customElements;
2008
+ const head = win.document.head;
2009
+ const metaCharset = /* @__PURE__ */ head.querySelector("meta[charset]");
2010
+ const dataStyles = /* @__PURE__ */ win.document.createElement("style");
2011
+ const deferredConnectedCallbacks = [];
2012
+ let appLoadFallback;
2013
+ let isBootstrapping = true;
2014
+ Object.assign(plt, options);
2015
+ plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", win.document.baseURI).href;
2016
+ let hasSlotRelocation = false;
2017
+ lazyBundles.map((lazyBundle) => {
2018
+ lazyBundle[1].map((compactMeta) => {
2019
+ var _a2;
2020
+ const cmpMeta = {
2021
+ $flags$: compactMeta[0],
2022
+ $tagName$: compactMeta[1],
2023
+ $members$: compactMeta[2],
2024
+ $listeners$: compactMeta[3]
2025
+ };
2026
+ if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
2027
+ hasSlotRelocation = true;
2028
+ }
2029
+ {
2030
+ cmpMeta.$members$ = compactMeta[2];
2031
+ }
2032
+ {
2033
+ cmpMeta.$listeners$ = compactMeta[3];
2034
+ }
2035
+ {
2036
+ cmpMeta.$attrsToReflect$ = [];
2037
+ }
2038
+ {
2039
+ cmpMeta.$watchers$ = (_a2 = compactMeta[4]) != null ? _a2 : {};
2040
+ }
2041
+ const tagName = cmpMeta.$tagName$;
2042
+ const HostElement = class extends HTMLElement {
2043
+ // StencilLazyHost
2044
+ constructor(self) {
2045
+ super(self);
2046
+ this.hasRegisteredEventListeners = false;
2047
+ self = this;
2048
+ registerHost(self, cmpMeta);
2049
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
2050
+ {
2051
+ if (!self.shadowRoot) {
2052
+ {
2053
+ self.attachShadow({
2054
+ mode: "open",
2055
+ delegatesFocus: !!(cmpMeta.$flags$ & 16 /* shadowDelegatesFocus */)
2056
+ });
2057
+ }
2058
+ } else {
2059
+ if (self.shadowRoot.mode !== "open") {
2060
+ throw new Error(
2061
+ `Unable to re-use existing shadow root for ${cmpMeta.$tagName$}! Mode is set to ${self.shadowRoot.mode} but Stencil only supports open shadow roots.`
2062
+ );
2063
+ }
2064
+ }
2065
+ }
2066
+ }
2067
+ }
2068
+ connectedCallback() {
2069
+ const hostRef = getHostRef(this);
2070
+ if (!this.hasRegisteredEventListeners) {
2071
+ this.hasRegisteredEventListeners = true;
2072
+ addHostEventListeners(this, hostRef, cmpMeta.$listeners$);
2073
+ }
2074
+ if (appLoadFallback) {
2075
+ clearTimeout(appLoadFallback);
2076
+ appLoadFallback = null;
2077
+ }
2078
+ if (isBootstrapping) {
2079
+ deferredConnectedCallbacks.push(this);
2080
+ } else {
2081
+ plt.jmp(() => connectedCallback(this));
2082
+ }
2083
+ }
2084
+ disconnectedCallback() {
2085
+ plt.jmp(() => disconnectedCallback(this));
2086
+ plt.raf(() => {
2087
+ var _a3;
2088
+ const hostRef = getHostRef(this);
2089
+ const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
2090
+ if (i2 > -1) {
2091
+ deferredConnectedCallbacks.splice(i2, 1);
2092
+ }
2093
+ if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
2094
+ delete hostRef.$vnode$.$elm$;
2095
+ }
2096
+ });
2097
+ }
2098
+ componentOnReady() {
2099
+ return getHostRef(this).$onReadyPromise$;
2100
+ }
2101
+ };
2102
+ cmpMeta.$lazyBundleId$ = lazyBundle[0];
2103
+ if (!exclude.includes(tagName) && !customElements2.get(tagName)) {
2104
+ cmpTags.push(tagName);
2105
+ customElements2.define(
2106
+ tagName,
2107
+ proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */)
2108
+ );
2109
+ }
2110
+ });
2111
+ });
2112
+ if (cmpTags.length > 0) {
2113
+ if (hasSlotRelocation) {
2114
+ dataStyles.textContent += SLOT_FB_CSS;
2115
+ }
2116
+ {
2117
+ dataStyles.textContent += cmpTags.sort() + HYDRATED_CSS;
2118
+ }
2119
+ if (dataStyles.innerHTML.length) {
2120
+ dataStyles.setAttribute("data-styles", "");
2121
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
2122
+ if (nonce != null) {
2123
+ dataStyles.setAttribute("nonce", nonce);
2124
+ }
2125
+ head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
2126
+ }
2127
+ }
2128
+ isBootstrapping = false;
2129
+ if (deferredConnectedCallbacks.length) {
2130
+ deferredConnectedCallbacks.map((host) => host.connectedCallback());
2131
+ } else {
2132
+ {
2133
+ plt.jmp(() => appLoadFallback = setTimeout(appDidLoad, 30));
2134
+ }
2135
+ }
2136
+ endBootstrap();
2137
+ };
2138
+
2139
+ // src/runtime/fragment.ts
2140
+ var Fragment = (_, children) => children;
2141
+ var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
2142
+ if (listeners && win.document) {
2143
+ listeners.map(([flags, name, method]) => {
2144
+ const target = getHostListenerTarget(win.document, elm, flags) ;
2145
+ const handler = hostListenerProxy(hostRef, method);
2146
+ const opts = hostListenerOpts(flags);
2147
+ plt.ael(target, name, handler, opts);
2148
+ (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
2149
+ });
2150
+ }
2151
+ };
2152
+ var hostListenerProxy = (hostRef, methodName) => (ev) => {
2153
+ var _a;
2154
+ try {
2155
+ {
2156
+ if (hostRef.$flags$ & 256 /* isListenReady */) {
2157
+ (_a = hostRef.$lazyInstance$) == null ? void 0 : _a[methodName](ev);
2158
+ } else {
2159
+ (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
2160
+ }
2161
+ }
2162
+ } catch (e) {
2163
+ consoleError(e, hostRef.$hostElement$);
2164
+ }
2165
+ };
2166
+ var getHostListenerTarget = (doc, elm, flags) => {
2167
+ if (flags & 8 /* TargetWindow */) {
2168
+ return win;
2169
+ }
2170
+ return elm;
2171
+ };
2172
+ var hostListenerOpts = (flags) => supportsListenerOptions ? {
2173
+ passive: (flags & 1 /* Passive */) !== 0,
2174
+ capture: (flags & 2 /* Capture */) !== 0
2175
+ } : (flags & 2 /* Capture */) !== 0;
2176
+
2177
+ // src/runtime/nonce.ts
2178
+ var setNonce = (nonce) => plt.$nonce$ = nonce;
2179
+
2180
+ exports.Fragment = Fragment;
2181
+ exports.Host = Host;
2182
+ exports.bootstrapLazy = bootstrapLazy;
2183
+ exports.createEvent = createEvent;
2184
+ exports.forceUpdate = forceUpdate;
2185
+ exports.getElement = getElement;
2186
+ exports.getRenderingRef = getRenderingRef;
2187
+ exports.h = h;
2188
+ exports.promiseResolve = promiseResolve;
2189
+ exports.registerInstance = registerInstance;
2190
+ exports.setNonce = setNonce;
2191
+ exports.writeTask = writeTask;