@azure/communication-react 1.13.0-alpha-202402060012 → 1.13.0-alpha-202402080012

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/communication-react.d.ts +69 -10
  2. package/dist/dist-cjs/communication-react/index.js +414 -272
  3. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  4. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  5. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  6. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +2 -1
  7. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
  8. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
  9. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +6 -4
  10. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
  11. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.d.ts +7 -7
  12. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +1 -1
  13. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
  14. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +4 -4
  15. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
  16. package/dist/dist-esm/react-components/src/theming/icons.js +3 -1
  17. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  18. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +1 -1
  19. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  20. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +5 -0
  21. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  22. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +2 -1
  23. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +2 -2
  24. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  25. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +3 -2
  26. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  27. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts +3 -0
  28. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +12 -4
  29. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  30. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts +3 -0
  31. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +15 -3
  32. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  33. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Prompt.d.ts +73 -0
  34. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Prompt.js +41 -0
  35. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Prompt.js.map +1 -0
  36. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +1 -1
  37. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  38. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +1 -0
  39. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  40. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +46 -23
  41. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
  42. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.d.ts +9 -0
  43. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.js +81 -0
  44. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.js.map +1 -0
  45. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +2 -1
  46. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +2 -2
  47. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  48. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +3 -2
  49. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  50. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +2 -1
  51. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +1 -1
  52. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  53. package/dist/dist-esm/react-composites/src/composites/common/icons.js +3 -1
  54. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  55. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +14 -0
  56. package/package.json +1 -1
