@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
@@ -456,6 +456,2323 @@ _BreakoutRoomsManager_hasLocalChanges = new WeakMap(), _BreakoutRoomsManager_sta
456
456
  return participantIds.map((id) => __classPrivateFieldGet(this, _BreakoutRoomsManager_allParticipantsMap, "f").get(id));
457
457
  };
458
458
 
459
+ /** Detect free variable `global` from Node.js. */
460
+ var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
461
+
462
+ const freeGlobal$1 = freeGlobal;
463
+
464
+ /** Detect free variable `self`. */
465
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
466
+
467
+ /** Used as a reference to the global object. */
468
+ var root = freeGlobal$1 || freeSelf || Function('return this')();
469
+
470
+ const root$1 = root;
471
+
472
+ /** Built-in value references. */
473
+ var Symbol = root$1.Symbol;
474
+
475
+ const Symbol$1 = Symbol;
476
+
477
+ /** Used for built-in method references. */
478
+ var objectProto$c = Object.prototype;
479
+
480
+ /** Used to check objects for own properties. */
481
+ var hasOwnProperty$9 = objectProto$c.hasOwnProperty;
482
+
483
+ /**
484
+ * Used to resolve the
485
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
486
+ * of values.
487
+ */
488
+ var nativeObjectToString$1 = objectProto$c.toString;
489
+
490
+ /** Built-in value references. */
491
+ var symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : undefined;
492
+
493
+ /**
494
+ * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
495
+ *
496
+ * @private
497
+ * @param {*} value The value to query.
498
+ * @returns {string} Returns the raw `toStringTag`.
499
+ */
500
+ function getRawTag(value) {
501
+ var isOwn = hasOwnProperty$9.call(value, symToStringTag$1),
502
+ tag = value[symToStringTag$1];
503
+
504
+ try {
505
+ value[symToStringTag$1] = undefined;
506
+ var unmasked = true;
507
+ } catch (e) {}
508
+
509
+ var result = nativeObjectToString$1.call(value);
510
+ if (unmasked) {
511
+ if (isOwn) {
512
+ value[symToStringTag$1] = tag;
513
+ } else {
514
+ delete value[symToStringTag$1];
515
+ }
516
+ }
517
+ return result;
518
+ }
519
+
520
+ /** Used for built-in method references. */
521
+ var objectProto$b = Object.prototype;
522
+
523
+ /**
524
+ * Used to resolve the
525
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
526
+ * of values.
527
+ */
528
+ var nativeObjectToString = objectProto$b.toString;
529
+
530
+ /**
531
+ * Converts `value` to a string using `Object.prototype.toString`.
532
+ *
533
+ * @private
534
+ * @param {*} value The value to convert.
535
+ * @returns {string} Returns the converted string.
536
+ */
537
+ function objectToString(value) {
538
+ return nativeObjectToString.call(value);
539
+ }
540
+
541
+ /** `Object#toString` result references. */
542
+ var nullTag = '[object Null]',
543
+ undefinedTag = '[object Undefined]';
544
+
545
+ /** Built-in value references. */
546
+ var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : undefined;
547
+
548
+ /**
549
+ * The base implementation of `getTag` without fallbacks for buggy environments.
550
+ *
551
+ * @private
552
+ * @param {*} value The value to query.
553
+ * @returns {string} Returns the `toStringTag`.
554
+ */
555
+ function baseGetTag(value) {
556
+ if (value == null) {
557
+ return value === undefined ? undefinedTag : nullTag;
558
+ }
559
+ return (symToStringTag && symToStringTag in Object(value))
560
+ ? getRawTag(value)
561
+ : objectToString(value);
562
+ }
563
+
564
+ /**
565
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
566
+ * and has a `typeof` result of "object".
567
+ *
568
+ * @static
569
+ * @memberOf _
570
+ * @since 4.0.0
571
+ * @category Lang
572
+ * @param {*} value The value to check.
573
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
574
+ * @example
575
+ *
576
+ * _.isObjectLike({});
577
+ * // => true
578
+ *
579
+ * _.isObjectLike([1, 2, 3]);
580
+ * // => true
581
+ *
582
+ * _.isObjectLike(_.noop);
583
+ * // => false
584
+ *
585
+ * _.isObjectLike(null);
586
+ * // => false
587
+ */
588
+ function isObjectLike(value) {
589
+ return value != null && typeof value == 'object';
590
+ }
591
+
592
+ /**
593
+ * Checks if `value` is classified as an `Array` object.
594
+ *
595
+ * @static
596
+ * @memberOf _
597
+ * @since 0.1.0
598
+ * @category Lang
599
+ * @param {*} value The value to check.
600
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
601
+ * @example
602
+ *
603
+ * _.isArray([1, 2, 3]);
604
+ * // => true
605
+ *
606
+ * _.isArray(document.body.children);
607
+ * // => false
608
+ *
609
+ * _.isArray('abc');
610
+ * // => false
611
+ *
612
+ * _.isArray(_.noop);
613
+ * // => false
614
+ */
615
+ var isArray = Array.isArray;
616
+
617
+ const isArray$1 = isArray;
618
+
619
+ /**
620
+ * Checks if `value` is the
621
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
622
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
623
+ *
624
+ * @static
625
+ * @memberOf _
626
+ * @since 0.1.0
627
+ * @category Lang
628
+ * @param {*} value The value to check.
629
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
630
+ * @example
631
+ *
632
+ * _.isObject({});
633
+ * // => true
634
+ *
635
+ * _.isObject([1, 2, 3]);
636
+ * // => true
637
+ *
638
+ * _.isObject(_.noop);
639
+ * // => true
640
+ *
641
+ * _.isObject(null);
642
+ * // => false
643
+ */
644
+ function isObject(value) {
645
+ var type = typeof value;
646
+ return value != null && (type == 'object' || type == 'function');
647
+ }
648
+
649
+ /** `Object#toString` result references. */
650
+ var asyncTag = '[object AsyncFunction]',
651
+ funcTag$2 = '[object Function]',
652
+ genTag$1 = '[object GeneratorFunction]',
653
+ proxyTag = '[object Proxy]';
654
+
655
+ /**
656
+ * Checks if `value` is classified as a `Function` object.
657
+ *
658
+ * @static
659
+ * @memberOf _
660
+ * @since 0.1.0
661
+ * @category Lang
662
+ * @param {*} value The value to check.
663
+ * @returns {boolean} Returns `true` if `value` is a function, else `false`.
664
+ * @example
665
+ *
666
+ * _.isFunction(_);
667
+ * // => true
668
+ *
669
+ * _.isFunction(/abc/);
670
+ * // => false
671
+ */
672
+ function isFunction(value) {
673
+ if (!isObject(value)) {
674
+ return false;
675
+ }
676
+ // The use of `Object#toString` avoids issues with the `typeof` operator
677
+ // in Safari 9 which returns 'object' for typed arrays and other constructors.
678
+ var tag = baseGetTag(value);
679
+ return tag == funcTag$2 || tag == genTag$1 || tag == asyncTag || tag == proxyTag;
680
+ }
681
+
682
+ /** Used to detect overreaching core-js shims. */
683
+ var coreJsData = root$1['__core-js_shared__'];
684
+
685
+ const coreJsData$1 = coreJsData;
686
+
687
+ /** Used to detect methods masquerading as native. */
688
+ var maskSrcKey = (function() {
689
+ var uid = /[^.]+$/.exec(coreJsData$1 && coreJsData$1.keys && coreJsData$1.keys.IE_PROTO || '');
690
+ return uid ? ('Symbol(src)_1.' + uid) : '';
691
+ }());
692
+
693
+ /**
694
+ * Checks if `func` has its source masked.
695
+ *
696
+ * @private
697
+ * @param {Function} func The function to check.
698
+ * @returns {boolean} Returns `true` if `func` is masked, else `false`.
699
+ */
700
+ function isMasked(func) {
701
+ return !!maskSrcKey && (maskSrcKey in func);
702
+ }
703
+
704
+ /** Used for built-in method references. */
705
+ var funcProto$1 = Function.prototype;
706
+
707
+ /** Used to resolve the decompiled source of functions. */
708
+ var funcToString$1 = funcProto$1.toString;
709
+
710
+ /**
711
+ * Converts `func` to its source code.
712
+ *
713
+ * @private
714
+ * @param {Function} func The function to convert.
715
+ * @returns {string} Returns the source code.
716
+ */
717
+ function toSource(func) {
718
+ if (func != null) {
719
+ try {
720
+ return funcToString$1.call(func);
721
+ } catch (e) {}
722
+ try {
723
+ return (func + '');
724
+ } catch (e) {}
725
+ }
726
+ return '';
727
+ }
728
+
729
+ /**
730
+ * Used to match `RegExp`
731
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
732
+ */
733
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
734
+
735
+ /** Used to detect host constructors (Safari). */
736
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
737
+
738
+ /** Used for built-in method references. */
739
+ var funcProto = Function.prototype,
740
+ objectProto$a = Object.prototype;
741
+
742
+ /** Used to resolve the decompiled source of functions. */
743
+ var funcToString = funcProto.toString;
744
+
745
+ /** Used to check objects for own properties. */
746
+ var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
747
+
748
+ /** Used to detect if a method is native. */
749
+ var reIsNative = RegExp('^' +
750
+ funcToString.call(hasOwnProperty$8).replace(reRegExpChar, '\\$&')
751
+ .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
752
+ );
753
+
754
+ /**
755
+ * The base implementation of `_.isNative` without bad shim checks.
756
+ *
757
+ * @private
758
+ * @param {*} value The value to check.
759
+ * @returns {boolean} Returns `true` if `value` is a native function,
760
+ * else `false`.
761
+ */
762
+ function baseIsNative(value) {
763
+ if (!isObject(value) || isMasked(value)) {
764
+ return false;
765
+ }
766
+ var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
767
+ return pattern.test(toSource(value));
768
+ }
769
+
770
+ /**
771
+ * Gets the value at `key` of `object`.
772
+ *
773
+ * @private
774
+ * @param {Object} [object] The object to query.
775
+ * @param {string} key The key of the property to get.
776
+ * @returns {*} Returns the property value.
777
+ */
778
+ function getValue(object, key) {
779
+ return object == null ? undefined : object[key];
780
+ }
781
+
782
+ /**
783
+ * Gets the native function at `key` of `object`.
784
+ *
785
+ * @private
786
+ * @param {Object} object The object to query.
787
+ * @param {string} key The key of the method to get.
788
+ * @returns {*} Returns the function if it's native, else `undefined`.
789
+ */
790
+ function getNative(object, key) {
791
+ var value = getValue(object, key);
792
+ return baseIsNative(value) ? value : undefined;
793
+ }
794
+
795
+ /* Built-in method references that are verified to be native. */
796
+ var WeakMap$1 = getNative(root$1, 'WeakMap');
797
+
798
+ const WeakMap$2 = WeakMap$1;
799
+
800
+ /** Built-in value references. */
801
+ var objectCreate = Object.create;
802
+
803
+ /**
804
+ * The base implementation of `_.create` without support for assigning
805
+ * properties to the created object.
806
+ *
807
+ * @private
808
+ * @param {Object} proto The object to inherit from.
809
+ * @returns {Object} Returns the new object.
810
+ */
811
+ var baseCreate = (function() {
812
+ function object() {}
813
+ return function(proto) {
814
+ if (!isObject(proto)) {
815
+ return {};
816
+ }
817
+ if (objectCreate) {
818
+ return objectCreate(proto);
819
+ }
820
+ object.prototype = proto;
821
+ var result = new object;
822
+ object.prototype = undefined;
823
+ return result;
824
+ };
825
+ }());
826
+
827
+ const baseCreate$1 = baseCreate;
828
+
829
+ /**
830
+ * Copies the values of `source` to `array`.
831
+ *
832
+ * @private
833
+ * @param {Array} source The array to copy values from.
834
+ * @param {Array} [array=[]] The array to copy values to.
835
+ * @returns {Array} Returns `array`.
836
+ */
837
+ function copyArray(source, array) {
838
+ var index = -1,
839
+ length = source.length;
840
+
841
+ array || (array = Array(length));
842
+ while (++index < length) {
843
+ array[index] = source[index];
844
+ }
845
+ return array;
846
+ }
847
+
848
+ var defineProperty = (function() {
849
+ try {
850
+ var func = getNative(Object, 'defineProperty');
851
+ func({}, '', {});
852
+ return func;
853
+ } catch (e) {}
854
+ }());
855
+
856
+ const defineProperty$1 = defineProperty;
857
+
858
+ /**
859
+ * A specialized version of `_.forEach` for arrays without support for
860
+ * iteratee shorthands.
861
+ *
862
+ * @private
863
+ * @param {Array} [array] The array to iterate over.
864
+ * @param {Function} iteratee The function invoked per iteration.
865
+ * @returns {Array} Returns `array`.
866
+ */
867
+ function arrayEach(array, iteratee) {
868
+ var index = -1,
869
+ length = array == null ? 0 : array.length;
870
+
871
+ while (++index < length) {
872
+ if (iteratee(array[index], index, array) === false) {
873
+ break;
874
+ }
875
+ }
876
+ return array;
877
+ }
878
+
879
+ /** Used as references for various `Number` constants. */
880
+ var MAX_SAFE_INTEGER$1 = 9007199254740991;
881
+
882
+ /** Used to detect unsigned integer values. */
883
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
884
+
885
+ /**
886
+ * Checks if `value` is a valid array-like index.
887
+ *
888
+ * @private
889
+ * @param {*} value The value to check.
890
+ * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
891
+ * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
892
+ */
893
+ function isIndex(value, length) {
894
+ var type = typeof value;
895
+ length = length == null ? MAX_SAFE_INTEGER$1 : length;
896
+
897
+ return !!length &&
898
+ (type == 'number' ||
899
+ (type != 'symbol' && reIsUint.test(value))) &&
900
+ (value > -1 && value % 1 == 0 && value < length);
901
+ }
902
+
903
+ /**
904
+ * The base implementation of `assignValue` and `assignMergeValue` without
905
+ * value checks.
906
+ *
907
+ * @private
908
+ * @param {Object} object The object to modify.
909
+ * @param {string} key The key of the property to assign.
910
+ * @param {*} value The value to assign.
911
+ */
912
+ function baseAssignValue(object, key, value) {
913
+ if (key == '__proto__' && defineProperty$1) {
914
+ defineProperty$1(object, key, {
915
+ 'configurable': true,
916
+ 'enumerable': true,
917
+ 'value': value,
918
+ 'writable': true
919
+ });
920
+ } else {
921
+ object[key] = value;
922
+ }
923
+ }
924
+
925
+ /**
926
+ * Performs a
927
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
928
+ * comparison between two values to determine if they are equivalent.
929
+ *
930
+ * @static
931
+ * @memberOf _
932
+ * @since 4.0.0
933
+ * @category Lang
934
+ * @param {*} value The value to compare.
935
+ * @param {*} other The other value to compare.
936
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
937
+ * @example
938
+ *
939
+ * var object = { 'a': 1 };
940
+ * var other = { 'a': 1 };
941
+ *
942
+ * _.eq(object, object);
943
+ * // => true
944
+ *
945
+ * _.eq(object, other);
946
+ * // => false
947
+ *
948
+ * _.eq('a', 'a');
949
+ * // => true
950
+ *
951
+ * _.eq('a', Object('a'));
952
+ * // => false
953
+ *
954
+ * _.eq(NaN, NaN);
955
+ * // => true
956
+ */
957
+ function eq(value, other) {
958
+ return value === other || (value !== value && other !== other);
959
+ }
960
+
961
+ /** Used for built-in method references. */
962
+ var objectProto$9 = Object.prototype;
963
+
964
+ /** Used to check objects for own properties. */
965
+ var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
966
+
967
+ /**
968
+ * Assigns `value` to `key` of `object` if the existing value is not equivalent
969
+ * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
970
+ * for equality comparisons.
971
+ *
972
+ * @private
973
+ * @param {Object} object The object to modify.
974
+ * @param {string} key The key of the property to assign.
975
+ * @param {*} value The value to assign.
976
+ */
977
+ function assignValue(object, key, value) {
978
+ var objValue = object[key];
979
+ if (!(hasOwnProperty$7.call(object, key) && eq(objValue, value)) ||
980
+ (value === undefined && !(key in object))) {
981
+ baseAssignValue(object, key, value);
982
+ }
983
+ }
984
+
985
+ /**
986
+ * Copies properties of `source` to `object`.
987
+ *
988
+ * @private
989
+ * @param {Object} source The object to copy properties from.
990
+ * @param {Array} props The property identifiers to copy.
991
+ * @param {Object} [object={}] The object to copy properties to.
992
+ * @param {Function} [customizer] The function to customize copied values.
993
+ * @returns {Object} Returns `object`.
994
+ */
995
+ function copyObject(source, props, object, customizer) {
996
+ var isNew = !object;
997
+ object || (object = {});
998
+
999
+ var index = -1,
1000
+ length = props.length;
1001
+
1002
+ while (++index < length) {
1003
+ var key = props[index];
1004
+
1005
+ var newValue = customizer
1006
+ ? customizer(object[key], source[key], key, object, source)
1007
+ : undefined;
1008
+
1009
+ if (newValue === undefined) {
1010
+ newValue = source[key];
1011
+ }
1012
+ if (isNew) {
1013
+ baseAssignValue(object, key, newValue);
1014
+ } else {
1015
+ assignValue(object, key, newValue);
1016
+ }
1017
+ }
1018
+ return object;
1019
+ }
1020
+
1021
+ /** Used as references for various `Number` constants. */
1022
+ var MAX_SAFE_INTEGER = 9007199254740991;
1023
+
1024
+ /**
1025
+ * Checks if `value` is a valid array-like length.
1026
+ *
1027
+ * **Note:** This method is loosely based on
1028
+ * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
1029
+ *
1030
+ * @static
1031
+ * @memberOf _
1032
+ * @since 4.0.0
1033
+ * @category Lang
1034
+ * @param {*} value The value to check.
1035
+ * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
1036
+ * @example
1037
+ *
1038
+ * _.isLength(3);
1039
+ * // => true
1040
+ *
1041
+ * _.isLength(Number.MIN_VALUE);
1042
+ * // => false
1043
+ *
1044
+ * _.isLength(Infinity);
1045
+ * // => false
1046
+ *
1047
+ * _.isLength('3');
1048
+ * // => false
1049
+ */
1050
+ function isLength(value) {
1051
+ return typeof value == 'number' &&
1052
+ value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
1053
+ }
1054
+
1055
+ /**
1056
+ * Checks if `value` is array-like. A value is considered array-like if it's
1057
+ * not a function and has a `value.length` that's an integer greater than or
1058
+ * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
1059
+ *
1060
+ * @static
1061
+ * @memberOf _
1062
+ * @since 4.0.0
1063
+ * @category Lang
1064
+ * @param {*} value The value to check.
1065
+ * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
1066
+ * @example
1067
+ *
1068
+ * _.isArrayLike([1, 2, 3]);
1069
+ * // => true
1070
+ *
1071
+ * _.isArrayLike(document.body.children);
1072
+ * // => true
1073
+ *
1074
+ * _.isArrayLike('abc');
1075
+ * // => true
1076
+ *
1077
+ * _.isArrayLike(_.noop);
1078
+ * // => false
1079
+ */
1080
+ function isArrayLike(value) {
1081
+ return value != null && isLength(value.length) && !isFunction(value);
1082
+ }
1083
+
1084
+ /** Used for built-in method references. */
1085
+ var objectProto$8 = Object.prototype;
1086
+
1087
+ /**
1088
+ * Checks if `value` is likely a prototype object.
1089
+ *
1090
+ * @private
1091
+ * @param {*} value The value to check.
1092
+ * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
1093
+ */
1094
+ function isPrototype(value) {
1095
+ var Ctor = value && value.constructor,
1096
+ proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$8;
1097
+
1098
+ return value === proto;
1099
+ }
1100
+
1101
+ /**
1102
+ * The base implementation of `_.times` without support for iteratee shorthands
1103
+ * or max array length checks.
1104
+ *
1105
+ * @private
1106
+ * @param {number} n The number of times to invoke `iteratee`.
1107
+ * @param {Function} iteratee The function invoked per iteration.
1108
+ * @returns {Array} Returns the array of results.
1109
+ */
1110
+ function baseTimes(n, iteratee) {
1111
+ var index = -1,
1112
+ result = Array(n);
1113
+
1114
+ while (++index < n) {
1115
+ result[index] = iteratee(index);
1116
+ }
1117
+ return result;
1118
+ }
1119
+
1120
+ /** `Object#toString` result references. */
1121
+ var argsTag$2 = '[object Arguments]';
1122
+
1123
+ /**
1124
+ * The base implementation of `_.isArguments`.
1125
+ *
1126
+ * @private
1127
+ * @param {*} value The value to check.
1128
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
1129
+ */
1130
+ function baseIsArguments(value) {
1131
+ return isObjectLike(value) && baseGetTag(value) == argsTag$2;
1132
+ }
1133
+
1134
+ /** Used for built-in method references. */
1135
+ var objectProto$7 = Object.prototype;
1136
+
1137
+ /** Used to check objects for own properties. */
1138
+ var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
1139
+
1140
+ /** Built-in value references. */
1141
+ var propertyIsEnumerable$1 = objectProto$7.propertyIsEnumerable;
1142
+
1143
+ /**
1144
+ * Checks if `value` is likely an `arguments` object.
1145
+ *
1146
+ * @static
1147
+ * @memberOf _
1148
+ * @since 0.1.0
1149
+ * @category Lang
1150
+ * @param {*} value The value to check.
1151
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
1152
+ * else `false`.
1153
+ * @example
1154
+ *
1155
+ * _.isArguments(function() { return arguments; }());
1156
+ * // => true
1157
+ *
1158
+ * _.isArguments([1, 2, 3]);
1159
+ * // => false
1160
+ */
1161
+ var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
1162
+ return isObjectLike(value) && hasOwnProperty$6.call(value, 'callee') &&
1163
+ !propertyIsEnumerable$1.call(value, 'callee');
1164
+ };
1165
+
1166
+ const isArguments$1 = isArguments;
1167
+
1168
+ /**
1169
+ * This method returns `false`.
1170
+ *
1171
+ * @static
1172
+ * @memberOf _
1173
+ * @since 4.13.0
1174
+ * @category Util
1175
+ * @returns {boolean} Returns `false`.
1176
+ * @example
1177
+ *
1178
+ * _.times(2, _.stubFalse);
1179
+ * // => [false, false]
1180
+ */
1181
+ function stubFalse() {
1182
+ return false;
1183
+ }
1184
+
1185
+ /** Detect free variable `exports`. */
1186
+ var freeExports$2 = typeof exports == 'object' && exports && !exports.nodeType && exports;
1187
+
1188
+ /** Detect free variable `module`. */
1189
+ var freeModule$2 = freeExports$2 && typeof module == 'object' && module && !module.nodeType && module;
1190
+
1191
+ /** Detect the popular CommonJS extension `module.exports`. */
1192
+ var moduleExports$2 = freeModule$2 && freeModule$2.exports === freeExports$2;
1193
+
1194
+ /** Built-in value references. */
1195
+ var Buffer$1 = moduleExports$2 ? root$1.Buffer : undefined;
1196
+
1197
+ /* Built-in method references for those with the same name as other `lodash` methods. */
1198
+ var nativeIsBuffer = Buffer$1 ? Buffer$1.isBuffer : undefined;
1199
+
1200
+ /**
1201
+ * Checks if `value` is a buffer.
1202
+ *
1203
+ * @static
1204
+ * @memberOf _
1205
+ * @since 4.3.0
1206
+ * @category Lang
1207
+ * @param {*} value The value to check.
1208
+ * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
1209
+ * @example
1210
+ *
1211
+ * _.isBuffer(new Buffer(2));
1212
+ * // => true
1213
+ *
1214
+ * _.isBuffer(new Uint8Array(2));
1215
+ * // => false
1216
+ */
1217
+ var isBuffer = nativeIsBuffer || stubFalse;
1218
+
1219
+ const isBuffer$1 = isBuffer;
1220
+
1221
+ /** `Object#toString` result references. */
1222
+ var argsTag$1 = '[object Arguments]',
1223
+ arrayTag$1 = '[object Array]',
1224
+ boolTag$2 = '[object Boolean]',
1225
+ dateTag$2 = '[object Date]',
1226
+ errorTag$1 = '[object Error]',
1227
+ funcTag$1 = '[object Function]',
1228
+ mapTag$4 = '[object Map]',
1229
+ numberTag$2 = '[object Number]',
1230
+ objectTag$2 = '[object Object]',
1231
+ regexpTag$2 = '[object RegExp]',
1232
+ setTag$4 = '[object Set]',
1233
+ stringTag$2 = '[object String]',
1234
+ weakMapTag$2 = '[object WeakMap]';
1235
+
1236
+ var arrayBufferTag$2 = '[object ArrayBuffer]',
1237
+ dataViewTag$3 = '[object DataView]',
1238
+ float32Tag$2 = '[object Float32Array]',
1239
+ float64Tag$2 = '[object Float64Array]',
1240
+ int8Tag$2 = '[object Int8Array]',
1241
+ int16Tag$2 = '[object Int16Array]',
1242
+ int32Tag$2 = '[object Int32Array]',
1243
+ uint8Tag$2 = '[object Uint8Array]',
1244
+ uint8ClampedTag$2 = '[object Uint8ClampedArray]',
1245
+ uint16Tag$2 = '[object Uint16Array]',
1246
+ uint32Tag$2 = '[object Uint32Array]';
1247
+
1248
+ /** Used to identify `toStringTag` values of typed arrays. */
1249
+ var typedArrayTags = {};
1250
+ typedArrayTags[float32Tag$2] = typedArrayTags[float64Tag$2] =
1251
+ typedArrayTags[int8Tag$2] = typedArrayTags[int16Tag$2] =
1252
+ typedArrayTags[int32Tag$2] = typedArrayTags[uint8Tag$2] =
1253
+ typedArrayTags[uint8ClampedTag$2] = typedArrayTags[uint16Tag$2] =
1254
+ typedArrayTags[uint32Tag$2] = true;
1255
+ typedArrayTags[argsTag$1] = typedArrayTags[arrayTag$1] =
1256
+ typedArrayTags[arrayBufferTag$2] = typedArrayTags[boolTag$2] =
1257
+ typedArrayTags[dataViewTag$3] = typedArrayTags[dateTag$2] =
1258
+ typedArrayTags[errorTag$1] = typedArrayTags[funcTag$1] =
1259
+ typedArrayTags[mapTag$4] = typedArrayTags[numberTag$2] =
1260
+ typedArrayTags[objectTag$2] = typedArrayTags[regexpTag$2] =
1261
+ typedArrayTags[setTag$4] = typedArrayTags[stringTag$2] =
1262
+ typedArrayTags[weakMapTag$2] = false;
1263
+
1264
+ /**
1265
+ * The base implementation of `_.isTypedArray` without Node.js optimizations.
1266
+ *
1267
+ * @private
1268
+ * @param {*} value The value to check.
1269
+ * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
1270
+ */
1271
+ function baseIsTypedArray(value) {
1272
+ return isObjectLike(value) &&
1273
+ isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
1274
+ }
1275
+
1276
+ /**
1277
+ * The base implementation of `_.unary` without support for storing metadata.
1278
+ *
1279
+ * @private
1280
+ * @param {Function} func The function to cap arguments for.
1281
+ * @returns {Function} Returns the new capped function.
1282
+ */
1283
+ function baseUnary(func) {
1284
+ return function(value) {
1285
+ return func(value);
1286
+ };
1287
+ }
1288
+
1289
+ /** Detect free variable `exports`. */
1290
+ var freeExports$1 = typeof exports == 'object' && exports && !exports.nodeType && exports;
1291
+
1292
+ /** Detect free variable `module`. */
1293
+ var freeModule$1 = freeExports$1 && typeof module == 'object' && module && !module.nodeType && module;
1294
+
1295
+ /** Detect the popular CommonJS extension `module.exports`. */
1296
+ var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
1297
+
1298
+ /** Detect free variable `process` from Node.js. */
1299
+ var freeProcess = moduleExports$1 && freeGlobal$1.process;
1300
+
1301
+ /** Used to access faster Node.js helpers. */
1302
+ var nodeUtil = (function() {
1303
+ try {
1304
+ // Use `util.types` for Node.js 10+.
1305
+ var types = freeModule$1 && freeModule$1.require && freeModule$1.require('util').types;
1306
+
1307
+ if (types) {
1308
+ return types;
1309
+ }
1310
+
1311
+ // Legacy `process.binding('util')` for Node.js < 10.
1312
+ return freeProcess && freeProcess.binding && freeProcess.binding('util');
1313
+ } catch (e) {}
1314
+ }());
1315
+
1316
+ const nodeUtil$1 = nodeUtil;
1317
+
1318
+ /* Node.js helper references. */
1319
+ var nodeIsTypedArray = nodeUtil$1 && nodeUtil$1.isTypedArray;
1320
+
1321
+ /**
1322
+ * Checks if `value` is classified as a typed array.
1323
+ *
1324
+ * @static
1325
+ * @memberOf _
1326
+ * @since 3.0.0
1327
+ * @category Lang
1328
+ * @param {*} value The value to check.
1329
+ * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
1330
+ * @example
1331
+ *
1332
+ * _.isTypedArray(new Uint8Array);
1333
+ * // => true
1334
+ *
1335
+ * _.isTypedArray([]);
1336
+ * // => false
1337
+ */
1338
+ var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
1339
+
1340
+ const isTypedArray$1 = isTypedArray;
1341
+
1342
+ /** Used for built-in method references. */
1343
+ var objectProto$6 = Object.prototype;
1344
+
1345
+ /** Used to check objects for own properties. */
1346
+ var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
1347
+
1348
+ /**
1349
+ * Creates an array of the enumerable property names of the array-like `value`.
1350
+ *
1351
+ * @private
1352
+ * @param {*} value The value to query.
1353
+ * @param {boolean} inherited Specify returning inherited property names.
1354
+ * @returns {Array} Returns the array of property names.
1355
+ */
1356
+ function arrayLikeKeys(value, inherited) {
1357
+ var isArr = isArray$1(value),
1358
+ isArg = !isArr && isArguments$1(value),
1359
+ isBuff = !isArr && !isArg && isBuffer$1(value),
1360
+ isType = !isArr && !isArg && !isBuff && isTypedArray$1(value),
1361
+ skipIndexes = isArr || isArg || isBuff || isType,
1362
+ result = skipIndexes ? baseTimes(value.length, String) : [],
1363
+ length = result.length;
1364
+
1365
+ for (var key in value) {
1366
+ if ((inherited || hasOwnProperty$5.call(value, key)) &&
1367
+ !(skipIndexes && (
1368
+ // Safari 9 has enumerable `arguments.length` in strict mode.
1369
+ key == 'length' ||
1370
+ // Node.js 0.10 has enumerable non-index properties on buffers.
1371
+ (isBuff && (key == 'offset' || key == 'parent')) ||
1372
+ // PhantomJS 2 has enumerable non-index properties on typed arrays.
1373
+ (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
1374
+ // Skip index properties.
1375
+ isIndex(key, length)
1376
+ ))) {
1377
+ result.push(key);
1378
+ }
1379
+ }
1380
+ return result;
1381
+ }
1382
+
1383
+ /**
1384
+ * Creates a unary function that invokes `func` with its argument transformed.
1385
+ *
1386
+ * @private
1387
+ * @param {Function} func The function to wrap.
1388
+ * @param {Function} transform The argument transform.
1389
+ * @returns {Function} Returns the new function.
1390
+ */
1391
+ function overArg(func, transform) {
1392
+ return function(arg) {
1393
+ return func(transform(arg));
1394
+ };
1395
+ }
1396
+
1397
+ /* Built-in method references for those with the same name as other `lodash` methods. */
1398
+ var nativeKeys = overArg(Object.keys, Object);
1399
+
1400
+ const nativeKeys$1 = nativeKeys;
1401
+
1402
+ /** Used for built-in method references. */
1403
+ var objectProto$5 = Object.prototype;
1404
+
1405
+ /** Used to check objects for own properties. */
1406
+ var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
1407
+
1408
+ /**
1409
+ * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
1410
+ *
1411
+ * @private
1412
+ * @param {Object} object The object to query.
1413
+ * @returns {Array} Returns the array of property names.
1414
+ */
1415
+ function baseKeys(object) {
1416
+ if (!isPrototype(object)) {
1417
+ return nativeKeys$1(object);
1418
+ }
1419
+ var result = [];
1420
+ for (var key in Object(object)) {
1421
+ if (hasOwnProperty$4.call(object, key) && key != 'constructor') {
1422
+ result.push(key);
1423
+ }
1424
+ }
1425
+ return result;
1426
+ }
1427
+
1428
+ /**
1429
+ * Creates an array of the own enumerable property names of `object`.
1430
+ *
1431
+ * **Note:** Non-object values are coerced to objects. See the
1432
+ * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
1433
+ * for more details.
1434
+ *
1435
+ * @static
1436
+ * @since 0.1.0
1437
+ * @memberOf _
1438
+ * @category Object
1439
+ * @param {Object} object The object to query.
1440
+ * @returns {Array} Returns the array of property names.
1441
+ * @example
1442
+ *
1443
+ * function Foo() {
1444
+ * this.a = 1;
1445
+ * this.b = 2;
1446
+ * }
1447
+ *
1448
+ * Foo.prototype.c = 3;
1449
+ *
1450
+ * _.keys(new Foo);
1451
+ * // => ['a', 'b'] (iteration order is not guaranteed)
1452
+ *
1453
+ * _.keys('hi');
1454
+ * // => ['0', '1']
1455
+ */
1456
+ function keys(object) {
1457
+ return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
1458
+ }
1459
+
1460
+ /**
1461
+ * This function is like
1462
+ * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
1463
+ * except that it includes inherited enumerable properties.
1464
+ *
1465
+ * @private
1466
+ * @param {Object} object The object to query.
1467
+ * @returns {Array} Returns the array of property names.
1468
+ */
1469
+ function nativeKeysIn(object) {
1470
+ var result = [];
1471
+ if (object != null) {
1472
+ for (var key in Object(object)) {
1473
+ result.push(key);
1474
+ }
1475
+ }
1476
+ return result;
1477
+ }
1478
+
1479
+ /** Used for built-in method references. */
1480
+ var objectProto$4 = Object.prototype;
1481
+
1482
+ /** Used to check objects for own properties. */
1483
+ var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
1484
+
1485
+ /**
1486
+ * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
1487
+ *
1488
+ * @private
1489
+ * @param {Object} object The object to query.
1490
+ * @returns {Array} Returns the array of property names.
1491
+ */
1492
+ function baseKeysIn(object) {
1493
+ if (!isObject(object)) {
1494
+ return nativeKeysIn(object);
1495
+ }
1496
+ var isProto = isPrototype(object),
1497
+ result = [];
1498
+
1499
+ for (var key in object) {
1500
+ if (!(key == 'constructor' && (isProto || !hasOwnProperty$3.call(object, key)))) {
1501
+ result.push(key);
1502
+ }
1503
+ }
1504
+ return result;
1505
+ }
1506
+
1507
+ /**
1508
+ * Creates an array of the own and inherited enumerable property names of `object`.
1509
+ *
1510
+ * **Note:** Non-object values are coerced to objects.
1511
+ *
1512
+ * @static
1513
+ * @memberOf _
1514
+ * @since 3.0.0
1515
+ * @category Object
1516
+ * @param {Object} object The object to query.
1517
+ * @returns {Array} Returns the array of property names.
1518
+ * @example
1519
+ *
1520
+ * function Foo() {
1521
+ * this.a = 1;
1522
+ * this.b = 2;
1523
+ * }
1524
+ *
1525
+ * Foo.prototype.c = 3;
1526
+ *
1527
+ * _.keysIn(new Foo);
1528
+ * // => ['a', 'b', 'c'] (iteration order is not guaranteed)
1529
+ */
1530
+ function keysIn(object) {
1531
+ return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
1532
+ }
1533
+
1534
+ /* Built-in method references that are verified to be native. */
1535
+ var nativeCreate = getNative(Object, 'create');
1536
+
1537
+ const nativeCreate$1 = nativeCreate;
1538
+
1539
+ /**
1540
+ * Removes all key-value entries from the hash.
1541
+ *
1542
+ * @private
1543
+ * @name clear
1544
+ * @memberOf Hash
1545
+ */
1546
+ function hashClear() {
1547
+ this.__data__ = nativeCreate$1 ? nativeCreate$1(null) : {};
1548
+ this.size = 0;
1549
+ }
1550
+
1551
+ /**
1552
+ * Removes `key` and its value from the hash.
1553
+ *
1554
+ * @private
1555
+ * @name delete
1556
+ * @memberOf Hash
1557
+ * @param {Object} hash The hash to modify.
1558
+ * @param {string} key The key of the value to remove.
1559
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1560
+ */
1561
+ function hashDelete(key) {
1562
+ var result = this.has(key) && delete this.__data__[key];
1563
+ this.size -= result ? 1 : 0;
1564
+ return result;
1565
+ }
1566
+
1567
+ /** Used to stand-in for `undefined` hash values. */
1568
+ var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
1569
+
1570
+ /** Used for built-in method references. */
1571
+ var objectProto$3 = Object.prototype;
1572
+
1573
+ /** Used to check objects for own properties. */
1574
+ var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
1575
+
1576
+ /**
1577
+ * Gets the hash value for `key`.
1578
+ *
1579
+ * @private
1580
+ * @name get
1581
+ * @memberOf Hash
1582
+ * @param {string} key The key of the value to get.
1583
+ * @returns {*} Returns the entry value.
1584
+ */
1585
+ function hashGet(key) {
1586
+ var data = this.__data__;
1587
+ if (nativeCreate$1) {
1588
+ var result = data[key];
1589
+ return result === HASH_UNDEFINED$1 ? undefined : result;
1590
+ }
1591
+ return hasOwnProperty$2.call(data, key) ? data[key] : undefined;
1592
+ }
1593
+
1594
+ /** Used for built-in method references. */
1595
+ var objectProto$2 = Object.prototype;
1596
+
1597
+ /** Used to check objects for own properties. */
1598
+ var hasOwnProperty$1 = objectProto$2.hasOwnProperty;
1599
+
1600
+ /**
1601
+ * Checks if a hash value for `key` exists.
1602
+ *
1603
+ * @private
1604
+ * @name has
1605
+ * @memberOf Hash
1606
+ * @param {string} key The key of the entry to check.
1607
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1608
+ */
1609
+ function hashHas(key) {
1610
+ var data = this.__data__;
1611
+ return nativeCreate$1 ? (data[key] !== undefined) : hasOwnProperty$1.call(data, key);
1612
+ }
1613
+
1614
+ /** Used to stand-in for `undefined` hash values. */
1615
+ var HASH_UNDEFINED = '__lodash_hash_undefined__';
1616
+
1617
+ /**
1618
+ * Sets the hash `key` to `value`.
1619
+ *
1620
+ * @private
1621
+ * @name set
1622
+ * @memberOf Hash
1623
+ * @param {string} key The key of the value to set.
1624
+ * @param {*} value The value to set.
1625
+ * @returns {Object} Returns the hash instance.
1626
+ */
1627
+ function hashSet(key, value) {
1628
+ var data = this.__data__;
1629
+ this.size += this.has(key) ? 0 : 1;
1630
+ data[key] = (nativeCreate$1 && value === undefined) ? HASH_UNDEFINED : value;
1631
+ return this;
1632
+ }
1633
+
1634
+ /**
1635
+ * Creates a hash object.
1636
+ *
1637
+ * @private
1638
+ * @constructor
1639
+ * @param {Array} [entries] The key-value pairs to cache.
1640
+ */
1641
+ function Hash(entries) {
1642
+ var index = -1,
1643
+ length = entries == null ? 0 : entries.length;
1644
+
1645
+ this.clear();
1646
+ while (++index < length) {
1647
+ var entry = entries[index];
1648
+ this.set(entry[0], entry[1]);
1649
+ }
1650
+ }
1651
+
1652
+ // Add methods to `Hash`.
1653
+ Hash.prototype.clear = hashClear;
1654
+ Hash.prototype['delete'] = hashDelete;
1655
+ Hash.prototype.get = hashGet;
1656
+ Hash.prototype.has = hashHas;
1657
+ Hash.prototype.set = hashSet;
1658
+
1659
+ /**
1660
+ * Removes all key-value entries from the list cache.
1661
+ *
1662
+ * @private
1663
+ * @name clear
1664
+ * @memberOf ListCache
1665
+ */
1666
+ function listCacheClear() {
1667
+ this.__data__ = [];
1668
+ this.size = 0;
1669
+ }
1670
+
1671
+ /**
1672
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
1673
+ *
1674
+ * @private
1675
+ * @param {Array} array The array to inspect.
1676
+ * @param {*} key The key to search for.
1677
+ * @returns {number} Returns the index of the matched value, else `-1`.
1678
+ */
1679
+ function assocIndexOf(array, key) {
1680
+ var length = array.length;
1681
+ while (length--) {
1682
+ if (eq(array[length][0], key)) {
1683
+ return length;
1684
+ }
1685
+ }
1686
+ return -1;
1687
+ }
1688
+
1689
+ /** Used for built-in method references. */
1690
+ var arrayProto = Array.prototype;
1691
+
1692
+ /** Built-in value references. */
1693
+ var splice = arrayProto.splice;
1694
+
1695
+ /**
1696
+ * Removes `key` and its value from the list cache.
1697
+ *
1698
+ * @private
1699
+ * @name delete
1700
+ * @memberOf ListCache
1701
+ * @param {string} key The key of the value to remove.
1702
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1703
+ */
1704
+ function listCacheDelete(key) {
1705
+ var data = this.__data__,
1706
+ index = assocIndexOf(data, key);
1707
+
1708
+ if (index < 0) {
1709
+ return false;
1710
+ }
1711
+ var lastIndex = data.length - 1;
1712
+ if (index == lastIndex) {
1713
+ data.pop();
1714
+ } else {
1715
+ splice.call(data, index, 1);
1716
+ }
1717
+ --this.size;
1718
+ return true;
1719
+ }
1720
+
1721
+ /**
1722
+ * Gets the list cache value for `key`.
1723
+ *
1724
+ * @private
1725
+ * @name get
1726
+ * @memberOf ListCache
1727
+ * @param {string} key The key of the value to get.
1728
+ * @returns {*} Returns the entry value.
1729
+ */
1730
+ function listCacheGet(key) {
1731
+ var data = this.__data__,
1732
+ index = assocIndexOf(data, key);
1733
+
1734
+ return index < 0 ? undefined : data[index][1];
1735
+ }
1736
+
1737
+ /**
1738
+ * Checks if a list cache value for `key` exists.
1739
+ *
1740
+ * @private
1741
+ * @name has
1742
+ * @memberOf ListCache
1743
+ * @param {string} key The key of the entry to check.
1744
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1745
+ */
1746
+ function listCacheHas(key) {
1747
+ return assocIndexOf(this.__data__, key) > -1;
1748
+ }
1749
+
1750
+ /**
1751
+ * Sets the list cache `key` to `value`.
1752
+ *
1753
+ * @private
1754
+ * @name set
1755
+ * @memberOf ListCache
1756
+ * @param {string} key The key of the value to set.
1757
+ * @param {*} value The value to set.
1758
+ * @returns {Object} Returns the list cache instance.
1759
+ */
1760
+ function listCacheSet(key, value) {
1761
+ var data = this.__data__,
1762
+ index = assocIndexOf(data, key);
1763
+
1764
+ if (index < 0) {
1765
+ ++this.size;
1766
+ data.push([key, value]);
1767
+ } else {
1768
+ data[index][1] = value;
1769
+ }
1770
+ return this;
1771
+ }
1772
+
1773
+ /**
1774
+ * Creates an list cache object.
1775
+ *
1776
+ * @private
1777
+ * @constructor
1778
+ * @param {Array} [entries] The key-value pairs to cache.
1779
+ */
1780
+ function ListCache(entries) {
1781
+ var index = -1,
1782
+ length = entries == null ? 0 : entries.length;
1783
+
1784
+ this.clear();
1785
+ while (++index < length) {
1786
+ var entry = entries[index];
1787
+ this.set(entry[0], entry[1]);
1788
+ }
1789
+ }
1790
+
1791
+ // Add methods to `ListCache`.
1792
+ ListCache.prototype.clear = listCacheClear;
1793
+ ListCache.prototype['delete'] = listCacheDelete;
1794
+ ListCache.prototype.get = listCacheGet;
1795
+ ListCache.prototype.has = listCacheHas;
1796
+ ListCache.prototype.set = listCacheSet;
1797
+
1798
+ /* Built-in method references that are verified to be native. */
1799
+ var Map$1 = getNative(root$1, 'Map');
1800
+
1801
+ const Map$2 = Map$1;
1802
+
1803
+ /**
1804
+ * Removes all key-value entries from the map.
1805
+ *
1806
+ * @private
1807
+ * @name clear
1808
+ * @memberOf MapCache
1809
+ */
1810
+ function mapCacheClear() {
1811
+ this.size = 0;
1812
+ this.__data__ = {
1813
+ 'hash': new Hash,
1814
+ 'map': new (Map$2 || ListCache),
1815
+ 'string': new Hash
1816
+ };
1817
+ }
1818
+
1819
+ /**
1820
+ * Checks if `value` is suitable for use as unique object key.
1821
+ *
1822
+ * @private
1823
+ * @param {*} value The value to check.
1824
+ * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
1825
+ */
1826
+ function isKeyable(value) {
1827
+ var type = typeof value;
1828
+ return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
1829
+ ? (value !== '__proto__')
1830
+ : (value === null);
1831
+ }
1832
+
1833
+ /**
1834
+ * Gets the data for `map`.
1835
+ *
1836
+ * @private
1837
+ * @param {Object} map The map to query.
1838
+ * @param {string} key The reference key.
1839
+ * @returns {*} Returns the map data.
1840
+ */
1841
+ function getMapData(map, key) {
1842
+ var data = map.__data__;
1843
+ return isKeyable(key)
1844
+ ? data[typeof key == 'string' ? 'string' : 'hash']
1845
+ : data.map;
1846
+ }
1847
+
1848
+ /**
1849
+ * Removes `key` and its value from the map.
1850
+ *
1851
+ * @private
1852
+ * @name delete
1853
+ * @memberOf MapCache
1854
+ * @param {string} key The key of the value to remove.
1855
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1856
+ */
1857
+ function mapCacheDelete(key) {
1858
+ var result = getMapData(this, key)['delete'](key);
1859
+ this.size -= result ? 1 : 0;
1860
+ return result;
1861
+ }
1862
+
1863
+ /**
1864
+ * Gets the map value for `key`.
1865
+ *
1866
+ * @private
1867
+ * @name get
1868
+ * @memberOf MapCache
1869
+ * @param {string} key The key of the value to get.
1870
+ * @returns {*} Returns the entry value.
1871
+ */
1872
+ function mapCacheGet(key) {
1873
+ return getMapData(this, key).get(key);
1874
+ }
1875
+
1876
+ /**
1877
+ * Checks if a map value for `key` exists.
1878
+ *
1879
+ * @private
1880
+ * @name has
1881
+ * @memberOf MapCache
1882
+ * @param {string} key The key of the entry to check.
1883
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1884
+ */
1885
+ function mapCacheHas(key) {
1886
+ return getMapData(this, key).has(key);
1887
+ }
1888
+
1889
+ /**
1890
+ * Sets the map `key` to `value`.
1891
+ *
1892
+ * @private
1893
+ * @name set
1894
+ * @memberOf MapCache
1895
+ * @param {string} key The key of the value to set.
1896
+ * @param {*} value The value to set.
1897
+ * @returns {Object} Returns the map cache instance.
1898
+ */
1899
+ function mapCacheSet(key, value) {
1900
+ var data = getMapData(this, key),
1901
+ size = data.size;
1902
+
1903
+ data.set(key, value);
1904
+ this.size += data.size == size ? 0 : 1;
1905
+ return this;
1906
+ }
1907
+
1908
+ /**
1909
+ * Creates a map cache object to store key-value pairs.
1910
+ *
1911
+ * @private
1912
+ * @constructor
1913
+ * @param {Array} [entries] The key-value pairs to cache.
1914
+ */
1915
+ function MapCache(entries) {
1916
+ var index = -1,
1917
+ length = entries == null ? 0 : entries.length;
1918
+
1919
+ this.clear();
1920
+ while (++index < length) {
1921
+ var entry = entries[index];
1922
+ this.set(entry[0], entry[1]);
1923
+ }
1924
+ }
1925
+
1926
+ // Add methods to `MapCache`.
1927
+ MapCache.prototype.clear = mapCacheClear;
1928
+ MapCache.prototype['delete'] = mapCacheDelete;
1929
+ MapCache.prototype.get = mapCacheGet;
1930
+ MapCache.prototype.has = mapCacheHas;
1931
+ MapCache.prototype.set = mapCacheSet;
1932
+
1933
+ /**
1934
+ * Appends the elements of `values` to `array`.
1935
+ *
1936
+ * @private
1937
+ * @param {Array} array The array to modify.
1938
+ * @param {Array} values The values to append.
1939
+ * @returns {Array} Returns `array`.
1940
+ */
1941
+ function arrayPush(array, values) {
1942
+ var index = -1,
1943
+ length = values.length,
1944
+ offset = array.length;
1945
+
1946
+ while (++index < length) {
1947
+ array[offset + index] = values[index];
1948
+ }
1949
+ return array;
1950
+ }
1951
+
1952
+ /** Built-in value references. */
1953
+ var getPrototype = overArg(Object.getPrototypeOf, Object);
1954
+
1955
+ const getPrototype$1 = getPrototype;
1956
+
1957
+ /**
1958
+ * Removes all key-value entries from the stack.
1959
+ *
1960
+ * @private
1961
+ * @name clear
1962
+ * @memberOf Stack
1963
+ */
1964
+ function stackClear() {
1965
+ this.__data__ = new ListCache;
1966
+ this.size = 0;
1967
+ }
1968
+
1969
+ /**
1970
+ * Removes `key` and its value from the stack.
1971
+ *
1972
+ * @private
1973
+ * @name delete
1974
+ * @memberOf Stack
1975
+ * @param {string} key The key of the value to remove.
1976
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1977
+ */
1978
+ function stackDelete(key) {
1979
+ var data = this.__data__,
1980
+ result = data['delete'](key);
1981
+
1982
+ this.size = data.size;
1983
+ return result;
1984
+ }
1985
+
1986
+ /**
1987
+ * Gets the stack value for `key`.
1988
+ *
1989
+ * @private
1990
+ * @name get
1991
+ * @memberOf Stack
1992
+ * @param {string} key The key of the value to get.
1993
+ * @returns {*} Returns the entry value.
1994
+ */
1995
+ function stackGet(key) {
1996
+ return this.__data__.get(key);
1997
+ }
1998
+
1999
+ /**
2000
+ * Checks if a stack value for `key` exists.
2001
+ *
2002
+ * @private
2003
+ * @name has
2004
+ * @memberOf Stack
2005
+ * @param {string} key The key of the entry to check.
2006
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
2007
+ */
2008
+ function stackHas(key) {
2009
+ return this.__data__.has(key);
2010
+ }
2011
+
2012
+ /** Used as the size to enable large array optimizations. */
2013
+ var LARGE_ARRAY_SIZE = 200;
2014
+
2015
+ /**
2016
+ * Sets the stack `key` to `value`.
2017
+ *
2018
+ * @private
2019
+ * @name set
2020
+ * @memberOf Stack
2021
+ * @param {string} key The key of the value to set.
2022
+ * @param {*} value The value to set.
2023
+ * @returns {Object} Returns the stack cache instance.
2024
+ */
2025
+ function stackSet(key, value) {
2026
+ var data = this.__data__;
2027
+ if (data instanceof ListCache) {
2028
+ var pairs = data.__data__;
2029
+ if (!Map$2 || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
2030
+ pairs.push([key, value]);
2031
+ this.size = ++data.size;
2032
+ return this;
2033
+ }
2034
+ data = this.__data__ = new MapCache(pairs);
2035
+ }
2036
+ data.set(key, value);
2037
+ this.size = data.size;
2038
+ return this;
2039
+ }
2040
+
2041
+ /**
2042
+ * Creates a stack cache object to store key-value pairs.
2043
+ *
2044
+ * @private
2045
+ * @constructor
2046
+ * @param {Array} [entries] The key-value pairs to cache.
2047
+ */
2048
+ function Stack(entries) {
2049
+ var data = this.__data__ = new ListCache(entries);
2050
+ this.size = data.size;
2051
+ }
2052
+
2053
+ // Add methods to `Stack`.
2054
+ Stack.prototype.clear = stackClear;
2055
+ Stack.prototype['delete'] = stackDelete;
2056
+ Stack.prototype.get = stackGet;
2057
+ Stack.prototype.has = stackHas;
2058
+ Stack.prototype.set = stackSet;
2059
+
2060
+ /**
2061
+ * The base implementation of `_.assign` without support for multiple sources
2062
+ * or `customizer` functions.
2063
+ *
2064
+ * @private
2065
+ * @param {Object} object The destination object.
2066
+ * @param {Object} source The source object.
2067
+ * @returns {Object} Returns `object`.
2068
+ */
2069
+ function baseAssign(object, source) {
2070
+ return object && copyObject(source, keys(source), object);
2071
+ }
2072
+
2073
+ /**
2074
+ * The base implementation of `_.assignIn` without support for multiple sources
2075
+ * or `customizer` functions.
2076
+ *
2077
+ * @private
2078
+ * @param {Object} object The destination object.
2079
+ * @param {Object} source The source object.
2080
+ * @returns {Object} Returns `object`.
2081
+ */
2082
+ function baseAssignIn(object, source) {
2083
+ return object && copyObject(source, keysIn(source), object);
2084
+ }
2085
+
2086
+ /** Detect free variable `exports`. */
2087
+ var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
2088
+
2089
+ /** Detect free variable `module`. */
2090
+ var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
2091
+
2092
+ /** Detect the popular CommonJS extension `module.exports`. */
2093
+ var moduleExports = freeModule && freeModule.exports === freeExports;
2094
+
2095
+ /** Built-in value references. */
2096
+ var Buffer = moduleExports ? root$1.Buffer : undefined,
2097
+ allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;
2098
+
2099
+ /**
2100
+ * Creates a clone of `buffer`.
2101
+ *
2102
+ * @private
2103
+ * @param {Buffer} buffer The buffer to clone.
2104
+ * @param {boolean} [isDeep] Specify a deep clone.
2105
+ * @returns {Buffer} Returns the cloned buffer.
2106
+ */
2107
+ function cloneBuffer(buffer, isDeep) {
2108
+ if (isDeep) {
2109
+ return buffer.slice();
2110
+ }
2111
+ var length = buffer.length,
2112
+ result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
2113
+
2114
+ buffer.copy(result);
2115
+ return result;
2116
+ }
2117
+
2118
+ /**
2119
+ * A specialized version of `_.filter` for arrays without support for
2120
+ * iteratee shorthands.
2121
+ *
2122
+ * @private
2123
+ * @param {Array} [array] The array to iterate over.
2124
+ * @param {Function} predicate The function invoked per iteration.
2125
+ * @returns {Array} Returns the new filtered array.
2126
+ */
2127
+ function arrayFilter(array, predicate) {
2128
+ var index = -1,
2129
+ length = array == null ? 0 : array.length,
2130
+ resIndex = 0,
2131
+ result = [];
2132
+
2133
+ while (++index < length) {
2134
+ var value = array[index];
2135
+ if (predicate(value, index, array)) {
2136
+ result[resIndex++] = value;
2137
+ }
2138
+ }
2139
+ return result;
2140
+ }
2141
+
2142
+ /**
2143
+ * This method returns a new empty array.
2144
+ *
2145
+ * @static
2146
+ * @memberOf _
2147
+ * @since 4.13.0
2148
+ * @category Util
2149
+ * @returns {Array} Returns the new empty array.
2150
+ * @example
2151
+ *
2152
+ * var arrays = _.times(2, _.stubArray);
2153
+ *
2154
+ * console.log(arrays);
2155
+ * // => [[], []]
2156
+ *
2157
+ * console.log(arrays[0] === arrays[1]);
2158
+ * // => false
2159
+ */
2160
+ function stubArray() {
2161
+ return [];
2162
+ }
2163
+
2164
+ /** Used for built-in method references. */
2165
+ var objectProto$1 = Object.prototype;
2166
+
2167
+ /** Built-in value references. */
2168
+ var propertyIsEnumerable = objectProto$1.propertyIsEnumerable;
2169
+
2170
+ /* Built-in method references for those with the same name as other `lodash` methods. */
2171
+ var nativeGetSymbols$1 = Object.getOwnPropertySymbols;
2172
+
2173
+ /**
2174
+ * Creates an array of the own enumerable symbols of `object`.
2175
+ *
2176
+ * @private
2177
+ * @param {Object} object The object to query.
2178
+ * @returns {Array} Returns the array of symbols.
2179
+ */
2180
+ var getSymbols = !nativeGetSymbols$1 ? stubArray : function(object) {
2181
+ if (object == null) {
2182
+ return [];
2183
+ }
2184
+ object = Object(object);
2185
+ return arrayFilter(nativeGetSymbols$1(object), function(symbol) {
2186
+ return propertyIsEnumerable.call(object, symbol);
2187
+ });
2188
+ };
2189
+
2190
+ const getSymbols$1 = getSymbols;
2191
+
2192
+ /**
2193
+ * Copies own symbols of `source` to `object`.
2194
+ *
2195
+ * @private
2196
+ * @param {Object} source The object to copy symbols from.
2197
+ * @param {Object} [object={}] The object to copy symbols to.
2198
+ * @returns {Object} Returns `object`.
2199
+ */
2200
+ function copySymbols(source, object) {
2201
+ return copyObject(source, getSymbols$1(source), object);
2202
+ }
2203
+
2204
+ /* Built-in method references for those with the same name as other `lodash` methods. */
2205
+ var nativeGetSymbols = Object.getOwnPropertySymbols;
2206
+
2207
+ /**
2208
+ * Creates an array of the own and inherited enumerable symbols of `object`.
2209
+ *
2210
+ * @private
2211
+ * @param {Object} object The object to query.
2212
+ * @returns {Array} Returns the array of symbols.
2213
+ */
2214
+ var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {
2215
+ var result = [];
2216
+ while (object) {
2217
+ arrayPush(result, getSymbols$1(object));
2218
+ object = getPrototype$1(object);
2219
+ }
2220
+ return result;
2221
+ };
2222
+
2223
+ const getSymbolsIn$1 = getSymbolsIn;
2224
+
2225
+ /**
2226
+ * Copies own and inherited symbols of `source` to `object`.
2227
+ *
2228
+ * @private
2229
+ * @param {Object} source The object to copy symbols from.
2230
+ * @param {Object} [object={}] The object to copy symbols to.
2231
+ * @returns {Object} Returns `object`.
2232
+ */
2233
+ function copySymbolsIn(source, object) {
2234
+ return copyObject(source, getSymbolsIn$1(source), object);
2235
+ }
2236
+
2237
+ /**
2238
+ * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
2239
+ * `keysFunc` and `symbolsFunc` to get the enumerable property names and
2240
+ * symbols of `object`.
2241
+ *
2242
+ * @private
2243
+ * @param {Object} object The object to query.
2244
+ * @param {Function} keysFunc The function to get the keys of `object`.
2245
+ * @param {Function} symbolsFunc The function to get the symbols of `object`.
2246
+ * @returns {Array} Returns the array of property names and symbols.
2247
+ */
2248
+ function baseGetAllKeys(object, keysFunc, symbolsFunc) {
2249
+ var result = keysFunc(object);
2250
+ return isArray$1(object) ? result : arrayPush(result, symbolsFunc(object));
2251
+ }
2252
+
2253
+ /**
2254
+ * Creates an array of own enumerable property names and symbols of `object`.
2255
+ *
2256
+ * @private
2257
+ * @param {Object} object The object to query.
2258
+ * @returns {Array} Returns the array of property names and symbols.
2259
+ */
2260
+ function getAllKeys(object) {
2261
+ return baseGetAllKeys(object, keys, getSymbols$1);
2262
+ }
2263
+
2264
+ /**
2265
+ * Creates an array of own and inherited enumerable property names and
2266
+ * symbols of `object`.
2267
+ *
2268
+ * @private
2269
+ * @param {Object} object The object to query.
2270
+ * @returns {Array} Returns the array of property names and symbols.
2271
+ */
2272
+ function getAllKeysIn(object) {
2273
+ return baseGetAllKeys(object, keysIn, getSymbolsIn$1);
2274
+ }
2275
+
2276
+ /* Built-in method references that are verified to be native. */
2277
+ var DataView = getNative(root$1, 'DataView');
2278
+
2279
+ const DataView$1 = DataView;
2280
+
2281
+ /* Built-in method references that are verified to be native. */
2282
+ var Promise$1 = getNative(root$1, 'Promise');
2283
+
2284
+ const Promise$2 = Promise$1;
2285
+
2286
+ /* Built-in method references that are verified to be native. */
2287
+ var Set$1 = getNative(root$1, 'Set');
2288
+
2289
+ const Set$2 = Set$1;
2290
+
2291
+ /** `Object#toString` result references. */
2292
+ var mapTag$3 = '[object Map]',
2293
+ objectTag$1 = '[object Object]',
2294
+ promiseTag = '[object Promise]',
2295
+ setTag$3 = '[object Set]',
2296
+ weakMapTag$1 = '[object WeakMap]';
2297
+
2298
+ var dataViewTag$2 = '[object DataView]';
2299
+
2300
+ /** Used to detect maps, sets, and weakmaps. */
2301
+ var dataViewCtorString = toSource(DataView$1),
2302
+ mapCtorString = toSource(Map$2),
2303
+ promiseCtorString = toSource(Promise$2),
2304
+ setCtorString = toSource(Set$2),
2305
+ weakMapCtorString = toSource(WeakMap$2);
2306
+
2307
+ /**
2308
+ * Gets the `toStringTag` of `value`.
2309
+ *
2310
+ * @private
2311
+ * @param {*} value The value to query.
2312
+ * @returns {string} Returns the `toStringTag`.
2313
+ */
2314
+ var getTag = baseGetTag;
2315
+
2316
+ // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
2317
+ if ((DataView$1 && getTag(new DataView$1(new ArrayBuffer(1))) != dataViewTag$2) ||
2318
+ (Map$2 && getTag(new Map$2) != mapTag$3) ||
2319
+ (Promise$2 && getTag(Promise$2.resolve()) != promiseTag) ||
2320
+ (Set$2 && getTag(new Set$2) != setTag$3) ||
2321
+ (WeakMap$2 && getTag(new WeakMap$2) != weakMapTag$1)) {
2322
+ getTag = function(value) {
2323
+ var result = baseGetTag(value),
2324
+ Ctor = result == objectTag$1 ? value.constructor : undefined,
2325
+ ctorString = Ctor ? toSource(Ctor) : '';
2326
+
2327
+ if (ctorString) {
2328
+ switch (ctorString) {
2329
+ case dataViewCtorString: return dataViewTag$2;
2330
+ case mapCtorString: return mapTag$3;
2331
+ case promiseCtorString: return promiseTag;
2332
+ case setCtorString: return setTag$3;
2333
+ case weakMapCtorString: return weakMapTag$1;
2334
+ }
2335
+ }
2336
+ return result;
2337
+ };
2338
+ }
2339
+
2340
+ const getTag$1 = getTag;
2341
+
2342
+ /** Used for built-in method references. */
2343
+ var objectProto = Object.prototype;
2344
+
2345
+ /** Used to check objects for own properties. */
2346
+ var hasOwnProperty = objectProto.hasOwnProperty;
2347
+
2348
+ /**
2349
+ * Initializes an array clone.
2350
+ *
2351
+ * @private
2352
+ * @param {Array} array The array to clone.
2353
+ * @returns {Array} Returns the initialized clone.
2354
+ */
2355
+ function initCloneArray(array) {
2356
+ var length = array.length,
2357
+ result = new array.constructor(length);
2358
+
2359
+ // Add properties assigned by `RegExp#exec`.
2360
+ if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
2361
+ result.index = array.index;
2362
+ result.input = array.input;
2363
+ }
2364
+ return result;
2365
+ }
2366
+
2367
+ /** Built-in value references. */
2368
+ var Uint8Array = root$1.Uint8Array;
2369
+
2370
+ const Uint8Array$1 = Uint8Array;
2371
+
2372
+ /**
2373
+ * Creates a clone of `arrayBuffer`.
2374
+ *
2375
+ * @private
2376
+ * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
2377
+ * @returns {ArrayBuffer} Returns the cloned array buffer.
2378
+ */
2379
+ function cloneArrayBuffer(arrayBuffer) {
2380
+ var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
2381
+ new Uint8Array$1(result).set(new Uint8Array$1(arrayBuffer));
2382
+ return result;
2383
+ }
2384
+
2385
+ /**
2386
+ * Creates a clone of `dataView`.
2387
+ *
2388
+ * @private
2389
+ * @param {Object} dataView The data view to clone.
2390
+ * @param {boolean} [isDeep] Specify a deep clone.
2391
+ * @returns {Object} Returns the cloned data view.
2392
+ */
2393
+ function cloneDataView(dataView, isDeep) {
2394
+ var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
2395
+ return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
2396
+ }
2397
+
2398
+ /** Used to match `RegExp` flags from their coerced string values. */
2399
+ var reFlags = /\w*$/;
2400
+
2401
+ /**
2402
+ * Creates a clone of `regexp`.
2403
+ *
2404
+ * @private
2405
+ * @param {Object} regexp The regexp to clone.
2406
+ * @returns {Object} Returns the cloned regexp.
2407
+ */
2408
+ function cloneRegExp(regexp) {
2409
+ var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
2410
+ result.lastIndex = regexp.lastIndex;
2411
+ return result;
2412
+ }
2413
+
2414
+ /** Used to convert symbols to primitives and strings. */
2415
+ var symbolProto = Symbol$1 ? Symbol$1.prototype : undefined,
2416
+ symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
2417
+
2418
+ /**
2419
+ * Creates a clone of the `symbol` object.
2420
+ *
2421
+ * @private
2422
+ * @param {Object} symbol The symbol object to clone.
2423
+ * @returns {Object} Returns the cloned symbol object.
2424
+ */
2425
+ function cloneSymbol(symbol) {
2426
+ return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
2427
+ }
2428
+
2429
+ /**
2430
+ * Creates a clone of `typedArray`.
2431
+ *
2432
+ * @private
2433
+ * @param {Object} typedArray The typed array to clone.
2434
+ * @param {boolean} [isDeep] Specify a deep clone.
2435
+ * @returns {Object} Returns the cloned typed array.
2436
+ */
2437
+ function cloneTypedArray(typedArray, isDeep) {
2438
+ var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
2439
+ return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
2440
+ }
2441
+
2442
+ /** `Object#toString` result references. */
2443
+ var boolTag$1 = '[object Boolean]',
2444
+ dateTag$1 = '[object Date]',
2445
+ mapTag$2 = '[object Map]',
2446
+ numberTag$1 = '[object Number]',
2447
+ regexpTag$1 = '[object RegExp]',
2448
+ setTag$2 = '[object Set]',
2449
+ stringTag$1 = '[object String]',
2450
+ symbolTag$1 = '[object Symbol]';
2451
+
2452
+ var arrayBufferTag$1 = '[object ArrayBuffer]',
2453
+ dataViewTag$1 = '[object DataView]',
2454
+ float32Tag$1 = '[object Float32Array]',
2455
+ float64Tag$1 = '[object Float64Array]',
2456
+ int8Tag$1 = '[object Int8Array]',
2457
+ int16Tag$1 = '[object Int16Array]',
2458
+ int32Tag$1 = '[object Int32Array]',
2459
+ uint8Tag$1 = '[object Uint8Array]',
2460
+ uint8ClampedTag$1 = '[object Uint8ClampedArray]',
2461
+ uint16Tag$1 = '[object Uint16Array]',
2462
+ uint32Tag$1 = '[object Uint32Array]';
2463
+
2464
+ /**
2465
+ * Initializes an object clone based on its `toStringTag`.
2466
+ *
2467
+ * **Note:** This function only supports cloning values with tags of
2468
+ * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.
2469
+ *
2470
+ * @private
2471
+ * @param {Object} object The object to clone.
2472
+ * @param {string} tag The `toStringTag` of the object to clone.
2473
+ * @param {boolean} [isDeep] Specify a deep clone.
2474
+ * @returns {Object} Returns the initialized clone.
2475
+ */
2476
+ function initCloneByTag(object, tag, isDeep) {
2477
+ var Ctor = object.constructor;
2478
+ switch (tag) {
2479
+ case arrayBufferTag$1:
2480
+ return cloneArrayBuffer(object);
2481
+
2482
+ case boolTag$1:
2483
+ case dateTag$1:
2484
+ return new Ctor(+object);
2485
+
2486
+ case dataViewTag$1:
2487
+ return cloneDataView(object, isDeep);
2488
+
2489
+ case float32Tag$1: case float64Tag$1:
2490
+ case int8Tag$1: case int16Tag$1: case int32Tag$1:
2491
+ case uint8Tag$1: case uint8ClampedTag$1: case uint16Tag$1: case uint32Tag$1:
2492
+ return cloneTypedArray(object, isDeep);
2493
+
2494
+ case mapTag$2:
2495
+ return new Ctor;
2496
+
2497
+ case numberTag$1:
2498
+ case stringTag$1:
2499
+ return new Ctor(object);
2500
+
2501
+ case regexpTag$1:
2502
+ return cloneRegExp(object);
2503
+
2504
+ case setTag$2:
2505
+ return new Ctor;
2506
+
2507
+ case symbolTag$1:
2508
+ return cloneSymbol(object);
2509
+ }
2510
+ }
2511
+
2512
+ /**
2513
+ * Initializes an object clone.
2514
+ *
2515
+ * @private
2516
+ * @param {Object} object The object to clone.
2517
+ * @returns {Object} Returns the initialized clone.
2518
+ */
2519
+ function initCloneObject(object) {
2520
+ return (typeof object.constructor == 'function' && !isPrototype(object))
2521
+ ? baseCreate$1(getPrototype$1(object))
2522
+ : {};
2523
+ }
2524
+
2525
+ /** `Object#toString` result references. */
2526
+ var mapTag$1 = '[object Map]';
2527
+
2528
+ /**
2529
+ * The base implementation of `_.isMap` without Node.js optimizations.
2530
+ *
2531
+ * @private
2532
+ * @param {*} value The value to check.
2533
+ * @returns {boolean} Returns `true` if `value` is a map, else `false`.
2534
+ */
2535
+ function baseIsMap(value) {
2536
+ return isObjectLike(value) && getTag$1(value) == mapTag$1;
2537
+ }
2538
+
2539
+ /* Node.js helper references. */
2540
+ var nodeIsMap = nodeUtil$1 && nodeUtil$1.isMap;
2541
+
2542
+ /**
2543
+ * Checks if `value` is classified as a `Map` object.
2544
+ *
2545
+ * @static
2546
+ * @memberOf _
2547
+ * @since 4.3.0
2548
+ * @category Lang
2549
+ * @param {*} value The value to check.
2550
+ * @returns {boolean} Returns `true` if `value` is a map, else `false`.
2551
+ * @example
2552
+ *
2553
+ * _.isMap(new Map);
2554
+ * // => true
2555
+ *
2556
+ * _.isMap(new WeakMap);
2557
+ * // => false
2558
+ */
2559
+ var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;
2560
+
2561
+ const isMap$1 = isMap;
2562
+
2563
+ /** `Object#toString` result references. */
2564
+ var setTag$1 = '[object Set]';
2565
+
2566
+ /**
2567
+ * The base implementation of `_.isSet` without Node.js optimizations.
2568
+ *
2569
+ * @private
2570
+ * @param {*} value The value to check.
2571
+ * @returns {boolean} Returns `true` if `value` is a set, else `false`.
2572
+ */
2573
+ function baseIsSet(value) {
2574
+ return isObjectLike(value) && getTag$1(value) == setTag$1;
2575
+ }
2576
+
2577
+ /* Node.js helper references. */
2578
+ var nodeIsSet = nodeUtil$1 && nodeUtil$1.isSet;
2579
+
2580
+ /**
2581
+ * Checks if `value` is classified as a `Set` object.
2582
+ *
2583
+ * @static
2584
+ * @memberOf _
2585
+ * @since 4.3.0
2586
+ * @category Lang
2587
+ * @param {*} value The value to check.
2588
+ * @returns {boolean} Returns `true` if `value` is a set, else `false`.
2589
+ * @example
2590
+ *
2591
+ * _.isSet(new Set);
2592
+ * // => true
2593
+ *
2594
+ * _.isSet(new WeakSet);
2595
+ * // => false
2596
+ */
2597
+ var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
2598
+
2599
+ const isSet$1 = isSet;
2600
+
2601
+ /** Used to compose bitmasks for cloning. */
2602
+ var CLONE_DEEP_FLAG$1 = 1,
2603
+ CLONE_FLAT_FLAG = 2,
2604
+ CLONE_SYMBOLS_FLAG$1 = 4;
2605
+
2606
+ /** `Object#toString` result references. */
2607
+ var argsTag = '[object Arguments]',
2608
+ arrayTag = '[object Array]',
2609
+ boolTag = '[object Boolean]',
2610
+ dateTag = '[object Date]',
2611
+ errorTag = '[object Error]',
2612
+ funcTag = '[object Function]',
2613
+ genTag = '[object GeneratorFunction]',
2614
+ mapTag = '[object Map]',
2615
+ numberTag = '[object Number]',
2616
+ objectTag = '[object Object]',
2617
+ regexpTag = '[object RegExp]',
2618
+ setTag = '[object Set]',
2619
+ stringTag = '[object String]',
2620
+ symbolTag = '[object Symbol]',
2621
+ weakMapTag = '[object WeakMap]';
2622
+
2623
+ var arrayBufferTag = '[object ArrayBuffer]',
2624
+ dataViewTag = '[object DataView]',
2625
+ float32Tag = '[object Float32Array]',
2626
+ float64Tag = '[object Float64Array]',
2627
+ int8Tag = '[object Int8Array]',
2628
+ int16Tag = '[object Int16Array]',
2629
+ int32Tag = '[object Int32Array]',
2630
+ uint8Tag = '[object Uint8Array]',
2631
+ uint8ClampedTag = '[object Uint8ClampedArray]',
2632
+ uint16Tag = '[object Uint16Array]',
2633
+ uint32Tag = '[object Uint32Array]';
2634
+
2635
+ /** Used to identify `toStringTag` values supported by `_.clone`. */
2636
+ var cloneableTags = {};
2637
+ cloneableTags[argsTag] = cloneableTags[arrayTag] =
2638
+ cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
2639
+ cloneableTags[boolTag] = cloneableTags[dateTag] =
2640
+ cloneableTags[float32Tag] = cloneableTags[float64Tag] =
2641
+ cloneableTags[int8Tag] = cloneableTags[int16Tag] =
2642
+ cloneableTags[int32Tag] = cloneableTags[mapTag] =
2643
+ cloneableTags[numberTag] = cloneableTags[objectTag] =
2644
+ cloneableTags[regexpTag] = cloneableTags[setTag] =
2645
+ cloneableTags[stringTag] = cloneableTags[symbolTag] =
2646
+ cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
2647
+ cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
2648
+ cloneableTags[errorTag] = cloneableTags[funcTag] =
2649
+ cloneableTags[weakMapTag] = false;
2650
+
2651
+ /**
2652
+ * The base implementation of `_.clone` and `_.cloneDeep` which tracks
2653
+ * traversed objects.
2654
+ *
2655
+ * @private
2656
+ * @param {*} value The value to clone.
2657
+ * @param {boolean} bitmask The bitmask flags.
2658
+ * 1 - Deep clone
2659
+ * 2 - Flatten inherited properties
2660
+ * 4 - Clone symbols
2661
+ * @param {Function} [customizer] The function to customize cloning.
2662
+ * @param {string} [key] The key of `value`.
2663
+ * @param {Object} [object] The parent object of `value`.
2664
+ * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
2665
+ * @returns {*} Returns the cloned value.
2666
+ */
2667
+ function baseClone(value, bitmask, customizer, key, object, stack) {
2668
+ var result,
2669
+ isDeep = bitmask & CLONE_DEEP_FLAG$1,
2670
+ isFlat = bitmask & CLONE_FLAT_FLAG,
2671
+ isFull = bitmask & CLONE_SYMBOLS_FLAG$1;
2672
+
2673
+ if (customizer) {
2674
+ result = object ? customizer(value, key, object, stack) : customizer(value);
2675
+ }
2676
+ if (result !== undefined) {
2677
+ return result;
2678
+ }
2679
+ if (!isObject(value)) {
2680
+ return value;
2681
+ }
2682
+ var isArr = isArray$1(value);
2683
+ if (isArr) {
2684
+ result = initCloneArray(value);
2685
+ if (!isDeep) {
2686
+ return copyArray(value, result);
2687
+ }
2688
+ } else {
2689
+ var tag = getTag$1(value),
2690
+ isFunc = tag == funcTag || tag == genTag;
2691
+
2692
+ if (isBuffer$1(value)) {
2693
+ return cloneBuffer(value, isDeep);
2694
+ }
2695
+ if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
2696
+ result = (isFlat || isFunc) ? {} : initCloneObject(value);
2697
+ if (!isDeep) {
2698
+ return isFlat
2699
+ ? copySymbolsIn(value, baseAssignIn(result, value))
2700
+ : copySymbols(value, baseAssign(result, value));
2701
+ }
2702
+ } else {
2703
+ if (!cloneableTags[tag]) {
2704
+ return object ? value : {};
2705
+ }
2706
+ result = initCloneByTag(value, tag, isDeep);
2707
+ }
2708
+ }
2709
+ // Check for circular references and return its corresponding clone.
2710
+ stack || (stack = new Stack);
2711
+ var stacked = stack.get(value);
2712
+ if (stacked) {
2713
+ return stacked;
2714
+ }
2715
+ stack.set(value, result);
2716
+
2717
+ if (isSet$1(value)) {
2718
+ value.forEach(function(subValue) {
2719
+ result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
2720
+ });
2721
+ } else if (isMap$1(value)) {
2722
+ value.forEach(function(subValue, key) {
2723
+ result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));
2724
+ });
2725
+ }
2726
+
2727
+ var keysFunc = isFull
2728
+ ? (isFlat ? getAllKeysIn : getAllKeys)
2729
+ : (isFlat ? keysIn : keys);
2730
+
2731
+ var props = isArr ? undefined : keysFunc(value);
2732
+ arrayEach(props || value, function(subValue, key) {
2733
+ if (props) {
2734
+ key = subValue;
2735
+ subValue = value[key];
2736
+ }
2737
+ // Recursively populate clone (susceptible to call stack limits).
2738
+ assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));
2739
+ });
2740
+ return result;
2741
+ }
2742
+
2743
+ /** Used to compose bitmasks for cloning. */
2744
+ var CLONE_DEEP_FLAG = 1,
2745
+ CLONE_SYMBOLS_FLAG = 4;
2746
+
2747
+ /**
2748
+ * This method is like `_.clone` except that it recursively clones `value`.
2749
+ *
2750
+ * @static
2751
+ * @memberOf _
2752
+ * @since 1.0.0
2753
+ * @category Lang
2754
+ * @param {*} value The value to recursively clone.
2755
+ * @returns {*} Returns the deep cloned value.
2756
+ * @see _.clone
2757
+ * @example
2758
+ *
2759
+ * var objects = [{ 'a': 1 }, { 'b': 2 }];
2760
+ *
2761
+ * var deep = _.cloneDeep(objects);
2762
+ * console.log(deep[0] === objects[0]);
2763
+ * // => false
2764
+ */
2765
+ function cloneDeep(value) {
2766
+ return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
2767
+ }
2768
+
2769
+ function clone(obj) {
2770
+ if (structuredClone) {
2771
+ return structuredClone(obj);
2772
+ }
2773
+ return cloneDeep(obj);
2774
+ }
2775
+
459
2776
  /**
460
2777
  * The default UI Config
461
2778
  */
