@doordeck/doordeck-headless-sdk 0.201.0 → 0.203.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,50 +2,50 @@
2
2
  'use strict';
3
3
  //region block: imports
4
4
  var imul = Math.imul;
5
- var collectionSizeOrDefault = kotlin_kotlin.$_$.a6;
6
- var mapCapacity = kotlin_kotlin.$_$.t7;
7
- var coerceAtLeast = kotlin_kotlin.$_$.mc;
5
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.b6;
6
+ var mapCapacity = kotlin_kotlin.$_$.u7;
7
+ var coerceAtLeast = kotlin_kotlin.$_$.oc;
8
8
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.s1;
9
9
  var Unit_instance = kotlin_kotlin.$_$.a1;
10
- var protoOf = kotlin_kotlin.$_$.ec;
11
- var initMetadataForCompanion = kotlin_kotlin.$_$.ib;
12
- var enumEntries = kotlin_kotlin.$_$.s9;
13
- var objectCreate = kotlin_kotlin.$_$.dc;
14
- var Enum = kotlin_kotlin.$_$.vf;
15
- var initMetadataForClass = kotlin_kotlin.$_$.hb;
10
+ var protoOf = kotlin_kotlin.$_$.gc;
11
+ var initMetadataForCompanion = kotlin_kotlin.$_$.kb;
12
+ var enumEntries = kotlin_kotlin.$_$.u9;
13
+ var objectCreate = kotlin_kotlin.$_$.fc;
14
+ var Enum = kotlin_kotlin.$_$.yf;
15
+ var initMetadataForClass = kotlin_kotlin.$_$.jb;
16
16
  var VOID = kotlin_kotlin.$_$.c;
17
- var toString = kotlin_kotlin.$_$.hc;
18
- var getStringHashCode = kotlin_kotlin.$_$.fb;
19
- var initMetadataForInterface = kotlin_kotlin.$_$.lb;
20
- var isInterface = kotlin_kotlin.$_$.wb;
21
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.o2;
17
+ var toString = kotlin_kotlin.$_$.jc;
18
+ var getStringHashCode = kotlin_kotlin.$_$.hb;
19
+ var initMetadataForInterface = kotlin_kotlin.$_$.nb;
20
+ var isInterface = kotlin_kotlin.$_$.yb;
21
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.p2;
22
22
  var Dispatchers_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
23
23
  var launch = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b2;
24
24
  var CoroutineStart_UNDISPATCHED_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.i;
25
25
  var ChannelResult = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.u;
26
26
  var _ChannelResult___get_isSuccess__impl__odq1z9 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t;
27
- var CoroutineImpl = kotlin_kotlin.$_$.q9;
28
- var THROW_CCE = kotlin_kotlin.$_$.eg;
27
+ var CoroutineImpl = kotlin_kotlin.$_$.s9;
28
+ var THROW_CCE = kotlin_kotlin.$_$.hg;
29
29
  var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.r1;
30
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.a9;
31
- var initMetadataForLambda = kotlin_kotlin.$_$.mb;
32
- var get_isTraceEnabled = kotlin_io_ktor_ktor_utils.$_$.l;
30
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.b9;
31
+ var initMetadataForLambda = kotlin_kotlin.$_$.ob;
32
+ var get_isTraceEnabled = kotlin_io_ktor_ktor_utils.$_$.k;
33
33
  var BytePacketBuilder = kotlin_io_ktor_ktor_io.$_$.x;
34
34
  var writeFully = kotlin_io_ktor_ktor_io.$_$.g1;
35
- var ensureNotNull = kotlin_kotlin.$_$.wg;
35
+ var ensureNotNull = kotlin_kotlin.$_$.zg;
36
36
  var build = kotlin_io_ktor_ktor_io.$_$.y;
37
37
  var readByteArray = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.k;
38
38
  var cancelConsumed = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b1;
39
39
  var ClosedSendChannelException = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.x;
40
40
  var CancellationException_init_$Create$ = kotlin_kotlin.$_$.a2;
41
41
  var ChannelIOException = kotlin_io_ktor_ktor_utils.$_$.d;
42
- var CancellationException = kotlin_kotlin.$_$.z8;
42
+ var CancellationException = kotlin_kotlin.$_$.a9;
43
43
  var ClosedReceiveChannelException = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.w;
44
44
  var IOException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.c;
45
- var initMetadataForCoroutine = kotlin_kotlin.$_$.jb;
46
- var toString_0 = kotlin_kotlin.$_$.hh;
45
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.lb;
46
+ var toString_0 = kotlin_kotlin.$_$.kh;
47
47
  var get_size = kotlin_io_ktor_ktor_io.$_$.d1;
48
- var fromInt = kotlin_kotlin.$_$.ba;
48
+ var fromInt = kotlin_kotlin.$_$.da;
49
49
  var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.d;
50
50
  var CompletableDeferred = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l1;
51
51
  var Job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t1;
@@ -54,54 +54,53 @@
54
54
  var Factory_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a;
55
55
  var atomic$boolean$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.b;
56
56
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.k1;
57
- var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.s2;
58
- var joinToString = kotlin_kotlin.$_$.l7;
59
- var KtorSimpleLogger = kotlin_io_ktor_ktor_utils.$_$.k;
57
+ var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.t2;
58
+ var joinToString = kotlin_kotlin.$_$.m7;
59
+ var KtorSimpleLogger = kotlin_io_ktor_ktor_utils.$_$.j;
60
60
  var Buffer = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.f;
61
61
  var readText = kotlin_io_ktor_ktor_io.$_$.b1;
62
62
  var DisposableHandle = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s1;
63
- var initMetadataForObject = kotlin_kotlin.$_$.nb;
64
- var Exception = kotlin_kotlin.$_$.xf;
63
+ var initMetadataForObject = kotlin_kotlin.$_$.pb;
64
+ var Exception = kotlin_kotlin.$_$.ag;
65
65
  var Exception_init_$Init$ = kotlin_kotlin.$_$.h2;
66
- var captureStack = kotlin_kotlin.$_$.qa;
67
- var initCauseBridge = kotlin_io_ktor_ktor_utils.$_$.j;
68
- var defineProp = kotlin_kotlin.$_$.ya;
66
+ var captureStack = kotlin_kotlin.$_$.sa;
67
+ var defineProp = kotlin_kotlin.$_$.ab;
69
68
  var CopyableThrowable = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.n1;
70
- var compareTo = kotlin_kotlin.$_$.xa;
69
+ var compareTo = kotlin_kotlin.$_$.za;
71
70
  var Channel = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.v;
72
71
  var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.a;
73
72
  var toByteArray = kotlin_io_ktor_ktor_io.$_$.f1;
74
- var decodeToString = kotlin_kotlin.$_$.kd;
73
+ var decodeToString = kotlin_kotlin.$_$.md;
75
74
  var getTimeMillis = kotlin_io_ktor_ktor_utils.$_$.h;
76
- var Random = kotlin_kotlin.$_$.kc;
75
+ var Random = kotlin_kotlin.$_$.mc;
77
76
  var withTimeoutOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.p;
78
- var hex = kotlin_io_ktor_ktor_utils.$_$.g1;
77
+ var toHexString = kotlin_kotlin.$_$.ye;
79
78
  var ClosedByteChannelException = kotlin_io_ktor_ktor_io.$_$.o1;
80
79
  var BufferOverflow_SUSPEND_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.h;
81
- var throwUninitializedPropertyAccessException = kotlin_kotlin.$_$.t9;
80
+ var throwUninitializedPropertyAccessException = kotlin_kotlin.$_$.v9;
82
81
  var BufferOverflow_DROP_OLDEST_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.g;
83
82
  var _ChannelResult___get_isClosed__impl__mg7kuu = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
84
83
  var close$default = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.r;
85
84
  var cancel$default = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.q;
86
85
  var ReceiveChannel = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.z;
87
86
  var SendChannel = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
88
- var RuntimeException = kotlin_kotlin.$_$.dg;
89
- var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.a3;
87
+ var RuntimeException = kotlin_kotlin.$_$.gg;
88
+ var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.b3;
90
89
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.j1;
91
- var split = kotlin_kotlin.$_$.fe;
92
- var first = kotlin_kotlin.$_$.d7;
93
- var isCharSequence = kotlin_kotlin.$_$.sb;
94
- var trim = kotlin_kotlin.$_$.if;
95
- var drop = kotlin_kotlin.$_$.u6;
90
+ var split = kotlin_kotlin.$_$.he;
91
+ var first = kotlin_kotlin.$_$.e7;
92
+ var isCharSequence = kotlin_kotlin.$_$.ub;
93
+ var trim = kotlin_kotlin.$_$.lf;
94
+ var drop = kotlin_kotlin.$_$.v6;
96
95
  var writeText = kotlin_io_ktor_ktor_io.$_$.h1;
97
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.dh;
96
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.gh;
98
97
  //endregion
99
98
  //region block: pre-declaration
100
99
  initMetadataForCompanion(Companion);
101
100
  initMetadataForClass(Codes, 'Codes', VOID, Enum);
102
101
  initMetadataForClass(CloseReason, 'CloseReason');
103
102
  function send(frame, $completion) {
104
- return this.c3d().q1b(frame, $completion);
103
+ return this.s3e().s1c(frame, $completion);
105
104
  }
106
105
  initMetadataForInterface(WebSocketSession, 'WebSocketSession', VOID, VOID, [CoroutineScope], [1, 0]);
107
106
  initMetadataForInterface(DefaultWebSocketSession, 'DefaultWebSocketSession', VOID, VOID, [WebSocketSession], [1, 0]);
@@ -165,14 +164,14 @@
165
164
  var _iterator__ex2g4s = this_0.t();
166
165
  while (_iterator__ex2g4s.u()) {
167
166
  var element = _iterator__ex2g4s.v();
168
- var tmp$ret$2 = element.r3c_1;
167
+ var tmp$ret$2 = element.h3e_1;
169
168
  destination.y2(tmp$ret$2, element);
170
169
  }
171
- tmp.s3c_1 = destination;
172
- this.t3c_1 = Codes_INTERNAL_ERROR_getInstance();
170
+ tmp.i3e_1 = destination;
171
+ this.j3e_1 = Codes_INTERNAL_ERROR_getInstance();
173
172
  }
174
- protoOf(Companion).u3c = function (code) {
175
- return this.s3c_1.g3(code);
173
+ protoOf(Companion).k3e = function (code) {
174
+ return this.i3e_1.g3(code);
176
175
  };
177
176
  var Companion_instance;
178
177
  function Companion_getInstance() {
@@ -210,7 +209,7 @@
210
209
  }
211
210
  var $ENTRIES;
212
211
  function CloseReason_init_$Init$(code, message, $this) {
213
- CloseReason.call($this, code.r3c_1, message);
212
+ CloseReason.call($this, code.h3e_1, message);
214
213
  return $this;
215
214
  }
216
215
  function CloseReason_init_$Create$(code, message) {
@@ -218,7 +217,7 @@
218
217
  }
219
218
  function Codes(name, ordinal, code) {
220
219
  Enum.call(this, name, ordinal);
221
- this.r3c_1 = code;
220
+ this.h3e_1 = code;
222
221
  }
223
222
  function Codes_NORMAL_getInstance() {
224
223
  Codes_initEntries();
@@ -269,19 +268,19 @@
269
268
  return Codes_TRY_AGAIN_LATER_instance;
270
269
  }
271
270
  function CloseReason(code, message) {
272
- this.v3c_1 = code;
273
- this.w3c_1 = message;
271
+ this.l3e_1 = code;
272
+ this.m3e_1 = message;
274
273
  }
275
- protoOf(CloseReason).x3c = function () {
276
- return Companion_getInstance().u3c(this.v3c_1);
274
+ protoOf(CloseReason).n3e = function () {
275
+ return Companion_getInstance().k3e(this.l3e_1);
277
276
  };
278
277
  protoOf(CloseReason).toString = function () {
279
- var tmp0_elvis_lhs = this.x3c();
280
- return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.v3c_1 : tmp0_elvis_lhs) + ', message=' + this.w3c_1 + ')';
278
+ var tmp0_elvis_lhs = this.n3e();
279
+ return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.l3e_1 : tmp0_elvis_lhs) + ', message=' + this.m3e_1 + ')';
281
280
  };
282
281
  protoOf(CloseReason).hashCode = function () {
283
- var result = this.v3c_1;
284
- result = imul(result, 31) + getStringHashCode(this.w3c_1) | 0;
282
+ var result = this.l3e_1;
283
+ result = imul(result, 31) + getStringHashCode(this.m3e_1) | 0;
285
284
  return result;
286
285
  };
287
286
  protoOf(CloseReason).equals = function (other) {
@@ -289,9 +288,9 @@
289
288
  return true;
290
289
  if (!(other instanceof CloseReason))
291
290
  return false;
292
- if (!(this.v3c_1 === other.v3c_1))
291
+ if (!(this.l3e_1 === other.l3e_1))
293
292
  return false;
294
- if (!(this.w3c_1 === other.w3c_1))
293
+ if (!(this.m3e_1 === other.m3e_1))
295
294
  return false;
296
295
  return true;
297
296
  };
@@ -321,98 +320,98 @@
321
320
  function DefaultWebSocketSession_0(session, pingIntervalMillis, timeoutMillis, channelsConfig) {
322
321
  pingIntervalMillis = pingIntervalMillis === VOID ? 0n : pingIntervalMillis;
323
322
  timeoutMillis = timeoutMillis === VOID ? 15000n : timeoutMillis;
324
- channelsConfig = channelsConfig === VOID ? Companion_getInstance_2().e3d_1 : channelsConfig;
323
+ channelsConfig = channelsConfig === VOID ? Companion_getInstance_2().u3e_1 : channelsConfig;
325
324
  _init_properties_DefaultWebSocketSession_kt__469s0y();
326
325
  // Inline function 'kotlin.require' call
327
326
  if (!!isInterface(session, DefaultWebSocketSession)) {
328
327
  var message = 'Cannot wrap other DefaultWebSocketSession';
329
328
  throw IllegalArgumentException_init_$Create$(toString(message));
330
329
  }
331
- return new DefaultWebSocketSessionImpl(session, pingIntervalMillis, timeoutMillis, channelsConfig.f3d_1, channelsConfig.g3d_1);
330
+ return new DefaultWebSocketSessionImpl(session, pingIntervalMillis, timeoutMillis, channelsConfig.v3e_1, channelsConfig.w3e_1);
332
331
  }
333
332
  function runIncomingProcessor($this, ponger) {
334
- var tmp = get_IncomingProcessorCoroutineName().yg(Dispatchers_getInstance().f15_1);
333
+ var tmp = get_IncomingProcessorCoroutineName().ch(Dispatchers_getInstance().h16_1);
335
334
  return launch($this, tmp, VOID, DefaultWebSocketSessionImpl$runIncomingProcessor$slambda_0($this, ponger, null));
336
335
  }
337
336
  function runOutgoingProcessor($this) {
338
- var tmp = get_OutgoingProcessorCoroutineName().yg(Dispatchers_getInstance().f15_1);
337
+ var tmp = get_OutgoingProcessorCoroutineName().ch(Dispatchers_getInstance().h16_1);
339
338
  var tmp_0 = CoroutineStart_UNDISPATCHED_getInstance();
340
339
  return launch($this, tmp, tmp_0, DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda_0($this, null));
341
340
  }
342
341
  function outgoingProcessorLoop($this, $completion) {
343
342
  var tmp = new $outgoingProcessorLoopCOROUTINE$($this, $completion);
344
- tmp.c9_1 = Unit_instance;
345
- tmp.d9_1 = null;
346
- return tmp.i9();
343
+ tmp.f9_1 = Unit_instance;
344
+ tmp.g9_1 = null;
345
+ return tmp.l9();
347
346
  }
348
347
  function sendCloseSequence($this, reason, exception, $completion) {
349
348
  exception = exception === VOID ? null : exception;
350
349
  var tmp = new $sendCloseSequenceCOROUTINE$($this, reason, exception, $completion);
351
- tmp.c9_1 = Unit_instance;
352
- tmp.d9_1 = null;
353
- return tmp.i9();
350
+ tmp.f9_1 = Unit_instance;
351
+ tmp.g9_1 = null;
352
+ return tmp.l9();
354
353
  }
355
354
  function tryClose($this) {
356
- return $this.l3e_1.atomicfu$compareAndSet(false, true);
355
+ return $this.b3g_1.atomicfu$compareAndSet(false, true);
357
356
  }
