@sendbird/uikit-react 3.15.13 → 3.15.14-rc

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 (1326) hide show
  1. package/App.js +115 -270
  2. package/App.js.map +1 -1
  3. package/CHANGELOG.md +39 -0
  4. package/Channel/components/ChannelHeader.js +32 -40
  5. package/Channel/components/ChannelHeader.js.map +1 -1
  6. package/Channel/components/ChannelUI.js +77 -76
  7. package/Channel/components/ChannelUI.js.map +1 -1
  8. package/Channel/components/FileViewer.js +31 -35
  9. package/Channel/components/FileViewer.js.map +1 -1
  10. package/Channel/components/FrozenNotification.js +6 -5
  11. package/Channel/components/FrozenNotification.js.map +1 -1
  12. package/Channel/components/Message.js +68 -67
  13. package/Channel/components/Message.js.map +1 -1
  14. package/Channel/components/MessageInput.js +48 -50
  15. package/Channel/components/MessageInput.js.map +1 -1
  16. package/Channel/components/MessageInputWrapper.js +48 -50
  17. package/Channel/components/MessageInputWrapper.js.map +1 -1
  18. package/Channel/components/MessageList.js +74 -70
  19. package/Channel/components/MessageList.js.map +1 -1
  20. package/Channel/components/RemoveMessageModal.js +31 -36
  21. package/Channel/components/RemoveMessageModal.js.map +1 -1
  22. package/Channel/components/SuggestedMentionList.js +31 -41
  23. package/Channel/components/SuggestedMentionList.js.map +1 -1
  24. package/Channel/components/TypingIndicator.js +11 -7
  25. package/Channel/components/TypingIndicator.js.map +1 -1
  26. package/Channel/components/UnreadCount.js +8 -7
  27. package/Channel/components/UnreadCount.js.map +1 -1
  28. package/Channel/context.js +71 -39
  29. package/Channel/context.js.map +1 -1
  30. package/Channel/hooks/useHandleUploadFiles.js +20 -22
  31. package/Channel/hooks/useHandleUploadFiles.js.map +1 -1
  32. package/Channel/hooks/useInitialMessagesFetch.js +8 -8
  33. package/Channel/utils/compareMessagesForGrouping.js +16 -18
  34. package/Channel/utils/compareMessagesForGrouping.js.map +1 -1
  35. package/Channel/utils/getMessagePartsInfo.js +13 -14
  36. package/Channel/utils/getMessagePartsInfo.js.map +1 -1
  37. package/Channel.js +77 -76
  38. package/Channel.js.map +1 -1
  39. package/ChannelList/components/AddChannel.js +214 -45
  40. package/ChannelList/components/AddChannel.js.map +1 -1
  41. package/ChannelList/components/ChannelListHeader.js +16 -11
  42. package/ChannelList/components/ChannelListHeader.js.map +1 -1
  43. package/ChannelList/components/ChannelListUI.js +205 -138
  44. package/ChannelList/components/ChannelListUI.js.map +1 -1
  45. package/ChannelList/components/ChannelPreview.js +39 -41
  46. package/ChannelList/components/ChannelPreview.js.map +1 -1
  47. package/ChannelList/components/ChannelPreviewAction.js +17 -18
  48. package/ChannelList/components/ChannelPreviewAction.js.map +1 -1
  49. package/ChannelList/context.js +14 -27
  50. package/ChannelList/context.js.map +1 -1
  51. package/ChannelList.js +212 -81
  52. package/ChannelList.js.map +1 -1
  53. package/ChannelSettings/components/ChannelProfile.js +28 -32
  54. package/ChannelSettings/components/ChannelProfile.js.map +1 -1
  55. package/ChannelSettings/components/ChannelSettingMenuList.js +15 -28
  56. package/ChannelSettings/components/ChannelSettingMenuList.js.map +1 -1
  57. package/ChannelSettings/components/ChannelSettingsHeader.js +16 -10
  58. package/ChannelSettings/components/ChannelSettingsHeader.js.map +1 -1
  59. package/ChannelSettings/components/ChannelSettingsMenuItem.js +2 -2
  60. package/ChannelSettings/components/ChannelSettingsUI.js +49 -50
  61. package/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
  62. package/ChannelSettings/components/EditDetailsModal.js +23 -31
  63. package/ChannelSettings/components/EditDetailsModal.js.map +1 -1
  64. package/ChannelSettings/components/LeaveChannel.js +25 -28
  65. package/ChannelSettings/components/LeaveChannel.js.map +1 -1
  66. package/ChannelSettings/components/ModerationPanel.js +33 -33
  67. package/ChannelSettings/components/UserListItem.js +26 -29
  68. package/ChannelSettings/components/UserListItem.js.map +1 -1
  69. package/ChannelSettings/components/UserPanel.js +35 -35
  70. package/ChannelSettings/context.js +11 -173
  71. package/ChannelSettings/context.js.map +1 -1
  72. package/ChannelSettings/hooks/useMenuList.js +33 -33
  73. package/ChannelSettings.js +52 -52
  74. package/CreateChannel/components/CreateChannelUI.js +214 -45
  75. package/CreateChannel/components/CreateChannelUI.js.map +1 -1
  76. package/CreateChannel/components/InviteUsers.js +215 -153
  77. package/CreateChannel/components/InviteUsers.js.map +1 -1
  78. package/CreateChannel/components/SelectChannelType.js +216 -85
  79. package/CreateChannel/components/SelectChannelType.js.map +1 -1
  80. package/CreateChannel/context.js +221 -6
  81. package/CreateChannel/context.js.map +1 -1
  82. package/CreateChannel.js +213 -39
  83. package/CreateChannel.js.map +1 -1
  84. package/CreateOpenChannel/components/CreateOpenChannelUI.js +16 -24
  85. package/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
  86. package/CreateOpenChannel/context.js +9 -4
  87. package/CreateOpenChannel/context.js.map +1 -1
  88. package/CreateOpenChannel.js +16 -24
  89. package/CreateOpenChannel.js.map +1 -1
  90. package/EditUserProfile/components/EditUserProfileUI.js +27 -35
  91. package/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
  92. package/EditUserProfile/context.js +1 -1
  93. package/EditUserProfile.js +16 -25
  94. package/EditUserProfile.js.map +1 -1
  95. package/GroupChannel/components/FileViewer.js +34 -36
  96. package/GroupChannel/components/FileViewer.js.map +1 -1
  97. package/GroupChannel/components/FrozenNotification.js +6 -5
  98. package/GroupChannel/components/FrozenNotification.js.map +1 -1
  99. package/GroupChannel/components/GroupChannelHeader.js +31 -37
  100. package/GroupChannel/components/GroupChannelHeader.js.map +1 -1
  101. package/GroupChannel/components/GroupChannelUI.js +73 -70
  102. package/GroupChannel/components/GroupChannelUI.js.map +1 -1
  103. package/GroupChannel/components/Message.js +67 -63
  104. package/GroupChannel/components/Message.js.map +1 -1
  105. package/GroupChannel/components/MessageInputWrapper.js +49 -48
  106. package/GroupChannel/components/MessageInputWrapper.js.map +1 -1
  107. package/GroupChannel/components/MessageList.js +76 -71
  108. package/GroupChannel/components/MessageList.js.map +1 -1
  109. package/GroupChannel/components/RemoveMessageModal.js +32 -34
  110. package/GroupChannel/components/RemoveMessageModal.js.map +1 -1
  111. package/GroupChannel/components/SuggestedMentionList.js +18 -13
  112. package/GroupChannel/components/SuggestedMentionList.js.map +1 -1
  113. package/GroupChannel/components/TypingIndicator.js +14 -10
  114. package/GroupChannel/components/TypingIndicator.js.map +1 -1
  115. package/GroupChannel/components/UnreadCount.js +8 -7
  116. package/GroupChannel/components/UnreadCount.js.map +1 -1
  117. package/GroupChannel/context.js +19 -513
  118. package/GroupChannel/context.js.map +1 -1
  119. package/GroupChannel.js +71 -68
  120. package/GroupChannel.js.map +1 -1
  121. package/GroupChannelList/components/AddGroupChannel.js +214 -45
  122. package/GroupChannelList/components/AddGroupChannel.js.map +1 -1
  123. package/GroupChannelList/components/GroupChannelListHeader.js +17 -13
  124. package/GroupChannelList/components/GroupChannelListHeader.js.map +1 -1
  125. package/GroupChannelList/components/GroupChannelListItem.js +39 -40
  126. package/GroupChannelList/components/GroupChannelListItem.js.map +1 -1
  127. package/GroupChannelList/components/GroupChannelListUI.js +211 -115
  128. package/GroupChannelList/components/GroupChannelListUI.js.map +1 -1
  129. package/GroupChannelList/components/GroupChannelPreviewAction.js +18 -20
  130. package/GroupChannelList/components/GroupChannelPreviewAction.js.map +1 -1
  131. package/GroupChannelList/context.js +13 -118
  132. package/GroupChannelList/context.js.map +1 -1
  133. package/GroupChannelList.js +209 -72
  134. package/GroupChannelList.js.map +1 -1
  135. package/MessageSearch/components/MessageSearchUI.js +24 -23
  136. package/MessageSearch/components/MessageSearchUI.js.map +1 -1
  137. package/MessageSearch/context.js +9 -280
  138. package/MessageSearch/context.js.map +1 -1
  139. package/MessageSearch.js +24 -20
  140. package/MessageSearch.js.map +1 -1
  141. package/OpenChannel/components/FrozenChannelNotification.js +5 -4
  142. package/OpenChannel/components/FrozenChannelNotification.js.map +1 -1
  143. package/OpenChannel/components/OpenChannelHeader.js +23 -29
  144. package/OpenChannel/components/OpenChannelHeader.js.map +1 -1
  145. package/OpenChannel/components/OpenChannelInput.js +31 -33
  146. package/OpenChannel/components/OpenChannelInput.js.map +1 -1
  147. package/OpenChannel/components/OpenChannelMessage.js +45 -44
  148. package/OpenChannel/components/OpenChannelMessage.js.map +1 -1
  149. package/OpenChannel/components/OpenChannelMessageList.js +54 -52
  150. package/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
  151. package/OpenChannel/components/OpenChannelUI.js +49 -48
  152. package/OpenChannel/components/OpenChannelUI.js.map +1 -1
  153. package/OpenChannel/context.js +21 -27
  154. package/OpenChannel/context.js.map +1 -1
  155. package/OpenChannel.js +47 -46
  156. package/OpenChannel.js.map +1 -1
  157. package/OpenChannelList/components/OpenChannelListUI.js +20 -28
  158. package/OpenChannelList/components/OpenChannelListUI.js.map +1 -1
  159. package/OpenChannelList/components/OpenChannelPreview.js +6 -6
  160. package/OpenChannelList/context.js +9 -5
  161. package/OpenChannelList/context.js.map +1 -1
  162. package/OpenChannelList.js +18 -26
  163. package/OpenChannelList.js.map +1 -1
  164. package/OpenChannelSettings/components/EditDetailsModal.js +23 -31
  165. package/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
  166. package/OpenChannelSettings/components/OpenChannelProfile.js +24 -32
  167. package/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
  168. package/OpenChannelSettings/components/OpenChannelSettingsUI.js +33 -34
  169. package/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
  170. package/OpenChannelSettings/components/OperatorUI.js +37 -41
  171. package/OpenChannelSettings/components/OperatorUI.js.map +1 -1
  172. package/OpenChannelSettings/components/ParticipantUI.js +22 -23
  173. package/OpenChannelSettings/components/ParticipantUI.js.map +1 -1
  174. package/OpenChannelSettings/context.js +16 -35
  175. package/OpenChannelSettings/context.js.map +1 -1
  176. package/OpenChannelSettings.js +27 -28
  177. package/OpenChannelSettings.js.map +1 -1
  178. package/SendbirdProvider.js +486 -914
  179. package/SendbirdProvider.js.map +1 -1
  180. package/Thread/components/ParentMessageInfo.js +71 -68
  181. package/Thread/components/ParentMessageInfo.js.map +1 -1
  182. package/Thread/components/ParentMessageInfoItem.js +42 -39
  183. package/Thread/components/ParentMessageInfoItem.js.map +1 -1
  184. package/Thread/components/ThreadHeader.js +8 -7
  185. package/Thread/components/ThreadHeader.js.map +1 -1
  186. package/Thread/components/ThreadList.js +67 -63
  187. package/Thread/components/ThreadList.js.map +1 -1
  188. package/Thread/components/ThreadListItem.js +77 -76
  189. package/Thread/components/ThreadListItem.js.map +1 -1
  190. package/Thread/components/ThreadMessageInput.js +67 -67
  191. package/Thread/components/ThreadUI.js +74 -72
  192. package/Thread/components/ThreadUI.js.map +1 -1
  193. package/Thread/context/types.js +0 -1
  194. package/Thread/context/types.js.map +1 -1
  195. package/Thread/context.js +20 -1335
  196. package/Thread/context.js.map +1 -1
  197. package/Thread.js +70 -68
  198. package/Thread.js.map +1 -1
  199. package/VoicePlayer/context.js +9 -6
  200. package/VoicePlayer/context.js.map +1 -1
  201. package/VoicePlayer/useVoicePlayer.js +17 -22
  202. package/VoicePlayer/useVoicePlayer.js.map +1 -1
  203. package/VoiceRecorder/context.js +127 -22
  204. package/VoiceRecorder/context.js.map +1 -1
  205. package/VoiceRecorder/useVoiceRecorder.js +16 -22
  206. package/VoiceRecorder/useVoiceRecorder.js.map +1 -1
  207. package/chunks/{bundle-Dl9NVsui.js → bundle-1WicDXzs.js} +1 -1
  208. package/chunks/{bundle-Dl9NVsui.js.map → bundle-1WicDXzs.js.map} +1 -1
  209. package/chunks/{bundle-BXE5p6Kc.js → bundle-1dw3VwGW.js} +14 -13
  210. package/chunks/{bundle-BXE5p6Kc.js.map → bundle-1dw3VwGW.js.map} +1 -1
  211. package/chunks/{bundle-CDvvzlad.js → bundle-6HmJcgNR.js} +6 -5
  212. package/chunks/bundle-6HmJcgNR.js.map +1 -0
  213. package/chunks/{bundle-BAQj91eb.js → bundle-A2onzY73.js} +9 -8
  214. package/chunks/bundle-A2onzY73.js.map +1 -0
  215. package/chunks/{bundle-C6-Ix-Lk.js → bundle-B-hLTjcZ.js} +8 -7
  216. package/chunks/{bundle-DLlgZtQy.js.map → bundle-B-hLTjcZ.js.map} +1 -1
  217. package/chunks/{bundle-DfDrbjM5.js → bundle-B2hCX5Y1.js} +1 -1
  218. package/chunks/bundle-B2hCX5Y1.js.map +1 -0
  219. package/chunks/{bundle-DCX2mqfp.js → bundle-B8U-MPIR.js} +8 -22
  220. package/{cjs/chunks/bundle-DpyxKl7F.js.map → chunks/bundle-B8U-MPIR.js.map} +1 -1
  221. package/chunks/{bundle-BE58pe-0.js → bundle-B9ip9Rgs.js} +8 -8
  222. package/chunks/bundle-B9ip9Rgs.js.map +1 -0
  223. package/chunks/{bundle-5-21Jk06.js → bundle-BBTkAdNh.js} +16 -20
  224. package/chunks/bundle-BBTkAdNh.js.map +1 -0
  225. package/chunks/{bundle-DaKZZ13Y.js → bundle-BBhGk7VW.js} +1 -1
  226. package/chunks/bundle-BBhGk7VW.js.map +1 -0
  227. package/chunks/{bundle-TGosz9cX.js → bundle-BD_ok0_K.js} +1 -1
  228. package/chunks/bundle-BD_ok0_K.js.map +1 -0
  229. package/chunks/{bundle-_-FiwcfQ.js → bundle-BJw1wPlD.js} +2 -2
  230. package/chunks/{bundle-_-FiwcfQ.js.map → bundle-BJw1wPlD.js.map} +1 -1
  231. package/chunks/{bundle-Er6ifVzM.js → bundle-BMqNmFAC.js} +1 -1
  232. package/chunks/{bundle-Er6ifVzM.js.map → bundle-BMqNmFAC.js.map} +1 -1
  233. package/chunks/{bundle-Ci2fMtNJ.js → bundle-BMtR335z.js} +1 -2
  234. package/chunks/bundle-BMtR335z.js.map +1 -0
  235. package/chunks/{bundle-DWrM1EW4.js → bundle-BVQ6FvPr.js} +4 -4
  236. package/chunks/bundle-BVQ6FvPr.js.map +1 -0
  237. package/chunks/{bundle-DUTyBaXr.js → bundle-BY9oUVFG.js} +7 -2
  238. package/chunks/bundle-BY9oUVFG.js.map +1 -0
  239. package/chunks/{bundle-Deel9XzY.js → bundle-B_2pLVhC.js} +3 -3
  240. package/chunks/bundle-B_2pLVhC.js.map +1 -0
  241. package/chunks/bundle-BdjfIRue.js +24 -0
  242. package/chunks/bundle-BdjfIRue.js.map +1 -0
  243. package/chunks/{bundle-gQ2a8Eki.js → bundle-Bkbt9_K2.js} +4 -19
  244. package/chunks/bundle-Bkbt9_K2.js.map +1 -0
  245. package/chunks/bundle-BlijUxQw.js +38 -0
  246. package/chunks/bundle-BlijUxQw.js.map +1 -0
  247. package/chunks/{bundle-BFqR1X1Q.js → bundle-BneAvNJ6.js} +1 -1
  248. package/chunks/bundle-BneAvNJ6.js.map +1 -0
  249. package/chunks/bundle-BqSIw_8a.js +740 -0
  250. package/chunks/bundle-BqSIw_8a.js.map +1 -0
  251. package/chunks/{bundle-ryUmMhVP.js → bundle-ByVGO6Cn.js} +1 -1
  252. package/chunks/{bundle-ryUmMhVP.js.map → bundle-ByVGO6Cn.js.map} +1 -1
  253. package/chunks/{bundle-DkviGBGz.js → bundle-BznbvczW.js} +2 -2
  254. package/chunks/bundle-BznbvczW.js.map +1 -0
  255. package/chunks/{bundle-Dpdq7qeD.js → bundle-C-JPnBnR.js} +1 -1
  256. package/chunks/bundle-C-JPnBnR.js.map +1 -0
  257. package/chunks/{bundle-DrHsf0sP.js → bundle-C-rvXpNA.js} +4 -4
  258. package/chunks/bundle-C-rvXpNA.js.map +1 -0
  259. package/chunks/{bundle-90vsNbxW.js → bundle-C-yTkyP0.js} +1 -1
  260. package/chunks/bundle-C-yTkyP0.js.map +1 -0
  261. package/chunks/{bundle-CDjVXDOc.js → bundle-C1ncZUjl.js} +1 -1
  262. package/chunks/bundle-C1ncZUjl.js.map +1 -0
  263. package/chunks/{bundle-JYgg9UJ5.js → bundle-C9ITO9KN.js} +23 -23
  264. package/chunks/{bundle-JYgg9UJ5.js.map → bundle-C9ITO9KN.js.map} +1 -1
  265. package/chunks/{bundle-DRyEkedz.js → bundle-CAUVIS8U.js} +28 -24
  266. package/chunks/{bundle-DRyEkedz.js.map → bundle-CAUVIS8U.js.map} +1 -1
  267. package/chunks/{bundle-eYHtE5ry.js → bundle-CCC20GHQ.js} +3 -3
  268. package/chunks/bundle-CCC20GHQ.js.map +1 -0
  269. package/chunks/bundle-CClknHGO.js +4 -0
  270. package/chunks/bundle-CClknHGO.js.map +1 -0
  271. package/chunks/{bundle-yLTgHCRG.js → bundle-CDRwx6ov.js} +2 -2
  272. package/chunks/{bundle-yLTgHCRG.js.map → bundle-CDRwx6ov.js.map} +1 -1
  273. package/chunks/bundle-CDp-g5XU.js +257 -0
  274. package/chunks/{bundle-DCX2mqfp.js.map → bundle-CDp-g5XU.js.map} +1 -1
  275. package/chunks/{bundle-Dvg19muo.js → bundle-CFIe1TQh.js} +6 -6
  276. package/chunks/bundle-CFIe1TQh.js.map +1 -0
  277. package/chunks/{bundle-CZsW3iP9.js → bundle-CL4aee1v.js} +2 -2
  278. package/chunks/bundle-CL4aee1v.js.map +1 -0
  279. package/chunks/{bundle-D5-VMB5f.js → bundle-CPrxIh9y.js} +13 -12
  280. package/chunks/{bundle-D5-VMB5f.js.map → bundle-CPrxIh9y.js.map} +1 -1
  281. package/chunks/bundle-CQ2tpjBC.js +65 -0
  282. package/chunks/bundle-CQ2tpjBC.js.map +1 -0
  283. package/chunks/{bundle-BMygDCXK.js → bundle-CQrtVJsS.js} +1 -1
  284. package/chunks/bundle-CQrtVJsS.js.map +1 -0
  285. package/chunks/{bundle-LWpHaUiZ.js → bundle-CSXuv4Bd.js} +9 -7
  286. package/chunks/bundle-CSXuv4Bd.js.map +1 -0
  287. package/chunks/{bundle-CLonR-iH.js → bundle-CT9lv9jW.js} +8 -7
  288. package/chunks/{bundle-CLonR-iH.js.map → bundle-CT9lv9jW.js.map} +1 -1
  289. package/chunks/bundle-CUrIGyMS.js +661 -0
  290. package/chunks/bundle-CUrIGyMS.js.map +1 -0
  291. package/chunks/{bundle-MkyS3j4-.js → bundle-CdizyEdk.js} +1 -1
  292. package/chunks/bundle-CdizyEdk.js.map +1 -0
  293. package/chunks/{bundle-BBowfNDO.js → bundle-CfElKzoM.js} +1 -1
  294. package/chunks/bundle-CfElKzoM.js.map +1 -0
  295. package/chunks/{bundle-Cq6wCLlD.js → bundle-CgYA6f2I.js} +15 -15
  296. package/chunks/{bundle-Cq6wCLlD.js.map → bundle-CgYA6f2I.js.map} +1 -1
  297. package/chunks/{bundle-C7jYHvwG.js → bundle-Cj5_JUGB.js} +2 -2
  298. package/chunks/{bundle-C7jYHvwG.js.map → bundle-Cj5_JUGB.js.map} +1 -1
  299. package/chunks/{bundle-3aUfVJHj.js → bundle-ClwW4Dg-.js} +8 -9
  300. package/chunks/bundle-ClwW4Dg-.js.map +1 -0
  301. package/chunks/{bundle-Crm9sJrW.js → bundle-CrfqwS86.js} +8 -8
  302. package/chunks/{bundle-Crm9sJrW.js.map → bundle-CrfqwS86.js.map} +1 -1
  303. package/chunks/{bundle-CMuwfYDs.js → bundle-CuNiKKod.js} +17 -17
  304. package/chunks/{bundle-CMuwfYDs.js.map → bundle-CuNiKKod.js.map} +1 -1
  305. package/chunks/{bundle-DjgT6gu4.js → bundle-Cui2dEHn.js} +1 -1
  306. package/chunks/bundle-Cui2dEHn.js.map +1 -0
  307. package/chunks/{bundle-V4PrrT67.js → bundle-CvS9hHiN.js} +13 -13
  308. package/chunks/bundle-CvS9hHiN.js.map +1 -0
  309. package/chunks/{bundle-LPNnEgGp.js → bundle-CwlHaxRY.js} +1 -1
  310. package/chunks/bundle-CwlHaxRY.js.map +1 -0
  311. package/chunks/{bundle-DImSV9VW.js → bundle-CyiL7cM0.js} +3 -3
  312. package/chunks/bundle-CyiL7cM0.js.map +1 -0
  313. package/chunks/{bundle-CbEyAimK.js → bundle-CyrtxrpV.js} +4 -4
  314. package/chunks/bundle-CyrtxrpV.js.map +1 -0
  315. package/chunks/bundle-CzQv-JhI.js +9 -0
  316. package/chunks/bundle-CzQv-JhI.js.map +1 -0
  317. package/chunks/{bundle-B2dhmpsj.js → bundle-D1dUz9rt.js} +14 -14
  318. package/chunks/{bundle-B2dhmpsj.js.map → bundle-D1dUz9rt.js.map} +1 -1
  319. package/chunks/{bundle-BH8ohfFx.js → bundle-D5jjox7Q.js} +8 -8
  320. package/chunks/{bundle-BH8ohfFx.js.map → bundle-D5jjox7Q.js.map} +1 -1
  321. package/chunks/{bundle-BL_0pgq0.js → bundle-D7RFGuQj.js} +17 -16
  322. package/chunks/{bundle-BL_0pgq0.js.map → bundle-D7RFGuQj.js.map} +1 -1
  323. package/chunks/{bundle-4W3uBGU3.js → bundle-D9R7Jiqe.js} +1 -1
  324. package/chunks/bundle-D9R7Jiqe.js.map +1 -0
  325. package/chunks/bundle-DCVn-5-M.js +209 -0
  326. package/chunks/bundle-DCVn-5-M.js.map +1 -0
  327. package/chunks/bundle-DFLinAbj.js +12 -0
  328. package/chunks/bundle-DFLinAbj.js.map +1 -0
  329. package/chunks/{bundle-BI2YMBw_.js → bundle-DG6u-bEo.js} +60 -6
  330. package/chunks/bundle-DG6u-bEo.js.map +1 -0
  331. package/chunks/{bundle-C1U8wE49.js → bundle-DGW9ZhNd.js} +2 -2
  332. package/chunks/bundle-DGW9ZhNd.js.map +1 -0
  333. package/chunks/{bundle-BiPxcZtH.js → bundle-DMhVPx55.js} +1 -1
  334. package/chunks/bundle-DMhVPx55.js.map +1 -0
  335. package/chunks/{bundle-2kzSicIw.js → bundle-DTsnEKas.js} +3 -3
  336. package/chunks/{bundle-2kzSicIw.js.map → bundle-DTsnEKas.js.map} +1 -1
  337. package/chunks/bundle-DYlj08ur.js +1108 -0
  338. package/chunks/bundle-DYlj08ur.js.map +1 -0
  339. package/chunks/{bundle-DYeeW5nS.js → bundle-DbJ8lyIW.js} +7 -14
  340. package/chunks/bundle-DbJ8lyIW.js.map +1 -0
  341. package/chunks/{bundle-Bzt5nDi4.js → bundle-DbWSwWAr.js} +4 -4
  342. package/chunks/{bundle-Bzt5nDi4.js.map → bundle-DbWSwWAr.js.map} +1 -1
  343. package/chunks/{bundle-BeUKuH7h.js → bundle-Dg1G5COD.js} +3 -3
  344. package/chunks/{bundle-BeUKuH7h.js.map → bundle-Dg1G5COD.js.map} +1 -1
  345. package/chunks/{bundle-CcHvUx-a.js → bundle-DloA6aeM.js} +11 -10
  346. package/chunks/{bundle-CcHvUx-a.js.map → bundle-DloA6aeM.js.map} +1 -1
  347. package/chunks/{bundle-P-vXuw8U.js → bundle-DqDF0kxo.js} +1 -1
  348. package/chunks/bundle-DqDF0kxo.js.map +1 -0
  349. package/chunks/{bundle-k6zcGkBp.js → bundle-Dw8813nX.js} +4 -4
  350. package/chunks/bundle-Dw8813nX.js.map +1 -0
  351. package/chunks/{bundle-BP1CB0js.js → bundle-DwSHHkPT.js} +1 -1
  352. package/chunks/bundle-DwSHHkPT.js.map +1 -0
  353. package/chunks/{bundle-pOZPN8hk.js → bundle-DxxvrMQI.js} +1 -1
  354. package/chunks/{bundle-pOZPN8hk.js.map → bundle-DxxvrMQI.js.map} +1 -1
  355. package/chunks/{bundle-C9dF4QVS.js → bundle-DyUM-cLB.js} +1 -1
  356. package/chunks/bundle-DyUM-cLB.js.map +1 -0
  357. package/chunks/{bundle-BP1DBRft.js → bundle-HWQAzYJv.js} +5 -5
  358. package/chunks/{bundle-BP1DBRft.js.map → bundle-HWQAzYJv.js.map} +1 -1
  359. package/chunks/{bundle-DLlgZtQy.js → bundle-I8q8yCrt.js} +5 -5
  360. package/{cjs/chunks/bundle-DUanoG7J.js.map → chunks/bundle-I8q8yCrt.js.map} +1 -1
  361. package/chunks/{bundle-CzdrQ_Yq.js → bundle-IJCJg91y.js} +1 -1
  362. package/chunks/bundle-IJCJg91y.js.map +1 -0
  363. package/chunks/bundle-JsdOq6pg.js +260 -0
  364. package/chunks/bundle-JsdOq6pg.js.map +1 -0
  365. package/{cjs/chunks/bundle-DE5YH8Q-.js → chunks/bundle-KQc1NYs1.js} +2 -32
  366. package/chunks/{bundle-CIN9yQRB.js.map → bundle-KQc1NYs1.js.map} +1 -1
  367. package/chunks/{bundle-BR3O1lZq.js → bundle-RBoKRbHz.js} +1 -1
  368. package/chunks/bundle-RBoKRbHz.js.map +1 -0
  369. package/chunks/{bundle-DCbJaskZ.js → bundle-c5KbzTiA.js} +3 -2
  370. package/chunks/bundle-c5KbzTiA.js.map +1 -0
  371. package/chunks/{bundle-Dskg5qjd.js → bundle-eHS4YF9i.js} +1 -1
  372. package/chunks/bundle-eHS4YF9i.js.map +1 -0
  373. package/chunks/bundle-hj-JCZtT.js +149 -0
  374. package/chunks/bundle-hj-JCZtT.js.map +1 -0
  375. package/chunks/{bundle-DvcOxLrR.js → bundle-i9LnR1n4.js} +3 -3
  376. package/chunks/bundle-i9LnR1n4.js.map +1 -0
  377. package/chunks/{bundle-CJBs1h8R.js → bundle-jlClj1B3.js} +16 -16
  378. package/chunks/{bundle-CJBs1h8R.js.map → bundle-jlClj1B3.js.map} +1 -1
  379. package/chunks/{bundle-jw_xHmHg.js → bundle-k2A_Dplg.js} +3 -2
  380. package/chunks/bundle-k2A_Dplg.js.map +1 -0
  381. package/chunks/bundle-m1et25Jg.js +2920 -0
  382. package/chunks/bundle-m1et25Jg.js.map +1 -0
  383. package/chunks/bundle-t7Yx3Waq.js +190 -0
  384. package/chunks/bundle-t7Yx3Waq.js.map +1 -0
  385. package/chunks/{bundle-CTE4m7bC.js → bundle-ur8S4QkK.js} +5 -5
  386. package/chunks/{bundle-CTE4m7bC.js.map → bundle-ur8S4QkK.js.map} +1 -1
  387. package/chunks/{bundle-_sFl37fA.js → bundle-zZfVGvhn.js} +6 -7
  388. package/{cjs/chunks/bundle-ChVeqDIG.js.map → chunks/bundle-zZfVGvhn.js.map} +1 -1
  389. package/cjs/App.js +116 -271
  390. package/cjs/App.js.map +1 -1
  391. package/cjs/Channel/components/ChannelHeader.js +32 -40
  392. package/cjs/Channel/components/ChannelHeader.js.map +1 -1
  393. package/cjs/Channel/components/ChannelUI.js +77 -76
  394. package/cjs/Channel/components/ChannelUI.js.map +1 -1
  395. package/cjs/Channel/components/FileViewer.js +31 -35
  396. package/cjs/Channel/components/FileViewer.js.map +1 -1
  397. package/cjs/Channel/components/FrozenNotification.js +6 -5
  398. package/cjs/Channel/components/FrozenNotification.js.map +1 -1
  399. package/cjs/Channel/components/Message.js +68 -67
  400. package/cjs/Channel/components/Message.js.map +1 -1
  401. package/cjs/Channel/components/MessageInput.js +48 -50
  402. package/cjs/Channel/components/MessageInput.js.map +1 -1
  403. package/cjs/Channel/components/MessageInputWrapper.js +48 -50
  404. package/cjs/Channel/components/MessageInputWrapper.js.map +1 -1
  405. package/cjs/Channel/components/MessageList.js +74 -70
  406. package/cjs/Channel/components/MessageList.js.map +1 -1
  407. package/cjs/Channel/components/RemoveMessageModal.js +31 -36
  408. package/cjs/Channel/components/RemoveMessageModal.js.map +1 -1
  409. package/cjs/Channel/components/SuggestedMentionList.js +31 -41
  410. package/cjs/Channel/components/SuggestedMentionList.js.map +1 -1
  411. package/cjs/Channel/components/TypingIndicator.js +11 -7
  412. package/cjs/Channel/components/TypingIndicator.js.map +1 -1
  413. package/cjs/Channel/components/UnreadCount.js +8 -7
  414. package/cjs/Channel/components/UnreadCount.js.map +1 -1
  415. package/cjs/Channel/context.js +153 -121
  416. package/cjs/Channel/context.js.map +1 -1
  417. package/cjs/Channel/hooks/useHandleUploadFiles.js +21 -23
  418. package/cjs/Channel/hooks/useHandleUploadFiles.js.map +1 -1
  419. package/cjs/Channel/hooks/useInitialMessagesFetch.js +8 -8
  420. package/cjs/Channel/utils/compareMessagesForGrouping.js +16 -18
  421. package/cjs/Channel/utils/compareMessagesForGrouping.js.map +1 -1
  422. package/cjs/Channel/utils/getMessagePartsInfo.js +13 -14
  423. package/cjs/Channel/utils/getMessagePartsInfo.js.map +1 -1
  424. package/cjs/Channel.js +77 -76
  425. package/cjs/Channel.js.map +1 -1
  426. package/cjs/ChannelList/components/AddChannel.js +216 -47
  427. package/cjs/ChannelList/components/AddChannel.js.map +1 -1
  428. package/cjs/ChannelList/components/ChannelListHeader.js +16 -11
  429. package/cjs/ChannelList/components/ChannelListHeader.js.map +1 -1
  430. package/cjs/ChannelList/components/ChannelListUI.js +206 -139
  431. package/cjs/ChannelList/components/ChannelListUI.js.map +1 -1
  432. package/cjs/ChannelList/components/ChannelPreview.js +39 -41
  433. package/cjs/ChannelList/components/ChannelPreview.js.map +1 -1
  434. package/cjs/ChannelList/components/ChannelPreviewAction.js +17 -18
  435. package/cjs/ChannelList/components/ChannelPreviewAction.js.map +1 -1
  436. package/cjs/ChannelList/context.js +14 -27
  437. package/cjs/ChannelList/context.js.map +1 -1
  438. package/cjs/ChannelList.js +213 -82
  439. package/cjs/ChannelList.js.map +1 -1
  440. package/cjs/ChannelSettings/components/ChannelProfile.js +28 -32
  441. package/cjs/ChannelSettings/components/ChannelProfile.js.map +1 -1
  442. package/cjs/ChannelSettings/components/ChannelSettingMenuList.js +15 -28
  443. package/cjs/ChannelSettings/components/ChannelSettingMenuList.js.map +1 -1
  444. package/cjs/ChannelSettings/components/ChannelSettingsHeader.js +16 -10
  445. package/cjs/ChannelSettings/components/ChannelSettingsHeader.js.map +1 -1
  446. package/cjs/ChannelSettings/components/ChannelSettingsMenuItem.js +2 -2
  447. package/cjs/ChannelSettings/components/ChannelSettingsUI.js +48 -49
  448. package/cjs/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
  449. package/cjs/ChannelSettings/components/EditDetailsModal.js +23 -31
  450. package/cjs/ChannelSettings/components/EditDetailsModal.js.map +1 -1
  451. package/cjs/ChannelSettings/components/LeaveChannel.js +25 -28
  452. package/cjs/ChannelSettings/components/LeaveChannel.js.map +1 -1
  453. package/cjs/ChannelSettings/components/ModerationPanel.js +33 -33
  454. package/cjs/ChannelSettings/components/UserListItem.js +26 -29
  455. package/cjs/ChannelSettings/components/UserListItem.js.map +1 -1
  456. package/cjs/ChannelSettings/components/UserPanel.js +34 -34
  457. package/cjs/ChannelSettings/context.js +14 -175
  458. package/cjs/ChannelSettings/context.js.map +1 -1
  459. package/cjs/ChannelSettings/hooks/useMenuList.js +33 -33
  460. package/cjs/ChannelSettings.js +53 -53
  461. package/cjs/CreateChannel/components/CreateChannelUI.js +215 -46
  462. package/cjs/CreateChannel/components/CreateChannelUI.js.map +1 -1
  463. package/cjs/CreateChannel/components/InviteUsers.js +216 -154
  464. package/cjs/CreateChannel/components/InviteUsers.js.map +1 -1
  465. package/cjs/CreateChannel/components/SelectChannelType.js +217 -86
  466. package/cjs/CreateChannel/components/SelectChannelType.js.map +1 -1
  467. package/cjs/CreateChannel/context.js +225 -8
  468. package/cjs/CreateChannel/context.js.map +1 -1
  469. package/cjs/CreateChannel.js +214 -40
  470. package/cjs/CreateChannel.js.map +1 -1
  471. package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +16 -24
  472. package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
  473. package/cjs/CreateOpenChannel/context.js +9 -4
  474. package/cjs/CreateOpenChannel/context.js.map +1 -1
  475. package/cjs/CreateOpenChannel.js +16 -24
  476. package/cjs/CreateOpenChannel.js.map +1 -1
  477. package/cjs/EditUserProfile/components/EditUserProfileUI.js +27 -35
  478. package/cjs/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
  479. package/cjs/EditUserProfile/context.js +1 -1
  480. package/cjs/EditUserProfile.js +16 -25
  481. package/cjs/EditUserProfile.js.map +1 -1
  482. package/cjs/GroupChannel/components/FileViewer.js +34 -36
  483. package/cjs/GroupChannel/components/FileViewer.js.map +1 -1
  484. package/cjs/GroupChannel/components/FrozenNotification.js +6 -5
  485. package/cjs/GroupChannel/components/FrozenNotification.js.map +1 -1
  486. package/cjs/GroupChannel/components/GroupChannelHeader.js +32 -38
  487. package/cjs/GroupChannel/components/GroupChannelHeader.js.map +1 -1
  488. package/cjs/GroupChannel/components/GroupChannelUI.js +74 -71
  489. package/cjs/GroupChannel/components/GroupChannelUI.js.map +1 -1
  490. package/cjs/GroupChannel/components/Message.js +67 -63
  491. package/cjs/GroupChannel/components/Message.js.map +1 -1
  492. package/cjs/GroupChannel/components/MessageInputWrapper.js +48 -47
  493. package/cjs/GroupChannel/components/MessageInputWrapper.js.map +1 -1
  494. package/cjs/GroupChannel/components/MessageList.js +75 -70
  495. package/cjs/GroupChannel/components/MessageList.js.map +1 -1
  496. package/cjs/GroupChannel/components/RemoveMessageModal.js +32 -34
  497. package/cjs/GroupChannel/components/RemoveMessageModal.js.map +1 -1
  498. package/cjs/GroupChannel/components/SuggestedMentionList.js +18 -13
  499. package/cjs/GroupChannel/components/SuggestedMentionList.js.map +1 -1
  500. package/cjs/GroupChannel/components/TypingIndicator.js +14 -10
  501. package/cjs/GroupChannel/components/TypingIndicator.js.map +1 -1
  502. package/cjs/GroupChannel/components/UnreadCount.js +8 -7
  503. package/cjs/GroupChannel/components/UnreadCount.js.map +1 -1
  504. package/cjs/GroupChannel/context.js +25 -520
  505. package/cjs/GroupChannel/context.js.map +1 -1
  506. package/cjs/GroupChannel.js +72 -69
  507. package/cjs/GroupChannel.js.map +1 -1
  508. package/cjs/GroupChannelList/components/AddGroupChannel.js +216 -47
  509. package/cjs/GroupChannelList/components/AddGroupChannel.js.map +1 -1
  510. package/cjs/GroupChannelList/components/GroupChannelListHeader.js +17 -13
  511. package/cjs/GroupChannelList/components/GroupChannelListHeader.js.map +1 -1
  512. package/cjs/GroupChannelList/components/GroupChannelListItem.js +39 -40
  513. package/cjs/GroupChannelList/components/GroupChannelListItem.js.map +1 -1
  514. package/cjs/GroupChannelList/components/GroupChannelListUI.js +213 -117
  515. package/cjs/GroupChannelList/components/GroupChannelListUI.js.map +1 -1
  516. package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js +18 -20
  517. package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js.map +1 -1
  518. package/cjs/GroupChannelList/context.js +19 -121
  519. package/cjs/GroupChannelList/context.js.map +1 -1
  520. package/cjs/GroupChannelList.js +211 -74
  521. package/cjs/GroupChannelList.js.map +1 -1
  522. package/cjs/MessageSearch/components/MessageSearchUI.js +24 -23
  523. package/cjs/MessageSearch/components/MessageSearchUI.js.map +1 -1
  524. package/cjs/MessageSearch/context.js +17 -285
  525. package/cjs/MessageSearch/context.js.map +1 -1
  526. package/cjs/MessageSearch.js +25 -21
  527. package/cjs/MessageSearch.js.map +1 -1
  528. package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -4
  529. package/cjs/OpenChannel/components/FrozenChannelNotification.js.map +1 -1
  530. package/cjs/OpenChannel/components/OpenChannelHeader.js +23 -29
  531. package/cjs/OpenChannel/components/OpenChannelHeader.js.map +1 -1
  532. package/cjs/OpenChannel/components/OpenChannelInput.js +31 -33
  533. package/cjs/OpenChannel/components/OpenChannelInput.js.map +1 -1
  534. package/cjs/OpenChannel/components/OpenChannelMessage.js +45 -44
  535. package/cjs/OpenChannel/components/OpenChannelMessage.js.map +1 -1
  536. package/cjs/OpenChannel/components/OpenChannelMessageList.js +54 -52
  537. package/cjs/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
  538. package/cjs/OpenChannel/components/OpenChannelUI.js +49 -48
  539. package/cjs/OpenChannel/components/OpenChannelUI.js.map +1 -1
  540. package/cjs/OpenChannel/context.js +21 -27
  541. package/cjs/OpenChannel/context.js.map +1 -1
  542. package/cjs/OpenChannel.js +47 -46
  543. package/cjs/OpenChannel.js.map +1 -1
  544. package/cjs/OpenChannelList/components/OpenChannelListUI.js +20 -28
  545. package/cjs/OpenChannelList/components/OpenChannelListUI.js.map +1 -1
  546. package/cjs/OpenChannelList/components/OpenChannelPreview.js +6 -6
  547. package/cjs/OpenChannelList/context.js +9 -5
  548. package/cjs/OpenChannelList/context.js.map +1 -1
  549. package/cjs/OpenChannelList.js +18 -26
  550. package/cjs/OpenChannelList.js.map +1 -1
  551. package/cjs/OpenChannelSettings/components/EditDetailsModal.js +23 -31
  552. package/cjs/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
  553. package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +24 -32
  554. package/cjs/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
  555. package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +33 -34
  556. package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
  557. package/cjs/OpenChannelSettings/components/OperatorUI.js +37 -41
  558. package/cjs/OpenChannelSettings/components/OperatorUI.js.map +1 -1
  559. package/cjs/OpenChannelSettings/components/ParticipantUI.js +22 -23
  560. package/cjs/OpenChannelSettings/components/ParticipantUI.js.map +1 -1
  561. package/cjs/OpenChannelSettings/context.js +16 -35
  562. package/cjs/OpenChannelSettings/context.js.map +1 -1
  563. package/cjs/OpenChannelSettings.js +27 -28
  564. package/cjs/OpenChannelSettings.js.map +1 -1
  565. package/cjs/SendbirdProvider.js +486 -915
  566. package/cjs/SendbirdProvider.js.map +1 -1
  567. package/cjs/Thread/components/ParentMessageInfo.js +71 -68
  568. package/cjs/Thread/components/ParentMessageInfo.js.map +1 -1
  569. package/cjs/Thread/components/ParentMessageInfoItem.js +42 -39
  570. package/cjs/Thread/components/ParentMessageInfoItem.js.map +1 -1
  571. package/cjs/Thread/components/ThreadHeader.js +8 -7
  572. package/cjs/Thread/components/ThreadHeader.js.map +1 -1
  573. package/cjs/Thread/components/ThreadList.js +67 -63
  574. package/cjs/Thread/components/ThreadList.js.map +1 -1
  575. package/cjs/Thread/components/ThreadListItem.js +77 -76
  576. package/cjs/Thread/components/ThreadListItem.js.map +1 -1
  577. package/cjs/Thread/components/ThreadMessageInput.js +67 -67
  578. package/cjs/Thread/components/ThreadUI.js +74 -72
  579. package/cjs/Thread/components/ThreadUI.js.map +1 -1
  580. package/cjs/Thread/context/types.js +0 -1
  581. package/cjs/Thread/context/types.js.map +1 -1
  582. package/cjs/Thread/context.js +26 -1337
  583. package/cjs/Thread/context.js.map +1 -1
  584. package/cjs/Thread.js +71 -69
  585. package/cjs/Thread.js.map +1 -1
  586. package/cjs/VoicePlayer/context.js +9 -6
  587. package/cjs/VoicePlayer/context.js.map +1 -1
  588. package/cjs/VoicePlayer/useVoicePlayer.js +18 -23
  589. package/cjs/VoicePlayer/useVoicePlayer.js.map +1 -1
  590. package/cjs/VoiceRecorder/context.js +130 -25
  591. package/cjs/VoiceRecorder/context.js.map +1 -1
  592. package/cjs/VoiceRecorder/useVoiceRecorder.js +17 -23
  593. package/cjs/VoiceRecorder/useVoiceRecorder.js.map +1 -1
  594. package/cjs/chunks/{bundle-s1cLz65w.js → bundle-89fX6BxE.js} +1 -1
  595. package/cjs/chunks/bundle-89fX6BxE.js.map +1 -0
  596. package/cjs/chunks/{bundle-ByQJ042a.js → bundle-9_krLx4g.js} +1 -1
  597. package/cjs/chunks/bundle-9_krLx4g.js.map +1 -0
  598. package/cjs/chunks/bundle-9tkwiavu.js +76 -0
  599. package/cjs/chunks/bundle-9tkwiavu.js.map +1 -0
  600. package/cjs/chunks/{bundle-B5-vaN7x.js → bundle-AIWiAqMa.js} +17 -16
  601. package/cjs/chunks/{bundle-DeLEOQNO.js.map → bundle-AIWiAqMa.js.map} +1 -1
  602. package/cjs/chunks/{bundle-qMxPIH0k.js → bundle-B0eUHYFY.js} +6 -6
  603. package/cjs/chunks/bundle-B0eUHYFY.js.map +1 -0
  604. package/cjs/chunks/{bundle-BcIrmepz.js → bundle-B1kfg8W4.js} +1 -1
  605. package/cjs/chunks/bundle-B1kfg8W4.js.map +1 -0
  606. package/cjs/chunks/{bundle-BloKh_k7.js → bundle-B6qGo4m1.js} +1 -1
  607. package/cjs/chunks/bundle-B6qGo4m1.js.map +1 -0
  608. package/cjs/chunks/{bundle-DHPSwRDh.js → bundle-B9hMMeRS.js} +4 -4
  609. package/cjs/chunks/bundle-B9hMMeRS.js.map +1 -0
  610. package/cjs/chunks/{bundle-Cq5LKFhE.js → bundle-BDIgb36c.js} +7 -1
  611. package/cjs/chunks/bundle-BDIgb36c.js.map +1 -0
  612. package/cjs/chunks/{bundle-XANrnOqB.js → bundle-BETqmgP_.js} +1 -2
  613. package/cjs/chunks/bundle-BETqmgP_.js.map +1 -0
  614. package/cjs/chunks/{bundle-BA6Cum_9.js → bundle-BFcjbhNL.js} +3 -3
  615. package/cjs/chunks/{bundle-BA6Cum_9.js.map → bundle-BFcjbhNL.js.map} +1 -1
  616. package/cjs/chunks/bundle-BJftto_l.js +7 -0
  617. package/cjs/chunks/bundle-BJftto_l.js.map +1 -0
  618. package/cjs/chunks/bundle-BNJqog7S.js +217 -0
  619. package/{chunks/bundle-5-21Jk06.js.map → cjs/chunks/bundle-BNJqog7S.js.map} +1 -1
  620. package/cjs/chunks/{bundle-6UD0H-nz.js → bundle-BPPW92E3.js} +14 -14
  621. package/cjs/chunks/bundle-BPPW92E3.js.map +1 -0
  622. package/cjs/chunks/{bundle-D1slQ3hS.js → bundle-BPkbLqnu.js} +1 -1
  623. package/cjs/chunks/bundle-BPkbLqnu.js.map +1 -0
  624. package/cjs/chunks/{bundle-BpThX3wu.js → bundle-BRCUEZkM.js} +5 -5
  625. package/{chunks/bundle-BI2YMBw_.js.map → cjs/chunks/bundle-BRCUEZkM.js.map} +1 -1
  626. package/cjs/chunks/{bundle-DX3sBwvt.js → bundle-BT0N2gkH.js} +29 -25
  627. package/{chunks/bundle-MyLy9AIu.js.map → cjs/chunks/bundle-BT0N2gkH.js.map} +1 -1
  628. package/cjs/chunks/{bundle-BZd597ep.js → bundle-BT4XFhDb.js} +1 -1
  629. package/cjs/chunks/bundle-BT4XFhDb.js.map +1 -0
  630. package/cjs/chunks/bundle-BVPusRwU.js +187 -0
  631. package/cjs/chunks/bundle-BVPusRwU.js.map +1 -0
  632. package/cjs/chunks/{bundle-LNbeYHuL.js → bundle-BX-bINZz.js} +24 -24
  633. package/cjs/chunks/{bundle-LNbeYHuL.js.map → bundle-BX-bINZz.js.map} +1 -1
  634. package/cjs/chunks/{bundle-m5OpCHlj.js → bundle-Baj1zcQe.js} +8 -22
  635. package/cjs/chunks/bundle-Baj1zcQe.js.map +1 -0
  636. package/cjs/chunks/{bundle-DTD48j2K.js → bundle-BauO6Klm.js} +7 -17
  637. package/cjs/chunks/bundle-BauO6Klm.js.map +1 -0
  638. package/cjs/chunks/{bundle-Aw-PHA-I.js → bundle-BbTEVoxS.js} +1 -1
  639. package/cjs/chunks/bundle-BbTEVoxS.js.map +1 -0
  640. package/cjs/chunks/bundle-BgQpYkVd.js +263 -0
  641. package/cjs/chunks/bundle-BgQpYkVd.js.map +1 -0
  642. package/cjs/chunks/{bundle-BbpZ1Xe-.js → bundle-BhqxNcA7.js} +2 -2
  643. package/cjs/chunks/{bundle-BbpZ1Xe-.js.map → bundle-BhqxNcA7.js.map} +1 -1
  644. package/cjs/chunks/{bundle-DuSS5Dmw.js → bundle-BlmK-5Zz.js} +1 -1
  645. package/cjs/chunks/bundle-BlmK-5Zz.js.map +1 -0
  646. package/cjs/chunks/{bundle-DkDRIPJe.js → bundle-BptOxtGN.js} +6 -5
  647. package/cjs/chunks/bundle-BptOxtGN.js.map +1 -0
  648. package/cjs/chunks/bundle-BreESs72.js +672 -0
  649. package/cjs/chunks/bundle-BreESs72.js.map +1 -0
  650. package/cjs/chunks/{bundle-DVc6YedH.js → bundle-Bt94Y5zF.js} +4 -4
  651. package/cjs/chunks/bundle-Bt94Y5zF.js.map +1 -0
  652. package/cjs/chunks/{bundle-YTiDKoON.js → bundle-BtQOYbDr.js} +1 -1
  653. package/cjs/chunks/bundle-BtQOYbDr.js.map +1 -0
  654. package/cjs/chunks/bundle-BxRRC13A.js +40 -0
  655. package/cjs/chunks/bundle-BxRRC13A.js.map +1 -0
  656. package/cjs/chunks/{bundle-C3_KfqSN.js → bundle-BzLDYrps.js} +1 -1
  657. package/cjs/chunks/bundle-BzLDYrps.js.map +1 -0
  658. package/cjs/chunks/{bundle-BFFRQpby.js → bundle-C1XBtmxo.js} +8 -8
  659. package/cjs/chunks/bundle-C1XBtmxo.js.map +1 -0
  660. package/cjs/chunks/{bundle-Bua7cUR6.js → bundle-CIv79KtD.js} +16 -16
  661. package/cjs/chunks/{bundle-Bua7cUR6.js.map → bundle-CIv79KtD.js.map} +1 -1
  662. package/cjs/chunks/{bundle-bfd2VoyQ.js → bundle-CJLuEmh0.js} +26 -25
  663. package/cjs/chunks/{bundle-bfd2VoyQ.js.map → bundle-CJLuEmh0.js.map} +1 -1
  664. package/cjs/chunks/{bundle-B0uIbH1T.js → bundle-CK1N-Lna.js} +4 -19
  665. package/cjs/chunks/bundle-CK1N-Lna.js.map +1 -0
  666. package/cjs/chunks/{bundle-D4NkDFD-.js → bundle-CKctMt7s.js} +11 -10
  667. package/cjs/chunks/{bundle-sZREfKpL.js.map → bundle-CKctMt7s.js.map} +1 -1
  668. package/cjs/chunks/bundle-CPmEIY0J.js +1119 -0
  669. package/cjs/chunks/bundle-CPmEIY0J.js.map +1 -0
  670. package/cjs/chunks/{bundle-DUanoG7J.js → bundle-CTa0qp2J.js} +5 -5
  671. package/cjs/chunks/bundle-CTa0qp2J.js.map +1 -0
  672. package/cjs/chunks/{bundle-CNvRk1Z6.js → bundle-CVshjFAv.js} +1 -1
  673. package/cjs/chunks/bundle-CVshjFAv.js.map +1 -0
  674. package/cjs/chunks/{bundle-DeLEOQNO.js → bundle-C_Lbwszw.js} +5 -5
  675. package/cjs/chunks/{bundle-B5-vaN7x.js.map → bundle-C_Lbwszw.js.map} +1 -1
  676. package/cjs/chunks/{bundle-BfjugOIp.js → bundle-CayzfAtS.js} +4 -4
  677. package/cjs/chunks/bundle-CayzfAtS.js.map +1 -0
  678. package/cjs/chunks/bundle-Cbdc9ZJY.js +201 -0
  679. package/cjs/chunks/bundle-Cbdc9ZJY.js.map +1 -0
  680. package/cjs/chunks/{bundle-BSfpBazH.js → bundle-CcGys-84.js} +3 -3
  681. package/cjs/chunks/bundle-CcGys-84.js.map +1 -0
  682. package/cjs/chunks/{bundle-BAF8GaDh.js → bundle-Cgx64DbJ.js} +1 -1
  683. package/cjs/chunks/bundle-Cgx64DbJ.js.map +1 -0
  684. package/cjs/chunks/{bundle-D-kYFL1Z.js → bundle-CkXIqGZB.js} +1 -1
  685. package/cjs/chunks/bundle-CkXIqGZB.js.map +1 -0
  686. package/cjs/chunks/bundle-CmF5XsRI.js +270 -0
  687. package/cjs/chunks/bundle-CmF5XsRI.js.map +1 -0
  688. package/cjs/chunks/{bundle-BOCivP7e.js → bundle-CmJi_0Nb.js} +2 -2
  689. package/cjs/chunks/bundle-CmJi_0Nb.js.map +1 -0
  690. package/cjs/chunks/{bundle-QF_AmnwV.js → bundle-CqCReWdH.js} +8 -7
  691. package/cjs/chunks/{bundle-D4NkDFD-.js.map → bundle-CqCReWdH.js.map} +1 -1
  692. package/cjs/chunks/{bundle-n_Z6yPjx.js → bundle-CsoIWjn3.js} +6 -7
  693. package/cjs/chunks/bundle-CsoIWjn3.js.map +1 -0
  694. package/cjs/chunks/{bundle-sZREfKpL.js → bundle-Csp1LbIg.js} +7 -6
  695. package/{chunks/bundle-C6-Ix-Lk.js.map → cjs/chunks/bundle-Csp1LbIg.js.map} +1 -1
  696. package/cjs/chunks/bundle-Ctgz-ey7.js +761 -0
  697. package/cjs/chunks/bundle-Ctgz-ey7.js.map +1 -0
  698. package/cjs/chunks/{bundle-Bu4cmOCm.js → bundle-D-ZoYmRl.js} +1 -1
  699. package/cjs/chunks/bundle-D-ZoYmRl.js.map +1 -0
  700. package/cjs/chunks/{bundle-JpIugjtL.js → bundle-D07kXU0F.js} +3 -3
  701. package/cjs/chunks/bundle-D07kXU0F.js.map +1 -0
  702. package/cjs/chunks/{bundle-B5aEwfu1.js → bundle-D0lw9Bpa.js} +1 -1
  703. package/cjs/chunks/bundle-D0lw9Bpa.js.map +1 -0
  704. package/cjs/chunks/{bundle-D30swLTX.js → bundle-D1THQ7gU.js} +3 -3
  705. package/cjs/chunks/bundle-D1THQ7gU.js.map +1 -0
  706. package/cjs/chunks/{bundle-DpyxKl7F.js → bundle-D6K2mhIo.js} +16 -20
  707. package/{chunks/bundle-3aUfVJHj.js.map → cjs/chunks/bundle-D6K2mhIo.js.map} +1 -1
  708. package/cjs/chunks/{bundle-DYjhaLRW.js → bundle-D6rmjKfk.js} +9 -7
  709. package/cjs/chunks/bundle-D6rmjKfk.js.map +1 -0
  710. package/{chunks/bundle-CIN9yQRB.js → cjs/chunks/bundle-D8Y4YVC3.js} +3 -22
  711. package/cjs/chunks/{bundle-DE5YH8Q-.js.map → bundle-D8Y4YVC3.js.map} +1 -1
  712. package/cjs/chunks/{bundle-DWfeFlxG.js → bundle-DB7AA9OZ.js} +1 -1
  713. package/cjs/chunks/bundle-DB7AA9OZ.js.map +1 -0
  714. package/cjs/chunks/{bundle-CuWm0vby.js → bundle-DFU6GAqv.js} +1 -1
  715. package/cjs/chunks/{bundle-CuWm0vby.js.map → bundle-DFU6GAqv.js.map} +1 -1
  716. package/cjs/chunks/{bundle-COBYaK8T.js → bundle-DGGbCcCF.js} +4 -4
  717. package/cjs/chunks/{bundle-COBYaK8T.js.map → bundle-DGGbCcCF.js.map} +1 -1
  718. package/cjs/chunks/{bundle-Khwf-z37.js → bundle-DGGi0jBz.js} +9 -9
  719. package/cjs/chunks/bundle-DGGi0jBz.js.map +1 -0
  720. package/cjs/chunks/{bundle-XxCVYLKy.js → bundle-DHln-sDF.js} +8 -9
  721. package/cjs/chunks/bundle-DHln-sDF.js.map +1 -0
  722. package/cjs/chunks/bundle-DKTpL0g1.js +32 -0
  723. package/cjs/chunks/bundle-DKTpL0g1.js.map +1 -0
  724. package/cjs/chunks/{bundle-A5UoPEJO.js → bundle-DNSLlJbl.js} +4 -4
  725. package/cjs/chunks/bundle-DNSLlJbl.js.map +1 -0
  726. package/cjs/chunks/{bundle-DL3fuSPu.js → bundle-DQuGiR7V.js} +1 -1
  727. package/cjs/chunks/bundle-DQuGiR7V.js.map +1 -0
  728. package/cjs/chunks/{bundle-BL1sGjVd.js → bundle-DY7vPqdQ.js} +1 -1
  729. package/cjs/chunks/bundle-DY7vPqdQ.js.map +1 -0
  730. package/cjs/chunks/bundle-DYhBZd6j.js +152 -0
  731. package/cjs/chunks/bundle-DYhBZd6j.js.map +1 -0
  732. package/cjs/chunks/{bundle-Clz7RiTn.js → bundle-DeK5VJQG.js} +1 -1
  733. package/cjs/chunks/bundle-DeK5VJQG.js.map +1 -0
  734. package/cjs/chunks/{bundle-Bhf_RRfA.js → bundle-DeUnCD5j.js} +1 -1
  735. package/cjs/chunks/bundle-DeUnCD5j.js.map +1 -0
  736. package/cjs/chunks/{bundle-vf5ayidG.js → bundle-Dj5V094j.js} +17 -17
  737. package/cjs/chunks/{bundle-vf5ayidG.js.map → bundle-Dj5V094j.js.map} +1 -1
  738. package/cjs/chunks/{bundle-DzEGN4bG.js → bundle-Dk0-umQd.js} +1 -1
  739. package/cjs/chunks/bundle-Dk0-umQd.js.map +1 -0
  740. package/cjs/chunks/{bundle-nWxq3V_Q.js → bundle-DmbYmCTt.js} +3 -3
  741. package/cjs/chunks/bundle-DmbYmCTt.js.map +1 -0
  742. package/cjs/chunks/{bundle-B3LOu7kN.js → bundle-DxdlR74x.js} +4 -3
  743. package/cjs/chunks/bundle-DxdlR74x.js.map +1 -0
  744. package/cjs/chunks/{bundle-D6fimwV5.js → bundle-DyKOhVHq.js} +8 -8
  745. package/cjs/chunks/bundle-DyKOhVHq.js.map +1 -0
  746. package/cjs/chunks/{bundle-BOSyMutC.js → bundle-DzDaD05v.js} +2 -2
  747. package/cjs/chunks/{bundle-BOSyMutC.js.map → bundle-DzDaD05v.js.map} +1 -1
  748. package/cjs/chunks/{bundle-DHZYT5M_.js → bundle-DzywW4aT.js} +1 -1
  749. package/cjs/chunks/bundle-DzywW4aT.js.map +1 -0
  750. package/cjs/chunks/bundle-G3zxoxUu.js +11 -0
  751. package/cjs/chunks/bundle-G3zxoxUu.js.map +1 -0
  752. package/cjs/chunks/{bundle-Bc_sQb3i.js → bundle-Kcs0P7Bk.js} +5 -5
  753. package/cjs/chunks/bundle-Kcs0P7Bk.js.map +1 -0
  754. package/cjs/chunks/bundle-LSngpiw3.js +2932 -0
  755. package/cjs/chunks/bundle-LSngpiw3.js.map +1 -0
  756. package/cjs/chunks/{bundle-Dq5LRxGL.js → bundle-QCztkj4c.js} +11 -10
  757. package/cjs/chunks/bundle-QCztkj4c.js.map +1 -0
  758. package/cjs/chunks/{bundle-ChVeqDIG.js → bundle-QoSUa8d1.js} +13 -13
  759. package/{chunks/bundle-_sFl37fA.js.map → cjs/chunks/bundle-QoSUa8d1.js.map} +1 -1
  760. package/cjs/chunks/{bundle-WqJcr9PX.js → bundle-aZt_yr7x.js} +4 -4
  761. package/cjs/chunks/{bundle-WqJcr9PX.js.map → bundle-aZt_yr7x.js.map} +1 -1
  762. package/cjs/chunks/{bundle-DmO3Qtot.js → bundle-es5xApqy.js} +1 -1
  763. package/cjs/chunks/{bundle-DmO3Qtot.js.map → bundle-es5xApqy.js.map} +1 -1
  764. package/cjs/chunks/{bundle-R7sVfaA9.js → bundle-jKIGkHX-.js} +9 -8
  765. package/cjs/chunks/bundle-jKIGkHX-.js.map +1 -0
  766. package/cjs/chunks/{bundle-ChDTEa9-.js → bundle-lK-G2WrJ.js} +1 -1
  767. package/cjs/chunks/bundle-lK-G2WrJ.js.map +1 -0
  768. package/cjs/chunks/{bundle-CfUeEOi0.js → bundle-nScEwTro.js} +14 -14
  769. package/cjs/chunks/bundle-nScEwTro.js.map +1 -0
  770. package/cjs/chunks/{bundle-S-XkXH4q.js → bundle-r0O7RuH2.js} +2 -2
  771. package/cjs/chunks/bundle-r0O7RuH2.js.map +1 -0
  772. package/cjs/chunks/{bundle-B2zio8XF.js → bundle-vqTlMP2p.js} +1 -1
  773. package/cjs/chunks/bundle-vqTlMP2p.js.map +1 -0
  774. package/cjs/chunks/{bundle-BBgc3koD.js → bundle-ysciuVYD.js} +15 -14
  775. package/cjs/chunks/{bundle-BBgc3koD.js.map → bundle-ysciuVYD.js.map} +1 -1
  776. package/cjs/hooks/useConnectionState.js +8 -5
  777. package/cjs/hooks/useConnectionState.js.map +1 -1
  778. package/cjs/hooks/useLocalization.js +4 -3
  779. package/cjs/hooks/useLocalization.js.map +1 -1
  780. package/cjs/hooks/useModal.js +56 -24
  781. package/cjs/hooks/useModal.js.map +1 -1
  782. package/cjs/index.js +119 -127
  783. package/cjs/index.js.map +1 -1
  784. package/cjs/pubSub/topics.js +1 -1
  785. package/cjs/sendbirdSelectors.js +3 -3
  786. package/cjs/ui/Accordion.js +2 -2
  787. package/cjs/ui/AccordionGroup.js +1 -1
  788. package/cjs/ui/AdminMessage.js +3 -3
  789. package/cjs/ui/Avatar.js +4 -4
  790. package/cjs/ui/Badge.js +5 -4
  791. package/cjs/ui/Badge.js.map +1 -1
  792. package/cjs/ui/BottomSheet.js +19 -25
  793. package/cjs/ui/BottomSheet.js.map +1 -1
  794. package/cjs/ui/Button.js +3 -3
  795. package/cjs/ui/ChannelAvatar.js +5 -5
  796. package/cjs/ui/ConnectionStatus.js +6 -5
  797. package/cjs/ui/ConnectionStatus.js.map +1 -1
  798. package/cjs/ui/ContextMenu.js +16 -14
  799. package/cjs/ui/ContextMenu.js.map +1 -1
  800. package/cjs/ui/DateSeparator.js +4 -4
  801. package/cjs/ui/EmojiReactions.js +27 -28
  802. package/cjs/ui/EmojiReactions.js.map +1 -1
  803. package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js +10 -8
  804. package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js.map +1 -1
  805. package/cjs/ui/FileMessageItemBody.js +20 -16
  806. package/cjs/ui/FileMessageItemBody.js.map +1 -1
  807. package/cjs/ui/FileViewer.js +22 -23
  808. package/cjs/ui/FileViewer.js.map +1 -1
  809. package/cjs/ui/Header.js +6 -6
  810. package/cjs/ui/Icon.js +2 -2
  811. package/cjs/ui/IconButton.js +1 -1
  812. package/cjs/ui/ImageRenderer.js +2 -2
  813. package/cjs/ui/Input.js +3 -3
  814. package/cjs/ui/Label.js +3 -3
  815. package/cjs/ui/LinkLabel.js +4 -4
  816. package/cjs/ui/Loader.js +2 -2
  817. package/cjs/ui/LoadingTemplateMessageItemBody.tsx.js +2 -2
  818. package/cjs/ui/MentionLabel.js +24 -27
  819. package/cjs/ui/MentionLabel.js.map +1 -1
  820. package/cjs/ui/MentionUserLabel.js +2 -2
  821. package/cjs/ui/MessageContent.js +48 -45
  822. package/cjs/ui/MessageContent.js.map +1 -1
  823. package/cjs/ui/MessageFeedbackFailedModal.js +15 -22
  824. package/cjs/ui/MessageFeedbackFailedModal.js.map +1 -1
  825. package/cjs/ui/MessageFeedbackModal.js +15 -22
  826. package/cjs/ui/MessageFeedbackModal.js.map +1 -1
  827. package/cjs/ui/MessageInput/hooks/usePaste.js +7 -7
  828. package/cjs/ui/MessageInput.js +26 -22
  829. package/cjs/ui/MessageInput.js.map +1 -1
  830. package/cjs/ui/MessageItemMenu.js +15 -13
  831. package/cjs/ui/MessageItemMenu.js.map +1 -1
  832. package/cjs/ui/MessageItemReactionMenu.js +16 -14
  833. package/cjs/ui/MessageItemReactionMenu.js.map +1 -1
  834. package/cjs/ui/MessageMenu.js +17 -15
  835. package/cjs/ui/MessageMenu.js.map +1 -1
  836. package/cjs/ui/MessageSearchFileItem.js +17 -15
  837. package/cjs/ui/MessageSearchFileItem.js.map +1 -1
  838. package/cjs/ui/MessageSearchItem.js +12 -11
  839. package/cjs/ui/MessageSearchItem.js.map +1 -1
  840. package/cjs/ui/MessageStatus.js +15 -13
  841. package/cjs/ui/MessageStatus.js.map +1 -1
  842. package/cjs/ui/MessageTemplate.js +1 -1
  843. package/cjs/ui/MobileFeedbackMenu.js +15 -21
  844. package/cjs/ui/MobileFeedbackMenu.js.map +1 -1
  845. package/cjs/ui/MobileMenu.js +21 -23
  846. package/cjs/ui/MobileMenu.js.map +1 -1
  847. package/cjs/ui/Modal.js +13 -21
  848. package/cjs/ui/Modal.js.map +1 -1
  849. package/cjs/ui/MutedAvatarOverlay.js +2 -2
  850. package/cjs/ui/OGMessageItemBody.js +24 -26
  851. package/cjs/ui/OGMessageItemBody.js.map +1 -1
  852. package/cjs/ui/OpenChannelAdminMessage.js +3 -3
  853. package/cjs/ui/OpenChannelAvatar.js +8 -7
  854. package/cjs/ui/OpenChannelAvatar.js.map +1 -1
  855. package/cjs/ui/OpenchannelConversationHeader.js +8 -7
  856. package/cjs/ui/OpenchannelConversationHeader.js.map +1 -1
  857. package/cjs/ui/OpenchannelFileMessage.js +24 -26
  858. package/cjs/ui/OpenchannelFileMessage.js.map +1 -1
  859. package/cjs/ui/OpenchannelOGMessage.js +26 -28
  860. package/cjs/ui/OpenchannelOGMessage.js.map +1 -1
  861. package/cjs/ui/OpenchannelThumbnailMessage.js +23 -25
  862. package/cjs/ui/OpenchannelThumbnailMessage.js.map +1 -1
  863. package/cjs/ui/OpenchannelUserMessage.js +25 -27
  864. package/cjs/ui/OpenchannelUserMessage.js.map +1 -1
  865. package/cjs/ui/PlaceHolder.js +6 -5
  866. package/cjs/ui/PlaceHolder.js.map +1 -1
  867. package/cjs/ui/PlaybackTime.js +3 -3
  868. package/cjs/ui/ProgressBar.js +1 -1
  869. package/cjs/ui/QuoteMessage.js +12 -10
  870. package/cjs/ui/QuoteMessage.js.map +1 -1
  871. package/cjs/ui/QuoteMessageInput.js +12 -10
  872. package/cjs/ui/QuoteMessageInput.js.map +1 -1
  873. package/cjs/ui/ReactionBadge.js +3 -3
  874. package/cjs/ui/ReactionButton.js +4 -4
  875. package/cjs/ui/SortByRow.js +2 -2
  876. package/cjs/ui/TemplateMessageItemBody.js +21 -17
  877. package/cjs/ui/TemplateMessageItemBody.js.map +1 -1
  878. package/cjs/ui/TextButton.js +2 -2
  879. package/cjs/ui/TextMessageItemBody.js +24 -27
  880. package/cjs/ui/TextMessageItemBody.js.map +1 -1
  881. package/cjs/ui/ThreadReplies.js +8 -7
  882. package/cjs/ui/ThreadReplies.js.map +1 -1
  883. package/cjs/ui/ThumbnailMessageItemBody.js +10 -9
  884. package/cjs/ui/ThumbnailMessageItemBody.js.map +1 -1
  885. package/cjs/ui/Toggle.js +8 -5
  886. package/cjs/ui/Toggle.js.map +1 -1
  887. package/cjs/ui/Tooltip.js +3 -3
  888. package/cjs/ui/TooltipWrapper.js +1 -1
  889. package/cjs/ui/TypingIndicatorBubble.js +4 -4
  890. package/cjs/ui/UnknownMessageItemBody.js +10 -8
  891. package/cjs/ui/UnknownMessageItemBody.js.map +1 -1
  892. package/cjs/ui/UserListItem.js +28 -31
  893. package/cjs/ui/UserListItem.js.map +1 -1
  894. package/cjs/ui/UserListItemMenu.js +17 -15
  895. package/cjs/ui/UserListItemMenu.js.map +1 -1
  896. package/cjs/ui/UserProfile.js +19 -32
  897. package/cjs/ui/UserProfile.js.map +1 -1
  898. package/cjs/ui/VoiceMessageInput.js +9 -8
  899. package/cjs/ui/VoiceMessageInput.js.map +1 -1
  900. package/cjs/ui/VoiceMessageItemBody.js +16 -21
  901. package/cjs/ui/VoiceMessageItemBody.js.map +1 -1
  902. package/cjs/ui/Word.js +21 -24
  903. package/cjs/ui/Word.js.map +1 -1
  904. package/cjs/utils/message/isVoiceMessage.js +6 -5
  905. package/cjs/utils/message/isVoiceMessage.js.map +1 -1
  906. package/dist/index.css +113 -113
  907. package/hooks/useConnectionState.js +8 -5
  908. package/hooks/useConnectionState.js.map +1 -1
  909. package/hooks/useLocalization.js +4 -3
  910. package/hooks/useLocalization.js.map +1 -1
  911. package/hooks/useModal.js +55 -22
  912. package/hooks/useModal.js.map +1 -1
  913. package/index.js +116 -125
  914. package/index.js.map +1 -1
  915. package/package.json +15 -33
  916. package/pubSub/topics.js +1 -1
  917. package/sendbirdSelectors.js +3 -3
  918. package/types/hooks/useDeepCompareEffect.d.ts +24 -0
  919. package/types/hooks/useStore.d.ts +14 -0
  920. package/types/hooks/useThrottleCallback.d.ts +0 -7
  921. package/types/index.d.ts +3 -2
  922. package/types/lib/MediaQueryContext.d.ts +1 -1
  923. package/types/lib/Sendbird/context/SendbirdContext.d.ts +18 -0
  924. package/types/lib/Sendbird/context/SendbirdProvider.d.ts +4 -0
  925. package/types/lib/Sendbird/context/hooks/useSendbird.d.ts +32 -0
  926. package/types/lib/Sendbird/context/hooks/useSendbirdStateContext.d.ts +3 -0
  927. package/types/lib/Sendbird/context/initialState.d.ts +2 -0
  928. package/types/lib/Sendbird/index.d.ts +16 -0
  929. package/types/lib/{types.d.ts → Sendbird/types.d.ts} +167 -102
  930. package/types/lib/Sendbird/utils.d.ts +28 -0
  931. package/types/lib/emojiManager.d.ts +2 -3
  932. package/types/lib/hooks/schedulerFactory.d.ts +1 -1
  933. package/types/lib/hooks/useMarkAsDeliveredScheduler.d.ts +1 -1
  934. package/types/lib/hooks/useMarkAsReadScheduler.d.ts +1 -1
  935. package/types/lib/hooks/useMessageTemplateUtils.d.ts +10 -5
  936. package/types/lib/selectors.d.ts +37 -37
  937. package/types/lib/utils/uikitConfigMapper.d.ts +1 -1
  938. package/types/modules/App/types.d.ts +1 -1
  939. package/types/modules/Channel/context/hooks/useGetChannel.d.ts +1 -1
  940. package/types/modules/Channel/context/hooks/useHandleChannelEvents.d.ts +1 -1
  941. package/types/modules/Channel/context/hooks/useHandleReconnect.d.ts +1 -2
  942. package/types/modules/Channel/context/hooks/useHandleReconnectForChannelList.d.ts +1 -2
  943. package/types/modules/Channel/context/hooks/useHandleUploadFiles.d.ts +1 -1
  944. package/types/modules/Channel/context/hooks/useScrollCallback.d.ts +1 -1
  945. package/types/modules/Channel/context/hooks/useScrollDownCallback.d.ts +1 -1
  946. package/types/modules/Channel/context/hooks/useSendFileMessageCallback.d.ts +2 -2
  947. package/types/modules/Channel/context/hooks/useSendMultipleFilesMessage.d.ts +1 -1
  948. package/types/modules/Channel/context/hooks/useSendVoiceMessageCallback.d.ts +1 -1
  949. package/types/modules/Channel/context/hooks/useToggleReactionCallback.d.ts +16 -8
  950. package/types/modules/Channel/context/utils.d.ts +1 -1
  951. package/types/modules/ChannelList/context/hooks/useActiveChannelUrl.d.ts +1 -2
  952. package/types/modules/ChannelList/context/hooks/useFetchChannelList.d.ts +1 -1
  953. package/types/modules/ChannelList/utils.d.ts +1 -1
  954. package/types/modules/ChannelSettings/components/ChannelSettingsUI/index.d.ts +2 -1
  955. package/types/modules/ChannelSettings/components/ModerationPanel/BannedUsersModal.d.ts +1 -1
  956. package/types/modules/ChannelSettings/components/ModerationPanel/MutedMembersModal.d.ts +1 -1
  957. package/types/modules/ChannelSettings/context/ChannelSettingsProvider.d.ts +23 -38
  958. package/types/modules/ChannelSettings/context/hooks/useChannelHandler.d.ts +10 -0
  959. package/types/modules/ChannelSettings/context/hooks/useSetChannel.d.ts +10 -0
  960. package/types/modules/ChannelSettings/context/index.d.ts +3 -0
  961. package/types/modules/ChannelSettings/context/types.d.ts +40 -0
  962. package/types/modules/ChannelSettings/context/useChannelSettings.d.ts +11 -0
  963. package/types/modules/ChannelSettings/index.d.ts +1 -1
  964. package/types/modules/CreateChannel/components/InviteUsers/utils.d.ts +1 -1
  965. package/types/modules/CreateChannel/context/CreateChannelProvider.d.ts +36 -9
  966. package/types/modules/CreateChannel/context/index.d.ts +2 -0
  967. package/types/modules/CreateChannel/context/useCreateChannel.d.ts +11 -0
  968. package/types/modules/CreateChannel/utils.d.ts +1 -1
  969. package/types/modules/CreateOpenChannel/context/CreateOpenChannelProvider.d.ts +1 -2
  970. package/types/modules/GroupChannel/components/Message/MessageView.d.ts +1 -1
  971. package/types/modules/GroupChannel/components/MessageInputWrapper/useHandleUploadFiles.d.ts +1 -1
  972. package/types/modules/GroupChannel/components/MessageList/getMessagePartsInfo.d.ts +3 -1
  973. package/types/modules/GroupChannel/context/GroupChannelProvider.d.ts +64 -55
  974. package/types/modules/GroupChannel/context/hooks/useGroupChannel.d.ts +23 -0
  975. package/types/modules/GroupChannel/context/hooks/useMessageActions.d.ts +4 -10
  976. package/types/modules/GroupChannel/context/hooks/useMessageListScroll.d.ts +0 -2
  977. package/types/modules/GroupChannel/context/index.d.ts +2 -0
  978. package/types/modules/GroupChannel/context/types.d.ts +80 -0
  979. package/types/modules/GroupChannel/index.d.ts +1 -1
  980. package/types/modules/GroupChannelList/context/GroupChannelListProvider.d.ts +36 -4
  981. package/types/modules/GroupChannelList/context/index.d.ts +2 -0
  982. package/types/modules/GroupChannelList/context/useGroupChannelList.d.ts +8 -0
  983. package/types/modules/Message/hooks/useDirtyGetMentions.d.ts +1 -1
  984. package/types/modules/MessageSearch/context/MessageSearchProvider.d.ts +51 -24
  985. package/types/modules/MessageSearch/context/hooks/useGetSearchedMessages.d.ts +2 -8
  986. package/types/modules/MessageSearch/context/hooks/useMessageSearch.d.ts +21 -0
  987. package/types/modules/MessageSearch/context/hooks/useScrollCallback.d.ts +2 -9
  988. package/types/modules/MessageSearch/context/hooks/useSearchStringEffect.d.ts +1 -7
  989. package/types/modules/MessageSearch/context/hooks/useSetChannel.d.ts +2 -7
  990. package/types/modules/MessageSearch/context/index.d.ts +2 -0
  991. package/types/modules/OpenChannel/context/hooks/useDeleteMessageCallback.d.ts +1 -1
  992. package/types/modules/OpenChannel/context/hooks/useFileUploadCallback.d.ts +1 -3
  993. package/types/modules/OpenChannel/context/hooks/useHandleChannelEvents.d.ts +1 -2
  994. package/types/modules/OpenChannel/context/hooks/useInitialMessagesFetch.d.ts +1 -1
  995. package/types/modules/OpenChannel/context/hooks/useResendMessageCallback.d.ts +1 -1
  996. package/types/modules/OpenChannel/context/hooks/useScrollCallback.d.ts +1 -2
  997. package/types/modules/OpenChannel/context/hooks/useSendMessageCallback.d.ts +1 -2
  998. package/types/modules/OpenChannel/context/hooks/useSetChannel.d.ts +1 -2
  999. package/types/modules/OpenChannel/context/hooks/useUpdateMessageCallback.d.ts +1 -1
  1000. package/types/modules/OpenChannel/context/utils.d.ts +1 -1
  1001. package/types/modules/OpenChannelList/context/OpenChannelListInterfaces.d.ts +1 -1
  1002. package/types/modules/OpenChannelList/context/hooks/createChannelListQuery.d.ts +1 -2
  1003. package/types/modules/OpenChannelList/context/hooks/useFetchNextCallback.d.ts +1 -1
  1004. package/types/modules/OpenChannelList/context/hooks/useRefreshOpenChannelList.d.ts +1 -2
  1005. package/types/modules/OpenChannelList/context/hooks/useSetupOpenChannelList.d.ts +1 -2
  1006. package/types/modules/Thread/components/ParentMessageInfo/ParentMessageInfoItem.d.ts +1 -1
  1007. package/types/modules/Thread/context/ThreadProvider.d.ts +110 -22
  1008. package/types/modules/Thread/context/hooks/useDeleteMessageCallback.d.ts +4 -3
  1009. package/types/modules/Thread/context/hooks/useGetAllEmoji.d.ts +2 -4
  1010. package/types/modules/Thread/context/hooks/useGetChannel.d.ts +2 -7
  1011. package/types/modules/Thread/context/hooks/useGetParentMessage.d.ts +2 -4
  1012. package/types/modules/Thread/context/hooks/useHandleChannelEvents.d.ts +2 -4
  1013. package/types/modules/Thread/context/hooks/useHandleThreadPubsubEvents.d.ts +2 -3
  1014. package/types/modules/Thread/context/hooks/useResendMessageCallback.d.ts +5 -3
  1015. package/types/modules/Thread/context/hooks/useSendFileMessage.d.ts +4 -3
  1016. package/types/modules/Thread/context/hooks/useSendUserMessageCallback.d.ts +4 -3
  1017. package/types/modules/Thread/context/hooks/useSendVoiceMessageCallback.d.ts +4 -3
  1018. package/types/modules/Thread/context/hooks/useSetCurrentUserId.d.ts +6 -0
  1019. package/types/modules/Thread/context/hooks/useThreadFetchers.d.ts +14 -7
  1020. package/types/modules/Thread/context/hooks/useToggleReactionsCallback.d.ts +1 -1
  1021. package/types/modules/Thread/context/hooks/useUpdateMessageCallback.d.ts +4 -3
  1022. package/types/modules/Thread/context/index.d.ts +2 -0
  1023. package/types/modules/Thread/context/useThread.d.ts +64 -0
  1024. package/types/modules/Thread/types.d.ts +8 -0
  1025. package/types/ui/FileMessageItemBody/index.d.ts +1 -1
  1026. package/types/ui/MessageContent/MessageBody/index.d.ts +3 -3
  1027. package/types/ui/MessageContent/index.d.ts +1 -1
  1028. package/types/ui/MessageInput/messageInputUtils.d.ts +3 -3
  1029. package/types/ui/MultipleFilesMessageItemBody/index.d.ts +1 -1
  1030. package/types/utils/color.d.ts +0 -1
  1031. package/types/utils/compressImages.d.ts +1 -2
  1032. package/types/utils/getIsReactionEnabled.d.ts +2 -2
  1033. package/types/utils/index.d.ts +2 -26
  1034. package/types/utils/messages.d.ts +7 -6
  1035. package/types/utils/storeManager.d.ts +10 -0
  1036. package/types/utils/utils.d.ts +5 -0
  1037. package/ui/Accordion.js +2 -2
  1038. package/ui/AccordionGroup.js +1 -1
  1039. package/ui/AdminMessage.js +3 -3
  1040. package/ui/Avatar.js +4 -4
  1041. package/ui/Badge.js +5 -4
  1042. package/ui/Badge.js.map +1 -1
  1043. package/ui/BottomSheet.js +19 -25
  1044. package/ui/BottomSheet.js.map +1 -1
  1045. package/ui/Button.js +3 -3
  1046. package/ui/ChannelAvatar.js +5 -5
  1047. package/ui/ConnectionStatus.js +6 -5
  1048. package/ui/ConnectionStatus.js.map +1 -1
  1049. package/ui/ContextMenu.js +16 -14
  1050. package/ui/ContextMenu.js.map +1 -1
  1051. package/ui/DateSeparator.js +4 -4
  1052. package/ui/EmojiReactions.js +26 -27
  1053. package/ui/EmojiReactions.js.map +1 -1
  1054. package/ui/FallbackTemplateMessageItemBody.tsx.js +10 -8
  1055. package/ui/FallbackTemplateMessageItemBody.tsx.js.map +1 -1
  1056. package/ui/FileMessageItemBody.js +20 -16
  1057. package/ui/FileMessageItemBody.js.map +1 -1
  1058. package/ui/FileViewer.js +22 -23
  1059. package/ui/FileViewer.js.map +1 -1
  1060. package/ui/Header.js +6 -6
  1061. package/ui/Icon.js +2 -2
  1062. package/ui/IconButton.js +1 -1
  1063. package/ui/ImageRenderer.js +2 -2
  1064. package/ui/Input.js +3 -3
  1065. package/ui/Label.js +3 -3
  1066. package/ui/LinkLabel.js +4 -4
  1067. package/ui/Loader.js +2 -2
  1068. package/ui/LoadingTemplateMessageItemBody.tsx.js +2 -2
  1069. package/ui/MentionLabel.js +24 -27
  1070. package/ui/MentionLabel.js.map +1 -1
  1071. package/ui/MentionUserLabel.js +2 -2
  1072. package/ui/MessageContent.js +48 -45
  1073. package/ui/MessageContent.js.map +1 -1
  1074. package/ui/MessageFeedbackFailedModal.js +15 -22
  1075. package/ui/MessageFeedbackFailedModal.js.map +1 -1
  1076. package/ui/MessageFeedbackModal.js +15 -22
  1077. package/ui/MessageFeedbackModal.js.map +1 -1
  1078. package/ui/MessageInput/hooks/usePaste.js +7 -7
  1079. package/ui/MessageInput.js +24 -20
  1080. package/ui/MessageInput.js.map +1 -1
  1081. package/ui/MessageItemMenu.js +15 -13
  1082. package/ui/MessageItemMenu.js.map +1 -1
  1083. package/ui/MessageItemReactionMenu.js +16 -14
  1084. package/ui/MessageItemReactionMenu.js.map +1 -1
  1085. package/ui/MessageMenu.js +17 -15
  1086. package/ui/MessageMenu.js.map +1 -1
  1087. package/ui/MessageSearchFileItem.js +17 -15
  1088. package/ui/MessageSearchFileItem.js.map +1 -1
  1089. package/ui/MessageSearchItem.js +12 -11
  1090. package/ui/MessageSearchItem.js.map +1 -1
  1091. package/ui/MessageStatus.js +15 -13
  1092. package/ui/MessageStatus.js.map +1 -1
  1093. package/ui/MessageTemplate.js +1 -1
  1094. package/ui/MobileFeedbackMenu.js +15 -21
  1095. package/ui/MobileFeedbackMenu.js.map +1 -1
  1096. package/ui/MobileMenu.js +21 -23
  1097. package/ui/MobileMenu.js.map +1 -1
  1098. package/ui/Modal.js +13 -21
  1099. package/ui/Modal.js.map +1 -1
  1100. package/ui/MutedAvatarOverlay.js +2 -2
  1101. package/ui/OGMessageItemBody.js +24 -26
  1102. package/ui/OGMessageItemBody.js.map +1 -1
  1103. package/ui/OpenChannelAdminMessage.js +3 -3
  1104. package/ui/OpenChannelAvatar.js +8 -7
  1105. package/ui/OpenChannelAvatar.js.map +1 -1
  1106. package/ui/OpenchannelConversationHeader.js +8 -7
  1107. package/ui/OpenchannelConversationHeader.js.map +1 -1
  1108. package/ui/OpenchannelFileMessage.js +24 -26
  1109. package/ui/OpenchannelFileMessage.js.map +1 -1
  1110. package/ui/OpenchannelOGMessage.js +26 -28
  1111. package/ui/OpenchannelOGMessage.js.map +1 -1
  1112. package/ui/OpenchannelThumbnailMessage.js +23 -25
  1113. package/ui/OpenchannelThumbnailMessage.js.map +1 -1
  1114. package/ui/OpenchannelUserMessage.js +25 -27
  1115. package/ui/OpenchannelUserMessage.js.map +1 -1
  1116. package/ui/PlaceHolder.js +6 -5
  1117. package/ui/PlaceHolder.js.map +1 -1
  1118. package/ui/PlaybackTime.js +3 -3
  1119. package/ui/ProgressBar.js +1 -1
  1120. package/ui/QuoteMessage.js +12 -10
  1121. package/ui/QuoteMessage.js.map +1 -1
  1122. package/ui/QuoteMessageInput.js +12 -10
  1123. package/ui/QuoteMessageInput.js.map +1 -1
  1124. package/ui/ReactionBadge.js +3 -3
  1125. package/ui/ReactionButton.js +4 -4
  1126. package/ui/SortByRow.js +2 -2
  1127. package/ui/TemplateMessageItemBody.js +21 -17
  1128. package/ui/TemplateMessageItemBody.js.map +1 -1
  1129. package/ui/TextButton.js +2 -2
  1130. package/ui/TextMessageItemBody.js +24 -27
  1131. package/ui/TextMessageItemBody.js.map +1 -1
  1132. package/ui/ThreadReplies.js +8 -7
  1133. package/ui/ThreadReplies.js.map +1 -1
  1134. package/ui/ThumbnailMessageItemBody.js +10 -9
  1135. package/ui/ThumbnailMessageItemBody.js.map +1 -1
  1136. package/ui/Toggle.js +8 -5
  1137. package/ui/Toggle.js.map +1 -1
  1138. package/ui/Tooltip.js +3 -3
  1139. package/ui/TooltipWrapper.js +1 -1
  1140. package/ui/TypingIndicatorBubble.js +4 -4
  1141. package/ui/UnknownMessageItemBody.js +10 -8
  1142. package/ui/UnknownMessageItemBody.js.map +1 -1
  1143. package/ui/UserListItem.js +28 -31
  1144. package/ui/UserListItem.js.map +1 -1
  1145. package/ui/UserListItemMenu.js +18 -16
  1146. package/ui/UserListItemMenu.js.map +1 -1
  1147. package/ui/UserProfile.js +19 -32
  1148. package/ui/UserProfile.js.map +1 -1
  1149. package/ui/VoiceMessageInput.js +9 -8
  1150. package/ui/VoiceMessageInput.js.map +1 -1
  1151. package/ui/VoiceMessageItemBody.js +16 -21
  1152. package/ui/VoiceMessageItemBody.js.map +1 -1
  1153. package/ui/Word.js +21 -24
  1154. package/ui/Word.js.map +1 -1
  1155. package/utils/message/isVoiceMessage.js +6 -5
  1156. package/utils/message/isVoiceMessage.js.map +1 -1
  1157. package/chunks/bundle-4W3uBGU3.js.map +0 -1
  1158. package/chunks/bundle-90vsNbxW.js.map +0 -1
  1159. package/chunks/bundle-BAQj91eb.js.map +0 -1
  1160. package/chunks/bundle-BBowfNDO.js.map +0 -1
  1161. package/chunks/bundle-BE58pe-0.js.map +0 -1
  1162. package/chunks/bundle-BFqR1X1Q.js.map +0 -1
  1163. package/chunks/bundle-BMygDCXK.js.map +0 -1
  1164. package/chunks/bundle-BP1CB0js.js.map +0 -1
  1165. package/chunks/bundle-BR3O1lZq.js.map +0 -1
  1166. package/chunks/bundle-BWM5xqIs.js +0 -57
  1167. package/chunks/bundle-BWM5xqIs.js.map +0 -1
  1168. package/chunks/bundle-BiPxcZtH.js.map +0 -1
  1169. package/chunks/bundle-Bk5X1tDl.js +0 -8
  1170. package/chunks/bundle-Bk5X1tDl.js.map +0 -1
  1171. package/chunks/bundle-C1U8wE49.js.map +0 -1
  1172. package/chunks/bundle-C9dF4QVS.js.map +0 -1
  1173. package/chunks/bundle-CB5ZFhrW.js +0 -9
  1174. package/chunks/bundle-CB5ZFhrW.js.map +0 -1
  1175. package/chunks/bundle-CDjVXDOc.js.map +0 -1
  1176. package/chunks/bundle-CDvvzlad.js.map +0 -1
  1177. package/chunks/bundle-CHzQIw7_.js +0 -43
  1178. package/chunks/bundle-CHzQIw7_.js.map +0 -1
  1179. package/chunks/bundle-CZsW3iP9.js.map +0 -1
  1180. package/chunks/bundle-CbEyAimK.js.map +0 -1
  1181. package/chunks/bundle-Ci2fMtNJ.js.map +0 -1
  1182. package/chunks/bundle-Ctm0h0rU.js +0 -12
  1183. package/chunks/bundle-Ctm0h0rU.js.map +0 -1
  1184. package/chunks/bundle-Cu4bYcMG.js +0 -67
  1185. package/chunks/bundle-Cu4bYcMG.js.map +0 -1
  1186. package/chunks/bundle-CzdrQ_Yq.js.map +0 -1
  1187. package/chunks/bundle-DCbJaskZ.js.map +0 -1
  1188. package/chunks/bundle-DImSV9VW.js.map +0 -1
  1189. package/chunks/bundle-DUTyBaXr.js.map +0 -1
  1190. package/chunks/bundle-DWrM1EW4.js.map +0 -1
  1191. package/chunks/bundle-DYeeW5nS.js.map +0 -1
  1192. package/chunks/bundle-DaKZZ13Y.js.map +0 -1
  1193. package/chunks/bundle-Deel9XzY.js.map +0 -1
  1194. package/chunks/bundle-DfDrbjM5.js.map +0 -1
  1195. package/chunks/bundle-DjgT6gu4.js.map +0 -1
  1196. package/chunks/bundle-DkviGBGz.js.map +0 -1
  1197. package/chunks/bundle-Dpdq7qeD.js.map +0 -1
  1198. package/chunks/bundle-DrHsf0sP.js.map +0 -1
  1199. package/chunks/bundle-Dskg5qjd.js.map +0 -1
  1200. package/chunks/bundle-DtycZWOo.js +0 -20
  1201. package/chunks/bundle-DtycZWOo.js.map +0 -1
  1202. package/chunks/bundle-DvcOxLrR.js.map +0 -1
  1203. package/chunks/bundle-Dvg19muo.js.map +0 -1
  1204. package/chunks/bundle-LPNnEgGp.js.map +0 -1
  1205. package/chunks/bundle-LWpHaUiZ.js.map +0 -1
  1206. package/chunks/bundle-MkyS3j4-.js.map +0 -1
  1207. package/chunks/bundle-MrMJJXf2.js +0 -34
  1208. package/chunks/bundle-MrMJJXf2.js.map +0 -1
  1209. package/chunks/bundle-MyLy9AIu.js +0 -367
  1210. package/chunks/bundle-P-vXuw8U.js.map +0 -1
  1211. package/chunks/bundle-TGosz9cX.js.map +0 -1
  1212. package/chunks/bundle-V4PrrT67.js.map +0 -1
  1213. package/chunks/bundle-eYHtE5ry.js.map +0 -1
  1214. package/chunks/bundle-gQ2a8Eki.js.map +0 -1
  1215. package/chunks/bundle-jw_xHmHg.js.map +0 -1
  1216. package/chunks/bundle-k6zcGkBp.js.map +0 -1
  1217. package/cjs/chunks/bundle-4i5ybSGL.js +0 -107
  1218. package/cjs/chunks/bundle-4i5ybSGL.js.map +0 -1
  1219. package/cjs/chunks/bundle-6UD0H-nz.js.map +0 -1
  1220. package/cjs/chunks/bundle-A5UoPEJO.js.map +0 -1
  1221. package/cjs/chunks/bundle-Aw-PHA-I.js.map +0 -1
  1222. package/cjs/chunks/bundle-B0uIbH1T.js.map +0 -1
  1223. package/cjs/chunks/bundle-B2zio8XF.js.map +0 -1
  1224. package/cjs/chunks/bundle-B3LOu7kN.js.map +0 -1
  1225. package/cjs/chunks/bundle-B5aEwfu1.js.map +0 -1
  1226. package/cjs/chunks/bundle-BAF8GaDh.js.map +0 -1
  1227. package/cjs/chunks/bundle-BFFRQpby.js.map +0 -1
  1228. package/cjs/chunks/bundle-BFPhV1oD.js +0 -10
  1229. package/cjs/chunks/bundle-BFPhV1oD.js.map +0 -1
  1230. package/cjs/chunks/bundle-BFXyNnQ0.js +0 -11
  1231. package/cjs/chunks/bundle-BFXyNnQ0.js.map +0 -1
  1232. package/cjs/chunks/bundle-BL1sGjVd.js.map +0 -1
  1233. package/cjs/chunks/bundle-BOCivP7e.js.map +0 -1
  1234. package/cjs/chunks/bundle-BSfpBazH.js.map +0 -1
  1235. package/cjs/chunks/bundle-BUuEhLl0.js +0 -26
  1236. package/cjs/chunks/bundle-BUuEhLl0.js.map +0 -1
  1237. package/cjs/chunks/bundle-BZd597ep.js.map +0 -1
  1238. package/cjs/chunks/bundle-BcIrmepz.js.map +0 -1
  1239. package/cjs/chunks/bundle-Bc_sQb3i.js.map +0 -1
  1240. package/cjs/chunks/bundle-BfjugOIp.js.map +0 -1
  1241. package/cjs/chunks/bundle-Bhf_RRfA.js.map +0 -1
  1242. package/cjs/chunks/bundle-BloKh_k7.js.map +0 -1
  1243. package/cjs/chunks/bundle-BpThX3wu.js.map +0 -1
  1244. package/cjs/chunks/bundle-Bu4cmOCm.js.map +0 -1
  1245. package/cjs/chunks/bundle-ByQJ042a.js.map +0 -1
  1246. package/cjs/chunks/bundle-C3_KfqSN.js.map +0 -1
  1247. package/cjs/chunks/bundle-CNvRk1Z6.js.map +0 -1
  1248. package/cjs/chunks/bundle-CT3qZJLT.js +0 -36
  1249. package/cjs/chunks/bundle-CT3qZJLT.js.map +0 -1
  1250. package/cjs/chunks/bundle-CYAm3mYC.js +0 -50
  1251. package/cjs/chunks/bundle-CYAm3mYC.js.map +0 -1
  1252. package/cjs/chunks/bundle-CfUeEOi0.js.map +0 -1
  1253. package/cjs/chunks/bundle-ChDTEa9-.js.map +0 -1
  1254. package/cjs/chunks/bundle-Clz7RiTn.js.map +0 -1
  1255. package/cjs/chunks/bundle-Cq5LKFhE.js.map +0 -1
  1256. package/cjs/chunks/bundle-D-kYFL1Z.js.map +0 -1
  1257. package/cjs/chunks/bundle-D1slQ3hS.js.map +0 -1
  1258. package/cjs/chunks/bundle-D30swLTX.js.map +0 -1
  1259. package/cjs/chunks/bundle-D6fimwV5.js.map +0 -1
  1260. package/cjs/chunks/bundle-D7uROwt_.js +0 -73
  1261. package/cjs/chunks/bundle-D7uROwt_.js.map +0 -1
  1262. package/cjs/chunks/bundle-DHPSwRDh.js.map +0 -1
  1263. package/cjs/chunks/bundle-DHZYT5M_.js.map +0 -1
  1264. package/cjs/chunks/bundle-DL3fuSPu.js.map +0 -1
  1265. package/cjs/chunks/bundle-DQy9DqFO.js +0 -84
  1266. package/cjs/chunks/bundle-DQy9DqFO.js.map +0 -1
  1267. package/cjs/chunks/bundle-DTD48j2K.js.map +0 -1
  1268. package/cjs/chunks/bundle-DVc6YedH.js.map +0 -1
  1269. package/cjs/chunks/bundle-DWfeFlxG.js.map +0 -1
  1270. package/cjs/chunks/bundle-DX3sBwvt.js.map +0 -1
  1271. package/cjs/chunks/bundle-DYjhaLRW.js.map +0 -1
  1272. package/cjs/chunks/bundle-DkDRIPJe.js.map +0 -1
  1273. package/cjs/chunks/bundle-Dq5LRxGL.js.map +0 -1
  1274. package/cjs/chunks/bundle-DuSS5Dmw.js.map +0 -1
  1275. package/cjs/chunks/bundle-DzEGN4bG.js.map +0 -1
  1276. package/cjs/chunks/bundle-JpIugjtL.js.map +0 -1
  1277. package/cjs/chunks/bundle-Khwf-z37.js.map +0 -1
  1278. package/cjs/chunks/bundle-Ol1CxgYk.js +0 -385
  1279. package/cjs/chunks/bundle-Ol1CxgYk.js.map +0 -1
  1280. package/cjs/chunks/bundle-QF_AmnwV.js.map +0 -1
  1281. package/cjs/chunks/bundle-R7sVfaA9.js.map +0 -1
  1282. package/cjs/chunks/bundle-S-XkXH4q.js.map +0 -1
  1283. package/cjs/chunks/bundle-XANrnOqB.js.map +0 -1
  1284. package/cjs/chunks/bundle-XxCVYLKy.js.map +0 -1
  1285. package/cjs/chunks/bundle-YTiDKoON.js.map +0 -1
  1286. package/cjs/chunks/bundle-m5OpCHlj.js.map +0 -1
  1287. package/cjs/chunks/bundle-nWxq3V_Q.js.map +0 -1
  1288. package/cjs/chunks/bundle-n_Z6yPjx.js.map +0 -1
  1289. package/cjs/chunks/bundle-qMxPIH0k.js.map +0 -1
  1290. package/cjs/chunks/bundle-s1cLz65w.js.map +0 -1
  1291. package/cjs/useSendbirdStateContext.js +0 -27
  1292. package/cjs/useSendbirdStateContext.js.map +0 -1
  1293. package/cjs/withSendbird.js +0 -33
  1294. package/cjs/withSendbird.js.map +0 -1
  1295. package/types/hooks/useAppendDomNode.d.ts +0 -2
  1296. package/types/hooks/useSendbirdStateContext.d.ts +0 -3
  1297. package/types/lib/Sendbird.d.ts +0 -67
  1298. package/types/lib/SendbirdSdkContext.d.ts +0 -12
  1299. package/types/lib/SendbirdState.d.ts +0 -7
  1300. package/types/lib/dux/appInfo/actionTypes.d.ts +0 -26
  1301. package/types/lib/dux/appInfo/initialState.d.ts +0 -23
  1302. package/types/lib/dux/appInfo/reducers.d.ts +0 -3
  1303. package/types/lib/dux/appInfo/utils.d.ts +0 -7
  1304. package/types/lib/dux/sdk/actionTypes.d.ts +0 -16
  1305. package/types/lib/dux/sdk/initialState.d.ts +0 -9
  1306. package/types/lib/dux/sdk/reducers.d.ts +0 -3
  1307. package/types/lib/dux/user/actionTypes.d.ts +0 -14
  1308. package/types/lib/dux/user/initialState.d.ts +0 -8
  1309. package/types/lib/dux/user/reducers.d.ts +0 -3
  1310. package/types/lib/hooks/useConnect/__test__/data.mocks.d.ts +0 -16
  1311. package/types/lib/hooks/useConnect/connect.d.ts +0 -2
  1312. package/types/lib/hooks/useConnect/disconnectSdk.d.ts +0 -2
  1313. package/types/lib/hooks/useConnect/index.d.ts +0 -2
  1314. package/types/lib/hooks/useConnect/setupConnection.d.ts +0 -22
  1315. package/types/lib/hooks/useConnect/types.d.ts +0 -47
  1316. package/types/modules/GroupChannel/context/hooks/useToggleReactionCallback.d.ts +0 -4
  1317. package/types/modules/MessageSearch/context/dux/actionTypes.d.ts +0 -8
  1318. package/types/modules/MessageSearch/context/dux/initialState.d.ts +0 -14
  1319. package/types/modules/MessageSearch/context/dux/reducers.d.ts +0 -7
  1320. package/types/modules/Thread/context/dux/actionTypes.d.ts +0 -38
  1321. package/types/modules/Thread/context/dux/initialState.d.ts +0 -22
  1322. package/types/modules/Thread/context/dux/reducer.d.ts +0 -8
  1323. package/useSendbirdStateContext.js +0 -22
  1324. package/useSendbirdStateContext.js.map +0 -1
  1325. package/withSendbird.js +0 -24
  1326. package/withSendbird.js.map +0 -1
