@cloudflare/realtimekit-ui 1.0.3 → 1.0.4-staging.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (691) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/{TextMessage-87c1e5a0.js → TextMessage-b9599251.js} +1 -1
  3. package/dist/cjs/{chat-6d305b71.js → chat-aac81e73.js} +1 -1
  4. package/dist/cjs/{debounce-6dabb441.js → debounce-8ebb7833.js} +6 -6
  5. package/dist/cjs/index-2ae99c70.js +88 -0
  6. package/dist/cjs/index.cjs.js +17 -16
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/merge-ee976be5.js +575 -0
  9. package/dist/cjs/{config-9632c81a.js → notification-541b7cfa.js} +39 -576
  10. package/dist/cjs/realtimekit-ui.cjs.js +1 -1
  11. package/dist/cjs/rtk-ai-toggle.cjs.entry.js +4 -2
  12. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +4 -7
  13. package/dist/cjs/rtk-ai.cjs.entry.js +8 -3
  14. package/dist/cjs/rtk-audio-grid.cjs.entry.js +6 -3
  15. package/dist/cjs/rtk-audio-tile.cjs.entry.js +8 -3
  16. package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +11 -11
  17. package/dist/cjs/rtk-avatar_54.cjs.entry.js +385 -297
  18. package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +4 -2
  19. package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +12 -7
  20. package/dist/cjs/rtk-camera-toggle.cjs.entry.js +4 -2
  21. package/dist/cjs/rtk-caption-toggle.cjs.entry.js +8 -3
  22. package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +6 -6
  23. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +3 -3
  24. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +3 -3
  25. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +6 -4
  26. package/dist/cjs/rtk-clock.cjs.entry.js +5 -5
  27. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +3 -3
  28. package/dist/cjs/rtk-controlbar.cjs.entry.js +7 -4
  29. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +3 -3
  30. package/dist/cjs/rtk-ended-screen.cjs.entry.js +8 -3
  31. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +3 -3
  32. package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +2 -2
  33. package/dist/cjs/rtk-grid-pagination.cjs.entry.js +7 -5
  34. package/dist/cjs/rtk-grid.cjs.entry.js +14 -11
  35. package/dist/cjs/rtk-header.cjs.entry.js +7 -4
  36. package/dist/cjs/rtk-idle-screen.cjs.entry.js +7 -4
  37. package/dist/cjs/rtk-image-viewer.cjs.entry.js +3 -3
  38. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +3 -3
  39. package/dist/cjs/rtk-leave-button.cjs.entry.js +3 -3
  40. package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +4 -4
  41. package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +6 -6
  42. package/dist/cjs/rtk-meeting-title.cjs.entry.js +2 -2
  43. package/dist/cjs/rtk-message-list-view.cjs.entry.js +6 -7
  44. package/dist/cjs/rtk-mic-toggle.cjs.entry.js +4 -2
  45. package/dist/cjs/rtk-mixed-grid.cjs.entry.js +10 -5
  46. package/dist/cjs/rtk-more-toggle.cjs.entry.js +4 -4
  47. package/dist/cjs/rtk-mute-all-button.cjs.entry.js +4 -2
  48. package/dist/cjs/rtk-name-tag.cjs.entry.js +3 -3
  49. package/dist/cjs/rtk-network-indicator.cjs.entry.js +2 -2
  50. package/dist/cjs/rtk-participant-count.cjs.entry.js +2 -2
  51. package/dist/cjs/rtk-participant-setup.cjs.entry.js +8 -5
  52. package/dist/cjs/rtk-participant_2.cjs.entry.js +21 -19
  53. package/dist/cjs/rtk-participants-audio.cjs.entry.js +5 -5
  54. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +29 -13
  55. package/dist/cjs/rtk-participants-toggle.cjs.entry.js +5 -5
  56. package/dist/cjs/rtk-participants.cjs.entry.js +13 -9
  57. package/dist/cjs/rtk-pip-toggle.cjs.entry.js +8 -3
  58. package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +7 -4
  59. package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +4 -4
  60. package/dist/cjs/rtk-plugins_2.cjs.entry.js +15 -9
  61. package/dist/cjs/rtk-poll_2.cjs.entry.js +5 -5
  62. package/dist/cjs/rtk-polls-toggle.cjs.entry.js +3 -3
  63. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +3 -3
  64. package/dist/cjs/rtk-recording-toggle.cjs.entry.js +5 -5
  65. package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +2 -2
  66. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +7 -7
  67. package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +5 -5
  68. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +3 -3
  69. package/dist/cjs/rtk-settings.cjs.entry.js +3 -3
  70. package/dist/cjs/rtk-setup-screen.cjs.entry.js +11 -5
  71. package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +2 -2
  72. package/dist/cjs/rtk-sidebar.cjs.entry.js +13 -4
  73. package/dist/cjs/rtk-simple-grid.cjs.entry.js +9 -4
  74. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +8 -5
  75. package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +2 -2
  76. package/dist/cjs/rtk-stage-toggle.cjs.entry.js +4 -4
  77. package/dist/cjs/rtk-stage.cjs.entry.js +3 -3
  78. package/dist/cjs/rtk-transcript.cjs.entry.js +3 -3
  79. package/dist/cjs/rtk-transcripts.cjs.entry.js +10 -10
  80. package/dist/cjs/rtk-ui-provider.cjs.entry.js +127 -57
  81. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +7 -4
  82. package/dist/cjs/{sidebar-8256d60e.js → sidebar-8b82a470.js} +1 -1
  83. package/dist/cjs/{ui-store-7807fa2a.js → ui-store-af000a8e.js} +2419 -13
  84. package/dist/collection/components/rtk-ai/rtk-ai.js +8 -3
  85. package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +2 -0
  86. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +1 -1
  87. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +4 -1
  88. package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +6 -1
  89. package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +3 -3
  90. package/dist/collection/components/rtk-avatar/rtk-avatar.js +1 -1
  91. package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +11 -9
  92. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +4 -4
  93. package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +2 -0
  94. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +2 -2
  95. package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +2 -2
  96. package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +2 -0
  97. package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +8 -3
  98. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +2 -2
  99. package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +2 -2
  100. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +2 -2
  101. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.js +4 -4
  102. package/dist/collection/components/rtk-chat/rtk-chat.js +8 -4
  103. package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +2 -2
  104. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +7 -7
  105. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +4 -4
  106. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +4 -4
  107. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +1 -1
  108. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +3 -1
  109. package/dist/collection/components/rtk-clock/rtk-clock.js +3 -3
  110. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +1 -1
  111. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +7 -4
  112. package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +1 -1
  113. package/dist/collection/components/rtk-counter/rtk-counter.js +2 -2
  114. package/dist/collection/components/rtk-debugger/rtk-debugger.js +1 -1
  115. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +1 -1
  116. package/dist/collection/components/rtk-dialog/rtk-dialog.js +6 -3
  117. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +9 -3
  118. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +1 -1
  119. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +1 -1
  120. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +1 -1
  121. package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +8 -3
  122. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +1 -1
  123. package/dist/collection/components/rtk-file-message/rtk-file-message.js +3 -3
  124. package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +1 -1
  125. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +1 -1
  126. package/dist/collection/components/rtk-grid/rtk-grid.js +14 -12
  127. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +5 -3
  128. package/dist/collection/components/rtk-header/rtk-header.js +7 -4
  129. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +7 -4
  130. package/dist/collection/components/rtk-image-message/rtk-image-message.js +5 -5
  131. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +3 -3
  132. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +2 -2
  133. package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +1 -1
  134. package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +7 -4
  135. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +1 -1
  136. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +2 -2
  137. package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +1 -1
  138. package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +1 -1
  139. package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +4 -4
  140. package/dist/collection/components/rtk-logo/rtk-logo.js +6 -3
  141. package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +1 -1
  142. package/dist/collection/components/rtk-meeting/rtk-meeting.js +119 -64
  143. package/dist/collection/components/rtk-menu/rtk-menu.js +2 -2
  144. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +1 -1
  145. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +1 -1
  146. package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +3 -3
  147. package/dist/collection/components/rtk-message-view/rtk-message-view.js +1 -1
  148. package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +2 -0
  149. package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +3 -3
  150. package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +11 -6
  151. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +2 -2
  152. package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +2 -0
  153. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +1 -1
  154. package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +1 -1
  155. package/dist/collection/components/rtk-notification/rtk-notification.js +2 -2
  156. package/dist/collection/components/rtk-notifications/rtk-notifications.js +13 -7
  157. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +1 -1
  158. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +1 -1
  159. package/dist/collection/components/rtk-participant/rtk-participant.js +18 -15
  160. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +8 -5
  161. package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +10 -5
  162. package/dist/collection/components/rtk-participants/rtk-participants.js +12 -7
  163. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +3 -3
  164. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +10 -7
  165. package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +9 -4
  166. package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +2 -2
  167. package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +9 -4
  168. package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +7 -4
  169. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +1 -1
  170. package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +8 -3
  171. package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +1 -1
  172. package/dist/collection/components/rtk-plugins/rtk-plugins.js +7 -4
  173. package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +1 -1
  174. package/dist/collection/components/rtk-poll/rtk-poll.js +2 -2
  175. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +2 -2
  176. package/dist/collection/components/rtk-polls/rtk-polls.js +10 -7
  177. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +1 -1
  178. package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +3 -3
  179. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +5 -5
  180. package/dist/collection/components/rtk-settings/rtk-settings.js +1 -1
  181. package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +1 -1
  182. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +1 -1
  183. package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +2 -2
  184. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +11 -5
  185. package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +12 -3
  186. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +9 -4
  187. package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +2 -2
  188. package/dist/collection/components/rtk-spinner/rtk-spinner.js +1 -1
  189. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +8 -5
  190. package/dist/collection/components/rtk-stage/rtk-stage.js +1 -1
  191. package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +2 -3
  192. package/dist/collection/components/rtk-switch/rtk-switch.js +1 -1
  193. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +7 -4
  194. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +1 -1
  195. package/dist/collection/components/rtk-text-message/rtk-text-message.js +3 -3
  196. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
  197. package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +1 -1
  198. package/dist/collection/components/rtk-transcript/rtk-transcript.js +1 -1
  199. package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +9 -6
  200. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.css +41 -3
  201. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +162 -93
  202. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
  203. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +7 -4
  204. package/dist/collection/exports.js +2 -2
  205. package/dist/collection/lib/builder/index.js +2 -2
  206. package/dist/collection/lib/default-ui-config.js +4 -0
  207. package/dist/collection/utils/config.js +2 -2
  208. package/dist/collection/utils/sync-with-store/index.js +66 -4
  209. package/dist/collection/utils/sync-with-store/ui-store.js +77 -15
  210. package/dist/components/index.js +6 -6
  211. package/dist/components/{p-cc6ff913.js → p-04dc0331.js} +17 -12
  212. package/dist/components/{p-a09473cb.js → p-095e6b83.js} +2 -2
  213. package/dist/components/{p-01788fc5.js → p-09ec425b.js} +6 -6
  214. package/dist/components/{p-79534847.js → p-0a0515d9.js} +4 -4
  215. package/dist/components/{p-cfbb9bd9.js → p-0b9cf1da.js} +4 -4
  216. package/dist/components/{p-de567bdf.js → p-0c855484.js} +6 -6
  217. package/dist/components/{p-6631e984.js → p-0f10661d.js} +3 -3
  218. package/dist/components/{p-20c74379.js → p-1035acb6.js} +3 -3
  219. package/dist/components/{p-afc2ce7b.js → p-12e64755.js} +3 -3
  220. package/dist/components/{p-7916d083.js → p-17ac0da7.js} +6 -3
  221. package/dist/components/{p-a08b5a59.js → p-1dca17d1.js} +1 -1
  222. package/dist/components/{p-a0000935.js → p-1f5e21d0.js} +11 -8
  223. package/dist/components/{p-23d64784.js → p-24c3ffc2.js} +4 -4
  224. package/dist/components/{p-fc4484ae.js → p-2b523e10.js} +2233 -14
  225. package/dist/components/{p-1f0c5462.js → p-2d58e36e.js} +6 -6
  226. package/dist/components/{p-77338347.js → p-2ee6390c.js} +11 -8
  227. package/dist/components/{p-c1f57f6b.js → p-2f9525bf.js} +4 -4
  228. package/dist/components/{p-ff6d9602.js → p-3081fabf.js} +5 -5
  229. package/dist/components/{p-eab1b7c1.js → p-310a03ac.js} +16 -16
  230. package/dist/components/{p-9b7dc3b2.js → p-32584f88.js} +6 -6
  231. package/dist/components/{p-153e1ac6.js → p-36b8529e.js} +6 -6
  232. package/dist/components/{p-efda30dd.js → p-37f70cfb.js} +4 -4
  233. package/dist/components/{p-b76deed8.js → p-384919de.js} +15 -15
  234. package/dist/components/{p-9007d4aa.js → p-388b17ad.js} +6 -6
  235. package/dist/components/p-3968315b.js +86 -0
  236. package/dist/components/{p-c86a0f9e.js → p-40870ba7.js} +9 -9
  237. package/dist/components/{p-8804314e.js → p-47a6f5a0.js} +3 -4
  238. package/dist/components/{p-cac807c5.js → p-47f6fdfa.js} +4 -4
  239. package/dist/components/{p-14c496c6.js → p-483894c7.js} +9 -6
  240. package/dist/components/{p-8c391f68.js → p-4bb5e9bb.js} +14 -14
  241. package/dist/components/{p-2507c6c8.js → p-4c2acc5c.js} +1 -1
  242. package/dist/components/{p-d8be719c.js → p-4f585ec2.js} +13 -13
  243. package/dist/components/{p-6d3c8a73.js → p-5255d2f8.js} +10 -10
  244. package/dist/components/{p-65e9c741.js → p-52628938.js} +6 -6
  245. package/dist/components/{p-b1161cb8.js → p-54de25c6.js} +3 -3
  246. package/dist/components/{p-97ce630d.js → p-557d4076.js} +15 -12
  247. package/dist/components/{p-22f2908e.js → p-5677f439.js} +4 -4
  248. package/dist/components/{p-ed0df5b1.js → p-57973e22.js} +4 -4
  249. package/dist/components/{p-2e9c3dd2.js → p-616cfbd8.js} +12 -9
  250. package/dist/components/{p-2c3cda13.js → p-632cbbe7.js} +25 -25
  251. package/dist/components/{p-11048ea8.js → p-65980189.js} +18 -16
  252. package/dist/components/{p-4b89a5d6.js → p-6b4eccd6.js} +6 -6
  253. package/dist/components/{p-b29a58cd.js → p-6c351e40.js} +14 -9
  254. package/dist/components/{p-f0df8c15.js → p-7525d343.js} +4 -4
  255. package/dist/components/{p-eba76ab4.js → p-7764b66b.js} +32 -26
  256. package/dist/components/{p-2df5f773.js → p-792de3bc.js} +3 -3
  257. package/dist/components/{p-7afb8f24.js → p-7ac93e47.js} +2 -2
  258. package/dist/components/{p-40a18d12.js → p-7d95084a.js} +7 -7
  259. package/dist/components/{p-9b675f4f.js → p-7f4b9092.js} +24 -21
  260. package/dist/components/{p-07c5a2da.js → p-80efd900.js} +17 -11
  261. package/dist/components/{p-cbc8e449.js → p-81a13bf2.js} +5 -5
  262. package/dist/components/{p-8d07e4b3.js → p-8320939f.js} +9 -9
  263. package/dist/components/{p-01b76741.js → p-87ae32cb.js} +9 -9
  264. package/dist/components/{p-1cc409c6.js → p-885dad3e.js} +5 -5
  265. package/dist/components/{p-1590eea9.js → p-889bc7b9.js} +5 -5
  266. package/dist/components/{p-ba8208ac.js → p-8afd3f68.js} +5 -5
  267. package/dist/components/{p-f77fe02e.js → p-8d93417e.js} +8 -8
  268. package/dist/components/{p-a575deb5.js → p-93355c43.js} +1 -1
  269. package/dist/components/{p-f634f020.js → p-938ee31c.js} +4 -4
  270. package/dist/components/{p-e9c999f4.js → p-96362151.js} +6 -6
  271. package/dist/components/{p-783ab170.js → p-96e2ff79.js} +8 -8
  272. package/dist/components/{p-7a1b0433.js → p-99303d10.js} +1 -1
  273. package/dist/components/{p-eaa808b7.js → p-9f843e5a.js} +9 -9
  274. package/dist/components/{p-3d5214b4.js → p-9f86929b.js} +8 -8
  275. package/dist/components/{p-60b29ed0.js → p-a10339f4.js} +5 -5
  276. package/dist/components/{p-ebb19a87.js → p-ab84cfbb.js} +8 -5
  277. package/dist/components/{p-b2b2e917.js → p-acbb932e.js} +2 -2
  278. package/dist/components/{p-11b00854.js → p-b53c309c.js} +6 -6
  279. package/dist/components/{p-c1a12313.js → p-b8baba9f.js} +60 -56
  280. package/dist/components/p-b8fe19b6.js +574 -0
  281. package/dist/components/{p-3358d7dc.js → p-b9e78c21.js} +1 -1
  282. package/dist/components/{p-5597fe9f.js → p-bee7d918.js} +9 -9
  283. package/dist/components/{p-1c22a3a0.js → p-bf72bb45.js} +10 -10
  284. package/dist/components/{p-85665c03.js → p-c254f63b.js} +9 -6
  285. package/dist/{esm/config-407ad80b.js → components/p-c5fd7cc6.js} +4 -575
  286. package/dist/components/{p-e902ab68.js → p-c65aaf73.js} +18 -18
  287. package/dist/components/{p-a73161da.js → p-cadee920.js} +1 -1
  288. package/dist/components/{p-b1030316.js → p-d1084f45.js} +2 -2
  289. package/dist/components/{p-8eea1b4d.js → p-d4f3d3d2.js} +11 -6
  290. package/dist/components/{p-9e5b47ea.js → p-dc3143c0.js} +3 -3
  291. package/dist/components/{p-b5dc3971.js → p-e10e8a56.js} +12 -12
  292. package/dist/components/{p-a59e060b.js → p-ea160150.js} +2 -2
  293. package/dist/components/{p-7dcce90b.js → p-f1a781b0.js} +4 -4
  294. package/dist/components/{p-65da3d17.js → p-f31839f4.js} +5 -5
  295. package/dist/components/{p-7d76715d.js → p-f3f1b0c0.js} +3 -3
  296. package/dist/components/{p-287eadbd.js → p-f3fbe2fb.js} +6 -6
  297. package/dist/components/{p-fab54b49.js → p-f44a0212.js} +4 -4
  298. package/dist/components/{p-f4158e29.js → p-f8594d8e.js} +2 -2
  299. package/dist/components/{p-d5ce79e0.js → p-fb038bd0.js} +6 -6
  300. package/dist/components/{p-0daa472f.js → p-fbe523dc.js} +8 -8
  301. package/dist/components/{p-273196ec.js → p-fc56c6ea.js} +6 -6
  302. package/dist/components/rtk-ai-toggle.js +7 -5
  303. package/dist/components/rtk-ai-transcriptions.js +1 -1
  304. package/dist/components/rtk-ai.js +11 -6
  305. package/dist/components/rtk-audio-grid.js +6 -3
  306. package/dist/components/rtk-audio-tile.js +12 -7
  307. package/dist/components/rtk-audio-visualizer.js +1 -1
  308. package/dist/components/rtk-avatar.js +1 -1
  309. package/dist/components/rtk-breakout-room-manager.js +1 -1
  310. package/dist/components/rtk-breakout-room-participants.js +1 -1
  311. package/dist/components/rtk-breakout-rooms-manager.js +1 -1
  312. package/dist/components/rtk-breakout-rooms-toggle.js +7 -5
  313. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  314. package/dist/components/rtk-button.js +1 -1
  315. package/dist/components/rtk-camera-selector.js +1 -1
  316. package/dist/components/rtk-camera-toggle.js +8 -6
  317. package/dist/components/rtk-caption-toggle.js +11 -6
  318. package/dist/components/rtk-channel-creator.js +1 -1
  319. package/dist/components/rtk-channel-details.js +1 -1
  320. package/dist/components/rtk-channel-header.js +1 -1
  321. package/dist/components/rtk-channel-selector-ui.js +8 -8
  322. package/dist/components/rtk-channel-selector-view.js +1 -1
  323. package/dist/components/rtk-chat-composer-ui.js +8 -8
  324. package/dist/components/rtk-chat-composer-view.js +1 -1
  325. package/dist/components/rtk-chat-message.js +1 -1
  326. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  327. package/dist/components/rtk-chat-messages-ui.js +1 -1
  328. package/dist/components/rtk-chat-search-results.js +1 -1
  329. package/dist/components/rtk-chat-selector-ui.js +3 -3
  330. package/dist/components/rtk-chat-toggle.js +9 -7
  331. package/dist/components/rtk-chat.js +1 -1
  332. package/dist/components/rtk-clock.js +6 -6
  333. package/dist/components/rtk-confirmation-modal.js +1 -1
  334. package/dist/components/rtk-controlbar-button.js +1 -1
  335. package/dist/components/rtk-controlbar.js +7 -4
  336. package/dist/components/rtk-counter.js +1 -1
  337. package/dist/components/rtk-debugger-audio.js +1 -1
  338. package/dist/components/rtk-debugger-screenshare.js +1 -1
  339. package/dist/components/rtk-debugger-system.js +1 -1
  340. package/dist/components/rtk-debugger-toggle.js +6 -6
  341. package/dist/components/rtk-debugger-video.js +1 -1
  342. package/dist/components/rtk-debugger.js +1 -1
  343. package/dist/components/rtk-dialog-manager.js +1 -1
  344. package/dist/components/rtk-dialog.js +1 -1
  345. package/dist/components/rtk-draft-attachment-view.js +1 -1
  346. package/dist/components/rtk-emoji-picker-button.js +1 -1
  347. package/dist/components/rtk-emoji-picker.js +1 -1
  348. package/dist/components/rtk-ended-screen.js +10 -5
  349. package/dist/components/rtk-file-dropzone.js +4 -4
  350. package/dist/components/rtk-file-message-view.js +1 -1
  351. package/dist/components/rtk-file-message.js +1 -1
  352. package/dist/components/rtk-file-picker-button.js +1 -1
  353. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  354. package/dist/components/rtk-grid-pagination.js +10 -8
  355. package/dist/components/rtk-grid.js +22 -19
  356. package/dist/components/rtk-header.js +7 -4
  357. package/dist/components/rtk-icon.js +1 -1
  358. package/dist/components/rtk-idle-screen.js +10 -7
  359. package/dist/components/rtk-image-message-view.js +1 -1
  360. package/dist/components/rtk-image-message.js +1 -1
  361. package/dist/components/rtk-image-viewer.js +5 -5
  362. package/dist/components/rtk-information-tooltip.js +4 -4
  363. package/dist/components/rtk-join-stage.js +1 -1
  364. package/dist/components/rtk-leave-button.js +6 -6
  365. package/dist/components/rtk-leave-meeting.js +1 -1
  366. package/dist/components/rtk-livestream-indicator.js +1 -1
  367. package/dist/components/rtk-livestream-player.js +1 -1
  368. package/dist/components/rtk-livestream-toggle.js +9 -9
  369. package/dist/components/rtk-logo.js +1 -1
  370. package/dist/components/rtk-markdown-view.js +1 -1
  371. package/dist/components/rtk-meeting-title.js +3 -3
  372. package/dist/components/rtk-meeting.js +173 -109
  373. package/dist/components/rtk-menu-item.js +1 -1
  374. package/dist/components/rtk-menu-list.js +1 -1
  375. package/dist/components/rtk-menu.js +1 -1
  376. package/dist/components/rtk-message-list-view.js +8 -8
  377. package/dist/components/rtk-message-view.js +1 -1
  378. package/dist/components/rtk-mic-toggle.js +8 -6
  379. package/dist/components/rtk-microphone-selector.js +1 -1
  380. package/dist/components/rtk-mixed-grid.js +16 -11
  381. package/dist/components/rtk-more-toggle.js +7 -7
  382. package/dist/components/rtk-mute-all-button.js +8 -6
  383. package/dist/components/rtk-mute-all-confirmation.js +1 -1
  384. package/dist/components/rtk-name-tag.js +1 -1
  385. package/dist/components/rtk-network-indicator.js +3 -3
  386. package/dist/components/rtk-notification.js +1 -1
  387. package/dist/components/rtk-notifications.js +1 -1
  388. package/dist/components/rtk-overlay-modal.js +1 -1
  389. package/dist/components/rtk-paginated-list.js +1 -1
  390. package/dist/components/rtk-participant-count.js +3 -3
  391. package/dist/components/rtk-participant-setup.js +8 -5
  392. package/dist/components/rtk-participant-tile.js +1 -1
  393. package/dist/components/rtk-participant.js +1 -1
  394. package/dist/components/rtk-participants-audio.js +8 -8
  395. package/dist/components/rtk-participants-stage-list.js +1 -1
  396. package/dist/components/rtk-participants-stage-queue.js +1 -1
  397. package/dist/components/rtk-participants-toggle.js +8 -8
  398. package/dist/components/rtk-participants-viewer-list.js +1 -1
  399. package/dist/components/rtk-participants-waiting-list.js +1 -1
  400. package/dist/components/rtk-participants.js +27 -22
  401. package/dist/components/rtk-permissions-message.js +1 -1
  402. package/dist/components/rtk-pip-toggle.js +11 -6
  403. package/dist/components/rtk-plugin-main.js +1 -1
  404. package/dist/components/rtk-plugins-toggle.js +7 -7
  405. package/dist/components/rtk-plugins.js +1 -1
  406. package/dist/components/rtk-poll-form.js +1 -1
  407. package/dist/components/rtk-poll.js +1 -1
  408. package/dist/components/rtk-polls-toggle.js +6 -6
  409. package/dist/components/rtk-polls.js +1 -1
  410. package/dist/components/rtk-recording-indicator.js +4 -4
  411. package/dist/components/rtk-recording-toggle.js +8 -8
  412. package/dist/components/rtk-screen-share-toggle.js +6 -6
  413. package/dist/components/rtk-screenshare-view.js +10 -10
  414. package/dist/components/rtk-settings-audio.js +1 -1
  415. package/dist/components/rtk-settings-toggle.js +6 -6
  416. package/dist/components/rtk-settings-video.js +1 -1
  417. package/dist/components/rtk-settings.js +13 -13
  418. package/dist/components/rtk-setup-screen.js +17 -11
  419. package/dist/components/rtk-sidebar-ui.js +1 -1
  420. package/dist/components/rtk-sidebar.js +21 -12
  421. package/dist/components/rtk-simple-grid.js +9 -4
  422. package/dist/components/rtk-speaker-selector.js +1 -1
  423. package/dist/components/rtk-spinner.js +1 -1
  424. package/dist/components/rtk-spotlight-grid.js +8 -5
  425. package/dist/components/rtk-spotlight-indicator.js +1 -1
  426. package/dist/components/rtk-stage-toggle.js +8 -8
  427. package/dist/components/rtk-stage.js +3 -3
  428. package/dist/components/rtk-switch.js +1 -1
  429. package/dist/components/rtk-tab-bar.js +1 -1
  430. package/dist/components/rtk-text-composer-view.js +1 -1
  431. package/dist/components/rtk-text-message-view.js +1 -1
  432. package/dist/components/rtk-text-message.js +1 -1
  433. package/dist/components/rtk-tooltip.js +1 -1
  434. package/dist/components/rtk-transcript.js +1 -1
  435. package/dist/components/rtk-transcripts.js +10 -8
  436. package/dist/components/rtk-ui-provider.js +130 -58
  437. package/dist/components/rtk-viewer-count.js +1 -1
  438. package/dist/components/rtk-virtualized-participant-list.js +1 -1
  439. package/dist/components/rtk-waiting-screen.js +8 -5
  440. package/dist/docs/docs-components.json +84 -122
  441. package/dist/docs/docs-vscode.json +10 -2
  442. package/dist/esm/{TextMessage-3e08c5e1.js → TextMessage-a699d8da.js} +1 -1
  443. package/dist/esm/{chat-927074dc.js → chat-0fec85e9.js} +1 -1
  444. package/dist/esm/{debounce-ea0579b2.js → debounce-29e3a983.js} +1 -1
  445. package/dist/esm/index-21637ec2.js +86 -0
  446. package/dist/esm/index.js +7 -9
  447. package/dist/esm/loader.js +18560 -18143
  448. package/dist/esm/merge-ef938315.js +573 -0
  449. package/dist/{components/p-31f1e8e5.js → esm/notification-deef1123.js} +38 -575
  450. package/dist/esm/realtimekit-ui.js +1 -1
  451. package/dist/esm/rtk-ai-toggle.entry.js +4 -2
  452. package/dist/esm/rtk-ai-transcriptions.entry.js +3 -6
  453. package/dist/esm/rtk-ai.entry.js +8 -3
  454. package/dist/esm/rtk-audio-grid.entry.js +6 -3
  455. package/dist/esm/rtk-audio-tile.entry.js +8 -3
  456. package/dist/esm/rtk-audio-visualizer_4.entry.js +11 -11
  457. package/dist/esm/rtk-avatar_54.entry.js +382 -294
  458. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +4 -2
  459. package/dist/esm/rtk-camera-selector_2.entry.js +12 -7
  460. package/dist/esm/rtk-camera-toggle.entry.js +4 -2
  461. package/dist/esm/rtk-caption-toggle.entry.js +8 -3
  462. package/dist/esm/rtk-channel-selector-ui.entry.js +6 -6
  463. package/dist/esm/rtk-chat-composer-ui.entry.js +3 -3
  464. package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
  465. package/dist/esm/rtk-chat-toggle.entry.js +6 -4
  466. package/dist/esm/rtk-clock.entry.js +5 -5
  467. package/dist/esm/rtk-controlbar-button.entry.js +3 -3
  468. package/dist/esm/rtk-controlbar.entry.js +7 -4
  469. package/dist/esm/rtk-debugger-toggle.entry.js +3 -3
  470. package/dist/esm/rtk-ended-screen.entry.js +8 -3
  471. package/dist/esm/rtk-file-dropzone.entry.js +3 -3
  472. package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
  473. package/dist/esm/rtk-grid-pagination.entry.js +7 -5
  474. package/dist/esm/rtk-grid.entry.js +14 -11
  475. package/dist/esm/rtk-header.entry.js +7 -4
  476. package/dist/esm/rtk-idle-screen.entry.js +7 -4
  477. package/dist/esm/rtk-image-viewer.entry.js +3 -3
  478. package/dist/esm/rtk-information-tooltip.entry.js +3 -3
  479. package/dist/esm/rtk-leave-button.entry.js +3 -3
  480. package/dist/esm/rtk-livestream-indicator_3.entry.js +4 -4
  481. package/dist/esm/rtk-livestream-toggle.entry.js +6 -6
  482. package/dist/esm/rtk-meeting-title.entry.js +2 -2
  483. package/dist/esm/rtk-message-list-view.entry.js +6 -7
  484. package/dist/esm/rtk-mic-toggle.entry.js +4 -2
  485. package/dist/esm/rtk-mixed-grid.entry.js +10 -5
  486. package/dist/esm/rtk-more-toggle.entry.js +4 -4
  487. package/dist/esm/rtk-mute-all-button.entry.js +4 -2
  488. package/dist/esm/rtk-name-tag.entry.js +3 -3
  489. package/dist/esm/rtk-network-indicator.entry.js +2 -2
  490. package/dist/esm/rtk-participant-count.entry.js +2 -2
  491. package/dist/esm/rtk-participant-setup.entry.js +8 -5
  492. package/dist/esm/rtk-participant_2.entry.js +21 -19
  493. package/dist/esm/rtk-participants-audio.entry.js +5 -5
  494. package/dist/esm/rtk-participants-stage-list_4.entry.js +29 -13
  495. package/dist/esm/rtk-participants-toggle.entry.js +5 -5
  496. package/dist/esm/rtk-participants.entry.js +13 -9
  497. package/dist/esm/rtk-pip-toggle.entry.js +8 -3
  498. package/dist/esm/rtk-plugin-main_2.entry.js +7 -4
  499. package/dist/esm/rtk-plugins-toggle.entry.js +4 -4
  500. package/dist/esm/rtk-plugins_2.entry.js +15 -9
  501. package/dist/esm/rtk-poll_2.entry.js +5 -5
  502. package/dist/esm/rtk-polls-toggle.entry.js +3 -3
  503. package/dist/esm/rtk-recording-indicator.entry.js +3 -3
  504. package/dist/esm/rtk-recording-toggle.entry.js +5 -5
  505. package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
  506. package/dist/esm/rtk-screenshare-view.entry.js +7 -7
  507. package/dist/esm/rtk-settings-audio_2.entry.js +5 -5
  508. package/dist/esm/rtk-settings-toggle.entry.js +3 -3
  509. package/dist/esm/rtk-settings.entry.js +3 -3
  510. package/dist/esm/rtk-setup-screen.entry.js +11 -5
  511. package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
  512. package/dist/esm/rtk-sidebar.entry.js +13 -4
  513. package/dist/esm/rtk-simple-grid.entry.js +9 -4
  514. package/dist/esm/rtk-spotlight-grid.entry.js +8 -5
  515. package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
  516. package/dist/esm/rtk-stage-toggle.entry.js +4 -4
  517. package/dist/esm/rtk-stage.entry.js +3 -3
  518. package/dist/esm/rtk-transcript.entry.js +3 -3
  519. package/dist/esm/rtk-transcripts.entry.js +9 -9
  520. package/dist/esm/rtk-ui-provider.entry.js +127 -57
  521. package/dist/esm/rtk-waiting-screen.entry.js +7 -4
  522. package/dist/esm/{sidebar-50d89918.js → sidebar-c47b86b4.js} +1 -1
  523. package/dist/esm/{ui-store-1b477153.js → ui-store-fabf2b32.js} +2395 -14
  524. package/dist/realtimekit-ui/index.esm.js +1 -1
  525. package/dist/realtimekit-ui/p-05b3a3fa.entry.js +1 -0
  526. package/dist/realtimekit-ui/p-08628c03.entry.js +1 -0
  527. package/dist/realtimekit-ui/p-0f5681eb.entry.js +1 -0
  528. package/dist/realtimekit-ui/p-116eabc9.entry.js +1 -0
  529. package/dist/realtimekit-ui/p-17c4a39a.entry.js +1 -0
  530. package/dist/realtimekit-ui/{p-fa03ab98.entry.js → p-18618102.entry.js} +1 -1
  531. package/dist/realtimekit-ui/p-18ca0ccd.entry.js +1 -0
  532. package/dist/realtimekit-ui/p-199f622a.entry.js +1 -0
  533. package/dist/realtimekit-ui/{p-c203aff3.js → p-1f3bfcdb.js} +1 -1
  534. package/dist/realtimekit-ui/p-23893740.entry.js +1 -0
  535. package/dist/realtimekit-ui/{p-da56f340.entry.js → p-28ac7dfd.entry.js} +1 -1
  536. package/dist/realtimekit-ui/p-2bd5be73.js +1 -0
  537. package/dist/realtimekit-ui/p-2d0676a9.entry.js +1 -0
  538. package/dist/realtimekit-ui/p-309def3e.entry.js +1 -0
  539. package/dist/realtimekit-ui/p-30fe4bbf.entry.js +1 -0
  540. package/dist/realtimekit-ui/p-33c173a8.entry.js +1 -0
  541. package/dist/realtimekit-ui/p-375c10a2.entry.js +1 -0
  542. package/dist/realtimekit-ui/{p-9a2536ed.entry.js → p-37a218a8.entry.js} +1 -1
  543. package/dist/realtimekit-ui/p-38c18a6b.entry.js +1 -0
  544. package/dist/realtimekit-ui/{p-efbe07a6.entry.js → p-393ff18f.entry.js} +1 -1
  545. package/dist/realtimekit-ui/{p-a08b5a59.js → p-3956d569.js} +1 -1
  546. package/dist/realtimekit-ui/p-3b14c478.entry.js +1 -0
  547. package/dist/realtimekit-ui/{p-0787a8a4.entry.js → p-3eb310d3.entry.js} +1 -1
  548. package/dist/realtimekit-ui/{p-6f487b93.entry.js → p-420629b1.entry.js} +1 -1
  549. package/dist/realtimekit-ui/p-4265c450.entry.js +1 -0
  550. package/dist/realtimekit-ui/p-458b4f23.entry.js +1 -0
  551. package/dist/realtimekit-ui/p-4a2d51d2.entry.js +1 -0
  552. package/dist/realtimekit-ui/p-51fd9745.js +1 -0
  553. package/dist/realtimekit-ui/p-526f1a76.js +1 -0
  554. package/dist/realtimekit-ui/p-52b25934.js +1 -0
  555. package/dist/realtimekit-ui/p-542f52e9.entry.js +1 -0
  556. package/dist/realtimekit-ui/p-586b8e78.entry.js +1 -0
  557. package/dist/realtimekit-ui/p-59837fe1.entry.js +1 -0
  558. package/dist/realtimekit-ui/p-59cd209a.entry.js +1 -0
  559. package/dist/realtimekit-ui/p-5d60f101.entry.js +1 -0
  560. package/dist/realtimekit-ui/{p-221efc53.entry.js → p-67ff2615.entry.js} +1 -1
  561. package/dist/realtimekit-ui/{p-bf5ecc7c.js → p-6cd96b58.js} +1 -1
  562. package/dist/realtimekit-ui/p-6f24d78f.entry.js +1 -0
  563. package/dist/realtimekit-ui/p-716f90a3.entry.js +1 -0
  564. package/dist/realtimekit-ui/{p-d9138a0d.entry.js → p-76bcc78d.entry.js} +1 -1
  565. package/dist/realtimekit-ui/p-7bae9d05.entry.js +1 -0
  566. package/dist/realtimekit-ui/p-82520fc0.entry.js +1 -0
  567. package/dist/realtimekit-ui/p-86d3632a.entry.js +1 -0
  568. package/dist/realtimekit-ui/p-87a8cbc2.entry.js +1 -0
  569. package/dist/realtimekit-ui/p-881f7e61.entry.js +1 -0
  570. package/dist/realtimekit-ui/p-9b8a0f9b.entry.js +1 -0
  571. package/dist/realtimekit-ui/p-9c5cb84c.entry.js +1 -0
  572. package/dist/realtimekit-ui/{p-7965a765.entry.js → p-a02141f1.entry.js} +1 -1
  573. package/dist/realtimekit-ui/p-a29ad4d8.entry.js +1 -0
  574. package/dist/realtimekit-ui/p-a33714b1.entry.js +1 -0
  575. package/dist/realtimekit-ui/p-a5512788.entry.js +1 -0
  576. package/dist/realtimekit-ui/p-a6802383.entry.js +1 -0
  577. package/dist/realtimekit-ui/p-a80ce945.entry.js +1 -0
  578. package/dist/realtimekit-ui/p-ad5fc6df.entry.js +1 -0
  579. package/dist/realtimekit-ui/p-af81e9cf.entry.js +1 -0
  580. package/dist/realtimekit-ui/p-af95d40e.entry.js +1 -0
  581. package/dist/realtimekit-ui/{p-4bace64f.entry.js → p-b616deb3.entry.js} +1 -1
  582. package/dist/realtimekit-ui/p-bd103adc.entry.js +1 -0
  583. package/dist/realtimekit-ui/p-c2f35fc7.entry.js +1 -0
  584. package/dist/realtimekit-ui/p-c31bcf97.entry.js +1 -0
  585. package/dist/realtimekit-ui/p-cde200c4.entry.js +1 -0
  586. package/dist/realtimekit-ui/p-d0ec8218.entry.js +1 -0
  587. package/dist/realtimekit-ui/p-d2998b1e.entry.js +1 -0
  588. package/dist/realtimekit-ui/p-de42b31f.entry.js +1 -0
  589. package/dist/realtimekit-ui/{p-c4fc57c1.entry.js → p-e0303097.entry.js} +1 -1
  590. package/dist/realtimekit-ui/p-e368f30f.entry.js +1 -0
  591. package/dist/realtimekit-ui/p-e48166db.entry.js +1 -0
  592. package/dist/realtimekit-ui/p-e77e5cef.entry.js +1 -0
  593. package/dist/realtimekit-ui/p-e872d214.entry.js +1 -0
  594. package/dist/realtimekit-ui/p-e8e68c22.entry.js +1 -0
  595. package/dist/realtimekit-ui/p-eae4e83b.js +1 -0
  596. package/dist/realtimekit-ui/p-ef3ac9e9.entry.js +1 -0
  597. package/dist/realtimekit-ui/{p-629258de.entry.js → p-efc9cddb.entry.js} +1 -1
  598. package/dist/realtimekit-ui/p-f16ed5c8.entry.js +1 -0
  599. package/dist/realtimekit-ui/p-f2af9690.entry.js +1 -0
  600. package/dist/realtimekit-ui/p-f7cc7f81.entry.js +1 -0
  601. package/dist/realtimekit-ui/p-fdc0d8cc.entry.js +1 -0
  602. package/dist/realtimekit-ui/p-fdec3315.entry.js +1 -0
  603. package/dist/realtimekit-ui/p-ff4f156f.entry.js +1 -0
  604. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  605. package/dist/types/components/rtk-meeting/rtk-meeting.d.ts +13 -3
  606. package/dist/types/components/rtk-ui-provider/rtk-ui-provider.d.ts +13 -8
  607. package/dist/types/components.d.ts +10 -10
  608. package/dist/types/exports.d.ts +2 -2
  609. package/dist/types/lib/default-ui-config.d.ts +1 -0
  610. package/dist/types/utils/sync-with-store/ui-store.d.ts +23 -7
  611. package/package.json +2 -3
  612. package/dist/cjs/clone-2e9a4cae.js +0 -754
  613. package/dist/cjs/index-49c92728.js +0 -26
  614. package/dist/cjs/isObjectLike-73d13a39.js +0 -171
  615. package/dist/cjs/keysIn-8bdbe83d.js +0 -1438
  616. package/dist/cjs/notification-6d70e3a8.js +0 -39
  617. package/dist/components/p-46923b34.js +0 -1409
  618. package/dist/components/p-989a34c9.js +0 -24
  619. package/dist/components/p-c15d924f.js +0 -752
  620. package/dist/esm/clone-acd4af50.js +0 -752
  621. package/dist/esm/index-3481d5b2.js +0 -24
  622. package/dist/esm/isObjectLike-773b9473.js +0 -164
  623. package/dist/esm/keysIn-310f65c1.js +0 -1409
  624. package/dist/esm/notification-2ab22a76.js +0 -37
  625. package/dist/realtimekit-ui/p-0215809e.entry.js +0 -1
  626. package/dist/realtimekit-ui/p-076d6fb1.entry.js +0 -1
  627. package/dist/realtimekit-ui/p-0df0bc3b.entry.js +0 -1
  628. package/dist/realtimekit-ui/p-0f91e886.entry.js +0 -1
  629. package/dist/realtimekit-ui/p-11a81411.entry.js +0 -1
  630. package/dist/realtimekit-ui/p-14284891.entry.js +0 -1
  631. package/dist/realtimekit-ui/p-14350b0d.entry.js +0 -1
  632. package/dist/realtimekit-ui/p-15e0e0fc.entry.js +0 -1
  633. package/dist/realtimekit-ui/p-17588509.entry.js +0 -1
  634. package/dist/realtimekit-ui/p-1abb4841.entry.js +0 -1
  635. package/dist/realtimekit-ui/p-293547d1.entry.js +0 -1
  636. package/dist/realtimekit-ui/p-2c3cda13.js +0 -1
  637. package/dist/realtimekit-ui/p-2ed8953f.entry.js +0 -1
  638. package/dist/realtimekit-ui/p-3c46bebb.entry.js +0 -1
  639. package/dist/realtimekit-ui/p-3e54f3e8.entry.js +0 -1
  640. package/dist/realtimekit-ui/p-4023c083.js +0 -1
  641. package/dist/realtimekit-ui/p-44c22bd9.entry.js +0 -1
  642. package/dist/realtimekit-ui/p-46923b34.js +0 -1
  643. package/dist/realtimekit-ui/p-49602b35.entry.js +0 -1
  644. package/dist/realtimekit-ui/p-4bcf9db7.entry.js +0 -1
  645. package/dist/realtimekit-ui/p-5444d39b.entry.js +0 -1
  646. package/dist/realtimekit-ui/p-546ff22a.entry.js +0 -1
  647. package/dist/realtimekit-ui/p-5b277ae0.entry.js +0 -1
  648. package/dist/realtimekit-ui/p-63064c88.entry.js +0 -1
  649. package/dist/realtimekit-ui/p-64514c63.entry.js +0 -1
  650. package/dist/realtimekit-ui/p-67a1126f.entry.js +0 -1
  651. package/dist/realtimekit-ui/p-67dcfbf3.entry.js +0 -1
  652. package/dist/realtimekit-ui/p-6f56ad30.entry.js +0 -1
  653. package/dist/realtimekit-ui/p-6fd65de6.entry.js +0 -1
  654. package/dist/realtimekit-ui/p-7597f3ea.entry.js +0 -1
  655. package/dist/realtimekit-ui/p-7ade6183.entry.js +0 -1
  656. package/dist/realtimekit-ui/p-7e96fb7b.entry.js +0 -1
  657. package/dist/realtimekit-ui/p-86afa8c3.entry.js +0 -1
  658. package/dist/realtimekit-ui/p-8819f726.entry.js +0 -1
  659. package/dist/realtimekit-ui/p-89543b39.entry.js +0 -1
  660. package/dist/realtimekit-ui/p-8e869d13.entry.js +0 -1
  661. package/dist/realtimekit-ui/p-9274e173.entry.js +0 -1
  662. package/dist/realtimekit-ui/p-9d038c16.entry.js +0 -1
  663. package/dist/realtimekit-ui/p-9d8e8a27.entry.js +0 -1
  664. package/dist/realtimekit-ui/p-9de3f942.entry.js +0 -1
  665. package/dist/realtimekit-ui/p-a42c0e83.entry.js +0 -1
  666. package/dist/realtimekit-ui/p-a4922241.js +0 -1
  667. package/dist/realtimekit-ui/p-a845c29f.entry.js +0 -1
  668. package/dist/realtimekit-ui/p-a8b7c6a2.entry.js +0 -1
  669. package/dist/realtimekit-ui/p-ac8a0151.entry.js +0 -1
  670. package/dist/realtimekit-ui/p-acd86770.entry.js +0 -1
  671. package/dist/realtimekit-ui/p-b15377a2.entry.js +0 -1
  672. package/dist/realtimekit-ui/p-b5af8a86.entry.js +0 -1
  673. package/dist/realtimekit-ui/p-b965ac1d.entry.js +0 -1
  674. package/dist/realtimekit-ui/p-c15d924f.js +0 -1
  675. package/dist/realtimekit-ui/p-c1db5ef9.entry.js +0 -1
  676. package/dist/realtimekit-ui/p-c6837853.entry.js +0 -1
  677. package/dist/realtimekit-ui/p-c6eb9963.entry.js +0 -1
  678. package/dist/realtimekit-ui/p-d3bf4348.js +0 -1
  679. package/dist/realtimekit-ui/p-d560f5c8.entry.js +0 -1
  680. package/dist/realtimekit-ui/p-d8c2b553.entry.js +0 -1
  681. package/dist/realtimekit-ui/p-da59b75c.js +0 -1
  682. package/dist/realtimekit-ui/p-dac97779.js +0 -1
  683. package/dist/realtimekit-ui/p-dd6d2ca9.entry.js +0 -1
  684. package/dist/realtimekit-ui/p-e0450660.entry.js +0 -1
  685. package/dist/realtimekit-ui/p-e0a80608.entry.js +0 -1
  686. package/dist/realtimekit-ui/p-ea1736c3.entry.js +0 -1
  687. package/dist/realtimekit-ui/p-eb4025c0.entry.js +0 -1
  688. package/dist/realtimekit-ui/p-ed87ad1f.entry.js +0 -1
  689. package/dist/realtimekit-ui/p-f2ba56ec.entry.js +0 -1
  690. package/dist/realtimekit-ui/p-f3d02201.entry.js +0 -1
  691. package/dist/realtimekit-ui/p-f78cecba.entry.js +0 -1