@@ -173,7 +173,7 @@ function getDefaultExportFromCjs (x) {
173
173
  // Copyright (c) Microsoft Corporation.
174
174
  // Licensed under the MIT License.
175
175
  // GENERATED FILE. DO NOT EDIT MANUALLY.
176
- var telemetryVersion = '1.13.0-alpha-202402060012';
176
+ var telemetryVersion = '1.13.0-alpha-202402080012';
177
177
 
178
178
 
179
179
  var telemetryVersion$1 = /*@__PURE__*/getDefaultExportFromCjs(telemetryVersion);
@@ -525,7 +525,7 @@ const getSupportedSpokenLanguages = (state, props) => {
525
525
 
526
526
  // Copyright (c) Microsoft Corporation.
527
527
  // Licensed under the MIT License.
528
- var __awaiter$P = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
528
+ var __awaiter$Q = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
529
529
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
530
530
  return new (P || (P = Promise))(function (resolve, reject) {
531
531
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -564,7 +564,7 @@ const _isPreviewOn = (deviceManager) => {
564
564
  *
565
565
  * @private
566
566
  */
567
- const disposeAllLocalPreviewViews = (callClient) => __awaiter$P(void 0, void 0, void 0, function* () {
567
+ const disposeAllLocalPreviewViews = (callClient) => __awaiter$Q(void 0, void 0, void 0, function* () {
568
568
  const unparentedViews = callClient.getState().deviceManager.unparentedViews;
569
569
  for (const view of unparentedViews) {
570
570
  yield callClient.disposeView(undefined, undefined, view);
@@ -772,7 +772,7 @@ const holdButtonSelector = reselect__namespace.createSelector([getCallState], (c
772
772
 
773
773
  // Copyright (c) Microsoft Corporation.
774
774
  // Licensed under the MIT License.
775
- var __awaiter$O = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
775
+ var __awaiter$P = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
776
776
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
777
777
  return new (P || (P = Promise))(function (resolve, reject) {
778
778
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -793,7 +793,7 @@ const areStreamsEqual = (prevStream, newStream) => {
793
793
  * @private
794
794
  */
795
795
  const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager, call, options) => {
796
- const onStartLocalVideo = () => __awaiter$O(void 0, void 0, void 0, function* () {
796
+ const onStartLocalVideo = () => __awaiter$P(void 0, void 0, void 0, function* () {
797
797
  // Before the call object creates a stream, dispose of any local preview streams.
798
798
  // @TODO: is there any way to parent the unparented view to the call object instead
799
799
  // of disposing and creating a new stream?
@@ -813,7 +813,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
813
813
  yield call.startVideo(stream);
814
814
  }
815
815
  });
816
- const onStopLocalVideo = (stream) => __awaiter$O(void 0, void 0, void 0, function* () {
816
+ const onStopLocalVideo = (stream) => __awaiter$P(void 0, void 0, void 0, function* () {
817
817
  const callId = call === null || call === void 0 ? void 0 : call.id;
818
818
  if (!callId) {
819
819
  return;
@@ -822,7 +822,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
822
822
  yield call.stopVideo(stream);
823
823
  }
824
824
  });
825
- const onToggleCamera = (options) => __awaiter$O(void 0, void 0, void 0, function* () {
825
+ const onToggleCamera = (options) => __awaiter$P(void 0, void 0, void 0, function* () {
826
826
  const previewOn = _isPreviewOn(callClient.getState().deviceManager);
827
827
  // the disposal of the unparented views is to workaround: https://skype.visualstudio.com/SPOOL/_workitems/edit/3030558.
828
828
  // The root cause of the issue is caused by never transitioning the unparented view to the
@@ -879,19 +879,19 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
879
879
  }
880
880
  }
881
881
  });
882
- const onSelectMicrophone = (device) => __awaiter$O(void 0, void 0, void 0, function* () {
882
+ const onSelectMicrophone = (device) => __awaiter$P(void 0, void 0, void 0, function* () {
883
883
  if (!deviceManager) {
884
884
  return;
885
885
  }
886
886
  return deviceManager.selectMicrophone(device);
887
887
  });
888
- const onSelectSpeaker = (device) => __awaiter$O(void 0, void 0, void 0, function* () {
888
+ const onSelectSpeaker = (device) => __awaiter$P(void 0, void 0, void 0, function* () {
889
889
  if (!deviceManager) {
890
890
  return;
891
891
  }
892
892
  return deviceManager.selectSpeaker(device);
893
893
  });
894
- const onSelectCamera = (device, options) => __awaiter$O(void 0, void 0, void 0, function* () {
894
+ const onSelectCamera = (device, options) => __awaiter$P(void 0, void 0, void 0, function* () {
895
895
  if (!deviceManager) {
896
896
  return;
897
897
  }
@@ -922,11 +922,11 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
922
922
  }
923
923
  });
924
924
  /* @conditional-compile-remove(raise-hand) */
925
- const onRaiseHand = () => __awaiter$O(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()); });
925
+ const onRaiseHand = () => __awaiter$P(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()); });
926
926
  /* @conditional-compile-remove(raise-hand) */
927
- const onLowerHand = () => __awaiter$O(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()); });
927
+ const onLowerHand = () => __awaiter$P(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()); });
928
928
  /* @conditional-compile-remove(raise-hand) */
929
- const onToggleRaiseHand = () => __awaiter$O(void 0, void 0, void 0, function* () {
929
+ const onToggleRaiseHand = () => __awaiter$P(void 0, void 0, void 0, function* () {
930
930
  const raiseHandFeature = call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.RaiseHand);
931
931
  const localUserId = callClient.getState().userId;
932
932
  const isLocalRaisedHand = raiseHandFeature === null || raiseHandFeature === void 0 ? void 0 : raiseHandFeature.getRaisedHands().find((publishedState) => toFlatCommunicationIdentifier(publishedState.identifier) === toFlatCommunicationIdentifier(localUserId));
@@ -938,7 +938,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
938
938
  }
939
939
  });
940
940
  /* @conditional-compile-remove(reaction) */
941
- const onReactionClicked = (reaction) => __awaiter$O(void 0, void 0, void 0, function* () {
941
+ const onReactionClicked = (reaction) => __awaiter$P(void 0, void 0, void 0, function* () {
942
942
  var _c;
943
943
  if (reaction === 'like' ||
944
944
  reaction === 'applause' ||
@@ -952,19 +952,19 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
952
952
  }
953
953
  return;
954
954
  });
955
- const onToggleMicrophone = () => __awaiter$O(void 0, void 0, void 0, function* () {
955
+ const onToggleMicrophone = () => __awaiter$P(void 0, void 0, void 0, function* () {
956
956
  if (!call || !(_isInCall(call.state) || _isInLobbyOrConnecting(call.state))) {
957
957
  throw new Error(`Please invoke onToggleMicrophone after call is started`);
958
958
  }
959
959
  return call.isMuted ? yield call.unmute() : yield call.mute();
960
960
  });
961
- const onStartScreenShare = () => __awaiter$O(void 0, void 0, void 0, function* () { return yield (call === null || call === void 0 ? void 0 : call.startScreenSharing()); });
962
- const onStopScreenShare = () => __awaiter$O(void 0, void 0, void 0, function* () { return yield (call === null || call === void 0 ? void 0 : call.stopScreenSharing()); });
963
- const onToggleScreenShare = () => __awaiter$O(void 0, void 0, void 0, function* () { return (call === null || call === void 0 ? void 0 : call.isScreenSharingOn) ? yield onStopScreenShare() : yield onStartScreenShare(); });
964
- const onHangUp = (forEveryone) => __awaiter$O(void 0, void 0, void 0, function* () { return yield (call === null || call === void 0 ? void 0 : call.hangUp({ forEveryone: forEveryone === true ? true : false })); });
961
+ const onStartScreenShare = () => __awaiter$P(void 0, void 0, void 0, function* () { return yield (call === null || call === void 0 ? void 0 : call.startScreenSharing()); });
962
+ const onStopScreenShare = () => __awaiter$P(void 0, void 0, void 0, function* () { return yield (call === null || call === void 0 ? void 0 : call.stopScreenSharing()); });
963
+ const onToggleScreenShare = () => __awaiter$P(void 0, void 0, void 0, function* () { return (call === null || call === void 0 ? void 0 : call.isScreenSharingOn) ? yield onStopScreenShare() : yield onStartScreenShare(); });
964
+ const onHangUp = (forEveryone) => __awaiter$P(void 0, void 0, void 0, function* () { return yield (call === null || call === void 0 ? void 0 : call.hangUp({ forEveryone: forEveryone === true ? true : false })); });
965
965
  /* @conditional-compile-remove(PSTN-calls) */
966
- const onToggleHold = () => __awaiter$O(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()); });
967
- const onCreateLocalStreamView = (options = { scalingMode: 'Crop', isMirrored: true }) => __awaiter$O(void 0, void 0, void 0, function* () {
966
+ const onToggleHold = () => __awaiter$P(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()); });
967
+ const onCreateLocalStreamView = (options = { scalingMode: 'Crop', isMirrored: true }) => __awaiter$P(void 0, void 0, void 0, function* () {
968
968
  var _d;
969
969
  if (!call || call.localVideoStreams.length === 0) {
970
970
  return;
@@ -980,7 +980,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
980
980
  const { view } = (_d = (yield callClient.createView(call.id, undefined, localStream, options))) !== null && _d !== void 0 ? _d : {};
981
981
  return view ? { view } : undefined;
982
982
  });
983
- const onCreateRemoteStreamView = (userId, options = { scalingMode: 'Crop' }) => __awaiter$O(void 0, void 0, void 0, function* () {
983
+ const onCreateRemoteStreamView = (userId, options = { scalingMode: 'Crop' }) => __awaiter$P(void 0, void 0, void 0, function* () {
984
984
  if (!call) {
985
985
  return;
986
986
  }
@@ -1011,7 +1011,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
1011
1011
  }
1012
1012
  return (createViewResult === null || createViewResult === void 0 ? void 0 : createViewResult.view) ? { view: createViewResult === null || createViewResult === void 0 ? void 0 : createViewResult.view } : undefined;
1013
1013
  });
1014
- const onDisposeRemoteStreamView = (userId) => __awaiter$O(void 0, void 0, void 0, function* () {
1014
+ const onDisposeRemoteStreamView = (userId) => __awaiter$P(void 0, void 0, void 0, function* () {
1015
1015
  if (!call) {
1016
1016
  return;
1017
1017
  }
@@ -1032,7 +1032,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
1032
1032
  callClient.disposeView(call.id, participant.identifier, screenShareStream);
1033
1033
  }
1034
1034
  });
1035
- const onDisposeRemoteVideoStreamView = (userId) => __awaiter$O(void 0, void 0, void 0, function* () {
1035
+ const onDisposeRemoteVideoStreamView = (userId) => __awaiter$P(void 0, void 0, void 0, function* () {
1036
1036
  if (!call) {
1037
1037
  return;
1038
1038
  }
@@ -1049,7 +1049,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
1049
1049
  callClient.disposeView(call.id, participant.identifier, remoteVideoStream);
1050
1050
  }
1051
1051
  });
1052
- const onDisposeRemoteScreenShareStreamView = (userId) => __awaiter$O(void 0, void 0, void 0, function* () {
1052
+ const onDisposeRemoteScreenShareStreamView = (userId) => __awaiter$P(void 0, void 0, void 0, function* () {
1053
1053
  if (!call) {
1054
1054
  return;
1055
1055
  }
@@ -1066,7 +1066,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
1066
1066
  callClient.disposeView(call.id, participant.identifier, screenShareStream);
1067
1067
  }
1068
1068
  });
1069
- const onDisposeLocalStreamView = () => __awaiter$O(void 0, void 0, void 0, function* () {
1069
+ const onDisposeLocalStreamView = () => __awaiter$P(void 0, void 0, void 0, function* () {
1070
1070
  // If the user is currently in a call, dispose of the local stream view attached to that call.
1071
1071
  const callState = call && callClient.getState().calls[call.id];
1072
1072
  const localStream = callState === null || callState === void 0 ? void 0 : callState.localVideoStreams.find((item) => item.mediaStreamType === 'Video');
@@ -1079,18 +1079,18 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
1079
1079
  yield disposeAllLocalPreviewViews(callClient);
1080
1080
  });
1081
1081
  /* @conditional-compile-remove(dialpad) */ /* @conditional-compile-remove(PSTN-calls) */
1082
- const onSendDtmfTone = (dtmfTone) => __awaiter$O(void 0, void 0, void 0, function* () { return yield (call === null || call === void 0 ? void 0 : call.sendDtmf(dtmfTone)); });
1082
+ const onSendDtmfTone = (dtmfTone) => __awaiter$P(void 0, void 0, void 0, function* () { return yield (call === null || call === void 0 ? void 0 : call.sendDtmf(dtmfTone)); });
1083
1083
  const notImplemented = () => {
1084
1084
  throw new Error('Not implemented, cannot call a method from an abstract object');
1085
1085
  };
1086
1086
  /* @conditional-compile-remove(call-readiness) */
1087
- const askDevicePermission = (constrain) => __awaiter$O(void 0, void 0, void 0, function* () {
1087
+ const askDevicePermission = (constrain) => __awaiter$P(void 0, void 0, void 0, function* () {
1088
1088
  if (deviceManager) {
1089
1089
  yield (deviceManager === null || deviceManager === void 0 ? void 0 : deviceManager.askDevicePermission(constrain));
1090
1090
  }
1091
1091
  });
1092
1092
  /* @conditional-compile-remove(video-background-effects) */
1093
- const onRemoveVideoBackgroundEffects = () => __awaiter$O(void 0, void 0, void 0, function* () {
1093
+ const onRemoveVideoBackgroundEffects = () => __awaiter$P(void 0, void 0, void 0, function* () {
1094
1094
  const stream = (call === null || call === void 0 ? void 0 : call.localVideoStreams.find((stream) => stream.mediaStreamType === 'Video')) ||
1095
1095
  (deviceManager === null || deviceManager === void 0 ? void 0 : deviceManager.getUnparentedVideoStreams().find((stream) => stream.mediaStreamType === 'Video'));
1096
1096
  if (stream) {
@@ -1103,7 +1103,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
1103
1103
  }
1104
1104
  });
1105
1105
  /* @conditional-compile-remove(video-background-effects) */
1106
- const onBlurVideoBackground = (backgroundBlurConfig) => __awaiter$O(void 0, void 0, void 0, function* () {
1106
+ const onBlurVideoBackground = (backgroundBlurConfig) => __awaiter$P(void 0, void 0, void 0, function* () {
1107
1107
  var _e;
1108
1108
  const stream = (call === null || call === void 0 ? void 0 : call.localVideoStreams.find((stream) => stream.mediaStreamType === 'Video')) ||
1109
1109
  (deviceManager === null || deviceManager === void 0 ? void 0 : deviceManager.getUnparentedVideoStreams().find((stream) => stream.mediaStreamType === 'Video'));
@@ -1117,7 +1117,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
1117
1117
  }
1118
1118
  });
1119
1119
  /* @conditional-compile-remove(video-background-effects) */
1120
- const onReplaceVideoBackground = (backgroundReplacementConfig) => __awaiter$O(void 0, void 0, void 0, function* () {
1120
+ const onReplaceVideoBackground = (backgroundReplacementConfig) => __awaiter$P(void 0, void 0, void 0, function* () {
1121
1121
  var _f;
1122
1122
  const stream = (call === null || call === void 0 ? void 0 : call.localVideoStreams.find((stream) => stream.mediaStreamType === 'Video')) ||
1123
1123
  (deviceManager === null || deviceManager === void 0 ? void 0 : deviceManager.getUnparentedVideoStreams().find((stream) => stream.mediaStreamType === 'Video'));
@@ -1131,34 +1131,34 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
1131
1131
  }
1132
1132
  });
1133
1133
  /* @conditional-compile-remove(close-captions) */
1134
- const onStartCaptions = (options) => __awaiter$O(void 0, void 0, void 0, function* () {
1134
+ const onStartCaptions = (options) => __awaiter$P(void 0, void 0, void 0, function* () {
1135
1135
  const captionsFeature = call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Captions).captions;
1136
1136
  yield (captionsFeature === null || captionsFeature === void 0 ? void 0 : captionsFeature.startCaptions(options));
1137
1137
  });
1138
1138
  /* @conditional-compile-remove(close-captions) */
1139
- const onStopCaptions = () => __awaiter$O(void 0, void 0, void 0, function* () {
1139
+ const onStopCaptions = () => __awaiter$P(void 0, void 0, void 0, function* () {
1140
1140
  const captionsFeature = call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Captions).captions;
1141
1141
  yield (captionsFeature === null || captionsFeature === void 0 ? void 0 : captionsFeature.stopCaptions());
1142
1142
  });
1143
1143
  /* @conditional-compile-remove(close-captions) */
1144
- const onSetSpokenLanguage = (language) => __awaiter$O(void 0, void 0, void 0, function* () {
1144
+ const onSetSpokenLanguage = (language) => __awaiter$P(void 0, void 0, void 0, function* () {
1145
1145
  const captionsFeature = call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Captions).captions;
1146
1146
  yield (captionsFeature === null || captionsFeature === void 0 ? void 0 : captionsFeature.setSpokenLanguage(language));
1147
1147
  });
1148
1148
  /* @conditional-compile-remove(close-captions) */
1149
- const onSetCaptionLanguage = (language) => __awaiter$O(void 0, void 0, void 0, function* () {
1149
+ const onSetCaptionLanguage = (language) => __awaiter$P(void 0, void 0, void 0, function* () {
1150
1150
  const captionsFeature = call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Captions).captions;
1151
1151
  yield captionsFeature.setCaptionLanguage(language);
1152
1152
  });
1153
1153
  /* @conditional-compile-remove(end-of-call-survey) */
1154
- const onSubmitSurvey = (survey) => __awaiter$O(void 0, void 0, void 0, function* () { return yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.CallSurvey).submitSurvey(survey)); });
1154
+ const onSubmitSurvey = (survey) => __awaiter$P(void 0, void 0, void 0, function* () { return yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.CallSurvey).submitSurvey(survey)); });
1155
1155
  /* @conditional-compile-remove(spotlight) */
1156
- const onStartSpotlight = (userId) => __awaiter$O(void 0, void 0, void 0, function* () {
1156
+ const onStartSpotlight = (userId) => __awaiter$P(void 0, void 0, void 0, function* () {
1157
1157
  const participant = _toCommunicationIdentifier(userId);
1158
1158
  yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Spotlight).startSpotlight([participant]));
1159
1159
  });
1160
1160
  /* @conditional-compile-remove(spotlight) */
1161
- const onStopSpotlight = (userId) => __awaiter$O(void 0, void 0, void 0, function* () {
1161
+ const onStopSpotlight = (userId) => __awaiter$P(void 0, void 0, void 0, function* () {
1162
1162
  const participant = _toCommunicationIdentifier(userId);
1163
1163
  yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Spotlight).stopSpotlight([participant]));
1164
1164
  });
@@ -1221,7 +1221,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
1221
1221
 
1222
1222
  // Copyright (c) Microsoft Corporation.
1223
1223
  // Licensed under the MIT License.
1224
- var __awaiter$N = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
1224
+ var __awaiter$O = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
1225
1225
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
1226
1226
  return new (P || (P = Promise))(function (resolve, reject) {
1227
1227
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -1249,7 +1249,7 @@ const createDefaultCallingHandlers = memoizeOne((...args) => {
1249
1249
  return callAgent === null || callAgent === void 0 ? void 0 : callAgent.startCall(participants, options);
1250
1250
  },
1251
1251
  /* @conditional-compile-remove(PSTN-calls) */
1252
- onAddParticipant: (userId, options) => __awaiter$N(void 0, void 0, void 0, function* () {
1252
+ onAddParticipant: (userId, options) => __awaiter$O(void 0, void 0, void 0, function* () {
1253
1253
  const participant = _toCommunicationIdentifier(userId);
1254
1254
  if (communicationCommon.isPhoneNumberIdentifier(participant)) {
1255
1255
  call === null || call === void 0 ? void 0 : call.addParticipant(participant, options);
@@ -1257,7 +1257,7 @@ const createDefaultCallingHandlers = memoizeOne((...args) => {
1257
1257
  else if (communicationCommon.isCommunicationUserIdentifier(participant) || communicationCommon.isMicrosoftTeamsUserIdentifier(participant)) {
1258
1258
  call === null || call === void 0 ? void 0 : call.addParticipant(participant);
1259
1259
  }
1260
- }), onRemoveParticipant: (userId) => __awaiter$N(void 0, void 0, void 0, function* () {
1260
+ }), onRemoveParticipant: (userId) => __awaiter$O(void 0, void 0, void 0, function* () {
1261
1261
  const participant = _toCommunicationIdentifier(userId);
1262
1262
  yield (call === null || call === void 0 ? void 0 : call.removeParticipant(participant));
1263
1263
  }) });
@@ -1265,7 +1265,7 @@ const createDefaultCallingHandlers = memoizeOne((...args) => {
1265
1265
 
1266
1266
  // Copyright (c) Microsoft Corporation.
1267
1267
  // Licensed under the MIT License.
1268
- var __awaiter$M = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
1268
+ var __awaiter$N = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
1269
1269
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
1270
1270
  return new (P || (P = Promise))(function (resolve, reject) {
1271
1271
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -1297,7 +1297,7 @@ const createDefaultTeamsCallingHandlers = memoizeOne((callClient, callAgent, dev
1297
1297
  },
1298
1298
  /* @conditional-compile-remove(teams-identity-support) */
1299
1299
  /* @conditional-compile-remove(PSTN-calls) */
1300
- onAddParticipant: (userId, options) => __awaiter$M(void 0, void 0, void 0, function* () {
1300
+ onAddParticipant: (userId, options) => __awaiter$N(void 0, void 0, void 0, function* () {
1301
1301
  const participant = _toCommunicationIdentifier(userId);
1302
1302
  /* @conditional-compile-remove(teams-identity-support) */
1303
1303
  const threadId = options === null || options === void 0 ? void 0 : options.threadId;
@@ -1313,7 +1313,7 @@ const createDefaultTeamsCallingHandlers = memoizeOne((callClient, callAgent, dev
1313
1313
  }
1314
1314
  /* @conditional-compile-remove(teams-identity-support) */
1315
1315
  call === null || call === void 0 ? void 0 : call.addParticipant(participant);
1316
- }), onRemoveParticipant: (userId) => __awaiter$M(void 0, void 0, void 0, function* () {
1316
+ }), onRemoveParticipant: (userId) => __awaiter$N(void 0, void 0, void 0, function* () {
1317
1317
  const participant = _toCommunicationIdentifier(userId);
1318
1318
  if (communicationCommon.isCommunicationUserIdentifier(participant)) {
1319
1319
  throw new Error('CommunicationIdentifier in Teams call is not supported!');
@@ -1404,7 +1404,7 @@ const getCaptionsSpeakerIdentifier = (captions) => {
1404
1404
 
1405
1405
  // Copyright (c) Microsoft Corporation.
1406
1406
  // Licensed under the MIT License.
1407
- var __awaiter$L = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
1407
+ var __awaiter$M = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
1408
1408
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
1409
1409
  return new (P || (P = Promise))(function (resolve, reject) {
1410
1410
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -1453,13 +1453,13 @@ class ProxyDeviceManager {
1453
1453
  this.selectCamera = (videoDeviceInfo) => {
1454
1454
  this._context.setDeviceManagerSelectedCamera(videoDeviceInfo);
1455
1455
  };
1456
- this.videoDevicesUpdated = () => __awaiter$L(this, void 0, void 0, function* () {
1456
+ this.videoDevicesUpdated = () => __awaiter$M(this, void 0, void 0, function* () {
1457
1457
  // Device Manager always has a camera with '' name if there are no real camera devices available.
1458
1458
  // We don't want to show that in the UI.
1459
1459
  const realCameras = (yield this._deviceManager.getCameras()).filter((c) => !!c.name);
1460
1460
  this._context.setDeviceManagerCameras(dedupeById(realCameras));
1461
1461
  });
1462
- this.audioDevicesUpdated = () => __awaiter$L(this, void 0, void 0, function* () {
1462
+ this.audioDevicesUpdated = () => __awaiter$M(this, void 0, void 0, function* () {
1463
1463
  this._context.setDeviceManagerMicrophones(dedupeById(yield this._deviceManager.getMicrophones()));
1464
1464
  this._context.setDeviceManagerSpeakers(dedupeById(yield this._deviceManager.getSpeakers()));
1465
1465
  });
@@ -1859,7 +1859,7 @@ function convertFromSDKToRaisedHandState(raisedHand) {
1859
1859
 
1860
1860
  // Copyright (c) Microsoft Corporation.
1861
1861
  // Licensed under the MIT License.
1862
- var __awaiter$K = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
1862
+ var __awaiter$L = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
1863
1863
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
1864
1864
  return new (P || (P = Promise))(function (resolve, reject) {
1865
1865
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -2677,7 +2677,7 @@ let CallContext$2 = class CallContext {
2677
2677
  * @throws CallError. Exceptions thrown from `f` are tagged with the failed `target.
2678
2678
  */
2679
2679
  withAsyncErrorTeedToState(action, target) {
2680
- return (...args) => __awaiter$K(this, void 0, void 0, function* () {
2680
+ return (...args) => __awaiter$L(this, void 0, void 0, function* () {
2681
2681
  try {
2682
2682
  return yield action(...args);
2683
2683
  }
@@ -3128,7 +3128,7 @@ function _logStreamEvent(eventName, streamLogInfo, error) {
3128
3128
 
3129
3129
  // Copyright (c) Microsoft Corporation.
3130
3130
  // Licensed under the MIT License.
3131
- var __awaiter$J = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
3131
+ var __awaiter$K = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
3132
3132
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3133
3133
  return new (P || (P = Promise))(function (resolve, reject) {
3134
3134
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -3138,7 +3138,7 @@ var __awaiter$J = (window && window.__awaiter) || function (thisArg, _arguments,
3138
3138
  });
3139
3139
  };
3140
3140
  function createViewVideo(context, internalContext, callId, stream, participantId, options) {
3141
- return __awaiter$J(this, void 0, void 0, function* () {
3141
+ return __awaiter$K(this, void 0, void 0, function* () {
3142
3142
  // we can only have 3 types of createView
3143
3143
  let streamEventType;
3144
3144
  // we will reuse these for local as well but we need to make sure the remote stream is passed in like before.
@@ -3267,7 +3267,7 @@ function createViewVideo(context, internalContext, callId, stream, participantId
3267
3267
  });
3268
3268
  }
3269
3269
  function createViewUnparentedVideo(context, internalContext, stream, options) {
3270
- return __awaiter$J(this, void 0, void 0, function* () {
3270
+ return __awaiter$K(this, void 0, void 0, function* () {
3271
3271
  const renderInfo = internalContext.getUnparentedRenderInfo(stream);
3272
3272
  if (renderInfo && renderInfo.status === 'Rendered') {
3273
3273
  console.warn('Unparented LocalVideoStream is already rendered');
@@ -3436,7 +3436,7 @@ function createView(context, internalContext, callId, participantId, stream, opt
3436
3436
  // Render LocalVideoStream that is not part of a Call
3437
3437
  // 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).
3438
3438
  // We do not have a startLocalPreviewVideo function, so as a workaround we ensure any errors are propagated here.
3439
- return context.withAsyncErrorTeedToState(() => __awaiter$J(this, void 0, void 0, function* () { return yield createViewUnparentedVideo(context, internalContext, stream, options); }), 'Call.startVideo')();
3439
+ return context.withAsyncErrorTeedToState(() => __awaiter$K(this, void 0, void 0, function* () { return yield createViewUnparentedVideo(context, internalContext, stream, options); }), 'Call.startVideo')();
3440
3440
  }
3441
3441
  else {
3442
3442
  _logStreamEvent(EventNames.CREATE_STREAM_INVALID_PARAMS, { streamType });
@@ -4046,7 +4046,7 @@ class CallSubscriber {
4046
4046
 
4047
4047
  // Copyright (c) Microsoft Corporation.
4048
4048
  // Licensed under the MIT License.
4049
- var __awaiter$I = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
4049
+ var __awaiter$J = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
4050
4050
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4051
4051
  return new (P || (P = Promise))(function (resolve, reject) {
4052
4052
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -4066,14 +4066,14 @@ class ProxyIncomingCall {
4066
4066
  switch (prop) {
4067
4067
  case 'accept': {
4068
4068
  return this._context.withAsyncErrorTeedToState(function (...args) {
4069
- return __awaiter$I(this, void 0, void 0, function* () {
4069
+ return __awaiter$J(this, void 0, void 0, function* () {
4070
4070
  return yield target.accept(...args);
4071
4071
  });
4072
4072
  }, 'IncomingCall.accept');
4073
4073
  }
4074
4074
  case 'reject': {
4075
4075
  return this._context.withAsyncErrorTeedToState(function (...args) {
4076
- return __awaiter$I(this, void 0, void 0, function* () {
4076
+ return __awaiter$J(this, void 0, void 0, function* () {
4077
4077
  return yield target.reject(...args);
4078
4078
  });
4079
4079
  }, 'IncomingCall.reject');
@@ -4314,7 +4314,7 @@ const clearCallRelatedState = (context, internalContext) => {
4314
4314
 
4315
4315
  // Copyright (c) Microsoft Corporation.
4316
4316
  // Licensed under the MIT License.
4317
- var __awaiter$H = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
4317
+ var __awaiter$I = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
4318
4318
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4319
4319
  return new (P || (P = Promise))(function (resolve, reject) {
4320
4320
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -4340,56 +4340,56 @@ class ProxyCallCommon {
4340
4340
  switch (prop) {
4341
4341
  case 'mute': {
4342
4342
  return this._context.withAsyncErrorTeedToState(function (...args) {
4343
- return __awaiter$H(this, void 0, void 0, function* () {
4343
+ return __awaiter$I(this, void 0, void 0, function* () {
4344
4344
  return yield target.mute(...args);
4345
4345
  });
4346
4346
  }, 'Call.mute');
4347
4347
  }
4348
4348
  case 'unmute': {
4349
4349
  return this._context.withAsyncErrorTeedToState(function (...args) {
4350
- return __awaiter$H(this, void 0, void 0, function* () {
4350
+ return __awaiter$I(this, void 0, void 0, function* () {
4351
4351
  return yield target.unmute(...args);
4352
4352
  });
4353
4353
  }, 'Call.unmute');
4354
4354
  }
4355
4355
  case 'startVideo': {
4356
4356
  return this._context.withAsyncErrorTeedToState(function (...args) {
4357
- return __awaiter$H(this, void 0, void 0, function* () {
4357
+ return __awaiter$I(this, void 0, void 0, function* () {
4358
4358
  return yield target.startVideo(...args);
4359
4359
  });
4360
4360
  }, 'Call.startVideo');
4361
4361
  }
4362
4362
  case 'stopVideo': {
4363
4363
  return this._context.withAsyncErrorTeedToState(function (...args) {
4364
- return __awaiter$H(this, void 0, void 0, function* () {
4364
+ return __awaiter$I(this, void 0, void 0, function* () {
4365
4365
  return yield target.stopVideo(...args);
4366
4366
  });
4367
4367
  }, 'Call.stopVideo');
4368
4368
  }
4369
4369
  case 'startScreenSharing': {
4370
4370
  return this._context.withAsyncErrorTeedToState(function (...args) {
4371
- return __awaiter$H(this, void 0, void 0, function* () {
4371
+ return __awaiter$I(this, void 0, void 0, function* () {
4372
4372
  return yield target.startScreenSharing(...args);
4373
4373
  });
4374
4374
  }, 'Call.startScreenSharing');
4375
4375
  }
4376
4376
  case 'stopScreenSharing': {
4377
4377
  return this._context.withAsyncErrorTeedToState(function (...args) {
4378
- return __awaiter$H(this, void 0, void 0, function* () {
4378
+ return __awaiter$I(this, void 0, void 0, function* () {
4379
4379
  return yield target.stopScreenSharing(...args);
4380
4380
  });
4381
4381
  }, 'Call.stopScreenSharing');
4382
4382
  }
4383
4383
  case 'hold': {
4384
4384
  return this._context.withAsyncErrorTeedToState(function (...args) {
4385
- return __awaiter$H(this, void 0, void 0, function* () {
4385
+ return __awaiter$I(this, void 0, void 0, function* () {
4386
4386
  return yield target.hold(...args);
4387
4387
  });
4388
4388
  }, 'Call.hold');
4389
4389
  }
4390
4390
  case 'resume': {
4391
4391
  return this._context.withAsyncErrorTeedToState(function (...args) {
4392
- return __awaiter$H(this, void 0, void 0, function* () {
4392
+ return __awaiter$I(this, void 0, void 0, function* () {
4393
4393
  return yield target.resume(...args);
4394
4394
  });
4395
4395
  }, 'Call.resume');
@@ -4429,7 +4429,7 @@ class ProxyTeamsCaptions {
4429
4429
  get(target, prop) {
4430
4430
  switch (prop) {
4431
4431
  case 'startCaptions':
4432
- return this._context.withAsyncErrorTeedToState((...args) => __awaiter$H(this, void 0, void 0, function* () {
4432
+ return this._context.withAsyncErrorTeedToState((...args) => __awaiter$I(this, void 0, void 0, function* () {
4433
4433
  var _a, _b;
4434
4434
  this._context.setStartCaptionsInProgress(this._call.id, true);
4435
4435
  const ret = yield target.startCaptions(...args);
@@ -4437,7 +4437,7 @@ class ProxyTeamsCaptions {
4437
4437
  return ret;
4438
4438
  }), 'Call.feature');
4439
4439
  case 'stopCaptions':
4440
- return this._context.withAsyncErrorTeedToState((...args) => __awaiter$H(this, void 0, void 0, function* () {
4440
+ return this._context.withAsyncErrorTeedToState((...args) => __awaiter$I(this, void 0, void 0, function* () {
4441
4441
  const ret = yield target.stopCaptions(...args);
4442
4442
  this._context.setIsCaptionActive(this._call.id, false);
4443
4443
  this._context.setStartCaptionsInProgress(this._call.id, false);
@@ -4445,13 +4445,13 @@ class ProxyTeamsCaptions {
4445
4445
  return ret;
4446
4446
  }), 'Call.feature');
4447
4447
  case 'setSpokenLanguage':
4448
- return this._context.withAsyncErrorTeedToState((...args) => __awaiter$H(this, void 0, void 0, function* () {
4448
+ return this._context.withAsyncErrorTeedToState((...args) => __awaiter$I(this, void 0, void 0, function* () {
4449
4449
  const ret = yield target.setSpokenLanguage(...args);
4450
4450
  this._context.setSelectedSpokenLanguage(this._call.id, args[0]);
4451
4451
  return ret;
4452
4452
  }), 'Call.feature');
4453
4453
  case 'setCaptionLanguage':
4454
- return this._context.withAsyncErrorTeedToState((...args) => __awaiter$H(this, void 0, void 0, function* () {
4454
+ return this._context.withAsyncErrorTeedToState((...args) => __awaiter$I(this, void 0, void 0, function* () {
4455
4455
  const ret = yield target.setCaptionLanguage(...args);
4456
4456
  this._context.setSelectedCaptionLanguage(this._call.id, args[0]);
4457
4457
  return ret;
@@ -4499,7 +4499,7 @@ class ProxyTransferCallFeature {
4499
4499
 
4500
4500
  // Copyright (c) Microsoft Corporation.
4501
4501
  // Licensed under the MIT License.
4502
- var __awaiter$G = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
4502
+ var __awaiter$H = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
4503
4503
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4504
4504
  return new (P || (P = Promise))(function (resolve, reject) {
4505
4505
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -4513,7 +4513,7 @@ class ProxyCall extends ProxyCallCommon {
4513
4513
  switch (prop) {
4514
4514
  case 'addParticipant': {
4515
4515
  return this.getContext().withAsyncErrorTeedToState(function (...args) {
4516
- return __awaiter$G(this, void 0, void 0, function* () {
4516
+ return __awaiter$H(this, void 0, void 0, function* () {
4517
4517
  return yield target.addParticipant(...args);
4518
4518
  });
4519
4519
  }, 'Call.addParticipant');
@@ -4751,7 +4751,7 @@ class InternalCallContext {
4751
4751
 
4752
4752
  // Copyright (c) Microsoft Corporation.
4753
4753
  // Licensed under the MIT License.
4754
- var __awaiter$F = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
4754
+ var __awaiter$G = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
4755
4755
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4756
4756
  return new (P || (P = Promise))(function (resolve, reject) {
4757
4757
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -4766,7 +4766,7 @@ class ProxyTeamsCall extends ProxyCallCommon {
4766
4766
  switch (prop) {
4767
4767
  case 'addParticipant': {
4768
4768
  return this.getContext().withAsyncErrorTeedToState(function (...args) {
4769
- return __awaiter$F(this, void 0, void 0, function* () {
4769
+ return __awaiter$G(this, void 0, void 0, function* () {
4770
4770
  return yield target.addParticipant(...args);
4771
4771
  });
4772
4772
  }, 'TeamsCall.addParticipant');
@@ -4883,7 +4883,7 @@ const teamsCallAgentDeclaratify = (callAgent, context, internalContext) => {
4883
4883
 
4884
4884
  // Copyright (c) Microsoft Corporation.
4885
4885
  // Licensed under the MIT License.
4886
- var __awaiter$E = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
4886
+ var __awaiter$F = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
4887
4887
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4888
4888
  return new (P || (P = Promise))(function (resolve, reject) {
4889
4889
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -4905,7 +4905,7 @@ class ProxyVideoStreamRendererView {
4905
4905
  get(target, prop) {
4906
4906
  switch (prop) {
4907
4907
  case 'updateScalingMode': {
4908
- return (...args) => __awaiter$E(this, void 0, void 0, function* () {
4908
+ return (...args) => __awaiter$F(this, void 0, void 0, function* () {
4909
4909
  yield target.updateScalingMode(...args);
4910
4910
  this._context.setRemoteVideoStreamViewScalingMode(this._callId, this._participantId, this._streamId, args[0]);
4911
4911
  });
@@ -4926,7 +4926,7 @@ const videoStreamRendererViewDeclaratify = (view, context, callId, participantId
4926
4926
 
4927
4927
  // Copyright (c) Microsoft Corporation.
4928
4928
  // Licensed under the MIT License.
4929
- var __awaiter$D = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
4929
+ var __awaiter$E = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
4930
4930
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4931
4931
  return new (P || (P = Promise))(function (resolve, reject) {
4932
4932
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -4948,7 +4948,7 @@ class ProxyCallClient {
4948
4948
  get(target, prop) {
4949
4949
  switch (prop) {
4950
4950
  case 'createCallAgent': {
4951
- return this._context.withAsyncErrorTeedToState((...args) => __awaiter$D(this, void 0, void 0, function* () {
4951
+ return this._context.withAsyncErrorTeedToState((...args) => __awaiter$E(this, void 0, void 0, function* () {
4952
4952
  // createCallAgent will throw an exception if the previous callAgent was not disposed. If the previous
4953
4953
  // callAgent was disposed then it would have unsubscribed to events so we can just create a new declarative
4954
4954
  // callAgent if the createCallAgent succeeds.
@@ -4961,7 +4961,7 @@ class ProxyCallClient {
4961
4961
  }), 'CallClient.createCallAgent');
4962
4962
  }
4963
4963
  case 'createTeamsCallAgent': {
4964
- /* @conditional-compile-remove(teams-identity-support) */ return this._context.withAsyncErrorTeedToState((...args) => __awaiter$D(this, void 0, void 0, function* () {
4964
+ /* @conditional-compile-remove(teams-identity-support) */ return this._context.withAsyncErrorTeedToState((...args) => __awaiter$E(this, void 0, void 0, function* () {
4965
4965
  // createCallAgent will throw an exception if the previous callAgent was not disposed. If the previous
4966
4966
  // callAgent was disposed then it would have unsubscribed to events so we can just create a new declarative
4967
4967
  // callAgent if the createCallAgent succeeds.
@@ -4974,7 +4974,7 @@ class ProxyCallClient {
4974
4974
  }), 'CallClient.createTeamsCallAgent');
4975
4975
  }
4976
4976
  case 'getDeviceManager': {
4977
- return this._context.withAsyncErrorTeedToState(() => __awaiter$D(this, void 0, void 0, function* () {
4977
+ return this._context.withAsyncErrorTeedToState(() => __awaiter$E(this, void 0, void 0, function* () {
4978
4978
  // As of writing, the SDK always returns the same instance of DeviceManager so we keep a reference of
4979
4979
  // DeviceManager and if it does not change we return the cached DeclarativeDeviceManager. If it does not we'll
4980
4980
  // throw an error that indicate we need to fix this issue as our implementation has diverged from the SDK.
@@ -5003,7 +5003,7 @@ class ProxyCallClient {
5003
5003
  /**
5004
5004
  * add to this object if we want to proxy anything else off the DebugInfo feature object.
5005
5005
  */
5006
- return Object.assign(Object.assign({}, feature), { getEnvironmentInfo: () => __awaiter$D(this, void 0, void 0, function* () {
5006
+ return Object.assign(Object.assign({}, feature), { getEnvironmentInfo: () => __awaiter$E(this, void 0, void 0, function* () {
5007
5007
  const environmentInfo = yield feature.getEnvironmentInfo();
5008
5008
  this._context.setEnvironmentInfo(environmentInfo);
5009
5009
  return environmentInfo;
@@ -5064,7 +5064,7 @@ const createStatefulCallClientWithDeps = (callClient, context, internalContext)
5064
5064
  });
5065
5065
  Object.defineProperty(callClient, 'createView', {
5066
5066
  configurable: false,
5067
- value: (callId, participantId, stream, options) => __awaiter$D(void 0, void 0, void 0, function* () {
5067
+ value: (callId, participantId, stream, options) => __awaiter$E(void 0, void 0, void 0, function* () {
5068
5068
  const participantIdKind = participantId ? communicationCommon.getIdentifierKind(participantId) : undefined;
5069
5069
  const result = yield createView(context, internalContext, callId, participantIdKind, stream, options);
5070
5070
  // We only need to declaratify the VideoStreamRendererView object for remote participants. Because the updateScalingMode only needs to be called on remote participant stream views.
@@ -7611,7 +7611,7 @@ const _MentionPopover = (props) => {
7611
7611
 
7612
7612
  // Copyright (c) Microsoft Corporation.
7613
7613
  // Licensed under the MIT License.
7614
- var __awaiter$C = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
7614
+ var __awaiter$D = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
7615
7615
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
7616
7616
  return new (P || (P = Promise))(function (resolve, reject) {
7617
7617
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -7797,7 +7797,7 @@ const TextFieldWithMention = (props) => {
7797
7797
  onSuggestionSelected,
7798
7798
  updateMentionSuggestions
7799
7799
  ]);
7800
- const debouncedQueryUpdate = useDebounce.useDebouncedCallback((query) => __awaiter$C(void 0, void 0, void 0, function* () {
7800
+ const debouncedQueryUpdate = useDebounce.useDebouncedCallback((query) => __awaiter$D(void 0, void 0, void 0, function* () {
7801
7801
  var _a;
7802
7802
  let suggestions = (_a = (yield (mentionLookupOptions === null || mentionLookupOptions === void 0 ? void 0 : mentionLookupOptions.onQueryUpdated(query)))) !== null && _a !== void 0 ? _a : [];
7803
7803
  suggestions = suggestions.filter((suggestion) => suggestion.displayText.trim() !== '');
@@ -7974,7 +7974,7 @@ const TextFieldWithMention = (props) => {
7974
7974
  });
7975
7975
  }
7976
7976
  }, [updateSelectionIndexesWithMentionIfNeeded, setSelectionStartValue, setSelectionEndValue]);
7977
- const handleOnChange = React.useCallback(({ currentSelectionEnd, currentSelectionStart, currentTriggerStartIndex, event, htmlTextValue, inputTextValue, previousSelectionEnd, previousSelectionStart, tagsValue, updatedValue }) => __awaiter$C(void 0, void 0, void 0, function* () {
7977
+ const handleOnChange = React.useCallback(({ currentSelectionEnd, currentSelectionStart, currentTriggerStartIndex, event, htmlTextValue, inputTextValue, previousSelectionEnd, previousSelectionStart, tagsValue, updatedValue }) => __awaiter$D(void 0, void 0, void 0, function* () {
7978
7978
  var _b;
7979
7979
  debouncedQueryUpdate.cancel();
7980
7980
  if (event.currentTarget === null) {
@@ -10694,7 +10694,7 @@ const chatMessageActionMenuProps = (menuProps) => {
10694
10694
 
10695
10695
  // Copyright (c) Microsoft Corporation.
10696
10696
  // Licensed under the MIT License.
10697
- var __awaiter$B = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
10697
+ var __awaiter$C = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
10698
10698
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
10699
10699
  return new (P || (P = Promise))(function (resolve, reject) {
10700
10700
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -10737,7 +10737,7 @@ const _FileDownloadCards = (props) => {
10737
10737
  fileCount: `${(_c = fileMetadata === null || fileMetadata === void 0 ? void 0 : fileMetadata.filter(isFileSharingAttachment).length) !== null && _c !== void 0 ? _c : 0}`
10738
10738
  });
10739
10739
  }, [(_b = props.strings) === null || _b === void 0 ? void 0 : _b.fileCardGroupMessage, localeStrings.fileCardGroupMessage, fileMetadata, isFileSharingAttachment]);
10740
- const fileDownloadHandler = React.useCallback((userId, file) => __awaiter$B(void 0, void 0, void 0, function* () {
10740
+ const fileDownloadHandler = React.useCallback((userId, file) => __awaiter$C(void 0, void 0, void 0, function* () {
10741
10741
  if (!props.downloadHandler) {
10742
10742
  window.open(file.url, '_blank', 'noopener,noreferrer');
10743
10743
  }
@@ -10989,7 +10989,7 @@ const ChatMessageComponentAsMessageBubble = React.memo(MessageBubble);
10989
10989
 
10990
10990
  // Copyright (c) Microsoft Corporation.
10991
10991
  // Licensed under the MIT License.
10992
- var __awaiter$A = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
10992
+ var __awaiter$B = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
10993
10993
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
10994
10994
  return new (P || (P = Promise))(function (resolve, reject) {
10995
10995
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -11022,7 +11022,7 @@ const ChatMessageComponent = (props) => {
11022
11022
  onSendMessage && onSendMessage(content !== undefined ? content : '');
11023
11023
  }, [clientMessageId, content, onSendMessage, onDeleteMessage]);
11024
11024
  if (isEditing && message.messageType === 'chat') {
11025
- return (React.createElement(ChatMessageComponentAsEditBox, { message: message, strings: props.strings, onSubmit: (text, metadata, options) => __awaiter$A(void 0, void 0, void 0, function* () {
11025
+ return (React.createElement(ChatMessageComponentAsEditBox, { message: message, strings: props.strings, onSubmit: (text, metadata, options) => __awaiter$B(void 0, void 0, void 0, function* () {
11026
11026
  props.onUpdateMessage &&
11027
11027
  message.messageId &&
11028
11028
  (yield props.onUpdateMessage(message.messageId, text, metadata, options));
@@ -11316,7 +11316,7 @@ const ChatMessageComponentWrapper = (props) => {
11316
11316
 
11317
11317
  // Copyright (c) Microsoft Corporation.
11318
11318
  // Licensed under the MIT License.
11319
- var __awaiter$z = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
11319
+ var __awaiter$A = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
11320
11320
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
11321
11321
  return new (P || (P = Promise))(function (resolve, reject) {
11322
11322
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -11492,7 +11492,7 @@ const MessageThreadWrapper = (props) => {
11492
11492
  const previousMessagesRef = React.useRef([]);
11493
11493
  // an aria label for Narrator to notify when a message is deleted
11494
11494
  const [deletedMessageAriaLabel, setDeletedMessageAriaLabel] = React.useState(undefined);
11495
- const onDeleteMessageCallback = React.useCallback((messageId) => __awaiter$z(void 0, void 0, void 0, function* () {
11495
+ const onDeleteMessageCallback = React.useCallback((messageId) => __awaiter$A(void 0, void 0, void 0, function* () {
11496
11496
  if (!onDeleteMessage) {
11497
11497
  return;
11498
11498
  }
@@ -11572,7 +11572,7 @@ const MessageThreadWrapper = (props) => {
11572
11572
  */
11573
11573
  const clientHeight = (_a = chatThreadRef.current) === null || _a === void 0 ? void 0 : _a.clientHeight;
11574
11574
  // we try to only send those message status if user is scrolled to the bottom.
11575
- const sendMessageStatusIfAtBottom = React.useCallback(() => __awaiter$z(void 0, void 0, void 0, function* () {
11575
+ const sendMessageStatusIfAtBottom = React.useCallback(() => __awaiter$A(void 0, void 0, void 0, function* () {
11576
11576
  if (!isAtBottomOfScrollRef.current ||
11577
11577
  !document.hasFocus() ||
11578
11578
  !messagesRef.current ||
@@ -11623,7 +11623,7 @@ const MessageThreadWrapper = (props) => {
11623
11623
  setIsAtBottomOfScrollRef(atBottom);
11624
11624
  }, [scrollToBottom, sendMessageStatusIfAtBottom]);
11625
11625
  // Infinite scrolling + threadInitialize function
11626
- const fetchNewMessageWhenAtTop = React.useCallback(() => __awaiter$z(void 0, void 0, void 0, function* () {
11626
+ const fetchNewMessageWhenAtTop = React.useCallback(() => __awaiter$A(void 0, void 0, void 0, function* () {
11627
11627
  if (!isLoadingChatMessagesRef.current) {
11628
11628
  if (onLoadPreviousChatMessages) {
11629
11629
  isLoadingChatMessagesRef.current = true;
@@ -12880,19 +12880,19 @@ const useVideoTileContextualMenuProps = (props) => {
12880
12880
  }
12881
12881
  }
12882
12882
  else {
12883
- const startSpotlightMenuLabelText = spotlightedParticipantUserIds && spotlightedParticipantUserIds.length > 0
12883
+ const startSpotlightMenuLabel = spotlightedParticipantUserIds && spotlightedParticipantUserIds.length > 0
12884
12884
  ? strings === null || strings === void 0 ? void 0 : strings.addSpotlightVideoTileMenuLabel
12885
12885
  : strings === null || strings === void 0 ? void 0 : strings.startSpotlightVideoTileMenuLabel;
12886
- if (onStartSpotlight && remoteParticipant.userId && startSpotlightMenuLabelText) {
12886
+ if (onStartSpotlight && remoteParticipant.userId && startSpotlightMenuLabel) {
12887
12887
  items.push({
12888
12888
  key: 'startSpotlight',
12889
- text: startSpotlightMenuLabelText,
12889
+ text: startSpotlightMenuLabel,
12890
12890
  iconProps: {
12891
12891
  iconName: 'StartSpotlightContextualMenuItem',
12892
12892
  styles: { root: { lineHeight: 0 } }
12893
12893
  },
12894
12894
  onClick: () => onStartSpotlight(remoteParticipant.userId),
12895
- ariaLabel: startSpotlightMenuLabelText
12895
+ ariaLabel: startSpotlightMenuLabel
12896
12896
  });
12897
12897
  }
12898
12898
  }
@@ -13995,7 +13995,7 @@ const localVideoTileContainerStyles = {
13995
13995
 
13996
13996
  // Copyright (c) Microsoft Corporation.
13997
13997
  // Licensed under the MIT License.
13998
- var __awaiter$y = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
13998
+ var __awaiter$z = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
13999
13999
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
14000
14000
  return new (P || (P = Promise))(function (resolve, reject) {
14001
14001
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -14012,7 +14012,7 @@ const LocalVideoCameraCycleButton = (props) => {
14012
14012
  const { cameras, selectedCamera, onSelectCamera, label, ariaDescription, size } = props;
14013
14013
  const theme = react.useTheme();
14014
14014
  const [waitForCamera, setWaitForCamera] = React.useState(false);
14015
- const onChangeCameraClick = React.useCallback((device) => __awaiter$y(void 0, void 0, void 0, function* () {
14015
+ const onChangeCameraClick = React.useCallback((device) => __awaiter$z(void 0, void 0, void 0, function* () {
14016
14016
  // Throttle changing camera to prevent too many callbacks
14017
14017
  if (onSelectCamera) {
14018
14018
  setWaitForCamera(true);
@@ -16880,7 +16880,7 @@ const DevicesButton = (props) => {
16880
16880
 
16881
16881
  // Copyright (c) Microsoft Corporation.
16882
16882
  // Licensed under the MIT License.
16883
- var __awaiter$x = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
16883
+ var __awaiter$y = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
16884
16884
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16885
16885
  return new (P || (P = Promise))(function (resolve, reject) {
16886
16886
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -16918,7 +16918,7 @@ const CameraButton = (props) => {
16918
16918
  const toggleAnnouncerString = React.useCallback((isCameraOn) => {
16919
16919
  setAnnouncerString(!isCameraOn ? strings.cameraActionTurnedOffAnnouncement : strings.cameraActionTurnedOnAnnouncement);
16920
16920
  }, [strings.cameraActionTurnedOffAnnouncement, strings.cameraActionTurnedOnAnnouncement]);
16921
- const onToggleClick = React.useCallback(() => __awaiter$x(void 0, void 0, void 0, function* () {
16921
+ const onToggleClick = React.useCallback(() => __awaiter$y(void 0, void 0, void 0, function* () {
16922
16922
  // Throttle click on camera, need to await onToggleCamera then allow another click
16923
16923
  if (onToggleCamera) {
16924
16924
  setWaitForCamera(true);
@@ -16932,7 +16932,7 @@ const CameraButton = (props) => {
16932
16932
  }
16933
16933
  }
16934
16934
  }), [cameraOn, localVideoViewOptions, onToggleCamera, toggleAnnouncerString]);
16935
- const onChangeCameraClick = React.useCallback((device) => __awaiter$x(void 0, void 0, void 0, function* () {
16935
+ const onChangeCameraClick = React.useCallback((device) => __awaiter$y(void 0, void 0, void 0, function* () {
16936
16936
  // Throttle changing camera to prevent too many callbacks
16937
16937
  if (onSelectCamera) {
16938
16938
  setWaitForCamera(true);
@@ -17103,7 +17103,7 @@ const lightThemeCallButtonStyles = {
17103
17103
 
17104
17104
  // Copyright (c) Microsoft Corporation.
17105
17105
  // Licensed under the MIT License.
17106
- var __awaiter$w = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
17106
+ var __awaiter$x = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
17107
17107
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17108
17108
  return new (P || (P = Promise))(function (resolve, reject) {
17109
17109
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -17144,7 +17144,7 @@ const MicrophoneButton = (props) => {
17144
17144
  const toggleAnnouncerString = React.useCallback((isMicOn) => {
17145
17145
  setAnnouncerString(!isMicOn ? strings.microphoneActionTurnedOffAnnouncement : strings.microphoneActionTurnedOnAnnouncement);
17146
17146
  }, [strings.microphoneActionTurnedOffAnnouncement, strings.microphoneActionTurnedOnAnnouncement]);
17147
- const onToggleClick = React.useCallback(() => __awaiter$w(void 0, void 0, void 0, function* () {
17147
+ const onToggleClick = React.useCallback(() => __awaiter$x(void 0, void 0, void 0, function* () {
17148
17148
  if (onToggleMicrophone) {
17149
17149
  try {
17150
17150
  yield onToggleMicrophone();
@@ -18201,7 +18201,7 @@ const letterStyles = (theme) => {
18201
18201
  /**
18202
18202
  * @private
18203
18203
  */
18204
- const iconButtonStyles = (theme) => {
18204
+ const iconButtonStyles$1 = (theme) => {
18205
18205
  return {
18206
18206
  root: {
18207
18207
  color: `${theme.palette.black}`,
@@ -18332,7 +18332,7 @@ const dtmfFrequencies = {
18332
18332
 
18333
18333
  // Copyright (c) Microsoft Corporation.
18334
18334
  // Licensed under the MIT License.
18335
- var __awaiter$v = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
18335
+ var __awaiter$w = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
18336
18336
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
18337
18337
  return new (P || (P = Promise))(function (resolve, reject) {
18338
18338
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -18376,10 +18376,10 @@ const DialpadButton = (props) => {
18376
18376
  const [buttonPressed, setButtonPressed] = React.useState(false);
18377
18377
  const dtmfToneSound = React.useRef(new Tone(dtmfToneAudioContext, dtmfFrequencies[digit].f1, dtmfFrequencies[digit].f2));
18378
18378
  const useLongPressProps = React.useMemo(() => ({
18379
- onClick: () => __awaiter$v(void 0, void 0, void 0, function* () {
18379
+ onClick: () => __awaiter$w(void 0, void 0, void 0, function* () {
18380
18380
  onClick(digit, index);
18381
18381
  }),
18382
- onLongPress: () => __awaiter$v(void 0, void 0, void 0, function* () {
18382
+ onLongPress: () => __awaiter$w(void 0, void 0, void 0, function* () {
18383
18383
  onLongPress(digit, index);
18384
18384
  }),
18385
18385
  touchEventsOnly: longPressTrigger === 'touch'
@@ -18490,7 +18490,7 @@ const DialpadContainer = (props) => {
18490
18490
  e.preventDefault();
18491
18491
  }, placeholder: props.strings.placeholderText, "data-test-id": "dialpad-input", onRenderSuffix: () => {
18492
18492
  var _a;
18493
- return (React.createElement(React.Fragment, null, showDeleteButton && plainTextValue.length !== 0 && (React.createElement(react.IconButton, { ariaLabel: props.strings.deleteButtonAriaLabel, onClick: deleteNumbers, styles: react.concatStyleSets(iconButtonStyles(theme), (_a = props.styles) === null || _a === void 0 ? void 0 : _a.deleteIcon), iconProps: { iconName: 'DialpadBackspace' } }))));
18493
+ return (React.createElement(React.Fragment, null, showDeleteButton && plainTextValue.length !== 0 && (React.createElement(react.IconButton, { ariaLabel: props.strings.deleteButtonAriaLabel, onClick: deleteNumbers, styles: react.concatStyleSets(iconButtonStyles$1(theme), (_a = props.styles) === null || _a === void 0 ? void 0 : _a.deleteIcon), iconProps: { iconName: 'DialpadBackspace' } }))));
18494
18494
  } })),
18495
18495
  React.createElement(react.FocusZone, null, dialPadButtonsDefault.map((rows, rowIndex) => {
18496
18496
  return (React.createElement(react.Stack, { horizontal: true, key: `row_${rowIndex}`, horizontalAlign: "stretch", tokens: { childrenGap: '1rem' } }, rows.map((button, columnIndex) => (React.createElement(DialpadButton, { key: `button_${columnIndex}`,
@@ -18518,7 +18518,7 @@ const DialpadContainer = (props) => {
18518
18518
  * A component to allow users to enter phone number through clicking on dialpad/using keyboard
18519
18519
  * It will return empty component for stable builds
18520
18520
  *
18521
- * @beta
18521
+ * @public
18522
18522
  */
18523
18523
  const Dialpad = (props) => {
18524
18524
  /* @conditional-compile-remove(dialpad) */ /* @conditional-compile-remove(PSTN-calls) */
@@ -19533,7 +19533,7 @@ const _spokenLanguageToCaptionLanguage = {
19533
19533
 
19534
19534
  // Copyright (c) Microsoft Corporation.
19535
19535
  // Licensed under the MIT License.
19536
- var __awaiter$u = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
19536
+ var __awaiter$v = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
19537
19537
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
19538
19538
  return new (P || (P = Promise))(function (resolve, reject) {
19539
19539
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -19576,7 +19576,7 @@ const _CaptionsSettingsModal = (props) => {
19576
19576
  onDismissCaptionsSettings();
19577
19577
  }
19578
19578
  }, [onDismissCaptionsSettings]);
19579
- const onConfirm = React.useCallback(() => __awaiter$u(void 0, void 0, void 0, function* () {
19579
+ const onConfirm = React.useCallback(() => __awaiter$v(void 0, void 0, void 0, function* () {
19580
19580
  const spokenLanguageCode = selectedSpokenLanguage.key.toString();
19581
19581
  const captionLanguageCode = selectedCaptionLanguage.key.toString();
19582
19582
  if (isCaptionsFeatureActive) {
@@ -20662,7 +20662,7 @@ const findConditionalCompiledSelector = (component) => {
20662
20662
 
20663
20663
  // Copyright (c) Microsoft Corporation.
20664
20664
  // Licensed under the MIT License.
20665
- var __awaiter$t = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
20665
+ var __awaiter$u = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
20666
20666
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
20667
20667
  return new (P || (P = Promise))(function (resolve, reject) {
20668
20668
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -20685,35 +20685,35 @@ const createDefaultChatHandlers = memoizeOne((chatClient, chatThreadClient) => {
20685
20685
  let messageIterator = undefined;
20686
20686
  let readReceiptIterator = undefined;
20687
20687
  return {
20688
- onSendMessage: (content, options) => __awaiter$t(void 0, void 0, void 0, function* () {
20688
+ onSendMessage: (content, options) => __awaiter$u(void 0, void 0, void 0, function* () {
20689
20689
  const sendMessageRequest = {
20690
20690
  content,
20691
20691
  senderDisplayName: chatClient.getState().displayName
20692
20692
  };
20693
20693
  yield chatThreadClient.sendMessage(sendMessageRequest, options);
20694
20694
  }),
20695
- onUpdateMessage: (messageId, content, options) => __awaiter$t(void 0, void 0, void 0, function* () {
20695
+ onUpdateMessage: (messageId, content, options) => __awaiter$u(void 0, void 0, void 0, function* () {
20696
20696
  const updatedMetadata = (options === null || options === void 0 ? void 0 : options.metadata) ? Object.assign({}, options.metadata) : {};
20697
20697
  updatedMetadata.fileSharingMetadata = JSON.stringify((options === null || options === void 0 ? void 0 : options.attachmentMetadata) || []);
20698
20698
  yield chatThreadClient.updateMessage(messageId, { content, metadata: updatedMetadata });
20699
20699
  }),
20700
- onDeleteMessage: (messageId) => __awaiter$t(void 0, void 0, void 0, function* () {
20700
+ onDeleteMessage: (messageId) => __awaiter$u(void 0, void 0, void 0, function* () {
20701
20701
  yield chatThreadClient.deleteMessage(messageId);
20702
20702
  }),
20703
20703
  // This handler is designed for chatThread to consume
20704
- onMessageSeen: (chatMessageId) => __awaiter$t(void 0, void 0, void 0, function* () {
20704
+ onMessageSeen: (chatMessageId) => __awaiter$u(void 0, void 0, void 0, function* () {
20705
20705
  yield chatThreadClient.sendReadReceipt({ chatMessageId });
20706
20706
  }),
20707
- onTyping: () => __awaiter$t(void 0, void 0, void 0, function* () {
20707
+ onTyping: () => __awaiter$u(void 0, void 0, void 0, function* () {
20708
20708
  yield chatThreadClient.sendTypingNotification();
20709
20709
  }),
20710
- onRemoveParticipant: (userId) => __awaiter$t(void 0, void 0, void 0, function* () {
20710
+ onRemoveParticipant: (userId) => __awaiter$u(void 0, void 0, void 0, function* () {
20711
20711
  yield chatThreadClient.removeParticipant(fromFlatCommunicationIdentifier(userId));
20712
20712
  }),
20713
- updateThreadTopicName: (topicName) => __awaiter$t(void 0, void 0, void 0, function* () {
20713
+ updateThreadTopicName: (topicName) => __awaiter$u(void 0, void 0, void 0, function* () {
20714
20714
  yield chatThreadClient.updateTopic(topicName);
20715
20715
  }),
20716
- onLoadPreviousChatMessages: (messagesToLoad) => __awaiter$t(void 0, void 0, void 0, function* () {
20716
+ onLoadPreviousChatMessages: (messagesToLoad) => __awaiter$u(void 0, void 0, void 0, function* () {
20717
20717
  var _a, _b, _c;
20718
20718
  if (messageIterator === undefined) {
20719
20719
  // Lazy definition so that errors in the method call are reported correctly.
@@ -21149,11 +21149,13 @@ const extractAttachmentUrl = (attachment) => {
21149
21149
  return attachment.attachmentType === 'file' && attachment.previewUrl ? attachment.previewUrl : attachment.url || '';
21150
21150
  };
21151
21151
  const processChatMessageContent = (message) => {
21152
- var _a, _b, _c;
21152
+ var _a, _b, _c, _d;
21153
21153
  let content = (_a = message.content) === null || _a === void 0 ? void 0 : _a.message;
21154
21154
  /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */
21155
- if (((_b = message.content) === null || _b === void 0 ? void 0 : _b.attachments) && sanitizedMessageContentType(message.type).includes('html')) {
21156
- const attachments = (_c = message.content) === null || _c === void 0 ? void 0 : _c.attachments;
21155
+ if (((_b = message.content) === null || _b === void 0 ? void 0 : _b.attachments) &&
21156
+ ((_c = message.content) === null || _c === void 0 ? void 0 : _c.attachments.length) > 0 &&
21157
+ sanitizedMessageContentType(message.type).includes('html')) {
21158
+ const attachments = (_d = message.content) === null || _d === void 0 ? void 0 : _d.attachments;
21157
21159
  // Fill in the src here
21158
21160
  /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */
21159
21161
  if (content) {
@@ -21166,7 +21168,7 @@ const processChatMessageContent = (message) => {
21166
21168
  img.src = src;
21167
21169
  }
21168
21170
  });
21169
- content = document.documentElement.innerHTML;
21171
+ content = document.body.innerHTML;
21170
21172
  }
21171
21173
  const teamsImageHtmlContent = attachments
21172
21174
  .filter((attachment) => {
@@ -21645,7 +21647,7 @@ const Constants = {
21645
21647
  */
21646
21648
  const chatStatefulLogger = logger.createClientLogger('communication-react:chat-stateful');
21647
21649
 
21648
- var __awaiter$s = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
21650
+ var __awaiter$t = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
21649
21651
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
21650
21652
  return new (P || (P = Promise))(function (resolve, reject) {
21651
21653
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -21686,7 +21688,7 @@ class ResourceDownloadQueue {
21686
21688
  this._messagesNeedingResourceRetrieval.push(copy);
21687
21689
  }
21688
21690
  startQueue(threadId, operation) {
21689
- return __awaiter$s(this, void 0, void 0, function* () {
21691
+ return __awaiter$t(this, void 0, void 0, function* () {
21690
21692
  if (this.isActive) {
21691
21693
  return;
21692
21694
  }
@@ -21715,7 +21717,7 @@ class ResourceDownloadQueue {
21715
21717
  /**
21716
21718
  * @private
21717
21719
  */
21718
- const requestAttachments = (message, credential) => __awaiter$s(void 0, void 0, void 0, function* () {
21720
+ const requestAttachments = (message, credential) => __awaiter$t(void 0, void 0, void 0, function* () {
21719
21721
  var _a;
21720
21722
  const attachments = (_a = message.content) === null || _a === void 0 ? void 0 : _a.attachments;
21721
21723
  if (message.type === 'html' && attachments) {
@@ -21741,9 +21743,9 @@ const requestAttachments = (message, credential) => __awaiter$s(void 0, void 0,
21741
21743
  * @private
21742
21744
  */
21743
21745
  /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */
21744
- const fetchImageSource = (src, credential) => __awaiter$s(void 0, void 0, void 0, function* () {
21746
+ const fetchImageSource = (src, credential) => __awaiter$t(void 0, void 0, void 0, function* () {
21745
21747
  function fetchWithAuthentication(url, token) {
21746
- return __awaiter$s(this, void 0, void 0, function* () {
21748
+ return __awaiter$t(this, void 0, void 0, function* () {
21747
21749
  const headers = new Headers();
21748
21750
  headers.append('Authorization', `Bearer ${token}`);
21749
21751
  try {
@@ -21772,7 +21774,7 @@ class ResourceDownloadError extends Error {
21772
21774
 
21773
21775
  // Copyright (c) Microsoft Corporation.
21774
21776
  // Licensed under the MIT License.
21775
- var __awaiter$r = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
21777
+ var __awaiter$s = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
21776
21778
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
21777
21779
  return new (P || (P = Promise))(function (resolve, reject) {
21778
21780
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -22070,7 +22072,7 @@ let ChatContext$1 = class ChatContext {
22070
22072
  * @throws ChatError. Exceptions thrown from `f` are tagged with the failed `target.
22071
22073
  */
22072
22074
  withAsyncErrorTeedToState(f, target) {
22073
- return (...args) => __awaiter$r(this, void 0, void 0, function* () {
22075
+ return (...args) => __awaiter$s(this, void 0, void 0, function* () {
22074
22076
  try {
22075
22077
  return yield f(...args);
22076
22078
  }
@@ -22183,7 +22185,7 @@ const convertChatMessage = (message, status = 'delivered', clientMessageId) => {
22183
22185
 
22184
22186
  // Copyright (c) Microsoft Corporation.
22185
22187
  // Licensed under the MIT License.
22186
- var __awaiter$q = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
22188
+ var __awaiter$r = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
22187
22189
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
22188
22190
  return new (P || (P = Promise))(function (resolve, reject) {
22189
22191
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -22272,7 +22274,7 @@ class EventSubscriber {
22272
22274
  };
22273
22275
  // This is a temporary fix that no participant message is received for onChatMessageReceived event, which should be handled by JS SDK.
22274
22276
  // Without the temporary fix, there are missing 'participant joined' and 'participant left' system messages in the chat thread.
22275
- this.fetchLastParticipantMessage = (threadId, actionType) => __awaiter$q(this, void 0, void 0, function* () {
22277
+ this.fetchLastParticipantMessage = (threadId, actionType) => __awaiter$r(this, void 0, void 0, function* () {
22276
22278
  var _a, e_1, _b, _c;
22277
22279
  try {
22278
22280
  for (var _d = true, _e = __asyncValues$1(this.chatClient
@@ -22366,7 +22368,7 @@ class EventSubscriber {
22366
22368
 
22367
22369
  // Copyright (c) Microsoft Corporation.
22368
22370
  // Licensed under the MIT License.
22369
- var __awaiter$p = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
22371
+ var __awaiter$q = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
22370
22372
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
22371
22373
  return new (P || (P = Promise))(function (resolve, reject) {
22372
22374
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -22388,7 +22390,7 @@ const createDecoratedIterator = (iteratorCreator, context, decorateFn) => {
22388
22390
  const threadsIterator = iteratorCreator(...args);
22389
22391
  return {
22390
22392
  next() {
22391
- return __awaiter$p(this, void 0, void 0, function* () {
22393
+ return __awaiter$q(this, void 0, void 0, function* () {
22392
22394
  const result = yield threadsIterator.next();
22393
22395
  if (!result.done && result.value) {
22394
22396
  decorateFn(result.value, context);
@@ -22403,7 +22405,7 @@ const createDecoratedIterator = (iteratorCreator, context, decorateFn) => {
22403
22405
  const pages = threadsIterator.byPage(settings);
22404
22406
  return {
22405
22407
  next() {
22406
- return __awaiter$p(this, void 0, void 0, function* () {
22408
+ return __awaiter$q(this, void 0, void 0, function* () {
22407
22409
  const result = yield pages.next();
22408
22410
  const page = result.value;
22409
22411
  if (!result.done && result.value) {
@@ -22490,7 +22492,7 @@ const createDecoratedListParticipants = (chatThreadClient, context) => {
22490
22492
 
22491
22493
  // Copyright (c) Microsoft Corporation.
22492
22494
  // Licensed under the MIT License.
22493
- var __awaiter$o = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
22495
+ var __awaiter$p = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
22494
22496
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
22495
22497
  return new (P || (P = Promise))(function (resolve, reject) {
22496
22498
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -22509,14 +22511,14 @@ class ProxyChatThreadClient {
22509
22511
  return createDecoratedListMessages(chatThreadClient, this._context);
22510
22512
  }
22511
22513
  case 'getMessage': {
22512
- return this._context.withAsyncErrorTeedToState((...args) => __awaiter$o(this, void 0, void 0, function* () {
22514
+ return this._context.withAsyncErrorTeedToState((...args) => __awaiter$p(this, void 0, void 0, function* () {
22513
22515
  const message = yield chatThreadClient.getMessage(...args);
22514
22516
  this._context.setChatMessage(chatThreadClient.threadId, convertChatMessage(message));
22515
22517
  return message;
22516
22518
  }), 'ChatThreadClient.getMessage');
22517
22519
  }
22518
22520
  case 'sendMessage': {
22519
- return this._context.withAsyncErrorTeedToState((...args) => __awaiter$o(this, void 0, void 0, function* () {
22521
+ return this._context.withAsyncErrorTeedToState((...args) => __awaiter$p(this, void 0, void 0, function* () {
22520
22522
  var _a;
22521
22523
  // Retry logic?
22522
22524
  const [request, options] = args;
@@ -22557,7 +22559,7 @@ class ProxyChatThreadClient {
22557
22559
  }), 'ChatThreadClient.sendMessage');
22558
22560
  }
22559
22561
  case 'addParticipants': {
22560
- return this._context.withAsyncErrorTeedToState((...args) => __awaiter$o(this, void 0, void 0, function* () {
22562
+ return this._context.withAsyncErrorTeedToState((...args) => __awaiter$p(this, void 0, void 0, function* () {
22561
22563
  const result = yield chatThreadClient.addParticipants(...args);
22562
22564
  const [addRequest] = args;
22563
22565
  const participantsToAdd = addRequest.participants;
@@ -22566,7 +22568,7 @@ class ProxyChatThreadClient {
22566
22568
  }), 'ChatThreadClient.addParticipants');
22567
22569
  }
22568
22570
  case 'deleteMessage': {
22569
- return this._context.withAsyncErrorTeedToState((...args) => __awaiter$o(this, void 0, void 0, function* () {
22571
+ return this._context.withAsyncErrorTeedToState((...args) => __awaiter$p(this, void 0, void 0, function* () {
22570
22572
  // DeleteMessage is able to either delete local one(for failed message) or synced message
22571
22573
  const [messageId] = args;
22572
22574
  if (this._context.deleteLocalMessage(chatThreadClient.threadId, messageId)) {
@@ -22584,12 +22586,12 @@ class ProxyChatThreadClient {
22584
22586
  return createDecoratedListReadReceipts(chatThreadClient, this._context);
22585
22587
  }
22586
22588
  case 'sendTypingNotification': {
22587
- return this._context.withAsyncErrorTeedToState((...args) => __awaiter$o(this, void 0, void 0, function* () {
22589
+ return this._context.withAsyncErrorTeedToState((...args) => __awaiter$p(this, void 0, void 0, function* () {
22588
22590
  return yield chatThreadClient.sendTypingNotification(...args);
22589
22591
  }), 'ChatThreadClient.sendTypingNotification');
22590
22592
  }
22591
22593
  case 'removeParticipant': {
22592
- return this._context.withAsyncErrorTeedToState((...args) => __awaiter$o(this, void 0, void 0, function* () {
22594
+ return this._context.withAsyncErrorTeedToState((...args) => __awaiter$p(this, void 0, void 0, function* () {
22593
22595
  const result = yield chatThreadClient.removeParticipant(...args);
22594
22596
  const [removeIdentifier] = args;
22595
22597
  this._context.deleteParticipant(chatThreadClient.threadId, communicationCommon.getIdentifierKind(removeIdentifier));
@@ -22597,7 +22599,7 @@ class ProxyChatThreadClient {
22597
22599
  }), 'ChatThreadClient.removeParticipant');
22598
22600
  }
22599
22601
  case 'updateMessage': {
22600
- return this._context.withAsyncErrorTeedToState((...args) => __awaiter$o(this, void 0, void 0, function* () {
22602
+ return this._context.withAsyncErrorTeedToState((...args) => __awaiter$p(this, void 0, void 0, function* () {
22601
22603
  const result = yield chatThreadClient.updateMessage(...args);
22602
22604
  const [messageId, updateOption] = args;
22603
22605
  this._context.updateChatMessageContent(chatThreadClient.threadId, messageId, updateOption === null || updateOption === void 0 ? void 0 : updateOption.content);
@@ -22605,7 +22607,7 @@ class ProxyChatThreadClient {
22605
22607
  }), 'ChatThreadClient.updateMessage');
22606
22608
  }
22607
22609
  case 'updateTopic': {
22608
- return this._context.withAsyncErrorTeedToState((...args) => __awaiter$o(this, void 0, void 0, function* () {
22610
+ return this._context.withAsyncErrorTeedToState((...args) => __awaiter$p(this, void 0, void 0, function* () {
22609
22611
  const result = yield chatThreadClient.updateTopic(...args);
22610
22612
  const [topic] = args;
22611
22613
  this._context.updateThreadTopic(chatThreadClient.threadId, topic);
@@ -22613,7 +22615,7 @@ class ProxyChatThreadClient {
22613
22615
  }), 'ChatThreadClient.updateTopic');
22614
22616
  }
22615
22617
  case 'getProperties': {
22616
- return this._context.withAsyncErrorTeedToState((...args) => __awaiter$o(this, void 0, void 0, function* () {
22618
+ return this._context.withAsyncErrorTeedToState((...args) => __awaiter$p(this, void 0, void 0, function* () {
22617
22619
  const result = yield chatThreadClient.getProperties(...args);
22618
22620
  this._context.updateThread(chatThreadClient.threadId, result);
22619
22621
  return result;
@@ -22651,7 +22653,7 @@ const createDecoratedListThreads = (chatClient, context) => {
22651
22653
 
22652
22654
  // Copyright (c) Microsoft Corporation.
22653
22655
  // Licensed under the MIT License.
22654
- var __awaiter$n = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
22656
+ var __awaiter$o = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
22655
22657
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
22656
22658
  return new (P || (P = Promise))(function (resolve, reject) {
22657
22659
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -22670,7 +22672,7 @@ const proxyChatClient = {
22670
22672
  switch (prop) {
22671
22673
  case 'createChatThread': {
22672
22674
  return context.withAsyncErrorTeedToState(function (...args) {
22673
- return __awaiter$n(this, void 0, void 0, function* () {
22675
+ return __awaiter$o(this, void 0, void 0, function* () {
22674
22676
  const result = yield chatClient.createChatThread(...args);
22675
22677
  const thread = result.chatThread;
22676
22678
  if (thread) {
@@ -22683,7 +22685,7 @@ const proxyChatClient = {
22683
22685
  }
22684
22686
  case 'deleteChatThread': {
22685
22687
  return context.withAsyncErrorTeedToState(function (...args) {
22686
- return __awaiter$n(this, void 0, void 0, function* () {
22688
+ return __awaiter$o(this, void 0, void 0, function* () {
22687
22689
  const result = yield chatClient.deleteChatThread(...args);
22688
22690
  context.deleteThread(args[0]);
22689
22691
  return result;
@@ -22703,7 +22705,7 @@ const proxyChatClient = {
22703
22705
  }
22704
22706
  case 'startRealtimeNotifications': {
22705
22707
  return context.withAsyncErrorTeedToState(function (...args) {
22706
- return __awaiter$n(this, void 0, void 0, function* () {
22708
+ return __awaiter$o(this, void 0, void 0, function* () {
22707
22709
  const ret = yield chatClient.startRealtimeNotifications(...args);
22708
22710
  if (!receiver.eventSubscriber) {
22709
22711
  receiver.eventSubscriber = new EventSubscriber(chatClient, context);
@@ -22714,7 +22716,7 @@ const proxyChatClient = {
22714
22716
  }
22715
22717
  case 'stopRealtimeNotifications': {
22716
22718
  return context.withAsyncErrorTeedToState(function (...args) {
22717
- return __awaiter$n(this, void 0, void 0, function* () {
22719
+ return __awaiter$o(this, void 0, void 0, function* () {
22718
22720
  const ret = yield chatClient.stopRealtimeNotifications(...args);
22719
22721
  if (receiver.eventSubscriber) {
22720
22722
  receiver.eventSubscriber.unsubscribe();
@@ -22944,7 +22946,7 @@ const CallCompositeIcon = (props) => (React.createElement(react.FontIcon, Object
22944
22946
  */
22945
22947
  const CallWithChatCompositeIcon = (props) => (React.createElement(react.FontIcon, Object.assign({}, props)));
22946
22948
 
22947
- var call$k={cameraLabel:"Camera",noCamerasLabel:"No cameras found",cameraPermissionDenied:"Your browser is blocking access to your camera",cameraTurnedOff:"Your camera is turned off",chatButtonLabel:"Chat",close:"Close",complianceBannerNowOnlyRecording:"You are now only recording this meeting.",complianceBannerNowOnlyTranscription:"You are now only transcribing this meeting.",complianceBannerRecordingAndTranscriptionSaved:"Recording and transcription are being saved.",complianceBannerRecordingAndTranscriptionStarted:"Recording and transcription have started.",complianceBannerRecordingAndTranscriptionStopped:"Recording and transcription have stopped.",complianceBannerRecordingSaving:"Recording is being saved.",complianceBannerRecordingStarted:"Recording has started.",complianceBannerRecordingStopped:"Recording has stopped.",complianceBannerTranscriptionStarted:"Transcription has started.",complianceBannerTranscriptionConsent:"By joining, you are giving consent for this meeting to be transcribed.",complianceBannerTranscriptionSaving:"Transcription is being saved.",complianceBannerTranscriptionStopped:"Transcription has stopped.",configurationPageTitle:"Start a call",copyInviteLinkButtonLabel:"Copy invite link",copyInviteLinkActionedAriaLabel:"Invite link copied",defaultPlaceHolder:"Select an option",dismissSidePaneButtonLabel:"Close",videoEffectsPaneTitle:"Effects",videoEffectsPaneBackgroundSelectionTitle:"Background",configurationPageVideoEffectsButtonLabel:"Effects",unableToStartVideoEffect:"Unable to apply video effect.",blurBackgroundEffectButtonLabel:"Blur",blurBackgroundTooltip:"Blur Background",removeBackgroundEffectButtonLabel:"None",removeBackgroundTooltip:"Remove Background",cameraOffBackgroundEffectWarningText:"Your camera is off. Turn on camera to see video effect.",failedToJoinCallDueToNoNetworkMoreDetails:"Call was disconnected due to a network issue. Check your connection and join again.",failedToJoinCallDueToNoNetworkTitle:"Call disconnected",failedToJoinTeamsMeetingReasonAccessDeniedMoreDetails:"You were not granted entry in the call. If this was a mistake, re-join the call.",failedToJoinTeamsMeetingReasonAccessDeniedTitle:"Dismissed from lobby",learnMore:"Learn more",leavingCallTitle:"Leaving...",leftCallMoreDetails:"If this was a mistake, re-join the call.",leftCallTitle:"You left the call",lobbyScreenConnectingToCallTitle:"Joining call",lobbyScreenWaitingToBeAdmittedTitle:"Waiting to be admitted",microphonePermissionDenied:"Your browser is blocking access to your microphone",microphoneToggleInLobbyNotAllowed:"Cannot mute or unmute while in lobby.",mutedMessage:"You're muted",networkReconnectMoreDetails:"Looks like something went wrong. We're trying to get back into the call.",networkReconnectTitle:"Hold on",notInvitedToRoomDetails:"You are not able to join this room because you do not have an invite.",notInvitedToRoomTitle:"Not invited to room",peopleButtonLabel:"People",selectedPeopleButtonLabel:"People Button Selected",peoplePaneTitle:"People",peopleButtonTooltipOpen:"Show participants",peopleButtonTooltipClose:"Hide participants",peoplePaneSubTitle:"In this call {numberOfPeople}",privacyPolicy:"Privacy policy",rejoinCallButtonLabel:"Re-join call",removedFromCallMoreDetails:"Another participant removed you from the call.",removedFromCallTitle:"You were removed",removeMenuLabel:"Remove",startSpotlightParticipantListMenuLabel:"Spotlight for everyone",addSpotlightParticipantListMenuLabel:"Add spotlight",stopSpotlightParticipantListMenuLabel:"Stop spotlighting",stopSpotlightOnSelfParticipantListMenuLabel:"Exit spotlight",returnToCallButtonAriaDescription:"Return to Call",returnToCallButtonAriaLabel:"Back",roomNotFoundDetails:"The room ID provided could not be found.",roomNotFoundTitle:"Room not found",roomNotValidDetails:"This room is not valid at this current time.",roomNotValidTitle:"Room not valid",inviteToRoomRemovedDetails:"Your invite to join this room was removed.",inviteToRoomRemovedTitle:"Invite to room removed",soundLabel:"Sound",noMicrophonesLabel:"No microphones found",noSpeakersLabel:"No speakers found",startCallButtonLabel:"Start call",openDialpadButtonLabel:"Dial phone number",peoplePaneAddPeopleButtonLabel:"Add People",dialpadStartCallButtonLabel:"Call",dialpadModalTitle:"Dial Phone Number",dialpadModalAriaLabel:"Dialpad",dialpadCloseModalButtonAriaLabel:"Close dialpad",moreButtonCallingLabel:"More",resumeCallButtonLabel:"Resume",resumingCallButtonLabel:"Resuming...",resumeCallButtonAriaLabel:"Resume call",resumingCallButtonAriaLabel:"Resume call",holdScreenLabel:"You're on hold",openDtmfDialpadLabel:"Show dialpad",dtmfDialpadPlaceholderText:"Enter number",outboundCallingNoticeString:"Calling...",participantJoinedNoticeString:"{displayName} joined",twoParticipantJoinedNoticeString:"{displayName1} and {displayName2} have joined",threeParticipantJoinedNoticeString:"{displayName1}, {displayName2} and {displayName3} have joined",participantLeftNoticeString:"{displayName} left",twoParticipantLeftNoticeString:"{displayName1} and {displayName2} have left",threeParticipantLeftNoticeString:"{displayName1}, {displayName2} and {displayName3} have left",unnamedParticipantString:"unnamed participant",manyUnnamedParticipantsJoined:"unnamed participant and {numOfParticipants} other participants joined",manyUnnamedParticipantsLeft:"unnamed participant and {numOfParticipants} other participants left",manyParticipantsJoined:"{displayName1}, {displayName2}, {displayName3} and {numOfParticipants} other participants joined",manyParticipantsLeft:"{displayName1}, {displayName2}, {displayName3} and {numOfParticipants} other participants left",liveCaptionsLabel:"Live captions",captionsSettingsLabel:"Caption settings",startCaptionsButtonOnLabel:"Turn on captions",startCaptionsButtonOffLabel:"Turn off captions",startCaptionsButtonTooltipOnContent:"Turn off captions",startCaptionsButtonTooltipOffContent:"Turn on captions",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",captionsBannerMoreButtonCallingLabel:"More",captionsBannerMoreButtonTooltip:"More options",dismissModalAriaLabel:"Local and remote picture and picture, press enter to return to call",callRejectedTitle:"The call could not be completed",callRejectedMoreDetails:"The person you are trying to reach is unavailable. Please try again later.",callTimeoutTitle:"The call could not be completed",callTimeoutDetails:"The person you are trying to reach is unavailable. Please try again later.",callTimeoutBotTitle:"The call could not be completed",callTimeoutBotDetails:"The service that you are trying to reach is unavailable. Please try again later.",dtmfDialerButtonLabel:"Dialpad",dtmfDialerButtonTooltipOn:"Show dialpad",dtmfDialerButtonTooltipOff:"Hide dialpad",dtmfDialerMoreButtonLabelOn:"Show dialpad",dtmfDialerMoreButtonLabelOff:"Hide dialpad",spokenLanguageStrings:{"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"},captionLanguageStrings:{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"},captionsBannerSpinnerText:"Starting captions...",transferPageTransferorText:"Transferring...",transferPageTransferTargetText:"Connecting...",transferPageUnknownTransferorDisplayName:"Unknown",transferPageUnknownTransferTargetDisplayName:"Unknown",transferPageNoticeString:"You are being transferred",participantCouldNotBeReachedTitle:"Target participant is currently not available",participantCouldNotBeReachedMoreDetails:"Please contact participant when they are available",permissionToReachTargetParticipantNotAllowedTitle:"Permission to reach target participant is not allowed",permissionToReachTargetParticipantNotAllowedMoreDetails:"Please check that the target participant is in the same tenant",unableToResolveTenantTitle:"Unable to resolve tenant id for the target participant",unableToResolveTenantMoreDetails:"Please check the participant id is entered correctly",participantIdIsMalformedTitle:"Participant id is not in the correct format",participantIdIsMalformedMoreDetails:"Please check that the participant id is in the correct format",moreButtonGalleryControlLabel:"View",moreButtonGalleryPositionToggleLabel:"Move gallery to top",moreButtonGallerySpeakerLayoutLabel:"Speaker",moreButtonGalleryFloatingLocalLayoutLabel:"Dynamic",moreButtonGalleryDefaultLayoutLabel:"Gallery view",moreButtonGalleryFocusedContentLayoutLabel:"Focus on content",moreButtonLargeGalleryDefaultLayoutLabel:"Large Gallery",capabilityChangedNotification:{turnVideoOn:{lostDueToMeetingOption:"Your camera has been disabled. You can no longer share video.",grantedDueToMeetingOption:"Your camera has been enabled. Turn it on if you'd like to share video."},unmuteMic:{lostDueToMeetingOption:"Your mic has been disabled. You can no longer unmute.",grantedDueToMeetingOption:"Your mic has been enabled. Unmute if you'd like to speak."},shareScreen:{lostDueToRoleChangeToAttendee:"Your role has been changed. Some actions, like sharing content, won't be available to you.",grantedDueToRoleChangeToPresenter:"You're a presenter. You can share content and facilitate the meeting."}},surveyTitle:"Help us improve",starSurveyHelperText:"How was the quality of the call?",starSurveyOneStarText:"The quality was bad.",starSurveyTwoStarText:"The quality was poor.",starSurveyThreeStarText:"The quality was good.",starSurveyFourStarText:"The quality was great.",starSurveyFiveStarText:"The quality was excellent.",surveyConfirmButtonLabel:"Send Feedback",starRatingAriaLabel:"Select {0} of {1} stars",surveySkipButtonLabel:"Skip",tagsSurveyQuestion:"What could have been better?",tagsSurveyTextFieldDefaultText:"Other, please specify",tagsSurveyHelperText:"Check any issues you experienced",surveyTextboxDefaultText:"Other, please specify",endOfSurveyText:"Thank you for your feedback!",surveyIssues:{overallRating:{callCannotJoin:"I could not join call",callCannotInvite:"I could not invite others into the call",hadToRejoin:"I had to rejoin the call",callEndedUnexpectedly:"Call ended for me unexpectedly",otherIssues:"I was having other issues with the call"},audioRating:{noLocalAudio:"The other side could not hear any sound",noRemoteAudio:"I could not hear any sound",echo:"I heard echos on the call",audioNoise:"I heard noise on the call",lowVolume:"Volume was low",audioStoppedUnexpectedly:"Audio stopped unexpectedly",distortedSpeech:"Audio was distorted",audioInterruption:"Audio was interrupted",otherIssues:"I was having other audio issues in this call"},videoRating:{noVideoReceived:"I could not see any video",noVideoSent:"Others could not see me",lowQuality:"Video quality was low",freezes:"Video frozen",stoppedUnexpectedly:"Video stopped unexpectedly",darkVideoReceived:"I can only see dark screens when others turn on their camera",audioVideoOutOfSync:"Audio and Video was out of sync",otherIssues:"I was having other video issues in this call"},screenshareRating:{noContentLocal:"Other people could not see my screenshare",noContentRemote:"I could not see other people's screenshare",cannotPresent:"I could not present my screen",lowQuality:"Screen share quality was low",freezes:"Screen share frozen",stoppedUnexpectedly:"Screen share stopped unexpectedly",largeDelay:"Screen share has a large delay",otherIssues:"I was having other screen share issues in this call"}},SurveyIssuesHeadingStrings:{overallRating:"Overall",audioRating:"Audio",videoRating:"Video",screenshareRating:"Presenting"}};var chat$k={chatListHeader:"In this chat",uploadFile:"Upload File"};var callWithChat$k={chatButtonLabel:"Chat",chatButtonNewMessageNotificationLabel:"New Message",chatButtonTooltipClosedWithMessageCount:"Show chat ({unreadMessagesCount} unread)",chatButtonTooltipClose:"Hide chat",chatButtonTooltipOpen:"Show chat",chatPaneTitle:"Chat",copyInviteLinkButtonLabel:"Copy invite link",copyInviteLinkActionedAriaLabel:"Invite link copied",dismissSidePaneButtonLabel:"Close",moreDrawerAudioDeviceMenuTitle:"Audio Device",moreDrawerButtonLabel:"More options",moreDrawerButtonTooltip:"More options",moreDrawerMicrophoneMenuTitle:"Microphone",moreDrawerSpeakerMenuTitle:"Speaker",moreDrawerCaptionsMenuTitle:"Live captions",moreDrawerSpokenLanguageMenuTitle:"Spoken language",moreDrawerCaptionLanguageMenuTitle:"Caption language",moreDrawerGalleryOptionsMenuTitle:"Gallery options",peopleButtonLabel:"People",selectedPeopleButtonLabel:"People Button Selected",peopleButtonTooltipOpen:"Show participants",peopleButtonTooltipClose:"Hide participants",peoplePaneSubTitle:"In this call",peoplePaneTitle:"People",pictureInPictureTileAriaLabel:"Video Feeds. Click to return to call screen.",removeMenuLabel:"Remove",openDialpadButtonLabel:"Dial phone number",returnToCallButtonAriaDescription:"Return to Call",returnToCallButtonAriaLabel:"Back",peoplePaneAddPeopleButtonLabel:"Add People",dialpadStartCallButtonLabel:"Call",dialpadModalTitle:"Dial Phone Number",dialpadModalAriaLabel:"Dialpad",dialpadCloseModalButtonAriaLabel:"Close dialpad",openDtmfDialpadLabel:"Show dialpad",dtmfDialpadPlaceholderText:"Enter number"};var en_US = {call:call$k,chat:chat$k,callWithChat:callWithChat$k};
22949
+ var call$k={cameraLabel:"Camera",noCamerasLabel:"No cameras found",cameraPermissionDenied:"Your browser is blocking access to your camera",cameraTurnedOff:"Your camera is turned off",chatButtonLabel:"Chat",close:"Close",complianceBannerNowOnlyRecording:"You are now only recording this meeting.",complianceBannerNowOnlyTranscription:"You are now only transcribing this meeting.",complianceBannerRecordingAndTranscriptionSaved:"Recording and transcription are being saved.",complianceBannerRecordingAndTranscriptionStarted:"Recording and transcription have started.",complianceBannerRecordingAndTranscriptionStopped:"Recording and transcription have stopped.",complianceBannerRecordingSaving:"Recording is being saved.",complianceBannerRecordingStarted:"Recording has started.",complianceBannerRecordingStopped:"Recording has stopped.",complianceBannerTranscriptionStarted:"Transcription has started.",complianceBannerTranscriptionConsent:"By joining, you are giving consent for this meeting to be transcribed.",complianceBannerTranscriptionSaving:"Transcription is being saved.",complianceBannerTranscriptionStopped:"Transcription has stopped.",configurationPageTitle:"Start a call",copyInviteLinkButtonLabel:"Copy invite link",copyInviteLinkActionedAriaLabel:"Invite link copied",defaultPlaceHolder:"Select an option",dismissSidePaneButtonLabel:"Close",videoEffectsPaneTitle:"Effects",videoEffectsPaneBackgroundSelectionTitle:"Background",configurationPageVideoEffectsButtonLabel:"Effects",unableToStartVideoEffect:"Unable to apply video effect.",blurBackgroundEffectButtonLabel:"Blur",blurBackgroundTooltip:"Blur Background",removeBackgroundEffectButtonLabel:"None",removeBackgroundTooltip:"Remove Background",cameraOffBackgroundEffectWarningText:"Your camera is off. Turn on camera to see video effect.",failedToJoinCallDueToNoNetworkMoreDetails:"Call was disconnected due to a network issue. Check your connection and join again.",failedToJoinCallDueToNoNetworkTitle:"Call disconnected",failedToJoinTeamsMeetingReasonAccessDeniedMoreDetails:"You were not granted entry in the call. If this was a mistake, re-join the call.",failedToJoinTeamsMeetingReasonAccessDeniedTitle:"Dismissed from lobby",learnMore:"Learn more",leavingCallTitle:"Leaving...",leftCallMoreDetails:"If this was a mistake, re-join the call.",leftCallTitle:"You left the call",lobbyScreenConnectingToCallTitle:"Joining call",lobbyScreenWaitingToBeAdmittedTitle:"Waiting to be admitted",microphonePermissionDenied:"Your browser is blocking access to your microphone",microphoneToggleInLobbyNotAllowed:"Cannot mute or unmute while in lobby.",mutedMessage:"You're muted",networkReconnectMoreDetails:"Looks like something went wrong. We're trying to get back into the call.",networkReconnectTitle:"Hold on",notInvitedToRoomDetails:"You are not able to join this room because you do not have an invite.",notInvitedToRoomTitle:"Not invited to room",peopleButtonLabel:"People",selectedPeopleButtonLabel:"People Button Selected",peoplePaneTitle:"People",peopleButtonTooltipOpen:"Show participants",peopleButtonTooltipClose:"Hide participants",peoplePaneSubTitle:"In this call {numberOfPeople}",privacyPolicy:"Privacy policy",rejoinCallButtonLabel:"Re-join call",removedFromCallMoreDetails:"Another participant removed you from the call.",removedFromCallTitle:"You were removed",removeMenuLabel:"Remove",startSpotlightParticipantListMenuLabel:"Spotlight for everyone",addSpotlightParticipantListMenuLabel:"Add spotlight",stopSpotlightParticipantListMenuLabel:"Stop spotlighting",stopSpotlightOnSelfParticipantListMenuLabel:"Exit spotlight",returnToCallButtonAriaDescription:"Return to Call",returnToCallButtonAriaLabel:"Back",roomNotFoundDetails:"The room ID provided could not be found.",roomNotFoundTitle:"Room not found",roomNotValidDetails:"This room is not valid at this current time.",roomNotValidTitle:"Room not valid",inviteToRoomRemovedDetails:"Your invite to join this room was removed.",inviteToRoomRemovedTitle:"Invite to room removed",soundLabel:"Sound",noMicrophonesLabel:"No microphones found",noSpeakersLabel:"No speakers found",startCallButtonLabel:"Start call",openDialpadButtonLabel:"Dial phone number",peoplePaneAddPeopleButtonLabel:"Add People",dialpadStartCallButtonLabel:"Call",dialpadModalTitle:"Dial Phone Number",dialpadModalAriaLabel:"Dialpad",dialpadCloseModalButtonAriaLabel:"Close dialpad",moreButtonCallingLabel:"More",resumeCallButtonLabel:"Resume",resumingCallButtonLabel:"Resuming...",resumeCallButtonAriaLabel:"Resume call",resumingCallButtonAriaLabel:"Resume call",holdScreenLabel:"You're on hold",openDtmfDialpadLabel:"Show dialpad",dtmfDialpadPlaceholderText:"Enter number",outboundCallingNoticeString:"Calling...",participantJoinedNoticeString:"{displayName} joined",twoParticipantJoinedNoticeString:"{displayName1} and {displayName2} have joined",threeParticipantJoinedNoticeString:"{displayName1}, {displayName2} and {displayName3} have joined",participantLeftNoticeString:"{displayName} left",twoParticipantLeftNoticeString:"{displayName1} and {displayName2} have left",threeParticipantLeftNoticeString:"{displayName1}, {displayName2} and {displayName3} have left",unnamedParticipantString:"unnamed participant",manyUnnamedParticipantsJoined:"unnamed participant and {numOfParticipants} other participants joined",manyUnnamedParticipantsLeft:"unnamed participant and {numOfParticipants} other participants left",manyParticipantsJoined:"{displayName1}, {displayName2}, {displayName3} and {numOfParticipants} other participants joined",manyParticipantsLeft:"{displayName1}, {displayName2}, {displayName3} and {numOfParticipants} other participants left",liveCaptionsLabel:"Live captions",captionsSettingsLabel:"Caption settings",startCaptionsButtonOnLabel:"Turn on captions",startCaptionsButtonOffLabel:"Turn off captions",startCaptionsButtonTooltipOnContent:"Turn off captions",startCaptionsButtonTooltipOffContent:"Turn on captions",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",captionsBannerMoreButtonCallingLabel:"More",captionsBannerMoreButtonTooltip:"More options",dismissModalAriaLabel:"Local and remote picture and picture, press enter to return to call",callRejectedTitle:"The call could not be completed",callRejectedMoreDetails:"The person you are trying to reach is unavailable. Please try again later.",callTimeoutTitle:"The call could not be completed",callTimeoutDetails:"The person you are trying to reach is unavailable. Please try again later.",callTimeoutBotTitle:"The call could not be completed",callTimeoutBotDetails:"The service that you are trying to reach is unavailable. Please try again later.",dtmfDialerButtonLabel:"Dialpad",dtmfDialerButtonTooltipOn:"Show dialpad",dtmfDialerButtonTooltipOff:"Hide dialpad",dtmfDialerMoreButtonLabelOn:"Show dialpad",dtmfDialerMoreButtonLabelOff:"Hide dialpad",spokenLanguageStrings:{"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"},captionLanguageStrings:{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"},captionsBannerSpinnerText:"Starting captions...",transferPageTransferorText:"Transferring...",transferPageTransferTargetText:"Connecting...",transferPageUnknownTransferorDisplayName:"Unknown",transferPageUnknownTransferTargetDisplayName:"Unknown",transferPageNoticeString:"You are being transferred",participantCouldNotBeReachedTitle:"Target participant is currently not available",participantCouldNotBeReachedMoreDetails:"Please contact participant when they are available",permissionToReachTargetParticipantNotAllowedTitle:"Permission to reach target participant is not allowed",permissionToReachTargetParticipantNotAllowedMoreDetails:"Please check that the target participant is in the same tenant",unableToResolveTenantTitle:"Unable to resolve tenant id for the target participant",unableToResolveTenantMoreDetails:"Please check the participant id is entered correctly",participantIdIsMalformedTitle:"Participant id is not in the correct format",participantIdIsMalformedMoreDetails:"Please check that the participant id is in the correct format",moreButtonGalleryControlLabel:"View",moreButtonGalleryPositionToggleLabel:"Move gallery to top",moreButtonGallerySpeakerLayoutLabel:"Speaker",moreButtonGalleryFloatingLocalLayoutLabel:"Dynamic",moreButtonGalleryDefaultLayoutLabel:"Gallery view",moreButtonGalleryFocusedContentLayoutLabel:"Focus on content",moreButtonLargeGalleryDefaultLayoutLabel:"Large Gallery",capabilityChangedNotification:{turnVideoOn:{lostDueToMeetingOption:"Your camera has been disabled. You can no longer share video.",grantedDueToMeetingOption:"Your camera has been enabled. Turn it on if you'd like to share video."},unmuteMic:{lostDueToMeetingOption:"Your mic has been disabled. You can no longer unmute.",grantedDueToMeetingOption:"Your mic has been enabled. Unmute if you'd like to speak."},shareScreen:{lostDueToRoleChangeToAttendee:"Your role has been changed. Some actions, like sharing content, won't be available to you.",grantedDueToRoleChangeToPresenter:"You're a presenter. You can share content and facilitate the meeting."}},surveyTitle:"Help us improve",starSurveyHelperText:"How was the quality of the call?",starSurveyOneStarText:"The quality was bad.",starSurveyTwoStarText:"The quality was poor.",starSurveyThreeStarText:"The quality was good.",starSurveyFourStarText:"The quality was great.",starSurveyFiveStarText:"The quality was excellent.",surveyConfirmButtonLabel:"Send Feedback",starRatingAriaLabel:"Select {0} of {1} stars",surveySkipButtonLabel:"Skip",tagsSurveyQuestion:"What could have been better?",tagsSurveyTextFieldDefaultText:"Other, please specify",tagsSurveyHelperText:"Check any issues you experienced",surveyTextboxDefaultText:"Other, please specify",endOfSurveyText:"Thank you for your feedback!",surveyIssues:{overallRating:{callCannotJoin:"I could not join call",callCannotInvite:"I could not invite others into the call",hadToRejoin:"I had to rejoin the call",callEndedUnexpectedly:"Call ended for me unexpectedly",otherIssues:"I was having other issues with the call"},audioRating:{noLocalAudio:"The other side could not hear any sound",noRemoteAudio:"I could not hear any sound",echo:"I heard echos on the call",audioNoise:"I heard noise on the call",lowVolume:"Volume was low",audioStoppedUnexpectedly:"Audio stopped unexpectedly",distortedSpeech:"Audio was distorted",audioInterruption:"Audio was interrupted",otherIssues:"I was having other audio issues in this call"},videoRating:{noVideoReceived:"I could not see any video",noVideoSent:"Others could not see me",lowQuality:"Video quality was low",freezes:"Video frozen",stoppedUnexpectedly:"Video stopped unexpectedly",darkVideoReceived:"I can only see dark screens when others turn on their camera",audioVideoOutOfSync:"Audio and Video was out of sync",otherIssues:"I was having other video issues in this call"},screenshareRating:{noContentLocal:"Other people could not see my screenshare",noContentRemote:"I could not see other people's screenshare",cannotPresent:"I could not present my screen",lowQuality:"Screen share quality was low",freezes:"Screen share frozen",stoppedUnexpectedly:"Screen share stopped unexpectedly",largeDelay:"Screen share has a large delay",otherIssues:"I was having other screen share issues in this call"}},SurveyIssuesHeadingStrings:{overallRating:"Overall",audioRating:"Audio",videoRating:"Video",screenshareRating:"Presenting"},spotlightPrompt:{startSpotlightHeading:"Spotlight for everyone?",startSpotlightText:"You'll highlight this video for everyone in the meeting.",startSpotlightOnSelfText:"You'll highlight your video for everyone in the meeting.",startSpotlightConfirmButtonLabel:"Spotlight for everyone",startSpotlightCancelButtonLabel:"Cancel",stopSpotlightHeading:"Stop spotlighting?",stopSpotlightOnSelfHeading:"Exit spotlight?",stopSpotlightText:"This video will no longer be highlighted for everyone in the meeting.",stopSpotlightOnSelfText:"Your video will no longer be highlighted for everyone in the meeting.",stopSpotlightConfirmButtonLabel:"Stop spotlighting",stopSpotlightOnSelfConfirmButtonLabel:"Exit spotlight",stopSpotlightCancelButtonLabel:"Cancel"}};var chat$k={chatListHeader:"In this chat",uploadFile:"Upload File"};var callWithChat$k={chatButtonLabel:"Chat",chatButtonNewMessageNotificationLabel:"New Message",chatButtonTooltipClosedWithMessageCount:"Show chat ({unreadMessagesCount} unread)",chatButtonTooltipClose:"Hide chat",chatButtonTooltipOpen:"Show chat",chatPaneTitle:"Chat",copyInviteLinkButtonLabel:"Copy invite link",copyInviteLinkActionedAriaLabel:"Invite link copied",dismissSidePaneButtonLabel:"Close",moreDrawerAudioDeviceMenuTitle:"Audio Device",moreDrawerButtonLabel:"More options",moreDrawerButtonTooltip:"More options",moreDrawerMicrophoneMenuTitle:"Microphone",moreDrawerSpeakerMenuTitle:"Speaker",moreDrawerCaptionsMenuTitle:"Live captions",moreDrawerSpokenLanguageMenuTitle:"Spoken language",moreDrawerCaptionLanguageMenuTitle:"Caption language",moreDrawerGalleryOptionsMenuTitle:"Gallery options",peopleButtonLabel:"People",selectedPeopleButtonLabel:"People Button Selected",peopleButtonTooltipOpen:"Show participants",peopleButtonTooltipClose:"Hide participants",peoplePaneSubTitle:"In this call",peoplePaneTitle:"People",pictureInPictureTileAriaLabel:"Video Feeds. Click to return to call screen.",removeMenuLabel:"Remove",openDialpadButtonLabel:"Dial phone number",returnToCallButtonAriaDescription:"Return to Call",returnToCallButtonAriaLabel:"Back",peoplePaneAddPeopleButtonLabel:"Add People",dialpadStartCallButtonLabel:"Call",dialpadModalTitle:"Dial Phone Number",dialpadModalAriaLabel:"Dialpad",dialpadCloseModalButtonAriaLabel:"Close dialpad",openDtmfDialpadLabel:"Show dialpad",dtmfDialpadPlaceholderText:"Enter number"};var en_US = {call:call$k,chat:chat$k,callWithChat:callWithChat$k};
22948
22950
 
22949
22951
  // Copyright (c) Microsoft Corporation.
22950
22952
  // Licensed under the MIT License.
@@ -23201,7 +23203,7 @@ const convertObservableFileUploadToFileUploadsUiState = (fileUploads) => {
23201
23203
 
23202
23204
  // Copyright (c) Microsoft Corporation.
23203
23205
  // Licensed under the MIT License.
23204
- var __awaiter$m = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
23206
+ var __awaiter$n = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
23205
23207
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
23206
23208
  return new (P || (P = Promise))(function (resolve, reject) {
23207
23209
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -23336,9 +23338,9 @@ class AzureCommunicationChatAdapter {
23336
23338
  this.unsubscribeAllEvents();
23337
23339
  }
23338
23340
  fetchInitialData() {
23339
- return __awaiter$m(this, void 0, void 0, function* () {
23341
+ return __awaiter$n(this, void 0, void 0, function* () {
23340
23342
  // If get properties fails we dont want to try to get the participants after.
23341
- yield this.asyncTeeErrorToEventEmitter(() => __awaiter$m(this, void 0, void 0, function* () {
23343
+ yield this.asyncTeeErrorToEventEmitter(() => __awaiter$n(this, void 0, void 0, function* () {
23342
23344
  var _a, e_1, _b, _c;
23343
23345
  yield this.chatThreadClient.getProperties();
23344
23346
  try {
@@ -23374,8 +23376,8 @@ class AzureCommunicationChatAdapter {
23374
23376
  this.context.offStateChange(handler);
23375
23377
  }
23376
23378
  sendMessage(content, options = {}) {
23377
- return __awaiter$m(this, void 0, void 0, function* () {
23378
- yield this.asyncTeeErrorToEventEmitter(() => __awaiter$m(this, void 0, void 0, function* () {
23379
+ return __awaiter$n(this, void 0, void 0, function* () {
23380
+ yield this.asyncTeeErrorToEventEmitter(() => __awaiter$n(this, void 0, void 0, function* () {
23379
23381
  /* @conditional-compile-remove(file-sharing) */
23380
23382
  options.metadata = Object.assign(Object.assign({}, options.metadata), convertFileUploadsUiStateToMessageMetadata(this.context.getState().fileUploads));
23381
23383
  /* @conditional-compile-remove(file-sharing) */
@@ -23392,43 +23394,43 @@ class AzureCommunicationChatAdapter {
23392
23394
  });
23393
23395
  }
23394
23396
  sendReadReceipt(chatMessageId) {
23395
- return __awaiter$m(this, void 0, void 0, function* () {
23396
- yield this.asyncTeeErrorToEventEmitter(() => __awaiter$m(this, void 0, void 0, function* () {
23397
+ return __awaiter$n(this, void 0, void 0, function* () {
23398
+ yield this.asyncTeeErrorToEventEmitter(() => __awaiter$n(this, void 0, void 0, function* () {
23397
23399
  yield this.handlers.onMessageSeen(chatMessageId);
23398
23400
  }));
23399
23401
  });
23400
23402
  }
23401
23403
  sendTypingIndicator() {
23402
- return __awaiter$m(this, void 0, void 0, function* () {
23403
- yield this.asyncTeeErrorToEventEmitter(() => __awaiter$m(this, void 0, void 0, function* () {
23404
+ return __awaiter$n(this, void 0, void 0, function* () {
23405
+ yield this.asyncTeeErrorToEventEmitter(() => __awaiter$n(this, void 0, void 0, function* () {
23404
23406
  yield this.handlers.onTyping();
23405
23407
  }));
23406
23408
  });
23407
23409
  }
23408
23410
  removeParticipant(userId) {
23409
- return __awaiter$m(this, void 0, void 0, function* () {
23410
- yield this.asyncTeeErrorToEventEmitter(() => __awaiter$m(this, void 0, void 0, function* () {
23411
+ return __awaiter$n(this, void 0, void 0, function* () {
23412
+ yield this.asyncTeeErrorToEventEmitter(() => __awaiter$n(this, void 0, void 0, function* () {
23411
23413
  yield this.handlers.onRemoveParticipant(userId);
23412
23414
  }));
23413
23415
  });
23414
23416
  }
23415
23417
  setTopic(topicName) {
23416
- return __awaiter$m(this, void 0, void 0, function* () {
23417
- yield this.asyncTeeErrorToEventEmitter(() => __awaiter$m(this, void 0, void 0, function* () {
23418
+ return __awaiter$n(this, void 0, void 0, function* () {
23419
+ yield this.asyncTeeErrorToEventEmitter(() => __awaiter$n(this, void 0, void 0, function* () {
23418
23420
  yield this.handlers.updateThreadTopicName(topicName);
23419
23421
  }));
23420
23422
  });
23421
23423
  }
23422
23424
  loadPreviousChatMessages(messagesToLoad) {
23423
- return __awaiter$m(this, void 0, void 0, function* () {
23424
- return yield this.asyncTeeErrorToEventEmitter(() => __awaiter$m(this, void 0, void 0, function* () {
23425
+ return __awaiter$n(this, void 0, void 0, function* () {
23426
+ return yield this.asyncTeeErrorToEventEmitter(() => __awaiter$n(this, void 0, void 0, function* () {
23425
23427
  return yield this.handlers.onLoadPreviousChatMessages(messagesToLoad);
23426
23428
  }));
23427
23429
  });
23428
23430
  }
23429
23431
  updateMessage(messageId, content, metadata, options) {
23430
- return __awaiter$m(this, void 0, void 0, function* () {
23431
- return yield this.asyncTeeErrorToEventEmitter(() => __awaiter$m(this, void 0, void 0, function* () {
23432
+ return __awaiter$n(this, void 0, void 0, function* () {
23433
+ return yield this.asyncTeeErrorToEventEmitter(() => __awaiter$n(this, void 0, void 0, function* () {
23432
23434
  /* @conditional-compile-remove(file-sharing) */
23433
23435
  const updatedOptions = options ? { attachmentMetadata: options.attachmentMetadata, metadata: metadata } : {};
23434
23436
  /* @conditional-compile-remove(file-sharing) */
@@ -23437,8 +23439,8 @@ class AzureCommunicationChatAdapter {
23437
23439
  });
23438
23440
  }
23439
23441
  deleteMessage(messageId) {
23440
- return __awaiter$m(this, void 0, void 0, function* () {
23441
- return yield this.asyncTeeErrorToEventEmitter(() => __awaiter$m(this, void 0, void 0, function* () {
23442
+ return __awaiter$n(this, void 0, void 0, function* () {
23443
+ return yield this.asyncTeeErrorToEventEmitter(() => __awaiter$n(this, void 0, void 0, function* () {
23442
23444
  return yield this.handlers.onDeleteMessage(messageId);
23443
23445
  }));
23444
23446
  });
@@ -23473,8 +23475,8 @@ class AzureCommunicationChatAdapter {
23473
23475
  }
23474
23476
  /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */
23475
23477
  downloadAttachment(options) {
23476
- return __awaiter$m(this, void 0, void 0, function* () {
23477
- return this.asyncTeeErrorToEventEmitter(() => __awaiter$m(this, void 0, void 0, function* () {
23478
+ return __awaiter$n(this, void 0, void 0, function* () {
23479
+ return this.asyncTeeErrorToEventEmitter(() => __awaiter$n(this, void 0, void 0, function* () {
23478
23480
  if (this.credential === undefined) {
23479
23481
  throw new ChatError('ChatThreadClient.getMessage', new Error('AccessToken is null'));
23480
23482
  }
@@ -23488,9 +23490,9 @@ class AzureCommunicationChatAdapter {
23488
23490
  }
23489
23491
  /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */
23490
23492
  downloadAuthenticatedFile(accessToken, options) {
23491
- return __awaiter$m(this, void 0, void 0, function* () {
23493
+ return __awaiter$n(this, void 0, void 0, function* () {
23492
23494
  function fetchWithAuthentication(url, token) {
23493
- return __awaiter$m(this, void 0, void 0, function* () {
23495
+ return __awaiter$n(this, void 0, void 0, function* () {
23494
23496
  const headers = new Headers();
23495
23497
  headers.append('Authorization', `Bearer ${token}`);
23496
23498
  try {
@@ -23578,7 +23580,7 @@ class AzureCommunicationChatAdapter {
23578
23580
  this.emitter.off(event, listener);
23579
23581
  }
23580
23582
  asyncTeeErrorToEventEmitter(f) {
23581
- return __awaiter$m(this, void 0, void 0, function* () {
23583
+ return __awaiter$n(this, void 0, void 0, function* () {
23582
23584
  try {
23583
23585
  return yield f();
23584
23586
  }
@@ -23628,7 +23630,7 @@ const convertEventType = (type) => {
23628
23630
  *
23629
23631
  * @public
23630
23632
  */
23631
- const createAzureCommunicationChatAdapter = ({ endpoint: endpointUrl, userId, displayName, credential, threadId }) => __awaiter$m(void 0, void 0, void 0, function* () {
23633
+ const createAzureCommunicationChatAdapter = ({ endpoint: endpointUrl, userId, displayName, credential, threadId }) => __awaiter$n(void 0, void 0, void 0, function* () {
23632
23634
  return _createAzureCommunicationChatAdapterInner(endpointUrl, userId, displayName, credential, threadId);
23633
23635
  });
23634
23636
  /**
@@ -23636,7 +23638,7 @@ const createAzureCommunicationChatAdapter = ({ endpoint: endpointUrl, userId, di
23636
23638
  *
23637
23639
  * @internal
23638
23640
  */
23639
- const _createAzureCommunicationChatAdapterInner = (endpoint, userId, displayName, credential, threadId, telemetryImplementationHint = 'Chat') => __awaiter$m(void 0, void 0, void 0, function* () {
23641
+ const _createAzureCommunicationChatAdapterInner = (endpoint, userId, displayName, credential, threadId, telemetryImplementationHint = 'Chat') => __awaiter$n(void 0, void 0, void 0, function* () {
23640
23642
  if (!_isValidIdentifier(userId)) {
23641
23643
  throw new Error('Provided userId is invalid. Please provide valid identifier object.');
23642
23644
  }
@@ -23705,7 +23707,7 @@ beforeDispose) => {
23705
23707
  if (!credential || !displayName || !endpoint || !threadId || !userId) {
23706
23708
  return;
23707
23709
  }
23708
- (() => __awaiter$m(void 0, void 0, void 0, function* () {
23710
+ (() => __awaiter$n(void 0, void 0, void 0, function* () {
23709
23711
  if (adapterRef.current) {
23710
23712
  // Dispose the old adapter when a new one is created.
23711
23713
  //
@@ -23737,7 +23739,7 @@ beforeDispose) => {
23737
23739
  // Dispose any existing adapter when the component unmounts.
23738
23740
  React.useEffect(() => {
23739
23741
  return () => {
23740
- (() => __awaiter$m(void 0, void 0, void 0, function* () {
23742
+ (() => __awaiter$n(void 0, void 0, void 0, function* () {
23741
23743
  if (adapterRef.current) {
23742
23744
  if (beforeDisposeRef.current) {
23743
23745
  yield beforeDisposeRef.current(adapterRef.current);
@@ -23761,7 +23763,7 @@ beforeDispose) => {
23761
23763
  function createAzureCommunicationChatAdapterFromClient(chatClient, chatThreadClient,
23762
23764
  /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */
23763
23765
  options) {
23764
- return __awaiter$m(this, void 0, void 0, function* () {
23766
+ return __awaiter$n(this, void 0, void 0, function* () {
23765
23767
  return new AzureCommunicationChatAdapter(chatClient, chatThreadClient,
23766
23768
  /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ options);
23767
23769
  });
@@ -23995,7 +23997,7 @@ const sendboxContainerStyles = {
23995
23997
 
23996
23998
  // Copyright (c) Microsoft Corporation.
23997
23999
  // Licensed under the MIT License.
23998
- var __awaiter$l = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
24000
+ var __awaiter$m = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
23999
24001
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
24000
24002
  return new (P || (P = Promise))(function (resolve, reject) {
24001
24003
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -24016,7 +24018,7 @@ const AvatarPersona = (props) => {
24016
24018
  const { userId, dataProvider, text, imageUrl, imageInitials, initialsColor, initialsTextColor, showOverflowTooltip } = props;
24017
24019
  const [data, setData] = React.useState();
24018
24020
  React.useEffect(() => {
24019
- (() => __awaiter$l(void 0, void 0, void 0, function* () {
24021
+ (() => __awaiter$m(void 0, void 0, void 0, function* () {
24020
24022
  if (dataProvider && userId) {
24021
24023
  const newData = yield dataProvider(userId);
24022
24024
  if (avatarDeepDifferenceCheck(data, newData)) {
@@ -24433,7 +24435,7 @@ const FileDownloadErrorBar = (props) => {
24433
24435
 
24434
24436
  // Copyright (c) Microsoft Corporation.
24435
24437
  // Licensed under the MIT License.
24436
- var __awaiter$k = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
24438
+ var __awaiter$l = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
24437
24439
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
24438
24440
  return new (P || (P = Promise))(function (resolve, reject) {
24439
24441
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -24460,7 +24462,7 @@ const ChatScreen = (props) => {
24460
24462
  const theme = useTheme();
24461
24463
  React.useEffect(() => {
24462
24464
  // Initial data should be always fetched by the composite(or external caller) instead of the adapter
24463
- const fetchData = () => __awaiter$k(void 0, void 0, void 0, function* () {
24465
+ const fetchData = () => __awaiter$l(void 0, void 0, void 0, function* () {
24464
24466
  // Fetch initial data for adapter
24465
24467
  yield adapter.fetchInitialData();
24466
24468
  // Fetch initial set of messages. Without fetching messages here, if the Composite's adapter is changed the message thread does not load new messages.
@@ -24500,7 +24502,7 @@ const ChatScreen = (props) => {
24500
24502
  setDownloadErrorMessage(errorMessage);
24501
24503
  } })), [fileSharing === null || fileSharing === void 0 ? void 0 : fileSharing.downloadHandler]);
24502
24504
  /* @conditional-compile-remove(image-overlay) */
24503
- const onInlineImageClicked = React.useCallback((attachmentId, messageId) => __awaiter$k(void 0, void 0, void 0, function* () {
24505
+ const onInlineImageClicked = React.useCallback((attachmentId, messageId) => __awaiter$l(void 0, void 0, void 0, function* () {
24504
24506
  var _a, _b;
24505
24507
  const messages = (_a = messageThreadProps.messages) === null || _a === void 0 ? void 0 : _a.filter((message) => {
24506
24508
  return message.messageId === messageId;
@@ -24802,7 +24804,7 @@ const END_CALL_PAGES = [
24802
24804
 
24803
24805
  // Copyright (c) Microsoft Corporation.
24804
24806
  // Licensed under the MIT License.
24805
- var __awaiter$j = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
24807
+ var __awaiter$k = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
24806
24808
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
24807
24809
  return new (P || (P = Promise))(function (resolve, reject) {
24808
24810
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -25138,7 +25140,7 @@ const isDisabled$4 = (option) => {
25138
25140
  /**
25139
25141
  * @returns Permissions state for the camera.
25140
25142
  */
25141
- const queryCameraPermissionFromPermissionsAPI = () => __awaiter$j(void 0, void 0, void 0, function* () {
25143
+ const queryCameraPermissionFromPermissionsAPI = () => __awaiter$k(void 0, void 0, void 0, function* () {
25142
25144
  try {
25143
25145
  return (yield navigator.permissions.query({ name: 'camera' })).state;
25144
25146
  }
@@ -25151,7 +25153,7 @@ const queryCameraPermissionFromPermissionsAPI = () => __awaiter$j(void 0, void 0
25151
25153
  /**
25152
25154
  * @returns Permissions state for the microphone.
25153
25155
  */
25154
- const queryMicrophonePermissionFromPermissionsAPI = () => __awaiter$j(void 0, void 0, void 0, function* () {
25156
+ const queryMicrophonePermissionFromPermissionsAPI = () => __awaiter$k(void 0, void 0, void 0, function* () {
25155
25157
  try {
25156
25158
  return (yield navigator.permissions.query({ name: 'microphone' })).state;
25157
25159
  }
@@ -25168,7 +25170,7 @@ const queryMicrophonePermissionFromPermissionsAPI = () => __awaiter$j(void 0, vo
25168
25170
  * If permission API is not supported on this browser, permission state is set to unsupported.
25169
25171
  * @private
25170
25172
  */
25171
- const getDevicePermissionState = (setVideoState, setAudioState) => __awaiter$j(void 0, void 0, void 0, function* () {
25173
+ const getDevicePermissionState = (setVideoState, setAudioState) => __awaiter$k(void 0, void 0, void 0, function* () {
25172
25174
  const [cameraResult, microphoneResult] = yield Promise.all([
25173
25175
  queryCameraPermissionFromPermissionsAPI(),
25174
25176
  queryMicrophonePermissionFromPermissionsAPI()
@@ -25255,7 +25257,7 @@ const getLocatorOrTargetCallees = (locatorOrTargetCallees) => {
25255
25257
 
25256
25258
  // Copyright (c) Microsoft Corporation.
25257
25259
  // Licensed under the MIT License.
25258
- var __awaiter$i = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
25260
+ var __awaiter$j = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
25259
25261
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
25260
25262
  return new (P || (P = Promise))(function (resolve, reject) {
25261
25263
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -25274,143 +25276,143 @@ _component) => {
25274
25276
  return createCompositeHandlers(useAdapter());
25275
25277
  };
25276
25278
  const createCompositeHandlers = memoizeOne((adapter) => ({
25277
- onCreateLocalStreamView: (options) => __awaiter$i(void 0, void 0, void 0, function* () {
25279
+ onCreateLocalStreamView: (options) => __awaiter$j(void 0, void 0, void 0, function* () {
25278
25280
  return yield adapter.createStreamView(undefined, options);
25279
25281
  }),
25280
- onCreateRemoteStreamView: (userId, options) => __awaiter$i(void 0, void 0, void 0, function* () {
25282
+ onCreateRemoteStreamView: (userId, options) => __awaiter$j(void 0, void 0, void 0, function* () {
25281
25283
  return yield adapter.createStreamView(userId, options);
25282
25284
  }),
25283
- onHangUp: (forEveryone) => __awaiter$i(void 0, void 0, void 0, function* () {
25285
+ onHangUp: (forEveryone) => __awaiter$j(void 0, void 0, void 0, function* () {
25284
25286
  yield adapter.leaveCall(forEveryone);
25285
25287
  }),
25286
25288
  /* @conditional-compile-remove(PSTN-calls) */
25287
- onToggleHold: () => __awaiter$i(void 0, void 0, void 0, function* () {
25289
+ onToggleHold: () => __awaiter$j(void 0, void 0, void 0, function* () {
25288
25290
  var _a;
25289
25291
  return ((_a = adapter.getState().call) === null || _a === void 0 ? void 0 : _a.state) === 'LocalHold' ? yield adapter.resumeCall() : yield adapter.holdCall();
25290
25292
  }),
25291
25293
  /* @conditional-compile-remove(PSTN-calls) */
25292
- onAddParticipant: (participant, options) => __awaiter$i(void 0, void 0, void 0, function* () {
25294
+ onAddParticipant: (participant, options) => __awaiter$j(void 0, void 0, void 0, function* () {
25293
25295
  return yield adapter.addParticipant(participant, options);
25294
25296
  }),
25295
- /* @conditional-compile-remove(PSTN-calls) */
25296
- onSendDtmfTone: (dtmfTone) => __awaiter$i(void 0, void 0, void 0, function* () {
25297
+ /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(dtmf-dialer) */
25298
+ onSendDtmfTone: (dtmfTone) => __awaiter$j(void 0, void 0, void 0, function* () {
25297
25299
  yield adapter.sendDtmfTone(dtmfTone);
25298
25300
  }),
25299
- onRemoveParticipant: (userId) => __awaiter$i(void 0, void 0, void 0, function* () {
25301
+ onRemoveParticipant: (userId) => __awaiter$j(void 0, void 0, void 0, function* () {
25300
25302
  yield adapter.removeParticipant(userId);
25301
25303
  }),
25302
25304
  /* @conditional-compile-remove(raise-hand) */
25303
- onRaiseHand: () => __awaiter$i(void 0, void 0, void 0, function* () {
25305
+ onRaiseHand: () => __awaiter$j(void 0, void 0, void 0, function* () {
25304
25306
  yield adapter.raiseHand();
25305
25307
  }),
25306
25308
  /* @conditional-compile-remove(raise-hand) */
25307
- onLowerHand: () => __awaiter$i(void 0, void 0, void 0, function* () {
25309
+ onLowerHand: () => __awaiter$j(void 0, void 0, void 0, function* () {
25308
25310
  yield adapter.lowerHand();
25309
25311
  }),
25310
25312
  /* @conditional-compile-remove(raise-hand) */
25311
- onToggleRaiseHand: () => __awaiter$i(void 0, void 0, void 0, function* () {
25313
+ onToggleRaiseHand: () => __awaiter$j(void 0, void 0, void 0, function* () {
25312
25314
  var _b;
25313
25315
  ((_b = adapter.getState().call) === null || _b === void 0 ? void 0 : _b.raiseHand.localParticipantRaisedHand)
25314
25316
  ? yield adapter.lowerHand()
25315
25317
  : yield adapter.raiseHand();
25316
25318
  }),
25317
25319
  /* @conditional-compile-remove(reaction) */
25318
- onReactionClicked: (reaction) => __awaiter$i(void 0, void 0, void 0, function* () {
25320
+ onReactionClicked: (reaction) => __awaiter$j(void 0, void 0, void 0, function* () {
25319
25321
  yield adapter.onReactionClicked(reaction);
25320
25322
  }),
25321
- onSelectCamera: (deviceInfo, options) => __awaiter$i(void 0, void 0, void 0, function* () {
25323
+ onSelectCamera: (deviceInfo, options) => __awaiter$j(void 0, void 0, void 0, function* () {
25322
25324
  yield adapter.setCamera(deviceInfo, options);
25323
25325
  }),
25324
- onSelectMicrophone: (deviceInfo) => __awaiter$i(void 0, void 0, void 0, function* () {
25326
+ onSelectMicrophone: (deviceInfo) => __awaiter$j(void 0, void 0, void 0, function* () {
25325
25327
  yield adapter.setMicrophone(deviceInfo);
25326
25328
  }),
25327
- onSelectSpeaker: (deviceInfo) => __awaiter$i(void 0, void 0, void 0, function* () {
25329
+ onSelectSpeaker: (deviceInfo) => __awaiter$j(void 0, void 0, void 0, function* () {
25328
25330
  yield adapter.setSpeaker(deviceInfo);
25329
25331
  }),
25330
25332
  onStartCall: (participants, options) => {
25331
25333
  const rawIds = participants.map((participant) => toFlatCommunicationIdentifier(participant));
25332
25334
  return adapter.startCall(rawIds, options);
25333
25335
  },
25334
- onStartScreenShare: () => __awaiter$i(void 0, void 0, void 0, function* () {
25336
+ onStartScreenShare: () => __awaiter$j(void 0, void 0, void 0, function* () {
25335
25337
  yield adapter.startScreenShare();
25336
25338
  }),
25337
- onStopScreenShare: () => __awaiter$i(void 0, void 0, void 0, function* () {
25339
+ onStopScreenShare: () => __awaiter$j(void 0, void 0, void 0, function* () {
25338
25340
  yield adapter.stopScreenShare();
25339
25341
  }),
25340
- onToggleCamera: (options) => __awaiter$i(void 0, void 0, void 0, function* () {
25342
+ onToggleCamera: (options) => __awaiter$j(void 0, void 0, void 0, function* () {
25341
25343
  isCameraOn(adapter.getState()) ? yield adapter.stopCamera() : yield adapter.startCamera(options);
25342
25344
  }),
25343
- onToggleMicrophone: () => __awaiter$i(void 0, void 0, void 0, function* () {
25345
+ onToggleMicrophone: () => __awaiter$j(void 0, void 0, void 0, function* () {
25344
25346
  var _c;
25345
25347
  return ((_c = adapter.getState().call) === null || _c === void 0 ? void 0 : _c.isMuted) ? yield adapter.unmute() : yield adapter.mute();
25346
25348
  }),
25347
- onToggleScreenShare: () => __awaiter$i(void 0, void 0, void 0, function* () {
25349
+ onToggleScreenShare: () => __awaiter$j(void 0, void 0, void 0, function* () {
25348
25350
  var _d;
25349
25351
  return ((_d = adapter.getState().call) === null || _d === void 0 ? void 0 : _d.isScreenSharingOn)
25350
25352
  ? yield adapter.stopScreenShare()
25351
25353
  : yield adapter.startScreenShare();
25352
25354
  }),
25353
- onStartLocalVideo: () => __awaiter$i(void 0, void 0, void 0, function* () {
25355
+ onStartLocalVideo: () => __awaiter$j(void 0, void 0, void 0, function* () {
25354
25356
  if (adapter.getState().call) {
25355
25357
  return adapter.startCamera();
25356
25358
  }
25357
25359
  }),
25358
- onDisposeLocalStreamView: () => __awaiter$i(void 0, void 0, void 0, function* () {
25360
+ onDisposeLocalStreamView: () => __awaiter$j(void 0, void 0, void 0, function* () {
25359
25361
  return adapter.disposeLocalVideoStreamView();
25360
25362
  }),
25361
- onDisposeRemoteStreamView: (userId) => __awaiter$i(void 0, void 0, void 0, function* () {
25363
+ onDisposeRemoteStreamView: (userId) => __awaiter$j(void 0, void 0, void 0, function* () {
25362
25364
  return adapter.disposeStreamView(userId);
25363
25365
  }),
25364
- onDisposeRemoteScreenShareStreamView: (userId) => __awaiter$i(void 0, void 0, void 0, function* () {
25366
+ onDisposeRemoteScreenShareStreamView: (userId) => __awaiter$j(void 0, void 0, void 0, function* () {
25365
25367
  return adapter.disposeScreenShareStreamView(userId);
25366
25368
  }),
25367
- onDisposeRemoteVideoStreamView: (userId) => __awaiter$i(void 0, void 0, void 0, function* () {
25369
+ onDisposeRemoteVideoStreamView: (userId) => __awaiter$j(void 0, void 0, void 0, function* () {
25368
25370
  return adapter.disposeRemoteVideoStreamView(userId);
25369
25371
  }),
25370
25372
  /* @conditional-compile-remove(call-readiness) */
25371
- askDevicePermission: (constrain) => __awaiter$i(void 0, void 0, void 0, function* () {
25373
+ askDevicePermission: (constrain) => __awaiter$j(void 0, void 0, void 0, function* () {
25372
25374
  return adapter.askDevicePermission(constrain);
25373
25375
  }),
25374
25376
  /* @conditional-compile-remove(video-background-effects) */
25375
- onRemoveVideoBackgroundEffects: () => __awaiter$i(void 0, void 0, void 0, function* () {
25377
+ onRemoveVideoBackgroundEffects: () => __awaiter$j(void 0, void 0, void 0, function* () {
25376
25378
  return yield adapter.stopVideoBackgroundEffects();
25377
25379
  }),
25378
25380
  /* @conditional-compile-remove(video-background-effects) */
25379
- onBlurVideoBackground: (backgroundBlurConfig) => __awaiter$i(void 0, void 0, void 0, function* () {
25381
+ onBlurVideoBackground: (backgroundBlurConfig) => __awaiter$j(void 0, void 0, void 0, function* () {
25380
25382
  const blurConfig = Object.assign({ effectName: 'blur' }, backgroundBlurConfig);
25381
25383
  return yield adapter.startVideoBackgroundEffect(blurConfig);
25382
25384
  }),
25383
25385
  /* @conditional-compile-remove(video-background-effects) */
25384
- onReplaceVideoBackground: (backgroundReplacementConfig) => __awaiter$i(void 0, void 0, void 0, function* () {
25386
+ onReplaceVideoBackground: (backgroundReplacementConfig) => __awaiter$j(void 0, void 0, void 0, function* () {
25385
25387
  const replacementConfig = Object.assign({ effectName: 'replacement' }, backgroundReplacementConfig);
25386
25388
  return yield adapter.startVideoBackgroundEffect(replacementConfig);
25387
25389
  }),
25388
25390
  /* @conditional-compile-remove(close-captions) */
25389
- onStartCaptions: (options) => __awaiter$i(void 0, void 0, void 0, function* () {
25391
+ onStartCaptions: (options) => __awaiter$j(void 0, void 0, void 0, function* () {
25390
25392
  yield adapter.startCaptions(options);
25391
25393
  }),
25392
25394
  /* @conditional-compile-remove(close-captions) */
25393
- onStopCaptions: () => __awaiter$i(void 0, void 0, void 0, function* () {
25395
+ onStopCaptions: () => __awaiter$j(void 0, void 0, void 0, function* () {
25394
25396
  yield adapter.stopCaptions();
25395
25397
  }),
25396
25398
  /* @conditional-compile-remove(close-captions) */
25397
- onSetSpokenLanguage: (language) => __awaiter$i(void 0, void 0, void 0, function* () {
25399
+ onSetSpokenLanguage: (language) => __awaiter$j(void 0, void 0, void 0, function* () {
25398
25400
  yield adapter.setSpokenLanguage(language);
25399
25401
  }),
25400
25402
  /* @conditional-compile-remove(close-captions) */
25401
- onSetCaptionLanguage: (language) => __awaiter$i(void 0, void 0, void 0, function* () {
25403
+ onSetCaptionLanguage: (language) => __awaiter$j(void 0, void 0, void 0, function* () {
25402
25404
  yield adapter.setCaptionLanguage(language);
25403
25405
  }),
25404
25406
  /* @conditional-compile-remove(end-of-call-survey) */
25405
- onSubmitSurvey: (survey) => __awaiter$i(void 0, void 0, void 0, function* () {
25407
+ onSubmitSurvey: (survey) => __awaiter$j(void 0, void 0, void 0, function* () {
25406
25408
  return yield adapter.submitSurvey(survey);
25407
25409
  }),
25408
25410
  /* @conditional-compile-remove(spotlight) */
25409
- onStartSpotlight: (userId) => __awaiter$i(void 0, void 0, void 0, function* () {
25411
+ onStartSpotlight: (userId) => __awaiter$j(void 0, void 0, void 0, function* () {
25410
25412
  yield adapter.startSpotlight(userId);
25411
25413
  }),
25412
25414
  /* @conditional-compile-remove(spotlight) */
25413
- onStopSpotlight: (userId) => __awaiter$i(void 0, void 0, void 0, function* () {
25415
+ onStopSpotlight: (userId) => __awaiter$j(void 0, void 0, void 0, function* () {
25414
25416
  yield adapter.stopSpotlight(userId);
25415
25417
  })
25416
25418
  }));
@@ -25554,7 +25556,7 @@ const MoreButton = (props) => {
25554
25556
 
25555
25557
  // Copyright (c) Microsoft Corporation.
25556
25558
  // Licensed under the MIT License.
25557
- var __awaiter$h = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
25559
+ var __awaiter$i = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
25558
25560
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
25559
25561
  return new (P || (P = Promise))(function (resolve, reject) {
25560
25562
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -25582,7 +25584,7 @@ const CaptionsBannerMoreButton = (props) => {
25582
25584
  /* @conditional-compile-remove(close-captions) */
25583
25585
  const moreButtonContextualMenuItems = [];
25584
25586
  /* @conditional-compile-remove(close-captions) */
25585
- const startCaptions = React.useCallback(() => __awaiter$h(void 0, void 0, void 0, function* () {
25587
+ const startCaptions = React.useCallback(() => __awaiter$i(void 0, void 0, void 0, function* () {
25586
25588
  yield startCaptionsButtonHandlers.onStartCaptions({
25587
25589
  spokenLanguage: startCaptionsButtonProps.currentSpokenLanguage
25588
25590
  });
@@ -26697,7 +26699,7 @@ const showDtmfDialer = (callees) => {
26697
26699
 
26698
26700
  // Copyright (c) Microsoft Corporation.
26699
26701
  // Licensed under the MIT License.
26700
- var __awaiter$g = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
26702
+ var __awaiter$h = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
26701
26703
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
26702
26704
  return new (P || (P = Promise))(function (resolve, reject) {
26703
26705
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -26721,7 +26723,7 @@ const DesktopMoreButton = (props) => {
26721
26723
  /* @conditional-compile-remove(close-captions) */
26722
26724
  const startCaptionsButtonHandlers = useHandlers();
26723
26725
  /* @conditional-compile-remove(close-captions) */
26724
- const startCaptions = React.useCallback(() => __awaiter$g(void 0, void 0, void 0, function* () {
26726
+ const startCaptions = React.useCallback(() => __awaiter$h(void 0, void 0, void 0, function* () {
26725
26727
  yield startCaptionsButtonHandlers.onStartCaptions({
26726
26728
  spokenLanguage: startCaptionsButtonProps.currentSpokenLanguage
26727
26729
  });
@@ -27547,7 +27549,7 @@ const themedToggleButtonStyle = (theme, checked) => {
27547
27549
 
27548
27550
  // Copyright (c) Microsoft Corporation.
27549
27551
  // Licensed under the MIT License.
27550
- var __awaiter$f = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
27552
+ var __awaiter$g = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
27551
27553
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
27552
27554
  return new (P || (P = Promise))(function (resolve, reject) {
27553
27555
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -27803,7 +27805,7 @@ const MoreDrawer = (props) => {
27803
27805
  ? captionSettingsProp.currentCaptionLanguage
27804
27806
  : _spokenLanguageToCaptionLanguage[currentSpokenLanguage]);
27805
27807
  /* @conditional-compile-remove(close-captions) */
27806
- const onToggleChange = React.useCallback(() => __awaiter$f(void 0, void 0, void 0, function* () {
27808
+ const onToggleChange = React.useCallback(() => __awaiter$g(void 0, void 0, void 0, function* () {
27807
27809
  if (!captionSettingsProp.isCaptionsFeatureActive) {
27808
27810
  yield startCaptionsButtonHandlers.onStartCaptions({
27809
27811
  spokenLanguage: currentSpokenLanguage
@@ -28584,7 +28586,7 @@ const AddPeopleButton = (props) => {
28584
28586
 
28585
28587
  // Copyright (c) Microsoft Corporation.
28586
28588
  // Licensed under the MIT License.
28587
- var __awaiter$e = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
28589
+ var __awaiter$f = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
28588
28590
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
28589
28591
  return new (P || (P = Promise))(function (resolve, reject) {
28590
28592
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -28606,11 +28608,11 @@ const PeoplePaneContent = (props) => {
28606
28608
  return localeStrings.strings.call;
28607
28609
  };
28608
28610
  const strings = getStrings();
28609
- const removeParticipantFromCall = React.useCallback((participantId) => __awaiter$e(void 0, void 0, void 0, function* () {
28611
+ const removeParticipantFromCall = React.useCallback((participantId) => __awaiter$f(void 0, void 0, void 0, function* () {
28610
28612
  yield adapter.removeParticipant(participantId);
28611
28613
  }), [adapter]);
28612
28614
  /* @conditional-compile-remove(PSTN-calls) */
28613
- const addParticipantToCall = React.useCallback((participant, options) => __awaiter$e(void 0, void 0, void 0, function* () {
28615
+ const addParticipantToCall = React.useCallback((participant, options) => __awaiter$f(void 0, void 0, void 0, function* () {
28614
28616
  yield adapter.addParticipant(participant, options);
28615
28617
  }), [adapter]);
28616
28618
  /* @conditional-compile-remove(PSTN-calls) */
@@ -28637,7 +28639,7 @@ const PeoplePaneContent = (props) => {
28637
28639
  setDrawerMenuItems
28638
28640
  ]);
28639
28641
  const participantListProps = React.useMemo(() => {
28640
- const onRemoveAParticipant = (participantId) => __awaiter$e(void 0, void 0, void 0, function* () { return removeParticipantFromCall(participantId); });
28642
+ const onRemoveAParticipant = (participantId) => __awaiter$f(void 0, void 0, void 0, function* () { return removeParticipantFromCall(participantId); });
28641
28643
  return Object.assign(Object.assign({}, participantListDefaultProps), {
28642
28644
  // Passing undefined callback for mobile to avoid context menus for participants in ParticipantList are clicked
28643
28645
  onRemoveParticipant: props.mobileView ? undefined : onRemoveAParticipant,
@@ -28846,7 +28848,7 @@ const localVideoSelector = reselect__namespace.createSelector([callStatusSelecto
28846
28848
 
28847
28849
  // Copyright (c) Microsoft Corporation.
28848
28850
  // Licensed under the MIT License.
28849
- var __awaiter$d = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
28851
+ var __awaiter$e = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
28850
28852
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
28851
28853
  return new (P || (P = Promise))(function (resolve, reject) {
28852
28854
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -28915,7 +28917,7 @@ const VideoEffectsPaneContent = (props) => {
28915
28917
  return videoEffects;
28916
28918
  }, [strings, adapter]);
28917
28919
  /* @conditional-compile-remove(video-background-effects) */
28918
- const onEffectChange = React.useCallback((effectKey) => __awaiter$d(void 0, void 0, void 0, function* () {
28920
+ const onEffectChange = React.useCallback((effectKey) => __awaiter$e(void 0, void 0, void 0, function* () {
28919
28921
  if (effectKey === 'blur') {
28920
28922
  const blurEffect = {
28921
28923
  effectName: effectKey
@@ -29474,6 +29476,79 @@ const messageBarStyles = {
29474
29476
  }
29475
29477
  };
29476
29478
 
29479
+ // Copyright (c) Microsoft Corporation.
29480
+ // Licensed under the MIT License.
29481
+ var __awaiter$d = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
29482
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
29483
+ return new (P || (P = Promise))(function (resolve, reject) {
29484
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
29485
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
29486
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
29487
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
29488
+ });
29489
+ };
29490
+ /* @conditional-compile-remove(spotlight) */
29491
+ /**
29492
+ * @internal
29493
+ */
29494
+ const useSpotlightCallbacksWithPrompt = (onStartSpotlight, onStopSpotlight, setIsPromptOpen, setPromptProps) => {
29495
+ const myUserId = toFlatCommunicationIdentifier(useAdapter().getState().userId);
29496
+ const strings = useLocale().strings.call;
29497
+ return React.useMemo(() => {
29498
+ if (!setIsPromptOpen || !setPromptProps) {
29499
+ return { onStartSpotlightWithPrompt: onStartSpotlight, onStopSpotlightWithPrompt: onStopSpotlight };
29500
+ }
29501
+ return {
29502
+ onStartSpotlightWithPrompt: getStartSpotlightWithPromptCallback(myUserId, onStartSpotlight, setIsPromptOpen, setPromptProps, strings),
29503
+ onStopSpotlightWithPrompt: getStopSpotlightWithPromptCallback(myUserId, onStopSpotlight, setIsPromptOpen, setPromptProps, strings)
29504
+ };
29505
+ }, [myUserId, onStartSpotlight, onStopSpotlight, setIsPromptOpen, setPromptProps, strings]);
29506
+ };
29507
+ /* @conditional-compile-remove(spotlight) */
29508
+ const getStartSpotlightWithPromptCallback = (myUserId, onStartSpotlight, setIsPromptOpen, setPromptProps, strings) => {
29509
+ return (userId) => __awaiter$d(void 0, void 0, void 0, function* () {
29510
+ const startSpotlightPromptText = userId === myUserId
29511
+ ? strings.spotlightPrompt.startSpotlightOnSelfText
29512
+ : strings.spotlightPrompt.startSpotlightText;
29513
+ setPromptProps({
29514
+ heading: strings.spotlightPrompt.startSpotlightHeading,
29515
+ text: startSpotlightPromptText,
29516
+ confirmButtonLabel: strings.spotlightPrompt.startSpotlightConfirmButtonLabel,
29517
+ cancelButtonLabel: strings.spotlightPrompt.startSpotlightCancelButtonLabel,
29518
+ onConfirm: () => {
29519
+ onStartSpotlight(userId);
29520
+ setIsPromptOpen(false);
29521
+ },
29522
+ onCancel: () => setIsPromptOpen(false)
29523
+ });
29524
+ setIsPromptOpen(true);
29525
+ });
29526
+ };
29527
+ /* @conditional-compile-remove(spotlight) */
29528
+ const getStopSpotlightWithPromptCallback = (myUserId, onStopSpotlight, setIsPromptOpen, setPromptProps, strings) => {
29529
+ return (userId) => __awaiter$d(void 0, void 0, void 0, function* () {
29530
+ const stopSpotlightPromptHeading = userId === myUserId
29531
+ ? strings.spotlightPrompt.stopSpotlightOnSelfHeading
29532
+ : strings.spotlightPrompt.stopSpotlightHeading;
29533
+ const stopSpotlightPromptText = userId === myUserId ? strings.spotlightPrompt.stopSpotlightOnSelfText : strings.spotlightPrompt.stopSpotlightText;
29534
+ const stopSpotlightPromptConfirmButtonLabel = userId === myUserId
29535
+ ? strings.spotlightPrompt.stopSpotlightOnSelfConfirmButtonLabel
29536
+ : strings.spotlightPrompt.stopSpotlightConfirmButtonLabel;
29537
+ setPromptProps({
29538
+ heading: stopSpotlightPromptHeading,
29539
+ text: stopSpotlightPromptText,
29540
+ confirmButtonLabel: stopSpotlightPromptConfirmButtonLabel,
29541
+ cancelButtonLabel: strings.spotlightPrompt.stopSpotlightCancelButtonLabel,
29542
+ onConfirm: () => {
29543
+ onStopSpotlight(userId);
29544
+ setIsPromptOpen(false);
29545
+ },
29546
+ onCancel: () => setIsPromptOpen(false)
29547
+ });
29548
+ setIsPromptOpen(true);
29549
+ });
29550
+ };
29551
+
29477
29552
  // Copyright (c) Microsoft Corporation.
29478
29553
  // Licensed under the MIT License.
29479
29554
  /**
@@ -29518,12 +29593,19 @@ const CallArrangement = (props) => {
29518
29593
  props.mobileView,
29519
29594
  peopleButtonRef
29520
29595
  ]);
29596
+ const locale = useLocale();
29521
29597
  /* @conditional-compile-remove(spotlight) */
29522
29598
  const videoGalleryProps = usePropsFor$1(VideoGallery);
29599
+ /* @conditional-compile-remove(spotlight) */
29600
+ const { setPromptProps, setIsPromptOpen } = props;
29601
+ /* @conditional-compile-remove(spotlight) */
29602
+ const { onStartSpotlight, onStopSpotlight, spotlightedParticipants } = videoGalleryProps;
29603
+ /* @conditional-compile-remove(spotlight) */
29604
+ const { onStartSpotlightWithPrompt, onStopSpotlightWithPrompt } = useSpotlightCallbacksWithPrompt(onStartSpotlight, onStopSpotlight, setIsPromptOpen, setPromptProps);
29523
29605
  const { isPeoplePaneOpen, openPeoplePane, closePeoplePane } = usePeoplePane(Object.assign(Object.assign({}, peoplePaneProps), {
29524
- /* @conditional-compile-remove(spotlight) */ spotlightedParticipantUserIds: videoGalleryProps.spotlightedParticipants,
29525
- /* @conditional-compile-remove(spotlight) */ onStartSpotlight: videoGalleryProps.onStartSpotlight,
29526
- /* @conditional-compile-remove(spotlight) */ onStopSpotlight: videoGalleryProps.onStopSpotlight,
29606
+ /* @conditional-compile-remove(spotlight) */ spotlightedParticipantUserIds: spotlightedParticipants,
29607
+ /* @conditional-compile-remove(spotlight) */ onStartSpotlight: onStartSpotlightWithPrompt,
29608
+ /* @conditional-compile-remove(spotlight) */ onStopSpotlight: onStopSpotlightWithPrompt,
29527
29609
  /* @conditional-compile-remove(spotlight) */ ableToSpotlight: (_c = (_b = adapter.getState().call) === null || _b === void 0 ? void 0 : _b.capabilitiesFeature) === null || _c === void 0 ? void 0 : _c.capabilities.spotlightParticipant.isPresent }));
29528
29610
  const togglePeoplePane = React.useCallback(() => {
29529
29611
  if (isPeoplePaneOpen) {
@@ -29550,7 +29632,6 @@ const CallArrangement = (props) => {
29550
29632
  setRenderGallery(true);
29551
29633
  }
29552
29634
  }, [props.mobileView, isSidePaneOpen]);
29553
- const locale = useLocale();
29554
29635
  const modalStrings = { dismissModalAriaLabel: locale.strings.call.dismissModalAriaLabel };
29555
29636
  const isMobileWithActivePane = props.mobileView && isSidePaneOpen;
29556
29637
  const callCompositeContainerCSS = React.useMemo(() => {
@@ -29733,6 +29814,8 @@ const remoteVideoViewOptions = {
29733
29814
  */
29734
29815
  const MediaGallery = (props) => {
29735
29816
  var _a, _b, _c, _d, _e;
29817
+ /* @conditional-compile-remove(spotlight) */
29818
+ const { setIsPromptOpen, setPromptProps } = props;
29736
29819
  const videoGalleryProps = usePropsFor$1(VideoGallery);
29737
29820
  const cameraSwitcherCameras = useSelector$1(localVideoCameraCycleButtonSelector);
29738
29821
  const cameraSwitcherCallback = useHandlers();
@@ -29785,6 +29868,10 @@ const MediaGallery = (props) => {
29785
29868
  containerHeight
29786
29869
  ]);
29787
29870
  /* @conditional-compile-remove(spotlight) */
29871
+ const { onStartSpotlight, onStopSpotlight } = videoGalleryProps;
29872
+ /* @conditional-compile-remove(spotlight) */
29873
+ const { onStartSpotlightWithPrompt, onStopSpotlightWithPrompt } = useSpotlightCallbacksWithPrompt(onStartSpotlight, onStopSpotlight, setIsPromptOpen, setPromptProps);
29874
+ /* @conditional-compile-remove(spotlight) */
29788
29875
  const ableToSpotlight = (_e = (_d = adapter.getState().call) === null || _d === void 0 ? void 0 : _d.capabilitiesFeature) === null || _e === void 0 ? void 0 : _e.capabilities.spotlightParticipant.isPresent;
29789
29876
  const VideoGalleryMemoized = React.useMemo(() => {
29790
29877
  const layoutBasedOnUserSelection = () => {
@@ -29803,9 +29890,9 @@ const MediaGallery = (props) => {
29803
29890
  /* @conditional-compile-remove(reaction) */
29804
29891
  reactionResources: reactionResources,
29805
29892
  /* @conditional-compile-remove(spotlight) */
29806
- onStartSpotlight: ableToSpotlight ? videoGalleryProps.onStartSpotlight : undefined,
29893
+ onStartSpotlight: ableToSpotlight ? onStartSpotlightWithPrompt : undefined,
29807
29894
  /* @conditional-compile-remove(spotlight) */
29808
- onStopSpotlight: ableToSpotlight ? videoGalleryProps.onStopSpotlight : undefined })));
29895
+ onStopSpotlight: ableToSpotlight ? onStopSpotlightWithPrompt : undefined })));
29809
29896
  }, [
29810
29897
  videoGalleryProps,
29811
29898
  props.isMobile,
@@ -29828,7 +29915,11 @@ const MediaGallery = (props) => {
29828
29915
  /* @conditional-compile-remove(reaction) */
29829
29916
  reactionResources,
29830
29917
  /* @conditional-compile-remove(spotlight) */
29831
- ableToSpotlight
29918
+ ableToSpotlight,
29919
+ /* @conditional-compile-remove(spotlight) */
29920
+ onStartSpotlightWithPrompt,
29921
+ /* @conditional-compile-remove(spotlight) */
29922
+ onStopSpotlightWithPrompt
29832
29923
  ]);
29833
29924
  return (React.createElement("div", { ref: containerRef, style: mediaGalleryContainerStyles },
29834
29925
  React.createElement(Announcer$1, { announcementString: announcerString, ariaLive: 'polite' }),
@@ -30124,6 +30215,42 @@ const DtmfDialpadPage = (props) => {
30124
30215
  return React.createElement(DtmfDialpadPageContent, { adapter: adapter, mobileView: props.mobileView });
30125
30216
  };
30126
30217
 
30218
+ // Copyright (c) Microsoft Corporation.
30219
+ // Licensed under the MIT License.
30220
+ /* @conditional-compile-remove(spotlight) */
30221
+ /* @conditional-compile-remove(spotlight) */
30222
+ /**
30223
+ * @private
30224
+ */
30225
+ const Prompt = (props) => {
30226
+ const theme = useTheme();
30227
+ return (React.createElement(react.Modal, { styles: modalStyles, isOpen: props.isOpen, onDismiss: props.onDismiss, isBlocking: false },
30228
+ React.createElement(react.Stack, { className: react.mergeStyles({ position: 'relative' }) },
30229
+ React.createElement(react.Text, { className: react.mergeStyles({ fontWeight: 600, fontSize: '1.25rem' }) }, props.heading),
30230
+ React.createElement(react.IconButton, { styles: iconButtonStyles(theme), iconProps: { iconName: 'Cancel' }, onClick: props.onCancel })),
30231
+ React.createElement(react.Stack, { verticalAlign: "center", className: react.mergeStyles({ minHeight: '6rem' }) },
30232
+ React.createElement(react.Text, { className: react.mergeStyles({ fontSize: '0.875rem' }) }, props.text)),
30233
+ React.createElement(react.Stack, { horizontal: true, reversed: true, tokens: { childrenGap: '0.5rem' } },
30234
+ React.createElement(react.DefaultButton, { styles: buttonTextStyles, text: props.cancelButtonLabel, onClick: props.onCancel }),
30235
+ React.createElement(react.PrimaryButton, { styles: buttonTextStyles, text: props.confirmButtonLabel, onClick: props.onConfirm }))));
30236
+ };
30237
+ /* @conditional-compile-remove(spotlight) */
30238
+ const iconButtonStyles = (theme) => ({
30239
+ root: {
30240
+ position: 'absolute',
30241
+ top: 0,
30242
+ right: 0,
30243
+ color: theme.palette.neutralPrimary
30244
+ },
30245
+ rootHovered: {
30246
+ color: theme.palette.neutralDark
30247
+ }
30248
+ });
30249
+ /* @conditional-compile-remove(spotlight) */
30250
+ const modalStyles = { main: { padding: '1.5rem ', maxWidth: '30rem' } };
30251
+ /* @conditional-compile-remove(spotlight) */
30252
+ const buttonTextStyles = { label: { fontSize: '0.875rem' } };
30253
+
30127
30254
  // Copyright (c) Microsoft Corporation.
30128
30255
  // Licensed under the MIT License.
30129
30256
  /**
@@ -30173,6 +30300,10 @@ const CallPage = (props) => {
30173
30300
  // Reduce the controls shown when mobile view is enabled.
30174
30301
  const callControlOptions = mobileView ? reduceCallControlsForMobile(options === null || options === void 0 ? void 0 : options.callControls) : options === null || options === void 0 ? void 0 : options.callControls;
30175
30302
  const drawerMenuHostId = reactHooks.useId('drawerMenuHost');
30303
+ /* @conditional-compile-remove(spotlight) */
30304
+ const [isPromptOpen, setIsPromptOpen] = React.useState(false);
30305
+ /* @conditional-compile-remove(spotlight) */
30306
+ const [promptProps, setPromptProps] = React.useState();
30176
30307
  const onRenderGalleryContentTrampoline = () => {
30177
30308
  /* @conditional-compile-remove(dtmf-dialer) */
30178
30309
  if (dtmfDialerPresent) {
@@ -30187,29 +30318,40 @@ const CallPage = (props) => {
30187
30318
  /* @conditional-compile-remove(gallery-layouts) */
30188
30319
  userSetOverflowGalleryPosition: userSetOverflowGalleryPosition,
30189
30320
  /* @conditional-compile-remove(gallery-layouts) */
30190
- userSetGalleryLayout: galleryLayout })));
30321
+ userSetGalleryLayout: galleryLayout,
30322
+ /* @conditional-compile-remove(spotlight) */
30323
+ setIsPromptOpen: setIsPromptOpen,
30324
+ /* @conditional-compile-remove(spotlight) */
30325
+ setPromptProps: setPromptProps })));
30191
30326
  }
30192
30327
  };
30193
- return (React.createElement(CallArrangement, { id: drawerMenuHostId, complianceBannerProps: Object.assign(Object.assign({}, complianceBannerProps), { strings }), errorBarProps: (options === null || options === void 0 ? void 0 : options.errorBar) !== false && errorBarProps, mutedNotificationProps: mutedNotificationProps, callControlProps: {
30194
- callInvitationURL: callInvitationURL,
30195
- onFetchParticipantMenuItems: onFetchParticipantMenuItems,
30196
- options: callControlOptions,
30197
- increaseFlyoutItemSize: mobileView
30198
- },
30199
- /* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(close-captions) */
30200
- onFetchAvatarPersonaData: onFetchAvatarPersonaData, mobileView: mobileView, modalLayerHostId: props.modalLayerHostId, onRenderGalleryContent: () => _isInCall(callStatus) ? (isNetworkHealthy(networkReconnectTileProps.networkReconnectValue) ? (onRenderGalleryContentTrampoline()) : (React.createElement(NetworkReconnectTile, Object.assign({}, networkReconnectTileProps)))) : (React.createElement(React.Fragment, null)), updateSidePaneRenderer: props.updateSidePaneRenderer, mobileChatTabHeader: props.mobileChatTabHeader, onCloseChatPane: onCloseChatPane, dataUiId: 'call-page', latestErrors: props.latestErrors, onDismissError: props.onDismissError,
30201
- /* @conditional-compile-remove(gallery-layouts) */
30202
- onUserSetOverflowGalleryPositionChange: onSetUserSetOverflowGalleryPosition,
30203
- /* @conditional-compile-remove(gallery-layouts) */
30204
- onUserSetGalleryLayoutChange: onUserSetGalleryLayoutChange,
30205
- /* @conditional-compile-remove(gallery-layouts) */
30206
- userSetGalleryLayout: galleryLayout,
30207
- /* @conditional-compile-remove(capabilities) */
30208
- capabilitiesChangedNotificationBarProps: props.capabilitiesChangedNotificationBarProps,
30209
- /* @conditional-compile-remove(dtmf-dialer) */
30210
- onSetDialpadPage: () => setDtmfDialerPresent(!dtmfDialerPresent),
30211
- /* @conditional-compile-remove(dtmf-dialer) */
30212
- dtmfDialerPresent: dtmfDialerPresent }));
30328
+ return (React.createElement(React.Fragment, null,
30329
+ React.createElement(CallArrangement, { id: drawerMenuHostId, complianceBannerProps: Object.assign(Object.assign({}, complianceBannerProps), { strings }), errorBarProps: (options === null || options === void 0 ? void 0 : options.errorBar) !== false && errorBarProps, mutedNotificationProps: mutedNotificationProps, callControlProps: {
30330
+ callInvitationURL: callInvitationURL,
30331
+ onFetchParticipantMenuItems: onFetchParticipantMenuItems,
30332
+ options: callControlOptions,
30333
+ increaseFlyoutItemSize: mobileView
30334
+ },
30335
+ /* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(close-captions) */
30336
+ onFetchAvatarPersonaData: onFetchAvatarPersonaData, mobileView: mobileView, modalLayerHostId: props.modalLayerHostId, onRenderGalleryContent: () => _isInCall(callStatus) ? (isNetworkHealthy(networkReconnectTileProps.networkReconnectValue) ? (onRenderGalleryContentTrampoline()) : (React.createElement(NetworkReconnectTile, Object.assign({}, networkReconnectTileProps)))) : (React.createElement(React.Fragment, null)), updateSidePaneRenderer: props.updateSidePaneRenderer, mobileChatTabHeader: props.mobileChatTabHeader, onCloseChatPane: onCloseChatPane, dataUiId: 'call-page', latestErrors: props.latestErrors, onDismissError: props.onDismissError,
30337
+ /* @conditional-compile-remove(gallery-layouts) */
30338
+ onUserSetOverflowGalleryPositionChange: onSetUserSetOverflowGalleryPosition,
30339
+ /* @conditional-compile-remove(gallery-layouts) */
30340
+ onUserSetGalleryLayoutChange: onUserSetGalleryLayoutChange,
30341
+ /* @conditional-compile-remove(gallery-layouts) */
30342
+ userSetGalleryLayout: galleryLayout,
30343
+ /* @conditional-compile-remove(capabilities) */
30344
+ capabilitiesChangedNotificationBarProps: props.capabilitiesChangedNotificationBarProps,
30345
+ /* @conditional-compile-remove(dtmf-dialer) */
30346
+ onSetDialpadPage: () => setDtmfDialerPresent(!dtmfDialerPresent),
30347
+ /* @conditional-compile-remove(dtmf-dialer) */
30348
+ dtmfDialerPresent: dtmfDialerPresent,
30349
+ /* @conditional-compile-remove(spotlight) */
30350
+ setIsPromptOpen: setIsPromptOpen,
30351
+ /* @conditional-compile-remove(spotlight) */
30352
+ setPromptProps: setPromptProps }),
30353
+ /* @conditional-compile-remove(spotlight) */
30354
+ React.createElement(Prompt, Object.assign({ isOpen: isPromptOpen, onDismiss: () => setIsPromptOpen(false) }, promptProps))));
30213
30355
  };
30214
30356
  /**
30215
30357
  * @private
@@ -33251,7 +33393,7 @@ class AzureCommunicationCallAdapter {
33251
33393
  this.holdCall.bind(this);
33252
33394
  /* @conditional-compile-remove(PSTN-calls) */
33253
33395
  this.resumeCall.bind(this);
33254
- /* @conditional-compile-remove(PSTN-calls) */
33396
+ /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(dtmf-dialer) */
33255
33397
  this.sendDtmfTone.bind(this);
33256
33398
  /* @conditional-compile-remove(unsupported-browser) */
33257
33399
  this.allowUnsupportedBrowserVersion.bind(this);
@@ -33699,7 +33841,7 @@ class AzureCommunicationCallAdapter {
33699
33841
  }
33700
33842
  });
33701
33843
  }
33702
- /* @conditional-compile-remove(PSTN-calls) */
33844
+ /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(dtmf-dialer) */
33703
33845
  sendDtmfTone(dtmfTone) {
33704
33846
  return __awaiter$5(this, void 0, void 0, function* () {
33705
33847
  this.handlers.onSendDtmfTone(dtmfTone);
@@ -34425,7 +34567,7 @@ class CallWithChatBackedCallAdapter {
34425
34567
  this.resumeCall = () => __awaiter$4(this, void 0, void 0, function* () {
34426
34568
  yield this.callWithChatAdapter.resumeCall();
34427
34569
  });
34428
- /* @conditional-compile-remove(PSTN-calls) */
34570
+ /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(dtmf-dialer) */
34429
34571
  this.sendDtmfTone = (dtmfTone) => __awaiter$4(this, void 0, void 0, function* () {
34430
34572
  yield this.callWithChatAdapter.sendDtmfTone(dtmfTone);
34431
34573
  });
@@ -35306,7 +35448,7 @@ class AzureCommunicationCallWithChatAdapter {
35306
35448
  this.resumeCall.bind(this);
35307
35449
  /* @conditional-compile-remove(PSTN-calls) */
35308
35450
  this.addParticipant.bind(this);
35309
- /* @conditional-compile-remove(PSTN-calls) */
35451
+ /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(dtmf-dialer) */
35310
35452
  this.sendDtmfTone.bind(this);
35311
35453
  /* @conditional-compile-remove(unsupported-browser) */
35312
35454
  this.allowUnsupportedBrowserVersion.bind(this);
@@ -35583,7 +35725,7 @@ class AzureCommunicationCallWithChatAdapter {
35583
35725
  }
35584
35726
  });
35585
35727
  }
35586
- /* @conditional-compile-remove(PSTN-calls) */
35728
+ /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(dtmf-dialer) */
35587
35729
  sendDtmfTone(dtmfTone) {
35588
35730
  return __awaiter$2(this, void 0, void 0, function* () {
35589
35731
  return yield this.callAdapter.sendDtmfTone(dtmfTone);