@azure/communication-react 1.22.0-alpha-202412130018 → 1.22.0-alpha-202412170017
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.
- package/dist/communication-react.d.ts +88 -2
- package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-4-vK4ca8.js → ChatMessageComponentAsRichTextEditBox-BgVWz6LK.js} +2 -2
- package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-4-vK4ca8.js.map → ChatMessageComponentAsRichTextEditBox-BgVWz6LK.js.map} +1 -1
- package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-BbHPiZkn.js → RichTextSendBoxWrapper-D0RkwoOI.js} +2 -2
- package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-BbHPiZkn.js.map → RichTextSendBoxWrapper-D0RkwoOI.js.map} +1 -1
- package/dist/dist-cjs/communication-react/{index-Cr6OFtuG.js → index-CpnFA8og.js} +254 -193
- package/dist/dist-cjs/communication-react/index-CpnFA8og.js.map +1 -0
- package/dist/dist-cjs/communication-react/index.js +2 -1
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.d.ts +4 -4
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +2 -2
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +3 -3
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +4 -2
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/index.d.ts +2 -2
- package/dist/dist-esm/calling-component-bindings/src/index.js +1 -1
- package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +3 -1
- package/dist/dist-esm/communication-react/src/index.js +1 -0
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ImageOverlay.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/ImageOverlay.js +2 -0
- package/dist/dist-esm/react-components/src/components/ImageOverlay.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/StartCaptionsButton.d.ts +7 -7
- package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js +6 -3
- package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +3 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +8 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +8 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +4 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.d.ts +2 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js +29 -12
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js +7 -10
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +5 -9
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.d.ts +5 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +8 -7
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -1
- package/package.json +1 -1
- package/dist/dist-cjs/communication-react/index-Cr6OFtuG.js.map +0 -1
@@ -188,7 +188,7 @@ function getDefaultExportFromCjs (x) {
|
|
188
188
|
// Copyright (c) Microsoft Corporation.
|
189
189
|
// Licensed under the MIT License.
|
190
190
|
// GENERATED FILE. DO NOT EDIT MANUALLY.
|
191
|
-
var telemetryVersion = '1.22.0-alpha-
|
191
|
+
var telemetryVersion = '1.22.0-alpha-202412170017';
|
192
192
|
|
193
193
|
|
194
194
|
var telemetryVersion$1 = /*@__PURE__*/getDefaultExportFromCjs(telemetryVersion);
|
@@ -618,7 +618,7 @@ const getAssignedBreakoutRoom$1 = (state, props) => {
|
|
618
618
|
|
619
619
|
// Copyright (c) Microsoft Corporation.
|
620
620
|
// Licensed under the MIT License.
|
621
|
-
var __awaiter$
|
621
|
+
var __awaiter$13 = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
622
622
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
623
623
|
return new (P || (P = Promise))(function (resolve, reject) {
|
624
624
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -658,7 +658,7 @@ const _isPreviewOn = (deviceManager) => {
|
|
658
658
|
*
|
659
659
|
* @private
|
660
660
|
*/
|
661
|
-
const disposeAllLocalPreviewViews = (callClient) => __awaiter$
|
661
|
+
const disposeAllLocalPreviewViews = (callClient) => __awaiter$13(void 0, void 0, void 0, function* () {
|
662
662
|
const unparentedViews = callClient.getState().deviceManager.unparentedViews;
|
663
663
|
for (const view of unparentedViews) {
|
664
664
|
yield callClient.disposeView(undefined, undefined, view);
|
@@ -734,7 +734,7 @@ const maskDisplayNameWithRole = (displayName, localUserRole, participantRole, is
|
|
734
734
|
* Helper to create a local video stream from the selected camera.
|
735
735
|
* @private
|
736
736
|
*/
|
737
|
-
const createLocalVideoStream = (callClient) => __awaiter$
|
737
|
+
const createLocalVideoStream = (callClient) => __awaiter$13(void 0, void 0, void 0, function* () {
|
738
738
|
const camera = yield (callClient === null || callClient === void 0 ? void 0 : callClient.getState().deviceManager.selectedCamera);
|
739
739
|
if (camera) {
|
740
740
|
return new communicationCalling.LocalVideoStream(camera);
|
@@ -869,7 +869,7 @@ const holdButtonSelector = reselect__namespace.createSelector([getCallState], (c
|
|
869
869
|
|
870
870
|
// Copyright (c) Microsoft Corporation.
|
871
871
|
// Licensed under the MIT License.
|
872
|
-
var __awaiter$
|
872
|
+
var __awaiter$12 = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
873
873
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
874
874
|
return new (P || (P = Promise))(function (resolve, reject) {
|
875
875
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -890,7 +890,7 @@ const areStreamsEqual = (prevStream, newStream) => {
|
|
890
890
|
* @private
|
891
891
|
*/
|
892
892
|
const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager, call, options) => {
|
893
|
-
const onStartLocalVideo = () => __awaiter$
|
893
|
+
const onStartLocalVideo = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
894
894
|
// Before the call object creates a stream, dispose of any local preview streams.
|
895
895
|
// @TODO: is there any way to parent the unparented view to the call object instead
|
896
896
|
// of disposing and creating a new stream?
|
@@ -910,7 +910,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
910
910
|
yield call.startVideo(stream);
|
911
911
|
}
|
912
912
|
});
|
913
|
-
const onStopLocalVideo = (stream) => __awaiter$
|
913
|
+
const onStopLocalVideo = (stream) => __awaiter$12(void 0, void 0, void 0, function* () {
|
914
914
|
const callId = call === null || call === void 0 ? void 0 : call.id;
|
915
915
|
if (!callId) {
|
916
916
|
return;
|
@@ -919,7 +919,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
919
919
|
yield call.stopVideo(stream);
|
920
920
|
}
|
921
921
|
});
|
922
|
-
const onToggleCamera = (options) => __awaiter$
|
922
|
+
const onToggleCamera = (options) => __awaiter$12(void 0, void 0, void 0, function* () {
|
923
923
|
const previewOn = _isPreviewOn(callClient.getState().deviceManager);
|
924
924
|
// the disposal of the unparented views is to workaround: https://skype.visualstudio.com/SPOOL/_workitems/edit/3030558.
|
925
925
|
// The root cause of the issue is caused by never transitioning the unparented view to the
|
@@ -976,19 +976,19 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
976
976
|
}
|
977
977
|
}
|
978
978
|
});
|
979
|
-
const onSelectMicrophone = (device) => __awaiter$
|
979
|
+
const onSelectMicrophone = (device) => __awaiter$12(void 0, void 0, void 0, function* () {
|
980
980
|
if (!deviceManager) {
|
981
981
|
return;
|
982
982
|
}
|
983
983
|
return deviceManager.selectMicrophone(device);
|
984
984
|
});
|
985
|
-
const onSelectSpeaker = (device) => __awaiter$
|
985
|
+
const onSelectSpeaker = (device) => __awaiter$12(void 0, void 0, void 0, function* () {
|
986
986
|
if (!deviceManager) {
|
987
987
|
return;
|
988
988
|
}
|
989
989
|
return deviceManager.selectSpeaker(device);
|
990
990
|
});
|
991
|
-
const onSelectCamera = (device, options) => __awaiter$
|
991
|
+
const onSelectCamera = (device, options) => __awaiter$12(void 0, void 0, void 0, function* () {
|
992
992
|
if (!deviceManager) {
|
993
993
|
return;
|
994
994
|
}
|
@@ -1018,9 +1018,9 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1018
1018
|
}, options);
|
1019
1019
|
}
|
1020
1020
|
});
|
1021
|
-
const onRaiseHand = () => __awaiter$
|
1022
|
-
const onLowerHand = () => __awaiter$
|
1023
|
-
const onToggleRaiseHand = () => __awaiter$
|
1021
|
+
const onRaiseHand = () => __awaiter$12(void 0, void 0, void 0, function* () { var _a; return yield ((_a = call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.RaiseHand)) === null || _a === void 0 ? void 0 : _a.raiseHand()); });
|
1022
|
+
const onLowerHand = () => __awaiter$12(void 0, void 0, void 0, function* () { var _b; return yield ((_b = call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.RaiseHand)) === null || _b === void 0 ? void 0 : _b.lowerHand()); });
|
1023
|
+
const onToggleRaiseHand = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1024
1024
|
const raiseHandFeature = call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.RaiseHand);
|
1025
1025
|
const localUserId = callClient.getState().userId;
|
1026
1026
|
const isLocalRaisedHand = raiseHandFeature === null || raiseHandFeature === void 0 ? void 0 : raiseHandFeature.getRaisedHands().find((publishedState) => toFlatCommunicationIdentifier(publishedState.identifier) === toFlatCommunicationIdentifier(localUserId));
|
@@ -1031,7 +1031,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1031
1031
|
yield (raiseHandFeature === null || raiseHandFeature === void 0 ? void 0 : raiseHandFeature.raiseHand());
|
1032
1032
|
}
|
1033
1033
|
});
|
1034
|
-
const onReactionClick = (reaction) => __awaiter$
|
1034
|
+
const onReactionClick = (reaction) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1035
1035
|
var _c;
|
1036
1036
|
if (reaction === 'like' ||
|
1037
1037
|
reaction === 'applause' ||
|
@@ -1045,18 +1045,18 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1045
1045
|
}
|
1046
1046
|
return;
|
1047
1047
|
});
|
1048
|
-
const onToggleMicrophone = () => __awaiter$
|
1048
|
+
const onToggleMicrophone = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1049
1049
|
if (!call || !(_isInCall(call.state) || _isInLobbyOrConnecting(call.state))) {
|
1050
1050
|
throw new Error(`Please invoke onToggleMicrophone after call is started`);
|
1051
1051
|
}
|
1052
1052
|
return call.isMuted ? yield call.unmute() : yield call.mute();
|
1053
1053
|
});
|
1054
|
-
const onStartScreenShare = () => __awaiter$
|
1055
|
-
const onStopScreenShare = () => __awaiter$
|
1056
|
-
const onToggleScreenShare = () => __awaiter$
|
1057
|
-
const onHangUp = (forEveryone) => __awaiter$
|
1058
|
-
const onToggleHold = () => __awaiter$
|
1059
|
-
const onCreateLocalStreamView = (...args_1) => __awaiter$
|
1054
|
+
const onStartScreenShare = () => __awaiter$12(void 0, void 0, void 0, function* () { return yield (call === null || call === void 0 ? void 0 : call.startScreenSharing()); });
|
1055
|
+
const onStopScreenShare = () => __awaiter$12(void 0, void 0, void 0, function* () { return yield (call === null || call === void 0 ? void 0 : call.stopScreenSharing()); });
|
1056
|
+
const onToggleScreenShare = () => __awaiter$12(void 0, void 0, void 0, function* () { return (call === null || call === void 0 ? void 0 : call.isScreenSharingOn) ? yield onStopScreenShare() : yield onStartScreenShare(); });
|
1057
|
+
const onHangUp = (forEveryone) => __awaiter$12(void 0, void 0, void 0, function* () { return yield (call === null || call === void 0 ? void 0 : call.hangUp({ forEveryone: forEveryone === true ? true : false })); });
|
1058
|
+
const onToggleHold = () => __awaiter$12(void 0, void 0, void 0, function* () { return (call === null || call === void 0 ? void 0 : call.state) === 'LocalHold' ? yield (call === null || call === void 0 ? void 0 : call.resume()) : yield (call === null || call === void 0 ? void 0 : call.hold()); });
|
1059
|
+
const onCreateLocalStreamView = (...args_1) => __awaiter$12(void 0, [...args_1], void 0, function* (options = { scalingMode: 'Crop', isMirrored: true }) {
|
1060
1060
|
if (!call || call.localVideoStreams.length === 0) {
|
1061
1061
|
return;
|
1062
1062
|
}
|
@@ -1080,7 +1080,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1080
1080
|
}
|
1081
1081
|
return (createViewResult === null || createViewResult === void 0 ? void 0 : createViewResult.view) ? { view: createViewResult === null || createViewResult === void 0 ? void 0 : createViewResult.view } : undefined;
|
1082
1082
|
});
|
1083
|
-
const onCreateRemoteStreamView = (userId_1, ...args_2) => __awaiter$
|
1083
|
+
const onCreateRemoteStreamView = (userId_1, ...args_2) => __awaiter$12(void 0, [userId_1, ...args_2], void 0, function* (userId, options = { scalingMode: 'Crop' }) {
|
1084
1084
|
if (!call) {
|
1085
1085
|
return;
|
1086
1086
|
}
|
@@ -1117,7 +1117,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1117
1117
|
}
|
1118
1118
|
return (createViewResult === null || createViewResult === void 0 ? void 0 : createViewResult.view) ? { view: createViewResult === null || createViewResult === void 0 ? void 0 : createViewResult.view } : undefined;
|
1119
1119
|
});
|
1120
|
-
const onDisposeRemoteStreamView = (userId) => __awaiter$
|
1120
|
+
const onDisposeRemoteStreamView = (userId) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1121
1121
|
if (!call) {
|
1122
1122
|
return;
|
1123
1123
|
}
|
@@ -1138,7 +1138,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1138
1138
|
callClient.disposeView(call.id, participant.identifier, screenShareStream);
|
1139
1139
|
}
|
1140
1140
|
});
|
1141
|
-
const onDisposeRemoteVideoStreamView = (userId) => __awaiter$
|
1141
|
+
const onDisposeRemoteVideoStreamView = (userId) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1142
1142
|
if (!call) {
|
1143
1143
|
return;
|
1144
1144
|
}
|
@@ -1157,7 +1157,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1157
1157
|
}
|
1158
1158
|
}
|
1159
1159
|
});
|
1160
|
-
const onDisposeRemoteScreenShareStreamView = (userId) => __awaiter$
|
1160
|
+
const onDisposeRemoteScreenShareStreamView = (userId) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1161
1161
|
if (!call) {
|
1162
1162
|
return;
|
1163
1163
|
}
|
@@ -1176,7 +1176,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1176
1176
|
}
|
1177
1177
|
}
|
1178
1178
|
});
|
1179
|
-
const onDisposeLocalScreenShareStreamView = () => __awaiter$
|
1179
|
+
const onDisposeLocalScreenShareStreamView = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1180
1180
|
if (!call) {
|
1181
1181
|
return;
|
1182
1182
|
}
|
@@ -1189,7 +1189,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1189
1189
|
callClient.disposeView(call.id, undefined, screenShareStream);
|
1190
1190
|
}
|
1191
1191
|
});
|
1192
|
-
const onDisposeLocalStreamView = () => __awaiter$
|
1192
|
+
const onDisposeLocalStreamView = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1193
1193
|
// If the user is currently in a call, dispose of the local stream view attached to that call.
|
1194
1194
|
const callState = call && callClient.getState().calls[call.id];
|
1195
1195
|
const localStream = callState === null || callState === void 0 ? void 0 : callState.localVideoStreams.find((item) => item.mediaStreamType === 'Video');
|
@@ -1201,17 +1201,17 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1201
1201
|
// TODO: we need to remember which LocalVideoStream was used for LocalPreview and dispose that one.
|
1202
1202
|
yield disposeAllLocalPreviewViews(callClient);
|
1203
1203
|
});
|
1204
|
-
const onSendDtmfTone = (dtmfTone) => __awaiter$
|
1204
|
+
const onSendDtmfTone = (dtmfTone) => __awaiter$12(void 0, void 0, void 0, function* () { return yield (call === null || call === void 0 ? void 0 : call.sendDtmf(dtmfTone)); });
|
1205
1205
|
const notImplemented = () => {
|
1206
1206
|
throw new Error('Not implemented, cannot call a method from an abstract object');
|
1207
1207
|
};
|
1208
1208
|
/* @conditional-compile-remove(call-readiness) */
|
1209
|
-
const askDevicePermission = (constrain) => __awaiter$
|
1209
|
+
const askDevicePermission = (constrain) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1210
1210
|
if (deviceManager) {
|
1211
1211
|
yield (deviceManager === null || deviceManager === void 0 ? void 0 : deviceManager.askDevicePermission(constrain));
|
1212
1212
|
}
|
1213
1213
|
});
|
1214
|
-
const onRemoveVideoBackgroundEffects = () => __awaiter$
|
1214
|
+
const onRemoveVideoBackgroundEffects = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1215
1215
|
const stream = (call === null || call === void 0 ? void 0 : call.localVideoStreams.find((stream) => stream.mediaStreamType === 'Video')) ||
|
1216
1216
|
(deviceManager === null || deviceManager === void 0 ? void 0 : deviceManager.getUnparentedVideoStreams().find((stream) => stream.mediaStreamType === 'Video'));
|
1217
1217
|
if (stream) {
|
@@ -1223,7 +1223,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1223
1223
|
}
|
1224
1224
|
}
|
1225
1225
|
});
|
1226
|
-
const onBlurVideoBackground = (backgroundBlurConfig) => __awaiter$
|
1226
|
+
const onBlurVideoBackground = (backgroundBlurConfig) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1227
1227
|
var _d;
|
1228
1228
|
const stream = (call === null || call === void 0 ? void 0 : call.localVideoStreams.find((stream) => stream.mediaStreamType === 'Video')) ||
|
1229
1229
|
(deviceManager === null || deviceManager === void 0 ? void 0 : deviceManager.getUnparentedVideoStreams().find((stream) => stream.mediaStreamType === 'Video'));
|
@@ -1236,7 +1236,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1236
1236
|
return createEffect && stream.feature(communicationCalling.Features.VideoEffects).startEffects(createEffect(backgroundBlurConfig));
|
1237
1237
|
}
|
1238
1238
|
});
|
1239
|
-
const onReplaceVideoBackground = (backgroundReplacementConfig) => __awaiter$
|
1239
|
+
const onReplaceVideoBackground = (backgroundReplacementConfig) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1240
1240
|
var _e;
|
1241
1241
|
const stream = (call === null || call === void 0 ? void 0 : call.localVideoStreams.find((stream) => stream.mediaStreamType === 'Video')) ||
|
1242
1242
|
(deviceManager === null || deviceManager === void 0 ? void 0 : deviceManager.getUnparentedVideoStreams().find((stream) => stream.mediaStreamType === 'Video'));
|
@@ -1249,7 +1249,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1249
1249
|
return (createEffect && stream.feature(communicationCalling.Features.VideoEffects).startEffects(createEffect(backgroundReplacementConfig)));
|
1250
1250
|
}
|
1251
1251
|
});
|
1252
|
-
const onStartNoiseSuppressionEffect = () => __awaiter$
|
1252
|
+
const onStartNoiseSuppressionEffect = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1253
1253
|
var _f;
|
1254
1254
|
const audioEffects = (options === null || options === void 0 ? void 0 : options.onResolveDeepNoiseSuppressionDependency) &&
|
1255
1255
|
((_f = (yield options.onResolveDeepNoiseSuppressionDependency())) === null || _f === void 0 ? void 0 : _f.deepNoiseSuppressionEffect);
|
@@ -1265,7 +1265,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1265
1265
|
}
|
1266
1266
|
}
|
1267
1267
|
});
|
1268
|
-
const onStopNoiseSuppressionEffect = () => __awaiter$
|
1268
|
+
const onStopNoiseSuppressionEffect = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1269
1269
|
const stream = call === null || call === void 0 ? void 0 : call.localAudioStreams.find((stream) => stream.mediaStreamType === 'Audio');
|
1270
1270
|
if (stream && (options === null || options === void 0 ? void 0 : options.onResolveDeepNoiseSuppressionDependency)) {
|
1271
1271
|
const audioEffects = {
|
@@ -1274,37 +1274,37 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1274
1274
|
return yield stream.feature(communicationCalling.Features.AudioEffects).stopEffects(audioEffects);
|
1275
1275
|
}
|
1276
1276
|
});
|
1277
|
-
const onStartCaptions = (options) => __awaiter$
|
1277
|
+
const onStartCaptions = (options) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1278
1278
|
const captionsFeature = call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Captions).captions;
|
1279
1279
|
yield (captionsFeature === null || captionsFeature === void 0 ? void 0 : captionsFeature.startCaptions(options));
|
1280
1280
|
});
|
1281
|
-
const onStopCaptions = () => __awaiter$
|
1281
|
+
const onStopCaptions = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1282
1282
|
const captionsFeature = call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Captions).captions;
|
1283
1283
|
yield (captionsFeature === null || captionsFeature === void 0 ? void 0 : captionsFeature.stopCaptions());
|
1284
1284
|
});
|
1285
|
-
const onSetSpokenLanguage = (language) => __awaiter$
|
1285
|
+
const onSetSpokenLanguage = (language) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1286
1286
|
const captionsFeature = call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Captions).captions;
|
1287
1287
|
yield (captionsFeature === null || captionsFeature === void 0 ? void 0 : captionsFeature.setSpokenLanguage(language));
|
1288
1288
|
});
|
1289
|
-
const onSetCaptionLanguage = (language) => __awaiter$
|
1289
|
+
const onSetCaptionLanguage = (language) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1290
1290
|
const captionsFeature = call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Captions).captions;
|
1291
1291
|
yield captionsFeature.setCaptionLanguage(language);
|
1292
1292
|
});
|
1293
|
-
const onSubmitSurvey = (survey) => __awaiter$
|
1294
|
-
const onStartSpotlight = (userIds) => __awaiter$
|
1293
|
+
const onSubmitSurvey = (survey) => __awaiter$12(void 0, void 0, void 0, function* () { return yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.CallSurvey).submitSurvey(survey)); });
|
1294
|
+
const onStartSpotlight = (userIds) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1295
1295
|
const participants = userIds === null || userIds === void 0 ? void 0 : userIds.map((userId) => _toCommunicationIdentifier(userId));
|
1296
1296
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Spotlight).startSpotlight(participants));
|
1297
1297
|
});
|
1298
|
-
const onStopSpotlight = (userIds) => __awaiter$
|
1298
|
+
const onStopSpotlight = (userIds) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1299
1299
|
const participants = userIds === null || userIds === void 0 ? void 0 : userIds.map((userId) => _toCommunicationIdentifier(userId));
|
1300
1300
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Spotlight).stopSpotlight(participants));
|
1301
1301
|
});
|
1302
|
-
const onStopAllSpotlight = () => __awaiter$
|
1302
|
+
const onStopAllSpotlight = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1303
1303
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Spotlight).stopAllSpotlight());
|
1304
1304
|
});
|
1305
|
-
const onMuteParticipant = (userId) => __awaiter$
|
1305
|
+
const onMuteParticipant = (userId) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1306
1306
|
if (call === null || call === void 0 ? void 0 : call.remoteParticipants) {
|
1307
|
-
call === null || call === void 0 ? void 0 : call.remoteParticipants.forEach((participant) => __awaiter$
|
1307
|
+
call === null || call === void 0 ? void 0 : call.remoteParticipants.forEach((participant) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1308
1308
|
// Using toFlatCommunicationIdentifier to convert the CommunicationIdentifier to string
|
1309
1309
|
// as _toCommunicationIdentifier(userId) comparison to participant.identifier did not work for this case
|
1310
1310
|
if (toFlatCommunicationIdentifier(participant.identifier) === userId) {
|
@@ -1313,33 +1313,33 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1313
1313
|
}));
|
1314
1314
|
}
|
1315
1315
|
});
|
1316
|
-
const onMuteAllRemoteParticipants = () => __awaiter$
|
1316
|
+
const onMuteAllRemoteParticipants = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1317
1317
|
call === null || call === void 0 ? void 0 : call.muteAllRemoteParticipants();
|
1318
1318
|
});
|
1319
1319
|
const canStartSpotlight = call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Capabilities).capabilities.spotlightParticipant.isPresent;
|
1320
1320
|
const canRemoveSpotlight = call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Capabilities).capabilities.removeParticipantsSpotlight.isPresent;
|
1321
1321
|
const onStartLocalSpotlight = canStartSpotlight
|
1322
|
-
? () => __awaiter$
|
1322
|
+
? () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1323
1323
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Spotlight).startSpotlight());
|
1324
1324
|
})
|
1325
1325
|
: undefined;
|
1326
|
-
const onStopLocalSpotlight = () => __awaiter$
|
1326
|
+
const onStopLocalSpotlight = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1327
1327
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Spotlight).stopSpotlight());
|
1328
1328
|
});
|
1329
1329
|
const onStartRemoteSpotlight = canStartSpotlight
|
1330
|
-
? (userIds) => __awaiter$
|
1330
|
+
? (userIds) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1331
1331
|
const participants = userIds === null || userIds === void 0 ? void 0 : userIds.map((userId) => _toCommunicationIdentifier(userId));
|
1332
1332
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Spotlight).startSpotlight(participants));
|
1333
1333
|
})
|
1334
1334
|
: undefined;
|
1335
1335
|
const onStopRemoteSpotlight = canRemoveSpotlight
|
1336
|
-
? (userIds) => __awaiter$
|
1336
|
+
? (userIds) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1337
1337
|
const participants = userIds === null || userIds === void 0 ? void 0 : userIds.map((userId) => _toCommunicationIdentifier(userId));
|
1338
1338
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Spotlight).stopSpotlight(participants));
|
1339
1339
|
})
|
1340
1340
|
: undefined;
|
1341
1341
|
/* @conditional-compile-remove(together-mode) */
|
1342
|
-
const onCreateTogetherModeStreamView = (...args_3) => __awaiter$
|
1342
|
+
const onCreateTogetherModeStreamView = (...args_3) => __awaiter$12(void 0, [...args_3], void 0, function* (options = { scalingMode: 'Fit', isMirrored: false, viewKind: 'main' }) {
|
1343
1343
|
if (!call) {
|
1344
1344
|
return;
|
1345
1345
|
}
|
@@ -1360,7 +1360,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1360
1360
|
return togetherModeCreateViewResult;
|
1361
1361
|
});
|
1362
1362
|
/* @conditional-compile-remove(together-mode) */
|
1363
|
-
const onDisposeTogetherModeStreamView = () => __awaiter$
|
1363
|
+
const onDisposeTogetherModeStreamView = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1364
1364
|
if (!call) {
|
1365
1365
|
return;
|
1366
1366
|
}
|
@@ -1384,39 +1384,39 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1384
1384
|
}
|
1385
1385
|
};
|
1386
1386
|
/* @conditional-compile-remove(media-access) */
|
1387
|
-
const onForbidAudio = (userIds) => __awaiter$
|
1387
|
+
const onForbidAudio = (userIds) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1388
1388
|
const participants = userIds === null || userIds === void 0 ? void 0 : userIds.map((userId) => _toCommunicationIdentifier(userId));
|
1389
1389
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.MediaAccess).forbidAudio(participants));
|
1390
1390
|
});
|
1391
1391
|
/* @conditional-compile-remove(media-access) */
|
1392
|
-
const onPermitAudio = (userIds) => __awaiter$
|
1392
|
+
const onPermitAudio = (userIds) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1393
1393
|
const participants = userIds === null || userIds === void 0 ? void 0 : userIds.map((userId) => _toCommunicationIdentifier(userId));
|
1394
1394
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.MediaAccess).permitAudio(participants));
|
1395
1395
|
});
|
1396
1396
|
/* @conditional-compile-remove(media-access) */
|
1397
|
-
const onForbidOthersAudio = () => __awaiter$
|
1397
|
+
const onForbidOthersAudio = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1398
1398
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.MediaAccess).forbidOthersAudio());
|
1399
1399
|
});
|
1400
1400
|
/* @conditional-compile-remove(media-access) */
|
1401
|
-
const onPermitOthersAudio = () => __awaiter$
|
1401
|
+
const onPermitOthersAudio = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1402
1402
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.MediaAccess).permitOthersAudio());
|
1403
1403
|
});
|
1404
1404
|
/* @conditional-compile-remove(media-access) */
|
1405
|
-
const onForbidVideo = (userIds) => __awaiter$
|
1405
|
+
const onForbidVideo = (userIds) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1406
1406
|
const participants = userIds === null || userIds === void 0 ? void 0 : userIds.map((userId) => _toCommunicationIdentifier(userId));
|
1407
1407
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.MediaAccess).forbidVideo(participants));
|
1408
1408
|
});
|
1409
1409
|
/* @conditional-compile-remove(media-access) */
|
1410
|
-
const onPermitVideo = (userIds) => __awaiter$
|
1410
|
+
const onPermitVideo = (userIds) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1411
1411
|
const participants = userIds === null || userIds === void 0 ? void 0 : userIds.map((userId) => _toCommunicationIdentifier(userId));
|
1412
1412
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.MediaAccess).permitVideo(participants));
|
1413
1413
|
});
|
1414
1414
|
/* @conditional-compile-remove(media-access) */
|
1415
|
-
const onForbidOthersVideo = () => __awaiter$
|
1415
|
+
const onForbidOthersVideo = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1416
1416
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.MediaAccess).forbidOthersVideo());
|
1417
1417
|
});
|
1418
1418
|
/* @conditional-compile-remove(media-access) */
|
1419
|
-
const onPermitOthersVideo = () => __awaiter$
|
1419
|
+
const onPermitOthersVideo = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1420
1420
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.MediaAccess).permitOthersVideo());
|
1421
1421
|
});
|
1422
1422
|
return {
|
@@ -1498,7 +1498,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1498
1498
|
|
1499
1499
|
// Copyright (c) Microsoft Corporation.
|
1500
1500
|
// Licensed under the MIT License.
|
1501
|
-
var __awaiter$
|
1501
|
+
var __awaiter$11 = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
1502
1502
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
1503
1503
|
return new (P || (P = Promise))(function (resolve, reject) {
|
1504
1504
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -1529,7 +1529,7 @@ const createDefaultCallingHandlers = memoizeOne((...args) => {
|
|
1529
1529
|
// FIXME: onStartCall API should use string, not the underlying SDK types.
|
1530
1530
|
onStartCall: (participants, options) => {
|
1531
1531
|
return callAgent === null || callAgent === void 0 ? void 0 : callAgent.startCall(participants, options);
|
1532
|
-
}, onAddParticipant: (userId, options) => __awaiter$
|
1532
|
+
}, onAddParticipant: (userId, options) => __awaiter$11(void 0, void 0, void 0, function* () {
|
1533
1533
|
const participant = _toCommunicationIdentifier(userId);
|
1534
1534
|
if (communicationCommon.isPhoneNumberIdentifier(participant)) {
|
1535
1535
|
call === null || call === void 0 ? void 0 : call.addParticipant(participant, options);
|
@@ -1537,16 +1537,16 @@ const createDefaultCallingHandlers = memoizeOne((...args) => {
|
|
1537
1537
|
else if (communicationCommon.isCommunicationUserIdentifier(participant) || communicationCommon.isMicrosoftTeamsUserIdentifier(participant)) {
|
1538
1538
|
call === null || call === void 0 ? void 0 : call.addParticipant(participant);
|
1539
1539
|
}
|
1540
|
-
}), onRemoveParticipant: (userId) => __awaiter$
|
1540
|
+
}), onRemoveParticipant: (userId) => __awaiter$11(void 0, void 0, void 0, function* () {
|
1541
1541
|
const participant = _toCommunicationIdentifier(userId);
|
1542
1542
|
yield (call === null || call === void 0 ? void 0 : call.removeParticipant(participant));
|
1543
|
-
}), onAcceptCall: (incomingCallId, useVideo) => __awaiter$
|
1543
|
+
}), onAcceptCall: (incomingCallId, useVideo) => __awaiter$11(void 0, void 0, void 0, function* () {
|
1544
1544
|
const localVideoStream = useVideo ? yield createLocalVideoStream(callClient) : undefined;
|
1545
1545
|
const incomingCall = callAgent === null || callAgent === void 0 ? void 0 : callAgent.incomingCalls.find((incomingCall) => incomingCall.id === incomingCallId);
|
1546
1546
|
if (incomingCall) {
|
1547
1547
|
yield incomingCall.accept(localVideoStream ? { videoOptions: { localVideoStreams: [localVideoStream] } } : undefined);
|
1548
1548
|
}
|
1549
|
-
}), onRejectCall: (incomingCallId) => __awaiter$
|
1549
|
+
}), onRejectCall: (incomingCallId) => __awaiter$11(void 0, void 0, void 0, function* () {
|
1550
1550
|
const incomingCall = callAgent === null || callAgent === void 0 ? void 0 : callAgent.incomingCalls.find((incomingCall) => incomingCall.id === incomingCallId);
|
1551
1551
|
if (incomingCall) {
|
1552
1552
|
yield incomingCall.reject();
|
@@ -1554,13 +1554,13 @@ const createDefaultCallingHandlers = memoizeOne((...args) => {
|
|
1554
1554
|
}),
|
1555
1555
|
/* @conditional-compile-remove(breakout-rooms) */
|
1556
1556
|
onHangUp: breakoutRoomOriginCall
|
1557
|
-
? () => __awaiter$
|
1557
|
+
? () => __awaiter$11(void 0, void 0, void 0, function* () { return breakoutRoomOriginCall.hangUp().then(() => commonCallingHandlers.onHangUp()); })
|
1558
1558
|
: commonCallingHandlers.onHangUp });
|
1559
1559
|
});
|
1560
1560
|
|
1561
1561
|
// Copyright (c) Microsoft Corporation.
|
1562
1562
|
// Licensed under the MIT License.
|
1563
|
-
var __awaiter
|
1563
|
+
var __awaiter$10 = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
1564
1564
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
1565
1565
|
return new (P || (P = Promise))(function (resolve, reject) {
|
1566
1566
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -1591,7 +1591,7 @@ const createDefaultTeamsCallingHandlers = memoizeOne((callClient, callAgent, dev
|
|
1591
1591
|
return undefined;
|
1592
1592
|
},
|
1593
1593
|
/* @conditional-compile-remove(teams-identity-support-beta) */
|
1594
|
-
onAddParticipant: (userId, options) => __awaiter
|
1594
|
+
onAddParticipant: (userId, options) => __awaiter$10(void 0, void 0, void 0, function* () {
|
1595
1595
|
const participant = _toCommunicationIdentifier(userId);
|
1596
1596
|
const threadId = options === null || options === void 0 ? void 0 : options.threadId;
|
1597
1597
|
if (communicationCommon.isCommunicationUserIdentifier(participant)) {
|
@@ -1604,7 +1604,7 @@ const createDefaultTeamsCallingHandlers = memoizeOne((callClient, callAgent, dev
|
|
1604
1604
|
call === null || call === void 0 ? void 0 : call.addParticipant(participant, threadId ? { threadId } : undefined);
|
1605
1605
|
}
|
1606
1606
|
call === null || call === void 0 ? void 0 : call.addParticipant(participant);
|
1607
|
-
}), onRemoveParticipant: (userId) => __awaiter
|
1607
|
+
}), onRemoveParticipant: (userId) => __awaiter$10(void 0, void 0, void 0, function* () {
|
1608
1608
|
const participant = _toCommunicationIdentifier(userId);
|
1609
1609
|
if (communicationCommon.isCommunicationUserIdentifier(participant)) {
|
1610
1610
|
throw new Error('CommunicationIdentifier in Teams call is not supported!');
|
@@ -1613,20 +1613,20 @@ const createDefaultTeamsCallingHandlers = memoizeOne((callClient, callAgent, dev
|
|
1613
1613
|
throw new Error('Removing Microsoft Teams app identifier is not supported!');
|
1614
1614
|
}
|
1615
1615
|
yield (call === null || call === void 0 ? void 0 : call.removeParticipant(participant));
|
1616
|
-
}), onAcceptCall: (incomingCallId, useVideo) => __awaiter
|
1616
|
+
}), onAcceptCall: (incomingCallId, useVideo) => __awaiter$10(void 0, void 0, void 0, function* () {
|
1617
1617
|
const localVideoStream = useVideo ? yield createLocalVideoStream(callClient) : undefined;
|
1618
1618
|
const incomingCall = callAgent === null || callAgent === void 0 ? void 0 : callAgent.incomingCalls.find((incomingCall) => incomingCall.id === incomingCallId);
|
1619
1619
|
if (incomingCall) {
|
1620
1620
|
yield incomingCall.accept(localVideoStream ? { videoOptions: { localVideoStreams: [localVideoStream] } } : undefined);
|
1621
1621
|
}
|
1622
|
-
}), onRejectCall: (incomingCallId) => __awaiter
|
1622
|
+
}), onRejectCall: (incomingCallId) => __awaiter$10(void 0, void 0, void 0, function* () {
|
1623
1623
|
const incomingCall = callAgent === null || callAgent === void 0 ? void 0 : callAgent.incomingCalls.find((incomingCall) => incomingCall.id === incomingCallId);
|
1624
1624
|
if (incomingCall) {
|
1625
1625
|
yield incomingCall.reject();
|
1626
1626
|
}
|
1627
1627
|
}),
|
1628
1628
|
/* @conditional-compile-remove(together-mode) */
|
1629
|
-
onStartTogetherMode: () => __awaiter
|
1629
|
+
onStartTogetherMode: () => __awaiter$10(void 0, void 0, void 0, function* () {
|
1630
1630
|
if (!call) {
|
1631
1631
|
return;
|
1632
1632
|
}
|
@@ -1915,9 +1915,9 @@ const incomingCallStackSelector = reselect.createSelector([getIncomingCalls, get
|
|
1915
1915
|
/**
|
1916
1916
|
* Selector for {@link StartCaptionsButton} component.
|
1917
1917
|
*
|
1918
|
-
* @
|
1918
|
+
* @public
|
1919
1919
|
*/
|
1920
|
-
const
|
1920
|
+
const startCaptionsButtonSelector = reselect__namespace.createSelector([getCaptionsStatus$1, getCurrentCaptionLanguage, getCurrentSpokenLanguage], (isCaptionsFeatureActive, currentCaptionLanguage, currentSpokenLanguage) => {
|
1921
1921
|
return {
|
1922
1922
|
checked: isCaptionsFeatureActive !== null && isCaptionsFeatureActive !== void 0 ? isCaptionsFeatureActive : false,
|
1923
1923
|
currentCaptionLanguage: currentCaptionLanguage !== null && currentCaptionLanguage !== void 0 ? currentCaptionLanguage : '',
|
@@ -1982,7 +1982,7 @@ const getCaptionsSpeakerIdentifier = (captions) => {
|
|
1982
1982
|
|
1983
1983
|
// Copyright (c) Microsoft Corporation.
|
1984
1984
|
// Licensed under the MIT License.
|
1985
|
-
var __awaiter
|
1985
|
+
var __awaiter$$ = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
1986
1986
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
1987
1987
|
return new (P || (P = Promise))(function (resolve, reject) {
|
1988
1988
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -2063,7 +2063,7 @@ class ProxyDeviceManager {
|
|
2063
2063
|
}
|
2064
2064
|
}
|
2065
2065
|
};
|
2066
|
-
this.permissionsApiStateChangeHandler = () => __awaiter
|
2066
|
+
this.permissionsApiStateChangeHandler = () => __awaiter$$(this, void 0, void 0, function* () {
|
2067
2067
|
yield this.updateDevicePermissionState();
|
2068
2068
|
});
|
2069
2069
|
/**
|
@@ -2074,13 +2074,13 @@ class ProxyDeviceManager {
|
|
2074
2074
|
this.selectCamera = (videoDeviceInfo) => {
|
2075
2075
|
this._context.setDeviceManagerSelectedCamera(videoDeviceInfo);
|
2076
2076
|
};
|
2077
|
-
this.videoDevicesUpdated = () => __awaiter
|
2077
|
+
this.videoDevicesUpdated = () => __awaiter$$(this, void 0, void 0, function* () {
|
2078
2078
|
// Device Manager always has a camera with '' name if there are no real camera devices available.
|
2079
2079
|
// We don't want to show that in the UI.
|
2080
2080
|
const realCameras = (yield this._deviceManager.getCameras()).filter((c) => !!c.name);
|
2081
2081
|
this._context.setDeviceManagerCameras(dedupeById(realCameras));
|
2082
2082
|
});
|
2083
|
-
this.audioDevicesUpdated = () => __awaiter
|
2083
|
+
this.audioDevicesUpdated = () => __awaiter$$(this, void 0, void 0, function* () {
|
2084
2084
|
this._context.setDeviceManagerMicrophones(dedupeById(yield this._deviceManager.getMicrophones()));
|
2085
2085
|
if (this._deviceManager.isSpeakerSelectionAvailable) {
|
2086
2086
|
this._context.setDeviceManagerSpeakers(dedupeById(yield this._deviceManager.getSpeakers()));
|
@@ -2092,7 +2092,7 @@ class ProxyDeviceManager {
|
|
2092
2092
|
this.selectedSpeakerChanged = () => {
|
2093
2093
|
this._context.setDeviceManagerSelectedSpeaker(this._deviceManager.selectedSpeaker);
|
2094
2094
|
};
|
2095
|
-
this.updateDevicePermissionState = (sdkDeviceAccessState) => __awaiter
|
2095
|
+
this.updateDevicePermissionState = (sdkDeviceAccessState) => __awaiter$$(this, void 0, void 0, function* () {
|
2096
2096
|
let hasCameraPermission = !!(sdkDeviceAccessState === null || sdkDeviceAccessState === void 0 ? void 0 : sdkDeviceAccessState.video);
|
2097
2097
|
let hasMicPermission = !!(sdkDeviceAccessState === null || sdkDeviceAccessState === void 0 ? void 0 : sdkDeviceAccessState.audio);
|
2098
2098
|
// Supplement the SDK values with values from the Permissions API to get a better understanding of the device
|
@@ -2170,7 +2170,7 @@ class ProxyDeviceManager {
|
|
2170
2170
|
}
|
2171
2171
|
case 'askDevicePermission': {
|
2172
2172
|
return this._context.withAsyncErrorTeedToState((...args) => {
|
2173
|
-
return target.askDevicePermission(...args).then((deviceAccess) => __awaiter
|
2173
|
+
return target.askDevicePermission(...args).then((deviceAccess) => __awaiter$$(this, void 0, void 0, function* () {
|
2174
2174
|
yield this.updateDevicePermissionState(deviceAccess);
|
2175
2175
|
return deviceAccess;
|
2176
2176
|
}));
|
@@ -2577,7 +2577,7 @@ class CallIdHistory {
|
|
2577
2577
|
|
2578
2578
|
// Copyright (c) Microsoft Corporation.
|
2579
2579
|
// Licensed under the MIT License.
|
2580
|
-
var __awaiter$
|
2580
|
+
var __awaiter$_ = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
2581
2581
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
2582
2582
|
return new (P || (P = Promise))(function (resolve, reject) {
|
2583
2583
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -3666,7 +3666,7 @@ let CallContext$2 = class CallContext {
|
|
3666
3666
|
* @throws CallError. Exceptions thrown from `f` are tagged with the failed `target.
|
3667
3667
|
*/
|
3668
3668
|
withAsyncErrorTeedToState(action, target) {
|
3669
|
-
return (...args) => __awaiter$
|
3669
|
+
return (...args) => __awaiter$_(this, void 0, void 0, function* () {
|
3670
3670
|
try {
|
3671
3671
|
return yield action(...args);
|
3672
3672
|
}
|
@@ -4240,7 +4240,7 @@ function _logStreamEvent(eventName, streamLogInfo, error) {
|
|
4240
4240
|
|
4241
4241
|
// Copyright (c) Microsoft Corporation.
|
4242
4242
|
// Licensed under the MIT License.
|
4243
|
-
var __awaiter$
|
4243
|
+
var __awaiter$Z = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
4244
4244
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
4245
4245
|
return new (P || (P = Promise))(function (resolve, reject) {
|
4246
4246
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -4250,7 +4250,7 @@ var __awaiter$Y = (window && window.__awaiter) || function (thisArg, _arguments,
|
|
4250
4250
|
});
|
4251
4251
|
};
|
4252
4252
|
function createViewVideo(context, internalContext, callId, stream, participantId, options) {
|
4253
|
-
return __awaiter$
|
4253
|
+
return __awaiter$Z(this, void 0, void 0, function* () {
|
4254
4254
|
// we can only have 3 types of createView
|
4255
4255
|
let streamEventType;
|
4256
4256
|
// we will reuse these for local as well but we need to make sure the remote stream is passed in like before.
|
@@ -4379,7 +4379,7 @@ function createViewVideo(context, internalContext, callId, stream, participantId
|
|
4379
4379
|
});
|
4380
4380
|
}
|
4381
4381
|
function createViewUnparentedVideo(context, internalContext, stream, options) {
|
4382
|
-
return __awaiter$
|
4382
|
+
return __awaiter$Z(this, void 0, void 0, function* () {
|
4383
4383
|
const renderInfo = internalContext.getUnparentedRenderInfo(stream);
|
4384
4384
|
if (renderInfo && renderInfo.status === 'Rendered') {
|
4385
4385
|
console.warn('Unparented LocalVideoStream is already rendered');
|
@@ -4548,7 +4548,7 @@ function createView$1(context, internalContext, callId, participantId, stream, o
|
|
4548
4548
|
// Render LocalVideoStream that is not part of a Call
|
4549
4549
|
// Because it is not part of the call we don't tee errors to state naturally (e.g. via a Call Client function such as startVideo).
|
4550
4550
|
// We do not have a startLocalPreviewVideo function, so as a workaround we ensure any errors are propagated here.
|
4551
|
-
return context.withAsyncErrorTeedToState(() => __awaiter$
|
4551
|
+
return context.withAsyncErrorTeedToState(() => __awaiter$Z(this, void 0, void 0, function* () { return yield createViewUnparentedVideo(context, internalContext, stream, options); }), 'Call.startVideo')();
|
4552
4552
|
}
|
4553
4553
|
else {
|
4554
4554
|
_logStreamEvent(EventNames.CREATE_STREAM_INVALID_PARAMS, { streamType });
|
@@ -4744,7 +4744,7 @@ class RecordingSubscriber {
|
|
4744
4744
|
|
4745
4745
|
// Copyright (c) Microsoft Corporation.
|
4746
4746
|
// Licensed under the MIT License.
|
4747
|
-
var __awaiter$
|
4747
|
+
var __awaiter$Y = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
4748
4748
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
4749
4749
|
return new (P || (P = Promise))(function (resolve, reject) {
|
4750
4750
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -4768,7 +4768,7 @@ class PPTLiveSubscriber {
|
|
4768
4768
|
this._context.setCallPPTLiveActive(this._callIdRef.callId, this._pptLive.isActive);
|
4769
4769
|
this.checkAndUpdatePPTLiveParticipant();
|
4770
4770
|
};
|
4771
|
-
this.checkAndUpdatePPTLiveParticipant = () => __awaiter$
|
4771
|
+
this.checkAndUpdatePPTLiveParticipant = () => __awaiter$Y(this, void 0, void 0, function* () {
|
4772
4772
|
if (!this._pptLive.activePresenterId) {
|
4773
4773
|
return;
|
4774
4774
|
}
|
@@ -5284,7 +5284,7 @@ class BreakoutRoomsSubscriber {
|
|
5284
5284
|
}
|
5285
5285
|
}
|
5286
5286
|
|
5287
|
-
var __awaiter$
|
5287
|
+
var __awaiter$X = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
5288
5288
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
5289
5289
|
return new (P || (P = Promise))(function (resolve, reject) {
|
5290
5290
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -5311,7 +5311,7 @@ function createView(context, internalContext, callId, stream, options) {
|
|
5311
5311
|
/* @conditional-compile-remove(together-mode) */
|
5312
5312
|
// This function is used to create a view for a stream that is part of a call feature.
|
5313
5313
|
function createCallFeatureViewVideo(context, internalContext, callId, stream, options) {
|
5314
|
-
return __awaiter$
|
5314
|
+
return __awaiter$X(this, void 0, void 0, function* () {
|
5315
5315
|
const streamEventType = 'createViewCallFeature';
|
5316
5316
|
const streamType = stream === null || stream === void 0 ? void 0 : stream.mediaStreamType;
|
5317
5317
|
const callFeatureStreamId = stream && stream.id;
|
@@ -5871,7 +5871,7 @@ class IncomingCallSubscriber {
|
|
5871
5871
|
|
5872
5872
|
// Copyright (c) Microsoft Corporation.
|
5873
5873
|
// Licensed under the MIT License.
|
5874
|
-
var __awaiter$
|
5874
|
+
var __awaiter$W = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
5875
5875
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
5876
5876
|
return new (P || (P = Promise))(function (resolve, reject) {
|
5877
5877
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -5891,14 +5891,14 @@ class ProxyIncomingCall {
|
|
5891
5891
|
switch (prop) {
|
5892
5892
|
case 'accept': {
|
5893
5893
|
return this._context.withAsyncErrorTeedToState(function (...args) {
|
5894
|
-
return __awaiter$
|
5894
|
+
return __awaiter$W(this, void 0, void 0, function* () {
|
5895
5895
|
return yield target.accept(...args);
|
5896
5896
|
});
|
5897
5897
|
}, 'IncomingCall.accept');
|
5898
5898
|
}
|
5899
5899
|
case 'reject': {
|
5900
5900
|
return this._context.withAsyncErrorTeedToState(function (...args) {
|
5901
|
-
return __awaiter$
|
5901
|
+
return __awaiter$W(this, void 0, void 0, function* () {
|
5902
5902
|
return yield target.reject(...args);
|
5903
5903
|
});
|
5904
5904
|
}, 'IncomingCall.reject');
|
@@ -5920,7 +5920,7 @@ const incomingCallDeclaratify = (incomingCall, context) => {
|
|
5920
5920
|
|
5921
5921
|
// Copyright (c) Microsoft Corporation.
|
5922
5922
|
// Licensed under the MIT License.
|
5923
|
-
var __awaiter$
|
5923
|
+
var __awaiter$V = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
5924
5924
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
5925
5925
|
return new (P || (P = Promise))(function (resolve, reject) {
|
5926
5926
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -5940,14 +5940,14 @@ class ProxyTeamsIncomingCall {
|
|
5940
5940
|
switch (prop) {
|
5941
5941
|
case 'accept': {
|
5942
5942
|
return this._context.withAsyncErrorTeedToState(function (...args) {
|
5943
|
-
return __awaiter$
|
5943
|
+
return __awaiter$V(this, void 0, void 0, function* () {
|
5944
5944
|
return yield target.accept(...args);
|
5945
5945
|
});
|
5946
5946
|
}, 'IncomingCall.accept');
|
5947
5947
|
}
|
5948
5948
|
case 'reject': {
|
5949
5949
|
return this._context.withAsyncErrorTeedToState(function (...args) {
|
5950
|
-
return __awaiter$
|
5950
|
+
return __awaiter$V(this, void 0, void 0, function* () {
|
5951
5951
|
return yield target.reject(...args);
|
5952
5952
|
});
|
5953
5953
|
}, 'IncomingCall.reject');
|
@@ -6166,7 +6166,7 @@ const clearCallRelatedState = (context, internalContext) => {
|
|
6166
6166
|
|
6167
6167
|
// Copyright (c) Microsoft Corporation.
|
6168
6168
|
// Licensed under the MIT License.
|
6169
|
-
var __awaiter$
|
6169
|
+
var __awaiter$U = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
6170
6170
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
6171
6171
|
return new (P || (P = Promise))(function (resolve, reject) {
|
6172
6172
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -6192,56 +6192,56 @@ class ProxyCallCommon {
|
|
6192
6192
|
switch (prop) {
|
6193
6193
|
case 'mute': {
|
6194
6194
|
return this._context.withAsyncErrorTeedToState(function (...args) {
|
6195
|
-
return __awaiter$
|
6195
|
+
return __awaiter$U(this, void 0, void 0, function* () {
|
6196
6196
|
return yield target.mute(...args);
|
6197
6197
|
});
|
6198
6198
|
}, 'Call.mute');
|
6199
6199
|
}
|
6200
6200
|
case 'unmute': {
|
6201
6201
|
return this._context.withAsyncErrorTeedToState(function (...args) {
|
6202
|
-
return __awaiter$
|
6202
|
+
return __awaiter$U(this, void 0, void 0, function* () {
|
6203
6203
|
return yield target.unmute(...args);
|
6204
6204
|
});
|
6205
6205
|
}, 'Call.unmute');
|
6206
6206
|
}
|
6207
6207
|
case 'startVideo': {
|
6208
6208
|
return this._context.withAsyncErrorTeedToState(function (...args) {
|
6209
|
-
return __awaiter$
|
6209
|
+
return __awaiter$U(this, void 0, void 0, function* () {
|
6210
6210
|
return yield target.startVideo(...args);
|
6211
6211
|
});
|
6212
6212
|
}, 'Call.startVideo');
|
6213
6213
|
}
|
6214
6214
|
case 'stopVideo': {
|
6215
6215
|
return this._context.withAsyncErrorTeedToState(function (...args) {
|
6216
|
-
return __awaiter$
|
6216
|
+
return __awaiter$U(this, void 0, void 0, function* () {
|
6217
6217
|
return yield target.stopVideo(...args);
|
6218
6218
|
});
|
6219
6219
|
}, 'Call.stopVideo');
|
6220
6220
|
}
|
6221
6221
|
case 'startScreenSharing': {
|
6222
6222
|
return this._context.withAsyncErrorTeedToState(function (...args) {
|
6223
|
-
return __awaiter$
|
6223
|
+
return __awaiter$U(this, void 0, void 0, function* () {
|
6224
6224
|
return yield target.startScreenSharing(...args);
|
6225
6225
|
});
|
6226
6226
|
}, 'Call.startScreenSharing');
|
6227
6227
|
}
|
6228
6228
|
case 'stopScreenSharing': {
|
6229
6229
|
return this._context.withAsyncErrorTeedToState(function (...args) {
|
6230
|
-
return __awaiter$
|
6230
|
+
return __awaiter$U(this, void 0, void 0, function* () {
|
6231
6231
|
return yield target.stopScreenSharing(...args);
|
6232
6232
|
});
|
6233
6233
|
}, 'Call.stopScreenSharing');
|
6234
6234
|
}
|
6235
6235
|
case 'hold': {
|
6236
6236
|
return this._context.withAsyncErrorTeedToState(function (...args) {
|
6237
|
-
return __awaiter$
|
6237
|
+
return __awaiter$U(this, void 0, void 0, function* () {
|
6238
6238
|
return yield target.hold(...args);
|
6239
6239
|
});
|
6240
6240
|
}, 'Call.hold');
|
6241
6241
|
}
|
6242
6242
|
case 'resume': {
|
6243
6243
|
return this._context.withAsyncErrorTeedToState(function (...args) {
|
6244
|
-
return __awaiter$
|
6244
|
+
return __awaiter$U(this, void 0, void 0, function* () {
|
6245
6245
|
return yield target.resume(...args);
|
6246
6246
|
});
|
6247
6247
|
}, 'Call.resume');
|
@@ -6308,7 +6308,7 @@ class ProxyTeamsCaptions {
|
|
6308
6308
|
get(target, prop) {
|
6309
6309
|
switch (prop) {
|
6310
6310
|
case 'startCaptions':
|
6311
|
-
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$
|
6311
|
+
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$U(this, void 0, void 0, function* () {
|
6312
6312
|
var _a, _b;
|
6313
6313
|
this._context.setStartCaptionsInProgress(this._call.id, true);
|
6314
6314
|
try {
|
@@ -6322,7 +6322,7 @@ class ProxyTeamsCaptions {
|
|
6322
6322
|
}
|
6323
6323
|
}), 'Call.feature');
|
6324
6324
|
case 'stopCaptions':
|
6325
|
-
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$
|
6325
|
+
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$U(this, void 0, void 0, function* () {
|
6326
6326
|
const ret = yield target.stopCaptions(...args);
|
6327
6327
|
this._context.setIsCaptionActive(this._call.id, false);
|
6328
6328
|
this._context.setStartCaptionsInProgress(this._call.id, false);
|
@@ -6330,13 +6330,13 @@ class ProxyTeamsCaptions {
|
|
6330
6330
|
return ret;
|
6331
6331
|
}), 'Call.feature');
|
6332
6332
|
case 'setSpokenLanguage':
|
6333
|
-
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$
|
6333
|
+
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$U(this, void 0, void 0, function* () {
|
6334
6334
|
const ret = yield target.setSpokenLanguage(...args);
|
6335
6335
|
this._context.setSelectedSpokenLanguage(this._call.id, args[0]);
|
6336
6336
|
return ret;
|
6337
6337
|
}), 'Call.feature');
|
6338
6338
|
case 'setCaptionLanguage':
|
6339
|
-
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$
|
6339
|
+
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$U(this, void 0, void 0, function* () {
|
6340
6340
|
const ret = yield target.setCaptionLanguage(...args);
|
6341
6341
|
this._context.setSelectedCaptionLanguage(this._call.id, args[0]);
|
6342
6342
|
return ret;
|
@@ -6357,7 +6357,7 @@ class ProxyCaptions {
|
|
6357
6357
|
get(target, prop) {
|
6358
6358
|
switch (prop) {
|
6359
6359
|
case 'startCaptions':
|
6360
|
-
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$
|
6360
|
+
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$U(this, void 0, void 0, function* () {
|
6361
6361
|
var _a, _b;
|
6362
6362
|
this._context.setStartCaptionsInProgress(this._call.id, true);
|
6363
6363
|
try {
|
@@ -6371,7 +6371,7 @@ class ProxyCaptions {
|
|
6371
6371
|
}
|
6372
6372
|
}), 'Call.feature');
|
6373
6373
|
case 'stopCaptions':
|
6374
|
-
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$
|
6374
|
+
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$U(this, void 0, void 0, function* () {
|
6375
6375
|
const ret = yield target.stopCaptions(...args);
|
6376
6376
|
this._context.setIsCaptionActive(this._call.id, false);
|
6377
6377
|
this._context.setStartCaptionsInProgress(this._call.id, false);
|
@@ -6379,7 +6379,7 @@ class ProxyCaptions {
|
|
6379
6379
|
return ret;
|
6380
6380
|
}), 'Call.feature');
|
6381
6381
|
case 'setSpokenLanguage':
|
6382
|
-
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$
|
6382
|
+
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$U(this, void 0, void 0, function* () {
|
6383
6383
|
const ret = yield target.setSpokenLanguage(...args);
|
6384
6384
|
this._context.setSelectedSpokenLanguage(this._call.id, args[0]);
|
6385
6385
|
return ret;
|
@@ -6399,12 +6399,12 @@ class ProxySpotlightCallFeature {
|
|
6399
6399
|
get(target, prop) {
|
6400
6400
|
switch (prop) {
|
6401
6401
|
case 'startSpotlight':
|
6402
|
-
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$
|
6402
|
+
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$U(this, void 0, void 0, function* () {
|
6403
6403
|
const ret = yield target.startSpotlight(...args);
|
6404
6404
|
return ret;
|
6405
6405
|
}), 'Call.feature');
|
6406
6406
|
case 'stopSpotlight':
|
6407
|
-
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$
|
6407
|
+
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$U(this, void 0, void 0, function* () {
|
6408
6408
|
const ret = yield target.stopSpotlight(...args);
|
6409
6409
|
return ret;
|
6410
6410
|
}), 'Call.feature');
|
@@ -6446,7 +6446,7 @@ class ProxyTransferCallFeature {
|
|
6446
6446
|
|
6447
6447
|
// Copyright (c) Microsoft Corporation.
|
6448
6448
|
// Licensed under the MIT License.
|
6449
|
-
var __awaiter$
|
6449
|
+
var __awaiter$T = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
6450
6450
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
6451
6451
|
return new (P || (P = Promise))(function (resolve, reject) {
|
6452
6452
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -6460,7 +6460,7 @@ class ProxyCall extends ProxyCallCommon {
|
|
6460
6460
|
switch (prop) {
|
6461
6461
|
case 'addParticipant': {
|
6462
6462
|
return this.getContext().withAsyncErrorTeedToState(function (...args) {
|
6463
|
-
return __awaiter$
|
6463
|
+
return __awaiter$T(this, void 0, void 0, function* () {
|
6464
6464
|
return yield target.addParticipant(...args);
|
6465
6465
|
});
|
6466
6466
|
}, 'Call.addParticipant');
|
@@ -6745,7 +6745,7 @@ class InternalCallContext {
|
|
6745
6745
|
|
6746
6746
|
// Copyright (c) Microsoft Corporation.
|
6747
6747
|
// Licensed under the MIT License.
|
6748
|
-
var __awaiter$
|
6748
|
+
var __awaiter$S = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
6749
6749
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
6750
6750
|
return new (P || (P = Promise))(function (resolve, reject) {
|
6751
6751
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -6760,7 +6760,7 @@ class ProxyTeamsCall extends ProxyCallCommon {
|
|
6760
6760
|
/* @conditional-compile-remove(teams-identity-support-beta) */
|
6761
6761
|
case 'addParticipant': {
|
6762
6762
|
return this.getContext().withAsyncErrorTeedToState(function (...args) {
|
6763
|
-
return __awaiter$
|
6763
|
+
return __awaiter$S(this, void 0, void 0, function* () {
|
6764
6764
|
return yield target.addParticipant(...args);
|
6765
6765
|
});
|
6766
6766
|
}, 'TeamsCall.addParticipant');
|
@@ -6867,7 +6867,7 @@ const teamsCallAgentDeclaratify = (callAgent, context, internalContext) => {
|
|
6867
6867
|
|
6868
6868
|
// Copyright (c) Microsoft Corporation.
|
6869
6869
|
// Licensed under the MIT License.
|
6870
|
-
var __awaiter$
|
6870
|
+
var __awaiter$R = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
6871
6871
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
6872
6872
|
return new (P || (P = Promise))(function (resolve, reject) {
|
6873
6873
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -6889,7 +6889,7 @@ class ProxyVideoStreamRendererView {
|
|
6889
6889
|
get(target, prop) {
|
6890
6890
|
switch (prop) {
|
6891
6891
|
case 'updateScalingMode': {
|
6892
|
-
return (...args) => __awaiter$
|
6892
|
+
return (...args) => __awaiter$R(this, void 0, void 0, function* () {
|
6893
6893
|
yield target.updateScalingMode(...args);
|
6894
6894
|
this._context.setRemoteVideoStreamViewScalingMode(this._callId, this._participantId, this._streamId, args[0]);
|
6895
6895
|
});
|
@@ -6910,7 +6910,7 @@ const videoStreamRendererViewDeclaratify = (view, context, callId, participantId
|
|
6910
6910
|
|
6911
6911
|
// Copyright (c) Microsoft Corporation.
|
6912
6912
|
// Licensed under the MIT License.
|
6913
|
-
var __awaiter$
|
6913
|
+
var __awaiter$Q = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
6914
6914
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
6915
6915
|
return new (P || (P = Promise))(function (resolve, reject) {
|
6916
6916
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -6932,7 +6932,7 @@ class ProxyCallClient {
|
|
6932
6932
|
get(target, prop) {
|
6933
6933
|
switch (prop) {
|
6934
6934
|
case 'createCallAgent': {
|
6935
|
-
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$
|
6935
|
+
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$Q(this, void 0, void 0, function* () {
|
6936
6936
|
// createCallAgent will throw an exception if the previous callAgent was not disposed. If the previous
|
6937
6937
|
// callAgent was disposed then it would have unsubscribed to events so we can just create a new declarative
|
6938
6938
|
// callAgent if the createCallAgent succeeds.
|
@@ -6945,7 +6945,7 @@ class ProxyCallClient {
|
|
6945
6945
|
}), 'CallClient.createCallAgent');
|
6946
6946
|
}
|
6947
6947
|
case 'createTeamsCallAgent': {
|
6948
|
-
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$
|
6948
|
+
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$Q(this, void 0, void 0, function* () {
|
6949
6949
|
// createCallAgent will throw an exception if the previous callAgent was not disposed. If the previous
|
6950
6950
|
// callAgent was disposed then it would have unsubscribed to events so we can just create a new declarative
|
6951
6951
|
// callAgent if the createCallAgent succeeds.
|
@@ -6958,7 +6958,7 @@ class ProxyCallClient {
|
|
6958
6958
|
}), 'CallClient.createTeamsCallAgent');
|
6959
6959
|
}
|
6960
6960
|
case 'getDeviceManager': {
|
6961
|
-
return this._context.withAsyncErrorTeedToState(() => __awaiter$
|
6961
|
+
return this._context.withAsyncErrorTeedToState(() => __awaiter$Q(this, void 0, void 0, function* () {
|
6962
6962
|
// As of writing, the SDK always returns the same instance of DeviceManager so we keep a reference of
|
6963
6963
|
// DeviceManager and if it does not change we return the cached DeclarativeDeviceManager. If it does not we'll
|
6964
6964
|
// throw an error that indicate we need to fix this issue as our implementation has diverged from the SDK.
|
@@ -6986,7 +6986,7 @@ class ProxyCallClient {
|
|
6986
6986
|
/**
|
6987
6987
|
* add to this object if we want to proxy anything else off the DebugInfo feature object.
|
6988
6988
|
*/
|
6989
|
-
return Object.assign(Object.assign({}, feature), { getEnvironmentInfo: () => __awaiter$
|
6989
|
+
return Object.assign(Object.assign({}, feature), { getEnvironmentInfo: () => __awaiter$Q(this, void 0, void 0, function* () {
|
6990
6990
|
const environmentInfo = yield feature.getEnvironmentInfo();
|
6991
6991
|
this._context.setEnvironmentInfo(environmentInfo);
|
6992
6992
|
return environmentInfo;
|
@@ -7046,7 +7046,7 @@ const createStatefulCallClientWithDeps = (callClient, context, internalContext)
|
|
7046
7046
|
});
|
7047
7047
|
Object.defineProperty(callClient, 'createView', {
|
7048
7048
|
configurable: false,
|
7049
|
-
value: (callId, participantId, stream, options) => __awaiter$
|
7049
|
+
value: (callId, participantId, stream, options) => __awaiter$Q(void 0, void 0, void 0, function* () {
|
7050
7050
|
/* @conditional-compile-remove(together-mode) */
|
7051
7051
|
if ('feature' in stream) {
|
7052
7052
|
return yield createView(context, internalContext, callId, stream, options);
|
@@ -7289,7 +7289,7 @@ const typingIndicatorStringStyle = react.mergeStyles({
|
|
7289
7289
|
wordBreak: 'break-word'
|
7290
7290
|
});
|
7291
7291
|
|
7292
|
-
var participantItem$n={isMeText:"(you)",menuTitle:"More Options",removeButtonLabel:"Remove",sharingIconLabel:"Sharing",mutedIconLabel:"Muted",handRaisedIconLabel:"Hand raised - Position {position}",displayNamePlaceholder:"Unnamed participant",participantStateRinging:"Calling...",participantStateHold:"On hold",participantItemAriaLabel:"{displayName}, {handRaisedState}, {mutedState}, {sharingState}, {connectionState}",participantItemWithMoreOptionsAriaLabel:"{displayName}, {handRaisedState}, {mutedState}, {sharingState}, {connectionState}, More Options",attendeeRole:"Attendee"};var ParticipantList$o={overflowParticipantCount:"+{overflowCount} more"};var typingIndicator$n={singleUser:"{user} is typing ...",multipleUsers:"{users} are typing ...",multipleUsersAbbreviateOne:"{users} and 1 other are typing ...",multipleUsersAbbreviateMany:"{users} and {numOthers} others are typing ...",delimiter:", "};var sendBox$n={placeholderText:"Enter a message",textTooLong:"Your message length is over the maximum limit.",sendButtonAriaLabel:"Send message",attachmentUploadsPendingError:"File is uploading, please wait.",removeAttachment:"Remove file",uploading:"Uploading",uploadCompleted:"Upload completed",attachmentMoreMenu:"More Options"};var richTextSendBox$n={placeholderText:"Enter a message",textTooLong:"Your message length is over the maximum limit.",sendButtonAriaLabel:"Send message",attachmentUploadsPendingError:"File is uploading, please wait.",imageUploadsPendingError:"Image is uploading, please wait.",removeAttachment:"Remove file",uploading:"Uploading",uploadCompleted:"Upload completed",richTextBoldTooltip:"Bold",richTextItalicTooltip:"Italic",richTextUnderlineTooltip:"Underline",richTextBulletListTooltip:"Bulleted list",richTextNumberListTooltip:"Numbered list",richTextIncreaseIndentTooltip:"Increase indent",richTextDecreaseIndentTooltip:"Decrease indent",richTextInsertTableTooltip:"Insert table",richTextFormatButtonTooltip:"Format",richTextInsertRowOrColumnMenu:"Insert",richTextInsertTableMenuTitle:"Insert {column} x {row} table",richTextInsertRowAboveMenu:"Insert above",richTextInsertRowBelowMenu:"Insert below",richTextInsertColumnLeftMenu:"Insert left",richTextInsertColumnRightMenu:"Insert right",richTextDeleteRowOrColumnMenu:"Delete",richTextDeleteColumnMenu:"Delete column",richTextDeleteRowMenu:"Delete row",richTextDeleteTableMenu:"Delete table",richTextToolbarAriaLabel:"Message Formatting Toolbar",richTextToolbarMoreButtonAriaLabel:"More options",attachmentMoreMenu:"More Options",richTextNewBulletedListItemAnnouncement:"Bullet, new line",richTextNewNumberedListItemAnnouncement:"{0}, new line",richTextBulletedListAppliedAnnouncement:"Bulleted list applied",richTextNumberedListAppliedAnnouncement:"Numbered list applied"};var rttModal$n={rttModalAriaLabel:"Turn on RTT Modal",rttModalTitle:"Turn on RTT?",rttModalText:"Real-time text (RTT) will be turned on for everyone in the meeting.",rttConfirmButtonLabel:"Turn on",rttCancelButtonLabel:"Cancel",rttCloseModalButtonAriaLabel:"Close RTT Modal"};var captionsBanner={captionsBannerSpinnerText:"Starting captions..."};var mentionPopover$n={mentionPopoverHeader:"Suggestions"};var imageOverlay$n={downloadButtonLabel:"Download",dismissButtonAriaLabel:"Close"};var messageStatusIndicator$n={deliveredAriaLabel:"Message sent",deliveredTooltipText:"Sent",seenAriaLabel:"Message seen by others",seenTooltipText:"Seen",readByTooltipText:"Read by {messageThreadReadCount} of {remoteParticipantsCount}",sendingAriaLabel:"Message sending",sendingTooltipText:"Sending",failedToSendAriaLabel:"Message failed to send",failedToSendTooltipText:"Failed to send"};var endCallButton$n={label:"Leave",tooltipContent:"Leave call",leaveOption:"Leave",endCallOption:"End call for everyone"};var cameraButton$n={onLabel:"Camera",offLabel:"Camera",tooltipDisabledContent:"Camera is disabled",tooltipOnContent:"Turn off camera",tooltipOffContent:"Turn on camera",tooltipVideoLoadingContent:"Video is loading",cameraMenuTitle:"Camera",cameraMenuTooltip:"Choose camera",cameraButtonSplitRoleDescription:"Split button",onSplitButtonAriaLabel:"Turn off camera",offSplitButtonAriaLabel:"Turn on camera",cameraActionTurnedOnAnnouncement:"Your camera has been turned on",cameraActionTurnedOffAnnouncement:"Your camera has been turned off",onSplitButtonPrimaryActionCamera:"Turn off camera",offSplitButtonPrimaryActionCamera:"Turn on camera",cameraPrimaryActionSplitButtonTitle:"Use camera",videoEffectsMenuItemTitle:"Effects",cameraButtonAriaDescription:"camera options"};var microphoneButton$n={onLabel:"Mic",offLabel:"Mic",tooltipDisabledContent:"Microphone is disabled",tooltipOnContent:"Mute microphone",tooltipOffContent:"Unmute microphone",microphoneMenuTitle:"Microphone",microphoneMenuTooltip:"Choose microphone",speakerMenuTitle:"Speaker",speakerMenuTooltip:"Choose speaker",microphoneButtonSplitRoleDescription:"Split button",onSplitButtonAriaLabel:"Mute mic",offSplitButtonAriaLabel:"Unmute mic",microphoneActionTurnedOnAnnouncement:"Your microphone has been turned on",microphoneActionTurnedOffAnnouncement:"Your microphone has been turned off",offSplitButtonMicrophonePrimaryAction:"Unmute mic",onSplitButtonMicrophonePrimaryAction:"Mute mic",microphonePrimaryActionSplitButtonTitle:"Use microphone",microphoneAriaDescription:"Audio options",deepNoiseSuppressionTitle:"Noise suppression",deepNoiseSuppressionOnAnnouncement:"Deep noise suppression has been turned on",deepNoiseSuppressionOffAnnouncement:"Deep noise suppression has been turned off"};var devicesButton$n={label:"Devices",tooltipContent:"Manage devices",cameraMenuTitle:"Camera",cameraMenuTooltip:"Choose camera",audioDeviceMenuTitle:"Audio Device",audioDeviceMenuTooltip:"Choose audio device",microphoneMenuTitle:"Microphone",microphoneMenuTooltip:"Choose microphone",speakerMenuTitle:"Speaker",speakerMenuTooltip:"Choose speaker"};var participantsButton$n={label:"People",ariaLabel:"People",tooltipContent:"Show participants",menuHeader:"In this call",participantsListButtonLabel:"{numParticipants} people",muteAllButtonLabel:"Mute all",copyInviteLinkButtonLabel:"Copy invite link",copyInviteLinkActionedAriaLabel:"Invite link copied"};var screenShareButton$n={onLabel:"Stop presenting",offLabel:"Present",tooltipDisabledContent:"Presenting is disabled",tooltipOnContent:"Presenting your screen",tooltipOffContent:"Present your screen"};var raiseHandButton$n={offLabel:"Raise",onLabel:"Lower",tooltipDisabledContent:"Raise Hand action is disabled",tooltipOnContent:"Lower Hand",tooltipOffContent:"Raise Hand"};var reactionButton$n={label:"React",ariaLabel:"React",tooltipDisabledContent:"Reaction action is disabled",tooltipContent:"Send a reaction",likeReactionTooltipContent:"Like",heartReactionTooltipContent:"Love",laughReactionTooltipContent:"Laugh",applauseReactionTooltipContent:"Applause",surprisedReactionTooltipContent:"Surprised"};var rtt$n={isTypingText:"RTT typing"};var captionsSettingsModal={captionsSettingsModalTitle:"Captions Settings",captionsSettingsSpokenLanguageDropdownLabel:"Spoken language",captionsSettingsCaptionLanguageDropdownLabel:"Captions language",captionsSettingsSpokenLanguageDropdownInfoText:"Language that everyone on this call is speaking.",captionsSettingsCaptionLanguageDropdownInfoText:"Captions will appear in this langugage.",captionsSettingsConfirmButtonLabel:"Confirm",captionsSettingsCancelButtonLabel:"Cancel",captionsSettingsModalAriaLabel:"Captions Setting Modal",captionsSettingsCloseModalButtonAriaLabel:"Close Captions Setting"};var spokenLanguages={"ar-ae":"Arabic - U.A.E.","ar-sa":"Arabic - Saudi Arabia","da-dk":"Danish","de-de":"German - Germany","en-au":"English - Australia","en-ca":"English - Canada","en-gb":"English - United Kingdom","en-in":"English - India","en-nz":"English - New Zealand","en-us":"English - United States","es-es":"Spanish - Spain (Modern Sort)","es-mx":"Spanish - Mexico","fi-fi":"Finnish","fr-ca":"French - Canada","fr-fr":"French - France","hi-in":"Hindi","it-it":"Italian - Italy","ja-jp":"Japanese","ko-kr":"Korean","nb-no":"Norwegian (Bokmål)","nl-be":"Dutch - Belgium","nl-nl":"Dutch - Netherlands","pl-pl":"Polish","pt-br":"Portuguese - Brazil","ru-ru":"Russian","sv-se":"Swedish","zh-cn":"Chinese - People's Republic of China","zh-hk":"Chinese - Hong Kong SAR","cs-cz":"Czech","pt-pt":"Portuguese - Portugal","tr-tr":"Turkish","vi-vn":"Vietnamese","th-th":"Thai","he-il":"Hebrew","cy-gb":"Welsh","uk-ua":"Ukrainian","el-gr":"Greek","hu-hu":"Hungarian","ro-ro":"Romanian","sk-sk":"Slovak","zh-tw":"Chinese - Taiwan"};var captionLanguages={ar:"Arabic",da:"Danish",de:"German",en:"English",es:"Spanish",fi:"Finnish","fr-ca":"French - Canada",fr:"French - France",hi:"Hindi",it:"Italian",ja:"Japanese",ko:"Korean",nb:"Norwegian (Bokmål)",nl:"Dutch",pl:"Polish",pt:"Portuguese - Brazil",ru:"Russian",sv:"Swedish","zh-Hans":"Chinese (Simplified)","zh-Hant":"Chinese (Traditional)",cs:"Czech","pt-pt":"Portuguese - Portugal",tr:"Turkish",vi:"Vietnamese",th:"Thai",he:"Hebrew",cy:"Welsh",uk:"Ukrainian",el:"Greek",hu:"Hungarian",ro:"Romanian",sk:"Slovak"};var messageThread$n={yesterday:"Yesterday",sunday:"Sunday",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",participantJoined:"joined the chat.",participantLeft:"left the chat.",editMessage:"Edit",removeMessage:"Delete",resendMessage:"Try sending again",failToSendTag:"Failed to send",editedTag:"Edited",liveAuthorIntro:"{author} says",messageContentAriaText:"{status} {author} said {message}",messageContentMineAriaText:"{status} You said {message}",editBoxTextLimit:"Your message is over the limit of {limitNumber} characters",editBoxPlaceholderText:"Edit your message",newMessagesIndicator:"New messages",noDisplayNameSub:"No name",editBoxCancelButton:"Cancel",editBoxSubmitButton:"Done",messageReadCount:"Read by {messageReadByCount} of {remoteParticipantsCount}",actionMenuMoreOptions:"More Options",downloadAttachment:"Download file",openAttachment:"Open file",blockedWarningText:"This message was deleted due to organizational policy.",blockedWarningLinkText:"Details",attachmentCardGroupMessage:"The message has {attachmentCount} attachment",messageDeletedAnnouncementAriaLabel:"The message is deleted",richTextBoldTooltip:"Bold",richTextItalicTooltip:"Italic",richTextUnderlineTooltip:"Underline",richTextBulletListTooltip:"Bulleted list",richTextNumberListTooltip:"Numbered list",richTextIncreaseIndentTooltip:"Increase indent",richTextDecreaseIndentTooltip:"Decrease indent",richTextInsertTableTooltip:"Insert table",richTextFormatButtonTooltip:"Format",richTextInsertRowOrColumnMenu:"Insert",richTextInsertTableMenuTitle:"Insert {column} x {row} table",richTextInsertRowAboveMenu:"Insert above",richTextInsertRowBelowMenu:"Insert below",richTextInsertColumnLeftMenu:"Insert left",richTextInsertColumnRightMenu:"Insert right",richTextDeleteRowOrColumnMenu:"Delete",richTextDeleteColumnMenu:"Delete column",richTextDeleteRowMenu:"Delete row",richTextDeleteTableMenu:"Delete table",richTextToolbarMoreButtonAriaLabel:"More options",attachmentUploadsPendingError:"File is uploading, please wait.",imageUploadsPendingError:"Image is uploading, please wait.",richTextNewBulletedListItemAnnouncement:"Bullet, new line",richTextNewNumberedListItemAnnouncement:"{0}, new line",richTextBulletedListAppliedAnnouncement:"Bulleted list applied",richTextNumberedListAppliedAnnouncement:"Numbered list applied"};var errorBar$n={unableToReachChatService:"You are offline",accessDenied:"Unable to access chat services - please check the user credentials provided",userNotInChatThread:"You are no longer in this chat thread",sendMessageNotInChatThread:"Failed to send message because you are no longer in this chat thread",sendMessageGeneric:"Failed to send message",callingNetworkFailure:"Troubling connecting call - you seem to be offline",startVideoGeneric:"Failed to start video",stopVideoGeneric:"Failed to stop video",muteGeneric:"Failed to mute microphone",unmuteGeneric:"Failed to unmute microphone",speakingWhileMuted:"Your microphone is muted",startScreenShareGeneric:"There was an issue starting screen share.",stopScreenShareGeneric:"Failed to stop screen sharing",callNetworkQualityLow:"Network quality is low.",teamsMeetingCallNetworkQualityLow:"Network quality is low.",callNoSpeakerFound:"No speakers or headphones found. Connect an audio device to hear the call.",callNoMicrophoneFound:"No microphones found. Connect an audio input device.",callMicrophoneAccessDenied:"Unable to access microphone. Click the lock in the address bar to grant permission to this webpage.",callMicrophoneAccessDeniedSafari:"Unable to access microphone. Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",callMicrophoneMutedBySystem:"You are muted by your system.",callMicrophoneUnmutedBySystem:"Your microphone recovered and you were unmuted by your system.",callMacOsMicrophoneAccessDenied:"Unable to access microphone. Grant microphone permission in your macOS privacy settings.",callLocalVideoFreeze:"Network bandwidth is poor. Your video may appear paused for others on the call.",callCameraAccessDenied:"Unable to access camera. Click the lock in the address bar to grant permission to this webpage.",callCameraAccessDeniedSafari:"Unable to access camera. Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",callCameraAlreadyInUse:"Unable to access camera. It may already be in use by another application.",callVideoStoppedBySystem:"Your video has been stopped by your system.",callVideoRecoveredBySystem:"Your video has resumed.",callMacOsCameraAccessDenied:"MacOS is blocking access to your camera. Update your privacy settings to allow this browser to access your camera.",callMacOsScreenShareAccessDenied:"MacOS is blocking screen sharing. Update your privacy settings to allow this browser to record your screen.",dismissButtonAriaLabel:"Close",failedToJoinCallGeneric:"Failed to join call.",failedToJoinCallInvalidMeetingLink:"Unable to join Meeting. Invalid Link.",cameraFrozenForRemoteParticipants:"Users in the call are having issues seeing your video. Please check your devices and network.",unableToStartVideoEffect:"Unable to apply video effect.",startSpotlightWhileMaxParticipantsAreSpotlighted:"Cannot start spotlight on participant(s) because the maximum number of participants are already spotlighted.",mutedByRemoteParticipant:"You were muted by another participant."};var notificationStack$n={callingNetworkFailure:{title:"Troubling connecting call",message:"You seem to be offline. Please check your network connection and try again.",dismissButtonAriaLabel:"Close"},startVideoGeneric:{title:"Failed to start video.",dismissButtonAriaLabel:"Close"},stopVideoGeneric:{title:"Failed to stop video.",dismissButtonAriaLabel:"Close"},muteGeneric:{title:"Failed to mute microphone.",dismissButtonAriaLabel:"Close"},unmuteGeneric:{title:"Failed to unmute microphone.",dismissButtonAriaLabel:"Close"},speakingWhileMuted:{title:"You're muted.",dismissButtonAriaLabel:"Close"},startScreenShareGeneric:{title:"There was an issue starting screen share.",dismissButtonAriaLabel:"Close"},stopScreenShareGeneric:{title:"Failed to stop screen sharing.",dismissButtonAriaLabel:"Close"},callNetworkQualityLow:{title:"Network quality is low.",dismissButtonAriaLabel:"Close"},teamsMeetingCallNetworkQualityLow:{title:"Network quality is low.",dismissButtonAriaLabel:"Close",message:"Join this call from your phone for better sound. You can continue viewing the meeting on this device.",primaryButtonLabel:"Join by Phone"},callNoSpeakerFound:{title:"No speakers or headphones found",message:"Connect an audio device to hear the call.",dismissButtonAriaLabel:"Close"},callNoMicrophoneFound:{title:"No microphones found",message:"Connect an audio input device.",dismissButtonAriaLabel:"Close"},callMicrophoneAccessDenied:{title:"Unable to access microphone",message:"Click the lock in the address bar to grant permission to this webpage.",dismissButtonAriaLabel:"Close"},callMicrophoneAccessDeniedSafari:{title:"Unable to access microphone",message:"Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",dismissButtonAriaLabel:"Close"},callMicrophoneMutedBySystem:{title:"You are muted by your system.",dismissButtonAriaLabel:"Close"},callMicrophoneUnmutedBySystem:{title:"Your microphone recovered and you were unmuted by your system.",dismissButtonAriaLabel:"Close"},callMacOsMicrophoneAccessDenied:{title:"Unable to access microphone",message:"Grant microphone permission in your macOS privacy settings.",dismissButtonAriaLabel:"Close"},callLocalVideoFreeze:{title:"Network bandwidth is poor",message:"Your video may appear paused for others on the call.",dismissButtonAriaLabel:"Close"},callCameraAccessDenied:{title:"Unable to access camera",message:"Click the lock in the address bar to grant permission to this webpage.",dismissButtonAriaLabel:"Close"},callCameraAccessDeniedSafari:{title:"Unable to access camera",message:"Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",dismissButtonAriaLabel:"Close"},callCameraAlreadyInUse:{title:"Unable to access camera",message:"It may already be in use by another application.",dismissButtonAriaLabel:"Close"},callVideoStoppedBySystem:{title:"Your video has been stopped by your system.",dismissButtonAriaLabel:"Close"},callVideoRecoveredBySystem:{title:"Your video has resumed.",dismissButtonAriaLabel:"Close"},callMacOsCameraAccessDenied:{title:"MacOS is blocking access to your camera",message:"Update your privacy settings to allow this browser to access your camera.",dismissButtonAriaLabel:"Close"},callMacOsScreenShareAccessDenied:{title:"MacOS is blocking screen sharing",message:"Update your privacy settings to allow this browser to record your screen.",dismissButtonAriaLabel:"Close"},failedToJoinCallGeneric:{title:"Failed to join call.",dismissButtonAriaLabel:"Close"},failedToJoinCallInvalidMeetingLink:{title:"Unable to join Meeting. Invalid Link.",dismissButtonAriaLabel:"Close"},cameraFrozenForRemoteParticipants:{title:"Users in the call are having issues seeing your video",message:"Please check your devices and network.",dismissButtonAriaLabel:"Close"},unableToStartVideoEffect:{title:"Unable to apply video effect.",dismissButtonAriaLabel:"Close"},startSpotlightWhileMaxParticipantsAreSpotlighted:{title:"Cannot start spotlight on participant(s)",message:"The maximum number of participants are already spotlighted.",dismissButtonAriaLabel:"Close"},mutedByRemoteParticipant:{title:"You were muted by another participant.",dismissButtonAriaLabel:"Close"},recordingStarted:{title:"Recording has started.",message:"By joining, you are giving consent for this meeting to be transcribed.",dismissButtonAriaLabel:"Close"},transcriptionStarted:{title:"Transcription has started.",message:"By joining, you are giving consent for this meeting to be transcribed.",dismissButtonAriaLabel:"Close"},recordingStopped:{title:"Recording is being saved.",message:"Recording has stopped.",dismissButtonAriaLabel:"Close"},transcriptionStopped:{title:"Transcription is being saved.",message:"Transcription has stopped.",dismissButtonAriaLabel:"Close"},recordingAndTranscriptionStarted:{title:"Recording and transcription have started.",message:"By joining, you are giving consent for this meeting to be transcribed.",dismissButtonAriaLabel:"Close"},recordingAndTranscriptionStopped:{title:"Recording and transcription are being saved.",message:"Recording and transcription have stopped.",dismissButtonAriaLabel:"Close"},recordingStoppedStillTranscribing:{title:"Recording has stopped.",message:"You are now only transcribing this meeting.",dismissButtonAriaLabel:"Close"},transcriptionStoppedStillRecording:{title:"Transcription has stopped.",message:"You are now only recording this meeting.",dismissButtonAriaLabel:"Close"},assignedBreakoutRoomOpened:{title:"We'll move you to your assigned room in 5 seconds.",dismissButtonAriaLabel:"Close"},assignedBreakoutRoomChanged:{title:"Your breakout room has changed",message:"We'll move you to your assigned room in 5 seconds.",dismissButtonAriaLabel:"Close"},assignedBreakoutRoomOpenedPromptJoin:{title:"Join breakout room?",message:"You've been assigned to a breakout room.",dismissButtonAriaLabel:"Close",primaryButtonLabel:"Join room",secondaryButtonLabel:"Later"},breakoutRoomJoined:{title:"You have joined a breakout room.",dismissButtonAriaLabel:"Close"},breakoutRoomClosingSoon:{title:"Room time limit about to expire.",message:"This room will close in 30 seconds",dismissButtonAriaLabel:"Close"},capabilityTurnVideoOnPresent:{title:"Your camera has been enabled",message:"Turn it on if you'd like to share video.",dismissButtonAriaLabel:"Close"},capabilityTurnVideoOnAbsent:{title:"Your camera has been disabled",message:"You can no longer share video.",dismissButtonAriaLabel:"Close"},capabilityUnmuteMicPresent:{title:"Your mic has been enabled",message:"Unmute if you'd like to speak.",dismissButtonAriaLabel:"Close"},capabilityUnmuteMicAbsent:{title:"Your mic has been disabled",message:"You can no longer unmute.",dismissButtonAriaLabel:"Close"}};var videoGallery$n={screenIsBeingSharedMessage:"You are sharing your screen",screenShareLoadingMessage:"Loading {participant}'s screen",localScreenShareLoadingMessage:"Loading your screen",localVideoLabel:"You",localVideoCameraSwitcherLabel:"Switch camera",localVideoMovementLabel:"Movable Local Video Tile",localVideoMovementAriaLabel:"Movable Local Video Tile",localVideoSelectedDescription:"{cameraName} selected",displayNamePlaceholder:"Unnamed participant",fitRemoteParticipantToFrame:"Fit to frame",fillRemoteParticipantFrame:"Fill frame",pinParticipantForMe:"Pin for me",pinParticipantForMeLimitReached:"Pin (limit reached)",unpinParticipantForMe:"Unpin",pinParticipantMenuItemAriaLabel:"Pin {participantName}",unpinParticipantMenuItemAriaLabel:"Unpin {participantName}",pinnedParticipantAnnouncementAriaLabel:"Pinned {participantName}",unpinnedParticipantAnnouncementAriaLabel:"Unpinned {participantName}",startSpotlightVideoTileMenuLabel:"Spotlight for everyone",addSpotlightVideoTileMenuLabel:"Add spotlight",spotlightLimitReachedMenuTitle:"Spotlight limit reached",stopSpotlightVideoTileMenuLabel:"Stop spotlighting",stopSpotlightOnSelfVideoTileMenuLabel:"Exit spotlight",attendeeRole:"Attendee",muteParticipantMenuItemLabel:"Mute",waitingScreenText:"Waiting for others to join",forbidAudio:"Disable mic",permitAudio:"Allow mic",forbidAudioTileMenuLabel:"Disable mic",permitAudioTileMenuLabel:"Allow mic",forbidVideo:"Disable camera",permitVideo:"Allow camera",forbidVideoTileMenuLabel:"Disable camera",permitVideoTileMenuLabel:"Allow camera"};var dialpad$n={placeholderText:"Enter phone number",deleteButtonAriaLabel:"Delete"};var holdButton$n={onLabel:"Resume",offLabel:"Hold",tooltipOnContent:"Resume call",tooltipOffContent:"Hold call"};var videoTile$n={participantStateRinging:"Calling...",participantReconnecting:"Reconnecting...",participantStateHold:"On hold",moreOptionsButtonAriaLabel:"More Options {displayName} {isMuted} {isHandRaised} {state} {isSpeaking}",moreOptionsParticipantMutedStateMutedAriaLabel:"muted",moreOptionsParticipantMutedStateUnmutedAriaLabel:"unmuted",moreOptionsParticipantHandRaisedAriaLabel:"Hand raised",moreOptionsParticipantIsSpeakingAriaLabel:"Speaking"};var CameraAndMicrophoneSitePermissionsRequest$n={primaryText:"Allow {appName} to use your camera and microphone",secondaryText:"This is so participants can see and hear you.",linkText:"Need help? Get troubleshooting help",primaryButtonText:"Continue without camera and microphone",ariaLabel:"Allow camera and microphone access"};var CameraSitePermissionsRequest$n={primaryText:"Allow {appName} to use your camera",secondaryText:"This is so participants can see you.",linkText:"Need help? Get troubleshooting help",primaryButtonText:"Continue without camera",ariaLabel:"Allow camera access"};var MicrophoneSitePermissionsRequest$n={primaryText:"Allow {appName} to use your microphone",secondaryText:"This is so participants can hear you.",linkText:"Need help? Get troubleshooting help",primaryButtonText:"Continue without microphone",ariaLabel:"Allow microphone access"};var CameraAndMicrophoneSitePermissionsCheck$n={primaryText:"Checking for camera and microphone access",secondaryText:"Allow access if prompted. This is so participants can see and hear you.",linkText:"Need help? Get troubleshooting help",primaryButtonText:"Continue without camera and microphone",ariaLabel:"Checking for camera and microphone access. Allow access if prompted."};var CameraSitePermissionsCheck$n={primaryText:"Checking for camera access",secondaryText:"Allow access if prompted. This is so participants can see you.",linkText:"Need help? Get troubleshooting help",primaryButtonText:"Continue without camera",ariaLabel:"Checking for camera access. Allow access if prompted."};var MicrophoneSitePermissionsCheck$n={primaryText:"Checking for microphone access",secondaryText:"Allow access if prompted. This is so participants can hear you.",linkText:"Need help? Get troubleshooting help",primaryButtonText:"Continue without microphone",ariaLabel:"Checking for microphone access. Allow access if prompted."};var CameraAndMicrophoneSitePermissionsDenied$n={primaryText:"Unable to access camera and microphone",secondaryText:"Click the lock icon in the address bar to grant microphone permissions to this webpage. A page refresh may be required.",primaryButtonText:"Continue without camera and microphone",linkText:"Need help? Get troubleshooting help"};var CameraAndMicrophoneSitePermissionsDeniedSafari$n={primaryText:"Unable to access camera and microphone",secondaryText:"Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",primaryButtonText:"Continue without camera and microphone",linkText:"Need help? Get troubleshooting help"};var CameraSitePermissionsDenied$n={primaryText:"Unable to access camera",secondaryText:"Click the lock icon in the address bar to grant camera permissions to this webpage. A page refresh may be required.",primaryButtonText:"Continue without camera",linkText:"Need help? Get troubleshooting help"};var MicrophoneSitePermissionsDenied$n={primaryText:"Unable to access microphone",secondaryText:"Click the lock icon in the address bar to grant microphone permissions to this webpage. A page refresh may be required.",primaryButtonText:"Continue without microphone",linkText:"Need help? Get troubleshooting help"};var CameraSitePermissionsDeniedSafari$n={primaryText:"Unable to access camera",secondaryText:"Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",primaryButtonText:"Continue without camera",linkText:"Need help? Get troubleshooting help"};var MicrophoneSitePermissionsDeniedSafari$n={primaryText:"Unable to access microphone",secondaryText:"Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",primaryButtonText:"Continue without microphone",linkText:"Need help? Get troubleshooting help"};var UnsupportedBrowser$o={primaryText:"Browser not supported",secondaryText:"Please join this call using a compatible browser.",moreHelpLinkText:"See compatibility requirements"};var UnsupportedBrowserVersion$o={primaryText:"Browser update needed",secondaryText:"To ensure the best call possible, please update your browser and then try joining the call again.",moreHelpLinkText:"See compatibility requirements",continueAnywayButtonText:"Start call without updating"};var UnsupportedOperatingSystem$o={primaryText:"Operating system not supported",secondaryText:"Please join this call using a device with a compatible operating system.",moreHelpLinkText:"See compatibility requirements"};var BrowserPermissionDenied$n={primaryText:"Can't use your camera or microphone",secondaryText:"Your browser might not have access to your camera or microphone. To fix this, open System Preferences.",primaryButtonText:"Try again",linkText:"Need help? Get troubleshooting help"};var BrowserPermissionDeniedIOS$n={primaryText:"Allow microphone access to continue",secondaryText:"So other participants can hear you.",primaryButtonText:"Try again",imageAltText:"Microphone and camera device permission location for iOS",linkText:"Need help? Get troubleshooting help",step1Text:"Go to the Settings app",step2Text:"Scroll down to settings for this browser",step3Text:"Turn on Microphone (Camera optional)",step4Text:"Try joining the call again",step1DigitText:"1",step2DigitText:"2",step3DigitText:"3",step4DigitText:"4"};var verticalGallery$n={leftNavButtonAriaLabel:"previous page {current} of {total}",rightNavButtonAriaLabel:"next page {current} of {total}"};var meetingConferencePhoneInfo$n={meetingConferencePhoneInfoModalTitle:"Join call from your phone",meetingConferencePhoneInfoModalDialIn:"Dial number",meetingConferencePhoneInfoModalMeetingId:"Enter meeting ID",meetingConferencePhoneInfoModalWait:"Wait to be admitted by organizer",meetingConferencePhoneInfoModalNoPhoneAvailable:"No phone available",meetingConferencePhoneInfoModalTollGeoData:"{country}, {city}",meetingConferencePhoneInfoModalTollFree:"(Toll-free)",meetingConferencePhoneInfoModalToll:"(Toll)"};var IncomingCallNotification$o={incomingCallNotificationPlaceholderId:"Unknown User",incomingCallNotificationPlaceholderAlert:"{callerName} is calling",incomingCallNoticicationAcceptWithAudioAriaLabel:"Accept with audio",incomingCallNoticicationAcceptWithVideoAriaLabel:"Accept with video",incomingCallNoticicationRejectAriaLabel:"Reject",incomingCallNotificationAcceptButtonLabel:"Accept",incomingCallNotificationRejectButtonLabel:"Decline",incomingCallNotificationAccceptWithVideoButtonLabel:"Accept with Video",incomingCallNotificationDismissButtonAriaLabel:"Dismiss"};var rttDisclosureBanner$n={bannerTitle:"RTT",bannerContent:"RTT (real-time text) is enabled for all participants for the entire duration of the meeting.",bannerLinkLabel:"Learn more"};var en_US$1 = {participantItem:participantItem$n,ParticipantList:ParticipantList$o,typingIndicator:typingIndicator$n,sendBox:sendBox$n,richTextSendBox:richTextSendBox$n,rttModal:rttModal$n,captionsBanner:captionsBanner,mentionPopover:mentionPopover$n,imageOverlay:imageOverlay$n,messageStatusIndicator:messageStatusIndicator$n,endCallButton:endCallButton$n,cameraButton:cameraButton$n,microphoneButton:microphoneButton$n,devicesButton:devicesButton$n,participantsButton:participantsButton$n,screenShareButton:screenShareButton$n,raiseHandButton:raiseHandButton$n,reactionButton:reactionButton$n,rtt:rtt$n,captionsSettingsModal:captionsSettingsModal,spokenLanguages:spokenLanguages,captionLanguages:captionLanguages,messageThread:messageThread$n,errorBar:errorBar$n,notificationStack:notificationStack$n,videoGallery:videoGallery$n,dialpad:dialpad$n,holdButton:holdButton$n,videoTile:videoTile$n,CameraAndMicrophoneSitePermissionsRequest:CameraAndMicrophoneSitePermissionsRequest$n,CameraSitePermissionsRequest:CameraSitePermissionsRequest$n,MicrophoneSitePermissionsRequest:MicrophoneSitePermissionsRequest$n,CameraAndMicrophoneSitePermissionsCheck:CameraAndMicrophoneSitePermissionsCheck$n,CameraSitePermissionsCheck:CameraSitePermissionsCheck$n,MicrophoneSitePermissionsCheck:MicrophoneSitePermissionsCheck$n,CameraAndMicrophoneSitePermissionsDenied:CameraAndMicrophoneSitePermissionsDenied$n,CameraAndMicrophoneSitePermissionsDeniedSafari:CameraAndMicrophoneSitePermissionsDeniedSafari$n,CameraSitePermissionsDenied:CameraSitePermissionsDenied$n,MicrophoneSitePermissionsDenied:MicrophoneSitePermissionsDenied$n,CameraSitePermissionsDeniedSafari:CameraSitePermissionsDeniedSafari$n,MicrophoneSitePermissionsDeniedSafari:MicrophoneSitePermissionsDeniedSafari$n,UnsupportedBrowser:UnsupportedBrowser$o,UnsupportedBrowserVersion:UnsupportedBrowserVersion$o,UnsupportedOperatingSystem:UnsupportedOperatingSystem$o,BrowserPermissionDenied:BrowserPermissionDenied$n,BrowserPermissionDeniedIOS:BrowserPermissionDeniedIOS$n,verticalGallery:verticalGallery$n,meetingConferencePhoneInfo:meetingConferencePhoneInfo$n,IncomingCallNotification:IncomingCallNotification$o,rttDisclosureBanner:rttDisclosureBanner$n};
|
7292
|
+
var participantItem$n={isMeText:"(you)",menuTitle:"More Options",removeButtonLabel:"Remove",sharingIconLabel:"Sharing",mutedIconLabel:"Muted",handRaisedIconLabel:"Hand raised - Position {position}",displayNamePlaceholder:"Unnamed participant",participantStateRinging:"Calling...",participantStateHold:"On hold",participantItemAriaLabel:"{displayName}, {handRaisedState}, {mutedState}, {sharingState}, {connectionState}",participantItemWithMoreOptionsAriaLabel:"{displayName}, {handRaisedState}, {mutedState}, {sharingState}, {connectionState}, More Options",attendeeRole:"Attendee"};var ParticipantList$o={overflowParticipantCount:"+{overflowCount} more"};var typingIndicator$n={singleUser:"{user} is typing ...",multipleUsers:"{users} are typing ...",multipleUsersAbbreviateOne:"{users} and 1 other are typing ...",multipleUsersAbbreviateMany:"{users} and {numOthers} others are typing ...",delimiter:", "};var sendBox$n={placeholderText:"Enter a message",textTooLong:"Your message length is over the maximum limit.",sendButtonAriaLabel:"Send message",attachmentUploadsPendingError:"File is uploading, please wait.",removeAttachment:"Remove file",uploading:"Uploading",uploadCompleted:"Upload completed",attachmentMoreMenu:"More Options"};var richTextSendBox$n={placeholderText:"Enter a message",textTooLong:"Your message length is over the maximum limit.",sendButtonAriaLabel:"Send message",attachmentUploadsPendingError:"File is uploading, please wait.",imageUploadsPendingError:"Image is uploading, please wait.",removeAttachment:"Remove file",uploading:"Uploading",uploadCompleted:"Upload completed",richTextBoldTooltip:"Bold",richTextItalicTooltip:"Italic",richTextUnderlineTooltip:"Underline",richTextBulletListTooltip:"Bulleted list",richTextNumberListTooltip:"Numbered list",richTextIncreaseIndentTooltip:"Increase indent",richTextDecreaseIndentTooltip:"Decrease indent",richTextInsertTableTooltip:"Insert table",richTextFormatButtonTooltip:"Format",richTextInsertRowOrColumnMenu:"Insert",richTextInsertTableMenuTitle:"Insert {column} x {row} table",richTextInsertRowAboveMenu:"Insert above",richTextInsertRowBelowMenu:"Insert below",richTextInsertColumnLeftMenu:"Insert left",richTextInsertColumnRightMenu:"Insert right",richTextDeleteRowOrColumnMenu:"Delete",richTextDeleteColumnMenu:"Delete column",richTextDeleteRowMenu:"Delete row",richTextDeleteTableMenu:"Delete table",richTextToolbarAriaLabel:"Message Formatting Toolbar",richTextToolbarMoreButtonAriaLabel:"More options",attachmentMoreMenu:"More Options",richTextNewBulletedListItemAnnouncement:"Bullet, new line",richTextNewNumberedListItemAnnouncement:"{0}, new line",richTextBulletedListAppliedAnnouncement:"Bulleted list applied",richTextNumberedListAppliedAnnouncement:"Numbered list applied"};var rttModal$n={rttModalAriaLabel:"Turn on RTT Modal",rttModalTitle:"Turn on RTT?",rttModalText:"Real-time text (RTT) will be turned on for everyone in the meeting.",rttConfirmButtonLabel:"Turn on",rttCancelButtonLabel:"Cancel",rttCloseModalButtonAriaLabel:"Close RTT Modal"};var captionsBanner={captionsBannerSpinnerText:"Starting captions..."};var mentionPopover$n={mentionPopoverHeader:"Suggestions"};var imageOverlay$n={downloadButtonLabel:"Download",dismissButtonAriaLabel:"Close",overlayVisibleMessage:"Image Details Overlay"};var messageStatusIndicator$n={deliveredAriaLabel:"Message sent",deliveredTooltipText:"Sent",seenAriaLabel:"Message seen by others",seenTooltipText:"Seen",readByTooltipText:"Read by {messageThreadReadCount} of {remoteParticipantsCount}",sendingAriaLabel:"Message sending",sendingTooltipText:"Sending",failedToSendAriaLabel:"Message failed to send",failedToSendTooltipText:"Failed to send"};var endCallButton$n={label:"Leave",tooltipContent:"Leave call",leaveOption:"Leave",endCallOption:"End call for everyone"};var cameraButton$n={onLabel:"Camera",offLabel:"Camera",tooltipDisabledContent:"Camera is disabled",tooltipOnContent:"Turn off camera",tooltipOffContent:"Turn on camera",tooltipVideoLoadingContent:"Video is loading",cameraMenuTitle:"Camera",cameraMenuTooltip:"Choose camera",cameraButtonSplitRoleDescription:"Split button",onSplitButtonAriaLabel:"Turn off camera",offSplitButtonAriaLabel:"Turn on camera",cameraActionTurnedOnAnnouncement:"Your camera has been turned on",cameraActionTurnedOffAnnouncement:"Your camera has been turned off",onSplitButtonPrimaryActionCamera:"Turn off camera",offSplitButtonPrimaryActionCamera:"Turn on camera",cameraPrimaryActionSplitButtonTitle:"Use camera",videoEffectsMenuItemTitle:"Effects",cameraButtonAriaDescription:"camera options"};var microphoneButton$n={onLabel:"Mic",offLabel:"Mic",tooltipDisabledContent:"Microphone is disabled",tooltipOnContent:"Mute microphone",tooltipOffContent:"Unmute microphone",microphoneMenuTitle:"Microphone",microphoneMenuTooltip:"Choose microphone",speakerMenuTitle:"Speaker",speakerMenuTooltip:"Choose speaker",microphoneButtonSplitRoleDescription:"Split button",onSplitButtonAriaLabel:"Mute mic",offSplitButtonAriaLabel:"Unmute mic",microphoneActionTurnedOnAnnouncement:"Your microphone has been turned on",microphoneActionTurnedOffAnnouncement:"Your microphone has been turned off",offSplitButtonMicrophonePrimaryAction:"Unmute mic",onSplitButtonMicrophonePrimaryAction:"Mute mic",microphonePrimaryActionSplitButtonTitle:"Use microphone",microphoneAriaDescription:"Audio options",deepNoiseSuppressionTitle:"Noise suppression",deepNoiseSuppressionOnAnnouncement:"Deep noise suppression has been turned on",deepNoiseSuppressionOffAnnouncement:"Deep noise suppression has been turned off"};var devicesButton$n={label:"Devices",tooltipContent:"Manage devices",cameraMenuTitle:"Camera",cameraMenuTooltip:"Choose camera",audioDeviceMenuTitle:"Audio Device",audioDeviceMenuTooltip:"Choose audio device",microphoneMenuTitle:"Microphone",microphoneMenuTooltip:"Choose microphone",speakerMenuTitle:"Speaker",speakerMenuTooltip:"Choose speaker"};var participantsButton$n={label:"People",ariaLabel:"People",tooltipContent:"Show participants",menuHeader:"In this call",participantsListButtonLabel:"{numParticipants} people",muteAllButtonLabel:"Mute all",copyInviteLinkButtonLabel:"Copy invite link",copyInviteLinkActionedAriaLabel:"Invite link copied"};var screenShareButton$n={onLabel:"Stop presenting",offLabel:"Present",tooltipDisabledContent:"Presenting is disabled",tooltipOnContent:"Presenting your screen",tooltipOffContent:"Present your screen"};var raiseHandButton$n={offLabel:"Raise",onLabel:"Lower",tooltipDisabledContent:"Raise Hand action is disabled",tooltipOnContent:"Lower Hand",tooltipOffContent:"Raise Hand"};var reactionButton$n={label:"React",ariaLabel:"React",tooltipDisabledContent:"Reaction action is disabled",tooltipContent:"Send a reaction",likeReactionTooltipContent:"Like",heartReactionTooltipContent:"Love",laughReactionTooltipContent:"Laugh",applauseReactionTooltipContent:"Applause",surprisedReactionTooltipContent:"Surprised"};var rtt$n={isTypingText:"RTT typing"};var captionsSettingsModal={captionsSettingsModalTitle:"Captions Settings",captionsSettingsSpokenLanguageDropdownLabel:"Spoken language",captionsSettingsCaptionLanguageDropdownLabel:"Captions language",captionsSettingsSpokenLanguageDropdownInfoText:"Language that everyone on this call is speaking.",captionsSettingsCaptionLanguageDropdownInfoText:"Captions will appear in this langugage.",captionsSettingsConfirmButtonLabel:"Confirm",captionsSettingsCancelButtonLabel:"Cancel",captionsSettingsModalAriaLabel:"Captions Setting Modal",captionsSettingsCloseModalButtonAriaLabel:"Close Captions Setting"};var spokenLanguages={"ar-ae":"Arabic - U.A.E.","ar-sa":"Arabic - Saudi Arabia","da-dk":"Danish","de-de":"German - Germany","en-au":"English - Australia","en-ca":"English - Canada","en-gb":"English - United Kingdom","en-in":"English - India","en-nz":"English - New Zealand","en-us":"English - United States","es-es":"Spanish - Spain (Modern Sort)","es-mx":"Spanish - Mexico","fi-fi":"Finnish","fr-ca":"French - Canada","fr-fr":"French - France","hi-in":"Hindi","it-it":"Italian - Italy","ja-jp":"Japanese","ko-kr":"Korean","nb-no":"Norwegian (Bokmål)","nl-be":"Dutch - Belgium","nl-nl":"Dutch - Netherlands","pl-pl":"Polish","pt-br":"Portuguese - Brazil","ru-ru":"Russian","sv-se":"Swedish","zh-cn":"Chinese - People's Republic of China","zh-hk":"Chinese - Hong Kong SAR","cs-cz":"Czech","pt-pt":"Portuguese - Portugal","tr-tr":"Turkish","vi-vn":"Vietnamese","th-th":"Thai","he-il":"Hebrew","cy-gb":"Welsh","uk-ua":"Ukrainian","el-gr":"Greek","hu-hu":"Hungarian","ro-ro":"Romanian","sk-sk":"Slovak","zh-tw":"Chinese - Taiwan"};var captionLanguages={ar:"Arabic",da:"Danish",de:"German",en:"English",es:"Spanish",fi:"Finnish","fr-ca":"French - Canada",fr:"French - France",hi:"Hindi",it:"Italian",ja:"Japanese",ko:"Korean",nb:"Norwegian (Bokmål)",nl:"Dutch",pl:"Polish",pt:"Portuguese - Brazil",ru:"Russian",sv:"Swedish","zh-Hans":"Chinese (Simplified)","zh-Hant":"Chinese (Traditional)",cs:"Czech","pt-pt":"Portuguese - Portugal",tr:"Turkish",vi:"Vietnamese",th:"Thai",he:"Hebrew",cy:"Welsh",uk:"Ukrainian",el:"Greek",hu:"Hungarian",ro:"Romanian",sk:"Slovak"};var startCaptionsButton={onLabel:"Turn on captions",offLabel:"Turn off captions",tooltipOnContent:"Turn off captions",tooltipOffContent:"Turn on captions"};var messageThread$n={yesterday:"Yesterday",sunday:"Sunday",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",participantJoined:"joined the chat.",participantLeft:"left the chat.",editMessage:"Edit",removeMessage:"Delete",resendMessage:"Try sending again",failToSendTag:"Failed to send",editedTag:"Edited",liveAuthorIntro:"{author} says",messageContentAriaText:"{status} {author} said {message}",messageContentMineAriaText:"{status} You said {message}",editBoxTextLimit:"Your message is over the limit of {limitNumber} characters",editBoxPlaceholderText:"Edit your message",newMessagesIndicator:"New messages",noDisplayNameSub:"No name",editBoxCancelButton:"Cancel",editBoxSubmitButton:"Done",messageReadCount:"Read by {messageReadByCount} of {remoteParticipantsCount}",actionMenuMoreOptions:"More Options",downloadAttachment:"Download file",openAttachment:"Open file",blockedWarningText:"This message was deleted due to organizational policy.",blockedWarningLinkText:"Details",attachmentCardGroupMessage:"The message has {attachmentCount} attachment",messageDeletedAnnouncementAriaLabel:"The message is deleted",richTextBoldTooltip:"Bold",richTextItalicTooltip:"Italic",richTextUnderlineTooltip:"Underline",richTextBulletListTooltip:"Bulleted list",richTextNumberListTooltip:"Numbered list",richTextIncreaseIndentTooltip:"Increase indent",richTextDecreaseIndentTooltip:"Decrease indent",richTextInsertTableTooltip:"Insert table",richTextFormatButtonTooltip:"Format",richTextInsertRowOrColumnMenu:"Insert",richTextInsertTableMenuTitle:"Insert {column} x {row} table",richTextInsertRowAboveMenu:"Insert above",richTextInsertRowBelowMenu:"Insert below",richTextInsertColumnLeftMenu:"Insert left",richTextInsertColumnRightMenu:"Insert right",richTextDeleteRowOrColumnMenu:"Delete",richTextDeleteColumnMenu:"Delete column",richTextDeleteRowMenu:"Delete row",richTextDeleteTableMenu:"Delete table",richTextToolbarMoreButtonAriaLabel:"More options",attachmentUploadsPendingError:"File is uploading, please wait.",imageUploadsPendingError:"Image is uploading, please wait.",richTextNewBulletedListItemAnnouncement:"Bullet, new line",richTextNewNumberedListItemAnnouncement:"{0}, new line",richTextBulletedListAppliedAnnouncement:"Bulleted list applied",richTextNumberedListAppliedAnnouncement:"Numbered list applied"};var errorBar$n={unableToReachChatService:"You are offline",accessDenied:"Unable to access chat services - please check the user credentials provided",userNotInChatThread:"You are no longer in this chat thread",sendMessageNotInChatThread:"Failed to send message because you are no longer in this chat thread",sendMessageGeneric:"Failed to send message",callingNetworkFailure:"Troubling connecting call - you seem to be offline",startVideoGeneric:"Failed to start video",stopVideoGeneric:"Failed to stop video",muteGeneric:"Failed to mute microphone",unmuteGeneric:"Failed to unmute microphone",speakingWhileMuted:"Your microphone is muted",startScreenShareGeneric:"There was an issue starting screen share.",stopScreenShareGeneric:"Failed to stop screen sharing",callNetworkQualityLow:"Network quality is low.",teamsMeetingCallNetworkQualityLow:"Network quality is low.",callNoSpeakerFound:"No speakers or headphones found. Connect an audio device to hear the call.",callNoMicrophoneFound:"No microphones found. Connect an audio input device.",callMicrophoneAccessDenied:"Unable to access microphone. Click the lock in the address bar to grant permission to this webpage.",callMicrophoneAccessDeniedSafari:"Unable to access microphone. Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",callMicrophoneMutedBySystem:"You are muted by your system.",callMicrophoneUnmutedBySystem:"Your microphone recovered and you were unmuted by your system.",callMacOsMicrophoneAccessDenied:"Unable to access microphone. Grant microphone permission in your macOS privacy settings.",callLocalVideoFreeze:"Network bandwidth is poor. Your video may appear paused for others on the call.",callCameraAccessDenied:"Unable to access camera. Click the lock in the address bar to grant permission to this webpage.",callCameraAccessDeniedSafari:"Unable to access camera. Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",callCameraAlreadyInUse:"Unable to access camera. It may already be in use by another application.",callVideoStoppedBySystem:"Your video has been stopped by your system.",callVideoRecoveredBySystem:"Your video has resumed.",callMacOsCameraAccessDenied:"MacOS is blocking access to your camera. Update your privacy settings to allow this browser to access your camera.",callMacOsScreenShareAccessDenied:"MacOS is blocking screen sharing. Update your privacy settings to allow this browser to record your screen.",dismissButtonAriaLabel:"Close",failedToJoinCallGeneric:"Failed to join call.",failedToJoinCallInvalidMeetingLink:"Unable to join Meeting. Invalid Link.",cameraFrozenForRemoteParticipants:"Users in the call are having issues seeing your video. Please check your devices and network.",unableToStartVideoEffect:"Unable to apply video effect.",startSpotlightWhileMaxParticipantsAreSpotlighted:"Cannot start spotlight on participant(s) because the maximum number of participants are already spotlighted.",mutedByRemoteParticipant:"You were muted by another participant."};var notificationStack$n={callingNetworkFailure:{title:"Troubling connecting call",message:"You seem to be offline. Please check your network connection and try again.",dismissButtonAriaLabel:"Close"},startVideoGeneric:{title:"Failed to start video.",dismissButtonAriaLabel:"Close"},stopVideoGeneric:{title:"Failed to stop video.",dismissButtonAriaLabel:"Close"},muteGeneric:{title:"Failed to mute microphone.",dismissButtonAriaLabel:"Close"},unmuteGeneric:{title:"Failed to unmute microphone.",dismissButtonAriaLabel:"Close"},speakingWhileMuted:{title:"You're muted.",dismissButtonAriaLabel:"Close"},startScreenShareGeneric:{title:"There was an issue starting screen share.",dismissButtonAriaLabel:"Close"},stopScreenShareGeneric:{title:"Failed to stop screen sharing.",dismissButtonAriaLabel:"Close"},callNetworkQualityLow:{title:"Network quality is low.",dismissButtonAriaLabel:"Close"},teamsMeetingCallNetworkQualityLow:{title:"Network quality is low.",dismissButtonAriaLabel:"Close",message:"Join this call from your phone for better sound. You can continue viewing the meeting on this device.",primaryButtonLabel:"Join by Phone"},callNoSpeakerFound:{title:"No speakers or headphones found",message:"Connect an audio device to hear the call.",dismissButtonAriaLabel:"Close"},callNoMicrophoneFound:{title:"No microphones found",message:"Connect an audio input device.",dismissButtonAriaLabel:"Close"},callMicrophoneAccessDenied:{title:"Unable to access microphone",message:"Click the lock in the address bar to grant permission to this webpage.",dismissButtonAriaLabel:"Close"},callMicrophoneAccessDeniedSafari:{title:"Unable to access microphone",message:"Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",dismissButtonAriaLabel:"Close"},callMicrophoneMutedBySystem:{title:"You are muted by your system.",dismissButtonAriaLabel:"Close"},callMicrophoneUnmutedBySystem:{title:"Your microphone recovered and you were unmuted by your system.",dismissButtonAriaLabel:"Close"},callMacOsMicrophoneAccessDenied:{title:"Unable to access microphone",message:"Grant microphone permission in your macOS privacy settings.",dismissButtonAriaLabel:"Close"},callLocalVideoFreeze:{title:"Network bandwidth is poor",message:"Your video may appear paused for others on the call.",dismissButtonAriaLabel:"Close"},callCameraAccessDenied:{title:"Unable to access camera",message:"Click the lock in the address bar to grant permission to this webpage.",dismissButtonAriaLabel:"Close"},callCameraAccessDeniedSafari:{title:"Unable to access camera",message:"Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",dismissButtonAriaLabel:"Close"},callCameraAlreadyInUse:{title:"Unable to access camera",message:"It may already be in use by another application.",dismissButtonAriaLabel:"Close"},callVideoStoppedBySystem:{title:"Your video has been stopped by your system.",dismissButtonAriaLabel:"Close"},callVideoRecoveredBySystem:{title:"Your video has resumed.",dismissButtonAriaLabel:"Close"},callMacOsCameraAccessDenied:{title:"MacOS is blocking access to your camera",message:"Update your privacy settings to allow this browser to access your camera.",dismissButtonAriaLabel:"Close"},callMacOsScreenShareAccessDenied:{title:"MacOS is blocking screen sharing",message:"Update your privacy settings to allow this browser to record your screen.",dismissButtonAriaLabel:"Close"},failedToJoinCallGeneric:{title:"Failed to join call.",dismissButtonAriaLabel:"Close"},failedToJoinCallInvalidMeetingLink:{title:"Unable to join Meeting. Invalid Link.",dismissButtonAriaLabel:"Close"},cameraFrozenForRemoteParticipants:{title:"Users in the call are having issues seeing your video",message:"Please check your devices and network.",dismissButtonAriaLabel:"Close"},unableToStartVideoEffect:{title:"Unable to apply video effect.",dismissButtonAriaLabel:"Close"},startSpotlightWhileMaxParticipantsAreSpotlighted:{title:"Cannot start spotlight on participant(s)",message:"The maximum number of participants are already spotlighted.",dismissButtonAriaLabel:"Close"},mutedByRemoteParticipant:{title:"You were muted by another participant.",dismissButtonAriaLabel:"Close"},recordingStarted:{title:"Recording has started.",message:"By joining, you are giving consent for this meeting to be transcribed.",dismissButtonAriaLabel:"Close"},transcriptionStarted:{title:"Transcription has started.",message:"By joining, you are giving consent for this meeting to be transcribed.",dismissButtonAriaLabel:"Close"},recordingStopped:{title:"Recording is being saved.",message:"Recording has stopped.",dismissButtonAriaLabel:"Close"},transcriptionStopped:{title:"Transcription is being saved.",message:"Transcription has stopped.",dismissButtonAriaLabel:"Close"},recordingAndTranscriptionStarted:{title:"Recording and transcription have started.",message:"By joining, you are giving consent for this meeting to be transcribed.",dismissButtonAriaLabel:"Close"},recordingAndTranscriptionStopped:{title:"Recording and transcription are being saved.",message:"Recording and transcription have stopped.",dismissButtonAriaLabel:"Close"},recordingStoppedStillTranscribing:{title:"Recording has stopped.",message:"You are now only transcribing this meeting.",dismissButtonAriaLabel:"Close"},transcriptionStoppedStillRecording:{title:"Transcription has stopped.",message:"You are now only recording this meeting.",dismissButtonAriaLabel:"Close"},assignedBreakoutRoomOpened:{title:"We'll move you to your assigned room in 5 seconds.",dismissButtonAriaLabel:"Close"},assignedBreakoutRoomChanged:{title:"Your breakout room has changed",message:"We'll move you to your assigned room in 5 seconds.",dismissButtonAriaLabel:"Close"},assignedBreakoutRoomOpenedPromptJoin:{title:"Join breakout room?",message:"You've been assigned to a breakout room.",dismissButtonAriaLabel:"Close",primaryButtonLabel:"Join room",secondaryButtonLabel:"Later"},breakoutRoomJoined:{title:"You have joined a breakout room.",dismissButtonAriaLabel:"Close"},breakoutRoomClosingSoon:{title:"Room time limit about to expire.",message:"This room will close in 30 seconds",dismissButtonAriaLabel:"Close"},capabilityTurnVideoOnPresent:{title:"Your camera has been enabled",message:"Turn it on if you'd like to share video.",dismissButtonAriaLabel:"Close"},capabilityTurnVideoOnAbsent:{title:"Your camera has been disabled",message:"You can no longer share video.",dismissButtonAriaLabel:"Close"},capabilityUnmuteMicPresent:{title:"Your mic has been enabled",message:"Unmute if you'd like to speak.",dismissButtonAriaLabel:"Close"},capabilityUnmuteMicAbsent:{title:"Your mic has been disabled",message:"You can no longer unmute.",dismissButtonAriaLabel:"Close"}};var videoGallery$n={screenIsBeingSharedMessage:"You are sharing your screen",screenShareLoadingMessage:"Loading {participant}'s screen",localScreenShareLoadingMessage:"Loading your screen",localVideoLabel:"You",localVideoCameraSwitcherLabel:"Switch camera",localVideoMovementLabel:"Movable Local Video Tile",localVideoMovementAriaLabel:"Movable Local Video Tile",localVideoSelectedDescription:"{cameraName} selected",displayNamePlaceholder:"Unnamed participant",fitRemoteParticipantToFrame:"Fit to frame",fillRemoteParticipantFrame:"Fill frame",pinParticipantForMe:"Pin for me",pinParticipantForMeLimitReached:"Pin (limit reached)",unpinParticipantForMe:"Unpin",pinParticipantMenuItemAriaLabel:"Pin {participantName}",unpinParticipantMenuItemAriaLabel:"Unpin {participantName}",pinnedParticipantAnnouncementAriaLabel:"Pinned {participantName}",unpinnedParticipantAnnouncementAriaLabel:"Unpinned {participantName}",startSpotlightVideoTileMenuLabel:"Spotlight for everyone",addSpotlightVideoTileMenuLabel:"Add spotlight",spotlightLimitReachedMenuTitle:"Spotlight limit reached",stopSpotlightVideoTileMenuLabel:"Stop spotlighting",stopSpotlightOnSelfVideoTileMenuLabel:"Exit spotlight",attendeeRole:"Attendee",muteParticipantMenuItemLabel:"Mute",waitingScreenText:"Waiting for others to join",forbidAudio:"Disable mic",permitAudio:"Allow mic",forbidAudioTileMenuLabel:"Disable mic",permitAudioTileMenuLabel:"Allow mic",forbidVideo:"Disable camera",permitVideo:"Allow camera",forbidVideoTileMenuLabel:"Disable camera",permitVideoTileMenuLabel:"Allow camera"};var dialpad$n={placeholderText:"Enter phone number",deleteButtonAriaLabel:"Delete"};var holdButton$n={onLabel:"Resume",offLabel:"Hold",tooltipOnContent:"Resume call",tooltipOffContent:"Hold call"};var videoTile$n={participantStateRinging:"Calling...",participantReconnecting:"Reconnecting...",participantStateHold:"On hold",moreOptionsButtonAriaLabel:"More Options {displayName} {isMuted} {isHandRaised} {state} {isSpeaking}",moreOptionsParticipantMutedStateMutedAriaLabel:"muted",moreOptionsParticipantMutedStateUnmutedAriaLabel:"unmuted",moreOptionsParticipantHandRaisedAriaLabel:"Hand raised",moreOptionsParticipantIsSpeakingAriaLabel:"Speaking"};var CameraAndMicrophoneSitePermissionsRequest$n={primaryText:"Allow {appName} to use your camera and microphone",secondaryText:"This is so participants can see and hear you.",linkText:"Need help? Get troubleshooting help",primaryButtonText:"Continue without camera and microphone",ariaLabel:"Allow camera and microphone access"};var CameraSitePermissionsRequest$n={primaryText:"Allow {appName} to use your camera",secondaryText:"This is so participants can see you.",linkText:"Need help? Get troubleshooting help",primaryButtonText:"Continue without camera",ariaLabel:"Allow camera access"};var MicrophoneSitePermissionsRequest$n={primaryText:"Allow {appName} to use your microphone",secondaryText:"This is so participants can hear you.",linkText:"Need help? Get troubleshooting help",primaryButtonText:"Continue without microphone",ariaLabel:"Allow microphone access"};var CameraAndMicrophoneSitePermissionsCheck$n={primaryText:"Checking for camera and microphone access",secondaryText:"Allow access if prompted. This is so participants can see and hear you.",linkText:"Need help? Get troubleshooting help",primaryButtonText:"Continue without camera and microphone",ariaLabel:"Checking for camera and microphone access. Allow access if prompted."};var CameraSitePermissionsCheck$n={primaryText:"Checking for camera access",secondaryText:"Allow access if prompted. This is so participants can see you.",linkText:"Need help? Get troubleshooting help",primaryButtonText:"Continue without camera",ariaLabel:"Checking for camera access. Allow access if prompted."};var MicrophoneSitePermissionsCheck$n={primaryText:"Checking for microphone access",secondaryText:"Allow access if prompted. This is so participants can hear you.",linkText:"Need help? Get troubleshooting help",primaryButtonText:"Continue without microphone",ariaLabel:"Checking for microphone access. Allow access if prompted."};var CameraAndMicrophoneSitePermissionsDenied$n={primaryText:"Unable to access camera and microphone",secondaryText:"Click the lock icon in the address bar to grant microphone permissions to this webpage. A page refresh may be required.",primaryButtonText:"Continue without camera and microphone",linkText:"Need help? Get troubleshooting help"};var CameraAndMicrophoneSitePermissionsDeniedSafari$n={primaryText:"Unable to access camera and microphone",secondaryText:"Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",primaryButtonText:"Continue without camera and microphone",linkText:"Need help? Get troubleshooting help"};var CameraSitePermissionsDenied$n={primaryText:"Unable to access camera",secondaryText:"Click the lock icon in the address bar to grant camera permissions to this webpage. A page refresh may be required.",primaryButtonText:"Continue without camera",linkText:"Need help? Get troubleshooting help"};var MicrophoneSitePermissionsDenied$n={primaryText:"Unable to access microphone",secondaryText:"Click the lock icon in the address bar to grant microphone permissions to this webpage. A page refresh may be required.",primaryButtonText:"Continue without microphone",linkText:"Need help? Get troubleshooting help"};var CameraSitePermissionsDeniedSafari$n={primaryText:"Unable to access camera",secondaryText:"Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",primaryButtonText:"Continue without camera",linkText:"Need help? Get troubleshooting help"};var MicrophoneSitePermissionsDeniedSafari$n={primaryText:"Unable to access microphone",secondaryText:"Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",primaryButtonText:"Continue without microphone",linkText:"Need help? Get troubleshooting help"};var UnsupportedBrowser$o={primaryText:"Browser not supported",secondaryText:"Please join this call using a compatible browser.",moreHelpLinkText:"See compatibility requirements"};var UnsupportedBrowserVersion$o={primaryText:"Browser update needed",secondaryText:"To ensure the best call possible, please update your browser and then try joining the call again.",moreHelpLinkText:"See compatibility requirements",continueAnywayButtonText:"Start call without updating"};var UnsupportedOperatingSystem$o={primaryText:"Operating system not supported",secondaryText:"Please join this call using a device with a compatible operating system.",moreHelpLinkText:"See compatibility requirements"};var BrowserPermissionDenied$n={primaryText:"Can't use your camera or microphone",secondaryText:"Your browser might not have access to your camera or microphone. To fix this, open System Preferences.",primaryButtonText:"Try again",linkText:"Need help? Get troubleshooting help"};var BrowserPermissionDeniedIOS$n={primaryText:"Allow microphone access to continue",secondaryText:"So other participants can hear you.",primaryButtonText:"Try again",imageAltText:"Microphone and camera device permission location for iOS",linkText:"Need help? Get troubleshooting help",step1Text:"Go to the Settings app",step2Text:"Scroll down to settings for this browser",step3Text:"Turn on Microphone (Camera optional)",step4Text:"Try joining the call again",step1DigitText:"1",step2DigitText:"2",step3DigitText:"3",step4DigitText:"4"};var verticalGallery$n={leftNavButtonAriaLabel:"previous page {current} of {total}",rightNavButtonAriaLabel:"next page {current} of {total}"};var meetingConferencePhoneInfo$n={meetingConferencePhoneInfoModalTitle:"Join call from your phone",meetingConferencePhoneInfoModalDialIn:"Dial number",meetingConferencePhoneInfoModalMeetingId:"Enter meeting ID",meetingConferencePhoneInfoModalWait:"Wait to be admitted by organizer",meetingConferencePhoneInfoModalNoPhoneAvailable:"No phone available",meetingConferencePhoneInfoModalTollGeoData:"{country}, {city}",meetingConferencePhoneInfoModalTollFree:"(Toll-free)",meetingConferencePhoneInfoModalToll:"(Toll)"};var IncomingCallNotification$o={incomingCallNotificationPlaceholderId:"Unknown User",incomingCallNotificationPlaceholderAlert:"{callerName} is calling",incomingCallNoticicationAcceptWithAudioAriaLabel:"Accept with audio",incomingCallNoticicationAcceptWithVideoAriaLabel:"Accept with video",incomingCallNoticicationRejectAriaLabel:"Reject",incomingCallNotificationAcceptButtonLabel:"Accept",incomingCallNotificationRejectButtonLabel:"Decline",incomingCallNotificationAccceptWithVideoButtonLabel:"Accept with Video",incomingCallNotificationDismissButtonAriaLabel:"Dismiss"};var rttDisclosureBanner$n={bannerTitle:"RTT",bannerContent:"RTT (real-time text) is enabled for all participants for the entire duration of the meeting.",bannerLinkLabel:"Learn more"};var en_US$1 = {participantItem:participantItem$n,ParticipantList:ParticipantList$o,typingIndicator:typingIndicator$n,sendBox:sendBox$n,richTextSendBox:richTextSendBox$n,rttModal:rttModal$n,captionsBanner:captionsBanner,mentionPopover:mentionPopover$n,imageOverlay:imageOverlay$n,messageStatusIndicator:messageStatusIndicator$n,endCallButton:endCallButton$n,cameraButton:cameraButton$n,microphoneButton:microphoneButton$n,devicesButton:devicesButton$n,participantsButton:participantsButton$n,screenShareButton:screenShareButton$n,raiseHandButton:raiseHandButton$n,reactionButton:reactionButton$n,rtt:rtt$n,captionsSettingsModal:captionsSettingsModal,spokenLanguages:spokenLanguages,captionLanguages:captionLanguages,startCaptionsButton:startCaptionsButton,messageThread:messageThread$n,errorBar:errorBar$n,notificationStack:notificationStack$n,videoGallery:videoGallery$n,dialpad:dialpad$n,holdButton:holdButton$n,videoTile:videoTile$n,CameraAndMicrophoneSitePermissionsRequest:CameraAndMicrophoneSitePermissionsRequest$n,CameraSitePermissionsRequest:CameraSitePermissionsRequest$n,MicrophoneSitePermissionsRequest:MicrophoneSitePermissionsRequest$n,CameraAndMicrophoneSitePermissionsCheck:CameraAndMicrophoneSitePermissionsCheck$n,CameraSitePermissionsCheck:CameraSitePermissionsCheck$n,MicrophoneSitePermissionsCheck:MicrophoneSitePermissionsCheck$n,CameraAndMicrophoneSitePermissionsDenied:CameraAndMicrophoneSitePermissionsDenied$n,CameraAndMicrophoneSitePermissionsDeniedSafari:CameraAndMicrophoneSitePermissionsDeniedSafari$n,CameraSitePermissionsDenied:CameraSitePermissionsDenied$n,MicrophoneSitePermissionsDenied:MicrophoneSitePermissionsDenied$n,CameraSitePermissionsDeniedSafari:CameraSitePermissionsDeniedSafari$n,MicrophoneSitePermissionsDeniedSafari:MicrophoneSitePermissionsDeniedSafari$n,UnsupportedBrowser:UnsupportedBrowser$o,UnsupportedBrowserVersion:UnsupportedBrowserVersion$o,UnsupportedOperatingSystem:UnsupportedOperatingSystem$o,BrowserPermissionDenied:BrowserPermissionDenied$n,BrowserPermissionDeniedIOS:BrowserPermissionDeniedIOS$n,verticalGallery:verticalGallery$n,meetingConferencePhoneInfo:meetingConferencePhoneInfo$n,IncomingCallNotification:IncomingCallNotification$o,rttDisclosureBanner:rttDisclosureBanner$n};
|
7293
7293
|
|
7294
7294
|
// Copyright (c) Microsoft Corporation.
|
7295
7295
|
// Licensed under the MIT License.
|
@@ -9784,7 +9784,7 @@ const _MentionPopover = (props) => {
|
|
9784
9784
|
|
9785
9785
|
// Copyright (c) Microsoft Corporation.
|
9786
9786
|
// Licensed under the MIT License.
|
9787
|
-
var __awaiter$
|
9787
|
+
var __awaiter$P = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
9788
9788
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
9789
9789
|
return new (P || (P = Promise))(function (resolve, reject) {
|
9790
9790
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -9970,7 +9970,7 @@ const TextFieldWithMention = (props) => {
|
|
9970
9970
|
onSuggestionSelected,
|
9971
9971
|
updateMentionSuggestions
|
9972
9972
|
]);
|
9973
|
-
const debouncedQueryUpdate = useDebounce.useDebouncedCallback((query) => __awaiter$
|
9973
|
+
const debouncedQueryUpdate = useDebounce.useDebouncedCallback((query) => __awaiter$P(void 0, void 0, void 0, function* () {
|
9974
9974
|
var _a;
|
9975
9975
|
let suggestions = (_a = (yield (mentionLookupOptions === null || mentionLookupOptions === void 0 ? void 0 : mentionLookupOptions.onQueryUpdated(query)))) !== null && _a !== void 0 ? _a : [];
|
9976
9976
|
suggestions = suggestions.filter((suggestion) => suggestion.displayText.trim() !== '');
|
@@ -10147,7 +10147,7 @@ const TextFieldWithMention = (props) => {
|
|
10147
10147
|
});
|
10148
10148
|
}
|
10149
10149
|
}, [updateSelectionIndexesWithMentionIfNeeded, setSelectionStartValue, setSelectionEndValue]);
|
10150
|
-
const handleOnChange = React.useCallback((_b) => __awaiter$
|
10150
|
+
const handleOnChange = React.useCallback((_b) => __awaiter$P(void 0, [_b], void 0, function* ({ currentSelectionEnd, currentSelectionStart, currentTriggerStartIndex, event, htmlTextValue, inputTextValue, previousSelectionEnd, previousSelectionStart, tagsValue, updatedValue }) {
|
10151
10151
|
var _c;
|
10152
10152
|
debouncedQueryUpdate.cancel();
|
10153
10153
|
if (event.currentTarget === null) {
|
@@ -10699,7 +10699,7 @@ const ATTACHMENT_CARD_MIN_PROGRESS = 0.05;
|
|
10699
10699
|
|
10700
10700
|
// Copyright (c) Microsoft Corporation.
|
10701
10701
|
// Licensed under the MIT License.
|
10702
|
-
var __awaiter$
|
10702
|
+
var __awaiter$O = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
10703
10703
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
10704
10704
|
return new (P || (P = Promise))(function (resolve, reject) {
|
10705
10705
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -10788,7 +10788,7 @@ const MappedMenuItems = (menuActions, attachment, handleOnClickError) => {
|
|
10788
10788
|
React.createElement(reactComponents.MenuTrigger, null,
|
10789
10789
|
React.createElement(reactComponents.ToolbarButton, { "aria-label": localeStrings.attachmentMoreMenu, role: "button", icon: React.createElement(react.Icon, { iconName: "AttachmentMoreMenu" }) }))),
|
10790
10790
|
React.createElement(reactComponents.MenuPopover, null,
|
10791
|
-
React.createElement(reactComponents.MenuList, null, menuActions.map((menuItem, index) => (React.createElement(reactComponents.MenuItem, { "aria-label": menuItem.name, key: index, icon: menuItem.icon, onClick: () => __awaiter$
|
10791
|
+
React.createElement(reactComponents.MenuList, null, menuActions.map((menuItem, index) => (React.createElement(reactComponents.MenuItem, { "aria-label": menuItem.name, key: index, icon: menuItem.icon, onClick: () => __awaiter$O(void 0, void 0, void 0, function* () {
|
10792
10792
|
try {
|
10793
10793
|
yield menuItem.onClick(attachment);
|
10794
10794
|
}
|
@@ -10923,7 +10923,7 @@ const _AttachmentUploadCards = (props) => {
|
|
10923
10923
|
|
10924
10924
|
// Copyright (c) Microsoft Corporation.
|
10925
10925
|
// Licensed under the MIT License.
|
10926
|
-
var __awaiter$
|
10926
|
+
var __awaiter$N = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
10927
10927
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
10928
10928
|
return new (P || (P = Promise))(function (resolve, reject) {
|
10929
10929
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -10972,7 +10972,7 @@ const hasInlineImageContent = (content) => {
|
|
10972
10972
|
*
|
10973
10973
|
* @returns The updated message content.
|
10974
10974
|
*/
|
10975
|
-
const updateStylesOfInlineImages = (message, initialInlineImages) => __awaiter$
|
10975
|
+
const updateStylesOfInlineImages = (message, initialInlineImages) => __awaiter$N(void 0, void 0, void 0, function* () {
|
10976
10976
|
if (message === '') {
|
10977
10977
|
return message;
|
10978
10978
|
}
|
@@ -11064,7 +11064,7 @@ const toAttachmentMetadata = (attachmentsWithProgress) => {
|
|
11064
11064
|
/**
|
11065
11065
|
* @internal
|
11066
11066
|
*/
|
11067
|
-
const modifyInlineImagesInContentString = (content, initialInlineImages, onCompleted) => __awaiter$
|
11067
|
+
const modifyInlineImagesInContentString = (content, initialInlineImages, onCompleted) => __awaiter$N(void 0, void 0, void 0, function* () {
|
11068
11068
|
let newContent = content;
|
11069
11069
|
/* @conditional-compile-remove(rich-text-editor-image-upload) */
|
11070
11070
|
try {
|
@@ -11867,6 +11867,7 @@ const ImageOverlay = (props) => {
|
|
11867
11867
|
} }))));
|
11868
11868
|
};
|
11869
11869
|
return (React.createElement(react.Modal, { titleAriaId: title, isOpen: isOpen, onDismiss: onDismiss, overlay: { styles: Object.assign({}, overlayStyles$1(overlayTheme)) }, styles: { main: focusTrapZoneStyle, scrollableContent: scrollableContentStyle }, isDarkOverlay: true },
|
11870
|
+
React.createElement(Announcer$1, { ariaLive: 'polite', announcementString: localeStrings.overlayVisibleMessage }),
|
11870
11871
|
React.createElement(FluentThemeProvider, { fluentTheme: overlayTheme, rootStyle: themeProviderRootStyle },
|
11871
11872
|
renderHeaderBar(),
|
11872
11873
|
renderBodyWithLightDismiss())));
|
@@ -12343,7 +12344,7 @@ const removeSingleLocalBlob = (currentLocalBlobMap, imageId) => {
|
|
12343
12344
|
}
|
12344
12345
|
};
|
12345
12346
|
|
12346
|
-
var __awaiter$
|
12347
|
+
var __awaiter$M = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
12347
12348
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
12348
12349
|
return new (P || (P = Promise))(function (resolve, reject) {
|
12349
12350
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -12398,7 +12399,7 @@ class CopyPastePlugin {
|
|
12398
12399
|
onPluginEvent(event) {
|
12399
12400
|
/* @conditional-compile-remove(rich-text-editor-image-upload) */
|
12400
12401
|
if (event.eventType === PluginEventType.BeforeCutCopy) {
|
12401
|
-
event.clonedRoot.querySelectorAll('img').forEach((image) => __awaiter$
|
12402
|
+
event.clonedRoot.querySelectorAll('img').forEach((image) => __awaiter$M(this, void 0, void 0, function* () {
|
12402
12403
|
if (image.src.startsWith('blob:')) {
|
12403
12404
|
const base64Data = this.imageBase64DataMap[image.id];
|
12404
12405
|
image.src = base64Data || image.src;
|
@@ -16084,7 +16085,7 @@ class _ErrorBoundary extends React.Component {
|
|
16084
16085
|
// Copyright (c) Microsoft Corporation.
|
16085
16086
|
// Licensed under the MIT License.
|
16086
16087
|
/* @conditional-compile-remove(rich-text-editor) */
|
16087
|
-
const ChatMessageComponentAsRichTextEditBox = React.lazy(() => Promise.resolve().then(function () { return require('./ChatMessageComponentAsRichTextEditBox-
|
16088
|
+
const ChatMessageComponentAsRichTextEditBox = React.lazy(() => Promise.resolve().then(function () { return require('./ChatMessageComponentAsRichTextEditBox-BgVWz6LK.js'); }));
|
16088
16089
|
/**
|
16089
16090
|
* @private
|
16090
16091
|
* Use this function to load RoosterJS dependencies early in the lifecycle.
|
@@ -16092,7 +16093,7 @@ const ChatMessageComponentAsRichTextEditBox = React.lazy(() => Promise.resolve()
|
|
16092
16093
|
*
|
16093
16094
|
* @conditional-compile-remove(rich-text-editor)
|
16094
16095
|
*/
|
16095
|
-
const loadChatMessageComponentAsRichTextEditBox = () => Promise.resolve().then(function () { return require('./ChatMessageComponentAsRichTextEditBox-
|
16096
|
+
const loadChatMessageComponentAsRichTextEditBox = () => Promise.resolve().then(function () { return require('./ChatMessageComponentAsRichTextEditBox-BgVWz6LK.js'); });
|
16096
16097
|
/**
|
16097
16098
|
* @private
|
16098
16099
|
*/
|
@@ -16111,7 +16112,7 @@ const ChatMessageComponentAsEditBoxPicker = (props) => {
|
|
16111
16112
|
|
16112
16113
|
// Copyright (c) Microsoft Corporation.
|
16113
16114
|
// Licensed under the MIT License.
|
16114
|
-
var __awaiter$
|
16115
|
+
var __awaiter$L = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
16115
16116
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
16116
16117
|
return new (P || (P = Promise))(function (resolve, reject) {
|
16117
16118
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -16167,7 +16168,7 @@ const ChatMyMessageComponent = (props) => {
|
|
16167
16168
|
function (text,
|
16168
16169
|
/* @conditional-compile-remove(file-sharing-acs) */
|
16169
16170
|
attachments) {
|
16170
|
-
return __awaiter$
|
16171
|
+
return __awaiter$L(this, void 0, void 0, function* () {
|
16171
16172
|
/* @conditional-compile-remove(file-sharing-acs) */
|
16172
16173
|
if (`attachments` in message && attachments) {
|
16173
16174
|
message.attachments = attachments;
|
@@ -16564,7 +16565,7 @@ const fluentChatComponent = (props) => {
|
|
16564
16565
|
|
16565
16566
|
// Copyright (c) Microsoft Corporation.
|
16566
16567
|
// Licensed under the MIT License.
|
16567
|
-
var __awaiter$
|
16568
|
+
var __awaiter$K = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
16568
16569
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
16569
16570
|
return new (P || (P = Promise))(function (resolve, reject) {
|
16570
16571
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -16760,7 +16761,7 @@ const MessageThreadWrapper = (props) => {
|
|
16760
16761
|
loadChatMessageComponentAsRichTextEditBox();
|
16761
16762
|
}
|
16762
16763
|
}, [richTextEditorOptions]);
|
16763
|
-
const onDeleteMessageCallback = React.useCallback((messageId) => __awaiter$
|
16764
|
+
const onDeleteMessageCallback = React.useCallback((messageId) => __awaiter$K(void 0, void 0, void 0, function* () {
|
16764
16765
|
if (!onDeleteMessage) {
|
16765
16766
|
return;
|
16766
16767
|
}
|
@@ -16841,7 +16842,7 @@ const MessageThreadWrapper = (props) => {
|
|
16841
16842
|
*/
|
16842
16843
|
const clientHeight = (_a = chatThreadRef.current) === null || _a === void 0 ? void 0 : _a.clientHeight;
|
16843
16844
|
// we try to only send those message status if user is scrolled to the bottom.
|
16844
|
-
const sendMessageStatusIfAtBottom = React.useCallback(() => __awaiter$
|
16845
|
+
const sendMessageStatusIfAtBottom = React.useCallback(() => __awaiter$K(void 0, void 0, void 0, function* () {
|
16845
16846
|
if (!isAtBottomOfScrollRef.current ||
|
16846
16847
|
!document.hasFocus() ||
|
16847
16848
|
!messagesRef.current ||
|
@@ -16892,7 +16893,7 @@ const MessageThreadWrapper = (props) => {
|
|
16892
16893
|
setIsAtBottomOfScrollRef(atBottom);
|
16893
16894
|
}, [scrollToBottom, sendMessageStatusIfAtBottom]);
|
16894
16895
|
// Infinite scrolling + threadInitialize function
|
16895
|
-
const fetchNewMessageWhenAtTop = React.useCallback(() => __awaiter$
|
16896
|
+
const fetchNewMessageWhenAtTop = React.useCallback(() => __awaiter$K(void 0, void 0, void 0, function* () {
|
16896
16897
|
if (!isLoadingChatMessagesRef.current) {
|
16897
16898
|
if (onLoadPreviousChatMessages) {
|
16898
16899
|
isLoadingChatMessagesRef.current = true;
|
@@ -20016,7 +20017,7 @@ const localVideoTileContainerStyles = {
|
|
20016
20017
|
|
20017
20018
|
// Copyright (c) Microsoft Corporation.
|
20018
20019
|
// Licensed under the MIT License.
|
20019
|
-
var __awaiter$
|
20020
|
+
var __awaiter$J = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
20020
20021
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
20021
20022
|
return new (P || (P = Promise))(function (resolve, reject) {
|
20022
20023
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -20033,7 +20034,7 @@ const LocalVideoCameraCycleButton = (props) => {
|
|
20033
20034
|
const { cameras, selectedCamera, onSelectCamera, label, ariaDescription, size } = props;
|
20034
20035
|
const theme = react.useTheme();
|
20035
20036
|
const [waitForCamera, setWaitForCamera] = React.useState(false);
|
20036
|
-
const onChangeCameraClick = React.useCallback((device) => __awaiter$
|
20037
|
+
const onChangeCameraClick = React.useCallback((device) => __awaiter$J(void 0, void 0, void 0, function* () {
|
20037
20038
|
// Throttle changing camera to prevent too many callbacks
|
20038
20039
|
if (onSelectCamera) {
|
20039
20040
|
setWaitForCamera(true);
|
@@ -22790,7 +22791,7 @@ const DevicesButton = (props) => {
|
|
22790
22791
|
|
22791
22792
|
// Copyright (c) Microsoft Corporation.
|
22792
22793
|
// Licensed under the MIT License.
|
22793
|
-
var __awaiter$
|
22794
|
+
var __awaiter$I = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
22794
22795
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
22795
22796
|
return new (P || (P = Promise))(function (resolve, reject) {
|
22796
22797
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -22840,7 +22841,7 @@ const CameraButton = (props) => {
|
|
22840
22841
|
setAnnouncerString(strings.tooltipVideoLoadingContent);
|
22841
22842
|
}
|
22842
22843
|
}, [setAnnouncerString, cameraOn, strings.tooltipVideoLoadingContent]);
|
22843
|
-
const onToggleClick = React.useCallback(() => __awaiter$
|
22844
|
+
const onToggleClick = React.useCallback(() => __awaiter$I(void 0, void 0, void 0, function* () {
|
22844
22845
|
// Throttle click on camera, need to await onToggleCamera then allow another click
|
22845
22846
|
if (onToggleCamera) {
|
22846
22847
|
setWaitForCamera(true);
|
@@ -22858,7 +22859,7 @@ const CameraButton = (props) => {
|
|
22858
22859
|
onVideoIsLoadingAnnouncementCallback();
|
22859
22860
|
onToggleClick();
|
22860
22861
|
}, [onVideoIsLoadingAnnouncementCallback, onToggleClick]);
|
22861
|
-
const onChangeCameraClick = React.useCallback((device) => __awaiter$
|
22862
|
+
const onChangeCameraClick = React.useCallback((device) => __awaiter$I(void 0, void 0, void 0, function* () {
|
22862
22863
|
// Throttle changing camera to prevent too many callbacks
|
22863
22864
|
if (onSelectCamera) {
|
22864
22865
|
setWaitForCamera(true);
|
@@ -23073,7 +23074,7 @@ const menupButtonPadding = {
|
|
23073
23074
|
|
23074
23075
|
// Copyright (c) Microsoft Corporation.
|
23075
23076
|
// Licensed under the MIT License.
|
23076
|
-
var __awaiter$
|
23077
|
+
var __awaiter$H = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
23077
23078
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
23078
23079
|
return new (P || (P = Promise))(function (resolve, reject) {
|
23079
23080
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -23114,7 +23115,7 @@ const MicrophoneButton = (props) => {
|
|
23114
23115
|
const toggleAnnouncerString = React.useCallback((isMicOn) => {
|
23115
23116
|
setAnnouncerString(!isMicOn ? strings.microphoneActionTurnedOffAnnouncement : strings.microphoneActionTurnedOnAnnouncement);
|
23116
23117
|
}, [strings.microphoneActionTurnedOffAnnouncement, strings.microphoneActionTurnedOnAnnouncement]);
|
23117
|
-
const onToggleClick = React.useCallback(() => __awaiter$
|
23118
|
+
const onToggleClick = React.useCallback(() => __awaiter$H(void 0, void 0, void 0, function* () {
|
23118
23119
|
if (onToggleMicrophone) {
|
23119
23120
|
try {
|
23120
23121
|
yield onToggleMicrophone();
|
@@ -23140,7 +23141,7 @@ const MicrophoneButton = (props) => {
|
|
23140
23141
|
splitButtonMenuItems.push({
|
23141
23142
|
key: 'microphoneDNSToggle',
|
23142
23143
|
onRender: () => {
|
23143
|
-
return (React.createElement(react.Stack, { onClick: () => __awaiter$
|
23144
|
+
return (React.createElement(react.Stack, { onClick: () => __awaiter$H(void 0, void 0, void 0, function* () {
|
23144
23145
|
var _a;
|
23145
23146
|
yield ((_a = props.onClickNoiseSuppression) === null || _a === void 0 ? void 0 : _a.call(props));
|
23146
23147
|
setAnnouncerString(props.isDeepNoiseSuppressionOn
|
@@ -24003,7 +24004,7 @@ const dtmfFrequencies = {
|
|
24003
24004
|
|
24004
24005
|
// Copyright (c) Microsoft Corporation.
|
24005
24006
|
// Licensed under the MIT License.
|
24006
|
-
var __awaiter$
|
24007
|
+
var __awaiter$G = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
24007
24008
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
24008
24009
|
return new (P || (P = Promise))(function (resolve, reject) {
|
24009
24010
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -24047,10 +24048,10 @@ const DialpadButton = (props) => {
|
|
24047
24048
|
const [buttonPressed, setButtonPressed] = React.useState(false);
|
24048
24049
|
const dtmfToneSound = React.useRef(new Tone(dtmfToneAudioContext, dtmfFrequencies[digit].f1, dtmfFrequencies[digit].f2));
|
24049
24050
|
const useLongPressProps = React.useMemo(() => ({
|
24050
|
-
onClick: () => __awaiter$
|
24051
|
+
onClick: () => __awaiter$G(void 0, void 0, void 0, function* () {
|
24051
24052
|
onClick(digit, index);
|
24052
24053
|
}),
|
24053
|
-
onLongPress: () => __awaiter$
|
24054
|
+
onLongPress: () => __awaiter$G(void 0, void 0, void 0, function* () {
|
24054
24055
|
onLongPress(digit, index);
|
24055
24056
|
}),
|
24056
24057
|
touchEventsOnly: longPressTrigger === 'touch'
|
@@ -25157,7 +25158,7 @@ const CaptionsBanner = (props) => {
|
|
25157
25158
|
|
25158
25159
|
// Copyright (c) Microsoft Corporation.
|
25159
25160
|
// Licensed under the MIT License.
|
25160
|
-
(window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
25161
|
+
var __awaiter$F = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
25161
25162
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
25162
25163
|
return new (P || (P = Promise))(function (resolve, reject) {
|
25163
25164
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -25166,6 +25167,47 @@ const CaptionsBanner = (props) => {
|
|
25166
25167
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
25167
25168
|
});
|
25168
25169
|
};
|
25170
|
+
/**
|
25171
|
+
* a button to start or stop captions
|
25172
|
+
*
|
25173
|
+
* Can be used with {@link ControlBar}
|
25174
|
+
*
|
25175
|
+
* @param props - properties for the start captions button.
|
25176
|
+
* @public
|
25177
|
+
*/
|
25178
|
+
const StartCaptionsButton = (props) => {
|
25179
|
+
const { onStartCaptions, onStopCaptions, onSetSpokenLanguage, currentSpokenLanguage } = props;
|
25180
|
+
const localeStrings = useLocale$1().strings.startCaptionsButton;
|
25181
|
+
const strings = Object.assign(Object.assign({}, localeStrings), props.strings);
|
25182
|
+
const onRenderStartIcon = () => {
|
25183
|
+
return React.createElement(_HighContrastAwareIcon, { disabled: props.disabled, iconName: "CaptionsIcon" });
|
25184
|
+
};
|
25185
|
+
const onRenderOffIcon = () => {
|
25186
|
+
return React.createElement(_HighContrastAwareIcon, { disabled: props.disabled, iconName: "CaptionsOffIcon" });
|
25187
|
+
};
|
25188
|
+
const options = React.useMemo(() => {
|
25189
|
+
return { spokenLanguage: currentSpokenLanguage === '' ? defaultSpokenLanguage : currentSpokenLanguage };
|
25190
|
+
}, [currentSpokenLanguage]);
|
25191
|
+
const [hasSetSpokenLanguage, setHasSetSpokenLanguage] = React.useState(false);
|
25192
|
+
const onToggleStartCaptions = React.useCallback(() => __awaiter$F(void 0, void 0, void 0, function* () {
|
25193
|
+
if (props.checked) {
|
25194
|
+
onStopCaptions();
|
25195
|
+
}
|
25196
|
+
else {
|
25197
|
+
yield onStartCaptions(options);
|
25198
|
+
}
|
25199
|
+
}), [props.checked, onStartCaptions, onStopCaptions, options]);
|
25200
|
+
React.useEffect(() => {
|
25201
|
+
if (props.checked && !hasSetSpokenLanguage) {
|
25202
|
+
// set spoken language when start captions with a spoken language specified.
|
25203
|
+
// this is to fix the bug when a second user starts captions with a new spoken language, captions bot ignore that spoken language
|
25204
|
+
onSetSpokenLanguage(options.spokenLanguage);
|
25205
|
+
// we only need to call set spoken language once when first starting captions
|
25206
|
+
setHasSetSpokenLanguage(true);
|
25207
|
+
}
|
25208
|
+
}, [props.checked, onSetSpokenLanguage, options.spokenLanguage, hasSetSpokenLanguage]);
|
25209
|
+
return (React.createElement(ControlBarButton, Object.assign({}, props, { strings: strings, onClick: onToggleStartCaptions !== null && onToggleStartCaptions !== void 0 ? onToggleStartCaptions : props.onClick, onRenderOnIcon: onRenderStartIcon, onRenderOffIcon: onRenderOffIcon })));
|
25210
|
+
};
|
25169
25211
|
|
25170
25212
|
// Copyright (c) Microsoft Corporation.
|
25171
25213
|
// Licensed under the MIT License.
|
@@ -27055,6 +27097,8 @@ const findSelector$1 = (component) => {
|
|
27055
27097
|
return captionsBannerSelector;
|
27056
27098
|
case CaptionsSettingsModal:
|
27057
27099
|
return captionSettingsSelector;
|
27100
|
+
case StartCaptionsButton:
|
27101
|
+
return startCaptionsButtonSelector;
|
27058
27102
|
}
|
27059
27103
|
return undefined;
|
27060
27104
|
};
|
@@ -30900,7 +30944,7 @@ const AttachmentDownloadErrorBar = (props) => {
|
|
30900
30944
|
/**
|
30901
30945
|
* Wrapper for RichTextSendBox component to allow us to use usePropsFor with richTextSendBox with lazy loading
|
30902
30946
|
*/
|
30903
|
-
const RichTextSendBoxWrapper = React.lazy(() => Promise.resolve().then(function () { return require('./RichTextSendBoxWrapper-
|
30947
|
+
const RichTextSendBoxWrapper = React.lazy(() => Promise.resolve().then(function () { return require('./RichTextSendBoxWrapper-D0RkwoOI.js'); }).then((module) => ({ default: module.RichTextSendBoxWrapper })));
|
30904
30948
|
/**
|
30905
30949
|
* @private
|
30906
30950
|
* Use this function to load RoosterJS dependencies early in the lifecycle.
|
@@ -30908,7 +30952,7 @@ const RichTextSendBoxWrapper = React.lazy(() => Promise.resolve().then(function
|
|
30908
30952
|
*
|
30909
30953
|
/* @conditional-compile-remove(rich-text-editor-composite-support)
|
30910
30954
|
*/
|
30911
|
-
const loadRichTextSendBox = () => Promise.resolve().then(function () { return require('./RichTextSendBoxWrapper-
|
30955
|
+
const loadRichTextSendBox = () => Promise.resolve().then(function () { return require('./RichTextSendBoxWrapper-D0RkwoOI.js'); }).then((module) => ({ default: module.RichTextSendBoxWrapper }));
|
30912
30956
|
/**
|
30913
30957
|
* @private
|
30914
30958
|
*/
|
@@ -33038,23 +33082,22 @@ var __awaiter$p = (window && window.__awaiter) || function (thisArg, _arguments,
|
|
33038
33082
|
*/
|
33039
33083
|
const CaptionsBannerMoreButton = (props) => {
|
33040
33084
|
const localeStrings = useLocale();
|
33041
|
-
const startCaptionsButtonProps =
|
33042
|
-
const startCaptionsButtonHandlers = useHandlers();
|
33085
|
+
const startCaptionsButtonProps = usePropsFor$1(StartCaptionsButton);
|
33043
33086
|
const moreButtonStrings = React.useMemo(() => ({
|
33044
33087
|
label: localeStrings.strings.call.captionsBannerMoreButtonCallingLabel,
|
33045
33088
|
tooltipOffContent: localeStrings.strings.call.captionsBannerMoreButtonTooltip
|
33046
33089
|
}), [localeStrings]);
|
33047
33090
|
const moreButtonContextualMenuItems = [];
|
33048
33091
|
const startCaptions = React.useCallback(() => __awaiter$p(void 0, void 0, void 0, function* () {
|
33049
|
-
yield
|
33092
|
+
yield startCaptionsButtonProps.onStartCaptions({
|
33050
33093
|
spokenLanguage: startCaptionsButtonProps.currentSpokenLanguage
|
33051
33094
|
});
|
33052
|
-
}), [
|
33095
|
+
}), [startCaptionsButtonProps]);
|
33053
33096
|
const stopCaptions = React.useCallback(() => __awaiter$p(void 0, void 0, void 0, function* () {
|
33054
33097
|
var _a, _b;
|
33055
|
-
yield
|
33098
|
+
yield startCaptionsButtonProps.onStopCaptions();
|
33056
33099
|
(_b = (_a = props.returnFocusRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.focus();
|
33057
|
-
}), [
|
33100
|
+
}), [startCaptionsButtonProps, props.returnFocusRef]);
|
33058
33101
|
moreButtonContextualMenuItems.push({
|
33059
33102
|
key: 'ToggleCaptionsKey',
|
33060
33103
|
text: startCaptionsButtonProps.checked
|
@@ -34100,22 +34143,39 @@ const createAnnouncementString = (direction, participants, strings) => {
|
|
34100
34143
|
* when joining
|
34101
34144
|
* @returns whether the dialer should be the gallery content or not
|
34102
34145
|
*/
|
34103
|
-
const showDtmfDialer = (callees, remoteParticipants) => {
|
34104
|
-
let
|
34105
|
-
|
34106
|
-
|
34107
|
-
|
34146
|
+
const showDtmfDialer = (callees, remoteParticipants, dialerOptions) => {
|
34147
|
+
let showDtmfDialerAuto = false;
|
34148
|
+
if (typeof dialerOptions === 'object' && 'dialerBehavior' in dialerOptions) {
|
34149
|
+
const hideDtmfDialerAlways = dialerOptions.dialerBehavior && dialerOptions.dialerBehavior === 'alwaysHide';
|
34150
|
+
const showDtmfDialerAlways = dialerOptions.dialerBehavior === 'alwaysShow';
|
34151
|
+
showDtmfDialerAuto = dialerOptions.dialerBehavior === 'autoShow' ? true : false;
|
34152
|
+
if (showDtmfDialerAlways) {
|
34153
|
+
return true;
|
34108
34154
|
}
|
34109
|
-
|
34110
|
-
|
34111
|
-
|
34112
|
-
|
34113
|
-
|
34155
|
+
if (hideDtmfDialerAlways) {
|
34156
|
+
return false;
|
34157
|
+
}
|
34158
|
+
}
|
34159
|
+
let showDtmfDialer = false;
|
34160
|
+
/**
|
34161
|
+
* We also want to check to see if the option is undefined. If this is the case we want this function
|
34162
|
+
* to fallback on the original logic so that it will also render the callControls to show and hide the dialpad
|
34163
|
+
* for the user.
|
34164
|
+
*/
|
34165
|
+
if (showDtmfDialerAuto || dialerOptions === undefined || dialerOptions === false) {
|
34166
|
+
callees === null || callees === void 0 ? void 0 : callees.forEach((callee) => {
|
34167
|
+
if (communicationCommon.isMicrosoftTeamsAppIdentifier(callee) || communicationCommon.isPhoneNumberIdentifier(callee)) {
|
34168
|
+
showDtmfDialer = true;
|
34114
34169
|
}
|
34115
34170
|
});
|
34171
|
+
if (remoteParticipants) {
|
34172
|
+
remoteParticipants.forEach((participant) => {
|
34173
|
+
if (!('phoneNumber' in participant.identifier || 'teamsAppId' in participant.identifier)) {
|
34174
|
+
showDtmfDialer = false;
|
34175
|
+
}
|
34176
|
+
});
|
34177
|
+
}
|
34116
34178
|
}
|
34117
|
-
/* @conditional-compile-remove(dtmf-dialer-on-by-default) */
|
34118
|
-
showDtmfDialer = true;
|
34119
34179
|
return showDtmfDialer;
|
34120
34180
|
};
|
34121
34181
|
|
@@ -34138,13 +34198,12 @@ const DesktopMoreButton = (props) => {
|
|
34138
34198
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
34139
34199
|
const localeStrings = useLocale();
|
34140
34200
|
const holdButtonProps = usePropsFor$1(HoldButton);
|
34141
|
-
const startCaptionsButtonProps =
|
34142
|
-
const startCaptionsButtonHandlers = useHandlers();
|
34201
|
+
const startCaptionsButtonProps = usePropsFor$1(StartCaptionsButton);
|
34143
34202
|
const startCaptions = React.useCallback(() => __awaiter$m(void 0, void 0, void 0, function* () {
|
34144
|
-
yield
|
34203
|
+
yield startCaptionsButtonProps.onStartCaptions({
|
34145
34204
|
spokenLanguage: startCaptionsButtonProps.currentSpokenLanguage
|
34146
34205
|
});
|
34147
|
-
}), [
|
34206
|
+
}), [startCaptionsButtonProps]);
|
34148
34207
|
/* @conditional-compile-remove(overflow-top-composite) */
|
34149
34208
|
const [galleryPositionTop, setGalleryPositionTop] = React.useState(false);
|
34150
34209
|
const [focusedContentOn, setFocusedContentOn] = React.useState(false);
|
@@ -34212,7 +34271,7 @@ const DesktopMoreButton = (props) => {
|
|
34212
34271
|
: localeStrings.strings.call.startCaptionsButtonTooltipOffContent,
|
34213
34272
|
onClick: () => {
|
34214
34273
|
startCaptionsButtonProps.checked
|
34215
|
-
?
|
34274
|
+
? startCaptionsButtonProps.onStopCaptions()
|
34216
34275
|
: startCaptionsButtonProps.currentSpokenLanguage !== ''
|
34217
34276
|
? startCaptions()
|
34218
34277
|
: props.onCaptionsSettingsClick && props.onCaptionsSettingsClick();
|
@@ -35260,7 +35319,8 @@ const MoreDrawer = (props) => {
|
|
35260
35319
|
const localeStrings = useLocale();
|
35261
35320
|
const holdButtonProps = usePropsFor$1(HoldButton);
|
35262
35321
|
const callees = useSelector$1(getTargetCallees);
|
35263
|
-
const
|
35322
|
+
const participants = useSelector$1(getRemoteParticipantsConnectedSelector);
|
35323
|
+
const allowDtmfDialer = showDtmfDialer(callees, participants, props.dtmfDialerOptions);
|
35264
35324
|
const [dtmfDialerChecked, setDtmfDialerChecked] = React.useState((_a = props.dtmfDialerPresent) !== null && _a !== void 0 ? _a : false);
|
35265
35325
|
const raiseHandButtonProps = usePropsFor$1(RaiseHandButton);
|
35266
35326
|
const onSpeakerItemClick = React.useCallback((_ev, itemKey) => {
|
@@ -35493,21 +35553,21 @@ const MoreDrawer = (props) => {
|
|
35493
35553
|
//Captions drawer menu
|
35494
35554
|
const supportedCaptionLanguageStrings = useLocale().strings.call.captionLanguageStrings;
|
35495
35555
|
const captionSettingsProp = usePropsFor$1(CaptionsSettingsModal);
|
35496
|
-
const
|
35556
|
+
const startCaptionsButtonProps = usePropsFor$1(StartCaptionsButton);
|
35497
35557
|
const [isSpokenLanguageDrawerOpen, setIsSpokenLanguageDrawerOpen] = React.useState(false);
|
35498
35558
|
const [isCaptionLanguageDrawerOpen, setIsCaptionLanguageDrawerOpen] = React.useState(false);
|
35499
35559
|
const [currentSpokenLanguage, setCurrentSpokenLanguage] = React.useState((_f = captionSettingsProp.currentSpokenLanguage) !== null && _f !== void 0 ? _f : 'en-us');
|
35500
35560
|
const [currentCaptionLanguage, setCurrentCaptionLanguage] = React.useState((_g = captionSettingsProp.currentCaptionLanguage) !== null && _g !== void 0 ? _g : _spokenLanguageToCaptionLanguage[currentSpokenLanguage]);
|
35501
35561
|
const onToggleChange = React.useCallback(() => __awaiter$j(void 0, void 0, void 0, function* () {
|
35502
35562
|
if (!captionSettingsProp.isCaptionsFeatureActive) {
|
35503
|
-
yield
|
35563
|
+
yield startCaptionsButtonProps.onStartCaptions({
|
35504
35564
|
spokenLanguage: currentSpokenLanguage
|
35505
35565
|
});
|
35506
35566
|
}
|
35507
35567
|
else {
|
35508
|
-
|
35568
|
+
startCaptionsButtonProps.onStopCaptions();
|
35509
35569
|
}
|
35510
|
-
}), [captionSettingsProp.isCaptionsFeatureActive,
|
35570
|
+
}), [captionSettingsProp.isCaptionsFeatureActive, startCaptionsButtonProps, currentSpokenLanguage]);
|
35511
35571
|
if (showCaptionsButton) {
|
35512
35572
|
const captionsDrawerItems = [];
|
35513
35573
|
const spokenLanguageString = supportedSpokenLanguageStrings
|
@@ -37959,7 +38019,7 @@ const CallArrangement = (props) => {
|
|
37959
38019
|
padding: verticalControlBar ? '0.25rem' : 'unset'
|
37960
38020
|
}) }, isLegacyCallControlEnabled((_f = props.callControlProps) === null || _f === void 0 ? void 0 : _f.options) ? (React.createElement(CallControls, Object.assign({}, props.callControlProps, { containerWidth: containerWidth, containerHeight: containerHeight, isMobile: props.mobileView, peopleButtonChecked: isPeoplePaneOpen, onPeopleButtonClicked: togglePeoplePane, displayVertical: verticalControlBar }))) : (React.createElement(CommonCallControlBar, Object.assign({}, props.callControlProps, { ref: controlBarRef, callControls: props.callControlProps.options, callAdapter: adapter, mobileView: props.mobileView, disableButtonsForLobbyPage: isInLobby, disableButtonsForHoldScreen: isInLocalHold, peopleButtonChecked: isPeoplePaneOpen, onPeopleButtonClicked: togglePeoplePane, onMoreButtonClicked: onMoreButtonClicked, isCaptionsSupported: (useTeamsCaptions && hasJoinedCall) || hasJoinedCall, useTeamsCaptions: useTeamsCaptions, isCaptionsOn: isCaptionsOn, onClickVideoEffects: onResolveVideoEffectDependency ? openVideoEffectsPane : undefined, displayVertical: verticalControlBar, onUserSetOverflowGalleryPositionChange: props.onUserSetOverflowGalleryPositionChange, onUserSetGalleryLayout: props.onUserSetGalleryLayoutChange, userSetGalleryLayout: props.userSetGalleryLayout, onSetDialpadPage: props.onSetDialpadPage, dtmfDialerPresent: props.dtmfDialerPresent, peopleButtonRef: peopleButtonRef, cameraButtonRef: cameraButtonRef, onStopLocalSpotlight: !hideSpotlightButtons && localParticipant.spotlight ? onStopLocalSpotlightWithPrompt : undefined, onToggleTeamsMeetingConferenceModal: toggleTeamsMeetingConferenceModal, teamsMeetingConferenceModalPresent: showTeamsMeetingConferenceModal }))))),
|
37961
38021
|
((_g = props.callControlProps) === null || _g === void 0 ? void 0 : _g.options) !== false && showDrawer && (React.createElement(react.Stack, { styles: drawerContainerStylesValue },
|
37962
|
-
React.createElement(PreparedMoreDrawer, { callControls: props.callControlProps.options, onLightDismiss: closeDrawer, onPeopleButtonClicked: onMoreDrawerPeopleClicked, disableButtonsForHoldScreen: isInLocalHold, isCaptionsSupported: (useTeamsCaptions && hasJoinedCall) || hasJoinedCall, useTeamsCaptions: useTeamsCaptions, onUserSetGalleryLayout: props.onUserSetGalleryLayoutChange, userSetGalleryLayout: props.userSetGalleryLayout, onSetDialpadPage: props.onSetDialpadPage, dtmfDialerPresent: props.dtmfDialerPresent, reactionResources: reactionResources, onClickMeetingPhoneInfo: onMeetingPhoneInfoClicked }))),
|
38022
|
+
React.createElement(PreparedMoreDrawer, { callControls: props.callControlProps.options, onLightDismiss: closeDrawer, onPeopleButtonClicked: onMoreDrawerPeopleClicked, disableButtonsForHoldScreen: isInLocalHold, isCaptionsSupported: (useTeamsCaptions && hasJoinedCall) || hasJoinedCall, useTeamsCaptions: useTeamsCaptions, onUserSetGalleryLayout: props.onUserSetGalleryLayoutChange, userSetGalleryLayout: props.userSetGalleryLayout, onSetDialpadPage: props.onSetDialpadPage, dtmfDialerPresent: props.dtmfDialerPresent, dtmfDialerOptions: props.dtmfDialerOptions, reactionResources: reactionResources, onClickMeetingPhoneInfo: onMeetingPhoneInfoClicked }))),
|
37963
38023
|
React.createElement(react.Stack, { horizontal: true, grow: true },
|
37964
38024
|
React.createElement(react.Stack.Item, { style: callCompositeContainerCSS },
|
37965
38025
|
React.createElement(react.Stack.Item, { styles: callGalleryStyles, grow: true },
|
@@ -38459,7 +38519,7 @@ const DtmfDialpadPage = (props) => {
|
|
38459
38519
|
*/
|
38460
38520
|
const CallPage = (props) => {
|
38461
38521
|
var _a, _b, _c, _d;
|
38462
|
-
const { callInvitationURL, onFetchAvatarPersonaData, onFetchParticipantMenuItems, options, mobileView, galleryLayout = 'floatingLocalVideo', onUserSetGalleryLayoutChange, userSetOverflowGalleryPosition = 'Responsive', onSetUserSetOverflowGalleryPosition, onCloseChatPane, pinnedParticipants = [], setPinnedParticipants, compositeAudioContext, disableAutoShowDtmfDialer =
|
38522
|
+
const { callInvitationURL, onFetchAvatarPersonaData, onFetchParticipantMenuItems, options, mobileView, galleryLayout = 'floatingLocalVideo', onUserSetGalleryLayoutChange, userSetOverflowGalleryPosition = 'Responsive', onSetUserSetOverflowGalleryPosition, onCloseChatPane, pinnedParticipants = [], setPinnedParticipants, compositeAudioContext, disableAutoShowDtmfDialer = { dialerBehavior: 'autoShow' }, latestNotifications, onDismissNotification } = props;
|
38463
38523
|
// To use useProps to get these states, we need to create another file wrapping Call,
|
38464
38524
|
// It seems unnecessary in this case, so we get the updated states using this approach.
|
38465
38525
|
const { callStatus } = useSelector$1(callStatusSelector);
|
@@ -38471,8 +38531,8 @@ const CallPage = (props) => {
|
|
38471
38531
|
const networkReconnectTileProps = useSelector$1(networkReconnectTileSelector);
|
38472
38532
|
const remoteParticipantsConnected = useSelector$1(getRemoteParticipantsConnectedSelector);
|
38473
38533
|
const callees = useSelector$1(getTargetCallees);
|
38474
|
-
const renderDtmfDialerFromStart = showDtmfDialer(callees, remoteParticipantsConnected);
|
38475
|
-
const [dtmfDialerPresent, setDtmfDialerPresent] = React.useState(renderDtmfDialerFromStart
|
38534
|
+
const renderDtmfDialerFromStart = showDtmfDialer(callees, remoteParticipantsConnected, disableAutoShowDtmfDialer);
|
38535
|
+
const [dtmfDialerPresent, setDtmfDialerPresent] = React.useState(renderDtmfDialerFromStart);
|
38476
38536
|
const strings = useLocale().strings.call;
|
38477
38537
|
const pinnedParticipantsChecked = React.useMemo(() => pinnedParticipants.filter((pinnedParticipant) => remoteParticipantsConnected.find((remoteParticipant) => toFlatCommunicationIdentifier(remoteParticipant.identifier) === pinnedParticipant)), [pinnedParticipants, remoteParticipantsConnected]);
|
38478
38538
|
// Reduce the controls shown when mobile view is enabled.
|
@@ -38497,7 +38557,7 @@ const CallPage = (props) => {
|
|
38497
38557
|
increaseFlyoutItemSize: mobileView
|
38498
38558
|
}, onFetchAvatarPersonaData: onFetchAvatarPersonaData, mobileView: mobileView, modalLayerHostId: props.modalLayerHostId, onRenderGalleryContent: () => _isInCall(callStatus) ? (isNetworkHealthy(networkReconnectTileProps.networkReconnectValue) ? (onRenderGalleryContentTrampoline()) : (React.createElement(NetworkReconnectTile, Object.assign({}, networkReconnectTileProps, { isMobile: mobileView })))) : (React.createElement(React.Fragment, null)), updateSidePaneRenderer: props.updateSidePaneRenderer, mobileChatTabHeader: props.mobileChatTabHeader, onCloseChatPane: onCloseChatPane, dataUiId: 'call-page', latestErrors: props.latestErrors, latestNotifications: latestNotifications, onDismissError: props.onDismissError, onDismissNotification: onDismissNotification, onUserSetOverflowGalleryPositionChange: onSetUserSetOverflowGalleryPosition, onUserSetGalleryLayoutChange: onUserSetGalleryLayoutChange, userSetGalleryLayout: galleryLayout, capabilitiesChangedNotificationBarProps: props.capabilitiesChangedNotificationBarProps, onSetDialpadPage: () => setDtmfDialerPresent(!dtmfDialerPresent), dtmfDialerPresent: dtmfDialerPresent, setIsPromptOpen: setIsPromptOpen, setPromptProps: setPromptProps, hideSpotlightButtons: (_b = options === null || options === void 0 ? void 0 : options.spotlight) === null || _b === void 0 ? void 0 : _b.hideSpotlightButtons, pinnedParticipants: pinnedParticipantsChecked, setPinnedParticipants: setPinnedParticipants,
|
38499
38559
|
/* @conditional-compile-remove(call-readiness) */
|
38500
|
-
doNotShowCameraAccessNotifications: ((_d = (_c = props.options) === null || _c === void 0 ? void 0 : _c.deviceChecks) === null || _d === void 0 ? void 0 : _d.camera) === 'doNotPrompt', captionsOptions: options === null || options === void 0 ? void 0 : options.captionsBanner }),
|
38560
|
+
doNotShowCameraAccessNotifications: ((_d = (_c = props.options) === null || _c === void 0 ? void 0 : _c.deviceChecks) === null || _d === void 0 ? void 0 : _d.camera) === 'doNotPrompt', captionsOptions: options === null || options === void 0 ? void 0 : options.captionsBanner, dtmfDialerOptions: disableAutoShowDtmfDialer }),
|
38501
38561
|
React.createElement(Prompt, Object.assign({ isOpen: isPromptOpen, onDismiss: () => setIsPromptOpen(false) }, promptProps))));
|
38502
38562
|
};
|
38503
38563
|
/**
|
@@ -45502,6 +45562,7 @@ exports.RichTextSendBox = RichTextSendBox;
|
|
45502
45562
|
exports.RichTextSendBoxErrors = RichTextSendBoxErrors;
|
45503
45563
|
exports.ScreenShareButton = ScreenShareButton;
|
45504
45564
|
exports.SendBox = SendBox;
|
45565
|
+
exports.StartCaptionsButton = StartCaptionsButton;
|
45505
45566
|
exports.StreamMedia = StreamMedia;
|
45506
45567
|
exports.TypingIndicator = TypingIndicator;
|
45507
45568
|
exports.UnsupportedBrowser = UnsupportedBrowser$n;
|
@@ -45573,4 +45634,4 @@ exports.useTeamsCall = useTeamsCall;
|
|
45573
45634
|
exports.useTeamsCallAdapter = useTeamsCallAdapter;
|
45574
45635
|
exports.useTeamsCallAgent = useTeamsCallAgent;
|
45575
45636
|
exports.useTheme = useTheme;
|
45576
|
-
//# sourceMappingURL=index-
|
45637
|
+
//# sourceMappingURL=index-CpnFA8og.js.map
|