@cloudflare/realtimekit-ui 1.0.3-staging.4 → 1.0.4-staging.1

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