@sendbird/uikit-react 3.9.0 → 3.9.1-rc-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1957) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/App.js +422 -0
  3. package/dist/App.js.map +1 -0
  4. package/dist/CHANGELOG.md +1980 -0
  5. package/dist/Channel/components/ChannelHeader.js +67 -0
  6. package/dist/Channel/components/ChannelUI.js +162 -0
  7. package/dist/Channel/components/ChannelUI.js.map +1 -0
  8. package/dist/Channel/components/FileViewer.js +88 -0
  9. package/dist/Channel/components/FrozenNotification.js +16 -0
  10. package/dist/Channel/components/Message.js +341 -0
  11. package/dist/Channel/components/MessageInput.js +205 -0
  12. package/dist/Channel/components/MessageInput.js.map +1 -0
  13. package/dist/Channel/components/MessageList.js +111 -0
  14. package/dist/Channel/components/RemoveMessageModal.js +52 -0
  15. package/dist/Channel/components/SuggestedMentionList.js +198 -0
  16. package/dist/Channel/components/TypingIndicator.js +84 -0
  17. package/dist/Channel/components/UnreadCount.js +33 -0
  18. package/dist/Channel/context.js +24 -0
  19. package/dist/Channel/hooks/useHandleUploadFiles.js +133 -0
  20. package/dist/Channel/hooks/useHandleUploadFiles.js.map +1 -0
  21. package/dist/Channel/hooks/useInitialMessagesFetch.js +109 -0
  22. package/dist/Channel/utils/compareMessagesForGrouping.js +26 -0
  23. package/dist/Channel/utils/getMessagePartsInfo.js +34 -0
  24. package/dist/Channel.js +132 -0
  25. package/dist/Channel.js.map +1 -0
  26. package/dist/ChannelList/components/AddChannel.js +61 -0
  27. package/dist/ChannelList/components/ChannelListHeader.js +41 -0
  28. package/dist/ChannelList/components/ChannelListUI.js +147 -0
  29. package/dist/ChannelList/components/ChannelPreview.js +131 -0
  30. package/dist/ChannelList/components/ChannelPreviewAction.js +71 -0
  31. package/dist/ChannelList/context.js +15 -0
  32. package/dist/ChannelList.js +81 -0
  33. package/dist/ChannelSettings/components/ChannelProfile.js +65 -0
  34. package/dist/ChannelSettings/components/ChannelSettingsUI.js +119 -0
  35. package/dist/ChannelSettings/components/EditDetailsModal.js +97 -0
  36. package/dist/ChannelSettings/components/LeaveChannel.js +67 -0
  37. package/dist/ChannelSettings/components/ModerationPanel.js +455 -0
  38. package/dist/ChannelSettings/components/UserListItem.js +67 -0
  39. package/dist/ChannelSettings/components/UserPanel.js +64 -0
  40. package/dist/ChannelSettings/context.js +69 -0
  41. package/dist/ChannelSettings.js +61 -0
  42. package/dist/CreateChannel/components/CreateChannelUI.js +48 -0
  43. package/dist/CreateChannel/components/InviteUsers.js +167 -0
  44. package/dist/CreateChannel/components/SelectChannelType.js +80 -0
  45. package/dist/CreateChannel/context.js +9 -0
  46. package/dist/CreateChannel.js +44 -0
  47. package/dist/CreateOpenChannel/components/CreateOpenChannelUI.js +68 -0
  48. package/dist/CreateOpenChannel/context.js +49 -0
  49. package/dist/CreateOpenChannel.js +33 -0
  50. package/dist/EditUserProfile/components/EditUserProfileUI.js +118 -0
  51. package/dist/EditUserProfile/components/EditUserProfileUI.js.map +1 -0
  52. package/dist/EditUserProfile.js +34 -0
  53. package/dist/LICENSE +21 -0
  54. package/dist/MessageSearch/components/MessageSearchUI.js +89 -0
  55. package/dist/MessageSearch/context.js +258 -0
  56. package/dist/MessageSearch.js +77 -0
  57. package/dist/OpenChannel/components/FrozenChannelNotification.js +15 -0
  58. package/dist/OpenChannel/components/OpenChannelHeader.js +54 -0
  59. package/dist/OpenChannel/components/OpenChannelHeader.js.map +1 -0
  60. package/dist/OpenChannel/components/OpenChannelInput.js +63 -0
  61. package/dist/OpenChannel/components/OpenChannelInput.js.map +1 -0
  62. package/dist/OpenChannel/components/OpenChannelMessage.js +197 -0
  63. package/dist/OpenChannel/components/OpenChannelMessage.js.map +1 -0
  64. package/dist/OpenChannel/components/OpenChannelMessageList.js +122 -0
  65. package/dist/OpenChannel/components/OpenChannelMessageList.js.map +1 -0
  66. package/dist/OpenChannel/components/OpenChannelUI.js +102 -0
  67. package/dist/OpenChannel/components/OpenChannelUI.js.map +1 -0
  68. package/dist/OpenChannel/context.js +29 -0
  69. package/dist/OpenChannel/context.js.map +1 -0
  70. package/dist/OpenChannel.js +80 -0
  71. package/dist/OpenChannel.js.map +1 -0
  72. package/dist/OpenChannelList/components/OpenChannelListUI.js +114 -0
  73. package/dist/OpenChannelList/components/OpenChannelPreview.js +29 -0
  74. package/dist/OpenChannelList/context.js +7 -0
  75. package/dist/OpenChannelList.js +45 -0
  76. package/dist/OpenChannelSettings/components/EditDetailsModal.js +89 -0
  77. package/dist/OpenChannelSettings/components/OpenChannelProfile.js +56 -0
  78. package/dist/OpenChannelSettings/components/OpenChannelSettingsUI.js +90 -0
  79. package/dist/OpenChannelSettings/components/OperatorUI.js +502 -0
  80. package/dist/OpenChannelSettings/components/ParticipantUI.js +36 -0
  81. package/dist/OpenChannelSettings/context.js +123 -0
  82. package/dist/OpenChannelSettings.js +56 -0
  83. package/dist/README.md +172 -0
  84. package/dist/SendbirdProvider.js +1060 -0
  85. package/dist/Thread/components/ParentMessageInfo.js +252 -0
  86. package/dist/Thread/components/ParentMessageInfo.js.map +1 -0
  87. package/dist/Thread/components/ParentMessageInfoItem.js +148 -0
  88. package/dist/Thread/components/ThreadHeader.js +32 -0
  89. package/dist/Thread/components/ThreadList.js +170 -0
  90. package/dist/Thread/components/ThreadListItem.js +333 -0
  91. package/dist/Thread/components/ThreadListItem.js.map +1 -0
  92. package/dist/Thread/components/ThreadMessageInput.js +187 -0
  93. package/dist/Thread/components/ThreadMessageInput.js.map +1 -0
  94. package/dist/Thread/components/ThreadUI.js +266 -0
  95. package/dist/Thread/components/ThreadUI.js.map +1 -0
  96. package/dist/Thread/context.js +1334 -0
  97. package/dist/Thread/context.js.map +1 -0
  98. package/dist/Thread.js +128 -0
  99. package/dist/Thread.js.map +1 -0
  100. package/dist/VoicePlayer/context.js +7 -0
  101. package/dist/VoicePlayer/useVoicePlayer.js +71 -0
  102. package/dist/VoiceRecorder/context.js +132 -0
  103. package/dist/VoiceRecorder/useVoiceRecorder.js +108 -0
  104. package/dist/chunks/bundle--Ejuxki1.js +16 -0
  105. package/dist/chunks/bundle--Ejuxki1.js.map +1 -0
  106. package/dist/chunks/bundle-14ncl99m.js +12 -0
  107. package/dist/chunks/bundle-14ncl99m.js.map +1 -0
  108. package/dist/chunks/bundle-2Op65qKC.js +277 -0
  109. package/dist/chunks/bundle-2Op65qKC.js.map +1 -0
  110. package/dist/chunks/bundle-3n2XFetI.js +16 -0
  111. package/dist/chunks/bundle-3n2XFetI.js.map +1 -0
  112. package/dist/chunks/bundle-4F9sKnDa.js +176 -0
  113. package/dist/chunks/bundle-4F9sKnDa.js.map +1 -0
  114. package/dist/chunks/bundle-5ZJpptGh.js +174 -0
  115. package/dist/chunks/bundle-5ZJpptGh.js.map +1 -0
  116. package/dist/chunks/bundle-5q71Q0qR.js +211 -0
  117. package/dist/chunks/bundle-5q71Q0qR.js.map +1 -0
  118. package/dist/chunks/bundle-6BNmQ0LM.js +13 -0
  119. package/dist/chunks/bundle-6BNmQ0LM.js.map +1 -0
  120. package/dist/chunks/bundle-6Jgiyczc.js +8 -0
  121. package/dist/chunks/bundle-6Jgiyczc.js.map +1 -0
  122. package/dist/chunks/bundle-6KxAQ3DO.js +1853 -0
  123. package/dist/chunks/bundle-6KxAQ3DO.js.map +1 -0
  124. package/dist/chunks/bundle-6_XxQIkT.js +125 -0
  125. package/dist/chunks/bundle-6_XxQIkT.js.map +1 -0
  126. package/dist/chunks/bundle-7JfqNhKH.js +18 -0
  127. package/dist/chunks/bundle-7JfqNhKH.js.map +1 -0
  128. package/dist/chunks/bundle-7sEsVYzR.js +66 -0
  129. package/dist/chunks/bundle-7sEsVYzR.js.map +1 -0
  130. package/dist/chunks/bundle-BLTESd6l.js +230 -0
  131. package/dist/chunks/bundle-BLTESd6l.js.map +1 -0
  132. package/dist/chunks/bundle-BMfmU73b.js +355 -0
  133. package/dist/chunks/bundle-BMfmU73b.js.map +1 -0
  134. package/dist/chunks/bundle-BYmCRR2q.js +15 -0
  135. package/dist/chunks/bundle-BYmCRR2q.js.map +1 -0
  136. package/dist/chunks/bundle-CUfPglBq.js +216 -0
  137. package/dist/chunks/bundle-CUfPglBq.js.map +1 -0
  138. package/dist/chunks/bundle-GWEiVUz_.js +147 -0
  139. package/dist/chunks/bundle-GWEiVUz_.js.map +1 -0
  140. package/dist/chunks/bundle-GxF20zCF.js +29 -0
  141. package/dist/chunks/bundle-GxF20zCF.js.map +1 -0
  142. package/dist/chunks/bundle-Hs9aaQff.js +222 -0
  143. package/dist/chunks/bundle-Hs9aaQff.js.map +1 -0
  144. package/dist/chunks/bundle-Iv7qFX4X.js +834 -0
  145. package/dist/chunks/bundle-Iv7qFX4X.js.map +1 -0
  146. package/dist/chunks/bundle-K753WYIS.js +57 -0
  147. package/dist/chunks/bundle-K753WYIS.js.map +1 -0
  148. package/dist/chunks/bundle-M4oxyPE-.js +24 -0
  149. package/dist/chunks/bundle-M4oxyPE-.js.map +1 -0
  150. package/dist/chunks/bundle-MF8abnx2.js +218 -0
  151. package/dist/chunks/bundle-MF8abnx2.js.map +1 -0
  152. package/dist/chunks/bundle-MPYPncdD.js +4 -0
  153. package/dist/chunks/bundle-MPYPncdD.js.map +1 -0
  154. package/dist/chunks/bundle-NjIn5xfq.js +36 -0
  155. package/dist/chunks/bundle-NjIn5xfq.js.map +1 -0
  156. package/dist/chunks/bundle-OxW3t01r.js +31 -0
  157. package/dist/chunks/bundle-OxW3t01r.js.map +1 -0
  158. package/dist/chunks/bundle-Rl5fvonY.js +1404 -0
  159. package/dist/chunks/bundle-Rl5fvonY.js.map +1 -0
  160. package/dist/chunks/bundle-RrmxRjer.js +508 -0
  161. package/dist/chunks/bundle-RrmxRjer.js.map +1 -0
  162. package/dist/chunks/bundle-U45GcWA_.js +28 -0
  163. package/dist/chunks/bundle-U45GcWA_.js.map +1 -0
  164. package/dist/chunks/bundle-UApGrG-m.js +1541 -0
  165. package/dist/chunks/bundle-UApGrG-m.js.map +1 -0
  166. package/dist/chunks/bundle-UGKbXjDM.js +112 -0
  167. package/dist/chunks/bundle-UGKbXjDM.js.map +1 -0
  168. package/dist/chunks/bundle-Vp2hvuBO.js +31 -0
  169. package/dist/chunks/bundle-Vp2hvuBO.js.map +1 -0
  170. package/dist/chunks/bundle-W3iSjA2l.js +235 -0
  171. package/dist/chunks/bundle-W3iSjA2l.js.map +1 -0
  172. package/dist/chunks/bundle-_HbjO2rd.js +262 -0
  173. package/dist/chunks/bundle-_HbjO2rd.js.map +1 -0
  174. package/dist/chunks/bundle-a2JLFpDM.js +78 -0
  175. package/dist/chunks/bundle-a2JLFpDM.js.map +1 -0
  176. package/dist/chunks/bundle-a8y3Ewac.js +174 -0
  177. package/dist/chunks/bundle-a8y3Ewac.js.map +1 -0
  178. package/dist/chunks/bundle-dVgSt0b0.js +36 -0
  179. package/dist/chunks/bundle-dVgSt0b0.js.map +1 -0
  180. package/dist/chunks/bundle-dxJV8pSS.js +76 -0
  181. package/dist/chunks/bundle-dxJV8pSS.js.map +1 -0
  182. package/dist/chunks/bundle-eBjVWhHZ.js +96 -0
  183. package/dist/chunks/bundle-eBjVWhHZ.js.map +1 -0
  184. package/dist/chunks/bundle-e_9mGqwg.js +13 -0
  185. package/dist/chunks/bundle-e_9mGqwg.js.map +1 -0
  186. package/dist/chunks/bundle-gXxnKnlk.js +9 -0
  187. package/dist/chunks/bundle-gXxnKnlk.js.map +1 -0
  188. package/dist/chunks/bundle-gkOxTHma.js +657 -0
  189. package/dist/chunks/bundle-gkOxTHma.js.map +1 -0
  190. package/dist/chunks/bundle-jczKqLnP.js +24 -0
  191. package/dist/chunks/bundle-jczKqLnP.js.map +1 -0
  192. package/dist/chunks/bundle-lnteErrw.js +5 -0
  193. package/dist/chunks/bundle-lnteErrw.js.map +1 -0
  194. package/dist/chunks/bundle-m-DDpdq8.js +70 -0
  195. package/dist/chunks/bundle-m-DDpdq8.js.map +1 -0
  196. package/dist/chunks/bundle-oTQSHYWK.js +98 -0
  197. package/dist/chunks/bundle-oTQSHYWK.js.map +1 -0
  198. package/dist/chunks/bundle-q496PSxP.js +72 -0
  199. package/dist/chunks/bundle-q496PSxP.js.map +1 -0
  200. package/dist/chunks/bundle-qHAQziqO.js +97 -0
  201. package/dist/chunks/bundle-qHAQziqO.js.map +1 -0
  202. package/dist/chunks/bundle-qufSYree.js +14 -0
  203. package/dist/chunks/bundle-qufSYree.js.map +1 -0
  204. package/dist/chunks/bundle-rdL93Rxj.js +42 -0
  205. package/dist/chunks/bundle-rdL93Rxj.js.map +1 -0
  206. package/dist/chunks/bundle-rfKswtch.js +134 -0
  207. package/dist/chunks/bundle-rfKswtch.js.map +1 -0
  208. package/dist/chunks/bundle-saiSPI85.js +4 -0
  209. package/dist/chunks/bundle-saiSPI85.js.map +1 -0
  210. package/dist/chunks/bundle-uDaAbuPs.js +132 -0
  211. package/dist/chunks/bundle-uDaAbuPs.js.map +1 -0
  212. package/dist/chunks/bundle-wfnnwHTT.js +77 -0
  213. package/dist/chunks/bundle-wfnnwHTT.js.map +1 -0
  214. package/dist/chunks/bundle-x4ZuQz8S.js +4 -0
  215. package/dist/chunks/bundle-x4ZuQz8S.js.map +1 -0
  216. package/dist/chunks/bundle-xTeLtbXU.js +4 -0
  217. package/dist/chunks/bundle-xTeLtbXU.js.map +1 -0
  218. package/dist/chunks/bundle-yOmQxfc5.js +131 -0
  219. package/dist/chunks/bundle-yOmQxfc5.js.map +1 -0
  220. package/dist/chunks/bundle-y_cfYqAg.js +69 -0
  221. package/dist/chunks/bundle-y_cfYqAg.js.map +1 -0
  222. package/dist/chunks/bundle-ybeKF-fO.js +26 -0
  223. package/dist/chunks/bundle-ybeKF-fO.js.map +1 -0
  224. package/dist/chunks/bundle-ypBBz_XL.js +62 -0
  225. package/dist/chunks/bundle-ypBBz_XL.js.map +1 -0
  226. package/dist/chunks/bundle-zrpCI795.js +25 -0
  227. package/dist/chunks/bundle-zrpCI795.js.map +1 -0
  228. package/dist/cjs/App.js +424 -0
  229. package/dist/cjs/App.js.map +1 -0
  230. package/dist/cjs/Channel/components/ChannelHeader.js +69 -0
  231. package/dist/cjs/Channel/components/ChannelUI.js +164 -0
  232. package/dist/cjs/Channel/components/ChannelUI.js.map +1 -0
  233. package/dist/cjs/Channel/components/FileViewer.js +93 -0
  234. package/dist/cjs/Channel/components/FrozenNotification.js +18 -0
  235. package/dist/cjs/Channel/components/Message.js +343 -0
  236. package/dist/cjs/Channel/components/MessageInput.js +210 -0
  237. package/dist/cjs/Channel/components/MessageInput.js.map +1 -0
  238. package/dist/cjs/Channel/components/MessageList.js +117 -0
  239. package/dist/cjs/Channel/components/RemoveMessageModal.js +54 -0
  240. package/dist/cjs/Channel/components/SuggestedMentionList.js +200 -0
  241. package/dist/cjs/Channel/components/TypingIndicator.js +89 -0
  242. package/dist/cjs/Channel/components/UnreadCount.js +35 -0
  243. package/dist/cjs/Channel/context.js +31 -0
  244. package/dist/cjs/Channel/hooks/useHandleUploadFiles.js +135 -0
  245. package/dist/cjs/Channel/hooks/useHandleUploadFiles.js.map +1 -0
  246. package/dist/cjs/Channel/hooks/useInitialMessagesFetch.js +111 -0
  247. package/dist/cjs/Channel/utils/compareMessagesForGrouping.js +28 -0
  248. package/dist/cjs/Channel/utils/getMessagePartsInfo.js +36 -0
  249. package/dist/cjs/Channel.js +134 -0
  250. package/dist/cjs/Channel.js.map +1 -0
  251. package/dist/cjs/ChannelList/components/AddChannel.js +66 -0
  252. package/dist/cjs/ChannelList/components/ChannelListHeader.js +43 -0
  253. package/dist/cjs/ChannelList/components/ChannelListUI.js +149 -0
  254. package/dist/cjs/ChannelList/components/ChannelPreview.js +133 -0
  255. package/dist/cjs/ChannelList/components/ChannelPreviewAction.js +73 -0
  256. package/dist/cjs/ChannelList/context.js +22 -0
  257. package/dist/cjs/ChannelList.js +83 -0
  258. package/dist/cjs/ChannelSettings/components/ChannelProfile.js +67 -0
  259. package/dist/cjs/ChannelSettings/components/ChannelSettingsUI.js +121 -0
  260. package/dist/cjs/ChannelSettings/components/EditDetailsModal.js +99 -0
  261. package/dist/cjs/ChannelSettings/components/LeaveChannel.js +69 -0
  262. package/dist/cjs/ChannelSettings/components/ModerationPanel.js +457 -0
  263. package/dist/cjs/ChannelSettings/components/UserListItem.js +69 -0
  264. package/dist/cjs/ChannelSettings/components/UserListItem.js.map +1 -0
  265. package/dist/cjs/ChannelSettings/components/UserPanel.js +66 -0
  266. package/dist/cjs/ChannelSettings/context.js +72 -0
  267. package/dist/cjs/ChannelSettings.js +63 -0
  268. package/dist/cjs/CreateChannel/components/CreateChannelUI.js +50 -0
  269. package/dist/cjs/CreateChannel/components/InviteUsers.js +169 -0
  270. package/dist/cjs/CreateChannel/components/SelectChannelType.js +82 -0
  271. package/dist/cjs/CreateChannel/context.js +16 -0
  272. package/dist/cjs/CreateChannel.js +46 -0
  273. package/dist/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +70 -0
  274. package/dist/cjs/CreateOpenChannel/context.js +52 -0
  275. package/dist/cjs/CreateOpenChannel.js +35 -0
  276. package/dist/cjs/EditUserProfile/components/EditUserProfileUI.js +125 -0
  277. package/dist/cjs/EditUserProfile/components/EditUserProfileUI.js.map +1 -0
  278. package/dist/cjs/EditUserProfile.js +36 -0
  279. package/dist/cjs/MessageSearch/components/MessageSearchUI.js +94 -0
  280. package/dist/cjs/MessageSearch/context.js +261 -0
  281. package/dist/cjs/MessageSearch.js +79 -0
  282. package/dist/cjs/OpenChannel/components/FrozenChannelNotification.js +17 -0
  283. package/dist/cjs/OpenChannel/components/OpenChannelHeader.js +56 -0
  284. package/dist/cjs/OpenChannel/components/OpenChannelHeader.js.map +1 -0
  285. package/dist/cjs/OpenChannel/components/OpenChannelInput.js +65 -0
  286. package/dist/cjs/OpenChannel/components/OpenChannelInput.js.map +1 -0
  287. package/dist/cjs/OpenChannel/components/OpenChannelMessage.js +199 -0
  288. package/dist/cjs/OpenChannel/components/OpenChannelMessage.js.map +1 -0
  289. package/dist/cjs/OpenChannel/components/OpenChannelMessageList.js +124 -0
  290. package/dist/cjs/OpenChannel/components/OpenChannelMessageList.js.map +1 -0
  291. package/dist/cjs/OpenChannel/components/OpenChannelUI.js +104 -0
  292. package/dist/cjs/OpenChannel/components/OpenChannelUI.js.map +1 -0
  293. package/dist/cjs/OpenChannel/context.js +36 -0
  294. package/dist/cjs/OpenChannel/context.js.map +1 -0
  295. package/dist/cjs/OpenChannel.js +82 -0
  296. package/dist/cjs/OpenChannel.js.map +1 -0
  297. package/dist/cjs/OpenChannelList/components/OpenChannelListUI.js +116 -0
  298. package/dist/cjs/OpenChannelList/components/OpenChannelPreview.js +31 -0
  299. package/dist/cjs/OpenChannelList/context.js +17 -0
  300. package/dist/cjs/OpenChannelList.js +47 -0
  301. package/dist/cjs/OpenChannelSettings/components/EditDetailsModal.js +91 -0
  302. package/dist/cjs/OpenChannelSettings/components/OpenChannelProfile.js +58 -0
  303. package/dist/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +92 -0
  304. package/dist/cjs/OpenChannelSettings/components/OperatorUI.js +508 -0
  305. package/dist/cjs/OpenChannelSettings/components/ParticipantUI.js +42 -0
  306. package/dist/cjs/OpenChannelSettings/context.js +126 -0
  307. package/dist/cjs/OpenChannelSettings.js +58 -0
  308. package/dist/cjs/SendbirdProvider.js +1066 -0
  309. package/dist/cjs/Thread/components/ParentMessageInfo.js +254 -0
  310. package/dist/cjs/Thread/components/ParentMessageInfo.js.map +1 -0
  311. package/dist/cjs/Thread/components/ParentMessageInfoItem.js +150 -0
  312. package/dist/cjs/Thread/components/ThreadHeader.js +34 -0
  313. package/dist/cjs/Thread/components/ThreadList.js +172 -0
  314. package/dist/cjs/Thread/components/ThreadListItem.js +335 -0
  315. package/dist/cjs/Thread/components/ThreadListItem.js.map +1 -0
  316. package/dist/cjs/Thread/components/ThreadMessageInput.js +189 -0
  317. package/dist/cjs/Thread/components/ThreadMessageInput.js.map +1 -0
  318. package/dist/cjs/Thread/components/ThreadUI.js +268 -0
  319. package/dist/cjs/Thread/components/ThreadUI.js.map +1 -0
  320. package/dist/cjs/Thread/context.js +1337 -0
  321. package/dist/cjs/Thread/context.js.map +1 -0
  322. package/dist/cjs/Thread.js +130 -0
  323. package/dist/cjs/Thread.js.map +1 -0
  324. package/dist/cjs/VoicePlayer/context.js +15 -0
  325. package/dist/cjs/VoicePlayer/useVoicePlayer.js +73 -0
  326. package/dist/cjs/VoiceRecorder/context.js +138 -0
  327. package/dist/cjs/VoiceRecorder/useVoiceRecorder.js +111 -0
  328. package/dist/cjs/chunks/bundle--A7guNuh.js +179 -0
  329. package/dist/cjs/chunks/bundle--A7guNuh.js.map +1 -0
  330. package/dist/cjs/chunks/bundle--gwwLhzk.js +20 -0
  331. package/dist/cjs/chunks/bundle--gwwLhzk.js.map +1 -0
  332. package/dist/cjs/chunks/bundle-0fVnLVNe.js +236 -0
  333. package/dist/cjs/chunks/bundle-0fVnLVNe.js.map +1 -0
  334. package/dist/cjs/chunks/bundle-0pCHXNhB.js +102 -0
  335. package/dist/cjs/chunks/bundle-0pCHXNhB.js.map +1 -0
  336. package/dist/cjs/chunks/bundle-1NVer2pf.js +279 -0
  337. package/dist/cjs/chunks/bundle-1NVer2pf.js.map +1 -0
  338. package/dist/cjs/chunks/bundle-1m_ISTBo.js +224 -0
  339. package/dist/cjs/chunks/bundle-1m_ISTBo.js.map +1 -0
  340. package/dist/cjs/chunks/bundle-21NdG-dk.js +839 -0
  341. package/dist/cjs/chunks/bundle-21NdG-dk.js.map +1 -0
  342. package/dist/cjs/chunks/bundle-2Gla4s_W.js +69 -0
  343. package/dist/cjs/chunks/bundle-2Gla4s_W.js.map +1 -0
  344. package/dist/cjs/chunks/bundle-2OrFys0C.js +35 -0
  345. package/dist/cjs/chunks/bundle-2OrFys0C.js.map +1 -0
  346. package/dist/cjs/chunks/bundle-2k4v26zP.js +79 -0
  347. package/dist/cjs/chunks/bundle-2k4v26zP.js.map +1 -0
  348. package/dist/cjs/chunks/bundle-3CEbSubz.js +1858 -0
  349. package/dist/cjs/chunks/bundle-3CEbSubz.js.map +1 -0
  350. package/dist/cjs/chunks/bundle-4RnnhACR.js +84 -0
  351. package/dist/cjs/chunks/bundle-4RnnhACR.js.map +1 -0
  352. package/dist/cjs/chunks/bundle-4c_n4Hqm.js +220 -0
  353. package/dist/cjs/chunks/bundle-4c_n4Hqm.js.map +1 -0
  354. package/dist/cjs/chunks/bundle-5ApFd_AY.js +707 -0
  355. package/dist/cjs/chunks/bundle-5ApFd_AY.js.map +1 -0
  356. package/dist/cjs/chunks/bundle-60azKP5A.js +26 -0
  357. package/dist/cjs/chunks/bundle-60azKP5A.js.map +1 -0
  358. package/dist/cjs/chunks/bundle-66bD8OVx.js +84 -0
  359. package/dist/cjs/chunks/bundle-66bD8OVx.js.map +1 -0
  360. package/dist/cjs/chunks/bundle-9-nr_N-b.js +74 -0
  361. package/dist/cjs/chunks/bundle-9-nr_N-b.js.map +1 -0
  362. package/dist/cjs/chunks/bundle-9pKlhVIU.js +178 -0
  363. package/dist/cjs/chunks/bundle-9pKlhVIU.js.map +1 -0
  364. package/dist/cjs/chunks/bundle-BuqbuTrW.js +217 -0
  365. package/dist/cjs/chunks/bundle-BuqbuTrW.js.map +1 -0
  366. package/dist/cjs/chunks/bundle-CCMHQL0G.js +238 -0
  367. package/dist/cjs/chunks/bundle-CCMHQL0G.js.map +1 -0
  368. package/dist/cjs/chunks/bundle-Et2Mrxtk.js +74 -0
  369. package/dist/cjs/chunks/bundle-Et2Mrxtk.js.map +1 -0
  370. package/dist/cjs/chunks/bundle-J8UlQsgX.js +6 -0
  371. package/dist/cjs/chunks/bundle-J8UlQsgX.js.map +1 -0
  372. package/dist/cjs/chunks/bundle-MH5QFTEj.js +360 -0
  373. package/dist/cjs/chunks/bundle-MH5QFTEj.js.map +1 -0
  374. package/dist/cjs/chunks/bundle-NE9TILWI.js +28 -0
  375. package/dist/cjs/chunks/bundle-NE9TILWI.js.map +1 -0
  376. package/dist/cjs/chunks/bundle-NkP5dRWo.js +181 -0
  377. package/dist/cjs/chunks/bundle-NkP5dRWo.js.map +1 -0
  378. package/dist/cjs/chunks/bundle-NrEnVvdl.js +17 -0
  379. package/dist/cjs/chunks/bundle-NrEnVvdl.js.map +1 -0
  380. package/dist/cjs/chunks/bundle-Nz8Lrwe4.js +11 -0
  381. package/dist/cjs/chunks/bundle-Nz8Lrwe4.js.map +1 -0
  382. package/dist/cjs/chunks/bundle-Ptyw-8Gc.js +50 -0
  383. package/dist/cjs/chunks/bundle-Ptyw-8Gc.js.map +1 -0
  384. package/dist/cjs/chunks/bundle-PvmgqR2n.js +15 -0
  385. package/dist/cjs/chunks/bundle-PvmgqR2n.js.map +1 -0
  386. package/dist/cjs/chunks/bundle-SOsWW37c.js +6 -0
  387. package/dist/cjs/chunks/bundle-SOsWW37c.js.map +1 -0
  388. package/dist/cjs/chunks/bundle-V1HT7uWN.js +8 -0
  389. package/dist/cjs/chunks/bundle-V1HT7uWN.js.map +1 -0
  390. package/dist/cjs/chunks/bundle-V2Qx8kYB.js +99 -0
  391. package/dist/cjs/chunks/bundle-V2Qx8kYB.js.map +1 -0
  392. package/dist/cjs/chunks/bundle-Ve2qVeg-.js +30 -0
  393. package/dist/cjs/chunks/bundle-Ve2qVeg-.js.map +1 -0
  394. package/dist/cjs/chunks/bundle-X2iyUz_d.js +27 -0
  395. package/dist/cjs/chunks/bundle-X2iyUz_d.js.map +1 -0
  396. package/dist/cjs/chunks/bundle-XAU1mgI8.js +39 -0
  397. package/dist/cjs/chunks/bundle-XAU1mgI8.js.map +1 -0
  398. package/dist/cjs/chunks/bundle-Xwc-PXin.js +27 -0
  399. package/dist/cjs/chunks/bundle-Xwc-PXin.js.map +1 -0
  400. package/dist/cjs/chunks/bundle-YEhDTta6.js +19 -0
  401. package/dist/cjs/chunks/bundle-YEhDTta6.js.map +1 -0
  402. package/dist/cjs/chunks/bundle-Z30xKPjr.js +32 -0
  403. package/dist/cjs/chunks/bundle-Z30xKPjr.js.map +1 -0
  404. package/dist/cjs/chunks/bundle-_fpgAJFT.js +16 -0
  405. package/dist/cjs/chunks/bundle-_fpgAJFT.js.map +1 -0
  406. package/dist/cjs/chunks/bundle-aKKIV6sp.js +68 -0
  407. package/dist/cjs/chunks/bundle-aKKIV6sp.js.map +1 -0
  408. package/dist/cjs/chunks/bundle-alfVNg30.js +22 -0
  409. package/dist/cjs/chunks/bundle-alfVNg30.js.map +1 -0
  410. package/dist/cjs/chunks/bundle-ayxcxLwI.js +264 -0
  411. package/dist/cjs/chunks/bundle-ayxcxLwI.js.map +1 -0
  412. package/dist/cjs/chunks/bundle-bQ1hwrcE.js +6 -0
  413. package/dist/cjs/chunks/bundle-bQ1hwrcE.js.map +1 -0
  414. package/dist/cjs/chunks/bundle-c8PEMQg3.js +137 -0
  415. package/dist/cjs/chunks/bundle-c8PEMQg3.js.map +1 -0
  416. package/dist/cjs/chunks/bundle-eSkHuU0e.js +38 -0
  417. package/dist/cjs/chunks/bundle-eSkHuU0e.js.map +1 -0
  418. package/dist/cjs/chunks/bundle-fV1pX_hi.js +114 -0
  419. package/dist/cjs/chunks/bundle-fV1pX_hi.js.map +1 -0
  420. package/dist/cjs/chunks/bundle-f_lSJlZS.js +15 -0
  421. package/dist/cjs/chunks/bundle-f_lSJlZS.js.map +1 -0
  422. package/dist/cjs/chunks/bundle-gOtrtUIz.js +75 -0
  423. package/dist/cjs/chunks/bundle-gOtrtUIz.js.map +1 -0
  424. package/dist/cjs/chunks/bundle-ga2lvSm8.js +46 -0
  425. package/dist/cjs/chunks/bundle-ga2lvSm8.js.map +1 -0
  426. package/dist/cjs/chunks/bundle-jGjSthM3.js +128 -0
  427. package/dist/cjs/chunks/bundle-jGjSthM3.js.map +1 -0
  428. package/dist/cjs/chunks/bundle-kbntHY88.js +1409 -0
  429. package/dist/cjs/chunks/bundle-kbntHY88.js.map +1 -0
  430. package/dist/cjs/chunks/bundle-oTWBtf3l.js +510 -0
  431. package/dist/cjs/chunks/bundle-oTWBtf3l.js.map +1 -0
  432. package/dist/cjs/chunks/bundle-oXJwwgxy.js +79 -0
  433. package/dist/cjs/chunks/bundle-oXJwwgxy.js.map +1 -0
  434. package/dist/cjs/chunks/bundle-p04f0r41.js +136 -0
  435. package/dist/cjs/chunks/bundle-p04f0r41.js.map +1 -0
  436. package/dist/cjs/chunks/bundle-p9s6eIWW.js +18 -0
  437. package/dist/cjs/chunks/bundle-p9s6eIWW.js.map +1 -0
  438. package/dist/cjs/chunks/bundle-tWIm10AV.js +7 -0
  439. package/dist/cjs/chunks/bundle-tWIm10AV.js.map +1 -0
  440. package/dist/cjs/chunks/bundle-ttM5NXg0.js +224 -0
  441. package/dist/cjs/chunks/bundle-ttM5NXg0.js.map +1 -0
  442. package/dist/cjs/chunks/bundle-wiCMJG39.js +139 -0
  443. package/dist/cjs/chunks/bundle-wiCMJG39.js.map +1 -0
  444. package/dist/cjs/chunks/bundle-xeTDYh-o.js +159 -0
  445. package/dist/cjs/chunks/bundle-xeTDYh-o.js.map +1 -0
  446. package/dist/cjs/chunks/bundle-zBsUorPd.js +109 -0
  447. package/dist/cjs/chunks/bundle-zBsUorPd.js.map +1 -0
  448. package/dist/cjs/chunks/bundle-zaeeh2h7.js +1545 -0
  449. package/dist/cjs/chunks/bundle-zaeeh2h7.js.map +1 -0
  450. package/dist/cjs/chunks/bundle-zpXEP6A3.js +10 -0
  451. package/dist/cjs/chunks/bundle-zpXEP6A3.js.map +1 -0
  452. package/dist/cjs/hooks/useModal.js +59 -0
  453. package/dist/cjs/index.js +223 -0
  454. package/dist/cjs/index.js.map +1 -0
  455. package/dist/cjs/lame.all.js +10 -0
  456. package/dist/cjs/lame.all.js.map +1 -0
  457. package/dist/cjs/pubSub/topics.js +18 -0
  458. package/dist/cjs/sendbirdSelectors.js +580 -0
  459. package/dist/cjs/ui/Accordion.js +52 -0
  460. package/dist/cjs/ui/AccordionGroup.js +17 -0
  461. package/dist/cjs/ui/AdminMessage.js +21 -0
  462. package/dist/cjs/ui/Avatar.js +18 -0
  463. package/dist/cjs/ui/Badge.js +26 -0
  464. package/dist/cjs/ui/BottomSheet.js +38 -0
  465. package/dist/cjs/ui/Button.js +53 -0
  466. package/dist/cjs/ui/ChannelAvatar.js +32 -0
  467. package/dist/cjs/ui/ConnectionStatus.js +20 -0
  468. package/dist/cjs/ui/ContextMenu.js +216 -0
  469. package/dist/cjs/ui/DateSeparator.js +21 -0
  470. package/dist/cjs/ui/EmojiReactions.js +179 -0
  471. package/dist/cjs/ui/EmojiReactions.js.map +1 -0
  472. package/dist/cjs/ui/FileMessageItemBody.js +41 -0
  473. package/dist/cjs/ui/FileViewer.js +33 -0
  474. package/dist/cjs/ui/Icon.js +1140 -0
  475. package/dist/cjs/ui/IconButton.js +26 -0
  476. package/dist/cjs/ui/ImageRenderer.js +151 -0
  477. package/dist/cjs/ui/ImageRenderer.js.map +1 -0
  478. package/dist/cjs/ui/Input.js +26 -0
  479. package/dist/cjs/ui/Label.js +16 -0
  480. package/dist/cjs/ui/LinkLabel.js +32 -0
  481. package/dist/cjs/ui/Loader.js +20 -0
  482. package/dist/cjs/ui/MentionLabel.js +69 -0
  483. package/dist/cjs/ui/MentionUserLabel.js +12 -0
  484. package/dist/cjs/ui/MessageContent.js +341 -0
  485. package/dist/cjs/ui/MessageContent.js.map +1 -0
  486. package/dist/cjs/ui/MessageInput/hooks/usePaste.js +17 -0
  487. package/dist/cjs/ui/MessageInput.js +464 -0
  488. package/dist/cjs/ui/MessageItemMenu.js +131 -0
  489. package/dist/cjs/ui/MessageItemReactionMenu.js +58 -0
  490. package/dist/cjs/ui/MessageSearchFileItem.js +92 -0
  491. package/dist/cjs/ui/MessageSearchItem.js +63 -0
  492. package/dist/cjs/ui/MessageStatus.js +26 -0
  493. package/dist/cjs/ui/Modal.js +26 -0
  494. package/dist/cjs/ui/MutedAvatarOverlay.js +23 -0
  495. package/dist/cjs/ui/OGMessageItemBody.js +87 -0
  496. package/dist/cjs/ui/OpenChannelAdminMessage.js +17 -0
  497. package/dist/cjs/ui/OpenChannelAvatar.js +26 -0
  498. package/dist/cjs/ui/OpenchannelConversationHeader.js +34 -0
  499. package/dist/cjs/ui/OpenchannelFileMessage.js +141 -0
  500. package/dist/cjs/ui/OpenchannelFileMessage.js.map +1 -0
  501. package/dist/cjs/ui/OpenchannelOGMessage.js +186 -0
  502. package/dist/cjs/ui/OpenchannelOGMessage.js.map +1 -0
  503. package/dist/cjs/ui/OpenchannelThumbnailMessage.js +178 -0
  504. package/dist/cjs/ui/OpenchannelThumbnailMessage.js.map +1 -0
  505. package/dist/cjs/ui/OpenchannelUserMessage.js +149 -0
  506. package/dist/cjs/ui/OpenchannelUserMessage.js.map +1 -0
  507. package/dist/cjs/ui/PlaceHolder.js +58 -0
  508. package/dist/cjs/ui/PlaybackTime.js +22 -0
  509. package/dist/cjs/ui/QuoteMessage.js +81 -0
  510. package/dist/cjs/ui/QuoteMessageInput.js +84 -0
  511. package/dist/cjs/ui/ReactionBadge.js +28 -0
  512. package/dist/cjs/ui/ReactionButton.js +25 -0
  513. package/dist/cjs/ui/SortByRow.js +31 -0
  514. package/dist/cjs/ui/TextButton.js +17 -0
  515. package/dist/cjs/ui/TextMessageItemBody.js +66 -0
  516. package/dist/cjs/ui/ThreadReplies.js +44 -0
  517. package/dist/cjs/ui/ThumbnailMessageItemBody.js +45 -0
  518. package/dist/cjs/ui/Toggle.js +131 -0
  519. package/dist/cjs/ui/Tooltip.js +17 -0
  520. package/dist/cjs/ui/TooltipWrapper.js +21 -0
  521. package/dist/cjs/ui/TypingIndicatorBubble.js +69 -0
  522. package/dist/cjs/ui/UnknownMessageItemBody.js +29 -0
  523. package/dist/cjs/ui/UserListItem.js +75 -0
  524. package/dist/cjs/ui/UserListItem.js.map +1 -0
  525. package/dist/cjs/ui/UserProfile.js +60 -0
  526. package/dist/cjs/ui/VoiceMessageInput.js +21 -0
  527. package/dist/cjs/ui/VoiceMessageItemBody.js +74 -0
  528. package/dist/cjs/ui/Word.js +82 -0
  529. package/dist/cjs/useSendbirdStateContext.js +27 -0
  530. package/dist/cjs/utils/message/isVoiceMessage.js +11 -0
  531. package/dist/cjs/withSendbird.js +28 -0
  532. package/dist/dist/index.css +7839 -0
  533. package/dist/dist/index.css.map +1 -0
  534. package/dist/hooks/useModal.js +55 -0
  535. package/dist/index.js +201 -0
  536. package/dist/index.js.map +1 -0
  537. package/dist/lame.all.js +4 -0
  538. package/dist/lame.all.js.map +1 -0
  539. package/dist/package.json +1521 -0
  540. package/dist/pubSub/topics.js +2 -0
  541. package/dist/sendbirdSelectors.js +555 -0
  542. package/dist/types/lib/hooks/useConnect/setupConnection.d.ts +18 -0
  543. package/dist/types/modules/Channel/components/Message/hooks/useIsElementInViewport.d.ts +2 -0
  544. package/dist/types/modules/Channel/components/Message/hooks/useLazyImageLoader.d.ts +2 -0
  545. package/dist/types/modules/Channel/context/hooks/useHandleChannelEvents.d.ts +29 -0
  546. package/dist/types/modules/Channel/context/hooks/useHandleUploadFiles.d.ts +19 -0
  547. package/dist/types/modules/Channel/context/hooks/useResendMessageCallback.d.ts +16 -0
  548. package/dist/types/modules/ChannelList/components/ChannelListUI/index.d.ts +18 -0
  549. package/dist/types/modules/ChannelList/dux/actionTypes.d.ts +68 -0
  550. package/dist/types/modules/EditUserProfile/components/EditUserProfileUI/EditUserProfileUIView.d.ts +8 -0
  551. package/dist/types/modules/EditUserProfile/components/EditUserProfileUI/index.d.ts +17 -0
  552. package/dist/types/modules/OpenChannel/context/hooks/useFileUploadCallback.d.ts +27 -0
  553. package/dist/types/types.d.ts +61 -0
  554. package/dist/types/ui/EmojiReactions/ReactionItem.d.ts +18 -0
  555. package/dist/types/ui/Label/stringSet.d.ts +193 -0
  556. package/dist/types/utils/consts.d.ts +24 -0
  557. package/dist/ui/Accordion.js +47 -0
  558. package/dist/ui/AccordionGroup.js +15 -0
  559. package/dist/ui/AdminMessage.js +19 -0
  560. package/dist/ui/Avatar.js +9 -0
  561. package/dist/ui/Badge.js +24 -0
  562. package/dist/ui/BottomSheet.js +36 -0
  563. package/dist/ui/Button.js +49 -0
  564. package/dist/ui/ChannelAvatar.js +30 -0
  565. package/dist/ui/ConnectionStatus.js +18 -0
  566. package/dist/ui/ContextMenu.js +207 -0
  567. package/dist/ui/DateSeparator.js +19 -0
  568. package/dist/ui/EmojiReactions.js +177 -0
  569. package/dist/ui/EmojiReactions.js.map +1 -0
  570. package/dist/ui/FileMessageItemBody.js +39 -0
  571. package/dist/ui/FileViewer.js +24 -0
  572. package/dist/ui/Icon.js +1116 -0
  573. package/dist/ui/IconButton.js +24 -0
  574. package/dist/ui/ImageRenderer.js +145 -0
  575. package/dist/ui/ImageRenderer.js.map +1 -0
  576. package/dist/ui/Input.js +21 -0
  577. package/dist/ui/Label.js +5 -0
  578. package/dist/ui/LinkLabel.js +26 -0
  579. package/dist/ui/Loader.js +18 -0
  580. package/dist/ui/MentionLabel.js +67 -0
  581. package/dist/ui/MentionUserLabel.js +10 -0
  582. package/dist/ui/MessageContent.js +339 -0
  583. package/dist/ui/MessageInput/hooks/usePaste.js +8 -0
  584. package/dist/ui/MessageInput.js +462 -0
  585. package/dist/ui/MessageItemMenu.js +126 -0
  586. package/dist/ui/MessageItemReactionMenu.js +53 -0
  587. package/dist/ui/MessageSearchFileItem.js +90 -0
  588. package/dist/ui/MessageSearchItem.js +61 -0
  589. package/dist/ui/MessageStatus.js +17 -0
  590. package/dist/ui/Modal.js +14 -0
  591. package/dist/ui/MutedAvatarOverlay.js +21 -0
  592. package/dist/ui/OGMessageItemBody.js +85 -0
  593. package/dist/ui/OpenChannelAdminMessage.js +15 -0
  594. package/dist/ui/OpenChannelAvatar.js +24 -0
  595. package/dist/ui/OpenchannelConversationHeader.js +32 -0
  596. package/dist/ui/OpenchannelFileMessage.js +139 -0
  597. package/dist/ui/OpenchannelOGMessage.js +184 -0
  598. package/dist/ui/OpenchannelThumbnailMessage.js +176 -0
  599. package/dist/ui/OpenchannelUserMessage.js +147 -0
  600. package/dist/ui/PlaceHolder.js +53 -0
  601. package/dist/ui/PlaybackTime.js +17 -0
  602. package/dist/ui/QuoteMessage.js +79 -0
  603. package/dist/ui/QuoteMessageInput.js +82 -0
  604. package/dist/ui/ReactionBadge.js +26 -0
  605. package/dist/ui/ReactionButton.js +23 -0
  606. package/dist/ui/SortByRow.js +29 -0
  607. package/dist/ui/TextButton.js +15 -0
  608. package/dist/ui/TextMessageItemBody.js +64 -0
  609. package/dist/ui/ThreadReplies.js +42 -0
  610. package/dist/ui/ThumbnailMessageItemBody.js +43 -0
  611. package/dist/ui/Toggle.js +126 -0
  612. package/dist/ui/Tooltip.js +15 -0
  613. package/dist/ui/TooltipWrapper.js +19 -0
  614. package/dist/ui/TypingIndicatorBubble.js +67 -0
  615. package/dist/ui/UnknownMessageItemBody.js +27 -0
  616. package/dist/ui/UserListItem.js +73 -0
  617. package/dist/ui/UserProfile.js +58 -0
  618. package/dist/ui/VoiceMessageInput.js +15 -0
  619. package/dist/ui/VoiceMessageItemBody.js +69 -0
  620. package/dist/ui/Word.js +80 -0
  621. package/dist/useSendbirdStateContext.js +22 -0
  622. package/dist/utils/message/isVoiceMessage.js +9 -0
  623. package/dist/withSendbird.js +23 -0
  624. package/package.json +111 -1477
  625. package/App.js +0 -421
  626. package/App.js.map +0 -1
  627. package/Channel/components/ChannelHeader.js +0 -67
  628. package/Channel/components/ChannelUI.js +0 -161
  629. package/Channel/components/ChannelUI.js.map +0 -1
  630. package/Channel/components/FileViewer.js +0 -88
  631. package/Channel/components/FrozenNotification.js +0 -16
  632. package/Channel/components/Message.js +0 -341
  633. package/Channel/components/MessageInput.js +0 -204
  634. package/Channel/components/MessageInput.js.map +0 -1
  635. package/Channel/components/MessageList.js +0 -111
  636. package/Channel/components/RemoveMessageModal.js +0 -52
  637. package/Channel/components/SuggestedMentionList.js +0 -198
  638. package/Channel/components/TypingIndicator.js +0 -84
  639. package/Channel/components/UnreadCount.js +0 -33
  640. package/Channel/context.js +0 -24
  641. package/Channel/hooks/useHandleUploadFiles.js +0 -237
  642. package/Channel/hooks/useHandleUploadFiles.js.map +0 -1
  643. package/Channel/hooks/useInitialMessagesFetch.js +0 -109
  644. package/Channel/utils/compareMessagesForGrouping.js +0 -26
  645. package/Channel/utils/getMessagePartsInfo.js +0 -34
  646. package/Channel.js +0 -131
  647. package/Channel.js.map +0 -1
  648. package/ChannelList/components/AddChannel.js +0 -61
  649. package/ChannelList/components/ChannelListHeader.js +0 -41
  650. package/ChannelList/components/ChannelListUI.js +0 -147
  651. package/ChannelList/components/ChannelPreview.js +0 -131
  652. package/ChannelList/components/ChannelPreviewAction.js +0 -71
  653. package/ChannelList/context.js +0 -15
  654. package/ChannelList.js +0 -81
  655. package/ChannelSettings/components/ChannelProfile.js +0 -65
  656. package/ChannelSettings/components/ChannelSettingsUI.js +0 -119
  657. package/ChannelSettings/components/EditDetailsModal.js +0 -97
  658. package/ChannelSettings/components/LeaveChannel.js +0 -67
  659. package/ChannelSettings/components/ModerationPanel.js +0 -455
  660. package/ChannelSettings/components/UserListItem.js +0 -65
  661. package/ChannelSettings/components/UserListItem.js.map +0 -1
  662. package/ChannelSettings/components/UserPanel.js +0 -64
  663. package/ChannelSettings/context.js +0 -69
  664. package/ChannelSettings.js +0 -61
  665. package/CreateChannel/components/CreateChannelUI.js +0 -48
  666. package/CreateChannel/components/InviteUsers.js +0 -167
  667. package/CreateChannel/components/SelectChannelType.js +0 -80
  668. package/CreateChannel/context.js +0 -9
  669. package/CreateChannel.js +0 -44
  670. package/CreateOpenChannel/components/CreateOpenChannelUI.js +0 -68
  671. package/CreateOpenChannel/context.js +0 -49
  672. package/CreateOpenChannel.js +0 -33
  673. package/EditUserProfile/components/EditUserProfileUI.js +0 -98
  674. package/EditUserProfile/components/EditUserProfileUI.js.map +0 -1
  675. package/EditUserProfile.js +0 -34
  676. package/MessageSearch/components/MessageSearchUI.js +0 -89
  677. package/MessageSearch/context.js +0 -258
  678. package/MessageSearch.js +0 -77
  679. package/OpenChannel/components/FrozenChannelNotification.js +0 -15
  680. package/OpenChannel/components/OpenChannelHeader.js +0 -47
  681. package/OpenChannel/components/OpenChannelHeader.js.map +0 -1
  682. package/OpenChannel/components/OpenChannelInput.js +0 -56
  683. package/OpenChannel/components/OpenChannelInput.js.map +0 -1
  684. package/OpenChannel/components/OpenChannelMessage.js +0 -196
  685. package/OpenChannel/components/OpenChannelMessage.js.map +0 -1
  686. package/OpenChannel/components/OpenChannelMessageList.js +0 -121
  687. package/OpenChannel/components/OpenChannelMessageList.js.map +0 -1
  688. package/OpenChannel/components/OpenChannelUI.js +0 -101
  689. package/OpenChannel/components/OpenChannelUI.js.map +0 -1
  690. package/OpenChannel/context.js +0 -14
  691. package/OpenChannel/context.js.map +0 -1
  692. package/OpenChannel.js +0 -79
  693. package/OpenChannel.js.map +0 -1
  694. package/OpenChannelList/components/OpenChannelListUI.js +0 -114
  695. package/OpenChannelList/components/OpenChannelPreview.js +0 -29
  696. package/OpenChannelList/context.js +0 -7
  697. package/OpenChannelList.js +0 -45
  698. package/OpenChannelSettings/components/EditDetailsModal.js +0 -89
  699. package/OpenChannelSettings/components/OpenChannelProfile.js +0 -56
  700. package/OpenChannelSettings/components/OpenChannelSettingsUI.js +0 -90
  701. package/OpenChannelSettings/components/OperatorUI.js +0 -502
  702. package/OpenChannelSettings/components/ParticipantUI.js +0 -36
  703. package/OpenChannelSettings/context.js +0 -123
  704. package/OpenChannelSettings.js +0 -56
  705. package/SendbirdProvider.js +0 -1060
  706. package/Thread/components/ParentMessageInfo.js +0 -246
  707. package/Thread/components/ParentMessageInfo.js.map +0 -1
  708. package/Thread/components/ParentMessageInfoItem.js +0 -148
  709. package/Thread/components/ThreadHeader.js +0 -32
  710. package/Thread/components/ThreadList.js +0 -170
  711. package/Thread/components/ThreadListItem.js +0 -327
  712. package/Thread/components/ThreadListItem.js.map +0 -1
  713. package/Thread/components/ThreadMessageInput.js +0 -186
  714. package/Thread/components/ThreadMessageInput.js.map +0 -1
  715. package/Thread/components/ThreadUI.js +0 -265
  716. package/Thread/components/ThreadUI.js.map +0 -1
  717. package/Thread/context.js +0 -1301
  718. package/Thread/context.js.map +0 -1
  719. package/Thread.js +0 -127
  720. package/Thread.js.map +0 -1
  721. package/VoicePlayer/context.js +0 -7
  722. package/VoicePlayer/useVoicePlayer.js +0 -71
  723. package/VoiceRecorder/context.js +0 -132
  724. package/VoiceRecorder/useVoiceRecorder.js +0 -108
  725. package/chunks/bundle-0IelBspE.js +0 -78
  726. package/chunks/bundle-0IelBspE.js.map +0 -1
  727. package/chunks/bundle-0SIFukuT.js +0 -173
  728. package/chunks/bundle-0SIFukuT.js.map +0 -1
  729. package/chunks/bundle-2AUp3oeN.js +0 -15
  730. package/chunks/bundle-2AUp3oeN.js.map +0 -1
  731. package/chunks/bundle-2YEsND5T.js +0 -4
  732. package/chunks/bundle-2YEsND5T.js.map +0 -1
  733. package/chunks/bundle-3WQuaADd.js +0 -24
  734. package/chunks/bundle-3WQuaADd.js.map +0 -1
  735. package/chunks/bundle-5JvP07dI.js +0 -62
  736. package/chunks/bundle-5JvP07dI.js.map +0 -1
  737. package/chunks/bundle-6uVd8Nrl.js +0 -66
  738. package/chunks/bundle-6uVd8Nrl.js.map +0 -1
  739. package/chunks/bundle-7x4clnC7.js +0 -42
  740. package/chunks/bundle-7x4clnC7.js.map +0 -1
  741. package/chunks/bundle-89OkQYTj.js +0 -4
  742. package/chunks/bundle-89OkQYTj.js.map +0 -1
  743. package/chunks/bundle-8VA5hO1c.js +0 -13
  744. package/chunks/bundle-8VA5hO1c.js.map +0 -1
  745. package/chunks/bundle-967zXkjf.js +0 -12
  746. package/chunks/bundle-967zXkjf.js.map +0 -1
  747. package/chunks/bundle-96I4BbNe.js +0 -1455
  748. package/chunks/bundle-96I4BbNe.js.map +0 -1
  749. package/chunks/bundle-EPtYsHAJ.js +0 -14
  750. package/chunks/bundle-EPtYsHAJ.js.map +0 -1
  751. package/chunks/bundle-EteEacTX.js +0 -220
  752. package/chunks/bundle-EteEacTX.js.map +0 -1
  753. package/chunks/bundle-GGcTNRCI.js +0 -57
  754. package/chunks/bundle-GGcTNRCI.js.map +0 -1
  755. package/chunks/bundle-GiSLT4lG.js +0 -36
  756. package/chunks/bundle-GiSLT4lG.js.map +0 -1
  757. package/chunks/bundle-IeIHBN9i.js +0 -8
  758. package/chunks/bundle-IeIHBN9i.js.map +0 -1
  759. package/chunks/bundle-JSlDfYOF.js +0 -16
  760. package/chunks/bundle-JSlDfYOF.js.map +0 -1
  761. package/chunks/bundle-JhG5BHdE.js +0 -5
  762. package/chunks/bundle-JhG5BHdE.js.map +0 -1
  763. package/chunks/bundle-JuKER7D_.js +0 -213
  764. package/chunks/bundle-JuKER7D_.js.map +0 -1
  765. package/chunks/bundle-Jw6D-oM_.js +0 -18
  766. package/chunks/bundle-Jw6D-oM_.js.map +0 -1
  767. package/chunks/bundle-KOKqPpBq.js +0 -9
  768. package/chunks/bundle-KOKqPpBq.js.map +0 -1
  769. package/chunks/bundle-Ku1a64TD.js +0 -230
  770. package/chunks/bundle-Ku1a64TD.js.map +0 -1
  771. package/chunks/bundle-LTnLzJFb.js +0 -176
  772. package/chunks/bundle-LTnLzJFb.js.map +0 -1
  773. package/chunks/bundle-LhtrqZSE.js +0 -26
  774. package/chunks/bundle-LhtrqZSE.js.map +0 -1
  775. package/chunks/bundle-Mn36ivpf.js +0 -76
  776. package/chunks/bundle-Mn36ivpf.js.map +0 -1
  777. package/chunks/bundle-Nv1SlZSC.js +0 -72
  778. package/chunks/bundle-Nv1SlZSC.js.map +0 -1
  779. package/chunks/bundle-OiOp4RUP.js +0 -98
  780. package/chunks/bundle-OiOp4RUP.js.map +0 -1
  781. package/chunks/bundle-PwOQ689V.js +0 -28
  782. package/chunks/bundle-PwOQ689V.js.map +0 -1
  783. package/chunks/bundle-QO9wq7-1.js +0 -1519
  784. package/chunks/bundle-QO9wq7-1.js.map +0 -1
  785. package/chunks/bundle-Sk3SXXP7.js +0 -30
  786. package/chunks/bundle-Sk3SXXP7.js.map +0 -1
  787. package/chunks/bundle-Tep20T57.js +0 -70
  788. package/chunks/bundle-Tep20T57.js.map +0 -1
  789. package/chunks/bundle-WZvwkbYN.js +0 -69
  790. package/chunks/bundle-WZvwkbYN.js.map +0 -1
  791. package/chunks/bundle-Xly_X4hP.js +0 -16
  792. package/chunks/bundle-Xly_X4hP.js.map +0 -1
  793. package/chunks/bundle-Xq25cpwP.js +0 -826
  794. package/chunks/bundle-Xq25cpwP.js.map +0 -1
  795. package/chunks/bundle-Y6TqPszM.js +0 -97
  796. package/chunks/bundle-Y6TqPszM.js.map +0 -1
  797. package/chunks/bundle-YQkYq090.js +0 -13
  798. package/chunks/bundle-YQkYq090.js.map +0 -1
  799. package/chunks/bundle-YdRy5sj8.js +0 -355
  800. package/chunks/bundle-YdRy5sj8.js.map +0 -1
  801. package/chunks/bundle-ZNwxfYJx.js +0 -24
  802. package/chunks/bundle-ZNwxfYJx.js.map +0 -1
  803. package/chunks/bundle-ZT6XnGSN.js +0 -657
  804. package/chunks/bundle-ZT6XnGSN.js.map +0 -1
  805. package/chunks/bundle-cJc3JBZb.js +0 -77
  806. package/chunks/bundle-cJc3JBZb.js.map +0 -1
  807. package/chunks/bundle-dJBzT033.js +0 -31
  808. package/chunks/bundle-dJBzT033.js.map +0 -1
  809. package/chunks/bundle-h4Ck6NLh.js +0 -25
  810. package/chunks/bundle-h4Ck6NLh.js.map +0 -1
  811. package/chunks/bundle-hGeYEXGB.js +0 -125
  812. package/chunks/bundle-hGeYEXGB.js.map +0 -1
  813. package/chunks/bundle-jw3t70tT.js +0 -233
  814. package/chunks/bundle-jw3t70tT.js.map +0 -1
  815. package/chunks/bundle-jyTJAjUy.js +0 -134
  816. package/chunks/bundle-jyTJAjUy.js.map +0 -1
  817. package/chunks/bundle-k4WuO78S.js +0 -222
  818. package/chunks/bundle-k4WuO78S.js.map +0 -1
  819. package/chunks/bundle-l0M5nN1Q.js +0 -131
  820. package/chunks/bundle-l0M5nN1Q.js.map +0 -1
  821. package/chunks/bundle-lSKfBDuq.js +0 -132
  822. package/chunks/bundle-lSKfBDuq.js.map +0 -1
  823. package/chunks/bundle-menQ38z9.js +0 -147
  824. package/chunks/bundle-menQ38z9.js.map +0 -1
  825. package/chunks/bundle-nHhZeAVb.js +0 -96
  826. package/chunks/bundle-nHhZeAVb.js.map +0 -1
  827. package/chunks/bundle-oghsyfOE.js +0 -174
  828. package/chunks/bundle-oghsyfOE.js.map +0 -1
  829. package/chunks/bundle-pCwi8C-K.js +0 -29
  830. package/chunks/bundle-pCwi8C-K.js.map +0 -1
  831. package/chunks/bundle-pmVgESW3.js +0 -1853
  832. package/chunks/bundle-pmVgESW3.js.map +0 -1
  833. package/chunks/bundle-s3qW-HFQ.js +0 -36
  834. package/chunks/bundle-s3qW-HFQ.js.map +0 -1
  835. package/chunks/bundle-tUJWK_IX.js +0 -277
  836. package/chunks/bundle-tUJWK_IX.js.map +0 -1
  837. package/chunks/bundle-vSJ8dTAZ.js +0 -211
  838. package/chunks/bundle-vSJ8dTAZ.js.map +0 -1
  839. package/chunks/bundle-wRCPXISN.js +0 -262
  840. package/chunks/bundle-wRCPXISN.js.map +0 -1
  841. package/chunks/bundle-xgxXEKxk.js +0 -508
  842. package/chunks/bundle-xgxXEKxk.js.map +0 -1
  843. package/chunks/bundle-zCWUhqT2.js +0 -4
  844. package/chunks/bundle-zCWUhqT2.js.map +0 -1
  845. package/chunks/bundle-zz1eCYds.js +0 -4
  846. package/chunks/bundle-zz1eCYds.js.map +0 -1
  847. package/cjs/App.js +0 -423
  848. package/cjs/App.js.map +0 -1
  849. package/cjs/Channel/components/ChannelHeader.js +0 -69
  850. package/cjs/Channel/components/ChannelUI.js +0 -163
  851. package/cjs/Channel/components/ChannelUI.js.map +0 -1
  852. package/cjs/Channel/components/FileViewer.js +0 -93
  853. package/cjs/Channel/components/FrozenNotification.js +0 -18
  854. package/cjs/Channel/components/Message.js +0 -343
  855. package/cjs/Channel/components/MessageInput.js +0 -209
  856. package/cjs/Channel/components/MessageInput.js.map +0 -1
  857. package/cjs/Channel/components/MessageList.js +0 -117
  858. package/cjs/Channel/components/RemoveMessageModal.js +0 -54
  859. package/cjs/Channel/components/SuggestedMentionList.js +0 -200
  860. package/cjs/Channel/components/TypingIndicator.js +0 -89
  861. package/cjs/Channel/components/UnreadCount.js +0 -35
  862. package/cjs/Channel/context.js +0 -31
  863. package/cjs/Channel/hooks/useHandleUploadFiles.js +0 -239
  864. package/cjs/Channel/hooks/useHandleUploadFiles.js.map +0 -1
  865. package/cjs/Channel/hooks/useInitialMessagesFetch.js +0 -111
  866. package/cjs/Channel/utils/compareMessagesForGrouping.js +0 -28
  867. package/cjs/Channel/utils/getMessagePartsInfo.js +0 -36
  868. package/cjs/Channel.js +0 -133
  869. package/cjs/Channel.js.map +0 -1
  870. package/cjs/ChannelList/components/AddChannel.js +0 -66
  871. package/cjs/ChannelList/components/ChannelListHeader.js +0 -43
  872. package/cjs/ChannelList/components/ChannelListUI.js +0 -149
  873. package/cjs/ChannelList/components/ChannelPreview.js +0 -133
  874. package/cjs/ChannelList/components/ChannelPreviewAction.js +0 -73
  875. package/cjs/ChannelList/context.js +0 -22
  876. package/cjs/ChannelList.js +0 -83
  877. package/cjs/ChannelSettings/components/ChannelProfile.js +0 -67
  878. package/cjs/ChannelSettings/components/ChannelSettingsUI.js +0 -121
  879. package/cjs/ChannelSettings/components/EditDetailsModal.js +0 -99
  880. package/cjs/ChannelSettings/components/LeaveChannel.js +0 -69
  881. package/cjs/ChannelSettings/components/ModerationPanel.js +0 -457
  882. package/cjs/ChannelSettings/components/UserListItem.js +0 -67
  883. package/cjs/ChannelSettings/components/UserPanel.js +0 -66
  884. package/cjs/ChannelSettings/context.js +0 -72
  885. package/cjs/ChannelSettings.js +0 -63
  886. package/cjs/CreateChannel/components/CreateChannelUI.js +0 -50
  887. package/cjs/CreateChannel/components/InviteUsers.js +0 -169
  888. package/cjs/CreateChannel/components/SelectChannelType.js +0 -82
  889. package/cjs/CreateChannel/context.js +0 -16
  890. package/cjs/CreateChannel.js +0 -46
  891. package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +0 -70
  892. package/cjs/CreateOpenChannel/context.js +0 -52
  893. package/cjs/CreateOpenChannel.js +0 -35
  894. package/cjs/EditUserProfile/components/EditUserProfileUI.js +0 -100
  895. package/cjs/EditUserProfile/components/EditUserProfileUI.js.map +0 -1
  896. package/cjs/EditUserProfile.js +0 -36
  897. package/cjs/MessageSearch/components/MessageSearchUI.js +0 -94
  898. package/cjs/MessageSearch/context.js +0 -261
  899. package/cjs/MessageSearch.js +0 -79
  900. package/cjs/OpenChannel/components/FrozenChannelNotification.js +0 -17
  901. package/cjs/OpenChannel/components/OpenChannelHeader.js +0 -49
  902. package/cjs/OpenChannel/components/OpenChannelHeader.js.map +0 -1
  903. package/cjs/OpenChannel/components/OpenChannelInput.js +0 -58
  904. package/cjs/OpenChannel/components/OpenChannelInput.js.map +0 -1
  905. package/cjs/OpenChannel/components/OpenChannelMessage.js +0 -198
  906. package/cjs/OpenChannel/components/OpenChannelMessage.js.map +0 -1
  907. package/cjs/OpenChannel/components/OpenChannelMessageList.js +0 -123
  908. package/cjs/OpenChannel/components/OpenChannelMessageList.js.map +0 -1
  909. package/cjs/OpenChannel/components/OpenChannelUI.js +0 -103
  910. package/cjs/OpenChannel/components/OpenChannelUI.js.map +0 -1
  911. package/cjs/OpenChannel/context.js +0 -21
  912. package/cjs/OpenChannel/context.js.map +0 -1
  913. package/cjs/OpenChannel.js +0 -81
  914. package/cjs/OpenChannel.js.map +0 -1
  915. package/cjs/OpenChannelList/components/OpenChannelListUI.js +0 -116
  916. package/cjs/OpenChannelList/components/OpenChannelPreview.js +0 -31
  917. package/cjs/OpenChannelList/context.js +0 -17
  918. package/cjs/OpenChannelList.js +0 -47
  919. package/cjs/OpenChannelSettings/components/EditDetailsModal.js +0 -91
  920. package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +0 -58
  921. package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +0 -92
  922. package/cjs/OpenChannelSettings/components/OperatorUI.js +0 -508
  923. package/cjs/OpenChannelSettings/components/ParticipantUI.js +0 -42
  924. package/cjs/OpenChannelSettings/context.js +0 -126
  925. package/cjs/OpenChannelSettings.js +0 -58
  926. package/cjs/SendbirdProvider.js +0 -1066
  927. package/cjs/Thread/components/ParentMessageInfo.js +0 -248
  928. package/cjs/Thread/components/ParentMessageInfo.js.map +0 -1
  929. package/cjs/Thread/components/ParentMessageInfoItem.js +0 -150
  930. package/cjs/Thread/components/ThreadHeader.js +0 -34
  931. package/cjs/Thread/components/ThreadList.js +0 -172
  932. package/cjs/Thread/components/ThreadListItem.js +0 -329
  933. package/cjs/Thread/components/ThreadListItem.js.map +0 -1
  934. package/cjs/Thread/components/ThreadMessageInput.js +0 -188
  935. package/cjs/Thread/components/ThreadMessageInput.js.map +0 -1
  936. package/cjs/Thread/components/ThreadUI.js +0 -267
  937. package/cjs/Thread/components/ThreadUI.js.map +0 -1
  938. package/cjs/Thread/context.js +0 -1304
  939. package/cjs/Thread/context.js.map +0 -1
  940. package/cjs/Thread.js +0 -129
  941. package/cjs/Thread.js.map +0 -1
  942. package/cjs/VoicePlayer/context.js +0 -15
  943. package/cjs/VoicePlayer/useVoicePlayer.js +0 -73
  944. package/cjs/VoiceRecorder/context.js +0 -138
  945. package/cjs/VoiceRecorder/useVoiceRecorder.js +0 -111
  946. package/cjs/chunks/bundle-0MHADZvF.js +0 -84
  947. package/cjs/chunks/bundle-0MHADZvF.js.map +0 -1
  948. package/cjs/chunks/bundle-0bOWh2mP.js +0 -139
  949. package/cjs/chunks/bundle-0bOWh2mP.js.map +0 -1
  950. package/cjs/chunks/bundle-0wbO-LdY.js +0 -46
  951. package/cjs/chunks/bundle-0wbO-LdY.js.map +0 -1
  952. package/cjs/chunks/bundle-5MVOBR4R.js +0 -79
  953. package/cjs/chunks/bundle-5MVOBR4R.js.map +0 -1
  954. package/cjs/chunks/bundle-5NqynIJA.js +0 -264
  955. package/cjs/chunks/bundle-5NqynIJA.js.map +0 -1
  956. package/cjs/chunks/bundle-5cuVj6Hi.js +0 -181
  957. package/cjs/chunks/bundle-5cuVj6Hi.js.map +0 -1
  958. package/cjs/chunks/bundle-7gBYfQwU.js +0 -1523
  959. package/cjs/chunks/bundle-7gBYfQwU.js.map +0 -1
  960. package/cjs/chunks/bundle-A4ywDIVT.js +0 -35
  961. package/cjs/chunks/bundle-A4ywDIVT.js.map +0 -1
  962. package/cjs/chunks/bundle-AQhLE-Ci.js +0 -7
  963. package/cjs/chunks/bundle-AQhLE-Ci.js.map +0 -1
  964. package/cjs/chunks/bundle-AoaxviqO.js +0 -68
  965. package/cjs/chunks/bundle-AoaxviqO.js.map +0 -1
  966. package/cjs/chunks/bundle-BA9K_smf.js +0 -360
  967. package/cjs/chunks/bundle-BA9K_smf.js.map +0 -1
  968. package/cjs/chunks/bundle-EVdeXpsD.js +0 -48
  969. package/cjs/chunks/bundle-EVdeXpsD.js.map +0 -1
  970. package/cjs/chunks/bundle-F--qTOLe.js +0 -707
  971. package/cjs/chunks/bundle-F--qTOLe.js.map +0 -1
  972. package/cjs/chunks/bundle-FV9lCJz1.js +0 -831
  973. package/cjs/chunks/bundle-FV9lCJz1.js.map +0 -1
  974. package/cjs/chunks/bundle-FpImAp7o.js +0 -137
  975. package/cjs/chunks/bundle-FpImAp7o.js.map +0 -1
  976. package/cjs/chunks/bundle-GE1I3PNS.js +0 -84
  977. package/cjs/chunks/bundle-GE1I3PNS.js.map +0 -1
  978. package/cjs/chunks/bundle-HaufoaVC.js +0 -18
  979. package/cjs/chunks/bundle-HaufoaVC.js.map +0 -1
  980. package/cjs/chunks/bundle-HjwY9t7s.js +0 -217
  981. package/cjs/chunks/bundle-HjwY9t7s.js.map +0 -1
  982. package/cjs/chunks/bundle-IxIg8fhp.js +0 -99
  983. package/cjs/chunks/bundle-IxIg8fhp.js.map +0 -1
  984. package/cjs/chunks/bundle-JragPpHy.js +0 -69
  985. package/cjs/chunks/bundle-JragPpHy.js.map +0 -1
  986. package/cjs/chunks/bundle-KKPmuuwX.js +0 -74
  987. package/cjs/chunks/bundle-KKPmuuwX.js.map +0 -1
  988. package/cjs/chunks/bundle-KVlEj9_l.js +0 -1460
  989. package/cjs/chunks/bundle-KVlEj9_l.js.map +0 -1
  990. package/cjs/chunks/bundle-MBuX_zXW.js +0 -27
  991. package/cjs/chunks/bundle-MBuX_zXW.js.map +0 -1
  992. package/cjs/chunks/bundle-MeuNh9Q9.js +0 -17
  993. package/cjs/chunks/bundle-MeuNh9Q9.js.map +0 -1
  994. package/cjs/chunks/bundle-N1ipvkhN.js +0 -6
  995. package/cjs/chunks/bundle-N1ipvkhN.js.map +0 -1
  996. package/cjs/chunks/bundle-NYFm08XH.js +0 -15
  997. package/cjs/chunks/bundle-NYFm08XH.js.map +0 -1
  998. package/cjs/chunks/bundle-Pe-j2f1D.js +0 -8
  999. package/cjs/chunks/bundle-Pe-j2f1D.js.map +0 -1
  1000. package/cjs/chunks/bundle-QH7iLrPR.js +0 -102
  1001. package/cjs/chunks/bundle-QH7iLrPR.js.map +0 -1
  1002. package/cjs/chunks/bundle-SngxTjas.js +0 -30
  1003. package/cjs/chunks/bundle-SngxTjas.js.map +0 -1
  1004. package/cjs/chunks/bundle-VoZZnYtF.js +0 -236
  1005. package/cjs/chunks/bundle-VoZZnYtF.js.map +0 -1
  1006. package/cjs/chunks/bundle-XoWonC_b.js +0 -128
  1007. package/cjs/chunks/bundle-XoWonC_b.js.map +0 -1
  1008. package/cjs/chunks/bundle-YjWwnwWH.js +0 -178
  1009. package/cjs/chunks/bundle-YjWwnwWH.js.map +0 -1
  1010. package/cjs/chunks/bundle-YkzD-qec.js +0 -279
  1011. package/cjs/chunks/bundle-YkzD-qec.js.map +0 -1
  1012. package/cjs/chunks/bundle-ZurhBjw4.js +0 -20
  1013. package/cjs/chunks/bundle-ZurhBjw4.js.map +0 -1
  1014. package/cjs/chunks/bundle-cV7uGK08.js +0 -510
  1015. package/cjs/chunks/bundle-cV7uGK08.js.map +0 -1
  1016. package/cjs/chunks/bundle-fWyUHuJu.js +0 -11
  1017. package/cjs/chunks/bundle-fWyUHuJu.js.map +0 -1
  1018. package/cjs/chunks/bundle-gM8i5lGF.js +0 -27
  1019. package/cjs/chunks/bundle-gM8i5lGF.js.map +0 -1
  1020. package/cjs/chunks/bundle-hxGMLtWg.js +0 -22
  1021. package/cjs/chunks/bundle-hxGMLtWg.js.map +0 -1
  1022. package/cjs/chunks/bundle-i5KLDxjz.js +0 -6
  1023. package/cjs/chunks/bundle-i5KLDxjz.js.map +0 -1
  1024. package/cjs/chunks/bundle-igY82TbB.js +0 -39
  1025. package/cjs/chunks/bundle-igY82TbB.js.map +0 -1
  1026. package/cjs/chunks/bundle-l92Ws-Rs.js +0 -32
  1027. package/cjs/chunks/bundle-l92Ws-Rs.js.map +0 -1
  1028. package/cjs/chunks/bundle-mgmuHFWU.js +0 -26
  1029. package/cjs/chunks/bundle-mgmuHFWU.js.map +0 -1
  1030. package/cjs/chunks/bundle-nGMCZjvM.js +0 -1858
  1031. package/cjs/chunks/bundle-nGMCZjvM.js.map +0 -1
  1032. package/cjs/chunks/bundle-nuIgQkwQ.js +0 -75
  1033. package/cjs/chunks/bundle-nuIgQkwQ.js.map +0 -1
  1034. package/cjs/chunks/bundle-o1ta9AIa.js +0 -19
  1035. package/cjs/chunks/bundle-o1ta9AIa.js.map +0 -1
  1036. package/cjs/chunks/bundle-omofvX-G.js +0 -178
  1037. package/cjs/chunks/bundle-omofvX-G.js.map +0 -1
  1038. package/cjs/chunks/bundle-ow5FLcVV.js +0 -16
  1039. package/cjs/chunks/bundle-ow5FLcVV.js.map +0 -1
  1040. package/cjs/chunks/bundle-pOTnhSyt.js +0 -15
  1041. package/cjs/chunks/bundle-pOTnhSyt.js.map +0 -1
  1042. package/cjs/chunks/bundle-pVKke2mQ.js +0 -224
  1043. package/cjs/chunks/bundle-pVKke2mQ.js.map +0 -1
  1044. package/cjs/chunks/bundle-pxBxPT0b.js +0 -159
  1045. package/cjs/chunks/bundle-pxBxPT0b.js.map +0 -1
  1046. package/cjs/chunks/bundle-tFuTz5CT.js +0 -228
  1047. package/cjs/chunks/bundle-tFuTz5CT.js.map +0 -1
  1048. package/cjs/chunks/bundle-ugapct3R.js +0 -236
  1049. package/cjs/chunks/bundle-ugapct3R.js.map +0 -1
  1050. package/cjs/chunks/bundle-v8bBiJ_c.js +0 -215
  1051. package/cjs/chunks/bundle-v8bBiJ_c.js.map +0 -1
  1052. package/cjs/chunks/bundle-vSdu8rrq.js +0 -74
  1053. package/cjs/chunks/bundle-vSdu8rrq.js.map +0 -1
  1054. package/cjs/chunks/bundle-vWUmeH2R.js +0 -79
  1055. package/cjs/chunks/bundle-vWUmeH2R.js.map +0 -1
  1056. package/cjs/chunks/bundle-vWlSj3_G.js +0 -10
  1057. package/cjs/chunks/bundle-vWlSj3_G.js.map +0 -1
  1058. package/cjs/chunks/bundle-wN0CLPzM.js +0 -38
  1059. package/cjs/chunks/bundle-wN0CLPzM.js.map +0 -1
  1060. package/cjs/chunks/bundle-x3a8KQ02.js +0 -136
  1061. package/cjs/chunks/bundle-x3a8KQ02.js.map +0 -1
  1062. package/cjs/chunks/bundle-xeeBDhY6.js +0 -6
  1063. package/cjs/chunks/bundle-xeeBDhY6.js.map +0 -1
  1064. package/cjs/chunks/bundle-xlnqnYUH.js +0 -109
  1065. package/cjs/chunks/bundle-xlnqnYUH.js.map +0 -1
  1066. package/cjs/chunks/bundle-yTYZiuXi.js +0 -28
  1067. package/cjs/chunks/bundle-yTYZiuXi.js.map +0 -1
  1068. package/cjs/hooks/useModal.js +0 -59
  1069. package/cjs/index.js +0 -222
  1070. package/cjs/index.js.map +0 -1
  1071. package/cjs/lame.all.js +0 -16659
  1072. package/cjs/lame.all.js.map +0 -1
  1073. package/cjs/pubSub/topics.js +0 -18
  1074. package/cjs/sendbirdSelectors.js +0 -580
  1075. package/cjs/ui/Accordion.js +0 -52
  1076. package/cjs/ui/AccordionGroup.js +0 -17
  1077. package/cjs/ui/AdminMessage.js +0 -21
  1078. package/cjs/ui/Avatar.js +0 -18
  1079. package/cjs/ui/Badge.js +0 -26
  1080. package/cjs/ui/BottomSheet.js +0 -38
  1081. package/cjs/ui/Button.js +0 -53
  1082. package/cjs/ui/ChannelAvatar.js +0 -32
  1083. package/cjs/ui/ConnectionStatus.js +0 -20
  1084. package/cjs/ui/ContextMenu.js +0 -216
  1085. package/cjs/ui/DateSeparator.js +0 -21
  1086. package/cjs/ui/EmojiReactions.js +0 -180
  1087. package/cjs/ui/EmojiReactions.js.map +0 -1
  1088. package/cjs/ui/FileMessageItemBody.js +0 -41
  1089. package/cjs/ui/FileViewer.js +0 -33
  1090. package/cjs/ui/Icon.js +0 -1140
  1091. package/cjs/ui/IconButton.js +0 -26
  1092. package/cjs/ui/ImageRenderer.js +0 -120
  1093. package/cjs/ui/ImageRenderer.js.map +0 -1
  1094. package/cjs/ui/Input.js +0 -26
  1095. package/cjs/ui/Label.js +0 -16
  1096. package/cjs/ui/LinkLabel.js +0 -32
  1097. package/cjs/ui/Loader.js +0 -20
  1098. package/cjs/ui/MentionLabel.js +0 -69
  1099. package/cjs/ui/MentionUserLabel.js +0 -12
  1100. package/cjs/ui/MessageContent.js +0 -339
  1101. package/cjs/ui/MessageInput/hooks/usePaste.js +0 -17
  1102. package/cjs/ui/MessageInput.js +0 -464
  1103. package/cjs/ui/MessageItemMenu.js +0 -131
  1104. package/cjs/ui/MessageItemReactionMenu.js +0 -58
  1105. package/cjs/ui/MessageSearchFileItem.js +0 -92
  1106. package/cjs/ui/MessageSearchItem.js +0 -63
  1107. package/cjs/ui/MessageStatus.js +0 -26
  1108. package/cjs/ui/Modal.js +0 -26
  1109. package/cjs/ui/MutedAvatarOverlay.js +0 -23
  1110. package/cjs/ui/OGMessageItemBody.js +0 -87
  1111. package/cjs/ui/OpenChannelAdminMessage.js +0 -17
  1112. package/cjs/ui/OpenChannelAvatar.js +0 -26
  1113. package/cjs/ui/OpenchannelConversationHeader.js +0 -34
  1114. package/cjs/ui/OpenchannelFileMessage.js +0 -139
  1115. package/cjs/ui/OpenchannelOGMessage.js +0 -184
  1116. package/cjs/ui/OpenchannelThumbnailMessage.js +0 -176
  1117. package/cjs/ui/OpenchannelUserMessage.js +0 -147
  1118. package/cjs/ui/PlaceHolder.js +0 -58
  1119. package/cjs/ui/PlaybackTime.js +0 -22
  1120. package/cjs/ui/QuoteMessage.js +0 -81
  1121. package/cjs/ui/QuoteMessageInput.js +0 -84
  1122. package/cjs/ui/ReactionBadge.js +0 -28
  1123. package/cjs/ui/ReactionButton.js +0 -25
  1124. package/cjs/ui/SortByRow.js +0 -31
  1125. package/cjs/ui/TextButton.js +0 -17
  1126. package/cjs/ui/TextMessageItemBody.js +0 -66
  1127. package/cjs/ui/ThreadReplies.js +0 -44
  1128. package/cjs/ui/ThumbnailMessageItemBody.js +0 -45
  1129. package/cjs/ui/Toggle.js +0 -131
  1130. package/cjs/ui/Tooltip.js +0 -17
  1131. package/cjs/ui/TooltipWrapper.js +0 -21
  1132. package/cjs/ui/TypingIndicatorBubble.js +0 -69
  1133. package/cjs/ui/UnknownMessageItemBody.js +0 -29
  1134. package/cjs/ui/UserListItem.js +0 -73
  1135. package/cjs/ui/UserProfile.js +0 -60
  1136. package/cjs/ui/VoiceMessageInput.js +0 -21
  1137. package/cjs/ui/VoiceMessageItemBody.js +0 -74
  1138. package/cjs/ui/Word.js +0 -82
  1139. package/cjs/useSendbirdStateContext.js +0 -27
  1140. package/cjs/utils/message/isVoiceMessage.js +0 -11
  1141. package/cjs/withSendbird.js +0 -28
  1142. package/dist/index.css +0 -7839
  1143. package/dist/index.css.map +0 -1
  1144. package/hooks/useModal.js +0 -55
  1145. package/index.js +0 -200
  1146. package/index.js.map +0 -1
  1147. package/lame.all.js +0 -16655
  1148. package/lame.all.js.map +0 -1
  1149. package/pubSub/topics.js +0 -2
  1150. package/sendbirdSelectors.js +0 -555
  1151. package/types/lib/hooks/useConnect/setupConnection.d.ts +0 -18
  1152. package/types/modules/Channel/components/MessageInput/useHandleUploadFiles.d.ts +0 -19
  1153. package/types/modules/Channel/context/hooks/useHandleChannelEvents.d.ts +0 -29
  1154. package/types/modules/Channel/context/hooks/useResendMessageCallback.d.ts +0 -14
  1155. package/types/modules/ChannelList/components/ChannelListUI/index.d.ts +0 -23
  1156. package/types/modules/ChannelList/dux/actionTypes.d.ts +0 -66
  1157. package/types/modules/EditUserProfile/components/EditUserProfileUI/index.d.ts +0 -3
  1158. package/types/modules/OpenChannel/context/hooks/useFileUploadCallback.d.ts +0 -27
  1159. package/types/types.d.ts +0 -59
  1160. package/types/ui/EmojiReactions/ReactionItem.d.ts +0 -17
  1161. package/types/ui/Label/stringSet.d.ts +0 -189
  1162. package/types/utils/consts.d.ts +0 -23
  1163. package/ui/Accordion.js +0 -47
  1164. package/ui/AccordionGroup.js +0 -15
  1165. package/ui/AdminMessage.js +0 -19
  1166. package/ui/Avatar.js +0 -9
  1167. package/ui/Badge.js +0 -24
  1168. package/ui/BottomSheet.js +0 -36
  1169. package/ui/Button.js +0 -49
  1170. package/ui/ChannelAvatar.js +0 -30
  1171. package/ui/ConnectionStatus.js +0 -18
  1172. package/ui/ContextMenu.js +0 -207
  1173. package/ui/DateSeparator.js +0 -19
  1174. package/ui/EmojiReactions.js +0 -178
  1175. package/ui/EmojiReactions.js.map +0 -1
  1176. package/ui/FileMessageItemBody.js +0 -39
  1177. package/ui/FileViewer.js +0 -24
  1178. package/ui/Icon.js +0 -1116
  1179. package/ui/IconButton.js +0 -24
  1180. package/ui/ImageRenderer.js +0 -114
  1181. package/ui/ImageRenderer.js.map +0 -1
  1182. package/ui/Input.js +0 -21
  1183. package/ui/Label.js +0 -5
  1184. package/ui/LinkLabel.js +0 -26
  1185. package/ui/Loader.js +0 -18
  1186. package/ui/MentionLabel.js +0 -67
  1187. package/ui/MentionUserLabel.js +0 -10
  1188. package/ui/MessageContent.js +0 -337
  1189. package/ui/MessageContent.js.map +0 -1
  1190. package/ui/MessageInput/hooks/usePaste.js +0 -8
  1191. package/ui/MessageInput.js +0 -462
  1192. package/ui/MessageItemMenu.js +0 -126
  1193. package/ui/MessageItemReactionMenu.js +0 -53
  1194. package/ui/MessageSearchFileItem.js +0 -90
  1195. package/ui/MessageSearchItem.js +0 -61
  1196. package/ui/MessageStatus.js +0 -17
  1197. package/ui/Modal.js +0 -14
  1198. package/ui/MutedAvatarOverlay.js +0 -21
  1199. package/ui/OGMessageItemBody.js +0 -85
  1200. package/ui/OpenChannelAdminMessage.js +0 -15
  1201. package/ui/OpenChannelAvatar.js +0 -24
  1202. package/ui/OpenchannelConversationHeader.js +0 -32
  1203. package/ui/OpenchannelFileMessage.js +0 -137
  1204. package/ui/OpenchannelFileMessage.js.map +0 -1
  1205. package/ui/OpenchannelOGMessage.js +0 -182
  1206. package/ui/OpenchannelOGMessage.js.map +0 -1
  1207. package/ui/OpenchannelThumbnailMessage.js +0 -174
  1208. package/ui/OpenchannelThumbnailMessage.js.map +0 -1
  1209. package/ui/OpenchannelUserMessage.js +0 -145
  1210. package/ui/OpenchannelUserMessage.js.map +0 -1
  1211. package/ui/PlaceHolder.js +0 -53
  1212. package/ui/PlaybackTime.js +0 -17
  1213. package/ui/QuoteMessage.js +0 -79
  1214. package/ui/QuoteMessageInput.js +0 -82
  1215. package/ui/ReactionBadge.js +0 -26
  1216. package/ui/ReactionButton.js +0 -23
  1217. package/ui/SortByRow.js +0 -29
  1218. package/ui/TextButton.js +0 -15
  1219. package/ui/TextMessageItemBody.js +0 -64
  1220. package/ui/ThreadReplies.js +0 -42
  1221. package/ui/ThumbnailMessageItemBody.js +0 -43
  1222. package/ui/Toggle.js +0 -126
  1223. package/ui/Tooltip.js +0 -15
  1224. package/ui/TooltipWrapper.js +0 -19
  1225. package/ui/TypingIndicatorBubble.js +0 -67
  1226. package/ui/UnknownMessageItemBody.js +0 -27
  1227. package/ui/UserListItem.js +0 -71
  1228. package/ui/UserListItem.js.map +0 -1
  1229. package/ui/UserProfile.js +0 -58
  1230. package/ui/VoiceMessageInput.js +0 -15
  1231. package/ui/VoiceMessageItemBody.js +0 -69
  1232. package/ui/Word.js +0 -80
  1233. package/useSendbirdStateContext.js +0 -22
  1234. package/utils/message/isVoiceMessage.js +0 -9
  1235. package/withSendbird.js +0 -23
  1236. /package/{Channel → dist/Channel}/components/ChannelHeader.js.map +0 -0
  1237. /package/{Channel → dist/Channel}/components/FileViewer.js.map +0 -0
  1238. /package/{Channel → dist/Channel}/components/FrozenNotification.js.map +0 -0
  1239. /package/{Channel → dist/Channel}/components/Message.js.map +0 -0
  1240. /package/{Channel → dist/Channel}/components/MessageList.js.map +0 -0
  1241. /package/{Channel → dist/Channel}/components/RemoveMessageModal.js.map +0 -0
  1242. /package/{Channel → dist/Channel}/components/SuggestedMentionList.js.map +0 -0
  1243. /package/{Channel → dist/Channel}/components/TypingIndicator.js.map +0 -0
  1244. /package/{Channel → dist/Channel}/components/UnreadCount.js.map +0 -0
  1245. /package/{Channel → dist/Channel}/context.js.map +0 -0
  1246. /package/{Channel → dist/Channel}/hooks/useInitialMessagesFetch.js.map +0 -0
  1247. /package/{Channel → dist/Channel}/utils/compareMessagesForGrouping.js.map +0 -0
  1248. /package/{Channel → dist/Channel}/utils/getMessagePartsInfo.js.map +0 -0
  1249. /package/{ChannelList → dist/ChannelList}/components/AddChannel.js.map +0 -0
  1250. /package/{ChannelList → dist/ChannelList}/components/ChannelListHeader.js.map +0 -0
  1251. /package/{ChannelList → dist/ChannelList}/components/ChannelListUI.js.map +0 -0
  1252. /package/{ChannelList → dist/ChannelList}/components/ChannelPreview.js.map +0 -0
  1253. /package/{ChannelList → dist/ChannelList}/components/ChannelPreviewAction.js.map +0 -0
  1254. /package/{ChannelList → dist/ChannelList}/context.js.map +0 -0
  1255. /package/{ChannelList.js.map → dist/ChannelList.js.map} +0 -0
  1256. /package/{ChannelSettings → dist/ChannelSettings}/components/ChannelProfile.js.map +0 -0
  1257. /package/{ChannelSettings → dist/ChannelSettings}/components/ChannelSettingsUI.js.map +0 -0
  1258. /package/{ChannelSettings → dist/ChannelSettings}/components/EditDetailsModal.js.map +0 -0
  1259. /package/{ChannelSettings → dist/ChannelSettings}/components/LeaveChannel.js.map +0 -0
  1260. /package/{ChannelSettings → dist/ChannelSettings}/components/ModerationPanel.js.map +0 -0
  1261. /package/{cjs → dist}/ChannelSettings/components/UserListItem.js.map +0 -0
  1262. /package/{ChannelSettings → dist/ChannelSettings}/components/UserPanel.js.map +0 -0
  1263. /package/{ChannelSettings → dist/ChannelSettings}/context.js.map +0 -0
  1264. /package/{ChannelSettings.js.map → dist/ChannelSettings.js.map} +0 -0
  1265. /package/{CreateChannel → dist/CreateChannel}/components/CreateChannelUI.js.map +0 -0
  1266. /package/{CreateChannel → dist/CreateChannel}/components/InviteUsers.js.map +0 -0
  1267. /package/{CreateChannel → dist/CreateChannel}/components/SelectChannelType.js.map +0 -0
  1268. /package/{CreateChannel → dist/CreateChannel}/context.js.map +0 -0
  1269. /package/{CreateChannel.js.map → dist/CreateChannel.js.map} +0 -0
  1270. /package/{CreateOpenChannel → dist/CreateOpenChannel}/components/CreateOpenChannelUI.js.map +0 -0
  1271. /package/{CreateOpenChannel → dist/CreateOpenChannel}/context.js.map +0 -0
  1272. /package/{CreateOpenChannel.js.map → dist/CreateOpenChannel.js.map} +0 -0
  1273. /package/{EditUserProfile → dist/EditUserProfile}/context.js +0 -0
  1274. /package/{EditUserProfile → dist/EditUserProfile}/context.js.map +0 -0
  1275. /package/{EditUserProfile.js.map → dist/EditUserProfile.js.map} +0 -0
  1276. /package/{Message → dist/Message}/context.js +0 -0
  1277. /package/{Message → dist/Message}/context.js.map +0 -0
  1278. /package/{Message → dist/Message}/hooks/useDirtyGetMentions.js +0 -0
  1279. /package/{Message → dist/Message}/hooks/useDirtyGetMentions.js.map +0 -0
  1280. /package/{MessageSearch → dist/MessageSearch}/components/MessageSearchUI.js.map +0 -0
  1281. /package/{MessageSearch → dist/MessageSearch}/context.js.map +0 -0
  1282. /package/{MessageSearch.js.map → dist/MessageSearch.js.map} +0 -0
  1283. /package/{OpenChannel → dist/OpenChannel}/components/FrozenChannelNotification.js.map +0 -0
  1284. /package/{OpenChannelList → dist/OpenChannelList}/components/OpenChannelListUI.js.map +0 -0
  1285. /package/{OpenChannelList → dist/OpenChannelList}/components/OpenChannelPreview.js.map +0 -0
  1286. /package/{OpenChannelList → dist/OpenChannelList}/context.js.map +0 -0
  1287. /package/{OpenChannelList.js.map → dist/OpenChannelList.js.map} +0 -0
  1288. /package/{OpenChannelSettings → dist/OpenChannelSettings}/components/EditDetailsModal.js.map +0 -0
  1289. /package/{OpenChannelSettings → dist/OpenChannelSettings}/components/OpenChannelProfile.js.map +0 -0
  1290. /package/{OpenChannelSettings → dist/OpenChannelSettings}/components/OpenChannelSettingsUI.js.map +0 -0
  1291. /package/{OpenChannelSettings → dist/OpenChannelSettings}/components/OperatorUI.js.map +0 -0
  1292. /package/{OpenChannelSettings → dist/OpenChannelSettings}/components/ParticipantUI.js.map +0 -0
  1293. /package/{OpenChannelSettings → dist/OpenChannelSettings}/context.js.map +0 -0
  1294. /package/{OpenChannelSettings.js.map → dist/OpenChannelSettings.js.map} +0 -0
  1295. /package/{SendbirdProvider.js.map → dist/SendbirdProvider.js.map} +0 -0
  1296. /package/{Thread → dist/Thread}/components/ParentMessageInfoItem.js.map +0 -0
  1297. /package/{Thread → dist/Thread}/components/ThreadHeader.js.map +0 -0
  1298. /package/{Thread → dist/Thread}/components/ThreadList.js.map +0 -0
  1299. /package/{Thread → dist/Thread}/context/types.js +0 -0
  1300. /package/{Thread → dist/Thread}/context/types.js.map +0 -0
  1301. /package/{VoicePlayer → dist/VoicePlayer}/context.js.map +0 -0
  1302. /package/{VoicePlayer → dist/VoicePlayer}/useVoicePlayer.js.map +0 -0
  1303. /package/{VoiceRecorder → dist/VoiceRecorder}/context.js.map +0 -0
  1304. /package/{VoiceRecorder → dist/VoiceRecorder}/useVoiceRecorder.js.map +0 -0
  1305. /package/{cjs → dist/cjs}/Channel/components/ChannelHeader.js.map +0 -0
  1306. /package/{cjs → dist/cjs}/Channel/components/FileViewer.js.map +0 -0
  1307. /package/{cjs → dist/cjs}/Channel/components/FrozenNotification.js.map +0 -0
  1308. /package/{cjs → dist/cjs}/Channel/components/Message.js.map +0 -0
  1309. /package/{cjs → dist/cjs}/Channel/components/MessageList.js.map +0 -0
  1310. /package/{cjs → dist/cjs}/Channel/components/RemoveMessageModal.js.map +0 -0
  1311. /package/{cjs → dist/cjs}/Channel/components/SuggestedMentionList.js.map +0 -0
  1312. /package/{cjs → dist/cjs}/Channel/components/TypingIndicator.js.map +0 -0
  1313. /package/{cjs → dist/cjs}/Channel/components/UnreadCount.js.map +0 -0
  1314. /package/{cjs → dist/cjs}/Channel/context.js.map +0 -0
  1315. /package/{cjs → dist/cjs}/Channel/hooks/useInitialMessagesFetch.js.map +0 -0
  1316. /package/{cjs → dist/cjs}/Channel/utils/compareMessagesForGrouping.js.map +0 -0
  1317. /package/{cjs → dist/cjs}/Channel/utils/getMessagePartsInfo.js.map +0 -0
  1318. /package/{cjs → dist/cjs}/ChannelList/components/AddChannel.js.map +0 -0
  1319. /package/{cjs → dist/cjs}/ChannelList/components/ChannelListHeader.js.map +0 -0
  1320. /package/{cjs → dist/cjs}/ChannelList/components/ChannelListUI.js.map +0 -0
  1321. /package/{cjs → dist/cjs}/ChannelList/components/ChannelPreview.js.map +0 -0
  1322. /package/{cjs → dist/cjs}/ChannelList/components/ChannelPreviewAction.js.map +0 -0
  1323. /package/{cjs → dist/cjs}/ChannelList/context.js.map +0 -0
  1324. /package/{cjs → dist/cjs}/ChannelList.js.map +0 -0
  1325. /package/{cjs → dist/cjs}/ChannelSettings/components/ChannelProfile.js.map +0 -0
  1326. /package/{cjs → dist/cjs}/ChannelSettings/components/ChannelSettingsUI.js.map +0 -0
  1327. /package/{cjs → dist/cjs}/ChannelSettings/components/EditDetailsModal.js.map +0 -0
  1328. /package/{cjs → dist/cjs}/ChannelSettings/components/LeaveChannel.js.map +0 -0
  1329. /package/{cjs → dist/cjs}/ChannelSettings/components/ModerationPanel.js.map +0 -0
  1330. /package/{cjs → dist/cjs}/ChannelSettings/components/UserPanel.js.map +0 -0
  1331. /package/{cjs → dist/cjs}/ChannelSettings/context.js.map +0 -0
  1332. /package/{cjs → dist/cjs}/ChannelSettings.js.map +0 -0
  1333. /package/{cjs → dist/cjs}/CreateChannel/components/CreateChannelUI.js.map +0 -0
  1334. /package/{cjs → dist/cjs}/CreateChannel/components/InviteUsers.js.map +0 -0
  1335. /package/{cjs → dist/cjs}/CreateChannel/components/SelectChannelType.js.map +0 -0
  1336. /package/{cjs → dist/cjs}/CreateChannel/context.js.map +0 -0
  1337. /package/{cjs → dist/cjs}/CreateChannel.js.map +0 -0
  1338. /package/{cjs → dist/cjs}/CreateOpenChannel/components/CreateOpenChannelUI.js.map +0 -0
  1339. /package/{cjs → dist/cjs}/CreateOpenChannel/context.js.map +0 -0
  1340. /package/{cjs → dist/cjs}/CreateOpenChannel.js.map +0 -0
  1341. /package/{cjs → dist/cjs}/EditUserProfile/context.js +0 -0
  1342. /package/{cjs → dist/cjs}/EditUserProfile/context.js.map +0 -0
  1343. /package/{cjs → dist/cjs}/EditUserProfile.js.map +0 -0
  1344. /package/{cjs → dist/cjs}/Message/context.js +0 -0
  1345. /package/{cjs → dist/cjs}/Message/context.js.map +0 -0
  1346. /package/{cjs → dist/cjs}/Message/hooks/useDirtyGetMentions.js +0 -0
  1347. /package/{cjs → dist/cjs}/Message/hooks/useDirtyGetMentions.js.map +0 -0
  1348. /package/{cjs → dist/cjs}/MessageSearch/components/MessageSearchUI.js.map +0 -0
  1349. /package/{cjs → dist/cjs}/MessageSearch/context.js.map +0 -0
  1350. /package/{cjs → dist/cjs}/MessageSearch.js.map +0 -0
  1351. /package/{cjs → dist/cjs}/OpenChannel/components/FrozenChannelNotification.js.map +0 -0
  1352. /package/{cjs → dist/cjs}/OpenChannelList/components/OpenChannelListUI.js.map +0 -0
  1353. /package/{cjs → dist/cjs}/OpenChannelList/components/OpenChannelPreview.js.map +0 -0
  1354. /package/{cjs → dist/cjs}/OpenChannelList/context.js.map +0 -0
  1355. /package/{cjs → dist/cjs}/OpenChannelList.js.map +0 -0
  1356. /package/{cjs → dist/cjs}/OpenChannelSettings/components/EditDetailsModal.js.map +0 -0
  1357. /package/{cjs → dist/cjs}/OpenChannelSettings/components/OpenChannelProfile.js.map +0 -0
  1358. /package/{cjs → dist/cjs}/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +0 -0
  1359. /package/{cjs → dist/cjs}/OpenChannelSettings/components/OperatorUI.js.map +0 -0
  1360. /package/{cjs → dist/cjs}/OpenChannelSettings/components/ParticipantUI.js.map +0 -0
  1361. /package/{cjs → dist/cjs}/OpenChannelSettings/context.js.map +0 -0
  1362. /package/{cjs → dist/cjs}/OpenChannelSettings.js.map +0 -0
  1363. /package/{cjs → dist/cjs}/SendbirdProvider.js.map +0 -0
  1364. /package/{cjs → dist/cjs}/Thread/components/ParentMessageInfoItem.js.map +0 -0
  1365. /package/{cjs → dist/cjs}/Thread/components/ThreadHeader.js.map +0 -0
  1366. /package/{cjs → dist/cjs}/Thread/components/ThreadList.js.map +0 -0
  1367. /package/{cjs → dist/cjs}/Thread/context/types.js +0 -0
  1368. /package/{cjs → dist/cjs}/Thread/context/types.js.map +0 -0
  1369. /package/{cjs → dist/cjs}/VoicePlayer/context.js.map +0 -0
  1370. /package/{cjs → dist/cjs}/VoicePlayer/useVoicePlayer.js.map +0 -0
  1371. /package/{cjs → dist/cjs}/VoiceRecorder/context.js.map +0 -0
  1372. /package/{cjs → dist/cjs}/VoiceRecorder/useVoiceRecorder.js.map +0 -0
  1373. /package/{cjs → dist/cjs}/handlers/ConnectionHandler.js +0 -0
  1374. /package/{cjs → dist/cjs}/handlers/ConnectionHandler.js.map +0 -0
  1375. /package/{cjs → dist/cjs}/handlers/GroupChannelHandler.js +0 -0
  1376. /package/{cjs → dist/cjs}/handlers/GroupChannelHandler.js.map +0 -0
  1377. /package/{cjs → dist/cjs}/handlers/OpenChannelHandler.js +0 -0
  1378. /package/{cjs → dist/cjs}/handlers/OpenChannelHandler.js.map +0 -0
  1379. /package/{cjs → dist/cjs}/handlers/SessionHandler.js +0 -0
  1380. /package/{cjs → dist/cjs}/handlers/SessionHandler.js.map +0 -0
  1381. /package/{cjs → dist/cjs}/handlers/UserEventHandler.js +0 -0
  1382. /package/{cjs → dist/cjs}/handlers/UserEventHandler.js.map +0 -0
  1383. /package/{cjs → dist/cjs}/hooks/useModal.js.map +0 -0
  1384. /package/{cjs → dist/cjs}/package.json +0 -0
  1385. /package/{cjs → dist/cjs}/pubSub/topics.js.map +0 -0
  1386. /package/{cjs → dist/cjs}/sendbirdSelectors.js.map +0 -0
  1387. /package/{cjs → dist/cjs}/ui/Accordion.js.map +0 -0
  1388. /package/{cjs → dist/cjs}/ui/AccordionGroup.js.map +0 -0
  1389. /package/{cjs → dist/cjs}/ui/AdminMessage.js.map +0 -0
  1390. /package/{cjs → dist/cjs}/ui/Avatar.js.map +0 -0
  1391. /package/{cjs → dist/cjs}/ui/Badge.js.map +0 -0
  1392. /package/{cjs → dist/cjs}/ui/BottomSheet.js.map +0 -0
  1393. /package/{cjs → dist/cjs}/ui/Button.js.map +0 -0
  1394. /package/{cjs → dist/cjs}/ui/ChannelAvatar.js.map +0 -0
  1395. /package/{cjs → dist/cjs}/ui/Checkbox.js +0 -0
  1396. /package/{cjs → dist/cjs}/ui/Checkbox.js.map +0 -0
  1397. /package/{cjs → dist/cjs}/ui/ConnectionStatus.js.map +0 -0
  1398. /package/{cjs → dist/cjs}/ui/ContextMenu.js.map +0 -0
  1399. /package/{cjs → dist/cjs}/ui/DateSeparator.js.map +0 -0
  1400. /package/{cjs → dist/cjs}/ui/FileMessageItemBody.js.map +0 -0
  1401. /package/{cjs → dist/cjs}/ui/FileViewer.js.map +0 -0
  1402. /package/{cjs → dist/cjs}/ui/Icon.js.map +0 -0
  1403. /package/{cjs → dist/cjs}/ui/IconButton.js.map +0 -0
  1404. /package/{cjs → dist/cjs}/ui/Input.js.map +0 -0
  1405. /package/{cjs → dist/cjs}/ui/Label.js.map +0 -0
  1406. /package/{cjs → dist/cjs}/ui/LinkLabel.js.map +0 -0
  1407. /package/{cjs → dist/cjs}/ui/Loader.js.map +0 -0
  1408. /package/{cjs → dist/cjs}/ui/MentionLabel.js.map +0 -0
  1409. /package/{cjs → dist/cjs}/ui/MentionUserLabel.js.map +0 -0
  1410. /package/{cjs → dist/cjs}/ui/MessageInput/hooks/usePaste.js.map +0 -0
  1411. /package/{cjs → dist/cjs}/ui/MessageInput.js.map +0 -0
  1412. /package/{cjs → dist/cjs}/ui/MessageItemMenu.js.map +0 -0
  1413. /package/{cjs → dist/cjs}/ui/MessageItemReactionMenu.js.map +0 -0
  1414. /package/{cjs → dist/cjs}/ui/MessageSearchFileItem.js.map +0 -0
  1415. /package/{cjs → dist/cjs}/ui/MessageSearchItem.js.map +0 -0
  1416. /package/{cjs → dist/cjs}/ui/MessageStatus.js.map +0 -0
  1417. /package/{cjs → dist/cjs}/ui/Modal.js.map +0 -0
  1418. /package/{cjs → dist/cjs}/ui/MutedAvatarOverlay.js.map +0 -0
  1419. /package/{cjs → dist/cjs}/ui/OGMessageItemBody.js.map +0 -0
  1420. /package/{cjs → dist/cjs}/ui/OpenChannelAdminMessage.js.map +0 -0
  1421. /package/{cjs → dist/cjs}/ui/OpenChannelAvatar.js.map +0 -0
  1422. /package/{cjs → dist/cjs}/ui/OpenchannelConversationHeader.js.map +0 -0
  1423. /package/{cjs → dist/cjs}/ui/PlaceHolder.js.map +0 -0
  1424. /package/{cjs → dist/cjs}/ui/PlaybackTime.js.map +0 -0
  1425. /package/{cjs → dist/cjs}/ui/ProgressBar.js +0 -0
  1426. /package/{cjs → dist/cjs}/ui/ProgressBar.js.map +0 -0
  1427. /package/{cjs → dist/cjs}/ui/QuoteMessage.js.map +0 -0
  1428. /package/{cjs → dist/cjs}/ui/QuoteMessageInput.js.map +0 -0
  1429. /package/{cjs → dist/cjs}/ui/ReactionBadge.js.map +0 -0
  1430. /package/{cjs → dist/cjs}/ui/ReactionButton.js.map +0 -0
  1431. /package/{cjs → dist/cjs}/ui/SortByRow.js.map +0 -0
  1432. /package/{cjs → dist/cjs}/ui/TextButton.js.map +0 -0
  1433. /package/{cjs → dist/cjs}/ui/TextMessageItemBody.js.map +0 -0
  1434. /package/{cjs → dist/cjs}/ui/ThreadReplies.js.map +0 -0
  1435. /package/{cjs → dist/cjs}/ui/ThumbnailMessageItemBody.js.map +0 -0
  1436. /package/{cjs → dist/cjs}/ui/Toggle.js.map +0 -0
  1437. /package/{cjs → dist/cjs}/ui/Tooltip.js.map +0 -0
  1438. /package/{cjs → dist/cjs}/ui/TooltipWrapper.js.map +0 -0
  1439. /package/{cjs → dist/cjs}/ui/TypingIndicatorBubble.js.map +0 -0
  1440. /package/{cjs → dist/cjs}/ui/UnknownMessageItemBody.js.map +0 -0
  1441. /package/{cjs → dist/cjs}/ui/UserProfile.js.map +0 -0
  1442. /package/{cjs → dist/cjs}/ui/VoiceMessageInput.js.map +0 -0
  1443. /package/{cjs → dist/cjs}/ui/VoiceMessageItemBody.js.map +0 -0
  1444. /package/{cjs → dist/cjs}/ui/Word.js.map +0 -0
  1445. /package/{cjs → dist/cjs}/useSendbirdStateContext.js.map +0 -0
  1446. /package/{cjs → dist/cjs}/utils/message/getOutgoingMessageState.js +0 -0
  1447. /package/{cjs → dist/cjs}/utils/message/getOutgoingMessageState.js.map +0 -0
  1448. /package/{cjs → dist/cjs}/utils/message/isVoiceMessage.js.map +0 -0
  1449. /package/{cjs → dist/cjs}/withSendbird.js.map +0 -0
  1450. /package/{handlers → dist/handlers}/ConnectionHandler.js +0 -0
  1451. /package/{handlers → dist/handlers}/ConnectionHandler.js.map +0 -0
  1452. /package/{handlers → dist/handlers}/GroupChannelHandler.js +0 -0
  1453. /package/{handlers → dist/handlers}/GroupChannelHandler.js.map +0 -0
  1454. /package/{handlers → dist/handlers}/OpenChannelHandler.js +0 -0
  1455. /package/{handlers → dist/handlers}/OpenChannelHandler.js.map +0 -0
  1456. /package/{handlers → dist/handlers}/SessionHandler.js +0 -0
  1457. /package/{handlers → dist/handlers}/SessionHandler.js.map +0 -0
  1458. /package/{handlers → dist/handlers}/UserEventHandler.js +0 -0
  1459. /package/{handlers → dist/handlers}/UserEventHandler.js.map +0 -0
  1460. /package/{hooks → dist/hooks}/useModal.js.map +0 -0
  1461. /package/{pubSub → dist/pubSub}/topics.js.map +0 -0
  1462. /package/{sendbirdSelectors.js.map → dist/sendbirdSelectors.js.map} +0 -0
  1463. /package/{types → dist/types}/hooks/VoicePlayer/dux/actionTypes.d.ts +0 -0
  1464. /package/{types → dist/types}/hooks/VoicePlayer/dux/initialState.d.ts +0 -0
  1465. /package/{types → dist/types}/hooks/VoicePlayer/dux/reducer.d.ts +0 -0
  1466. /package/{types → dist/types}/hooks/VoicePlayer/index.d.ts +0 -0
  1467. /package/{types → dist/types}/hooks/VoicePlayer/useVoicePlayer.d.ts +0 -0
  1468. /package/{types → dist/types}/hooks/VoicePlayer/utils.d.ts +0 -0
  1469. /package/{types → dist/types}/hooks/VoiceRecorder/WebAudioUtils.d.ts +0 -0
  1470. /package/{types → dist/types}/hooks/VoiceRecorder/index.d.ts +0 -0
  1471. /package/{types → dist/types}/hooks/VoiceRecorder/useVoiceRecorder.d.ts +0 -0
  1472. /package/{types → dist/types}/hooks/useAppendDomNode.d.ts +0 -0
  1473. /package/{types → dist/types}/hooks/useDebounce.d.ts +0 -0
  1474. /package/{types → dist/types}/hooks/useHandleOnScrollCallback/index.d.ts +0 -0
  1475. /package/{types → dist/types}/hooks/useLongPress.d.ts +0 -0
  1476. /package/{types → dist/types}/hooks/useModal/ModalRoot/index.d.ts +0 -0
  1477. /package/{types → dist/types}/hooks/useModal/index.d.ts +0 -0
  1478. /package/{types → dist/types}/hooks/useMouseHover.d.ts +0 -0
  1479. /package/{types → dist/types}/hooks/useOnScrollReachedEndDetector/index.d.ts +0 -0
  1480. /package/{types → dist/types}/hooks/useOutsideAlerter.d.ts +0 -0
  1481. /package/{types → dist/types}/hooks/useSendbirdStateContext.d.ts +0 -0
  1482. /package/{types → dist/types}/hooks/useUnmount.d.ts +0 -0
  1483. /package/{types → dist/types}/index.d.ts +0 -0
  1484. /package/{types → dist/types}/lib/LocalizationContext.d.ts +0 -0
  1485. /package/{types → dist/types}/lib/Logger/index.d.ts +0 -0
  1486. /package/{types → dist/types}/lib/MediaQueryContext.d.ts +0 -0
  1487. /package/{types → dist/types}/lib/Sendbird.d.ts +0 -0
  1488. /package/{types → dist/types}/lib/SendbirdSdkContext.d.ts +0 -0
  1489. /package/{types → dist/types}/lib/SendbirdState.d.ts +0 -0
  1490. /package/{types → dist/types}/lib/UserProfileContext.d.ts +0 -0
  1491. /package/{types → dist/types}/lib/VoiceMessageProvider.d.ts +0 -0
  1492. /package/{types → dist/types}/lib/dux/sdk/actionTypes.d.ts +0 -0
  1493. /package/{types → dist/types}/lib/dux/sdk/initialState.d.ts +0 -0
  1494. /package/{types → dist/types}/lib/dux/sdk/reducers.d.ts +0 -0
  1495. /package/{types → dist/types}/lib/dux/user/actionTypes.d.ts +0 -0
  1496. /package/{types → dist/types}/lib/dux/user/initialState.d.ts +0 -0
  1497. /package/{types → dist/types}/lib/dux/user/reducers.d.ts +0 -0
  1498. /package/{types → dist/types}/lib/handlers/ConnectionHandler.d.ts +0 -0
  1499. /package/{types → dist/types}/lib/handlers/GroupChannelHandler.d.ts +0 -0
  1500. /package/{types → dist/types}/lib/handlers/OpenChannelHandler.d.ts +0 -0
  1501. /package/{types → dist/types}/lib/handlers/SessionHandler.d.ts +0 -0
  1502. /package/{types → dist/types}/lib/handlers/UserEventHandler.d.ts +0 -0
  1503. /package/{types → dist/types}/lib/hooks/schedulerFactory.d.ts +0 -0
  1504. /package/{types → dist/types}/lib/hooks/useConnect/__test__/data.mocks.d.ts +0 -0
  1505. /package/{types → dist/types}/lib/hooks/useConnect/connect.d.ts +0 -0
  1506. /package/{types → dist/types}/lib/hooks/useConnect/disconnectSdk.d.ts +0 -0
  1507. /package/{types → dist/types}/lib/hooks/useConnect/index.d.ts +0 -0
  1508. /package/{types → dist/types}/lib/hooks/useConnect/types.d.ts +0 -0
  1509. /package/{types → dist/types}/lib/hooks/useMarkAsDeliveredScheduler.d.ts +0 -0
  1510. /package/{types → dist/types}/lib/hooks/useMarkAsReadScheduler.d.ts +0 -0
  1511. /package/{types → dist/types}/lib/hooks/useOnlineStatus.d.ts +0 -0
  1512. /package/{types → dist/types}/lib/hooks/useTheme.d.ts +0 -0
  1513. /package/{types → dist/types}/lib/pubSub/index.d.ts +0 -0
  1514. /package/{types → dist/types}/lib/pubSub/topics.d.ts +0 -0
  1515. /package/{types → dist/types}/lib/selectors.d.ts +0 -0
  1516. /package/{types → dist/types}/lib/types.d.ts +0 -0
  1517. /package/{types → dist/types}/lib/utils/resolvedReplyType.d.ts +0 -0
  1518. /package/{types → dist/types}/lib/utils/uikitConfigMapper.d.ts +0 -0
  1519. /package/{types → dist/types}/modules/App/AppLayout.d.ts +0 -0
  1520. /package/{types → dist/types}/modules/App/DesktopLayout.d.ts +0 -0
  1521. /package/{types → dist/types}/modules/App/MobileLayout.d.ts +0 -0
  1522. /package/{types → dist/types}/modules/App/index.d.ts +0 -0
  1523. /package/{types → dist/types}/modules/App/types.d.ts +0 -0
  1524. /package/{types → dist/types}/modules/Channel/components/ChannelHeader/index.d.ts +0 -0
  1525. /package/{types → dist/types}/modules/Channel/components/ChannelHeader/utils.d.ts +0 -0
  1526. /package/{types → dist/types}/modules/Channel/components/ChannelUI/index.d.ts +0 -0
  1527. /package/{types → dist/types}/modules/Channel/components/FileViewer/index.d.ts +0 -0
  1528. /package/{types → dist/types}/modules/Channel/components/FrozenNotification/index.d.ts +0 -0
  1529. /package/{types → dist/types}/modules/Channel/components/Message/index.d.ts +0 -0
  1530. /package/{types → dist/types}/modules/Channel/components/MessageInput/VoiceMessageInputWrapper.d.ts +0 -0
  1531. /package/{types → dist/types}/modules/Channel/components/MessageInput/index.d.ts +0 -0
  1532. /package/{types → dist/types}/modules/Channel/components/MessageList/getMessagePartsInfo.d.ts +0 -0
  1533. /package/{types → dist/types}/modules/Channel/components/MessageList/hooks/useScrollBehavior.d.ts +0 -0
  1534. /package/{types → dist/types}/modules/Channel/components/MessageList/hooks/useSetScrollToBottom.d.ts +0 -0
  1535. /package/{types → dist/types}/modules/Channel/components/MessageList/index.d.ts +0 -0
  1536. /package/{types → dist/types}/modules/Channel/components/RemoveMessageModal.d.ts +0 -0
  1537. /package/{types → dist/types}/modules/Channel/components/SuggestedMentionList/SuggestedUserMentionItem.d.ts +0 -0
  1538. /package/{types → dist/types}/modules/Channel/components/SuggestedMentionList/index.d.ts +0 -0
  1539. /package/{types → dist/types}/modules/Channel/components/SuggestedMentionList/utils.d.ts +0 -0
  1540. /package/{types → dist/types}/modules/Channel/components/SuggestedReplies/index.d.ts +0 -0
  1541. /package/{types → dist/types}/modules/Channel/components/TypingIndicator.d.ts +0 -0
  1542. /package/{types → dist/types}/modules/Channel/components/UnreadCount/index.d.ts +0 -0
  1543. /package/{types → dist/types}/modules/Channel/context/ChannelProvider.d.ts +0 -0
  1544. /package/{types → dist/types}/modules/Channel/context/compareMessagesForGrouping.d.ts +0 -0
  1545. /package/{types → dist/types}/modules/Channel/context/const.d.ts +0 -0
  1546. /package/{types → dist/types}/modules/Channel/context/dux/actionTypes.d.ts +0 -0
  1547. /package/{types → dist/types}/modules/Channel/context/dux/initialState.d.ts +0 -0
  1548. /package/{types → dist/types}/modules/Channel/context/dux/reducers.d.ts +0 -0
  1549. /package/{types → dist/types}/modules/Channel/context/hooks/useDeleteMessageCallback.d.ts +0 -0
  1550. /package/{types → dist/types}/modules/Channel/context/hooks/useGetChannel.d.ts +0 -0
  1551. /package/{types → dist/types}/modules/Channel/context/hooks/useHandleChannelPubsubEvents.d.ts +0 -0
  1552. /package/{types → dist/types}/modules/Channel/context/hooks/useHandleReconnect.d.ts +0 -0
  1553. /package/{types → dist/types}/modules/Channel/context/hooks/useInitialMessagesFetch.d.ts +0 -0
  1554. /package/{types → dist/types}/modules/Channel/context/hooks/useReconnectOnIdle.d.ts +0 -0
  1555. /package/{types → dist/types}/modules/Channel/context/hooks/useScrollCallback.d.ts +0 -0
  1556. /package/{types → dist/types}/modules/Channel/context/hooks/useScrollDownCallback.d.ts +0 -0
  1557. /package/{types → dist/types}/modules/Channel/context/hooks/useScrollToMessage.d.ts +0 -0
  1558. /package/{types → dist/types}/modules/Channel/context/hooks/useSendFileMessageCallback.d.ts +0 -0
  1559. /package/{types → dist/types}/modules/Channel/context/hooks/useSendMessageCallback.d.ts +0 -0
  1560. /package/{types → dist/types}/modules/Channel/context/hooks/useSendMultipleFilesMessage.d.ts +0 -0
  1561. /package/{types → dist/types}/modules/Channel/context/hooks/useSendVoiceMessageCallback.d.ts +0 -0
  1562. /package/{types → dist/types}/modules/Channel/context/hooks/useStatefulFileInfoList.d.ts +0 -0
  1563. /package/{types → dist/types}/modules/Channel/context/hooks/useThreadMessageKindKeySelector.d.ts +0 -0
  1564. /package/{types → dist/types}/modules/Channel/context/hooks/useToggleReactionCallback.d.ts +0 -0
  1565. /package/{types → dist/types}/modules/Channel/context/hooks/useUpdateMessageCallback.d.ts +0 -0
  1566. /package/{types → dist/types}/modules/Channel/context/utils.d.ts +0 -0
  1567. /package/{types → dist/types}/modules/Channel/index.d.ts +0 -0
  1568. /package/{types → dist/types}/modules/ChannelList/components/AddChannel/index.d.ts +0 -0
  1569. /package/{types → dist/types}/modules/ChannelList/components/ChannelListHeader/index.d.ts +0 -0
  1570. /package/{types → dist/types}/modules/ChannelList/components/ChannelPreview/index.d.ts +0 -0
  1571. /package/{types → dist/types}/modules/ChannelList/components/ChannelPreview/utils.d.ts +0 -0
  1572. /package/{types → dist/types}/modules/ChannelList/components/ChannelPreviewAction.d.ts +0 -0
  1573. /package/{types → dist/types}/modules/ChannelList/components/LeaveChannel/index.d.ts +0 -0
  1574. /package/{types → dist/types}/modules/ChannelList/components/Placeholder.d.ts +0 -0
  1575. /package/{types → dist/types}/modules/ChannelList/context/ChannelListProvider.d.ts +0 -0
  1576. /package/{types → dist/types}/modules/ChannelList/context/hooks/useActiveChannelUrl.d.ts +0 -0
  1577. /package/{types → dist/types}/modules/ChannelList/context/hooks/useFetchChannelList.d.ts +0 -0
  1578. /package/{types → dist/types}/modules/ChannelList/dux/getNextChannel.d.ts +0 -0
  1579. /package/{types → dist/types}/modules/ChannelList/dux/initialState.d.ts +0 -0
  1580. /package/{types → dist/types}/modules/ChannelList/dux/reducers.d.ts +0 -0
  1581. /package/{types → dist/types}/modules/ChannelList/index.d.ts +0 -0
  1582. /package/{types → dist/types}/modules/ChannelList/utils.d.ts +0 -0
  1583. /package/{types → dist/types}/modules/ChannelSettings/components/ChannelProfile/index.d.ts +0 -0
  1584. /package/{types → dist/types}/modules/ChannelSettings/components/ChannelSettingsUI/index.d.ts +0 -0
  1585. /package/{types → dist/types}/modules/ChannelSettings/components/EditDetailsModal/index.d.ts +0 -0
  1586. /package/{types → dist/types}/modules/ChannelSettings/components/LeaveChannel/index.d.ts +0 -0
  1587. /package/{types → dist/types}/modules/ChannelSettings/components/ModerationPanel/AddOperatorsModal.d.ts +0 -0
  1588. /package/{types → dist/types}/modules/ChannelSettings/components/ModerationPanel/BannedUserList.d.ts +0 -0
  1589. /package/{types → dist/types}/modules/ChannelSettings/components/ModerationPanel/BannedUsersModal.d.ts +0 -0
  1590. /package/{types → dist/types}/modules/ChannelSettings/components/ModerationPanel/InviteUsersModal.d.ts +0 -0
  1591. /package/{types → dist/types}/modules/ChannelSettings/components/ModerationPanel/MemberList.d.ts +0 -0
  1592. /package/{types → dist/types}/modules/ChannelSettings/components/ModerationPanel/MembersModal.d.ts +0 -0
  1593. /package/{types → dist/types}/modules/ChannelSettings/components/ModerationPanel/MutedMemberList.d.ts +0 -0
  1594. /package/{types → dist/types}/modules/ChannelSettings/components/ModerationPanel/MutedMembersModal.d.ts +0 -0
  1595. /package/{types → dist/types}/modules/ChannelSettings/components/ModerationPanel/OperatorList.d.ts +0 -0
  1596. /package/{types → dist/types}/modules/ChannelSettings/components/ModerationPanel/OperatorsModal.d.ts +0 -0
  1597. /package/{types → dist/types}/modules/ChannelSettings/components/ModerationPanel/index.d.ts +0 -0
  1598. /package/{types → dist/types}/modules/ChannelSettings/components/UserListItem/index.d.ts +0 -0
  1599. /package/{types → dist/types}/modules/ChannelSettings/components/UserPanel/index.d.ts +0 -0
  1600. /package/{types → dist/types}/modules/ChannelSettings/context/ChannelSettingsProvider.d.ts +0 -0
  1601. /package/{types → dist/types}/modules/ChannelSettings/index.d.ts +0 -0
  1602. /package/{types → dist/types}/modules/CreateChannel/components/CreateChannelUI/index.d.ts +0 -0
  1603. /package/{types → dist/types}/modules/CreateChannel/components/InviteUsers/index.d.ts +0 -0
  1604. /package/{types → dist/types}/modules/CreateChannel/components/InviteUsers/utils.d.ts +0 -0
  1605. /package/{types → dist/types}/modules/CreateChannel/components/SelectChannelType.d.ts +0 -0
  1606. /package/{types → dist/types}/modules/CreateChannel/context/CreateChannelProvider.d.ts +0 -0
  1607. /package/{types → dist/types}/modules/CreateChannel/index.d.ts +0 -0
  1608. /package/{types → dist/types}/modules/CreateChannel/types.d.ts +0 -0
  1609. /package/{types → dist/types}/modules/CreateChannel/utils.d.ts +0 -0
  1610. /package/{types → dist/types}/modules/CreateOpenChannel/components/CreateOpenChannelUI/index.d.ts +0 -0
  1611. /package/{types → dist/types}/modules/CreateOpenChannel/context/CreateOpenChannelProvider.d.ts +0 -0
  1612. /package/{types → dist/types}/modules/CreateOpenChannel/index.d.ts +0 -0
  1613. /package/{types → dist/types}/modules/EditUserProfile/context/EditUserProfileProvider.d.ts +0 -0
  1614. /package/{types → dist/types}/modules/EditUserProfile/index.d.ts +0 -0
  1615. /package/{types → dist/types}/modules/Message/components/TextFragment/index.d.ts +0 -0
  1616. /package/{types → dist/types}/modules/Message/consts.d.ts +0 -0
  1617. /package/{types → dist/types}/modules/Message/context/MessageProvider.d.ts +0 -0
  1618. /package/{types → dist/types}/modules/Message/hooks/useDirtyGetMentions.d.ts +0 -0
  1619. /package/{types → dist/types}/modules/Message/utils/getMentionNodes.d.ts +0 -0
  1620. /package/{types → dist/types}/modules/Message/utils/tokens/keyGenerator.d.ts +0 -0
  1621. /package/{types → dist/types}/modules/Message/utils/tokens/tokenize.d.ts +0 -0
  1622. /package/{types → dist/types}/modules/Message/utils/tokens/types.d.ts +0 -0
  1623. /package/{types → dist/types}/modules/MessageSearch/components/MessageSearchUI/index.d.ts +0 -0
  1624. /package/{types → dist/types}/modules/MessageSearch/context/MessageSearchProvider.d.ts +0 -0
  1625. /package/{types → dist/types}/modules/MessageSearch/context/dux/actionTypes.d.ts +0 -0
  1626. /package/{types → dist/types}/modules/MessageSearch/context/dux/initialState.d.ts +0 -0
  1627. /package/{types → dist/types}/modules/MessageSearch/context/dux/reducers.d.ts +0 -0
  1628. /package/{types → dist/types}/modules/MessageSearch/context/hooks/useGetSearchedMessages.d.ts +0 -0
  1629. /package/{types → dist/types}/modules/MessageSearch/context/hooks/useScrollCallback.d.ts +0 -0
  1630. /package/{types → dist/types}/modules/MessageSearch/context/hooks/useSearchStringEffect.d.ts +0 -0
  1631. /package/{types → dist/types}/modules/MessageSearch/context/hooks/useSetChannel.d.ts +0 -0
  1632. /package/{types → dist/types}/modules/MessageSearch/index.d.ts +0 -0
  1633. /package/{types → dist/types}/modules/OpenChannel/components/FrozenChannelNotification/index.d.ts +0 -0
  1634. /package/{types → dist/types}/modules/OpenChannel/components/OpenChannelHeader/index.d.ts +0 -0
  1635. /package/{types → dist/types}/modules/OpenChannel/components/OpenChannelInput/index.d.ts +0 -0
  1636. /package/{types → dist/types}/modules/OpenChannel/components/OpenChannelMessage/RemoveMessageModal.d.ts +0 -0
  1637. /package/{types → dist/types}/modules/OpenChannel/components/OpenChannelMessage/index.d.ts +0 -0
  1638. /package/{types → dist/types}/modules/OpenChannel/components/OpenChannelMessage/utils.d.ts +0 -0
  1639. /package/{types → dist/types}/modules/OpenChannel/components/OpenChannelMessageList/index.d.ts +0 -0
  1640. /package/{types → dist/types}/modules/OpenChannel/components/OpenChannelUI/index.d.ts +0 -0
  1641. /package/{types → dist/types}/modules/OpenChannel/context/OpenChannelProvider.d.ts +0 -0
  1642. /package/{types → dist/types}/modules/OpenChannel/context/dux/actionTypes.d.ts +0 -0
  1643. /package/{types → dist/types}/modules/OpenChannel/context/dux/initialState.d.ts +0 -0
  1644. /package/{types → dist/types}/modules/OpenChannel/context/dux/reducers.d.ts +0 -0
  1645. /package/{types → dist/types}/modules/OpenChannel/context/hooks/useCheckScrollBottom.d.ts +0 -0
  1646. /package/{types → dist/types}/modules/OpenChannel/context/hooks/useDeleteMessageCallback.d.ts +0 -0
  1647. /package/{types → dist/types}/modules/OpenChannel/context/hooks/useHandleChannelEvents.d.ts +0 -0
  1648. /package/{types → dist/types}/modules/OpenChannel/context/hooks/useInitialMessagesFetch.d.ts +0 -0
  1649. /package/{types → dist/types}/modules/OpenChannel/context/hooks/useResendMessageCallback.d.ts +0 -0
  1650. /package/{types → dist/types}/modules/OpenChannel/context/hooks/useScrollCallback.d.ts +0 -0
  1651. /package/{types → dist/types}/modules/OpenChannel/context/hooks/useSendMessageCallback.d.ts +0 -0
  1652. /package/{types → dist/types}/modules/OpenChannel/context/hooks/useSetChannel.d.ts +0 -0
  1653. /package/{types → dist/types}/modules/OpenChannel/context/hooks/useTrimMessageList.d.ts +0 -0
  1654. /package/{types → dist/types}/modules/OpenChannel/context/hooks/useUpdateMessageCallback.d.ts +0 -0
  1655. /package/{types → dist/types}/modules/OpenChannel/context/utils.d.ts +0 -0
  1656. /package/{types → dist/types}/modules/OpenChannel/index.d.ts +0 -0
  1657. /package/{types → dist/types}/modules/OpenChannelApp/Community.d.ts +0 -0
  1658. /package/{types → dist/types}/modules/OpenChannelApp/Streaming.d.ts +0 -0
  1659. /package/{types → dist/types}/modules/OpenChannelApp/assets/Icons.d.ts +0 -0
  1660. /package/{types → dist/types}/modules/OpenChannelApp/components/CommunityChannelList.d.ts +0 -0
  1661. /package/{types → dist/types}/modules/OpenChannelApp/components/DummyStream.d.ts +0 -0
  1662. /package/{types → dist/types}/modules/OpenChannelApp/components/Login.d.ts +0 -0
  1663. /package/{types → dist/types}/modules/OpenChannelApp/components/OpenChannelPreview.d.ts +0 -0
  1664. /package/{types → dist/types}/modules/OpenChannelApp/components/Profile.d.ts +0 -0
  1665. /package/{types → dist/types}/modules/OpenChannelApp/components/StreamingChannelList.d.ts +0 -0
  1666. /package/{types → dist/types}/modules/OpenChannelApp/index.d.ts +0 -0
  1667. /package/{types → dist/types}/modules/OpenChannelApp/stories/utils.d.ts +0 -0
  1668. /package/{types → dist/types}/modules/OpenChannelList/components/OpenChannelListUI/index.d.ts +0 -0
  1669. /package/{types → dist/types}/modules/OpenChannelList/components/OpenChannelPreview/index.d.ts +0 -0
  1670. /package/{types → dist/types}/modules/OpenChannelList/context/OpenChannelListInterfaces.d.ts +0 -0
  1671. /package/{types → dist/types}/modules/OpenChannelList/context/OpenChannelListProvider.d.ts +0 -0
  1672. /package/{types → dist/types}/modules/OpenChannelList/context/dux/actionTypes.d.ts +0 -0
  1673. /package/{types → dist/types}/modules/OpenChannelList/context/dux/initialState.d.ts +0 -0
  1674. /package/{types → dist/types}/modules/OpenChannelList/context/dux/reducer.d.ts +0 -0
  1675. /package/{types → dist/types}/modules/OpenChannelList/context/hooks/createChannelListQuery.d.ts +0 -0
  1676. /package/{types → dist/types}/modules/OpenChannelList/context/hooks/useFetchNextCallback.d.ts +0 -0
  1677. /package/{types → dist/types}/modules/OpenChannelList/context/hooks/useRefreshOpenChannelList.d.ts +0 -0
  1678. /package/{types → dist/types}/modules/OpenChannelList/context/hooks/useSetupOpenChannelList.d.ts +0 -0
  1679. /package/{types → dist/types}/modules/OpenChannelList/index.d.ts +0 -0
  1680. /package/{types → dist/types}/modules/OpenChannelSettings/components/EditDetailsModal.d.ts +0 -0
  1681. /package/{types → dist/types}/modules/OpenChannelSettings/components/InvalidChannel.d.ts +0 -0
  1682. /package/{types → dist/types}/modules/OpenChannelSettings/components/OpenChannelProfile/index.d.ts +0 -0
  1683. /package/{types → dist/types}/modules/OpenChannelSettings/components/OpenChannelSettingsUI/index.d.ts +0 -0
  1684. /package/{types → dist/types}/modules/OpenChannelSettings/components/OperatorUI/AddOperatorsModal.d.ts +0 -0
  1685. /package/{types → dist/types}/modules/OpenChannelSettings/components/OperatorUI/BannedUserList.d.ts +0 -0
  1686. /package/{types → dist/types}/modules/OpenChannelSettings/components/OperatorUI/BannedUsersModal.d.ts +0 -0
  1687. /package/{types → dist/types}/modules/OpenChannelSettings/components/OperatorUI/DeleteOpenChannel.d.ts +0 -0
  1688. /package/{types → dist/types}/modules/OpenChannelSettings/components/OperatorUI/MutedParticipantList.d.ts +0 -0
  1689. /package/{types → dist/types}/modules/OpenChannelSettings/components/OperatorUI/MutedParticipantsModal.d.ts +0 -0
  1690. /package/{types → dist/types}/modules/OpenChannelSettings/components/OperatorUI/OperatorList.d.ts +0 -0
  1691. /package/{types → dist/types}/modules/OpenChannelSettings/components/OperatorUI/OperatorsModal.d.ts +0 -0
  1692. /package/{types → dist/types}/modules/OpenChannelSettings/components/OperatorUI/index.d.ts +0 -0
  1693. /package/{types → dist/types}/modules/OpenChannelSettings/components/ParticipantUI/ParticipantItem.d.ts +0 -0
  1694. /package/{types → dist/types}/modules/OpenChannelSettings/components/ParticipantUI/ParticipantsModal.d.ts +0 -0
  1695. /package/{types → dist/types}/modules/OpenChannelSettings/components/ParticipantUI/index.d.ts +0 -0
  1696. /package/{types → dist/types}/modules/OpenChannelSettings/context/OpenChannelSettingsProvider.d.ts +0 -0
  1697. /package/{types → dist/types}/modules/OpenChannelSettings/index.d.ts +0 -0
  1698. /package/{types → dist/types}/modules/Thread/components/ParentMessageInfo/ParentMessageInfoItem.d.ts +0 -0
  1699. /package/{types → dist/types}/modules/Thread/components/ParentMessageInfo/index.d.ts +0 -0
  1700. /package/{types → dist/types}/modules/Thread/components/RemoveMessageModal.d.ts +0 -0
  1701. /package/{types → dist/types}/modules/Thread/components/ThreadHeader/index.d.ts +0 -0
  1702. /package/{types → dist/types}/modules/Thread/components/ThreadList/ThreadListItem.d.ts +0 -0
  1703. /package/{types → dist/types}/modules/Thread/components/ThreadList/ThreadListItemContent.d.ts +0 -0
  1704. /package/{types → dist/types}/modules/Thread/components/ThreadList/index.d.ts +0 -0
  1705. /package/{types → dist/types}/modules/Thread/components/ThreadMessageInput/index.d.ts +0 -0
  1706. /package/{types → dist/types}/modules/Thread/components/ThreadUI/index.d.ts +0 -0
  1707. /package/{types → dist/types}/modules/Thread/components/ThreadUI/useMemorizedHeader.d.ts +0 -0
  1708. /package/{types → dist/types}/modules/Thread/components/ThreadUI/useMemorizedParentMessageInfo.d.ts +0 -0
  1709. /package/{types → dist/types}/modules/Thread/components/ThreadUI/useMemorizedThreadList.d.ts +0 -0
  1710. /package/{types → dist/types}/modules/Thread/consts.d.ts +0 -0
  1711. /package/{types → dist/types}/modules/Thread/context/ThreadProvider.d.ts +0 -0
  1712. /package/{types → dist/types}/modules/Thread/context/dux/actionTypes.d.ts +0 -0
  1713. /package/{types → dist/types}/modules/Thread/context/dux/initialState.d.ts +0 -0
  1714. /package/{types → dist/types}/modules/Thread/context/dux/reducer.d.ts +0 -0
  1715. /package/{types → dist/types}/modules/Thread/context/hooks/useDeleteMessageCallback.d.ts +0 -0
  1716. /package/{types → dist/types}/modules/Thread/context/hooks/useGetAllEmoji.d.ts +0 -0
  1717. /package/{types → dist/types}/modules/Thread/context/hooks/useGetChannel.d.ts +0 -0
  1718. /package/{types → dist/types}/modules/Thread/context/hooks/useGetNextThreadsCallback.d.ts +0 -0
  1719. /package/{types → dist/types}/modules/Thread/context/hooks/useGetParentMessage.d.ts +0 -0
  1720. /package/{types → dist/types}/modules/Thread/context/hooks/useGetPrevThreadsCallback.d.ts +0 -0
  1721. /package/{types → dist/types}/modules/Thread/context/hooks/useGetThreadList.d.ts +0 -0
  1722. /package/{types → dist/types}/modules/Thread/context/hooks/useHandleChannelEvents.d.ts +0 -0
  1723. /package/{types → dist/types}/modules/Thread/context/hooks/useHandleThreadPubsubEvents.d.ts +0 -0
  1724. /package/{types → dist/types}/modules/Thread/context/hooks/useResendMessageCallback.d.ts +0 -0
  1725. /package/{types → dist/types}/modules/Thread/context/hooks/useSendFileMessage.d.ts +0 -0
  1726. /package/{types → dist/types}/modules/Thread/context/hooks/useSendMultipleFilesMessage.d.ts +0 -0
  1727. /package/{types → dist/types}/modules/Thread/context/hooks/useSendUserMessageCallback.d.ts +0 -0
  1728. /package/{types → dist/types}/modules/Thread/context/hooks/useSendVoiceMessageCallback.d.ts +0 -0
  1729. /package/{types → dist/types}/modules/Thread/context/hooks/useToggleReactionsCallback.d.ts +0 -0
  1730. /package/{types → dist/types}/modules/Thread/context/hooks/useUpdateMessageCallback.d.ts +0 -0
  1731. /package/{types → dist/types}/modules/Thread/context/utils.d.ts +0 -0
  1732. /package/{types → dist/types}/modules/Thread/index.d.ts +0 -0
  1733. /package/{types → dist/types}/modules/Thread/types.d.ts +0 -0
  1734. /package/{types → dist/types}/modules/internalInterfaces.d.ts +0 -0
  1735. /package/{types → dist/types}/ui/Accordion/AccordionGroup.d.ts +0 -0
  1736. /package/{types → dist/types}/ui/Accordion/context.d.ts +0 -0
  1737. /package/{types → dist/types}/ui/Accordion/index.d.ts +0 -0
  1738. /package/{types → dist/types}/ui/AdminMessage/adminMessageDummyData.mock.d.ts +0 -0
  1739. /package/{types → dist/types}/ui/AdminMessage/index.d.ts +0 -0
  1740. /package/{types → dist/types}/ui/Avatar/AvatarDefault.d.ts +0 -0
  1741. /package/{types → dist/types}/ui/Avatar/MutedAvatarOverlay.d.ts +0 -0
  1742. /package/{types → dist/types}/ui/Avatar/index.d.ts +0 -0
  1743. /package/{types → dist/types}/ui/Badge/index.d.ts +0 -0
  1744. /package/{types → dist/types}/ui/BottomSheet/index.d.ts +0 -0
  1745. /package/{types → dist/types}/ui/Button/index.d.ts +0 -0
  1746. /package/{types → dist/types}/ui/Button/types.d.ts +0 -0
  1747. /package/{types → dist/types}/ui/Button/utils.d.ts +0 -0
  1748. /package/{types → dist/types}/ui/ChannelAvatar/OpenChannelAvatar.d.ts +0 -0
  1749. /package/{types → dist/types}/ui/ChannelAvatar/index.d.ts +0 -0
  1750. /package/{types → dist/types}/ui/ChannelAvatar/utils.d.ts +0 -0
  1751. /package/{types → dist/types}/ui/Checkbox/index.d.ts +0 -0
  1752. /package/{types → dist/types}/ui/ConnectionStatus/index.d.ts +0 -0
  1753. /package/{types → dist/types}/ui/ContextMenu/EmojiListItems.d.ts +0 -0
  1754. /package/{types → dist/types}/ui/ContextMenu/MenuItems.d.ts +0 -0
  1755. /package/{types → dist/types}/ui/ContextMenu/index.d.ts +0 -0
  1756. /package/{types → dist/types}/ui/DateSeparator/index.d.ts +0 -0
  1757. /package/{types → dist/types}/ui/Docs/Introduction.d.ts +0 -0
  1758. /package/{types → dist/types}/ui/EmojiReactions/AddReactionBadgeItem.d.ts +0 -0
  1759. /package/{types → dist/types}/ui/EmojiReactions/index.d.ts +0 -0
  1760. /package/{types → dist/types}/ui/FileMessageItemBody/index.d.ts +0 -0
  1761. /package/{types → dist/types}/ui/FileViewer/DeleteButton.d.ts +0 -0
  1762. /package/{types → dist/types}/ui/FileViewer/Slider.d.ts +0 -0
  1763. /package/{types → dist/types}/ui/FileViewer/data.mock.d.ts +0 -0
  1764. /package/{types → dist/types}/ui/FileViewer/hooks/useKeyDown.d.ts +0 -0
  1765. /package/{types → dist/types}/ui/FileViewer/index.d.ts +0 -0
  1766. /package/{types → dist/types}/ui/FileViewer/types.d.ts +0 -0
  1767. /package/{types → dist/types}/ui/FileViewer/utils.d.ts +0 -0
  1768. /package/{types → dist/types}/ui/Icon/colors.d.ts +0 -0
  1769. /package/{types → dist/types}/ui/Icon/index.d.ts +0 -0
  1770. /package/{types → dist/types}/ui/Icon/type.d.ts +0 -0
  1771. /package/{types → dist/types}/ui/Icon/utils.d.ts +0 -0
  1772. /package/{types → dist/types}/ui/IconButton/index.d.ts +0 -0
  1773. /package/{types → dist/types}/ui/ImageGrid/index.d.ts +0 -0
  1774. /package/{types → dist/types}/ui/ImageRenderer/index.d.ts +0 -0
  1775. /package/{types → dist/types}/ui/ImageRenderer/useDynamicSideLength.d.ts +0 -0
  1776. /package/{types → dist/types}/ui/ImageRenderer/utils.d.ts +0 -0
  1777. /package/{types → dist/types}/ui/Input/index.d.ts +0 -0
  1778. /package/{types → dist/types}/ui/Label/index.d.ts +0 -0
  1779. /package/{types → dist/types}/ui/Label/stringFormatterUtils.d.ts +0 -0
  1780. /package/{types → dist/types}/ui/Label/types.d.ts +0 -0
  1781. /package/{types → dist/types}/ui/Label/utils.d.ts +0 -0
  1782. /package/{types → dist/types}/ui/LegacyEditUserProfile/index.d.ts +0 -0
  1783. /package/{types → dist/types}/ui/LinkLabel/index.d.ts +0 -0
  1784. /package/{types → dist/types}/ui/Loader/index.d.ts +0 -0
  1785. /package/{types → dist/types}/ui/MentionLabel/index.d.ts +0 -0
  1786. /package/{types → dist/types}/ui/MentionUserLabel/consts.d.ts +0 -0
  1787. /package/{types → dist/types}/ui/MentionUserLabel/index.d.ts +0 -0
  1788. /package/{types → dist/types}/ui/MentionUserLabel/renderToString.d.ts +0 -0
  1789. /package/{types → dist/types}/ui/MessageContent/MessageBody/index.d.ts +0 -0
  1790. /package/{types → dist/types}/ui/MessageContent/MessageHeader/index.d.ts +0 -0
  1791. /package/{types → dist/types}/ui/MessageContent/MessageProfile/index.d.ts +0 -0
  1792. /package/{types → dist/types}/ui/MessageContent/index.d.ts +0 -0
  1793. /package/{types → dist/types}/ui/MessageInput/const.d.ts +0 -0
  1794. /package/{types → dist/types}/ui/MessageInput/hooks/usePaste/consts.d.ts +0 -0
  1795. /package/{types → dist/types}/ui/MessageInput/hooks/usePaste/index.d.ts +0 -0
  1796. /package/{types → dist/types}/ui/MessageInput/hooks/usePaste/insertTemplate.d.ts +0 -0
  1797. /package/{types → dist/types}/ui/MessageInput/hooks/usePaste/types.d.ts +0 -0
  1798. /package/{types → dist/types}/ui/MessageInput/hooks/usePaste/utils.d.ts +0 -0
  1799. /package/{types → dist/types}/ui/MessageInput/index.d.ts +0 -0
  1800. /package/{types → dist/types}/ui/MessageInput/messageInputUtils.d.ts +0 -0
  1801. /package/{types → dist/types}/ui/MessageInput/utils.d.ts +0 -0
  1802. /package/{types → dist/types}/ui/MessageItemMenu/index.d.ts +0 -0
  1803. /package/{types → dist/types}/ui/MessageItemReactionMenu/index.d.ts +0 -0
  1804. /package/{types → dist/types}/ui/MessageSearchFileItem/index.d.ts +0 -0
  1805. /package/{types → dist/types}/ui/MessageSearchFileItem/mockFileMessage.d.ts +0 -0
  1806. /package/{types → dist/types}/ui/MessageSearchFileItem/utils.d.ts +0 -0
  1807. /package/{types → dist/types}/ui/MessageSearchItem/getCreatedAt.d.ts +0 -0
  1808. /package/{types → dist/types}/ui/MessageSearchItem/index.d.ts +0 -0
  1809. /package/{types → dist/types}/ui/MessageSearchItem/messageDummyDate.mock.d.ts +0 -0
  1810. /package/{types → dist/types}/ui/MessageStatus/index.d.ts +0 -0
  1811. /package/{types → dist/types}/ui/MessageStatus/messageDummyData.mock.d.ts +0 -0
  1812. /package/{types → dist/types}/ui/MobileMenu/MobileBottomSheet.d.ts +0 -0
  1813. /package/{types → dist/types}/ui/MobileMenu/MobileContextMenu.d.ts +0 -0
  1814. /package/{types → dist/types}/ui/MobileMenu/MobileEmojisBottomSheet.d.ts +0 -0
  1815. /package/{types → dist/types}/ui/MobileMenu/ReactedMembersBottomSheet.d.ts +0 -0
  1816. /package/{types → dist/types}/ui/MobileMenu/index.d.ts +0 -0
  1817. /package/{types → dist/types}/ui/MobileMenu/types.d.ts +0 -0
  1818. /package/{types → dist/types}/ui/Modal/index.d.ts +0 -0
  1819. /package/{types → dist/types}/ui/MultipleFilesMessageItemBody/const.d.ts +0 -0
  1820. /package/{types → dist/types}/ui/MultipleFilesMessageItemBody/index.d.ts +0 -0
  1821. /package/{types → dist/types}/ui/OGMessageItemBody/consts.d.ts +0 -0
  1822. /package/{types → dist/types}/ui/OGMessageItemBody/index.d.ts +0 -0
  1823. /package/{types → dist/types}/ui/OpenChannelAdminMessage/index.d.ts +0 -0
  1824. /package/{types → dist/types}/ui/OpenChannelMobileMenu/index.d.ts +0 -0
  1825. /package/{types → dist/types}/ui/OpenchannelConversationHeader/index.d.ts +0 -0
  1826. /package/{types → dist/types}/ui/OpenchannelFileMessage/index.d.ts +0 -0
  1827. /package/{types → dist/types}/ui/OpenchannelFileMessage/mockMessages.d.ts +0 -0
  1828. /package/{types → dist/types}/ui/OpenchannelFileMessage/utils.d.ts +0 -0
  1829. /package/{types → dist/types}/ui/OpenchannelOGMessage/index.d.ts +0 -0
  1830. /package/{types → dist/types}/ui/OpenchannelOGMessage/utils.d.ts +0 -0
  1831. /package/{types → dist/types}/ui/OpenchannelThumbnailMessage/index.d.ts +0 -0
  1832. /package/{types → dist/types}/ui/OpenchannelThumbnailMessage/utils.d.ts +0 -0
  1833. /package/{types → dist/types}/ui/OpenchannelUserMessage/index.d.ts +0 -0
  1834. /package/{types → dist/types}/ui/OpenchannelUserMessage/utils.d.ts +0 -0
  1835. /package/{types → dist/types}/ui/PlaceHolder/index.d.ts +0 -0
  1836. /package/{types → dist/types}/ui/PlaybackTime/index.d.ts +0 -0
  1837. /package/{types → dist/types}/ui/ProgressBar/index.d.ts +0 -0
  1838. /package/{types → dist/types}/ui/QuoteMessage/index.d.ts +0 -0
  1839. /package/{types → dist/types}/ui/QuoteMessage/utils.d.ts +0 -0
  1840. /package/{types → dist/types}/ui/QuoteMessageInput/QuoteMessageThumbnail.d.ts +0 -0
  1841. /package/{types → dist/types}/ui/QuoteMessageInput/index.d.ts +0 -0
  1842. /package/{types → dist/types}/ui/QuoteMessageInput/mockMessage.d.ts +0 -0
  1843. /package/{types → dist/types}/ui/ReactionBadge/index.d.ts +0 -0
  1844. /package/{types → dist/types}/ui/ReactionButton/index.d.ts +0 -0
  1845. /package/{types → dist/types}/ui/SortByRow/index.d.ts +0 -0
  1846. /package/{types → dist/types}/ui/TextButton/index.d.ts +0 -0
  1847. /package/{types → dist/types}/ui/TextMessageItemBody/consts.d.ts +0 -0
  1848. /package/{types → dist/types}/ui/TextMessageItemBody/index.d.ts +0 -0
  1849. /package/{types → dist/types}/ui/ThreadReplies/index.d.ts +0 -0
  1850. /package/{types → dist/types}/ui/ThumbnailMessageItemBody/index.d.ts +0 -0
  1851. /package/{types → dist/types}/ui/Toggle/ToggleContainer.d.ts +0 -0
  1852. /package/{types → dist/types}/ui/Toggle/ToggleContext.d.ts +0 -0
  1853. /package/{types → dist/types}/ui/Toggle/ToggleUI.d.ts +0 -0
  1854. /package/{types → dist/types}/ui/Toggle/index.d.ts +0 -0
  1855. /package/{types → dist/types}/ui/Toggle/utils.d.ts +0 -0
  1856. /package/{types → dist/types}/ui/Tooltip/index.d.ts +0 -0
  1857. /package/{types → dist/types}/ui/TooltipWrapper/index.d.ts +0 -0
  1858. /package/{types → dist/types}/ui/TypingIndicatorBubble/TypingDots.d.ts +0 -0
  1859. /package/{types → dist/types}/ui/TypingIndicatorBubble/index.d.ts +0 -0
  1860. /package/{types → dist/types}/ui/UnknownMessageItemBody/index.d.ts +0 -0
  1861. /package/{types → dist/types}/ui/UserListItem/index.d.ts +0 -0
  1862. /package/{types → dist/types}/ui/UserProfile/index.d.ts +0 -0
  1863. /package/{types → dist/types}/ui/VoiceMessageInput/controlerIcons.d.ts +0 -0
  1864. /package/{types → dist/types}/ui/VoiceMessageInput/index.d.ts +0 -0
  1865. /package/{types → dist/types}/ui/VoiceMessageInput/types.d.ts +0 -0
  1866. /package/{types → dist/types}/ui/VoiceMessageItemBody/index.d.ts +0 -0
  1867. /package/{types → dist/types}/ui/Word/index.d.ts +0 -0
  1868. /package/{types → dist/types}/utils/cloneMessage.d.ts +0 -0
  1869. /package/{types → dist/types}/utils/color.d.ts +0 -0
  1870. /package/{types → dist/types}/utils/compareIds.d.ts +0 -0
  1871. /package/{types → dist/types}/utils/compressImages.d.ts +0 -0
  1872. /package/{types → dist/types}/utils/createStatefulFileInfoList.d.ts +0 -0
  1873. /package/{types → dist/types}/utils/exports/getOutgoingMessageState.d.ts +0 -0
  1874. /package/{types → dist/types}/utils/getIsReactionEnabled.d.ts +0 -0
  1875. /package/{types → dist/types}/utils/index.d.ts +0 -0
  1876. /package/{types → dist/types}/utils/isVoiceMessage.d.ts +0 -0
  1877. /package/{types → dist/types}/utils/numberToPx.d.ts +0 -0
  1878. /package/{types → dist/types}/utils/openChannelUtils.d.ts +0 -0
  1879. /package/{types → dist/types}/utils/pxToNumber.d.ts +0 -0
  1880. /package/{types → dist/types}/utils/testMocks/error.d.ts +0 -0
  1881. /package/{types → dist/types}/utils/testMocks/message.d.ts +0 -0
  1882. /package/{types → dist/types}/utils/testMocks/messageRequestHandler.d.ts +0 -0
  1883. /package/{types → dist/types}/utils/typeHelpers/objectValues.d.ts +0 -0
  1884. /package/{types → dist/types}/utils/typeHelpers/partialDeep.d.ts +0 -0
  1885. /package/{types → dist/types}/utils/typeHelpers/reducers/createAction.d.ts +0 -0
  1886. /package/{types → dist/types}/utils/useDidMountEffect.d.ts +0 -0
  1887. /package/{types → dist/types}/utils/utils.d.ts +0 -0
  1888. /package/{types → dist/types}/utils/uuid.d.ts +0 -0
  1889. /package/{ui → dist/ui}/Accordion.js.map +0 -0
  1890. /package/{ui → dist/ui}/AccordionGroup.js.map +0 -0
  1891. /package/{ui → dist/ui}/AdminMessage.js.map +0 -0
  1892. /package/{ui → dist/ui}/Avatar.js.map +0 -0
  1893. /package/{ui → dist/ui}/Badge.js.map +0 -0
  1894. /package/{ui → dist/ui}/BottomSheet.js.map +0 -0
  1895. /package/{ui → dist/ui}/Button.js.map +0 -0
  1896. /package/{ui → dist/ui}/ChannelAvatar.js.map +0 -0
  1897. /package/{ui → dist/ui}/Checkbox.js +0 -0
  1898. /package/{ui → dist/ui}/Checkbox.js.map +0 -0
  1899. /package/{ui → dist/ui}/ConnectionStatus.js.map +0 -0
  1900. /package/{ui → dist/ui}/ContextMenu.js.map +0 -0
  1901. /package/{ui → dist/ui}/DateSeparator.js.map +0 -0
  1902. /package/{ui → dist/ui}/FileMessageItemBody.js.map +0 -0
  1903. /package/{ui → dist/ui}/FileViewer.js.map +0 -0
  1904. /package/{ui → dist/ui}/Icon.js.map +0 -0
  1905. /package/{ui → dist/ui}/IconButton.js.map +0 -0
  1906. /package/{ui → dist/ui}/Input.js.map +0 -0
  1907. /package/{ui → dist/ui}/Label.js.map +0 -0
  1908. /package/{ui → dist/ui}/LinkLabel.js.map +0 -0
  1909. /package/{ui → dist/ui}/Loader.js.map +0 -0
  1910. /package/{ui → dist/ui}/MentionLabel.js.map +0 -0
  1911. /package/{ui → dist/ui}/MentionUserLabel.js.map +0 -0
  1912. /package/{cjs → dist}/ui/MessageContent.js.map +0 -0
  1913. /package/{ui → dist/ui}/MessageInput/hooks/usePaste.js.map +0 -0
  1914. /package/{ui → dist/ui}/MessageInput.js.map +0 -0
  1915. /package/{ui → dist/ui}/MessageItemMenu.js.map +0 -0
  1916. /package/{ui → dist/ui}/MessageItemReactionMenu.js.map +0 -0
  1917. /package/{ui → dist/ui}/MessageSearchFileItem.js.map +0 -0
  1918. /package/{ui → dist/ui}/MessageSearchItem.js.map +0 -0
  1919. /package/{ui → dist/ui}/MessageStatus.js.map +0 -0
  1920. /package/{ui → dist/ui}/Modal.js.map +0 -0
  1921. /package/{ui → dist/ui}/MutedAvatarOverlay.js.map +0 -0
  1922. /package/{ui → dist/ui}/OGMessageItemBody.js.map +0 -0
  1923. /package/{ui → dist/ui}/OpenChannelAdminMessage.js.map +0 -0
  1924. /package/{ui → dist/ui}/OpenChannelAvatar.js.map +0 -0
  1925. /package/{ui → dist/ui}/OpenchannelConversationHeader.js.map +0 -0
  1926. /package/{cjs → dist}/ui/OpenchannelFileMessage.js.map +0 -0
  1927. /package/{cjs → dist}/ui/OpenchannelOGMessage.js.map +0 -0
  1928. /package/{cjs → dist}/ui/OpenchannelThumbnailMessage.js.map +0 -0
  1929. /package/{cjs → dist}/ui/OpenchannelUserMessage.js.map +0 -0
  1930. /package/{ui → dist/ui}/PlaceHolder.js.map +0 -0
  1931. /package/{ui → dist/ui}/PlaybackTime.js.map +0 -0
  1932. /package/{ui → dist/ui}/ProgressBar.js +0 -0
  1933. /package/{ui → dist/ui}/ProgressBar.js.map +0 -0
  1934. /package/{ui → dist/ui}/QuoteMessage.js.map +0 -0
  1935. /package/{ui → dist/ui}/QuoteMessageInput.js.map +0 -0
  1936. /package/{ui → dist/ui}/ReactionBadge.js.map +0 -0
  1937. /package/{ui → dist/ui}/ReactionButton.js.map +0 -0
  1938. /package/{ui → dist/ui}/SortByRow.js.map +0 -0
  1939. /package/{ui → dist/ui}/TextButton.js.map +0 -0
  1940. /package/{ui → dist/ui}/TextMessageItemBody.js.map +0 -0
  1941. /package/{ui → dist/ui}/ThreadReplies.js.map +0 -0
  1942. /package/{ui → dist/ui}/ThumbnailMessageItemBody.js.map +0 -0
  1943. /package/{ui → dist/ui}/Toggle.js.map +0 -0
  1944. /package/{ui → dist/ui}/Tooltip.js.map +0 -0
  1945. /package/{ui → dist/ui}/TooltipWrapper.js.map +0 -0
  1946. /package/{ui → dist/ui}/TypingIndicatorBubble.js.map +0 -0
  1947. /package/{ui → dist/ui}/UnknownMessageItemBody.js.map +0 -0
  1948. /package/{cjs → dist}/ui/UserListItem.js.map +0 -0
  1949. /package/{ui → dist/ui}/UserProfile.js.map +0 -0
  1950. /package/{ui → dist/ui}/VoiceMessageInput.js.map +0 -0
  1951. /package/{ui → dist/ui}/VoiceMessageItemBody.js.map +0 -0
  1952. /package/{ui → dist/ui}/Word.js.map +0 -0
  1953. /package/{useSendbirdStateContext.js.map → dist/useSendbirdStateContext.js.map} +0 -0
  1954. /package/{utils → dist/utils}/message/getOutgoingMessageState.js +0 -0
  1955. /package/{utils → dist/utils}/message/getOutgoingMessageState.js.map +0 -0
  1956. /package/{utils → dist/utils}/message/isVoiceMessage.js.map +0 -0
  1957. /package/{withSendbird.js.map → dist/withSendbird.js.map} +0 -0