@@ -0,0 +1,2932 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+ var _tslib = require('./bundle-BPkbLqnu.js');
5
+ var consts = require('./bundle-B6qGo4m1.js');
6
+
7
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
8
+
9
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
10
+
11
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
12
+
13
+ function getDefaultExportFromCjs (x) {
14
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
15
+ }
16
+
17
+ var shim = {exports: {}};
18
+
19
+ var useSyncExternalStoreShim_production_min = {};
20
+
21
+ /**
22
+ * @license React
23
+ * use-sync-external-store-shim.production.min.js
24
+ *
25
+ * Copyright (c) Facebook, Inc. and its affiliates.
26
+ *
27
+ * This source code is licensed under the MIT license found in the
28
+ * LICENSE file in the root directory of this source tree.
29
+ */
30
+
31
+ var hasRequiredUseSyncExternalStoreShim_production_min;
32
+
33
+ function requireUseSyncExternalStoreShim_production_min () {
34
+ if (hasRequiredUseSyncExternalStoreShim_production_min) return useSyncExternalStoreShim_production_min;
35
+ hasRequiredUseSyncExternalStoreShim_production_min = 1;
36
+ var e=React__default.default;function h(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var k="function"===typeof Object.is?Object.is:h,l=e.useState,m=e.useEffect,n=e.useLayoutEffect,p=e.useDebugValue;function q(a,b){var d=b(),f=l({inst:{value:d,getSnapshot:b}}),c=f[0].inst,g=f[1];n(function(){c.value=d;c.getSnapshot=b;r(c)&&g({inst:c});},[a,d,b]);m(function(){r(c)&&g({inst:c});return a(function(){r(c)&&g({inst:c});})},[a]);p(d);return d}
37
+ function r(a){var b=a.getSnapshot;a=a.value;try{var d=b();return !k(a,d)}catch(f){return !0}}function t(a,b){return b()}var u="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?t:q;useSyncExternalStoreShim_production_min.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:u;
38
+ return useSyncExternalStoreShim_production_min;
39
+ }
40
+
41
+ var useSyncExternalStoreShim_development = {};
42
+
43
+ /**
44
+ * @license React
45
+ * use-sync-external-store-shim.development.js
46
+ *
47
+ * Copyright (c) Facebook, Inc. and its affiliates.
48
+ *
49
+ * This source code is licensed under the MIT license found in the
50
+ * LICENSE file in the root directory of this source tree.
51
+ */
52
+
53
+ var hasRequiredUseSyncExternalStoreShim_development;
54
+
55
+ function requireUseSyncExternalStoreShim_development () {
56
+ if (hasRequiredUseSyncExternalStoreShim_development) return useSyncExternalStoreShim_development;
57
+ hasRequiredUseSyncExternalStoreShim_development = 1;
58
+
59
+ if (process.env.NODE_ENV !== "production") {
60
+ (function() {
61
+
62
+ /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
63
+ if (
64
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
65
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart ===
66
+ 'function'
67
+ ) {
68
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
69
+ }
70
+ var React = React__default.default;
71
+
72
+ var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
73
+
74
+ function error(format) {
75
+ {
76
+ {
77
+ for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
78
+ args[_key2 - 1] = arguments[_key2];
79
+ }
80
+
81
+ printWarning('error', format, args);
82
+ }
83
+ }
84
+ }
85
+
86
+ function printWarning(level, format, args) {
87
+ // When changing this logic, you might want to also
88
+ // update consoleWithStackDev.www.js as well.
89
+ {
90
+ var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
91
+ var stack = ReactDebugCurrentFrame.getStackAddendum();
92
+
93
+ if (stack !== '') {
94
+ format += '%s';
95
+ args = args.concat([stack]);
96
+ } // eslint-disable-next-line react-internal/safe-string-coercion
97
+
98
+
99
+ var argsWithFormat = args.map(function (item) {
100
+ return String(item);
101
+ }); // Careful: RN currently depends on this prefix
102
+
103
+ argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
104
+ // breaks IE9: https://github.com/facebook/react/issues/13610
105
+ // eslint-disable-next-line react-internal/no-production-logging
106
+
107
+ Function.prototype.apply.call(console[level], console, argsWithFormat);
108
+ }
109
+ }
110
+
111
+ /**
112
+ * inlined Object.is polyfill to avoid requiring consumers ship their own
113
+ * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
114
+ */
115
+ function is(x, y) {
116
+ return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y // eslint-disable-line no-self-compare
117
+ ;
118
+ }
119
+
120
+ var objectIs = typeof Object.is === 'function' ? Object.is : is;
121
+
122
+ // dispatch for CommonJS interop named imports.
123
+
124
+ var useState = React.useState,
125
+ useEffect = React.useEffect,
126
+ useLayoutEffect = React.useLayoutEffect,
127
+ useDebugValue = React.useDebugValue;
128
+ var didWarnOld18Alpha = false;
129
+ var didWarnUncachedGetSnapshot = false; // Disclaimer: This shim breaks many of the rules of React, and only works
130
+ // because of a very particular set of implementation details and assumptions
131
+ // -- change any one of them and it will break. The most important assumption
132
+ // is that updates are always synchronous, because concurrent rendering is
133
+ // only available in versions of React that also have a built-in
134
+ // useSyncExternalStore API. And we only use this shim when the built-in API
135
+ // does not exist.
136
+ //
137
+ // Do not assume that the clever hacks used by this hook also work in general.
138
+ // The point of this shim is to replace the need for hacks by other libraries.
139
+
140
+ function useSyncExternalStore(subscribe, getSnapshot, // Note: The shim does not use getServerSnapshot, because pre-18 versions of
141
+ // React do not expose a way to check if we're hydrating. So users of the shim
142
+ // will need to track that themselves and return the correct value
143
+ // from `getSnapshot`.
144
+ getServerSnapshot) {
145
+ {
146
+ if (!didWarnOld18Alpha) {
147
+ if (React.startTransition !== undefined) {
148
+ didWarnOld18Alpha = true;
149
+
150
+ error('You are using an outdated, pre-release alpha of React 18 that ' + 'does not support useSyncExternalStore. The ' + 'use-sync-external-store shim will not work correctly. Upgrade ' + 'to a newer pre-release.');
151
+ }
152
+ }
153
+ } // Read the current snapshot from the store on every render. Again, this
154
+ // breaks the rules of React, and only works here because of specific
155
+ // implementation details, most importantly that updates are
156
+ // always synchronous.
157
+
158
+
159
+ var value = getSnapshot();
160
+
161
+ {
162
+ if (!didWarnUncachedGetSnapshot) {
163
+ var cachedValue = getSnapshot();
164
+
165
+ if (!objectIs(value, cachedValue)) {
166
+ error('The result of getSnapshot should be cached to avoid an infinite loop');
167
+
168
+ didWarnUncachedGetSnapshot = true;
169
+ }
170
+ }
171
+ } // Because updates are synchronous, we don't queue them. Instead we force a
172
+ // re-render whenever the subscribed state changes by updating an some
173
+ // arbitrary useState hook. Then, during render, we call getSnapshot to read
174
+ // the current value.
175
+ //
176
+ // Because we don't actually use the state returned by the useState hook, we
177
+ // can save a bit of memory by storing other stuff in that slot.
178
+ //
179
+ // To implement the early bailout, we need to track some things on a mutable
180
+ // object. Usually, we would put that in a useRef hook, but we can stash it in
181
+ // our useState hook instead.
182
+ //
183
+ // To force a re-render, we call forceUpdate({inst}). That works because the
184
+ // new object always fails an equality check.
185
+
186
+
187
+ var _useState = useState({
188
+ inst: {
189
+ value: value,
190
+ getSnapshot: getSnapshot
191
+ }
192
+ }),
193
+ inst = _useState[0].inst,
194
+ forceUpdate = _useState[1]; // Track the latest getSnapshot function with a ref. This needs to be updated
195
+ // in the layout phase so we can access it during the tearing check that
196
+ // happens on subscribe.
197
+
198
+
199
+ useLayoutEffect(function () {
200
+ inst.value = value;
201
+ inst.getSnapshot = getSnapshot; // Whenever getSnapshot or subscribe changes, we need to check in the
202
+ // commit phase if there was an interleaved mutation. In concurrent mode
203
+ // this can happen all the time, but even in synchronous mode, an earlier
204
+ // effect may have mutated the store.
205
+
206
+ if (checkIfSnapshotChanged(inst)) {
207
+ // Force a re-render.
208
+ forceUpdate({
209
+ inst: inst
210
+ });
211
+ }
212
+ }, [subscribe, value, getSnapshot]);
213
+ useEffect(function () {
214
+ // Check for changes right before subscribing. Subsequent changes will be
215
+ // detected in the subscription handler.
216
+ if (checkIfSnapshotChanged(inst)) {
217
+ // Force a re-render.
218
+ forceUpdate({
219
+ inst: inst
220
+ });
221
+ }
222
+
223
+ var handleStoreChange = function () {
224
+ // TODO: Because there is no cross-renderer API for batching updates, it's
225
+ // up to the consumer of this library to wrap their subscription event
226
+ // with unstable_batchedUpdates. Should we try to detect when this isn't
227
+ // the case and print a warning in development?
228
+ // The store changed. Check if the snapshot changed since the last time we
229
+ // read from the store.
230
+ if (checkIfSnapshotChanged(inst)) {
231
+ // Force a re-render.
232
+ forceUpdate({
233
+ inst: inst
234
+ });
235
+ }
236
+ }; // Subscribe to the store and return a clean-up function.
237
+
238
+
239
+ return subscribe(handleStoreChange);
240
+ }, [subscribe]);
241
+ useDebugValue(value);
242
+ return value;
243
+ }
244
+
245
+ function checkIfSnapshotChanged(inst) {
246
+ var latestGetSnapshot = inst.getSnapshot;
247
+ var prevValue = inst.value;
248
+
249
+ try {
250
+ var nextValue = latestGetSnapshot();
251
+ return !objectIs(prevValue, nextValue);
252
+ } catch (error) {
253
+ return true;
254
+ }
255
+ }
256
+
257
+ function useSyncExternalStore$1(subscribe, getSnapshot, getServerSnapshot) {
258
+ // Note: The shim does not use getServerSnapshot, because pre-18 versions of
259
+ // React do not expose a way to check if we're hydrating. So users of the shim
260
+ // will need to track that themselves and return the correct value
261
+ // from `getSnapshot`.
262
+ return getSnapshot();
263
+ }
264
+
265
+ var canUseDOM = !!(typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined');
266
+
267
+ var isServerEnvironment = !canUseDOM;
268
+
269
+ var shim = isServerEnvironment ? useSyncExternalStore$1 : useSyncExternalStore;
270
+ var useSyncExternalStore$2 = React.useSyncExternalStore !== undefined ? React.useSyncExternalStore : shim;
271
+
272
+ useSyncExternalStoreShim_development.useSyncExternalStore = useSyncExternalStore$2;
273
+ /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
274
+ if (
275
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
276
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop ===
277
+ 'function'
278
+ ) {
279
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
280
+ }
281
+
282
+ })();
283
+ }
284
+ return useSyncExternalStoreShim_development;
285
+ }
286
+
287
+ if (process.env.NODE_ENV === 'production') {
288
+ shim.exports = requireUseSyncExternalStoreShim_production_min();
289
+ } else {
290
+ shim.exports = requireUseSyncExternalStoreShim_development();
291
+ }
292
+
293
+ var shimExports = shim.exports;
294
+
295
+ /**
296
+ * Removes all key-value entries from the list cache.
297
+ *
298
+ * @private
299
+ * @name clear
300
+ * @memberOf ListCache
301
+ */
302
+
303
+ function listCacheClear$1() {
304
+ this.__data__ = [];
305
+ this.size = 0;
306
+ }
307
+
308
+ var _listCacheClear = listCacheClear$1;
309
+
310
+ /**
311
+ * Performs a
312
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
313
+ * comparison between two values to determine if they are equivalent.
314
+ *
315
+ * @static
316
+ * @memberOf _
317
+ * @since 4.0.0
318
+ * @category Lang
319
+ * @param {*} value The value to compare.
320
+ * @param {*} other The other value to compare.
321
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
322
+ * @example
323
+ *
324
+ * var object = { 'a': 1 };
325
+ * var other = { 'a': 1 };
326
+ *
327
+ * _.eq(object, object);
328
+ * // => true
329
+ *
330
+ * _.eq(object, other);
331
+ * // => false
332
+ *
333
+ * _.eq('a', 'a');
334
+ * // => true
335
+ *
336
+ * _.eq('a', Object('a'));
337
+ * // => false
338
+ *
339
+ * _.eq(NaN, NaN);
340
+ * // => true
341
+ */
342
+
343
+ function eq$2(value, other) {
344
+ return value === other || (value !== value && other !== other);
345
+ }
346
+
347
+ var eq_1 = eq$2;
348
+
349
+ var eq$1 = eq_1;
350
+
351
+ /**
352
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
353
+ *
354
+ * @private
355
+ * @param {Array} array The array to inspect.
356
+ * @param {*} key The key to search for.
357
+ * @returns {number} Returns the index of the matched value, else `-1`.
358
+ */
359
+ function assocIndexOf$4(array, key) {
360
+ var length = array.length;
361
+ while (length--) {
362
+ if (eq$1(array[length][0], key)) {
363
+ return length;
364
+ }
365
+ }
366
+ return -1;
367
+ }
368
+
369
+ var _assocIndexOf = assocIndexOf$4;
370
+
371
+ var assocIndexOf$3 = _assocIndexOf;
372
+
373
+ /** Used for built-in method references. */
374
+ var arrayProto = Array.prototype;
375
+
376
+ /** Built-in value references. */
377
+ var splice = arrayProto.splice;
378
+
379
+ /**
380
+ * Removes `key` and its value from the list cache.
381
+ *
382
+ * @private
383
+ * @name delete
384
+ * @memberOf ListCache
385
+ * @param {string} key The key of the value to remove.
386
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
387
+ */
388
+ function listCacheDelete$1(key) {
389
+ var data = this.__data__,
390
+ index = assocIndexOf$3(data, key);
391
+
392
+ if (index < 0) {
393
+ return false;
394
+ }
395
+ var lastIndex = data.length - 1;
396
+ if (index == lastIndex) {
397
+ data.pop();
398
+ } else {
399
+ splice.call(data, index, 1);
400
+ }
401
+ --this.size;
402
+ return true;
403
+ }
404
+
405
+ var _listCacheDelete = listCacheDelete$1;
406
+
407
+ var assocIndexOf$2 = _assocIndexOf;
408
+
409
+ /**
410
+ * Gets the list cache value for `key`.
411
+ *
412
+ * @private
413
+ * @name get
414
+ * @memberOf ListCache
415
+ * @param {string} key The key of the value to get.
416
+ * @returns {*} Returns the entry value.
417
+ */
418
+ function listCacheGet$1(key) {
419
+ var data = this.__data__,
420
+ index = assocIndexOf$2(data, key);
421
+
422
+ return index < 0 ? undefined : data[index][1];
423
+ }
424
+
425
+ var _listCacheGet = listCacheGet$1;
426
+
427
+ var assocIndexOf$1 = _assocIndexOf;
428
+
429
+ /**
430
+ * Checks if a list cache value for `key` exists.
431
+ *
432
+ * @private
433
+ * @name has
434
+ * @memberOf ListCache
435
+ * @param {string} key The key of the entry to check.
436
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
437
+ */
438
+ function listCacheHas$1(key) {
439
+ return assocIndexOf$1(this.__data__, key) > -1;
440
+ }
441
+
442
+ var _listCacheHas = listCacheHas$1;
443
+
444
+ var assocIndexOf = _assocIndexOf;
445
+
446
+ /**
447
+ * Sets the list cache `key` to `value`.
448
+ *
449
+ * @private
450
+ * @name set
451
+ * @memberOf ListCache
452
+ * @param {string} key The key of the value to set.
453
+ * @param {*} value The value to set.
454
+ * @returns {Object} Returns the list cache instance.
455
+ */
456
+ function listCacheSet$1(key, value) {
457
+ var data = this.__data__,
458
+ index = assocIndexOf(data, key);
459
+
460
+ if (index < 0) {
461
+ ++this.size;
462
+ data.push([key, value]);
463
+ } else {
464
+ data[index][1] = value;
465
+ }
466
+ return this;
467
+ }
468
+
469
+ var _listCacheSet = listCacheSet$1;
470
+
471
+ var listCacheClear = _listCacheClear,
472
+ listCacheDelete = _listCacheDelete,
473
+ listCacheGet = _listCacheGet,
474
+ listCacheHas = _listCacheHas,
475
+ listCacheSet = _listCacheSet;
476
+
477
+ /**
478
+ * Creates an list cache object.
479
+ *
480
+ * @private
481
+ * @constructor
482
+ * @param {Array} [entries] The key-value pairs to cache.
483
+ */
484
+ function ListCache$4(entries) {
485
+ var index = -1,
486
+ length = entries == null ? 0 : entries.length;
487
+
488
+ this.clear();
489
+ while (++index < length) {
490
+ var entry = entries[index];
491
+ this.set(entry[0], entry[1]);
492
+ }
493
+ }
494
+
495
+ // Add methods to `ListCache`.
496
+ ListCache$4.prototype.clear = listCacheClear;
497
+ ListCache$4.prototype['delete'] = listCacheDelete;
498
+ ListCache$4.prototype.get = listCacheGet;
499
+ ListCache$4.prototype.has = listCacheHas;
500
+ ListCache$4.prototype.set = listCacheSet;
501
+
502
+ var _ListCache = ListCache$4;
503
+
504
+ var ListCache$3 = _ListCache;
505
+
506
+ /**
507
+ * Removes all key-value entries from the stack.
508
+ *
509
+ * @private
510
+ * @name clear
511
+ * @memberOf Stack
512
+ */
513
+ function stackClear$1() {
514
+ this.__data__ = new ListCache$3;
515
+ this.size = 0;
516
+ }
517
+
518
+ var _stackClear = stackClear$1;
519
+
520
+ /**
521
+ * Removes `key` and its value from the stack.
522
+ *
523
+ * @private
524
+ * @name delete
525
+ * @memberOf Stack
526
+ * @param {string} key The key of the value to remove.
527
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
528
+ */
529
+
530
+ function stackDelete$1(key) {
531
+ var data = this.__data__,
532
+ result = data['delete'](key);
533
+
534
+ this.size = data.size;
535
+ return result;
536
+ }
537
+
538
+ var _stackDelete = stackDelete$1;
539
+
540
+ /**
541
+ * Gets the stack value for `key`.
542
+ *
543
+ * @private
544
+ * @name get
545
+ * @memberOf Stack
546
+ * @param {string} key The key of the value to get.
547
+ * @returns {*} Returns the entry value.
548
+ */
549
+
550
+ function stackGet$1(key) {
551
+ return this.__data__.get(key);
552
+ }
553
+
554
+ var _stackGet = stackGet$1;
555
+
556
+ /**
557
+ * Checks if a stack value for `key` exists.
558
+ *
559
+ * @private
560
+ * @name has
561
+ * @memberOf Stack
562
+ * @param {string} key The key of the entry to check.
563
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
564
+ */
565
+
566
+ function stackHas$1(key) {
567
+ return this.__data__.has(key);
568
+ }
569
+
570
+ var _stackHas = stackHas$1;
571
+
572
+ /** Detect free variable `global` from Node.js. */
573
+
574
+ var freeGlobal$1 = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
575
+
576
+ var _freeGlobal = freeGlobal$1;
577
+
578
+ var freeGlobal = _freeGlobal;
579
+
580
+ /** Detect free variable `self`. */
581
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
582
+
583
+ /** Used as a reference to the global object. */
584
+ var root$8 = freeGlobal || freeSelf || Function('return this')();
585
+
586
+ var _root = root$8;
587
+
588
+ var root$7 = _root;
589
+
590
+ /** Built-in value references. */
591
+ var Symbol$3 = root$7.Symbol;
592
+
593
+ var _Symbol = Symbol$3;
594
+
595
+ var Symbol$2 = _Symbol;
596
+
597
+ /** Used for built-in method references. */
598
+ var objectProto$b = Object.prototype;
599
+
600
+ /** Used to check objects for own properties. */
601
+ var hasOwnProperty$8 = objectProto$b.hasOwnProperty;
602
+
603
+ /**
604
+ * Used to resolve the
605
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
606
+ * of values.
607
+ */
608
+ var nativeObjectToString$1 = objectProto$b.toString;
609
+
610
+ /** Built-in value references. */
611
+ var symToStringTag$1 = Symbol$2 ? Symbol$2.toStringTag : undefined;
612
+
613
+ /**
614
+ * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
615
+ *
616
+ * @private
617
+ * @param {*} value The value to query.
618
+ * @returns {string} Returns the raw `toStringTag`.
619
+ */
620
+ function getRawTag$1(value) {
621
+ var isOwn = hasOwnProperty$8.call(value, symToStringTag$1),
622
+ tag = value[symToStringTag$1];
623
+
624
+ try {
625
+ value[symToStringTag$1] = undefined;
626
+ var unmasked = true;
627
+ } catch (e) {}
628
+
629
+ var result = nativeObjectToString$1.call(value);
630
+ if (unmasked) {
631
+ if (isOwn) {
632
+ value[symToStringTag$1] = tag;
633
+ } else {
634
+ delete value[symToStringTag$1];
635
+ }
636
+ }
637
+ return result;
638
+ }
639
+
640
+ var _getRawTag = getRawTag$1;
641
+
642
+ /** Used for built-in method references. */
643
+
644
+ var objectProto$a = Object.prototype;
645
+
646
+ /**
647
+ * Used to resolve the
648
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
649
+ * of values.
650
+ */
651
+ var nativeObjectToString = objectProto$a.toString;
652
+
653
+ /**
654
+ * Converts `value` to a string using `Object.prototype.toString`.
655
+ *
656
+ * @private
657
+ * @param {*} value The value to convert.
658
+ * @returns {string} Returns the converted string.
659
+ */
660
+ function objectToString$1(value) {
661
+ return nativeObjectToString.call(value);
662
+ }
663
+
664
+ var _objectToString = objectToString$1;
665
+
666
+ var Symbol$1 = _Symbol,
667
+ getRawTag = _getRawTag,
668
+ objectToString = _objectToString;
669
+
670
+ /** `Object#toString` result references. */
671
+ var nullTag = '[object Null]',
672
+ undefinedTag = '[object Undefined]';
673
+
674
+ /** Built-in value references. */
675
+ var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : undefined;
676
+
677
+ /**
678
+ * The base implementation of `getTag` without fallbacks for buggy environments.
679
+ *
680
+ * @private
681
+ * @param {*} value The value to query.
682
+ * @returns {string} Returns the `toStringTag`.
683
+ */
684
+ function baseGetTag$4(value) {
685
+ if (value == null) {
686
+ return value === undefined ? undefinedTag : nullTag;
687
+ }
688
+ return (symToStringTag && symToStringTag in Object(value))
689
+ ? getRawTag(value)
690
+ : objectToString(value);
691
+ }
692
+
693
+ var _baseGetTag = baseGetTag$4;
694
+
695
+ /**
696
+ * Checks if `value` is the
697
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
698
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
699
+ *
700
+ * @static
701
+ * @memberOf _
702
+ * @since 0.1.0
703
+ * @category Lang
704
+ * @param {*} value The value to check.
705
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
706
+ * @example
707
+ *
708
+ * _.isObject({});
709
+ * // => true
710
+ *
711
+ * _.isObject([1, 2, 3]);
712
+ * // => true
713
+ *
714
+ * _.isObject(_.noop);
715
+ * // => true
716
+ *
717
+ * _.isObject(null);
718
+ * // => false
719
+ */
720
+
721
+ function isObject$2(value) {
722
+ var type = typeof value;
723
+ return value != null && (type == 'object' || type == 'function');
724
+ }
725
+
726
+ var isObject_1 = isObject$2;
727
+
728
+ var baseGetTag$3 = _baseGetTag,
729
+ isObject$1 = isObject_1;
730
+
731
+ /** `Object#toString` result references. */
732
+ var asyncTag = '[object AsyncFunction]',
733
+ funcTag$1 = '[object Function]',
734
+ genTag = '[object GeneratorFunction]',
735
+ proxyTag = '[object Proxy]';
736
+
737
+ /**
738
+ * Checks if `value` is classified as a `Function` object.
739
+ *
740
+ * @static
741
+ * @memberOf _
742
+ * @since 0.1.0
743
+ * @category Lang
744
+ * @param {*} value The value to check.
745
+ * @returns {boolean} Returns `true` if `value` is a function, else `false`.
746
+ * @example
747
+ *
748
+ * _.isFunction(_);
749
+ * // => true
750
+ *
751
+ * _.isFunction(/abc/);
752
+ * // => false
753
+ */
754
+ function isFunction$2(value) {
755
+ if (!isObject$1(value)) {
756
+ return false;
757
+ }
758
+ // The use of `Object#toString` avoids issues with the `typeof` operator
759
+ // in Safari 9 which returns 'object' for typed arrays and other constructors.
760
+ var tag = baseGetTag$3(value);
761
+ return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
762
+ }
763
+
764
+ var isFunction_1 = isFunction$2;
765
+
766
+ var root$6 = _root;
767
+
768
+ /** Used to detect overreaching core-js shims. */
769
+ var coreJsData$1 = root$6['__core-js_shared__'];
770
+
771
+ var _coreJsData = coreJsData$1;
772
+
773
+ var coreJsData = _coreJsData;
774
+
775
+ /** Used to detect methods masquerading as native. */
776
+ var maskSrcKey = (function() {
777
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
778
+ return uid ? ('Symbol(src)_1.' + uid) : '';
779
+ }());
780
+
781
+ /**
782
+ * Checks if `func` has its source masked.
783
+ *
784
+ * @private
785
+ * @param {Function} func The function to check.
786
+ * @returns {boolean} Returns `true` if `func` is masked, else `false`.
787
+ */
788
+ function isMasked$1(func) {
789
+ return !!maskSrcKey && (maskSrcKey in func);
790
+ }
791
+
792
+ var _isMasked = isMasked$1;
793
+
794
+ /** Used for built-in method references. */
795
+
796
+ var funcProto$1 = Function.prototype;
797
+
798
+ /** Used to resolve the decompiled source of functions. */
799
+ var funcToString$1 = funcProto$1.toString;
800
+
801
+ /**
802
+ * Converts `func` to its source code.
803
+ *
804
+ * @private
805
+ * @param {Function} func The function to convert.
806
+ * @returns {string} Returns the source code.
807
+ */
808
+ function toSource$2(func) {
809
+ if (func != null) {
810
+ try {
811
+ return funcToString$1.call(func);
812
+ } catch (e) {}
813
+ try {
814
+ return (func + '');
815
+ } catch (e) {}
816
+ }
817
+ return '';
818
+ }
819
+
820
+ var _toSource = toSource$2;
821
+
822
+ var isFunction$1 = isFunction_1,
823
+ isMasked = _isMasked,
824
+ isObject = isObject_1,
825
+ toSource$1 = _toSource;
826
+
827
+ /**
828
+ * Used to match `RegExp`
829
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
830
+ */
831
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
832
+
833
+ /** Used to detect host constructors (Safari). */
834
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
835
+
836
+ /** Used for built-in method references. */
837
+ var funcProto = Function.prototype,
838
+ objectProto$9 = Object.prototype;
839
+
840
+ /** Used to resolve the decompiled source of functions. */
841
+ var funcToString = funcProto.toString;
842
+
843
+ /** Used to check objects for own properties. */
844
+ var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
845
+
846
+ /** Used to detect if a method is native. */
847
+ var reIsNative = RegExp('^' +
848
+ funcToString.call(hasOwnProperty$7).replace(reRegExpChar, '\\$&')
849
+ .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
850
+ );
851
+
852
+ /**
853
+ * The base implementation of `_.isNative` without bad shim checks.
854
+ *
855
+ * @private
856
+ * @param {*} value The value to check.
857
+ * @returns {boolean} Returns `true` if `value` is a native function,
858
+ * else `false`.
859
+ */
860
+ function baseIsNative$1(value) {
861
+ if (!isObject(value) || isMasked(value)) {
862
+ return false;
863
+ }
864
+ var pattern = isFunction$1(value) ? reIsNative : reIsHostCtor;
865
+ return pattern.test(toSource$1(value));
866
+ }
867
+
868
+ var _baseIsNative = baseIsNative$1;
869
+
870
+ /**
871
+ * Gets the value at `key` of `object`.
872
+ *
873
+ * @private
874
+ * @param {Object} [object] The object to query.
875
+ * @param {string} key The key of the property to get.
876
+ * @returns {*} Returns the property value.
877
+ */
878
+
879
+ function getValue$1(object, key) {
880
+ return object == null ? undefined : object[key];
881
+ }
882
+
883
+ var _getValue = getValue$1;
884
+
885
+ var baseIsNative = _baseIsNative,
886
+ getValue = _getValue;
887
+
888
+ /**
889
+ * Gets the native function at `key` of `object`.
890
+ *
891
+ * @private
892
+ * @param {Object} object The object to query.
893
+ * @param {string} key The key of the method to get.
894
+ * @returns {*} Returns the function if it's native, else `undefined`.
895
+ */
896
+ function getNative$6(object, key) {
897
+ var value = getValue(object, key);
898
+ return baseIsNative(value) ? value : undefined;
899
+ }
900
+
901
+ var _getNative = getNative$6;
902
+
903
+ var getNative$5 = _getNative,
904
+ root$5 = _root;
905
+
906
+ /* Built-in method references that are verified to be native. */
907
+ var Map$3 = getNative$5(root$5, 'Map');
908
+
909
+ var _Map = Map$3;
910
+
911
+ var getNative$4 = _getNative;
912
+
913
+ /* Built-in method references that are verified to be native. */
914
+ var nativeCreate$4 = getNative$4(Object, 'create');
915
+
916
+ var _nativeCreate = nativeCreate$4;
917
+
918
+ var nativeCreate$3 = _nativeCreate;
919
+
920
+ /**
921
+ * Removes all key-value entries from the hash.
922
+ *
923
+ * @private
924
+ * @name clear
925
+ * @memberOf Hash
926
+ */
927
+ function hashClear$1() {
928
+ this.__data__ = nativeCreate$3 ? nativeCreate$3(null) : {};
929
+ this.size = 0;
930
+ }
931
+
932
+ var _hashClear = hashClear$1;
933
+
934
+ /**
935
+ * Removes `key` and its value from the hash.
936
+ *
937
+ * @private
938
+ * @name delete
939
+ * @memberOf Hash
940
+ * @param {Object} hash The hash to modify.
941
+ * @param {string} key The key of the value to remove.
942
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
943
+ */
944
+
945
+ function hashDelete$1(key) {
946
+ var result = this.has(key) && delete this.__data__[key];
947
+ this.size -= result ? 1 : 0;
948
+ return result;
949
+ }
950
+
951
+ var _hashDelete = hashDelete$1;
952
+
953
+ var nativeCreate$2 = _nativeCreate;
954
+
955
+ /** Used to stand-in for `undefined` hash values. */
956
+ var HASH_UNDEFINED$2 = '__lodash_hash_undefined__';
957
+
958
+ /** Used for built-in method references. */
959
+ var objectProto$8 = Object.prototype;
960
+
961
+ /** Used to check objects for own properties. */
962
+ var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
963
+
964
+ /**
965
+ * Gets the hash value for `key`.
966
+ *
967
+ * @private
968
+ * @name get
969
+ * @memberOf Hash
970
+ * @param {string} key The key of the value to get.
971
+ * @returns {*} Returns the entry value.
972
+ */
973
+ function hashGet$1(key) {
974
+ var data = this.__data__;
975
+ if (nativeCreate$2) {
976
+ var result = data[key];
977
+ return result === HASH_UNDEFINED$2 ? undefined : result;
978
+ }
979
+ return hasOwnProperty$6.call(data, key) ? data[key] : undefined;
980
+ }
981
+
982
+ var _hashGet = hashGet$1;
983
+
984
+ var nativeCreate$1 = _nativeCreate;
985
+
986
+ /** Used for built-in method references. */
987
+ var objectProto$7 = Object.prototype;
988
+
989
+ /** Used to check objects for own properties. */
990
+ var hasOwnProperty$5 = objectProto$7.hasOwnProperty;
991
+
992
+ /**
993
+ * Checks if a hash value for `key` exists.
994
+ *
995
+ * @private
996
+ * @name has
997
+ * @memberOf Hash
998
+ * @param {string} key The key of the entry to check.
999
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1000
+ */
1001
+ function hashHas$1(key) {
1002
+ var data = this.__data__;
1003
+ return nativeCreate$1 ? (data[key] !== undefined) : hasOwnProperty$5.call(data, key);
1004
+ }
1005
+
1006
+ var _hashHas = hashHas$1;
1007
+
1008
+ var nativeCreate = _nativeCreate;
1009
+
1010
+ /** Used to stand-in for `undefined` hash values. */
1011
+ var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
1012
+
1013
+ /**
1014
+ * Sets the hash `key` to `value`.
1015
+ *
1016
+ * @private
1017
+ * @name set
1018
+ * @memberOf Hash
1019
+ * @param {string} key The key of the value to set.
1020
+ * @param {*} value The value to set.
1021
+ * @returns {Object} Returns the hash instance.
1022
+ */
1023
+ function hashSet$1(key, value) {
1024
+ var data = this.__data__;
1025
+ this.size += this.has(key) ? 0 : 1;
1026
+ data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED$1 : value;
1027
+ return this;
1028
+ }
1029
+
1030
+ var _hashSet = hashSet$1;
1031
+
1032
+ var hashClear = _hashClear,
1033
+ hashDelete = _hashDelete,
1034
+ hashGet = _hashGet,
1035
+ hashHas = _hashHas,
1036
+ hashSet = _hashSet;
1037
+
1038
+ /**
1039
+ * Creates a hash object.
1040
+ *
1041
+ * @private
1042
+ * @constructor
1043
+ * @param {Array} [entries] The key-value pairs to cache.
1044
+ */
1045
+ function Hash$1(entries) {
1046
+ var index = -1,
1047
+ length = entries == null ? 0 : entries.length;
1048
+
1049
+ this.clear();
1050
+ while (++index < length) {
1051
+ var entry = entries[index];
1052
+ this.set(entry[0], entry[1]);
1053
+ }
1054
+ }
1055
+
1056
+ // Add methods to `Hash`.
1057
+ Hash$1.prototype.clear = hashClear;
1058
+ Hash$1.prototype['delete'] = hashDelete;
1059
+ Hash$1.prototype.get = hashGet;
1060
+ Hash$1.prototype.has = hashHas;
1061
+ Hash$1.prototype.set = hashSet;
1062
+
1063
+ var _Hash = Hash$1;
1064
+
1065
+ var Hash = _Hash,
1066
+ ListCache$2 = _ListCache,
1067
+ Map$2 = _Map;
1068
+
1069
+ /**
1070
+ * Removes all key-value entries from the map.
1071
+ *
1072
+ * @private
1073
+ * @name clear
1074
+ * @memberOf MapCache
1075
+ */
1076
+ function mapCacheClear$1() {
1077
+ this.size = 0;
1078
+ this.__data__ = {
1079
+ 'hash': new Hash,
1080
+ 'map': new (Map$2 || ListCache$2),
1081
+ 'string': new Hash
1082
+ };
1083
+ }
1084
+
1085
+ var _mapCacheClear = mapCacheClear$1;
1086
+
1087
+ /**
1088
+ * Checks if `value` is suitable for use as unique object key.
1089
+ *
1090
+ * @private
1091
+ * @param {*} value The value to check.
1092
+ * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
1093
+ */
1094
+
1095
+ function isKeyable$1(value) {
1096
+ var type = typeof value;
1097
+ return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
1098
+ ? (value !== '__proto__')
1099
+ : (value === null);
1100
+ }
1101
+
1102
+ var _isKeyable = isKeyable$1;
1103
+
1104
+ var isKeyable = _isKeyable;
1105
+
1106
+ /**
1107
+ * Gets the data for `map`.
1108
+ *
1109
+ * @private
1110
+ * @param {Object} map The map to query.
1111
+ * @param {string} key The reference key.
1112
+ * @returns {*} Returns the map data.
1113
+ */
1114
+ function getMapData$4(map, key) {
1115
+ var data = map.__data__;
1116
+ return isKeyable(key)
1117
+ ? data[typeof key == 'string' ? 'string' : 'hash']
1118
+ : data.map;
1119
+ }
1120
+
1121
+ var _getMapData = getMapData$4;
1122
+
1123
+ var getMapData$3 = _getMapData;
1124
+
1125
+ /**
1126
+ * Removes `key` and its value from the map.
1127
+ *
1128
+ * @private
1129
+ * @name delete
1130
+ * @memberOf MapCache
1131
+ * @param {string} key The key of the value to remove.
1132
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1133
+ */
1134
+ function mapCacheDelete$1(key) {
1135
+ var result = getMapData$3(this, key)['delete'](key);
1136
+ this.size -= result ? 1 : 0;
1137
+ return result;
1138
+ }
1139
+
1140
+ var _mapCacheDelete = mapCacheDelete$1;
1141
+
1142
+ var getMapData$2 = _getMapData;
1143
+
1144
+ /**
1145
+ * Gets the map value for `key`.
1146
+ *
1147
+ * @private
1148
+ * @name get
1149
+ * @memberOf MapCache
1150
+ * @param {string} key The key of the value to get.
1151
+ * @returns {*} Returns the entry value.
1152
+ */
1153
+ function mapCacheGet$1(key) {
1154
+ return getMapData$2(this, key).get(key);
1155
+ }
1156
+
1157
+ var _mapCacheGet = mapCacheGet$1;
1158
+
1159
+ var getMapData$1 = _getMapData;
1160
+
1161
+ /**
1162
+ * Checks if a map value for `key` exists.
1163
+ *
1164
+ * @private
1165
+ * @name has
1166
+ * @memberOf MapCache
1167
+ * @param {string} key The key of the entry to check.
1168
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1169
+ */
1170
+ function mapCacheHas$1(key) {
1171
+ return getMapData$1(this, key).has(key);
1172
+ }
1173
+
1174
+ var _mapCacheHas = mapCacheHas$1;
1175
+
1176
+ var getMapData = _getMapData;
1177
+
1178
+ /**
1179
+ * Sets the map `key` to `value`.
1180
+ *
1181
+ * @private
1182
+ * @name set
1183
+ * @memberOf MapCache
1184
+ * @param {string} key The key of the value to set.
1185
+ * @param {*} value The value to set.
1186
+ * @returns {Object} Returns the map cache instance.
1187
+ */
1188
+ function mapCacheSet$1(key, value) {
1189
+ var data = getMapData(this, key),
1190
+ size = data.size;
1191
+
1192
+ data.set(key, value);
1193
+ this.size += data.size == size ? 0 : 1;
1194
+ return this;
1195
+ }
1196
+
1197
+ var _mapCacheSet = mapCacheSet$1;
1198
+
1199
+ var mapCacheClear = _mapCacheClear,
1200
+ mapCacheDelete = _mapCacheDelete,
1201
+ mapCacheGet = _mapCacheGet,
1202
+ mapCacheHas = _mapCacheHas,
1203
+ mapCacheSet = _mapCacheSet;
1204
+
1205
+ /**
1206
+ * Creates a map cache object to store key-value pairs.
1207
+ *
1208
+ * @private
1209
+ * @constructor
1210
+ * @param {Array} [entries] The key-value pairs to cache.
1211
+ */
1212
+ function MapCache$2(entries) {
1213
+ var index = -1,
1214
+ length = entries == null ? 0 : entries.length;
1215
+
1216
+ this.clear();
1217
+ while (++index < length) {
1218
+ var entry = entries[index];
1219
+ this.set(entry[0], entry[1]);
1220
+ }
1221
+ }
1222
+
1223
+ // Add methods to `MapCache`.
1224
+ MapCache$2.prototype.clear = mapCacheClear;
1225
+ MapCache$2.prototype['delete'] = mapCacheDelete;
1226
+ MapCache$2.prototype.get = mapCacheGet;
1227
+ MapCache$2.prototype.has = mapCacheHas;
1228
+ MapCache$2.prototype.set = mapCacheSet;
1229
+
1230
+ var _MapCache = MapCache$2;
1231
+
1232
+ var ListCache$1 = _ListCache,
1233
+ Map$1 = _Map,
1234
+ MapCache$1 = _MapCache;
1235
+
1236
+ /** Used as the size to enable large array optimizations. */
1237
+ var LARGE_ARRAY_SIZE = 200;
1238
+
1239
+ /**
1240
+ * Sets the stack `key` to `value`.
1241
+ *
1242
+ * @private
1243
+ * @name set
1244
+ * @memberOf Stack
1245
+ * @param {string} key The key of the value to set.
1246
+ * @param {*} value The value to set.
1247
+ * @returns {Object} Returns the stack cache instance.
1248
+ */
1249
+ function stackSet$1(key, value) {
1250
+ var data = this.__data__;
1251
+ if (data instanceof ListCache$1) {
1252
+ var pairs = data.__data__;
1253
+ if (!Map$1 || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
1254
+ pairs.push([key, value]);
1255
+ this.size = ++data.size;
1256
+ return this;
1257
+ }
1258
+ data = this.__data__ = new MapCache$1(pairs);
1259
+ }
1260
+ data.set(key, value);
1261
+ this.size = data.size;
1262
+ return this;
1263
+ }
1264
+
1265
+ var _stackSet = stackSet$1;
1266
+
1267
+ var ListCache = _ListCache,
1268
+ stackClear = _stackClear,
1269
+ stackDelete = _stackDelete,
1270
+ stackGet = _stackGet,
1271
+ stackHas = _stackHas,
1272
+ stackSet = _stackSet;
1273
+
1274
+ /**
1275
+ * Creates a stack cache object to store key-value pairs.
1276
+ *
1277
+ * @private
1278
+ * @constructor
1279
+ * @param {Array} [entries] The key-value pairs to cache.
1280
+ */
1281
+ function Stack$1(entries) {
1282
+ var data = this.__data__ = new ListCache(entries);
1283
+ this.size = data.size;
1284
+ }
1285
+
1286
+ // Add methods to `Stack`.
1287
+ Stack$1.prototype.clear = stackClear;
1288
+ Stack$1.prototype['delete'] = stackDelete;
1289
+ Stack$1.prototype.get = stackGet;
1290
+ Stack$1.prototype.has = stackHas;
1291
+ Stack$1.prototype.set = stackSet;
1292
+
1293
+ var _Stack = Stack$1;
1294
+
1295
+ /** Used to stand-in for `undefined` hash values. */
1296
+
1297
+ var HASH_UNDEFINED = '__lodash_hash_undefined__';
1298
+
1299
+ /**
1300
+ * Adds `value` to the array cache.
1301
+ *
1302
+ * @private
1303
+ * @name add
1304
+ * @memberOf SetCache
1305
+ * @alias push
1306
+ * @param {*} value The value to cache.
1307
+ * @returns {Object} Returns the cache instance.
1308
+ */
1309
+ function setCacheAdd$1(value) {
1310
+ this.__data__.set(value, HASH_UNDEFINED);
1311
+ return this;
1312
+ }
1313
+
1314
+ var _setCacheAdd = setCacheAdd$1;
1315
+
1316
+ /**
1317
+ * Checks if `value` is in the array cache.
1318
+ *
1319
+ * @private
1320
+ * @name has
1321
+ * @memberOf SetCache
1322
+ * @param {*} value The value to search for.
1323
+ * @returns {number} Returns `true` if `value` is found, else `false`.
1324
+ */
1325
+
1326
+ function setCacheHas$1(value) {
1327
+ return this.__data__.has(value);
1328
+ }
1329
+
1330
+ var _setCacheHas = setCacheHas$1;
1331
+
1332
+ var MapCache = _MapCache,
1333
+ setCacheAdd = _setCacheAdd,
1334
+ setCacheHas = _setCacheHas;
1335
+
1336
+ /**
1337
+ *
1338
+ * Creates an array cache object to store unique values.
1339
+ *
1340
+ * @private
1341
+ * @constructor
1342
+ * @param {Array} [values] The values to cache.
1343
+ */
1344
+ function SetCache$1(values) {
1345
+ var index = -1,
1346
+ length = values == null ? 0 : values.length;
1347
+
1348
+ this.__data__ = new MapCache;
1349
+ while (++index < length) {
1350
+ this.add(values[index]);
1351
+ }
1352
+ }
1353
+
1354
+ // Add methods to `SetCache`.
1355
+ SetCache$1.prototype.add = SetCache$1.prototype.push = setCacheAdd;
1356
+ SetCache$1.prototype.has = setCacheHas;
1357
+
1358
+ var _SetCache = SetCache$1;
1359
+
1360
+ /**
1361
+ * A specialized version of `_.some` for arrays without support for iteratee
1362
+ * shorthands.
1363
+ *
1364
+ * @private
1365
+ * @param {Array} [array] The array to iterate over.
1366
+ * @param {Function} predicate The function invoked per iteration.
1367
+ * @returns {boolean} Returns `true` if any element passes the predicate check,
1368
+ * else `false`.
1369
+ */
1370
+
1371
+ function arraySome$1(array, predicate) {
1372
+ var index = -1,
1373
+ length = array == null ? 0 : array.length;
1374
+
1375
+ while (++index < length) {
1376
+ if (predicate(array[index], index, array)) {
1377
+ return true;
1378
+ }
1379
+ }
1380
+ return false;
1381
+ }
1382
+
1383
+ var _arraySome = arraySome$1;
1384
+
1385
+ /**
1386
+ * Checks if a `cache` value for `key` exists.
1387
+ *
1388
+ * @private
1389
+ * @param {Object} cache The cache to query.
1390
+ * @param {string} key The key of the entry to check.
1391
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1392
+ */
1393
+
1394
+ function cacheHas$1(cache, key) {
1395
+ return cache.has(key);
1396
+ }
1397
+
1398
+ var _cacheHas = cacheHas$1;
1399
+
1400
+ var SetCache = _SetCache,
1401
+ arraySome = _arraySome,
1402
+ cacheHas = _cacheHas;
1403
+
1404
+ /** Used to compose bitmasks for value comparisons. */
1405
+ var COMPARE_PARTIAL_FLAG$3 = 1,
1406
+ COMPARE_UNORDERED_FLAG$1 = 2;
1407
+
1408
+ /**
1409
+ * A specialized version of `baseIsEqualDeep` for arrays with support for
1410
+ * partial deep comparisons.
1411
+ *
1412
+ * @private
1413
+ * @param {Array} array The array to compare.
1414
+ * @param {Array} other The other array to compare.
1415
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
1416
+ * @param {Function} customizer The function to customize comparisons.
1417
+ * @param {Function} equalFunc The function to determine equivalents of values.
1418
+ * @param {Object} stack Tracks traversed `array` and `other` objects.
1419
+ * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
1420
+ */
1421
+ function equalArrays$2(array, other, bitmask, customizer, equalFunc, stack) {
1422
+ var isPartial = bitmask & COMPARE_PARTIAL_FLAG$3,
1423
+ arrLength = array.length,
1424
+ othLength = other.length;
1425
+
1426
+ if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
1427
+ return false;
1428
+ }
1429
+ // Check that cyclic values are equal.
1430
+ var arrStacked = stack.get(array);
1431
+ var othStacked = stack.get(other);
1432
+ if (arrStacked && othStacked) {
1433
+ return arrStacked == other && othStacked == array;
1434
+ }
1435
+ var index = -1,
1436
+ result = true,
1437
+ seen = (bitmask & COMPARE_UNORDERED_FLAG$1) ? new SetCache : undefined;
1438
+
1439
+ stack.set(array, other);
1440
+ stack.set(other, array);
1441
+
1442
+ // Ignore non-index properties.
1443
+ while (++index < arrLength) {
1444
+ var arrValue = array[index],
1445
+ othValue = other[index];
1446
+
1447
+ if (customizer) {
1448
+ var compared = isPartial
1449
+ ? customizer(othValue, arrValue, index, other, array, stack)
1450
+ : customizer(arrValue, othValue, index, array, other, stack);
1451
+ }
1452
+ if (compared !== undefined) {
1453
+ if (compared) {
1454
+ continue;
1455
+ }
1456
+ result = false;
1457
+ break;
1458
+ }
1459
+ // Recursively compare arrays (susceptible to call stack limits).
1460
+ if (seen) {
1461
+ if (!arraySome(other, function(othValue, othIndex) {
1462
+ if (!cacheHas(seen, othIndex) &&
1463
+ (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
1464
+ return seen.push(othIndex);
1465
+ }
1466
+ })) {
1467
+ result = false;
1468
+ break;
1469
+ }
1470
+ } else if (!(
1471
+ arrValue === othValue ||
1472
+ equalFunc(arrValue, othValue, bitmask, customizer, stack)
1473
+ )) {
1474
+ result = false;
1475
+ break;
1476
+ }
1477
+ }
1478
+ stack['delete'](array);
1479
+ stack['delete'](other);
1480
+ return result;
1481
+ }
1482
+
1483
+ var _equalArrays = equalArrays$2;
1484
+
1485
+ var root$4 = _root;
1486
+
1487
+ /** Built-in value references. */
1488
+ var Uint8Array$1 = root$4.Uint8Array;
1489
+
1490
+ var _Uint8Array = Uint8Array$1;
1491
+
1492
+ /**
1493
+ * Converts `map` to its key-value pairs.
1494
+ *
1495
+ * @private
1496
+ * @param {Object} map The map to convert.
1497
+ * @returns {Array} Returns the key-value pairs.
1498
+ */
1499
+
1500
+ function mapToArray$1(map) {
1501
+ var index = -1,
1502
+ result = Array(map.size);
1503
+
1504
+ map.forEach(function(value, key) {
1505
+ result[++index] = [key, value];
1506
+ });
1507
+ return result;
1508
+ }
1509
+
1510
+ var _mapToArray = mapToArray$1;
1511
+
1512
+ /**
1513
+ * Converts `set` to an array of its values.
1514
+ *
1515
+ * @private
1516
+ * @param {Object} set The set to convert.
1517
+ * @returns {Array} Returns the values.
1518
+ */
1519
+
1520
+ function setToArray$1(set) {
1521
+ var index = -1,
1522
+ result = Array(set.size);
1523
+
1524
+ set.forEach(function(value) {
1525
+ result[++index] = value;
1526
+ });
1527
+ return result;
1528
+ }
1529
+
1530
+ var _setToArray = setToArray$1;
1531
+
1532
+ var Symbol = _Symbol,
1533
+ Uint8Array = _Uint8Array,
1534
+ eq = eq_1,
1535
+ equalArrays$1 = _equalArrays,
1536
+ mapToArray = _mapToArray,
1537
+ setToArray = _setToArray;
1538
+
1539
+ /** Used to compose bitmasks for value comparisons. */
1540
+ var COMPARE_PARTIAL_FLAG$2 = 1,
1541
+ COMPARE_UNORDERED_FLAG = 2;
1542
+
1543
+ /** `Object#toString` result references. */
1544
+ var boolTag$1 = '[object Boolean]',
1545
+ dateTag$1 = '[object Date]',
1546
+ errorTag$1 = '[object Error]',
1547
+ mapTag$2 = '[object Map]',
1548
+ numberTag$1 = '[object Number]',
1549
+ regexpTag$1 = '[object RegExp]',
1550
+ setTag$2 = '[object Set]',
1551
+ stringTag$1 = '[object String]',
1552
+ symbolTag = '[object Symbol]';
1553
+
1554
+ var arrayBufferTag$1 = '[object ArrayBuffer]',
1555
+ dataViewTag$2 = '[object DataView]';
1556
+
1557
+ /** Used to convert symbols to primitives and strings. */
1558
+ var symbolProto = Symbol ? Symbol.prototype : undefined,
1559
+ symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
1560
+
1561
+ /**
1562
+ * A specialized version of `baseIsEqualDeep` for comparing objects of
1563
+ * the same `toStringTag`.
1564
+ *
1565
+ * **Note:** This function only supports comparing values with tags of
1566
+ * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
1567
+ *
1568
+ * @private
1569
+ * @param {Object} object The object to compare.
1570
+ * @param {Object} other The other object to compare.
1571
+ * @param {string} tag The `toStringTag` of the objects to compare.
1572
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
1573
+ * @param {Function} customizer The function to customize comparisons.
1574
+ * @param {Function} equalFunc The function to determine equivalents of values.
1575
+ * @param {Object} stack Tracks traversed `object` and `other` objects.
1576
+ * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
1577
+ */
1578
+ function equalByTag$1(object, other, tag, bitmask, customizer, equalFunc, stack) {
1579
+ switch (tag) {
1580
+ case dataViewTag$2:
1581
+ if ((object.byteLength != other.byteLength) ||
1582
+ (object.byteOffset != other.byteOffset)) {
1583
+ return false;
1584
+ }
1585
+ object = object.buffer;
1586
+ other = other.buffer;
1587
+
1588
+ case arrayBufferTag$1:
1589
+ if ((object.byteLength != other.byteLength) ||
1590
+ !equalFunc(new Uint8Array(object), new Uint8Array(other))) {
1591
+ return false;
1592
+ }
1593
+ return true;
1594
+
1595
+ case boolTag$1:
1596
+ case dateTag$1:
1597
+ case numberTag$1:
1598
+ // Coerce booleans to `1` or `0` and dates to milliseconds.
1599
+ // Invalid dates are coerced to `NaN`.
1600
+ return eq(+object, +other);
1601
+
1602
+ case errorTag$1:
1603
+ return object.name == other.name && object.message == other.message;
1604
+
1605
+ case regexpTag$1:
1606
+ case stringTag$1:
1607
+ // Coerce regexes to strings and treat strings, primitives and objects,
1608
+ // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
1609
+ // for more details.
1610
+ return object == (other + '');
1611
+
1612
+ case mapTag$2:
1613
+ var convert = mapToArray;
1614
+
1615
+ case setTag$2:
1616
+ var isPartial = bitmask & COMPARE_PARTIAL_FLAG$2;
1617
+ convert || (convert = setToArray);
1618
+
1619
+ if (object.size != other.size && !isPartial) {
1620
+ return false;
1621
+ }
1622
+ // Assume cyclic values are equal.
1623
+ var stacked = stack.get(object);
1624
+ if (stacked) {
1625
+ return stacked == other;
1626
+ }
1627
+ bitmask |= COMPARE_UNORDERED_FLAG;
1628
+
1629
+ // Recursively compare objects (susceptible to call stack limits).
1630
+ stack.set(object, other);
1631
+ var result = equalArrays$1(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
1632
+ stack['delete'](object);
1633
+ return result;
1634
+
1635
+ case symbolTag:
1636
+ if (symbolValueOf) {
1637
+ return symbolValueOf.call(object) == symbolValueOf.call(other);
1638
+ }
1639
+ }
1640
+ return false;
1641
+ }
1642
+
1643
+ var _equalByTag = equalByTag$1;
1644
+
1645
+ /**
1646
+ * Appends the elements of `values` to `array`.
1647
+ *
1648
+ * @private
1649
+ * @param {Array} array The array to modify.
1650
+ * @param {Array} values The values to append.
1651
+ * @returns {Array} Returns `array`.
1652
+ */
1653
+
1654
+ function arrayPush$1(array, values) {
1655
+ var index = -1,
1656
+ length = values.length,
1657
+ offset = array.length;
1658
+
1659
+ while (++index < length) {
1660
+ array[offset + index] = values[index];
1661
+ }
1662
+ return array;
1663
+ }
1664
+
1665
+ var _arrayPush = arrayPush$1;
1666
+
1667
+ /**
1668
+ * Checks if `value` is classified as an `Array` object.
1669
+ *
1670
+ * @static
1671
+ * @memberOf _
1672
+ * @since 0.1.0
1673
+ * @category Lang
1674
+ * @param {*} value The value to check.
1675
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
1676
+ * @example
1677
+ *
1678
+ * _.isArray([1, 2, 3]);
1679
+ * // => true
1680
+ *
1681
+ * _.isArray(document.body.children);
1682
+ * // => false
1683
+ *
1684
+ * _.isArray('abc');
1685
+ * // => false
1686
+ *
1687
+ * _.isArray(_.noop);
1688
+ * // => false
1689
+ */
1690
+
1691
+ var isArray$3 = Array.isArray;
1692
+
1693
+ var isArray_1 = isArray$3;
1694
+
1695
+ var arrayPush = _arrayPush,
1696
+ isArray$2 = isArray_1;
1697
+
1698
+ /**
1699
+ * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
1700
+ * `keysFunc` and `symbolsFunc` to get the enumerable property names and
1701
+ * symbols of `object`.
1702
+ *
1703
+ * @private
1704
+ * @param {Object} object The object to query.
1705
+ * @param {Function} keysFunc The function to get the keys of `object`.
1706
+ * @param {Function} symbolsFunc The function to get the symbols of `object`.
1707
+ * @returns {Array} Returns the array of property names and symbols.
1708
+ */
1709
+ function baseGetAllKeys$1(object, keysFunc, symbolsFunc) {
1710
+ var result = keysFunc(object);
1711
+ return isArray$2(object) ? result : arrayPush(result, symbolsFunc(object));
1712
+ }
1713
+
1714
+ var _baseGetAllKeys = baseGetAllKeys$1;
1715
+
1716
+ /**
1717
+ * A specialized version of `_.filter` for arrays without support for
1718
+ * iteratee shorthands.
1719
+ *
1720
+ * @private
1721
+ * @param {Array} [array] The array to iterate over.
1722
+ * @param {Function} predicate The function invoked per iteration.
1723
+ * @returns {Array} Returns the new filtered array.
1724
+ */
1725
+
1726
+ function arrayFilter$1(array, predicate) {
1727
+ var index = -1,
1728
+ length = array == null ? 0 : array.length,
1729
+ resIndex = 0,
1730
+ result = [];
1731
+
1732
+ while (++index < length) {
1733
+ var value = array[index];
1734
+ if (predicate(value, index, array)) {
1735
+ result[resIndex++] = value;
1736
+ }
1737
+ }
1738
+ return result;
1739
+ }
1740
+
1741
+ var _arrayFilter = arrayFilter$1;
1742
+
1743
+ /**
1744
+ * This method returns a new empty array.
1745
+ *
1746
+ * @static
1747
+ * @memberOf _
1748
+ * @since 4.13.0
1749
+ * @category Util
1750
+ * @returns {Array} Returns the new empty array.
1751
+ * @example
1752
+ *
1753
+ * var arrays = _.times(2, _.stubArray);
1754
+ *
1755
+ * console.log(arrays);
1756
+ * // => [[], []]
1757
+ *
1758
+ * console.log(arrays[0] === arrays[1]);
1759
+ * // => false
1760
+ */
1761
+
1762
+ function stubArray$1() {
1763
+ return [];
1764
+ }
1765
+
1766
+ var stubArray_1 = stubArray$1;
1767
+
1768
+ var arrayFilter = _arrayFilter,
1769
+ stubArray = stubArray_1;
1770
+
1771
+ /** Used for built-in method references. */
1772
+ var objectProto$6 = Object.prototype;
1773
+
1774
+ /** Built-in value references. */
1775
+ var propertyIsEnumerable$1 = objectProto$6.propertyIsEnumerable;
1776
+
1777
+ /* Built-in method references for those with the same name as other `lodash` methods. */
1778
+ var nativeGetSymbols = Object.getOwnPropertySymbols;
1779
+
1780
+ /**
1781
+ * Creates an array of the own enumerable symbols of `object`.
1782
+ *
1783
+ * @private
1784
+ * @param {Object} object The object to query.
1785
+ * @returns {Array} Returns the array of symbols.
1786
+ */
1787
+ var getSymbols$1 = !nativeGetSymbols ? stubArray : function(object) {
1788
+ if (object == null) {
1789
+ return [];
1790
+ }
1791
+ object = Object(object);
1792
+ return arrayFilter(nativeGetSymbols(object), function(symbol) {
1793
+ return propertyIsEnumerable$1.call(object, symbol);
1794
+ });
1795
+ };
1796
+
1797
+ var _getSymbols = getSymbols$1;
1798
+
1799
+ /**
1800
+ * The base implementation of `_.times` without support for iteratee shorthands
1801
+ * or max array length checks.
1802
+ *
1803
+ * @private
1804
+ * @param {number} n The number of times to invoke `iteratee`.
1805
+ * @param {Function} iteratee The function invoked per iteration.
1806
+ * @returns {Array} Returns the array of results.
1807
+ */
1808
+
1809
+ function baseTimes$1(n, iteratee) {
1810
+ var index = -1,
1811
+ result = Array(n);
1812
+
1813
+ while (++index < n) {
1814
+ result[index] = iteratee(index);
1815
+ }
1816
+ return result;
1817
+ }
1818
+
1819
+ var _baseTimes = baseTimes$1;
1820
+
1821
+ /**
1822
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
1823
+ * and has a `typeof` result of "object".
1824
+ *
1825
+ * @static
1826
+ * @memberOf _
1827
+ * @since 4.0.0
1828
+ * @category Lang
1829
+ * @param {*} value The value to check.
1830
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
1831
+ * @example
1832
+ *
1833
+ * _.isObjectLike({});
1834
+ * // => true
1835
+ *
1836
+ * _.isObjectLike([1, 2, 3]);
1837
+ * // => true
1838
+ *
1839
+ * _.isObjectLike(_.noop);
1840
+ * // => false
1841
+ *
1842
+ * _.isObjectLike(null);
1843
+ * // => false
1844
+ */
1845
+
1846
+ function isObjectLike$4(value) {
1847
+ return value != null && typeof value == 'object';
1848
+ }
1849
+
1850
+ var isObjectLike_1 = isObjectLike$4;
1851
+
1852
+ var baseGetTag$2 = _baseGetTag,
1853
+ isObjectLike$3 = isObjectLike_1;
1854
+
1855
+ /** `Object#toString` result references. */
1856
+ var argsTag$2 = '[object Arguments]';
1857
+
1858
+ /**
1859
+ * The base implementation of `_.isArguments`.
1860
+ *
1861
+ * @private
1862
+ * @param {*} value The value to check.
1863
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
1864
+ */
1865
+ function baseIsArguments$1(value) {
1866
+ return isObjectLike$3(value) && baseGetTag$2(value) == argsTag$2;
1867
+ }
1868
+
1869
+ var _baseIsArguments = baseIsArguments$1;
1870
+
1871
+ var baseIsArguments = _baseIsArguments,
1872
+ isObjectLike$2 = isObjectLike_1;
1873
+
1874
+ /** Used for built-in method references. */
1875
+ var objectProto$5 = Object.prototype;
1876
+
1877
+ /** Used to check objects for own properties. */
1878
+ var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
1879
+
1880
+ /** Built-in value references. */
1881
+ var propertyIsEnumerable = objectProto$5.propertyIsEnumerable;
1882
+
1883
+ /**
1884
+ * Checks if `value` is likely an `arguments` object.
1885
+ *
1886
+ * @static
1887
+ * @memberOf _
1888
+ * @since 0.1.0
1889
+ * @category Lang
1890
+ * @param {*} value The value to check.
1891
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
1892
+ * else `false`.
1893
+ * @example
1894
+ *
1895
+ * _.isArguments(function() { return arguments; }());
1896
+ * // => true
1897
+ *
1898
+ * _.isArguments([1, 2, 3]);
1899
+ * // => false
1900
+ */
1901
+ var isArguments$1 = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
1902
+ return isObjectLike$2(value) && hasOwnProperty$4.call(value, 'callee') &&
1903
+ !propertyIsEnumerable.call(value, 'callee');
1904
+ };
1905
+
1906
+ var isArguments_1 = isArguments$1;
1907
+
1908
+ var isBuffer$2 = {exports: {}};
1909
+
1910
+ /**
1911
+ * This method returns `false`.
1912
+ *
1913
+ * @static
1914
+ * @memberOf _
1915
+ * @since 4.13.0
1916
+ * @category Util
1917
+ * @returns {boolean} Returns `false`.
1918
+ * @example
1919
+ *
1920
+ * _.times(2, _.stubFalse);
1921
+ * // => [false, false]
1922
+ */
1923
+
1924
+ function stubFalse() {
1925
+ return false;
1926
+ }
1927
+
1928
+ var stubFalse_1 = stubFalse;
1929
+
1930
+ isBuffer$2.exports;
1931
+
1932
+ (function (module, exports) {
1933
+ var root = _root,
1934
+ stubFalse = stubFalse_1;
1935
+
1936
+ /** Detect free variable `exports`. */
1937
+ var freeExports = exports && !exports.nodeType && exports;
1938
+
1939
+ /** Detect free variable `module`. */
1940
+ var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
1941
+
1942
+ /** Detect the popular CommonJS extension `module.exports`. */
1943
+ var moduleExports = freeModule && freeModule.exports === freeExports;
1944
+
1945
+ /** Built-in value references. */
1946
+ var Buffer = moduleExports ? root.Buffer : undefined;
1947
+
1948
+ /* Built-in method references for those with the same name as other `lodash` methods. */
1949
+ var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
1950
+
1951
+ /**
1952
+ * Checks if `value` is a buffer.
1953
+ *
1954
+ * @static
1955
+ * @memberOf _
1956
+ * @since 4.3.0
1957
+ * @category Lang
1958
+ * @param {*} value The value to check.
1959
+ * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
1960
+ * @example
1961
+ *
1962
+ * _.isBuffer(new Buffer(2));
1963
+ * // => true
1964
+ *
1965
+ * _.isBuffer(new Uint8Array(2));
1966
+ * // => false
1967
+ */
1968
+ var isBuffer = nativeIsBuffer || stubFalse;
1969
+
1970
+ module.exports = isBuffer;
1971
+ } (isBuffer$2, isBuffer$2.exports));
1972
+
1973
+ var isBufferExports = isBuffer$2.exports;
1974
+
1975
+ /** Used as references for various `Number` constants. */
1976
+
1977
+ var MAX_SAFE_INTEGER$1 = 9007199254740991;
1978
+
1979
+ /** Used to detect unsigned integer values. */
1980
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
1981
+
1982
+ /**
1983
+ * Checks if `value` is a valid array-like index.
1984
+ *
1985
+ * @private
1986
+ * @param {*} value The value to check.
1987
+ * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
1988
+ * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
1989
+ */
1990
+ function isIndex$1(value, length) {
1991
+ var type = typeof value;
1992
+ length = length == null ? MAX_SAFE_INTEGER$1 : length;
1993
+
1994
+ return !!length &&
1995
+ (type == 'number' ||
1996
+ (type != 'symbol' && reIsUint.test(value))) &&
1997
+ (value > -1 && value % 1 == 0 && value < length);
1998
+ }
1999
+
2000
+ var _isIndex = isIndex$1;
2001
+
2002
+ /** Used as references for various `Number` constants. */
2003
+
2004
+ var MAX_SAFE_INTEGER = 9007199254740991;
2005
+
2006
+ /**
2007
+ * Checks if `value` is a valid array-like length.
2008
+ *
2009
+ * **Note:** This method is loosely based on
2010
+ * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
2011
+ *
2012
+ * @static
2013
+ * @memberOf _
2014
+ * @since 4.0.0
2015
+ * @category Lang
2016
+ * @param {*} value The value to check.
2017
+ * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
2018
+ * @example
2019
+ *
2020
+ * _.isLength(3);
2021
+ * // => true
2022
+ *
2023
+ * _.isLength(Number.MIN_VALUE);
2024
+ * // => false
2025
+ *
2026
+ * _.isLength(Infinity);
2027
+ * // => false
2028
+ *
2029
+ * _.isLength('3');
2030
+ * // => false
2031
+ */
2032
+ function isLength$2(value) {
2033
+ return typeof value == 'number' &&
2034
+ value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
2035
+ }
2036
+
2037
+ var isLength_1 = isLength$2;
2038
+
2039
+ var baseGetTag$1 = _baseGetTag,
2040
+ isLength$1 = isLength_1,
2041
+ isObjectLike$1 = isObjectLike_1;
2042
+
2043
+ /** `Object#toString` result references. */
2044
+ var argsTag$1 = '[object Arguments]',
2045
+ arrayTag$1 = '[object Array]',
2046
+ boolTag = '[object Boolean]',
2047
+ dateTag = '[object Date]',
2048
+ errorTag = '[object Error]',
2049
+ funcTag = '[object Function]',
2050
+ mapTag$1 = '[object Map]',
2051
+ numberTag = '[object Number]',
2052
+ objectTag$2 = '[object Object]',
2053
+ regexpTag = '[object RegExp]',
2054
+ setTag$1 = '[object Set]',
2055
+ stringTag = '[object String]',
2056
+ weakMapTag$1 = '[object WeakMap]';
2057
+
2058
+ var arrayBufferTag = '[object ArrayBuffer]',
2059
+ dataViewTag$1 = '[object DataView]',
2060
+ float32Tag = '[object Float32Array]',
2061
+ float64Tag = '[object Float64Array]',
2062
+ int8Tag = '[object Int8Array]',
2063
+ int16Tag = '[object Int16Array]',
2064
+ int32Tag = '[object Int32Array]',
2065
+ uint8Tag = '[object Uint8Array]',
2066
+ uint8ClampedTag = '[object Uint8ClampedArray]',
2067
+ uint16Tag = '[object Uint16Array]',
2068
+ uint32Tag = '[object Uint32Array]';
2069
+
2070
+ /** Used to identify `toStringTag` values of typed arrays. */
2071
+ var typedArrayTags = {};
2072
+ typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
2073
+ typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
2074
+ typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
2075
+ typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
2076
+ typedArrayTags[uint32Tag] = true;
2077
+ typedArrayTags[argsTag$1] = typedArrayTags[arrayTag$1] =
2078
+ typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
2079
+ typedArrayTags[dataViewTag$1] = typedArrayTags[dateTag] =
2080
+ typedArrayTags[errorTag] = typedArrayTags[funcTag] =
2081
+ typedArrayTags[mapTag$1] = typedArrayTags[numberTag] =
2082
+ typedArrayTags[objectTag$2] = typedArrayTags[regexpTag] =
2083
+ typedArrayTags[setTag$1] = typedArrayTags[stringTag] =
2084
+ typedArrayTags[weakMapTag$1] = false;
2085
+
2086
+ /**
2087
+ * The base implementation of `_.isTypedArray` without Node.js optimizations.
2088
+ *
2089
+ * @private
2090
+ * @param {*} value The value to check.
2091
+ * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
2092
+ */
2093
+ function baseIsTypedArray$1(value) {
2094
+ return isObjectLike$1(value) &&
2095
+ isLength$1(value.length) && !!typedArrayTags[baseGetTag$1(value)];
2096
+ }
2097
+
2098
+ var _baseIsTypedArray = baseIsTypedArray$1;
2099
+
2100
+ /**
2101
+ * The base implementation of `_.unary` without support for storing metadata.
2102
+ *
2103
+ * @private
2104
+ * @param {Function} func The function to cap arguments for.
2105
+ * @returns {Function} Returns the new capped function.
2106
+ */
2107
+
2108
+ function baseUnary$1(func) {
2109
+ return function(value) {
2110
+ return func(value);
2111
+ };
2112
+ }
2113
+
2114
+ var _baseUnary = baseUnary$1;
2115
+
2116
+ var _nodeUtil = {exports: {}};
2117
+
2118
+ _nodeUtil.exports;
2119
+
2120
+ (function (module, exports) {
2121
+ var freeGlobal = _freeGlobal;
2122
+
2123
+ /** Detect free variable `exports`. */
2124
+ var freeExports = exports && !exports.nodeType && exports;
2125
+
2126
+ /** Detect free variable `module`. */
2127
+ var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
2128
+
2129
+ /** Detect the popular CommonJS extension `module.exports`. */
2130
+ var moduleExports = freeModule && freeModule.exports === freeExports;
2131
+
2132
+ /** Detect free variable `process` from Node.js. */
2133
+ var freeProcess = moduleExports && freeGlobal.process;
2134
+
2135
+ /** Used to access faster Node.js helpers. */
2136
+ var nodeUtil = (function() {
2137
+ try {
2138
+ // Use `util.types` for Node.js 10+.
2139
+ var types = freeModule && freeModule.require && freeModule.require('util').types;
2140
+
2141
+ if (types) {
2142
+ return types;
2143
+ }
2144
+
2145
+ // Legacy `process.binding('util')` for Node.js < 10.
2146
+ return freeProcess && freeProcess.binding && freeProcess.binding('util');
2147
+ } catch (e) {}
2148
+ }());
2149
+
2150
+ module.exports = nodeUtil;
2151
+ } (_nodeUtil, _nodeUtil.exports));
2152
+
2153
+ var _nodeUtilExports = _nodeUtil.exports;
2154
+
2155
+ var baseIsTypedArray = _baseIsTypedArray,
2156
+ baseUnary = _baseUnary,
2157
+ nodeUtil = _nodeUtilExports;
2158
+
2159
+ /* Node.js helper references. */
2160
+ var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
2161
+
2162
+ /**
2163
+ * Checks if `value` is classified as a typed array.
2164
+ *
2165
+ * @static
2166
+ * @memberOf _
2167
+ * @since 3.0.0
2168
+ * @category Lang
2169
+ * @param {*} value The value to check.
2170
+ * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
2171
+ * @example
2172
+ *
2173
+ * _.isTypedArray(new Uint8Array);
2174
+ * // => true
2175
+ *
2176
+ * _.isTypedArray([]);
2177
+ * // => false
2178
+ */
2179
+ var isTypedArray$2 = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
2180
+
2181
+ var isTypedArray_1 = isTypedArray$2;
2182
+
2183
+ var baseTimes = _baseTimes,
2184
+ isArguments = isArguments_1,
2185
+ isArray$1 = isArray_1,
2186
+ isBuffer$1 = isBufferExports,
2187
+ isIndex = _isIndex,
2188
+ isTypedArray$1 = isTypedArray_1;
2189
+
2190
+ /** Used for built-in method references. */
2191
+ var objectProto$4 = Object.prototype;
2192
+
2193
+ /** Used to check objects for own properties. */
2194
+ var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
2195
+
2196
+ /**
2197
+ * Creates an array of the enumerable property names of the array-like `value`.
2198
+ *
2199
+ * @private
2200
+ * @param {*} value The value to query.
2201
+ * @param {boolean} inherited Specify returning inherited property names.
2202
+ * @returns {Array} Returns the array of property names.
2203
+ */
2204
+ function arrayLikeKeys$1(value, inherited) {
2205
+ var isArr = isArray$1(value),
2206
+ isArg = !isArr && isArguments(value),
2207
+ isBuff = !isArr && !isArg && isBuffer$1(value),
2208
+ isType = !isArr && !isArg && !isBuff && isTypedArray$1(value),
2209
+ skipIndexes = isArr || isArg || isBuff || isType,
2210
+ result = skipIndexes ? baseTimes(value.length, String) : [],
2211
+ length = result.length;
2212
+
2213
+ for (var key in value) {
2214
+ if ((inherited || hasOwnProperty$3.call(value, key)) &&
2215
+ !(skipIndexes && (
2216
+ // Safari 9 has enumerable `arguments.length` in strict mode.
2217
+ key == 'length' ||
2218
+ // Node.js 0.10 has enumerable non-index properties on buffers.
2219
+ (isBuff && (key == 'offset' || key == 'parent')) ||
2220
+ // PhantomJS 2 has enumerable non-index properties on typed arrays.
2221
+ (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
2222
+ // Skip index properties.
2223
+ isIndex(key, length)
2224
+ ))) {
2225
+ result.push(key);
2226
+ }
2227
+ }
2228
+ return result;
2229
+ }
2230
+
2231
+ var _arrayLikeKeys = arrayLikeKeys$1;
2232
+
2233
+ /** Used for built-in method references. */
2234
+
2235
+ var objectProto$3 = Object.prototype;
2236
+
2237
+ /**
2238
+ * Checks if `value` is likely a prototype object.
2239
+ *
2240
+ * @private
2241
+ * @param {*} value The value to check.
2242
+ * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
2243
+ */
2244
+ function isPrototype$1(value) {
2245
+ var Ctor = value && value.constructor,
2246
+ proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$3;
2247
+
2248
+ return value === proto;
2249
+ }
2250
+
2251
+ var _isPrototype = isPrototype$1;
2252
+
2253
+ /**
2254
+ * Creates a unary function that invokes `func` with its argument transformed.
2255
+ *
2256
+ * @private
2257
+ * @param {Function} func The function to wrap.
2258
+ * @param {Function} transform The argument transform.
2259
+ * @returns {Function} Returns the new function.
2260
+ */
2261
+
2262
+ function overArg$1(func, transform) {
2263
+ return function(arg) {
2264
+ return func(transform(arg));
2265
+ };
2266
+ }
2267
+
2268
+ var _overArg = overArg$1;
2269
+
2270
+ var overArg = _overArg;
2271
+
2272
+ /* Built-in method references for those with the same name as other `lodash` methods. */
2273
+ var nativeKeys$1 = overArg(Object.keys, Object);
2274
+
2275
+ var _nativeKeys = nativeKeys$1;
2276
+
2277
+ var isPrototype = _isPrototype,
2278
+ nativeKeys = _nativeKeys;
2279
+
2280
+ /** Used for built-in method references. */
2281
+ var objectProto$2 = Object.prototype;
2282
+
2283
+ /** Used to check objects for own properties. */
2284
+ var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
2285
+
2286
+ /**
2287
+ * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
2288
+ *
2289
+ * @private
2290
+ * @param {Object} object The object to query.
2291
+ * @returns {Array} Returns the array of property names.
2292
+ */
2293
+ function baseKeys$1(object) {
2294
+ if (!isPrototype(object)) {
2295
+ return nativeKeys(object);
2296
+ }
2297
+ var result = [];
2298
+ for (var key in Object(object)) {
2299
+ if (hasOwnProperty$2.call(object, key) && key != 'constructor') {
2300
+ result.push(key);
2301
+ }
2302
+ }
2303
+ return result;
2304
+ }
2305
+
2306
+ var _baseKeys = baseKeys$1;
2307
+
2308
+ var isFunction = isFunction_1,
2309
+ isLength = isLength_1;
2310
+
2311
+ /**
2312
+ * Checks if `value` is array-like. A value is considered array-like if it's
2313
+ * not a function and has a `value.length` that's an integer greater than or
2314
+ * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
2315
+ *
2316
+ * @static
2317
+ * @memberOf _
2318
+ * @since 4.0.0
2319
+ * @category Lang
2320
+ * @param {*} value The value to check.
2321
+ * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
2322
+ * @example
2323
+ *
2324
+ * _.isArrayLike([1, 2, 3]);
2325
+ * // => true
2326
+ *
2327
+ * _.isArrayLike(document.body.children);
2328
+ * // => true
2329
+ *
2330
+ * _.isArrayLike('abc');
2331
+ * // => true
2332
+ *
2333
+ * _.isArrayLike(_.noop);
2334
+ * // => false
2335
+ */
2336
+ function isArrayLike$1(value) {
2337
+ return value != null && isLength(value.length) && !isFunction(value);
2338
+ }
2339
+
2340
+ var isArrayLike_1 = isArrayLike$1;
2341
+
2342
+ var arrayLikeKeys = _arrayLikeKeys,
2343
+ baseKeys = _baseKeys,
2344
+ isArrayLike = isArrayLike_1;
2345
+
2346
+ /**
2347
+ * Creates an array of the own enumerable property names of `object`.
2348
+ *
2349
+ * **Note:** Non-object values are coerced to objects. See the
2350
+ * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
2351
+ * for more details.
2352
+ *
2353
+ * @static
2354
+ * @since 0.1.0
2355
+ * @memberOf _
2356
+ * @category Object
2357
+ * @param {Object} object The object to query.
2358
+ * @returns {Array} Returns the array of property names.
2359
+ * @example
2360
+ *
2361
+ * function Foo() {
2362
+ * this.a = 1;
2363
+ * this.b = 2;
2364
+ * }
2365
+ *
2366
+ * Foo.prototype.c = 3;
2367
+ *
2368
+ * _.keys(new Foo);
2369
+ * // => ['a', 'b'] (iteration order is not guaranteed)
2370
+ *
2371
+ * _.keys('hi');
2372
+ * // => ['0', '1']
2373
+ */
2374
+ function keys$1(object) {
2375
+ return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
2376
+ }
2377
+
2378
+ var keys_1 = keys$1;
2379
+
2380
+ var baseGetAllKeys = _baseGetAllKeys,
2381
+ getSymbols = _getSymbols,
2382
+ keys = keys_1;
2383
+
2384
+ /**
2385
+ * Creates an array of own enumerable property names and symbols of `object`.
2386
+ *
2387
+ * @private
2388
+ * @param {Object} object The object to query.
2389
+ * @returns {Array} Returns the array of property names and symbols.
2390
+ */
2391
+ function getAllKeys$1(object) {
2392
+ return baseGetAllKeys(object, keys, getSymbols);
2393
+ }
2394
+
2395
+ var _getAllKeys = getAllKeys$1;
2396
+
2397
+ var getAllKeys = _getAllKeys;
2398
+
2399
+ /** Used to compose bitmasks for value comparisons. */
2400
+ var COMPARE_PARTIAL_FLAG$1 = 1;
2401
+
2402
+ /** Used for built-in method references. */
2403
+ var objectProto$1 = Object.prototype;
2404
+
2405
+ /** Used to check objects for own properties. */
2406
+ var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
2407
+
2408
+ /**
2409
+ * A specialized version of `baseIsEqualDeep` for objects with support for
2410
+ * partial deep comparisons.
2411
+ *
2412
+ * @private
2413
+ * @param {Object} object The object to compare.
2414
+ * @param {Object} other The other object to compare.
2415
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
2416
+ * @param {Function} customizer The function to customize comparisons.
2417
+ * @param {Function} equalFunc The function to determine equivalents of values.
2418
+ * @param {Object} stack Tracks traversed `object` and `other` objects.
2419
+ * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
2420
+ */
2421
+ function equalObjects$1(object, other, bitmask, customizer, equalFunc, stack) {
2422
+ var isPartial = bitmask & COMPARE_PARTIAL_FLAG$1,
2423
+ objProps = getAllKeys(object),
2424
+ objLength = objProps.length,
2425
+ othProps = getAllKeys(other),
2426
+ othLength = othProps.length;
2427
+
2428
+ if (objLength != othLength && !isPartial) {
2429
+ return false;
2430
+ }
2431
+ var index = objLength;
2432
+ while (index--) {
2433
+ var key = objProps[index];
2434
+ if (!(isPartial ? key in other : hasOwnProperty$1.call(other, key))) {
2435
+ return false;
2436
+ }
2437
+ }
2438
+ // Check that cyclic values are equal.
2439
+ var objStacked = stack.get(object);
2440
+ var othStacked = stack.get(other);
2441
+ if (objStacked && othStacked) {
2442
+ return objStacked == other && othStacked == object;
2443
+ }
2444
+ var result = true;
2445
+ stack.set(object, other);
2446
+ stack.set(other, object);
2447
+
2448
+ var skipCtor = isPartial;
2449
+ while (++index < objLength) {
2450
+ key = objProps[index];
2451
+ var objValue = object[key],
2452
+ othValue = other[key];
2453
+
2454
+ if (customizer) {
2455
+ var compared = isPartial
2456
+ ? customizer(othValue, objValue, key, other, object, stack)
2457
+ : customizer(objValue, othValue, key, object, other, stack);
2458
+ }
2459
+ // Recursively compare objects (susceptible to call stack limits).
2460
+ if (!(compared === undefined
2461
+ ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
2462
+ : compared
2463
+ )) {
2464
+ result = false;
2465
+ break;
2466
+ }
2467
+ skipCtor || (skipCtor = key == 'constructor');
2468
+ }
2469
+ if (result && !skipCtor) {
2470
+ var objCtor = object.constructor,
2471
+ othCtor = other.constructor;
2472
+
2473
+ // Non `Object` object instances with different constructors are not equal.
2474
+ if (objCtor != othCtor &&
2475
+ ('constructor' in object && 'constructor' in other) &&
2476
+ !(typeof objCtor == 'function' && objCtor instanceof objCtor &&
2477
+ typeof othCtor == 'function' && othCtor instanceof othCtor)) {
2478
+ result = false;
2479
+ }
2480
+ }
2481
+ stack['delete'](object);
2482
+ stack['delete'](other);
2483
+ return result;
2484
+ }
2485
+
2486
+ var _equalObjects = equalObjects$1;
2487
+
2488
+ var getNative$3 = _getNative,
2489
+ root$3 = _root;
2490
+
2491
+ /* Built-in method references that are verified to be native. */
2492
+ var DataView$1 = getNative$3(root$3, 'DataView');
2493
+
2494
+ var _DataView = DataView$1;
2495
+
2496
+ var getNative$2 = _getNative,
2497
+ root$2 = _root;
2498
+
2499
+ /* Built-in method references that are verified to be native. */
2500
+ var Promise$2 = getNative$2(root$2, 'Promise');
2501
+
2502
+ var _Promise = Promise$2;
2503
+
2504
+ var getNative$1 = _getNative,
2505
+ root$1 = _root;
2506
+
2507
+ /* Built-in method references that are verified to be native. */
2508
+ var Set$2 = getNative$1(root$1, 'Set');
2509
+
2510
+ var _Set = Set$2;
2511
+
2512
+ var getNative = _getNative,
2513
+ root = _root;
2514
+
2515
+ /* Built-in method references that are verified to be native. */
2516
+ var WeakMap$1 = getNative(root, 'WeakMap');
2517
+
2518
+ var _WeakMap = WeakMap$1;
2519
+
2520
+ var DataView = _DataView,
2521
+ Map = _Map,
2522
+ Promise$1 = _Promise,
2523
+ Set$1 = _Set,
2524
+ WeakMap = _WeakMap,
2525
+ baseGetTag = _baseGetTag,
2526
+ toSource = _toSource;
2527
+
2528
+ /** `Object#toString` result references. */
2529
+ var mapTag = '[object Map]',
2530
+ objectTag$1 = '[object Object]',
2531
+ promiseTag = '[object Promise]',
2532
+ setTag = '[object Set]',
2533
+ weakMapTag = '[object WeakMap]';
2534
+
2535
+ var dataViewTag = '[object DataView]';
2536
+
2537
+ /** Used to detect maps, sets, and weakmaps. */
2538
+ var dataViewCtorString = toSource(DataView),
2539
+ mapCtorString = toSource(Map),
2540
+ promiseCtorString = toSource(Promise$1),
2541
+ setCtorString = toSource(Set$1),
2542
+ weakMapCtorString = toSource(WeakMap);
2543
+
2544
+ /**
2545
+ * Gets the `toStringTag` of `value`.
2546
+ *
2547
+ * @private
2548
+ * @param {*} value The value to query.
2549
+ * @returns {string} Returns the `toStringTag`.
2550
+ */
2551
+ var getTag$1 = baseGetTag;
2552
+
2553
+ // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
2554
+ if ((DataView && getTag$1(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
2555
+ (Map && getTag$1(new Map) != mapTag) ||
2556
+ (Promise$1 && getTag$1(Promise$1.resolve()) != promiseTag) ||
2557
+ (Set$1 && getTag$1(new Set$1) != setTag) ||
2558
+ (WeakMap && getTag$1(new WeakMap) != weakMapTag)) {
2559
+ getTag$1 = function(value) {
2560
+ var result = baseGetTag(value),
2561
+ Ctor = result == objectTag$1 ? value.constructor : undefined,
2562
+ ctorString = Ctor ? toSource(Ctor) : '';
2563
+
2564
+ if (ctorString) {
2565
+ switch (ctorString) {
2566
+ case dataViewCtorString: return dataViewTag;
2567
+ case mapCtorString: return mapTag;
2568
+ case promiseCtorString: return promiseTag;
2569
+ case setCtorString: return setTag;
2570
+ case weakMapCtorString: return weakMapTag;
2571
+ }
2572
+ }
2573
+ return result;
2574
+ };
2575
+ }
2576
+
2577
+ var _getTag = getTag$1;
2578
+
2579
+ var Stack = _Stack,
2580
+ equalArrays = _equalArrays,
2581
+ equalByTag = _equalByTag,
2582
+ equalObjects = _equalObjects,
2583
+ getTag = _getTag,
2584
+ isArray = isArray_1,
2585
+ isBuffer = isBufferExports,
2586
+ isTypedArray = isTypedArray_1;
2587
+
2588
+ /** Used to compose bitmasks for value comparisons. */
2589
+ var COMPARE_PARTIAL_FLAG = 1;
2590
+
2591
+ /** `Object#toString` result references. */
2592
+ var argsTag = '[object Arguments]',
2593
+ arrayTag = '[object Array]',
2594
+ objectTag = '[object Object]';
2595
+
2596
+ /** Used for built-in method references. */
2597
+ var objectProto = Object.prototype;
2598
+
2599
+ /** Used to check objects for own properties. */
2600
+ var hasOwnProperty = objectProto.hasOwnProperty;
2601
+
2602
+ /**
2603
+ * A specialized version of `baseIsEqual` for arrays and objects which performs
2604
+ * deep comparisons and tracks traversed objects enabling objects with circular
2605
+ * references to be compared.
2606
+ *
2607
+ * @private
2608
+ * @param {Object} object The object to compare.
2609
+ * @param {Object} other The other object to compare.
2610
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
2611
+ * @param {Function} customizer The function to customize comparisons.
2612
+ * @param {Function} equalFunc The function to determine equivalents of values.
2613
+ * @param {Object} [stack] Tracks traversed `object` and `other` objects.
2614
+ * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
2615
+ */
2616
+ function baseIsEqualDeep$1(object, other, bitmask, customizer, equalFunc, stack) {
2617
+ var objIsArr = isArray(object),
2618
+ othIsArr = isArray(other),
2619
+ objTag = objIsArr ? arrayTag : getTag(object),
2620
+ othTag = othIsArr ? arrayTag : getTag(other);
2621
+
2622
+ objTag = objTag == argsTag ? objectTag : objTag;
2623
+ othTag = othTag == argsTag ? objectTag : othTag;
2624
+
2625
+ var objIsObj = objTag == objectTag,
2626
+ othIsObj = othTag == objectTag,
2627
+ isSameTag = objTag == othTag;
2628
+
2629
+ if (isSameTag && isBuffer(object)) {
2630
+ if (!isBuffer(other)) {
2631
+ return false;
2632
+ }
2633
+ objIsArr = true;
2634
+ objIsObj = false;
2635
+ }
2636
+ if (isSameTag && !objIsObj) {
2637
+ stack || (stack = new Stack);
2638
+ return (objIsArr || isTypedArray(object))
2639
+ ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
2640
+ : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
2641
+ }
2642
+ if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
2643
+ var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
2644
+ othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');
2645
+
2646
+ if (objIsWrapped || othIsWrapped) {
2647
+ var objUnwrapped = objIsWrapped ? object.value() : object,
2648
+ othUnwrapped = othIsWrapped ? other.value() : other;
2649
+
2650
+ stack || (stack = new Stack);
2651
+ return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
2652
+ }
2653
+ }
2654
+ if (!isSameTag) {
2655
+ return false;
2656
+ }
2657
+ stack || (stack = new Stack);
2658
+ return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
2659
+ }
2660
+
2661
+ var _baseIsEqualDeep = baseIsEqualDeep$1;
2662
+
2663
+ var baseIsEqualDeep = _baseIsEqualDeep,
2664
+ isObjectLike = isObjectLike_1;
2665
+
2666
+ /**
2667
+ * The base implementation of `_.isEqual` which supports partial comparisons
2668
+ * and tracks traversed objects.
2669
+ *
2670
+ * @private
2671
+ * @param {*} value The value to compare.
2672
+ * @param {*} other The other value to compare.
2673
+ * @param {boolean} bitmask The bitmask flags.
2674
+ * 1 - Unordered comparison
2675
+ * 2 - Partial comparison
2676
+ * @param {Function} [customizer] The function to customize comparisons.
2677
+ * @param {Object} [stack] Tracks traversed `value` and `other` objects.
2678
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
2679
+ */
2680
+ function baseIsEqual$1(value, other, bitmask, customizer, stack) {
2681
+ if (value === other) {
2682
+ return true;
2683
+ }
2684
+ if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {
2685
+ return value !== value && other !== other;
2686
+ }
2687
+ return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual$1, stack);
2688
+ }
2689
+
2690
+ var _baseIsEqual = baseIsEqual$1;
2691
+
2692
+ var baseIsEqual = _baseIsEqual;
2693
+
2694
+ /**
2695
+ * Performs a deep comparison between two values to determine if they are
2696
+ * equivalent.
2697
+ *
2698
+ * **Note:** This method supports comparing arrays, array buffers, booleans,
2699
+ * date objects, error objects, maps, numbers, `Object` objects, regexes,
2700
+ * sets, strings, symbols, and typed arrays. `Object` objects are compared
2701
+ * by their own, not inherited, enumerable properties. Functions and DOM
2702
+ * nodes are compared by strict equality, i.e. `===`.
2703
+ *
2704
+ * @static
2705
+ * @memberOf _
2706
+ * @since 0.1.0
2707
+ * @category Lang
2708
+ * @param {*} value The value to compare.
2709
+ * @param {*} other The other value to compare.
2710
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
2711
+ * @example
2712
+ *
2713
+ * var object = { 'a': 1 };
2714
+ * var other = { 'a': 1 };
2715
+ *
2716
+ * _.isEqual(object, other);
2717
+ * // => true
2718
+ *
2719
+ * object === other;
2720
+ * // => false
2721
+ */
2722
+ function isEqual(value, other) {
2723
+ return baseIsEqual(value, other);
2724
+ }
2725
+
2726
+ var isEqual_1 = isEqual;
2727
+
2728
+ var isEqual$1 = /*@__PURE__*/getDefaultExportFromCjs(isEqual_1);
2729
+
2730
+ function hasStateChanged(prevState, updates) {
2731
+ return Object.entries(updates).some(function (_a) {
2732
+ var key = _a[0], value = _a[1];
2733
+ if (typeof prevState[key] === 'function' && typeof value === 'function') {
2734
+ /**
2735
+ * Function is not considered as state change. Why?
2736
+ * Because function is not a value, it's a reference.
2737
+ * If we consider non-memoized function as state change,
2738
+ * it will always be true and cause unnecessary re-renders.
2739
+ */
2740
+ return false;
2741
+ }
2742
+ return !isEqual$1(prevState[key], value);
2743
+ });
2744
+ }
2745
+ /**
2746
+ * A custom store creation utility
2747
+ */
2748
+ function createStore(initialState) {
2749
+ var state = _tslib.__assign({}, initialState);
2750
+ var listeners = new Set();
2751
+ var isUpdating = false;
2752
+ var setState = function (partial, force) {
2753
+ // Prevent nested updates
2754
+ if (isUpdating)
2755
+ return;
2756
+ try {
2757
+ isUpdating = true;
2758
+ var nextState = typeof partial === 'function' ? partial(state) : partial;
2759
+ var hasChanged = hasStateChanged(state, nextState);
2760
+ if (force || hasChanged) {
2761
+ state = _tslib.__assign(_tslib.__assign({}, state), nextState);
2762
+ listeners.forEach(function (listener) { return listener(); });
2763
+ }
2764
+ }
2765
+ finally {
2766
+ isUpdating = false;
2767
+ }
2768
+ };
2769
+ return {
2770
+ getState: function () { return state; },
2771
+ setState: setState,
2772
+ subscribe: function (listener) {
2773
+ listeners.add(listener);
2774
+ return function () { return listeners.delete(listener); };
2775
+ },
2776
+ };
2777
+ }
2778
+
2779
+ /**
2780
+ * Config
2781
+ */
2782
+ var deprecatedConfig = {
2783
+ onUserProfileMessage: undefined,
2784
+ disableUserProfile: false,
2785
+ isReactionEnabled: true,
2786
+ isMentionEnabled: false,
2787
+ isVoiceMessageEnabled: true,
2788
+ replyType: 'NONE',
2789
+ showSearchIcon: true,
2790
+ isTypingIndicatorEnabledOnChannelList: false,
2791
+ isMessageReceiptStatusEnabledOnChannelList: false,
2792
+ setCurrenttheme: function () { },
2793
+ };
2794
+ var config = _tslib.__assign(_tslib.__assign({}, deprecatedConfig), {
2795
+ // Connection
2796
+ appId: '', userId: '', accessToken: undefined, theme: 'light', isOnline: false,
2797
+ // High level options
2798
+ allowProfileEdit: true, forceLeftToRightMessageLayout: false, disableMarkAsDelivered: false, isMultipleFilesMessageEnabled: false, htmlTextDirection: 'ltr', uikitUploadSizeLimit: consts.DEFAULT_UPLOAD_SIZE_LIMIT, uikitMultipleFilesMessageLimit: consts.DEFAULT_MULTIPLE_FILES_MESSAGE_LIMIT, imageCompression: undefined, voiceRecord: undefined, userMention: undefined,
2799
+ // Functions
2800
+ renderUserProfile: undefined, onStartDirectMessage: undefined, setCurrentTheme: undefined, userListQuery: undefined,
2801
+ // Utils
2802
+ pubSub: undefined, logger: undefined, markAsReadScheduler: undefined, markAsDeliveredScheduler: undefined,
2803
+ // UIKit Configs
2804
+ common: {
2805
+ enableUsingDefaultUserProfile: false,
2806
+ }, groupChannel: {
2807
+ enableOgtag: true,
2808
+ enableTypingIndicator: true,
2809
+ enableReactions: true,
2810
+ enableMention: false,
2811
+ replyType: 'none',
2812
+ threadReplySelectType: 'thread',
2813
+ enableVoiceMessage: true,
2814
+ typingIndicatorTypes: undefined,
2815
+ enableDocument: false,
2816
+ enableFeedback: false,
2817
+ enableSuggestedReplies: false,
2818
+ showSuggestedRepliesFor: 'all_messages',
2819
+ suggestedRepliesDirection: 'vertical',
2820
+ enableMarkdownForUserMessage: false,
2821
+ enableFormTypeMessage: false,
2822
+ enableReactionsSupergroup: undefined, // @deprecated
2823
+ }, groupChannelList: {
2824
+ enableTypingIndicator: false,
2825
+ enableMessageReceiptStatus: false,
2826
+ }, groupChannelSettings: {
2827
+ enableMessageSearch: false,
2828
+ }, openChannel: {
2829
+ enableOgtag: true,
2830
+ enableDocument: false,
2831
+ } });
2832
+ /**
2833
+ * Stores
2834
+ */
2835
+ var stores = {
2836
+ sdkStore: {
2837
+ sdk: {},
2838
+ initialized: false,
2839
+ loading: false,
2840
+ error: undefined,
2841
+ },
2842
+ userStore: {
2843
+ user: {},
2844
+ initialized: false,
2845
+ loading: false,
2846
+ },
2847
+ appInfoStore: {
2848
+ messageTemplatesInfo: undefined,
2849
+ waitingTemplateKeysMap: {},
2850
+ },
2851
+ };
2852
+ var initialState = {
2853
+ config: config,
2854
+ stores: stores,
2855
+ emojiManager: undefined,
2856
+ eventHandlers: {
2857
+ reaction: {
2858
+ onPressUserProfile: function () { },
2859
+ },
2860
+ connection: {
2861
+ onConnected: function () { },
2862
+ onFailed: function () { },
2863
+ },
2864
+ modal: {
2865
+ onMounted: function () { },
2866
+ },
2867
+ message: {
2868
+ onSendMessageFailed: function () { },
2869
+ onUpdateMessageFailed: function () { },
2870
+ onFileUploadFailed: function () { },
2871
+ },
2872
+ },
2873
+ utils: {
2874
+ updateMessageTemplatesInfo: function () { return new Promise(function () { }); },
2875
+ getCachedTemplate: function () { return null; },
2876
+ },
2877
+ };
2878
+
2879
+ /**
2880
+ * A generic hook for accessing and updating store state
2881
+ * @param StoreContext
2882
+ * @param selector
2883
+ * @param initialState
2884
+ */
2885
+ function useStore(StoreContext, selector, initialState) {
2886
+ var store = React.useContext(StoreContext);
2887
+ if (!store) {
2888
+ throw new Error('useStore must be used within a StoreProvider');
2889
+ }
2890
+ // Ensure the stability of the selector function using useRef
2891
+ var selectorRef = React.useRef(selector);
2892
+ selectorRef.current = selector;
2893
+ /**
2894
+ * useSyncExternalStore - a new API introduced in React18
2895
+ * but we're using a shim for now since it's only available in 18 >= version.
2896
+ * useSyncExternalStore simply tracks changes in an external store that is not dependent on React
2897
+ * through useState and useEffect
2898
+ * and helps with re-rendering and state sync through the setter of useState
2899
+ */
2900
+ var state = shimExports.useSyncExternalStore(store.subscribe, function () { return selectorRef.current(store.getState()); }, function () { return selectorRef.current(initialState); });
2901
+ var updateState = React.useCallback(function (updates) {
2902
+ var currentState = store.getState();
2903
+ if (hasStateChanged(currentState, updates)) {
2904
+ store.setState(function (prevState) { return (_tslib.__assign(_tslib.__assign({}, prevState), updates)); });
2905
+ }
2906
+ }, [store]);
2907
+ return React.useMemo(function () { return ({
2908
+ state: state,
2909
+ updateState: updateState,
2910
+ }); }, [state, updateState]);
2911
+ }
2912
+
2913
+ /**
2914
+ * SendbirdContext
2915
+ */
2916
+ var SendbirdContext = React__default.default.createContext(null);
2917
+ /**
2918
+ * A specialized hook for Ssendbird state management
2919
+ * @returns {ReturnType<typeof createStore<SendbirdState>>}
2920
+ */
2921
+ var useSendbirdStore = function () {
2922
+ return useStore(SendbirdContext, function (state) { return state; }, initialState);
2923
+ };
2924
+
2925
+ exports.SendbirdContext = SendbirdContext;
2926
+ exports.createStore = createStore;
2927
+ exports.initialState = initialState;
2928
+ exports.isEqual = isEqual$1;
2929
+ exports.shimExports = shimExports;
2930
+ exports.useSendbirdStore = useSendbirdStore;
2931
+ exports.useStore = useStore;
2932
+ //# sourceMappingURL=bundle-LSngpiw3.js.map