@stream-io/video-react-native-sdk 1.39.1-beta.0 → 1.40.0

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 (676) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/android/src/main/java/com/streamvideo/reactnative/recorder/TracksRecorderManager.kt +17 -8
  3. package/dist/commonjs/components/Call/CallContent/CallContent.js +93 -48
  4. package/dist/commonjs/components/Call/CallContent/CallContent.js.map +1 -1
  5. package/dist/commonjs/components/Call/CallContent/RTCViewPipIOS.js +22 -20
  6. package/dist/commonjs/components/Call/CallContent/RTCViewPipIOS.js.map +1 -1
  7. package/dist/commonjs/components/Call/CallContent/RTCViewPipNative.js +2 -1
  8. package/dist/commonjs/components/Call/CallContent/RTCViewPipNative.js.map +1 -1
  9. package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js +10 -6
  10. package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js.map +1 -1
  11. package/dist/commonjs/components/Call/CallControls/CallControls.js +7 -5
  12. package/dist/commonjs/components/Call/CallControls/CallControls.js.map +1 -1
  13. package/dist/commonjs/components/Call/CallControls/CallControlsButton.js +11 -8
  14. package/dist/commonjs/components/Call/CallControls/CallControlsButton.js.map +1 -1
  15. package/dist/commonjs/components/Call/CallControls/HangupCallButton.js +10 -6
  16. package/dist/commonjs/components/Call/CallControls/HangupCallButton.js.map +1 -1
  17. package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js +11 -9
  18. package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js.map +1 -1
  19. package/dist/commonjs/components/Call/CallControls/LobbyControls.js +5 -3
  20. package/dist/commonjs/components/Call/CallControls/LobbyControls.js.map +1 -1
  21. package/dist/commonjs/components/Call/CallControls/OutgoingCallControls.js +12 -9
  22. package/dist/commonjs/components/Call/CallControls/OutgoingCallControls.js.map +1 -1
  23. package/dist/commonjs/components/Call/CallControls/ReactionsButton.js +22 -15
  24. package/dist/commonjs/components/Call/CallControls/ReactionsButton.js.map +1 -1
  25. package/dist/commonjs/components/Call/CallControls/RejectCallButton.js +10 -6
  26. package/dist/commonjs/components/Call/CallControls/RejectCallButton.js.map +1 -1
  27. package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js +15 -11
  28. package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
  29. package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js +13 -9
  30. package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
  31. package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js +18 -13
  32. package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
  33. package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js +17 -12
  34. package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
  35. package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js +13 -9
  36. package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
  37. package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js +17 -12
  38. package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
  39. package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js +39 -34
  40. package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
  41. package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js +17 -12
  42. package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
  43. package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js +36 -24
  44. package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
  45. package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js +30 -28
  46. package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
  47. package/dist/commonjs/components/Call/Lobby/JoinCallButton.js +10 -7
  48. package/dist/commonjs/components/Call/Lobby/JoinCallButton.js.map +1 -1
  49. package/dist/commonjs/components/Call/Lobby/Lobby.js +45 -35
  50. package/dist/commonjs/components/Call/Lobby/Lobby.js.map +1 -1
  51. package/dist/commonjs/components/Call/Lobby/LobbyFooter.js +21 -16
  52. package/dist/commonjs/components/Call/Lobby/LobbyFooter.js.map +1 -1
  53. package/dist/commonjs/components/Call/RingingCallContent/CallLeftIndicator.js +2 -1
  54. package/dist/commonjs/components/Call/RingingCallContent/CallLeftIndicator.js.map +1 -1
  55. package/dist/commonjs/components/Call/RingingCallContent/CallPreparingIndicator.js +2 -1
  56. package/dist/commonjs/components/Call/RingingCallContent/CallPreparingIndicator.js.map +1 -1
  57. package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js +32 -22
  58. package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
  59. package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js +37 -27
  60. package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
  61. package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js +13 -11
  62. package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
  63. package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js +28 -22
  64. package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
  65. package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js +25 -22
  66. package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js.map +1 -1
  67. package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js +38 -34
  68. package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
  69. package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js +16 -12
  70. package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
  71. package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js +16 -12
  72. package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
  73. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +19 -14
  74. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
  75. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamMediaControls.js +5 -3
  76. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamMediaControls.js.map +1 -1
  77. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +19 -16
  78. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
  79. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +19 -14
  80. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
  81. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +11 -8
  82. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
  83. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +78 -57
  84. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
  85. package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js +13 -46
  86. package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
  87. package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamEnded.js +48 -22
  88. package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamEnded.js.map +1 -1
  89. package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamPlayer.js +7 -5
  90. package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamPlayer.js.map +1 -1
  91. package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js +12 -9
  92. package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
  93. package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js +11 -7
  94. package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
  95. package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +18 -13
  96. package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
  97. package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js +10 -7
  98. package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
  99. package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +18 -13
  100. package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
  101. package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js +41 -37
  102. package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
  103. package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLobby.js +33 -23
  104. package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLobby.js.map +1 -1
  105. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +18 -15
  106. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -1
  107. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +20 -16
  108. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
  109. package/dist/commonjs/components/Participant/FloatingParticipantView/index.js +55 -48
  110. package/dist/commonjs/components/Participant/FloatingParticipantView/index.js.map +1 -1
  111. package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js +64 -52
  112. package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
  113. package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +30 -27
  114. package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
  115. package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js +11 -7
  116. package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
  117. package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js +17 -14
  118. package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
  119. package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js +27 -24
  120. package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
  121. package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js +8 -7
  122. package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -1
  123. package/dist/commonjs/components/Participant/ParticipantView/VideoRenderer/index.js +35 -32
  124. package/dist/commonjs/components/Participant/ParticipantView/VideoRenderer/index.js.map +1 -1
  125. package/dist/commonjs/components/utility/Avatar.js +18 -15
  126. package/dist/commonjs/components/utility/Avatar.js.map +1 -1
  127. package/dist/commonjs/components/utility/ScreenShareOverlay.js +35 -29
  128. package/dist/commonjs/components/utility/ScreenShareOverlay.js.map +1 -1
  129. package/dist/commonjs/contexts/BackgroundFilters.js +5 -3
  130. package/dist/commonjs/contexts/BackgroundFilters.js.map +1 -1
  131. package/dist/commonjs/contexts/ThemeContext.js +5 -3
  132. package/dist/commonjs/contexts/ThemeContext.js.map +1 -1
  133. package/dist/commonjs/contexts/internal/ScreenshotIosContext.js +5 -3
  134. package/dist/commonjs/contexts/internal/ScreenshotIosContext.js.map +1 -1
  135. package/dist/commonjs/hooks/useAutoEnterPiPEffect.js +5 -10
  136. package/dist/commonjs/hooks/useAutoEnterPiPEffect.js.map +1 -1
  137. package/dist/commonjs/hooks/useLoopbackRecording.js +47 -27
  138. package/dist/commonjs/hooks/useLoopbackRecording.js.map +1 -1
  139. package/dist/commonjs/hooks/useModeration.js +4 -1
  140. package/dist/commonjs/hooks/useModeration.js.map +1 -1
  141. package/dist/commonjs/icons/Back.js +8 -6
  142. package/dist/commonjs/icons/Back.js.map +1 -1
  143. package/dist/commonjs/icons/BadNetwork.js +11 -9
  144. package/dist/commonjs/icons/BadNetwork.js.map +1 -1
  145. package/dist/commonjs/icons/CameraSwitch.js +8 -6
  146. package/dist/commonjs/icons/CameraSwitch.js.map +1 -1
  147. package/dist/commonjs/icons/EndStreamIcon.js +8 -6
  148. package/dist/commonjs/icons/EndStreamIcon.js.map +1 -1
  149. package/dist/commonjs/icons/Eye.js +8 -6
  150. package/dist/commonjs/icons/Eye.js.map +1 -1
  151. package/dist/commonjs/icons/IconWrapper.js +5 -3
  152. package/dist/commonjs/icons/IconWrapper.js.map +1 -1
  153. package/dist/commonjs/icons/LivestreamControls.js +44 -39
  154. package/dist/commonjs/icons/LivestreamControls.js.map +1 -1
  155. package/dist/commonjs/icons/Lock.js +8 -6
  156. package/dist/commonjs/icons/Lock.js.map +1 -1
  157. package/dist/commonjs/icons/Maximize.js +33 -31
  158. package/dist/commonjs/icons/Maximize.js.map +1 -1
  159. package/dist/commonjs/icons/Mic.js +8 -6
  160. package/dist/commonjs/icons/Mic.js.map +1 -1
  161. package/dist/commonjs/icons/MicOff.js +8 -6
  162. package/dist/commonjs/icons/MicOff.js.map +1 -1
  163. package/dist/commonjs/icons/Phone.js +8 -6
  164. package/dist/commonjs/icons/Phone.js.map +1 -1
  165. package/dist/commonjs/icons/PhoneDown.js +8 -6
  166. package/dist/commonjs/icons/PhoneDown.js.map +1 -1
  167. package/dist/commonjs/icons/PinVertical.js +8 -6
  168. package/dist/commonjs/icons/PinVertical.js.map +1 -1
  169. package/dist/commonjs/icons/Reaction.js +8 -6
  170. package/dist/commonjs/icons/Reaction.js.map +1 -1
  171. package/dist/commonjs/icons/ScreenShare.js +8 -6
  172. package/dist/commonjs/icons/ScreenShare.js.map +1 -1
  173. package/dist/commonjs/icons/ScreenShareIndicator.js +21 -18
  174. package/dist/commonjs/icons/ScreenShareIndicator.js.map +1 -1
  175. package/dist/commonjs/icons/StartStreamIcon.js +8 -6
  176. package/dist/commonjs/icons/StartStreamIcon.js.map +1 -1
  177. package/dist/commonjs/icons/StopScreenShare.js +11 -9
  178. package/dist/commonjs/icons/StopScreenShare.js.map +1 -1
  179. package/dist/commonjs/icons/Video.js +8 -6
  180. package/dist/commonjs/icons/Video.js.map +1 -1
  181. package/dist/commonjs/icons/VideoSlash.js +8 -6
  182. package/dist/commonjs/icons/VideoSlash.js.map +1 -1
  183. package/dist/commonjs/icons/index.js +0 -66
  184. package/dist/commonjs/icons/index.js.map +1 -1
  185. package/dist/commonjs/package.json +1 -0
  186. package/dist/commonjs/providers/BusyTonePlayer.js +7 -7
  187. package/dist/commonjs/providers/BusyTonePlayer.js.map +1 -1
  188. package/dist/commonjs/providers/NoiseCancellation/NoiseCancellationProvider.js +5 -3
  189. package/dist/commonjs/providers/NoiseCancellation/NoiseCancellationProvider.js.map +1 -1
  190. package/dist/commonjs/providers/StreamCall/AppStateListener.js +3 -0
  191. package/dist/commonjs/providers/StreamCall/AppStateListener.js.map +1 -1
  192. package/dist/commonjs/providers/StreamCall/DeviceStats.js +1 -1
  193. package/dist/commonjs/providers/StreamCall/DeviceStats.js.map +1 -1
  194. package/dist/commonjs/providers/StreamCall/index.js +5 -3
  195. package/dist/commonjs/providers/StreamCall/index.js.map +1 -1
  196. package/dist/commonjs/providers/StreamVideo.js +10 -5
  197. package/dist/commonjs/providers/StreamVideo.js.map +1 -1
  198. package/dist/commonjs/utils/StreamVideoRN/index.js +0 -1
  199. package/dist/commonjs/utils/StreamVideoRN/index.js.map +1 -1
  200. package/dist/commonjs/utils/internal/callingx/callingx.js +4 -4
  201. package/dist/commonjs/utils/internal/callingx/callingx.js.map +1 -1
  202. package/dist/commonjs/utils/internal/registerSDKGlobals.js +2 -2
  203. package/dist/commonjs/utils/internal/registerSDKGlobals.js.map +1 -1
  204. package/dist/commonjs/utils/push/libs/firebaseMessaging/index.js.map +1 -1
  205. package/dist/commonjs/version.js +1 -1
  206. package/dist/commonjs/version.js.map +1 -1
  207. package/dist/module/components/Call/CallContent/CallContent.js +95 -48
  208. package/dist/module/components/Call/CallContent/CallContent.js.map +1 -1
  209. package/dist/module/components/Call/CallContent/RTCViewPipIOS.js +24 -20
  210. package/dist/module/components/Call/CallContent/RTCViewPipIOS.js.map +1 -1
  211. package/dist/module/components/Call/CallContent/RTCViewPipNative.js +4 -1
  212. package/dist/module/components/Call/CallContent/RTCViewPipNative.js.map +1 -1
  213. package/dist/module/components/Call/CallContent/index.js +2 -0
  214. package/dist/module/components/Call/CallContent/index.js.map +1 -1
  215. package/dist/module/components/Call/CallControls/AcceptCallButton.js +12 -7
  216. package/dist/module/components/Call/CallControls/AcceptCallButton.js.map +1 -1
  217. package/dist/module/components/Call/CallControls/CallControls.js +9 -6
  218. package/dist/module/components/Call/CallControls/CallControls.js.map +1 -1
  219. package/dist/module/components/Call/CallControls/CallControlsButton.js +13 -8
  220. package/dist/module/components/Call/CallControls/CallControlsButton.js.map +1 -1
  221. package/dist/module/components/Call/CallControls/HangupCallButton.js +12 -7
  222. package/dist/module/components/Call/CallControls/HangupCallButton.js.map +1 -1
  223. package/dist/module/components/Call/CallControls/IncomingCallControls.js +13 -10
  224. package/dist/module/components/Call/CallControls/IncomingCallControls.js.map +1 -1
  225. package/dist/module/components/Call/CallControls/LobbyControls.js +7 -3
  226. package/dist/module/components/Call/CallControls/LobbyControls.js.map +1 -1
  227. package/dist/module/components/Call/CallControls/OutgoingCallControls.js +14 -10
  228. package/dist/module/components/Call/CallControls/OutgoingCallControls.js.map +1 -1
  229. package/dist/module/components/Call/CallControls/ReactionsButton.js +24 -16
  230. package/dist/module/components/Call/CallControls/ReactionsButton.js.map +1 -1
  231. package/dist/module/components/Call/CallControls/RejectCallButton.js +12 -7
  232. package/dist/module/components/Call/CallControls/RejectCallButton.js.map +1 -1
  233. package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js +17 -12
  234. package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
  235. package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js +15 -10
  236. package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
  237. package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js +20 -14
  238. package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
  239. package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js +19 -13
  240. package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
  241. package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js +15 -10
  242. package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
  243. package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js +19 -13
  244. package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
  245. package/dist/module/components/Call/CallControls/index.js +2 -0
  246. package/dist/module/components/Call/CallControls/index.js.map +1 -1
  247. package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js +41 -34
  248. package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
  249. package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js +19 -13
  250. package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
  251. package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js +38 -25
  252. package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
  253. package/dist/module/components/Call/CallLayout/index.js +2 -0
  254. package/dist/module/components/Call/CallLayout/index.js.map +1 -1
  255. package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js +32 -28
  256. package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
  257. package/dist/module/components/Call/CallParticipantsList/index.js +2 -0
  258. package/dist/module/components/Call/CallParticipantsList/index.js.map +1 -1
  259. package/dist/module/components/Call/Lobby/JoinCallButton.js +12 -8
  260. package/dist/module/components/Call/Lobby/JoinCallButton.js.map +1 -1
  261. package/dist/module/components/Call/Lobby/Lobby.js +47 -36
  262. package/dist/module/components/Call/Lobby/Lobby.js.map +1 -1
  263. package/dist/module/components/Call/Lobby/LobbyFooter.js +23 -17
  264. package/dist/module/components/Call/Lobby/LobbyFooter.js.map +1 -1
  265. package/dist/module/components/Call/Lobby/index.js +2 -0
  266. package/dist/module/components/Call/Lobby/index.js.map +1 -1
  267. package/dist/module/components/Call/RingingCallContent/CallLeftIndicator.js +4 -1
  268. package/dist/module/components/Call/RingingCallContent/CallLeftIndicator.js.map +1 -1
  269. package/dist/module/components/Call/RingingCallContent/CallPreparingIndicator.js +4 -1
  270. package/dist/module/components/Call/RingingCallContent/CallPreparingIndicator.js.map +1 -1
  271. package/dist/module/components/Call/RingingCallContent/IncomingCall.js +34 -23
  272. package/dist/module/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
  273. package/dist/module/components/Call/RingingCallContent/OutgoingCall.js +39 -28
  274. package/dist/module/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
  275. package/dist/module/components/Call/RingingCallContent/RingingCallContent.js +15 -12
  276. package/dist/module/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
  277. package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js +30 -22
  278. package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
  279. package/dist/module/components/Call/RingingCallContent/UserInfo.js +27 -22
  280. package/dist/module/components/Call/RingingCallContent/UserInfo.js.map +1 -1
  281. package/dist/module/components/Call/RingingCallContent/index.js +2 -0
  282. package/dist/module/components/Call/RingingCallContent/index.js.map +1 -1
  283. package/dist/module/components/Call/index.js +2 -0
  284. package/dist/module/components/Call/index.js.map +1 -1
  285. package/dist/module/components/Livestream/HostLivestream/HostLivestream.js +40 -35
  286. package/dist/module/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
  287. package/dist/module/components/Livestream/HostLivestream/index.js +2 -0
  288. package/dist/module/components/Livestream/HostLivestream/index.js.map +1 -1
  289. package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js +18 -13
  290. package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
  291. package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js +18 -13
  292. package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
  293. package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +21 -14
  294. package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
  295. package/dist/module/components/Livestream/LivestreamControls/LivestreamMediaControls.js +7 -4
  296. package/dist/module/components/Livestream/LivestreamControls/LivestreamMediaControls.js.map +1 -1
  297. package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +21 -16
  298. package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
  299. package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +21 -14
  300. package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
  301. package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +13 -9
  302. package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
  303. package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +80 -58
  304. package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
  305. package/dist/module/components/Livestream/LivestreamControls/index.js +2 -0
  306. package/dist/module/components/Livestream/LivestreamControls/index.js.map +1 -1
  307. package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js +14 -46
  308. package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
  309. package/dist/module/components/Livestream/LivestreamLayout/index.js +2 -0
  310. package/dist/module/components/Livestream/LivestreamLayout/index.js.map +1 -1
  311. package/dist/module/components/Livestream/LivestreamPlayer/LivestreamEnded.js +52 -25
  312. package/dist/module/components/Livestream/LivestreamPlayer/LivestreamEnded.js.map +1 -1
  313. package/dist/module/components/Livestream/LivestreamPlayer/LivestreamPlayer.js +9 -5
  314. package/dist/module/components/Livestream/LivestreamPlayer/LivestreamPlayer.js.map +1 -1
  315. package/dist/module/components/Livestream/LivestreamPlayer/index.js +2 -0
  316. package/dist/module/components/Livestream/LivestreamPlayer/index.js.map +1 -1
  317. package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js +14 -10
  318. package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
  319. package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js +13 -8
  320. package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
  321. package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +20 -14
  322. package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
  323. package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js +12 -8
  324. package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
  325. package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +20 -14
  326. package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
  327. package/dist/module/components/Livestream/LivestreamTopView/index.js +2 -0
  328. package/dist/module/components/Livestream/LivestreamTopView/index.js.map +1 -1
  329. package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js +43 -38
  330. package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
  331. package/dist/module/components/Livestream/ViewerLivestream/ViewerLobby.js +35 -23
  332. package/dist/module/components/Livestream/ViewerLivestream/ViewerLobby.js.map +1 -1
  333. package/dist/module/components/Livestream/ViewerLivestream/index.js +2 -0
  334. package/dist/module/components/Livestream/ViewerLivestream/index.js.map +1 -1
  335. package/dist/module/components/Livestream/index.js +2 -0
  336. package/dist/module/components/Livestream/index.js.map +1 -1
  337. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +20 -15
  338. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -1
  339. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +22 -16
  340. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
  341. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/common.js +2 -0
  342. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/common.js.map +1 -1
  343. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/index.js +2 -0
  344. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/index.js.map +1 -1
  345. package/dist/module/components/Participant/FloatingParticipantView/index.js +56 -49
  346. package/dist/module/components/Participant/FloatingParticipantView/index.js.map +1 -1
  347. package/dist/module/components/Participant/FloatingParticipantView/useFloatingVideoDimensions.js +2 -0
  348. package/dist/module/components/Participant/FloatingParticipantView/useFloatingVideoDimensions.js.map +1 -1
  349. package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js +66 -53
  350. package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
  351. package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +32 -28
  352. package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
  353. package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js +13 -8
  354. package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
  355. package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js +19 -15
  356. package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
  357. package/dist/module/components/Participant/ParticipantView/ParticipantView.js +29 -24
  358. package/dist/module/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
  359. package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js +10 -8
  360. package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -1
  361. package/dist/module/components/Participant/ParticipantView/VideoRenderer/TrackSubscriber.js +2 -0
  362. package/dist/module/components/Participant/ParticipantView/VideoRenderer/TrackSubscriber.js.map +1 -1
  363. package/dist/module/components/Participant/ParticipantView/VideoRenderer/index.js +37 -31
  364. package/dist/module/components/Participant/ParticipantView/VideoRenderer/index.js.map +1 -1
  365. package/dist/module/components/Participant/ParticipantView/index.js +2 -0
  366. package/dist/module/components/Participant/ParticipantView/index.js.map +1 -1
  367. package/dist/module/components/Participant/index.js +2 -0
  368. package/dist/module/components/Participant/index.js.map +1 -1
  369. package/dist/module/components/index.js +2 -0
  370. package/dist/module/components/index.js.map +1 -1
  371. package/dist/module/components/utility/Avatar.js +20 -16
  372. package/dist/module/components/utility/Avatar.js.map +1 -1
  373. package/dist/module/components/utility/ScreenShareOverlay.js +37 -30
  374. package/dist/module/components/utility/ScreenShareOverlay.js.map +1 -1
  375. package/dist/module/components/utility/index.js +2 -0
  376. package/dist/module/components/utility/index.js.map +1 -1
  377. package/dist/module/constants/TestIds.js +2 -0
  378. package/dist/module/constants/TestIds.js.map +1 -1
  379. package/dist/module/constants/index.js +2 -0
  380. package/dist/module/constants/index.js.map +1 -1
  381. package/dist/module/contexts/BackgroundFilters.js +7 -4
  382. package/dist/module/contexts/BackgroundFilters.js.map +1 -1
  383. package/dist/module/contexts/ThemeContext.js +7 -4
  384. package/dist/module/contexts/ThemeContext.js.map +1 -1
  385. package/dist/module/contexts/index.js +2 -0
  386. package/dist/module/contexts/index.js.map +1 -1
  387. package/dist/module/contexts/internal/BackgroundFiltersContext.js +2 -0
  388. package/dist/module/contexts/internal/BackgroundFiltersContext.js.map +1 -1
  389. package/dist/module/contexts/internal/ScreenshotIosContext.js +7 -3
  390. package/dist/module/contexts/internal/ScreenshotIosContext.js.map +1 -1
  391. package/dist/module/hooks/index.js +2 -0
  392. package/dist/module/hooks/index.js.map +1 -1
  393. package/dist/module/hooks/push/index.js +2 -0
  394. package/dist/module/hooks/push/index.js.map +1 -1
  395. package/dist/module/hooks/push/useCallingExpWithCallingStateEffect.js +2 -0
  396. package/dist/module/hooks/push/useCallingExpWithCallingStateEffect.js.map +1 -1
  397. package/dist/module/hooks/push/useInitAndroidTokenAndRest.js +2 -0
  398. package/dist/module/hooks/push/useInitAndroidTokenAndRest.js.map +1 -1
  399. package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js +2 -0
  400. package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js.map +1 -1
  401. package/dist/module/hooks/useAndroidKeepCallAliveEffect.js +2 -0
  402. package/dist/module/hooks/useAndroidKeepCallAliveEffect.js.map +1 -1
  403. package/dist/module/hooks/useAutoEnterPiPEffect.js +7 -10
  404. package/dist/module/hooks/useAutoEnterPiPEffect.js.map +1 -1
  405. package/dist/module/hooks/useIsInPiPMode.js +2 -0
  406. package/dist/module/hooks/useIsInPiPMode.js.map +1 -1
  407. package/dist/module/hooks/useIsIosScreenshareBroadcastStarted.js +2 -0
  408. package/dist/module/hooks/useIsIosScreenshareBroadcastStarted.js.map +1 -1
  409. package/dist/module/hooks/useLoopbackRecording.js +51 -29
  410. package/dist/module/hooks/useLoopbackRecording.js.map +1 -1
  411. package/dist/module/hooks/useModeration.js +6 -1
  412. package/dist/module/hooks/useModeration.js.map +1 -1
  413. package/dist/module/hooks/usePaginatedLayoutSortPreset.js +2 -0
  414. package/dist/module/hooks/usePaginatedLayoutSortPreset.js.map +1 -1
  415. package/dist/module/hooks/usePermissionNotification.js +2 -0
  416. package/dist/module/hooks/usePermissionNotification.js.map +1 -1
  417. package/dist/module/hooks/usePermissionRequest.js +2 -0
  418. package/dist/module/hooks/usePermissionRequest.js.map +1 -1
  419. package/dist/module/hooks/useScreenShareAudioMixing.js +2 -0
  420. package/dist/module/hooks/useScreenShareAudioMixing.js.map +1 -1
  421. package/dist/module/hooks/useScreenShareButton.js +2 -0
  422. package/dist/module/hooks/useScreenShareButton.js.map +1 -1
  423. package/dist/module/hooks/useScreenshot.js +2 -0
  424. package/dist/module/hooks/useScreenshot.js.map +1 -1
  425. package/dist/module/hooks/useTrackDimensions.js +2 -0
  426. package/dist/module/hooks/useTrackDimensions.js.map +1 -1
  427. package/dist/module/icons/Back.js +10 -6
  428. package/dist/module/icons/Back.js.map +1 -1
  429. package/dist/module/icons/BadNetwork.js +13 -9
  430. package/dist/module/icons/BadNetwork.js.map +1 -1
  431. package/dist/module/icons/CameraSwitch.js +10 -6
  432. package/dist/module/icons/CameraSwitch.js.map +1 -1
  433. package/dist/module/icons/EndStreamIcon.js +10 -6
  434. package/dist/module/icons/EndStreamIcon.js.map +1 -1
  435. package/dist/module/icons/Eye.js +10 -6
  436. package/dist/module/icons/Eye.js.map +1 -1
  437. package/dist/module/icons/IconWrapper.js +7 -3
  438. package/dist/module/icons/IconWrapper.js.map +1 -1
  439. package/dist/module/icons/LivestreamControls.js +46 -39
  440. package/dist/module/icons/LivestreamControls.js.map +1 -1
  441. package/dist/module/icons/Lock.js +10 -6
  442. package/dist/module/icons/Lock.js.map +1 -1
  443. package/dist/module/icons/Maximize.js +35 -31
  444. package/dist/module/icons/Maximize.js.map +1 -1
  445. package/dist/module/icons/Mic.js +10 -6
  446. package/dist/module/icons/Mic.js.map +1 -1
  447. package/dist/module/icons/MicOff.js +10 -6
  448. package/dist/module/icons/MicOff.js.map +1 -1
  449. package/dist/module/icons/Phone.js +10 -6
  450. package/dist/module/icons/Phone.js.map +1 -1
  451. package/dist/module/icons/PhoneDown.js +10 -6
  452. package/dist/module/icons/PhoneDown.js.map +1 -1
  453. package/dist/module/icons/PinVertical.js +10 -6
  454. package/dist/module/icons/PinVertical.js.map +1 -1
  455. package/dist/module/icons/Reaction.js +10 -6
  456. package/dist/module/icons/Reaction.js.map +1 -1
  457. package/dist/module/icons/ScreenShare.js +10 -6
  458. package/dist/module/icons/ScreenShare.js.map +1 -1
  459. package/dist/module/icons/ScreenShareIndicator.js +23 -18
  460. package/dist/module/icons/ScreenShareIndicator.js.map +1 -1
  461. package/dist/module/icons/StartStreamIcon.js +10 -6
  462. package/dist/module/icons/StartStreamIcon.js.map +1 -1
  463. package/dist/module/icons/StopScreenShare.js +13 -9
  464. package/dist/module/icons/StopScreenShare.js.map +1 -1
  465. package/dist/module/icons/Video.js +10 -6
  466. package/dist/module/icons/Video.js.map +1 -1
  467. package/dist/module/icons/VideoSlash.js +10 -6
  468. package/dist/module/icons/VideoSlash.js.map +1 -1
  469. package/dist/module/icons/index.js +2 -6
  470. package/dist/module/icons/index.js.map +1 -1
  471. package/dist/module/index.js +2 -0
  472. package/dist/module/index.js.map +1 -1
  473. package/dist/module/modules/ScreenShareAudioManager.js +2 -0
  474. package/dist/module/modules/ScreenShareAudioManager.js.map +1 -1
  475. package/dist/module/modules/call-manager/CallManager.js +2 -0
  476. package/dist/module/modules/call-manager/CallManager.js.map +1 -1
  477. package/dist/module/modules/call-manager/PrevLibDetection.js +2 -0
  478. package/dist/module/modules/call-manager/PrevLibDetection.js.map +1 -1
  479. package/dist/module/modules/call-manager/index.js +2 -0
  480. package/dist/module/modules/call-manager/index.js.map +1 -1
  481. package/dist/module/modules/call-manager/native-module.d.js +2 -0
  482. package/dist/module/modules/call-manager/native-module.d.js.map +1 -1
  483. package/dist/module/modules/call-manager/types.js +1 -1
  484. package/dist/module/providers/BusyTonePlayer.js +9 -7
  485. package/dist/module/providers/BusyTonePlayer.js.map +1 -1
  486. package/dist/module/providers/NoiseCancellation/NoiseCancellationProvider.js +7 -4
  487. package/dist/module/providers/NoiseCancellation/NoiseCancellationProvider.js.map +1 -1
  488. package/dist/module/providers/NoiseCancellation/index.js +2 -0
  489. package/dist/module/providers/NoiseCancellation/index.js.map +1 -1
  490. package/dist/module/providers/NoiseCancellation/lib.js +2 -0
  491. package/dist/module/providers/NoiseCancellation/lib.js.map +1 -1
  492. package/dist/module/providers/StreamCall/AppStateListener.js +5 -0
  493. package/dist/module/providers/StreamCall/AppStateListener.js.map +1 -1
  494. package/dist/module/providers/StreamCall/AudioInterruptionTracer.js +2 -0
  495. package/dist/module/providers/StreamCall/AudioInterruptionTracer.js.map +1 -1
  496. package/dist/module/providers/StreamCall/DeviceStats.js +3 -1
  497. package/dist/module/providers/StreamCall/DeviceStats.js.map +1 -1
  498. package/dist/module/providers/StreamCall/index.js +7 -4
  499. package/dist/module/providers/StreamCall/index.js.map +1 -1
  500. package/dist/module/providers/StreamVideo.js +12 -5
  501. package/dist/module/providers/StreamVideo.js.map +1 -1
  502. package/dist/module/theme/colors.js +2 -0
  503. package/dist/module/theme/colors.js.map +1 -1
  504. package/dist/module/theme/constants.js +2 -0
  505. package/dist/module/theme/constants.js.map +1 -1
  506. package/dist/module/theme/index.js +2 -0
  507. package/dist/module/theme/index.js.map +1 -1
  508. package/dist/module/theme/theme.js +2 -0
  509. package/dist/module/theme/theme.js.map +1 -1
  510. package/dist/module/theme/types.js +2 -0
  511. package/dist/module/translations/index.js +2 -0
  512. package/dist/module/translations/index.js.map +1 -1
  513. package/dist/module/utils/StreamVideoRN/index.js +2 -1
  514. package/dist/module/utils/StreamVideoRN/index.js.map +1 -1
  515. package/dist/module/utils/StreamVideoRN/types.js +2 -0
  516. package/dist/module/utils/enterPiPAndroid.js +2 -0
  517. package/dist/module/utils/enterPiPAndroid.js.map +1 -1
  518. package/dist/module/utils/getAndroidDefaultRingtoneUrl.js +2 -0
  519. package/dist/module/utils/getAndroidDefaultRingtoneUrl.js.map +1 -1
  520. package/dist/module/utils/hooks/index.js +2 -0
  521. package/dist/module/utils/hooks/index.js.map +1 -1
  522. package/dist/module/utils/hooks/usePrevious.js +2 -0
  523. package/dist/module/utils/hooks/usePrevious.js.map +1 -1
  524. package/dist/module/utils/index.js +2 -0
  525. package/dist/module/utils/index.js.map +1 -1
  526. package/dist/module/utils/internal/callingx/audioSessionPromise.js +2 -0
  527. package/dist/module/utils/internal/callingx/audioSessionPromise.js.map +1 -1
  528. package/dist/module/utils/internal/callingx/callingx.js +6 -4
  529. package/dist/module/utils/internal/callingx/callingx.js.map +1 -1
  530. package/dist/module/utils/internal/optionallibs/gestureHandler.js +2 -0
  531. package/dist/module/utils/internal/optionallibs/gestureHandler.js.map +1 -1
  532. package/dist/module/utils/internal/optionallibs/index.js +2 -0
  533. package/dist/module/utils/internal/optionallibs/index.js.map +1 -1
  534. package/dist/module/utils/internal/optionallibs/reanimated.js +2 -0
  535. package/dist/module/utils/internal/optionallibs/reanimated.js.map +1 -1
  536. package/dist/module/utils/internal/pushLogoutCallback.js +2 -0
  537. package/dist/module/utils/internal/pushLogoutCallback.js.map +1 -1
  538. package/dist/module/utils/internal/registerSDKGlobals.js +4 -2
  539. package/dist/module/utils/internal/registerSDKGlobals.js.map +1 -1
  540. package/dist/module/utils/internal/rxSubjects.js +2 -0
  541. package/dist/module/utils/internal/rxSubjects.js.map +1 -1
  542. package/dist/module/utils/internal/shouldDisableIOSLocalVideoOnBackground.js +2 -0
  543. package/dist/module/utils/internal/shouldDisableIOSLocalVideoOnBackground.js.map +1 -1
  544. package/dist/module/utils/keepCallAliveHeadlessTask.js +2 -0
  545. package/dist/module/utils/keepCallAliveHeadlessTask.js.map +1 -1
  546. package/dist/module/utils/push/android.js +2 -0
  547. package/dist/module/utils/push/android.js.map +1 -1
  548. package/dist/module/utils/push/index.js +2 -0
  549. package/dist/module/utils/push/index.js.map +1 -1
  550. package/dist/module/utils/push/internal/constants.js +2 -0
  551. package/dist/module/utils/push/internal/constants.js.map +1 -1
  552. package/dist/module/utils/push/internal/ios.js +2 -0
  553. package/dist/module/utils/push/internal/ios.js.map +1 -1
  554. package/dist/module/utils/push/internal/utils.js +2 -0
  555. package/dist/module/utils/push/internal/utils.js.map +1 -1
  556. package/dist/module/utils/push/libs/callingx.js +2 -0
  557. package/dist/module/utils/push/libs/callingx.js.map +1 -1
  558. package/dist/module/utils/push/libs/firebaseMessaging/index.js +2 -0
  559. package/dist/module/utils/push/libs/firebaseMessaging/index.js.map +1 -1
  560. package/dist/module/utils/push/libs/firebaseMessaging/lib.js +2 -0
  561. package/dist/module/utils/push/libs/firebaseMessaging/lib.js.map +1 -1
  562. package/dist/module/utils/push/libs/index.js +2 -0
  563. package/dist/module/utils/push/libs/index.js.map +1 -1
  564. package/dist/module/utils/push/setupCallingExpEvents.js +2 -0
  565. package/dist/module/utils/push/setupCallingExpEvents.js.map +1 -1
  566. package/dist/module/utils/push/setupIosVoipPushEvents.js +2 -0
  567. package/dist/module/utils/push/setupIosVoipPushEvents.js.map +1 -1
  568. package/dist/module/utils/push/utils.js +2 -0
  569. package/dist/module/utils/push/utils.js.map +1 -1
  570. package/dist/module/utils/setClientDetails.js +2 -0
  571. package/dist/module/utils/setClientDetails.js.map +1 -1
  572. package/dist/module/version.js +3 -1
  573. package/dist/module/version.js.map +1 -1
  574. package/dist/typescript/components/Call/CallContent/CallContent.d.ts.map +1 -1
  575. package/dist/typescript/components/Call/CallLayout/CallParticipantsGrid.d.ts.map +1 -1
  576. package/dist/typescript/components/Call/CallLayout/CallParticipantsSpotlight.d.ts.map +1 -1
  577. package/dist/typescript/components/Call/CallParticipantsList/CallParticipantsList.d.ts.map +1 -1
  578. package/dist/typescript/components/Call/Lobby/Lobby.d.ts.map +1 -1
  579. package/dist/typescript/components/Livestream/HostLivestream/HostLivestream.d.ts.map +1 -1
  580. package/dist/typescript/components/Livestream/LivestreamLayout/LivestreamLayout.d.ts.map +1 -1
  581. package/dist/typescript/components/Livestream/LivestreamPlayer/LivestreamEnded.d.ts.map +1 -1
  582. package/dist/typescript/components/Livestream/ViewerLivestream/ViewerLivestream.d.ts.map +1 -1
  583. package/dist/typescript/components/Participant/FloatingParticipantView/index.d.ts.map +1 -1
  584. package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts +1 -1
  585. package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts.map +1 -1
  586. package/dist/typescript/components/Participant/ParticipantView/VideoRenderer/index.d.ts +1 -1
  587. package/dist/typescript/components/Participant/ParticipantView/VideoRenderer/index.d.ts.map +1 -1
  588. package/dist/typescript/contexts/BackgroundFilters.d.ts +1 -1
  589. package/dist/typescript/contexts/BackgroundFilters.d.ts.map +1 -1
  590. package/dist/typescript/hooks/useAutoEnterPiPEffect.d.ts.map +1 -1
  591. package/dist/typescript/hooks/useLoopbackRecording.d.ts +1 -1
  592. package/dist/typescript/hooks/useLoopbackRecording.d.ts.map +1 -1
  593. package/dist/typescript/hooks/useModeration.d.ts.map +1 -1
  594. package/dist/typescript/icons/index.d.ts +0 -6
  595. package/dist/typescript/icons/index.d.ts.map +1 -1
  596. package/dist/typescript/providers/StreamCall/AppStateListener.d.ts.map +1 -1
  597. package/dist/typescript/providers/StreamCall/DeviceStats.d.ts.map +1 -1
  598. package/dist/typescript/utils/StreamVideoRN/index.d.ts +0 -1
  599. package/dist/typescript/utils/StreamVideoRN/index.d.ts.map +1 -1
  600. package/dist/typescript/utils/internal/callingx/callingx.d.ts.map +1 -1
  601. package/dist/typescript/utils/push/libs/firebaseMessaging/index.d.ts +2 -16
  602. package/dist/typescript/utils/push/libs/firebaseMessaging/index.d.ts.map +1 -1
  603. package/dist/typescript/version.d.ts +1 -1
  604. package/dist/typescript/version.d.ts.map +1 -1
  605. package/ios/TracksRecorder/RecorderAudioRenderTap.swift +0 -10
  606. package/ios/TracksRecorder/TracksRecorderManager.swift +6 -0
  607. package/package.json +10 -8
  608. package/src/components/Call/CallContent/CallContent.tsx +69 -39
  609. package/src/components/Call/CallLayout/CallParticipantsGrid.tsx +4 -6
  610. package/src/components/Call/CallLayout/CallParticipantsSpotlight.tsx +30 -21
  611. package/src/components/Call/CallParticipantsList/CallParticipantsList.tsx +23 -9
  612. package/src/components/Call/Lobby/Lobby.tsx +9 -5
  613. package/src/components/Livestream/HostLivestream/HostLivestream.tsx +5 -6
  614. package/src/components/Livestream/LivestreamControls/ViewerLivestreamControls.tsx +1 -1
  615. package/src/components/Livestream/LivestreamLayout/LivestreamLayout.tsx +4 -64
  616. package/src/components/Livestream/LivestreamPlayer/LivestreamEnded.tsx +54 -18
  617. package/src/components/Livestream/LivestreamTopView/DurationBadge.tsx +2 -2
  618. package/src/components/Livestream/ViewerLivestream/ViewerLivestream.tsx +10 -12
  619. package/src/components/Participant/FloatingParticipantView/index.tsx +26 -18
  620. package/src/components/Participant/ParticipantView/ParticipantReaction.tsx +1 -1
  621. package/src/components/Participant/ParticipantView/ParticipantView.tsx +68 -64
  622. package/src/components/Participant/ParticipantView/VideoRenderer/index.tsx +192 -179
  623. package/src/hooks/useAutoEnterPiPEffect.tsx +5 -11
  624. package/src/hooks/useLoopbackRecording.ts +65 -55
  625. package/src/hooks/useModeration.ts +4 -1
  626. package/src/icons/index.tsx +0 -6
  627. package/src/providers/BusyTonePlayer.tsx +11 -11
  628. package/src/providers/StreamCall/AppStateListener.tsx +3 -0
  629. package/src/providers/StreamCall/DeviceStats.tsx +2 -1
  630. package/src/utils/StreamVideoRN/index.ts +0 -1
  631. package/src/utils/internal/callingx/callingx.ts +20 -10
  632. package/src/utils/internal/registerSDKGlobals.ts +2 -2
  633. package/src/utils/push/libs/firebaseMessaging/index.ts +4 -2
  634. package/src/version.ts +1 -1
  635. package/dist/commonjs/icons/LeaveStreamIcon.js +0 -20
  636. package/dist/commonjs/icons/LeaveStreamIcon.js.map +0 -1
  637. package/dist/commonjs/icons/Settings.js +0 -22
  638. package/dist/commonjs/icons/Settings.js.map +0 -1
  639. package/dist/commonjs/icons/ShieldBadge.js +0 -20
  640. package/dist/commonjs/icons/ShieldBadge.js.map +0 -1
  641. package/dist/commonjs/icons/Spotlight.js +0 -21
  642. package/dist/commonjs/icons/Spotlight.js.map +0 -1
  643. package/dist/commonjs/icons/ThreeDots.js +0 -31
  644. package/dist/commonjs/icons/ThreeDots.js.map +0 -1
  645. package/dist/commonjs/icons/TopViewBackground.js +0 -35
  646. package/dist/commonjs/icons/TopViewBackground.js.map +0 -1
  647. package/dist/module/icons/LeaveStreamIcon.js +0 -12
  648. package/dist/module/icons/LeaveStreamIcon.js.map +0 -1
  649. package/dist/module/icons/Settings.js +0 -13
  650. package/dist/module/icons/Settings.js.map +0 -1
  651. package/dist/module/icons/ShieldBadge.js +0 -12
  652. package/dist/module/icons/ShieldBadge.js.map +0 -1
  653. package/dist/module/icons/Spotlight.js +0 -13
  654. package/dist/module/icons/Spotlight.js.map +0 -1
  655. package/dist/module/icons/ThreeDots.js +0 -23
  656. package/dist/module/icons/ThreeDots.js.map +0 -1
  657. package/dist/module/icons/TopViewBackground.js +0 -27
  658. package/dist/module/icons/TopViewBackground.js.map +0 -1
  659. package/dist/typescript/icons/LeaveStreamIcon.d.ts +0 -3
  660. package/dist/typescript/icons/LeaveStreamIcon.d.ts.map +0 -1
  661. package/dist/typescript/icons/Settings.d.ts +0 -7
  662. package/dist/typescript/icons/Settings.d.ts.map +0 -1
  663. package/dist/typescript/icons/ShieldBadge.d.ts +0 -3
  664. package/dist/typescript/icons/ShieldBadge.d.ts.map +0 -1
  665. package/dist/typescript/icons/Spotlight.d.ts +0 -8
  666. package/dist/typescript/icons/Spotlight.d.ts.map +0 -1
  667. package/dist/typescript/icons/ThreeDots.d.ts +0 -7
  668. package/dist/typescript/icons/ThreeDots.d.ts.map +0 -1
  669. package/dist/typescript/icons/TopViewBackground.d.ts +0 -15
  670. package/dist/typescript/icons/TopViewBackground.d.ts.map +0 -1
  671. package/src/icons/LeaveStreamIcon.tsx +0 -13
  672. package/src/icons/Settings.tsx +0 -14
  673. package/src/icons/ShieldBadge.tsx +0 -13
  674. package/src/icons/Spotlight.tsx +0 -18
  675. package/src/icons/ThreeDots.tsx +0 -14
  676. package/src/icons/TopViewBackground.tsx +0 -43