@@ -454,6 +454,2323 @@ _BreakoutRoomsManager_hasLocalChanges = new WeakMap(), _BreakoutRoomsManager_sta
454
454
  return participantIds.map((id) => __classPrivateFieldGet(this, _BreakoutRoomsManager_allParticipantsMap, "f").get(id));
455
455
  };
456
456
 
457
+ /** Detect free variable `global` from Node.js. */
458
+ var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
459
+
460
+ const freeGlobal$1 = freeGlobal;
461
+
462
+ /** Detect free variable `self`. */
463
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
464
+
465
+ /** Used as a reference to the global object. */
466
+ var root = freeGlobal$1 || freeSelf || Function('return this')();
467
+
468
+ const root$1 = root;
469
+
470
+ /** Built-in value references. */
471
+ var Symbol = root$1.Symbol;
472
+
473
+ const Symbol$1 = Symbol;
474
+
475
+ /** Used for built-in method references. */
476
+ var objectProto$c = Object.prototype;
477
+
478
+ /** Used to check objects for own properties. */
479
+ var hasOwnProperty$9 = objectProto$c.hasOwnProperty;
480
+
481
+ /**
482
+ * Used to resolve the
483
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
484
+ * of values.
485
+ */
486
+ var nativeObjectToString$1 = objectProto$c.toString;
487
+
488
+ /** Built-in value references. */
489
+ var symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : undefined;
490
+
491
+ /**
492
+ * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
493
+ *
494
+ * @private
495
+ * @param {*} value The value to query.
496
+ * @returns {string} Returns the raw `toStringTag`.
497
+ */
498
+ function getRawTag(value) {
499
+ var isOwn = hasOwnProperty$9.call(value, symToStringTag$1),
500
+ tag = value[symToStringTag$1];
501
+
502
+ try {
503
+ value[symToStringTag$1] = undefined;
504
+ var unmasked = true;
505
+ } catch (e) {}
506
+
507
+ var result = nativeObjectToString$1.call(value);
508
+ if (unmasked) {
509
+ if (isOwn) {
510
+ value[symToStringTag$1] = tag;
511
+ } else {
512
+ delete value[symToStringTag$1];
513
+ }
514
+ }
515
+ return result;
516
+ }
517
+
518
+ /** Used for built-in method references. */
519
+ var objectProto$b = Object.prototype;
520
+
521
+ /**
522
+ * Used to resolve the
523
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
524
+ * of values.
525
+ */
526
+ var nativeObjectToString = objectProto$b.toString;
527
+
528
+ /**
529
+ * Converts `value` to a string using `Object.prototype.toString`.
530
+ *
531
+ * @private
532
+ * @param {*} value The value to convert.
533
+ * @returns {string} Returns the converted string.
534
+ */
535
+ function objectToString(value) {
536
+ return nativeObjectToString.call(value);
537
+ }
538
+
539
+ /** `Object#toString` result references. */
540
+ var nullTag = '[object Null]',
541
+ undefinedTag = '[object Undefined]';
542
+
543
+ /** Built-in value references. */
544
+ var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : undefined;
545
+
546
+ /**
547
+ * The base implementation of `getTag` without fallbacks for buggy environments.
548
+ *
549
+ * @private
550
+ * @param {*} value The value to query.
551
+ * @returns {string} Returns the `toStringTag`.
552
+ */
553
+ function baseGetTag(value) {
554
+ if (value == null) {
555
+ return value === undefined ? undefinedTag : nullTag;
556
+ }
557
+ return (symToStringTag && symToStringTag in Object(value))
558
+ ? getRawTag(value)
559
+ : objectToString(value);
560
+ }
561
+
562
+ /**
563
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
564
+ * and has a `typeof` result of "object".
565
+ *
566
+ * @static
567
+ * @memberOf _
568
+ * @since 4.0.0
569
+ * @category Lang
570
+ * @param {*} value The value to check.
571
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
572
+ * @example
573
+ *
574
+ * _.isObjectLike({});
575
+ * // => true
576
+ *
577
+ * _.isObjectLike([1, 2, 3]);
578
+ * // => true
579
+ *
580
+ * _.isObjectLike(_.noop);
581
+ * // => false
582
+ *
583
+ * _.isObjectLike(null);
584
+ * // => false
585
+ */
586
+ function isObjectLike(value) {
587
+ return value != null && typeof value == 'object';
588
+ }
589
+
590
+ /**
591
+ * Checks if `value` is classified as an `Array` object.
592
+ *
593
+ * @static
594
+ * @memberOf _
595
+ * @since 0.1.0
596
+ * @category Lang
597
+ * @param {*} value The value to check.
598
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
599
+ * @example
600
+ *
601
+ * _.isArray([1, 2, 3]);
602
+ * // => true
603
+ *
604
+ * _.isArray(document.body.children);
605
+ * // => false
606
+ *
607
+ * _.isArray('abc');
608
+ * // => false
609
+ *
610
+ * _.isArray(_.noop);
611
+ * // => false
612
+ */
613
+ var isArray = Array.isArray;
614
+
615
+ const isArray$1 = isArray;
616
+
617
+ /**
618
+ * Checks if `value` is the
619
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
620
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
621
+ *
622
+ * @static
623
+ * @memberOf _
624
+ * @since 0.1.0
625
+ * @category Lang
626
+ * @param {*} value The value to check.
627
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
628
+ * @example
629
+ *
630
+ * _.isObject({});
631
+ * // => true
632
+ *
633
+ * _.isObject([1, 2, 3]);
634
+ * // => true
635
+ *
636
+ * _.isObject(_.noop);
637
+ * // => true
638
+ *
639
+ * _.isObject(null);
640
+ * // => false
641
+ */
642
+ function isObject(value) {
643
+ var type = typeof value;
644
+ return value != null && (type == 'object' || type == 'function');
645
+ }
646
+
647
+ /** `Object#toString` result references. */
648
+ var asyncTag = '[object AsyncFunction]',
649
+ funcTag$2 = '[object Function]',
650
+ genTag$1 = '[object GeneratorFunction]',
651
+ proxyTag = '[object Proxy]';
652
+
653
+ /**
654
+ * Checks if `value` is classified as a `Function` object.
655
+ *
656
+ * @static
657
+ * @memberOf _
658
+ * @since 0.1.0
659
+ * @category Lang
660
+ * @param {*} value The value to check.
661
+ * @returns {boolean} Returns `true` if `value` is a function, else `false`.
662
+ * @example
663
+ *
664
+ * _.isFunction(_);
665
+ * // => true
666
+ *
667
+ * _.isFunction(/abc/);
668
+ * // => false
669
+ */
670
+ function isFunction(value) {
671
+ if (!isObject(value)) {
672
+ return false;
673
+ }
674
+ // The use of `Object#toString` avoids issues with the `typeof` operator
675
+ // in Safari 9 which returns 'object' for typed arrays and other constructors.
676
+ var tag = baseGetTag(value);
677
+ return tag == funcTag$2 || tag == genTag$1 || tag == asyncTag || tag == proxyTag;
678
+ }
679
+
680
+ /** Used to detect overreaching core-js shims. */
681
+ var coreJsData = root$1['__core-js_shared__'];
682
+
683
+ const coreJsData$1 = coreJsData;
684
+
685
+ /** Used to detect methods masquerading as native. */
686
+ var maskSrcKey = (function() {
687
+ var uid = /[^.]+$/.exec(coreJsData$1 && coreJsData$1.keys && coreJsData$1.keys.IE_PROTO || '');
688
+ return uid ? ('Symbol(src)_1.' + uid) : '';
689
+ }());
690
+
691
+ /**
692
+ * Checks if `func` has its source masked.
693
+ *
694
+ * @private
695
+ * @param {Function} func The function to check.
696
+ * @returns {boolean} Returns `true` if `func` is masked, else `false`.
697
+ */
698
+ function isMasked(func) {
699
+ return !!maskSrcKey && (maskSrcKey in func);
700
+ }
701
+
702
+ /** Used for built-in method references. */
703
+ var funcProto$1 = Function.prototype;
704
+
705
+ /** Used to resolve the decompiled source of functions. */
706
+ var funcToString$1 = funcProto$1.toString;
707
+
708
+ /**
709
+ * Converts `func` to its source code.
710
+ *
711
+ * @private
712
+ * @param {Function} func The function to convert.
713
+ * @returns {string} Returns the source code.
714
+ */
715
+ function toSource(func) {
716
+ if (func != null) {
717
+ try {
718
+ return funcToString$1.call(func);
719
+ } catch (e) {}
720
+ try {
721
+ return (func + '');
722
+ } catch (e) {}
723
+ }
724
+ return '';
725
+ }
726
+
727
+ /**
728
+ * Used to match `RegExp`
729
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
730
+ */
731
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
732
+
733
+ /** Used to detect host constructors (Safari). */
734
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
735
+
736
+ /** Used for built-in method references. */
737
+ var funcProto = Function.prototype,
738
+ objectProto$a = Object.prototype;
739
+
740
+ /** Used to resolve the decompiled source of functions. */
741
+ var funcToString = funcProto.toString;
742
+
743
+ /** Used to check objects for own properties. */
744
+ var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
745
+
746
+ /** Used to detect if a method is native. */
747
+ var reIsNative = RegExp('^' +
748
+ funcToString.call(hasOwnProperty$8).replace(reRegExpChar, '\\$&')
749
+ .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
750
+ );
751
+
752
+ /**
753
+ * The base implementation of `_.isNative` without bad shim checks.
754
+ *
755
+ * @private
756
+ * @param {*} value The value to check.
757
+ * @returns {boolean} Returns `true` if `value` is a native function,
758
+ * else `false`.
759
+ */
760
+ function baseIsNative(value) {
761
+ if (!isObject(value) || isMasked(value)) {
762
+ return false;
763
+ }
764
+ var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
765
+ return pattern.test(toSource(value));
766
+ }
767
+
768
+ /**
769
+ * Gets the value at `key` of `object`.
770
+ *
771
+ * @private
772
+ * @param {Object} [object] The object to query.
773
+ * @param {string} key The key of the property to get.
774
+ * @returns {*} Returns the property value.
775
+ */
776
+ function getValue(object, key) {
777
+ return object == null ? undefined : object[key];
778
+ }
779
+
780
+ /**
781
+ * Gets the native function at `key` of `object`.
782
+ *
783
+ * @private
784
+ * @param {Object} object The object to query.
785
+ * @param {string} key The key of the method to get.
786
+ * @returns {*} Returns the function if it's native, else `undefined`.
787
+ */
788
+ function getNative(object, key) {
789
+ var value = getValue(object, key);
790
+ return baseIsNative(value) ? value : undefined;
791
+ }
792
+
793
+ /* Built-in method references that are verified to be native. */
794
+ var WeakMap$1 = getNative(root$1, 'WeakMap');
795
+
796
+ const WeakMap$2 = WeakMap$1;
797
+
798
+ /** Built-in value references. */
799
+ var objectCreate = Object.create;
800
+
801
+ /**
802
+ * The base implementation of `_.create` without support for assigning
803
+ * properties to the created object.
804
+ *
805
+ * @private
806
+ * @param {Object} proto The object to inherit from.
807
+ * @returns {Object} Returns the new object.
808
+ */
809
+ var baseCreate = (function() {
810
+ function object() {}
811
+ return function(proto) {
812
+ if (!isObject(proto)) {
813
+ return {};
814
+ }
815
+ if (objectCreate) {
816
+ return objectCreate(proto);
817
+ }
818
+ object.prototype = proto;
819
+ var result = new object;
820
+ object.prototype = undefined;
821
+ return result;
822
+ };
823
+ }());
824
+
825
+ const baseCreate$1 = baseCreate;
826
+
827
+ /**
828
+ * Copies the values of `source` to `array`.
829
+ *
830
+ * @private
831
+ * @param {Array} source The array to copy values from.
832
+ * @param {Array} [array=[]] The array to copy values to.
833
+ * @returns {Array} Returns `array`.
834
+ */
835
+ function copyArray(source, array) {
836
+ var index = -1,
837
+ length = source.length;
838
+
839
+ array || (array = Array(length));
840
+ while (++index < length) {
841
+ array[index] = source[index];
842
+ }
843
+ return array;
844
+ }
845
+
846
+ var defineProperty = (function() {
847
+ try {
848
+ var func = getNative(Object, 'defineProperty');
849
+ func({}, '', {});
850
+ return func;
851
+ } catch (e) {}
852
+ }());
853
+
854
+ const defineProperty$1 = defineProperty;
855
+
856
+ /**
857
+ * A specialized version of `_.forEach` for arrays without support for
858
+ * iteratee shorthands.
859
+ *
860
+ * @private
861
+ * @param {Array} [array] The array to iterate over.
862
+ * @param {Function} iteratee The function invoked per iteration.
863
+ * @returns {Array} Returns `array`.
864
+ */
865
+ function arrayEach(array, iteratee) {
866
+ var index = -1,
867
+ length = array == null ? 0 : array.length;
868
+
869
+ while (++index < length) {
870
+ if (iteratee(array[index], index, array) === false) {
871
+ break;
872
+ }
873
+ }
874
+ return array;
875
+ }
876
+
877
+ /** Used as references for various `Number` constants. */
878
+ var MAX_SAFE_INTEGER$1 = 9007199254740991;
879
+
880
+ /** Used to detect unsigned integer values. */
881
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
882
+
883
+ /**
884
+ * Checks if `value` is a valid array-like index.
885
+ *
886
+ * @private
887
+ * @param {*} value The value to check.
888
+ * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
889
+ * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
890
+ */
891
+ function isIndex(value, length) {
892
+ var type = typeof value;
893
+ length = length == null ? MAX_SAFE_INTEGER$1 : length;
894
+
895
+ return !!length &&
896
+ (type == 'number' ||
897
+ (type != 'symbol' && reIsUint.test(value))) &&
898
+ (value > -1 && value % 1 == 0 && value < length);
899
+ }
900
+
901
+ /**
902
+ * The base implementation of `assignValue` and `assignMergeValue` without
903
+ * value checks.
904
+ *
905
+ * @private
906
+ * @param {Object} object The object to modify.
907
+ * @param {string} key The key of the property to assign.
908
+ * @param {*} value The value to assign.
909
+ */
910
+ function baseAssignValue(object, key, value) {
911
+ if (key == '__proto__' && defineProperty$1) {
912
+ defineProperty$1(object, key, {
913
+ 'configurable': true,
914
+ 'enumerable': true,
915
+ 'value': value,
916
+ 'writable': true
917
+ });
918
+ } else {
919
+ object[key] = value;
920
+ }
921
+ }
922
+
923
+ /**
924
+ * Performs a
925
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
926
+ * comparison between two values to determine if they are equivalent.
927
+ *
928
+ * @static
929
+ * @memberOf _
930
+ * @since 4.0.0
931
+ * @category Lang
932
+ * @param {*} value The value to compare.
933
+ * @param {*} other The other value to compare.
934
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
935
+ * @example
936
+ *
937
+ * var object = { 'a': 1 };
938
+ * var other = { 'a': 1 };
939
+ *
940
+ * _.eq(object, object);
941
+ * // => true
942
+ *
943
+ * _.eq(object, other);
944
+ * // => false
945
+ *
946
+ * _.eq('a', 'a');
947
+ * // => true
948
+ *
949
+ * _.eq('a', Object('a'));
950
+ * // => false
951
+ *
952
+ * _.eq(NaN, NaN);
953
+ * // => true
954
+ */
955
+ function eq(value, other) {
956
+ return value === other || (value !== value && other !== other);
957
+ }
958
+
959
+ /** Used for built-in method references. */
960
+ var objectProto$9 = Object.prototype;
961
+
962
+ /** Used to check objects for own properties. */
963
+ var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
964
+
965
+ /**
966
+ * Assigns `value` to `key` of `object` if the existing value is not equivalent
967
+ * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
968
+ * for equality comparisons.
969
+ *
970
+ * @private
971
+ * @param {Object} object The object to modify.
972
+ * @param {string} key The key of the property to assign.
973
+ * @param {*} value The value to assign.
974
+ */
975
+ function assignValue(object, key, value) {
976
+ var objValue = object[key];
977
+ if (!(hasOwnProperty$7.call(object, key) && eq(objValue, value)) ||
978
+ (value === undefined && !(key in object))) {
979
+ baseAssignValue(object, key, value);
980
+ }
981
+ }
982
+
983
+ /**
984
+ * Copies properties of `source` to `object`.
985
+ *
986
+ * @private
987
+ * @param {Object} source The object to copy properties from.
988
+ * @param {Array} props The property identifiers to copy.
989
+ * @param {Object} [object={}] The object to copy properties to.
990
+ * @param {Function} [customizer] The function to customize copied values.
991
+ * @returns {Object} Returns `object`.
992
+ */
993
+ function copyObject(source, props, object, customizer) {
994
+ var isNew = !object;
995
+ object || (object = {});
996
+
997
+ var index = -1,
998
+ length = props.length;
999
+
1000
+ while (++index < length) {
1001
+ var key = props[index];
1002
+
1003
+ var newValue = customizer
1004
+ ? customizer(object[key], source[key], key, object, source)
1005
+ : undefined;
1006
+
1007
+ if (newValue === undefined) {
1008
+ newValue = source[key];
1009
+ }
1010
+ if (isNew) {
1011
+ baseAssignValue(object, key, newValue);
1012
+ } else {
1013
+ assignValue(object, key, newValue);
1014
+ }
1015
+ }
1016
+ return object;
1017
+ }
1018
+
1019
+ /** Used as references for various `Number` constants. */
1020
+ var MAX_SAFE_INTEGER = 9007199254740991;
1021
+
1022
+ /**
1023
+ * Checks if `value` is a valid array-like length.
1024
+ *
1025
+ * **Note:** This method is loosely based on
1026
+ * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
1027
+ *
1028
+ * @static
1029
+ * @memberOf _
1030
+ * @since 4.0.0
1031
+ * @category Lang
1032
+ * @param {*} value The value to check.
1033
+ * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
1034
+ * @example
1035
+ *
1036
+ * _.isLength(3);
1037
+ * // => true
1038
+ *
1039
+ * _.isLength(Number.MIN_VALUE);
1040
+ * // => false
1041
+ *
1042
+ * _.isLength(Infinity);
1043
+ * // => false
1044
+ *
1045
+ * _.isLength('3');
1046
+ * // => false
1047
+ */
1048
+ function isLength(value) {
1049
+ return typeof value == 'number' &&
1050
+ value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
1051
+ }
1052
+
1053
+ /**
1054
+ * Checks if `value` is array-like. A value is considered array-like if it's
1055
+ * not a function and has a `value.length` that's an integer greater than or
1056
+ * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
1057
+ *
1058
+ * @static
1059
+ * @memberOf _
1060
+ * @since 4.0.0
1061
+ * @category Lang
1062
+ * @param {*} value The value to check.
1063
+ * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
1064
+ * @example
1065
+ *
1066
+ * _.isArrayLike([1, 2, 3]);
1067
+ * // => true
1068
+ *
1069
+ * _.isArrayLike(document.body.children);
1070
+ * // => true
1071
+ *
1072
+ * _.isArrayLike('abc');
1073
+ * // => true
1074
+ *
1075
+ * _.isArrayLike(_.noop);
1076
+ * // => false
1077
+ */
1078
+ function isArrayLike(value) {
1079
+ return value != null && isLength(value.length) && !isFunction(value);
1080
+ }
1081
+
1082
+ /** Used for built-in method references. */
1083
+ var objectProto$8 = Object.prototype;
1084
+
1085
+ /**
1086
+ * Checks if `value` is likely a prototype object.
1087
+ *
1088
+ * @private
1089
+ * @param {*} value The value to check.
1090
+ * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
1091
+ */
1092
+ function isPrototype(value) {
1093
+ var Ctor = value && value.constructor,
1094
+ proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$8;
1095
+
1096
+ return value === proto;
1097
+ }
1098
+
1099
+ /**
1100
+ * The base implementation of `_.times` without support for iteratee shorthands
1101
+ * or max array length checks.
1102
+ *
1103
+ * @private
1104
+ * @param {number} n The number of times to invoke `iteratee`.
1105
+ * @param {Function} iteratee The function invoked per iteration.
1106
+ * @returns {Array} Returns the array of results.
1107
+ */
1108
+ function baseTimes(n, iteratee) {
1109
+ var index = -1,
1110
+ result = Array(n);
1111
+
1112
+ while (++index < n) {
1113
+ result[index] = iteratee(index);
1114
+ }
1115
+ return result;
1116
+ }
1117
+
1118
+ /** `Object#toString` result references. */
1119
+ var argsTag$2 = '[object Arguments]';
1120
+
1121
+ /**
1122
+ * The base implementation of `_.isArguments`.
1123
+ *
1124
+ * @private
1125
+ * @param {*} value The value to check.
1126
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
1127
+ */
1128
+ function baseIsArguments(value) {
1129
+ return isObjectLike(value) && baseGetTag(value) == argsTag$2;
1130
+ }
1131
+
1132
+ /** Used for built-in method references. */
1133
+ var objectProto$7 = Object.prototype;
1134
+
1135
+ /** Used to check objects for own properties. */
1136
+ var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
1137
+
1138
+ /** Built-in value references. */
1139
+ var propertyIsEnumerable$1 = objectProto$7.propertyIsEnumerable;
1140
+
1141
+ /**
1142
+ * Checks if `value` is likely an `arguments` object.
1143
+ *
1144
+ * @static
1145
+ * @memberOf _
1146
+ * @since 0.1.0
1147
+ * @category Lang
1148
+ * @param {*} value The value to check.
1149
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
1150
+ * else `false`.
1151
+ * @example
1152
+ *
1153
+ * _.isArguments(function() { return arguments; }());
1154
+ * // => true
1155
+ *
1156
+ * _.isArguments([1, 2, 3]);
1157
+ * // => false
1158
+ */
1159
+ var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
1160
+ return isObjectLike(value) && hasOwnProperty$6.call(value, 'callee') &&
1161
+ !propertyIsEnumerable$1.call(value, 'callee');
1162
+ };
1163
+
1164
+ const isArguments$1 = isArguments;
1165
+
1166
+ /**
1167
+ * This method returns `false`.
1168
+ *
1169
+ * @static
1170
+ * @memberOf _
1171
+ * @since 4.13.0
1172
+ * @category Util
1173
+ * @returns {boolean} Returns `false`.
1174
+ * @example
1175
+ *
1176
+ * _.times(2, _.stubFalse);
1177
+ * // => [false, false]
1178
+ */
1179
+ function stubFalse() {
1180
+ return false;
1181
+ }
1182
+
1183
+ /** Detect free variable `exports`. */
1184
+ var freeExports$2 = typeof exports == 'object' && exports && !exports.nodeType && exports;
1185
+
1186
+ /** Detect free variable `module`. */
1187
+ var freeModule$2 = freeExports$2 && typeof module == 'object' && module && !module.nodeType && module;
1188
+
1189
+ /** Detect the popular CommonJS extension `module.exports`. */
1190
+ var moduleExports$2 = freeModule$2 && freeModule$2.exports === freeExports$2;
1191
+
1192
+ /** Built-in value references. */
1193
+ var Buffer$1 = moduleExports$2 ? root$1.Buffer : undefined;
1194
+
1195
+ /* Built-in method references for those with the same name as other `lodash` methods. */
1196
+ var nativeIsBuffer = Buffer$1 ? Buffer$1.isBuffer : undefined;
1197
+
1198
+ /**
1199
+ * Checks if `value` is a buffer.
1200
+ *
1201
+ * @static
1202
+ * @memberOf _
1203
+ * @since 4.3.0
1204
+ * @category Lang
1205
+ * @param {*} value The value to check.
1206
+ * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
1207
+ * @example
1208
+ *
1209
+ * _.isBuffer(new Buffer(2));
1210
+ * // => true
1211
+ *
1212
+ * _.isBuffer(new Uint8Array(2));
1213
+ * // => false
1214
+ */
1215
+ var isBuffer = nativeIsBuffer || stubFalse;
1216
+
1217
+ const isBuffer$1 = isBuffer;
1218
+
1219
+ /** `Object#toString` result references. */
1220
+ var argsTag$1 = '[object Arguments]',
1221
+ arrayTag$1 = '[object Array]',
1222
+ boolTag$2 = '[object Boolean]',
1223
+ dateTag$2 = '[object Date]',
1224
+ errorTag$1 = '[object Error]',
1225
+ funcTag$1 = '[object Function]',
1226
+ mapTag$4 = '[object Map]',
1227
+ numberTag$2 = '[object Number]',
1228
+ objectTag$2 = '[object Object]',
1229
+ regexpTag$2 = '[object RegExp]',
1230
+ setTag$4 = '[object Set]',
1231
+ stringTag$2 = '[object String]',
1232
+ weakMapTag$2 = '[object WeakMap]';
1233
+
1234
+ var arrayBufferTag$2 = '[object ArrayBuffer]',
1235
+ dataViewTag$3 = '[object DataView]',
1236
+ float32Tag$2 = '[object Float32Array]',
1237
+ float64Tag$2 = '[object Float64Array]',
1238
+ int8Tag$2 = '[object Int8Array]',
1239
+ int16Tag$2 = '[object Int16Array]',
1240
+ int32Tag$2 = '[object Int32Array]',
1241
+ uint8Tag$2 = '[object Uint8Array]',
1242
+ uint8ClampedTag$2 = '[object Uint8ClampedArray]',
1243
+ uint16Tag$2 = '[object Uint16Array]',
1244
+ uint32Tag$2 = '[object Uint32Array]';
1245
+
1246
+ /** Used to identify `toStringTag` values of typed arrays. */
1247
+ var typedArrayTags = {};
1248
+ typedArrayTags[float32Tag$2] = typedArrayTags[float64Tag$2] =
1249
+ typedArrayTags[int8Tag$2] = typedArrayTags[int16Tag$2] =
1250
+ typedArrayTags[int32Tag$2] = typedArrayTags[uint8Tag$2] =
1251
+ typedArrayTags[uint8ClampedTag$2] = typedArrayTags[uint16Tag$2] =
1252
+ typedArrayTags[uint32Tag$2] = true;
1253
+ typedArrayTags[argsTag$1] = typedArrayTags[arrayTag$1] =
1254
+ typedArrayTags[arrayBufferTag$2] = typedArrayTags[boolTag$2] =
1255
+ typedArrayTags[dataViewTag$3] = typedArrayTags[dateTag$2] =
1256
+ typedArrayTags[errorTag$1] = typedArrayTags[funcTag$1] =
1257
+ typedArrayTags[mapTag$4] = typedArrayTags[numberTag$2] =
1258
+ typedArrayTags[objectTag$2] = typedArrayTags[regexpTag$2] =
1259
+ typedArrayTags[setTag$4] = typedArrayTags[stringTag$2] =
1260
+ typedArrayTags[weakMapTag$2] = false;
1261
+
1262
+ /**
1263
+ * The base implementation of `_.isTypedArray` without Node.js optimizations.
1264
+ *
1265
+ * @private
1266
+ * @param {*} value The value to check.
1267
+ * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
1268
+ */
1269
+ function baseIsTypedArray(value) {
1270
+ return isObjectLike(value) &&
1271
+ isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
1272
+ }
1273
+
1274
+ /**
1275
+ * The base implementation of `_.unary` without support for storing metadata.
1276
+ *
1277
+ * @private
1278
+ * @param {Function} func The function to cap arguments for.
1279
+ * @returns {Function} Returns the new capped function.
1280
+ */
1281
+ function baseUnary(func) {
1282
+ return function(value) {
1283
+ return func(value);
1284
+ };
1285
+ }
1286
+
1287
+ /** Detect free variable `exports`. */
1288
+ var freeExports$1 = typeof exports == 'object' && exports && !exports.nodeType && exports;
1289
+
1290
+ /** Detect free variable `module`. */
1291
+ var freeModule$1 = freeExports$1 && typeof module == 'object' && module && !module.nodeType && module;
1292
+
1293
+ /** Detect the popular CommonJS extension `module.exports`. */
1294
+ var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
1295
+
1296
+ /** Detect free variable `process` from Node.js. */
1297
+ var freeProcess = moduleExports$1 && freeGlobal$1.process;
1298
+
1299
+ /** Used to access faster Node.js helpers. */
1300
+ var nodeUtil = (function() {
1301
+ try {
1302
+ // Use `util.types` for Node.js 10+.
1303
+ var types = freeModule$1 && freeModule$1.require && freeModule$1.require('util').types;
1304
+
1305
+ if (types) {
1306
+ return types;
1307
+ }
1308
+
1309
+ // Legacy `process.binding('util')` for Node.js < 10.
1310
+ return freeProcess && freeProcess.binding && freeProcess.binding('util');
1311
+ } catch (e) {}
1312
+ }());
1313
+
1314
+ const nodeUtil$1 = nodeUtil;
1315
+
1316
+ /* Node.js helper references. */
1317
+ var nodeIsTypedArray = nodeUtil$1 && nodeUtil$1.isTypedArray;
1318
+
1319
+ /**
1320
+ * Checks if `value` is classified as a typed array.
1321
+ *
1322
+ * @static
1323
+ * @memberOf _
1324
+ * @since 3.0.0
1325
+ * @category Lang
1326
+ * @param {*} value The value to check.
1327
+ * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
1328
+ * @example
1329
+ *
1330
+ * _.isTypedArray(new Uint8Array);
1331
+ * // => true
1332
+ *
1333
+ * _.isTypedArray([]);
1334
+ * // => false
1335
+ */
1336
+ var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
1337
+
1338
+ const isTypedArray$1 = isTypedArray;
1339
+
1340
+ /** Used for built-in method references. */
1341
+ var objectProto$6 = Object.prototype;
1342
+
1343
+ /** Used to check objects for own properties. */
1344
+ var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
1345
+
1346
+ /**
1347
+ * Creates an array of the enumerable property names of the array-like `value`.
1348
+ *
1349
+ * @private
1350
+ * @param {*} value The value to query.
1351
+ * @param {boolean} inherited Specify returning inherited property names.
1352
+ * @returns {Array} Returns the array of property names.
1353
+ */
1354
+ function arrayLikeKeys(value, inherited) {
1355
+ var isArr = isArray$1(value),
1356
+ isArg = !isArr && isArguments$1(value),
1357
+ isBuff = !isArr && !isArg && isBuffer$1(value),
1358
+ isType = !isArr && !isArg && !isBuff && isTypedArray$1(value),
1359
+ skipIndexes = isArr || isArg || isBuff || isType,
1360
+ result = skipIndexes ? baseTimes(value.length, String) : [],
1361
+ length = result.length;
1362
+
1363
+ for (var key in value) {
1364
+ if ((inherited || hasOwnProperty$5.call(value, key)) &&
1365
+ !(skipIndexes && (
1366
+ // Safari 9 has enumerable `arguments.length` in strict mode.
1367
+ key == 'length' ||
1368
+ // Node.js 0.10 has enumerable non-index properties on buffers.
1369
+ (isBuff && (key == 'offset' || key == 'parent')) ||
1370
+ // PhantomJS 2 has enumerable non-index properties on typed arrays.
1371
+ (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
1372
+ // Skip index properties.
1373
+ isIndex(key, length)
1374
+ ))) {
1375
+ result.push(key);
1376
+ }
1377
+ }
1378
+ return result;
1379
+ }
1380
+
1381
+ /**
1382
+ * Creates a unary function that invokes `func` with its argument transformed.
1383
+ *
1384
+ * @private
1385
+ * @param {Function} func The function to wrap.
1386
+ * @param {Function} transform The argument transform.
1387
+ * @returns {Function} Returns the new function.
1388
+ */
1389
+ function overArg(func, transform) {
1390
+ return function(arg) {
1391
+ return func(transform(arg));
1392
+ };
1393
+ }
1394
+
1395
+ /* Built-in method references for those with the same name as other `lodash` methods. */
1396
+ var nativeKeys = overArg(Object.keys, Object);
1397
+
1398
+ const nativeKeys$1 = nativeKeys;
1399
+
1400
+ /** Used for built-in method references. */
1401
+ var objectProto$5 = Object.prototype;
1402
+
1403
+ /** Used to check objects for own properties. */
1404
+ var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
1405
+
1406
+ /**
1407
+ * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
1408
+ *
1409
+ * @private
1410
+ * @param {Object} object The object to query.
1411
+ * @returns {Array} Returns the array of property names.
1412
+ */
1413
+ function baseKeys(object) {
1414
+ if (!isPrototype(object)) {
1415
+ return nativeKeys$1(object);
1416
+ }
1417
+ var result = [];
1418
+ for (var key in Object(object)) {
1419
+ if (hasOwnProperty$4.call(object, key) && key != 'constructor') {
1420
+ result.push(key);
1421
+ }
1422
+ }
1423
+ return result;
1424
+ }
1425
+
1426
+ /**
1427
+ * Creates an array of the own enumerable property names of `object`.
1428
+ *
1429
+ * **Note:** Non-object values are coerced to objects. See the
1430
+ * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
1431
+ * for more details.
1432
+ *
1433
+ * @static
1434
+ * @since 0.1.0
1435
+ * @memberOf _
1436
+ * @category Object
1437
+ * @param {Object} object The object to query.
1438
+ * @returns {Array} Returns the array of property names.
1439
+ * @example
1440
+ *
1441
+ * function Foo() {
1442
+ * this.a = 1;
1443
+ * this.b = 2;
1444
+ * }
1445
+ *
1446
+ * Foo.prototype.c = 3;
1447
+ *
1448
+ * _.keys(new Foo);
1449
+ * // => ['a', 'b'] (iteration order is not guaranteed)
1450
+ *
1451
+ * _.keys('hi');
1452
+ * // => ['0', '1']
1453
+ */
1454
+ function keys(object) {
1455
+ return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
1456
+ }
1457
+
1458
+ /**
1459
+ * This function is like
1460
+ * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
1461
+ * except that it includes inherited enumerable properties.
1462
+ *
1463
+ * @private
1464
+ * @param {Object} object The object to query.
1465
+ * @returns {Array} Returns the array of property names.
1466
+ */
1467
+ function nativeKeysIn(object) {
1468
+ var result = [];
1469
+ if (object != null) {
1470
+ for (var key in Object(object)) {
1471
+ result.push(key);
1472
+ }
1473
+ }
1474
+ return result;
1475
+ }
1476
+
1477
+ /** Used for built-in method references. */
1478
+ var objectProto$4 = Object.prototype;
1479
+
1480
+ /** Used to check objects for own properties. */
1481
+ var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
1482
+
1483
+ /**
1484
+ * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
1485
+ *
1486
+ * @private
1487
+ * @param {Object} object The object to query.
1488
+ * @returns {Array} Returns the array of property names.
1489
+ */
1490
+ function baseKeysIn(object) {
1491
+ if (!isObject(object)) {
1492
+ return nativeKeysIn(object);
1493
+ }
1494
+ var isProto = isPrototype(object),
1495
+ result = [];
1496
+
1497
+ for (var key in object) {
1498
+ if (!(key == 'constructor' && (isProto || !hasOwnProperty$3.call(object, key)))) {
1499
+ result.push(key);
1500
+ }
1501
+ }
1502
+ return result;
1503
+ }
1504
+
1505
+ /**
1506
+ * Creates an array of the own and inherited enumerable property names of `object`.
1507
+ *
1508
+ * **Note:** Non-object values are coerced to objects.
1509
+ *
1510
+ * @static
1511
+ * @memberOf _
1512
+ * @since 3.0.0
1513
+ * @category Object
1514
+ * @param {Object} object The object to query.
1515
+ * @returns {Array} Returns the array of property names.
1516
+ * @example
1517
+ *
1518
+ * function Foo() {
1519
+ * this.a = 1;
1520
+ * this.b = 2;
1521
+ * }
1522
+ *
1523
+ * Foo.prototype.c = 3;
1524
+ *
1525
+ * _.keysIn(new Foo);
1526
+ * // => ['a', 'b', 'c'] (iteration order is not guaranteed)
1527
+ */
1528
+ function keysIn(object) {
1529
+ return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
1530
+ }
1531
+
1532
+ /* Built-in method references that are verified to be native. */
1533
+ var nativeCreate = getNative(Object, 'create');
1534
+
1535
+ const nativeCreate$1 = nativeCreate;
1536
+
1537
+ /**
1538
+ * Removes all key-value entries from the hash.
1539
+ *
1540
+ * @private
1541
+ * @name clear
1542
+ * @memberOf Hash
1543
+ */
1544
+ function hashClear() {
1545
+ this.__data__ = nativeCreate$1 ? nativeCreate$1(null) : {};
1546
+ this.size = 0;
1547
+ }
1548
+
1549
+ /**
1550
+ * Removes `key` and its value from the hash.
1551
+ *
1552
+ * @private
1553
+ * @name delete
1554
+ * @memberOf Hash
1555
+ * @param {Object} hash The hash to modify.
1556
+ * @param {string} key The key of the value to remove.
1557
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1558
+ */
1559
+ function hashDelete(key) {
1560
+ var result = this.has(key) && delete this.__data__[key];
1561
+ this.size -= result ? 1 : 0;
1562
+ return result;
1563
+ }
1564
+
1565
+ /** Used to stand-in for `undefined` hash values. */
1566
+ var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
1567
+
1568
+ /** Used for built-in method references. */
1569
+ var objectProto$3 = Object.prototype;
1570
+
1571
+ /** Used to check objects for own properties. */
1572
+ var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
1573
+
1574
+ /**
1575
+ * Gets the hash value for `key`.
1576
+ *
1577
+ * @private
1578
+ * @name get
1579
+ * @memberOf Hash
1580
+ * @param {string} key The key of the value to get.
1581
+ * @returns {*} Returns the entry value.
1582
+ */
1583
+ function hashGet(key) {
1584
+ var data = this.__data__;
1585
+ if (nativeCreate$1) {
1586
+ var result = data[key];
1587
+ return result === HASH_UNDEFINED$1 ? undefined : result;
1588
+ }
1589
+ return hasOwnProperty$2.call(data, key) ? data[key] : undefined;
1590
+ }
1591
+
1592
+ /** Used for built-in method references. */
1593
+ var objectProto$2 = Object.prototype;
1594
+
1595
+ /** Used to check objects for own properties. */
1596
+ var hasOwnProperty$1 = objectProto$2.hasOwnProperty;
1597
+
1598
+ /**
1599
+ * Checks if a hash value for `key` exists.
1600
+ *
1601
+ * @private
1602
+ * @name has
1603
+ * @memberOf Hash
1604
+ * @param {string} key The key of the entry to check.
1605
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1606
+ */
1607
+ function hashHas(key) {
1608
+ var data = this.__data__;
1609
+ return nativeCreate$1 ? (data[key] !== undefined) : hasOwnProperty$1.call(data, key);
1610
+ }
1611
+
1612
+ /** Used to stand-in for `undefined` hash values. */
1613
+ var HASH_UNDEFINED = '__lodash_hash_undefined__';
1614
+
1615
+ /**
1616
+ * Sets the hash `key` to `value`.
1617
+ *
1618
+ * @private
1619
+ * @name set
1620
+ * @memberOf Hash
1621
+ * @param {string} key The key of the value to set.
1622
+ * @param {*} value The value to set.
1623
+ * @returns {Object} Returns the hash instance.
1624
+ */
1625
+ function hashSet(key, value) {
1626
+ var data = this.__data__;
1627
+ this.size += this.has(key) ? 0 : 1;
1628
+ data[key] = (nativeCreate$1 && value === undefined) ? HASH_UNDEFINED : value;
1629
+ return this;
1630
+ }
1631
+
1632
+ /**
1633
+ * Creates a hash object.
1634
+ *
1635
+ * @private
1636
+ * @constructor
1637
+ * @param {Array} [entries] The key-value pairs to cache.
1638
+ */
1639
+ function Hash(entries) {
1640
+ var index = -1,
1641
+ length = entries == null ? 0 : entries.length;
1642
+
1643
+ this.clear();
1644
+ while (++index < length) {
1645
+ var entry = entries[index];
1646
+ this.set(entry[0], entry[1]);
1647
+ }
1648
+ }
1649
+
1650
+ // Add methods to `Hash`.
1651
+ Hash.prototype.clear = hashClear;
1652
+ Hash.prototype['delete'] = hashDelete;
1653
+ Hash.prototype.get = hashGet;
1654
+ Hash.prototype.has = hashHas;
1655
+ Hash.prototype.set = hashSet;
1656
+
1657
+ /**
1658
+ * Removes all key-value entries from the list cache.
1659
+ *
1660
+ * @private
1661
+ * @name clear
1662
+ * @memberOf ListCache
1663
+ */
1664
+ function listCacheClear() {
1665
+ this.__data__ = [];
1666
+ this.size = 0;
1667
+ }
1668
+
1669
+ /**
1670
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
1671
+ *
1672
+ * @private
1673
+ * @param {Array} array The array to inspect.
1674
+ * @param {*} key The key to search for.
1675
+ * @returns {number} Returns the index of the matched value, else `-1`.
1676
+ */
1677
+ function assocIndexOf(array, key) {
1678
+ var length = array.length;
1679
+ while (length--) {
1680
+ if (eq(array[length][0], key)) {
1681
+ return length;
1682
+ }
1683
+ }
1684
+ return -1;
1685
+ }
1686
+
1687
+ /** Used for built-in method references. */
1688
+ var arrayProto = Array.prototype;
1689
+
1690
+ /** Built-in value references. */
1691
+ var splice = arrayProto.splice;
1692
+
1693
+ /**
1694
+ * Removes `key` and its value from the list cache.
1695
+ *
1696
+ * @private
1697
+ * @name delete
1698
+ * @memberOf ListCache
1699
+ * @param {string} key The key of the value to remove.
1700
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1701
+ */
1702
+ function listCacheDelete(key) {
1703
+ var data = this.__data__,
1704
+ index = assocIndexOf(data, key);
1705
+
1706
+ if (index < 0) {
1707
+ return false;
1708
+ }
1709
+ var lastIndex = data.length - 1;
1710
+ if (index == lastIndex) {
1711
+ data.pop();
1712
+ } else {
1713
+ splice.call(data, index, 1);
1714
+ }
1715
+ --this.size;
1716
+ return true;
1717
+ }
1718
+
1719
+ /**
1720
+ * Gets the list cache value for `key`.
1721
+ *
1722
+ * @private
1723
+ * @name get
1724
+ * @memberOf ListCache
1725
+ * @param {string} key The key of the value to get.
1726
+ * @returns {*} Returns the entry value.
1727
+ */
1728
+ function listCacheGet(key) {
1729
+ var data = this.__data__,
1730
+ index = assocIndexOf(data, key);
1731
+
1732
+ return index < 0 ? undefined : data[index][1];
1733
+ }
1734
+
1735
+ /**
1736
+ * Checks if a list cache value for `key` exists.
1737
+ *
1738
+ * @private
1739
+ * @name has
1740
+ * @memberOf ListCache
1741
+ * @param {string} key The key of the entry to check.
1742
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1743
+ */
1744
+ function listCacheHas(key) {
1745
+ return assocIndexOf(this.__data__, key) > -1;
1746
+ }
1747
+
1748
+ /**
1749
+ * Sets the list cache `key` to `value`.
1750
+ *
1751
+ * @private
1752
+ * @name set
1753
+ * @memberOf ListCache
1754
+ * @param {string} key The key of the value to set.
1755
+ * @param {*} value The value to set.
1756
+ * @returns {Object} Returns the list cache instance.
1757
+ */
1758
+ function listCacheSet(key, value) {
1759
+ var data = this.__data__,
1760
+ index = assocIndexOf(data, key);
1761
+
1762
+ if (index < 0) {
1763
+ ++this.size;
1764
+ data.push([key, value]);
1765
+ } else {
1766
+ data[index][1] = value;
1767
+ }
1768
+ return this;
1769
+ }
1770
+
1771
+ /**
1772
+ * Creates an list cache object.
1773
+ *
1774
+ * @private
1775
+ * @constructor
1776
+ * @param {Array} [entries] The key-value pairs to cache.
1777
+ */
1778
+ function ListCache(entries) {
1779
+ var index = -1,
1780
+ length = entries == null ? 0 : entries.length;
1781
+
1782
+ this.clear();
1783
+ while (++index < length) {
1784
+ var entry = entries[index];
1785
+ this.set(entry[0], entry[1]);
1786
+ }
1787
+ }
1788
+
1789
+ // Add methods to `ListCache`.
1790
+ ListCache.prototype.clear = listCacheClear;
1791
+ ListCache.prototype['delete'] = listCacheDelete;
1792
+ ListCache.prototype.get = listCacheGet;
1793
+ ListCache.prototype.has = listCacheHas;
1794
+ ListCache.prototype.set = listCacheSet;
1795
+
1796
+ /* Built-in method references that are verified to be native. */
1797
+ var Map$1 = getNative(root$1, 'Map');
1798
+
1799
+ const Map$2 = Map$1;
1800
+
1801
+ /**
1802
+ * Removes all key-value entries from the map.
1803
+ *
1804
+ * @private
1805
+ * @name clear
1806
+ * @memberOf MapCache
1807
+ */
1808
+ function mapCacheClear() {
1809
+ this.size = 0;
1810
+ this.__data__ = {
1811
+ 'hash': new Hash,
1812
+ 'map': new (Map$2 || ListCache),
1813
+ 'string': new Hash
1814
+ };
1815
+ }
1816
+
1817
+ /**
1818
+ * Checks if `value` is suitable for use as unique object key.
1819
+ *
1820
+ * @private
1821
+ * @param {*} value The value to check.
1822
+ * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
1823
+ */
1824
+ function isKeyable(value) {
1825
+ var type = typeof value;
1826
+ return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
1827
+ ? (value !== '__proto__')
1828
+ : (value === null);
1829
+ }
1830
+
1831
+ /**
1832
+ * Gets the data for `map`.
1833
+ *
1834
+ * @private
1835
+ * @param {Object} map The map to query.
1836
+ * @param {string} key The reference key.
1837
+ * @returns {*} Returns the map data.
1838
+ */
1839
+ function getMapData(map, key) {
1840
+ var data = map.__data__;
1841
+ return isKeyable(key)
1842
+ ? data[typeof key == 'string' ? 'string' : 'hash']
1843
+ : data.map;
1844
+ }
1845
+
1846
+ /**
1847
+ * Removes `key` and its value from the map.
1848
+ *
1849
+ * @private
1850
+ * @name delete
1851
+ * @memberOf MapCache
1852
+ * @param {string} key The key of the value to remove.
1853
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1854
+ */
1855
+ function mapCacheDelete(key) {
1856
+ var result = getMapData(this, key)['delete'](key);
1857
+ this.size -= result ? 1 : 0;
1858
+ return result;
1859
+ }
1860
+
1861
+ /**
1862
+ * Gets the map value for `key`.
1863
+ *
1864
+ * @private
1865
+ * @name get
1866
+ * @memberOf MapCache
1867
+ * @param {string} key The key of the value to get.
1868
+ * @returns {*} Returns the entry value.
1869
+ */
1870
+ function mapCacheGet(key) {
1871
+ return getMapData(this, key).get(key);
1872
+ }
1873
+
1874
+ /**
1875
+ * Checks if a map value for `key` exists.
1876
+ *
1877
+ * @private
1878
+ * @name has
1879
+ * @memberOf MapCache
1880
+ * @param {string} key The key of the entry to check.
1881
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1882
+ */
1883
+ function mapCacheHas(key) {
1884
+ return getMapData(this, key).has(key);
1885
+ }
1886
+
1887
+ /**
1888
+ * Sets the map `key` to `value`.
1889
+ *
1890
+ * @private
1891
+ * @name set
1892
+ * @memberOf MapCache
1893
+ * @param {string} key The key of the value to set.
1894
+ * @param {*} value The value to set.
1895
+ * @returns {Object} Returns the map cache instance.
1896
+ */
1897
+ function mapCacheSet(key, value) {
1898
+ var data = getMapData(this, key),
1899
+ size = data.size;
1900
+
1901
+ data.set(key, value);
1902
+ this.size += data.size == size ? 0 : 1;
1903
+ return this;
1904
+ }
1905
+
1906
+ /**
1907
+ * Creates a map cache object to store key-value pairs.
1908
+ *
1909
+ * @private
1910
+ * @constructor
1911
+ * @param {Array} [entries] The key-value pairs to cache.
1912
+ */
1913
+ function MapCache(entries) {
1914
+ var index = -1,
1915
+ length = entries == null ? 0 : entries.length;
1916
+
1917
+ this.clear();
1918
+ while (++index < length) {
1919
+ var entry = entries[index];
1920
+ this.set(entry[0], entry[1]);
1921
+ }
1922
+ }
1923
+
1924
+ // Add methods to `MapCache`.
1925
+ MapCache.prototype.clear = mapCacheClear;
1926
+ MapCache.prototype['delete'] = mapCacheDelete;
1927
+ MapCache.prototype.get = mapCacheGet;
1928
+ MapCache.prototype.has = mapCacheHas;
1929
+ MapCache.prototype.set = mapCacheSet;
1930
+
1931
+ /**
1932
+ * Appends the elements of `values` to `array`.
1933
+ *
1934
+ * @private
1935
+ * @param {Array} array The array to modify.
1936
+ * @param {Array} values The values to append.
1937
+ * @returns {Array} Returns `array`.
1938
+ */
1939
+ function arrayPush(array, values) {
1940
+ var index = -1,
1941
+ length = values.length,
1942
+ offset = array.length;
1943
+
1944
+ while (++index < length) {
1945
+ array[offset + index] = values[index];
1946
+ }
1947
+ return array;
1948
+ }
1949
+
1950
+ /** Built-in value references. */
1951
+ var getPrototype = overArg(Object.getPrototypeOf, Object);
1952
+
1953
+ const getPrototype$1 = getPrototype;
1954
+
1955
+ /**
1956
+ * Removes all key-value entries from the stack.
1957
+ *
1958
+ * @private
1959
+ * @name clear
1960
+ * @memberOf Stack
1961
+ */
1962
+ function stackClear() {
1963
+ this.__data__ = new ListCache;
1964
+ this.size = 0;
1965
+ }
1966
+
1967
+ /**
1968
+ * Removes `key` and its value from the stack.
1969
+ *
1970
+ * @private
1971
+ * @name delete
1972
+ * @memberOf Stack
1973
+ * @param {string} key The key of the value to remove.
1974
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1975
+ */
1976
+ function stackDelete(key) {
1977
+ var data = this.__data__,
1978
+ result = data['delete'](key);
1979
+
1980
+ this.size = data.size;
1981
+ return result;
1982
+ }
1983
+
1984
+ /**
1985
+ * Gets the stack value for `key`.
1986
+ *
1987
+ * @private
1988
+ * @name get
1989
+ * @memberOf Stack
1990
+ * @param {string} key The key of the value to get.
1991
+ * @returns {*} Returns the entry value.
1992
+ */
1993
+ function stackGet(key) {
1994
+ return this.__data__.get(key);
1995
+ }
1996
+
1997
+ /**
1998
+ * Checks if a stack value for `key` exists.
1999
+ *
2000
+ * @private
2001
+ * @name has
2002
+ * @memberOf Stack
2003
+ * @param {string} key The key of the entry to check.
2004
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
2005
+ */
2006
+ function stackHas(key) {
2007
+ return this.__data__.has(key);
2008
+ }
2009
+
2010
+ /** Used as the size to enable large array optimizations. */
2011
+ var LARGE_ARRAY_SIZE = 200;
2012
+
2013
+ /**
2014
+ * Sets the stack `key` to `value`.
2015
+ *
2016
+ * @private
2017
+ * @name set
2018
+ * @memberOf Stack
2019
+ * @param {string} key The key of the value to set.
2020
+ * @param {*} value The value to set.
2021
+ * @returns {Object} Returns the stack cache instance.
2022
+ */
2023
+ function stackSet(key, value) {
2024
+ var data = this.__data__;
2025
+ if (data instanceof ListCache) {
2026
+ var pairs = data.__data__;
2027
+ if (!Map$2 || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
2028
+ pairs.push([key, value]);
2029
+ this.size = ++data.size;
2030
+ return this;
2031
+ }
2032
+ data = this.__data__ = new MapCache(pairs);
2033
+ }
2034
+ data.set(key, value);
2035
+ this.size = data.size;
2036
+ return this;
2037
+ }
2038
+
2039
+ /**
2040
+ * Creates a stack cache object to store key-value pairs.
2041
+ *
2042
+ * @private
2043
+ * @constructor
2044
+ * @param {Array} [entries] The key-value pairs to cache.
2045
+ */
2046
+ function Stack(entries) {
2047
+ var data = this.__data__ = new ListCache(entries);
2048
+ this.size = data.size;
2049
+ }
2050
+
2051
+ // Add methods to `Stack`.
2052
+ Stack.prototype.clear = stackClear;
2053
+ Stack.prototype['delete'] = stackDelete;
2054
+ Stack.prototype.get = stackGet;
2055
+ Stack.prototype.has = stackHas;
2056
+ Stack.prototype.set = stackSet;
2057
+
2058
+ /**
2059
+ * The base implementation of `_.assign` without support for multiple sources
2060
+ * or `customizer` functions.
2061
+ *
2062
+ * @private
2063
+ * @param {Object} object The destination object.
2064
+ * @param {Object} source The source object.
2065
+ * @returns {Object} Returns `object`.
2066
+ */
2067
+ function baseAssign(object, source) {
2068
+ return object && copyObject(source, keys(source), object);
2069
+ }
2070
+
2071
+ /**
2072
+ * The base implementation of `_.assignIn` without support for multiple sources
2073
+ * or `customizer` functions.
2074
+ *
2075
+ * @private
2076
+ * @param {Object} object The destination object.
2077
+ * @param {Object} source The source object.
2078
+ * @returns {Object} Returns `object`.
2079
+ */
2080
+ function baseAssignIn(object, source) {
2081
+ return object && copyObject(source, keysIn(source), object);
2082
+ }
2083
+
2084
+ /** Detect free variable `exports`. */
2085
+ var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
2086
+
2087
+ /** Detect free variable `module`. */
2088
+ var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
2089
+
2090
+ /** Detect the popular CommonJS extension `module.exports`. */
2091
+ var moduleExports = freeModule && freeModule.exports === freeExports;
2092
+
2093
+ /** Built-in value references. */
2094
+ var Buffer = moduleExports ? root$1.Buffer : undefined,
2095
+ allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;
2096
+
2097
+ /**
2098
+ * Creates a clone of `buffer`.
2099
+ *
2100
+ * @private
2101
+ * @param {Buffer} buffer The buffer to clone.
2102
+ * @param {boolean} [isDeep] Specify a deep clone.
2103
+ * @returns {Buffer} Returns the cloned buffer.
2104
+ */
2105
+ function cloneBuffer(buffer, isDeep) {
2106
+ if (isDeep) {
2107
+ return buffer.slice();
2108
+ }
2109
+ var length = buffer.length,
2110
+ result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
2111
+
2112
+ buffer.copy(result);
2113
+ return result;
2114
+ }
2115
+
2116
+ /**
2117
+ * A specialized version of `_.filter` for arrays without support for
2118
+ * iteratee shorthands.
2119
+ *
2120
+ * @private
2121
+ * @param {Array} [array] The array to iterate over.
2122
+ * @param {Function} predicate The function invoked per iteration.
2123
+ * @returns {Array} Returns the new filtered array.
2124
+ */
2125
+ function arrayFilter(array, predicate) {
2126
+ var index = -1,
2127
+ length = array == null ? 0 : array.length,
2128
+ resIndex = 0,
2129
+ result = [];
2130
+
2131
+ while (++index < length) {
2132
+ var value = array[index];
2133
+ if (predicate(value, index, array)) {
2134
+ result[resIndex++] = value;
2135
+ }
2136
+ }
2137
+ return result;
2138
+ }
2139
+
2140
+ /**
2141
+ * This method returns a new empty array.
2142
+ *
2143
+ * @static
2144
+ * @memberOf _
2145
+ * @since 4.13.0
2146
+ * @category Util
2147
+ * @returns {Array} Returns the new empty array.
2148
+ * @example
2149
+ *
2150
+ * var arrays = _.times(2, _.stubArray);
2151
+ *
2152
+ * console.log(arrays);
2153
+ * // => [[], []]
2154
+ *
2155
+ * console.log(arrays[0] === arrays[1]);
2156
+ * // => false
2157
+ */
2158
+ function stubArray() {
2159
+ return [];
2160
+ }
2161
+
2162
+ /** Used for built-in method references. */
2163
+ var objectProto$1 = Object.prototype;
2164
+
2165
+ /** Built-in value references. */
2166
+ var propertyIsEnumerable = objectProto$1.propertyIsEnumerable;
2167
+
2168
+ /* Built-in method references for those with the same name as other `lodash` methods. */
2169
+ var nativeGetSymbols$1 = Object.getOwnPropertySymbols;
2170
+
2171
+ /**
2172
+ * Creates an array of the own enumerable symbols of `object`.
2173
+ *
2174
+ * @private
2175
+ * @param {Object} object The object to query.
2176
+ * @returns {Array} Returns the array of symbols.
2177
+ */
2178
+ var getSymbols = !nativeGetSymbols$1 ? stubArray : function(object) {
2179
+ if (object == null) {
2180
+ return [];
2181
+ }
2182
+ object = Object(object);
2183
+ return arrayFilter(nativeGetSymbols$1(object), function(symbol) {
2184
+ return propertyIsEnumerable.call(object, symbol);
2185
+ });
2186
+ };
2187
+
2188
+ const getSymbols$1 = getSymbols;
2189
+
2190
+ /**
2191
+ * Copies own symbols of `source` to `object`.
2192
+ *
2193
+ * @private
2194
+ * @param {Object} source The object to copy symbols from.
2195
+ * @param {Object} [object={}] The object to copy symbols to.
2196
+ * @returns {Object} Returns `object`.
2197
+ */
2198
+ function copySymbols(source, object) {
2199
+ return copyObject(source, getSymbols$1(source), object);
2200
+ }
2201
+
2202
+ /* Built-in method references for those with the same name as other `lodash` methods. */
2203
+ var nativeGetSymbols = Object.getOwnPropertySymbols;
2204
+
2205
+ /**
2206
+ * Creates an array of the own and inherited enumerable symbols of `object`.
2207
+ *
2208
+ * @private
2209
+ * @param {Object} object The object to query.
2210
+ * @returns {Array} Returns the array of symbols.
2211
+ */
2212
+ var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {
2213
+ var result = [];
2214
+ while (object) {
2215
+ arrayPush(result, getSymbols$1(object));
2216
+ object = getPrototype$1(object);
2217
+ }
2218
+ return result;
2219
+ };
2220
+
2221
+ const getSymbolsIn$1 = getSymbolsIn;
2222
+
2223
+ /**
2224
+ * Copies own and inherited symbols of `source` to `object`.
2225
+ *
2226
+ * @private
2227
+ * @param {Object} source The object to copy symbols from.
2228
+ * @param {Object} [object={}] The object to copy symbols to.
2229
+ * @returns {Object} Returns `object`.
2230
+ */
2231
+ function copySymbolsIn(source, object) {
2232
+ return copyObject(source, getSymbolsIn$1(source), object);
2233
+ }
2234
+
2235
+ /**
2236
+ * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
2237
+ * `keysFunc` and `symbolsFunc` to get the enumerable property names and
2238
+ * symbols of `object`.
2239
+ *
2240
+ * @private
2241
+ * @param {Object} object The object to query.
2242
+ * @param {Function} keysFunc The function to get the keys of `object`.
2243
+ * @param {Function} symbolsFunc The function to get the symbols of `object`.
2244
+ * @returns {Array} Returns the array of property names and symbols.
2245
+ */
2246
+ function baseGetAllKeys(object, keysFunc, symbolsFunc) {
2247
+ var result = keysFunc(object);
2248
+ return isArray$1(object) ? result : arrayPush(result, symbolsFunc(object));
2249
+ }
2250
+
2251
+ /**
2252
+ * Creates an array of own enumerable property names and symbols of `object`.
2253
+ *
2254
+ * @private
2255
+ * @param {Object} object The object to query.
2256
+ * @returns {Array} Returns the array of property names and symbols.
2257
+ */
2258
+ function getAllKeys(object) {
2259
+ return baseGetAllKeys(object, keys, getSymbols$1);
2260
+ }
2261
+
2262
+ /**
2263
+ * Creates an array of own and inherited enumerable property names and
2264
+ * symbols of `object`.
2265
+ *
2266
+ * @private
2267
+ * @param {Object} object The object to query.
2268
+ * @returns {Array} Returns the array of property names and symbols.
2269
+ */
2270
+ function getAllKeysIn(object) {
2271
+ return baseGetAllKeys(object, keysIn, getSymbolsIn$1);
2272
+ }
2273
+
2274
+ /* Built-in method references that are verified to be native. */
2275
+ var DataView = getNative(root$1, 'DataView');
2276
+
2277
+ const DataView$1 = DataView;
2278
+
2279
+ /* Built-in method references that are verified to be native. */
2280
+ var Promise$1 = getNative(root$1, 'Promise');
2281
+
2282
+ const Promise$2 = Promise$1;
2283
+
2284
+ /* Built-in method references that are verified to be native. */
2285
+ var Set$1 = getNative(root$1, 'Set');
2286
+
2287
+ const Set$2 = Set$1;
2288
+
2289
+ /** `Object#toString` result references. */
2290
+ var mapTag$3 = '[object Map]',
2291
+ objectTag$1 = '[object Object]',
2292
+ promiseTag = '[object Promise]',
2293
+ setTag$3 = '[object Set]',
2294
+ weakMapTag$1 = '[object WeakMap]';
2295
+
2296
+ var dataViewTag$2 = '[object DataView]';
2297
+
2298
+ /** Used to detect maps, sets, and weakmaps. */
2299
+ var dataViewCtorString = toSource(DataView$1),
2300
+ mapCtorString = toSource(Map$2),
2301
+ promiseCtorString = toSource(Promise$2),
2302
+ setCtorString = toSource(Set$2),
2303
+ weakMapCtorString = toSource(WeakMap$2);
2304
+
2305
+ /**
2306
+ * Gets the `toStringTag` of `value`.
2307
+ *
2308
+ * @private
2309
+ * @param {*} value The value to query.
2310
+ * @returns {string} Returns the `toStringTag`.
2311
+ */
2312
+ var getTag = baseGetTag;
2313
+
2314
+ // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
2315
+ if ((DataView$1 && getTag(new DataView$1(new ArrayBuffer(1))) != dataViewTag$2) ||
2316
+ (Map$2 && getTag(new Map$2) != mapTag$3) ||
2317
+ (Promise$2 && getTag(Promise$2.resolve()) != promiseTag) ||
2318
+ (Set$2 && getTag(new Set$2) != setTag$3) ||
2319
+ (WeakMap$2 && getTag(new WeakMap$2) != weakMapTag$1)) {
2320
+ getTag = function(value) {
2321
+ var result = baseGetTag(value),
2322
+ Ctor = result == objectTag$1 ? value.constructor : undefined,
2323
+ ctorString = Ctor ? toSource(Ctor) : '';
2324
+
2325
+ if (ctorString) {
2326
+ switch (ctorString) {
2327
+ case dataViewCtorString: return dataViewTag$2;
2328
+ case mapCtorString: return mapTag$3;
2329
+ case promiseCtorString: return promiseTag;
2330
+ case setCtorString: return setTag$3;
2331
+ case weakMapCtorString: return weakMapTag$1;
2332
+ }
2333
+ }
2334
+ return result;
2335
+ };
2336
+ }
2337
+
2338
+ const getTag$1 = getTag;
2339
+
2340
+ /** Used for built-in method references. */
2341
+ var objectProto = Object.prototype;
2342
+
2343
+ /** Used to check objects for own properties. */
2344
+ var hasOwnProperty = objectProto.hasOwnProperty;
2345
+
2346
+ /**
2347
+ * Initializes an array clone.
2348
+ *
2349
+ * @private
2350
+ * @param {Array} array The array to clone.
2351
+ * @returns {Array} Returns the initialized clone.
2352
+ */
2353
+ function initCloneArray(array) {
2354
+ var length = array.length,
2355
+ result = new array.constructor(length);
2356
+
2357
+ // Add properties assigned by `RegExp#exec`.
2358
+ if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
2359
+ result.index = array.index;
2360
+ result.input = array.input;
2361
+ }
2362
+ return result;
2363
+ }
2364
+
2365
+ /** Built-in value references. */
2366
+ var Uint8Array = root$1.Uint8Array;
2367
+
2368
+ const Uint8Array$1 = Uint8Array;
2369
+
2370
+ /**
2371
+ * Creates a clone of `arrayBuffer`.
2372
+ *
2373
+ * @private
2374
+ * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
2375
+ * @returns {ArrayBuffer} Returns the cloned array buffer.
2376
+ */
2377
+ function cloneArrayBuffer(arrayBuffer) {
2378
+ var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
2379
+ new Uint8Array$1(result).set(new Uint8Array$1(arrayBuffer));
2380
+ return result;
2381
+ }
2382
+
2383
+ /**
2384
+ * Creates a clone of `dataView`.
2385
+ *
2386
+ * @private
2387
+ * @param {Object} dataView The data view to clone.
2388
+ * @param {boolean} [isDeep] Specify a deep clone.
2389
+ * @returns {Object} Returns the cloned data view.
2390
+ */
2391
+ function cloneDataView(dataView, isDeep) {
2392
+ var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
2393
+ return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
2394
+ }
2395
+
2396
+ /** Used to match `RegExp` flags from their coerced string values. */
2397
+ var reFlags = /\w*$/;
2398
+
2399
+ /**
2400
+ * Creates a clone of `regexp`.
2401
+ *
2402
+ * @private
2403
+ * @param {Object} regexp The regexp to clone.
2404
+ * @returns {Object} Returns the cloned regexp.
2405
+ */
2406
+ function cloneRegExp(regexp) {
2407
+ var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
2408
+ result.lastIndex = regexp.lastIndex;
2409
+ return result;
2410
+ }
2411
+
2412
+ /** Used to convert symbols to primitives and strings. */
2413
+ var symbolProto = Symbol$1 ? Symbol$1.prototype : undefined,
2414
+ symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
2415
+
2416
+ /**
2417
+ * Creates a clone of the `symbol` object.
2418
+ *
2419
+ * @private
2420
+ * @param {Object} symbol The symbol object to clone.
2421
+ * @returns {Object} Returns the cloned symbol object.
2422
+ */
2423
+ function cloneSymbol(symbol) {
2424
+ return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
2425
+ }
2426
+
2427
+ /**
2428
+ * Creates a clone of `typedArray`.
2429
+ *
2430
+ * @private
2431
+ * @param {Object} typedArray The typed array to clone.
2432
+ * @param {boolean} [isDeep] Specify a deep clone.
2433
+ * @returns {Object} Returns the cloned typed array.
2434
+ */
2435
+ function cloneTypedArray(typedArray, isDeep) {
2436
+ var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
2437
+ return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
2438
+ }
2439
+
2440
+ /** `Object#toString` result references. */
2441
+ var boolTag$1 = '[object Boolean]',
2442
+ dateTag$1 = '[object Date]',
2443
+ mapTag$2 = '[object Map]',
2444
+ numberTag$1 = '[object Number]',
2445
+ regexpTag$1 = '[object RegExp]',
2446
+ setTag$2 = '[object Set]',
2447
+ stringTag$1 = '[object String]',
2448
+ symbolTag$1 = '[object Symbol]';
2449
+
2450
+ var arrayBufferTag$1 = '[object ArrayBuffer]',
2451
+ dataViewTag$1 = '[object DataView]',
2452
+ float32Tag$1 = '[object Float32Array]',
2453
+ float64Tag$1 = '[object Float64Array]',
2454
+ int8Tag$1 = '[object Int8Array]',
2455
+ int16Tag$1 = '[object Int16Array]',
2456
+ int32Tag$1 = '[object Int32Array]',
2457
+ uint8Tag$1 = '[object Uint8Array]',
2458
+ uint8ClampedTag$1 = '[object Uint8ClampedArray]',
2459
+ uint16Tag$1 = '[object Uint16Array]',
2460
+ uint32Tag$1 = '[object Uint32Array]';
2461
+
2462
+ /**
2463
+ * Initializes an object clone based on its `toStringTag`.
2464
+ *
2465
+ * **Note:** This function only supports cloning values with tags of
2466
+ * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.
2467
+ *
2468
+ * @private
2469
+ * @param {Object} object The object to clone.
2470
+ * @param {string} tag The `toStringTag` of the object to clone.
2471
+ * @param {boolean} [isDeep] Specify a deep clone.
2472
+ * @returns {Object} Returns the initialized clone.
2473
+ */
2474
+ function initCloneByTag(object, tag, isDeep) {
2475
+ var Ctor = object.constructor;
2476
+ switch (tag) {
2477
+ case arrayBufferTag$1:
2478
+ return cloneArrayBuffer(object);
2479
+
2480
+ case boolTag$1:
2481
+ case dateTag$1:
2482
+ return new Ctor(+object);
2483
+
2484
+ case dataViewTag$1:
2485
+ return cloneDataView(object, isDeep);
2486
+
2487
+ case float32Tag$1: case float64Tag$1:
2488
+ case int8Tag$1: case int16Tag$1: case int32Tag$1:
2489
+ case uint8Tag$1: case uint8ClampedTag$1: case uint16Tag$1: case uint32Tag$1:
2490
+ return cloneTypedArray(object, isDeep);
2491
+
2492
+ case mapTag$2:
2493
+ return new Ctor;
2494
+
2495
+ case numberTag$1:
2496
+ case stringTag$1:
2497
+ return new Ctor(object);
2498
+
2499
+ case regexpTag$1:
2500
+ return cloneRegExp(object);
2501
+
2502
+ case setTag$2:
2503
+ return new Ctor;
2504
+
2505
+ case symbolTag$1:
2506
+ return cloneSymbol(object);
2507
+ }
2508
+ }
2509
+
2510
+ /**
2511
+ * Initializes an object clone.
2512
+ *
2513
+ * @private
2514
+ * @param {Object} object The object to clone.
2515
+ * @returns {Object} Returns the initialized clone.
2516
+ */
2517
+ function initCloneObject(object) {
2518
+ return (typeof object.constructor == 'function' && !isPrototype(object))
2519
+ ? baseCreate$1(getPrototype$1(object))
2520
+ : {};
2521
+ }
2522
+
2523
+ /** `Object#toString` result references. */
2524
+ var mapTag$1 = '[object Map]';
2525
+
2526
+ /**
2527
+ * The base implementation of `_.isMap` without Node.js optimizations.
2528
+ *
2529
+ * @private
2530
+ * @param {*} value The value to check.
2531
+ * @returns {boolean} Returns `true` if `value` is a map, else `false`.
2532
+ */
2533
+ function baseIsMap(value) {
2534
+ return isObjectLike(value) && getTag$1(value) == mapTag$1;
2535
+ }
2536
+
2537
+ /* Node.js helper references. */
2538
+ var nodeIsMap = nodeUtil$1 && nodeUtil$1.isMap;
2539
+
2540
+ /**
2541
+ * Checks if `value` is classified as a `Map` object.
2542
+ *
2543
+ * @static
2544
+ * @memberOf _
2545
+ * @since 4.3.0
2546
+ * @category Lang
2547
+ * @param {*} value The value to check.
2548
+ * @returns {boolean} Returns `true` if `value` is a map, else `false`.
2549
+ * @example
2550
+ *
2551
+ * _.isMap(new Map);
2552
+ * // => true
2553
+ *
2554
+ * _.isMap(new WeakMap);
2555
+ * // => false
2556
+ */
2557
+ var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;
2558
+
2559
+ const isMap$1 = isMap;
2560
+
2561
+ /** `Object#toString` result references. */
2562
+ var setTag$1 = '[object Set]';
2563
+
2564
+ /**
2565
+ * The base implementation of `_.isSet` without Node.js optimizations.
2566
+ *
2567
+ * @private
2568
+ * @param {*} value The value to check.
2569
+ * @returns {boolean} Returns `true` if `value` is a set, else `false`.
2570
+ */
2571
+ function baseIsSet(value) {
2572
+ return isObjectLike(value) && getTag$1(value) == setTag$1;
2573
+ }
2574
+
2575
+ /* Node.js helper references. */
2576
+ var nodeIsSet = nodeUtil$1 && nodeUtil$1.isSet;
2577
+
2578
+ /**
2579
+ * Checks if `value` is classified as a `Set` object.
2580
+ *
2581
+ * @static
2582
+ * @memberOf _
2583
+ * @since 4.3.0
2584
+ * @category Lang
2585
+ * @param {*} value The value to check.
2586
+ * @returns {boolean} Returns `true` if `value` is a set, else `false`.
2587
+ * @example
2588
+ *
2589
+ * _.isSet(new Set);
2590
+ * // => true
2591
+ *
2592
+ * _.isSet(new WeakSet);
2593
+ * // => false
2594
+ */
2595
+ var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
2596
+
2597
+ const isSet$1 = isSet;
2598
+
2599
+ /** Used to compose bitmasks for cloning. */
2600
+ var CLONE_DEEP_FLAG$1 = 1,
2601
+ CLONE_FLAT_FLAG = 2,
2602
+ CLONE_SYMBOLS_FLAG$1 = 4;
2603
+
2604
+ /** `Object#toString` result references. */
2605
+ var argsTag = '[object Arguments]',
2606
+ arrayTag = '[object Array]',
2607
+ boolTag = '[object Boolean]',
2608
+ dateTag = '[object Date]',
2609
+ errorTag = '[object Error]',
2610
+ funcTag = '[object Function]',
2611
+ genTag = '[object GeneratorFunction]',
2612
+ mapTag = '[object Map]',
2613
+ numberTag = '[object Number]',
2614
+ objectTag = '[object Object]',
2615
+ regexpTag = '[object RegExp]',
2616
+ setTag = '[object Set]',
2617
+ stringTag = '[object String]',
2618
+ symbolTag = '[object Symbol]',
2619
+ weakMapTag = '[object WeakMap]';
2620
+
2621
+ var arrayBufferTag = '[object ArrayBuffer]',
2622
+ dataViewTag = '[object DataView]',
2623
+ float32Tag = '[object Float32Array]',
2624
+ float64Tag = '[object Float64Array]',
2625
+ int8Tag = '[object Int8Array]',
2626
+ int16Tag = '[object Int16Array]',
2627
+ int32Tag = '[object Int32Array]',
2628
+ uint8Tag = '[object Uint8Array]',
2629
+ uint8ClampedTag = '[object Uint8ClampedArray]',
2630
+ uint16Tag = '[object Uint16Array]',
2631
+ uint32Tag = '[object Uint32Array]';
2632
+
2633
+ /** Used to identify `toStringTag` values supported by `_.clone`. */
2634
+ var cloneableTags = {};
2635
+ cloneableTags[argsTag] = cloneableTags[arrayTag] =
2636
+ cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
2637
+ cloneableTags[boolTag] = cloneableTags[dateTag] =
2638
+ cloneableTags[float32Tag] = cloneableTags[float64Tag] =
2639
+ cloneableTags[int8Tag] = cloneableTags[int16Tag] =
2640
+ cloneableTags[int32Tag] = cloneableTags[mapTag] =
2641
+ cloneableTags[numberTag] = cloneableTags[objectTag] =
2642
+ cloneableTags[regexpTag] = cloneableTags[setTag] =
2643
+ cloneableTags[stringTag] = cloneableTags[symbolTag] =
2644
+ cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
2645
+ cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
2646
+ cloneableTags[errorTag] = cloneableTags[funcTag] =
2647
+ cloneableTags[weakMapTag] = false;
2648
+
2649
+ /**
2650
+ * The base implementation of `_.clone` and `_.cloneDeep` which tracks
2651
+ * traversed objects.
2652
+ *
2653
+ * @private
2654
+ * @param {*} value The value to clone.
2655
+ * @param {boolean} bitmask The bitmask flags.
2656
+ * 1 - Deep clone
2657
+ * 2 - Flatten inherited properties
2658
+ * 4 - Clone symbols
2659
+ * @param {Function} [customizer] The function to customize cloning.
2660
+ * @param {string} [key] The key of `value`.
2661
+ * @param {Object} [object] The parent object of `value`.
2662
+ * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
2663
+ * @returns {*} Returns the cloned value.
2664
+ */
2665
+ function baseClone(value, bitmask, customizer, key, object, stack) {
2666
+ var result,
2667
+ isDeep = bitmask & CLONE_DEEP_FLAG$1,
2668
+ isFlat = bitmask & CLONE_FLAT_FLAG,
2669
+ isFull = bitmask & CLONE_SYMBOLS_FLAG$1;
2670
+
2671
+ if (customizer) {
2672
+ result = object ? customizer(value, key, object, stack) : customizer(value);
2673
+ }
2674
+ if (result !== undefined) {
2675
+ return result;
2676
+ }
2677
+ if (!isObject(value)) {
2678
+ return value;
2679
+ }
2680
+ var isArr = isArray$1(value);
2681
+ if (isArr) {
2682
+ result = initCloneArray(value);
2683
+ if (!isDeep) {
2684
+ return copyArray(value, result);
2685
+ }
2686
+ } else {
2687
+ var tag = getTag$1(value),
2688
+ isFunc = tag == funcTag || tag == genTag;
2689
+
2690
+ if (isBuffer$1(value)) {
2691
+ return cloneBuffer(value, isDeep);
2692
+ }
2693
+ if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
2694
+ result = (isFlat || isFunc) ? {} : initCloneObject(value);
2695
+ if (!isDeep) {
2696
+ return isFlat
2697
+ ? copySymbolsIn(value, baseAssignIn(result, value))
2698
+ : copySymbols(value, baseAssign(result, value));
2699
+ }
2700
+ } else {
2701
+ if (!cloneableTags[tag]) {
2702
+ return object ? value : {};
2703
+ }
2704
+ result = initCloneByTag(value, tag, isDeep);
2705
+ }
2706
+ }
2707
+ // Check for circular references and return its corresponding clone.
2708
+ stack || (stack = new Stack);
2709
+ var stacked = stack.get(value);
2710
+ if (stacked) {
2711
+ return stacked;
2712
+ }
2713
+ stack.set(value, result);
2714
+
2715
+ if (isSet$1(value)) {
2716
+ value.forEach(function(subValue) {
2717
+ result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
2718
+ });
2719
+ } else if (isMap$1(value)) {
2720
+ value.forEach(function(subValue, key) {
2721
+ result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));
2722
+ });
2723
+ }
2724
+
2725
+ var keysFunc = isFull
2726
+ ? (isFlat ? getAllKeysIn : getAllKeys)
2727
+ : (isFlat ? keysIn : keys);
2728
+
2729
+ var props = isArr ? undefined : keysFunc(value);
2730
+ arrayEach(props || value, function(subValue, key) {
2731
+ if (props) {
2732
+ key = subValue;
2733
+ subValue = value[key];
2734
+ }
2735
+ // Recursively populate clone (susceptible to call stack limits).
2736
+ assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));
2737
+ });
2738
+ return result;
2739
+ }
2740
+
2741
+ /** Used to compose bitmasks for cloning. */
2742
+ var CLONE_DEEP_FLAG = 1,
2743
+ CLONE_SYMBOLS_FLAG = 4;
2744
+
2745
+ /**
2746
+ * This method is like `_.clone` except that it recursively clones `value`.
2747
+ *
2748
+ * @static
2749
+ * @memberOf _
2750
+ * @since 1.0.0
2751
+ * @category Lang
2752
+ * @param {*} value The value to recursively clone.
2753
+ * @returns {*} Returns the deep cloned value.
2754
+ * @see _.clone
2755
+ * @example
2756
+ *
2757
+ * var objects = [{ 'a': 1 }, { 'b': 2 }];
2758
+ *
2759
+ * var deep = _.cloneDeep(objects);
2760
+ * console.log(deep[0] === objects[0]);
2761
+ * // => false
2762
+ */
2763
+ function cloneDeep(value) {
2764
+ return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
2765
+ }
2766
+
2767
+ function clone(obj) {
2768
+ if (structuredClone) {
2769
+ return structuredClone(obj);
2770
+ }
2771
+ return cloneDeep(obj);
2772
+ }
2773
+
457
2774
  /**
458
2775
  * The default UI Config
459
2776
  */
