@sendbird/uikit-react 3.9.1-rc-0 → 3.9.1-rc-3

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 (1926) hide show
  1. package/App.js +422 -0
  2. package/App.js.map +1 -0
  3. package/CHANGELOG.md +5 -0
  4. package/Channel/components/ChannelHeader.js +67 -0
  5. package/Channel/components/ChannelUI.js +162 -0
  6. package/Channel/components/ChannelUI.js.map +1 -0
  7. package/Channel/components/FileViewer.js +88 -0
  8. package/Channel/components/FrozenNotification.js +16 -0
  9. package/Channel/components/Message.js +341 -0
  10. package/Channel/components/MessageInput.js +205 -0
  11. package/Channel/components/MessageInput.js.map +1 -0
  12. package/Channel/components/MessageList.js +111 -0
  13. package/Channel/components/RemoveMessageModal.js +52 -0
  14. package/Channel/components/SuggestedMentionList.js +198 -0
  15. package/Channel/components/TypingIndicator.js +84 -0
  16. package/Channel/components/UnreadCount.js +33 -0
  17. package/Channel/context.js +24 -0
  18. package/Channel/hooks/useHandleUploadFiles.js +133 -0
  19. package/Channel/hooks/useHandleUploadFiles.js.map +1 -0
  20. package/Channel/hooks/useInitialMessagesFetch.js +109 -0
  21. package/Channel/utils/compareMessagesForGrouping.js +26 -0
  22. package/Channel/utils/getMessagePartsInfo.js +34 -0
  23. package/Channel.js +132 -0
  24. package/Channel.js.map +1 -0
  25. package/ChannelList/components/AddChannel.js +61 -0
  26. package/ChannelList/components/ChannelListHeader.js +41 -0
  27. package/ChannelList/components/ChannelListUI.js +147 -0
  28. package/ChannelList/components/ChannelPreview.js +131 -0
  29. package/ChannelList/components/ChannelPreviewAction.js +71 -0
  30. package/ChannelList/context.js +15 -0
  31. package/ChannelList.js +81 -0
  32. package/ChannelSettings/components/ChannelProfile.js +65 -0
  33. package/ChannelSettings/components/ChannelSettingsUI.js +119 -0
  34. package/ChannelSettings/components/EditDetailsModal.js +97 -0
  35. package/ChannelSettings/components/LeaveChannel.js +67 -0
  36. package/ChannelSettings/components/ModerationPanel.js +455 -0
  37. package/ChannelSettings/components/UserListItem.js +67 -0
  38. package/ChannelSettings/components/UserPanel.js +64 -0
  39. package/ChannelSettings/context.js +69 -0
  40. package/ChannelSettings.js +61 -0
  41. package/CreateChannel/components/CreateChannelUI.js +48 -0
  42. package/CreateChannel/components/InviteUsers.js +167 -0
  43. package/CreateChannel/components/SelectChannelType.js +80 -0
  44. package/CreateChannel/context.js +9 -0
  45. package/CreateChannel.js +44 -0
  46. package/CreateOpenChannel/components/CreateOpenChannelUI.js +68 -0
  47. package/CreateOpenChannel/context.js +49 -0
  48. package/CreateOpenChannel.js +33 -0
  49. package/EditUserProfile/components/EditUserProfileUI.js +118 -0
  50. package/EditUserProfile.js +34 -0
  51. package/MessageSearch/components/MessageSearchUI.js +89 -0
  52. package/MessageSearch/context.js +258 -0
  53. package/MessageSearch.js +77 -0
  54. package/OpenChannel/components/FrozenChannelNotification.js +15 -0
  55. package/OpenChannel/components/OpenChannelHeader.js +54 -0
  56. package/OpenChannel/components/OpenChannelHeader.js.map +1 -0
  57. package/OpenChannel/components/OpenChannelInput.js +63 -0
  58. package/OpenChannel/components/OpenChannelInput.js.map +1 -0
  59. package/OpenChannel/components/OpenChannelMessage.js +197 -0
  60. package/OpenChannel/components/OpenChannelMessage.js.map +1 -0
  61. package/OpenChannel/components/OpenChannelMessageList.js +122 -0
  62. package/OpenChannel/components/OpenChannelMessageList.js.map +1 -0
  63. package/OpenChannel/components/OpenChannelUI.js +102 -0
  64. package/OpenChannel/components/OpenChannelUI.js.map +1 -0
  65. package/OpenChannel/context.js +29 -0
  66. package/OpenChannel/context.js.map +1 -0
  67. package/OpenChannel.js +80 -0
  68. package/OpenChannel.js.map +1 -0
  69. package/OpenChannelList/components/OpenChannelListUI.js +114 -0
  70. package/OpenChannelList/components/OpenChannelPreview.js +29 -0
  71. package/OpenChannelList/context.js +7 -0
  72. package/OpenChannelList.js +45 -0
  73. package/OpenChannelSettings/components/EditDetailsModal.js +89 -0
  74. package/OpenChannelSettings/components/OpenChannelProfile.js +56 -0
  75. package/OpenChannelSettings/components/OpenChannelSettingsUI.js +90 -0
  76. package/OpenChannelSettings/components/OperatorUI.js +502 -0
  77. package/OpenChannelSettings/components/ParticipantUI.js +36 -0
  78. package/OpenChannelSettings/context.js +123 -0
  79. package/OpenChannelSettings.js +56 -0
  80. package/SendbirdProvider.js +1060 -0
  81. package/Thread/components/ParentMessageInfo.js +252 -0
  82. package/Thread/components/ParentMessageInfoItem.js +148 -0
  83. package/Thread/components/ThreadHeader.js +32 -0
  84. package/Thread/components/ThreadList.js +170 -0
  85. package/Thread/components/ThreadListItem.js +333 -0
  86. package/Thread/components/ThreadMessageInput.js +187 -0
  87. package/Thread/components/ThreadMessageInput.js.map +1 -0
  88. package/Thread/components/ThreadUI.js +266 -0
  89. package/Thread/components/ThreadUI.js.map +1 -0
  90. package/Thread/context.js +1334 -0
  91. package/Thread.js +128 -0
  92. package/Thread.js.map +1 -0
  93. package/VoicePlayer/context.js +7 -0
  94. package/VoicePlayer/useVoicePlayer.js +71 -0
  95. package/VoiceRecorder/context.js +132 -0
  96. package/VoiceRecorder/useVoiceRecorder.js +108 -0
  97. package/chunks/bundle-01jpPkcx.js +70 -0
  98. package/chunks/bundle-01jpPkcx.js.map +1 -0
  99. package/chunks/bundle-0QkkGO1-.js +125 -0
  100. package/chunks/bundle-0QkkGO1-.js.map +1 -0
  101. package/chunks/bundle-2Uy-IVG_.js +131 -0
  102. package/chunks/bundle-2Uy-IVG_.js.map +1 -0
  103. package/chunks/bundle-2dERvnGX.js +262 -0
  104. package/chunks/bundle-2dERvnGX.js.map +1 -0
  105. package/chunks/bundle-2vDuq7rZ.js +216 -0
  106. package/chunks/bundle-2vDuq7rZ.js.map +1 -0
  107. package/chunks/bundle-2yC2lcsy.js +1853 -0
  108. package/chunks/bundle-2yC2lcsy.js.map +1 -0
  109. package/chunks/bundle-3TDg04r-.js +176 -0
  110. package/chunks/bundle-3TDg04r-.js.map +1 -0
  111. package/chunks/bundle-5B1lC0AK.js +5 -0
  112. package/chunks/bundle-5B1lC0AK.js.map +1 -0
  113. package/chunks/bundle-5UuDIaK_.js +112 -0
  114. package/chunks/bundle-5UuDIaK_.js.map +1 -0
  115. package/chunks/bundle-6SK2BcAv.js +230 -0
  116. package/chunks/bundle-6SK2BcAv.js.map +1 -0
  117. package/chunks/bundle-9gCVckwb.js +16 -0
  118. package/chunks/bundle-9gCVckwb.js.map +1 -0
  119. package/chunks/bundle-9oPpMbea.js +834 -0
  120. package/chunks/bundle-9oPpMbea.js.map +1 -0
  121. package/chunks/bundle-D_pLwnQ0.js +508 -0
  122. package/chunks/bundle-D_pLwnQ0.js.map +1 -0
  123. package/chunks/bundle-Dc36wM2_.js +4 -0
  124. package/chunks/bundle-Dc36wM2_.js.map +1 -0
  125. package/chunks/bundle-EiWUV7ee.js +36 -0
  126. package/chunks/bundle-EiWUV7ee.js.map +1 -0
  127. package/chunks/bundle-ElZJQ78a.js +12 -0
  128. package/chunks/bundle-ElZJQ78a.js.map +1 -0
  129. package/chunks/bundle-FjwGlAhe.js +222 -0
  130. package/chunks/bundle-FjwGlAhe.js.map +1 -0
  131. package/chunks/bundle-J3jO_8Dw.js +28 -0
  132. package/chunks/bundle-J3jO_8Dw.js.map +1 -0
  133. package/chunks/bundle-KYUEdbw1.js +98 -0
  134. package/chunks/bundle-KYUEdbw1.js.map +1 -0
  135. package/chunks/bundle-LeSGRB3v.js +16 -0
  136. package/chunks/bundle-LeSGRB3v.js.map +1 -0
  137. package/chunks/bundle-MlGtQfZg.js +174 -0
  138. package/chunks/bundle-MlGtQfZg.js.map +1 -0
  139. package/chunks/bundle-OJLCWEjZ.js +69 -0
  140. package/chunks/bundle-OJLCWEjZ.js.map +1 -0
  141. package/chunks/bundle-Oh0p64yp.js +26 -0
  142. package/chunks/bundle-Oh0p64yp.js.map +1 -0
  143. package/chunks/bundle-P4MVV67N.js +31 -0
  144. package/chunks/bundle-P4MVV67N.js.map +1 -0
  145. package/chunks/bundle-QZ3toP3s.js +8 -0
  146. package/chunks/bundle-QZ3toP3s.js.map +1 -0
  147. package/chunks/bundle-QgJ-QF2G.js +24 -0
  148. package/chunks/bundle-QgJ-QF2G.js.map +1 -0
  149. package/chunks/bundle-QjlA2FJF.js +97 -0
  150. package/chunks/bundle-QjlA2FJF.js.map +1 -0
  151. package/chunks/bundle-RmLRpAz9.js +14 -0
  152. package/chunks/bundle-RmLRpAz9.js.map +1 -0
  153. package/chunks/bundle-SCA97hXF.js +13 -0
  154. package/chunks/bundle-SCA97hXF.js.map +1 -0
  155. package/chunks/bundle-UNImIpvz.js +4 -0
  156. package/chunks/bundle-UNImIpvz.js.map +1 -0
  157. package/chunks/bundle-Uxbdznli.js +13 -0
  158. package/chunks/bundle-Uxbdznli.js.map +1 -0
  159. package/chunks/bundle-V9lKxPrR.js +96 -0
  160. package/chunks/bundle-V9lKxPrR.js.map +1 -0
  161. package/chunks/bundle-WNY8ys7l.js +218 -0
  162. package/chunks/bundle-WNY8ys7l.js.map +1 -0
  163. package/chunks/bundle-Z7mQGJRw.js +4 -0
  164. package/chunks/bundle-Z7mQGJRw.js.map +1 -0
  165. package/chunks/bundle-ZpJZTfoV.js +42 -0
  166. package/chunks/bundle-ZpJZTfoV.js.map +1 -0
  167. package/chunks/bundle-_clCpIEv.js +235 -0
  168. package/chunks/bundle-_clCpIEv.js.map +1 -0
  169. package/chunks/bundle-aH34IG5T.js +78 -0
  170. package/chunks/bundle-aH34IG5T.js.map +1 -0
  171. package/chunks/bundle-aeBYYspY.js +18 -0
  172. package/chunks/bundle-aeBYYspY.js.map +1 -0
  173. package/chunks/bundle-b1oTo8nl.js +132 -0
  174. package/chunks/bundle-b1oTo8nl.js.map +1 -0
  175. package/chunks/bundle-bB65NrBo.js +15 -0
  176. package/chunks/bundle-bB65NrBo.js.map +1 -0
  177. package/chunks/bundle-bDrmymS7.js +31 -0
  178. package/chunks/bundle-bDrmymS7.js.map +1 -0
  179. package/chunks/bundle-be0-DpAW.js +9 -0
  180. package/chunks/bundle-be0-DpAW.js.map +1 -0
  181. package/chunks/bundle-clvMvbED.js +4 -0
  182. package/chunks/bundle-clvMvbED.js.map +1 -0
  183. package/chunks/bundle-dnb1LuEr.js +1541 -0
  184. package/chunks/bundle-dnb1LuEr.js.map +1 -0
  185. package/chunks/bundle-el_ZuVfM.js +25 -0
  186. package/chunks/bundle-el_ZuVfM.js.map +1 -0
  187. package/chunks/bundle-h5FVzAFt.js +77 -0
  188. package/chunks/bundle-h5FVzAFt.js.map +1 -0
  189. package/chunks/bundle-imalNSLb.js +72 -0
  190. package/chunks/bundle-imalNSLb.js.map +1 -0
  191. package/chunks/bundle-jZAA8To5.js +657 -0
  192. package/chunks/bundle-jZAA8To5.js.map +1 -0
  193. package/chunks/bundle-kFKvO5kE.js +66 -0
  194. package/chunks/bundle-kFKvO5kE.js.map +1 -0
  195. package/chunks/bundle-le7uFwMX.js +76 -0
  196. package/chunks/bundle-le7uFwMX.js.map +1 -0
  197. package/chunks/bundle-lsTPyhe8.js +134 -0
  198. package/chunks/bundle-lsTPyhe8.js.map +1 -0
  199. package/chunks/bundle-n0XRGJUE.js +1404 -0
  200. package/chunks/bundle-n0XRGJUE.js.map +1 -0
  201. package/chunks/bundle-nfhfORv1.js +277 -0
  202. package/chunks/bundle-nfhfORv1.js.map +1 -0
  203. package/chunks/bundle-p0743TDx.js +36 -0
  204. package/chunks/bundle-p0743TDx.js.map +1 -0
  205. package/chunks/bundle-pPXMJqsS.js +147 -0
  206. package/chunks/bundle-pPXMJqsS.js.map +1 -0
  207. package/chunks/bundle-pn6NSL3O.js +57 -0
  208. package/chunks/bundle-pn6NSL3O.js.map +1 -0
  209. package/chunks/bundle-rx40_uS_.js +211 -0
  210. package/chunks/bundle-rx40_uS_.js.map +1 -0
  211. package/chunks/bundle-tAxBnRjT.js +174 -0
  212. package/chunks/bundle-tAxBnRjT.js.map +1 -0
  213. package/chunks/bundle-u4FcOlD_.js +62 -0
  214. package/chunks/bundle-u4FcOlD_.js.map +1 -0
  215. package/chunks/bundle-viJ5cbpO.js +24 -0
  216. package/chunks/bundle-viJ5cbpO.js.map +1 -0
  217. package/chunks/bundle-x9fzxwb8.js +355 -0
  218. package/chunks/bundle-x9fzxwb8.js.map +1 -0
  219. package/chunks/bundle-zoJ1TiRJ.js +29 -0
  220. package/chunks/bundle-zoJ1TiRJ.js.map +1 -0
  221. package/cjs/App.js +424 -0
  222. package/cjs/App.js.map +1 -0
  223. package/cjs/Channel/components/ChannelHeader.js +69 -0
  224. package/cjs/Channel/components/ChannelUI.js +164 -0
  225. package/cjs/Channel/components/ChannelUI.js.map +1 -0
  226. package/cjs/Channel/components/FileViewer.js +93 -0
  227. package/cjs/Channel/components/FrozenNotification.js +18 -0
  228. package/cjs/Channel/components/Message.js +343 -0
  229. package/cjs/Channel/components/MessageInput.js +210 -0
  230. package/cjs/Channel/components/MessageInput.js.map +1 -0
  231. package/cjs/Channel/components/MessageList.js +117 -0
  232. package/cjs/Channel/components/RemoveMessageModal.js +54 -0
  233. package/cjs/Channel/components/SuggestedMentionList.js +200 -0
  234. package/cjs/Channel/components/TypingIndicator.js +89 -0
  235. package/cjs/Channel/components/UnreadCount.js +35 -0
  236. package/cjs/Channel/context.js +31 -0
  237. package/cjs/Channel/hooks/useHandleUploadFiles.js +135 -0
  238. package/cjs/Channel/hooks/useHandleUploadFiles.js.map +1 -0
  239. package/cjs/Channel/hooks/useInitialMessagesFetch.js +111 -0
  240. package/cjs/Channel/utils/compareMessagesForGrouping.js +28 -0
  241. package/cjs/Channel/utils/getMessagePartsInfo.js +36 -0
  242. package/cjs/Channel.js +134 -0
  243. package/cjs/Channel.js.map +1 -0
  244. package/cjs/ChannelList/components/AddChannel.js +66 -0
  245. package/cjs/ChannelList/components/ChannelListHeader.js +43 -0
  246. package/cjs/ChannelList/components/ChannelListUI.js +149 -0
  247. package/cjs/ChannelList/components/ChannelPreview.js +133 -0
  248. package/cjs/ChannelList/components/ChannelPreviewAction.js +73 -0
  249. package/cjs/ChannelList/context.js +22 -0
  250. package/cjs/ChannelList.js +83 -0
  251. package/cjs/ChannelSettings/components/ChannelProfile.js +67 -0
  252. package/cjs/ChannelSettings/components/ChannelSettingsUI.js +121 -0
  253. package/cjs/ChannelSettings/components/EditDetailsModal.js +99 -0
  254. package/cjs/ChannelSettings/components/LeaveChannel.js +69 -0
  255. package/cjs/ChannelSettings/components/ModerationPanel.js +457 -0
  256. package/cjs/ChannelSettings/components/UserListItem.js +69 -0
  257. package/cjs/ChannelSettings/components/UserPanel.js +66 -0
  258. package/cjs/ChannelSettings/context.js +72 -0
  259. package/cjs/ChannelSettings.js +63 -0
  260. package/cjs/CreateChannel/components/CreateChannelUI.js +50 -0
  261. package/cjs/CreateChannel/components/InviteUsers.js +169 -0
  262. package/cjs/CreateChannel/components/SelectChannelType.js +82 -0
  263. package/cjs/CreateChannel/context.js +16 -0
  264. package/cjs/CreateChannel.js +46 -0
  265. package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +70 -0
  266. package/cjs/CreateOpenChannel/context.js +52 -0
  267. package/cjs/CreateOpenChannel.js +35 -0
  268. package/cjs/EditUserProfile/components/EditUserProfileUI.js +125 -0
  269. package/cjs/EditUserProfile.js +36 -0
  270. package/cjs/MessageSearch/components/MessageSearchUI.js +94 -0
  271. package/cjs/MessageSearch/context.js +261 -0
  272. package/cjs/MessageSearch.js +79 -0
  273. package/cjs/OpenChannel/components/FrozenChannelNotification.js +17 -0
  274. package/cjs/OpenChannel/components/OpenChannelHeader.js +56 -0
  275. package/cjs/OpenChannel/components/OpenChannelHeader.js.map +1 -0
  276. package/cjs/OpenChannel/components/OpenChannelInput.js +65 -0
  277. package/cjs/OpenChannel/components/OpenChannelInput.js.map +1 -0
  278. package/cjs/OpenChannel/components/OpenChannelMessage.js +199 -0
  279. package/cjs/OpenChannel/components/OpenChannelMessage.js.map +1 -0
  280. package/cjs/OpenChannel/components/OpenChannelMessageList.js +124 -0
  281. package/cjs/OpenChannel/components/OpenChannelMessageList.js.map +1 -0
  282. package/cjs/OpenChannel/components/OpenChannelUI.js +104 -0
  283. package/cjs/OpenChannel/components/OpenChannelUI.js.map +1 -0
  284. package/cjs/OpenChannel/context.js +36 -0
  285. package/cjs/OpenChannel/context.js.map +1 -0
  286. package/cjs/OpenChannel.js +82 -0
  287. package/cjs/OpenChannel.js.map +1 -0
  288. package/cjs/OpenChannelList/components/OpenChannelListUI.js +116 -0
  289. package/cjs/OpenChannelList/components/OpenChannelPreview.js +31 -0
  290. package/cjs/OpenChannelList/context.js +17 -0
  291. package/cjs/OpenChannelList.js +47 -0
  292. package/cjs/OpenChannelSettings/components/EditDetailsModal.js +91 -0
  293. package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +58 -0
  294. package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +92 -0
  295. package/cjs/OpenChannelSettings/components/OperatorUI.js +508 -0
  296. package/cjs/OpenChannelSettings/components/ParticipantUI.js +42 -0
  297. package/cjs/OpenChannelSettings/context.js +126 -0
  298. package/cjs/OpenChannelSettings.js +58 -0
  299. package/cjs/SendbirdProvider.js +1066 -0
  300. package/cjs/Thread/components/ParentMessageInfo.js +254 -0
  301. package/cjs/Thread/components/ParentMessageInfoItem.js +150 -0
  302. package/cjs/Thread/components/ThreadHeader.js +34 -0
  303. package/cjs/Thread/components/ThreadList.js +172 -0
  304. package/cjs/Thread/components/ThreadListItem.js +335 -0
  305. package/cjs/Thread/components/ThreadMessageInput.js +189 -0
  306. package/cjs/Thread/components/ThreadMessageInput.js.map +1 -0
  307. package/cjs/Thread/components/ThreadUI.js +268 -0
  308. package/cjs/Thread/components/ThreadUI.js.map +1 -0
  309. package/cjs/Thread/context.js +1337 -0
  310. package/cjs/Thread.js +130 -0
  311. package/cjs/Thread.js.map +1 -0
  312. package/cjs/VoicePlayer/context.js +15 -0
  313. package/cjs/VoicePlayer/useVoicePlayer.js +73 -0
  314. package/cjs/VoiceRecorder/context.js +138 -0
  315. package/cjs/VoiceRecorder/useVoiceRecorder.js +111 -0
  316. package/cjs/chunks/bundle--2X-TjXB.js +46 -0
  317. package/cjs/chunks/bundle--2X-TjXB.js.map +1 -0
  318. package/cjs/chunks/bundle--GPODtTo.js +114 -0
  319. package/cjs/chunks/bundle--GPODtTo.js.map +1 -0
  320. package/cjs/chunks/bundle--I6lxHSG.js +68 -0
  321. package/cjs/chunks/bundle--I6lxHSG.js.map +1 -0
  322. package/cjs/chunks/bundle-0IEdwYxh.js +224 -0
  323. package/cjs/chunks/bundle-0IEdwYxh.js.map +1 -0
  324. package/cjs/chunks/bundle-1U64lSm2.js +839 -0
  325. package/cjs/chunks/bundle-1U64lSm2.js.map +1 -0
  326. package/cjs/chunks/bundle-23b_gFNF.js +22 -0
  327. package/cjs/chunks/bundle-23b_gFNF.js.map +1 -0
  328. package/cjs/chunks/bundle-25V60sRJ.js +27 -0
  329. package/cjs/chunks/bundle-25V60sRJ.js.map +1 -0
  330. package/cjs/chunks/bundle-3Z1Y8ucz.js +360 -0
  331. package/cjs/chunks/bundle-3Z1Y8ucz.js.map +1 -0
  332. package/cjs/chunks/bundle-3ai54ff5.js +27 -0
  333. package/cjs/chunks/bundle-3ai54ff5.js.map +1 -0
  334. package/cjs/chunks/bundle-3hv1h6gn.js +15 -0
  335. package/cjs/chunks/bundle-3hv1h6gn.js.map +1 -0
  336. package/cjs/chunks/bundle-4GLlXPNp.js +7 -0
  337. package/cjs/chunks/bundle-4GLlXPNp.js.map +1 -0
  338. package/cjs/chunks/bundle-4JkdZpBv.js +10 -0
  339. package/cjs/chunks/bundle-4JkdZpBv.js.map +1 -0
  340. package/cjs/chunks/bundle-4g9DAi1s.js +279 -0
  341. package/cjs/chunks/bundle-4g9DAi1s.js.map +1 -0
  342. package/cjs/chunks/bundle-5qGthpQs.js +30 -0
  343. package/cjs/chunks/bundle-5qGthpQs.js.map +1 -0
  344. package/cjs/chunks/bundle-6Lf4NQTH.js +15 -0
  345. package/cjs/chunks/bundle-6Lf4NQTH.js.map +1 -0
  346. package/cjs/chunks/bundle-8yuPjnwO.js +50 -0
  347. package/cjs/chunks/bundle-8yuPjnwO.js.map +1 -0
  348. package/cjs/chunks/bundle-909MOW9E.js +79 -0
  349. package/cjs/chunks/bundle-909MOW9E.js.map +1 -0
  350. package/cjs/chunks/bundle-9lb-if64.js +6 -0
  351. package/cjs/chunks/bundle-9lb-if64.js.map +1 -0
  352. package/cjs/chunks/bundle-CIg-Lbi9.js +264 -0
  353. package/cjs/chunks/bundle-CIg-Lbi9.js.map +1 -0
  354. package/cjs/chunks/bundle-D53Mfvlm.js +510 -0
  355. package/cjs/chunks/bundle-D53Mfvlm.js.map +1 -0
  356. package/cjs/chunks/bundle-DjEMvWcY.js +109 -0
  357. package/cjs/chunks/bundle-DjEMvWcY.js.map +1 -0
  358. package/cjs/chunks/bundle-EHcEzPai.js +39 -0
  359. package/cjs/chunks/bundle-EHcEzPai.js.map +1 -0
  360. package/cjs/chunks/bundle-EKnRh3sa.js +28 -0
  361. package/cjs/chunks/bundle-EKnRh3sa.js.map +1 -0
  362. package/cjs/chunks/bundle-GP3Ucpb7.js +8 -0
  363. package/cjs/chunks/bundle-GP3Ucpb7.js.map +1 -0
  364. package/cjs/chunks/bundle-IgGMwQ1Y.js +178 -0
  365. package/cjs/chunks/bundle-IgGMwQ1Y.js.map +1 -0
  366. package/cjs/chunks/bundle-JUKkOJIB.js +6 -0
  367. package/cjs/chunks/bundle-JUKkOJIB.js.map +1 -0
  368. package/cjs/chunks/bundle-JYWBy0ot.js +84 -0
  369. package/cjs/chunks/bundle-JYWBy0ot.js.map +1 -0
  370. package/cjs/chunks/bundle-L2600BGM.js +102 -0
  371. package/cjs/chunks/bundle-L2600BGM.js.map +1 -0
  372. package/cjs/chunks/bundle-OGFlCewV.js +6 -0
  373. package/cjs/chunks/bundle-OGFlCewV.js.map +1 -0
  374. package/cjs/chunks/bundle-P7HUsbNe.js +38 -0
  375. package/cjs/chunks/bundle-P7HUsbNe.js.map +1 -0
  376. package/cjs/chunks/bundle-PNC743vH.js +1858 -0
  377. package/cjs/chunks/bundle-PNC743vH.js.map +1 -0
  378. package/cjs/chunks/bundle-TC__EeCU.js +20 -0
  379. package/cjs/chunks/bundle-TC__EeCU.js.map +1 -0
  380. package/cjs/chunks/bundle-U0you6tQ.js +707 -0
  381. package/cjs/chunks/bundle-U0you6tQ.js.map +1 -0
  382. package/cjs/chunks/bundle-W29eLbKQ.js +136 -0
  383. package/cjs/chunks/bundle-W29eLbKQ.js.map +1 -0
  384. package/cjs/chunks/bundle-WIKBuFDZ.js +74 -0
  385. package/cjs/chunks/bundle-WIKBuFDZ.js.map +1 -0
  386. package/cjs/chunks/bundle-X-h-pfMb.js +74 -0
  387. package/cjs/chunks/bundle-X-h-pfMb.js.map +1 -0
  388. package/cjs/chunks/bundle-Y7V5JPsS.js +18 -0
  389. package/cjs/chunks/bundle-Y7V5JPsS.js.map +1 -0
  390. package/cjs/chunks/bundle-YHRAEXEa.js +84 -0
  391. package/cjs/chunks/bundle-YHRAEXEa.js.map +1 -0
  392. package/cjs/chunks/bundle-ZBZSB-Iv.js +11 -0
  393. package/cjs/chunks/bundle-ZBZSB-Iv.js.map +1 -0
  394. package/cjs/chunks/bundle-b39Ks7-x.js +139 -0
  395. package/cjs/chunks/bundle-b39Ks7-x.js.map +1 -0
  396. package/cjs/chunks/bundle-bVlBRLO6.js +99 -0
  397. package/cjs/chunks/bundle-bVlBRLO6.js.map +1 -0
  398. package/cjs/chunks/bundle-bwFcDx5v.js +16 -0
  399. package/cjs/chunks/bundle-bwFcDx5v.js.map +1 -0
  400. package/cjs/chunks/bundle-dKpJ5taX.js +220 -0
  401. package/cjs/chunks/bundle-dKpJ5taX.js.map +1 -0
  402. package/cjs/chunks/bundle-dr-rMNDd.js +159 -0
  403. package/cjs/chunks/bundle-dr-rMNDd.js.map +1 -0
  404. package/cjs/chunks/bundle-fhVFcILD.js +79 -0
  405. package/cjs/chunks/bundle-fhVFcILD.js.map +1 -0
  406. package/cjs/chunks/bundle-gXTZEh_4.js +238 -0
  407. package/cjs/chunks/bundle-gXTZEh_4.js.map +1 -0
  408. package/cjs/chunks/bundle-gpn0mVMr.js +224 -0
  409. package/cjs/chunks/bundle-gpn0mVMr.js.map +1 -0
  410. package/cjs/chunks/bundle-hq_Lh1xI.js +35 -0
  411. package/cjs/chunks/bundle-hq_Lh1xI.js.map +1 -0
  412. package/cjs/chunks/bundle-iGH2iRXN.js +137 -0
  413. package/cjs/chunks/bundle-iGH2iRXN.js.map +1 -0
  414. package/cjs/chunks/bundle-jRp4gUpx.js +32 -0
  415. package/cjs/chunks/bundle-jRp4gUpx.js.map +1 -0
  416. package/cjs/chunks/bundle-lW2r-Vc8.js +19 -0
  417. package/cjs/chunks/bundle-lW2r-Vc8.js.map +1 -0
  418. package/cjs/chunks/bundle-ljfL9Js7.js +128 -0
  419. package/cjs/chunks/bundle-ljfL9Js7.js.map +1 -0
  420. package/cjs/chunks/bundle-mEUhB1Ku.js +69 -0
  421. package/cjs/chunks/bundle-mEUhB1Ku.js.map +1 -0
  422. package/cjs/chunks/bundle-mR0B_w8v.js +217 -0
  423. package/cjs/chunks/bundle-mR0B_w8v.js.map +1 -0
  424. package/cjs/chunks/bundle-q1mY6em_.js +17 -0
  425. package/cjs/chunks/bundle-q1mY6em_.js.map +1 -0
  426. package/cjs/chunks/bundle-rogNw2a6.js +26 -0
  427. package/cjs/chunks/bundle-rogNw2a6.js.map +1 -0
  428. package/cjs/chunks/bundle-rx_084BI.js +1409 -0
  429. package/cjs/chunks/bundle-rx_084BI.js.map +1 -0
  430. package/cjs/chunks/bundle-vKfys8FD.js +236 -0
  431. package/cjs/chunks/bundle-vKfys8FD.js.map +1 -0
  432. package/cjs/chunks/bundle-vL_bAZGA.js +1545 -0
  433. package/cjs/chunks/bundle-vL_bAZGA.js.map +1 -0
  434. package/cjs/chunks/bundle-y3R6RCyJ.js +75 -0
  435. package/cjs/chunks/bundle-y3R6RCyJ.js.map +1 -0
  436. package/cjs/chunks/bundle-yb7oZRje.js +181 -0
  437. package/cjs/chunks/bundle-yb7oZRje.js.map +1 -0
  438. package/cjs/chunks/bundle-yn88fhqM.js +179 -0
  439. package/cjs/chunks/bundle-yn88fhqM.js.map +1 -0
  440. package/cjs/hooks/useModal.js +59 -0
  441. package/cjs/index.js +223 -0
  442. package/cjs/index.js.map +1 -0
  443. package/cjs/pubSub/topics.js +18 -0
  444. package/cjs/sendbirdSelectors.js +580 -0
  445. package/cjs/ui/Accordion.js +52 -0
  446. package/cjs/ui/AccordionGroup.js +17 -0
  447. package/cjs/ui/AdminMessage.js +21 -0
  448. package/cjs/ui/Avatar.js +18 -0
  449. package/cjs/ui/Badge.js +26 -0
  450. package/cjs/ui/BottomSheet.js +38 -0
  451. package/cjs/ui/Button.js +53 -0
  452. package/cjs/ui/ChannelAvatar.js +32 -0
  453. package/cjs/ui/ConnectionStatus.js +20 -0
  454. package/cjs/ui/ContextMenu.js +216 -0
  455. package/cjs/ui/DateSeparator.js +21 -0
  456. package/cjs/ui/EmojiReactions.js +179 -0
  457. package/cjs/ui/FileMessageItemBody.js +41 -0
  458. package/cjs/ui/FileViewer.js +33 -0
  459. package/cjs/ui/Icon.js +1140 -0
  460. package/cjs/ui/IconButton.js +26 -0
  461. package/cjs/ui/ImageRenderer.js +151 -0
  462. package/cjs/ui/Input.js +26 -0
  463. package/cjs/ui/Label.js +16 -0
  464. package/cjs/ui/LinkLabel.js +32 -0
  465. package/cjs/ui/Loader.js +20 -0
  466. package/cjs/ui/MentionLabel.js +69 -0
  467. package/cjs/ui/MentionUserLabel.js +12 -0
  468. package/cjs/ui/MessageContent.js +341 -0
  469. package/cjs/ui/MessageInput/hooks/usePaste.js +17 -0
  470. package/cjs/ui/MessageInput.js +464 -0
  471. package/cjs/ui/MessageItemMenu.js +131 -0
  472. package/cjs/ui/MessageItemReactionMenu.js +58 -0
  473. package/cjs/ui/MessageSearchFileItem.js +92 -0
  474. package/cjs/ui/MessageSearchItem.js +63 -0
  475. package/cjs/ui/MessageStatus.js +26 -0
  476. package/cjs/ui/Modal.js +26 -0
  477. package/cjs/ui/MutedAvatarOverlay.js +23 -0
  478. package/cjs/ui/OGMessageItemBody.js +87 -0
  479. package/cjs/ui/OpenChannelAdminMessage.js +17 -0
  480. package/cjs/ui/OpenChannelAvatar.js +26 -0
  481. package/cjs/ui/OpenchannelConversationHeader.js +34 -0
  482. package/cjs/ui/OpenchannelFileMessage.js +141 -0
  483. package/cjs/ui/OpenchannelOGMessage.js +186 -0
  484. package/cjs/ui/OpenchannelThumbnailMessage.js +178 -0
  485. package/cjs/ui/OpenchannelUserMessage.js +149 -0
  486. package/cjs/ui/PlaceHolder.js +58 -0
  487. package/cjs/ui/PlaybackTime.js +22 -0
  488. package/cjs/ui/QuoteMessage.js +81 -0
  489. package/cjs/ui/QuoteMessageInput.js +84 -0
  490. package/cjs/ui/ReactionBadge.js +28 -0
  491. package/cjs/ui/ReactionButton.js +25 -0
  492. package/cjs/ui/SortByRow.js +31 -0
  493. package/cjs/ui/TextButton.js +17 -0
  494. package/cjs/ui/TextMessageItemBody.js +66 -0
  495. package/cjs/ui/ThreadReplies.js +44 -0
  496. package/cjs/ui/ThumbnailMessageItemBody.js +45 -0
  497. package/cjs/ui/Toggle.js +131 -0
  498. package/cjs/ui/Tooltip.js +17 -0
  499. package/cjs/ui/TooltipWrapper.js +21 -0
  500. package/cjs/ui/TypingIndicatorBubble.js +69 -0
  501. package/cjs/ui/UnknownMessageItemBody.js +29 -0
  502. package/cjs/ui/UserListItem.js +75 -0
  503. package/cjs/ui/UserProfile.js +60 -0
  504. package/cjs/ui/VoiceMessageInput.js +21 -0
  505. package/cjs/ui/VoiceMessageItemBody.js +74 -0
  506. package/cjs/ui/Word.js +82 -0
  507. package/cjs/useSendbirdStateContext.js +27 -0
  508. package/cjs/utils/message/isVoiceMessage.js +11 -0
  509. package/cjs/withSendbird.js +28 -0
  510. package/dist/index.css +7839 -0
  511. package/dist/index.css.map +1 -0
  512. package/hooks/useModal.js +55 -0
  513. package/index.js +201 -0
  514. package/index.js.map +1 -0
  515. package/package.json +1477 -111
  516. package/pubSub/topics.js +2 -0
  517. package/sendbirdSelectors.js +555 -0
  518. package/types/modules/Channel/context/hooks/useHandleUploadFiles.d.ts +19 -0
  519. package/types/modules/ChannelList/dux/actionTypes.d.ts +68 -0
  520. package/types/modules/OpenChannel/context/hooks/useFileUploadCallback.d.ts +27 -0
  521. package/types/utils/consts.d.ts +24 -0
  522. package/ui/Accordion.js +47 -0
  523. package/ui/AccordionGroup.js +15 -0
  524. package/ui/AdminMessage.js +19 -0
  525. package/ui/Avatar.js +9 -0
  526. package/ui/Badge.js +24 -0
  527. package/ui/BottomSheet.js +36 -0
  528. package/ui/Button.js +49 -0
  529. package/ui/ChannelAvatar.js +30 -0
  530. package/ui/ConnectionStatus.js +18 -0
  531. package/ui/ContextMenu.js +207 -0
  532. package/ui/DateSeparator.js +19 -0
  533. package/ui/EmojiReactions.js +177 -0
  534. package/ui/FileMessageItemBody.js +39 -0
  535. package/ui/FileViewer.js +24 -0
  536. package/ui/Icon.js +1116 -0
  537. package/ui/IconButton.js +24 -0
  538. package/ui/ImageRenderer.js +145 -0
  539. package/ui/Input.js +21 -0
  540. package/ui/Label.js +5 -0
  541. package/ui/LinkLabel.js +26 -0
  542. package/ui/Loader.js +18 -0
  543. package/ui/MentionLabel.js +67 -0
  544. package/ui/MentionUserLabel.js +10 -0
  545. package/ui/MessageContent.js +339 -0
  546. package/ui/MessageInput/hooks/usePaste.js +8 -0
  547. package/ui/MessageInput.js +462 -0
  548. package/ui/MessageItemMenu.js +126 -0
  549. package/ui/MessageItemReactionMenu.js +53 -0
  550. package/ui/MessageSearchFileItem.js +90 -0
  551. package/ui/MessageSearchItem.js +61 -0
  552. package/ui/MessageStatus.js +17 -0
  553. package/ui/Modal.js +14 -0
  554. package/ui/MutedAvatarOverlay.js +21 -0
  555. package/ui/OGMessageItemBody.js +85 -0
  556. package/ui/OpenChannelAdminMessage.js +15 -0
  557. package/ui/OpenChannelAvatar.js +24 -0
  558. package/ui/OpenchannelConversationHeader.js +32 -0
  559. package/ui/OpenchannelFileMessage.js +139 -0
  560. package/ui/OpenchannelOGMessage.js +184 -0
  561. package/ui/OpenchannelThumbnailMessage.js +176 -0
  562. package/ui/OpenchannelUserMessage.js +147 -0
  563. package/ui/PlaceHolder.js +53 -0
  564. package/ui/PlaybackTime.js +17 -0
  565. package/ui/QuoteMessage.js +79 -0
  566. package/ui/QuoteMessageInput.js +82 -0
  567. package/ui/ReactionBadge.js +26 -0
  568. package/ui/ReactionButton.js +23 -0
  569. package/ui/SortByRow.js +29 -0
  570. package/ui/TextButton.js +15 -0
  571. package/ui/TextMessageItemBody.js +64 -0
  572. package/ui/ThreadReplies.js +42 -0
  573. package/ui/ThumbnailMessageItemBody.js +43 -0
  574. package/ui/Toggle.js +126 -0
  575. package/ui/Tooltip.js +15 -0
  576. package/ui/TooltipWrapper.js +19 -0
  577. package/ui/TypingIndicatorBubble.js +67 -0
  578. package/ui/UnknownMessageItemBody.js +27 -0
  579. package/ui/UserListItem.js +73 -0
  580. package/ui/UserProfile.js +58 -0
  581. package/ui/VoiceMessageInput.js +15 -0
  582. package/ui/VoiceMessageItemBody.js +69 -0
  583. package/ui/Word.js +80 -0
  584. package/useSendbirdStateContext.js +22 -0
  585. package/utils/message/isVoiceMessage.js +9 -0
  586. package/withSendbird.js +23 -0
  587. package/dist/App.js +0 -421
  588. package/dist/App.js.map +0 -1
  589. package/dist/CHANGELOG.md +0 -1975
  590. package/dist/Channel/components/ChannelHeader.js +0 -67
  591. package/dist/Channel/components/ChannelUI.js +0 -161
  592. package/dist/Channel/components/ChannelUI.js.map +0 -1
  593. package/dist/Channel/components/FileViewer.js +0 -88
  594. package/dist/Channel/components/FrozenNotification.js +0 -16
  595. package/dist/Channel/components/Message.js +0 -341
  596. package/dist/Channel/components/MessageInput.js +0 -204
  597. package/dist/Channel/components/MessageInput.js.map +0 -1
  598. package/dist/Channel/components/MessageList.js +0 -111
  599. package/dist/Channel/components/RemoveMessageModal.js +0 -52
  600. package/dist/Channel/components/SuggestedMentionList.js +0 -198
  601. package/dist/Channel/components/TypingIndicator.js +0 -84
  602. package/dist/Channel/components/UnreadCount.js +0 -33
  603. package/dist/Channel/context.js +0 -24
  604. package/dist/Channel/hooks/useHandleUploadFiles.js +0 -237
  605. package/dist/Channel/hooks/useHandleUploadFiles.js.map +0 -1
  606. package/dist/Channel/hooks/useInitialMessagesFetch.js +0 -109
  607. package/dist/Channel/utils/compareMessagesForGrouping.js +0 -26
  608. package/dist/Channel/utils/getMessagePartsInfo.js +0 -34
  609. package/dist/Channel.js +0 -131
  610. package/dist/Channel.js.map +0 -1
  611. package/dist/ChannelList/components/AddChannel.js +0 -61
  612. package/dist/ChannelList/components/ChannelListHeader.js +0 -41
  613. package/dist/ChannelList/components/ChannelListUI.js +0 -147
  614. package/dist/ChannelList/components/ChannelPreview.js +0 -131
  615. package/dist/ChannelList/components/ChannelPreviewAction.js +0 -71
  616. package/dist/ChannelList/context.js +0 -15
  617. package/dist/ChannelList.js +0 -81
  618. package/dist/ChannelSettings/components/ChannelProfile.js +0 -65
  619. package/dist/ChannelSettings/components/ChannelSettingsUI.js +0 -119
  620. package/dist/ChannelSettings/components/EditDetailsModal.js +0 -97
  621. package/dist/ChannelSettings/components/LeaveChannel.js +0 -67
  622. package/dist/ChannelSettings/components/ModerationPanel.js +0 -455
  623. package/dist/ChannelSettings/components/UserListItem.js +0 -67
  624. package/dist/ChannelSettings/components/UserPanel.js +0 -64
  625. package/dist/ChannelSettings/context.js +0 -69
  626. package/dist/ChannelSettings.js +0 -61
  627. package/dist/CreateChannel/components/CreateChannelUI.js +0 -48
  628. package/dist/CreateChannel/components/InviteUsers.js +0 -167
  629. package/dist/CreateChannel/components/SelectChannelType.js +0 -80
  630. package/dist/CreateChannel/context.js +0 -9
  631. package/dist/CreateChannel.js +0 -44
  632. package/dist/CreateOpenChannel/components/CreateOpenChannelUI.js +0 -68
  633. package/dist/CreateOpenChannel/context.js +0 -49
  634. package/dist/CreateOpenChannel.js +0 -33
  635. package/dist/EditUserProfile/components/EditUserProfileUI.js +0 -118
  636. package/dist/EditUserProfile.js +0 -34
  637. package/dist/LICENSE +0 -21
  638. package/dist/MessageSearch/components/MessageSearchUI.js +0 -89
  639. package/dist/MessageSearch/context.js +0 -258
  640. package/dist/MessageSearch.js +0 -77
  641. package/dist/OpenChannel/components/FrozenChannelNotification.js +0 -15
  642. package/dist/OpenChannel/components/OpenChannelHeader.js +0 -47
  643. package/dist/OpenChannel/components/OpenChannelHeader.js.map +0 -1
  644. package/dist/OpenChannel/components/OpenChannelInput.js +0 -56
  645. package/dist/OpenChannel/components/OpenChannelInput.js.map +0 -1
  646. package/dist/OpenChannel/components/OpenChannelMessage.js +0 -196
  647. package/dist/OpenChannel/components/OpenChannelMessage.js.map +0 -1
  648. package/dist/OpenChannel/components/OpenChannelMessageList.js +0 -121
  649. package/dist/OpenChannel/components/OpenChannelMessageList.js.map +0 -1
  650. package/dist/OpenChannel/components/OpenChannelUI.js +0 -101
  651. package/dist/OpenChannel/components/OpenChannelUI.js.map +0 -1
  652. package/dist/OpenChannel/context.js +0 -14
  653. package/dist/OpenChannel/context.js.map +0 -1
  654. package/dist/OpenChannel.js +0 -79
  655. package/dist/OpenChannel.js.map +0 -1
  656. package/dist/OpenChannelList/components/OpenChannelListUI.js +0 -114
  657. package/dist/OpenChannelList/components/OpenChannelPreview.js +0 -29
  658. package/dist/OpenChannelList/context.js +0 -7
  659. package/dist/OpenChannelList.js +0 -45
  660. package/dist/OpenChannelSettings/components/EditDetailsModal.js +0 -89
  661. package/dist/OpenChannelSettings/components/OpenChannelProfile.js +0 -56
  662. package/dist/OpenChannelSettings/components/OpenChannelSettingsUI.js +0 -90
  663. package/dist/OpenChannelSettings/components/OperatorUI.js +0 -502
  664. package/dist/OpenChannelSettings/components/ParticipantUI.js +0 -36
  665. package/dist/OpenChannelSettings/context.js +0 -123
  666. package/dist/OpenChannelSettings.js +0 -56
  667. package/dist/README.md +0 -172
  668. package/dist/SendbirdProvider.js +0 -1060
  669. package/dist/Thread/components/ParentMessageInfo.js +0 -252
  670. package/dist/Thread/components/ParentMessageInfoItem.js +0 -148
  671. package/dist/Thread/components/ThreadHeader.js +0 -32
  672. package/dist/Thread/components/ThreadList.js +0 -170
  673. package/dist/Thread/components/ThreadListItem.js +0 -333
  674. package/dist/Thread/components/ThreadMessageInput.js +0 -186
  675. package/dist/Thread/components/ThreadMessageInput.js.map +0 -1
  676. package/dist/Thread/components/ThreadUI.js +0 -265
  677. package/dist/Thread/components/ThreadUI.js.map +0 -1
  678. package/dist/Thread/context.js +0 -1334
  679. package/dist/Thread.js +0 -127
  680. package/dist/Thread.js.map +0 -1
  681. package/dist/VoicePlayer/context.js +0 -7
  682. package/dist/VoicePlayer/useVoicePlayer.js +0 -71
  683. package/dist/VoiceRecorder/context.js +0 -132
  684. package/dist/VoiceRecorder/useVoiceRecorder.js +0 -108
  685. package/dist/chunks/bundle-2B6mR7lS.js +0 -5
  686. package/dist/chunks/bundle-2B6mR7lS.js.map +0 -1
  687. package/dist/chunks/bundle-57J_rNKG.js +0 -218
  688. package/dist/chunks/bundle-57J_rNKG.js.map +0 -1
  689. package/dist/chunks/bundle-8X1nAYfO.js +0 -26
  690. package/dist/chunks/bundle-8X1nAYfO.js.map +0 -1
  691. package/dist/chunks/bundle-9-tPTMF6.js +0 -31
  692. package/dist/chunks/bundle-9-tPTMF6.js.map +0 -1
  693. package/dist/chunks/bundle-9ALYHYD3.js +0 -4
  694. package/dist/chunks/bundle-9ALYHYD3.js.map +0 -1
  695. package/dist/chunks/bundle-AEcqxqSG.js +0 -235
  696. package/dist/chunks/bundle-AEcqxqSG.js.map +0 -1
  697. package/dist/chunks/bundle-AMYEkxzX.js +0 -13
  698. package/dist/chunks/bundle-AMYEkxzX.js.map +0 -1
  699. package/dist/chunks/bundle-AVPtRzYX.js +0 -508
  700. package/dist/chunks/bundle-AVPtRzYX.js.map +0 -1
  701. package/dist/chunks/bundle-ByTzgRFn.js +0 -15
  702. package/dist/chunks/bundle-ByTzgRFn.js.map +0 -1
  703. package/dist/chunks/bundle-CLDXxwLM.js +0 -176
  704. package/dist/chunks/bundle-CLDXxwLM.js.map +0 -1
  705. package/dist/chunks/bundle-EqiEY2Nn.js +0 -8
  706. package/dist/chunks/bundle-EqiEY2Nn.js.map +0 -1
  707. package/dist/chunks/bundle-FMGkHNLt.js +0 -98
  708. package/dist/chunks/bundle-FMGkHNLt.js.map +0 -1
  709. package/dist/chunks/bundle-FX71optm.js +0 -131
  710. package/dist/chunks/bundle-FX71optm.js.map +0 -1
  711. package/dist/chunks/bundle-G8GLQXTO.js +0 -4
  712. package/dist/chunks/bundle-G8GLQXTO.js.map +0 -1
  713. package/dist/chunks/bundle-GJNoquF6.js +0 -97
  714. package/dist/chunks/bundle-GJNoquF6.js.map +0 -1
  715. package/dist/chunks/bundle-GRnEd_QH.js +0 -826
  716. package/dist/chunks/bundle-GRnEd_QH.js.map +0 -1
  717. package/dist/chunks/bundle-GYvOjWpg.js +0 -1455
  718. package/dist/chunks/bundle-GYvOjWpg.js.map +0 -1
  719. package/dist/chunks/bundle-HR7k1oX_.js +0 -211
  720. package/dist/chunks/bundle-HR7k1oX_.js.map +0 -1
  721. package/dist/chunks/bundle-HW_QF-4u.js +0 -125
  722. package/dist/chunks/bundle-HW_QF-4u.js.map +0 -1
  723. package/dist/chunks/bundle-J9tCz8wR.js +0 -57
  724. package/dist/chunks/bundle-J9tCz8wR.js.map +0 -1
  725. package/dist/chunks/bundle-JK2Q6D_x.js +0 -69
  726. package/dist/chunks/bundle-JK2Q6D_x.js.map +0 -1
  727. package/dist/chunks/bundle-KFLmR6GT.js +0 -216
  728. package/dist/chunks/bundle-KFLmR6GT.js.map +0 -1
  729. package/dist/chunks/bundle-Kt5vds0t.js +0 -14
  730. package/dist/chunks/bundle-Kt5vds0t.js.map +0 -1
  731. package/dist/chunks/bundle-Nma4juhn.js +0 -355
  732. package/dist/chunks/bundle-Nma4juhn.js.map +0 -1
  733. package/dist/chunks/bundle-NtsuR2jy.js +0 -132
  734. package/dist/chunks/bundle-NtsuR2jy.js.map +0 -1
  735. package/dist/chunks/bundle-OFGxFTUd.js +0 -4
  736. package/dist/chunks/bundle-OFGxFTUd.js.map +0 -1
  737. package/dist/chunks/bundle-OerEiFz_.js +0 -222
  738. package/dist/chunks/bundle-OerEiFz_.js.map +0 -1
  739. package/dist/chunks/bundle-S6TeHj26.js +0 -16
  740. package/dist/chunks/bundle-S6TeHj26.js.map +0 -1
  741. package/dist/chunks/bundle-SJRIss8U.js +0 -24
  742. package/dist/chunks/bundle-SJRIss8U.js.map +0 -1
  743. package/dist/chunks/bundle-SKHpSe-O.js +0 -13
  744. package/dist/chunks/bundle-SKHpSe-O.js.map +0 -1
  745. package/dist/chunks/bundle-TTdZBzDh.js +0 -96
  746. package/dist/chunks/bundle-TTdZBzDh.js.map +0 -1
  747. package/dist/chunks/bundle-UZkghioh.js +0 -66
  748. package/dist/chunks/bundle-UZkghioh.js.map +0 -1
  749. package/dist/chunks/bundle-WPbjUIH4.js +0 -1541
  750. package/dist/chunks/bundle-WPbjUIH4.js.map +0 -1
  751. package/dist/chunks/bundle-YDz5jygM.js +0 -230
  752. package/dist/chunks/bundle-YDz5jygM.js.map +0 -1
  753. package/dist/chunks/bundle-YVb8yq4r.js +0 -16
  754. package/dist/chunks/bundle-YVb8yq4r.js.map +0 -1
  755. package/dist/chunks/bundle-Ya3GgL5O.js +0 -134
  756. package/dist/chunks/bundle-Ya3GgL5O.js.map +0 -1
  757. package/dist/chunks/bundle-ZqXMPrmp.js +0 -76
  758. package/dist/chunks/bundle-ZqXMPrmp.js.map +0 -1
  759. package/dist/chunks/bundle-_1VUCC76.js +0 -36
  760. package/dist/chunks/bundle-_1VUCC76.js.map +0 -1
  761. package/dist/chunks/bundle-a2yw1o23.js +0 -18
  762. package/dist/chunks/bundle-a2yw1o23.js.map +0 -1
  763. package/dist/chunks/bundle-aEpFcq3f.js +0 -174
  764. package/dist/chunks/bundle-aEpFcq3f.js.map +0 -1
  765. package/dist/chunks/bundle-ar5N3zzO.js +0 -28
  766. package/dist/chunks/bundle-ar5N3zzO.js.map +0 -1
  767. package/dist/chunks/bundle-c2TdIUS1.js +0 -1853
  768. package/dist/chunks/bundle-c2TdIUS1.js.map +0 -1
  769. package/dist/chunks/bundle-c43jZuGE.js +0 -174
  770. package/dist/chunks/bundle-c43jZuGE.js.map +0 -1
  771. package/dist/chunks/bundle-djn2Lw7s.js +0 -42
  772. package/dist/chunks/bundle-djn2Lw7s.js.map +0 -1
  773. package/dist/chunks/bundle-iBVztNIJ.js +0 -70
  774. package/dist/chunks/bundle-iBVztNIJ.js.map +0 -1
  775. package/dist/chunks/bundle-j8sCh2q6.js +0 -25
  776. package/dist/chunks/bundle-j8sCh2q6.js.map +0 -1
  777. package/dist/chunks/bundle-k75zWMDn.js +0 -262
  778. package/dist/chunks/bundle-k75zWMDn.js.map +0 -1
  779. package/dist/chunks/bundle-lN7OiHSz.js +0 -147
  780. package/dist/chunks/bundle-lN7OiHSz.js.map +0 -1
  781. package/dist/chunks/bundle-oliby3QR.js +0 -4
  782. package/dist/chunks/bundle-oliby3QR.js.map +0 -1
  783. package/dist/chunks/bundle-qyl9VDFm.js +0 -62
  784. package/dist/chunks/bundle-qyl9VDFm.js.map +0 -1
  785. package/dist/chunks/bundle-r4JH75Z9.js +0 -78
  786. package/dist/chunks/bundle-r4JH75Z9.js.map +0 -1
  787. package/dist/chunks/bundle-tAWds1ZJ.js +0 -9
  788. package/dist/chunks/bundle-tAWds1ZJ.js.map +0 -1
  789. package/dist/chunks/bundle-tFB0rApi.js +0 -36
  790. package/dist/chunks/bundle-tFB0rApi.js.map +0 -1
  791. package/dist/chunks/bundle-u50YHJ4r.js +0 -72
  792. package/dist/chunks/bundle-u50YHJ4r.js.map +0 -1
  793. package/dist/chunks/bundle-v54c93Bz.js +0 -77
  794. package/dist/chunks/bundle-v54c93Bz.js.map +0 -1
  795. package/dist/chunks/bundle-vYoSgX_9.js +0 -29
  796. package/dist/chunks/bundle-vYoSgX_9.js.map +0 -1
  797. package/dist/chunks/bundle-w5oQiIVl.js +0 -12
  798. package/dist/chunks/bundle-w5oQiIVl.js.map +0 -1
  799. package/dist/chunks/bundle-wTMK19qT.js +0 -657
  800. package/dist/chunks/bundle-wTMK19qT.js.map +0 -1
  801. package/dist/chunks/bundle-wiYJT_VX.js +0 -277
  802. package/dist/chunks/bundle-wiYJT_VX.js.map +0 -1
  803. package/dist/chunks/bundle-y_cPOJGG.js +0 -30
  804. package/dist/chunks/bundle-y_cPOJGG.js.map +0 -1
  805. package/dist/chunks/bundle-z7m0Jz63.js +0 -24
  806. package/dist/chunks/bundle-z7m0Jz63.js.map +0 -1
  807. package/dist/cjs/App.js +0 -423
  808. package/dist/cjs/App.js.map +0 -1
  809. package/dist/cjs/Channel/components/ChannelHeader.js +0 -69
  810. package/dist/cjs/Channel/components/ChannelUI.js +0 -163
  811. package/dist/cjs/Channel/components/ChannelUI.js.map +0 -1
  812. package/dist/cjs/Channel/components/FileViewer.js +0 -93
  813. package/dist/cjs/Channel/components/FrozenNotification.js +0 -18
  814. package/dist/cjs/Channel/components/Message.js +0 -343
  815. package/dist/cjs/Channel/components/MessageInput.js +0 -209
  816. package/dist/cjs/Channel/components/MessageInput.js.map +0 -1
  817. package/dist/cjs/Channel/components/MessageList.js +0 -117
  818. package/dist/cjs/Channel/components/RemoveMessageModal.js +0 -54
  819. package/dist/cjs/Channel/components/SuggestedMentionList.js +0 -200
  820. package/dist/cjs/Channel/components/TypingIndicator.js +0 -89
  821. package/dist/cjs/Channel/components/UnreadCount.js +0 -35
  822. package/dist/cjs/Channel/context.js +0 -31
  823. package/dist/cjs/Channel/hooks/useHandleUploadFiles.js +0 -239
  824. package/dist/cjs/Channel/hooks/useHandleUploadFiles.js.map +0 -1
  825. package/dist/cjs/Channel/hooks/useInitialMessagesFetch.js +0 -111
  826. package/dist/cjs/Channel/utils/compareMessagesForGrouping.js +0 -28
  827. package/dist/cjs/Channel/utils/getMessagePartsInfo.js +0 -36
  828. package/dist/cjs/Channel.js +0 -133
  829. package/dist/cjs/Channel.js.map +0 -1
  830. package/dist/cjs/ChannelList/components/AddChannel.js +0 -66
  831. package/dist/cjs/ChannelList/components/ChannelListHeader.js +0 -43
  832. package/dist/cjs/ChannelList/components/ChannelListUI.js +0 -149
  833. package/dist/cjs/ChannelList/components/ChannelPreview.js +0 -133
  834. package/dist/cjs/ChannelList/components/ChannelPreviewAction.js +0 -73
  835. package/dist/cjs/ChannelList/context.js +0 -22
  836. package/dist/cjs/ChannelList.js +0 -83
  837. package/dist/cjs/ChannelSettings/components/ChannelProfile.js +0 -67
  838. package/dist/cjs/ChannelSettings/components/ChannelSettingsUI.js +0 -121
  839. package/dist/cjs/ChannelSettings/components/EditDetailsModal.js +0 -99
  840. package/dist/cjs/ChannelSettings/components/LeaveChannel.js +0 -69
  841. package/dist/cjs/ChannelSettings/components/ModerationPanel.js +0 -457
  842. package/dist/cjs/ChannelSettings/components/UserListItem.js +0 -69
  843. package/dist/cjs/ChannelSettings/components/UserPanel.js +0 -66
  844. package/dist/cjs/ChannelSettings/context.js +0 -72
  845. package/dist/cjs/ChannelSettings.js +0 -63
  846. package/dist/cjs/CreateChannel/components/CreateChannelUI.js +0 -50
  847. package/dist/cjs/CreateChannel/components/InviteUsers.js +0 -169
  848. package/dist/cjs/CreateChannel/components/SelectChannelType.js +0 -82
  849. package/dist/cjs/CreateChannel/context.js +0 -16
  850. package/dist/cjs/CreateChannel.js +0 -46
  851. package/dist/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +0 -70
  852. package/dist/cjs/CreateOpenChannel/context.js +0 -52
  853. package/dist/cjs/CreateOpenChannel.js +0 -35
  854. package/dist/cjs/EditUserProfile/components/EditUserProfileUI.js +0 -125
  855. package/dist/cjs/EditUserProfile.js +0 -36
  856. package/dist/cjs/MessageSearch/components/MessageSearchUI.js +0 -94
  857. package/dist/cjs/MessageSearch/context.js +0 -261
  858. package/dist/cjs/MessageSearch.js +0 -79
  859. package/dist/cjs/OpenChannel/components/FrozenChannelNotification.js +0 -17
  860. package/dist/cjs/OpenChannel/components/OpenChannelHeader.js +0 -49
  861. package/dist/cjs/OpenChannel/components/OpenChannelHeader.js.map +0 -1
  862. package/dist/cjs/OpenChannel/components/OpenChannelInput.js +0 -58
  863. package/dist/cjs/OpenChannel/components/OpenChannelInput.js.map +0 -1
  864. package/dist/cjs/OpenChannel/components/OpenChannelMessage.js +0 -198
  865. package/dist/cjs/OpenChannel/components/OpenChannelMessage.js.map +0 -1
  866. package/dist/cjs/OpenChannel/components/OpenChannelMessageList.js +0 -123
  867. package/dist/cjs/OpenChannel/components/OpenChannelMessageList.js.map +0 -1
  868. package/dist/cjs/OpenChannel/components/OpenChannelUI.js +0 -103
  869. package/dist/cjs/OpenChannel/components/OpenChannelUI.js.map +0 -1
  870. package/dist/cjs/OpenChannel/context.js +0 -21
  871. package/dist/cjs/OpenChannel/context.js.map +0 -1
  872. package/dist/cjs/OpenChannel.js +0 -81
  873. package/dist/cjs/OpenChannel.js.map +0 -1
  874. package/dist/cjs/OpenChannelList/components/OpenChannelListUI.js +0 -116
  875. package/dist/cjs/OpenChannelList/components/OpenChannelPreview.js +0 -31
  876. package/dist/cjs/OpenChannelList/context.js +0 -17
  877. package/dist/cjs/OpenChannelList.js +0 -47
  878. package/dist/cjs/OpenChannelSettings/components/EditDetailsModal.js +0 -91
  879. package/dist/cjs/OpenChannelSettings/components/OpenChannelProfile.js +0 -58
  880. package/dist/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +0 -92
  881. package/dist/cjs/OpenChannelSettings/components/OperatorUI.js +0 -508
  882. package/dist/cjs/OpenChannelSettings/components/ParticipantUI.js +0 -42
  883. package/dist/cjs/OpenChannelSettings/context.js +0 -126
  884. package/dist/cjs/OpenChannelSettings.js +0 -58
  885. package/dist/cjs/SendbirdProvider.js +0 -1066
  886. package/dist/cjs/Thread/components/ParentMessageInfo.js +0 -254
  887. package/dist/cjs/Thread/components/ParentMessageInfoItem.js +0 -150
  888. package/dist/cjs/Thread/components/ThreadHeader.js +0 -34
  889. package/dist/cjs/Thread/components/ThreadList.js +0 -172
  890. package/dist/cjs/Thread/components/ThreadListItem.js +0 -335
  891. package/dist/cjs/Thread/components/ThreadMessageInput.js +0 -188
  892. package/dist/cjs/Thread/components/ThreadMessageInput.js.map +0 -1
  893. package/dist/cjs/Thread/components/ThreadUI.js +0 -267
  894. package/dist/cjs/Thread/components/ThreadUI.js.map +0 -1
  895. package/dist/cjs/Thread/context.js +0 -1337
  896. package/dist/cjs/Thread.js +0 -129
  897. package/dist/cjs/Thread.js.map +0 -1
  898. package/dist/cjs/VoicePlayer/context.js +0 -15
  899. package/dist/cjs/VoicePlayer/useVoicePlayer.js +0 -73
  900. package/dist/cjs/VoiceRecorder/context.js +0 -138
  901. package/dist/cjs/VoiceRecorder/useVoiceRecorder.js +0 -111
  902. package/dist/cjs/chunks/bundle--sK1aluY.js +0 -7
  903. package/dist/cjs/chunks/bundle--sK1aluY.js.map +0 -1
  904. package/dist/cjs/chunks/bundle--xyql9Ig.js +0 -139
  905. package/dist/cjs/chunks/bundle--xyql9Ig.js.map +0 -1
  906. package/dist/cjs/chunks/bundle-29H6Jsc5.js +0 -178
  907. package/dist/cjs/chunks/bundle-29H6Jsc5.js.map +0 -1
  908. package/dist/cjs/chunks/bundle-2B2B2GGi.js +0 -15
  909. package/dist/cjs/chunks/bundle-2B2B2GGi.js.map +0 -1
  910. package/dist/cjs/chunks/bundle-2aaytxwj.js +0 -28
  911. package/dist/cjs/chunks/bundle-2aaytxwj.js.map +0 -1
  912. package/dist/cjs/chunks/bundle-2utPAHKj.js +0 -79
  913. package/dist/cjs/chunks/bundle-2utPAHKj.js.map +0 -1
  914. package/dist/cjs/chunks/bundle-3WvVLPrn.js +0 -8
  915. package/dist/cjs/chunks/bundle-3WvVLPrn.js.map +0 -1
  916. package/dist/cjs/chunks/bundle-41kBJWv1.js +0 -84
  917. package/dist/cjs/chunks/bundle-41kBJWv1.js.map +0 -1
  918. package/dist/cjs/chunks/bundle-4eGWgY9M.js +0 -159
  919. package/dist/cjs/chunks/bundle-4eGWgY9M.js.map +0 -1
  920. package/dist/cjs/chunks/bundle-550f0XCa.js +0 -109
  921. package/dist/cjs/chunks/bundle-550f0XCa.js.map +0 -1
  922. package/dist/cjs/chunks/bundle-98hUmAMo.js +0 -48
  923. package/dist/cjs/chunks/bundle-98hUmAMo.js.map +0 -1
  924. package/dist/cjs/chunks/bundle-AD4Oflxo.js +0 -75
  925. package/dist/cjs/chunks/bundle-AD4Oflxo.js.map +0 -1
  926. package/dist/cjs/chunks/bundle-AkDULw2F.js +0 -20
  927. package/dist/cjs/chunks/bundle-AkDULw2F.js.map +0 -1
  928. package/dist/cjs/chunks/bundle-CDhpLgdo.js +0 -707
  929. package/dist/cjs/chunks/bundle-CDhpLgdo.js.map +0 -1
  930. package/dist/cjs/chunks/bundle-DFMVl_Mm.js +0 -38
  931. package/dist/cjs/chunks/bundle-DFMVl_Mm.js.map +0 -1
  932. package/dist/cjs/chunks/bundle-EW9CHi3w.js +0 -32
  933. package/dist/cjs/chunks/bundle-EW9CHi3w.js.map +0 -1
  934. package/dist/cjs/chunks/bundle-EXbRHVSB.js +0 -831
  935. package/dist/cjs/chunks/bundle-EXbRHVSB.js.map +0 -1
  936. package/dist/cjs/chunks/bundle-Ep-tjaav.js +0 -74
  937. package/dist/cjs/chunks/bundle-Ep-tjaav.js.map +0 -1
  938. package/dist/cjs/chunks/bundle-GmkLfTb8.js +0 -224
  939. package/dist/cjs/chunks/bundle-GmkLfTb8.js.map +0 -1
  940. package/dist/cjs/chunks/bundle-H-T9QzU6.js +0 -19
  941. package/dist/cjs/chunks/bundle-H-T9QzU6.js.map +0 -1
  942. package/dist/cjs/chunks/bundle-LFMgWHoT.js +0 -27
  943. package/dist/cjs/chunks/bundle-LFMgWHoT.js.map +0 -1
  944. package/dist/cjs/chunks/bundle-MP2S1vK8.js +0 -179
  945. package/dist/cjs/chunks/bundle-MP2S1vK8.js.map +0 -1
  946. package/dist/cjs/chunks/bundle-Mswmp_1O.js +0 -16
  947. package/dist/cjs/chunks/bundle-Mswmp_1O.js.map +0 -1
  948. package/dist/cjs/chunks/bundle-NBLrSxcj.js +0 -1460
  949. package/dist/cjs/chunks/bundle-NBLrSxcj.js.map +0 -1
  950. package/dist/cjs/chunks/bundle-NtafuClb.js +0 -22
  951. package/dist/cjs/chunks/bundle-NtafuClb.js.map +0 -1
  952. package/dist/cjs/chunks/bundle-NyrRrrQE.js +0 -46
  953. package/dist/cjs/chunks/bundle-NyrRrrQE.js.map +0 -1
  954. package/dist/cjs/chunks/bundle-O5wLOxN7.js +0 -27
  955. package/dist/cjs/chunks/bundle-O5wLOxN7.js.map +0 -1
  956. package/dist/cjs/chunks/bundle-PBiPabbQ.js +0 -35
  957. package/dist/cjs/chunks/bundle-PBiPabbQ.js.map +0 -1
  958. package/dist/cjs/chunks/bundle-PwiP9Ezo.js +0 -510
  959. package/dist/cjs/chunks/bundle-PwiP9Ezo.js.map +0 -1
  960. package/dist/cjs/chunks/bundle-PxOOmulx.js +0 -6
  961. package/dist/cjs/chunks/bundle-PxOOmulx.js.map +0 -1
  962. package/dist/cjs/chunks/bundle-QcbgU9KW.js +0 -18
  963. package/dist/cjs/chunks/bundle-QcbgU9KW.js.map +0 -1
  964. package/dist/cjs/chunks/bundle-RmtoGD4w.js +0 -102
  965. package/dist/cjs/chunks/bundle-RmtoGD4w.js.map +0 -1
  966. package/dist/cjs/chunks/bundle-S4LTyQ30.js +0 -39
  967. package/dist/cjs/chunks/bundle-S4LTyQ30.js.map +0 -1
  968. package/dist/cjs/chunks/bundle-SY-8B8r8.js +0 -68
  969. package/dist/cjs/chunks/bundle-SY-8B8r8.js.map +0 -1
  970. package/dist/cjs/chunks/bundle-SiCT4KKh.js +0 -6
  971. package/dist/cjs/chunks/bundle-SiCT4KKh.js.map +0 -1
  972. package/dist/cjs/chunks/bundle-Sx--KyLX.js +0 -220
  973. package/dist/cjs/chunks/bundle-Sx--KyLX.js.map +0 -1
  974. package/dist/cjs/chunks/bundle-T16VOUoM.js +0 -6
  975. package/dist/cjs/chunks/bundle-T16VOUoM.js.map +0 -1
  976. package/dist/cjs/chunks/bundle-TyT6Ozpd.js +0 -26
  977. package/dist/cjs/chunks/bundle-TyT6Ozpd.js.map +0 -1
  978. package/dist/cjs/chunks/bundle-VXYKCjcf.js +0 -217
  979. package/dist/cjs/chunks/bundle-VXYKCjcf.js.map +0 -1
  980. package/dist/cjs/chunks/bundle-WOnMwb1P.js +0 -74
  981. package/dist/cjs/chunks/bundle-WOnMwb1P.js.map +0 -1
  982. package/dist/cjs/chunks/bundle-Y1a8RrT8.js +0 -11
  983. package/dist/cjs/chunks/bundle-Y1a8RrT8.js.map +0 -1
  984. package/dist/cjs/chunks/bundle-cbDU-09l.js +0 -236
  985. package/dist/cjs/chunks/bundle-cbDU-09l.js.map +0 -1
  986. package/dist/cjs/chunks/bundle-cimsvery.js +0 -1545
  987. package/dist/cjs/chunks/bundle-cimsvery.js.map +0 -1
  988. package/dist/cjs/chunks/bundle-dR2UsXRP.js +0 -137
  989. package/dist/cjs/chunks/bundle-dR2UsXRP.js.map +0 -1
  990. package/dist/cjs/chunks/bundle-eMAdLQYS.js +0 -30
  991. package/dist/cjs/chunks/bundle-eMAdLQYS.js.map +0 -1
  992. package/dist/cjs/chunks/bundle-fFp5dCjH.js +0 -238
  993. package/dist/cjs/chunks/bundle-fFp5dCjH.js.map +0 -1
  994. package/dist/cjs/chunks/bundle-fXAUBZTE.js +0 -181
  995. package/dist/cjs/chunks/bundle-fXAUBZTE.js.map +0 -1
  996. package/dist/cjs/chunks/bundle-hAYm1E9a.js +0 -10
  997. package/dist/cjs/chunks/bundle-hAYm1E9a.js.map +0 -1
  998. package/dist/cjs/chunks/bundle-isd9KugI.js +0 -1858
  999. package/dist/cjs/chunks/bundle-isd9KugI.js.map +0 -1
  1000. package/dist/cjs/chunks/bundle-oImpAjjb.js +0 -136
  1001. package/dist/cjs/chunks/bundle-oImpAjjb.js.map +0 -1
  1002. package/dist/cjs/chunks/bundle-oXm8ulgi.js +0 -15
  1003. package/dist/cjs/chunks/bundle-oXm8ulgi.js.map +0 -1
  1004. package/dist/cjs/chunks/bundle-q-A6a_rC.js +0 -360
  1005. package/dist/cjs/chunks/bundle-q-A6a_rC.js.map +0 -1
  1006. package/dist/cjs/chunks/bundle-q2F5p3vc.js +0 -79
  1007. package/dist/cjs/chunks/bundle-q2F5p3vc.js.map +0 -1
  1008. package/dist/cjs/chunks/bundle-rN2rLxDW.js +0 -84
  1009. package/dist/cjs/chunks/bundle-rN2rLxDW.js.map +0 -1
  1010. package/dist/cjs/chunks/bundle-sQoST7ZS.js +0 -17
  1011. package/dist/cjs/chunks/bundle-sQoST7ZS.js.map +0 -1
  1012. package/dist/cjs/chunks/bundle-sjCeO7Mj.js +0 -279
  1013. package/dist/cjs/chunks/bundle-sjCeO7Mj.js.map +0 -1
  1014. package/dist/cjs/chunks/bundle-stRq_8W4.js +0 -69
  1015. package/dist/cjs/chunks/bundle-stRq_8W4.js.map +0 -1
  1016. package/dist/cjs/chunks/bundle-txKvbPEx.js +0 -128
  1017. package/dist/cjs/chunks/bundle-txKvbPEx.js.map +0 -1
  1018. package/dist/cjs/chunks/bundle-uWB1AoIz.js +0 -264
  1019. package/dist/cjs/chunks/bundle-uWB1AoIz.js.map +0 -1
  1020. package/dist/cjs/chunks/bundle-ujHFJVoU.js +0 -99
  1021. package/dist/cjs/chunks/bundle-ujHFJVoU.js.map +0 -1
  1022. package/dist/cjs/chunks/bundle-yPWVmQGL.js +0 -224
  1023. package/dist/cjs/chunks/bundle-yPWVmQGL.js.map +0 -1
  1024. package/dist/cjs/hooks/useModal.js +0 -59
  1025. package/dist/cjs/index.js +0 -222
  1026. package/dist/cjs/index.js.map +0 -1
  1027. package/dist/cjs/pubSub/topics.js +0 -18
  1028. package/dist/cjs/sendbirdSelectors.js +0 -580
  1029. package/dist/cjs/ui/Accordion.js +0 -52
  1030. package/dist/cjs/ui/AccordionGroup.js +0 -17
  1031. package/dist/cjs/ui/AdminMessage.js +0 -21
  1032. package/dist/cjs/ui/Avatar.js +0 -18
  1033. package/dist/cjs/ui/Badge.js +0 -26
  1034. package/dist/cjs/ui/BottomSheet.js +0 -38
  1035. package/dist/cjs/ui/Button.js +0 -53
  1036. package/dist/cjs/ui/ChannelAvatar.js +0 -32
  1037. package/dist/cjs/ui/ConnectionStatus.js +0 -20
  1038. package/dist/cjs/ui/ContextMenu.js +0 -216
  1039. package/dist/cjs/ui/DateSeparator.js +0 -21
  1040. package/dist/cjs/ui/EmojiReactions.js +0 -179
  1041. package/dist/cjs/ui/FileMessageItemBody.js +0 -41
  1042. package/dist/cjs/ui/FileViewer.js +0 -33
  1043. package/dist/cjs/ui/Icon.js +0 -1140
  1044. package/dist/cjs/ui/IconButton.js +0 -26
  1045. package/dist/cjs/ui/ImageRenderer.js +0 -151
  1046. package/dist/cjs/ui/Input.js +0 -26
  1047. package/dist/cjs/ui/Label.js +0 -16
  1048. package/dist/cjs/ui/LinkLabel.js +0 -32
  1049. package/dist/cjs/ui/Loader.js +0 -20
  1050. package/dist/cjs/ui/MentionLabel.js +0 -69
  1051. package/dist/cjs/ui/MentionUserLabel.js +0 -12
  1052. package/dist/cjs/ui/MessageContent.js +0 -341
  1053. package/dist/cjs/ui/MessageInput/hooks/usePaste.js +0 -17
  1054. package/dist/cjs/ui/MessageInput.js +0 -464
  1055. package/dist/cjs/ui/MessageItemMenu.js +0 -131
  1056. package/dist/cjs/ui/MessageItemReactionMenu.js +0 -58
  1057. package/dist/cjs/ui/MessageSearchFileItem.js +0 -92
  1058. package/dist/cjs/ui/MessageSearchItem.js +0 -63
  1059. package/dist/cjs/ui/MessageStatus.js +0 -26
  1060. package/dist/cjs/ui/Modal.js +0 -26
  1061. package/dist/cjs/ui/MutedAvatarOverlay.js +0 -23
  1062. package/dist/cjs/ui/OGMessageItemBody.js +0 -87
  1063. package/dist/cjs/ui/OpenChannelAdminMessage.js +0 -17
  1064. package/dist/cjs/ui/OpenChannelAvatar.js +0 -26
  1065. package/dist/cjs/ui/OpenchannelConversationHeader.js +0 -34
  1066. package/dist/cjs/ui/OpenchannelFileMessage.js +0 -141
  1067. package/dist/cjs/ui/OpenchannelOGMessage.js +0 -186
  1068. package/dist/cjs/ui/OpenchannelThumbnailMessage.js +0 -178
  1069. package/dist/cjs/ui/OpenchannelUserMessage.js +0 -149
  1070. package/dist/cjs/ui/PlaceHolder.js +0 -58
  1071. package/dist/cjs/ui/PlaybackTime.js +0 -22
  1072. package/dist/cjs/ui/QuoteMessage.js +0 -81
  1073. package/dist/cjs/ui/QuoteMessageInput.js +0 -84
  1074. package/dist/cjs/ui/ReactionBadge.js +0 -28
  1075. package/dist/cjs/ui/ReactionButton.js +0 -25
  1076. package/dist/cjs/ui/SortByRow.js +0 -31
  1077. package/dist/cjs/ui/TextButton.js +0 -17
  1078. package/dist/cjs/ui/TextMessageItemBody.js +0 -66
  1079. package/dist/cjs/ui/ThreadReplies.js +0 -44
  1080. package/dist/cjs/ui/ThumbnailMessageItemBody.js +0 -45
  1081. package/dist/cjs/ui/Toggle.js +0 -131
  1082. package/dist/cjs/ui/Tooltip.js +0 -17
  1083. package/dist/cjs/ui/TooltipWrapper.js +0 -21
  1084. package/dist/cjs/ui/TypingIndicatorBubble.js +0 -69
  1085. package/dist/cjs/ui/UnknownMessageItemBody.js +0 -29
  1086. package/dist/cjs/ui/UserListItem.js +0 -75
  1087. package/dist/cjs/ui/UserProfile.js +0 -60
  1088. package/dist/cjs/ui/VoiceMessageInput.js +0 -21
  1089. package/dist/cjs/ui/VoiceMessageItemBody.js +0 -74
  1090. package/dist/cjs/ui/Word.js +0 -82
  1091. package/dist/cjs/useSendbirdStateContext.js +0 -27
  1092. package/dist/cjs/utils/message/isVoiceMessage.js +0 -11
  1093. package/dist/cjs/withSendbird.js +0 -28
  1094. package/dist/dist/index.css +0 -7839
  1095. package/dist/dist/index.css.map +0 -1
  1096. package/dist/hooks/useModal.js +0 -55
  1097. package/dist/index.js +0 -200
  1098. package/dist/index.js.map +0 -1
  1099. package/dist/package.json +0 -1521
  1100. package/dist/pubSub/topics.js +0 -2
  1101. package/dist/sendbirdSelectors.js +0 -555
  1102. package/dist/types/modules/Channel/components/MessageInput/useHandleUploadFiles.d.ts +0 -19
  1103. package/dist/types/modules/ChannelList/dux/actionTypes.d.ts +0 -66
  1104. package/dist/types/modules/OpenChannel/context/hooks/useFileUploadCallback.d.ts +0 -27
  1105. package/dist/types/utils/consts.d.ts +0 -23
  1106. package/dist/ui/Accordion.js +0 -47
  1107. package/dist/ui/AccordionGroup.js +0 -15
  1108. package/dist/ui/AdminMessage.js +0 -19
  1109. package/dist/ui/Avatar.js +0 -9
  1110. package/dist/ui/Badge.js +0 -24
  1111. package/dist/ui/BottomSheet.js +0 -36
  1112. package/dist/ui/Button.js +0 -49
  1113. package/dist/ui/ChannelAvatar.js +0 -30
  1114. package/dist/ui/ConnectionStatus.js +0 -18
  1115. package/dist/ui/ContextMenu.js +0 -207
  1116. package/dist/ui/DateSeparator.js +0 -19
  1117. package/dist/ui/EmojiReactions.js +0 -177
  1118. package/dist/ui/FileMessageItemBody.js +0 -39
  1119. package/dist/ui/FileViewer.js +0 -24
  1120. package/dist/ui/Icon.js +0 -1116
  1121. package/dist/ui/IconButton.js +0 -24
  1122. package/dist/ui/ImageRenderer.js +0 -145
  1123. package/dist/ui/Input.js +0 -21
  1124. package/dist/ui/Label.js +0 -5
  1125. package/dist/ui/LinkLabel.js +0 -26
  1126. package/dist/ui/Loader.js +0 -18
  1127. package/dist/ui/MentionLabel.js +0 -67
  1128. package/dist/ui/MentionUserLabel.js +0 -10
  1129. package/dist/ui/MessageContent.js +0 -339
  1130. package/dist/ui/MessageInput/hooks/usePaste.js +0 -8
  1131. package/dist/ui/MessageInput.js +0 -462
  1132. package/dist/ui/MessageItemMenu.js +0 -126
  1133. package/dist/ui/MessageItemReactionMenu.js +0 -53
  1134. package/dist/ui/MessageSearchFileItem.js +0 -90
  1135. package/dist/ui/MessageSearchItem.js +0 -61
  1136. package/dist/ui/MessageStatus.js +0 -17
  1137. package/dist/ui/Modal.js +0 -14
  1138. package/dist/ui/MutedAvatarOverlay.js +0 -21
  1139. package/dist/ui/OGMessageItemBody.js +0 -85
  1140. package/dist/ui/OpenChannelAdminMessage.js +0 -15
  1141. package/dist/ui/OpenChannelAvatar.js +0 -24
  1142. package/dist/ui/OpenchannelConversationHeader.js +0 -32
  1143. package/dist/ui/OpenchannelFileMessage.js +0 -139
  1144. package/dist/ui/OpenchannelOGMessage.js +0 -184
  1145. package/dist/ui/OpenchannelThumbnailMessage.js +0 -176
  1146. package/dist/ui/OpenchannelUserMessage.js +0 -147
  1147. package/dist/ui/PlaceHolder.js +0 -53
  1148. package/dist/ui/PlaybackTime.js +0 -17
  1149. package/dist/ui/QuoteMessage.js +0 -79
  1150. package/dist/ui/QuoteMessageInput.js +0 -82
  1151. package/dist/ui/ReactionBadge.js +0 -26
  1152. package/dist/ui/ReactionButton.js +0 -23
  1153. package/dist/ui/SortByRow.js +0 -29
  1154. package/dist/ui/TextButton.js +0 -15
  1155. package/dist/ui/TextMessageItemBody.js +0 -64
  1156. package/dist/ui/ThreadReplies.js +0 -42
  1157. package/dist/ui/ThumbnailMessageItemBody.js +0 -43
  1158. package/dist/ui/Toggle.js +0 -126
  1159. package/dist/ui/Tooltip.js +0 -15
  1160. package/dist/ui/TooltipWrapper.js +0 -19
  1161. package/dist/ui/TypingIndicatorBubble.js +0 -67
  1162. package/dist/ui/UnknownMessageItemBody.js +0 -27
  1163. package/dist/ui/UserListItem.js +0 -73
  1164. package/dist/ui/UserProfile.js +0 -58
  1165. package/dist/ui/VoiceMessageInput.js +0 -15
  1166. package/dist/ui/VoiceMessageItemBody.js +0 -69
  1167. package/dist/ui/Word.js +0 -80
  1168. package/dist/useSendbirdStateContext.js +0 -22
  1169. package/dist/utils/message/isVoiceMessage.js +0 -9
  1170. package/dist/withSendbird.js +0 -23
  1171. /package/{dist/Channel → Channel}/components/ChannelHeader.js.map +0 -0
  1172. /package/{dist/Channel → Channel}/components/FileViewer.js.map +0 -0
  1173. /package/{dist/Channel → Channel}/components/FrozenNotification.js.map +0 -0
  1174. /package/{dist/Channel → Channel}/components/Message.js.map +0 -0
  1175. /package/{dist/Channel → Channel}/components/MessageList.js.map +0 -0
  1176. /package/{dist/Channel → Channel}/components/RemoveMessageModal.js.map +0 -0
  1177. /package/{dist/Channel → Channel}/components/SuggestedMentionList.js.map +0 -0
  1178. /package/{dist/Channel → Channel}/components/TypingIndicator.js.map +0 -0
  1179. /package/{dist/Channel → Channel}/components/UnreadCount.js.map +0 -0
  1180. /package/{dist/Channel → Channel}/context.js.map +0 -0
  1181. /package/{dist/Channel → Channel}/hooks/useInitialMessagesFetch.js.map +0 -0
  1182. /package/{dist/Channel → Channel}/utils/compareMessagesForGrouping.js.map +0 -0
  1183. /package/{dist/Channel → Channel}/utils/getMessagePartsInfo.js.map +0 -0
  1184. /package/{dist/ChannelList → ChannelList}/components/AddChannel.js.map +0 -0
  1185. /package/{dist/ChannelList → ChannelList}/components/ChannelListHeader.js.map +0 -0
  1186. /package/{dist/ChannelList → ChannelList}/components/ChannelListUI.js.map +0 -0
  1187. /package/{dist/ChannelList → ChannelList}/components/ChannelPreview.js.map +0 -0
  1188. /package/{dist/ChannelList → ChannelList}/components/ChannelPreviewAction.js.map +0 -0
  1189. /package/{dist/ChannelList → ChannelList}/context.js.map +0 -0
  1190. /package/{dist/ChannelList.js.map → ChannelList.js.map} +0 -0
  1191. /package/{dist/ChannelSettings → ChannelSettings}/components/ChannelProfile.js.map +0 -0
  1192. /package/{dist/ChannelSettings → ChannelSettings}/components/ChannelSettingsUI.js.map +0 -0
  1193. /package/{dist/ChannelSettings → ChannelSettings}/components/EditDetailsModal.js.map +0 -0
  1194. /package/{dist/ChannelSettings → ChannelSettings}/components/LeaveChannel.js.map +0 -0
  1195. /package/{dist/ChannelSettings → ChannelSettings}/components/ModerationPanel.js.map +0 -0
  1196. /package/{dist/ChannelSettings → ChannelSettings}/components/UserListItem.js.map +0 -0
  1197. /package/{dist/ChannelSettings → ChannelSettings}/components/UserPanel.js.map +0 -0
  1198. /package/{dist/ChannelSettings → ChannelSettings}/context.js.map +0 -0
  1199. /package/{dist/ChannelSettings.js.map → ChannelSettings.js.map} +0 -0
  1200. /package/{dist/CreateChannel → CreateChannel}/components/CreateChannelUI.js.map +0 -0
  1201. /package/{dist/CreateChannel → CreateChannel}/components/InviteUsers.js.map +0 -0
  1202. /package/{dist/CreateChannel → CreateChannel}/components/SelectChannelType.js.map +0 -0
  1203. /package/{dist/CreateChannel → CreateChannel}/context.js.map +0 -0
  1204. /package/{dist/CreateChannel.js.map → CreateChannel.js.map} +0 -0
  1205. /package/{dist/CreateOpenChannel → CreateOpenChannel}/components/CreateOpenChannelUI.js.map +0 -0
  1206. /package/{dist/CreateOpenChannel → CreateOpenChannel}/context.js.map +0 -0
  1207. /package/{dist/CreateOpenChannel.js.map → CreateOpenChannel.js.map} +0 -0
  1208. /package/{dist/EditUserProfile → EditUserProfile}/components/EditUserProfileUI.js.map +0 -0
  1209. /package/{dist/EditUserProfile → EditUserProfile}/context.js +0 -0
  1210. /package/{dist/EditUserProfile → EditUserProfile}/context.js.map +0 -0
  1211. /package/{dist/EditUserProfile.js.map → EditUserProfile.js.map} +0 -0
  1212. /package/{dist/Message → Message}/context.js +0 -0
  1213. /package/{dist/Message → Message}/context.js.map +0 -0
  1214. /package/{dist/Message → Message}/hooks/useDirtyGetMentions.js +0 -0
  1215. /package/{dist/Message → Message}/hooks/useDirtyGetMentions.js.map +0 -0
  1216. /package/{dist/MessageSearch → MessageSearch}/components/MessageSearchUI.js.map +0 -0
  1217. /package/{dist/MessageSearch → MessageSearch}/context.js.map +0 -0
  1218. /package/{dist/MessageSearch.js.map → MessageSearch.js.map} +0 -0
  1219. /package/{dist/OpenChannel → OpenChannel}/components/FrozenChannelNotification.js.map +0 -0
  1220. /package/{dist/OpenChannelList → OpenChannelList}/components/OpenChannelListUI.js.map +0 -0
  1221. /package/{dist/OpenChannelList → OpenChannelList}/components/OpenChannelPreview.js.map +0 -0
  1222. /package/{dist/OpenChannelList → OpenChannelList}/context.js.map +0 -0
  1223. /package/{dist/OpenChannelList.js.map → OpenChannelList.js.map} +0 -0
  1224. /package/{dist/OpenChannelSettings → OpenChannelSettings}/components/EditDetailsModal.js.map +0 -0
  1225. /package/{dist/OpenChannelSettings → OpenChannelSettings}/components/OpenChannelProfile.js.map +0 -0
  1226. /package/{dist/OpenChannelSettings → OpenChannelSettings}/components/OpenChannelSettingsUI.js.map +0 -0
  1227. /package/{dist/OpenChannelSettings → OpenChannelSettings}/components/OperatorUI.js.map +0 -0
  1228. /package/{dist/OpenChannelSettings → OpenChannelSettings}/components/ParticipantUI.js.map +0 -0
  1229. /package/{dist/OpenChannelSettings → OpenChannelSettings}/context.js.map +0 -0
  1230. /package/{dist/OpenChannelSettings.js.map → OpenChannelSettings.js.map} +0 -0
  1231. /package/{dist/SendbirdProvider.js.map → SendbirdProvider.js.map} +0 -0
  1232. /package/{dist/Thread → Thread}/components/ParentMessageInfo.js.map +0 -0
  1233. /package/{dist/Thread → Thread}/components/ParentMessageInfoItem.js.map +0 -0
  1234. /package/{dist/Thread → Thread}/components/ThreadHeader.js.map +0 -0
  1235. /package/{dist/Thread → Thread}/components/ThreadList.js.map +0 -0
  1236. /package/{dist/Thread → Thread}/components/ThreadListItem.js.map +0 -0
  1237. /package/{dist/Thread → Thread}/context/types.js +0 -0
  1238. /package/{dist/Thread → Thread}/context/types.js.map +0 -0
  1239. /package/{dist/Thread → Thread}/context.js.map +0 -0
  1240. /package/{dist/VoicePlayer → VoicePlayer}/context.js.map +0 -0
  1241. /package/{dist/VoicePlayer → VoicePlayer}/useVoicePlayer.js.map +0 -0
  1242. /package/{dist/VoiceRecorder → VoiceRecorder}/context.js.map +0 -0
  1243. /package/{dist/VoiceRecorder → VoiceRecorder}/useVoiceRecorder.js.map +0 -0
  1244. /package/{dist/cjs → cjs}/Channel/components/ChannelHeader.js.map +0 -0
  1245. /package/{dist/cjs → cjs}/Channel/components/FileViewer.js.map +0 -0
  1246. /package/{dist/cjs → cjs}/Channel/components/FrozenNotification.js.map +0 -0
  1247. /package/{dist/cjs → cjs}/Channel/components/Message.js.map +0 -0
  1248. /package/{dist/cjs → cjs}/Channel/components/MessageList.js.map +0 -0
  1249. /package/{dist/cjs → cjs}/Channel/components/RemoveMessageModal.js.map +0 -0
  1250. /package/{dist/cjs → cjs}/Channel/components/SuggestedMentionList.js.map +0 -0
  1251. /package/{dist/cjs → cjs}/Channel/components/TypingIndicator.js.map +0 -0
  1252. /package/{dist/cjs → cjs}/Channel/components/UnreadCount.js.map +0 -0
  1253. /package/{dist/cjs → cjs}/Channel/context.js.map +0 -0
  1254. /package/{dist/cjs → cjs}/Channel/hooks/useInitialMessagesFetch.js.map +0 -0
  1255. /package/{dist/cjs → cjs}/Channel/utils/compareMessagesForGrouping.js.map +0 -0
  1256. /package/{dist/cjs → cjs}/Channel/utils/getMessagePartsInfo.js.map +0 -0
  1257. /package/{dist/cjs → cjs}/ChannelList/components/AddChannel.js.map +0 -0
  1258. /package/{dist/cjs → cjs}/ChannelList/components/ChannelListHeader.js.map +0 -0
  1259. /package/{dist/cjs → cjs}/ChannelList/components/ChannelListUI.js.map +0 -0
  1260. /package/{dist/cjs → cjs}/ChannelList/components/ChannelPreview.js.map +0 -0
  1261. /package/{dist/cjs → cjs}/ChannelList/components/ChannelPreviewAction.js.map +0 -0
  1262. /package/{dist/cjs → cjs}/ChannelList/context.js.map +0 -0
  1263. /package/{dist/cjs → cjs}/ChannelList.js.map +0 -0
  1264. /package/{dist/cjs → cjs}/ChannelSettings/components/ChannelProfile.js.map +0 -0
  1265. /package/{dist/cjs → cjs}/ChannelSettings/components/ChannelSettingsUI.js.map +0 -0
  1266. /package/{dist/cjs → cjs}/ChannelSettings/components/EditDetailsModal.js.map +0 -0
  1267. /package/{dist/cjs → cjs}/ChannelSettings/components/LeaveChannel.js.map +0 -0
  1268. /package/{dist/cjs → cjs}/ChannelSettings/components/ModerationPanel.js.map +0 -0
  1269. /package/{dist/cjs → cjs}/ChannelSettings/components/UserListItem.js.map +0 -0
  1270. /package/{dist/cjs → cjs}/ChannelSettings/components/UserPanel.js.map +0 -0
  1271. /package/{dist/cjs → cjs}/ChannelSettings/context.js.map +0 -0
  1272. /package/{dist/cjs → cjs}/ChannelSettings.js.map +0 -0
  1273. /package/{dist/cjs → cjs}/CreateChannel/components/CreateChannelUI.js.map +0 -0
  1274. /package/{dist/cjs → cjs}/CreateChannel/components/InviteUsers.js.map +0 -0
  1275. /package/{dist/cjs → cjs}/CreateChannel/components/SelectChannelType.js.map +0 -0
  1276. /package/{dist/cjs → cjs}/CreateChannel/context.js.map +0 -0
  1277. /package/{dist/cjs → cjs}/CreateChannel.js.map +0 -0
  1278. /package/{dist/cjs → cjs}/CreateOpenChannel/components/CreateOpenChannelUI.js.map +0 -0
  1279. /package/{dist/cjs → cjs}/CreateOpenChannel/context.js.map +0 -0
  1280. /package/{dist/cjs → cjs}/CreateOpenChannel.js.map +0 -0
  1281. /package/{dist/cjs → cjs}/EditUserProfile/components/EditUserProfileUI.js.map +0 -0
  1282. /package/{dist/cjs → cjs}/EditUserProfile/context.js +0 -0
  1283. /package/{dist/cjs → cjs}/EditUserProfile/context.js.map +0 -0
  1284. /package/{dist/cjs → cjs}/EditUserProfile.js.map +0 -0
  1285. /package/{dist/cjs → cjs}/Message/context.js +0 -0
  1286. /package/{dist/cjs → cjs}/Message/context.js.map +0 -0
  1287. /package/{dist/cjs → cjs}/Message/hooks/useDirtyGetMentions.js +0 -0
  1288. /package/{dist/cjs → cjs}/Message/hooks/useDirtyGetMentions.js.map +0 -0
  1289. /package/{dist/cjs → cjs}/MessageSearch/components/MessageSearchUI.js.map +0 -0
  1290. /package/{dist/cjs → cjs}/MessageSearch/context.js.map +0 -0
  1291. /package/{dist/cjs → cjs}/MessageSearch.js.map +0 -0
  1292. /package/{dist/cjs → cjs}/OpenChannel/components/FrozenChannelNotification.js.map +0 -0
  1293. /package/{dist/cjs → cjs}/OpenChannelList/components/OpenChannelListUI.js.map +0 -0
  1294. /package/{dist/cjs → cjs}/OpenChannelList/components/OpenChannelPreview.js.map +0 -0
  1295. /package/{dist/cjs → cjs}/OpenChannelList/context.js.map +0 -0
  1296. /package/{dist/cjs → cjs}/OpenChannelList.js.map +0 -0
  1297. /package/{dist/cjs → cjs}/OpenChannelSettings/components/EditDetailsModal.js.map +0 -0
  1298. /package/{dist/cjs → cjs}/OpenChannelSettings/components/OpenChannelProfile.js.map +0 -0
  1299. /package/{dist/cjs → cjs}/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +0 -0
  1300. /package/{dist/cjs → cjs}/OpenChannelSettings/components/OperatorUI.js.map +0 -0
  1301. /package/{dist/cjs → cjs}/OpenChannelSettings/components/ParticipantUI.js.map +0 -0
  1302. /package/{dist/cjs → cjs}/OpenChannelSettings/context.js.map +0 -0
  1303. /package/{dist/cjs → cjs}/OpenChannelSettings.js.map +0 -0
  1304. /package/{dist/cjs → cjs}/SendbirdProvider.js.map +0 -0
  1305. /package/{dist/cjs → cjs}/Thread/components/ParentMessageInfo.js.map +0 -0
  1306. /package/{dist/cjs → cjs}/Thread/components/ParentMessageInfoItem.js.map +0 -0
  1307. /package/{dist/cjs → cjs}/Thread/components/ThreadHeader.js.map +0 -0
  1308. /package/{dist/cjs → cjs}/Thread/components/ThreadList.js.map +0 -0
  1309. /package/{dist/cjs → cjs}/Thread/components/ThreadListItem.js.map +0 -0
  1310. /package/{dist/cjs → cjs}/Thread/context/types.js +0 -0
  1311. /package/{dist/cjs → cjs}/Thread/context/types.js.map +0 -0
  1312. /package/{dist/cjs → cjs}/Thread/context.js.map +0 -0
  1313. /package/{dist/cjs → cjs}/VoicePlayer/context.js.map +0 -0
  1314. /package/{dist/cjs → cjs}/VoicePlayer/useVoicePlayer.js.map +0 -0
  1315. /package/{dist/cjs → cjs}/VoiceRecorder/context.js.map +0 -0
  1316. /package/{dist/cjs → cjs}/VoiceRecorder/useVoiceRecorder.js.map +0 -0
  1317. /package/{dist/cjs → cjs}/handlers/ConnectionHandler.js +0 -0
  1318. /package/{dist/cjs → cjs}/handlers/ConnectionHandler.js.map +0 -0
  1319. /package/{dist/cjs → cjs}/handlers/GroupChannelHandler.js +0 -0
  1320. /package/{dist/cjs → cjs}/handlers/GroupChannelHandler.js.map +0 -0
  1321. /package/{dist/cjs → cjs}/handlers/OpenChannelHandler.js +0 -0
  1322. /package/{dist/cjs → cjs}/handlers/OpenChannelHandler.js.map +0 -0
  1323. /package/{dist/cjs → cjs}/handlers/SessionHandler.js +0 -0
  1324. /package/{dist/cjs → cjs}/handlers/SessionHandler.js.map +0 -0
  1325. /package/{dist/cjs → cjs}/handlers/UserEventHandler.js +0 -0
  1326. /package/{dist/cjs → cjs}/handlers/UserEventHandler.js.map +0 -0
  1327. /package/{dist/cjs → cjs}/hooks/useModal.js.map +0 -0
  1328. /package/{dist/cjs → cjs}/lame.all.js +0 -0
  1329. /package/{dist/cjs → cjs}/lame.all.js.map +0 -0
  1330. /package/{dist/cjs → cjs}/package.json +0 -0
  1331. /package/{dist/cjs → cjs}/pubSub/topics.js.map +0 -0
  1332. /package/{dist/cjs → cjs}/sendbirdSelectors.js.map +0 -0
  1333. /package/{dist/cjs → cjs}/ui/Accordion.js.map +0 -0
  1334. /package/{dist/cjs → cjs}/ui/AccordionGroup.js.map +0 -0
  1335. /package/{dist/cjs → cjs}/ui/AdminMessage.js.map +0 -0
  1336. /package/{dist/cjs → cjs}/ui/Avatar.js.map +0 -0
  1337. /package/{dist/cjs → cjs}/ui/Badge.js.map +0 -0
  1338. /package/{dist/cjs → cjs}/ui/BottomSheet.js.map +0 -0
  1339. /package/{dist/cjs → cjs}/ui/Button.js.map +0 -0
  1340. /package/{dist/cjs → cjs}/ui/ChannelAvatar.js.map +0 -0
  1341. /package/{dist/cjs → cjs}/ui/Checkbox.js +0 -0
  1342. /package/{dist/cjs → cjs}/ui/Checkbox.js.map +0 -0
  1343. /package/{dist/cjs → cjs}/ui/ConnectionStatus.js.map +0 -0
  1344. /package/{dist/cjs → cjs}/ui/ContextMenu.js.map +0 -0
  1345. /package/{dist/cjs → cjs}/ui/DateSeparator.js.map +0 -0
  1346. /package/{dist/cjs → cjs}/ui/EmojiReactions.js.map +0 -0
  1347. /package/{dist/cjs → cjs}/ui/FileMessageItemBody.js.map +0 -0
  1348. /package/{dist/cjs → cjs}/ui/FileViewer.js.map +0 -0
  1349. /package/{dist/cjs → cjs}/ui/Icon.js.map +0 -0
  1350. /package/{dist/cjs → cjs}/ui/IconButton.js.map +0 -0
  1351. /package/{dist/cjs → cjs}/ui/ImageRenderer.js.map +0 -0
  1352. /package/{dist/cjs → cjs}/ui/Input.js.map +0 -0
  1353. /package/{dist/cjs → cjs}/ui/Label.js.map +0 -0
  1354. /package/{dist/cjs → cjs}/ui/LinkLabel.js.map +0 -0
  1355. /package/{dist/cjs → cjs}/ui/Loader.js.map +0 -0
  1356. /package/{dist/cjs → cjs}/ui/MentionLabel.js.map +0 -0
  1357. /package/{dist/cjs → cjs}/ui/MentionUserLabel.js.map +0 -0
  1358. /package/{dist/cjs → cjs}/ui/MessageContent.js.map +0 -0
  1359. /package/{dist/cjs → cjs}/ui/MessageInput/hooks/usePaste.js.map +0 -0
  1360. /package/{dist/cjs → cjs}/ui/MessageInput.js.map +0 -0
  1361. /package/{dist/cjs → cjs}/ui/MessageItemMenu.js.map +0 -0
  1362. /package/{dist/cjs → cjs}/ui/MessageItemReactionMenu.js.map +0 -0
  1363. /package/{dist/cjs → cjs}/ui/MessageSearchFileItem.js.map +0 -0
  1364. /package/{dist/cjs → cjs}/ui/MessageSearchItem.js.map +0 -0
  1365. /package/{dist/cjs → cjs}/ui/MessageStatus.js.map +0 -0
  1366. /package/{dist/cjs → cjs}/ui/Modal.js.map +0 -0
  1367. /package/{dist/cjs → cjs}/ui/MutedAvatarOverlay.js.map +0 -0
  1368. /package/{dist/cjs → cjs}/ui/OGMessageItemBody.js.map +0 -0
  1369. /package/{dist/cjs → cjs}/ui/OpenChannelAdminMessage.js.map +0 -0
  1370. /package/{dist/cjs → cjs}/ui/OpenChannelAvatar.js.map +0 -0
  1371. /package/{dist/cjs → cjs}/ui/OpenchannelConversationHeader.js.map +0 -0
  1372. /package/{dist/cjs → cjs}/ui/OpenchannelFileMessage.js.map +0 -0
  1373. /package/{dist/cjs → cjs}/ui/OpenchannelOGMessage.js.map +0 -0
  1374. /package/{dist/cjs → cjs}/ui/OpenchannelThumbnailMessage.js.map +0 -0
  1375. /package/{dist/cjs → cjs}/ui/OpenchannelUserMessage.js.map +0 -0
  1376. /package/{dist/cjs → cjs}/ui/PlaceHolder.js.map +0 -0
  1377. /package/{dist/cjs → cjs}/ui/PlaybackTime.js.map +0 -0
  1378. /package/{dist/cjs → cjs}/ui/ProgressBar.js +0 -0
  1379. /package/{dist/cjs → cjs}/ui/ProgressBar.js.map +0 -0
  1380. /package/{dist/cjs → cjs}/ui/QuoteMessage.js.map +0 -0
  1381. /package/{dist/cjs → cjs}/ui/QuoteMessageInput.js.map +0 -0
  1382. /package/{dist/cjs → cjs}/ui/ReactionBadge.js.map +0 -0
  1383. /package/{dist/cjs → cjs}/ui/ReactionButton.js.map +0 -0
  1384. /package/{dist/cjs → cjs}/ui/SortByRow.js.map +0 -0
  1385. /package/{dist/cjs → cjs}/ui/TextButton.js.map +0 -0
  1386. /package/{dist/cjs → cjs}/ui/TextMessageItemBody.js.map +0 -0
  1387. /package/{dist/cjs → cjs}/ui/ThreadReplies.js.map +0 -0
  1388. /package/{dist/cjs → cjs}/ui/ThumbnailMessageItemBody.js.map +0 -0
  1389. /package/{dist/cjs → cjs}/ui/Toggle.js.map +0 -0
  1390. /package/{dist/cjs → cjs}/ui/Tooltip.js.map +0 -0
  1391. /package/{dist/cjs → cjs}/ui/TooltipWrapper.js.map +0 -0
  1392. /package/{dist/cjs → cjs}/ui/TypingIndicatorBubble.js.map +0 -0
  1393. /package/{dist/cjs → cjs}/ui/UnknownMessageItemBody.js.map +0 -0
  1394. /package/{dist/cjs → cjs}/ui/UserListItem.js.map +0 -0
  1395. /package/{dist/cjs → cjs}/ui/UserProfile.js.map +0 -0
  1396. /package/{dist/cjs → cjs}/ui/VoiceMessageInput.js.map +0 -0
  1397. /package/{dist/cjs → cjs}/ui/VoiceMessageItemBody.js.map +0 -0
  1398. /package/{dist/cjs → cjs}/ui/Word.js.map +0 -0
  1399. /package/{dist/cjs → cjs}/useSendbirdStateContext.js.map +0 -0
  1400. /package/{dist/cjs → cjs}/utils/message/getOutgoingMessageState.js +0 -0
  1401. /package/{dist/cjs → cjs}/utils/message/getOutgoingMessageState.js.map +0 -0
  1402. /package/{dist/cjs → cjs}/utils/message/isVoiceMessage.js.map +0 -0
  1403. /package/{dist/cjs → cjs}/withSendbird.js.map +0 -0
  1404. /package/{dist/handlers → handlers}/ConnectionHandler.js +0 -0
  1405. /package/{dist/handlers → handlers}/ConnectionHandler.js.map +0 -0
  1406. /package/{dist/handlers → handlers}/GroupChannelHandler.js +0 -0
  1407. /package/{dist/handlers → handlers}/GroupChannelHandler.js.map +0 -0
  1408. /package/{dist/handlers → handlers}/OpenChannelHandler.js +0 -0
  1409. /package/{dist/handlers → handlers}/OpenChannelHandler.js.map +0 -0
  1410. /package/{dist/handlers → handlers}/SessionHandler.js +0 -0
  1411. /package/{dist/handlers → handlers}/SessionHandler.js.map +0 -0
  1412. /package/{dist/handlers → handlers}/UserEventHandler.js +0 -0
  1413. /package/{dist/handlers → handlers}/UserEventHandler.js.map +0 -0
  1414. /package/{dist/hooks → hooks}/useModal.js.map +0 -0
  1415. /package/{dist/lame.all.js → lame.all.js} +0 -0
  1416. /package/{dist/lame.all.js.map → lame.all.js.map} +0 -0
  1417. /package/{dist/pubSub → pubSub}/topics.js.map +0 -0
  1418. /package/{dist/sendbirdSelectors.js.map → sendbirdSelectors.js.map} +0 -0
  1419. /package/{dist/types → types}/hooks/VoicePlayer/dux/actionTypes.d.ts +0 -0
  1420. /package/{dist/types → types}/hooks/VoicePlayer/dux/initialState.d.ts +0 -0
  1421. /package/{dist/types → types}/hooks/VoicePlayer/dux/reducer.d.ts +0 -0
  1422. /package/{dist/types → types}/hooks/VoicePlayer/index.d.ts +0 -0
  1423. /package/{dist/types → types}/hooks/VoicePlayer/useVoicePlayer.d.ts +0 -0
  1424. /package/{dist/types → types}/hooks/VoicePlayer/utils.d.ts +0 -0
  1425. /package/{dist/types → types}/hooks/VoiceRecorder/WebAudioUtils.d.ts +0 -0
  1426. /package/{dist/types → types}/hooks/VoiceRecorder/index.d.ts +0 -0
  1427. /package/{dist/types → types}/hooks/VoiceRecorder/useVoiceRecorder.d.ts +0 -0
  1428. /package/{dist/types → types}/hooks/useAppendDomNode.d.ts +0 -0
  1429. /package/{dist/types → types}/hooks/useDebounce.d.ts +0 -0
  1430. /package/{dist/types → types}/hooks/useHandleOnScrollCallback/index.d.ts +0 -0
  1431. /package/{dist/types → types}/hooks/useLongPress.d.ts +0 -0
  1432. /package/{dist/types → types}/hooks/useModal/ModalRoot/index.d.ts +0 -0
  1433. /package/{dist/types → types}/hooks/useModal/index.d.ts +0 -0
  1434. /package/{dist/types → types}/hooks/useMouseHover.d.ts +0 -0
  1435. /package/{dist/types → types}/hooks/useOnScrollReachedEndDetector/index.d.ts +0 -0
  1436. /package/{dist/types → types}/hooks/useOutsideAlerter.d.ts +0 -0
  1437. /package/{dist/types → types}/hooks/useSendbirdStateContext.d.ts +0 -0
  1438. /package/{dist/types → types}/hooks/useUnmount.d.ts +0 -0
  1439. /package/{dist/types → types}/index.d.ts +0 -0
  1440. /package/{dist/types → types}/lib/LocalizationContext.d.ts +0 -0
  1441. /package/{dist/types → types}/lib/Logger/index.d.ts +0 -0
  1442. /package/{dist/types → types}/lib/MediaQueryContext.d.ts +0 -0
  1443. /package/{dist/types → types}/lib/Sendbird.d.ts +0 -0
  1444. /package/{dist/types → types}/lib/SendbirdSdkContext.d.ts +0 -0
  1445. /package/{dist/types → types}/lib/SendbirdState.d.ts +0 -0
  1446. /package/{dist/types → types}/lib/UserProfileContext.d.ts +0 -0
  1447. /package/{dist/types → types}/lib/VoiceMessageProvider.d.ts +0 -0
  1448. /package/{dist/types → types}/lib/dux/sdk/actionTypes.d.ts +0 -0
  1449. /package/{dist/types → types}/lib/dux/sdk/initialState.d.ts +0 -0
  1450. /package/{dist/types → types}/lib/dux/sdk/reducers.d.ts +0 -0
  1451. /package/{dist/types → types}/lib/dux/user/actionTypes.d.ts +0 -0
  1452. /package/{dist/types → types}/lib/dux/user/initialState.d.ts +0 -0
  1453. /package/{dist/types → types}/lib/dux/user/reducers.d.ts +0 -0
  1454. /package/{dist/types → types}/lib/handlers/ConnectionHandler.d.ts +0 -0
  1455. /package/{dist/types → types}/lib/handlers/GroupChannelHandler.d.ts +0 -0
  1456. /package/{dist/types → types}/lib/handlers/OpenChannelHandler.d.ts +0 -0
  1457. /package/{dist/types → types}/lib/handlers/SessionHandler.d.ts +0 -0
  1458. /package/{dist/types → types}/lib/handlers/UserEventHandler.d.ts +0 -0
  1459. /package/{dist/types → types}/lib/hooks/schedulerFactory.d.ts +0 -0
  1460. /package/{dist/types → types}/lib/hooks/useConnect/__test__/data.mocks.d.ts +0 -0
  1461. /package/{dist/types → types}/lib/hooks/useConnect/connect.d.ts +0 -0
  1462. /package/{dist/types → types}/lib/hooks/useConnect/disconnectSdk.d.ts +0 -0
  1463. /package/{dist/types → types}/lib/hooks/useConnect/index.d.ts +0 -0
  1464. /package/{dist/types → types}/lib/hooks/useConnect/setupConnection.d.ts +0 -0
  1465. /package/{dist/types → types}/lib/hooks/useConnect/types.d.ts +0 -0
  1466. /package/{dist/types → types}/lib/hooks/useMarkAsDeliveredScheduler.d.ts +0 -0
  1467. /package/{dist/types → types}/lib/hooks/useMarkAsReadScheduler.d.ts +0 -0
  1468. /package/{dist/types → types}/lib/hooks/useOnlineStatus.d.ts +0 -0
  1469. /package/{dist/types → types}/lib/hooks/useTheme.d.ts +0 -0
  1470. /package/{dist/types → types}/lib/pubSub/index.d.ts +0 -0
  1471. /package/{dist/types → types}/lib/pubSub/topics.d.ts +0 -0
  1472. /package/{dist/types → types}/lib/selectors.d.ts +0 -0
  1473. /package/{dist/types → types}/lib/types.d.ts +0 -0
  1474. /package/{dist/types → types}/lib/utils/resolvedReplyType.d.ts +0 -0
  1475. /package/{dist/types → types}/lib/utils/uikitConfigMapper.d.ts +0 -0
  1476. /package/{dist/types → types}/modules/App/AppLayout.d.ts +0 -0
  1477. /package/{dist/types → types}/modules/App/DesktopLayout.d.ts +0 -0
  1478. /package/{dist/types → types}/modules/App/MobileLayout.d.ts +0 -0
  1479. /package/{dist/types → types}/modules/App/index.d.ts +0 -0
  1480. /package/{dist/types → types}/modules/App/types.d.ts +0 -0
  1481. /package/{dist/types → types}/modules/Channel/components/ChannelHeader/index.d.ts +0 -0
  1482. /package/{dist/types → types}/modules/Channel/components/ChannelHeader/utils.d.ts +0 -0
  1483. /package/{dist/types → types}/modules/Channel/components/ChannelUI/index.d.ts +0 -0
  1484. /package/{dist/types → types}/modules/Channel/components/FileViewer/index.d.ts +0 -0
  1485. /package/{dist/types → types}/modules/Channel/components/FrozenNotification/index.d.ts +0 -0
  1486. /package/{dist/types → types}/modules/Channel/components/Message/hooks/useIsElementInViewport.d.ts +0 -0
  1487. /package/{dist/types → types}/modules/Channel/components/Message/hooks/useLazyImageLoader.d.ts +0 -0
  1488. /package/{dist/types → types}/modules/Channel/components/Message/index.d.ts +0 -0
  1489. /package/{dist/types → types}/modules/Channel/components/MessageInput/VoiceMessageInputWrapper.d.ts +0 -0
  1490. /package/{dist/types → types}/modules/Channel/components/MessageInput/index.d.ts +0 -0
  1491. /package/{dist/types → types}/modules/Channel/components/MessageList/getMessagePartsInfo.d.ts +0 -0
  1492. /package/{dist/types → types}/modules/Channel/components/MessageList/hooks/useScrollBehavior.d.ts +0 -0
  1493. /package/{dist/types → types}/modules/Channel/components/MessageList/hooks/useSetScrollToBottom.d.ts +0 -0
  1494. /package/{dist/types → types}/modules/Channel/components/MessageList/index.d.ts +0 -0
  1495. /package/{dist/types → types}/modules/Channel/components/RemoveMessageModal.d.ts +0 -0
  1496. /package/{dist/types → types}/modules/Channel/components/SuggestedMentionList/SuggestedUserMentionItem.d.ts +0 -0
  1497. /package/{dist/types → types}/modules/Channel/components/SuggestedMentionList/index.d.ts +0 -0
  1498. /package/{dist/types → types}/modules/Channel/components/SuggestedMentionList/utils.d.ts +0 -0
  1499. /package/{dist/types → types}/modules/Channel/components/SuggestedReplies/index.d.ts +0 -0
  1500. /package/{dist/types → types}/modules/Channel/components/TypingIndicator.d.ts +0 -0
  1501. /package/{dist/types → types}/modules/Channel/components/UnreadCount/index.d.ts +0 -0
  1502. /package/{dist/types → types}/modules/Channel/context/ChannelProvider.d.ts +0 -0
  1503. /package/{dist/types → types}/modules/Channel/context/compareMessagesForGrouping.d.ts +0 -0
  1504. /package/{dist/types → types}/modules/Channel/context/const.d.ts +0 -0
  1505. /package/{dist/types → types}/modules/Channel/context/dux/actionTypes.d.ts +0 -0
  1506. /package/{dist/types → types}/modules/Channel/context/dux/initialState.d.ts +0 -0
  1507. /package/{dist/types → types}/modules/Channel/context/dux/reducers.d.ts +0 -0
  1508. /package/{dist/types → types}/modules/Channel/context/hooks/useDeleteMessageCallback.d.ts +0 -0
  1509. /package/{dist/types → types}/modules/Channel/context/hooks/useGetChannel.d.ts +0 -0
  1510. /package/{dist/types → types}/modules/Channel/context/hooks/useHandleChannelEvents.d.ts +0 -0
  1511. /package/{dist/types → types}/modules/Channel/context/hooks/useHandleChannelPubsubEvents.d.ts +0 -0
  1512. /package/{dist/types → types}/modules/Channel/context/hooks/useHandleReconnect.d.ts +0 -0
  1513. /package/{dist/types → types}/modules/Channel/context/hooks/useInitialMessagesFetch.d.ts +0 -0
  1514. /package/{dist/types → types}/modules/Channel/context/hooks/useReconnectOnIdle.d.ts +0 -0
  1515. /package/{dist/types → types}/modules/Channel/context/hooks/useResendMessageCallback.d.ts +0 -0
  1516. /package/{dist/types → types}/modules/Channel/context/hooks/useScrollCallback.d.ts +0 -0
  1517. /package/{dist/types → types}/modules/Channel/context/hooks/useScrollDownCallback.d.ts +0 -0
  1518. /package/{dist/types → types}/modules/Channel/context/hooks/useScrollToMessage.d.ts +0 -0
  1519. /package/{dist/types → types}/modules/Channel/context/hooks/useSendFileMessageCallback.d.ts +0 -0
  1520. /package/{dist/types → types}/modules/Channel/context/hooks/useSendMessageCallback.d.ts +0 -0
  1521. /package/{dist/types → types}/modules/Channel/context/hooks/useSendMultipleFilesMessage.d.ts +0 -0
  1522. /package/{dist/types → types}/modules/Channel/context/hooks/useSendVoiceMessageCallback.d.ts +0 -0
  1523. /package/{dist/types → types}/modules/Channel/context/hooks/useStatefulFileInfoList.d.ts +0 -0
  1524. /package/{dist/types → types}/modules/Channel/context/hooks/useThreadMessageKindKeySelector.d.ts +0 -0
  1525. /package/{dist/types → types}/modules/Channel/context/hooks/useToggleReactionCallback.d.ts +0 -0
  1526. /package/{dist/types → types}/modules/Channel/context/hooks/useUpdateMessageCallback.d.ts +0 -0
  1527. /package/{dist/types → types}/modules/Channel/context/utils.d.ts +0 -0
  1528. /package/{dist/types → types}/modules/Channel/index.d.ts +0 -0
  1529. /package/{dist/types → types}/modules/ChannelList/components/AddChannel/index.d.ts +0 -0
  1530. /package/{dist/types → types}/modules/ChannelList/components/ChannelListHeader/index.d.ts +0 -0
  1531. /package/{dist/types → types}/modules/ChannelList/components/ChannelListUI/index.d.ts +0 -0
  1532. /package/{dist/types → types}/modules/ChannelList/components/ChannelPreview/index.d.ts +0 -0
  1533. /package/{dist/types → types}/modules/ChannelList/components/ChannelPreview/utils.d.ts +0 -0
  1534. /package/{dist/types → types}/modules/ChannelList/components/ChannelPreviewAction.d.ts +0 -0
  1535. /package/{dist/types → types}/modules/ChannelList/components/LeaveChannel/index.d.ts +0 -0
  1536. /package/{dist/types → types}/modules/ChannelList/components/Placeholder.d.ts +0 -0
  1537. /package/{dist/types → types}/modules/ChannelList/context/ChannelListProvider.d.ts +0 -0
  1538. /package/{dist/types → types}/modules/ChannelList/context/hooks/useActiveChannelUrl.d.ts +0 -0
  1539. /package/{dist/types → types}/modules/ChannelList/context/hooks/useFetchChannelList.d.ts +0 -0
  1540. /package/{dist/types → types}/modules/ChannelList/dux/getNextChannel.d.ts +0 -0
  1541. /package/{dist/types → types}/modules/ChannelList/dux/initialState.d.ts +0 -0
  1542. /package/{dist/types → types}/modules/ChannelList/dux/reducers.d.ts +0 -0
  1543. /package/{dist/types → types}/modules/ChannelList/index.d.ts +0 -0
  1544. /package/{dist/types → types}/modules/ChannelList/utils.d.ts +0 -0
  1545. /package/{dist/types → types}/modules/ChannelSettings/components/ChannelProfile/index.d.ts +0 -0
  1546. /package/{dist/types → types}/modules/ChannelSettings/components/ChannelSettingsUI/index.d.ts +0 -0
  1547. /package/{dist/types → types}/modules/ChannelSettings/components/EditDetailsModal/index.d.ts +0 -0
  1548. /package/{dist/types → types}/modules/ChannelSettings/components/LeaveChannel/index.d.ts +0 -0
  1549. /package/{dist/types → types}/modules/ChannelSettings/components/ModerationPanel/AddOperatorsModal.d.ts +0 -0
  1550. /package/{dist/types → types}/modules/ChannelSettings/components/ModerationPanel/BannedUserList.d.ts +0 -0
  1551. /package/{dist/types → types}/modules/ChannelSettings/components/ModerationPanel/BannedUsersModal.d.ts +0 -0
  1552. /package/{dist/types → types}/modules/ChannelSettings/components/ModerationPanel/InviteUsersModal.d.ts +0 -0
  1553. /package/{dist/types → types}/modules/ChannelSettings/components/ModerationPanel/MemberList.d.ts +0 -0
  1554. /package/{dist/types → types}/modules/ChannelSettings/components/ModerationPanel/MembersModal.d.ts +0 -0
  1555. /package/{dist/types → types}/modules/ChannelSettings/components/ModerationPanel/MutedMemberList.d.ts +0 -0
  1556. /package/{dist/types → types}/modules/ChannelSettings/components/ModerationPanel/MutedMembersModal.d.ts +0 -0
  1557. /package/{dist/types → types}/modules/ChannelSettings/components/ModerationPanel/OperatorList.d.ts +0 -0
  1558. /package/{dist/types → types}/modules/ChannelSettings/components/ModerationPanel/OperatorsModal.d.ts +0 -0
  1559. /package/{dist/types → types}/modules/ChannelSettings/components/ModerationPanel/index.d.ts +0 -0
  1560. /package/{dist/types → types}/modules/ChannelSettings/components/UserListItem/index.d.ts +0 -0
  1561. /package/{dist/types → types}/modules/ChannelSettings/components/UserPanel/index.d.ts +0 -0
  1562. /package/{dist/types → types}/modules/ChannelSettings/context/ChannelSettingsProvider.d.ts +0 -0
  1563. /package/{dist/types → types}/modules/ChannelSettings/index.d.ts +0 -0
  1564. /package/{dist/types → types}/modules/CreateChannel/components/CreateChannelUI/index.d.ts +0 -0
  1565. /package/{dist/types → types}/modules/CreateChannel/components/InviteUsers/index.d.ts +0 -0
  1566. /package/{dist/types → types}/modules/CreateChannel/components/InviteUsers/utils.d.ts +0 -0
  1567. /package/{dist/types → types}/modules/CreateChannel/components/SelectChannelType.d.ts +0 -0
  1568. /package/{dist/types → types}/modules/CreateChannel/context/CreateChannelProvider.d.ts +0 -0
  1569. /package/{dist/types → types}/modules/CreateChannel/index.d.ts +0 -0
  1570. /package/{dist/types → types}/modules/CreateChannel/types.d.ts +0 -0
  1571. /package/{dist/types → types}/modules/CreateChannel/utils.d.ts +0 -0
  1572. /package/{dist/types → types}/modules/CreateOpenChannel/components/CreateOpenChannelUI/index.d.ts +0 -0
  1573. /package/{dist/types → types}/modules/CreateOpenChannel/context/CreateOpenChannelProvider.d.ts +0 -0
  1574. /package/{dist/types → types}/modules/CreateOpenChannel/index.d.ts +0 -0
  1575. /package/{dist/types → types}/modules/EditUserProfile/components/EditUserProfileUI/EditUserProfileUIView.d.ts +0 -0
  1576. /package/{dist/types → types}/modules/EditUserProfile/components/EditUserProfileUI/index.d.ts +0 -0
  1577. /package/{dist/types → types}/modules/EditUserProfile/context/EditUserProfileProvider.d.ts +0 -0
  1578. /package/{dist/types → types}/modules/EditUserProfile/index.d.ts +0 -0
  1579. /package/{dist/types → types}/modules/Message/components/TextFragment/index.d.ts +0 -0
  1580. /package/{dist/types → types}/modules/Message/consts.d.ts +0 -0
  1581. /package/{dist/types → types}/modules/Message/context/MessageProvider.d.ts +0 -0
  1582. /package/{dist/types → types}/modules/Message/hooks/useDirtyGetMentions.d.ts +0 -0
  1583. /package/{dist/types → types}/modules/Message/utils/getMentionNodes.d.ts +0 -0
  1584. /package/{dist/types → types}/modules/Message/utils/tokens/keyGenerator.d.ts +0 -0
  1585. /package/{dist/types → types}/modules/Message/utils/tokens/tokenize.d.ts +0 -0
  1586. /package/{dist/types → types}/modules/Message/utils/tokens/types.d.ts +0 -0
  1587. /package/{dist/types → types}/modules/MessageSearch/components/MessageSearchUI/index.d.ts +0 -0
  1588. /package/{dist/types → types}/modules/MessageSearch/context/MessageSearchProvider.d.ts +0 -0
  1589. /package/{dist/types → types}/modules/MessageSearch/context/dux/actionTypes.d.ts +0 -0
  1590. /package/{dist/types → types}/modules/MessageSearch/context/dux/initialState.d.ts +0 -0
  1591. /package/{dist/types → types}/modules/MessageSearch/context/dux/reducers.d.ts +0 -0
  1592. /package/{dist/types → types}/modules/MessageSearch/context/hooks/useGetSearchedMessages.d.ts +0 -0
  1593. /package/{dist/types → types}/modules/MessageSearch/context/hooks/useScrollCallback.d.ts +0 -0
  1594. /package/{dist/types → types}/modules/MessageSearch/context/hooks/useSearchStringEffect.d.ts +0 -0
  1595. /package/{dist/types → types}/modules/MessageSearch/context/hooks/useSetChannel.d.ts +0 -0
  1596. /package/{dist/types → types}/modules/MessageSearch/index.d.ts +0 -0
  1597. /package/{dist/types → types}/modules/OpenChannel/components/FrozenChannelNotification/index.d.ts +0 -0
  1598. /package/{dist/types → types}/modules/OpenChannel/components/OpenChannelHeader/index.d.ts +0 -0
  1599. /package/{dist/types → types}/modules/OpenChannel/components/OpenChannelInput/index.d.ts +0 -0
  1600. /package/{dist/types → types}/modules/OpenChannel/components/OpenChannelMessage/RemoveMessageModal.d.ts +0 -0
  1601. /package/{dist/types → types}/modules/OpenChannel/components/OpenChannelMessage/index.d.ts +0 -0
  1602. /package/{dist/types → types}/modules/OpenChannel/components/OpenChannelMessage/utils.d.ts +0 -0
  1603. /package/{dist/types → types}/modules/OpenChannel/components/OpenChannelMessageList/index.d.ts +0 -0
  1604. /package/{dist/types → types}/modules/OpenChannel/components/OpenChannelUI/index.d.ts +0 -0
  1605. /package/{dist/types → types}/modules/OpenChannel/context/OpenChannelProvider.d.ts +0 -0
  1606. /package/{dist/types → types}/modules/OpenChannel/context/dux/actionTypes.d.ts +0 -0
  1607. /package/{dist/types → types}/modules/OpenChannel/context/dux/initialState.d.ts +0 -0
  1608. /package/{dist/types → types}/modules/OpenChannel/context/dux/reducers.d.ts +0 -0
  1609. /package/{dist/types → types}/modules/OpenChannel/context/hooks/useCheckScrollBottom.d.ts +0 -0
  1610. /package/{dist/types → types}/modules/OpenChannel/context/hooks/useDeleteMessageCallback.d.ts +0 -0
  1611. /package/{dist/types → types}/modules/OpenChannel/context/hooks/useHandleChannelEvents.d.ts +0 -0
  1612. /package/{dist/types → types}/modules/OpenChannel/context/hooks/useInitialMessagesFetch.d.ts +0 -0
  1613. /package/{dist/types → types}/modules/OpenChannel/context/hooks/useResendMessageCallback.d.ts +0 -0
  1614. /package/{dist/types → types}/modules/OpenChannel/context/hooks/useScrollCallback.d.ts +0 -0
  1615. /package/{dist/types → types}/modules/OpenChannel/context/hooks/useSendMessageCallback.d.ts +0 -0
  1616. /package/{dist/types → types}/modules/OpenChannel/context/hooks/useSetChannel.d.ts +0 -0
  1617. /package/{dist/types → types}/modules/OpenChannel/context/hooks/useTrimMessageList.d.ts +0 -0
  1618. /package/{dist/types → types}/modules/OpenChannel/context/hooks/useUpdateMessageCallback.d.ts +0 -0
  1619. /package/{dist/types → types}/modules/OpenChannel/context/utils.d.ts +0 -0
  1620. /package/{dist/types → types}/modules/OpenChannel/index.d.ts +0 -0
  1621. /package/{dist/types → types}/modules/OpenChannelApp/Community.d.ts +0 -0
  1622. /package/{dist/types → types}/modules/OpenChannelApp/Streaming.d.ts +0 -0
  1623. /package/{dist/types → types}/modules/OpenChannelApp/assets/Icons.d.ts +0 -0
  1624. /package/{dist/types → types}/modules/OpenChannelApp/components/CommunityChannelList.d.ts +0 -0
  1625. /package/{dist/types → types}/modules/OpenChannelApp/components/DummyStream.d.ts +0 -0
  1626. /package/{dist/types → types}/modules/OpenChannelApp/components/Login.d.ts +0 -0
  1627. /package/{dist/types → types}/modules/OpenChannelApp/components/OpenChannelPreview.d.ts +0 -0
  1628. /package/{dist/types → types}/modules/OpenChannelApp/components/Profile.d.ts +0 -0
  1629. /package/{dist/types → types}/modules/OpenChannelApp/components/StreamingChannelList.d.ts +0 -0
  1630. /package/{dist/types → types}/modules/OpenChannelApp/index.d.ts +0 -0
  1631. /package/{dist/types → types}/modules/OpenChannelApp/stories/utils.d.ts +0 -0
  1632. /package/{dist/types → types}/modules/OpenChannelList/components/OpenChannelListUI/index.d.ts +0 -0
  1633. /package/{dist/types → types}/modules/OpenChannelList/components/OpenChannelPreview/index.d.ts +0 -0
  1634. /package/{dist/types → types}/modules/OpenChannelList/context/OpenChannelListInterfaces.d.ts +0 -0
  1635. /package/{dist/types → types}/modules/OpenChannelList/context/OpenChannelListProvider.d.ts +0 -0
  1636. /package/{dist/types → types}/modules/OpenChannelList/context/dux/actionTypes.d.ts +0 -0
  1637. /package/{dist/types → types}/modules/OpenChannelList/context/dux/initialState.d.ts +0 -0
  1638. /package/{dist/types → types}/modules/OpenChannelList/context/dux/reducer.d.ts +0 -0
  1639. /package/{dist/types → types}/modules/OpenChannelList/context/hooks/createChannelListQuery.d.ts +0 -0
  1640. /package/{dist/types → types}/modules/OpenChannelList/context/hooks/useFetchNextCallback.d.ts +0 -0
  1641. /package/{dist/types → types}/modules/OpenChannelList/context/hooks/useRefreshOpenChannelList.d.ts +0 -0
  1642. /package/{dist/types → types}/modules/OpenChannelList/context/hooks/useSetupOpenChannelList.d.ts +0 -0
  1643. /package/{dist/types → types}/modules/OpenChannelList/index.d.ts +0 -0
  1644. /package/{dist/types → types}/modules/OpenChannelSettings/components/EditDetailsModal.d.ts +0 -0
  1645. /package/{dist/types → types}/modules/OpenChannelSettings/components/InvalidChannel.d.ts +0 -0
  1646. /package/{dist/types → types}/modules/OpenChannelSettings/components/OpenChannelProfile/index.d.ts +0 -0
  1647. /package/{dist/types → types}/modules/OpenChannelSettings/components/OpenChannelSettingsUI/index.d.ts +0 -0
  1648. /package/{dist/types → types}/modules/OpenChannelSettings/components/OperatorUI/AddOperatorsModal.d.ts +0 -0
  1649. /package/{dist/types → types}/modules/OpenChannelSettings/components/OperatorUI/BannedUserList.d.ts +0 -0
  1650. /package/{dist/types → types}/modules/OpenChannelSettings/components/OperatorUI/BannedUsersModal.d.ts +0 -0
  1651. /package/{dist/types → types}/modules/OpenChannelSettings/components/OperatorUI/DeleteOpenChannel.d.ts +0 -0
  1652. /package/{dist/types → types}/modules/OpenChannelSettings/components/OperatorUI/MutedParticipantList.d.ts +0 -0
  1653. /package/{dist/types → types}/modules/OpenChannelSettings/components/OperatorUI/MutedParticipantsModal.d.ts +0 -0
  1654. /package/{dist/types → types}/modules/OpenChannelSettings/components/OperatorUI/OperatorList.d.ts +0 -0
  1655. /package/{dist/types → types}/modules/OpenChannelSettings/components/OperatorUI/OperatorsModal.d.ts +0 -0
  1656. /package/{dist/types → types}/modules/OpenChannelSettings/components/OperatorUI/index.d.ts +0 -0
  1657. /package/{dist/types → types}/modules/OpenChannelSettings/components/ParticipantUI/ParticipantItem.d.ts +0 -0
  1658. /package/{dist/types → types}/modules/OpenChannelSettings/components/ParticipantUI/ParticipantsModal.d.ts +0 -0
  1659. /package/{dist/types → types}/modules/OpenChannelSettings/components/ParticipantUI/index.d.ts +0 -0
  1660. /package/{dist/types → types}/modules/OpenChannelSettings/context/OpenChannelSettingsProvider.d.ts +0 -0
  1661. /package/{dist/types → types}/modules/OpenChannelSettings/index.d.ts +0 -0
  1662. /package/{dist/types → types}/modules/Thread/components/ParentMessageInfo/ParentMessageInfoItem.d.ts +0 -0
  1663. /package/{dist/types → types}/modules/Thread/components/ParentMessageInfo/index.d.ts +0 -0
  1664. /package/{dist/types → types}/modules/Thread/components/RemoveMessageModal.d.ts +0 -0
  1665. /package/{dist/types → types}/modules/Thread/components/ThreadHeader/index.d.ts +0 -0
  1666. /package/{dist/types → types}/modules/Thread/components/ThreadList/ThreadListItem.d.ts +0 -0
  1667. /package/{dist/types → types}/modules/Thread/components/ThreadList/ThreadListItemContent.d.ts +0 -0
  1668. /package/{dist/types → types}/modules/Thread/components/ThreadList/index.d.ts +0 -0
  1669. /package/{dist/types → types}/modules/Thread/components/ThreadMessageInput/index.d.ts +0 -0
  1670. /package/{dist/types → types}/modules/Thread/components/ThreadUI/index.d.ts +0 -0
  1671. /package/{dist/types → types}/modules/Thread/components/ThreadUI/useMemorizedHeader.d.ts +0 -0
  1672. /package/{dist/types → types}/modules/Thread/components/ThreadUI/useMemorizedParentMessageInfo.d.ts +0 -0
  1673. /package/{dist/types → types}/modules/Thread/components/ThreadUI/useMemorizedThreadList.d.ts +0 -0
  1674. /package/{dist/types → types}/modules/Thread/consts.d.ts +0 -0
  1675. /package/{dist/types → types}/modules/Thread/context/ThreadProvider.d.ts +0 -0
  1676. /package/{dist/types → types}/modules/Thread/context/dux/actionTypes.d.ts +0 -0
  1677. /package/{dist/types → types}/modules/Thread/context/dux/initialState.d.ts +0 -0
  1678. /package/{dist/types → types}/modules/Thread/context/dux/reducer.d.ts +0 -0
  1679. /package/{dist/types → types}/modules/Thread/context/hooks/useDeleteMessageCallback.d.ts +0 -0
  1680. /package/{dist/types → types}/modules/Thread/context/hooks/useGetAllEmoji.d.ts +0 -0
  1681. /package/{dist/types → types}/modules/Thread/context/hooks/useGetChannel.d.ts +0 -0
  1682. /package/{dist/types → types}/modules/Thread/context/hooks/useGetNextThreadsCallback.d.ts +0 -0
  1683. /package/{dist/types → types}/modules/Thread/context/hooks/useGetParentMessage.d.ts +0 -0
  1684. /package/{dist/types → types}/modules/Thread/context/hooks/useGetPrevThreadsCallback.d.ts +0 -0
  1685. /package/{dist/types → types}/modules/Thread/context/hooks/useGetThreadList.d.ts +0 -0
  1686. /package/{dist/types → types}/modules/Thread/context/hooks/useHandleChannelEvents.d.ts +0 -0
  1687. /package/{dist/types → types}/modules/Thread/context/hooks/useHandleThreadPubsubEvents.d.ts +0 -0
  1688. /package/{dist/types → types}/modules/Thread/context/hooks/useResendMessageCallback.d.ts +0 -0
  1689. /package/{dist/types → types}/modules/Thread/context/hooks/useSendFileMessage.d.ts +0 -0
  1690. /package/{dist/types → types}/modules/Thread/context/hooks/useSendMultipleFilesMessage.d.ts +0 -0
  1691. /package/{dist/types → types}/modules/Thread/context/hooks/useSendUserMessageCallback.d.ts +0 -0
  1692. /package/{dist/types → types}/modules/Thread/context/hooks/useSendVoiceMessageCallback.d.ts +0 -0
  1693. /package/{dist/types → types}/modules/Thread/context/hooks/useToggleReactionsCallback.d.ts +0 -0
  1694. /package/{dist/types → types}/modules/Thread/context/hooks/useUpdateMessageCallback.d.ts +0 -0
  1695. /package/{dist/types → types}/modules/Thread/context/utils.d.ts +0 -0
  1696. /package/{dist/types → types}/modules/Thread/index.d.ts +0 -0
  1697. /package/{dist/types → types}/modules/Thread/types.d.ts +0 -0
  1698. /package/{dist/types → types}/modules/internalInterfaces.d.ts +0 -0
  1699. /package/{dist/types → types}/types.d.ts +0 -0
  1700. /package/{dist/types → types}/ui/Accordion/AccordionGroup.d.ts +0 -0
  1701. /package/{dist/types → types}/ui/Accordion/context.d.ts +0 -0
  1702. /package/{dist/types → types}/ui/Accordion/index.d.ts +0 -0
  1703. /package/{dist/types → types}/ui/AdminMessage/adminMessageDummyData.mock.d.ts +0 -0
  1704. /package/{dist/types → types}/ui/AdminMessage/index.d.ts +0 -0
  1705. /package/{dist/types → types}/ui/Avatar/AvatarDefault.d.ts +0 -0
  1706. /package/{dist/types → types}/ui/Avatar/MutedAvatarOverlay.d.ts +0 -0
  1707. /package/{dist/types → types}/ui/Avatar/index.d.ts +0 -0
  1708. /package/{dist/types → types}/ui/Badge/index.d.ts +0 -0
  1709. /package/{dist/types → types}/ui/BottomSheet/index.d.ts +0 -0
  1710. /package/{dist/types → types}/ui/Button/index.d.ts +0 -0
  1711. /package/{dist/types → types}/ui/Button/types.d.ts +0 -0
  1712. /package/{dist/types → types}/ui/Button/utils.d.ts +0 -0
  1713. /package/{dist/types → types}/ui/ChannelAvatar/OpenChannelAvatar.d.ts +0 -0
  1714. /package/{dist/types → types}/ui/ChannelAvatar/index.d.ts +0 -0
  1715. /package/{dist/types → types}/ui/ChannelAvatar/utils.d.ts +0 -0
  1716. /package/{dist/types → types}/ui/Checkbox/index.d.ts +0 -0
  1717. /package/{dist/types → types}/ui/ConnectionStatus/index.d.ts +0 -0
  1718. /package/{dist/types → types}/ui/ContextMenu/EmojiListItems.d.ts +0 -0
  1719. /package/{dist/types → types}/ui/ContextMenu/MenuItems.d.ts +0 -0
  1720. /package/{dist/types → types}/ui/ContextMenu/index.d.ts +0 -0
  1721. /package/{dist/types → types}/ui/DateSeparator/index.d.ts +0 -0
  1722. /package/{dist/types → types}/ui/Docs/Introduction.d.ts +0 -0
  1723. /package/{dist/types → types}/ui/EmojiReactions/AddReactionBadgeItem.d.ts +0 -0
  1724. /package/{dist/types → types}/ui/EmojiReactions/ReactionItem.d.ts +0 -0
  1725. /package/{dist/types → types}/ui/EmojiReactions/index.d.ts +0 -0
  1726. /package/{dist/types → types}/ui/FileMessageItemBody/index.d.ts +0 -0
  1727. /package/{dist/types → types}/ui/FileViewer/DeleteButton.d.ts +0 -0
  1728. /package/{dist/types → types}/ui/FileViewer/Slider.d.ts +0 -0
  1729. /package/{dist/types → types}/ui/FileViewer/data.mock.d.ts +0 -0
  1730. /package/{dist/types → types}/ui/FileViewer/hooks/useKeyDown.d.ts +0 -0
  1731. /package/{dist/types → types}/ui/FileViewer/index.d.ts +0 -0
  1732. /package/{dist/types → types}/ui/FileViewer/types.d.ts +0 -0
  1733. /package/{dist/types → types}/ui/FileViewer/utils.d.ts +0 -0
  1734. /package/{dist/types → types}/ui/Icon/colors.d.ts +0 -0
  1735. /package/{dist/types → types}/ui/Icon/index.d.ts +0 -0
  1736. /package/{dist/types → types}/ui/Icon/type.d.ts +0 -0
  1737. /package/{dist/types → types}/ui/Icon/utils.d.ts +0 -0
  1738. /package/{dist/types → types}/ui/IconButton/index.d.ts +0 -0
  1739. /package/{dist/types → types}/ui/ImageGrid/index.d.ts +0 -0
  1740. /package/{dist/types → types}/ui/ImageRenderer/index.d.ts +0 -0
  1741. /package/{dist/types → types}/ui/ImageRenderer/useDynamicSideLength.d.ts +0 -0
  1742. /package/{dist/types → types}/ui/ImageRenderer/utils.d.ts +0 -0
  1743. /package/{dist/types → types}/ui/Input/index.d.ts +0 -0
  1744. /package/{dist/types → types}/ui/Label/index.d.ts +0 -0
  1745. /package/{dist/types → types}/ui/Label/stringFormatterUtils.d.ts +0 -0
  1746. /package/{dist/types → types}/ui/Label/stringSet.d.ts +0 -0
  1747. /package/{dist/types → types}/ui/Label/types.d.ts +0 -0
  1748. /package/{dist/types → types}/ui/Label/utils.d.ts +0 -0
  1749. /package/{dist/types → types}/ui/LegacyEditUserProfile/index.d.ts +0 -0
  1750. /package/{dist/types → types}/ui/LinkLabel/index.d.ts +0 -0
  1751. /package/{dist/types → types}/ui/Loader/index.d.ts +0 -0
  1752. /package/{dist/types → types}/ui/MentionLabel/index.d.ts +0 -0
  1753. /package/{dist/types → types}/ui/MentionUserLabel/consts.d.ts +0 -0
  1754. /package/{dist/types → types}/ui/MentionUserLabel/index.d.ts +0 -0
  1755. /package/{dist/types → types}/ui/MentionUserLabel/renderToString.d.ts +0 -0
  1756. /package/{dist/types → types}/ui/MessageContent/MessageBody/index.d.ts +0 -0
  1757. /package/{dist/types → types}/ui/MessageContent/MessageHeader/index.d.ts +0 -0
  1758. /package/{dist/types → types}/ui/MessageContent/MessageProfile/index.d.ts +0 -0
  1759. /package/{dist/types → types}/ui/MessageContent/index.d.ts +0 -0
  1760. /package/{dist/types → types}/ui/MessageInput/const.d.ts +0 -0
  1761. /package/{dist/types → types}/ui/MessageInput/hooks/usePaste/consts.d.ts +0 -0
  1762. /package/{dist/types → types}/ui/MessageInput/hooks/usePaste/index.d.ts +0 -0
  1763. /package/{dist/types → types}/ui/MessageInput/hooks/usePaste/insertTemplate.d.ts +0 -0
  1764. /package/{dist/types → types}/ui/MessageInput/hooks/usePaste/types.d.ts +0 -0
  1765. /package/{dist/types → types}/ui/MessageInput/hooks/usePaste/utils.d.ts +0 -0
  1766. /package/{dist/types → types}/ui/MessageInput/index.d.ts +0 -0
  1767. /package/{dist/types → types}/ui/MessageInput/messageInputUtils.d.ts +0 -0
  1768. /package/{dist/types → types}/ui/MessageInput/utils.d.ts +0 -0
  1769. /package/{dist/types → types}/ui/MessageItemMenu/index.d.ts +0 -0
  1770. /package/{dist/types → types}/ui/MessageItemReactionMenu/index.d.ts +0 -0
  1771. /package/{dist/types → types}/ui/MessageSearchFileItem/index.d.ts +0 -0
  1772. /package/{dist/types → types}/ui/MessageSearchFileItem/mockFileMessage.d.ts +0 -0
  1773. /package/{dist/types → types}/ui/MessageSearchFileItem/utils.d.ts +0 -0
  1774. /package/{dist/types → types}/ui/MessageSearchItem/getCreatedAt.d.ts +0 -0
  1775. /package/{dist/types → types}/ui/MessageSearchItem/index.d.ts +0 -0
  1776. /package/{dist/types → types}/ui/MessageSearchItem/messageDummyDate.mock.d.ts +0 -0
  1777. /package/{dist/types → types}/ui/MessageStatus/index.d.ts +0 -0
  1778. /package/{dist/types → types}/ui/MessageStatus/messageDummyData.mock.d.ts +0 -0
  1779. /package/{dist/types → types}/ui/MobileMenu/MobileBottomSheet.d.ts +0 -0
  1780. /package/{dist/types → types}/ui/MobileMenu/MobileContextMenu.d.ts +0 -0
  1781. /package/{dist/types → types}/ui/MobileMenu/MobileEmojisBottomSheet.d.ts +0 -0
  1782. /package/{dist/types → types}/ui/MobileMenu/ReactedMembersBottomSheet.d.ts +0 -0
  1783. /package/{dist/types → types}/ui/MobileMenu/index.d.ts +0 -0
  1784. /package/{dist/types → types}/ui/MobileMenu/types.d.ts +0 -0
  1785. /package/{dist/types → types}/ui/Modal/index.d.ts +0 -0
  1786. /package/{dist/types → types}/ui/MultipleFilesMessageItemBody/const.d.ts +0 -0
  1787. /package/{dist/types → types}/ui/MultipleFilesMessageItemBody/index.d.ts +0 -0
  1788. /package/{dist/types → types}/ui/OGMessageItemBody/consts.d.ts +0 -0
  1789. /package/{dist/types → types}/ui/OGMessageItemBody/index.d.ts +0 -0
  1790. /package/{dist/types → types}/ui/OpenChannelAdminMessage/index.d.ts +0 -0
  1791. /package/{dist/types → types}/ui/OpenChannelMobileMenu/index.d.ts +0 -0
  1792. /package/{dist/types → types}/ui/OpenchannelConversationHeader/index.d.ts +0 -0
  1793. /package/{dist/types → types}/ui/OpenchannelFileMessage/index.d.ts +0 -0
  1794. /package/{dist/types → types}/ui/OpenchannelFileMessage/mockMessages.d.ts +0 -0
  1795. /package/{dist/types → types}/ui/OpenchannelFileMessage/utils.d.ts +0 -0
  1796. /package/{dist/types → types}/ui/OpenchannelOGMessage/index.d.ts +0 -0
  1797. /package/{dist/types → types}/ui/OpenchannelOGMessage/utils.d.ts +0 -0
  1798. /package/{dist/types → types}/ui/OpenchannelThumbnailMessage/index.d.ts +0 -0
  1799. /package/{dist/types → types}/ui/OpenchannelThumbnailMessage/utils.d.ts +0 -0
  1800. /package/{dist/types → types}/ui/OpenchannelUserMessage/index.d.ts +0 -0
  1801. /package/{dist/types → types}/ui/OpenchannelUserMessage/utils.d.ts +0 -0
  1802. /package/{dist/types → types}/ui/PlaceHolder/index.d.ts +0 -0
  1803. /package/{dist/types → types}/ui/PlaybackTime/index.d.ts +0 -0
  1804. /package/{dist/types → types}/ui/ProgressBar/index.d.ts +0 -0
  1805. /package/{dist/types → types}/ui/QuoteMessage/index.d.ts +0 -0
  1806. /package/{dist/types → types}/ui/QuoteMessage/utils.d.ts +0 -0
  1807. /package/{dist/types → types}/ui/QuoteMessageInput/QuoteMessageThumbnail.d.ts +0 -0
  1808. /package/{dist/types → types}/ui/QuoteMessageInput/index.d.ts +0 -0
  1809. /package/{dist/types → types}/ui/QuoteMessageInput/mockMessage.d.ts +0 -0
  1810. /package/{dist/types → types}/ui/ReactionBadge/index.d.ts +0 -0
  1811. /package/{dist/types → types}/ui/ReactionButton/index.d.ts +0 -0
  1812. /package/{dist/types → types}/ui/SortByRow/index.d.ts +0 -0
  1813. /package/{dist/types → types}/ui/TextButton/index.d.ts +0 -0
  1814. /package/{dist/types → types}/ui/TextMessageItemBody/consts.d.ts +0 -0
  1815. /package/{dist/types → types}/ui/TextMessageItemBody/index.d.ts +0 -0
  1816. /package/{dist/types → types}/ui/ThreadReplies/index.d.ts +0 -0
  1817. /package/{dist/types → types}/ui/ThumbnailMessageItemBody/index.d.ts +0 -0
  1818. /package/{dist/types → types}/ui/Toggle/ToggleContainer.d.ts +0 -0
  1819. /package/{dist/types → types}/ui/Toggle/ToggleContext.d.ts +0 -0
  1820. /package/{dist/types → types}/ui/Toggle/ToggleUI.d.ts +0 -0
  1821. /package/{dist/types → types}/ui/Toggle/index.d.ts +0 -0
  1822. /package/{dist/types → types}/ui/Toggle/utils.d.ts +0 -0
  1823. /package/{dist/types → types}/ui/Tooltip/index.d.ts +0 -0
  1824. /package/{dist/types → types}/ui/TooltipWrapper/index.d.ts +0 -0
  1825. /package/{dist/types → types}/ui/TypingIndicatorBubble/TypingDots.d.ts +0 -0
  1826. /package/{dist/types → types}/ui/TypingIndicatorBubble/index.d.ts +0 -0
  1827. /package/{dist/types → types}/ui/UnknownMessageItemBody/index.d.ts +0 -0
  1828. /package/{dist/types → types}/ui/UserListItem/index.d.ts +0 -0
  1829. /package/{dist/types → types}/ui/UserProfile/index.d.ts +0 -0
  1830. /package/{dist/types → types}/ui/VoiceMessageInput/controlerIcons.d.ts +0 -0
  1831. /package/{dist/types → types}/ui/VoiceMessageInput/index.d.ts +0 -0
  1832. /package/{dist/types → types}/ui/VoiceMessageInput/types.d.ts +0 -0
  1833. /package/{dist/types → types}/ui/VoiceMessageItemBody/index.d.ts +0 -0
  1834. /package/{dist/types → types}/ui/Word/index.d.ts +0 -0
  1835. /package/{dist/types → types}/utils/cloneMessage.d.ts +0 -0
  1836. /package/{dist/types → types}/utils/color.d.ts +0 -0
  1837. /package/{dist/types → types}/utils/compareIds.d.ts +0 -0
  1838. /package/{dist/types → types}/utils/compressImages.d.ts +0 -0
  1839. /package/{dist/types → types}/utils/createStatefulFileInfoList.d.ts +0 -0
  1840. /package/{dist/types → types}/utils/exports/getOutgoingMessageState.d.ts +0 -0
  1841. /package/{dist/types → types}/utils/getIsReactionEnabled.d.ts +0 -0
  1842. /package/{dist/types → types}/utils/index.d.ts +0 -0
  1843. /package/{dist/types → types}/utils/isVoiceMessage.d.ts +0 -0
  1844. /package/{dist/types → types}/utils/numberToPx.d.ts +0 -0
  1845. /package/{dist/types → types}/utils/openChannelUtils.d.ts +0 -0
  1846. /package/{dist/types → types}/utils/pxToNumber.d.ts +0 -0
  1847. /package/{dist/types → types}/utils/testMocks/error.d.ts +0 -0
  1848. /package/{dist/types → types}/utils/testMocks/message.d.ts +0 -0
  1849. /package/{dist/types → types}/utils/testMocks/messageRequestHandler.d.ts +0 -0
  1850. /package/{dist/types → types}/utils/typeHelpers/objectValues.d.ts +0 -0
  1851. /package/{dist/types → types}/utils/typeHelpers/partialDeep.d.ts +0 -0
  1852. /package/{dist/types → types}/utils/typeHelpers/reducers/createAction.d.ts +0 -0
  1853. /package/{dist/types → types}/utils/useDidMountEffect.d.ts +0 -0
  1854. /package/{dist/types → types}/utils/utils.d.ts +0 -0
  1855. /package/{dist/types → types}/utils/uuid.d.ts +0 -0
  1856. /package/{dist/ui → ui}/Accordion.js.map +0 -0
  1857. /package/{dist/ui → ui}/AccordionGroup.js.map +0 -0
  1858. /package/{dist/ui → ui}/AdminMessage.js.map +0 -0
  1859. /package/{dist/ui → ui}/Avatar.js.map +0 -0
  1860. /package/{dist/ui → ui}/Badge.js.map +0 -0
  1861. /package/{dist/ui → ui}/BottomSheet.js.map +0 -0
  1862. /package/{dist/ui → ui}/Button.js.map +0 -0
  1863. /package/{dist/ui → ui}/ChannelAvatar.js.map +0 -0
  1864. /package/{dist/ui → ui}/Checkbox.js +0 -0
  1865. /package/{dist/ui → ui}/Checkbox.js.map +0 -0
  1866. /package/{dist/ui → ui}/ConnectionStatus.js.map +0 -0
  1867. /package/{dist/ui → ui}/ContextMenu.js.map +0 -0
  1868. /package/{dist/ui → ui}/DateSeparator.js.map +0 -0
  1869. /package/{dist/ui → ui}/EmojiReactions.js.map +0 -0
  1870. /package/{dist/ui → ui}/FileMessageItemBody.js.map +0 -0
  1871. /package/{dist/ui → ui}/FileViewer.js.map +0 -0
  1872. /package/{dist/ui → ui}/Icon.js.map +0 -0
  1873. /package/{dist/ui → ui}/IconButton.js.map +0 -0
  1874. /package/{dist/ui → ui}/ImageRenderer.js.map +0 -0
  1875. /package/{dist/ui → ui}/Input.js.map +0 -0
  1876. /package/{dist/ui → ui}/Label.js.map +0 -0
  1877. /package/{dist/ui → ui}/LinkLabel.js.map +0 -0
  1878. /package/{dist/ui → ui}/Loader.js.map +0 -0
  1879. /package/{dist/ui → ui}/MentionLabel.js.map +0 -0
  1880. /package/{dist/ui → ui}/MentionUserLabel.js.map +0 -0
  1881. /package/{dist/ui → ui}/MessageContent.js.map +0 -0
  1882. /package/{dist/ui → ui}/MessageInput/hooks/usePaste.js.map +0 -0
  1883. /package/{dist/ui → ui}/MessageInput.js.map +0 -0
  1884. /package/{dist/ui → ui}/MessageItemMenu.js.map +0 -0
  1885. /package/{dist/ui → ui}/MessageItemReactionMenu.js.map +0 -0
  1886. /package/{dist/ui → ui}/MessageSearchFileItem.js.map +0 -0
  1887. /package/{dist/ui → ui}/MessageSearchItem.js.map +0 -0
  1888. /package/{dist/ui → ui}/MessageStatus.js.map +0 -0
  1889. /package/{dist/ui → ui}/Modal.js.map +0 -0
  1890. /package/{dist/ui → ui}/MutedAvatarOverlay.js.map +0 -0
  1891. /package/{dist/ui → ui}/OGMessageItemBody.js.map +0 -0
  1892. /package/{dist/ui → ui}/OpenChannelAdminMessage.js.map +0 -0
  1893. /package/{dist/ui → ui}/OpenChannelAvatar.js.map +0 -0
  1894. /package/{dist/ui → ui}/OpenchannelConversationHeader.js.map +0 -0
  1895. /package/{dist/ui → ui}/OpenchannelFileMessage.js.map +0 -0
  1896. /package/{dist/ui → ui}/OpenchannelOGMessage.js.map +0 -0
  1897. /package/{dist/ui → ui}/OpenchannelThumbnailMessage.js.map +0 -0
  1898. /package/{dist/ui → ui}/OpenchannelUserMessage.js.map +0 -0
  1899. /package/{dist/ui → ui}/PlaceHolder.js.map +0 -0
  1900. /package/{dist/ui → ui}/PlaybackTime.js.map +0 -0
  1901. /package/{dist/ui → ui}/ProgressBar.js +0 -0
  1902. /package/{dist/ui → ui}/ProgressBar.js.map +0 -0
  1903. /package/{dist/ui → ui}/QuoteMessage.js.map +0 -0
  1904. /package/{dist/ui → ui}/QuoteMessageInput.js.map +0 -0
  1905. /package/{dist/ui → ui}/ReactionBadge.js.map +0 -0
  1906. /package/{dist/ui → ui}/ReactionButton.js.map +0 -0
  1907. /package/{dist/ui → ui}/SortByRow.js.map +0 -0
  1908. /package/{dist/ui → ui}/TextButton.js.map +0 -0
  1909. /package/{dist/ui → ui}/TextMessageItemBody.js.map +0 -0
  1910. /package/{dist/ui → ui}/ThreadReplies.js.map +0 -0
  1911. /package/{dist/ui → ui}/ThumbnailMessageItemBody.js.map +0 -0
  1912. /package/{dist/ui → ui}/Toggle.js.map +0 -0
  1913. /package/{dist/ui → ui}/Tooltip.js.map +0 -0
  1914. /package/{dist/ui → ui}/TooltipWrapper.js.map +0 -0
  1915. /package/{dist/ui → ui}/TypingIndicatorBubble.js.map +0 -0
  1916. /package/{dist/ui → ui}/UnknownMessageItemBody.js.map +0 -0
  1917. /package/{dist/ui → ui}/UserListItem.js.map +0 -0
  1918. /package/{dist/ui → ui}/UserProfile.js.map +0 -0
  1919. /package/{dist/ui → ui}/VoiceMessageInput.js.map +0 -0
  1920. /package/{dist/ui → ui}/VoiceMessageItemBody.js.map +0 -0
  1921. /package/{dist/ui → ui}/Word.js.map +0 -0
  1922. /package/{dist/useSendbirdStateContext.js.map → useSendbirdStateContext.js.map} +0 -0
  1923. /package/{dist/utils → utils}/message/getOutgoingMessageState.js +0 -0
  1924. /package/{dist/utils → utils}/message/getOutgoingMessageState.js.map +0 -0
  1925. /package/{dist/utils → utils}/message/isVoiceMessage.js.map +0 -0
  1926. /package/{dist/withSendbird.js.map → withSendbird.js.map} +0 -0
@@ -0,0 +1,1853 @@
1
+ import { d as defaultLocale } from './bundle-D_pLwnQ0.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-2yC2lcsy.js.map