@@ -10,6 +10,7 @@ var _react = _interopRequireDefault(require("react"));
10
10
  var _CallControlsButton = require("./CallControlsButton");
11
11
  var _icons = require("../../../icons");
12
12
  var _ThemeContext = require("../../../contexts/ThemeContext");
13
+ var _jsxRuntime = require("react/jsx-runtime");
13
14
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
14
15
  /**
15
16
  * Props for the Toggle Camera face button.
@@ -50,18 +51,22 @@ const ToggleCameraFaceButton = ({
50
51
  if (!isVideoEnabledInCall) {
51
52
  return;
52
53
  }
53
- return /*#__PURE__*/_react.default.createElement(_videoReactBindings.Restricted, {
54
- requiredGrants: [_videoClient.OwnCapability.SEND_VIDEO]
55
- }, /*#__PURE__*/_react.default.createElement(_CallControlsButton.CallControlsButton, {
56
- onPress: onPress,
57
- color: backgroundColor || colors.buttonSecondary,
58
- disabledColor: backgroundColor || colors.sheetSecondary,
59
- disabled: optimisticIsMute,
60
- style: toggleCameraFaceButton
61
- }, /*#__PURE__*/_react.default.createElement(_icons.IconWrapper, null, /*#__PURE__*/_react.default.createElement(_icons.CameraSwitch, {
62
- size: variants.iconSizes.md,
63
- color: optimisticIsMute ? colors.buttonDisabled : direction === 'front' || direction === undefined ? colors.iconPrimary : colors.buttonPrimary
64
- }))));
54
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_videoReactBindings.Restricted, {
55
+ requiredGrants: [_videoClient.OwnCapability.SEND_VIDEO],
56
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CallControlsButton.CallControlsButton, {
57
+ onPress: onPress,
58
+ color: backgroundColor || colors.buttonSecondary,
59
+ disabledColor: backgroundColor || colors.sheetSecondary,
60
+ disabled: optimisticIsMute,
61
+ style: toggleCameraFaceButton,
62
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.IconWrapper, {
63
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.CameraSwitch, {
64
+ size: variants.iconSizes.md,
65
+ color: optimisticIsMute ? colors.buttonDisabled : direction === 'front' || direction === undefined ? colors.iconPrimary : colors.buttonPrimary
66
+ })
67
+ })
68
+ })
69
+ });
65
70
  };