@@ -1,1853 +0,0 @@
1
- import { d as defaultLocale } from './bundle-xgxXEKxk.js';
2
-
3
- function requiredArgs(required, args) {
4
- if (args.length < required) {
5
- throw new TypeError(required + ' argument' + (required > 1 ? 's' : '') + ' required, but only ' + args.length + ' present');
6
- }
7
- }
8
-
9
- function _typeof$1(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$1 = function _typeof(obj) { return typeof obj; }; } else { _typeof$1 = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$1(obj); }
10
- /**
11
- * @name toDate
12
- * @category Common Helpers
13
- * @summary Convert the given argument to an instance of Date.
14
- *
15
- * @description
16
- * Convert the given argument to an instance of Date.
17
- *
18
- * If the argument is an instance of Date, the function returns its clone.
19
- *
20
- * If the argument is a number, it is treated as a timestamp.
21
- *
22
- * If the argument is none of the above, the function returns Invalid Date.
23
- *
24
- * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.
25
- *
26
- * @param {Date|Number} argument - the value to convert
27
- * @returns {Date} the parsed date in the local time zone
28
- * @throws {TypeError} 1 argument required
29
- *
30
- * @example
31
- * // Clone the date:
32
- * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))
33
- * //=> Tue Feb 11 2014 11:30:30
34
- *
35
- * @example
36
- * // Convert the timestamp to date:
37
- * const result = toDate(1392098430000)
38
- * //=> Tue Feb 11 2014 11:30:30
39
- */
40
-
41
- function toDate(argument) {
42
- requiredArgs(1, arguments);
43
- var argStr = Object.prototype.toString.call(argument); // Clone the date
44
-
45
- if (argument instanceof Date || _typeof$1(argument) === 'object' && argStr === '[object Date]') {
46
- // Prevent the date to lose the milliseconds when passed to new Date() in IE10
47
- return new Date(argument.getTime());
48
- } else if (typeof argument === 'number' || argStr === '[object Number]') {
49
- return new Date(argument);
50
- } else {
51
- if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') {
52
- // eslint-disable-next-line no-console
53
- console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"); // eslint-disable-next-line no-console
54
-
55
- console.warn(new Error().stack);
56
- }
57
-
58
- return new Date(NaN);
59
- }
60
- }
61
-
62
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
63
- /**
64
- * @name isDate
65
- * @category Common Helpers
66
- * @summary Is the given value a date?
67
- *
68
- * @description
69
- * Returns true if the given value is an instance of Date. The function works for dates transferred across iframes.
70
- *
71
- * @param {*} value - the value to check
72
- * @returns {boolean} true if the given value is a date
73
- * @throws {TypeError} 1 arguments required
74
- *
75
- * @example
76
- * // For a valid date:
77
- * const result = isDate(new Date())
78
- * //=> true
79
- *
80
- * @example
81
- * // For an invalid date:
82
- * const result = isDate(new Date(NaN))
83
- * //=> true
84
- *
85
- * @example
86
- * // For some value:
87
- * const result = isDate('2014-02-31')
88
- * //=> false
89
- *
90
- * @example
91
- * // For an object:
92
- * const result = isDate({})
93
- * //=> false
94
- */
95
-
96
- function isDate(value) {
97
- requiredArgs(1, arguments);
98
- return value instanceof Date || _typeof(value) === 'object' && Object.prototype.toString.call(value) === '[object Date]';
99
- }
100
-
101
- /**
102
- * @name isValid
103
- * @category Common Helpers
104
- * @summary Is the given date valid?
105
- *
106
- * @description
107
- * Returns false if argument is Invalid Date and true otherwise.
108
- * Argument is converted to Date using `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate}
109
- * Invalid Date is a Date, whose time value is NaN.
110
- *
111
- * Time value of Date: http://es5.github.io/#x15.9.1.1
112
- *
113
- * @param {*} date - the date to check
114
- * @returns {Boolean} the date is valid
115
- * @throws {TypeError} 1 argument required
116
- *
117
- * @example
118
- * // For the valid date:
119
- * const result = isValid(new Date(2014, 1, 31))
120
- * //=> true
121
- *
122
- * @example
123
- * // For the value, convertable into a date:
124
- * const result = isValid(1393804800000)
125
- * //=> true
126
- *
127
- * @example
128
- * // For the invalid date:
129
- * const result = isValid(new Date(''))
130
- * //=> false
131
- */
132
-
133
- function isValid(dirtyDate) {
134
- requiredArgs(1, arguments);
135
-
136
- if (!isDate(dirtyDate) && typeof dirtyDate !== 'number') {
137
- return false;
138
- }
139
-
140
- var date = toDate(dirtyDate);
141
- return !isNaN(Number(date));
142
- }
143
-
144
- function toInteger(dirtyNumber) {
145
- if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {
146
- return NaN;
147
- }
148
-
149
- var number = Number(dirtyNumber);
150
-
151
- if (isNaN(number)) {
152
- return number;
153
- }
154
-
155
- return number < 0 ? Math.ceil(number) : Math.floor(number);
156
- }
157
-
158
- /**
159
- * @name addMilliseconds
160
- * @category Millisecond Helpers
161
- * @summary Add the specified number of milliseconds to the given date.
162
- *
163
- * @description
164
- * Add the specified number of milliseconds to the given date.
165
- *
166
- * @param {Date|Number} date - the date to be changed
167
- * @param {Number} amount - the amount of milliseconds to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.
168
- * @returns {Date} the new date with the milliseconds added
169
- * @throws {TypeError} 2 arguments required
170
- *
171
- * @example
172
- * // Add 750 milliseconds to 10 July 2014 12:45:30.000:
173
- * const result = addMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750)
174
- * //=> Thu Jul 10 2014 12:45:30.750
175
- */
176
-
177
- function addMilliseconds(dirtyDate, dirtyAmount) {
178
- requiredArgs(2, arguments);
179
- var timestamp = toDate(dirtyDate).getTime();
180
- var amount = toInteger(dirtyAmount);
181
- return new Date(timestamp + amount);
182
- }
183
-
184
- /**
185
- * @name subMilliseconds
186
- * @category Millisecond Helpers
187
- * @summary Subtract the specified number of milliseconds from the given date.
188
- *
189
- * @description
190
- * Subtract the specified number of milliseconds from the given date.
191
- *
192
- * @param {Date|Number} date - the date to be changed
193
- * @param {Number} amount - the amount of milliseconds to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.
194
- * @returns {Date} the new date with the milliseconds subtracted
195
- * @throws {TypeError} 2 arguments required
196
- *
197
- * @example
198
- * // Subtract 750 milliseconds from 10 July 2014 12:45:30.000:
199
- * const result = subMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750)
200
- * //=> Thu Jul 10 2014 12:45:29.250
201
- */
202
-
203
- function subMilliseconds(dirtyDate, dirtyAmount) {
204
- requiredArgs(2, arguments);
205
- var amount = toInteger(dirtyAmount);
206
- return addMilliseconds(dirtyDate, -amount);
207
- }
208
-
209
- var MILLISECONDS_IN_DAY = 86400000;
210
- function getUTCDayOfYear(dirtyDate) {
211
- requiredArgs(1, arguments);
212
- var date = toDate(dirtyDate);
213
- var timestamp = date.getTime();
214
- date.setUTCMonth(0, 1);
215
- date.setUTCHours(0, 0, 0, 0);
216
- var startOfYearTimestamp = date.getTime();
217
- var difference = timestamp - startOfYearTimestamp;
218
- return Math.floor(difference / MILLISECONDS_IN_DAY) + 1;
219
- }
220
-
221
- function startOfUTCISOWeek(dirtyDate) {
222
- requiredArgs(1, arguments);
223
- var weekStartsOn = 1;
224
- var date = toDate(dirtyDate);
225
- var day = date.getUTCDay();
226
- var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
227
- date.setUTCDate(date.getUTCDate() - diff);
228
- date.setUTCHours(0, 0, 0, 0);
229
- return date;
230
- }
231
-
232
- function getUTCISOWeekYear(dirtyDate) {
233
- requiredArgs(1, arguments);
234
- var date = toDate(dirtyDate);
235
- var year = date.getUTCFullYear();
236
- var fourthOfJanuaryOfNextYear = new Date(0);
237
- fourthOfJanuaryOfNextYear.setUTCFullYear(year + 1, 0, 4);
238
- fourthOfJanuaryOfNextYear.setUTCHours(0, 0, 0, 0);
239
- var startOfNextYear = startOfUTCISOWeek(fourthOfJanuaryOfNextYear);
240
- var fourthOfJanuaryOfThisYear = new Date(0);
241
- fourthOfJanuaryOfThisYear.setUTCFullYear(year, 0, 4);
242
- fourthOfJanuaryOfThisYear.setUTCHours(0, 0, 0, 0);
243
- var startOfThisYear = startOfUTCISOWeek(fourthOfJanuaryOfThisYear);
244
-
245
- if (date.getTime() >= startOfNextYear.getTime()) {
246
- return year + 1;
247
- } else if (date.getTime() >= startOfThisYear.getTime()) {
248
- return year;
249
- } else {
250
- return year - 1;
251
- }
252
- }
253
-
254
- function startOfUTCISOWeekYear(dirtyDate) {
255
- requiredArgs(1, arguments);
256
- var year = getUTCISOWeekYear(dirtyDate);
257
- var fourthOfJanuary = new Date(0);
258
- fourthOfJanuary.setUTCFullYear(year, 0, 4);
259
- fourthOfJanuary.setUTCHours(0, 0, 0, 0);
260
- var date = startOfUTCISOWeek(fourthOfJanuary);
261
- return date;
262
- }
263
-
264
- var MILLISECONDS_IN_WEEK$1 = 604800000;
265
- function getUTCISOWeek(dirtyDate) {
266
- requiredArgs(1, arguments);
267
- var date = toDate(dirtyDate);
268
- var diff = startOfUTCISOWeek(date).getTime() - startOfUTCISOWeekYear(date).getTime(); // Round the number of days to the nearest integer
269
- // because the number of milliseconds in a week is not constant
270
- // (e.g. it's different in the week of the daylight saving time clock shift)
271
-
272
- return Math.round(diff / MILLISECONDS_IN_WEEK$1) + 1;
273
- }
274
-
275
- var defaultOptions = {};
276
- function getDefaultOptions() {
277
- return defaultOptions;
278
- }
279
-
280
- function startOfUTCWeek(dirtyDate, options) {
281
- var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2;
282
-
283
- requiredArgs(1, arguments);
284
- var defaultOptions = getDefaultOptions();
285
- var weekStartsOn = toInteger((_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
286
-
287
- if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
288
- throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');
289
- }
290
-
291
- var date = toDate(dirtyDate);
292
- var day = date.getUTCDay();
293
- var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
294
- date.setUTCDate(date.getUTCDate() - diff);
295
- date.setUTCHours(0, 0, 0, 0);
296
- return date;
297
- }
298
-
299
- function getUTCWeekYear(dirtyDate, options) {
300
- var _ref, _ref2, _ref3, _options$firstWeekCon, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2;
301
-
302
- requiredArgs(1, arguments);
303
- var date = toDate(dirtyDate);
304
- var year = date.getUTCFullYear();
305
- var defaultOptions = getDefaultOptions();
306
- var firstWeekContainsDate = toInteger((_ref = (_ref2 = (_ref3 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref !== void 0 ? _ref : 1); // Test if weekStartsOn is between 1 and 7 _and_ is not NaN
307
-
308
- if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {
309
- throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');
310
- }
311
-
312
- var firstWeekOfNextYear = new Date(0);
313
- firstWeekOfNextYear.setUTCFullYear(year + 1, 0, firstWeekContainsDate);
314
- firstWeekOfNextYear.setUTCHours(0, 0, 0, 0);
315
- var startOfNextYear = startOfUTCWeek(firstWeekOfNextYear, options);
316
- var firstWeekOfThisYear = new Date(0);
317
- firstWeekOfThisYear.setUTCFullYear(year, 0, firstWeekContainsDate);
318
- firstWeekOfThisYear.setUTCHours(0, 0, 0, 0);
319
- var startOfThisYear = startOfUTCWeek(firstWeekOfThisYear, options);
320
-
321
- if (date.getTime() >= startOfNextYear.getTime()) {
322
- return year + 1;
323
- } else if (date.getTime() >= startOfThisYear.getTime()) {
324
- return year;
325
- } else {
326
- return year - 1;
327
- }
328
- }
329
-
330
- function startOfUTCWeekYear(dirtyDate, options) {
331
- var _ref, _ref2, _ref3, _options$firstWeekCon, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2;
332
-
333
- requiredArgs(1, arguments);
334
- var defaultOptions = getDefaultOptions();
335
- var firstWeekContainsDate = toInteger((_ref = (_ref2 = (_ref3 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref !== void 0 ? _ref : 1);
336
- var year = getUTCWeekYear(dirtyDate, options);
337
- var firstWeek = new Date(0);
338
- firstWeek.setUTCFullYear(year, 0, firstWeekContainsDate);
339
- firstWeek.setUTCHours(0, 0, 0, 0);
340
- var date = startOfUTCWeek(firstWeek, options);
341
- return date;
342
- }
343
-
344
- var MILLISECONDS_IN_WEEK = 604800000;
345
- function getUTCWeek(dirtyDate, options) {
346
- requiredArgs(1, arguments);
347
- var date = toDate(dirtyDate);
348
- var diff = startOfUTCWeek(date, options).getTime() - startOfUTCWeekYear(date, options).getTime(); // Round the number of days to the nearest integer
349
- // because the number of milliseconds in a week is not constant
350
- // (e.g. it's different in the week of the daylight saving time clock shift)
351
-
352
- return Math.round(diff / MILLISECONDS_IN_WEEK) + 1;
353
- }
354
-
355
- function addLeadingZeros(number, targetLength) {
356
- var sign = number < 0 ? '-' : '';
357
- var output = Math.abs(number).toString();
358
-
359
- while (output.length < targetLength) {
360
- output = '0' + output;
361
- }
362
-
363
- return sign + output;
364
- }
365
-
366
- /*
367
- * | | Unit | | Unit |
368
- * |-----|--------------------------------|-----|--------------------------------|
369
- * | a | AM, PM | A* | |
370
- * | d | Day of month | D | |
371
- * | h | Hour [1-12] | H | Hour [0-23] |
372
- * | m | Minute | M | Month |
373
- * | s | Second | S | Fraction of second |
374
- * | y | Year (abs) | Y | |
375
- *
376
- * Letters marked by * are not implemented but reserved by Unicode standard.
377
- */
378
-
379
- var formatters$2 = {
380
- // Year
381
- y: function y(date, token) {
382
- // From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_tokens
383
- // | Year | y | yy | yyy | yyyy | yyyyy |
384
- // |----------|-------|----|-------|-------|-------|
385
- // | AD 1 | 1 | 01 | 001 | 0001 | 00001 |
386
- // | AD 12 | 12 | 12 | 012 | 0012 | 00012 |
387
- // | AD 123 | 123 | 23 | 123 | 0123 | 00123 |
388
- // | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 |
389
- // | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |
390
- var signedYear = date.getUTCFullYear(); // Returns 1 for 1 BC (which is year 0 in JavaScript)
391
-
392
- var year = signedYear > 0 ? signedYear : 1 - signedYear;
393
- return addLeadingZeros(token === 'yy' ? year % 100 : year, token.length);
394
- },
395
- // Month
396
- M: function M(date, token) {
397
- var month = date.getUTCMonth();
398
- return token === 'M' ? String(month + 1) : addLeadingZeros(month + 1, 2);
399
- },
400
- // Day of the month
401
- d: function d(date, token) {
402
- return addLeadingZeros(date.getUTCDate(), token.length);
403
- },
404
- // AM or PM
405
- a: function a(date, token) {
406
- var dayPeriodEnumValue = date.getUTCHours() / 12 >= 1 ? 'pm' : 'am';
407
-
408
- switch (token) {
409
- case 'a':
410
- case 'aa':
411
- return dayPeriodEnumValue.toUpperCase();
412
-
413
- case 'aaa':
414
- return dayPeriodEnumValue;
415
-
416
- case 'aaaaa':
417
- return dayPeriodEnumValue[0];
418
-
419
- case 'aaaa':
420
- default:
421
- return dayPeriodEnumValue === 'am' ? 'a.m.' : 'p.m.';
422
- }
423
- },
424
- // Hour [1-12]
425
- h: function h(date, token) {
426
- return addLeadingZeros(date.getUTCHours() % 12 || 12, token.length);
427
- },
428
- // Hour [0-23]
429
- H: function H(date, token) {
430
- return addLeadingZeros(date.getUTCHours(), token.length);
431
- },
432
- // Minute
433
- m: function m(date, token) {
434
- return addLeadingZeros(date.getUTCMinutes(), token.length);
435
- },
436
- // Second
437
- s: function s(date, token) {
438
- return addLeadingZeros(date.getUTCSeconds(), token.length);
439
- },
440
- // Fraction of second
441
- S: function S(date, token) {
442
- var numberOfDigits = token.length;
443
- var milliseconds = date.getUTCMilliseconds();
444
- var fractionalSeconds = Math.floor(milliseconds * Math.pow(10, numberOfDigits - 3));
445
- return addLeadingZeros(fractionalSeconds, token.length);
446
- }
447
- };
448
- var lightFormatters = formatters$2;
449
-
450
- var dayPeriodEnum = {
451
- am: 'am',
452
- pm: 'pm',
453
- midnight: 'midnight',
454
- noon: 'noon',
455
- morning: 'morning',
456
- afternoon: 'afternoon',
457
- evening: 'evening',
458
- night: 'night'
459
- };
460
-
461
- /*
462
- * | | Unit | | Unit |
463
- * |-----|--------------------------------|-----|--------------------------------|
464
- * | a | AM, PM | A* | Milliseconds in day |
465
- * | b | AM, PM, noon, midnight | B | Flexible day period |
466
- * | c | Stand-alone local day of week | C* | Localized hour w/ day period |
467
- * | d | Day of month | D | Day of year |
468
- * | e | Local day of week | E | Day of week |
469
- * | f | | F* | Day of week in month |
470
- * | g* | Modified Julian day | G | Era |
471
- * | h | Hour [1-12] | H | Hour [0-23] |
472
- * | i! | ISO day of week | I! | ISO week of year |
473
- * | j* | Localized hour w/ day period | J* | Localized hour w/o day period |
474
- * | k | Hour [1-24] | K | Hour [0-11] |
475
- * | l* | (deprecated) | L | Stand-alone month |
476
- * | m | Minute | M | Month |
477
- * | n | | N | |
478
- * | o! | Ordinal number modifier | O | Timezone (GMT) |
479
- * | p! | Long localized time | P! | Long localized date |
480
- * | q | Stand-alone quarter | Q | Quarter |
481
- * | r* | Related Gregorian year | R! | ISO week-numbering year |
482
- * | s | Second | S | Fraction of second |
483
- * | t! | Seconds timestamp | T! | Milliseconds timestamp |
484
- * | u | Extended year | U* | Cyclic year |
485
- * | v* | Timezone (generic non-locat.) | V* | Timezone (location) |
486
- * | w | Local week of year | W* | Week of month |
487
- * | x | Timezone (ISO-8601 w/o Z) | X | Timezone (ISO-8601) |
488
- * | y | Year (abs) | Y | Local week-numbering year |
489
- * | z | Timezone (specific non-locat.) | Z* | Timezone (aliases) |
490
- *
491
- * Letters marked by * are not implemented but reserved by Unicode standard.
492
- *
493
- * Letters marked by ! are non-standard, but implemented by date-fns:
494
- * - `o` modifies the previous token to turn it into an ordinal (see `format` docs)
495
- * - `i` is ISO day of week. For `i` and `ii` is returns numeric ISO week days,
496
- * i.e. 7 for Sunday, 1 for Monday, etc.
497
- * - `I` is ISO week of year, as opposed to `w` which is local week of year.
498
- * - `R` is ISO week-numbering year, as opposed to `Y` which is local week-numbering year.
499
- * `R` is supposed to be used in conjunction with `I` and `i`
500
- * for universal ISO week-numbering date, whereas
501
- * `Y` is supposed to be used in conjunction with `w` and `e`
502
- * for week-numbering date specific to the locale.
503
- * - `P` is long localized date format
504
- * - `p` is long localized time format
505
- */
506
- var formatters = {
507
- // Era
508
- G: function G(date, token, localize) {
509
- var era = date.getUTCFullYear() > 0 ? 1 : 0;
510
-
511
- switch (token) {
512
- // AD, BC
513
- case 'G':
514
- case 'GG':
515
- case 'GGG':
516
- return localize.era(era, {
517
- width: 'abbreviated'
518
- });
519
- // A, B
520
-
521
- case 'GGGGG':
522
- return localize.era(era, {
523
- width: 'narrow'
524
- });
525
- // Anno Domini, Before Christ
526
-
527
- case 'GGGG':
528
- default:
529
- return localize.era(era, {
530
- width: 'wide'
531
- });
532
- }
533
- },
534
- // Year
535
- y: function y(date, token, localize) {
536
- // Ordinal number
537
- if (token === 'yo') {
538
- var signedYear = date.getUTCFullYear(); // Returns 1 for 1 BC (which is year 0 in JavaScript)
539
-
540
- var year = signedYear > 0 ? signedYear : 1 - signedYear;
541
- return localize.ordinalNumber(year, {
542
- unit: 'year'
543
- });
544
- }
545
-
546
- return lightFormatters.y(date, token);
547
- },
548
- // Local week-numbering year
549
- Y: function Y(date, token, localize, options) {
550
- var signedWeekYear = getUTCWeekYear(date, options); // Returns 1 for 1 BC (which is year 0 in JavaScript)
551
-
552
- var weekYear = signedWeekYear > 0 ? signedWeekYear : 1 - signedWeekYear; // Two digit year
553
-
554
- if (token === 'YY') {
555
- var twoDigitYear = weekYear % 100;
556
- return addLeadingZeros(twoDigitYear, 2);
557
- } // Ordinal number
558
-
559
-
560
- if (token === 'Yo') {
561
- return localize.ordinalNumber(weekYear, {
562
- unit: 'year'
563
- });
564
- } // Padding
565
-
566
-
567
- return addLeadingZeros(weekYear, token.length);
568
- },
569
- // ISO week-numbering year
570
- R: function R(date, token) {
571
- var isoWeekYear = getUTCISOWeekYear(date); // Padding
572
-
573
- return addLeadingZeros(isoWeekYear, token.length);
574
- },
575
- // Extended year. This is a single number designating the year of this calendar system.
576
- // The main difference between `y` and `u` localizers are B.C. years:
577
- // | Year | `y` | `u` |
578
- // |------|-----|-----|
579
- // | AC 1 | 1 | 1 |
580
- // | BC 1 | 1 | 0 |
581
- // | BC 2 | 2 | -1 |
582
- // Also `yy` always returns the last two digits of a year,
583
- // while `uu` pads single digit years to 2 characters and returns other years unchanged.
584
- u: function u(date, token) {
585
- var year = date.getUTCFullYear();
586
- return addLeadingZeros(year, token.length);
587
- },
588
- // Quarter
589
- Q: function Q(date, token, localize) {
590
- var quarter = Math.ceil((date.getUTCMonth() + 1) / 3);
591
-
592
- switch (token) {
593
- // 1, 2, 3, 4
594
- case 'Q':
595
- return String(quarter);
596
- // 01, 02, 03, 04
597
-
598
- case 'QQ':
599
- return addLeadingZeros(quarter, 2);
600
- // 1st, 2nd, 3rd, 4th
601
-
602
- case 'Qo':
603
- return localize.ordinalNumber(quarter, {
604
- unit: 'quarter'
605
- });
606
- // Q1, Q2, Q3, Q4
607
-
608
- case 'QQQ':
609
- return localize.quarter(quarter, {
610
- width: 'abbreviated',
611
- context: 'formatting'
612
- });
613
- // 1, 2, 3, 4 (narrow quarter; could be not numerical)
614
-
615
- case 'QQQQQ':
616
- return localize.quarter(quarter, {
617
- width: 'narrow',
618
- context: 'formatting'
619
- });
620
- // 1st quarter, 2nd quarter, ...
621
-
622
- case 'QQQQ':
623
- default:
624
- return localize.quarter(quarter, {
625
- width: 'wide',
626
- context: 'formatting'
627
- });
628
- }
629
- },
630
- // Stand-alone quarter
631
- q: function q(date, token, localize) {
632
- var quarter = Math.ceil((date.getUTCMonth() + 1) / 3);
633
-
634
- switch (token) {
635
- // 1, 2, 3, 4
636
- case 'q':
637
- return String(quarter);
638
- // 01, 02, 03, 04
639
-
640
- case 'qq':
641
- return addLeadingZeros(quarter, 2);
642
- // 1st, 2nd, 3rd, 4th
643
-
644
- case 'qo':
645
- return localize.ordinalNumber(quarter, {
646
- unit: 'quarter'
647
- });
648
- // Q1, Q2, Q3, Q4
649
-
650
- case 'qqq':
651
- return localize.quarter(quarter, {
652
- width: 'abbreviated',
653
- context: 'standalone'
654
- });
655
- // 1, 2, 3, 4 (narrow quarter; could be not numerical)
656
-
657
- case 'qqqqq':
658
- return localize.quarter(quarter, {
659
- width: 'narrow',
660
- context: 'standalone'
661
- });
662
- // 1st quarter, 2nd quarter, ...
663
-
664
- case 'qqqq':
665
- default:
666
- return localize.quarter(quarter, {
667
- width: 'wide',
668
- context: 'standalone'
669
- });
670
- }
671
- },
672
- // Month
673
- M: function M(date, token, localize) {
674
- var month = date.getUTCMonth();
675
-
676
- switch (token) {
677
- case 'M':
678
- case 'MM':
679
- return lightFormatters.M(date, token);
680
- // 1st, 2nd, ..., 12th
681
-
682
- case 'Mo':
683
- return localize.ordinalNumber(month + 1, {
684
- unit: 'month'
685
- });
686
- // Jan, Feb, ..., Dec
687
-
688
- case 'MMM':
689
- return localize.month(month, {
690
- width: 'abbreviated',
691
- context: 'formatting'
692
- });
693
- // J, F, ..., D
694
-
695
- case 'MMMMM':
696
- return localize.month(month, {
697
- width: 'narrow',
698
- context: 'formatting'
699
- });
700
- // January, February, ..., December
701
-
702
- case 'MMMM':
703
- default:
704
- return localize.month(month, {
705
- width: 'wide',
706
- context: 'formatting'
707
- });
708
- }
709
- },
710
- // Stand-alone month
711
- L: function L(date, token, localize) {
712
- var month = date.getUTCMonth();
713
-
714
- switch (token) {
715
- // 1, 2, ..., 12
716
- case 'L':
717
- return String(month + 1);
718
- // 01, 02, ..., 12
719
-
720
- case 'LL':
721
- return addLeadingZeros(month + 1, 2);
722
- // 1st, 2nd, ..., 12th
723
-
724
- case 'Lo':
725
- return localize.ordinalNumber(month + 1, {
726
- unit: 'month'
727
- });
728
- // Jan, Feb, ..., Dec
729
-
730
- case 'LLL':
731
- return localize.month(month, {
732
- width: 'abbreviated',
733
- context: 'standalone'
734
- });
735
- // J, F, ..., D
736
-
737
- case 'LLLLL':
738
- return localize.month(month, {
739
- width: 'narrow',
740
- context: 'standalone'
741
- });
742
- // January, February, ..., December
743
-
744
- case 'LLLL':
745
- default:
746
- return localize.month(month, {
747
- width: 'wide',
748
- context: 'standalone'
749
- });
750
- }
751
- },
752
- // Local week of year
753
- w: function w(date, token, localize, options) {
754
- var week = getUTCWeek(date, options);
755
-
756
- if (token === 'wo') {
757
- return localize.ordinalNumber(week, {
758
- unit: 'week'
759
- });
760
- }
761
-
762
- return addLeadingZeros(week, token.length);
763
- },
764
- // ISO week of year
765
- I: function I(date, token, localize) {
766
- var isoWeek = getUTCISOWeek(date);
767
-
768
- if (token === 'Io') {
769
- return localize.ordinalNumber(isoWeek, {
770
- unit: 'week'
771
- });
772
- }
773
-
774
- return addLeadingZeros(isoWeek, token.length);
775
- },
776
- // Day of the month
777
- d: function d(date, token, localize) {
778
- if (token === 'do') {
779
- return localize.ordinalNumber(date.getUTCDate(), {
780
- unit: 'date'
781
- });
782
- }
783
-
784
- return lightFormatters.d(date, token);
785
- },
786
- // Day of year
787
- D: function D(date, token, localize) {
788
- var dayOfYear = getUTCDayOfYear(date);
789
-
790
- if (token === 'Do') {
791
- return localize.ordinalNumber(dayOfYear, {
792
- unit: 'dayOfYear'
793
- });
794
- }
795
-
796
- return addLeadingZeros(dayOfYear, token.length);
797
- },
798
- // Day of week
799
- E: function E(date, token, localize) {
800
- var dayOfWeek = date.getUTCDay();
801
-
802
- switch (token) {
803
- // Tue
804
- case 'E':
805
- case 'EE':
806
- case 'EEE':
807
- return localize.day(dayOfWeek, {
808
- width: 'abbreviated',
809
- context: 'formatting'
810
- });
811
- // T
812
-
813
- case 'EEEEE':
814
- return localize.day(dayOfWeek, {
815
- width: 'narrow',
816
- context: 'formatting'
817
- });
818
- // Tu
819
-
820
- case 'EEEEEE':
821
- return localize.day(dayOfWeek, {
822
- width: 'short',
823
- context: 'formatting'
824
- });
825
- // Tuesday
826
-
827
- case 'EEEE':
828
- default:
829
- return localize.day(dayOfWeek, {
830
- width: 'wide',
831
- context: 'formatting'
832
- });
833
- }
834
- },
835
- // Local day of week
836
- e: function e(date, token, localize, options) {
837
- var dayOfWeek = date.getUTCDay();
838
- var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;
839
-
840
- switch (token) {
841
- // Numerical value (Nth day of week with current locale or weekStartsOn)
842
- case 'e':
843
- return String(localDayOfWeek);
844
- // Padded numerical value
845
-
846
- case 'ee':
847
- return addLeadingZeros(localDayOfWeek, 2);
848
- // 1st, 2nd, ..., 7th
849
-
850
- case 'eo':
851
- return localize.ordinalNumber(localDayOfWeek, {
852
- unit: 'day'
853
- });
854
-
855
- case 'eee':
856
- return localize.day(dayOfWeek, {
857
- width: 'abbreviated',
858
- context: 'formatting'
859
- });
860
- // T
861
-
862
- case 'eeeee':
863
- return localize.day(dayOfWeek, {
864
- width: 'narrow',
865
- context: 'formatting'
866
- });
867
- // Tu
868
-
869
- case 'eeeeee':
870
- return localize.day(dayOfWeek, {
871
- width: 'short',
872
- context: 'formatting'
873
- });
874
- // Tuesday
875
-
876
- case 'eeee':
877
- default:
878
- return localize.day(dayOfWeek, {
879
- width: 'wide',
880
- context: 'formatting'
881
- });
882
- }
883
- },
884
- // Stand-alone local day of week
885
- c: function c(date, token, localize, options) {
886
- var dayOfWeek = date.getUTCDay();
887
- var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;
888
-
889
- switch (token) {
890
- // Numerical value (same as in `e`)
891
- case 'c':
892
- return String(localDayOfWeek);
893
- // Padded numerical value
894
-
895
- case 'cc':
896
- return addLeadingZeros(localDayOfWeek, token.length);
897
- // 1st, 2nd, ..., 7th
898
-
899
- case 'co':
900
- return localize.ordinalNumber(localDayOfWeek, {
901
- unit: 'day'
902
- });
903
-
904
- case 'ccc':
905
- return localize.day(dayOfWeek, {
906
- width: 'abbreviated',
907
- context: 'standalone'
908
- });
909
- // T
910
-
911
- case 'ccccc':
912
- return localize.day(dayOfWeek, {
913
- width: 'narrow',
914
- context: 'standalone'
915
- });
916
- // Tu
917
-
918
- case 'cccccc':
919
- return localize.day(dayOfWeek, {
920
- width: 'short',
921
- context: 'standalone'
922
- });
923
- // Tuesday
924
-
925
- case 'cccc':
926
- default:
927
- return localize.day(dayOfWeek, {
928
- width: 'wide',
929
- context: 'standalone'
930
- });
931
- }
932
- },
933
- // ISO day of week
934
- i: function i(date, token, localize) {
935
- var dayOfWeek = date.getUTCDay();
936
- var isoDayOfWeek = dayOfWeek === 0 ? 7 : dayOfWeek;
937
-
938
- switch (token) {
939
- // 2
940
- case 'i':
941
- return String(isoDayOfWeek);
942
- // 02
943
-
944
- case 'ii':
945
- return addLeadingZeros(isoDayOfWeek, token.length);
946
- // 2nd
947
-
948
- case 'io':
949
- return localize.ordinalNumber(isoDayOfWeek, {
950
- unit: 'day'
951
- });
952
- // Tue
953
-
954
- case 'iii':
955
- return localize.day(dayOfWeek, {
956
- width: 'abbreviated',
957
- context: 'formatting'
958
- });
959
- // T
960
-
961
- case 'iiiii':
962
- return localize.day(dayOfWeek, {
963
- width: 'narrow',
964
- context: 'formatting'
965
- });
966
- // Tu
967
-
968
- case 'iiiiii':
969
- return localize.day(dayOfWeek, {
970
- width: 'short',
971
- context: 'formatting'
972
- });
973
- // Tuesday
974
-
975
- case 'iiii':
976
- default:
977
- return localize.day(dayOfWeek, {
978
- width: 'wide',
979
- context: 'formatting'
980
- });
981
- }
982
- },
983
- // AM or PM
984
- a: function a(date, token, localize) {
985
- var hours = date.getUTCHours();
986
- var dayPeriodEnumValue = hours / 12 >= 1 ? 'pm' : 'am';
987
-
988
- switch (token) {
989
- case 'a':
990
- case 'aa':
991
- return localize.dayPeriod(dayPeriodEnumValue, {
992
- width: 'abbreviated',
993
- context: 'formatting'
994
- });
995
-
996
- case 'aaa':
997
- return localize.dayPeriod(dayPeriodEnumValue, {
998
- width: 'abbreviated',
999
- context: 'formatting'
1000
- }).toLowerCase();
1001
-
1002
- case 'aaaaa':
1003
- return localize.dayPeriod(dayPeriodEnumValue, {
1004
- width: 'narrow',
1005
- context: 'formatting'
1006
- });
1007
-
1008
- case 'aaaa':
1009
- default:
1010
- return localize.dayPeriod(dayPeriodEnumValue, {
1011
- width: 'wide',
1012
- context: 'formatting'
1013
- });
1014
- }
1015
- },
1016
- // AM, PM, midnight, noon
1017
- b: function b(date, token, localize) {
1018
- var hours = date.getUTCHours();
1019
- var dayPeriodEnumValue;
1020
-
1021
- if (hours === 12) {
1022
- dayPeriodEnumValue = dayPeriodEnum.noon;
1023
- } else if (hours === 0) {
1024
- dayPeriodEnumValue = dayPeriodEnum.midnight;
1025
- } else {
1026
- dayPeriodEnumValue = hours / 12 >= 1 ? 'pm' : 'am';
1027
- }
1028
-
1029
- switch (token) {
1030
- case 'b':
1031
- case 'bb':
1032
- return localize.dayPeriod(dayPeriodEnumValue, {
1033
- width: 'abbreviated',
1034
- context: 'formatting'
1035
- });
1036
-
1037
- case 'bbb':
1038
- return localize.dayPeriod(dayPeriodEnumValue, {
1039
- width: 'abbreviated',
1040
- context: 'formatting'
1041
- }).toLowerCase();
1042
-
1043
- case 'bbbbb':
1044
- return localize.dayPeriod(dayPeriodEnumValue, {
1045
- width: 'narrow',
1046
- context: 'formatting'
1047
- });
1048
-
1049
- case 'bbbb':
1050
- default:
1051
- return localize.dayPeriod(dayPeriodEnumValue, {
1052
- width: 'wide',
1053
- context: 'formatting'
1054
- });
1055
- }
1056
- },
1057
- // in the morning, in the afternoon, in the evening, at night
1058
- B: function B(date, token, localize) {
1059
- var hours = date.getUTCHours();
1060
- var dayPeriodEnumValue;
1061
-
1062
- if (hours >= 17) {
1063
- dayPeriodEnumValue = dayPeriodEnum.evening;
1064
- } else if (hours >= 12) {
1065
- dayPeriodEnumValue = dayPeriodEnum.afternoon;
1066
- } else if (hours >= 4) {
1067
- dayPeriodEnumValue = dayPeriodEnum.morning;
1068
- } else {
1069
- dayPeriodEnumValue = dayPeriodEnum.night;
1070
- }
1071
-
1072
- switch (token) {
1073
- case 'B':
1074
- case 'BB':
1075
- case 'BBB':
1076
- return localize.dayPeriod(dayPeriodEnumValue, {
1077
- width: 'abbreviated',
1078
- context: 'formatting'
1079
- });
1080
-
1081
- case 'BBBBB':
1082
- return localize.dayPeriod(dayPeriodEnumValue, {
1083
- width: 'narrow',
1084
- context: 'formatting'
1085
- });
1086
-
1087
- case 'BBBB':
1088
- default:
1089
- return localize.dayPeriod(dayPeriodEnumValue, {
1090
- width: 'wide',
1091
- context: 'formatting'
1092
- });
1093
- }
1094
- },
1095
- // Hour [1-12]
1096
- h: function h(date, token, localize) {
1097
- if (token === 'ho') {
1098
- var hours = date.getUTCHours() % 12;
1099
- if (hours === 0) hours = 12;
1100
- return localize.ordinalNumber(hours, {
1101
- unit: 'hour'
1102
- });
1103
- }
1104
-
1105
- return lightFormatters.h(date, token);
1106
- },
1107
- // Hour [0-23]
1108
- H: function H(date, token, localize) {
1109
- if (token === 'Ho') {
1110
- return localize.ordinalNumber(date.getUTCHours(), {
1111
- unit: 'hour'
1112
- });
1113
- }
1114
-
1115
- return lightFormatters.H(date, token);
1116
- },
1117
- // Hour [0-11]
1118
- K: function K(date, token, localize) {
1119
- var hours = date.getUTCHours() % 12;
1120
-
1121
- if (token === 'Ko') {
1122
- return localize.ordinalNumber(hours, {
1123
- unit: 'hour'
1124
- });
1125
- }
1126
-
1127
- return addLeadingZeros(hours, token.length);
1128
- },
1129
- // Hour [1-24]
1130
- k: function k(date, token, localize) {
1131
- var hours = date.getUTCHours();
1132
- if (hours === 0) hours = 24;
1133
-
1134
- if (token === 'ko') {
1135
- return localize.ordinalNumber(hours, {
1136
- unit: 'hour'
1137
- });
1138
- }
1139
-
1140
- return addLeadingZeros(hours, token.length);
1141
- },
1142
- // Minute
1143
- m: function m(date, token, localize) {
1144
- if (token === 'mo') {
1145
- return localize.ordinalNumber(date.getUTCMinutes(), {
1146
- unit: 'minute'
1147
- });
1148
- }
1149
-
1150
- return lightFormatters.m(date, token);
1151
- },
1152
- // Second
1153
- s: function s(date, token, localize) {
1154
- if (token === 'so') {
1155
- return localize.ordinalNumber(date.getUTCSeconds(), {
1156
- unit: 'second'
1157
- });
1158
- }
1159
-
1160
- return lightFormatters.s(date, token);
1161
- },
1162
- // Fraction of second
1163
- S: function S(date, token) {
1164
- return lightFormatters.S(date, token);
1165
- },
1166
- // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
1167
- X: function X(date, token, _localize, options) {
1168
- var originalDate = options._originalDate || date;
1169
- var timezoneOffset = originalDate.getTimezoneOffset();
1170
-
1171
- if (timezoneOffset === 0) {
1172
- return 'Z';
1173
- }
1174
-
1175
- switch (token) {
1176
- // Hours and optional minutes
1177
- case 'X':
1178
- return formatTimezoneWithOptionalMinutes(timezoneOffset);
1179
- // Hours, minutes and optional seconds without `:` delimiter
1180
- // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1181
- // so this token always has the same output as `XX`
1182
-
1183
- case 'XXXX':
1184
- case 'XX':
1185
- // Hours and minutes without `:` delimiter
1186
- return formatTimezone(timezoneOffset);
1187
- // Hours, minutes and optional seconds with `:` delimiter
1188
- // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1189
- // so this token always has the same output as `XXX`
1190
-
1191
- case 'XXXXX':
1192
- case 'XXX': // Hours and minutes with `:` delimiter
1193
-
1194
- default:
1195
- return formatTimezone(timezoneOffset, ':');
1196
- }
1197
- },
1198
- // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
1199
- x: function x(date, token, _localize, options) {
1200
- var originalDate = options._originalDate || date;
1201
- var timezoneOffset = originalDate.getTimezoneOffset();
1202
-
1203
- switch (token) {
1204
- // Hours and optional minutes
1205
- case 'x':
1206
- return formatTimezoneWithOptionalMinutes(timezoneOffset);
1207
- // Hours, minutes and optional seconds without `:` delimiter
1208
- // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1209
- // so this token always has the same output as `xx`
1210
-
1211
- case 'xxxx':
1212
- case 'xx':
1213
- // Hours and minutes without `:` delimiter
1214
- return formatTimezone(timezoneOffset);
1215
- // Hours, minutes and optional seconds with `:` delimiter
1216
- // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1217
- // so this token always has the same output as `xxx`
1218
-
1219
- case 'xxxxx':
1220
- case 'xxx': // Hours and minutes with `:` delimiter
1221
-
1222
- default:
1223
- return formatTimezone(timezoneOffset, ':');
1224
- }
1225
- },
1226
- // Timezone (GMT)
1227
- O: function O(date, token, _localize, options) {
1228
- var originalDate = options._originalDate || date;
1229
- var timezoneOffset = originalDate.getTimezoneOffset();
1230
-
1231
- switch (token) {
1232
- // Short
1233
- case 'O':
1234
- case 'OO':
1235
- case 'OOO':
1236
- return 'GMT' + formatTimezoneShort(timezoneOffset, ':');
1237
- // Long
1238
-
1239
- case 'OOOO':
1240
- default:
1241
- return 'GMT' + formatTimezone(timezoneOffset, ':');
1242
- }
1243
- },
1244
- // Timezone (specific non-location)
1245
- z: function z(date, token, _localize, options) {
1246
- var originalDate = options._originalDate || date;
1247
- var timezoneOffset = originalDate.getTimezoneOffset();
1248
-
1249
- switch (token) {
1250
- // Short
1251
- case 'z':
1252
- case 'zz':
1253
- case 'zzz':
1254
- return 'GMT' + formatTimezoneShort(timezoneOffset, ':');
1255
- // Long
1256
-
1257
- case 'zzzz':
1258
- default:
1259
- return 'GMT' + formatTimezone(timezoneOffset, ':');
1260
- }
1261
- },
1262
- // Seconds timestamp
1263
- t: function t(date, token, _localize, options) {
1264
- var originalDate = options._originalDate || date;
1265
- var timestamp = Math.floor(originalDate.getTime() / 1000);
1266
- return addLeadingZeros(timestamp, token.length);
1267
- },
1268
- // Milliseconds timestamp
1269
- T: function T(date, token, _localize, options) {
1270
- var originalDate = options._originalDate || date;
1271
- var timestamp = originalDate.getTime();
1272
- return addLeadingZeros(timestamp, token.length);
1273
- }
1274
- };
1275
-
1276
- function formatTimezoneShort(offset, dirtyDelimiter) {
1277
- var sign = offset > 0 ? '-' : '+';
1278
- var absOffset = Math.abs(offset);
1279
- var hours = Math.floor(absOffset / 60);
1280
- var minutes = absOffset % 60;
1281
-
1282
- if (minutes === 0) {
1283
- return sign + String(hours);
1284
- }
1285
-
1286
- var delimiter = dirtyDelimiter || '';
1287
- return sign + String(hours) + delimiter + addLeadingZeros(minutes, 2);
1288
- }
1289
-
1290
- function formatTimezoneWithOptionalMinutes(offset, dirtyDelimiter) {
1291
- if (offset % 60 === 0) {
1292
- var sign = offset > 0 ? '-' : '+';
1293
- return sign + addLeadingZeros(Math.abs(offset) / 60, 2);
1294
- }
1295
-
1296
- return formatTimezone(offset, dirtyDelimiter);
1297
- }
1298
-
1299
- function formatTimezone(offset, dirtyDelimiter) {
1300
- var delimiter = dirtyDelimiter || '';
1301
- var sign = offset > 0 ? '-' : '+';
1302
- var absOffset = Math.abs(offset);
1303
- var hours = addLeadingZeros(Math.floor(absOffset / 60), 2);
1304
- var minutes = addLeadingZeros(absOffset % 60, 2);
1305
- return sign + hours + delimiter + minutes;
1306
- }
1307
-
1308
- var formatters$1 = formatters;
1309
-
1310
- var dateLongFormatter = function dateLongFormatter(pattern, formatLong) {
1311
- switch (pattern) {
1312
- case 'P':
1313
- return formatLong.date({
1314
- width: 'short'
1315
- });
1316
-
1317
- case 'PP':
1318
- return formatLong.date({
1319
- width: 'medium'
1320
- });
1321
-
1322
- case 'PPP':
1323
- return formatLong.date({
1324
- width: 'long'
1325
- });
1326
-
1327
- case 'PPPP':
1328
- default:
1329
- return formatLong.date({
1330
- width: 'full'
1331
- });
1332
- }
1333
- };
1334
-
1335
- var timeLongFormatter = function timeLongFormatter(pattern, formatLong) {
1336
- switch (pattern) {
1337
- case 'p':
1338
- return formatLong.time({
1339
- width: 'short'
1340
- });
1341
-
1342
- case 'pp':
1343
- return formatLong.time({
1344
- width: 'medium'
1345
- });
1346
-
1347
- case 'ppp':
1348
- return formatLong.time({
1349
- width: 'long'
1350
- });
1351
-
1352
- case 'pppp':
1353
- default:
1354
- return formatLong.time({
1355
- width: 'full'
1356
- });
1357
- }
1358
- };
1359
-
1360
- var dateTimeLongFormatter = function dateTimeLongFormatter(pattern, formatLong) {
1361
- var matchResult = pattern.match(/(P+)(p+)?/) || [];
1362
- var datePattern = matchResult[1];
1363
- var timePattern = matchResult[2];
1364
-
1365
- if (!timePattern) {
1366
- return dateLongFormatter(pattern, formatLong);
1367
- }
1368
-
1369
- var dateTimeFormat;
1370
-
1371
- switch (datePattern) {
1372
- case 'P':
1373
- dateTimeFormat = formatLong.dateTime({
1374
- width: 'short'
1375
- });
1376
- break;
1377
-
1378
- case 'PP':
1379
- dateTimeFormat = formatLong.dateTime({
1380
- width: 'medium'
1381
- });
1382
- break;
1383
-
1384
- case 'PPP':
1385
- dateTimeFormat = formatLong.dateTime({
1386
- width: 'long'
1387
- });
1388
- break;
1389
-
1390
- case 'PPPP':
1391
- default:
1392
- dateTimeFormat = formatLong.dateTime({
1393
- width: 'full'
1394
- });
1395
- break;
1396
- }
1397
-
1398
- return dateTimeFormat.replace('{{date}}', dateLongFormatter(datePattern, formatLong)).replace('{{time}}', timeLongFormatter(timePattern, formatLong));
1399
- };
1400
-
1401
- var longFormatters = {
1402
- p: timeLongFormatter,
1403
- P: dateTimeLongFormatter
1404
- };
1405
- var longFormatters$1 = longFormatters;
1406
-
1407
- /**
1408
- * Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds.
1409
- * They usually appear for dates that denote time before the timezones were introduced
1410
- * (e.g. for 'Europe/Prague' timezone the offset is GMT+00:57:44 before 1 October 1891
1411
- * and GMT+01:00:00 after that date)
1412
- *
1413
- * Date#getTimezoneOffset returns the offset in minutes and would return 57 for the example above,
1414
- * which would lead to incorrect calculations.
1415
- *
1416
- * This function returns the timezone offset in milliseconds that takes seconds in account.
1417
- */
1418
- function getTimezoneOffsetInMilliseconds(date) {
1419
- var utcDate = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()));
1420
- utcDate.setUTCFullYear(date.getFullYear());
1421
- return date.getTime() - utcDate.getTime();
1422
- }
1423
-
1424
- var protectedDayOfYearTokens = ['D', 'DD'];
1425
- var protectedWeekYearTokens = ['YY', 'YYYY'];
1426
- function isProtectedDayOfYearToken(token) {
1427
- return protectedDayOfYearTokens.indexOf(token) !== -1;
1428
- }
1429
- function isProtectedWeekYearToken(token) {
1430
- return protectedWeekYearTokens.indexOf(token) !== -1;
1431
- }
1432
- function throwProtectedError(token, format, input) {
1433
- if (token === 'YYYY') {
1434
- throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(format, "`) for formatting years to the input `").concat(input, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
1435
- } else if (token === 'YY') {
1436
- throw new RangeError("Use `yy` instead of `YY` (in `".concat(format, "`) for formatting years to the input `").concat(input, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
1437
- } else if (token === 'D') {
1438
- throw new RangeError("Use `d` instead of `D` (in `".concat(format, "`) for formatting days of the month to the input `").concat(input, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
1439
- } else if (token === 'DD') {
1440
- throw new RangeError("Use `dd` instead of `DD` (in `".concat(format, "`) for formatting days of the month to the input `").concat(input, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
1441
- }
1442
- }
1443
-
1444
- // - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token
1445
- // (one of the certain letters followed by `o`)
1446
- // - (\w)\1* matches any sequences of the same letter
1447
- // - '' matches two quote characters in a row
1448
- // - '(''|[^'])+('|$) matches anything surrounded by two quote characters ('),
1449
- // except a single quote symbol, which ends the sequence.
1450
- // Two quote characters do not end the sequence.
1451
- // If there is no matching single quote
1452
- // then the sequence will continue until the end of the string.
1453
- // - . matches any single character unmatched by previous parts of the RegExps
1454
-
1455
- var formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g; // This RegExp catches symbols escaped by quotes, and also
1456
- // sequences of symbols P, p, and the combinations like `PPPPPPPppppp`
1457
-
1458
- var longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;
1459
- var escapedStringRegExp = /^'([^]*?)'?$/;
1460
- var doubleQuoteRegExp = /''/g;
1461
- var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
1462
- /**
1463
- * @name format
1464
- * @category Common Helpers
1465
- * @summary Format the date.
1466
- *
1467
- * @description
1468
- * Return the formatted date string in the given format. The result may vary by locale.
1469
- *
1470
- * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries.
1471
- * > See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
1472
- *
1473
- * The characters wrapped between two single quotes characters (') are escaped.
1474
- * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote.
1475
- * (see the last example)
1476
- *
1477
- * Format of the string is based on Unicode Technical Standard #35:
1478
- * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
1479
- * with a few additions (see note 7 below the table).
1480
- *
1481
- * Accepted patterns:
1482
- * | Unit | Pattern | Result examples | Notes |
1483
- * |---------------------------------|---------|-----------------------------------|-------|
1484
- * | Era | G..GGG | AD, BC | |
1485
- * | | GGGG | Anno Domini, Before Christ | 2 |
1486
- * | | GGGGG | A, B | |
1487
- * | Calendar year | y | 44, 1, 1900, 2017 | 5 |
1488
- * | | yo | 44th, 1st, 0th, 17th | 5,7 |
1489
- * | | yy | 44, 01, 00, 17 | 5 |
1490
- * | | yyy | 044, 001, 1900, 2017 | 5 |
1491
- * | | yyyy | 0044, 0001, 1900, 2017 | 5 |
1492
- * | | yyyyy | ... | 3,5 |
1493
- * | Local week-numbering year | Y | 44, 1, 1900, 2017 | 5 |
1494
- * | | Yo | 44th, 1st, 1900th, 2017th | 5,7 |
1495
- * | | YY | 44, 01, 00, 17 | 5,8 |
1496
- * | | YYY | 044, 001, 1900, 2017 | 5 |
1497
- * | | YYYY | 0044, 0001, 1900, 2017 | 5,8 |
1498
- * | | YYYYY | ... | 3,5 |
1499
- * | ISO week-numbering year | R | -43, 0, 1, 1900, 2017 | 5,7 |
1500
- * | | RR | -43, 00, 01, 1900, 2017 | 5,7 |
1501
- * | | RRR | -043, 000, 001, 1900, 2017 | 5,7 |
1502
- * | | RRRR | -0043, 0000, 0001, 1900, 2017 | 5,7 |
1503
- * | | RRRRR | ... | 3,5,7 |
1504
- * | Extended year | u | -43, 0, 1, 1900, 2017 | 5 |
1505
- * | | uu | -43, 01, 1900, 2017 | 5 |
1506
- * | | uuu | -043, 001, 1900, 2017 | 5 |
1507
- * | | uuuu | -0043, 0001, 1900, 2017 | 5 |
1508
- * | | uuuuu | ... | 3,5 |
1509
- * | Quarter (formatting) | Q | 1, 2, 3, 4 | |
1510
- * | | Qo | 1st, 2nd, 3rd, 4th | 7 |
1511
- * | | QQ | 01, 02, 03, 04 | |
1512
- * | | QQQ | Q1, Q2, Q3, Q4 | |
1513
- * | | QQQQ | 1st quarter, 2nd quarter, ... | 2 |
1514
- * | | QQQQQ | 1, 2, 3, 4 | 4 |
1515
- * | Quarter (stand-alone) | q | 1, 2, 3, 4 | |
1516
- * | | qo | 1st, 2nd, 3rd, 4th | 7 |
1517
- * | | qq | 01, 02, 03, 04 | |
1518
- * | | qqq | Q1, Q2, Q3, Q4 | |
1519
- * | | qqqq | 1st quarter, 2nd quarter, ... | 2 |
1520
- * | | qqqqq | 1, 2, 3, 4 | 4 |
1521
- * | Month (formatting) | M | 1, 2, ..., 12 | |
1522
- * | | Mo | 1st, 2nd, ..., 12th | 7 |
1523
- * | | MM | 01, 02, ..., 12 | |
1524
- * | | MMM | Jan, Feb, ..., Dec | |
1525
- * | | MMMM | January, February, ..., December | 2 |
1526
- * | | MMMMM | J, F, ..., D | |
1527
- * | Month (stand-alone) | L | 1, 2, ..., 12 | |
1528
- * | | Lo | 1st, 2nd, ..., 12th | 7 |
1529
- * | | LL | 01, 02, ..., 12 | |
1530
- * | | LLL | Jan, Feb, ..., Dec | |
1531
- * | | LLLL | January, February, ..., December | 2 |
1532
- * | | LLLLL | J, F, ..., D | |
1533
- * | Local week of year | w | 1, 2, ..., 53 | |
1534
- * | | wo | 1st, 2nd, ..., 53th | 7 |
1535
- * | | ww | 01, 02, ..., 53 | |
1536
- * | ISO week of year | I | 1, 2, ..., 53 | 7 |
1537
- * | | Io | 1st, 2nd, ..., 53th | 7 |
1538
- * | | II | 01, 02, ..., 53 | 7 |
1539
- * | Day of month | d | 1, 2, ..., 31 | |
1540
- * | | do | 1st, 2nd, ..., 31st | 7 |
1541
- * | | dd | 01, 02, ..., 31 | |
1542
- * | Day of year | D | 1, 2, ..., 365, 366 | 9 |
1543
- * | | Do | 1st, 2nd, ..., 365th, 366th | 7 |
1544
- * | | DD | 01, 02, ..., 365, 366 | 9 |
1545
- * | | DDD | 001, 002, ..., 365, 366 | |
1546
- * | | DDDD | ... | 3 |
1547
- * | Day of week (formatting) | E..EEE | Mon, Tue, Wed, ..., Sun | |
1548
- * | | EEEE | Monday, Tuesday, ..., Sunday | 2 |
1549
- * | | EEEEE | M, T, W, T, F, S, S | |
1550
- * | | EEEEEE | Mo, Tu, We, Th, Fr, Sa, Su | |
1551
- * | ISO day of week (formatting) | i | 1, 2, 3, ..., 7 | 7 |
1552
- * | | io | 1st, 2nd, ..., 7th | 7 |
1553
- * | | ii | 01, 02, ..., 07 | 7 |
1554
- * | | iii | Mon, Tue, Wed, ..., Sun | 7 |
1555
- * | | iiii | Monday, Tuesday, ..., Sunday | 2,7 |
1556
- * | | iiiii | M, T, W, T, F, S, S | 7 |
1557
- * | | iiiiii | Mo, Tu, We, Th, Fr, Sa, Su | 7 |
1558
- * | Local day of week (formatting) | e | 2, 3, 4, ..., 1 | |
1559
- * | | eo | 2nd, 3rd, ..., 1st | 7 |
1560
- * | | ee | 02, 03, ..., 01 | |
1561
- * | | eee | Mon, Tue, Wed, ..., Sun | |
1562
- * | | eeee | Monday, Tuesday, ..., Sunday | 2 |
1563
- * | | eeeee | M, T, W, T, F, S, S | |
1564
- * | | eeeeee | Mo, Tu, We, Th, Fr, Sa, Su | |
1565
- * | Local day of week (stand-alone) | c | 2, 3, 4, ..., 1 | |
1566
- * | | co | 2nd, 3rd, ..., 1st | 7 |
1567
- * | | cc | 02, 03, ..., 01 | |
1568
- * | | ccc | Mon, Tue, Wed, ..., Sun | |
1569
- * | | cccc | Monday, Tuesday, ..., Sunday | 2 |
1570
- * | | ccccc | M, T, W, T, F, S, S | |
1571
- * | | cccccc | Mo, Tu, We, Th, Fr, Sa, Su | |
1572
- * | AM, PM | a..aa | AM, PM | |
1573
- * | | aaa | am, pm | |
1574
- * | | aaaa | a.m., p.m. | 2 |
1575
- * | | aaaaa | a, p | |
1576
- * | AM, PM, noon, midnight | b..bb | AM, PM, noon, midnight | |
1577
- * | | bbb | am, pm, noon, midnight | |
1578
- * | | bbbb | a.m., p.m., noon, midnight | 2 |
1579
- * | | bbbbb | a, p, n, mi | |
1580
- * | Flexible day period | B..BBB | at night, in the morning, ... | |
1581
- * | | BBBB | at night, in the morning, ... | 2 |
1582
- * | | BBBBB | at night, in the morning, ... | |
1583
- * | Hour [1-12] | h | 1, 2, ..., 11, 12 | |
1584
- * | | ho | 1st, 2nd, ..., 11th, 12th | 7 |
1585
- * | | hh | 01, 02, ..., 11, 12 | |
1586
- * | Hour [0-23] | H | 0, 1, 2, ..., 23 | |
1587
- * | | Ho | 0th, 1st, 2nd, ..., 23rd | 7 |
1588
- * | | HH | 00, 01, 02, ..., 23 | |
1589
- * | Hour [0-11] | K | 1, 2, ..., 11, 0 | |
1590
- * | | Ko | 1st, 2nd, ..., 11th, 0th | 7 |
1591
- * | | KK | 01, 02, ..., 11, 00 | |
1592
- * | Hour [1-24] | k | 24, 1, 2, ..., 23 | |
1593
- * | | ko | 24th, 1st, 2nd, ..., 23rd | 7 |
1594
- * | | kk | 24, 01, 02, ..., 23 | |
1595
- * | Minute | m | 0, 1, ..., 59 | |
1596
- * | | mo | 0th, 1st, ..., 59th | 7 |
1597
- * | | mm | 00, 01, ..., 59 | |
1598
- * | Second | s | 0, 1, ..., 59 | |
1599
- * | | so | 0th, 1st, ..., 59th | 7 |
1600
- * | | ss | 00, 01, ..., 59 | |
1601
- * | Fraction of second | S | 0, 1, ..., 9 | |
1602
- * | | SS | 00, 01, ..., 99 | |
1603
- * | | SSS | 000, 001, ..., 999 | |
1604
- * | | SSSS | ... | 3 |
1605
- * | Timezone (ISO-8601 w/ Z) | X | -08, +0530, Z | |
1606
- * | | XX | -0800, +0530, Z | |
1607
- * | | XXX | -08:00, +05:30, Z | |
1608
- * | | XXXX | -0800, +0530, Z, +123456 | 2 |
1609
- * | | XXXXX | -08:00, +05:30, Z, +12:34:56 | |
1610
- * | Timezone (ISO-8601 w/o Z) | x | -08, +0530, +00 | |
1611
- * | | xx | -0800, +0530, +0000 | |
1612
- * | | xxx | -08:00, +05:30, +00:00 | 2 |
1613
- * | | xxxx | -0800, +0530, +0000, +123456 | |
1614
- * | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | |
1615
- * | Timezone (GMT) | O...OOO | GMT-8, GMT+5:30, GMT+0 | |
1616
- * | | OOOO | GMT-08:00, GMT+05:30, GMT+00:00 | 2 |
1617
- * | Timezone (specific non-locat.) | z...zzz | GMT-8, GMT+5:30, GMT+0 | 6 |
1618
- * | | zzzz | GMT-08:00, GMT+05:30, GMT+00:00 | 2,6 |
1619
- * | Seconds timestamp | t | 512969520 | 7 |
1620
- * | | tt | ... | 3,7 |
1621
- * | Milliseconds timestamp | T | 512969520900 | 7 |
1622
- * | | TT | ... | 3,7 |
1623
- * | Long localized date | P | 04/29/1453 | 7 |
1624
- * | | PP | Apr 29, 1453 | 7 |
1625
- * | | PPP | April 29th, 1453 | 7 |
1626
- * | | PPPP | Friday, April 29th, 1453 | 2,7 |
1627
- * | Long localized time | p | 12:00 AM | 7 |
1628
- * | | pp | 12:00:00 AM | 7 |
1629
- * | | ppp | 12:00:00 AM GMT+2 | 7 |
1630
- * | | pppp | 12:00:00 AM GMT+02:00 | 2,7 |
1631
- * | Combination of date and time | Pp | 04/29/1453, 12:00 AM | 7 |
1632
- * | | PPpp | Apr 29, 1453, 12:00:00 AM | 7 |
1633
- * | | PPPppp | April 29th, 1453 at ... | 7 |
1634
- * | | PPPPpppp| Friday, April 29th, 1453 at ... | 2,7 |
1635
- * Notes:
1636
- * 1. "Formatting" units (e.g. formatting quarter) in the default en-US locale
1637
- * are the same as "stand-alone" units, but are different in some languages.
1638
- * "Formatting" units are declined according to the rules of the language
1639
- * in the context of a date. "Stand-alone" units are always nominative singular:
1640
- *
1641
- * `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'`
1642
- *
1643
- * `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'`
1644
- *
1645
- * 2. Any sequence of the identical letters is a pattern, unless it is escaped by
1646
- * the single quote characters (see below).
1647
- * If the sequence is longer than listed in table (e.g. `EEEEEEEEEEE`)
1648
- * the output will be the same as default pattern for this unit, usually
1649
- * the longest one (in case of ISO weekdays, `EEEE`). Default patterns for units
1650
- * are marked with "2" in the last column of the table.
1651
- *
1652
- * `format(new Date(2017, 10, 6), 'MMM') //=> 'Nov'`
1653
- *
1654
- * `format(new Date(2017, 10, 6), 'MMMM') //=> 'November'`
1655
- *
1656
- * `format(new Date(2017, 10, 6), 'MMMMM') //=> 'N'`
1657
- *
1658
- * `format(new Date(2017, 10, 6), 'MMMMMM') //=> 'November'`
1659
- *
1660
- * `format(new Date(2017, 10, 6), 'MMMMMMM') //=> 'November'`
1661
- *
1662
- * 3. Some patterns could be unlimited length (such as `yyyyyyyy`).
1663
- * The output will be padded with zeros to match the length of the pattern.
1664
- *
1665
- * `format(new Date(2017, 10, 6), 'yyyyyyyy') //=> '00002017'`
1666
- *
1667
- * 4. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales.
1668
- * These tokens represent the shortest form of the quarter.
1669
- *
1670
- * 5. The main difference between `y` and `u` patterns are B.C. years:
1671
- *
1672
- * | Year | `y` | `u` |
1673
- * |------|-----|-----|
1674
- * | AC 1 | 1 | 1 |
1675
- * | BC 1 | 1 | 0 |
1676
- * | BC 2 | 2 | -1 |
1677
- *
1678
- * Also `yy` always returns the last two digits of a year,
1679
- * while `uu` pads single digit years to 2 characters and returns other years unchanged:
1680
- *
1681
- * | Year | `yy` | `uu` |
1682
- * |------|------|------|
1683
- * | 1 | 01 | 01 |
1684
- * | 14 | 14 | 14 |
1685
- * | 376 | 76 | 376 |
1686
- * | 1453 | 53 | 1453 |
1687
- *
1688
- * The same difference is true for local and ISO week-numbering years (`Y` and `R`),
1689
- * except local week-numbering years are dependent on `options.weekStartsOn`
1690
- * and `options.firstWeekContainsDate` (compare [getISOWeekYear]{@link https://date-fns.org/docs/getISOWeekYear}
1691
- * and [getWeekYear]{@link https://date-fns.org/docs/getWeekYear}).
1692
- *
1693
- * 6. Specific non-location timezones are currently unavailable in `date-fns`,
1694
- * so right now these tokens fall back to GMT timezones.
1695
- *
1696
- * 7. These patterns are not in the Unicode Technical Standard #35:
1697
- * - `i`: ISO day of week
1698
- * - `I`: ISO week of year
1699
- * - `R`: ISO week-numbering year
1700
- * - `t`: seconds timestamp
1701
- * - `T`: milliseconds timestamp
1702
- * - `o`: ordinal number modifier
1703
- * - `P`: long localized date
1704
- * - `p`: long localized time
1705
- *
1706
- * 8. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years.
1707
- * You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
1708
- *
1709
- * 9. `D` and `DD` tokens represent days of the year but they are often confused with days of the month.
1710
- * You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
1711
- *
1712
- * @param {Date|Number} date - the original date
1713
- * @param {String} format - the string of tokens
1714
- * @param {Object} [options] - an object with options.
1715
- * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}
1716
- * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)
1717
- * @param {Number} [options.firstWeekContainsDate=1] - the day of January, which is
1718
- * @param {Boolean} [options.useAdditionalWeekYearTokens=false] - if true, allows usage of the week-numbering year tokens `YY` and `YYYY`;
1719
- * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
1720
- * @param {Boolean} [options.useAdditionalDayOfYearTokens=false] - if true, allows usage of the day of year tokens `D` and `DD`;
1721
- * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
1722
- * @returns {String} the formatted date string
1723
- * @throws {TypeError} 2 arguments required
1724
- * @throws {RangeError} `date` must not be Invalid Date
1725
- * @throws {RangeError} `options.locale` must contain `localize` property
1726
- * @throws {RangeError} `options.locale` must contain `formatLong` property
1727
- * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6
1728
- * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7
1729
- * @throws {RangeError} use `yyyy` instead of `YYYY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
1730
- * @throws {RangeError} use `yy` instead of `YY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
1731
- * @throws {RangeError} use `d` instead of `D` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
1732
- * @throws {RangeError} use `dd` instead of `DD` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
1733
- * @throws {RangeError} format string contains an unescaped latin alphabet character
1734
- *
1735
- * @example
1736
- * // Represent 11 February 2014 in middle-endian format:
1737
- * const result = format(new Date(2014, 1, 11), 'MM/dd/yyyy')
1738
- * //=> '02/11/2014'
1739
- *
1740
- * @example
1741
- * // Represent 2 July 2014 in Esperanto:
1742
- * import { eoLocale } from 'date-fns/locale/eo'
1743
- * const result = format(new Date(2014, 6, 2), "do 'de' MMMM yyyy", {
1744
- * locale: eoLocale
1745
- * })
1746
- * //=> '2-a de julio 2014'
1747
- *
1748
- * @example
1749
- * // Escape string by single quote characters:
1750
- * const result = format(new Date(2014, 6, 2, 15), "h 'o''clock'")
1751
- * //=> "3 o'clock"
1752
- */
1753
-
1754
- function format(dirtyDate, dirtyFormatStr, options) {
1755
- var _ref, _options$locale, _ref2, _ref3, _ref4, _options$firstWeekCon, _options$locale2, _options$locale2$opti, _defaultOptions$local, _defaultOptions$local2, _ref5, _ref6, _ref7, _options$weekStartsOn, _options$locale3, _options$locale3$opti, _defaultOptions$local3, _defaultOptions$local4;
1756
-
1757
- requiredArgs(2, arguments);
1758
- var formatStr = String(dirtyFormatStr);
1759
- var defaultOptions = getDefaultOptions();
1760
- var locale = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : defaultLocale;
1761
- var firstWeekContainsDate = toInteger((_ref2 = (_ref3 = (_ref4 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale2 = options.locale) === null || _options$locale2 === void 0 ? void 0 : (_options$locale2$opti = _options$locale2.options) === null || _options$locale2$opti === void 0 ? void 0 : _options$locale2$opti.firstWeekContainsDate) !== null && _ref4 !== void 0 ? _ref4 : defaultOptions.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : 1); // Test if weekStartsOn is between 1 and 7 _and_ is not NaN
1762
-
1763
- if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {
1764
- throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');
1765
- }
1766
-
1767
- var weekStartsOn = toInteger((_ref5 = (_ref6 = (_ref7 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale3 = options.locale) === null || _options$locale3 === void 0 ? void 0 : (_options$locale3$opti = _options$locale3.options) === null || _options$locale3$opti === void 0 ? void 0 : _options$locale3$opti.weekStartsOn) !== null && _ref7 !== void 0 ? _ref7 : defaultOptions.weekStartsOn) !== null && _ref6 !== void 0 ? _ref6 : (_defaultOptions$local3 = defaultOptions.locale) === null || _defaultOptions$local3 === void 0 ? void 0 : (_defaultOptions$local4 = _defaultOptions$local3.options) === null || _defaultOptions$local4 === void 0 ? void 0 : _defaultOptions$local4.weekStartsOn) !== null && _ref5 !== void 0 ? _ref5 : 0); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
1768
-
1769
- if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
1770
- throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');
1771
- }
1772
-
1773
- if (!locale.localize) {
1774
- throw new RangeError('locale must contain localize property');
1775
- }
1776
-
1777
- if (!locale.formatLong) {
1778
- throw new RangeError('locale must contain formatLong property');
1779
- }
1780
-
1781
- var originalDate = toDate(dirtyDate);
1782
-
1783
- if (!isValid(originalDate)) {
1784
- throw new RangeError('Invalid time value');
1785
- } // Convert the date in system timezone to the same date in UTC+00:00 timezone.
1786
- // This ensures that when UTC functions will be implemented, locales will be compatible with them.
1787
- // See an issue about UTC functions: https://github.com/date-fns/date-fns/issues/376
1788
-
1789
-
1790
- var timezoneOffset = getTimezoneOffsetInMilliseconds(originalDate);
1791
- var utcDate = subMilliseconds(originalDate, timezoneOffset);
1792
- var formatterOptions = {
1793
- firstWeekContainsDate: firstWeekContainsDate,
1794
- weekStartsOn: weekStartsOn,
1795
- locale: locale,
1796
- _originalDate: originalDate
1797
- };
1798
- var result = formatStr.match(longFormattingTokensRegExp).map(function (substring) {
1799
- var firstCharacter = substring[0];
1800
-
1801
- if (firstCharacter === 'p' || firstCharacter === 'P') {
1802
- var longFormatter = longFormatters$1[firstCharacter];
1803
- return longFormatter(substring, locale.formatLong);
1804
- }
1805
-
1806
- return substring;
1807
- }).join('').match(formattingTokensRegExp).map(function (substring) {
1808
- // Replace two single quote characters with one single quote character
1809
- if (substring === "''") {
1810
- return "'";
1811
- }
1812
-
1813
- var firstCharacter = substring[0];
1814
-
1815
- if (firstCharacter === "'") {
1816
- return cleanEscapedString(substring);
1817
- }
1818
-
1819
- var formatter = formatters$1[firstCharacter];
1820
-
1821
- if (formatter) {
1822
- if (!(options !== null && options !== void 0 && options.useAdditionalWeekYearTokens) && isProtectedWeekYearToken(substring)) {
1823
- throwProtectedError(substring, dirtyFormatStr, String(dirtyDate));
1824
- }
1825
-
1826
- if (!(options !== null && options !== void 0 && options.useAdditionalDayOfYearTokens) && isProtectedDayOfYearToken(substring)) {
1827
- throwProtectedError(substring, dirtyFormatStr, String(dirtyDate));
1828
- }
1829
-
1830
- return formatter(utcDate, substring, locale.localize, formatterOptions);
1831
- }
1832
-
1833
- if (firstCharacter.match(unescapedLatinCharacterRegExp)) {
1834
- throw new RangeError('Format string contains an unescaped latin alphabet character `' + firstCharacter + '`');
1835
- }
1836
-
1837
- return substring;
1838
- }).join('');
1839
- return result;
1840
- }
1841
-
1842
- function cleanEscapedString(input) {
1843
- var matched = input.match(escapedStringRegExp);
1844
-
1845
- if (!matched) {
1846
- return input;
1847
- }
1848
-
1849
- return matched[1].replace(doubleQuoteRegExp, "'");
1850
- }
1851
-
1852
- export { toInteger as a, format as f, requiredArgs as r, toDate as t };
1853
- //# sourceMappingURL=bundle-pmVgESW3.js.map