@@ -780,6 +3097,9 @@ const defaultConfig = {
780
3097
  videoFit: 'cover',
781
3098
  },
782
3099
  };
3100
+ const createDefaultConfig = () => {
3101
+ return clone(defaultConfig);
3102
+ };
783
3103
 
784
3104
  const appendToMap = (map, propName, value) => {
785
3105
  const items = map.get(propName);
@@ -1529,19 +3849,25 @@ const getUserPreferences = () => {
1529
3849
  };
1530
3850
  const chatUnreadTimestamps = {};
1531
3851
 
1532
- const getInitialStates = () => ({
3852
+ const getInitialStates = (peerId) => ({
1533
3853
  meeting: 'idle',
1534
3854
  prefs: getUserPreferences(),
3855
+ peerId: peerId || 'LEGACY_GLOBAL_PEER',
1535
3856
  });
1536
3857
  const uiStore = createStore({
1537
- meeting: undefined,
3858
+ meeting: null,
1538
3859
  t: useLanguage(),
1539
3860
  iconPack: defaultIconPack,
1540
3861
  states: getInitialStates(),
1541
- config: defaultConfig,
3862
+ config: createDefaultConfig(),
1542
3863
  size: undefined,
3864
+ peerId: 'global',
3865
+ storeType: 'global',
3866
+ storeId: 'store-global',
1543
3867
  });
1544
3868
  const elementsMap = new Map();
3869
+ // Attach elementsMap to global store for consistency
3870
+ uiStore.elementsMap = elementsMap;
1545
3871
  uiStore.use({
1546
3872
  set: (propName, newValue, oldValue) => {
1547
3873
  const elements = elementsMap.get(propName);
@@ -1559,46 +3885,126 @@ uiStore.use({
1559
3885
  }
1560
3886
  },
1561
3887
  });
1562
- function appendElement(propName, element) {
1563
- const elements = elementsMap.get(propName);
3888
+ const uiState = uiStore.state;
3889
+ // Function to create a new store instance for peer-specific stores
3890
+ function createPeerStore({ meeting, config, providerId, iconPack, t, size }) {
3891
+ const store = createStore({
3892
+ meeting: meeting,
3893
+ t,
3894
+ iconPack,
3895
+ states: getInitialStates(meeting.self.peerId),
3896
+ config: config || createDefaultConfig(),
3897
+ size,
3898
+ peerId: meeting.self.id,
3899
+ storeType: 'peer',
3900
+ // Use provider id's numeric portion as store id for easier debugging
3901
+ storeId: 'store-' + providerId.replace('provider-', ''),
3902
+ });
3903
+ const peerElementsMap = new Map();
3904
+ // Attach elementsMap to store so appendElement/removeElement can access it
3905
+ store.elementsMap = peerElementsMap;
3906
+ store.use({
3907
+ set: (propName, newValue, oldValue) => {
3908
+ const elements = peerElementsMap.get(propName);
3909
+ if (elements) {
3910
+ peerElementsMap.set(propName, elements.filter((element) => {
3911
+ const currentValue = element[propName];
3912
+ if (currentValue === oldValue) {
3913
+ element[propName] = newValue;
3914
+ return true;
3915
+ }
3916
+ else {
3917
+ return false;
3918
+ }
3919
+ }));
3920
+ }
3921
+ },
3922
+ });
3923
+ return store;
3924
+ }
3925
+ function appendElement(propName, element, targetStore = uiStore) {
3926
+ const elementsMapToUse = targetStore.elementsMap;
3927
+ if (!elementsMapToUse) {
3928
+ console.error(`appendElement: No elementsMap found on store`, targetStore);
3929
+ return;
3930
+ }
3931
+ const elements = elementsMapToUse.get(propName);
1564
3932
  if (!elements) {
1565
- elementsMap.set(propName, [element]);
3933
+ try {
3934
+ elementsMapToUse.set(propName, [element]);
3935
+ }
3936
+ catch (error) {
3937
+ console.error(`appendElement: Error setting new array:`, error);
3938
+ }
1566
3939
  }
1567
3940
  else {
1568
- elements.push(element);
3941
+ try {
3942
+ elements.push(element);
3943
+ }
3944
+ catch (error) {
3945
+ console.error(`appendElement: Error adding element:`, error);
3946
+ }
1569
3947
  }
1570
3948
  }
1571
- function removeElement(propName, element) {
1572
- const elements = elementsMap.get(propName);
1573
- if (elements && elements.length > 0) {
3949
+ function removeElement(propName, element, targetStore = uiStore) {
3950
+ const elementsMapToUse = targetStore.elementsMap;
3951
+ if (!elementsMapToUse) {
3952
+ console.error(`removeElement: No elementsMap found on store`, targetStore);
3953
+ return;
3954
+ }
3955
+ const elements = elementsMapToUse.get(propName);
3956
+ if (elements) {
1574
3957
  const index = elements.indexOf(element);
1575
- if (index !== -1) {
3958
+ if (index > -1) {
1576
3959
  elements.splice(index, 1);
1577
- elementsMap.set(propName, elements);
1578
3960
  }
1579
3961
  }
1580
3962
  }
1581
- const uiState = uiStore.state;
1582
3963
 
1583
3964
  exports.BreakoutRoomsManager = BreakoutRoomsManager;
1584
3965
  exports.FlagsmithFeatureFlags = FlagsmithFeatureFlags;
3966
+ exports.Stack = Stack;
1585
3967
  exports.appendElement = appendElement;
3968
+ exports.baseAssignValue = baseAssignValue;
3969
+ exports.baseGetTag = baseGetTag;
1586
3970
  exports.canToggleBreakout = canToggleBreakout;
1587
3971
  exports.chatUnreadTimestamps = chatUnreadTimestamps;
3972
+ exports.clone = clone;
3973
+ exports.cloneBuffer = cloneBuffer;
3974
+ exports.cloneTypedArray = cloneTypedArray;
3975
+ exports.copyArray = copyArray;
3976
+ exports.copyObject = copyObject;
3977
+ exports.createDefaultConfig = createDefaultConfig;
3978
+ exports.createPeerStore = createPeerStore;
1588
3979
  exports.defaultConfig = defaultConfig;
1589
3980
  exports.defaultIconPack = defaultIconPack;
1590
3981
  exports.defaultLanguage = defaultLanguage;
3982
+ exports.defineProperty = defineProperty$1;
1591
3983
  exports.disableSettingSinkId = disableSettingSinkId;
3984
+ exports.eq = eq;
1592
3985
  exports.getAllConnectedParticipants = getAllConnectedParticipants;
1593
3986
  exports.getInitialStates = getInitialStates;
1594
3987
  exports.getLivestreamViewerAllowedQualityLevels = getLivestreamViewerAllowedQualityLevels;
1595
3988
  exports.getPreference = getPreference;
3989
+ exports.getPrototype = getPrototype$1;
1596
3990
  exports.gracefulStorage = gracefulStorage$1;
3991
+ exports.initCloneObject = initCloneObject;
3992
+ exports.isArguments = isArguments$1;
3993
+ exports.isArray = isArray$1;
3994
+ exports.isArrayLike = isArrayLike;
3995
+ exports.isBuffer = isBuffer$1;
3996
+ exports.isFunction = isFunction;
3997
+ exports.isIndex = isIndex;
1597
3998
  exports.isLiveStreamHost = isLiveStreamHost;
1598
3999
  exports.isLiveStreamViewer = isLiveStreamViewer;
4000
+ exports.isObject = isObject;
4001
+ exports.isObjectLike = isObjectLike;
4002
+ exports.isTypedArray = isTypedArray$1;
4003
+ exports.keysIn = keysIn;
1599
4004
  exports.participantIdentifier = participantIdentifier;
1600
4005
  exports.removeElement = removeElement;
1601
4006
  exports.resetRoomCount = resetRoomCount;
4007
+ exports.root = root$1;
1602
4008
  exports.setPreference = setPreference;
1603
4009
  exports.showLivestream = showLivestream;
1604
4010
  exports.uiState = uiState;