66
71
  exports.ToggleCameraFaceButton = ToggleCameraFaceButton;
67
72
  //# sourceMappingURL=ToggleCameraFaceButton.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_videoClient","require","_videoReactBindings","_react","_interopRequireDefault","_CallControlsButton","_icons","_ThemeContext","e","__esModule","default","ToggleCameraFaceButton","onPressHandler","backgroundColor","useCameraState","useCallSettings","useCallStateHooks","camera","optimisticIsMute","direction","callSettings","isVideoEnabledInCall","video","enabled","theme","colors","toggleCameraFaceButton","variants","useTheme","onPress","flip","createElement","Restricted","requiredGrants","OwnCapability","SEND_VIDEO","CallControlsButton","color","buttonSecondary","disabledColor","sheetSecondary","disabled","style","IconWrapper","CameraSwitch","size","iconSizes","md","buttonDisabled","undefined","iconPrimary","buttonPrimary","exports"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ToggleCameraFaceButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,mBAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,mBAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,aAAA,GAAAN,OAAA;AAA0D,SAAAG,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAG1D;AACA;AACA;;AAcA;AACA;AACA;AACO,MAAMG,sBAAsB,GAAGA,CAAC;EACrCC,cAAc;EACdC;AAC2B,CAAC,KAAK;EACjC,MAAM;IAAEC,cAAc;IAAEC;EAAgB,CAAC,GAAG,IAAAC,qCAAiB,EAAC,CAAC;EAC/D,MAAM;IAAEC,MAAM;IAAEC,gBAAgB;IAAEC;EAAU,CAAC,GAAGL,cAAc,CAAC,CAAC;EAChE,MAAMM,YAAY,GAAGL,eAAe,CAAC,CAAC;EACtC,MAAMM,oBAAoB,GAAGD,YAAY,EAAEE,KAAK,CAACC,OAAO;EAExD,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC,sBAAsB;MAAEC;IAAS;EACpD,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EACd,MAAMC,OAAO,GAAG,MAAAA,CAAA,KAAY;IAC1B,IAAIjB,cAAc,EAAE;MAClBA,cAAc,CAAC,CAAC;MAChB;IACF;IAEA,MAAMK,MAAM,CAACa,IAAI,CAAC,CAAC;EACrB,CAAC;EAED,IAAI,CAACT,oBAAoB,EAAE;IACzB;EACF;EAEA,oBACElB,MAAA,CAAAO,OAAA,CAAAqB,aAAA,CAAC7B,mBAAA,CAAA8B,UAAU;IAACC,cAAc,EAAE,CAACC,0BAAa,CAACC,UAAU;EAAE,gBACrDhC,MAAA,CAAAO,OAAA,CAAAqB,aAAA,CAAC1B,mBAAA,CAAA+B,kBAAkB;IACjBP,OAAO,EAAEA,OAAQ;IACjBQ,KAAK,EAAExB,eAAe,IAAIY,MAAM,CAACa,eAAgB;IACjDC,aAAa,EAAE1B,eAAe,IAAIY,MAAM,CAACe,cAAe;IACxDC,QAAQ,EAAEvB,gBAAiB;IAC3BwB,KAAK,EAAEhB;EAAuB,gBAE9BvB,MAAA,CAAAO,OAAA,CAAAqB,aAAA,CAACzB,MAAA,CAAAqC,WAAW,qBACVxC,MAAA,CAAAO,OAAA,CAAAqB,aAAA,CAACzB,MAAA,CAAAsC,YAAY;IACXC,IAAI,EAAElB,QAAQ,CAACmB,SAAS,CAACC,EAAG;IAC5BV,KAAK,EACHnB,gBAAgB,GACZO,MAAM,CAACuB,cAAc,GACrB7B,SAAS,KAAK,OAAO,IAAIA,SAAS,KAAK8B,SAAS,GAC9CxB,MAAM,CAACyB,WAAW,GAClBzB,MAAM,CAAC0B;EACd,CACF,CACU,CACK,CACV,CAAC;AAEjB,CAAC;AAACC,OAAA,CAAAzC,sBAAA,GAAAA,sBAAA","ignoreList":[]}