@@ -778,6 +3095,9 @@ const defaultConfig = {
778
3095
  videoFit: 'cover',
779
3096
  },
780
3097
  };
3098
+ const createDefaultConfig = () => {
3099
+ return clone(defaultConfig);
3100
+ };
781
3101
 
782
3102
  const appendToMap = (map, propName, value) => {
783
3103
  const items = map.get(propName);
@@ -1527,19 +3847,25 @@ const getUserPreferences = () => {
1527
3847
  };
1528
3848
  const chatUnreadTimestamps = {};
1529
3849
 
1530
- const getInitialStates = () => ({
3850
+ const getInitialStates = (peerId) => ({
1531
3851
  meeting: 'idle',
1532
3852
  prefs: getUserPreferences(),
3853
+ peerId: peerId || 'LEGACY_GLOBAL_PEER',
1533
3854
  });
1534
3855
  const uiStore = createStore({
1535
- meeting: undefined,
3856
+ meeting: null,
1536
3857
  t: useLanguage(),
1537
3858
  iconPack: defaultIconPack,
1538
3859
  states: getInitialStates(),
1539
- config: defaultConfig,
3860
+ config: createDefaultConfig(),
1540
3861
  size: undefined,
3862
+ peerId: 'global',
3863
+ storeType: 'global',
3864
+ storeId: 'store-global',
1541
3865
  });
1542
3866
  const elementsMap = new Map();
3867
+ // Attach elementsMap to global store for consistency
3868
+ uiStore.elementsMap = elementsMap;
1543
3869
  uiStore.use({
1544
3870
  set: (propName, newValue, oldValue) => {
1545
3871
  const elements = elementsMap.get(propName);
@@ -1557,25 +3883,80 @@ uiStore.use({
1557
3883
  }
1558
3884
  },
1559
3885
  });
1560
- function appendElement(propName, element) {
1561
- const elements = elementsMap.get(propName);
3886
+ const uiState = uiStore.state;
3887
+ // Function to create a new store instance for peer-specific stores
3888
+ function createPeerStore({ meeting, config, providerId, iconPack, t, size }) {
3889
+ const store = createStore({
3890
+ meeting: meeting,
3891
+ t,
3892
+ iconPack,
3893
+ states: getInitialStates(meeting.self.peerId),
3894
+ config: config || createDefaultConfig(),
3895
+ size,
3896
+ peerId: meeting.self.id,
3897
+ storeType: 'peer',
3898
+ // Use provider id's numeric portion as store id for easier debugging
3899
+ storeId: 'store-' + providerId.replace('provider-', ''),
3900
+ });
3901
+ const peerElementsMap = new Map();
3902
+ // Attach elementsMap to store so appendElement/removeElement can access it
3903
+ store.elementsMap = peerElementsMap;
3904
+ store.use({
3905
+ set: (propName, newValue, oldValue) => {
3906
+ const elements = peerElementsMap.get(propName);
3907
+ if (elements) {
3908
+ peerElementsMap.set(propName, elements.filter((element) => {
3909
+ const currentValue = element[propName];
3910
+ if (currentValue === oldValue) {
3911
+ element[propName] = newValue;
3912
+ return true;
3913
+ }
3914
+ else {
3915
+ return false;
3916
+ }
3917
+ }));
3918
+ }
3919
+ },
3920
+ });
3921
+ return store;
3922
+ }
3923
+ function appendElement(propName, element, targetStore = uiStore) {
3924
+ const elementsMapToUse = targetStore.elementsMap;
3925
+ if (!elementsMapToUse) {
3926
+ console.error(`appendElement: No elementsMap found on store`, targetStore);
3927
+ return;
3928
+ }
3929
+ const elements = elementsMapToUse.get(propName);
1562
3930
  if (!elements) {
1563
- elementsMap.set(propName, [element]);
3931
+ try {
3932
+ elementsMapToUse.set(propName, [element]);
3933
+ }
3934
+ catch (error) {
3935
+ console.error(`appendElement: Error setting new array:`, error);
3936
+ }
1564
3937
  }
1565
3938
  else {
1566
- elements.push(element);
3939
+ try {
3940
+ elements.push(element);
3941
+ }
3942
+ catch (error) {
3943
+ console.error(`appendElement: Error adding element:`, error);
3944
+ }
1567
3945
  }
1568
3946
  }
1569
- function removeElement(propName, element) {
1570
- const elements = elementsMap.get(propName);
1571
- if (elements && elements.length > 0) {
3947
+ function removeElement(propName, element, targetStore = uiStore) {
3948
+ const elementsMapToUse = targetStore.elementsMap;
3949
+ if (!elementsMapToUse) {
3950
+ console.error(`removeElement: No elementsMap found on store`, targetStore);
3951
+ return;
3952
+ }
3953
+ const elements = elementsMapToUse.get(propName);
3954
+ if (elements) {
1572
3955
  const index = elements.indexOf(element);
1573
- if (index !== -1) {
3956
+ if (index > -1) {
1574
3957
  elements.splice(index, 1);
1575
- elementsMap.set(propName, elements);
1576
3958
  }
1577
3959
  }
1578
3960
  }
1579
- const uiState = uiStore.state;
1580
3961
 
1581
- export { BreakoutRoomsManager as B, FlagsmithFeatureFlags as F, PlayerState as P, defaultIconPack as a, defaultLanguage as b, useLanguage as c, defaultConfig as d, disableSettingSinkId as e, chatUnreadTimestamps as f, getInitialStates as g, getAllConnectedParticipants as h, isLiveStreamHost as i, usePaginatedChat as j, gracefulStorage$1 as k, uiState as l, appendElement as m, removeElement as n, canToggleBreakout as o, participantIdentifier as p, isLiveStreamViewer as q, resetRoomCount as r, showLivestream as s, getLivestreamViewerAllowedQualityLevels as t, uiStore as u, getPreference as v, setPreference as w };
3962
+ export { copyArray as A, BreakoutRoomsManager as B, cloneBuffer as C, cloneTypedArray as D, isArguments$1 as E, isFunction as F, initCloneObject as G, getAllConnectedParticipants as H, participantIdentifier as I, resetRoomCount as J, usePaginatedChat as K, FlagsmithFeatureFlags as L, gracefulStorage$1 as M, showLivestream as N, appendElement as O, removeElement as P, root$1 as Q, canToggleBreakout as R, Stack as S, isLiveStreamViewer as T, clone as U, PlayerState as V, getLivestreamViewerAllowedQualityLevels as W, getPreference as X, setPreference as Y, uiState as a, createPeerStore as b, createDefaultConfig as c, defaultConfig as d, defaultIconPack as e, defaultLanguage as f, getInitialStates as g, useLanguage as h, isLiveStreamHost as i, disableSettingSinkId as j, chatUnreadTimestamps as k, defineProperty$1 as l, isObject as m, isArrayLike as n, isIndex as o, eq as p, isObjectLike as q, baseGetTag as r, getPrototype$1 as s, baseAssignValue as t, uiStore as u, copyObject as v, keysIn as w, isArray$1 as x, isBuffer$1 as y, isTypedArray$1 as z };