@vonage/client-sdk 2.6.2-snapshot.202608250912 → 2.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -36541,7 +36541,7 @@ function requireKotlinDateTimeLibraryKotlinxDatetime () {
36541
36541
  return tmp;
36542
36542
  }
36543
36543
  initMetadataForInterface(AbstractWithOffsetBuilder, 'AbstractWithOffsetBuilder', VOID, VOID, [WithUtcOffset]);
36544
- initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithUtcOffset, WithDate, WithTime]);
36544
+ initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithDate, WithTime, WithUtcOffset]);
36545
36545
  initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
36546
36546
  initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
36547
36547
  initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber');
@@ -43758,16 +43758,6 @@ function requireClientsdkClientcore () {
43758
43758
  initMetadataForCompanion(Companion_149);
43759
43759
  initMetadataForObject($serializer_172, '$serializer', VOID, VOID, [GeneratedSerializer]);
43760
43760
  initMetadataForClass(SessionTerminatedEvent, 'SessionTerminatedEvent', VOID, VOID, [SocketEvent], VOID, VOID, {0: $serializer_getInstance_172});
43761
- function onConversationEvent(event) {
43762
- }
43763
- initMetadataForInterface(ConversationEventListener, 'ConversationEventListener');
43764
- function onRTCHangup(conversationId, legId, hangup) {
43765
- }
43766
- function onRTCTransfer(conversationId, legId) {
43767
- }
43768
- function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
43769
- }
43770
- initMetadataForInterface(RTCEventListener, 'RTCEventListener');
43771
43761
  function onAudioSay() {
43772
43762
  }