1
+ {"version":3,"names":["_videoClient","require","_videoReactBindings","_react","_interopRequireDefault","_CallControlsButton","_icons","_ThemeContext","_jsxRuntime","e","__esModule","default","ToggleCameraFaceButton","onPressHandler","backgroundColor","useCameraState","useCallSettings","useCallStateHooks","camera","optimisticIsMute","direction","callSettings","isVideoEnabledInCall","video","enabled","theme","colors","toggleCameraFaceButton","variants","useTheme","onPress","flip","jsx","Restricted","requiredGrants","OwnCapability","SEND_VIDEO","children","CallControlsButton","color","buttonSecondary","disabledColor","sheetSecondary","disabled","style","IconWrapper","CameraSwitch","size","iconSizes","md","buttonDisabled","undefined","iconPrimary","buttonPrimary","exports"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ToggleCameraFaceButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,mBAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,mBAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,aAAA,GAAAN,OAAA;AAA0D,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAG,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAG1D;AACA;AACA;;AAcA;AACA;AACA;AACO,MAAMG,sBAAsB,GAAGA,CAAC;EACrCC,cAAc;EACdC;AAC2B,CAAC,KAAK;EACjC,MAAM;IAAEC,cAAc;IAAEC;EAAgB,CAAC,GAAG,IAAAC,qCAAiB,EAAC,CAAC;EAC/D,MAAM;IAAEC,MAAM;IAAEC,gBAAgB;IAAEC;EAAU,CAAC,GAAGL,cAAc,CAAC,CAAC;EAChE,MAAMM,YAAY,GAAGL,eAAe,CAAC,CAAC;EACtC,MAAMM,oBAAoB,GAAGD,YAAY,EAAEE,KAAK,CAACC,OAAO;EAExD,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC,sBAAsB;MAAEC;IAAS;EACpD,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EACd,MAAMC,OAAO,GAAG,MAAAA,CAAA,KAAY;IAC1B,IAAIjB,cAAc,EAAE;MAClBA,cAAc,CAAC,CAAC;MAChB;IACF;IAEA,MAAMK,MAAM,CAACa,IAAI,CAAC,CAAC;EACrB,CAAC;EAED,IAAI,CAACT,oBAAoB,EAAE;IACzB;EACF;EAEA,oBACE,IAAAd,WAAA,CAAAwB,GAAA,EAAC9B,mBAAA,CAAA+B,UAAU;IAACC,cAAc,EAAE,CAACC,0BAAa,CAACC,UAAU,CAAE;IAAAC,QAAA,eACrD,IAAA7B,WAAA,CAAAwB,GAAA,EAAC3B,mBAAA,CAAAiC,kBAAkB;MACjBR,OAAO,EAAEA,OAAQ;MACjBS,KAAK,EAAEzB,eAAe,IAAIY,MAAM,CAACc,eAAgB;MACjDC,aAAa,EAAE3B,eAAe,IAAIY,MAAM,CAACgB,cAAe;MACxDC,QAAQ,EAAExB,gBAAiB;MAC3ByB,KAAK,EAAEjB,sBAAuB;MAAAU,QAAA,eAE9B,IAAA7B,WAAA,CAAAwB,GAAA,EAAC1B,MAAA,CAAAuC,WAAW;QAAAR,QAAA,eACV,IAAA7B,WAAA,CAAAwB,GAAA,EAAC1B,MAAA,CAAAwC,YAAY;UACXC,IAAI,EAAEnB,QAAQ,CAACoB,SAAS,CAACC,EAAG;UAC5BV,KAAK,EACHpB,gBAAgB,GACZO,MAAM,CAACwB,cAAc,GACrB9B,SAAS,KAAK,OAAO,IAAIA,SAAS,KAAK+B,SAAS,GAC9CzB,MAAM,CAAC0B,WAAW,GAClB1B,MAAM,CAAC2B;QACd,CACF;MAAC,CACS;IAAC,CACI;EAAC,CACX,CAAC;AAEjB,CAAC;AAACC,OAAA,CAAA1C,sBAAA,GAAAA,sBAAA","ignoreList":[]}
@@ -9,6 +9,7 @@ var _videoReactBindings = require("@stream-io/video-react-bindings");
9
9
  var _contexts = require("../../../contexts");
10
10
  var _CallControlsButton = require("./CallControlsButton");
11
11
  var _icons = require("../../../icons");
12
+ var _jsxRuntime = require("react/jsx-runtime");
12
13
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
13
14
  /**
14
15
  * Props for the Toggle Video preview button
@@ -50,21 +51,24 @@ const ToggleVideoPreviewButton = ({
50
51
  if (!isVideoEnabledInCall) {
51
52
  return;
52
53
  }
53
- return /*#__PURE__*/_react.default.createElement(_CallControlsButton.CallControlsButton, {
54
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_CallControlsButton.CallControlsButton, {
54
55
  onPress: onPress,
55
56
  color: !optimisticIsMute ? colors.buttonSecondary : colors.buttonWarning,
56
57
  size: buttonSizes.md,
57
58
  style: {
58
59
  container: toggleVideoPreviewButton.container,
59
60
  svgContainer: toggleVideoPreviewButton.svgContainer
60
- }
61
- }, /*#__PURE__*/_react.default.createElement(_icons.IconWrapper, null, !optimisticIsMute ? /*#__PURE__*/_react.default.createElement(_icons.Video, {
62
- color: colors.iconPrimary,
63
- size: iconSizes.lg
64
- }) : /*#__PURE__*/_react.default.createElement(_icons.VideoSlash, {
65
- color: colors.iconPrimary,
66
- size: iconSizes.lg
67
- })));
61
+ },
62
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.IconWrapper, {
63
+ children: !optimisticIsMute ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.Video, {
64
+ color: colors.iconPrimary,
65
+ size: iconSizes.lg
66
+ }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.VideoSlash, {
67
+ color: colors.iconPrimary,
68
+ size: iconSizes.lg
69
+ })
70
+ })
71
+ });
68
72
  };