358
357
  function runOrCancelPinger($this) {
359
- var interval = $this.o3e_1;
358
+ var interval = $this.e3g_1;
360
359
  var tmp;
361
- if ($this.l3e_1.kotlinx$atomicfu$value) {
360
+ if ($this.b3g_1.kotlinx$atomicfu$value) {
362
361
  tmp = null;
363
362
  } else if (interval > 0n) {
364
- var tmp_0 = $this.e3e_1.c3d();
365
- var tmp_1 = $this.p3e_1;
363
+ var tmp_0 = $this.u3f_1.s3e();
364
+ var tmp_1 = $this.f3g_1;
366
365
  tmp = pinger($this, tmp_0, interval, tmp_1, DefaultWebSocketSessionImpl$runOrCancelPinger$slambda_0($this, null));
367
366
  } else {
368
367
  tmp = null;
369
368
  }
370
369
  var newPinger = tmp;
371
- var tmp0_safe_receiver = $this.f3e_1.atomicfu$getAndSet(newPinger);
370
+ var tmp0_safe_receiver = $this.v3f_1.atomicfu$getAndSet(newPinger);
372
371
  if (tmp0_safe_receiver == null)
373
372
  null;
374
373
  else
375
- tmp0_safe_receiver.y1b();
376
- var tmp2_safe_receiver = newPinger == null ? null : new ChannelResult(newPinger.r1b(Companion_getInstance_0().r3e_1));
374
+ tmp0_safe_receiver.z1c();
375
+ var tmp2_safe_receiver = newPinger == null ? null : new ChannelResult(newPinger.t1c(Companion_getInstance_0().h3g_1));
377
376
  if (tmp2_safe_receiver == null)
378
377
  null;
379
378
  else
380
- _ChannelResult___get_isSuccess__impl__odq1z9(tmp2_safe_receiver.b1a_1);
381
- if ($this.l3e_1.kotlinx$atomicfu$value && !(newPinger == null)) {
379
+ _ChannelResult___get_isSuccess__impl__odq1z9(tmp2_safe_receiver.d1b_1);
380
+ if ($this.b3g_1.kotlinx$atomicfu$value && !(newPinger == null)) {
382
381
  runOrCancelPinger($this);
383
382
  }
384
383
  }
385
384
  function checkMaxFrameSize($this, packet, frame, $completion) {
386
385
  var tmp = new $checkMaxFrameSizeCOROUTINE$($this, packet, frame, $completion);
387
- tmp.c9_1 = Unit_instance;
388
- tmp.d9_1 = null;
389
- return tmp.i9();
386
+ tmp.f9_1 = Unit_instance;
387
+ tmp.g9_1 = null;
388
+ return tmp.l9();
390
389
  }
391
390
  function processIncomingExtensions($this, frame) {
392
391
  // Inline function 'kotlin.collections.fold' call
393
392
  var accumulator = frame;
394
- var _iterator__ex2g4s = $this.e3f().t();
393
+ var _iterator__ex2g4s = $this.u3g().t();
395
394
  while (_iterator__ex2g4s.u()) {
396
395
  var element = _iterator__ex2g4s.v();
397
396
  var current = accumulator;
398
- accumulator = element.f3f(current);
397
+ accumulator = element.v3g(current);
399
398
  }
400
399
  return accumulator;
401
400
  }
402
401
  function processOutgoingExtensions($this, frame) {
403
402
  // Inline function 'kotlin.collections.fold' call
404
403
  var accumulator = frame;
405
- var _iterator__ex2g4s = $this.e3f().t();
404
+ var _iterator__ex2g4s = $this.u3g().t();
406
405
  while (_iterator__ex2g4s.u()) {
407
406
  var element = _iterator__ex2g4s.v();
408
407
  var current = accumulator;
409
- accumulator = element.g3f(current);
408
+ accumulator = element.w3g(current);
410
409
  }
411
410
  return accumulator;
412
411
  }
413
412
  function Companion_0() {
414
413
  Companion_instance_0 = this;
415
- this.r3e_1 = new Pong(new Int8Array(0), NonDisposableHandle_instance);
414
+ this.h3g_1 = new Pong(new Int8Array(0), NonDisposableHandle_instance);
416
415
  }
417
416
  var Companion_instance_0;
418
417
  function Companion_getInstance_0() {
@@ -421,130 +420,130 @@
421
420
  return Companion_instance_0;
422
421
  }
423
422
  function DefaultWebSocketSessionImpl$start$slambda($incomingJob, $outgoingJob, this$0, resultContinuation) {
424
- this.p3f_1 = $incomingJob;
425
- this.q3f_1 = $outgoingJob;
426
- this.r3f_1 = this$0;
423
+ this.f3h_1 = $incomingJob;
424
+ this.g3h_1 = $outgoingJob;
425
+ this.h3h_1 = this$0;
427
426
  CoroutineImpl.call(this, resultContinuation);
428
427
  }
429
- protoOf(DefaultWebSocketSessionImpl$start$slambda).t1w = function ($this$launch, $completion) {
430
- var tmp = this.u1w($this$launch, $completion);
431
- tmp.c9_1 = Unit_instance;
432
- tmp.d9_1 = null;
433
- return tmp.i9();
428
+ protoOf(DefaultWebSocketSessionImpl$start$slambda).v1x = function ($this$launch, $completion) {
429
+ var tmp = this.w1x($this$launch, $completion);
430
+ tmp.f9_1 = Unit_instance;
431
+ tmp.g9_1 = null;
432
+ return tmp.l9();
434
433
  };
435
- protoOf(DefaultWebSocketSessionImpl$start$slambda).u9 = function (p1, $completion) {
436
- return this.t1w((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
434
+ protoOf(DefaultWebSocketSessionImpl$start$slambda).y9 = function (p1, $completion) {
435
+ return this.v1x((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
437
436
  };
438
- protoOf(DefaultWebSocketSessionImpl$start$slambda).i9 = function () {
439
- var suspendResult = this.c9_1;
437
+ protoOf(DefaultWebSocketSessionImpl$start$slambda).l9 = function () {
438
+ var suspendResult = this.f9_1;
440
439
  $sm: do
441
440
  try {
442
- var tmp = this.a9_1;
441
+ var tmp = this.d9_1;
443
442
  switch (tmp) {
444
443
  case 0:
445
- this.b9_1 = 3;
446
- this.a9_1 = 1;
447
- suspendResult = this.p3f_1.ut(this);
444
+ this.e9_1 = 3;
445
+ this.d9_1 = 1;
446
+ suspendResult = this.f3h_1.wu(this);
448
447
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
449
448
  return suspendResult;
450
449
  }
451
450
 
452
451
  continue $sm;
453
452
  case 1:
454
- this.a9_1 = 2;
455
- suspendResult = this.q3f_1.ut(this);
453
+ this.d9_1 = 2;
454
+ suspendResult = this.g3h_1.wu(this);
456
455
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
457
456
  return suspendResult;
458
457
  }
459
458
 
460
459
  continue $sm;
461
460
  case 2:
462
- this.r3f_1.h3e_1.yt();
461
+ this.h3h_1.x3f_1.av();
463
462
  return Unit_instance;
464
463
  case 3:
465
- throw this.d9_1;
464
+ throw this.g9_1;
466
465
  }
467
466
  } catch ($p) {
468
467
  var e = $p;
469
- if (this.b9_1 === 3) {
468
+ if (this.e9_1 === 3) {
470
469
  throw e;
471
470
  } else {
472
- this.a9_1 = this.b9_1;
473
- this.d9_1 = e;
471
+ this.d9_1 = this.e9_1;
472
+ this.g9_1 = e;
474
473
  }
475
474
  }
476
475
  while (true);
477
476
  };
478
- protoOf(DefaultWebSocketSessionImpl$start$slambda).u1w = function ($this$launch, completion) {
479
- var i = new DefaultWebSocketSessionImpl$start$slambda(this.p3f_1, this.q3f_1, this.r3f_1, completion);
480
- i.s3f_1 = $this$launch;
477
+ protoOf(DefaultWebSocketSessionImpl$start$slambda).w1x = function ($this$launch, completion) {
478
+ var i = new DefaultWebSocketSessionImpl$start$slambda(this.f3h_1, this.g3h_1, this.h3h_1, completion);
479
+ i.i3h_1 = $this$launch;
481
480
  return i;
482
481
  };
483
482
  function DefaultWebSocketSessionImpl$start$slambda_0($incomingJob, $outgoingJob, this$0, resultContinuation) {
484
483
  var i = new DefaultWebSocketSessionImpl$start$slambda($incomingJob, $outgoingJob, this$0, resultContinuation);
485
484
  var l = function ($this$launch, $completion) {
486
- return i.t1w($this$launch, $completion);
485
+ return i.v1x($this$launch, $completion);
487
486
  };
488
487
  l.$arity = 1;
489
488
  return l;
490
489
  }
491
490
  function DefaultWebSocketSessionImpl$runIncomingProcessor$slambda(this$0, $ponger, resultContinuation) {
492
- this.b3g_1 = this$0;
493
- this.c3g_1 = $ponger;
491
+ this.r3h_1 = this$0;
492
+ this.s3h_1 = $ponger;
494
493
  CoroutineImpl.call(this, resultContinuation);
495
494
  }
496
- protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).t1w = function ($this$launch, $completion) {
497
- var tmp = this.u1w($this$launch, $completion);
498
- tmp.c9_1 = Unit_instance;
499
- tmp.d9_1 = null;
500
- return tmp.i9();
495
+ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).v1x = function ($this$launch, $completion) {
496
+ var tmp = this.w1x($this$launch, $completion);
497
+ tmp.f9_1 = Unit_instance;
498
+ tmp.g9_1 = null;
499
+ return tmp.l9();
501
500
  };
502
- protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).u9 = function (p1, $completion) {
503
- return this.t1w((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
501
+ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).y9 = function (p1, $completion) {
502
+ return this.v1x((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
504
503
  };
505
- protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).i9 = function () {
506
- var suspendResult = this.c9_1;
504
+ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).l9 = function () {
505
+ var suspendResult = this.f9_1;
507
506
  $sm: do
508
507
  try {
509
- var tmp = this.a9_1;
508
+ var tmp = this.d9_1;
510
509
  switch (tmp) {
511
510
  case 0:
512
- this.b9_1 = 39;
513
- this.n3g_1 = null;
514
- this.g3g_1 = null;
515
- this.f3g_1 = false;
516
- this.h3g_1 = Unit_instance;
517
- this.a9_1 = 1;
511
+ this.e9_1 = 39;
512
+ this.d3i_1 = null;
513
+ this.w3h_1 = null;
514
+ this.v3h_1 = false;
515
+ this.x3h_1 = Unit_instance;
516
+ this.d9_1 = 1;
518
517
  continue $sm;
519
518
  case 1:
520
- this.a9_1 = 2;
519
+ this.d9_1 = 2;
521
520
  continue $sm;
522
521
  case 2:
523
- this.b9_1 = 33;
524
- this.b9_1 = 32;
525
- this.r3g_1 = this.b3g_1.e3e_1.b3d();
526
- this.a9_1 = 3;
522
+ this.e9_1 = 33;
523
+ this.e9_1 = 32;
524
+ this.h3i_1 = this.r3h_1.u3f_1.r3e();
525
+ this.d9_1 = 3;
527
526
  continue $sm;
528
527
  case 3:
529
- this.k3g_1 = this.r3g_1;
530
- this.j3g_1 = null;
531
- this.a9_1 = 4;
528
+ this.a3i_1 = this.h3i_1;
529
+ this.z3h_1 = null;
530
+ this.d9_1 = 4;
532
531
  continue $sm;
533
532
  case 4:
534
- this.a9_1 = 5;
533
+ this.d9_1 = 5;
535
534
  continue $sm;
536
535
  case 5:
537
- this.a9_1 = 6;
536
+ this.d9_1 = 6;
538
537
  continue $sm;
539
538
  case 6:
540
- this.b9_1 = 29;
541
- this.b9_1 = 28;
542
- this.q3g_1 = this.k3g_1.t();
543
- this.a9_1 = 7;
539
+ this.e9_1 = 29;
540
+ this.e9_1 = 28;
541
+ this.g3i_1 = this.a3i_1.t();
542
+ this.d9_1 = 7;
544
543
  continue $sm;
545
544
  case 7:
546
- this.a9_1 = 8;
547
- suspendResult = this.q3g_1.t19(this);
545
+ this.d9_1 = 8;
546
+ suspendResult = this.g3i_1.v1a(this);
548
547
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
549
548
  return suspendResult;
550
549
  }
@@ -552,46 +551,46 @@
552
551
  continue $sm;
553
552
  case 8:
554
553
  if (!suspendResult) {
555
- this.a9_1 = 26;
554
+ this.d9_1 = 26;
556
555
  continue $sm;
557
556
  }
558
557
 
559
- var e = this.q3g_1.v();
560
- this.p3g_1 = e;
561
- this.a9_1 = 9;
558
+ var e = this.g3i_1.v();
559
+ this.f3i_1 = e;
560
+ this.d9_1 = 9;
562
561
  continue $sm;
563
562
  case 9:
564
- this.o3g_1 = this.p3g_1;
563
+ this.e3i_1 = this.f3i_1;
565
564
  var this_0 = get_LOGGER();
566
565
  if (get_isTraceEnabled(this_0)) {
567
- this_0.d2t('WebSocketSession(' + toString(this.d3g_1) + ') receiving frame ' + this.o3g_1.toString());
566
+ this_0.f2u('WebSocketSession(' + toString(this.t3h_1) + ') receiving frame ' + this.e3i_1.toString());
568
567
  }
569
568
 
570
- var tmp0_subject = this.o3g_1;
569
+ var tmp0_subject = this.e3i_1;
571
570
  if (tmp0_subject instanceof Close) {
572
- if (!this.b3g_1.c3d().v19()) {
573
- this.a9_1 = 18;
574
- var tmp_0 = this.b3g_1.c3d();
575
- var tmp1_elvis_lhs = readReason(this.o3g_1);
576
- suspendResult = tmp_0.q1b(Close_init_$Create$(tmp1_elvis_lhs == null ? get_NORMAL_CLOSE() : tmp1_elvis_lhs), this);
571
+ if (!this.r3h_1.s3e().x1a()) {
572
+ this.d9_1 = 18;
573
+ var tmp_0 = this.r3h_1.s3e();
574
+ var tmp1_elvis_lhs = readReason(this.e3i_1);
575
+ suspendResult = tmp_0.s1c(Close_init_$Create$(tmp1_elvis_lhs == null ? get_NORMAL_CLOSE() : tmp1_elvis_lhs), this);
577
576
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
578
577
  return suspendResult;
579
578
  }
580
579
  continue $sm;
581
580
  } else {
582
- this.a9_1 = 19;
581
+ this.d9_1 = 19;
583
582
  continue $sm;
584
583
  }
585
584
  } else {
586
585
  if (tmp0_subject instanceof Pong) {
587
- var tmp2_safe_receiver = this.b3g_1.f3e_1.kotlinx$atomicfu$value;
586
+ var tmp2_safe_receiver = this.r3h_1.v3f_1.kotlinx$atomicfu$value;
588
587
  if (tmp2_safe_receiver == null) {
589
- this.m3g_1 = null;
590
- this.a9_1 = 17;
588
+ this.c3i_1 = null;
589
+ this.d9_1 = 17;
591
590
  continue $sm;
592
591
  } else {
593
- this.a9_1 = 16;
594
- suspendResult = tmp2_safe_receiver.q1b(this.o3g_1, this);
592
+ this.d9_1 = 16;
593
+ suspendResult = tmp2_safe_receiver.s1c(this.e3i_1, this);
595
594
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
596
595
  return suspendResult;
597
596
  }
@@ -599,15 +598,15 @@
599
598
  }
600
599
  } else {
601
600
  if (tmp0_subject instanceof Ping) {
602
- this.a9_1 = 15;
603
- suspendResult = this.c3g_1.q1b(this.o3g_1, this);
601
+ this.d9_1 = 15;
602
+ suspendResult = this.s3h_1.s1c(this.e3i_1, this);
604
603
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
605
604
  return suspendResult;
606
605
  }
607
606
  continue $sm;
608
607
  } else {
609
- this.a9_1 = 10;
610
- suspendResult = checkMaxFrameSize(this.b3g_1, this.g3g_1, this.o3g_1, this);
608
+ this.d9_1 = 10;
609
+ suspendResult = checkMaxFrameSize(this.r3h_1, this.w3h_1, this.e3i_1, this);
611
610
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
612
611
  return suspendResult;
613
612
  }
@@ -617,40 +616,40 @@
617
616
  }
618
617
 
619
618
  case 10:
620
- if (!this.o3g_1.s3g_1) {
621
- if (this.n3g_1 == null) {
622
- this.n3g_1 = this.o3g_1;
619
+ if (!this.e3i_1.i3i_1) {
620
+ if (this.d3i_1 == null) {
621
+ this.d3i_1 = this.e3i_1;
623
622
  }
624
- if (this.g3g_1 == null) {
625
- this.g3g_1 = BytePacketBuilder();
623
+ if (this.w3h_1 == null) {
624
+ this.w3h_1 = BytePacketBuilder();
626
625
  }
627
- writeFully(this.g3g_1, this.o3g_1.u3g_1);
628
- this.a9_1 = 21;
626
+ writeFully(this.w3h_1, this.e3i_1.k3i_1);
627
+ this.d9_1 = 21;
629
628
  continue $sm;
630
629
  } else {
631
- this.a9_1 = 11;
630
+ this.d9_1 = 11;
632
631
  continue $sm;
633
632
  }
634
633
 
635
634
  case 11:
636
- if (this.n3g_1 == null) {
637
- this.a9_1 = 14;
638
- suspendResult = this.b3g_1.j3e_1.q1b(processIncomingExtensions(this.b3g_1, this.o3g_1), this);
635
+ if (this.d3i_1 == null) {
636
+ this.d9_1 = 14;
637
+ suspendResult = this.r3h_1.z3f_1.s1c(processIncomingExtensions(this.r3h_1, this.e3i_1), this);
639
638
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
640
639
  return suspendResult;
641
640
  }
642
641
  continue $sm;
643
642
  } else {
644
- this.a9_1 = 12;
643
+ this.d9_1 = 12;
645
644
  continue $sm;
646
645
  }
647
646
 
648
647
  case 12:
649
- writeFully(ensureNotNull(this.g3g_1), this.o3g_1.u3g_1);
650
- var defragmented = Companion_getInstance_5().a3h(true, this.n3g_1.t3g_1, readByteArray(build(this.g3g_1)), this.n3g_1.w3g_1, this.n3g_1.x3g_1, this.n3g_1.y3g_1);
651
- this.n3g_1 = null;
652
- this.a9_1 = 13;
653
- suspendResult = this.b3g_1.j3e_1.q1b(processIncomingExtensions(this.b3g_1, defragmented), this);
648
+ writeFully(ensureNotNull(this.w3h_1), this.e3i_1.k3i_1);
649
+ var defragmented = Companion_getInstance_5().q3i(true, this.d3i_1.j3i_1, readByteArray(build(this.w3h_1)), this.d3i_1.m3i_1, this.d3i_1.n3i_1, this.d3i_1.o3i_1);
650
+ this.d3i_1 = null;
651
+ this.d9_1 = 13;
652
+ suspendResult = this.r3h_1.z3f_1.s1c(processIncomingExtensions(this.r3h_1, defragmented), this);
654
653
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
655
654
  return suspendResult;
656
655
  }
@@ -658,316 +657,316 @@
658
657
  continue $sm;
659
658
  case 13:
660
659
  var tmp_1 = this;
661
- tmp_1.l3g_1 = Unit_instance;
662
- this.a9_1 = 20;
660
+ tmp_1.b3i_1 = Unit_instance;
661
+ this.d9_1 = 20;
663
662
  continue $sm;
664
663
  case 14:
665
- this.a9_1 = 21;
664
+ this.d9_1 = 21;
666
665
  continue $sm;
667
666
  case 15:
668
667
  var tmp_2 = this;
669
- tmp_2.l3g_1 = Unit_instance;
670
- this.a9_1 = 20;
668
+ tmp_2.b3i_1 = Unit_instance;
669
+ this.d9_1 = 20;
671
670
  continue $sm;
672
671
  case 16:
673
672
  var tmp_3 = this;
674
- tmp_3.m3g_1 = Unit_instance;
675
- this.a9_1 = 17;
673
+ tmp_3.c3i_1 = Unit_instance;
674
+ this.d9_1 = 17;
676
675
  continue $sm;
677
676
  case 17:
678
- this.l3g_1 = this.m3g_1;
679
- this.a9_1 = 20;
677
+ this.b3i_1 = this.c3i_1;
678
+ this.d9_1 = 20;
680
679
  continue $sm;
681
680
  case 18:
682
- this.a9_1 = 19;
681
+ this.d9_1 = 19;
683
682
  continue $sm;
684
683
  case 19:
685
- this.f3g_1 = true;
686
- this.a9_1 = 22;
684
+ this.v3h_1 = true;
685
+ this.d9_1 = 22;
687
686
  var tmp_4 = this;
688
687
  continue $sm;
689
688
  case 20:
690
689
  if (false) {
691
- this.a9_1 = 9;
690
+ this.d9_1 = 9;
692
691
  continue $sm;
693
692
  }
694
693
 
695
- this.a9_1 = 21;
694
+ this.d9_1 = 21;
696
695
  continue $sm;
697
696
  case 21:
698
- this.a9_1 = 7;
697
+ this.d9_1 = 7;
699
698
  continue $sm;
700
699
  case 22:
701
- this.b9_1 = 32;
702
- cancelConsumed(this.k3g_1, this.j3g_1);
703
- this.b9_1 = 39;
704
- this.a9_1 = 23;
700
+ this.e9_1 = 32;
701
+ cancelConsumed(this.a3i_1, this.z3h_1);
702
+ this.e9_1 = 39;
703
+ this.d9_1 = 23;
705
704
  continue $sm;
706
705
  case 23:
707
- this.b9_1 = 39;
708
- this.c3g_1.y1b();
709
- var tmp0_safe_receiver = this.g3g_1;
706
+ this.e9_1 = 39;
707
+ this.s3h_1.z1c();
708
+ var tmp0_safe_receiver = this.w3h_1;
710
709
  if (tmp0_safe_receiver == null)
711
710
  null;
712
711
  else {
713
- tmp0_safe_receiver.l4();
712
+ tmp0_safe_receiver.o4();
714
713
  }
715
714
 
716
- this.b3g_1.j3e_1.y1b();
717
- if (!this.f3g_1) {
718
- this.a9_1 = 24;
719
- suspendResult = close(this.b3g_1, CloseReason_init_$Create$(Codes_CLOSED_ABNORMALLY_getInstance(), 'Connection was closed without close frame'), this);
715
+ this.r3h_1.z3f_1.z1c();
716
+ if (!this.v3h_1) {
717
+ this.d9_1 = 24;
718
+ suspendResult = close(this.r3h_1, CloseReason_init_$Create$(Codes_CLOSED_ABNORMALLY_getInstance(), 'Connection was closed without close frame'), this);
720
719
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
721
720
  return suspendResult;
722
721
  }
723
722
  continue $sm;
724
723
  } else {
725
- this.a9_1 = 25;
724
+ this.d9_1 = 25;
726
725
  continue $sm;
727
726
  }
728
727
 
729
728
  case 24:
730
- this.a9_1 = 25;
729
+ this.d9_1 = 25;
731
730
  continue $sm;
732
731
  case 25:
733
732
  var tmp_5 = this;
734
733
  return Unit_instance;
735
734
  case 26:
736
- this.a9_1 = 27;
735
+ this.d9_1 = 27;
737
736
  var tmp_6 = this;
738
737
  continue $sm;
739
738
  case 27:
740
- this.b9_1 = 32;
741
- cancelConsumed(this.k3g_1, this.j3g_1);
742
- this.a9_1 = 31;
739
+ this.e9_1 = 32;
740
+ cancelConsumed(this.a3i_1, this.z3h_1);
741
+ this.d9_1 = 31;
743
742
  continue $sm;
744
743
  case 28:
745
- this.b9_1 = 29;
746
- var tmp_7 = this.d9_1;
744
+ this.e9_1 = 29;
745
+ var tmp_7 = this.g9_1;
747
746
  if (tmp_7 instanceof Error) {
748
- var e_0 = this.d9_1;
747
+ var e_0 = this.g9_1;
749
748
  var tmp_8 = this;
750
- this.j3g_1 = e_0;
749
+ this.z3h_1 = e_0;
751
750
  throw e_0;
752
751
  } else {
753
- throw this.d9_1;
752
+ throw this.g9_1;
754
753
  }
755
754
 
756
755
  case 29:
757
- this.b9_1 = 32;
758
- var t = this.d9_1;
759
- cancelConsumed(this.k3g_1, this.j3g_1);
756
+ this.e9_1 = 32;
757
+ var t = this.g9_1;
758
+ cancelConsumed(this.a3i_1, this.z3h_1);
760
759
  throw t;
761
760
  case 30:
762
- this.b9_1 = 32;
763
- cancelConsumed(this.k3g_1, this.j3g_1);
761
+ this.e9_1 = 32;
762
+ cancelConsumed(this.a3i_1, this.z3h_1);
764
763
  if (false) {
765
- this.a9_1 = 3;
764
+ this.d9_1 = 3;
766
765
  continue $sm;
767
766
  }
768
767
 
769
- this.a9_1 = 31;
768
+ this.d9_1 = 31;
770
769
  continue $sm;
771
770
  case 31:
772
- this.h3g_1 = Unit_instance;
773
- this.b9_1 = 39;
774
- this.a9_1 = 36;
771
+ this.x3h_1 = Unit_instance;
772
+ this.e9_1 = 39;
773
+ this.d9_1 = 36;
775
774
  continue $sm;
776
775
  case 32:
777
- this.b9_1 = 33;
778
- var tmp_9 = this.d9_1;
776
+ this.e9_1 = 33;
777
+ var tmp_9 = this.g9_1;
779
778
  if (tmp_9 instanceof ClosedSendChannelException) {
780
- var _unused_var__etf5q3 = this.d9_1;
779
+ var _unused_var__etf5q3 = this.g9_1;
781
780
  var tmp_10 = this;
782
- tmp_10.h3g_1 = Unit_instance;
783
- this.b9_1 = 39;
784
- this.a9_1 = 36;
781
+ tmp_10.x3h_1 = Unit_instance;
782
+ this.e9_1 = 39;
783
+ this.d9_1 = 36;
785
784
  continue $sm;
786
785
  } else {
787
- var tmp_11 = this.d9_1;
786
+ var tmp_11 = this.g9_1;
788
787
  if (tmp_11 instanceof Error) {
789
- var cause = this.d9_1;
788
+ var cause = this.g9_1;
790
789
  var tmp_12 = this;
791
- this.c3g_1.y1b();
792
- tmp_12.h3g_1 = this.b3g_1.j3e_1.w1b(cause);
793
- this.b9_1 = 39;
794
- this.a9_1 = 36;
790
+ this.s3h_1.z1c();
791
+ tmp_12.x3h_1 = this.r3h_1.z3f_1.x1c(cause);
792
+ this.e9_1 = 39;
793
+ this.d9_1 = 36;
795
794
  continue $sm;
796
795
  } else {
797
- throw this.d9_1;
796
+ throw this.g9_1;
798
797
  }
799
798
  }
800
799
 
801
800
  case 33:
802
- this.b9_1 = 39;
803
- this.i3g_1 = this.d9_1;
804
- this.c3g_1.y1b();
805
- var tmp0_safe_receiver_0 = this.g3g_1;
801
+ this.e9_1 = 39;
802
+ this.y3h_1 = this.g9_1;
803
+ this.s3h_1.z1c();
804
+ var tmp0_safe_receiver_0 = this.w3h_1;
806
805
  if (tmp0_safe_receiver_0 == null)
807
806
  null;
808
807
  else {
809
- tmp0_safe_receiver_0.l4();
808
+ tmp0_safe_receiver_0.o4();
810
809
  }
811
810
 
812
- this.b3g_1.j3e_1.y1b();
813
- if (!this.f3g_1) {
814
- this.a9_1 = 34;
815
- suspendResult = close(this.b3g_1, CloseReason_init_$Create$(Codes_CLOSED_ABNORMALLY_getInstance(), 'Connection was closed without close frame'), this);
811
+ this.r3h_1.z3f_1.z1c();
812
+ if (!this.v3h_1) {
813
+ this.d9_1 = 34;
814
+ suspendResult = close(this.r3h_1, CloseReason_init_$Create$(Codes_CLOSED_ABNORMALLY_getInstance(), 'Connection was closed without close frame'), this);
816
815
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
817
816
  return suspendResult;
818
817
  }
819
818
  continue $sm;
820
819
  } else {
821
- this.a9_1 = 35;
820
+ this.d9_1 = 35;
822
821
  continue $sm;
823
822
  }
824
823
 
825
824
  case 34:
826
- this.a9_1 = 35;
825
+ this.d9_1 = 35;
827
826
  continue $sm;
828
827
  case 35:
829
- throw this.i3g_1;
828
+ throw this.y3h_1;
830
829
  case 36:
831
- this.e3g_1 = this.h3g_1;
832
- this.b9_1 = 39;
833
- this.c3g_1.y1b();
834
- var tmp0_safe_receiver_1 = this.g3g_1;
830
+ this.u3h_1 = this.x3h_1;
831
+ this.e9_1 = 39;
832
+ this.s3h_1.z1c();
833
+ var tmp0_safe_receiver_1 = this.w3h_1;
835
834
  if (tmp0_safe_receiver_1 == null)
836
835
  null;
837
836
  else {
838
- tmp0_safe_receiver_1.l4();
837
+ tmp0_safe_receiver_1.o4();
839
838
  }
840
839
 
841
- this.b3g_1.j3e_1.y1b();
842
- if (!this.f3g_1) {
843
- this.a9_1 = 37;
844
- suspendResult = close(this.b3g_1, CloseReason_init_$Create$(Codes_CLOSED_ABNORMALLY_getInstance(), 'Connection was closed without close frame'), this);
840
+ this.r3h_1.z3f_1.z1c();
841
+ if (!this.v3h_1) {
842
+ this.d9_1 = 37;
843
+ suspendResult = close(this.r3h_1, CloseReason_init_$Create$(Codes_CLOSED_ABNORMALLY_getInstance(), 'Connection was closed without close frame'), this);
845
844
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
846
845
  return suspendResult;
847
846
  }
848
847
  continue $sm;
849
848
  } else {
850
- this.a9_1 = 38;
849
+ this.d9_1 = 38;
851
850
  continue $sm;
852
851
  }
853
852
 
854
853
  case 37:
855
- this.a9_1 = 38;
854
+ this.d9_1 = 38;
856
855
  continue $sm;
857
856
  case 38:
858
857
  return Unit_instance;
859
858
  case 39:
860
- throw this.d9_1;
859
+ throw this.g9_1;
861
860
  }
862
861
  } catch ($p) {
863
862
  var e_1 = $p;
864
- if (this.b9_1 === 39) {
863
+ if (this.e9_1 === 39) {
865
864
  throw e_1;
866
865
  } else {
867
- this.a9_1 = this.b9_1;
868
- this.d9_1 = e_1;
866
+ this.d9_1 = this.e9_1;
867
+ this.g9_1 = e_1;
869
868
  }
870
869
  }
871
870
  while (true);
872
871
  };
873
- protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).u1w = function ($this$launch, completion) {
874
- var i = new DefaultWebSocketSessionImpl$runIncomingProcessor$slambda(this.b3g_1, this.c3g_1, completion);
875
- i.d3g_1 = $this$launch;
872
+ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).w1x = function ($this$launch, completion) {
873
+ var i = new DefaultWebSocketSessionImpl$runIncomingProcessor$slambda(this.r3h_1, this.s3h_1, completion);
874
+ i.t3h_1 = $this$launch;
876
875
  return i;
877
876
  };
878
877
  function DefaultWebSocketSessionImpl$runIncomingProcessor$slambda_0(this$0, $ponger, resultContinuation) {
879
878
  var i = new DefaultWebSocketSessionImpl$runIncomingProcessor$slambda(this$0, $ponger, resultContinuation);
880
879
  var l = function ($this$launch, $completion) {
881
- return i.t1w($this$launch, $completion);
880
+ return i.v1x($this$launch, $completion);
882
881
  };
883
882
  l.$arity = 1;
884
883
  return l;
885
884
  }
886
885
  function DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda(this$0, resultContinuation) {
887
- this.j3h_1 = this$0;
886
+ this.z3i_1 = this$0;
888
887
  CoroutineImpl.call(this, resultContinuation);
889
888
  }
890
- protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).t1w = function ($this$launch, $completion) {
891
- var tmp = this.u1w($this$launch, $completion);
892
- tmp.c9_1 = Unit_instance;
893
- tmp.d9_1 = null;
894
- return tmp.i9();
889
+ protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).v1x = function ($this$launch, $completion) {
890
+ var tmp = this.w1x($this$launch, $completion);
891
+ tmp.f9_1 = Unit_instance;
892
+ tmp.g9_1 = null;
893
+ return tmp.l9();
895
894
  };
896
- protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).u9 = function (p1, $completion) {
897
- return this.t1w((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
895
+ protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).y9 = function (p1, $completion) {
896
+ return this.v1x((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
898
897
  };
899
- protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).i9 = function () {
900
- var suspendResult = this.c9_1;
898
+ protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).l9 = function () {
899
+ var suspendResult = this.f9_1;
901
900
  $sm: do
902
901
  try {
903
- var tmp = this.a9_1;
902
+ var tmp = this.d9_1;
904
903
  switch (tmp) {
905
904
  case 0:
906
- this.b9_1 = 13;
907
- this.a9_1 = 1;
905
+ this.e9_1 = 13;
906
+ this.d9_1 = 1;
908
907
  continue $sm;
909
908
  case 1:
910
- this.a9_1 = 2;
909
+ this.d9_1 = 2;
911
910
  continue $sm;
912
911
  case 2:
913
- this.b9_1 = 9;
914
- this.b9_1 = 4;
915
- this.a9_1 = 3;
916
- suspendResult = outgoingProcessorLoop(this.j3h_1, this);
912
+ this.e9_1 = 9;
913
+ this.e9_1 = 4;
914
+ this.d9_1 = 3;
915
+ suspendResult = outgoingProcessorLoop(this.z3i_1, this);
917
916
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
918
917
  return suspendResult;
919
918
  }
920
919
 
921
920
  continue $sm;
922
921
  case 3:
923
- this.b9_1 = 13;
924
- this.a9_1 = 11;
922
+ this.e9_1 = 13;
923
+ this.d9_1 = 11;
925
924
  continue $sm;
926
925
  case 4:
927
- this.b9_1 = 9;
928
- var tmp_0 = this.d9_1;
926
+ this.e9_1 = 9;
927
+ var tmp_0 = this.g9_1;
929
928
  if (tmp_0 instanceof ClosedSendChannelException) {
930
- var _unused_var__etf5q3 = this.d9_1;
931
- this.b9_1 = 13;
932
- this.a9_1 = 11;
929
+ var _unused_var__etf5q3 = this.g9_1;
930
+ this.e9_1 = 13;
931
+ this.d9_1 = 11;
933
932
  continue $sm;
934
933
  } else {
935
- var tmp_1 = this.d9_1;
934
+ var tmp_1 = this.g9_1;
936
935
  if (tmp_1 instanceof ClosedReceiveChannelException) {
937
- var _unused_var__etf5q3_0 = this.d9_1;
938
- this.b9_1 = 13;
939
- this.a9_1 = 11;
936
+ var _unused_var__etf5q3_0 = this.g9_1;
937
+ this.e9_1 = 13;
938
+ this.d9_1 = 11;
940
939
  continue $sm;
941
940
  } else {
942
- var tmp_2 = this.d9_1;
941
+ var tmp_2 = this.g9_1;
943
942
  if (tmp_2 instanceof CancellationException) {
944
- var _unused_var__etf5q3_1 = this.d9_1;
945
- this.a9_1 = 5;
946
- suspendResult = sendCloseSequence(this.j3h_1, CloseReason_init_$Create$(Codes_NORMAL_getInstance(), ''), VOID, this);
943
+ var _unused_var__etf5q3_1 = this.g9_1;
944
+ this.d9_1 = 5;
945
+ suspendResult = sendCloseSequence(this.z3i_1, CloseReason_init_$Create$(Codes_NORMAL_getInstance(), ''), VOID, this);
947
946
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
948
947
  return suspendResult;
949
948
  }
950
949
  continue $sm;
951
950
  } else {
952
- var tmp_3 = this.d9_1;
951
+ var tmp_3 = this.g9_1;
953
952
  if (tmp_3 instanceof ChannelIOException) {
954
- var _unused_var__etf5q3_2 = this.d9_1;
955
- this.b9_1 = 13;
956
- this.a9_1 = 11;
953
+ var _unused_var__etf5q3_2 = this.g9_1;
954
+ this.e9_1 = 13;
955
+ this.d9_1 = 11;
957
956
  continue $sm;
958
957
  } else {
959
- var tmp_4 = this.d9_1;
958
+ var tmp_4 = this.g9_1;
960
959
  if (tmp_4 instanceof Error) {
961
- var cause = this.d9_1;
962
- this.j3h_1.k3e_1.xt(CancellationException_init_$Create$('Failed to send frame', cause));
963
- this.a9_1 = 6;
964
- suspendResult = closeExceptionally(this.j3h_1.e3e_1, cause, this);
960
+ var cause = this.g9_1;
961
+ this.z3i_1.a3g_1.zu(CancellationException_init_$Create$('Failed to send frame', cause));
962
+ this.d9_1 = 6;
963
+ suspendResult = closeExceptionally(this.z3i_1.u3f_1, cause, this);
965
964
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
966
965
  return suspendResult;
967
966
  }
968
967
  continue $sm;
969
968
  } else {
970
- throw this.d9_1;
969
+ throw this.g9_1;
971
970
  }
972
971
  }
973
972
  }
@@ -975,18 +974,18 @@
975
974
  }
976
975
 
977
976
  case 5:
978
- this.b9_1 = 13;
979
- this.a9_1 = 11;
977
+ this.e9_1 = 13;
978
+ this.d9_1 = 11;
980
979
  continue $sm;
981
980
  case 6:
982
- this.b9_1 = 13;
983
- this.a9_1 = 7;
981
+ this.e9_1 = 13;
982
+ this.d9_1 = 7;
984
983
  continue $sm;
985
984
  case 7:
986
- this.b9_1 = 13;
987
- this.j3h_1.k3e_1.a1c();
988
- this.a9_1 = 8;
989
- suspendResult = close(this.j3h_1.e3e_1, VOID, this);
985
+ this.e9_1 = 13;
986
+ this.z3i_1.a3g_1.b1d();
987
+ this.d9_1 = 8;
988
+ suspendResult = close(this.z3i_1.u3f_1, VOID, this);
990
989
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
991
990
  return suspendResult;
992
991
  }
@@ -995,23 +994,23 @@
995
994
  case 8:
996
995
  return Unit_instance;
997
996
  case 9:
998
- this.b9_1 = 13;
999
- this.l3h_1 = this.d9_1;
1000
- this.j3h_1.k3e_1.a1c();
1001
- this.a9_1 = 10;
1002
- suspendResult = close(this.j3h_1.e3e_1, VOID, this);
997
+ this.e9_1 = 13;
998
+ this.b3j_1 = this.g9_1;
999
+ this.z3i_1.a3g_1.b1d();
1000
+ this.d9_1 = 10;
1001
+ suspendResult = close(this.z3i_1.u3f_1, VOID, this);
1003
1002
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1004
1003
  return suspendResult;
1005
1004
  }
1006
1005
 
1007
1006
  continue $sm;
1008
1007
  case 10:
1009
- throw this.l3h_1;
1008
+ throw this.b3j_1;
1010
1009
  case 11:
1011
- this.b9_1 = 13;
1012
- this.j3h_1.k3e_1.a1c();
1013
- this.a9_1 = 12;
1014
- suspendResult = close(this.j3h_1.e3e_1, VOID, this);
1010
+ this.e9_1 = 13;
1011
+ this.z3i_1.a3g_1.b1d();
1012
+ this.d9_1 = 12;
1013
+ suspendResult = close(this.z3i_1.u3f_1, VOID, this);
1015
1014
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1016
1015
  return suspendResult;
1017
1016
  }
@@ -1020,55 +1019,55 @@
1020
1019
  case 12:
1021
1020
  return Unit_instance;
1022
1021
  case 13:
1023
- throw this.d9_1;
1022
+ throw this.g9_1;
1024
1023
  }
1025
1024
  } catch ($p) {
1026
1025
  var e = $p;
1027
- if (this.b9_1 === 13) {
1026
+ if (this.e9_1 === 13) {
1028
1027
  throw e;
1029
1028
  } else {
1030
- this.a9_1 = this.b9_1;
1031
- this.d9_1 = e;
1029
+ this.d9_1 = this.e9_1;
1030
+ this.g9_1 = e;
1032
1031
  }
1033
1032
  }
1034
1033
  while (true);
1035
1034
  };
1036
- protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).u1w = function ($this$launch, completion) {
1037
- var i = new DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda(this.j3h_1, completion);
1038
- i.k3h_1 = $this$launch;
1035
+ protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).w1x = function ($this$launch, completion) {
1036
+ var i = new DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda(this.z3i_1, completion);
1037
+ i.a3j_1 = $this$launch;
1039
1038
  return i;
1040
1039
  };
1041
1040
  function DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda_0(this$0, resultContinuation) {
1042
1041
  var i = new DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda(this$0, resultContinuation);
1043
1042
  var l = function ($this$launch, $completion) {
1044
- return i.t1w($this$launch, $completion);
1043
+ return i.v1x($this$launch, $completion);
1045
1044
  };
1046
1045
  l.$arity = 1;
1047
1046
  return l;
1048
1047
  }
1049
1048
  function DefaultWebSocketSessionImpl$runOrCancelPinger$slambda(this$0, resultContinuation) {
1050
- this.u3h_1 = this$0;
1049
+ this.k3j_1 = this$0;
1051
1050
  CoroutineImpl.call(this, resultContinuation);
1052
1051
  }
1053
- protoOf(DefaultWebSocketSessionImpl$runOrCancelPinger$slambda).w3h = function (it, $completion) {
1054
- var tmp = this.x3h(it, $completion);
1055
- tmp.c9_1 = Unit_instance;
1056
- tmp.d9_1 = null;
1057
- return tmp.i9();
1052
+ protoOf(DefaultWebSocketSessionImpl$runOrCancelPinger$slambda).m3j = function (it, $completion) {
1053
+ var tmp = this.n3j(it, $completion);
1054
+ tmp.f9_1 = Unit_instance;
1055
+ tmp.g9_1 = null;
1056
+ return tmp.l9();
1058
1057
  };
1059
- protoOf(DefaultWebSocketSessionImpl$runOrCancelPinger$slambda).u9 = function (p1, $completion) {
1060
- return this.w3h(p1 instanceof CloseReason ? p1 : THROW_CCE(), $completion);
1058
+ protoOf(DefaultWebSocketSessionImpl$runOrCancelPinger$slambda).y9 = function (p1, $completion) {
1059
+ return this.m3j(p1 instanceof CloseReason ? p1 : THROW_CCE(), $completion);
1061
1060
  };
1062
- protoOf(DefaultWebSocketSessionImpl$runOrCancelPinger$slambda).i9 = function () {
1063
- var suspendResult = this.c9_1;
1061
+ protoOf(DefaultWebSocketSessionImpl$runOrCancelPinger$slambda).l9 = function () {
1062
+ var suspendResult = this.f9_1;
1064
1063
  $sm: do
1065
1064
  try {
1066
- var tmp = this.a9_1;
1065
+ var tmp = this.d9_1;
1067
1066
  switch (tmp) {
1068
1067
  case 0:
1069
- this.b9_1 = 2;
1070
- this.a9_1 = 1;
1071
- suspendResult = sendCloseSequence(this.u3h_1, this.v3h_1, IOException_init_$Create$('Ping timeout'), this);
1068
+ this.e9_1 = 2;
1069
+ this.d9_1 = 1;
1070
+ suspendResult = sendCloseSequence(this.k3j_1, this.l3j_1, IOException_init_$Create$('Ping timeout'), this);
1072
1071
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1073
1072
  return suspendResult;
1074
1073
  }
@@ -1077,50 +1076,50 @@
1077
1076
  case 1:
1078
1077
  return Unit_instance;
1079
1078
  case 2:
1080
- throw this.d9_1;
1079
+ throw this.g9_1;
1081
1080
  }
1082
1081
  } catch ($p) {
1083
1082
  var e = $p;
1084
- if (this.b9_1 === 2) {
1083
+ if (this.e9_1 === 2) {
1085
1084
  throw e;
1086
1085
  } else {
1087
- this.a9_1 = this.b9_1;
1088
- this.d9_1 = e;
1086
+ this.d9_1 = this.e9_1;
1087
+ this.g9_1 = e;
1089
1088
  }
1090
1089
  }
1091
1090
  while (true);
1092
1091
  };
1093
- protoOf(DefaultWebSocketSessionImpl$runOrCancelPinger$slambda).x3h = function (it, completion) {
1094
- var i = new DefaultWebSocketSessionImpl$runOrCancelPinger$slambda(this.u3h_1, completion);
1095
- i.v3h_1 = it;
1092
+ protoOf(DefaultWebSocketSessionImpl$runOrCancelPinger$slambda).n3j = function (it, completion) {
1093
+ var i = new DefaultWebSocketSessionImpl$runOrCancelPinger$slambda(this.k3j_1, completion);
1094
+ i.l3j_1 = it;
1096
1095
  return i;
1097
1096
  };
1098
1097
  function DefaultWebSocketSessionImpl$runOrCancelPinger$slambda_0(this$0, resultContinuation) {
1099
1098
  var i = new DefaultWebSocketSessionImpl$runOrCancelPinger$slambda(this$0, resultContinuation);
1100
1099
  var l = function (it, $completion) {
1101
- return i.w3h(it, $completion);
1100
+ return i.m3j(it, $completion);
1102
1101
  };
1103
1102
  l.$arity = 1;
1104
1103
  return l;
1105
1104
  }
1106
1105
  function $outgoingProcessorLoopCOROUTINE$(_this__u8e3s4, resultContinuation) {
1107
1106
  CoroutineImpl.call(this, resultContinuation);
1108
- this.p3d_1 = _this__u8e3s4;
1107
+ this.f3f_1 = _this__u8e3s4;
1109
1108
  }
1110
- protoOf($outgoingProcessorLoopCOROUTINE$).i9 = function () {
1111
- var suspendResult = this.c9_1;
1109
+ protoOf($outgoingProcessorLoopCOROUTINE$).l9 = function () {
1110
+ var suspendResult = this.f9_1;
1112
1111
  $sm: do
1113
1112
  try {
1114
- var tmp = this.a9_1;
1113
+ var tmp = this.d9_1;
1115
1114
  switch (tmp) {
1116
1115
  case 0:
1117
- this.b9_1 = 7;
1118
- this.r3d_1 = this.p3d_1.k3e_1.t();
1119
- this.a9_1 = 1;
1116
+ this.e9_1 = 7;
1117
+ this.h3f_1 = this.f3f_1.a3g_1.t();
1118
+ this.d9_1 = 1;
1120
1119
  continue $sm;
1121
1120
  case 1:
1122
- this.a9_1 = 2;
1123
- suspendResult = this.r3d_1.t19(this);
1121
+ this.d9_1 = 2;
1122
+ suspendResult = this.h3f_1.v1a(this);
1124
1123
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1125
1124
  return suspendResult;
1126
1125
  }
@@ -1128,19 +1127,19 @@
1128
1127
  continue $sm;
1129
1128
  case 2:
1130
1129
  if (!suspendResult) {
1131
- this.a9_1 = 6;
1130
+ this.d9_1 = 6;
1132
1131
  continue $sm;
1133
1132
  }
1134
1133
 
1135
- var frame = this.r3d_1.v();
1134
+ var frame = this.h3f_1.v();
1136
1135
  var this_0 = get_LOGGER();
1137
1136
  if (get_isTraceEnabled(this_0)) {
1138
- this_0.d2t('Sending ' + frame.toString() + ' from session ' + toString(this.p3d_1));
1137
+ this_0.f2u('Sending ' + frame.toString() + ' from session ' + toString(this.f3f_1));
1139
1138
  }
1140
1139
 
1141
1140
  if (frame instanceof Close) {
1142
- this.a9_1 = 3;
1143
- suspendResult = sendCloseSequence(this.p3d_1, readReason(frame), VOID, this);
1141
+ this.d9_1 = 3;
1142
+ suspendResult = sendCloseSequence(this.f3f_1, readReason(frame), VOID, this);
1144
1143
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1145
1144
  return suspendResult;
1146
1145
  }
@@ -1153,223 +1152,223 @@
1153
1152
  tmp_0 = frame instanceof Binary;
1154
1153
  }
1155
1154
  if (tmp_0) {
1156
- this.q3d_1 = processOutgoingExtensions(this.p3d_1, frame);
1157
- this.a9_1 = 4;
1155
+ this.g3f_1 = processOutgoingExtensions(this.f3f_1, frame);
1156
+ this.d9_1 = 4;
1158
1157
  continue $sm;
1159
1158
  } else {
1160
- this.q3d_1 = frame;
1161
- this.a9_1 = 4;
1159
+ this.g3f_1 = frame;
1160
+ this.d9_1 = 4;
1162
1161
  continue $sm;
1163
1162
  }
1164
1163
  }
1165
1164
 
1166
1165
  case 3:
1167
- this.a9_1 = 6;
1166
+ this.d9_1 = 6;
1168
1167
  var tmp_1 = this;
1169
1168
  continue $sm;
1170
1169
  case 4:
1171
- var processedFrame = this.q3d_1;
1172
- this.a9_1 = 5;
1173
- suspendResult = this.p3d_1.e3e_1.c3d().q1b(processedFrame, this);
1170
+ var processedFrame = this.g3f_1;
1171
+ this.d9_1 = 5;
1172
+ suspendResult = this.f3f_1.u3f_1.s3e().s1c(processedFrame, this);
1174
1173
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1175
1174
  return suspendResult;
1176
1175
  }
1177
1176
 
1178
1177
  continue $sm;
1179
1178
  case 5:
1180
- this.a9_1 = 1;
1179
+ this.d9_1 = 1;
1181
1180
  continue $sm;
1182
1181
  case 6:
1183
1182
  return Unit_instance;
1184
1183
  case 7:
1185
- throw this.d9_1;
1184
+ throw this.g9_1;
1186
1185
  }
1187
1186
  } catch ($p) {
1188
1187
  var e = $p;
1189
- if (this.b9_1 === 7) {
1188
+ if (this.e9_1 === 7) {
1190
1189
  throw e;
1191
1190
  } else {
1192
- this.a9_1 = this.b9_1;
1193
- this.d9_1 = e;
1191
+ this.d9_1 = this.e9_1;
1192
+ this.g9_1 = e;
1194
1193
  }
1195
1194
  }
1196
1195
  while (true);
1197
1196
  };
1198
1197
  function $sendCloseSequenceCOROUTINE$(_this__u8e3s4, reason, exception, resultContinuation) {
1199
1198
  CoroutineImpl.call(this, resultContinuation);
1200
- this.a3e_1 = _this__u8e3s4;
1201
- this.b3e_1 = reason;
1202
- this.c3e_1 = exception;
1199
+ this.q3f_1 = _this__u8e3s4;
1200
+ this.r3f_1 = reason;
1201
+ this.s3f_1 = exception;
1203
1202
  }
1204
- protoOf($sendCloseSequenceCOROUTINE$).i9 = function () {
1205
- var suspendResult = this.c9_1;
1203
+ protoOf($sendCloseSequenceCOROUTINE$).l9 = function () {
1204
+ var suspendResult = this.f9_1;
1206
1205
  $sm: do
1207
1206
  try {
1208
- var tmp = this.a9_1;
1207
+ var tmp = this.d9_1;
1209
1208
  switch (tmp) {
1210
1209
  case 0:
1211
- this.b9_1 = 6;
1212
- if (!tryClose(this.a3e_1))
1210
+ this.e9_1 = 6;
1211
+ if (!tryClose(this.q3f_1))
1213
1212
  return Unit_instance;
1214
1213
  var this_0 = get_LOGGER();
1215
1214
  if (get_isTraceEnabled(this_0)) {
1216
- this_0.d2t('Sending Close Sequence for session ' + toString(this.a3e_1) + ' with reason ' + toString_0(this.b3e_1) + ' and exception ' + toString_0(this.c3e_1));
1215
+ this_0.f2u('Sending Close Sequence for session ' + toString(this.q3f_1) + ' with reason ' + toString_0(this.r3f_1) + ' and exception ' + toString_0(this.s3f_1));
1217
1216
  }
1218
1217
 
1219
- this.a3e_1.h3e_1.y10();
1218
+ this.q3f_1.x3f_1.a12();
1220
1219
  var tmp_0 = this;
1221
- var tmp0_elvis_lhs = this.b3e_1;
1222
- tmp_0.d3e_1 = tmp0_elvis_lhs == null ? CloseReason_init_$Create$(Codes_NORMAL_getInstance(), '') : tmp0_elvis_lhs;
1223
- this.a9_1 = 1;
1220
+ var tmp0_elvis_lhs = this.r3f_1;
1221
+ tmp_0.t3f_1 = tmp0_elvis_lhs == null ? CloseReason_init_$Create$(Codes_NORMAL_getInstance(), '') : tmp0_elvis_lhs;
1222
+ this.d9_1 = 1;
1224
1223
  continue $sm;
1225
1224
  case 1:
1226
- this.b9_1 = 5;
1227
- runOrCancelPinger(this.a3e_1);
1228
- if (!(this.d3e_1.v3c_1 === Codes_CLOSED_ABNORMALLY_getInstance().r3c_1)) {
1229
- this.a9_1 = 2;
1230
- suspendResult = this.a3e_1.e3e_1.c3d().q1b(Close_init_$Create$(this.d3e_1), this);
1225
+ this.e9_1 = 5;
1226
+ runOrCancelPinger(this.q3f_1);
1227
+ if (!(this.t3f_1.l3e_1 === Codes_CLOSED_ABNORMALLY_getInstance().h3e_1)) {
1228
+ this.d9_1 = 2;
1229
+ suspendResult = this.q3f_1.u3f_1.s3e().s1c(Close_init_$Create$(this.t3f_1), this);
1231
1230
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1232
1231
  return suspendResult;
1233
1232
  }
1234
1233
  continue $sm;
1235
1234
  } else {
1236
- this.a9_1 = 3;
1235
+ this.d9_1 = 3;
1237
1236
  continue $sm;
1238
1237
  }
1239
1238
 
1240
1239
  case 2:
1241
- this.a9_1 = 3;
1240
+ this.d9_1 = 3;
1242
1241
  continue $sm;
1243
1242
  case 3:
1244
- this.b9_1 = 6;
1245
- this.a9_1 = 4;
1243
+ this.e9_1 = 6;
1244
+ this.d9_1 = 4;
1246
1245
  continue $sm;
1247
1246
  case 4:
1248
- this.b9_1 = 6;
1249
- this.a3e_1.g3e_1.w10(this.d3e_1);
1250
- if (!(this.c3e_1 == null)) {
1251
- this.a3e_1.k3e_1.w1b(this.c3e_1);
1252
- this.a3e_1.j3e_1.w1b(this.c3e_1);
1247
+ this.e9_1 = 6;
1248
+ this.q3f_1.w3f_1.y11(this.t3f_1);
1249
+ if (!(this.s3f_1 == null)) {
1250
+ this.q3f_1.a3g_1.x1c(this.s3f_1);
1251
+ this.q3f_1.z3f_1.x1c(this.s3f_1);
1253
1252
  }
1254
1253
 
1255
1254
  return Unit_instance;
1256
1255
  case 5:
1257
- this.b9_1 = 6;
1258
- var t = this.d9_1;
1259
- this.a3e_1.g3e_1.w10(this.d3e_1);
1260
- if (!(this.c3e_1 == null)) {
1261
- this.a3e_1.k3e_1.w1b(this.c3e_1);
1262
- this.a3e_1.j3e_1.w1b(this.c3e_1);
1256
+ this.e9_1 = 6;
1257
+ var t = this.g9_1;
1258
+ this.q3f_1.w3f_1.y11(this.t3f_1);
1259
+ if (!(this.s3f_1 == null)) {
1260
+ this.q3f_1.a3g_1.x1c(this.s3f_1);
1261
+ this.q3f_1.z3f_1.x1c(this.s3f_1);
1263
1262
  }
1264
1263
 
1265
1264
  throw t;
1266
1265
  case 6:
1267
- throw this.d9_1;
1266
+ throw this.g9_1;
1268
1267
  }
1269
1268
  } catch ($p) {
1270
1269
  var e = $p;
1271
- if (this.b9_1 === 6) {
1270
+ if (this.e9_1 === 6) {
1272
1271
  throw e;
1273
1272
  } else {
1274
- this.a9_1 = this.b9_1;
1275
- this.d9_1 = e;
1273
+ this.d9_1 = this.e9_1;
1274
+ this.g9_1 = e;
1276
1275
  }
1277
1276
  }
1278
1277
  while (true);
1279
1278
  };
1280
1279
  function $checkMaxFrameSizeCOROUTINE$(_this__u8e3s4, packet, frame, resultContinuation) {
1281
1280
  CoroutineImpl.call(this, resultContinuation);
1282
- this.a3f_1 = _this__u8e3s4;
1283
- this.b3f_1 = packet;
1284
- this.c3f_1 = frame;
1281
+ this.q3g_1 = _this__u8e3s4;
1282
+ this.r3g_1 = packet;
1283
+ this.s3g_1 = frame;
1285
1284
  }
1286
- protoOf($checkMaxFrameSizeCOROUTINE$).i9 = function () {
1287
- var suspendResult = this.c9_1;
1285
+ protoOf($checkMaxFrameSizeCOROUTINE$).l9 = function () {
1286
+ var suspendResult = this.f9_1;
1288
1287
  $sm: do
1289
1288
  try {
1290
- var tmp = this.a9_1;
1289
+ var tmp = this.d9_1;
1291
1290
  switch (tmp) {
1292
1291
  case 0:
1293
- this.b9_1 = 3;
1292
+ this.e9_1 = 3;
1294
1293
  var tmp_0 = this;
1295
- var tmp_1 = this.c3f_1.u3g_1.length;
1296
- var tmp0_safe_receiver = this.b3f_1;
1294
+ var tmp_1 = this.s3g_1.k3i_1.length;
1295
+ var tmp0_safe_receiver = this.r3g_1;
1297
1296
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : get_size(tmp0_safe_receiver);
1298
- tmp_0.d3f_1 = tmp_1 + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
1299
- if (fromInt(this.d3f_1) > this.a3f_1.a3d()) {
1300
- var tmp2_safe_receiver = this.b3f_1;
1297
+ tmp_0.t3g_1 = tmp_1 + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
1298
+ if (fromInt(this.t3g_1) > this.q3g_1.q3e()) {
1299
+ var tmp2_safe_receiver = this.r3g_1;
1301
1300
  if (tmp2_safe_receiver == null)
1302
1301
  null;
1303
1302
  else {
1304
- tmp2_safe_receiver.l4();
1303
+ tmp2_safe_receiver.o4();
1305
1304
  }
1306
- this.a9_1 = 2;
1307
- suspendResult = close(this.a3f_1, CloseReason_init_$Create$(Codes_TOO_BIG_getInstance(), 'Frame is too big: ' + this.d3f_1 + '. Max size is ' + this.a3f_1.a3d().toString()), this);
1305
+ this.d9_1 = 2;
1306
+ suspendResult = close(this.q3g_1, CloseReason_init_$Create$(Codes_TOO_BIG_getInstance(), 'Frame is too big: ' + this.t3g_1 + '. Max size is ' + this.q3g_1.q3e().toString()), this);
1308
1307
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1309
1308
  return suspendResult;
1310
1309
  }
1311
1310
  continue $sm;
1312
1311
  } else {
1313
- this.a9_1 = 1;
1312
+ this.d9_1 = 1;
1314
1313
  continue $sm;
1315
1314
  }
1316
1315
 
1317
1316
  case 1:
1318
1317
  return Unit_instance;
1319
1318
  case 2:
1320
- throw new FrameTooBigException(fromInt(this.d3f_1));
1319
+ throw new FrameTooBigException(fromInt(this.t3g_1));
1321
1320
  case 3:
1322
- throw this.d9_1;
1321
+ throw this.g9_1;
1323
1322
  }
1324
1323
  } catch ($p) {
1325
1324
  var e = $p;
1326
- if (this.b9_1 === 3) {
1325
+ if (this.e9_1 === 3) {
1327
1326
  throw e;
1328
1327
  } else {
1329
- this.a9_1 = this.b9_1;
1330
- this.d9_1 = e;
1328
+ this.d9_1 = this.e9_1;
1329
+ this.g9_1 = e;
1331
1330
  }
1332
1331
  }
1333
1332
  while (true);
1334
1333
  };
1335
1334
  function DefaultWebSocketSessionImpl(raw, pingIntervalMillis, timeoutMillis, incomingFramesConfig, outgoingFramesConfig) {
1336
1335
  Companion_getInstance_0();
1337
- this.e3e_1 = raw;
1338
- this.f3e_1 = atomic$ref$1(null);
1339
- this.g3e_1 = CompletableDeferred();
1340
- this.h3e_1 = Job();
1341
- this.i3e_1 = this.e3e_1.os().wg(Key_instance).yg(this.h3e_1).yg(new CoroutineName('ws-default'));
1342
- this.j3e_1 = from(Factory_getInstance(), incomingFramesConfig);
1343
- this.k3e_1 = from(Factory_getInstance(), outgoingFramesConfig);
1344
- this.l3e_1 = atomic$boolean$1(false);
1336
+ this.u3f_1 = raw;
1337
+ this.v3f_1 = atomic$ref$1(null);
1338
+ this.w3f_1 = CompletableDeferred();
1339
+ this.x3f_1 = Job();
1340
+ this.y3f_1 = this.u3f_1.qt().ah(Key_instance).ch(this.x3f_1).ch(new CoroutineName('ws-default'));
1341
+ this.z3f_1 = from(Factory_getInstance(), incomingFramesConfig);
1342
+ this.a3g_1 = from(Factory_getInstance(), outgoingFramesConfig);
1343
+ this.b3g_1 = atomic$boolean$1(false);
1345
1344
  var tmp = this;
1346
1345
  // Inline function 'kotlin.collections.mutableListOf' call
1347
- tmp.m3e_1 = ArrayList_init_$Create$();
1348
- this.n3e_1 = atomic$boolean$1(false);
1349
- this.o3e_1 = pingIntervalMillis;
1350
- this.p3e_1 = timeoutMillis;
1351
- this.q3e_1 = this.g3e_1;
1346
+ tmp.c3g_1 = ArrayList_init_$Create$();
1347
+ this.d3g_1 = atomic$boolean$1(false);
1348
+ this.e3g_1 = pingIntervalMillis;
1349
+ this.f3g_1 = timeoutMillis;
1350
+ this.g3g_1 = this.w3f_1;
1352
1351
  }
1353
- protoOf(DefaultWebSocketSessionImpl).os = function () {
1354
- return this.i3e_1;
1352
+ protoOf(DefaultWebSocketSessionImpl).qt = function () {
1353
+ return this.y3f_1;
1355
1354
  };
1356
- protoOf(DefaultWebSocketSessionImpl).b3d = function () {
1357
- return this.j3e_1;
1355
+ protoOf(DefaultWebSocketSessionImpl).r3e = function () {
1356
+ return this.z3f_1;
1358
1357
  };
1359
- protoOf(DefaultWebSocketSessionImpl).c3d = function () {
1360
- return this.k3e_1;
1358
+ protoOf(DefaultWebSocketSessionImpl).s3e = function () {
1359
+ return this.a3g_1;
1361
1360
  };
1362
- protoOf(DefaultWebSocketSessionImpl).e3f = function () {
1363
- return this.m3e_1;
1361
+ protoOf(DefaultWebSocketSessionImpl).u3g = function () {
1362
+ return this.c3g_1;
1364
1363
  };
1365
- protoOf(DefaultWebSocketSessionImpl).z3c = function (value) {
1366
- this.e3e_1.z3c(value);
1364
+ protoOf(DefaultWebSocketSessionImpl).p3e = function (value) {
1365
+ this.u3f_1.p3e(value);
1367
1366
  };
1368
- protoOf(DefaultWebSocketSessionImpl).a3d = function () {
1369
- return this.e3e_1.a3d();
1367
+ protoOf(DefaultWebSocketSessionImpl).q3e = function () {
1368
+ return this.u3f_1.q3e();
1370
1369
  };
1371
- protoOf(DefaultWebSocketSessionImpl).y3c = function (negotiatedExtensions) {
1372
- if (!this.n3e_1.atomicfu$compareAndSet(false, true)) {
1370
+ protoOf(DefaultWebSocketSessionImpl).o3e = function (negotiatedExtensions) {
1371
+ if (!this.d3g_1.atomicfu$compareAndSet(false, true)) {
1373
1372
  // Inline function 'kotlin.error' call
1374
1373
  var message = 'WebSocket session ' + toString(this) + ' is already started.';
1375
1374
  throw IllegalStateException_init_$Create$(toString(message));
@@ -1378,16 +1377,16 @@
1378
1377
  var this_0 = get_LOGGER();
1379
1378
  if (get_isTraceEnabled(this_0)) {
1380
1379
  var tmp$ret$2 = 'Starting default WebSocketSession(' + toString(this) + ') ' + ('with negotiated extensions: ' + joinToString(negotiatedExtensions));
1381
- this_0.d2t(tmp$ret$2);
1380
+ this_0.f2u(tmp$ret$2);
1382
1381
  }
1383
- this.m3e_1.n1(negotiatedExtensions);
1382
+ this.c3g_1.n1(negotiatedExtensions);
1384
1383
  runOrCancelPinger(this);
1385
- var incomingJob = runIncomingProcessor(this, ponger(this, this.c3d()));
1384
+ var incomingJob = runIncomingProcessor(this, ponger(this, this.s3e()));
1386
1385
  var outgoingJob = runOutgoingProcessor(this);
1387
1386
  launch(this, VOID, VOID, DefaultWebSocketSessionImpl$start$slambda_0(incomingJob, outgoingJob, this, null));
1388
1387
  };
1389
- protoOf(DefaultWebSocketSessionImpl).n1n = function ($completion) {
1390
- return this.e3e_1.n1n($completion);
1388
+ protoOf(DefaultWebSocketSessionImpl).r1o = function ($completion) {
1389
+ return this.u3f_1.r1o($completion);
1391
1390
  };
1392
1391
  var properties_initialized_DefaultWebSocketSession_kt_6cjlhc;
1393
1392
  function _init_properties_DefaultWebSocketSession_kt__469s0y() {
@@ -1409,20 +1408,20 @@
1409
1408
  }
1410
1409
  }
1411
1410
  function readReason(_this__u8e3s4) {
1412
- if (_this__u8e3s4.u3g_1.length < 2) {
1411
+ if (_this__u8e3s4.k3i_1.length < 2) {
1413
1412
  return null;
1414
1413
  }
1415
1414
  // Inline function 'io.ktor.utils.io.core.buildPacket' call
1416
1415
  var builder = new Buffer();
1417
- writeFully(builder, _this__u8e3s4.u3g_1);
1416
+ writeFully(builder, _this__u8e3s4.k3i_1);
1418
1417
  var packet = builder;
1419
- var code = packet.qp();
1418
+ var code = packet.sq();
1420
1419
  var message = readText(packet);
1421
1420
  return new CloseReason(code, message);
1422
1421
  }
1423
1422
  function NonDisposableHandle() {
1424
1423
  }
1425
- protoOf(NonDisposableHandle).mv = function () {
1424
+ protoOf(NonDisposableHandle).ow = function () {
1426
1425
  return Unit_instance;
1427
1426
  };
1428
1427
  protoOf(NonDisposableHandle).toString = function () {
@@ -1442,20 +1441,19 @@
1442
1441
  function NonDisposableHandle_getInstance() {
1443
1442
  return NonDisposableHandle_instance;
1444
1443
  }
1445
- function FrameTooBigException(frameSize) {
1446
- Exception_init_$Init$(this);
1444
+ function FrameTooBigException(frameSize, cause) {
1445
+ cause = cause === VOID ? null : cause;
1446
+ Exception_init_$Init$(cause, this);
1447
1447
  captureStack(this, FrameTooBigException);
1448
- this.y3h_1 = frameSize;
1448
+ this.o3j_1 = frameSize;
1449
1449
  delete this.message;
1450
1450
  }
1451
1451
  protoOf(FrameTooBigException).e = function () {
1452
- return 'Frame is too big: ' + this.y3h_1.toString();
1452
+ var sizeSuffix = this.o3j_1 >= 0n ? ': ' + this.o3j_1.toString() : '';
1453
+ return 'Frame is too big' + sizeSuffix;
1453
1454
  };
1454
- protoOf(FrameTooBigException).h11 = function () {
1455
- // Inline function 'kotlin.also' call
1456
- var this_0 = new FrameTooBigException(this.y3h_1);
1457
- initCauseBridge(this_0, this);
1458
- return this_0;
1455
+ protoOf(FrameTooBigException).j12 = function () {
1456
+ return new FrameTooBigException(this.o3j_1, this);
1459
1457
  };
1460
1458
  var FrameType_TEXT_instance;
1461
1459
  var FrameType_BINARY_instance;
@@ -1479,10 +1477,10 @@
1479
1477
  tmp$ret$0 = maxElem;
1480
1478
  break $l$block_0;
1481
1479
  }
1482
- var maxValue = maxElem.c3i_1;
1480
+ var maxValue = maxElem.s3j_1;
1483
1481
  do {
1484
1482
  var e = iterator.v();
1485
- var v = e.c3i_1;
1483
+ var v = e.s3j_1;
1486
1484
  if (compareTo(maxValue, v) < 0) {
1487
1485
  maxElem = e;
1488
1486
  maxValue = v;
@@ -1491,10 +1489,10 @@
1491
1489
  while (iterator.u());
1492
1490
  tmp$ret$0 = maxElem;
1493
1491
  }
1494
- tmp.d3i_1 = ensureNotNull(tmp$ret$0).c3i_1;
1492
+ tmp.t3j_1 = ensureNotNull(tmp$ret$0).s3j_1;
1495
1493
  var tmp_0 = this;
1496
1494
  var tmp_1 = 0;
1497
- var tmp_2 = this.d3i_1 + 1 | 0;
1495
+ var tmp_2 = this.t3j_1 + 1 | 0;
1498
1496
  // Inline function 'kotlin.arrayOfNulls' call
1499
1497
  var tmp_3 = Array(tmp_2);
1500
1498
  while (tmp_1 < tmp_2) {
@@ -1508,7 +1506,7 @@
1508
1506
  var _iterator__ex2g4s = tmp0_0.t();
1509
1507
  while (_iterator__ex2g4s.u()) {
1510
1508
  var element = _iterator__ex2g4s.v();
1511
- if (element.c3i_1 === tmp_4) {
1509
+ if (element.s3j_1 === tmp_4) {
1512
1510
  if (found) {
1513
1511
  tmp$ret$5 = null;
1514
1512
  break $l$block_2;
@@ -1526,7 +1524,7 @@
1526
1524
  tmp_3[tmp_4] = tmp$ret$5;
1527
1525
  tmp_1 = tmp_1 + 1 | 0;
1528
1526
  }
1529
- tmp_0.e3i_1 = tmp_3;
1527
+ tmp_0.u3j_1 = tmp_3;
1530
1528
  }
1531
1529
  var Companion_instance_1;
1532
1530
  function Companion_getInstance_1() {
@@ -1558,8 +1556,8 @@
1558
1556
  var $ENTRIES_0;
1559
1557
  function FrameType(name, ordinal, controlFrame, opcode) {
1560
1558
  Enum.call(this, name, ordinal);
1561
- this.b3i_1 = controlFrame;
1562
- this.c3i_1 = opcode;
1559
+ this.r3j_1 = controlFrame;
1560
+ this.s3j_1 = opcode;
1563
1561
  }
1564
1562
  function FrameType_TEXT_getInstance() {
1565
1563
  FrameType_initEntries();
@@ -1602,55 +1600,55 @@
1602
1600
  _init_properties_PingPong_kt__9aqxey();
1603
1601
  var actorJob = Job();
1604
1602
  var channel = Channel(2147483647);
1605
- var tmp = actorJob.yg(get_PingerCoroutineName());
1603
+ var tmp = actorJob.ch(get_PingerCoroutineName());
1606
1604
  launch(_this__u8e3s4, tmp, VOID, pinger$slambda_0(periodMillis, timeoutMillis, onTimeout, channel, outgoing, null));
1607
- var tmp_0 = ensureNotNull(_this__u8e3s4.os().n9(Key_instance));
1608
- tmp_0.qt(pinger$lambda(actorJob));
1605
+ var tmp_0 = ensureNotNull(_this__u8e3s4.qt().q9(Key_instance));
1606
+ tmp_0.su(pinger$lambda(actorJob));
1609
1607
  return channel;
1610
1608
  }
1611
1609
  function ponger$slambda($channel, $outgoing, resultContinuation) {
1612
- this.n3i_1 = $channel;
1613
- this.o3i_1 = $outgoing;
1610
+ this.d3k_1 = $channel;
1611
+ this.e3k_1 = $outgoing;
1614
1612
  CoroutineImpl.call(this, resultContinuation);
1615
1613
  }
1616
- protoOf(ponger$slambda).t1w = function ($this$launch, $completion) {
1617
- var tmp = this.u1w($this$launch, $completion);
1618
- tmp.c9_1 = Unit_instance;
1619
- tmp.d9_1 = null;
1620
- return tmp.i9();
1614
+ protoOf(ponger$slambda).v1x = function ($this$launch, $completion) {
1615
+ var tmp = this.w1x($this$launch, $completion);
1616
+ tmp.f9_1 = Unit_instance;
1617
+ tmp.g9_1 = null;
1618
+ return tmp.l9();
1621
1619
  };
1622
- protoOf(ponger$slambda).u9 = function (p1, $completion) {
1623
- return this.t1w((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1620
+ protoOf(ponger$slambda).y9 = function (p1, $completion) {
1621
+ return this.v1x((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1624
1622
  };
1625
- protoOf(ponger$slambda).i9 = function () {
1626
- var suspendResult = this.c9_1;
1623
+ protoOf(ponger$slambda).l9 = function () {
1624
+ var suspendResult = this.f9_1;
1627
1625
  $sm: do
1628
1626
  try {
1629
- var tmp = this.a9_1;
1627
+ var tmp = this.d9_1;
1630
1628
  switch (tmp) {
1631
1629
  case 0:
1632
- this.b9_1 = 14;
1633
- this.b9_1 = 13;
1634
- this.t3i_1 = this.n3i_1;
1635
- this.a9_1 = 1;
1630
+ this.e9_1 = 14;
1631
+ this.e9_1 = 13;
1632
+ this.j3k_1 = this.d3k_1;
1633
+ this.d9_1 = 1;
1636
1634
  continue $sm;
1637
1635
  case 1:
1638
- this.r3i_1 = this.t3i_1;
1639
- this.q3i_1 = null;
1640
- this.a9_1 = 2;
1636
+ this.h3k_1 = this.j3k_1;
1637
+ this.g3k_1 = null;
1638
+ this.d9_1 = 2;
1641
1639
  continue $sm;
1642
1640
  case 2:
1643
- this.a9_1 = 3;
1641
+ this.d9_1 = 3;
1644
1642
  continue $sm;
1645
1643
  case 3:
1646
- this.b9_1 = 10;
1647
- this.b9_1 = 9;
1648
- this.s3i_1 = this.r3i_1.t();
1649
- this.a9_1 = 4;
1644
+ this.e9_1 = 10;
1645
+ this.e9_1 = 9;
1646
+ this.i3k_1 = this.h3k_1.t();
1647
+ this.d9_1 = 4;
1650
1648
  continue $sm;
1651
1649
  case 4:
1652
- this.a9_1 = 5;
1653
- suspendResult = this.s3i_1.t19(this);
1650
+ this.d9_1 = 5;
1651
+ suspendResult = this.i3k_1.v1a(this);
1654
1652
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1655
1653
  return suspendResult;
1656
1654
  }
@@ -1658,311 +1656,311 @@
1658
1656
  continue $sm;
1659
1657
  case 5:
1660
1658
  if (!suspendResult) {
1661
- this.a9_1 = 7;
1659
+ this.d9_1 = 7;
1662
1660
  continue $sm;
1663
1661
  }
1664
1662
 
1665
- var e = this.s3i_1.v();
1666
- get_LOGGER().d2t('Received ping message, sending pong message');
1667
- this.a9_1 = 6;
1668
- suspendResult = this.o3i_1.q1b(new Pong(e.u3g_1), this);
1663
+ var e = this.i3k_1.v();
1664
+ get_LOGGER().f2u('Received ping message, sending pong message');
1665
+ this.d9_1 = 6;
1666
+ suspendResult = this.e3k_1.s1c(new Pong(e.k3i_1), this);
1669
1667
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1670
1668
  return suspendResult;
1671
1669
  }
1672
1670
 
1673
1671
  continue $sm;
1674
1672
  case 6:
1675
- this.a9_1 = 4;
1673
+ this.d9_1 = 4;
1676
1674
  continue $sm;
1677
1675
  case 7:
1678
- this.a9_1 = 8;
1676
+ this.d9_1 = 8;
1679
1677
  var tmp_0 = this;
1680
1678
  continue $sm;
1681
1679
  case 8:
1682
- this.b9_1 = 13;
1683
- cancelConsumed(this.r3i_1, this.q3i_1);
1684
- this.a9_1 = 12;
1680
+ this.e9_1 = 13;
1681
+ cancelConsumed(this.h3k_1, this.g3k_1);
1682
+ this.d9_1 = 12;
1685
1683
  continue $sm;
1686
1684
  case 9:
1687
- this.b9_1 = 10;
1688
- var tmp_1 = this.d9_1;
1685
+ this.e9_1 = 10;
1686
+ var tmp_1 = this.g9_1;
1689
1687
  if (tmp_1 instanceof Error) {
1690
- var e_0 = this.d9_1;
1688
+ var e_0 = this.g9_1;
1691
1689
  var tmp_2 = this;
1692
- this.q3i_1 = e_0;
1690
+ this.g3k_1 = e_0;
1693
1691
  throw e_0;
1694
1692
  } else {
1695
- throw this.d9_1;
1693
+ throw this.g9_1;
1696
1694
  }
1697
1695
 
1698
1696
  case 10:
1699
- this.b9_1 = 13;
1700
- var t = this.d9_1;
1701
- cancelConsumed(this.r3i_1, this.q3i_1);
1697
+ this.e9_1 = 13;
1698
+ var t = this.g9_1;
1699
+ cancelConsumed(this.h3k_1, this.g3k_1);
1702
1700
  throw t;
1703
1701
  case 11:
1704
- this.b9_1 = 13;
1705
- cancelConsumed(this.r3i_1, this.q3i_1);
1702
+ this.e9_1 = 13;
1703
+ cancelConsumed(this.h3k_1, this.g3k_1);
1706
1704
  if (false) {
1707
- this.a9_1 = 1;
1705
+ this.d9_1 = 1;
1708
1706
  continue $sm;
1709
1707
  }
1710
1708
 
1711
- this.a9_1 = 12;
1709
+ this.d9_1 = 12;
1712
1710
  continue $sm;
1713
1711
  case 12:
1714
- this.b9_1 = 14;
1715
- this.a9_1 = 15;
1712
+ this.e9_1 = 14;
1713
+ this.d9_1 = 15;
1716
1714
  continue $sm;
1717
1715
  case 13:
1718
- this.b9_1 = 14;
1719
- var tmp_3 = this.d9_1;
1716
+ this.e9_1 = 14;
1717
+ var tmp_3 = this.g9_1;
1720
1718
  if (tmp_3 instanceof ClosedSendChannelException) {
1721
- var _unused_var__etf5q3 = this.d9_1;
1722
- this.a9_1 = 15;
1719
+ var _unused_var__etf5q3 = this.g9_1;
1720
+ this.d9_1 = 15;
1723
1721
  continue $sm;
1724
1722
  } else {
1725
- throw this.d9_1;
1723
+ throw this.g9_1;
1726
1724
  }
1727
1725
 
1728
1726
  case 14:
1729
- throw this.d9_1;
1727
+ throw this.g9_1;
1730
1728
  case 15:
1731
- this.b9_1 = 14;
1729
+ this.e9_1 = 14;
1732
1730
  return Unit_instance;
1733
1731
  }
1734
1732
  } catch ($p) {
1735
1733
  var e_1 = $p;
1736
- if (this.b9_1 === 14) {
1734
+ if (this.e9_1 === 14) {
1737
1735
  throw e_1;
1738
1736
  } else {
1739
- this.a9_1 = this.b9_1;
1740
- this.d9_1 = e_1;
1737
+ this.d9_1 = this.e9_1;
1738
+ this.g9_1 = e_1;
1741
1739
  }
1742
1740
  }
1743
1741
  while (true);
1744
1742
  };
1745
- protoOf(ponger$slambda).u1w = function ($this$launch, completion) {
1746
- var i = new ponger$slambda(this.n3i_1, this.o3i_1, completion);
1747
- i.p3i_1 = $this$launch;
1743
+ protoOf(ponger$slambda).w1x = function ($this$launch, completion) {
1744
+ var i = new ponger$slambda(this.d3k_1, this.e3k_1, completion);
1745
+ i.f3k_1 = $this$launch;
1748
1746
  return i;
1749
1747
  };
1750
1748
  function ponger$slambda_0($channel, $outgoing, resultContinuation) {
1751
1749
  var i = new ponger$slambda($channel, $outgoing, resultContinuation);
1752
1750
  var l = function ($this$launch, $completion) {
1753
- return i.t1w($this$launch, $completion);
1751
+ return i.v1x($this$launch, $completion);
1754
1752
  };
1755
1753
  l.$arity = 1;
1756
1754
  return l;
1757
1755
  }
1758
1756
  function pinger$slambda$slambda($channel, resultContinuation) {
1759
- this.c3j_1 = $channel;
1757
+ this.s3k_1 = $channel;
1760
1758
  CoroutineImpl.call(this, resultContinuation);
1761
1759
  }
1762
- protoOf(pinger$slambda$slambda).t1w = function ($this$withTimeoutOrNull, $completion) {
1763
- var tmp = this.u1w($this$withTimeoutOrNull, $completion);
1764
- tmp.c9_1 = Unit_instance;
1765
- tmp.d9_1 = null;
1766
- return tmp.i9();
1760
+ protoOf(pinger$slambda$slambda).v1x = function ($this$withTimeoutOrNull, $completion) {
1761
+ var tmp = this.w1x($this$withTimeoutOrNull, $completion);
1762
+ tmp.f9_1 = Unit_instance;
1763
+ tmp.g9_1 = null;
1764
+ return tmp.l9();
1767
1765
  };
1768
- protoOf(pinger$slambda$slambda).u9 = function (p1, $completion) {
1769
- return this.t1w((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1766
+ protoOf(pinger$slambda$slambda).y9 = function (p1, $completion) {
1767
+ return this.v1x((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1770
1768
  };
1771
- protoOf(pinger$slambda$slambda).i9 = function () {
1772
- var suspendResult = this.c9_1;
1769
+ protoOf(pinger$slambda$slambda).l9 = function () {
1770
+ var suspendResult = this.f9_1;
1773
1771
  $sm: do
1774
1772
  try {
1775
- var tmp = this.a9_1;
1773
+ var tmp = this.d9_1;
1776
1774
  switch (tmp) {
1777
1775
  case 0:
1778
- this.b9_1 = 3;
1779
- this.a9_1 = 1;
1776
+ this.e9_1 = 3;
1777
+ this.d9_1 = 1;
1780
1778
  continue $sm;
1781
1779
  case 1:
1782
1780
  if (!true) {
1783
- this.a9_1 = 4;
1781
+ this.d9_1 = 4;
1784
1782
  continue $sm;
1785
1783
  }
1786
1784
 
1787
- this.a9_1 = 2;
1788
- suspendResult = this.c3j_1.u1b(this);
1785
+ this.d9_1 = 2;
1786
+ suspendResult = this.s3k_1.v1c(this);
1789
1787
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1790
1788
  return suspendResult;
1791
1789
  }
1792
1790
 
1793
1791
  continue $sm;
1794
1792
  case 2:
1795
- this.a9_1 = 1;
1793
+ this.d9_1 = 1;
1796
1794
  continue $sm;
1797
1795
  case 3:
1798
- throw this.d9_1;
1796
+ throw this.g9_1;
1799
1797
  case 4:
1800
1798
  return Unit_instance;
1801
1799
  }
1802
1800
  } catch ($p) {
1803
1801
  var e = $p;
1804
- if (this.b9_1 === 3) {
1802
+ if (this.e9_1 === 3) {
1805
1803
  throw e;
1806
1804
  } else {
1807
- this.a9_1 = this.b9_1;
1808
- this.d9_1 = e;
1805
+ this.d9_1 = this.e9_1;
1806
+ this.g9_1 = e;
1809
1807
  }
1810
1808
  }
1811
1809
  while (true);
1812
1810
  };
1813
- protoOf(pinger$slambda$slambda).u1w = function ($this$withTimeoutOrNull, completion) {
1814
- var i = new pinger$slambda$slambda(this.c3j_1, completion);
1815
- i.d3j_1 = $this$withTimeoutOrNull;
1811
+ protoOf(pinger$slambda$slambda).w1x = function ($this$withTimeoutOrNull, completion) {
1812
+ var i = new pinger$slambda$slambda(this.s3k_1, completion);
1813
+ i.t3k_1 = $this$withTimeoutOrNull;
1816
1814
  return i;
1817
1815
  };
1818
1816
  function pinger$slambda$slambda_0($channel, resultContinuation) {
1819
1817
  var i = new pinger$slambda$slambda($channel, resultContinuation);
1820
1818
  var l = function ($this$withTimeoutOrNull, $completion) {
1821
- return i.t1w($this$withTimeoutOrNull, $completion);
1819
+ return i.v1x($this$withTimeoutOrNull, $completion);
1822
1820
  };
1823
1821
  l.$arity = 1;
1824
1822
  return l;
1825
1823
  }
1826
1824
  function pinger$slambda$slambda_1($outgoing, $pingMessage, $channel, resultContinuation) {
1827
- this.m3j_1 = $outgoing;
1828
- this.n3j_1 = $pingMessage;
1829
- this.o3j_1 = $channel;
1825
+ this.c3l_1 = $outgoing;
1826
+ this.d3l_1 = $pingMessage;
1827
+ this.e3l_1 = $channel;
1830
1828
  CoroutineImpl.call(this, resultContinuation);
1831
1829
  }
1832
- protoOf(pinger$slambda$slambda_1).t1w = function ($this$withTimeoutOrNull, $completion) {
1833
- var tmp = this.u1w($this$withTimeoutOrNull, $completion);
1834
- tmp.c9_1 = Unit_instance;
1835
- tmp.d9_1 = null;
1836
- return tmp.i9();
1830
+ protoOf(pinger$slambda$slambda_1).v1x = function ($this$withTimeoutOrNull, $completion) {
1831
+ var tmp = this.w1x($this$withTimeoutOrNull, $completion);
1832
+ tmp.f9_1 = Unit_instance;
1833
+ tmp.g9_1 = null;
1834
+ return tmp.l9();
1837
1835
  };
1838
- protoOf(pinger$slambda$slambda_1).u9 = function (p1, $completion) {
1839
- return this.t1w((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1836
+ protoOf(pinger$slambda$slambda_1).y9 = function (p1, $completion) {
1837
+ return this.v1x((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1840
1838
  };
1841
- protoOf(pinger$slambda$slambda_1).i9 = function () {
1842
- var suspendResult = this.c9_1;
1839
+ protoOf(pinger$slambda$slambda_1).l9 = function () {
1840
+ var suspendResult = this.f9_1;
1843
1841
  $sm: do
1844
1842
  try {
1845
- var tmp = this.a9_1;
1843
+ var tmp = this.d9_1;
1846
1844
  switch (tmp) {
1847
1845
  case 0:
1848
- this.b9_1 = 6;
1849
- get_LOGGER().d2t('WebSocket Pinger: sending ping frame');
1850
- this.a9_1 = 1;
1851
- suspendResult = this.m3j_1.q1b(new Ping(toByteArray(this.n3j_1, Charsets_getInstance().u1x_1)), this);
1846
+ this.e9_1 = 6;
1847
+ get_LOGGER().f2u('WebSocket Pinger: sending ping frame');
1848
+ this.d9_1 = 1;
1849
+ suspendResult = this.c3l_1.s1c(new Ping(toByteArray(this.d3l_1, Charsets_getInstance().w1y_1)), this);
1852
1850
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1853
1851
  return suspendResult;
1854
1852
  }
1855
1853
 
1856
1854
  continue $sm;
1857
1855
  case 1:
1858
- this.a9_1 = 2;
1856
+ this.d9_1 = 2;
1859
1857
  continue $sm;
1860
1858
  case 2:
1861
1859
  if (!true) {
1862
- this.a9_1 = 5;
1860
+ this.d9_1 = 5;
1863
1861
  continue $sm;
1864
1862
  }
1865
1863
 
1866
- this.a9_1 = 3;
1867
- suspendResult = this.o3j_1.u1b(this);
1864
+ this.d9_1 = 3;
1865
+ suspendResult = this.e3l_1.v1c(this);
1868
1866
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1869
1867
  return suspendResult;
1870
1868
  }
1871
1869
 
1872
1870
  continue $sm;
1873
1871
  case 3:
1874
- this.q3j_1 = suspendResult;
1875
- if (decodeToString(this.q3j_1.u3g_1, 0, 0 + this.q3j_1.u3g_1.length | 0) === this.n3j_1) {
1876
- get_LOGGER().d2t('WebSocket Pinger: received valid pong frame ' + this.q3j_1.toString());
1877
- this.a9_1 = 5;
1872
+ this.g3l_1 = suspendResult;
1873
+ if (decodeToString(this.g3l_1.k3i_1, 0, 0 + this.g3l_1.k3i_1.length | 0) === this.d3l_1) {
1874
+ get_LOGGER().f2u('WebSocket Pinger: received valid pong frame ' + this.g3l_1.toString());
1875
+ this.d9_1 = 5;
1878
1876
  continue $sm;
1879
1877
  } else {
1880
- this.a9_1 = 4;
1878
+ this.d9_1 = 4;
1881
1879
  continue $sm;
1882
1880
  }
1883
1881
 
1884
1882
  case 4:
1885
- get_LOGGER().d2t('WebSocket Pinger: received invalid pong frame ' + this.q3j_1.toString() + ', continue waiting');
1886
- this.a9_1 = 2;
1883
+ get_LOGGER().f2u('WebSocket Pinger: received invalid pong frame ' + this.g3l_1.toString() + ', continue waiting');
1884
+ this.d9_1 = 2;
1887
1885
  continue $sm;
1888
1886
  case 5:
1889
1887
  return Unit_instance;
1890
1888
  case 6:
1891
- throw this.d9_1;
1889
+ throw this.g9_1;
1892
1890
  }
1893
1891
  } catch ($p) {
1894
1892
  var e = $p;
1895
- if (this.b9_1 === 6) {
1893
+ if (this.e9_1 === 6) {
1896
1894
  throw e;
1897
1895
  } else {
1898
- this.a9_1 = this.b9_1;
1899
- this.d9_1 = e;
1896
+ this.d9_1 = this.e9_1;
1897
+ this.g9_1 = e;
1900
1898
  }
1901
1899
  }
1902
1900
  while (true);
1903
1901
  };
1904
- protoOf(pinger$slambda$slambda_1).u1w = function ($this$withTimeoutOrNull, completion) {
1905
- var i = new pinger$slambda$slambda_1(this.m3j_1, this.n3j_1, this.o3j_1, completion);
1906
- i.p3j_1 = $this$withTimeoutOrNull;
1902
+ protoOf(pinger$slambda$slambda_1).w1x = function ($this$withTimeoutOrNull, completion) {
1903
+ var i = new pinger$slambda$slambda_1(this.c3l_1, this.d3l_1, this.e3l_1, completion);
1904
+ i.f3l_1 = $this$withTimeoutOrNull;
1907
1905
  return i;
1908
1906
  };
1909
1907
  function pinger$slambda$slambda_2($outgoing, $pingMessage, $channel, resultContinuation) {
1910
1908
  var i = new pinger$slambda$slambda_1($outgoing, $pingMessage, $channel, resultContinuation);
1911
1909
  var l = function ($this$withTimeoutOrNull, $completion) {
1912
- return i.t1w($this$withTimeoutOrNull, $completion);
1910
+ return i.v1x($this$withTimeoutOrNull, $completion);
1913
1911
  };
1914
1912
  l.$arity = 1;
1915
1913
  return l;
1916
1914
  }
1917
1915
  function pinger$slambda($periodMillis, $timeoutMillis, $onTimeout, $channel, $outgoing, resultContinuation) {
1918
- this.z3j_1 = $periodMillis;
1919
- this.a3k_1 = $timeoutMillis;
1920
- this.b3k_1 = $onTimeout;
1921
- this.c3k_1 = $channel;
1922
- this.d3k_1 = $outgoing;
1916
+ this.p3l_1 = $periodMillis;
1917
+ this.q3l_1 = $timeoutMillis;
1918
+ this.r3l_1 = $onTimeout;
1919
+ this.s3l_1 = $channel;
1920
+ this.t3l_1 = $outgoing;
1923
1921
  CoroutineImpl.call(this, resultContinuation);
1924
1922
  }
1925
- protoOf(pinger$slambda).t1w = function ($this$launch, $completion) {
1926
- var tmp = this.u1w($this$launch, $completion);
1927
- tmp.c9_1 = Unit_instance;
1928
- tmp.d9_1 = null;
1929
- return tmp.i9();
1923
+ protoOf(pinger$slambda).v1x = function ($this$launch, $completion) {
1924
+ var tmp = this.w1x($this$launch, $completion);
1925
+ tmp.f9_1 = Unit_instance;
1926
+ tmp.g9_1 = null;
1927
+ return tmp.l9();
1930
1928
  };
1931
- protoOf(pinger$slambda).u9 = function (p1, $completion) {
1932
- return this.t1w((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1929
+ protoOf(pinger$slambda).y9 = function (p1, $completion) {
1930
+ return this.v1x((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1933
1931
  };
1934
- protoOf(pinger$slambda).i9 = function () {
1935
- var suspendResult = this.c9_1;
1932
+ protoOf(pinger$slambda).l9 = function () {
1933
+ var suspendResult = this.f9_1;
1936
1934
  $sm: do
1937
1935
  try {
1938
- var tmp = this.a9_1;
1936
+ var tmp = this.d9_1;
1939
1937
  switch (tmp) {
1940
1938
  case 0:
1941
- this.b9_1 = 9;
1942
- get_LOGGER().d2t('Starting WebSocket pinger coroutine with period ' + this.z3j_1.toString() + ' ms and timeout ' + this.a3k_1.toString() + ' ms');
1943
- this.g3k_1 = Random(getTimeMillis());
1944
- this.f3k_1 = new Int8Array(32);
1945
- this.b9_1 = 7;
1946
- this.a9_1 = 1;
1939
+ this.e9_1 = 9;
1940
+ get_LOGGER().f2u('Starting WebSocket pinger coroutine with period ' + this.p3l_1.toString() + ' ms and timeout ' + this.q3l_1.toString() + ' ms');
1941
+ this.w3l_1 = Random(getTimeMillis());
1942
+ this.v3l_1 = new Int8Array(32);
1943
+ this.e9_1 = 7;
1944
+ this.d9_1 = 1;
1947
1945
  continue $sm;
1948
1946
  case 1:
1949
1947
  if (!true) {
1950
- this.a9_1 = 6;
1948
+ this.d9_1 = 6;
1951
1949
  continue $sm;
1952
1950
  }
1953
1951
 
1954
- this.a9_1 = 2;
1955
- suspendResult = withTimeoutOrNull(this.z3j_1, pinger$slambda$slambda_0(this.c3k_1, null), this);
1952
+ this.d9_1 = 2;
1953
+ suspendResult = withTimeoutOrNull(this.p3l_1, pinger$slambda$slambda_0(this.s3l_1, null), this);
1956
1954
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1957
1955
  return suspendResult;
1958
1956
  }
1959
1957
 
1960
1958
  continue $sm;
1961
1959
  case 2:
1962
- this.g3k_1.vi(this.f3k_1);
1963
- var pingMessage = '[ping ' + hex(this.f3k_1) + ' ping]';
1964
- this.a9_1 = 3;
1965
- suspendResult = withTimeoutOrNull(this.a3k_1, pinger$slambda$slambda_2(this.d3k_1, pingMessage, this.c3k_1, null), this);
1960
+ this.w3l_1.zi(this.v3l_1);
1961
+ var pingMessage = '[ping ' + toHexString(this.v3l_1) + ' ping]';
1962
+ this.d9_1 = 3;
1963
+ suspendResult = withTimeoutOrNull(this.q3l_1, pinger$slambda$slambda_2(this.t3l_1, pingMessage, this.s3l_1, null), this);
1966
1964
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1967
1965
  return suspendResult;
1968
1966
  }
@@ -1971,93 +1969,93 @@
1971
1969
  case 3:
1972
1970
  var rc = suspendResult;
1973
1971
  if (rc == null) {
1974
- get_LOGGER().d2t('WebSocket pinger has timed out');
1975
- this.a9_1 = 5;
1976
- suspendResult = this.b3k_1(CloseReason_init_$Create$(Codes_INTERNAL_ERROR_getInstance(), 'Ping timeout'), this);
1972
+ get_LOGGER().f2u('WebSocket pinger has timed out');
1973
+ this.d9_1 = 5;
1974
+ suspendResult = this.r3l_1(CloseReason_init_$Create$(Codes_INTERNAL_ERROR_getInstance(), 'Ping timeout'), this);
1977
1975
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1978
1976
  return suspendResult;
1979
1977
  }
1980
1978
  continue $sm;
1981
1979
  } else {
1982
- this.a9_1 = 4;
1980
+ this.d9_1 = 4;
1983
1981
  continue $sm;
1984
1982
  }
1985
1983
 
1986
1984
  case 4:
1987
- this.a9_1 = 1;
1985
+ this.d9_1 = 1;
1988
1986
  continue $sm;
1989
1987
  case 5:
1990
- this.a9_1 = 6;
1988
+ this.d9_1 = 6;
1991
1989
  continue $sm;
1992
1990
  case 6:
1993
- this.b9_1 = 9;
1994
- this.a9_1 = 8;
1991
+ this.e9_1 = 9;
1992
+ this.d9_1 = 8;
1995
1993
  continue $sm;
1996
1994
  case 7:
1997
- this.b9_1 = 9;
1998
- var tmp_0 = this.d9_1;
1995
+ this.e9_1 = 9;
1996
+ var tmp_0 = this.g9_1;
1999
1997
  if (tmp_0 instanceof CancellationException) {
2000
- var ignore = this.d9_1;
2001
- this.a9_1 = 8;
1998
+ var ignore = this.g9_1;
1999
+ this.d9_1 = 8;
2002
2000
  continue $sm;
2003
2001
  } else {
2004
- var tmp_1 = this.d9_1;
2002
+ var tmp_1 = this.g9_1;
2005
2003
  if (tmp_1 instanceof ClosedReceiveChannelException) {
2006
- var ignore_0 = this.d9_1;
2007
- this.a9_1 = 8;
2004
+ var ignore_0 = this.g9_1;
2005
+ this.d9_1 = 8;
2008
2006
  continue $sm;
2009
2007
  } else {
2010
- var tmp_2 = this.d9_1;
2008
+ var tmp_2 = this.g9_1;
2011
2009
  if (tmp_2 instanceof ClosedSendChannelException) {
2012
- var ignore_1 = this.d9_1;
2013
- this.a9_1 = 8;
2010
+ var ignore_1 = this.g9_1;
2011
+ this.d9_1 = 8;
2014
2012
  continue $sm;
2015
2013
  } else {
2016
- var tmp_3 = this.d9_1;
2014
+ var tmp_3 = this.g9_1;
2017
2015
  if (tmp_3 instanceof ClosedByteChannelException) {
2018
- var ignore_2 = this.d9_1;
2019
- this.a9_1 = 8;
2016
+ var ignore_2 = this.g9_1;
2017
+ this.d9_1 = 8;
2020
2018
  continue $sm;
2021
2019
  } else {
2022
- throw this.d9_1;
2020
+ throw this.g9_1;
2023
2021
  }
2024
2022
  }
2025
2023
  }
2026
2024
  }
2027
2025
 
2028
2026
  case 8:
2029
- this.b9_1 = 9;
2027
+ this.e9_1 = 9;
2030
2028
  return Unit_instance;
2031
2029
  case 9:
2032
- throw this.d9_1;
2030
+ throw this.g9_1;
2033
2031
  }
2034
2032
  } catch ($p) {
2035
2033
  var e = $p;
2036
- if (this.b9_1 === 9) {
2034
+ if (this.e9_1 === 9) {
2037
2035
  throw e;
2038
2036
  } else {
2039
- this.a9_1 = this.b9_1;
2040
- this.d9_1 = e;
2037
+ this.d9_1 = this.e9_1;
2038
+ this.g9_1 = e;
2041
2039
  }
2042
2040
  }
2043
2041
  while (true);
2044
2042
  };
2045
- protoOf(pinger$slambda).u1w = function ($this$launch, completion) {
2046
- var i = new pinger$slambda(this.z3j_1, this.a3k_1, this.b3k_1, this.c3k_1, this.d3k_1, completion);
2047
- i.e3k_1 = $this$launch;
2043
+ protoOf(pinger$slambda).w1x = function ($this$launch, completion) {
2044
+ var i = new pinger$slambda(this.p3l_1, this.q3l_1, this.r3l_1, this.s3l_1, this.t3l_1, completion);
2045
+ i.u3l_1 = $this$launch;
2048
2046
  return i;
2049
2047
  };
2050
2048
  function pinger$slambda_0($periodMillis, $timeoutMillis, $onTimeout, $channel, $outgoing, resultContinuation) {
2051
2049
  var i = new pinger$slambda($periodMillis, $timeoutMillis, $onTimeout, $channel, $outgoing, resultContinuation);
2052
2050
  var l = function ($this$launch, $completion) {
2053
- return i.t1w($this$launch, $completion);
2051
+ return i.v1x($this$launch, $completion);
2054
2052
  };
2055
2053
  l.$arity = 1;
2056
2054
  return l;
2057
2055
  }
2058
2056
  function pinger$lambda($actorJob) {
2059
2057
  return function (it) {
2060
- $actorJob.yt();
2058
+ $actorJob.av();
2061
2059
  return Unit_instance;
2062
2060
  };
2063
2061
  }
@@ -2074,9 +2072,9 @@
2074
2072
  var tmp = this;
2075
2073
  // Inline function 'kotlin.apply' call
2076
2074
  var this_0 = new WebSocketChannelsConfig();
2077
- this_0.f3d_1 = this_0.h3k();
2078
- this_0.g3d_1 = this_0.h3k();
2079
- tmp.e3d_1 = this_0;
2075
+ this_0.v3e_1 = this_0.x3l();
2076
+ this_0.w3e_1 = this_0.x3l();
2077
+ tmp.u3e_1 = this_0;
2080
2078
  }
2081
2079
  var Companion_instance_2;
2082
2080
  function Companion_getInstance_2() {
@@ -2086,21 +2084,21 @@
2086
2084
  }
2087
2085
  function WebSocketChannelsConfig() {
2088
2086
  Companion_getInstance_2();
2089
- this.f3d_1 = Companion_getInstance_3().i3k_1;
2090
- this.g3d_1 = Companion_getInstance_3().i3k_1;
2087
+ this.v3e_1 = Companion_getInstance_3().y3l_1;
2088
+ this.w3e_1 = Companion_getInstance_3().y3l_1;
2091
2089
  }
2092
- protoOf(WebSocketChannelsConfig).h3k = function () {
2093
- return Companion_getInstance_3().i3k_1;
2090
+ protoOf(WebSocketChannelsConfig).x3l = function () {
2091
+ return Companion_getInstance_3().y3l_1;
2094
2092
  };
2095
2093
  function from(_this__u8e3s4, config) {
2096
2094
  // Inline function 'kotlin.with' call
2097
2095
  var tmp;
2098
- if (config.j3k_1 === 2147483647) {
2096
+ if (config.z3l_1 === 2147483647) {
2099
2097
  tmp = Channel(2147483647);
2100
- } else if (config.k3k_1.equals(ChannelOverflow_SUSPEND_getInstance())) {
2101
- tmp = Channel(config.j3k_1, BufferOverflow_SUSPEND_getInstance());
2102
- } else if (config.k3k_1.equals(ChannelOverflow_CLOSE_getInstance())) {
2103
- tmp = new BoundedChannel(config.j3k_1);
2098
+ } else if (config.a3m_1.equals(ChannelOverflow_SUSPEND_getInstance())) {
2099
+ tmp = Channel(config.z3l_1, BufferOverflow_SUSPEND_getInstance());
2100
+ } else if (config.a3m_1.equals(ChannelOverflow_CLOSE_getInstance())) {
2101
+ tmp = new BoundedChannel(config.z3l_1);
2104
2102
  } else {
2105
2103
  // Inline function 'kotlin.error' call
2106
2104
  var message = 'Unsupported channel config.';
@@ -2110,7 +2108,7 @@
2110
2108
  }
2111
2109
  function Companion_3() {
2112
2110
  Companion_instance_3 = this;
2113
- this.i3k_1 = new ChannelConfig(2147483647, ChannelOverflow_SUSPEND_getInstance());
2111
+ this.y3l_1 = new ChannelConfig(2147483647, ChannelOverflow_SUSPEND_getInstance());
2114
2112
  }
2115
2113
  var Companion_instance_3;
2116
2114
  function Companion_getInstance_3() {
@@ -2120,11 +2118,11 @@
2120
2118
  }
2121
2119
  function ChannelConfig(capacity, onOverflow) {
2122
2120
  Companion_getInstance_3();
2123
- this.j3k_1 = capacity;
2124
- this.k3k_1 = onOverflow;
2121
+ this.z3l_1 = capacity;
2122
+ this.a3m_1 = onOverflow;
2125
2123
  }
2126
- protoOf(ChannelConfig).l3k = function () {
2127
- return this.k3k_1.equals(ChannelOverflow_SUSPEND_getInstance()) && !(this.j3k_1 === 2147483647);
2124
+ protoOf(ChannelConfig).b3m = function () {
2125
+ return this.a3m_1.equals(ChannelOverflow_SUSPEND_getInstance()) && !(this.z3l_1 === 2147483647);
2128
2126
  };
2129
2127
  var ChannelOverflow_SUSPEND_instance;
2130
2128
  var ChannelOverflow_CLOSE_instance;
@@ -2148,14 +2146,14 @@
2148
2146
  } else {
2149
2147
  tmp_0 = $channel._v;
2150
2148
  }
2151
- if (!tmp_0.v19()) {
2149
+ if (!tmp_0.x1a()) {
2152
2150
  var tmp_1;
2153
2151
  if ($channel._v == null) {
2154
2152
  throwUninitializedPropertyAccessException('channel');
2155
2153
  } else {
2156
2154
  tmp_1 = $channel._v;
2157
2155
  }
2158
- tmp_1.w1b(new ChannelOverflowException('Channel overflowed'));
2156
+ tmp_1.x1c(new ChannelOverflowException('Channel overflowed'));
2159
2157
  tmp = Unit_instance;
2160
2158
  }
2161
2159
  return Unit_instance;
@@ -2163,7 +2161,7 @@
2163
2161
  }
2164
2162
  function Companion_4() {
2165
2163
  }
2166
- protoOf(Companion_4).m3k = function (capacity) {
2164
+ protoOf(Companion_4).c3m = function (capacity) {
2167
2165
  var channel = {_v: null};
2168
2166
  var tmp = BufferOverflow_DROP_OLDEST_getInstance();
2169
2167
  // Inline function 'kotlin.also' call
@@ -2176,42 +2174,42 @@
2176
2174
  return Companion_instance_4;
2177
2175
  }
2178
2176
  function BoundedChannel(capacity, delegate) {
2179
- delegate = delegate === VOID ? Companion_instance_4.m3k(capacity) : delegate;
2180
- this.n3k_1 = delegate;
2177
+ delegate = delegate === VOID ? Companion_instance_4.c3m(capacity) : delegate;
2178
+ this.d3m_1 = delegate;
2181
2179
  }
2182
- protoOf(BoundedChannel).o3k = function (element) {
2183
- var result = this.n3k_1.r1b(element);
2180
+ protoOf(BoundedChannel).e3m = function (element) {
2181
+ var result = this.d3m_1.t1c(element);
2184
2182
  if (!_ChannelResult___get_isSuccess__impl__odq1z9(result) && !_ChannelResult___get_isClosed__impl__mg7kuu(result)) {
2185
- this.w1b(new ChannelOverflowException('Channel overflowed'));
2183
+ this.x1c(new ChannelOverflowException('Channel overflowed'));
2186
2184
  }
2187
2185
  return result;
2188
2186
  };
2189
- protoOf(BoundedChannel).r1b = function (element) {
2190
- return this.o3k(element);
2187
+ protoOf(BoundedChannel).t1c = function (element) {
2188
+ return this.e3m(element);
2191
2189
  };
2192
- protoOf(BoundedChannel).p3k = function (element, $completion) {
2193
- return this.n3k_1.q1b(element, $completion);
2190
+ protoOf(BoundedChannel).f3m = function (element, $completion) {
2191
+ return this.d3m_1.s1c(element, $completion);
2194
2192
  };
2195
- protoOf(BoundedChannel).q1b = function (element, $completion) {
2196
- return this.p3k(element, $completion);
2193
+ protoOf(BoundedChannel).s1c = function (element, $completion) {
2194
+ return this.f3m(element, $completion);
2197
2195
  };
2198
- protoOf(BoundedChannel).w1b = function (cause) {
2199
- return this.n3k_1.w1b(cause);
2196
+ protoOf(BoundedChannel).x1c = function (cause) {
2197
+ return this.d3m_1.x1c(cause);
2200
2198
  };
2201
- protoOf(BoundedChannel).v19 = function () {
2202
- return this.n3k_1.v19();
2199
+ protoOf(BoundedChannel).x1a = function () {
2200
+ return this.d3m_1.x1a();
2203
2201
  };
2204
- protoOf(BoundedChannel).q3k = function ($completion) {
2205
- return this.n3k_1.u1b($completion);
2202
+ protoOf(BoundedChannel).g3m = function ($completion) {
2203
+ return this.d3m_1.v1c($completion);
2206
2204
  };
2207
- protoOf(BoundedChannel).u1b = function ($completion) {
2208
- return this.q3k($completion);
2205
+ protoOf(BoundedChannel).v1c = function ($completion) {
2206
+ return this.g3m($completion);
2209
2207
  };
2210
2208
  protoOf(BoundedChannel).t = function () {
2211
- return this.n3k_1.t();
2209
+ return this.d3m_1.t();
2212
2210
  };
2213
- protoOf(BoundedChannel).xt = function (cause) {
2214
- this.n3k_1.xt(cause);
2211
+ protoOf(BoundedChannel).zu = function (cause) {
2212
+ this.d3m_1.zu(cause);
2215
2213
  };
2216
2214
  function ChannelOverflowException(message) {
2217
2215
  RuntimeException_init_$Init$(message, this);
@@ -2230,16 +2228,16 @@
2230
2228
  function WebSocketExtensionsConfig() {
2231
2229
  var tmp = this;
2232
2230
  // Inline function 'kotlin.collections.mutableListOf' call
2233
- tmp.t3k_1 = ArrayList_init_$Create$();
2231
+ tmp.j3m_1 = ArrayList_init_$Create$();
2234
2232
  var tmp_0 = this;
2235
2233
  // Inline function 'kotlin.arrayOf' call
2236
2234
  // Inline function 'kotlin.js.unsafeCast' call
2237
2235
  // Inline function 'kotlin.js.asDynamic' call
2238
- tmp_0.u3k_1 = [false, false, false];
2236
+ tmp_0.k3m_1 = [false, false, false];
2239
2237
  }
2240
- protoOf(WebSocketExtensionsConfig).u2v = function () {
2238
+ protoOf(WebSocketExtensionsConfig).i2x = function () {
2241
2239
  // Inline function 'kotlin.collections.map' call
2242
- var this_0 = this.t3k_1;
2240
+ var this_0 = this.j3m_1;
2243
2241
  // Inline function 'kotlin.collections.mapTo' call
2244
2242
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
2245
2243
  var _iterator__ex2g4s = this_0.t();
@@ -2251,14 +2249,14 @@
2251
2249
  return destination;
2252
2250
  };
2253
2251
  function parametersToString($this) {
2254
- return $this.w3k_1.r() ? '' : '; ' + joinToString($this.w3k_1, ';');
2252
+ return $this.m3m_1.r() ? '' : '; ' + joinToString($this.m3m_1, ';');
2255
2253
  }
2256
2254
  function WebSocketExtensionHeader(name, parameters) {
2257
- this.v3k_1 = name;
2258
- this.w3k_1 = parameters;
2255
+ this.l3m_1 = name;
2256
+ this.m3m_1 = parameters;
2259
2257
  }
2260
2258
  protoOf(WebSocketExtensionHeader).toString = function () {
2261
- return this.v3k_1 + ' ' + parametersToString(this);
2259
+ return this.l3m_1 + ' ' + parametersToString(this);
2262
2260
  };
2263
2261
  function parseWebSocketExtensions(value) {
2264
2262
  // Inline function 'kotlin.collections.map' call
@@ -2294,9 +2292,9 @@
2294
2292
  function close(_this__u8e3s4, reason, $completion) {
2295
2293
  reason = reason === VOID ? CloseReason_init_$Create$(Codes_NORMAL_getInstance(), '') : reason;
2296
2294
  var tmp = new $closeCOROUTINE$(_this__u8e3s4, reason, $completion);
2297
- tmp.c9_1 = Unit_instance;
2298
- tmp.d9_1 = null;
2299
- return tmp.i9();
2295
+ tmp.f9_1 = Unit_instance;
2296
+ tmp.g9_1 = null;
2297
+ return tmp.l9();
2300
2298
  }
2301
2299
  function closeExceptionally(_this__u8e3s4, cause, $completion) {
2302
2300
  var tmp;
@@ -2310,61 +2308,61 @@
2310
2308
  }
2311
2309
  function $closeCOROUTINE$(_this__u8e3s4, reason, resultContinuation) {
2312
2310
  CoroutineImpl.call(this, resultContinuation);
2313
- this.f3l_1 = _this__u8e3s4;
2314
- this.g3l_1 = reason;
2311
+ this.v3m_1 = _this__u8e3s4;
2312
+ this.w3m_1 = reason;
2315
2313
  }
2316
- protoOf($closeCOROUTINE$).i9 = function () {
2317
- var suspendResult = this.c9_1;
2314
+ protoOf($closeCOROUTINE$).l9 = function () {
2315
+ var suspendResult = this.f9_1;
2318
2316
  $sm: do
2319
2317
  try {
2320
- var tmp = this.a9_1;
2318
+ var tmp = this.d9_1;
2321
2319
  switch (tmp) {
2322
2320
  case 0:
2323
- this.b9_1 = 4;
2324
- this.b9_1 = 3;
2325
- this.a9_1 = 1;
2326
- suspendResult = this.f3l_1.d3d(Close_init_$Create$(this.g3l_1), this);
2321
+ this.e9_1 = 4;
2322
+ this.e9_1 = 3;
2323
+ this.d9_1 = 1;
2324
+ suspendResult = this.v3m_1.t3e(Close_init_$Create$(this.w3m_1), this);
2327
2325
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2328
2326
  return suspendResult;
2329
2327
  }
2330
2328
 
2331
2329
  continue $sm;
2332
2330
  case 1:
2333
- this.a9_1 = 2;
2334
- suspendResult = this.f3l_1.n1n(this);
2331
+ this.d9_1 = 2;
2332
+ suspendResult = this.v3m_1.r1o(this);
2335
2333
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2336
2334
  return suspendResult;
2337
2335
  }
2338
2336
 
2339
2337
  continue $sm;
2340
2338
  case 2:
2341
- this.b9_1 = 4;
2342
- this.a9_1 = 5;
2339
+ this.e9_1 = 4;
2340
+ this.d9_1 = 5;
2343
2341
  continue $sm;
2344
2342
  case 3:
2345
- this.b9_1 = 4;
2346
- var tmp_0 = this.d9_1;
2343
+ this.e9_1 = 4;
2344
+ var tmp_0 = this.g9_1;
2347
2345
  if (tmp_0 instanceof Error) {
2348
- var _unused_var__etf5q3 = this.d9_1;
2349
- this.a9_1 = 5;
2346
+ var _unused_var__etf5q3 = this.g9_1;
2347
+ this.d9_1 = 5;
2350
2348
  continue $sm;
2351
2349
  } else {
2352
- throw this.d9_1;
2350
+ throw this.g9_1;
2353
2351
  }
2354
2352
 
2355
2353
  case 4:
2356
- throw this.d9_1;
2354
+ throw this.g9_1;
2357
2355
  case 5:
2358
- this.b9_1 = 4;
2356
+ this.e9_1 = 4;
2359
2357
  return Unit_instance;
2360
2358
  }
2361
2359
  } catch ($p) {
2362
2360
  var e = $p;
2363
- if (this.b9_1 === 4) {
2361
+ if (this.e9_1 === 4) {
2364
2362
  throw e;
2365
2363
  } else {
2366
- this.a9_1 = this.b9_1;
2367
- this.d9_1 = e;
2364
+ this.d9_1 = this.e9_1;
2365
+ this.g9_1 = e;
2368
2366
  }
2369
2367
  }
2370
2368
  while (true);
@@ -2390,8 +2388,8 @@
2390
2388
  function Close_init_$Init$(reason, $this) {
2391
2389
  // Inline function 'io.ktor.utils.io.core.buildPacket' call
2392
2390
  var builder = new Buffer();
2393
- builder.yq(reason.v3c_1);
2394
- writeText(builder, reason.w3c_1);
2391
+ builder.as(reason.l3e_1);
2392
+ writeText(builder, reason.m3e_1);
2395
2393
  Close_init_$Init$_0(builder, $this);
2396
2394
  return $this;
2397
2395
  }
@@ -2403,7 +2401,7 @@
2403
2401
  return $this;
2404
2402
  }
2405
2403
  function Close_init_$Init$_1($this) {
2406
- Close.call($this, Companion_getInstance_5().z3g_1);
2404
+ Close.call($this, Companion_getInstance_5().p3i_1);
2407
2405
  return $this;
2408
2406
  }
2409
2407
  function Close_init_$Create$_0() {
@@ -2433,9 +2431,9 @@
2433
2431
  }
2434
2432
  function Companion_5() {
2435
2433
  Companion_instance_5 = this;
2436
- this.z3g_1 = new Int8Array(0);
2434
+ this.p3i_1 = new Int8Array(0);
2437
2435
  }
2438
- protoOf(Companion_5).a3h = function (fin, frameType, data, rsv1, rsv2, rsv3) {
2436
+ protoOf(Companion_5).q3i = function (fin, frameType, data, rsv1, rsv2, rsv3) {
2439
2437
  var tmp;
2440
2438
  switch (frameType.a1_1) {
2441
2439
  case 1:
@@ -2471,28 +2469,28 @@
2471
2469
  rsv1 = rsv1 === VOID ? false : rsv1;
2472
2470
  rsv2 = rsv2 === VOID ? false : rsv2;
2473
2471
  rsv3 = rsv3 === VOID ? false : rsv3;
2474
- this.s3g_1 = fin;
2475
- this.t3g_1 = frameType;
2476
- this.u3g_1 = data;
2477
- this.v3g_1 = disposableHandle;
2478
- this.w3g_1 = rsv1;
2479
- this.x3g_1 = rsv2;
2480
- this.y3g_1 = rsv3;
2472
+ this.i3i_1 = fin;
2473
+ this.j3i_1 = frameType;
2474
+ this.k3i_1 = data;
2475
+ this.l3i_1 = disposableHandle;
2476
+ this.m3i_1 = rsv1;
2477
+ this.n3i_1 = rsv2;
2478
+ this.o3i_1 = rsv3;
2481
2479
  }
2482
2480
  protoOf(Frame).toString = function () {
2483
- return 'Frame ' + this.t3g_1.toString() + ' (fin=' + this.s3g_1 + ', buffer len = ' + this.u3g_1.length + ')';
2481
+ return 'Frame ' + this.j3i_1.toString() + ' (fin=' + this.i3i_1 + ', buffer len = ' + this.k3i_1.length + ')';
2484
2482
  };
2485
2483
  function get_OUTGOING_CHANNEL_CAPACITY() {
2486
2484
  return OUTGOING_CHANNEL_CAPACITY;
2487
2485
  }
2488
2486
  var OUTGOING_CHANNEL_CAPACITY;
2489
2487
  //region block: post-declaration
2490
- protoOf(DefaultWebSocketSessionImpl).d3d = send;
2488
+ protoOf(DefaultWebSocketSessionImpl).t3e = send;
2491
2489
  defineProp(protoOf(FrameTooBigException), 'message', function () {
2492
2490
  return this.e();
2493
2491
  });
2494
- protoOf(BoundedChannel).y1b = close$default;
2495
- protoOf(BoundedChannel).a1c = cancel$default;
2492
+ protoOf(BoundedChannel).z1c = close$default;
2493
+ protoOf(BoundedChannel).b1d = cancel$default;
2496
2494
  //endregion
2497
2495
  //region block: init
2498
2496
  NonDisposableHandle_instance = new NonDisposableHandle();