43773
43763
  function onAudioMuteUpdate(conversationId, legId, isMuted) {
@@ -43777,7 +43767,17 @@ function requireClientsdkClientcore () {
43777
43767
  function onAudioDTMFUpdate(conversationId, legId, digits) {
43778
43768
  }
43779
43769
  initMetadataForInterface(AudioEventListener, 'AudioEventListener');
43780
- initMetadataForClass(ChatAPIImpl$1, VOID, VOID, VOID, [ConversationEventListener, RTCEventListener, AudioEventListener]);
43770
+ function onRTCHangup(conversationId, legId, hangup) {
43771
+ }
43772
+ function onRTCTransfer(conversationId, legId) {
43773
+ }
43774
+ function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
43775
+ }
43776
+ initMetadataForInterface(RTCEventListener, 'RTCEventListener');
43777
+ function onConversationEvent(event) {
43778
+ }
43779
+ initMetadataForInterface(ConversationEventListener, 'ConversationEventListener');
43780
+ initMetadataForClass(ChatAPIImpl$1, VOID, VOID, VOID, [AudioEventListener, RTCEventListener, ConversationEventListener]);
43781
43781
  initMetadataForClass(ChatAPIImpl, 'ChatAPIImpl', VOID, VOID, [ChatAPI]);
43782
43782
  initMetadataForClass(LoggingLevel, 'LoggingLevel', VOID, Enum);
43783
43783
  initMetadataForObject(DefaultConfig, 'DefaultConfig');
@@ -43790,6 +43790,7 @@ function requireClientsdkClientcore () {
43790
43790
  initMetadataForClass(NoCallFound, 'NoCallFound', NoCallFound, InternalError);
43791
43791
  initMetadataForClass(NoCallMediaFound, 'NoCallMediaFound', NoCallMediaFound, InternalError);
43792
43792
  initMetadataForClass(MediaTimeout, 'MediaTimeout', MediaTimeout, InternalError);
43793
+ initMetadataForClass(MediaSetupFailed, 'MediaSetupFailed', VOID, InternalError);
43793
43794
  initMetadataForClass(NoInviteFound, 'NoInviteFound', NoInviteFound, InternalError);
43794
43795
  initMetadataForClass(InvalidCallAction, 'InvalidCallAction', InvalidCallAction, InternalError);
43795
43796
  initMetadataForClass(NoOfferFound, 'NoOfferFound', NoOfferFound, InternalError);
@@ -43936,7 +43937,7 @@ function requireClientsdkClientcore () {
43936
43937
  initMetadataForClass(HangupReason, 'HangupReason', VOID, Enum);
43937
43938
  initMetadataForClass(LegStatus, 'LegStatus', VOID, Enum);
43938
43939
  initMetadataForClass(CallDisconnectReason, 'CallDisconnectReason', VOID, Enum);
43939
- initMetadataForClass(VoiceAPIImpl$1, VOID, VOID, VOID, [ConversationEventListener, RTCEventListener, AudioEventListener]);
43940
+ initMetadataForClass(VoiceAPIImpl$1, VOID, VOID, VOID, [AudioEventListener, RTCEventListener, ConversationEventListener]);
43940
43941
  initMetadataForClass(VoiceAPIImpl, 'VoiceAPIImpl');
43941
43942
  initMetadataForInterface(CallEvent, 'CallEvent');
43942
43943
  initMetadataForClass(SetupOutboundCall, 'SetupOutboundCall', VOID, VOID, [CallEvent]);
@@ -44156,7 +44157,7 @@ function requireClientsdkClientcore () {
44156
44157
  initMetadataForClass(runAfterDelay$1);
44157
44158
  //endregion
44158
44159
  function BuildKonfig() {
44159
- this.p1y_1 = '2.6.2-snapshot.202608250912';
44160
+ this.p1y_1 = '2.6.2';
44160
44161
  }
44161
44162
  var BuildKonfig_instance;
44162
44163
  function BuildKonfig_getInstance() {
@@ -75403,6 +75404,10 @@ function requireClientsdkClientcore () {
75403
75404
  InternalError.call(this, 'voice:error:media_timeout', "The call could not be established: the media connection failed to set up or the call wasn't answered in time. Check the network connection and try again.");
75404
75405
  captureStack(this, MediaTimeout);
75405
75406
  }
75407
+ function MediaSetupFailed(attempts) {
75408
+ InternalError.call(this, 'voice:error:media_setup_failed', 'The call could not be established: no media reached Vonage after ' + attempts + ' attempt' + (attempts === 1 ? '' : 's') + '. The network is most likely blocking the media connection \u2014 check for a restrictive firewall, proxy or VPN and try again.');
75409
+ captureStack(this, MediaSetupFailed);
75410
+ }
75406
75411
  function NoInviteFound() {
75407
75412
  InternalError.call(this, 'voice:error:no_invite_found', 'No invite found');
75408
75413
  captureStack(this, NoInviteFound);
@@ -79914,6 +79919,11 @@ function requireClientsdkClientcore () {
79914
79919
  return Unit_instance;
79915
79920
  };
79916
79921
  }
79922
+ function attemptOutboundCall($this, user, context, attempt, backoff, callback) {
79923
+ var setup = new SetupOutboundCall(user, context);
79924
+ var meta = new ActionMeta(VOID, VOID, VoiceAPIImpl$attemptOutboundCall$lambda($this, callback, attempt, user, context));
79925
+ $this.g44_1.z1z(backoff == null ? new Action_0(setup, meta) : new Action_0(new TimeoutAction(setup, backoff), meta));
79926
+ }
79917
79927
  function dispatchCallAction($this, callId, action) {
79918
79928
  var tmp0_elvis_lhs = getCallStateByLeg($this, callId);
79919
79929
  var tmp;
@@ -79923,10 +79933,10 @@ function requireClientsdkClientcore () {
79923
79933
  tmp = tmp0_elvis_lhs;
79924
79934
  }
79925
79935
  var call = tmp;
79926
- var callMemberShipState = call.k44_1.g2();
79936
+ var callMemberShipState = call.n44_1.g2();
79927
79937
  var tmp_0;
79928
79938
  if (callMemberShipState instanceof Joined) {
79929
- action(callMemberShipState.q44_1, callMemberShipState.r44_1);
79939
+ action(callMemberShipState.t44_1, callMemberShipState.u44_1);
79930
79940
  tmp_0 = null;
79931
79941
  } else {
79932
79942
  tmp_0 = new InvalidCallAction();
@@ -79942,15 +79952,15 @@ function requireClientsdkClientcore () {
79942
79952
  null;
79943
79953
  else {
79944
79954
  // Inline function 'kotlin.let' call
79945
- reportError_0($this.t44_1, callback, tmp0_safe_receiver, trail, VOID, callId);
79955
+ reportError_0($this.g44_1, callback, tmp0_safe_receiver, trail, VOID, callId);
79946
79956
  }
79947
79957
  }
79948
79958
  function getCallStateByLeg($this, legId) {
79949
- var state = $this.t44_1.l1z(getKClass(CallReducer));
79959
+ var state = $this.g44_1.l1z(getKClass(CallReducer));
79950
79960
  return state.w44_1.j2(legId);
79951
79961
  }
79952
79962
  function getCallStateByConversation($this, cid) {
79953
- var state = $this.t44_1.l1z(getKClass(CallReducer));
79963
+ var state = $this.g44_1.l1z(getKClass(CallReducer));
79954
79964
  var tmp0_safe_receiver = state.x44_1.j2(cid);
79955
79965
  var tmp;
79956
79966
  if (tmp0_safe_receiver == null) {
@@ -79962,16 +79972,16 @@ function requireClientsdkClientcore () {
79962
79972
  return tmp;
79963
79973
  }
79964
79974
  function getLegIdByConversation($this, cid) {
79965
- var state = $this.t44_1.l1z(getKClass(CallReducer));
79975
+ var state = $this.g44_1.l1z(getKClass(CallReducer));
79966
79976
  return state.x44_1.j2(cid);
79967
79977
  }
79968
79978
  function isFromMe($this, userId) {
79969
- var state = $this.t44_1.l1z(getKClass(SessionReducer));
79979
+ var state = $this.g44_1.l1z(getKClass(SessionReducer));
79970
79980
  var tmp0_safe_receiver = state.g2r_1.g2().s3j();
79971
79981
  return (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u3q_1) === userId;
79972
79982
  }
79973
79983
  function invokeListener($this, conversationId, givenLegId, fn) {
79974
- var tmp0_safe_receiver = $this.v44_1;
79984
+ var tmp0_safe_receiver = $this.i44_1;
79975
79985
  if (tmp0_safe_receiver == null)
79976
79986
  null;
79977
79987
  else {
@@ -80001,13 +80011,13 @@ function requireClientsdkClientcore () {
80001
80011
  var tmp_2;
80002
80012
  if (tmp2_elvis_lhs == null) {
80003
80013
  var tmp3_safe_receiver = getCallStateByConversation($this, conversationId);
80004
- tmp_2 = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.j44_1;
80014
+ tmp_2 = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.m44_1;
80005
80015
  } else {
80006
80016
  tmp_2 = tmp2_elvis_lhs;
80007
80017
  }
80008
80018
  var legId = tmp_2;
80009
80019
  if (legId == null) {
80010
- $this.u44_1.k43('Call Id for Conversation Id: ' + conversationId + ' was not found');
80020
+ $this.h44_1.k43('Call Id for Conversation Id: ' + conversationId + ' was not found');
80011
80021
  } else
80012
80022
  fn(tmp0_safe_receiver, legId);
80013
80023
  }
@@ -80030,7 +80040,7 @@ function requireClientsdkClientcore () {
80030
80040
  } else {
80031
80041
  // Inline function 'kotlin.takeIf' call
80032
80042
  var tmp_0;
80033
- var tmp_1 = tmp0_safe_receiver.n44_1;
80043
+ var tmp_1 = tmp0_safe_receiver.q44_1;
80034
80044
  if (tmp_1 instanceof Reconnecting) {
80035
80045
  tmp_0 = tmp0_safe_receiver;
80036
80046
  } else {
@@ -80046,7 +80056,7 @@ function requireClientsdkClientcore () {
80046
80056
  tmp_2 = tmp1_elvis_lhs;
80047
80057
  }
80048
80058
  var updatedCall = tmp_2;
80049
- var tmp_3 = updatedCall.k44_1.g2();
80059
+ var tmp_3 = updatedCall.n44_1.g2();
80050
80060
  var tmp2_elvis_lhs = tmp_3 instanceof Joined ? tmp_3 : null;
80051
80061
  var tmp_4;
80052
80062
  if (tmp2_elvis_lhs == null) {
@@ -80055,36 +80065,36 @@ function requireClientsdkClientcore () {
80055
80065
  tmp_4 = tmp2_elvis_lhs;
80056
80066
  }
80057
80067
  var member = tmp_4;
80058
- var tmp_5 = new CallReconnect(updatedCall.j44_1, member.r44_1, member.q44_1);
80068
+ var tmp_5 = new CallReconnect(updatedCall.m44_1, member.u44_1, member.t44_1);
80059
80069
  var reconnectAction = new Action_0(tmp_5, new ActionMeta(VOID, VOID, VoiceAPIImpl$reconnectCall$lambda_0(store, updatedCall)));
80060
80070
  store.z1z(reconnectAction);
80061
80071
  }
80062
80072
  function onCallMediaChange($this, callState) {
80063
- var tmp = callState.l44_1;
80073
+ var tmp = callState.o44_1;
80064
80074
  if (tmp instanceof Failed) {
80065
- $this.t44_1.z1z(Action_init_$Create$(new MediaDisable(callState.j44_1)));
80075
+ $this.g44_1.z1z(Action_init_$Create$(new MediaDisable(callState.m44_1)));
80066
80076
  } else {
80067
- var tmp_0 = callState.l44_1.g2();
80077
+ var tmp_0 = callState.o44_1.g2();
80068
80078
  if (tmp_0 instanceof Completed) {
80069
- $this.t44_1.z1z(Action_init_$Create$(new MediaDisable(callState.j44_1)));
80079
+ $this.g44_1.z1z(Action_init_$Create$(new MediaDisable(callState.m44_1)));
80070
80080
  }
80071
80081
  }
80072
80082
  }
80073
80083
  function onCallMemberChange($this, callState) {
80074
- if (callState.k44_1 instanceof Failed) {
80075
- var tmp1_subject = callState.k44_1.g2();
80084
+ if (callState.n44_1 instanceof Failed) {
80085
+ var tmp1_subject = callState.n44_1.g2();
80076
80086
  if (tmp1_subject instanceof Knocking) {
80077
- $this.t44_1.z1z(Action_init_$Create$(new MediaDisable(callState.j44_1)));
80087
+ $this.g44_1.z1z(Action_init_$Create$(new MediaDisable(callState.m44_1)));
80078
80088
  } else {
80079
80089
  if (tmp1_subject instanceof Left) {
80080
- $this.t44_1.z1z(Action_init_$Create$(new MediaDisable(callState.j44_1)));
80090
+ $this.g44_1.z1z(Action_init_$Create$(new MediaDisable(callState.m44_1)));
80081
80091
  }
80082
80092
  }
80083
80093
  }
80084
80094
  }
80085
80095
  function getCallDetailsAndDispatchCallReconnect($this, legId, callback) {
80086
80096
  var tmp = new GetLegRequest(legId);
80087
- $this.t44_1.z1z(new Action_0(tmp, new ActionMeta(VOID, legId, VoiceAPIImpl$getCallDetailsAndDispatchCallReconnect$lambda($this, callback, legId))));
80097
+ $this.g44_1.z1z(new Action_0(tmp, new ActionMeta(VOID, legId, VoiceAPIImpl$getCallDetailsAndDispatchCallReconnect$lambda($this, callback, legId))));
80088
80098
  }
80089
80099
  function VoiceAPIImpl$getLeg$lambda($callback, this$0, $legId) {
80090
80100
  return function (response) {
@@ -80093,7 +80103,7 @@ function requireClientsdkClientcore () {
80093
80103
  var leg = Companion_instance_160.r3y(response);
80094
80104
  tmp = $callback(null, leg);
80095
80105
  } else {
80096
- reportError(this$0.t44_1, $callback, response, ErrorTrail_GET_LEG_getInstance(), VOID, $legId);
80106
+ reportError(this$0.g44_1, $callback, response, ErrorTrail_GET_LEG_getInstance(), VOID, $legId);
80097
80107
  tmp = Unit_instance;
80098
80108
  }
80099
80109
  return Unit_instance;
@@ -80133,7 +80143,7 @@ function requireClientsdkClientcore () {
80133
80143
  var page = new LegsPage(legs, previous, next);
80134
80144
  tmp = $callback(null, page);
80135
80145
  } else {
80136
- reportError(this$0.t44_1, $callback, conversationLegsResponse, ErrorTrail_GET_CALL_LEGS_FETCH_FAILED_getInstance(), $conversationId, $callId);
80146
+ reportError(this$0.g44_1, $callback, conversationLegsResponse, ErrorTrail_GET_CALL_LEGS_FETCH_FAILED_getInstance(), $conversationId, $callId);
80137
80147
  tmp = Unit_instance;
80138
80148
  }
80139
80149
  return Unit_instance;
@@ -80148,7 +80158,7 @@ function requireClientsdkClientcore () {
80148
80158
  if (tmp1_elvis_lhs == null) {
80149
80159
  // Inline function 'kotlin.run' call
80150
80160
  var $this$run = this$0;
80151
- reportError($this$run.t44_1, $callback, new NoCallMediaFound(), ErrorTrail_GET_CALL_LEGS_NO_MEDIA_getInstance(), $conversationId, $callId);
80161
+ reportError($this$run.g44_1, $callback, new NoCallMediaFound(), ErrorTrail_GET_CALL_LEGS_NO_MEDIA_getInstance(), $conversationId, $callId);
80152
80162
  return Unit_instance;
80153
80163
  } else {
80154
80164
  tmp_0 = tmp1_elvis_lhs;
@@ -80160,30 +80170,30 @@ function requireClientsdkClientcore () {
80160
80170
  var tmp_2 = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.q42_1;
80161
80171
  var tmp4_safe_receiver = $parameters;
80162
80172
  var tmp_3 = new GetConversationLegsRequest($conversationId, tmp_1, tmp_2, tmp4_safe_receiver == null ? null : tmp4_safe_receiver.r42_1);
80163
- this$0.t44_1.z1z(new Action_0(tmp_3, new ActionMeta(VOID, VOID, VoiceAPIImpl$getCallLegs$lambda$lambda(conversationMedia, $callback, this$0, $conversationId, $callId))));
80173
+ this$0.g44_1.z1z(new Action_0(tmp_3, new ActionMeta(VOID, VOID, VoiceAPIImpl$getCallLegs$lambda$lambda(conversationMedia, $callback, this$0, $conversationId, $callId))));
80164
80174
  tmp = Unit_instance;
80165
80175
  } else {
80166
- reportError(this$0.t44_1, $callback, getConversationResponse, ErrorTrail_GET_CALL_LEGS_CONVERSATION_FAILED_getInstance(), $conversationId, $callId);
80176
+ reportError(this$0.g44_1, $callback, getConversationResponse, ErrorTrail_GET_CALL_LEGS_CONVERSATION_FAILED_getInstance(), $conversationId, $callId);
80167
80177
  tmp = Unit_instance;
80168
80178
  }
80169
80179
  return Unit_instance;
80170
80180
  };
80171
80181
  }
80172
- function VoiceAPIImpl$serverCall$lambda$lambda$lambda$lambda$lambda$lambda($call, $cancel, this$0, $callback, $legId) {
80182
+ function VoiceAPIImpl$attemptOutboundCall$lambda$lambda$lambda$lambda$lambda$lambda($call, $cancel, this$0, $callback, $legId) {
80173
80183
  return function () {
80174
80184
  var tmp;
80175
- if ($call.o44_1.v2_1 === 5) {
80185
+ if ($call.r44_1.v2_1 === 5) {
80176
80186
  var tmp1_safe_receiver = $cancel._v;
80177
80187
  if (tmp1_safe_receiver == null)
80178
80188
  null;
80179
80189
  else
80180
80190
  tmp1_safe_receiver();
80181
- reportError(this$0.t44_1, $callback, new MediaTimeout(), $call.p44_1 ? ErrorTrail_OUTBOUND_MEMBER_JOIN_TIMEOUT_getInstance() : ErrorTrail_OUTBOUND_POSTKNOCK_MEDIA_FAILED_getInstance(), VOID, $legId);
80182
- this$0.t44_1.z1z(Action_init_$Create$(new CallCleanup($legId)));
80191
+ reportError(this$0.g44_1, $callback, new MediaTimeout(), $call.s44_1 ? ErrorTrail_OUTBOUND_MEMBER_JOIN_TIMEOUT_getInstance() : ErrorTrail_OUTBOUND_POSTKNOCK_MEDIA_FAILED_getInstance(), VOID, $legId);
80192
+ this$0.g44_1.z1z(Action_init_$Create$(new CallCleanup($legId)));
80183
80193
  tmp = Unit_instance;
80184
80194
  } else {
80185
80195
  var tmp_0;
80186
- if ($call.k44_1.g2() instanceof Joined) {
80196
+ if ($call.n44_1.g2() instanceof Joined) {
80187
80197
  var tmp3_safe_receiver = $cancel._v;
80188
80198
  if (tmp3_safe_receiver == null)
80189
80199
  null;
@@ -80198,49 +80208,54 @@ function requireClientsdkClientcore () {
80198
80208
  return Unit_instance;
80199
80209
  };
80200
80210
  }
80201
- function VoiceAPIImpl$serverCall$lambda$lambda$lambda$lambda$lambda($call, $cancel, this$0, $callback, $legId) {
80211
+ function VoiceAPIImpl$attemptOutboundCall$lambda$lambda$lambda$lambda$lambda($call, $cancel, this$0, $callback, $legId) {
80202
80212
  return function () {
80203
- return new StoredSubscription(VoiceAPIImpl$serverCall$lambda$lambda$lambda$lambda$lambda$lambda($call, $cancel, this$0, $callback, $legId));
80213
+ return new StoredSubscription(VoiceAPIImpl$attemptOutboundCall$lambda$lambda$lambda$lambda$lambda$lambda($call, $cancel, this$0, $callback, $legId));
80204
80214
  };
80205
80215
  }
80206
- function VoiceAPIImpl$serverCall$lambda$lambda$lambda$lambda(this$0, $call, $callback, $legId, $cancel) {
80216
+ function VoiceAPIImpl$attemptOutboundCall$lambda$lambda$lambda$lambda(this$0, $call, $callback, $legId, $cancel) {
80207
80217
  return function (it) {
80208
80218
  var tmp;
80209
80219
  if (it instanceof Exception) {
80210
- this$0.t44_1.z1z(Action_init_$Create$(new CallKnockingRequestFailure($call.j44_1, it)));
80211
- reportError(this$0.t44_1, $callback, it, ErrorTrail_OUTBOUND_KNOCK_FAILED_getInstance(), VOID, $legId);
80220
+ this$0.g44_1.z1z(Action_init_$Create$(new CallKnockingRequestFailure($call.m44_1, it)));
80221
+ reportError(this$0.g44_1, $callback, it, ErrorTrail_OUTBOUND_KNOCK_FAILED_getInstance(), VOID, $legId);
80212
80222
  tmp = Unit_instance;
80213
80223
  } else {
80214
80224
  var tmp_0 = getKClass(CallReducer);
80215
- $cancel._v = this$0.t44_1.r20(tmp_0, VoiceAPIImpl$serverCall$lambda$lambda$lambda$lambda$lambda($call, $cancel, this$0, $callback, $legId));
80225
+ $cancel._v = this$0.g44_1.r20(tmp_0, VoiceAPIImpl$attemptOutboundCall$lambda$lambda$lambda$lambda$lambda($call, $cancel, this$0, $callback, $legId));
80216
80226
  tmp = Unit_instance;
80217
80227
  }
80218
80228
  return Unit_instance;
80219
80229
  };
80220
80230
  }
80221
- function VoiceAPIImpl$serverCall$lambda$lambda$lambda$lambda_0() {
80231
+ function VoiceAPIImpl$attemptOutboundCall$lambda$lambda$lambda$lambda_0($attempt, $legId) {
80232
+ return function () {
80233
+ return 'Media setup failed on attempt ' + $attempt + ' of leg ' + $legId + ', retrying with a fresh leg';
80234
+ };
80235
+ }
80236
+ function VoiceAPIImpl$attemptOutboundCall$lambda$lambda$lambda$lambda_1() {
80222
80237
  return 'Unexpected Media Connection Transition during setup';
80223
80238
  }
80224
- function VoiceAPIImpl$serverCall$lambda$lambda$lambda(this$0, $legId, $cancel, $callback) {
80239
+ function VoiceAPIImpl$attemptOutboundCall$lambda$lambda$lambda(this$0, $legId, $cancel, $attempt, $user, $context, $callback) {
80225
80240
  return function () {
80226
- var state = this$0.t44_1.l1z(getKClass(CallReducer));
80241
+ var state = this$0.g44_1.l1z(getKClass(CallReducer));
80227
80242
  var tmp0_safe_receiver = state.w44_1.j2($legId);
80228
80243
  if (tmp0_safe_receiver == null)
80229
80244
  null;
80230
80245
  else {
80231
80246
  // Inline function 'kotlin.let' call
80232
- switch (tmp0_safe_receiver.o44_1.v2_1) {
80247
+ switch (tmp0_safe_receiver.r44_1.v2_1) {
80233
80248
  case 3:
80234
80249
  var tmp1_safe_receiver = $cancel._v;
80235
80250
  if (tmp1_safe_receiver == null)
80236
80251
  null;
80237
80252
  else
80238
80253
  tmp1_safe_receiver();
80239
- var tmp2_safe_receiver = tmp0_safe_receiver.i44_1;
80254
+ var tmp2_safe_receiver = tmp0_safe_receiver.l44_1;
80240
80255
  var tmp = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.j2('to');
80241
80256
  var tmp3_elvis_lhs = (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : null;
80242
- var tmp_0 = new AppKnockingRequest(tmp0_safe_receiver.h44_1, new PhoneChannelEndpoint(tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs), $legId, tmp0_safe_receiver.i44_1);
80243
- this$0.t44_1.z1z(new Action_0(tmp_0, new ActionMeta(VOID, tmp0_safe_receiver.j44_1, VoiceAPIImpl$serverCall$lambda$lambda$lambda$lambda(this$0, tmp0_safe_receiver, $callback, $legId, $cancel))));
80257
+ var tmp_0 = new AppKnockingRequest(tmp0_safe_receiver.k44_1, new PhoneChannelEndpoint(tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs), $legId, tmp0_safe_receiver.l44_1);
80258
+ this$0.g44_1.z1z(new Action_0(tmp_0, new ActionMeta(VOID, tmp0_safe_receiver.m44_1, VoiceAPIImpl$attemptOutboundCall$lambda$lambda$lambda$lambda(this$0, tmp0_safe_receiver, $callback, $legId, $cancel))));
80244
80259
  break;
80245
80260
  case 2:
80246
80261
  case 1:
@@ -80252,18 +80267,24 @@ function requireClientsdkClientcore () {
80252
80267
  null;
80253
80268
  else
80254
80269
  tmp4_safe_receiver();
80255
- reportError(this$0.t44_1, $callback, new MediaTimeout(), ErrorTrail_OUTBOUND_MEDIA_FAILED_getInstance(), VOID, $legId);
80256
- this$0.t44_1.z1z(Action_init_$Create$(new CallCleanup($legId)));
80270
+ this$0.g44_1.z1z(Action_init_$Create$(new CallCleanup($legId)));
80271
+ if ($attempt <= 1) {
80272
+ this$0.h44_1.a45(VOID, VoiceAPIImpl$attemptOutboundCall$lambda$lambda$lambda$lambda_0($attempt, $legId));
80273
+ attemptOutboundCall(this$0, $user, $context, $attempt + 1 | 0, 500, $callback);
80274
+ } else {
80275
+ reportError(this$0.g44_1, $callback, new MediaSetupFailed($attempt), ErrorTrail_OUTBOUND_MEDIA_FAILED_getInstance(), VOID, $legId);
80276
+ }
80277
+
80257
80278
  break;
80258
80279
  case 6:
80259
80280
  case 4:
80260
- this$0.u44_1.a45(VOID, VoiceAPIImpl$serverCall$lambda$lambda$lambda$lambda_0);
80281
+ this$0.h44_1.a45(VOID, VoiceAPIImpl$attemptOutboundCall$lambda$lambda$lambda$lambda_1);
80261
80282
  var tmp5_safe_receiver = $cancel._v;
80262
80283
  if (tmp5_safe_receiver == null)
80263
80284
  null;
80264
80285
  else
80265
80286
  tmp5_safe_receiver();
80266
- this$0.t44_1.z1z(Action_init_$Create$(new CallCleanup($legId)));
80287
+ this$0.g44_1.z1z(Action_init_$Create$(new CallCleanup($legId)));
80267
80288
  break;
80268
80289
  default:
80269
80290
  noWhenBranchMatchedException();
@@ -80273,22 +80294,22 @@ function requireClientsdkClientcore () {
80273
80294
  return Unit_instance;
80274
80295
  };
80275
80296
  }
80276
- function VoiceAPIImpl$serverCall$lambda$lambda(this$0, $legId, $cancel, $callback) {
80297
+ function VoiceAPIImpl$attemptOutboundCall$lambda$lambda(this$0, $legId, $cancel, $attempt, $user, $context, $callback) {
80277
80298
  return function () {
80278
- return new StoredSubscription(VoiceAPIImpl$serverCall$lambda$lambda$lambda(this$0, $legId, $cancel, $callback));
80299
+ return new StoredSubscription(VoiceAPIImpl$attemptOutboundCall$lambda$lambda$lambda(this$0, $legId, $cancel, $attempt, $user, $context, $callback));
80279
80300
  };
80280
80301
  }
80281
- function VoiceAPIImpl$serverCall$lambda(this$0, $callback) {
80302
+ function VoiceAPIImpl$attemptOutboundCall$lambda(this$0, $callback, $attempt, $user, $context) {
80282
80303
  return function (it) {
80283
80304
  var tmp;
80284
80305
  if (!(it == null) ? typeof it === 'string' : false) {
80285
80306
  var legId = it;
80286
80307
  var cancel = {_v: null};
80287
80308
  var tmp_0 = getKClass(CallReducer);
80288
- cancel._v = this$0.t44_1.r20(tmp_0, VoiceAPIImpl$serverCall$lambda$lambda(this$0, legId, cancel, $callback));
80309
+ cancel._v = this$0.g44_1.r20(tmp_0, VoiceAPIImpl$attemptOutboundCall$lambda$lambda(this$0, legId, cancel, $attempt, $user, $context, $callback));
80289
80310
  tmp = Unit_instance;
80290
80311
  } else {
80291
- reportError(this$0.t44_1, $callback, it, ErrorTrail_OUTBOUND_SETUP_getInstance());
80312
+ reportError(this$0.g44_1, $callback, it, ErrorTrail_OUTBOUND_SETUP_getInstance());
80292
80313
  tmp = Unit_instance;
80293
80314
  }
80294
80315
  return Unit_instance;
@@ -80296,7 +80317,7 @@ function requireClientsdkClientcore () {
80296
80317
  }
80297
80318
  function VoiceAPIImpl$reconnectCall$lambda$lambda(this$0, $callId, $once, $callback) {
80298
80319
  return function () {
80299
- var state = this$0.t44_1.l1z(getKClass(CallReducer));
80320
+ var state = this$0.g44_1.l1z(getKClass(CallReducer));
80300
80321
  var tmp0_elvis_lhs = state.w44_1.j2($callId);
80301
80322
  var tmp;
80302
80323
  if (tmp0_elvis_lhs == null) {
@@ -80305,7 +80326,7 @@ function requireClientsdkClientcore () {
80305
80326
  tmp = tmp0_elvis_lhs;
80306
80327
  }
80307
80328
  var call = tmp;
80308
- var legState = call.l44_1;
80329
+ var legState = call.o44_1;
80309
80330
  var tmp_0;
80310
80331
  if (legState.g2() instanceof Started) {
80311
80332
  var tmp2_safe_receiver = $once._v;
@@ -80314,7 +80335,7 @@ function requireClientsdkClientcore () {
80314
80335
  else
80315
80336
  tmp2_safe_receiver();
80316
80337
  var tmp_1;
80317
- if (call.g44_1) {
80338
+ if (call.j44_1) {
80318
80339
  tmp_1 = $callback(null);
80319
80340
  }
80320
80341
  tmp_0 = tmp_1;
@@ -80331,11 +80352,11 @@ function requireClientsdkClientcore () {
80331
80352
  }
80332
80353
  function VoiceAPIImpl$answerCall$lambda$lambda$lambda$lambda(this$0, $legIdOrErr, $callback, $invite, $cancel) {
80333
80354
  return function () {
80334
- var call = this$0.t44_1.l1z(getKClass(CallReducer)).w44_1.j2($legIdOrErr);
80335
- var tmp1_subject = call == null ? null : call.o44_1;
80355
+ var call = this$0.g44_1.l1z(getKClass(CallReducer)).w44_1.j2($legIdOrErr);
80356
+ var tmp1_subject = call == null ? null : call.r44_1;
80336
80357
  switch (tmp1_subject == null ? -1 : tmp1_subject.v2_1) {
80337
80358
  case -1:
80338
- reportError_0(this$0.t44_1, $callback, new NoInviteFound(), ErrorTrail_ANSWER_CALL_GONE_getInstance(), $invite.e45_1, $legIdOrErr);
80359
+ reportError_0(this$0.g44_1, $callback, new NoInviteFound(), ErrorTrail_ANSWER_CALL_GONE_getInstance(), $invite.e45_1, $legIdOrErr);
80339
80360
  // Inline function 'kotlin.also' call
80340
80361
 
80341
80362
  var tmp0_safe_receiver = $cancel._v;
@@ -80357,7 +80378,7 @@ function requireClientsdkClientcore () {
80357
80378
  // Inline function 'kotlin.also' call
80358
80379
 
80359
80380
  tmp3_safe_receiver == null || tmp3_safe_receiver();
80360
- reportError_0(this$0.t44_1, $callback, new InboundCallFailed(), ErrorTrail_ANSWER_MEDIA_FAILED_getInstance(), $invite.e45_1, $legIdOrErr);
80381
+ reportError_0(this$0.g44_1, $callback, new InboundCallFailed(), ErrorTrail_ANSWER_MEDIA_FAILED_getInstance(), $invite.e45_1, $legIdOrErr);
80361
80382
  break;
80362
80383
  default:
80363
80384
  break;
@@ -80376,10 +80397,10 @@ function requireClientsdkClientcore () {
80376
80397
  if (!(legIdOrErr == null) ? typeof legIdOrErr === 'string' : false) {
80377
80398
  var cancel = {_v: null};
80378
80399
  var tmp_0 = getKClass(CallReducer);
80379
- cancel._v = this$0.t44_1.r20(tmp_0, VoiceAPIImpl$answerCall$lambda$lambda$lambda(this$0, legIdOrErr, $callback, $invite, cancel));
80400
+ cancel._v = this$0.g44_1.r20(tmp_0, VoiceAPIImpl$answerCall$lambda$lambda$lambda(this$0, legIdOrErr, $callback, $invite, cancel));
80380
80401
  tmp = Unit_instance;
80381
80402
  } else {
80382
- reportError_0(this$0.t44_1, $callback, new InboundCallFailed(legIdOrErr instanceof Exception ? legIdOrErr : null), ErrorTrail_ANSWER_SETUP_getInstance(), $invite.e45_1, $callId);
80403
+ reportError_0(this$0.g44_1, $callback, new InboundCallFailed(legIdOrErr instanceof Exception ? legIdOrErr : null), ErrorTrail_ANSWER_SETUP_getInstance(), $invite.e45_1, $callId);
80383
80404
  tmp = Unit_instance;
80384
80405
  }
80385
80406
  return Unit_instance;
@@ -80389,17 +80410,17 @@ function requireClientsdkClientcore () {
80389
80410
  return function (it) {
80390
80411
  var tmp;
80391
80412
  if (it instanceof Exception) {
80392
- reportError_0(this$0.t44_1, $callback, it, ErrorTrail_ANSWER_MEMBER_JOIN_FAILED_getInstance(), $invite.e45_1, $callId);
80413
+ reportError_0(this$0.g44_1, $callback, it, ErrorTrail_ANSWER_MEMBER_JOIN_FAILED_getInstance(), $invite.e45_1, $callId);
80393
80414
  tmp = Unit_instance;
80394
80415
  } else {
80395
80416
  if ($invite.f45_1 == null) {
80396
80417
  // Inline function 'kotlin.run' call
80397
80418
  var $this$run = this$0;
80398
- reportError_0($this$run.t44_1, $callback, new NoOfferFound(), ErrorTrail_ANSWER_NO_OFFER_getInstance(), $invite.e45_1, $callId);
80419
+ reportError_0($this$run.g44_1, $callback, new NoOfferFound(), ErrorTrail_ANSWER_NO_OFFER_getInstance(), $invite.e45_1, $callId);
80399
80420
  return Unit_instance;
80400
80421
  }
80401
80422
  var tmp_0 = new SetupInboundCall($callId, $invite.e45_1, $invite.d45_1, $invite.b45_1, $invite.f45_1, null);
80402
- this$0.t44_1.z1z(new Action_0(tmp_0, new ActionMeta(VOID, VOID, VoiceAPIImpl$answerCall$lambda$lambda(this$0, $callback, $invite, $callId))));
80423
+ this$0.g44_1.z1z(new Action_0(tmp_0, new ActionMeta(VOID, VOID, VoiceAPIImpl$answerCall$lambda$lambda(this$0, $callback, $invite, $callId))));
80403
80424
  tmp = Unit_instance;
80404
80425
  }
80405
80426
  return Unit_instance;
@@ -80409,7 +80430,7 @@ function requireClientsdkClientcore () {
80409
80430
  return function (result) {
80410
80431
  var tmp;
80411
80432
  if (result instanceof Exception) {
80412
- reportError_0(this$0.t44_1, $callback, result, $trail, VOID, $callId);
80433
+ reportError_0(this$0.g44_1, $callback, result, $trail, VOID, $callId);
80413
80434
  tmp = Unit_instance;
80414
80435
  } else {
80415
80436
  tmp = $callback(null);
@@ -80421,10 +80442,10 @@ function requireClientsdkClientcore () {
80421
80442
  return function (muteOutcome) {
80422
80443
  var tmp;
80423
80444
  if (muteOutcome instanceof Exception) {
80424
- reportError_0(this$0.t44_1, $callback, muteOutcome, ErrorTrail_MUTE_MEDIA_FAILED_getInstance(), VOID, $callId);
80445
+ reportError_0(this$0.g44_1, $callback, muteOutcome, ErrorTrail_MUTE_MEDIA_FAILED_getInstance(), VOID, $callId);
80425
80446
  tmp = Unit_instance;
80426
80447
  } else {
80427
- this$0.t44_1.z1z(new Action_0(new LegMuteRequest($cid, $callId, $mid), new ActionMeta(VOID, $callId, actionOutcome(this$0, ErrorTrail_MUTE_REQUEST_FAILED_getInstance(), $callId, $callback))));
80448
+ this$0.g44_1.z1z(new Action_0(new LegMuteRequest($cid, $callId, $mid), new ActionMeta(VOID, $callId, actionOutcome(this$0, ErrorTrail_MUTE_REQUEST_FAILED_getInstance(), $callId, $callback))));
80428
80449
  tmp = Unit_instance;
80429
80450
  }
80430
80451
  return Unit_instance;
@@ -80433,7 +80454,7 @@ function requireClientsdkClientcore () {
80433
80454
  function VoiceAPIImpl$mute$lambda(this$0, $callId, $callback) {
80434
80455
  return function (cid, mid) {
80435
80456
  var tmp = new Mute($callId);
80436
- this$0.t44_1.z1z(new Action_0(tmp, new ActionMeta(VOID, $callId, VoiceAPIImpl$mute$lambda$lambda(this$0, $callback, $callId, cid, mid))));
80457
+ this$0.g44_1.z1z(new Action_0(tmp, new ActionMeta(VOID, $callId, VoiceAPIImpl$mute$lambda$lambda(this$0, $callback, $callId, cid, mid))));
80437
80458
  return Unit_instance;
80438
80459
  };
80439
80460
  }
@@ -80441,10 +80462,10 @@ function requireClientsdkClientcore () {
80441
80462
  return function (unmuteOutcome) {
80442
80463
  var tmp;
80443
80464
  if (unmuteOutcome instanceof Exception) {
80444
- reportError_0(this$0.t44_1, $callback, unmuteOutcome, ErrorTrail_UNMUTE_MEDIA_FAILED_getInstance(), VOID, $callId);
80465
+ reportError_0(this$0.g44_1, $callback, unmuteOutcome, ErrorTrail_UNMUTE_MEDIA_FAILED_getInstance(), VOID, $callId);
80445
80466
  tmp = Unit_instance;
80446
80467
  } else {
80447
- this$0.t44_1.z1z(new Action_0(new LegUnmuteRequest($cid, $callId, $mid), new ActionMeta(VOID, $callId, actionOutcome(this$0, ErrorTrail_UNMUTE_REQUEST_FAILED_getInstance(), $callId, $callback))));
80468
+ this$0.g44_1.z1z(new Action_0(new LegUnmuteRequest($cid, $callId, $mid), new ActionMeta(VOID, $callId, actionOutcome(this$0, ErrorTrail_UNMUTE_REQUEST_FAILED_getInstance(), $callId, $callback))));
80448
80469
  tmp = Unit_instance;
80449
80470
  }
80450
80471
  return Unit_instance;
@@ -80453,34 +80474,34 @@ function requireClientsdkClientcore () {
80453
80474
  function VoiceAPIImpl$unmute$lambda(this$0, $callId, $callback) {
80454
80475
  return function (cid, mid) {
80455
80476
  var tmp = new Unmute($callId);
80456
- this$0.t44_1.z1z(new Action_0(tmp, new ActionMeta(VOID, $callId, VoiceAPIImpl$unmute$lambda$lambda(this$0, $callback, $callId, cid, mid))));
80477
+ this$0.g44_1.z1z(new Action_0(tmp, new ActionMeta(VOID, $callId, VoiceAPIImpl$unmute$lambda$lambda(this$0, $callback, $callId, cid, mid))));
80457
80478
  return Unit_instance;
80458
80479
  };
80459
80480
  }
80460
80481
  function VoiceAPIImpl$enableEarmuff$lambda(this$0, $callId, $callback) {
80461
80482
  return function (cid, mid) {
80462
- this$0.t44_1.z1z(Action_init_$Create$(new EnableEarmuff($callId)));
80463
- this$0.t44_1.z1z(new Action_0(new LegEarmuffEnableRequest(cid, $callId, mid), new ActionMeta(VOID, $callId, actionOutcome(this$0, ErrorTrail_ENABLE_EARMUFF_REQUEST_FAILED_getInstance(), $callId, $callback))));
80483
+ this$0.g44_1.z1z(Action_init_$Create$(new EnableEarmuff($callId)));
80484
+ this$0.g44_1.z1z(new Action_0(new LegEarmuffEnableRequest(cid, $callId, mid), new ActionMeta(VOID, $callId, actionOutcome(this$0, ErrorTrail_ENABLE_EARMUFF_REQUEST_FAILED_getInstance(), $callId, $callback))));
80464
80485
  return Unit_instance;
80465
80486
  };
80466
80487
  }
80467
80488
  function VoiceAPIImpl$disableEarmuff$lambda(this$0, $callId, $callback) {
80468
80489
  return function (cid, mid) {
80469
- this$0.t44_1.z1z(Action_init_$Create$(new DisableEarmuff($callId)));
80470
- this$0.t44_1.z1z(new Action_0(new LegEarmuffDisableRequest(cid, $callId, mid), new ActionMeta(VOID, $callId, actionOutcome(this$0, ErrorTrail_DISABLE_EARMUFF_REQUEST_FAILED_getInstance(), $callId, $callback))));
80490
+ this$0.g44_1.z1z(Action_init_$Create$(new DisableEarmuff($callId)));
80491
+ this$0.g44_1.z1z(new Action_0(new LegEarmuffDisableRequest(cid, $callId, mid), new ActionMeta(VOID, $callId, actionOutcome(this$0, ErrorTrail_DISABLE_EARMUFF_REQUEST_FAILED_getInstance(), $callId, $callback))));
80471
80492
  return Unit_instance;
80472
80493
  };
80473
80494
  }
80474
80495
  function VoiceAPIImpl$sendDTMF$lambda(this$0, $callId, $digits, $callback) {
80475
80496
  return function (cid, mid) {
80476
- this$0.t44_1.z1z(Action_init_$Create$(new DisableEarmuff($callId)));
80477
- this$0.t44_1.z1z(new Action_0(new LegDTMFRequest(cid, $callId, mid, $digits), new ActionMeta(VOID, $callId, actionOutcome(this$0, ErrorTrail_SEND_DTMF_REQUEST_FAILED_getInstance(), $callId, $callback))));
80497
+ this$0.g44_1.z1z(Action_init_$Create$(new DisableEarmuff($callId)));
80498
+ this$0.g44_1.z1z(new Action_0(new LegDTMFRequest(cid, $callId, mid, $digits), new ActionMeta(VOID, $callId, actionOutcome(this$0, ErrorTrail_SEND_DTMF_REQUEST_FAILED_getInstance(), $callId, $callback))));
80478
80499
  return Unit_instance;
80479
80500
  };
80480
80501
  }
80481
80502
  function VoiceAPIImpl$say$lambda(this$0, $text, $level, $loop, $queue, $voiceName, $ssml, $callId, $callback) {
80482
80503
  return function (cid, mid) {
80483
- this$0.t44_1.z1z(new Action_0(new AudioSayRequest(cid, mid, $text, $level, $loop, $queue, $voiceName, $ssml), new ActionMeta(VOID, $callId, actionOutcome(this$0, ErrorTrail_SAY_REQUEST_FAILED_getInstance(), $callId, $callback))));
80504
+ this$0.g44_1.z1z(new Action_0(new AudioSayRequest(cid, mid, $text, $level, $loop, $queue, $voiceName, $ssml), new ActionMeta(VOID, $callId, actionOutcome(this$0, ErrorTrail_SAY_REQUEST_FAILED_getInstance(), $callId, $callback))));
80484
80505
  return Unit_instance;
80485
80506
  };
80486
80507
  }
@@ -80496,7 +80517,7 @@ function requireClientsdkClientcore () {
80496
80517
  }
80497
80518
  var call = tmp;
80498
80519
  var tmp_0;
80499
- var tmp_1 = call.n44_1;
80520
+ var tmp_1 = call.q44_1;
80500
80521
  if (tmp_1 instanceof Connected) {
80501
80522
  var tmp1_safe_receiver = $cancel._v;
80502
80523
  if (tmp1_safe_receiver == null)
@@ -80505,7 +80526,7 @@ function requireClientsdkClientcore () {
80505
80526
  tmp1_safe_receiver();
80506
80527
  tmp_0 = Unit_instance;
80507
80528
  }
80508
- var tmp_2 = call.n44_1;
80529
+ var tmp_2 = call.q44_1;
80509
80530
  var tmp2_safe_receiver = tmp_2 instanceof Reconnecting ? tmp_2 : null;
80510
80531
  var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.n45_1;
80511
80532
  var tmp_3;
@@ -80542,10 +80563,10 @@ function requireClientsdkClientcore () {
80542
80563
  return function (response) {
80543
80564
  var tmp;
80544
80565
  if (!(response == null) ? typeof response === 'string' : false) {
80545
- $store.z1z(Action_init_$Create$(new CallReconnectSuccess($updatedCall.j44_1)));
80566
+ $store.z1z(Action_init_$Create$(new CallReconnectSuccess($updatedCall.m44_1)));
80546
80567
  tmp = Unit_instance;
80547
80568
  } else {
80548
- var tmp_0 = $updatedCall.n44_1;
80569
+ var tmp_0 = $updatedCall.q44_1;
80549
80570
  var tmp1_safe_receiver = tmp_0 instanceof Reconnecting ? tmp_0 : null;
80550
80571
  var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.n45_1;
80551
80572
  var tmp_1;
@@ -80558,10 +80579,10 @@ function requireClientsdkClientcore () {
80558
80579
  var csError = response instanceof CSError ? response : null;
80559
80580
  var tmp_2;
80560
80581
  if (retryCount === 5 || !(csError == null)) {
80561
- $store.z1z(Action_init_$Create$(new CallReconnectFailure($updatedCall.j44_1)));
80582
+ $store.z1z(Action_init_$Create$(new CallReconnectFailure($updatedCall.m44_1)));
80562
80583
  tmp_2 = Unit_instance;
80563
80584
  } else {
80564
- $store.z1z(Action_init_$Create$(new TimeoutAction(new CallReconnectionRetry($updatedCall.j44_1), 3000)));
80585
+ $store.z1z(Action_init_$Create$(new TimeoutAction(new CallReconnectionRetry($updatedCall.m44_1), 3000)));
80565
80586
  tmp_2 = Unit_instance;
80566
80587
  }
80567
80588
  tmp = tmp_2;
@@ -80594,18 +80615,18 @@ function requireClientsdkClientcore () {
80594
80615
  var tmp0 = hangup.t33_1.q45_1.v2_1;
80595
80616
  var reason = {_v: tmp0 === 0 ? HangupReason_localHangup_getInstance() : tmp0 === 2 ? HangupReason_remoteHangup_getInstance() : tmp0 === 1 ? HangupReason_mediaTimeout_getInstance() : tmp0 === 4 ? HangupReason_mediaTimeout_getInstance() : HangupReason_localHangup_getInstance()};
80596
80617
  if (!(call == null)) {
80597
- if (call.k44_1.x45() === null) {
80618
+ if (call.n44_1.x45() === null) {
80598
80619
  var tmp_0;
80599
80620
  var tmp_1;
80600
- var tmp_2 = call.k44_1;
80621
+ var tmp_2 = call.n44_1;
80601
80622
  if (tmp_2 instanceof Resolved) {
80602
- var tmp_3 = call.k44_1.g2();
80623
+ var tmp_3 = call.n44_1.g2();
80603
80624
  tmp_1 = tmp_3 instanceof Left;
80604
80625
  } else {
80605
80626
  tmp_1 = false;
80606
80627
  }
80607
80628
  if (tmp_1) {
80608
- var tmp_4 = call.k44_1.g2();
80629
+ var tmp_4 = call.n44_1.g2();
80609
80630
  var tmp_5;
80610
80631
  switch ((tmp_4 instanceof Left ? tmp_4 : THROW_CCE()).v45_1) {
80611
80632
  case 'remote_rejected':
@@ -80632,7 +80653,7 @@ function requireClientsdkClientcore () {
80632
80653
  }
80633
80654
  invokeListener$default(this.o45_1, conversationId, VOID, VoiceAPIImpl$o$onRTCHangup$lambda(hangup, reason));
80634
80655
  }
80635
- cleanupReducers(this.o45_1.t44_1, legId, conversationId);
80656
+ cleanupReducers(this.o45_1.g44_1, legId, conversationId);
80636
80657
  };
80637
80658
  protoOf(VoiceAPIImpl$1).a3q = function (conversationId, legId, fromUserId, status) {
80638
80659
  if (!(conversationId == null) && !isFromMe(this.o45_1, fromUserId)) {
@@ -80644,15 +80665,15 @@ function requireClientsdkClientcore () {
80644
80665
  };
80645
80666
  function VoiceAPIImpl$lambda$lambda(this$0, $cachedSessionId) {
80646
80667
  return function () {
80647
- var state = this$0.t44_1.l1z(getKClass(SessionReducer));
80668
+ var state = this$0.g44_1.l1z(getKClass(SessionReducer));
80648
80669
  var currentSessionId = state.g2r_1.g2().g2x();
80649
80670
  var tmp;
80650
80671
  if (!state.h2r_1.w3k_1.equals(SocketConnectionStatus_Connected_getInstance())) {
80651
80672
  $cachedSessionId._v = null;
80652
80673
  tmp = Unit_instance;
80653
80674
  } else if (!(currentSessionId == null) && !(currentSessionId == $cachedSessionId._v)) {
80654
- cleanupReducers(this$0.t44_1);
80655
- var invites = this$0.t44_1.l1z(getKClass(InviteReducer)).y45_1;
80675
+ cleanupReducers(this$0.g44_1);
80676
+ var invites = this$0.g44_1.l1z(getKClass(InviteReducer)).y45_1;
80656
80677
  // Inline function 'kotlin.collections.filterValues' call
80657
80678
  var result = LinkedHashMap_init_$Create$();
80658
80679
  // Inline function 'kotlin.collections.iterator' call
@@ -80669,7 +80690,7 @@ function requireClientsdkClientcore () {
80669
80690
  var _iterator__ex2g4s_0 = result.m2().t();
80670
80691
  while (_iterator__ex2g4s_0.u()) {
80671
80692
  var element = _iterator__ex2g4s_0.v();
80672
- this$0.t44_1.z1z(new Action_0(new GetConversationRequest(element.g2().e45_1), new ActionMeta(VOID, element.g2().c45_1)));
80693
+ this$0.g44_1.z1z(new Action_0(new GetConversationRequest(element.g2().e45_1), new ActionMeta(VOID, element.g2().c45_1)));
80673
80694
  }
80674
80695
  tmp = Unit_instance;
80675
80696
  } else {
@@ -80705,7 +80726,7 @@ function requireClientsdkClientcore () {
80705
80726
  var currentInviteState = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.g45_1;
80706
80727
  var tmp_2;
80707
80728
  if (!(currentInviteState == null) && equals(currentInviteState.g2(), None_instance_1)) {
80708
- this$0.t44_1.z1z(Action_init_$Create$(new InviteReconcile($it.c45_1)));
80729
+ this$0.g44_1.z1z(Action_init_$Create$(new InviteReconcile($it.c45_1)));
80709
80730
  tmp_2 = Unit_instance;
80710
80731
  }
80711
80732
  tmp = tmp_2;
@@ -80717,7 +80738,7 @@ function requireClientsdkClientcore () {
80717
80738
  }
80718
80739
  function VoiceAPIImpl$lambda$lambda_0(this$0, $cache) {
80719
80740
  return function () {
80720
- var state = this$0.t44_1.l1z(getKClass(InviteReducer));
80741
+ var state = this$0.g44_1.l1z(getKClass(InviteReducer));
80721
80742
  var tmp;
80722
80743
  if (state.a46_1 == null) {
80723
80744
  tmp = null;
@@ -80746,18 +80767,18 @@ function requireClientsdkClientcore () {
80746
80767
  var value = updatedInvite.b46();
80747
80768
  tmp0_1.n2(tmp2, value);
80748
80769
  // Inline function 'kotlin.also' call
80749
- var config = this$0.t44_1.l1z(getKClass(ConfigReducer));
80770
+ var config = this$0.g44_1.l1z(getKClass(ConfigReducer));
80750
80771
  if (config.z2q_1 && updatedInvite.h45_1) {
80751
- var tmp0_safe_receiver = this$0.v44_1;
80772
+ var tmp0_safe_receiver = this$0.i44_1;
80752
80773
  if (tmp0_safe_receiver == null)
80753
80774
  null;
80754
80775
  else {
80755
80776
  tmp0_safe_receiver.t43(updatedInvite.c45_1, from(updatedInvite.b45_1), updatedInvite.b45_1.z23());
80756
80777
  }
80757
80778
  }
80758
- this$0.t44_1.z1z(new Action_0(new GetConversationRequest(updatedInvite.e45_1), new ActionMeta(VOID, updatedInvite.c45_1)));
80779
+ this$0.g44_1.z1z(new Action_0(new GetConversationRequest(updatedInvite.e45_1), new ActionMeta(VOID, updatedInvite.c45_1)));
80759
80780
  var tmp_1 = new TimeoutAction(new GetConversationRequest(updatedInvite.e45_1), 60000);
80760
- this$0.t44_1.z1z(new Action_0(tmp_1, new ActionMeta(VOID, updatedInvite.c45_1, VoiceAPIImpl$lambda$lambda$lambda(state, updatedInvite, this$0))));
80781
+ this$0.g44_1.z1z(new Action_0(tmp_1, new ActionMeta(VOID, updatedInvite.c45_1, VoiceAPIImpl$lambda$lambda$lambda(state, updatedInvite, this$0))));
80761
80782
  } else {
80762
80783
  var tmp_2;
80763
80784
  var tmp_3;
@@ -80784,7 +80805,7 @@ function requireClientsdkClientcore () {
80784
80805
  tmp_2 = false;
80785
80806
  }
80786
80807
  if (tmp_2) {
80787
- var tmp1_safe_receiver = this$0.v44_1;
80808
+ var tmp1_safe_receiver = this$0.i44_1;
80788
80809
  if (tmp1_safe_receiver == null)
80789
80810
  null;
80790
80811
  else {
@@ -80847,7 +80868,7 @@ function requireClientsdkClientcore () {
80847
80868
  null;
80848
80869
  else {
80849
80870
  // Inline function 'kotlin.let' call
80850
- var tmp0_safe_receiver_0 = this$0.v44_1;
80871
+ var tmp0_safe_receiver_0 = this$0.i44_1;
80851
80872
  var tmp_15;
80852
80873
  if (tmp0_safe_receiver_0 == null) {
80853
80874
  tmp_15 = null;
@@ -80898,7 +80919,7 @@ function requireClientsdkClientcore () {
80898
80919
  }
80899
80920
  function VoiceAPIImpl$lambda$lambda_1(this$0, $cache) {
80900
80921
  return function () {
80901
- var state = this$0.t44_1.l1z(getKClass(CallReducer));
80922
+ var state = this$0.g44_1.l1z(getKClass(CallReducer));
80902
80923
  var tmp0_elvis_lhs = state.z44_1;
80903
80924
  var tmp;
80904
80925
  if (tmp0_elvis_lhs == null) {
@@ -80917,19 +80938,19 @@ function requireClientsdkClientcore () {
80917
80938
  var updatedCall = tmp_0;
80918
80939
  var cachedCall = $cache.j2(lastModifiedCallId);
80919
80940
  var tmp0 = $cache;
80920
- var tmp2 = updatedCall.j44_1;
80941
+ var tmp2 = updatedCall.m44_1;
80921
80942
  // Inline function 'kotlin.collections.set' call
80922
80943
  var value = updatedCall.c46();
80923
80944
  tmp0.n2(tmp2, value);
80924
80945
  if (cachedCall == null)
80925
80946
  return Unit_instance;
80926
80947
  var tmp_1;
80927
- if (!equals(updatedCall.k44_1, cachedCall.k44_1)) {
80948
+ if (!equals(updatedCall.n44_1, cachedCall.n44_1)) {
80928
80949
  onCallMemberChange(this$0, updatedCall);
80929
80950
  tmp_1 = Unit_instance;
80930
80951
  }
80931
80952
  var tmp_2;
80932
- if ((!(updatedCall.m44_1.d46_1 == null) || updatedCall.g44_1) && (!updatedCall.m44_1.equals(cachedCall.m44_1) || !equals(updatedCall.l44_1, cachedCall.l44_1))) {
80953
+ if ((!(updatedCall.p44_1.d46_1 == null) || updatedCall.j44_1) && (!updatedCall.p44_1.equals(cachedCall.p44_1) || !equals(updatedCall.o44_1, cachedCall.o44_1))) {
80933
80954
  onCallMediaChange(this$0, updatedCall);
80934
80955
  tmp_2 = Unit_instance;
80935
80956
  }
@@ -80945,7 +80966,7 @@ function requireClientsdkClientcore () {
80945
80966
  }
80946
80967
  function VoiceAPIImpl$lambda$lambda_2(this$0, $cache) {
80947
80968
  return function () {
80948
- var callState = this$0.t44_1.l1z(getKClass(CallReducer));
80969
+ var callState = this$0.g44_1.l1z(getKClass(CallReducer));
80949
80970
  var tmp0_elvis_lhs = callState.z44_1;
80950
80971
  var tmp;
80951
80972
  if (tmp0_elvis_lhs == null) {
@@ -80961,7 +80982,7 @@ function requireClientsdkClientcore () {
80961
80982
  } else {
80962
80983
  // Inline function 'kotlin.takeUnless' call
80963
80984
  var tmp_1;
80964
- var tmp_2 = tmp1_safe_receiver.l44_1.g2();
80985
+ var tmp_2 = tmp1_safe_receiver.o44_1.g2();
80965
80986
  if (!(tmp_2 instanceof Completed)) {
80966
80987
  tmp_1 = tmp1_safe_receiver;
80967
80988
  } else {
@@ -80984,7 +81005,7 @@ function requireClientsdkClientcore () {
80984
81005
  } else {
80985
81006
  // Inline function 'kotlin.takeUnless' call
80986
81007
  var tmp_5;
80987
- if (!getKClassFromExpression(tmp3_safe_receiver.n44_1).equals(getKClassFromExpression(updatedCall.n44_1))) {
81008
+ if (!getKClassFromExpression(tmp3_safe_receiver.q44_1).equals(getKClassFromExpression(updatedCall.q44_1))) {
80988
81009
  tmp_5 = tmp3_safe_receiver;
80989
81010
  } else {
80990
81011
  tmp_5 = null;
@@ -80997,10 +81018,10 @@ function requireClientsdkClientcore () {
80997
81018
  else {
80998
81019
  // Inline function 'kotlin.let' call
80999
81020
  $l$block: {
81000
- var tmp0_subject = updatedCall.n44_1;
81021
+ var tmp0_subject = updatedCall.q44_1;
81001
81022
  if (tmp0_subject instanceof Reconnecting) {
81002
81023
  // Inline function 'kotlin.takeIf' call
81003
- var this_0 = this$0.t44_1.l1z(getKClass(ConfigReducer));
81024
+ var this_0 = this$0.g44_1.l1z(getKClass(ConfigReducer));
81004
81025
  var tmp_6;
81005
81026
  if (this_0.e2r_1) {
81006
81027
  tmp_6 = this_0;
@@ -81010,23 +81031,23 @@ function requireClientsdkClientcore () {
81010
81031
  if (tmp_6 == null) {
81011
81032
  break $l$block;
81012
81033
  }
81013
- var tmp2_safe_receiver = this$0.v44_1;
81034
+ var tmp2_safe_receiver = this$0.i44_1;
81014
81035
  if (tmp2_safe_receiver == null)
81015
81036
  null;
81016
81037
  else {
81017
- tmp2_safe_receiver.b44(updatedCall.j44_1);
81038
+ tmp2_safe_receiver.b44(updatedCall.m44_1);
81018
81039
  }
81019
- handleCallReconnection(this$0, this$0.t44_1, updatedCall.j44_1);
81040
+ handleCallReconnection(this$0, this$0.g44_1, updatedCall.m44_1);
81020
81041
  } else {
81021
81042
  if (equals(tmp0_subject, Connected_instance)) {
81022
- var tmp3_safe_receiver_0 = this$0.v44_1;
81043
+ var tmp3_safe_receiver_0 = this$0.i44_1;
81023
81044
  var tmp_7;
81024
81045
  if (tmp3_safe_receiver_0 == null) {
81025
81046
  tmp_7 = null;
81026
81047
  } else {
81027
81048
  // Inline function 'kotlin.takeIf' call
81028
81049
  var tmp_8;
81029
- var tmp_9 = tmp4_safe_receiver.n44_1;
81050
+ var tmp_9 = tmp4_safe_receiver.q44_1;
81030
81051
  if (tmp_9 instanceof Reconnecting) {
81031
81052
  tmp_8 = tmp3_safe_receiver_0;
81032
81053
  } else {
@@ -81038,15 +81059,15 @@ function requireClientsdkClientcore () {
81038
81059
  if (tmp4_safe_receiver_0 == null)
81039
81060
  null;
81040
81061
  else {
81041
- tmp4_safe_receiver_0.c44(updatedCall.j44_1);
81062
+ tmp4_safe_receiver_0.c44(updatedCall.m44_1);
81042
81063
  }
81043
81064
  } else {
81044
81065
  if (equals(tmp0_subject, Disconnected_instance)) {
81045
- var tmp5_safe_receiver = this$0.v44_1;
81066
+ var tmp5_safe_receiver = this$0.i44_1;
81046
81067
  if (tmp5_safe_receiver == null)
81047
81068
  null;
81048
81069
  else {
81049
- tmp5_safe_receiver.d44(updatedCall.j44_1, CallDisconnectReason_networkChange_getInstance());
81070
+ tmp5_safe_receiver.d44(updatedCall.m44_1, CallDisconnectReason_networkChange_getInstance());
81050
81071
  }
81051
81072
  } else {
81052
81073
  if (!equals(tmp0_subject, New_instance)) {
@@ -81073,7 +81094,7 @@ function requireClientsdkClientcore () {
81073
81094
  }
81074
81095
  function VoiceAPIImpl$lambda$lambda_3(this$0) {
81075
81096
  return function () {
81076
- var state = this$0.t44_1.l1z(getKClass(MediaEventReducer));
81097
+ var state = this$0.g44_1.l1z(getKClass(MediaEventReducer));
81077
81098
  var tmp0_elvis_lhs = state.h46_1;
81078
81099
  var tmp;
81079
81100
  if (tmp0_elvis_lhs == null) {
@@ -81091,7 +81112,7 @@ function requireClientsdkClientcore () {
81091
81112
  }
81092
81113
  var mediaEvent = tmp_0;
81093
81114
  if (mediaEvent instanceof MediaErrorEvent) {
81094
- var tmp3_safe_receiver = this$0.v44_1;
81115
+ var tmp3_safe_receiver = this$0.i44_1;
81095
81116
  if (tmp3_safe_receiver == null)
81096
81117
  null;
81097
81118
  else {
@@ -81099,7 +81120,7 @@ function requireClientsdkClientcore () {
81099
81120
  }
81100
81121
  } else {
81101
81122
  if (mediaEvent instanceof RTCStatsUpdate) {
81102
- var tmp4_safe_receiver = this$0.v44_1;
81123
+ var tmp4_safe_receiver = this$0.i44_1;
81103
81124
  if (tmp4_safe_receiver == null)
81104
81125
  null;
81105
81126
  else {
@@ -81121,16 +81142,16 @@ function requireClientsdkClientcore () {
81121
81142
  if (memberResponse instanceof GetMember) {
81122
81143
  var tmp_0;
81123
81144
  if (memberResponse.s2h_1.v2_1 === 1) {
81124
- this$0.t44_1.z1z(Action_init_$Create$(new CallReconnect($legId, memberResponse.r2h_1, $legResponse.l29_1)));
81145
+ this$0.g44_1.z1z(Action_init_$Create$(new CallReconnect($legId, memberResponse.r2h_1, $legResponse.l29_1)));
81125
81146
  tmp_0 = Unit_instance;
81126
81147
  } else {
81127
- reportError_0(this$0.t44_1, $callback, new MemberNotInConversation(), ErrorTrail_RECONNECT_MEMBER_NOT_JOINED_getInstance(), VOID, $legId);
81148
+ reportError_0(this$0.g44_1, $callback, new MemberNotInConversation(), ErrorTrail_RECONNECT_MEMBER_NOT_JOINED_getInstance(), VOID, $legId);
81128
81149
  tmp_0 = Unit_instance;
81129
81150
  }
81130
81151
  tmp = tmp_0;
81131
81152
  } else {
81132
- reportError_0(this$0.t44_1, $callback, new NoConversationFound(), ErrorTrail_RECONNECT_MEMBER_FETCH_FAILED_getInstance(), VOID, $legId);
81133
- this$0.t44_1.z1z(Action_init_$Create$(new CallCleanup($legId)));
81153
+ reportError_0(this$0.g44_1, $callback, new NoConversationFound(), ErrorTrail_RECONNECT_MEMBER_FETCH_FAILED_getInstance(), VOID, $legId);
81154
+ this$0.g44_1.z1z(Action_init_$Create$(new CallCleanup($legId)));
81134
81155
  tmp = Unit_instance;
81135
81156
  }
81136
81157
  return Unit_instance;
@@ -81141,66 +81162,66 @@ function requireClientsdkClientcore () {
81141
81162
  var tmp;
81142
81163
  if (legResponse instanceof GetLeg) {
81143
81164
  var tmp_0 = new GetMyMemberRequest(legResponse.l29_1);
81144
- this$0.t44_1.z1z(new Action_0(tmp_0, new ActionMeta(VOID, legResponse.k29_1, VoiceAPIImpl$getCallDetailsAndDispatchCallReconnect$lambda$lambda(this$0, $legId, legResponse, $callback))));
81165
+ this$0.g44_1.z1z(new Action_0(tmp_0, new ActionMeta(VOID, legResponse.k29_1, VoiceAPIImpl$getCallDetailsAndDispatchCallReconnect$lambda$lambda(this$0, $legId, legResponse, $callback))));
81145
81166
  tmp = Unit_instance;
81146
81167
  } else {
81147
- reportError_0(this$0.t44_1, $callback, new NoLegFound(), ErrorTrail_RECONNECT_LEG_FETCH_FAILED_getInstance(), VOID, $legId);
81148
- this$0.t44_1.z1z(Action_init_$Create$(new CallCleanup($legId)));
81168
+ reportError_0(this$0.g44_1, $callback, new NoLegFound(), ErrorTrail_RECONNECT_LEG_FETCH_FAILED_getInstance(), VOID, $legId);
81169
+ this$0.g44_1.z1z(Action_init_$Create$(new CallCleanup($legId)));
81149
81170
  tmp = Unit_instance;
81150
81171
  }
81151
81172
  return Unit_instance;
81152
81173
  };
81153
81174
  }
81154
81175
  function VoiceAPIImpl(store, events, loggerAdapter) {
81155
- this.t44_1 = store;
81156
- this.u44_1 = loggerAdapter.q20(Voice_getInstance());
81157
- this.v44_1 = null;
81176
+ this.g44_1 = store;
81177
+ this.h44_1 = loggerAdapter.q20(Voice_getInstance());
81178
+ this.i44_1 = null;
81158
81179
  events.d27(new VoiceAPIImpl$1(this));
81159
81180
  var tmp = getKClass(SessionReducer);
81160
- this.t44_1.r20(tmp, VoiceAPIImpl$lambda(this));
81181
+ this.g44_1.r20(tmp, VoiceAPIImpl$lambda(this));
81161
81182
  var tmp_0 = getKClass(InviteReducer);
81162
- this.t44_1.r20(tmp_0, VoiceAPIImpl$lambda_0(this));
81183
+ this.g44_1.r20(tmp_0, VoiceAPIImpl$lambda_0(this));
81163
81184
  var tmp_1 = getKClass(CallReducer);
81164
- this.t44_1.r20(tmp_1, VoiceAPIImpl$lambda_1(this));
81185
+ this.g44_1.r20(tmp_1, VoiceAPIImpl$lambda_1(this));
81165
81186
  var tmp_2 = getKClass(CallReducer);
81166
- this.t44_1.r20(tmp_2, VoiceAPIImpl$lambda_2(this));
81187
+ this.g44_1.r20(tmp_2, VoiceAPIImpl$lambda_2(this));
81167
81188
  var tmp_3 = getKClass(MediaEventReducer);
81168
- this.t44_1.r20(tmp_3, VoiceAPIImpl$lambda_3(this));
81189
+ this.g44_1.r20(tmp_3, VoiceAPIImpl$lambda_3(this));
81169
81190
  }
81170
81191
  protoOf(VoiceAPIImpl).y25 = function (listener) {
81171
- this.v44_1 = listener;
81192
+ this.i44_1 = listener;
81172
81193
  };
81173
81194
  protoOf(VoiceAPIImpl).b26 = function (legId, callback) {
81174
- if (getSessionUserOrError(this.t44_1, callback) == null)
81195
+ if (getSessionUserOrError(this.g44_1, callback) == null)
81175
81196
  return Unit_instance;
81176
81197
  var tmp = new GetLegRequest(legId);
81177
- this.t44_1.z1z(new Action_0(tmp, new ActionMeta(VOID, VOID, VoiceAPIImpl$getLeg$lambda(callback, this, legId))));
81198
+ this.g44_1.z1z(new Action_0(tmp, new ActionMeta(VOID, VOID, VoiceAPIImpl$getLeg$lambda(callback, this, legId))));
81178
81199
  };
81179
81200
  protoOf(VoiceAPIImpl).c26 = function (callId, parameters, callback) {
81180
- if (getSessionUserOrError(this.t44_1, callback) == null)
81201
+ if (getSessionUserOrError(this.g44_1, callback) == null)
81181
81202
  return Unit_instance;
81182
- var callState = this.t44_1.l1z(getKClass(CallReducer));
81203
+ var callState = this.g44_1.l1z(getKClass(CallReducer));
81183
81204
  var call = callState.w44_1.j2(callId);
81184
- var tmp2_safe_receiver = call == null ? null : call.k44_1;
81205
+ var tmp2_safe_receiver = call == null ? null : call.n44_1;
81185
81206
  var tmp = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.g2();
81186
81207
  var joinedMemberState = tmp instanceof Joined ? tmp : null;
81187
- var tmp4_elvis_lhs = joinedMemberState == null ? null : joinedMemberState.q44_1;
81208
+ var tmp4_elvis_lhs = joinedMemberState == null ? null : joinedMemberState.t44_1;
81188
81209
  var tmp_0;
81189
81210
  if (tmp4_elvis_lhs == null) {
81190
- var tmp5_safe_receiver = this.t44_1.l1z(getKClass(InviteReducer)).y45_1.j2(callId);
81211
+ var tmp5_safe_receiver = this.g44_1.l1z(getKClass(InviteReducer)).y45_1.j2(callId);
81191
81212
  tmp_0 = tmp5_safe_receiver == null ? null : tmp5_safe_receiver.e45_1;
81192
81213
  } else {
81193
81214
  tmp_0 = tmp4_elvis_lhs;
81194
81215
  }
81195
81216
  var conversationId = tmp_0;
81196
81217
  if (conversationId == null) {
81197
- return reportError(this.t44_1, callback, new NoCallFound(), ErrorTrail_GET_CALL_LEGS_NO_CALL_getInstance(), VOID, callId);
81218
+ return reportError(this.g44_1, callback, new NoCallFound(), ErrorTrail_GET_CALL_LEGS_NO_CALL_getInstance(), VOID, callId);
81198
81219
  }
81199
81220
  var tmp_1 = new GetConversationRequest(conversationId);
81200
- this.t44_1.z1z(new Action_0(tmp_1, new ActionMeta(VOID, VOID, VoiceAPIImpl$getCallLegs$lambda(this, callback, conversationId, callId, parameters))));
81221
+ this.g44_1.z1z(new Action_0(tmp_1, new ActionMeta(VOID, VOID, VoiceAPIImpl$getCallLegs$lambda(this, callback, conversationId, callId, parameters))));
81201
81222
  };
81202
81223
  protoOf(VoiceAPIImpl).z25 = function (context, callback) {
81203
- var tmp0_elvis_lhs = getSessionUserOrError(this.t44_1, callback);
81224
+ var tmp0_elvis_lhs = getSessionUserOrError(this.g44_1, callback);
81204
81225
  var tmp;
81205
81226
  if (tmp0_elvis_lhs == null) {
81206
81227
  return Unit_instance;
@@ -81208,30 +81229,29 @@ function requireClientsdkClientcore () {
81208
81229
  tmp = tmp0_elvis_lhs;
81209
81230
  }
81210
81231
  var user = tmp;
81211
- var tmp_0 = new SetupOutboundCall(user.v3q_1, context);
81212
- this.t44_1.z1z(new Action_0(tmp_0, new ActionMeta(VOID, VOID, VoiceAPIImpl$serverCall$lambda(this, callback))));
81232
+ attemptOutboundCall(this, user.v3q_1, context, 1, null, callback);
81213
81233
  };
81214
81234
  protoOf(VoiceAPIImpl).a26 = function (callId, callback) {
81215
81235
  var once = {_v: null};
81216
81236
  var tmp = getKClass(CallReducer);
81217
- once._v = this.t44_1.r20(tmp, VoiceAPIImpl$reconnectCall$lambda(this, callId, once, callback));
81218
- if (getSessionUserOrError_0(this.t44_1, callback) == null)
81237
+ once._v = this.g44_1.r20(tmp, VoiceAPIImpl$reconnectCall$lambda(this, callId, once, callback));
81238
+ if (getSessionUserOrError_0(this.g44_1, callback) == null)
81219
81239
  return Unit_instance;
81220
- var callState = this.t44_1.l1z(getKClass(CallReducer));
81240
+ var callState = this.g44_1.l1z(getKClass(CallReducer));
81221
81241
  var call = callState.w44_1.j2(callId);
81222
- var tmp2_safe_receiver = call == null ? null : call.k44_1;
81242
+ var tmp2_safe_receiver = call == null ? null : call.n44_1;
81223
81243
  var tmp_0 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.g2();
81224
81244
  var memberState = tmp_0 instanceof Joined ? tmp_0 : null;
81225
81245
  if (call == null || memberState == null) {
81226
81246
  getCallDetailsAndDispatchCallReconnect(this, callId, callback);
81227
81247
  } else {
81228
- this.t44_1.z1z(Action_init_$Create$(new CallReconnect(callId, memberState.r44_1, memberState.q44_1)));
81248
+ this.g44_1.z1z(Action_init_$Create$(new CallReconnect(callId, memberState.u44_1, memberState.t44_1)));
81229
81249
  }
81230
81250
  };
81231
81251
  protoOf(VoiceAPIImpl).d26 = function (callId, callback) {
81232
- var invite = this.t44_1.l1z(getKClass(InviteReducer)).y45_1.j2(callId);
81252
+ var invite = this.g44_1.l1z(getKClass(InviteReducer)).y45_1.j2(callId);
81233
81253
  if (invite == null) {
81234
- reportError_0(this.t44_1, callback, new NoInviteFound(), ErrorTrail_REJECT_NO_INVITE_getInstance(), VOID, callId);
81254
+ reportError_0(this.g44_1, callback, new NoInviteFound(), ErrorTrail_REJECT_NO_INVITE_getInstance(), VOID, callId);
81235
81255
  return Unit_instance;
81236
81256
  }
81237
81257
  var tmp;
@@ -81250,15 +81270,15 @@ function requireClientsdkClientcore () {
81250
81270
  tmp = tmp_3 instanceof Left;
81251
81271
  }
81252
81272
  if (tmp) {
81253
- reportError_0(this.t44_1, callback, new InvalidCallAction(), ErrorTrail_REJECT_INVALID_STATE_getInstance(), invite.e45_1, callId);
81273
+ reportError_0(this.g44_1, callback, new InvalidCallAction(), ErrorTrail_REJECT_INVALID_STATE_getInstance(), invite.e45_1, callId);
81254
81274
  return Unit_instance;
81255
81275
  }
81256
- this.t44_1.z1z(new Action_0(new MemberKickRequest(invite.e45_1, invite.d45_1, 'call-rejected-by-callee', 'REMOTE_REJECT', invite.d45_1), new ActionMeta(VOID, callId, actionOutcome(this, ErrorTrail_REJECT_REQUEST_FAILED_getInstance(), callId, callback))));
81276
+ this.g44_1.z1z(new Action_0(new MemberKickRequest(invite.e45_1, invite.d45_1, 'call-rejected-by-callee', 'REMOTE_REJECT', invite.d45_1), new ActionMeta(VOID, callId, actionOutcome(this, ErrorTrail_REJECT_REQUEST_FAILED_getInstance(), callId, callback))));
81257
81277
  };
81258
81278
  protoOf(VoiceAPIImpl).e26 = function (callId, callback) {
81259
- var invite = this.t44_1.l1z(getKClass(InviteReducer)).y45_1.j2(callId);
81279
+ var invite = this.g44_1.l1z(getKClass(InviteReducer)).y45_1.j2(callId);
81260
81280
  if (invite == null) {
81261
- reportError_0(this.t44_1, callback, new NoInviteFound(), ErrorTrail_ANSWER_NO_INVITE_getInstance(), VOID, callId);
81281
+ reportError_0(this.g44_1, callback, new NoInviteFound(), ErrorTrail_ANSWER_NO_INVITE_getInstance(), VOID, callId);
81262
81282
  return Unit_instance;
81263
81283
  }
81264
81284
  var tmp;
@@ -81277,27 +81297,27 @@ function requireClientsdkClientcore () {
81277
81297
  tmp = tmp_3 instanceof Left;
81278
81298
  }
81279
81299
  if (tmp) {
81280
- reportError_0(this.t44_1, callback, new InvalidCallAction(), ErrorTrail_ANSWER_INVALID_STATE_getInstance(), invite.e45_1, callId);
81300
+ reportError_0(this.g44_1, callback, new InvalidCallAction(), ErrorTrail_ANSWER_INVALID_STATE_getInstance(), invite.e45_1, callId);
81281
81301
  return Unit_instance;
81282
81302
  }
81283
81303
  var tmp_4 = new MemberJoinRequest(invite.e45_1, invite.d45_1, invite.d45_1);
81284
- this.t44_1.z1z(new Action_0(tmp_4, new ActionMeta(VOID, callId, VoiceAPIImpl$answerCall$lambda(this, callback, invite, callId))));
81304
+ this.g44_1.z1z(new Action_0(tmp_4, new ActionMeta(VOID, callId, VoiceAPIImpl$answerCall$lambda(this, callback, invite, callId))));
81285
81305
  };
81286
81306
  protoOf(VoiceAPIImpl).f26 = function (callId, reasonText, reasonCode, callback) {
81287
- var call = this.t44_1.l1z(getKClass(CallReducer)).w44_1.j2(callId);
81307
+ var call = this.g44_1.l1z(getKClass(CallReducer)).w44_1.j2(callId);
81288
81308
  if (call == null) {
81289
- reportError_0(this.t44_1, callback, new NoCallFound(), ErrorTrail_HANGUP_NO_CALL_getInstance(), VOID, callId);
81309
+ reportError_0(this.g44_1, callback, new NoCallFound(), ErrorTrail_HANGUP_NO_CALL_getInstance(), VOID, callId);
81290
81310
  return Unit_instance;
81291
81311
  }
81292
- this.t44_1.z1z(Action_init_$Create$(new MediaDisable(callId)));
81293
- var callMemberShipState = call.k44_1.g2();
81312
+ this.g44_1.z1z(Action_init_$Create$(new MediaDisable(callId)));
81313
+ var callMemberShipState = call.n44_1.g2();
81294
81314
  if (callMemberShipState instanceof Joined) {
81295
- this.t44_1.z1z(new Action_0(new MemberKickRequest(callMemberShipState.q44_1, callMemberShipState.r44_1, reasonText, reasonCode, callMemberShipState.r44_1), new ActionMeta(VOID, callId, actionOutcome(this, ErrorTrail_HANGUP_KICK_FAILED_getInstance(), callId, callback))));
81315
+ this.g44_1.z1z(new Action_0(new MemberKickRequest(callMemberShipState.t44_1, callMemberShipState.u44_1, reasonText, reasonCode, callMemberShipState.u44_1), new ActionMeta(VOID, callId, actionOutcome(this, ErrorTrail_HANGUP_KICK_FAILED_getInstance(), callId, callback))));
81296
81316
  } else {
81297
81317
  if (callMemberShipState instanceof Knocking) {
81298
- this.t44_1.z1z(new Action_0(new DeleteKnockerRequest(callMemberShipState.i46_1), new ActionMeta(VOID, callId, actionOutcome(this, ErrorTrail_HANGUP_KNOCKER_DELETE_FAILED_getInstance(), callId, callback))));
81318
+ this.g44_1.z1z(new Action_0(new DeleteKnockerRequest(callMemberShipState.i46_1), new ActionMeta(VOID, callId, actionOutcome(this, ErrorTrail_HANGUP_KNOCKER_DELETE_FAILED_getInstance(), callId, callback))));
81299
81319
  } else {
81300
- reportError_0(this.t44_1, callback, new InvalidCallAction(), ErrorTrail_HANGUP_INVALID_STATE_getInstance(), VOID, callId);
81320
+ reportError_0(this.g44_1, callback, new InvalidCallAction(), ErrorTrail_HANGUP_INVALID_STATE_getInstance(), VOID, callId);
81301
81321
  }
81302
81322
  }
81303
81323
  };
@@ -86393,7 +86413,7 @@ function requireClientsdkClientcore () {
86393
86413
  tmp_1 = tmp2_elvis_lhs;
86394
86414
  }
86395
86415
  var applicationId = tmp_1;
86396
- var tmp_2 = call.k44_1.g2();
86416
+ var tmp_2 = call.n44_1.g2();
86397
86417
  var tmp3_elvis_lhs = isInterface(tmp_2, CoreMemberStateWithCid) ? tmp_2 : null;
86398
86418
  var tmp_3;
86399
86419
  if (tmp3_elvis_lhs == null) {
@@ -86402,8 +86422,8 @@ function requireClientsdkClientcore () {
86402
86422
  tmp_3 = tmp3_elvis_lhs;
86403
86423
  }
86404
86424
  var member = tmp_3;
86405
- this.t4f_1.z1z(Action_init_$Create$(new RTCStatsUpdate(call.j44_1, rtcStats)));
86406
- this.t4f_1.z1z(Action_init_$Create$(new RTCStatsReportRequest(call.j44_1, rtcStats, applicationId, apiKey, member.d34(), member.u4f())));
86425
+ this.t4f_1.z1z(Action_init_$Create$(new RTCStatsUpdate(call.m44_1, rtcStats)));
86426
+ this.t4f_1.z1z(Action_init_$Create$(new RTCStatsReportRequest(call.m44_1, rtcStats, applicationId, apiKey, member.d34(), member.u4f())));
86407
86427
  };
86408
86428
  protoOf(mediaActionMiddleware$1).c23 = function (id, error) {
86409
86429
  this.t4f_1.z1z(Action_init_$Create$(new MediaErrorEvent(id, error)));
@@ -86702,9 +86722,9 @@ function requireClientsdkClientcore () {
86702
86722
  break $l$block_0;
86703
86723
  }
86704
86724
  if (autoReconnectMedia) {
86705
- $store.z1z(Action_init_$Create$(new TimeoutAction(new CallReconnectionRetry(call.j44_1), 3000)));
86725
+ $store.z1z(Action_init_$Create$(new TimeoutAction(new CallReconnectionRetry(call.m44_1), 3000)));
86706
86726
  } else {
86707
- $store.z1z(Action_init_$Create$(new CallReconnectFailure(call.j44_1)));
86727
+ $store.z1z(Action_init_$Create$(new CallReconnectFailure(call.m44_1)));
86708
86728
  }
86709
86729
  } else {
86710
86730
  if (tmp0_subject instanceof CallReconnectFailure) {
@@ -87302,7 +87322,7 @@ function requireClientsdkClientcore () {
87302
87322
  while (_iterator__ex2g4s_2.u()) {
87303
87323
  var element_2 = _iterator__ex2g4s_2.v();
87304
87324
  var tmp0_safe_receiver = $this$run.w44_1.j2(element_2);
87305
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l44_1;
87325
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.o44_1;
87306
87326
  // Inline function 'kotlin.let' call
87307
87327
  if ((tmp1_safe_receiver == null ? null : tmp1_safe_receiver.g2())instanceof Completed) {
87308
87328
  _this__u8e3s4.z1z(Action_init_$Create$(new CallCleanup(element_2)));
@@ -87990,47 +88010,47 @@ function requireClientsdkClientcore () {
87990
88010
  callConnectivityState = callConnectivityState === VOID ? New_instance : callConnectivityState;
87991
88011
  mediaState = mediaState === VOID ? MediaConnectionState_New_getInstance() : mediaState;
87992
88012
  memberJoinTimedOut = memberJoinTimedOut === VOID ? false : memberJoinTimedOut;
87993
- this.g44_1 = isReconnect;
87994
- this.h44_1 = from;
87995
- this.i44_1 = customData;
87996
- this.j44_1 = id;
87997
- this.k44_1 = memberState;
87998
- this.l44_1 = legState;
87999
- this.m44_1 = localMedia;
88000
- this.n44_1 = callConnectivityState;
88001
- this.o44_1 = mediaState;
88002
- this.p44_1 = memberJoinTimedOut;
88013
+ this.j44_1 = isReconnect;
88014
+ this.k44_1 = from;
88015
+ this.l44_1 = customData;
88016
+ this.m44_1 = id;
88017
+ this.n44_1 = memberState;
88018
+ this.o44_1 = legState;
88019
+ this.p44_1 = localMedia;
88020
+ this.q44_1 = callConnectivityState;
88021
+ this.r44_1 = mediaState;
88022
+ this.s44_1 = memberJoinTimedOut;
88003
88023
  }
88004
88024
  protoOf(Call_1).h4i = function (isReconnect, from, customData, id, memberState, legState, localMedia, callConnectivityState, mediaState, memberJoinTimedOut) {
88005
88025
  return new Call_1(isReconnect, from, customData, id, memberState, legState, localMedia, callConnectivityState, mediaState, memberJoinTimedOut);
88006
88026
  };
88007
88027
  protoOf(Call_1).c46 = function (isReconnect, from, customData, id, memberState, legState, localMedia, callConnectivityState, mediaState, memberJoinTimedOut, $super) {
88008
- isReconnect = isReconnect === VOID ? this.g44_1 : isReconnect;
88009
- from = from === VOID ? this.h44_1 : from;
88010
- customData = customData === VOID ? this.i44_1 : customData;
88011
- id = id === VOID ? this.j44_1 : id;
88012
- memberState = memberState === VOID ? this.k44_1 : memberState;
88013
- legState = legState === VOID ? this.l44_1 : legState;
88014
- localMedia = localMedia === VOID ? this.m44_1 : localMedia;
88015
- callConnectivityState = callConnectivityState === VOID ? this.n44_1 : callConnectivityState;
88016
- mediaState = mediaState === VOID ? this.o44_1 : mediaState;
88017
- memberJoinTimedOut = memberJoinTimedOut === VOID ? this.p44_1 : memberJoinTimedOut;
88028
+ isReconnect = isReconnect === VOID ? this.j44_1 : isReconnect;
88029
+ from = from === VOID ? this.k44_1 : from;
88030
+ customData = customData === VOID ? this.l44_1 : customData;
88031
+ id = id === VOID ? this.m44_1 : id;
88032
+ memberState = memberState === VOID ? this.n44_1 : memberState;
88033
+ legState = legState === VOID ? this.o44_1 : legState;
88034
+ localMedia = localMedia === VOID ? this.p44_1 : localMedia;
88035
+ callConnectivityState = callConnectivityState === VOID ? this.q44_1 : callConnectivityState;
88036
+ mediaState = mediaState === VOID ? this.r44_1 : mediaState;
88037
+ memberJoinTimedOut = memberJoinTimedOut === VOID ? this.s44_1 : memberJoinTimedOut;
88018
88038
  return $super === VOID ? this.h4i(isReconnect, from, customData, id, memberState, legState, localMedia, callConnectivityState, mediaState, memberJoinTimedOut) : $super.h4i.call(this, isReconnect, from, customData, id, memberState, legState, localMedia, callConnectivityState, mediaState, memberJoinTimedOut);
88019
88039
  };
88020
88040
  protoOf(Call_1).toString = function () {
88021
- return 'Call(isReconnect=' + this.g44_1 + ', from=' + toString(this.h44_1) + ', customData=' + toString_0(this.i44_1) + ', id=' + this.j44_1 + ', memberState=' + toString(this.k44_1) + ', legState=' + toString(this.l44_1) + ', localMedia=' + this.m44_1.toString() + ', callConnectivityState=' + toString(this.n44_1) + ', mediaState=' + this.o44_1.toString() + ', memberJoinTimedOut=' + this.p44_1 + ')';
88041
+ return 'Call(isReconnect=' + this.j44_1 + ', from=' + toString(this.k44_1) + ', customData=' + toString_0(this.l44_1) + ', id=' + this.m44_1 + ', memberState=' + toString(this.n44_1) + ', legState=' + toString(this.o44_1) + ', localMedia=' + this.p44_1.toString() + ', callConnectivityState=' + toString(this.q44_1) + ', mediaState=' + this.r44_1.toString() + ', memberJoinTimedOut=' + this.s44_1 + ')';
88022
88042
  };
88023
88043
  protoOf(Call_1).hashCode = function () {
88024
- var result = getBooleanHashCode(this.g44_1);
88025
- result = imul(result, 31) + hashCode(this.h44_1) | 0;
88026
- result = imul(result, 31) + (this.i44_1 == null ? 0 : hashCode(this.i44_1)) | 0;
88027
- result = imul(result, 31) + getStringHashCode(this.j44_1) | 0;
88044
+ var result = getBooleanHashCode(this.j44_1);
88028
88045
  result = imul(result, 31) + hashCode(this.k44_1) | 0;
88029
- result = imul(result, 31) + hashCode(this.l44_1) | 0;
88030
- result = imul(result, 31) + this.m44_1.hashCode() | 0;
88046
+ result = imul(result, 31) + (this.l44_1 == null ? 0 : hashCode(this.l44_1)) | 0;
88047
+ result = imul(result, 31) + getStringHashCode(this.m44_1) | 0;
88031
88048
  result = imul(result, 31) + hashCode(this.n44_1) | 0;
88032
- result = imul(result, 31) + this.o44_1.hashCode() | 0;
88033
- result = imul(result, 31) + getBooleanHashCode(this.p44_1) | 0;
88049
+ result = imul(result, 31) + hashCode(this.o44_1) | 0;
88050
+ result = imul(result, 31) + this.p44_1.hashCode() | 0;
88051
+ result = imul(result, 31) + hashCode(this.q44_1) | 0;
88052
+ result = imul(result, 31) + this.r44_1.hashCode() | 0;
88053
+ result = imul(result, 31) + getBooleanHashCode(this.s44_1) | 0;
88034
88054
  return result;
88035
88055
  };
88036
88056
  protoOf(Call_1).equals = function (other) {
@@ -88038,25 +88058,25 @@ function requireClientsdkClientcore () {
88038
88058
  return true;
88039
88059
  if (!(other instanceof Call_1))
88040
88060
  return false;
88041
- if (!(this.g44_1 === other.g44_1))
88042
- return false;
88043
- if (!equals(this.h44_1, other.h44_1))
88044
- return false;
88045
- if (!equals(this.i44_1, other.i44_1))
88046
- return false;
88047
88061
  if (!(this.j44_1 === other.j44_1))
88048
88062
  return false;
88049
88063
  if (!equals(this.k44_1, other.k44_1))
88050
88064
  return false;
88051
88065
  if (!equals(this.l44_1, other.l44_1))
88052
88066
  return false;
88053
- if (!this.m44_1.equals(other.m44_1))
88067
+ if (!(this.m44_1 === other.m44_1))
88054
88068
  return false;
88055
88069
  if (!equals(this.n44_1, other.n44_1))
88056
88070
  return false;
88057
- if (!this.o44_1.equals(other.o44_1))
88071
+ if (!equals(this.o44_1, other.o44_1))
88072
+ return false;
88073
+ if (!this.p44_1.equals(other.p44_1))
88074
+ return false;
88075
+ if (!equals(this.q44_1, other.q44_1))
88076
+ return false;
88077
+ if (!this.r44_1.equals(other.r44_1))
88058
88078
  return false;
88059
- if (!(this.p44_1 === other.p44_1))
88079
+ if (!(this.s44_1 === other.s44_1))
88060
88080
  return false;
88061
88081
  return true;
88062
88082
  };
@@ -88367,18 +88387,18 @@ function requireClientsdkClientcore () {
88367
88387
  if ($action.l3a_1.u3a_1.k2o_1 === this$0.y44_1) {
88368
88388
  var tmp_0;
88369
88389
  var tmp_1;
88370
- var tmp_2 = $this$modify.k44_1.g2();
88390
+ var tmp_2 = $this$modify.n44_1.g2();
88371
88391
  if (isInterface(tmp_2, CoreMemberStateWithCid)) {
88372
- var tmp_3 = $this$modify.k44_1.g2();
88392
+ var tmp_3 = $this$modify.n44_1.g2();
88373
88393
  tmp_1 = (isInterface(tmp_3, CoreMemberStateWithCid) ? tmp_3 : THROW_CCE()).d34() === $action.n3a_1;
88374
88394
  } else {
88375
88395
  tmp_1 = false;
88376
88396
  }
88377
88397
  if (tmp_1) {
88378
88398
  var tmp_4 = $this$modify;
88379
- var tmp_5 = $this$modify.k44_1;
88399
+ var tmp_5 = $this$modify.n44_1;
88380
88400
  var tmp0_safe_receiver = $action.l3a_1.w3a_1;
88381
- tmp_4.k44_1 = toResolved(tmp_5, new Left($action.n3a_1, $action.l3a_1.t3a_1, '', tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b3b_1));
88401
+ tmp_4.n44_1 = toResolved(tmp_5, new Left($action.n3a_1, $action.l3a_1.t3a_1, '', tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b3b_1));
88382
88402
  tmp_0 = Unit_instance;
88383
88403
  }
88384
88404
  tmp = tmp_0;
@@ -88397,22 +88417,22 @@ function requireClientsdkClientcore () {
88397
88417
  var tmp_0;
88398
88418
  switch ($action.c47_1.v2_1) {
88399
88419
  case 1:
88400
- tmp_0 = toResolved(this_0.l44_1, new Started($action.a47_1));
88420
+ tmp_0 = toResolved(this_0.o44_1, new Started($action.a47_1));
88401
88421
  break;
88402
88422
  case 0:
88403
- tmp_0 = toResolved(this_0.l44_1, new Prewarm($action.a47_1));
88423
+ tmp_0 = toResolved(this_0.o44_1, new Prewarm($action.a47_1));
88404
88424
  break;
88405
88425
  default:
88406
88426
  noWhenBranchMatchedException();
88407
88427
  break;
88408
88428
  }
88409
- tmp.l44_1 = tmp_0;
88429
+ tmp.o44_1 = tmp_0;
88410
88430
  var tmp1_safe_receiver = $action.e47_1;
88411
88431
  if (tmp1_safe_receiver == null)
88412
88432
  null;
88413
88433
  else {
88414
88434
  // Inline function 'kotlin.let' call
88415
- this_0.k44_1 = toResolved(this_0.k44_1, new Joined(tmp1_safe_receiver.g47_1, tmp1_safe_receiver.h47_1));
88435
+ this_0.n44_1 = toResolved(this_0.n44_1, new Joined(tmp1_safe_receiver.g47_1, tmp1_safe_receiver.h47_1));
88416
88436
  var tmp0 = $this$new.x44_1;
88417
88437
  var tmp2 = tmp1_safe_receiver.g47_1;
88418
88438
  // Inline function 'kotlin.collections.set' call
@@ -88425,9 +88445,9 @@ function requireClientsdkClientcore () {
88425
88445
  function CallState$update$lambda_1($action) {
88426
88446
  return function ($this$modify) {
88427
88447
  var tmp;
88428
- var tmp_0 = $this$modify.k44_1.g2();
88448
+ var tmp_0 = $this$modify.n44_1.g2();
88429
88449
  if (isInterface(tmp_0, CoreMemberStateWithCid)) {
88430
- var tmp_1 = $this$modify.k44_1.g2();
88450
+ var tmp_1 = $this$modify.n44_1.g2();
88431
88451
  (isInterface(tmp_1, CoreMemberStateWithCid) ? tmp_1 : THROW_CCE()).p4j($action.j47_1);
88432
88452
  tmp = Unit_instance;
88433
88453
  }
@@ -88436,7 +88456,7 @@ function requireClientsdkClientcore () {
88436
88456
  }
88437
88457
  function CallState$update$lambda_2($action, $requestId, $$this$apply, $callId) {
88438
88458
  return function ($this$modify) {
88439
- $this$modify.k44_1 = toPending($this$modify.k44_1, new Joined($action.p2c_1, $action.q2c_1), $requestId);
88459
+ $this$modify.n44_1 = toPending($this$modify.n44_1, new Joined($action.p2c_1, $action.q2c_1), $requestId);
88440
88460
  var tmp0 = $$this$apply.x44_1;
88441
88461
  var tmp2 = $action.p2c_1;
88442
88462
  // Inline function 'kotlin.collections.set' call
@@ -88447,7 +88467,7 @@ function requireClientsdkClientcore () {
88447
88467
  }
88448
88468
  function CallState$update$lambda_3($event, $newMemberId, $$this$apply, $callId) {
88449
88469
  return function ($this$modify) {
88450
- $this$modify.k44_1 = new Resolved(new Joined($event.y36_1, $newMemberId));
88470
+ $this$modify.n44_1 = new Resolved(new Joined($event.y36_1, $newMemberId));
88451
88471
  $$this$apply.x44_1.o2($event.w36_1.f37_1);
88452
88472
  var tmp0 = $$this$apply.x44_1;
88453
88473
  var tmp2 = $event.y36_1;
@@ -88458,57 +88478,57 @@ function requireClientsdkClientcore () {
88458
88478
  };
88459
88479
  }
88460
88480
  function CallState$update$lambda_4($this$modify) {
88461
- if ($this$modify.o44_1.equals(MediaConnectionState_Closed_getInstance()))
88481
+ if ($this$modify.r44_1.equals(MediaConnectionState_Closed_getInstance()))
88462
88482
  return Unit_instance;
88463
88483
  var tmp;
88464
- var tmp_0 = $this$modify.k44_1.g2();
88484
+ var tmp_0 = $this$modify.n44_1.g2();
88465
88485
  if (!(tmp_0 instanceof Joined)) {
88466
- tmp = $this$modify.o44_1.equals(MediaConnectionState_Connected_getInstance());
88486
+ tmp = $this$modify.r44_1.equals(MediaConnectionState_Connected_getInstance());
88467
88487
  } else {
88468
88488
  tmp = false;
88469
88489
  }
88470
88490
  if (tmp) {
88471
- $this$modify.p44_1 = true;
88491
+ $this$modify.s44_1 = true;
88472
88492
  }
88473
88493
  var tmp_1 = $this$modify;
88474
88494
  var tmp_2;
88475
- if ($this$modify.o44_1.equals(MediaConnectionState_New_getInstance())) {
88495
+ if ($this$modify.r44_1.equals(MediaConnectionState_New_getInstance())) {
88476
88496
  tmp_2 = MediaConnectionState_Failed_getInstance();
88477
88497
  } else {
88478
- var tmp_3 = $this$modify.k44_1.g2();
88498
+ var tmp_3 = $this$modify.n44_1.g2();
88479
88499
  if (!(tmp_3 instanceof Joined)) {
88480
88500
  tmp_2 = MediaConnectionState_Failed_getInstance();
88481
88501
  } else {
88482
- tmp_2 = $this$modify.o44_1;
88502
+ tmp_2 = $this$modify.r44_1;
88483
88503
  }
88484
88504
  }
88485
- tmp_1.o44_1 = tmp_2;
88505
+ tmp_1.r44_1 = tmp_2;
88486
88506
  return Unit_instance;
88487
88507
  }
88488
88508
  function CallState$update$lambda_5($event) {
88489
88509
  return function ($this$modify) {
88490
- $this$modify.k44_1 = toFailed($this$modify.k44_1, $event.m46_1);
88510
+ $this$modify.n44_1 = toFailed($this$modify.n44_1, $event.m46_1);
88491
88511
  return Unit_instance;
88492
88512
  };
88493
88513
  }
88494
88514
  function CallState$update$lambda_6($event) {
88495
88515
  return function ($this$modify) {
88496
- $this$modify.k44_1 = new Resolved(new Joined($event.r38_1, $event.p38_1.y38_1));
88516
+ $this$modify.n44_1 = new Resolved(new Joined($event.r38_1, $event.p38_1.y38_1));
88497
88517
  return Unit_instance;
88498
88518
  };
88499
88519
  }
88500
88520
  function CallState$update$lambda_7($requestId) {
88501
88521
  return function ($this$modify) {
88502
- $this$modify.k44_1 = toPending($this$modify.k44_1, new Knocking('placeholder'), $requestId);
88522
+ $this$modify.n44_1 = toPending($this$modify.n44_1, new Knocking('placeholder'), $requestId);
88503
88523
  return Unit_instance;
88504
88524
  };
88505
88525
  }
88506
88526
  function CallState$update$lambda_8($response) {
88507
88527
  return function ($this$modify) {
88508
88528
  var tmp;
88509
- var tmp_0 = $this$modify.k44_1.g2();
88529
+ var tmp_0 = $this$modify.n44_1.g2();
88510
88530
  if (tmp_0 instanceof Knocking) {
88511
- $this$modify.k44_1 = toResolved($this$modify.k44_1, new Knocking($response.l2u_1));
88531
+ $this$modify.n44_1 = toResolved($this$modify.n44_1, new Knocking($response.l2u_1));
88512
88532
  tmp = Unit_instance;
88513
88533
  }
88514
88534
  return Unit_instance;
@@ -88520,75 +88540,75 @@ function requireClientsdkClientcore () {
88520
88540
  }
88521
88541
  function CallState$update$lambda_10($response) {
88522
88542
  return function ($this$modify) {
88523
- $this$modify.l44_1 = toResolved($this$modify.l44_1, new Started($response.o2u_1));
88543
+ $this$modify.o44_1 = toResolved($this$modify.o44_1, new Started($response.o2u_1));
88524
88544
  return Unit_instance;
88525
88545
  };
88526
88546
  }
88527
88547
  function CallState$update$lambda_11($action, $requestId) {
88528
88548
  return function ($this$modify) {
88529
- $this$modify.k44_1 = toPending($this$modify.k44_1, new Left($action.z2b_1, $action.a2c_1), $requestId);
88549
+ $this$modify.n44_1 = toPending($this$modify.n44_1, new Left($action.z2b_1, $action.a2c_1), $requestId);
88530
88550
  return Unit_instance;
88531
88551
  };
88532
88552
  }
88533
88553
  function CallState$update$lambda_12($action) {
88534
88554
  return function ($this$modify) {
88535
- $this$modify.k44_1 = toResolved($this$modify.k44_1, new Left($action.b2m_1, $action.c2m_1));
88555
+ $this$modify.n44_1 = toResolved($this$modify.n44_1, new Left($action.b2m_1, $action.c2m_1));
88536
88556
  return Unit_instance;
88537
88557
  };
88538
88558
  }
88539
88559
  function CallState$update$lambda_13($callId, $action) {
88540
88560
  return function ($this$modify) {
88541
- $this$modify.l44_1 = new Resolved(new Completed($callId, $action.p36_1.t33_1));
88542
- $this$modify.n44_1 = Disconnected_instance;
88561
+ $this$modify.o44_1 = new Resolved(new Completed($callId, $action.p36_1.t33_1));
88562
+ $this$modify.q44_1 = Disconnected_instance;
88543
88563
  return Unit_instance;
88544
88564
  };
88545
88565
  }
88546
88566
  function CallState$update$lambda_14($action) {
88547
88567
  return function ($this$modify) {
88548
- $this$modify.k44_1 = toFailed($this$modify.k44_1, $action.w27_1);
88568
+ $this$modify.n44_1 = toFailed($this$modify.n44_1, $action.w27_1);
88549
88569
  return Unit_instance;
88550
88570
  };
88551
88571
  }
88552
88572
  function CallState$update$lambda_15($offer) {
88553
88573
  return function ($this$modify) {
88554
- $this$modify.m44_1 = $this$modify.m44_1.u48(new Offer_0($offer.k3j_1));
88574
+ $this$modify.p44_1 = $this$modify.p44_1.u48(new Offer_0($offer.k3j_1));
88555
88575
  return Unit_instance;
88556
88576
  };
88557
88577
  }
88558
88578
  function CallState$update$lambda_16($offer) {
88559
88579
  return function ($this$modify) {
88560
- $this$modify.m44_1 = $this$modify.m44_1.u48(new Answer_0($offer.m3j_1));
88580
+ $this$modify.p44_1 = $this$modify.p44_1.u48(new Answer_0($offer.m3j_1));
88561
88581
  return Unit_instance;
88562
88582
  };
88563
88583
  }
88564
88584
  function CallState$update$lambda_17($this$modify) {
88565
- $this$modify.m44_1 = $this$modify.m44_1.u48(VOID, VOID, false);
88585
+ $this$modify.p44_1 = $this$modify.p44_1.u48(VOID, VOID, false);
88566
88586
  return Unit_instance;
88567
88587
  }
88568
88588
  function CallState$update$lambda_18($action) {
88569
88589
  return function ($this$modify) {
88570
- $this$modify.m44_1 = $this$modify.m44_1.u48(VOID, new Answer_0($action.f39_1.n39_1));
88590
+ $this$modify.p44_1 = $this$modify.p44_1.u48(VOID, new Answer_0($action.f39_1.n39_1));
88571
88591
  return Unit_instance;
88572
88592
  };
88573
88593
  }
88574
88594
  function CallState$update$lambda_19($action) {
88575
88595
  return function ($this$modify) {
88576
- $this$modify.o44_1 = $action.f25_1;
88596
+ $this$modify.r44_1 = $action.f25_1;
88577
88597
  var tmp;
88578
- var tmp_0 = $this$modify.n44_1;
88598
+ var tmp_0 = $this$modify.q44_1;
88579
88599
  if (tmp_0 instanceof Disconnected) {
88580
88600
  return Unit_instance;
88581
88601
  }
88582
88602
  var tmp_1 = $this$modify;
88583
- switch ($this$modify.o44_1.v2_1) {
88603
+ switch ($this$modify.r44_1.v2_1) {
88584
88604
  case 3:
88585
- tmp_1.n44_1 = Connected_instance;
88605
+ tmp_1.q44_1 = Connected_instance;
88586
88606
  break;
88587
88607
  case 4:
88588
- tmp_1.n44_1 = new Reconnecting();
88608
+ tmp_1.q44_1 = new Reconnecting();
88589
88609
  break;
88590
88610
  default:
88591
- tmp_1.n44_1 = $this$modify.n44_1;
88611
+ tmp_1.q44_1 = $this$modify.q44_1;
88592
88612
  break;
88593
88613
  }
88594
88614
  return Unit_instance;
@@ -88609,11 +88629,11 @@ function requireClientsdkClientcore () {
88609
88629
  };
88610
88630
  }
88611
88631
  function CallState$update$lambda_21($this$modify) {
88612
- $this$modify.g44_1 = true;
88632
+ $this$modify.j44_1 = true;
88613
88633
  return Unit_instance;
88614
88634
  }
88615
88635
  function CallState$update$lambda_22($this$modify) {
88616
- var tmp = $this$modify.n44_1;
88636
+ var tmp = $this$modify.q44_1;
88617
88637
  var tmp0_safe_receiver = tmp instanceof Reconnecting ? tmp : null;
88618
88638
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.n45_1;
88619
88639
  var tmp_0;
@@ -88623,16 +88643,16 @@ function requireClientsdkClientcore () {
88623
88643
  tmp_0 = tmp1_elvis_lhs;
88624
88644
  }
88625
88645
  var currentRetryCount = tmp_0;
88626
- $this$modify.n44_1 = new Reconnecting(currentRetryCount + 1 | 0);
88646
+ $this$modify.q44_1 = new Reconnecting(currentRetryCount + 1 | 0);
88627
88647
  return Unit_instance;
88628
88648
  }
88629
88649
  function CallState$update$lambda_23($this$modify) {
88630
- $this$modify.g44_1 = false;
88650
+ $this$modify.j44_1 = false;
88631
88651
  return Unit_instance;
88632
88652
  }
88633
88653
  function CallState$update$lambda_24($this$modify) {
88634
- $this$modify.g44_1 = false;
88635
- $this$modify.n44_1 = Disconnected_instance;
88654
+ $this$modify.j44_1 = false;
88655
+ $this$modify.q44_1 = Disconnected_instance;
88636
88656
  return Unit_instance;
88637
88657
  }
88638
88658
  function CallState(calls, conversationIdToCallId, currentUserId) {
@@ -88874,26 +88894,26 @@ function requireClientsdkClientcore () {
88874
88894
  };
88875
88895
  function Joined(cid, mid, conversationName) {
88876
88896
  conversationName = conversationName === VOID ? null : conversationName;
88877
- this.q44_1 = cid;
88878
- this.r44_1 = mid;
88879
- this.s44_1 = conversationName;
88897
+ this.t44_1 = cid;
88898
+ this.u44_1 = mid;
88899
+ this.v44_1 = conversationName;
88880
88900
  }
88881
88901
  protoOf(Joined).d34 = function () {
88882
- return this.q44_1;
88902
+ return this.t44_1;
88883
88903
  };
88884
88904
  protoOf(Joined).p4j = function (_set____db54di) {
88885
- this.s44_1 = _set____db54di;
88905
+ this.v44_1 = _set____db54di;
88886
88906
  };
88887
88907
  protoOf(Joined).u4f = function () {
88888
- return this.s44_1;
88908
+ return this.v44_1;
88889
88909
  };
88890
88910
  protoOf(Joined).toString = function () {
88891
- return 'Joined(cid=' + this.q44_1 + ', mid=' + this.r44_1 + ', conversationName=' + this.s44_1 + ')';
88911
+ return 'Joined(cid=' + this.t44_1 + ', mid=' + this.u44_1 + ', conversationName=' + this.v44_1 + ')';
88892
88912
  };
88893
88913
  protoOf(Joined).hashCode = function () {
88894
- var result = getStringHashCode(this.q44_1);
88895
- result = imul(result, 31) + getStringHashCode(this.r44_1) | 0;
88896
- result = imul(result, 31) + (this.s44_1 == null ? 0 : getStringHashCode(this.s44_1)) | 0;
88914
+ var result = getStringHashCode(this.t44_1);
88915
+ result = imul(result, 31) + getStringHashCode(this.u44_1) | 0;
88916
+ result = imul(result, 31) + (this.v44_1 == null ? 0 : getStringHashCode(this.v44_1)) | 0;
88897
88917
  return result;
88898
88918
  };
88899
88919
  protoOf(Joined).equals = function (other) {
@@ -88901,11 +88921,11 @@ function requireClientsdkClientcore () {
88901
88921
  return true;
88902
88922
  if (!(other instanceof Joined))
88903
88923
  return false;
88904
- if (!(this.q44_1 === other.q44_1))
88924
+ if (!(this.t44_1 === other.t44_1))
88905
88925
  return false;
88906
- if (!(this.r44_1 === other.r44_1))
88926
+ if (!(this.u44_1 === other.u44_1))
88907
88927
  return false;
88908
- if (!(this.s44_1 == other.s44_1))
88928
+ if (!(this.v44_1 == other.v44_1))
88909
88929
  return false;
88910
88930
  return true;
88911
88931
  };