69
73
  exports.ToggleVideoPreviewButton = ToggleVideoPreviewButton;
70
74
  //# sourceMappingURL=ToggleVideoPreviewButton.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_videoReactBindings","_contexts","_CallControlsButton","_icons","e","__esModule","default","ToggleVideoPreviewButton","onPressHandler","theme","colors","toggleVideoPreviewButton","variants","buttonSizes","iconSizes","useTheme","useCameraState","useCallSettings","useCallStateHooks","callSettings","isVideoEnabledInCall","video","enabled","optimisticIsMute","camera","onPress","toggle","createElement","CallControlsButton","color","buttonSecondary","buttonWarning","size","md","style","container","svgContainer","IconWrapper","Video","iconPrimary","lg","VideoSlash","exports"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ToggleVideoPreviewButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;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wB,SAAS;MAC7CC,YAAY,EAAEzB,wBAAwB,CAACyB;IACzC;EAAE,gBAEFvC,MAAA,CAAAS,OAAA,CAAAqB,aAAA,CAACxB,MAAA,CAAAkC,WAAW,QACT,CAACd,gBAAgB,gBAChB1B,MAAA,CAAAS,OAAA,CAAAqB,aAAA,CAACxB,MAAA,CAAAmC,KAAK;IAACT,KAAK,EAAEnB,MAAM,CAAC6B,WAAY;IAACP,IAAI,EAAElB,SAAS,CAAC0B;EAAG,CAAE,CAAC,gBAExD3C,MAAA,CAAAS,OAAA,CAAAqB,aAAA,CAACxB,MAAA,CAAAsC,UAAU;IAACZ,KAAK,EAAEnB,MAAM,CAAC6B,WAAY;IAACP,IAAI,EAAElB,SAAS,CAAC0B;EAAG,CAAE,CAEnD,CACK,CAAC;AAEzB,CAAC;AAACE,OAAA,CAAAnC,wBAAA,GAAAA,wBAAA","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_videoReactBindings","_contexts","_CallControlsButton","_icons","_jsxRuntime","e","__esModule","default","ToggleVideoPreviewButton","onPressHandler","theme","colors","toggleVideoPreviewButton","variants","buttonSizes","iconSizes","useTheme","useCameraState","useCallSettings","useCallStateHooks","callSettings","isVideoEnabledInCall","video","enabled","optimisticIsMute","camera","onPress","toggle","jsx","CallControlsButton","color","buttonSecondary","buttonWarning","size","md","style","container","svgContainer","children","IconWrapper","Video","iconPrimary","lg","VideoSlash","exports"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ToggleVideoPreviewButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,mBAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,mBAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AAAgE,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC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,GAAA,EAACzB,MAAA,CAAAqC,KAAK;QAACV,KAAK,EAAEnB,MAAM,CAAC8B,WAAY;QAACR,IAAI,EAAElB,SAAS,CAAC2B;MAAG,CAAE,CAAC,gBAExD,IAAAtC,WAAA,CAAAwB,GAAA,EAACzB,MAAA,CAAAwC,UAAU;QAACb,KAAK,EAAEnB,MAAM,CAAC8B,WAAY;QAACR,IAAI,EAAElB,SAAS,CAAC2B;MAAG,CAAE;IAC7D,CACU;EAAC,CACI,CAAC;AAEzB,CAAC;AAACE,OAAA,CAAApC,wBAAA,GAAAA,wBAAA","ignoreList":[]}
@@ -10,6 +10,7 @@ var _videoReactBindings = require("@stream-io/video-react-bindings");
10
10
  var _CallControlsButton = require("./CallControlsButton");
11
11
  var _icons = require("../../../icons");
12
12
  var _ThemeContext = require("../../../contexts/ThemeContext");
13
+ var _jsxRuntime = require("react/jsx-runtime");
13
14
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
14
15
  /**
15
16
  * Props for the Toggle Video publishing button
@@ -47,18 +48,22 @@ const ToggleVideoPublishingButton = ({
47
48
  if (!isVideoEnabledInCall) {
48
49
  return;
49
50
  }
50
- return /*#__PURE__*/_react.default.createElement(_videoReactBindings.Restricted, {
51
- requiredGrants: [_videoClient.OwnCapability.SEND_VIDEO]
52
- }, /*#__PURE__*/_react.default.createElement(_CallControlsButton.CallControlsButton, {
53
- onPress: onPress,
54
- color: !optimisticIsMute ? colors.buttonSecondary : colors.buttonWarning
55
- }, /*#__PURE__*/_react.default.createElement(_icons.IconWrapper, null, !optimisticIsMute ? /*#__PURE__*/_react.default.createElement(_icons.Video, {
56
- color: colors.iconPrimary,
57
- size: variants.iconSizes.md
58
- }) : /*#__PURE__*/_react.default.createElement(_icons.VideoSlash, {
59
- color: colors.iconPrimary,
60
- size: variants.iconSizes.md
61
- }))));
51
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_videoReactBindings.Restricted, {
52
+ requiredGrants: [_videoClient.OwnCapability.SEND_VIDEO],
53
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CallControlsButton.CallControlsButton, {
54
+ onPress: onPress,
55
+ color: !optimisticIsMute ? colors.buttonSecondary : colors.buttonWarning,
56
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.IconWrapper, {
57
+ children: !optimisticIsMute ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.Video, {
58
+ color: colors.iconPrimary,
59
+ size: variants.iconSizes.md
60
+ }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.VideoSlash, {
61
+ color: colors.iconPrimary,
62
+ size: variants.iconSizes.md
63
+ })
64
+ })
65
+ })
66
+ });
62
67
  };
63
68
  exports.ToggleVideoPublishingButton = ToggleVideoPublishingButton;
64
69
  //# sourceMappingURL=ToggleVideoPublishingButton.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_videoClient","_videoReactBindings","_CallControlsButton","_icons","_ThemeContext","e","__esModule","default","ToggleVideoPublishingButton","onPressHandler","useCameraState","useCallSettings","useCallStateHooks","camera","optimisticIsMute","callSettings","isVideoEnabledInCall","video","enabled","theme","colors","variants","useTheme","onPress","toggle","createElement","Restricted","requiredGrants","OwnCapability","SEND_VIDEO","CallControlsButton","color","buttonSecondary","buttonWarning","IconWrapper","Video","iconPrimary","size","iconSizes","md","VideoSlash","exports"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ToggleVideoPublishingButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,mBAAA,GAAAF,OAAA;AACA,IAAAG,mBAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,aAAA,GAAAL,OAAA;AAA0D,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAA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G,CAAE,CAAC,gBAEjE1C,MAAA,CAAAU,OAAA,CAAAkB,aAAA,CAACtB,MAAA,CAAAqC,UAAU;IACTT,KAAK,EAAEX,MAAM,CAACgB,WAAY;IAC1BC,IAAI,EAAEhB,QAAQ,CAACiB,SAAS,CAACC;EAAG,CAC7B,CAEQ,CACK,CACV,CAAC;AAEjB,CAAC;AAACE,OAAA,CAAAjC,2BAAA,GAAAA,2BAAA","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_videoClient","_videoReactBindings","_CallControlsButton","_icons","_ThemeContext","_jsxRuntime","e","__esModule","default","ToggleVideoPublishingButton","onPressHandler","useCameraState","useCallSettings","useCallStateHooks","camera","optimisticIsMute","callSettings","isVideoEnabledInCall","video","enabled","theme","colors","variants","useTheme","onPress","toggle","jsx","Restricted","requiredGrants","OwnCapability","SEND_VIDEO","children","CallControlsButton","color","buttonSecondary","buttonWarning","IconWrapper","Video","iconPrimary","size","iconSizes","md","VideoSlash","exports"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ToggleVideoPublishingButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,mBAAA,GAAAF,OAAA;AACA,IAAAG,mBAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,aAAA,GAAAL,OAAA;AAA0D,IAAAM,WAAA,GAAAN,OAAA;AAAA,SAAAD,uBAAAQ,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE1D;AACA;AACA;;AASA;AACA;AACA;AACO,MAAMG,2BAA2B,GAAGA,CAAC;EAC1CC;AACgC,CAAC,KAAK;EACtC,MAAM;IAAEC,cAAc;IAAEC;EAAgB,CAAC,GAAG,IAAAC,qCAAiB,EAAC,CAAC;EAC/D,MAAM;IAAEC,MA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ACI;EAAC,CACX,CAAC;AAEjB,CAAC;AAACE,OAAA,CAAAlC,2BAAA,GAAAA,2BAAA","ignoreList":[]}
@@ -11,6 +11,7 @@ var _videoClient = require("@stream-io/video-client");
11
11
  var _TestIds = require("../../../../constants/TestIds");
12
12
  var _ThemeContext = require("../../../../contexts/ThemeContext");
13
13
  var _constants = require("../../../../constants");
14
+ var _jsxRuntime = require("react/jsx-runtime");
14
15
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
15
16
  const ReactionsPicker = ({
16
17
  supportedReactions = _constants.defaultEmojiReactions,
@@ -85,40 +86,44 @@ const ReactionsPicker = ({
85
86
  easing: _reactNative.Easing.linear
86
87
  }).start(onRequestedClose);
87
88
  };
88
- return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactNative.Pressable, {
89
- testID: _TestIds.ComponentTestIds.REACTIONS_PICKER,
90
- style: [styles.reactionsPopup, reactionsPopupStyle, {
91
- backgroundColor: colors.sheetSecondary
92
- }, reactionsPicker.reactionsPopup],
93
- onPress: () => {
94
- onClose();
95
- }
96
- }, supportedReactions.map(supportedReaction => /*#__PURE__*/_react.default.createElement(_reactNative.Pressable, {
97
- key: supportedReaction.emoji_code,
98
- style: [styles.reactionItem, reactionItemStyle, {
99
- backgroundColor: colors.buttonSecondary
100
- }, reactionsPicker.reactionItem],
101
- onPress: () => {
102
- onClose({
103
- type: supportedReaction.type,
104
- custom: supportedReaction.custom,
105
- emoji_code: supportedReaction.emoji_code
106
- });
107
- }
108
- }, /*#__PURE__*/_react.default.createElement(_reactNative.Animated.Text, {
109
- style: [styles.reactionText, {
110
- transform: [{
111
- scaleY: elasticAnimRef.current
112
- }, {
113
- scaleX: elasticAnimRef.current
114
- }]
115
- }, reactionsPicker.reactionText]
116
- }, supportedReaction.icon)))), /*#__PURE__*/_react.default.createElement(_reactNative.Pressable, {
117
- style: [reactionsButtonDimmerStyle, {
118
- backgroundColor: colors.sheetSecondary
119
- }, reactionsPicker.reactionsButtonDimmer],
120
- onPress: () => onClose()
121
- }));
89
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
90
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Pressable, {
91
+ testID: _TestIds.ComponentTestIds.REACTIONS_PICKER,
92
+ style: [styles.reactionsPopup, reactionsPopupStyle, {
93
+ backgroundColor: colors.sheetSecondary
94
+ }, reactionsPicker.reactionsPopup],
95
+ onPress: () => {
96
+ onClose();
97
+ },
98
+ children: supportedReactions.map(supportedReaction => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Pressable, {
99
+ style: [styles.reactionItem, reactionItemStyle, {
100
+ backgroundColor: colors.buttonSecondary
101
+ }, reactionsPicker.reactionItem],
102
+ onPress: () => {
103
+ onClose({
104
+ type: supportedReaction.type,
105
+ custom: supportedReaction.custom,
106
+ emoji_code: supportedReaction.emoji_code
107
+ });
108
+ },
109
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Animated.Text, {
110
+ style: [styles.reactionText, {
111
+ transform: [{
112
+ scaleY: elasticAnimRef.current
113
+ }, {
114
+ scaleX: elasticAnimRef.current
115
+ }]
116
+ }, reactionsPicker.reactionText],
117
+ children: supportedReaction.icon
118
+ })
119
+ }, supportedReaction.emoji_code))
120
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Pressable, {
121
+ style: [reactionsButtonDimmerStyle, {
122
+ backgroundColor: colors.sheetSecondary
123
+ }, reactionsPicker.reactionsButtonDimmer],
124
+ onPress: () => onClose()
125
+ })]
126
+ });
122
127
  };
123
128
  exports.ReactionsPicker = ReactionsPicker;
124
129
  const useStyles = () => {
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_videoReactBindings","_videoClient","_TestIds","_ThemeContext","_constants","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","ReactionsPicker","supportedReactions","defaultEmojiReactions","reactionsButtonLayoutRectangle","onRequestedClose","theme","colors","reactionsPicker","variants","useTheme","styles","useStyles","useCall","size","width","reactionItemSize","popupHeight","spacingSizes","xs","length","reactionsPopupStyle","top","y","left","x","height","borderTopStartRadius","borderTopEndRadius","elasticAnimRef","useRef","Animated","Value","useEffect","timing","current","toValue","duration","useNativeDriver","easing","Easing","elastic","start","reactionItemStyle","borderRadius","reactionsButtonDimmerStyle","reactionsButtonDimmer","onClose","reaction","sendReaction","catch","logger","videoLoggerSystem","getLogger","error","linear","createElement","Fragment","Pressable","testID","ComponentTestIds","REACTIONS_PICKER","style","reactionsPopup","backgroundColor","sheetSecondary","onPress","map","supportedReaction","key","emoji_code","reactionItem","buttonSecondary","type","custom","Text","reactionText","transform","scaleY","scaleX","icon","exports","useMemo","StyleSheet","create","position","alignItems","paddingTop","opacity","justifyContent","marginBottom","fontSize"],"sourceRoot":"../../../../../../src","sources":["components/Call/CallControls/internal/ReactionsPicker.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAOA,IAAAE,mBAAA,GAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AAIA,IAAAI,QAAA,GAAAJ,OAAA;AACA,IAAAK,aAAA,GAAAL,OAAA;AAEA,IAAAM,UAAA,GAAAN,OAAA;AAA8D,SAAAD,wBAAAQ,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E,cAAO,EACZ,MACEC,uBAAU,CAACC,MAAM,CAAC;IAChBrB,cAAc,EAAE;MACdsB,QAAQ,EAAE,UAAU;MACpBC,UAAU,EAAE,QAAQ;MACpBC,UAAU,EAAEjF,KAAK,CAACG,QAAQ,CAACS,YAAY,CAACC;IAC1C,CAAC;IACD2B,qBAAqB,EAAE;MACrBuC,QAAQ,EAAE,UAAU;MACpBG,OAAO,EAAE;IACX,CAAC;IACDjB,YAAY,EAAE;MACZe,UAAU,EAAE,QAAQ;MACpBG,cAAc,EAAE,QAAQ;MACxBC,YAAY,EAAEpF,KAAK,CAACG,QAAQ,CAACS,YAAY,CAACC;IAC5C,CAAC;IACDyD,YAAY,EAAE;MACZe,QAAQ,EAAE;IACZ;EACF,CAAC,CAAC,EACJ,CAACrF,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_videoReactBindings","_videoClient","_TestIds","_ThemeContext","_constants","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","ReactionsPicker","supportedReactions","defaultEmojiReactions","reactionsButtonLayoutRectangle","onRequestedClose","theme","colors","reactionsPicker","variants","useTheme","styles","useStyles","useCall","size","width","reactionItemSize","popupHeight","spacingSizes","xs","length","reactionsPopupStyle","top","y","left","x","height","borderTopStartRadius","borderTopEndRadius","elasticAnimRef","useRef","Animated","Value","useEffect","timing","current","toValue","duration","useNativeDriver","easing","Easing","elastic","start","reactionItemStyle","borderRadius","reactionsButtonDimmerStyle","reactionsButtonDimmer","onClose","reaction","sendReaction","catch","logger","videoLoggerSystem","getLogger","error","linear","jsxs","Fragment","children","jsx","Pressable","testID","ComponentTestIds","REACTIONS_PICKER","style","reactionsPopup","backgroundColor","sheetSecondary","onPress","map","supportedReaction","reactionItem","buttonSecondary","type","custom","emoji_code","Text","reactionText","transform","scaleY","scaleX","icon","exports","useMemo","StyleSheet","create","position","alignItems","paddingTop","opacity","justifyContent","marginBottom","fontSize"],"sourceRoot":"../../../../../../src","sources":["components/Call/CallControls/internal/ReactionsPicker.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAOA,IAAAE,mBAAA,GAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AAIA,IAAAI,QAAA,GAAAJ,OAAA;AACA,IAAAK,aAAA,GAAAL,OAAA;AAEA,IAAAM,UAAA,GAAAN,OAAA;AAA8D,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAD,wBAAAS,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAX,uBAAA,YAAAA,CAAAS,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EA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,WAAA,CAAA8E,GAAA,EAACpF,YAAA,CAAAqF,SAAS;MACRI,KAAK,EAAE,CACLnB,0BAA0B,EAC1B;QACEqB,eAAe,EAAE3D,MAAM,CAAC4D;MAC1B,CAAC,EACD3D,eAAe,CAACsC,qBAAqB,CACrC;MACFsB,OAAO,EAAEA,CAAA,KAAMrB,OAAO,CAAC;IAAE,CAC1B,CAAC;EAAA,CACF,CAAC;AAEP,CAAC;AAACmC,OAAA,CAAAjF,eAAA,GAAAA,eAAA;AAEF,MAAMW,SAAS,GAAGA,CAAA,KAAM;EACtB,MAAM;IAAEN;EAAM,CAAC,GAAG,IAAAI,sBAAQ,EAAC,CAAC;EAC5B,OAAO,IAAAyE,cAAO,EACZ,MACEC,uBAAU,CAACC,MAAM,CAAC;IAChBpB,cAAc,EAAE;MACdqB,QAAQ,EAAE,UAAU;MACpBC,UAAU,EAAE,QAAQ;MACpBC,UAAU,EAAElF,KAAK,CAACG,QAAQ,CAACS,YAAY,CAACC;IAC1C,CAAC;IACD2B,qBAAqB,EAAE;MACrBwC,QAAQ,EAAE,UAAU;MACpBG,OAAO,EAAE;IACX,CAAC;IACDlB,YAAY,EAAE;MACZgB,UAAU,EAAE,QAAQ;MACpBG,cAAc,EAAE,QAAQ;MACxBC,YAAY,EAAErF,KAAK,CAACG,QAAQ,CAACS,YAAY,CAACC;IAC5C,CAAC;IACD0D,YAAY,EAAE;MACZe,QAAQ,EAAE;IACZ;EACF,CAAC,CAAC,EACJ,CAACtF,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
@@ -12,8 +12,8 @@ var _CallParticipantsList = require("../CallParticipantsList/CallParticipantsLis
12
12
  var _TestIds = require("../../../constants/TestIds");
13
13
  var _ThemeContext = require("../../../contexts/ThemeContext");
14
14
  var _useIsInPiPMode = require("../../../hooks/useIsInPiPMode");
15
+ var _jsxRuntime = require("react/jsx-runtime");
15
16
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
16
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
17
17
  /**
18
18
  * Props for the CallParticipantsGrid component.
19
19
  */
@@ -62,9 +62,6 @@ const CallParticipantsGrid = ({
62
62
  sub2.unsubscribe();
63
63
  };
64
64
  }, [call]);
65
- const landscapeStyles = {
66
- flexDirection: landscape ? 'row' : 'column'
67
- };
68
65
  const isInPiPMode = (0, _useIsInPiPMode.useIsInPiPMode)();
69
66
  const showFloatingView = !isInPiPMode && remoteParticipants.length > 0 && remoteParticipants.length < 3;
70
67
  let participants;
@@ -97,21 +94,29 @@ const CallParticipantsGrid = ({
97
94
  VideoRenderer,
98
95
  mirror
99
96
  };
100
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
101
- style: [styles.container, landscapeStyles, {
97
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
98
+ style: [styles.container, landscape ? styles.row : styles.column, {
102
99
  backgroundColor: colors.sheetPrimary
103
100
  }, callParticipantsGrid.container],
104
- testID: _TestIds.ComponentTestIds.CALL_PARTICIPANTS_GRID
105
- }, CallParticipantsList && /*#__PURE__*/_react.default.createElement(CallParticipantsList, _extends({
106
- participants: participants,
107
- supportedReactions: supportedReactions,
108
- landscape: landscape
109
- }, participantViewProps)));
101
+ testID: _TestIds.ComponentTestIds.CALL_PARTICIPANTS_GRID,
102
+ children: CallParticipantsList && /*#__PURE__*/(0, _jsxRuntime.jsx)(CallParticipantsList, {
103
+ participants: participants,
104
+ supportedReactions: supportedReactions,
105
+ landscape: landscape,
106
+ ...participantViewProps
107
+ })
108
+ });
110
109
  };
111
110
  exports.CallParticipantsGrid = CallParticipantsGrid;
112
111
  const styles = _reactNative.StyleSheet.create({
113
112
  container: {
114
113
  flex: 1
114
+ },
115
+ row: {
116
+ flexDirection: 'row'
117
+ },
118
+ column: {
119
+ flexDirection: 'column'
115
120
  }
116
121
  });
117
122
  //# sourceMappingURL=CallParticipantsGrid.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_videoReactBindings","_rxjs","_CallParticipantsList","_TestIds","_ThemeContext","_useIsInPiPMode","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_extends","assign","bind","arguments","length","apply","CallParticipantsGrid","CallParticipantsList","DefaultCallParticipantsList","ParticipantLabel","ParticipantNetworkQualityIndicator","ParticipantReaction","ParticipantVideoFallback","ParticipantView","VideoRenderer","mirror","showLocalParticipant","supportedReactions","landscape","theme","colors","callParticipantsGrid","useTheme","useCall","useLocalParticipant","useDominantSpeaker","useCallStateHooks","localParticipant","dominantSpeaker","remoteParticipants","setRemoteParticipants","useState","state","allParticipants","setAllParticipants","participants","useEffect","sub1","remoteParticipants$","pipe","debounceTime","subscribe","sub2","participants$","unsubscribe","landscapeStyles","flexDirection","isInPiPMode","useIsInPiPMode","showFloatingView","isLocalParticipant","participantViewProps","createElement","View","style","styles","container","backgroundColor","sheetPrimary","testID","ComponentTestIds","CALL_PARTICIPANTS_GRID","exports","StyleSheet","create","flex"],"sourceRoot":"../../../../../src","sources":["components/Call/CallLayout/CallParticipantsGrid.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAA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ChCM,YAAY,GAAG,CAACN,kBAAkB,CAAC,CAAC,CAAC,CAAC;IACxC,CAAC,MAAM,IAAIF,gBAAgB,EAAE;MAC3BQ,YAAY,GAAG,CAACR,gBAAgB,CAAC;IACnC,CAAC,MAAM;MACLQ,YAAY,GAAG,EAAE;IACnB;EACF;EAEA,MAAMgB,oBAAwD,GAAG;IAC/DtC,eAAe;IACfJ,gBAAgB;IAChBC,kCAAkC;IAClCC,mBAAmB;IACnBC,wBAAwB;IACxBE,aAAa;IACbC;EACF,CAAC;EAED,oBACE5C,MAAA,CAAAoB,OAAA,CAAA6D,aAAA,CAAC9E,YAAA,CAAA+E,IAAI;IACHC,KAAK,EAAE,CACLC,MAAM,CAACC,SAAS,EAChBX,eAAe,EACf;MAAEY,eAAe,EAAErC,MAAM,CAACsC;IAAa,CAAC,EACxCrC,oBAAoB,CAACmC,SAAS,CAC9B;IACFG,MAAM,EAAEC,yBAAgB,CAACC;EAAuB,GAE/CtD,oBAAoB,iBACnBpC,MAAA,CAAAoB,OAAA,CAAA6D,aAAA,CAAC7C,oBAAoB,EAAAP,QAAA;IACnBmC,YAAY,EAAEA,YAAa;IAC3BlB,kBAAkB,EAAEA,kBAAmB;IACvCC,SAAS,EAAEA;EAAU,GACjBiC,oBAAoB,CACzB,CAEC,CAAC;AAEX,CAAC;AAACW,OAAA,CAAAxD,oBAAA,GAAAA,oBAAA;AAEF,MAAMiD,MAAM,GAAGQ,uBAAU,CAACC,MAAM,CAAC;EAC/BR,SAAS,EAAE;IAAES,IAAI,EAAE;EAAE;AACvB,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_videoReactBindings","_rxjs","_CallParticipantsList","_TestIds","_ThemeContext","_useIsInPiPMode","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","CallParticipantsGrid","CallParticipantsList","DefaultCallParticipantsList","ParticipantLabel","ParticipantNetworkQualityIndicator","ParticipantReaction","ParticipantVideoFallback","ParticipantView","VideoRenderer","mirror","showLocalParticipant","supportedReactions","landscape","theme","colors","callParticipantsGrid","useTheme","useCall","useLocalParticipant","useDominantSpeaker","useCallStateHooks","localParticipant","dominantSpeaker","remoteParticipants","setRemoteParticipants","useState","state","allParticipants","setAllParticipants","participants","useEffect","sub1","remoteParticipants$","pipe","debounceTime","subscribe","sub2","participants$","unsubscribe","isInPiPMode","useIsInPiPMode","showFloatingView","length","isLocalParticipant","participantViewProps","jsx","View","style","styles","container","row","column","backgroundColor","sheetPrimary","testID","ComponentTestIds","CALL_PARTICIPANTS_GRID","children","exports","StyleSheet","create","flex","flexDirection"],"sourceRoot":"../../../../../src","sources":["components/Call/CallLayout/CallParticipantsGrid.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,mBAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;AACA,IAAAI,qBAAA,GAAAJ,OAAA;AAIA,IAAAK,QAAA,GAAAL,OAAA;AACA,IAAAM,aAAA,GAAAN,OAAA;AAGA,IAAAO,eAAA,GAAAP,OAAA;AAA+D,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAD,wBAAAU,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAZ,uBAAA,YAAAA,CAAAU,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA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Aa,EAAE;EAAS;AACpC,CAAC,CAAC","ignoreList":[]}
@@ -14,8 +14,8 @@ var _CallParticipantsList = require("../CallParticipantsList/CallParticipantsLis
14
14
  var _Participant = require("../../Participant");
15
15
  var _ThemeContext = require("../../../contexts/ThemeContext");
16
16
  var _useIsInPiPMode = require("../../../hooks/useIsInPiPMode");
17
+ var _jsxRuntime = require("react/jsx-runtime");
17
18
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
18
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
19
19
  /**
20
20
  * Props for the CallParticipantsSpotlight component.
21
21
  */
@@ -70,34 +70,46 @@ const CallParticipantsSpotlight = ({
70
70
  ParticipantView,
71
71
  mirror
72
72
  };
73
- const landscapeStyles = {
74
- flexDirection: landscape ? 'row' : 'column'
75
- };
76
- const spotlightContainerLandscapeStyles = {
73
+
74
+ // Memoized so the spotlight tile's `style` prop stays referentially stable;
75
+ // otherwise the fresh array literal defeats ParticipantView's React.memo.
76
+ const spotlightParticipantStyle = (0, _react.useMemo)(() => isUserAloneInCall ? [styles.fullScreenSpotlightContainer, callParticipantsSpotlight.fullScreenSpotlightContainer] : [styles.spotlightContainer, {
77
77
  marginHorizontal: landscape ? 0 : variants.spacingSizes.xs
78
- };
78
+ }, callParticipantsSpotlight.spotlightContainer], [isUserAloneInCall, landscape, styles, callParticipantsSpotlight, variants.spacingSizes.xs]);
79
79
  const showShareScreenOverlay = participantInSpotlight?.isLocalParticipant && isScreenShareOnSpotlight && ScreenShareOverlay;
80
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
80
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
81
81
  testID: _TestIds.ComponentTestIds.CALL_PARTICIPANTS_SPOTLIGHT,
82
- style: [styles.container, landscapeStyles, callParticipantsSpotlight.container]
83
- }, participantInSpotlight && ParticipantView && (showShareScreenOverlay ? /*#__PURE__*/_react.default.createElement(ScreenShareOverlay, null) : /*#__PURE__*/_react.default.createElement(ParticipantView, _extends({
84
- participant: participantInSpotlight,
85
- style: isUserAloneInCall ? [styles.fullScreenSpotlightContainer, callParticipantsSpotlight.fullScreenSpotlightContainer] : [styles.spotlightContainer, spotlightContainerLandscapeStyles, callParticipantsSpotlight.spotlightContainer],
86
- objectFit: isScreenShareOnSpotlight ? 'contain' : 'cover',
87
- trackType: isScreenShareOnSpotlight ? 'screenShareTrack' : 'videoTrack',
88
- supportedReactions: supportedReactions,
89
- mirror: mirror
90
- }, participantViewProps))), !isInPiP && !isUserAloneInCall && /*#__PURE__*/_react.default.createElement(_reactNative.View, {
91
- style: [styles.callParticipantsListContainer, callParticipantsSpotlight.callParticipantsListContainer]
92
- }, CallParticipantsList && /*#__PURE__*/_react.default.createElement(CallParticipantsList, _extends({
93
- participants: isScreenShareOnSpotlight ? allParticipants : otherParticipants,
94
- supportedReactions: supportedReactions,
95
- horizontal: !landscape,
96
- numberOfColumns: !landscape ? 2 : 1,
97
- landscape: landscape
98
- }, callParticipantsListProps))));
82
+ style: [styles.container, landscape ? landscapeStyles.row : landscapeStyles.column, callParticipantsSpotlight.container],
83
+ children: [participantInSpotlight && ParticipantView && (showShareScreenOverlay ? /*#__PURE__*/(0, _jsxRuntime.jsx)(ScreenShareOverlay, {}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(ParticipantView, {
84
+ participant: participantInSpotlight,
85
+ style: spotlightParticipantStyle,
86
+ objectFit: isScreenShareOnSpotlight ? 'contain' : 'cover',
87
+ trackType: isScreenShareOnSpotlight ? 'screenShareTrack' : 'videoTrack',
88
+ supportedReactions: supportedReactions,
89
+ mirror: mirror,
90
+ ...participantViewProps
91
+ })), !isInPiP && !isUserAloneInCall && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
92
+ style: [styles.callParticipantsListContainer, callParticipantsSpotlight.callParticipantsListContainer],
93
+ children: CallParticipantsList && /*#__PURE__*/(0, _jsxRuntime.jsx)(CallParticipantsList, {
94
+ participants: isScreenShareOnSpotlight ? allParticipants : otherParticipants,
95
+ supportedReactions: supportedReactions,
96
+ horizontal: !landscape,
97
+ numberOfColumns: !landscape ? 2 : 1,
98
+ landscape: landscape,
99
+ ...callParticipantsListProps
100
+ })
101
+ })]
102
+ });
99
103
  };
100
104
  exports.CallParticipantsSpotlight = CallParticipantsSpotlight;
105
+ const landscapeStyles = _reactNative.StyleSheet.create({
106
+ row: {
107
+ flexDirection: 'row'
108
+ },
109
+ column: {
110
+ flexDirection: 'column'
111
+ }
112
+ });
101
113
  const useStyles = () => {
102
114
  const {
103
115
  theme
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_videoClient","_videoReactBindings","_reactNative","_rxjs","_TestIds","_CallParticipantsList","_Participant","_ThemeContext","_useIsInPiPMode","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_extends","assign","bind","arguments","length","apply","CallParticipantsSpotlight","CallParticipantsList","DefaultCallParticipantsList","ParticipantLabel","ParticipantNetworkQualityIndicator","ParticipantReaction","ParticipantVideoFallback","ParticipantView","DefaultParticipantView","ScreenShareOverlay","VideoRenderer","supportedReactions","mirror","landscape","theme","callParticipantsSpotlight","variants","useTheme","styles","useStyles","useCall","allParticipants","setAllParticipants","useState","state","participants","useEffect","sub","participants$","pipe","debounceTime","subscribe","unsubscribe","participantInSpotlight","otherParticipants","isScreenShareOnSpotlight","hasScreenShare","isUserAloneInCall","isInPiP","useIsInPiPMode","participantViewProps","callParticipantsListProps","landscapeStyles","flexDirection","spotlightContainerLandscapeStyles","marginHorizontal","spacingSizes","xs","showShareScreenOverlay","isLocalParticipant","createElement","View","testID","ComponentTestIds","CALL_PARTICIPANTS_SPOTLIGHT","style","container","participant","fullScreenSpotlightContainer","spotlightContainer","objectFit","trackType","callParticipantsListContainer","horizontal","numberOfColumns","exports","useMemo","StyleSheet","create","flex","backgroundColor","colors","sheetPrimary","overflow","borderRadius","borderRadiusSizes","sm"],"sourceRoot":"../../../../../src","sources":["components/Call/CallLayout/CallParticipantsSpotlight.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAIA,IAAAE,mBAAA,GAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AACA,IAAAI,KAAA,GAAAJ,OAAA;AACA,IAAAK,QAAA,GAAAL,OAAA;AACA,IAAAM,qBAAA,GAAAN,OAAA;AAIA,IAAAO,YAAA,GAAAP,OAAA;AAIA,IAAAQ,aAAA,GAAAR,OAAA;AAEA,IAAAS,eAAA,GAAAT,OAAA;AAA+D,SAAAD,wBAAAW,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAb,uBAAA,YAAAA,CAAAW,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,G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EACvD,GAED7D,oBAAoB,iBACnBtC,MAAA,CAAAsB,OAAA,CAAAiE,aAAA,CAACjD,oBAAoB,EAAAP,QAAA;IACnB+B,YAAY,EACVU,wBAAwB,GAAGd,eAAe,GAAGa,iBAC9C;IACDvB,kBAAkB,EAAEA,kBAAmB;IACvCoD,UAAU,EAAE,CAAClD,SAAU;IACvBmD,eAAe,EAAE,CAACnD,SAAS,GAAG,CAAC,GAAG,CAAE;IACpCA,SAAS,EAAEA;EAAU,GACjB4B,yBAAyB,CAC9B,CAEC,CAEJ,CAAC;AAEX,CAAC;AAACwB,OAAA,CAAAjE,yBAAA,GAAAA,yBAAA;AAEF,MAAMmB,SAAS,GAAGA,CAAA,KAAM;EACtB,MAAM;IAAEL;EAAM,CAAC,GAAG,IAAAG,sBAAQ,EAAC,CAAC;EAC5B,OAAO,IAAAiD,cAAO,EACZ,MACEC,uBAAU,CAACC,MAAM,CAAC;IAChBZ,SAAS,EAAE;MACTa,IAAI,EAAE,CAAC;MACPC,eAAe,EAAExD,KAAK,CAACyD,MAAM,CAACC;IAChC,CAAC;IACDd,4BAA4B,EAAE;MAC5BW,IAAI,EAAE;IACR,CAAC;IACDV,kBAAkB,EAAE;MAClBU,IAAI,EAAE,CAAC;MACPI,QAAQ,EAAE,QAAQ;MAClBC,YAAY,EAAE5D,KAAK,CAACE,QAAQ,CAAC2D,iBAAiB,CAACC,EAAE;MACjD/B,gBAAgB,EAAE/B,KAAK,CAACE,QAAQ,CAAC8B,YAAY,CAAC8B;IAChD,CAAC;IACDd,6BAA6B,EAAE;MAC7BO,IAAI,EAAE;IACR;EACF,CAAC,CAAC,EACJ,CAACvD,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_videoClient","_videoReactBindings","_reactNative","_rxjs","_TestIds","_CallParticipantsList","_Participant","_ThemeContext","_useIsInPiPMode","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","CallParticipantsSpotlight","CallParticipantsList","DefaultCallParticipantsList","ParticipantLabel","ParticipantNetworkQualityIndicator","ParticipantReaction","ParticipantVideoFallback","ParticipantView","DefaultParticipantView","ScreenShareOverlay","VideoRenderer","supportedReactions","mirror","landscape","theme","callParticipantsSpotlight","variants","useTheme","styles","useStyles","useCall","allParticipants","setAllParticipants","useState","state","participants","useEffect","sub","participants$","pipe","debounceTime","subscribe","unsubscribe","participantInSpotlight","otherParticipants","isScreenShareOnSpotlight","hasScreenShare","isUserAloneInCall","length","isInPiP","useIsInPiPMode","participantViewProps","callParticipantsListProps","spotlightParticipantStyle","useMemo","fullScreenSpotlightContainer","spotlightContainer","marginHorizontal","spacingSizes","xs","showShareScreenOverlay","isLocalParticipant","jsxs","View","testID","ComponentTestIds","CALL_PARTICIPANTS_SPOTLIGHT","style","container","landscapeStyles","row","column","children","jsx","participant","objectFit","trackType","callParticipantsListContainer","horizontal","numberOfColumns","exports","StyleSheet","create","flexDirection","flex","backgroundColor","colors","sheetPrimary","overflow","borderRadius","borderRadiusSizes","sm"],"sourceRoot":"../../../../../src","sources":["components/Call/CallLayout/CallParticipantsSpotlight.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAIA,IAAAE,mBAAA,GAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AACA,IAAAI,KAAA,GAAAJ,OAAA;AACA,IAAAK,QAAA,GAAAL,OAAA;AACA,IAAAM,qBAAA,GAAAN,OAAA;AAIA,IAAAO,YAAA,GAAAP,OAAA;AAIA,IAAAQ,aAAA,GAAAR,OAAA;AAEA,IAAAS,eAAA,GAAAT,OAAA;AAA+D,IAAAU,WAAA,GAAAV,OAAA;AAAA,SAAAD,wBAAAY,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAA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