@doordeck/doordeck-headless-sdk 0.190.0 → 0.194.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/kotlin/Kermit-kermit-core.js +60 -60
  2. package/kotlin/Kermit-kermit.js +8 -8
  3. package/kotlin/MultiplatformSettings-multiplatform-settings.js +23 -23
  4. package/kotlin/doordeck-sdk.d.ts +1 -0
  5. package/kotlin/doordeck-sdk.js +10294 -10331
  6. package/kotlin/kotlin-kotlin-stdlib.js +1736 -1107
  7. package/kotlin/kotlinx-atomicfu.js +21 -21
  8. package/kotlin/kotlinx-browser.js +10 -0
  9. package/kotlin/kotlinx-coroutines-core.js +2529 -2067
  10. package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +52 -52
  11. package/kotlin/kotlinx-io-kotlinx-io-core.js +489 -493
  12. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1956 -1956
  13. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1483 -1483
  14. package/kotlin/ktor-ktor-client-auth.js +408 -400
  15. package/kotlin/ktor-ktor-client-content-negotiation.js +185 -186
  16. package/kotlin/ktor-ktor-client-core.js +2941 -2275
  17. package/kotlin/ktor-ktor-client-logging.js +1028 -992
  18. package/kotlin/ktor-ktor-events.js +15 -15
  19. package/kotlin/ktor-ktor-http-cio.js +413 -418
  20. package/kotlin/ktor-ktor-http.js +923 -880
  21. package/kotlin/ktor-ktor-io.js +1056 -987
  22. package/kotlin/ktor-ktor-serialization-kotlinx-json.js +8 -8
  23. package/kotlin/ktor-ktor-serialization-kotlinx.js +166 -166
  24. package/kotlin/ktor-ktor-serialization.js +77 -78
  25. package/kotlin/ktor-ktor-utils.js +944 -989
  26. package/kotlin/ktor-ktor-websockets.js +2178 -82
  27. package/package.json +4 -5
  28. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +0 -329
@@ -1,104 +1,103 @@
1
1
  (function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_org_jetbrains_kotlinx_kotlinx_io_core, kotlin_org_jetbrains_kotlinx_atomicfu, kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring) {
2
2
  'use strict';
3
3
  //region block: imports
4
- var Companion_instance = kotlin_kotlin.$_$.w4;
5
- var Unit_instance = kotlin_kotlin.$_$.b5;
6
- var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.n2;
7
- var protoOf = kotlin_kotlin.$_$.xb;
8
- var initMetadataForCompanion = kotlin_kotlin.$_$.bb;
9
- var initMetadataForObject = kotlin_kotlin.$_$.gb;
10
- var toString = kotlin_kotlin.$_$.yg;
11
- var hashCode = kotlin_kotlin.$_$.za;
12
- var equals = kotlin_kotlin.$_$.sa;
13
- var initMetadataForClass = kotlin_kotlin.$_$.ab;
14
- var createFailure = kotlin_kotlin.$_$.mg;
15
- var Result = kotlin_kotlin.$_$.tf;
16
- var initMetadataForInterface = kotlin_kotlin.$_$.eb;
17
- var toString_0 = kotlin_kotlin.$_$.se;
18
- var newThrowable = kotlin_kotlin.$_$.tb;
19
- var stackTraceToString = kotlin_kotlin.$_$.wg;
4
+ var Companion_instance = kotlin_kotlin.$_$.x4;
5
+ var Unit_instance = kotlin_kotlin.$_$.c5;
6
+ var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.p2;
7
+ var protoOf = kotlin_kotlin.$_$.zb;
8
+ var initMetadataForCompanion = kotlin_kotlin.$_$.db;
9
+ var initMetadataForObject = kotlin_kotlin.$_$.ib;
10
+ var toString = kotlin_kotlin.$_$.ch;
11
+ var hashCode = kotlin_kotlin.$_$.bb;
12
+ var equals = kotlin_kotlin.$_$.ua;
13
+ var initMetadataForClass = kotlin_kotlin.$_$.cb;
14
+ var createFailure = kotlin_kotlin.$_$.qg;
15
+ var Result = kotlin_kotlin.$_$.xf;
16
+ var initMetadataForInterface = kotlin_kotlin.$_$.gb;
17
+ var toString_0 = kotlin_kotlin.$_$.ve;
18
+ var newThrowable = kotlin_kotlin.$_$.vb;
19
+ var stackTraceToString = kotlin_kotlin.$_$.ah;
20
20
  var VOID = kotlin_kotlin.$_$.b;
21
- var isInterface = kotlin_kotlin.$_$.pb;
22
- var CoroutineImpl = kotlin_kotlin.$_$.j9;
23
- var fromInt = kotlin_kotlin.$_$.u9;
24
- var numberToLong = kotlin_kotlin.$_$.aa;
25
- var add = kotlin_kotlin.$_$.p9;
26
- var intercepted = kotlin_kotlin.$_$.w8;
27
- var CancellableContinuationImpl = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.u;
28
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.ug;
29
- var returnIfSuspended = kotlin_kotlin.$_$.g;
30
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.t8;
31
- var initMetadataForCoroutine = kotlin_kotlin.$_$.cb;
21
+ var isInterface = kotlin_kotlin.$_$.rb;
22
+ var CoroutineImpl = kotlin_kotlin.$_$.l9;
23
+ var fromInt = kotlin_kotlin.$_$.w9;
24
+ var numberToLong = kotlin_kotlin.$_$.ca;
25
+ var add = kotlin_kotlin.$_$.r9;
26
+ var intercepted = kotlin_kotlin.$_$.y8;
27
+ var CancellableContinuationImpl = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j1;
28
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.yg;
29
+ var returnIfSuspended = kotlin_kotlin.$_$.i;
30
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.v8;
31
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.eb;
32
32
  var Buffer = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.f;
33
33
  var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.d;
34
- var convertToInt = kotlin_kotlin.$_$.r9;
35
- var IllegalStateException = kotlin_kotlin.$_$.qf;
36
- var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.s1;
37
- var captureStack = kotlin_kotlin.$_$.ja;
34
+ var convertToInt = kotlin_kotlin.$_$.t9;
35
+ var IllegalStateException = kotlin_kotlin.$_$.uf;
36
+ var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.u1;
37
+ var captureStack = kotlin_kotlin.$_$.la;
38
38
  var IOException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.c;
39
39
  var decodeToString = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.d;
40
- var replace = kotlin_kotlin.$_$.td;
40
+ var replace = kotlin_kotlin.$_$.wd;
41
41
  var indexOf = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.i;
42
- var THROW_CCE = kotlin_kotlin.$_$.vf;
43
- var get_ONE = kotlin_kotlin.$_$.o9;
44
- var toString_1 = kotlin_kotlin.$_$.ac;
45
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.n1;
46
- var subtract = kotlin_kotlin.$_$.da;
42
+ var THROW_CCE = kotlin_kotlin.$_$.zf;
43
+ var get_ONE = kotlin_kotlin.$_$.q9;
44
+ var toString_1 = kotlin_kotlin.$_$.cc;
45
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.p1;
47
46
  var EOFException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
48
- var readString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.o;
49
- var closeFinally = kotlin_kotlin.$_$.kg;
47
+ var readString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.n;
48
+ var subtract = kotlin_kotlin.$_$.fa;
50
49
  var readByteString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.l;
50
+ var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.t1;
51
51
  var EmptyCoroutineContext_instance = kotlin_kotlin.$_$.g4;
52
- var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b1;
53
- var startCoroutineCancellable = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.r;
54
- var launch = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l1;
55
- var Continuation = kotlin_kotlin.$_$.d9;
56
- var initMetadataForFunctionReference = kotlin_kotlin.$_$.db;
57
- var get_job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.k1;
58
- var Job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d1;
59
- var cancel = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j1;
60
- var initMetadataForLambda = kotlin_kotlin.$_$.fb;
61
- var CancellationException_init_$Create$ = kotlin_kotlin.$_$.z;
62
- var CancellationException = kotlin_kotlin.$_$.s8;
63
- var CopyableThrowable = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.y;
52
+ var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.q1;
53
+ var startCoroutineCancellable = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.g1;
54
+ var launch = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a2;
55
+ var Continuation = kotlin_kotlin.$_$.f9;
56
+ var initMetadataForFunctionReference = kotlin_kotlin.$_$.fb;
57
+ var get_job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.z1;
58
+ var Job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s1;
59
+ var cancel = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.y1;
60
+ var initMetadataForLambda = kotlin_kotlin.$_$.hb;
61
+ var CancellationException_init_$Create$ = kotlin_kotlin.$_$.b1;
62
+ var CancellationException = kotlin_kotlin.$_$.u8;
63
+ var CopyableThrowable = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.n1;
64
64
  var readString_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.m;
65
65
  var IOException = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.g;
66
66
  var IOException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.d;
67
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
68
- var listOf = kotlin_kotlin.$_$.m7;
67
+ var Enum = kotlin_kotlin.$_$.qf;
68
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
69
+ var listOf = kotlin_kotlin.$_$.o7;
69
70
  var IOException_init_$Create$_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.e;
70
- var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.c1;
71
- var charSequenceLength = kotlin_kotlin.$_$.oa;
72
- var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r1;
71
+ var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.e1;
72
+ var charSequenceLength = kotlin_kotlin.$_$.qa;
73
73
  var readByteArray = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.j;
74
- var readString_1 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.n;
75
- var encodeToByteArray = kotlin_kotlin.$_$.dd;
76
- var writeString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.p;
77
- var AutoCloseable = kotlin_kotlin.$_$.ff;
78
- var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.f2;
79
- var replace_0 = kotlin_kotlin.$_$.ud;
80
- var getStringHashCode = kotlin_kotlin.$_$.ya;
74
+ var encodeToByteArray = kotlin_kotlin.$_$.gd;
75
+ var writeString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.o;
76
+ var AutoCloseable = kotlin_kotlin.$_$.jf;
77
+ var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.h2;
78
+ var replace_0 = kotlin_kotlin.$_$.xd;
79
+ var getStringHashCode = kotlin_kotlin.$_$.ab;
81
80
  var IOException_init_$Init$_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.b;
82
- var charSequenceSubSequence = kotlin_kotlin.$_$.pa;
81
+ var charSequenceSubSequence = kotlin_kotlin.$_$.ra;
83
82
  var readByteArray_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.k;
84
- var isCharSequence = kotlin_kotlin.$_$.lb;
85
- var trim = kotlin_kotlin.$_$.af;
86
- var toByte = kotlin_kotlin.$_$.yb;
87
- var decodeToString_0 = kotlin_kotlin.$_$.bd;
88
- var setOf = kotlin_kotlin.$_$.y7;
89
- var Dispatchers_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.h;
90
- var charSequenceGet = kotlin_kotlin.$_$.na;
91
- var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.l2;
83
+ var isCharSequence = kotlin_kotlin.$_$.nb;
84
+ var trim = kotlin_kotlin.$_$.df;
85
+ var toByte = kotlin_kotlin.$_$.ac;
86
+ var decodeToString_0 = kotlin_kotlin.$_$.ed;
87
+ var setOf = kotlin_kotlin.$_$.a8;
88
+ var Dispatchers_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.q;
89
+ var charSequenceGet = kotlin_kotlin.$_$.pa;
90
+ var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.n2;
92
91
  //endregion
93
92
  //region block: pre-declaration
94
93
  initMetadataForCompanion(Companion);
95
94
  initMetadataForObject(Empty, 'Empty');
96
95
  initMetadataForClass(Closed, 'Closed');
97
96
  function resume() {
98
- return this.n1j().l9(Companion_getInstance().k1j_1);
97
+ return this.y1l().l9(Companion_getInstance().v1l_1);
99
98
  }
100
99
  function resume_0(throwable) {
101
- var tmp = this.n1j();
100
+ var tmp = this.y1l();
102
101
  var tmp_0;
103
102
  if (throwable == null) {
104
103
  tmp_0 = null;
@@ -109,7 +108,7 @@
109
108
  tmp_0 = new Result(tmp$ret$2);
110
109
  }
111
110
  var tmp1_elvis_lhs = tmp_0;
112
- return tmp.l9(tmp1_elvis_lhs == null ? Companion_getInstance().k1j_1 : tmp1_elvis_lhs.il_1);
111
+ return tmp.l9(tmp1_elvis_lhs == null ? Companion_getInstance().v1l_1 : tmp1_elvis_lhs.tm_1);
113
112
  }
114
113
  initMetadataForInterface(Task, 'Task');
115
114
  initMetadataForClass(Read, 'Read', VOID, VOID, [Task]);
@@ -119,7 +118,7 @@
119
118
  initMetadataForCoroutine($flushAndCloseCOROUTINE$, CoroutineImpl);
120
119
  function awaitContent$default(min, $completion, $super) {
121
120
  min = min === VOID ? 1 : min;
122
- return $super === VOID ? this.u1l(min, $completion) : $super.u1l.call(this, min, $completion);
121
+ return $super === VOID ? this.f1o(min, $completion) : $super.f1o.call(this, min, $completion);
123
122
  }
124
123
  initMetadataForInterface(ByteReadChannel_1, 'ByteReadChannel', VOID, VOID, VOID, [1]);
125
124
  function get_autoFlush() {
@@ -134,18 +133,18 @@
134
133
  initMetadataForClass(ByteChannelScanner, 'ByteChannelScanner', VOID, VOID, VOID, [1, 0]);
135
134
  initMetadataForClass(ByteReadChannel$Companion$Empty$1, VOID, VOID, VOID, [ByteReadChannel_1], [1]);
136
135
  initMetadataForCompanion(Companion_0);
136
+ initMetadataForCoroutine($readBufferCOROUTINE$, CoroutineImpl);
137
137
  initMetadataForCoroutine($readAvailableCOROUTINE$, CoroutineImpl);
138
- initMetadataForCoroutine($copyToCOROUTINE$, CoroutineImpl);
139
138
  initMetadataForCoroutine($readRemainingCOROUTINE$, CoroutineImpl);
140
139
  initMetadataForCoroutine($toByteArrayCOROUTINE$, CoroutineImpl);
141
- initMetadataForCoroutine($copyToCOROUTINE$_0, CoroutineImpl);
140
+ initMetadataForCoroutine($copyToCOROUTINE$, CoroutineImpl);
142
141
  initMetadataForCoroutine($discardCOROUTINE$, CoroutineImpl);
143
142
  initMetadataForCoroutine($skipIfFoundCOROUTINE$, CoroutineImpl);
144
143
  initMetadataForCoroutine($readPacketCOROUTINE$, CoroutineImpl);
145
- initMetadataForCoroutine($readUTF8LineToCOROUTINE$, CoroutineImpl);
146
144
  initMetadataForCoroutine($readRemainingCOROUTINE$_0, CoroutineImpl);
147
- initMetadataForCoroutine($readBufferCOROUTINE$, CoroutineImpl);
148
145
  initMetadataForCoroutine($peekCOROUTINE$, CoroutineImpl);
146
+ initMetadataForCoroutine($internalReadLineToCOROUTINE$, CoroutineImpl);
147
+ initMetadataForCoroutine($internalReadLineTo$discardCrlfOrCrCOROUTINE$, CoroutineImpl);
149
148
  initMetadataForCoroutine($flushIfNeededCOROUTINE$, CoroutineImpl);
150
149
  initMetadataForClass(WriterJob, 'WriterJob');
151
150
  initMetadataForClass(WriterScope, 'WriterScope', VOID, VOID, [CoroutineScope]);
@@ -159,13 +158,14 @@
159
158
  initMetadataForClass(ClosedByteChannelException, 'ClosedByteChannelException', ClosedByteChannelException, IOException);
160
159
  initMetadataForClass(ClosedReadChannelException, 'ClosedReadChannelException', ClosedReadChannelException, ClosedByteChannelException);
161
160
  initMetadataForClass(ClosedWriteChannelException, 'ClosedWriteChannelException', ClosedWriteChannelException, ClosedByteChannelException);
161
+ initMetadataForClass(LineEnding, 'LineEnding', VOID, Enum);
162
162
  initMetadataForCompanion(Companion_1);
163
163
  initMetadataForClass(LineEndingMode, 'LineEndingMode');
164
164
  initMetadataForClass(SourceByteReadChannel, 'SourceByteReadChannel', VOID, VOID, [ByteReadChannel_1], [1]);
165
165
  initMetadataForClass(MalformedInputException, 'MalformedInputException', VOID, IOException);
166
166
  initMetadataForClass(TooLongLineException, 'TooLongLineException', VOID, MalformedInputException);
167
167
  function close() {
168
- this.cv();
168
+ this.uv();
169
169
  }
170
170
  initMetadataForInterface(ObjectPool, 'ObjectPool', VOID, VOID, [AutoCloseable]);
171
171
  initMetadataForClass(DefaultPool, 'DefaultPool', VOID, VOID, [ObjectPool]);
@@ -184,10 +184,10 @@
184
184
  //endregion
185
185
  function Companion() {
186
186
  Companion_instance_0 = this;
187
- this.j1j_1 = new Closed(null);
187
+ this.u1l_1 = new Closed(null);
188
188
  var tmp = this;
189
189
  // Inline function 'kotlin.Companion.success' call
190
- tmp.k1j_1 = _Result___init__impl__xyqfz8(Unit_instance);
190
+ tmp.v1l_1 = _Result___init__impl__xyqfz8(Unit_instance);
191
191
  }
192
192
  var Companion_instance_0;
193
193
  function Companion_getInstance() {
@@ -215,87 +215,87 @@
215
215
  return Empty_instance;
216
216
  }
217
217
  function Closed(cause) {
218
- this.l1j_1 = cause;
218
+ this.w1l_1 = cause;
219
219
  }
220
220
  protoOf(Closed).toString = function () {
221
- return 'Closed(cause=' + toString(this.l1j_1) + ')';
221
+ return 'Closed(cause=' + toString(this.w1l_1) + ')';
222
222
  };
223
223
  protoOf(Closed).hashCode = function () {
224
- return this.l1j_1 == null ? 0 : hashCode(this.l1j_1);
224
+ return this.w1l_1 == null ? 0 : hashCode(this.w1l_1);
225
225
  };
226
226
  protoOf(Closed).equals = function (other) {
227
227
  if (this === other)
228
228
  return true;
229
229
  if (!(other instanceof Closed))
230
230
  return false;
231
- if (!equals(this.l1j_1, other.l1j_1))
231
+ if (!equals(this.w1l_1, other.w1l_1))
232
232
  return false;
233
233
  return true;
234
234
  };
235
235
  function Task() {
236
236
  }
237
237
  function Read(continuation) {
238
- this.r1j_1 = continuation;
239
- this.s1j_1 = null;
238
+ this.c1m_1 = continuation;
239
+ this.d1m_1 = null;
240
240
  if (get_DEVELOPMENT_MODE()) {
241
241
  var tmp = this;
242
242
  // Inline function 'kotlin.also' call
243
- var this_0 = newThrowable('ReadTask 0x' + toString_0(hashCode(this.r1j_1), 16));
243
+ var this_0 = newThrowable('ReadTask 0x' + toString_0(hashCode(this.c1m_1), 16));
244
244
  stackTraceToString(this_0);
245
- tmp.s1j_1 = this_0;
245
+ tmp.d1m_1 = this_0;
246
246
  }
247
247
  }
248
- protoOf(Read).n1j = function () {
249
- return this.r1j_1;
248
+ protoOf(Read).y1l = function () {
249
+ return this.c1m_1;
250
250
  };
251
- protoOf(Read).m1j = function () {
252
- return this.s1j_1;
251
+ protoOf(Read).x1l = function () {
252
+ return this.d1m_1;
253
253
  };
254
- protoOf(Read).o1j = function () {
254
+ protoOf(Read).z1l = function () {
255
255
  return 'read';
256
256
  };
257
257
  function Write(continuation) {
258
- this.t1j_1 = continuation;
259
- this.u1j_1 = null;
258
+ this.e1m_1 = continuation;
259
+ this.f1m_1 = null;
260
260
  if (get_DEVELOPMENT_MODE()) {
261
261
  var tmp = this;
262
262
  // Inline function 'kotlin.also' call
263
- var this_0 = newThrowable('WriteTask 0x' + toString_0(hashCode(this.t1j_1), 16));
263
+ var this_0 = newThrowable('WriteTask 0x' + toString_0(hashCode(this.e1m_1), 16));
264
264
  stackTraceToString(this_0);
265
- tmp.u1j_1 = this_0;
265
+ tmp.f1m_1 = this_0;
266
266
  }
267
267
  }
268
- protoOf(Write).n1j = function () {
269
- return this.t1j_1;
268
+ protoOf(Write).y1l = function () {
269
+ return this.e1m_1;
270
270
  };
271
- protoOf(Write).m1j = function () {
272
- return this.u1j_1;
271
+ protoOf(Write).x1l = function () {
272
+ return this.f1m_1;
273
273
  };
274
- protoOf(Write).o1j = function () {
274
+ protoOf(Write).z1l = function () {
275
275
  return 'write';
276
276
  };
277
277
  function moveFlushToReadBuffer($this) {
278
278
  // Inline function 'io.ktor.utils.io.locks.synchronized' call
279
- $this.y1j_1;
280
- $this.w1j_1.wp($this.a1k_1);
281
- $this.x1j_1 = 0;
279
+ $this.j1m_1;
280
+ $this.h1m_1.oq($this.l1m_1);
281
+ $this.i1m_1 = 0;
282
282
  // Inline function 'io.ktor.utils.io.ByteChannel.resumeSlot' call
283
- var current = $this.z1j_1.kotlinx$atomicfu$value;
283
+ var current = $this.k1m_1.kotlinx$atomicfu$value;
284
284
  var tmp;
285
285
  if (current instanceof Write) {
286
- tmp = $this.z1j_1.atomicfu$compareAndSet(current, Empty_instance);
286
+ tmp = $this.k1m_1.atomicfu$compareAndSet(current, Empty_instance);
287
287
  } else {
288
288
  tmp = false;
289
289
  }
290
290
  if (tmp) {
291
- current.p1j();
291
+ current.a1m();
292
292
  }
293
293
  }
294
294
  function closeSlot($this, cause) {
295
- var closeContinuation = !(cause == null) ? new Closed(cause) : Companion_getInstance().j1j_1;
296
- var continuation = $this.z1j_1.atomicfu$getAndSet(closeContinuation);
295
+ var closeContinuation = !(cause == null) ? new Closed(cause) : Companion_getInstance().u1l_1;
296
+ var continuation = $this.k1m_1.atomicfu$getAndSet(closeContinuation);
297
297
  if (isInterface(continuation, Task)) {
298
- continuation.q1j(cause);
298
+ continuation.b1m(cause);
299
299
  }
300
300
  }
301
301
  function ClosedReadChannelException$_init_$ref_ix0089() {
@@ -314,8 +314,8 @@
314
314
  }
315
315
  function $awaitContentCOROUTINE$(_this__u8e3s4, min, resultContinuation) {
316
316
  CoroutineImpl.call(this, resultContinuation);
317
- this.l1k_1 = _this__u8e3s4;
318
- this.m1k_1 = min;
317
+ this.w1m_1 = _this__u8e3s4;
318
+ this.x1m_1 = min;
319
319
  }
320
320
  protoOf($awaitContentCOROUTINE$).i9 = function () {
321
321
  var suspendResult = this.c9_1;
@@ -325,39 +325,39 @@
325
325
  switch (tmp) {
326
326
  case 0:
327
327
  this.b9_1 = 4;
328
- rethrowCloseCauseIfNeeded(this.l1k_1);
329
- if (this.l1k_1.a1k_1.l1() >= fromInt(this.m1k_1))
328
+ rethrowCloseCauseIfNeeded(this.w1m_1);
329
+ if (this.w1m_1.l1m_1.l1() >= fromInt(this.x1m_1))
330
330
  return true;
331
- this.n1k_1 = this.l1k_1;
331
+ this.y1m_1 = this.w1m_1;
332
332
  this.a9_1 = 1;
333
333
  continue $sm;
334
334
  case 1:
335
- if (!(add(numberToLong(this.l1k_1.x1j_1), this.l1k_1.a1k_1.l1()) < fromInt(this.m1k_1) && this.l1k_1.c1k_1.kotlinx$atomicfu$value == null)) {
335
+ if (!(add(numberToLong(this.w1m_1.i1m_1), this.w1m_1.l1m_1.l1()) < fromInt(this.x1m_1) && this.w1m_1.n1m_1.kotlinx$atomicfu$value == null)) {
336
336
  this.a9_1 = 3;
337
337
  continue $sm;
338
338
  }
339
339
 
340
340
  this.a9_1 = 2;
341
341
  var cancellable = new CancellableContinuationImpl(intercepted(this), 1);
342
- cancellable.fw();
343
- var tmp0 = this.n1k_1;
342
+ cancellable.xw();
343
+ var tmp0 = this.y1m_1;
344
344
  var tmp2 = new Read(cancellable);
345
345
  l$ret$1: do {
346
- var previous = tmp0.z1j_1.kotlinx$atomicfu$value;
346
+ var previous = tmp0.k1m_1.kotlinx$atomicfu$value;
347
347
  if (!(previous instanceof Closed)) {
348
- if (!tmp0.z1j_1.atomicfu$compareAndSet(previous, tmp2)) {
349
- tmp2.p1j();
348
+ if (!tmp0.k1m_1.atomicfu$compareAndSet(previous, tmp2)) {
349
+ tmp2.a1m();
350
350
  break l$ret$1;
351
351
  }
352
352
  }
353
353
  if (previous instanceof Read) {
354
- previous.q1j(new ConcurrentIOException(tmp2.o1j(), previous.m1j()));
354
+ previous.b1m(new ConcurrentIOException(tmp2.z1l(), previous.x1l()));
355
355
  } else {
356
356
  if (isInterface(previous, Task)) {
357
- previous.p1j();
357
+ previous.a1m();
358
358
  } else {
359
359
  if (previous instanceof Closed) {
360
- tmp2.q1j(previous.l1j_1);
360
+ tmp2.b1m(previous.w1l_1);
361
361
  break l$ret$1;
362
362
  } else {
363
363
  if (!equals(previous, Empty_instance)) {
@@ -366,21 +366,21 @@
366
366
  }
367
367
  }
368
368
  }
369
- if (!(add(numberToLong(this.l1k_1.x1j_1), this.l1k_1.a1k_1.l1()) < fromInt(this.m1k_1) && this.l1k_1.c1k_1.kotlinx$atomicfu$value == null)) {
370
- var current = tmp0.z1j_1.kotlinx$atomicfu$value;
369
+ if (!(add(numberToLong(this.w1m_1.i1m_1), this.w1m_1.l1m_1.l1()) < fromInt(this.x1m_1) && this.w1m_1.n1m_1.kotlinx$atomicfu$value == null)) {
370
+ var current = tmp0.k1m_1.kotlinx$atomicfu$value;
371
371
  var tmp_0;
372
372
  if (current instanceof Read) {
373
- tmp_0 = tmp0.z1j_1.atomicfu$compareAndSet(current, Empty_instance);
373
+ tmp_0 = tmp0.k1m_1.atomicfu$compareAndSet(current, Empty_instance);
374
374
  } else {
375
375
  tmp_0 = false;
376
376
  }
377
377
  if (tmp_0) {
378
- current.p1j();
378
+ current.a1m();
379
379
  }
380
380
  }
381
381
  }
382
382
  while (false);
383
- suspendResult = returnIfSuspended(cancellable.gw(), this);
383
+ suspendResult = returnIfSuspended(cancellable.yw(), this);
384
384
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
385
385
  return suspendResult;
386
386
  }
@@ -390,11 +390,11 @@
390
390
  this.a9_1 = 1;
391
391
  continue $sm;
392
392
  case 3:
393
- if (this.l1k_1.a1k_1.l1() < 1048576n) {
394
- moveFlushToReadBuffer(this.l1k_1);
393
+ if (this.w1m_1.l1m_1.l1() < 1048576n) {
394
+ moveFlushToReadBuffer(this.w1m_1);
395
395
  }
396
396
 
397
- return this.l1k_1.a1k_1.l1() >= fromInt(this.m1k_1);
397
+ return this.w1m_1.l1m_1.l1() >= fromInt(this.x1m_1);
398
398
  case 4:
399
399
  throw this.d9_1;
400
400
  }
@@ -411,7 +411,7 @@
411
411
  };
412
412
  function $flushCOROUTINE$(_this__u8e3s4, resultContinuation) {
413
413
  CoroutineImpl.call(this, resultContinuation);
414
- this.w1k_1 = _this__u8e3s4;
414
+ this.h1n_1 = _this__u8e3s4;
415
415
  }
416
416
  protoOf($flushCOROUTINE$).i9 = function () {
417
417
  var suspendResult = this.c9_1;
@@ -421,40 +421,40 @@
421
421
  switch (tmp) {
422
422
  case 0:
423
423
  this.b9_1 = 4;
424
- rethrowCloseCauseIfNeeded(this.w1k_1);
425
- this.w1k_1.y1k();
426
- if (this.w1k_1.x1j_1 < 1048576)
424
+ rethrowCloseCauseIfNeeded(this.h1n_1);
425
+ this.h1n_1.j1n();
426
+ if (this.h1n_1.i1m_1 < 1048576)
427
427
  return Unit_instance;
428
- this.x1k_1 = this.w1k_1;
428
+ this.i1n_1 = this.h1n_1;
429
429
  this.a9_1 = 1;
430
430
  continue $sm;
431
431
  case 1:
432
- if (!(this.w1k_1.x1j_1 >= 1048576 && this.w1k_1.c1k_1.kotlinx$atomicfu$value == null)) {
432
+ if (!(this.h1n_1.i1m_1 >= 1048576 && this.h1n_1.n1m_1.kotlinx$atomicfu$value == null)) {
433
433
  this.a9_1 = 3;
434
434
  continue $sm;
435
435
  }
436
436
 
437
437
  this.a9_1 = 2;
438
438
  var cancellable = new CancellableContinuationImpl(intercepted(this), 1);
439
- cancellable.fw();
440
- var tmp0 = this.x1k_1;
439
+ cancellable.xw();
440
+ var tmp0 = this.i1n_1;
441
441
  var tmp2 = new Write(cancellable);
442
442
  l$ret$1: do {
443
- var previous = tmp0.z1j_1.kotlinx$atomicfu$value;
443
+ var previous = tmp0.k1m_1.kotlinx$atomicfu$value;
444
444
  if (!(previous instanceof Closed)) {
445
- if (!tmp0.z1j_1.atomicfu$compareAndSet(previous, tmp2)) {
446
- tmp2.p1j();
445
+ if (!tmp0.k1m_1.atomicfu$compareAndSet(previous, tmp2)) {
446
+ tmp2.a1m();
447
447
  break l$ret$1;
448
448
  }
449
449
  }
450
450
  if (previous instanceof Write) {
451
- previous.q1j(new ConcurrentIOException(tmp2.o1j(), previous.m1j()));
451
+ previous.b1m(new ConcurrentIOException(tmp2.z1l(), previous.x1l()));
452
452
  } else {
453
453
  if (isInterface(previous, Task)) {
454
- previous.p1j();
454
+ previous.a1m();
455
455
  } else {
456
456
  if (previous instanceof Closed) {
457
- tmp2.q1j(previous.l1j_1);
457
+ tmp2.b1m(previous.w1l_1);
458
458
  break l$ret$1;
459
459
  } else {
460
460
  if (!equals(previous, Empty_instance)) {
@@ -463,21 +463,21 @@
463
463
  }
464
464
  }
465
465
  }
466
- if (!(this.w1k_1.x1j_1 >= 1048576 && this.w1k_1.c1k_1.kotlinx$atomicfu$value == null)) {
467
- var current = tmp0.z1j_1.kotlinx$atomicfu$value;
466
+ if (!(this.h1n_1.i1m_1 >= 1048576 && this.h1n_1.n1m_1.kotlinx$atomicfu$value == null)) {
467
+ var current = tmp0.k1m_1.kotlinx$atomicfu$value;
468
468
  var tmp_0;
469
469
  if (current instanceof Write) {
470
- tmp_0 = tmp0.z1j_1.atomicfu$compareAndSet(current, Empty_instance);
470
+ tmp_0 = tmp0.k1m_1.atomicfu$compareAndSet(current, Empty_instance);
471
471
  } else {
472
472
  tmp_0 = false;
473
473
  }
474
474
  if (tmp_0) {
475
- current.p1j();
475
+ current.a1m();
476
476
  }
477
477
  }
478
478
  }
479
479
  while (false);
480
- suspendResult = returnIfSuspended(cancellable.gw(), this);
480
+ suspendResult = returnIfSuspended(cancellable.yw(), this);
481
481
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
482
482
  return suspendResult;
483
483
  }
@@ -504,7 +504,7 @@
504
504
  };
505
505
  function $flushAndCloseCOROUTINE$(_this__u8e3s4, resultContinuation) {
506
506
  CoroutineImpl.call(this, resultContinuation);
507
- this.h1l_1 = _this__u8e3s4;
507
+ this.s1n_1 = _this__u8e3s4;
508
508
  }
509
509
  protoOf($flushAndCloseCOROUTINE$).i9 = function () {
510
510
  var suspendResult = this.c9_1;
@@ -514,11 +514,11 @@
514
514
  switch (tmp) {
515
515
  case 0:
516
516
  this.b9_1 = 4;
517
- var this_0 = this.h1l_1;
517
+ var this_0 = this.s1n_1;
518
518
  this.b9_1 = 2;
519
- this.j1l_1 = Companion_instance;
519
+ this.u1n_1 = Companion_instance;
520
520
  this.a9_1 = 1;
521
- suspendResult = this_0.k1l(this);
521
+ suspendResult = this_0.v1n(this);
522
522
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
523
523
  return suspendResult;
524
524
  }
@@ -526,8 +526,8 @@
526
526
  continue $sm;
527
527
  case 1:
528
528
  var tmp_0 = this;
529
- this.j1l_1;
530
- tmp_0.i1l_1 = _Result___init__impl__xyqfz8(Unit_instance);
529
+ this.u1n_1;
530
+ tmp_0.t1n_1 = _Result___init__impl__xyqfz8(Unit_instance);
531
531
  this.b9_1 = 4;
532
532
  this.a9_1 = 3;
533
533
  continue $sm;
@@ -537,7 +537,7 @@
537
537
  if (tmp_1 instanceof Error) {
538
538
  var e = this.d9_1;
539
539
  var tmp_2 = this;
540
- tmp_2.i1l_1 = _Result___init__impl__xyqfz8(createFailure(e));
540
+ tmp_2.t1n_1 = _Result___init__impl__xyqfz8(createFailure(e));
541
541
  this.a9_1 = 3;
542
542
  continue $sm;
543
543
  } else {
@@ -546,9 +546,9 @@
546
546
 
547
547
  case 3:
548
548
  this.b9_1 = 4;
549
- if (!this.h1l_1.c1k_1.atomicfu$compareAndSet(null, get_CLOSED()))
549
+ if (!this.s1n_1.n1m_1.atomicfu$compareAndSet(null, get_CLOSED()))
550
550
  return Unit_instance;
551
- closeSlot(this.h1l_1, null);
551
+ closeSlot(this.s1n_1, null);
552
552
  return Unit_instance;
553
553
  case 4:
554
554
  throw this.d9_1;
@@ -566,104 +566,104 @@
566
566
  };
567
567
  function ByteChannel(autoFlush) {
568
568
  autoFlush = autoFlush === VOID ? false : autoFlush;
569
- this.v1j_1 = autoFlush;
570
- this.w1j_1 = new Buffer();
571
- this.x1j_1 = 0;
572
- this.y1j_1 = new Object();
573
- this.z1j_1 = atomic$ref$1(Empty_instance);
574
- this.a1k_1 = new Buffer();
575
- this.b1k_1 = new Buffer();
576
- this.c1k_1 = atomic$ref$1(null);
577
- }
578
- protoOf(ByteChannel).l1l = function () {
579
- return this.v1j_1;
580
- };
581
- protoOf(ByteChannel).m1l = function () {
582
- var tmp0_safe_receiver = this.c1k_1.kotlinx$atomicfu$value;
569
+ this.g1m_1 = autoFlush;
570
+ this.h1m_1 = new Buffer();
571
+ this.i1m_1 = 0;
572
+ this.j1m_1 = new Object();
573
+ this.k1m_1 = atomic$ref$1(Empty_instance);
574
+ this.l1m_1 = new Buffer();
575
+ this.m1m_1 = new Buffer();
576
+ this.n1m_1 = atomic$ref$1(null);
577
+ }
578
+ protoOf(ByteChannel).w1n = function () {
579
+ return this.g1m_1;
580
+ };
581
+ protoOf(ByteChannel).x1n = function () {
582
+ var tmp0_safe_receiver = this.n1m_1.kotlinx$atomicfu$value;
583
583
  if (tmp0_safe_receiver == null)
584
584
  null;
585
585
  else {
586
- tmp0_safe_receiver.o1l(ClosedReadChannelException$_init_$ref_ix0089());
586
+ tmp0_safe_receiver.z1n(ClosedReadChannelException$_init_$ref_ix0089());
587
587
  }
588
- if (this.a1k_1.to()) {
588
+ if (this.l1m_1.lp()) {
589
589
  moveFlushToReadBuffer(this);
590
590
  }
591
- return this.a1k_1;
591
+ return this.l1m_1;
592
592
  };
593
- protoOf(ByteChannel).p1l = function () {
594
- if (this.q1l()) {
595
- var tmp0_safe_receiver = this.c1k_1.kotlinx$atomicfu$value;
593
+ protoOf(ByteChannel).a1o = function () {
594
+ if (this.b1o()) {
595
+ var tmp0_safe_receiver = this.n1m_1.kotlinx$atomicfu$value;
596
596
  var tmp;
597
597
  if (tmp0_safe_receiver == null) {
598
598
  tmp = null;
599
599
  } else {
600
- tmp = tmp0_safe_receiver.o1l(ClosedWriteChannelException$_init_$ref_ef15ty());
600
+ tmp = tmp0_safe_receiver.z1n(ClosedWriteChannelException$_init_$ref_ef15ty());
601
601
  }
602
602
  if (tmp == null)
603
603
  throw new ClosedWriteChannelException();
604
604
  }
605
- return this.b1k_1;
605
+ return this.m1m_1;
606
606
  };
607
- protoOf(ByteChannel).r1l = function () {
608
- var tmp0_safe_receiver = this.c1k_1.kotlinx$atomicfu$value;
609
- return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s1l();
607
+ protoOf(ByteChannel).c1o = function () {
608
+ var tmp0_safe_receiver = this.n1m_1.kotlinx$atomicfu$value;
609
+ return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d1o();
610
610
  };
611
- protoOf(ByteChannel).q1l = function () {
612
- return !(this.c1k_1.kotlinx$atomicfu$value == null);
611
+ protoOf(ByteChannel).b1o = function () {
612
+ return !(this.n1m_1.kotlinx$atomicfu$value == null);
613
613
  };
614
- protoOf(ByteChannel).t1l = function () {
615
- return !(this.r1l() == null) || (this.q1l() && this.x1j_1 === 0 && this.a1k_1.to());
614
+ protoOf(ByteChannel).e1o = function () {
615
+ return !(this.c1o() == null) || (this.b1o() && this.i1m_1 === 0 && this.l1m_1.lp());
616
616
  };
617
- protoOf(ByteChannel).u1l = function (min, $completion) {
617
+ protoOf(ByteChannel).f1o = function (min, $completion) {
618
618
  var tmp = new $awaitContentCOROUTINE$(this, min, $completion);
619
619
  tmp.c9_1 = Unit_instance;
620
620
  tmp.d9_1 = null;
621
621
  return tmp.i9();
622
622
  };
623
- protoOf(ByteChannel).k1l = function ($completion) {
623
+ protoOf(ByteChannel).v1n = function ($completion) {
624
624
  var tmp = new $flushCOROUTINE$(this, $completion);
625
625
  tmp.c9_1 = Unit_instance;
626
626
  tmp.d9_1 = null;
627
627
  return tmp.i9();
628
628
  };
629
- protoOf(ByteChannel).y1k = function () {
630
- if (this.b1k_1.to())
629
+ protoOf(ByteChannel).j1n = function () {
630
+ if (this.m1m_1.lp())
631
631
  return Unit_instance;
632
632
  // Inline function 'io.ktor.utils.io.locks.synchronized' call
633
- this.y1j_1;
634
- var count = convertToInt(this.b1k_1.l1());
635
- this.w1j_1.lq(this.b1k_1);
636
- this.x1j_1 = this.x1j_1 + count | 0;
633
+ this.j1m_1;
634
+ var count = convertToInt(this.m1m_1.l1());
635
+ this.h1m_1.dr(this.m1m_1);
636
+ this.i1m_1 = this.i1m_1 + count | 0;
637
637
  // Inline function 'io.ktor.utils.io.ByteChannel.resumeSlot' call
638
- var current = this.z1j_1.kotlinx$atomicfu$value;
638
+ var current = this.k1m_1.kotlinx$atomicfu$value;
639
639
  var tmp;
640
640
  if (current instanceof Read) {
641
- tmp = this.z1j_1.atomicfu$compareAndSet(current, Empty_instance);
641
+ tmp = this.k1m_1.atomicfu$compareAndSet(current, Empty_instance);
642
642
  } else {
643
643
  tmp = false;
644
644
  }
645
645
  if (tmp) {
646
- current.p1j();
646
+ current.a1m();
647
647
  }
648
648
  };
649
649
  protoOf(ByteChannel).l4 = function () {
650
- this.y1k();
651
- if (!this.c1k_1.atomicfu$compareAndSet(null, get_CLOSED()))
650
+ this.j1n();
651
+ if (!this.n1m_1.atomicfu$compareAndSet(null, get_CLOSED()))
652
652
  return Unit_instance;
653
653
  closeSlot(this, null);
654
654
  };
655
- protoOf(ByteChannel).w1l = function ($completion) {
655
+ protoOf(ByteChannel).h1o = function ($completion) {
656
656
  var tmp = new $flushAndCloseCOROUTINE$(this, $completion);
657
657
  tmp.c9_1 = Unit_instance;
658
658
  tmp.d9_1 = null;
659
659
  return tmp.i9();
660
660
  };
661
- protoOf(ByteChannel).x1l = function (cause) {
662
- if (!(this.c1k_1.kotlinx$atomicfu$value == null))
661
+ protoOf(ByteChannel).i1o = function (cause) {
662
+ if (!(this.n1m_1.kotlinx$atomicfu$value == null))
663
663
  return Unit_instance;
664
664
  var closedToken = new CloseToken(cause);
665
- this.c1k_1.atomicfu$compareAndSet(null, closedToken);
666
- var wrappedCause = closedToken.s1l();
665
+ this.n1m_1.atomicfu$compareAndSet(null, closedToken);
666
+ var wrappedCause = closedToken.d1o();
667
667
  closeSlot(this, wrappedCause);
668
668
  };
669
669
  protoOf(ByteChannel).toString = function () {
@@ -679,7 +679,7 @@
679
679
  length = length === VOID ? content.length : length;
680
680
  // Inline function 'kotlin.also' call
681
681
  var this_0 = new Buffer();
682
- this_0.cq(content, offset, offset + length | 0);
682
+ this_0.uq(content, offset, offset + length | 0);
683
683
  var source = this_0;
684
684
  return ByteReadChannel_0(source);
685
685
  }
@@ -687,18 +687,18 @@
687
687
  return new SourceByteReadChannel(source);
688
688
  }
689
689
  function buildPartialMatchTable($this) {
690
- var table = new Int32Array($this.z1l_1.l1());
690
+ var table = new Int32Array($this.k1o_1.l1());
691
691
  var j = 0;
692
692
  var inductionVariable = 1;
693
- var last = $this.z1l_1.l1();
693
+ var last = $this.k1o_1.l1();
694
694
  if (inductionVariable < last)
695
695
  do {
696
696
  var i = inductionVariable;
697
697
  inductionVariable = inductionVariable + 1 | 0;
698
- while (j > 0 && !($this.z1l_1.m1(i) === $this.z1l_1.m1(j))) {
698
+ while (j > 0 && !($this.k1o_1.m1(i) === $this.k1o_1.m1(j))) {
699
699
  j = table[j - 1 | 0];
700
700
  }
701
- if ($this.z1l_1.m1(i) === $this.z1l_1.m1(j)) {
701
+ if ($this.k1o_1.m1(i) === $this.k1o_1.m1(j)) {
702
702
  j = j + 1 | 0;
703
703
  }
704
704
  table[i] = j;
@@ -719,8 +719,8 @@
719
719
  return tmp.i9();
720
720
  }
721
721
  function checkBounds($this, extra) {
722
- if (add($this.f1m_1, extra) > $this.b1m_1) {
723
- throw IOException_init_$Create$('Limit of ' + $this.b1m_1.toString() + ' bytes exceeded ' + ('while searching for "' + toSingleLineString($this, $this.z1l_1) + '"'));
722
+ if (add($this.q1o_1, extra) > $this.m1o_1) {
723
+ throw IOException_init_$Create$('Limit of ' + $this.m1o_1.toString() + ' bytes exceeded ' + ('while searching for "' + toSingleLineString($this, $this.k1o_1) + '"'));
724
724
  }
725
725
  }
726
726
  function toSingleLineString($this, _this__u8e3s4) {
@@ -728,8 +728,8 @@
728
728
  }
729
729
  function $findNextCOROUTINE$(_this__u8e3s4, ignoreMissing, resultContinuation) {
730
730
  CoroutineImpl.call(this, resultContinuation);
731
- this.k1n_1 = _this__u8e3s4;
732
- this.l1n_1 = ignoreMissing;
731
+ this.v1p_1 = _this__u8e3s4;
732
+ this.w1p_1 = ignoreMissing;
733
733
  }
734
734
  protoOf($findNextCOROUTINE$).i9 = function () {
735
735
  var suspendResult = this.c9_1;
@@ -739,17 +739,17 @@
739
739
  switch (tmp) {
740
740
  case 0:
741
741
  this.b9_1 = 9;
742
- this.k1n_1.f1m_1 = 0n;
742
+ this.v1p_1.q1o_1 = 0n;
743
743
  this.a9_1 = 1;
744
744
  continue $sm;
745
745
  case 1:
746
- if (!this.k1n_1.c1m_1.to()) {
747
- this.m1n_1 = true;
746
+ if (!this.v1p_1.n1o_1.lp()) {
747
+ this.x1p_1 = true;
748
748
  this.a9_1 = 3;
749
749
  continue $sm;
750
750
  } else {
751
751
  this.a9_1 = 2;
752
- suspendResult = this.k1n_1.y1l_1.v1l(VOID, this);
752
+ suspendResult = this.v1p_1.j1o_1.g1o(VOID, this);
753
753
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
754
754
  return suspendResult;
755
755
  }
@@ -757,17 +757,17 @@
757
757
  }
758
758
 
759
759
  case 2:
760
- this.m1n_1 = suspendResult;
760
+ this.x1p_1 = suspendResult;
761
761
  this.a9_1 = 3;
762
762
  continue $sm;
763
763
  case 3:
764
- if (!this.m1n_1) {
764
+ if (!this.x1p_1) {
765
765
  this.a9_1 = 7;
766
766
  continue $sm;
767
767
  }
768
768
 
769
769
  this.a9_1 = 4;
770
- suspendResult = advanceToNextPotentialMatch(this.k1n_1, this);
770
+ suspendResult = advanceToNextPotentialMatch(this.v1p_1, this);
771
771
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
772
772
  return suspendResult;
773
773
  }
@@ -775,7 +775,7 @@
775
775
  continue $sm;
776
776
  case 4:
777
777
  this.a9_1 = 5;
778
- suspendResult = checkFullMatch(this.k1n_1, this);
778
+ suspendResult = checkFullMatch(this.v1p_1, this);
779
779
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
780
780
  return suspendResult;
781
781
  }
@@ -783,7 +783,7 @@
783
783
  continue $sm;
784
784
  case 5:
785
785
  if (suspendResult) {
786
- return this.k1n_1.f1m_1;
786
+ return this.v1p_1.q1o_1;
787
787
  } else {
788
788
  this.a9_1 = 6;
789
789
  continue $sm;
@@ -793,20 +793,20 @@
793
793
  this.a9_1 = 1;
794
794
  continue $sm;
795
795
  case 7:
796
- if (!this.l1n_1) {
797
- throw IOException_init_$Create$('Expected "' + toSingleLineString(this.k1n_1, this.k1n_1.z1l_1) + '" but encountered end of input');
796
+ if (!this.w1p_1) {
797
+ throw IOException_init_$Create$('Expected "' + toSingleLineString(this.v1p_1, this.v1p_1.k1o_1) + '" but encountered end of input');
798
798
  }
799
799
 
800
- this.k1n_1.f1m_1 = add(this.k1n_1.f1m_1, this.k1n_1.e1m_1.wp(this.k1n_1.a1m_1.p1l()));
800
+ this.v1p_1.q1o_1 = add(this.v1p_1.q1o_1, this.v1p_1.p1o_1.oq(this.v1p_1.l1o_1.a1o()));
801
801
  this.a9_1 = 8;
802
- suspendResult = this.k1n_1.a1m_1.k1l(this);
802
+ suspendResult = this.v1p_1.l1o_1.v1n(this);
803
803
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
804
804
  return suspendResult;
805
805
  }
806
806
 
807
807
  continue $sm;
808
808
  case 8:
809
- return this.k1n_1.f1m_1;
809
+ return this.v1p_1.q1o_1;
810
810
  case 9:
811
811
  throw this.d9_1;
812
812
  }
@@ -823,7 +823,7 @@
823
823
  };
824
824
  function $advanceToNextPotentialMatchCOROUTINE$(_this__u8e3s4, resultContinuation) {
825
825
  CoroutineImpl.call(this, resultContinuation);
826
- this.p1m_1 = _this__u8e3s4;
826
+ this.a1p_1 = _this__u8e3s4;
827
827
  }
828
828
  protoOf($advanceToNextPotentialMatchCOROUTINE$).i9 = function () {
829
829
  var suspendResult = this.c9_1;
@@ -836,13 +836,13 @@
836
836
  this.a9_1 = 1;
837
837
  continue $sm;
838
838
  case 1:
839
- if (!this.p1m_1.c1m_1.to()) {
840
- this.q1m_1 = true;
839
+ if (!this.a1p_1.n1o_1.lp()) {
840
+ this.b1p_1 = true;
841
841
  this.a9_1 = 3;
842
842
  continue $sm;
843
843
  } else {
844
844
  this.a9_1 = 2;
845
- suspendResult = this.p1m_1.y1l_1.v1l(VOID, this);
845
+ suspendResult = this.a1p_1.j1o_1.g1o(VOID, this);
846
846
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
847
847
  return suspendResult;
848
848
  }
@@ -850,34 +850,34 @@
850
850
  }
851
851
 
852
852
  case 2:
853
- this.q1m_1 = suspendResult;
853
+ this.b1p_1 = suspendResult;
854
854
  this.a9_1 = 3;
855
855
  continue $sm;
856
856
  case 3:
857
- if (!this.q1m_1) {
857
+ if (!this.b1p_1) {
858
858
  this.a9_1 = 7;
859
859
  continue $sm;
860
860
  }
861
861
 
862
- var nextMatch = indexOf(this.p1m_1.c1m_1, this.p1m_1.z1l_1.m1(0));
862
+ var nextMatch = indexOf(this.a1p_1.n1o_1, this.a1p_1.k1o_1.m1(0));
863
863
  if (nextMatch === -1n) {
864
- var tmp_0 = this.p1m_1.c1m_1;
865
- checkBounds(this.p1m_1, (tmp_0 instanceof Buffer ? tmp_0 : THROW_CCE()).l1());
866
- this.p1m_1.f1m_1 = add(this.p1m_1.f1m_1, this.p1m_1.c1m_1.wp(this.p1m_1.a1m_1.p1l()));
864
+ var tmp_0 = this.a1p_1.n1o_1;
865
+ checkBounds(this.a1p_1, (tmp_0 instanceof Buffer ? tmp_0 : THROW_CCE()).l1());
866
+ this.a1p_1.q1o_1 = add(this.a1p_1.q1o_1, this.a1p_1.n1o_1.oq(this.a1p_1.l1o_1.a1o()));
867
867
  this.a9_1 = 5;
868
- suspendResult = flushIfNeeded(this.p1m_1.a1m_1, this);
868
+ suspendResult = flushIfNeeded(this.a1p_1.l1o_1, this);
869
869
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
870
870
  return suspendResult;
871
871
  }
872
872
  continue $sm;
873
873
  } else {
874
- checkBounds(this.p1m_1, nextMatch);
875
- var tmp_1 = this.p1m_1;
876
- var tmp_2 = this.p1m_1.f1m_1;
877
- var tmp_3 = this.p1m_1.a1m_1.p1l();
878
- tmp_1.f1m_1 = add(tmp_2, this.p1m_1.c1m_1.tp(tmp_3 instanceof Buffer ? tmp_3 : THROW_CCE(), nextMatch));
874
+ checkBounds(this.a1p_1, nextMatch);
875
+ var tmp_1 = this.a1p_1;
876
+ var tmp_2 = this.a1p_1.q1o_1;
877
+ var tmp_3 = this.a1p_1.l1o_1.a1o();
878
+ tmp_1.q1o_1 = add(tmp_2, this.a1p_1.n1o_1.lq(tmp_3 instanceof Buffer ? tmp_3 : THROW_CCE(), nextMatch));
879
879
  this.a9_1 = 4;
880
- suspendResult = flushIfNeeded(this.p1m_1.a1m_1, this);
880
+ suspendResult = flushIfNeeded(this.a1p_1.l1o_1, this);
881
881
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
882
882
  return suspendResult;
883
883
  }
@@ -910,7 +910,7 @@
910
910
  };
911
911
  function $checkFullMatchCOROUTINE$(_this__u8e3s4, resultContinuation) {
912
912
  CoroutineImpl.call(this, resultContinuation);
913
- this.z1m_1 = _this__u8e3s4;
913
+ this.k1p_1 = _this__u8e3s4;
914
914
  }
915
915
  protoOf($checkFullMatchCOROUTINE$).i9 = function () {
916
916
  var suspendResult = this.c9_1;
@@ -923,13 +923,13 @@
923
923
  this.a9_1 = 1;
924
924
  continue $sm;
925
925
  case 1:
926
- if (!this.z1m_1.c1m_1.to()) {
927
- this.b1n_1 = true;
926
+ if (!this.k1p_1.n1o_1.lp()) {
927
+ this.m1p_1 = true;
928
928
  this.a9_1 = 3;
929
929
  continue $sm;
930
930
  } else {
931
931
  this.a9_1 = 2;
932
- suspendResult = this.z1m_1.y1l_1.v1l(VOID, this);
932
+ suspendResult = this.k1p_1.j1o_1.g1o(VOID, this);
933
933
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
934
934
  return suspendResult;
935
935
  }
@@ -937,30 +937,30 @@
937
937
  }
938
938
 
939
939
  case 2:
940
- this.b1n_1 = suspendResult;
940
+ this.m1p_1 = suspendResult;
941
941
  this.a9_1 = 3;
942
942
  continue $sm;
943
943
  case 3:
944
- if (!this.b1n_1) {
944
+ if (!this.m1p_1) {
945
945
  this.a9_1 = 7;
946
946
  continue $sm;
947
947
  }
948
948
 
949
- this.a1n_1 = this.z1m_1.c1m_1.wo();
950
- if (this.z1m_1.g1m_1 > 0 && !(this.a1n_1 === this.z1m_1.z1l_1.m1(this.z1m_1.g1m_1))) {
951
- var oldMatchIndex = this.z1m_1.g1m_1;
952
- while (this.z1m_1.g1m_1 > 0 && !(this.a1n_1 === this.z1m_1.z1l_1.m1(this.z1m_1.g1m_1))) {
953
- this.z1m_1.g1m_1 = this.z1m_1.d1m_1[this.z1m_1.g1m_1 - 1 | 0];
949
+ this.l1p_1 = this.k1p_1.n1o_1.op();
950
+ if (this.k1p_1.r1o_1 > 0 && !(this.l1p_1 === this.k1p_1.k1o_1.m1(this.k1p_1.r1o_1))) {
951
+ var oldMatchIndex = this.k1p_1.r1o_1;
952
+ while (this.k1p_1.r1o_1 > 0 && !(this.l1p_1 === this.k1p_1.k1o_1.m1(this.k1p_1.r1o_1))) {
953
+ this.k1p_1.r1o_1 = this.k1p_1.o1o_1[this.k1p_1.r1o_1 - 1 | 0];
954
954
  }
955
- var retained = fromInt(oldMatchIndex - this.z1m_1.g1m_1 | 0);
956
- checkBounds(this.z1m_1, retained);
957
- var tmp_0 = this.z1m_1;
958
- var tmp_1 = this.z1m_1.f1m_1;
959
- var tmp_2 = this.z1m_1.a1m_1.p1l();
960
- tmp_0.f1m_1 = add(tmp_1, this.z1m_1.e1m_1.tp(tmp_2 instanceof Buffer ? tmp_2 : THROW_CCE(), retained));
961
- if (this.z1m_1.g1m_1 === 0 && !(this.a1n_1 === this.z1m_1.z1l_1.m1(this.z1m_1.g1m_1))) {
955
+ var retained = fromInt(oldMatchIndex - this.k1p_1.r1o_1 | 0);
956
+ checkBounds(this.k1p_1, retained);
957
+ var tmp_0 = this.k1p_1;
958
+ var tmp_1 = this.k1p_1.q1o_1;
959
+ var tmp_2 = this.k1p_1.l1o_1.a1o();
960
+ tmp_0.q1o_1 = add(tmp_1, this.k1p_1.p1o_1.lq(tmp_2 instanceof Buffer ? tmp_2 : THROW_CCE(), retained));
961
+ if (this.k1p_1.r1o_1 === 0 && !(this.l1p_1 === this.k1p_1.k1o_1.m1(this.k1p_1.r1o_1))) {
962
962
  this.a9_1 = 6;
963
- suspendResult = writeByte(this.z1m_1.a1m_1, this.a1n_1, this);
963
+ suspendResult = writeByte(this.k1p_1.l1o_1, this.l1p_1, this);
964
964
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
965
965
  return suspendResult;
966
966
  }
@@ -978,17 +978,17 @@
978
978
  this.a9_1 = 5;
979
979
  continue $sm;
980
980
  case 5:
981
- this.z1m_1.g1m_1 = this.z1m_1.g1m_1 + 1 | 0;
982
- if (this.z1m_1.g1m_1 === this.z1m_1.z1l_1.l1()) {
981
+ this.k1p_1.r1o_1 = this.k1p_1.r1o_1 + 1 | 0;
982
+ if (this.k1p_1.r1o_1 === this.k1p_1.k1o_1.l1()) {
983
983
  return true;
984
984
  }
985
985
 
986
- this.z1m_1.e1m_1.mq(this.a1n_1);
986
+ this.k1p_1.p1o_1.er(this.l1p_1);
987
987
  this.a9_1 = 1;
988
988
  continue $sm;
989
989
  case 6:
990
- var _unary__edvuaz = this.z1m_1.f1m_1;
991
- this.z1m_1.f1m_1 = add(_unary__edvuaz, get_ONE());
990
+ var _unary__edvuaz = this.k1p_1.q1o_1;
991
+ this.k1p_1.q1o_1 = add(_unary__edvuaz, get_ONE());
992
992
  return false;
993
993
  case 7:
994
994
  return false;
@@ -1008,49 +1008,49 @@
1008
1008
  };
1009
1009
  function ByteChannelScanner(channel, matchString, writeChannel, limit) {
1010
1010
  limit = limit === VOID ? 9223372036854775807n : limit;
1011
- this.y1l_1 = channel;
1012
- this.z1l_1 = matchString;
1013
- this.a1m_1 = writeChannel;
1014
- this.b1m_1 = limit;
1011
+ this.j1o_1 = channel;
1012
+ this.k1o_1 = matchString;
1013
+ this.l1o_1 = writeChannel;
1014
+ this.m1o_1 = limit;
1015
1015
  // Inline function 'kotlin.require' call
1016
- if (!(this.z1l_1.l1() > 0)) {
1016
+ if (!(this.k1o_1.l1() > 0)) {
1017
1017
  var message = 'Empty match string not permitted for scanning';
1018
1018
  throw IllegalArgumentException_init_$Create$(toString_1(message));
1019
1019
  }
1020
- this.c1m_1 = this.y1l_1.m1l();
1021
- this.d1m_1 = buildPartialMatchTable(this);
1022
- this.e1m_1 = new Buffer();
1023
- this.f1m_1 = 0n;
1024
- this.g1m_1 = 0;
1020
+ this.n1o_1 = this.j1o_1.x1n();
1021
+ this.o1o_1 = buildPartialMatchTable(this);
1022
+ this.p1o_1 = new Buffer();
1023
+ this.q1o_1 = 0n;
1024
+ this.r1o_1 = 0;
1025
1025
  }
1026
- protoOf(ByteChannelScanner).n1n = function (ignoreMissing, $completion) {
1026
+ protoOf(ByteChannelScanner).y1p = function (ignoreMissing, $completion) {
1027
1027
  var tmp = new $findNextCOROUTINE$(this, ignoreMissing, $completion);
1028
1028
  tmp.c9_1 = Unit_instance;
1029
1029
  tmp.d9_1 = null;
1030
1030
  return tmp.i9();
1031
1031
  };
1032
1032
  function ByteReadChannel$Companion$Empty$1() {
1033
- this.o1n_1 = null;
1034
- this.p1n_1 = new Buffer();
1033
+ this.z1p_1 = null;
1034
+ this.a1q_1 = new Buffer();
1035
1035
  }
1036
- protoOf(ByteReadChannel$Companion$Empty$1).r1l = function () {
1037
- return this.o1n_1;
1036
+ protoOf(ByteReadChannel$Companion$Empty$1).c1o = function () {
1037
+ return this.z1p_1;
1038
1038
  };
1039
- protoOf(ByteReadChannel$Companion$Empty$1).t1l = function () {
1039
+ protoOf(ByteReadChannel$Companion$Empty$1).e1o = function () {
1040
1040
  return true;
1041
1041
  };
1042
- protoOf(ByteReadChannel$Companion$Empty$1).m1l = function () {
1043
- return this.p1n_1;
1042
+ protoOf(ByteReadChannel$Companion$Empty$1).x1n = function () {
1043
+ return this.a1q_1;
1044
1044
  };
1045
- protoOf(ByteReadChannel$Companion$Empty$1).u1l = function (min, $completion) {
1045
+ protoOf(ByteReadChannel$Companion$Empty$1).f1o = function (min, $completion) {
1046
1046
  return false;
1047
1047
  };
1048
- protoOf(ByteReadChannel$Companion$Empty$1).x1l = function (cause) {
1048
+ protoOf(ByteReadChannel$Companion$Empty$1).i1o = function (cause) {
1049
1049
  };
1050
1050
  function Companion_0() {
1051
1051
  Companion_instance_1 = this;
1052
1052
  var tmp = this;
1053
- tmp.q1n_1 = new ByteReadChannel$Companion$Empty$1();
1053
+ tmp.b1q_1 = new ByteReadChannel$Companion$Empty$1();
1054
1054
  }
1055
1055
  var Companion_instance_1;
1056
1056
  function Companion_getInstance_0() {
@@ -1061,18 +1061,18 @@
1061
1061
  function ByteReadChannel_1() {
1062
1062
  }
1063
1063
  function cancel_0(_this__u8e3s4) {
1064
- _this__u8e3s4.x1l(IOException_init_$Create$('Channel was cancelled'));
1064
+ _this__u8e3s4.i1o(IOException_init_$Create$('Channel was cancelled'));
1065
1065
  }
1066
- function readAvailable(_this__u8e3s4, buffer, offset, length, $completion) {
1067
- offset = offset === VOID ? 0 : offset;
1068
- length = length === VOID ? buffer.length - offset | 0 : length;
1069
- var tmp = new $readAvailableCOROUTINE$(_this__u8e3s4, buffer, offset, length, $completion);
1066
+ function readBuffer(_this__u8e3s4, $completion) {
1067
+ var tmp = new $readBufferCOROUTINE$(_this__u8e3s4, $completion);
1070
1068
  tmp.c9_1 = Unit_instance;
1071
1069
  tmp.d9_1 = null;
1072
1070
  return tmp.i9();
1073
1071
  }
1074
- function copyTo(_this__u8e3s4, channel, $completion) {
1075
- var tmp = new $copyToCOROUTINE$(_this__u8e3s4, channel, $completion);
1072
+ function readAvailable(_this__u8e3s4, buffer, offset, length, $completion) {
1073
+ offset = offset === VOID ? 0 : offset;
1074
+ length = length === VOID ? buffer.length - offset | 0 : length;
1075
+ var tmp = new $readAvailableCOROUTINE$(_this__u8e3s4, buffer, offset, length, $completion);
1076
1076
  tmp.c9_1 = Unit_instance;
1077
1077
  tmp.d9_1 = null;
1078
1078
  return tmp.i9();
@@ -1089,8 +1089,8 @@
1089
1089
  tmp.d9_1 = null;
1090
1090
  return tmp.i9();
1091
1091
  }
1092
- function copyTo_0(_this__u8e3s4, channel, limit, $completion) {
1093
- var tmp = new $copyToCOROUTINE$_0(_this__u8e3s4, channel, limit, $completion);
1092
+ function copyTo(_this__u8e3s4, channel, limit, $completion) {
1093
+ var tmp = new $copyToCOROUTINE$(_this__u8e3s4, channel, limit, $completion);
1094
1094
  tmp.c9_1 = Unit_instance;
1095
1095
  tmp.d9_1 = null;
1096
1096
  return tmp.i9();
@@ -1117,15 +1117,17 @@
1117
1117
  function readUntil(_this__u8e3s4, matchString, writeChannel, limit, ignoreMissing, $completion) {
1118
1118
  limit = limit === VOID ? 9223372036854775807n : limit;
1119
1119
  ignoreMissing = ignoreMissing === VOID ? false : ignoreMissing;
1120
- return (new ByteChannelScanner(_this__u8e3s4, matchString, writeChannel, limit)).n1n(ignoreMissing, $completion);
1120
+ return (new ByteChannelScanner(_this__u8e3s4, matchString, writeChannel, limit)).y1p(ignoreMissing, $completion);
1121
1121
  }
1122
- function readUTF8LineTo(_this__u8e3s4, out, max, lineEnding, $completion) {
1123
- max = max === VOID ? 2147483647 : max;
1124
- lineEnding = lineEnding === VOID ? Companion_getInstance_1().e1r_1 : lineEnding;
1125
- var tmp = new $readUTF8LineToCOROUTINE$(_this__u8e3s4, out, max, lineEnding, $completion);
1126
- tmp.c9_1 = Unit_instance;
1127
- tmp.d9_1 = null;
1128
- return tmp.i9();
1122
+ function readLineStrictTo(_this__u8e3s4, out, limit, lineEnding, $completion) {
1123
+ limit = limit === VOID ? 9223372036854775807n : limit;
1124
+ lineEnding = lineEnding === VOID ? LineEnding_Default_getInstance() : lineEnding;
1125
+ // Inline function 'kotlin.require' call
1126
+ if (!(limit >= 0n)) {
1127
+ var message = 'Limit (' + limit.toString() + ') should be non-negative';
1128
+ throw IllegalArgumentException_init_$Create$(toString_1(message));
1129
+ }
1130
+ return internalReadLineTo(_this__u8e3s4, out, limit, lineEnding.equals(LineEnding_Lenient_getInstance()), true, $completion);
1129
1131
  }
1130
1132
  function readRemaining_0(_this__u8e3s4, max, $completion) {
1131
1133
  var tmp = new $readRemainingCOROUTINE$_0(_this__u8e3s4, max, $completion);
@@ -1134,7 +1136,7 @@
1134
1136
  return tmp.i9();
1135
1137
  }
1136
1138
  function rethrowCloseCauseIfNeeded(_this__u8e3s4) {
1137
- var tmp0_safe_receiver = _this__u8e3s4.r1l();
1139
+ var tmp0_safe_receiver = _this__u8e3s4.c1o();
1138
1140
  if (tmp0_safe_receiver == null)
1139
1141
  null;
1140
1142
  else {
@@ -1143,7 +1145,7 @@
1143
1145
  }
1144
1146
  }
1145
1147
  function rethrowCloseCauseIfNeeded_0(_this__u8e3s4) {
1146
- var tmp0_safe_receiver = _this__u8e3s4.r1l();
1148
+ var tmp0_safe_receiver = _this__u8e3s4.c1o();
1147
1149
  if (tmp0_safe_receiver == null)
1148
1150
  null;
1149
1151
  else {
@@ -1151,14 +1153,8 @@
1151
1153
  throw tmp0_safe_receiver;
1152
1154
  }
1153
1155
  }
1154
- function readBuffer(_this__u8e3s4, $completion) {
1155
- var tmp = new $readBufferCOROUTINE$(_this__u8e3s4, $completion);
1156
- tmp.c9_1 = Unit_instance;
1157
- tmp.d9_1 = null;
1158
- return tmp.i9();
1159
- }
1160
1156
  function get_availableForRead(_this__u8e3s4) {
1161
- return convertToInt(_this__u8e3s4.m1l().so().l1());
1157
+ return convertToInt(_this__u8e3s4.x1n().kp().l1());
1162
1158
  }
1163
1159
  function peek(_this__u8e3s4, count, $completion) {
1164
1160
  var tmp = new $peekCOROUTINE$(_this__u8e3s4, count, $completion);
@@ -1166,8 +1162,20 @@
1166
1162
  tmp.d9_1 = null;
1167
1163
  return tmp.i9();
1168
1164
  }
1165
+ function internalReadLineTo(_this__u8e3s4, out, limit, lenientLineEnding, throwOnIncompleteLine, $completion) {
1166
+ var tmp = new $internalReadLineToCOROUTINE$(_this__u8e3s4, out, limit, lenientLineEnding, throwOnIncompleteLine, $completion);
1167
+ tmp.c9_1 = Unit_instance;
1168
+ tmp.d9_1 = null;
1169
+ return tmp.i9();
1170
+ }
1171
+ function throwEndOfStreamException(consumed) {
1172
+ throw EOFException_init_$Create$('Unexpected end of stream after reading ' + consumed.toString() + ' characters');
1173
+ }
1174
+ function throwTooLongLineException(limit) {
1175
+ throw new TooLongLineException('Line exceeds limit of ' + limit.toString() + ' characters');
1176
+ }
1169
1177
  function rethrowCloseCauseIfNeeded_1(_this__u8e3s4) {
1170
- var tmp0_safe_receiver = _this__u8e3s4.r1l();
1178
+ var tmp0_safe_receiver = _this__u8e3s4.c1o();
1171
1179
  if (tmp0_safe_receiver == null)
1172
1180
  null;
1173
1181
  else {
@@ -1175,53 +1183,88 @@
1175
1183
  throw tmp0_safe_receiver;
1176
1184
  }
1177
1185
  }
1178
- function readUTF8LineTo$checkLineEndingAllowed($lineEnding, lineEndingToCheck) {
1179
- if (!LineEndingMode__contains_impl_q5pr68($lineEnding, lineEndingToCheck)) {
1180
- throw IOException_init_$Create$('Unexpected line ending ' + LineEndingMode__toString_impl_j4h76r(lineEndingToCheck) + ', while expected ' + LineEndingMode__toString_impl_j4h76r($lineEnding));
1186
+ function internalReadLineTo$transferString(readBuffer, $out, consumed, count) {
1187
+ if (count > 0n) {
1188
+ var string = readString(readBuffer, count);
1189
+ $out.k1(string);
1190
+ var tmp0 = consumed._v;
1191
+ // Inline function 'kotlin.Long.plus' call
1192
+ var other = string.length;
1193
+ consumed._v = add(tmp0, fromInt(other));
1181
1194
  }
1182
1195
  }
1183
- function $readAvailableCOROUTINE$(_this__u8e3s4, buffer, offset, length, resultContinuation) {
1196
+ function internalReadLineTo$scanForSoleCr(_this__u8e3s4, $lenientLineEnding, lfIndex, limitLeft) {
1197
+ if (!$lenientLineEnding)
1198
+ return -1n;
1199
+ var tmp;
1200
+ if (lfIndex === -1n) {
1201
+ // Inline function 'kotlin.Long.minus' call
1202
+ var this_0 = get_remaining(_this__u8e3s4);
1203
+ // Inline function 'kotlin.comparisons.minOf' call
1204
+ var b = subtract(this_0, fromInt(1));
1205
+ tmp = limitLeft <= b ? limitLeft : b;
1206
+ } else if (lfIndex === 0n) {
1207
+ tmp = 0n;
1208
+ } else {
1209
+ // Inline function 'kotlin.Long.minus' call
1210
+ tmp = subtract(lfIndex, fromInt(1));
1211
+ }
1212
+ var endIndex = tmp;
1213
+ return indexOf(_this__u8e3s4, 13, VOID, endIndex);
1214
+ }
1215
+ function internalReadLineTo$discardCrlfOrCr(_this__u8e3s4, $this_internalReadLineTo, $lenientLineEnding, $completion) {
1216
+ var tmp = new $internalReadLineTo$discardCrlfOrCrCOROUTINE$(_this__u8e3s4, $this_internalReadLineTo, $lenientLineEnding, $completion);
1217
+ tmp.c9_1 = Unit_instance;
1218
+ tmp.d9_1 = null;
1219
+ return tmp.i9();
1220
+ }
1221
+ function $readBufferCOROUTINE$(_this__u8e3s4, resultContinuation) {
1184
1222
  CoroutineImpl.call(this, resultContinuation);
1185
- this.z1n_1 = _this__u8e3s4;
1186
- this.a1o_1 = buffer;
1187
- this.b1o_1 = offset;
1188
- this.c1o_1 = length;
1223
+ this.k1q_1 = _this__u8e3s4;
1189
1224
  }
1190
- protoOf($readAvailableCOROUTINE$).i9 = function () {
1225
+ protoOf($readBufferCOROUTINE$).i9 = function () {
1191
1226
  var suspendResult = this.c9_1;
1192
1227
  $sm: do
1193
1228
  try {
1194
1229
  var tmp = this.a9_1;
1195
1230
  switch (tmp) {
1196
1231
  case 0:
1197
- this.b9_1 = 3;
1198
- if (this.z1n_1.t1l())
1199
- return -1;
1200
- if (this.z1n_1.m1l().to()) {
1201
- this.a9_1 = 1;
1202
- suspendResult = this.z1n_1.v1l(VOID, this);
1203
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
1204
- return suspendResult;
1205
- }
1206
- continue $sm;
1207
- } else {
1208
- this.a9_1 = 2;
1232
+ this.b9_1 = 4;
1233
+ this.l1q_1 = new Buffer();
1234
+ this.a9_1 = 1;
1235
+ continue $sm;
1236
+ case 1:
1237
+ if (!!this.k1q_1.e1o()) {
1238
+ this.a9_1 = 3;
1209
1239
  continue $sm;
1210
1240
  }
1211
1241
 
1212
- case 1:
1242
+ this.l1q_1.dr(this.k1q_1.x1n());
1213
1243
  this.a9_1 = 2;
1244
+ suspendResult = this.k1q_1.g1o(VOID, this);
1245
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
1246
+ return suspendResult;
1247
+ }
1248
+
1214
1249
  continue $sm;
1215
1250
  case 2:
1216
- if (this.z1n_1.t1l())
1217
- return -1;
1218
- return readAvailable_0(this.z1n_1.m1l(), this.a1o_1, this.b1o_1, this.c1o_1);
1251
+ this.a9_1 = 1;
1252
+ continue $sm;
1219
1253
  case 3:
1254
+ var tmp0_safe_receiver = this.k1q_1.c1o();
1255
+ if (tmp0_safe_receiver == null)
1256
+ null;
1257
+ else {
1258
+ throw tmp0_safe_receiver;
1259
+ }
1260
+
1261
+ return this.l1q_1;
1262
+ case 4:
1220
1263
  throw this.d9_1;
1221
1264
  }
1222
1265
  } catch ($p) {
1223
1266
  var e = $p;
1224
- if (this.b9_1 === 3) {
1267
+ if (this.b9_1 === 4) {
1225
1268
  throw e;
1226
1269
  } else {
1227
1270
  this.a9_1 = this.b9_1;
@@ -1230,97 +1273,48 @@
1230
1273
  }
1231
1274
  while (true);
1232
1275
  };
1233
- function $copyToCOROUTINE$(_this__u8e3s4, channel, resultContinuation) {
1276
+ function $readAvailableCOROUTINE$(_this__u8e3s4, buffer, offset, length, resultContinuation) {
1234
1277
  CoroutineImpl.call(this, resultContinuation);
1235
- this.l1o_1 = _this__u8e3s4;
1236
- this.m1o_1 = channel;
1278
+ this.u1q_1 = _this__u8e3s4;
1279
+ this.v1q_1 = buffer;
1280
+ this.w1q_1 = offset;
1281
+ this.x1q_1 = length;
1237
1282
  }
1238
- protoOf($copyToCOROUTINE$).i9 = function () {
1283
+ protoOf($readAvailableCOROUTINE$).i9 = function () {
1239
1284
  var suspendResult = this.c9_1;
1240
1285
  $sm: do
1241
1286
  try {
1242
1287
  var tmp = this.a9_1;
1243
1288
  switch (tmp) {
1244
1289
  case 0:
1245
- this.b9_1 = 11;
1246
- this.n1o_1 = 0n;
1247
- this.a9_1 = 1;
1248
- continue $sm;
1249
- case 1:
1250
- this.b9_1 = 7;
1251
- this.b9_1 = 6;
1252
- this.a9_1 = 2;
1253
- continue $sm;
1254
- case 2:
1255
- if (!!this.l1o_1.t1l()) {
1256
- this.a9_1 = 5;
1290
+ this.b9_1 = 3;
1291
+ if (this.u1q_1.e1o())
1292
+ return -1;
1293
+ if (this.u1q_1.x1n().lp()) {
1294
+ this.a9_1 = 1;
1295
+ suspendResult = this.u1q_1.g1o(VOID, this);
1296
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
1297
+ return suspendResult;
1298
+ }
1257
1299
  continue $sm;
1258
- }
1259
-
1260
- this.n1o_1 = add(this.n1o_1, this.l1o_1.m1l().wp(this.m1o_1.p1l()));
1261
- this.a9_1 = 3;
1262
- suspendResult = this.m1o_1.k1l(this);
1263
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
1264
- return suspendResult;
1265
- }
1266
-
1267
- continue $sm;
1268
- case 3:
1269
- this.a9_1 = 4;
1270
- suspendResult = this.l1o_1.v1l(VOID, this);
1271
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
1272
- return suspendResult;
1273
- }
1274
-
1275
- continue $sm;
1276
- case 4:
1277
- this.a9_1 = 2;
1278
- continue $sm;
1279
- case 5:
1280
- this.b9_1 = 11;
1281
- this.a9_1 = 9;
1282
- continue $sm;
1283
- case 6:
1284
- this.b9_1 = 7;
1285
- var tmp_0 = this.d9_1;
1286
- if (tmp_0 instanceof Error) {
1287
- var cause = this.d9_1;
1288
- this.l1o_1.x1l(cause);
1289
- close_0(this.m1o_1, cause);
1290
- throw cause;
1291
1300
  } else {
1292
- throw this.d9_1;
1293
- }
1294
-
1295
- case 7:
1296
- this.b9_1 = 11;
1297
- this.o1o_1 = this.d9_1;
1298
- this.a9_1 = 8;
1299
- suspendResult = this.m1o_1.k1l(this);
1300
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
1301
- return suspendResult;
1302
- }
1303
-
1304
- continue $sm;
1305
- case 8:
1306
- throw this.o1o_1;
1307
- case 9:
1308
- this.b9_1 = 11;
1309
- this.a9_1 = 10;
1310
- suspendResult = this.m1o_1.k1l(this);
1311
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
1312
- return suspendResult;
1301
+ this.a9_1 = 2;
1302
+ continue $sm;
1313
1303
  }
1314
1304
 
1305
+ case 1:
1306
+ this.a9_1 = 2;
1315
1307
  continue $sm;
1316
- case 10:
1317
- return this.n1o_1;
1318
- case 11:
1308
+ case 2:
1309
+ if (this.u1q_1.e1o())
1310
+ return -1;
1311
+ return readAvailable_0(this.u1q_1.x1n(), this.v1q_1, this.w1q_1, this.x1q_1);
1312
+ case 3:
1319
1313
  throw this.d9_1;
1320
1314
  }
1321
1315
  } catch ($p) {
1322
1316
  var e = $p;
1323
- if (this.b9_1 === 11) {
1317
+ if (this.b9_1 === 3) {
1324
1318
  throw e;
1325
1319
  } else {
1326
1320
  this.a9_1 = this.b9_1;
@@ -1331,7 +1325,7 @@
1331
1325
  };
1332
1326
  function $readRemainingCOROUTINE$(_this__u8e3s4, resultContinuation) {
1333
1327
  CoroutineImpl.call(this, resultContinuation);
1334
- this.x1o_1 = _this__u8e3s4;
1328
+ this.g1r_1 = _this__u8e3s4;
1335
1329
  }
1336
1330
  protoOf($readRemainingCOROUTINE$).i9 = function () {
1337
1331
  var suspendResult = this.c9_1;
@@ -1341,18 +1335,18 @@
1341
1335
  switch (tmp) {
1342
1336
  case 0:
1343
1337
  this.b9_1 = 4;
1344
- this.y1o_1 = BytePacketBuilder();
1338
+ this.h1r_1 = BytePacketBuilder();
1345
1339
  this.a9_1 = 1;
1346
1340
  continue $sm;
1347
1341
  case 1:
1348
- if (!!this.x1o_1.t1l()) {
1342
+ if (!!this.g1r_1.e1o()) {
1349
1343
  this.a9_1 = 3;
1350
1344
  continue $sm;
1351
1345
  }
1352
1346
 
1353
- this.y1o_1.lq(this.x1o_1.m1l());
1347
+ this.h1r_1.dr(this.g1r_1.x1n());
1354
1348
  this.a9_1 = 2;
1355
- suspendResult = this.x1o_1.v1l(VOID, this);
1349
+ suspendResult = this.g1r_1.g1o(VOID, this);
1356
1350
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1357
1351
  return suspendResult;
1358
1352
  }
@@ -1362,8 +1356,8 @@
1362
1356
  this.a9_1 = 1;
1363
1357
  continue $sm;
1364
1358
  case 3:
1365
- rethrowCloseCauseIfNeeded_0(this.x1o_1);
1366
- return this.y1o_1.so();
1359
+ rethrowCloseCauseIfNeeded_0(this.g1r_1);
1360
+ return this.h1r_1.kp();
1367
1361
  case 4:
1368
1362
  throw this.d9_1;
1369
1363
  }
@@ -1380,7 +1374,7 @@
1380
1374
  };
1381
1375
  function $toByteArrayCOROUTINE$(_this__u8e3s4, resultContinuation) {
1382
1376
  CoroutineImpl.call(this, resultContinuation);
1383
- this.h1p_1 = _this__u8e3s4;
1377
+ this.q1r_1 = _this__u8e3s4;
1384
1378
  }
1385
1379
  protoOf($toByteArrayCOROUTINE$).i9 = function () {
1386
1380
  var suspendResult = this.c9_1;
@@ -1391,7 +1385,7 @@
1391
1385
  case 0:
1392
1386
  this.b9_1 = 2;
1393
1387
  this.a9_1 = 1;
1394
- suspendResult = readBuffer(this.h1p_1, this);
1388
+ suspendResult = readBuffer(this.q1r_1, this);
1395
1389
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1396
1390
  return suspendResult;
1397
1391
  }
@@ -1414,13 +1408,13 @@
1414
1408
  }
1415
1409
  while (true);
1416
1410
  };
1417
- function $copyToCOROUTINE$_0(_this__u8e3s4, channel, limit, resultContinuation) {
1411
+ function $copyToCOROUTINE$(_this__u8e3s4, channel, limit, resultContinuation) {
1418
1412
  CoroutineImpl.call(this, resultContinuation);
1419
- this.q1p_1 = _this__u8e3s4;
1420
- this.r1p_1 = channel;
1421
- this.s1p_1 = limit;
1413
+ this.z1r_1 = _this__u8e3s4;
1414
+ this.a1s_1 = channel;
1415
+ this.b1s_1 = limit;
1422
1416
  }
1423
- protoOf($copyToCOROUTINE$_0).i9 = function () {
1417
+ protoOf($copyToCOROUTINE$).i9 = function () {
1424
1418
  var suspendResult = this.c9_1;
1425
1419
  $sm: do
1426
1420
  try {
@@ -1428,7 +1422,7 @@
1428
1422
  switch (tmp) {
1429
1423
  case 0:
1430
1424
  this.b9_1 = 12;
1431
- this.t1p_1 = this.s1p_1;
1425
+ this.c1s_1 = this.b1s_1;
1432
1426
  this.a9_1 = 1;
1433
1427
  continue $sm;
1434
1428
  case 1:
@@ -1437,14 +1431,14 @@
1437
1431
  this.a9_1 = 2;
1438
1432
  continue $sm;
1439
1433
  case 2:
1440
- if (!(!this.q1p_1.t1l() && this.t1p_1 > 0n)) {
1434
+ if (!(!this.z1r_1.e1o() && this.c1s_1 > 0n)) {
1441
1435
  this.a9_1 = 6;
1442
1436
  continue $sm;
1443
1437
  }
1444
1438
 
1445
- if (this.q1p_1.m1l().to()) {
1439
+ if (this.z1r_1.x1n().lp()) {
1446
1440
  this.a9_1 = 3;
1447
- suspendResult = this.q1p_1.v1l(VOID, this);
1441
+ suspendResult = this.z1r_1.g1o(VOID, this);
1448
1442
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1449
1443
  return suspendResult;
1450
1444
  }
@@ -1458,13 +1452,13 @@
1458
1452
  this.a9_1 = 4;
1459
1453
  continue $sm;
1460
1454
  case 4:
1461
- var tmp0 = this.t1p_1;
1462
- var b = get_remaining(this.q1p_1.m1l());
1455
+ var tmp0 = this.c1s_1;
1456
+ var b = get_remaining(this.z1r_1.x1n());
1463
1457
  var count = tmp0 <= b ? tmp0 : b;
1464
- this.q1p_1.m1l().vp(this.r1p_1.p1l(), count);
1465
- this.t1p_1 = subtract(this.t1p_1, count);
1458
+ this.z1r_1.x1n().nq(this.a1s_1.a1o(), count);
1459
+ this.c1s_1 = subtract(this.c1s_1, count);
1466
1460
  this.a9_1 = 5;
1467
- suspendResult = this.r1p_1.k1l(this);
1461
+ suspendResult = this.a1s_1.v1n(this);
1468
1462
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1469
1463
  return suspendResult;
1470
1464
  }
@@ -1482,8 +1476,8 @@
1482
1476
  var tmp_0 = this.d9_1;
1483
1477
  if (tmp_0 instanceof Error) {
1484
1478
  var cause = this.d9_1;
1485
- this.q1p_1.x1l(cause);
1486
- close_0(this.r1p_1, cause);
1479
+ this.z1r_1.i1o(cause);
1480
+ close_0(this.a1s_1, cause);
1487
1481
  throw cause;
1488
1482
  } else {
1489
1483
  throw this.d9_1;
@@ -1491,27 +1485,27 @@
1491
1485
 
1492
1486
  case 8:
1493
1487
  this.b9_1 = 12;
1494
- this.u1p_1 = this.d9_1;
1488
+ this.d1s_1 = this.d9_1;
1495
1489
  this.a9_1 = 9;
1496
- suspendResult = this.r1p_1.k1l(this);
1490
+ suspendResult = this.a1s_1.v1n(this);
1497
1491
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1498
1492
  return suspendResult;
1499
1493
  }
1500
1494
 
1501
1495
  continue $sm;
1502
1496
  case 9:
1503
- throw this.u1p_1;
1497
+ throw this.d1s_1;
1504
1498
  case 10:
1505
1499
  this.b9_1 = 12;
1506
1500
  this.a9_1 = 11;
1507
- suspendResult = this.r1p_1.k1l(this);
1501
+ suspendResult = this.a1s_1.v1n(this);
1508
1502
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1509
1503
  return suspendResult;
1510
1504
  }
1511
1505
 
1512
1506
  continue $sm;
1513
1507
  case 11:
1514
- return subtract(this.s1p_1, this.t1p_1);
1508
+ return subtract(this.b1s_1, this.c1s_1);
1515
1509
  case 12:
1516
1510
  throw this.d9_1;
1517
1511
  }
@@ -1528,8 +1522,8 @@
1528
1522
  };
1529
1523
  function $discardCOROUTINE$(_this__u8e3s4, max, resultContinuation) {
1530
1524
  CoroutineImpl.call(this, resultContinuation);
1531
- this.d1q_1 = _this__u8e3s4;
1532
- this.e1q_1 = max;
1525
+ this.m1s_1 = _this__u8e3s4;
1526
+ this.n1s_1 = max;
1533
1527
  }
1534
1528
  protoOf($discardCOROUTINE$).i9 = function () {
1535
1529
  var suspendResult = this.c9_1;
@@ -1539,18 +1533,18 @@
1539
1533
  switch (tmp) {
1540
1534
  case 0:
1541
1535
  this.b9_1 = 5;
1542
- this.f1q_1 = this.e1q_1;
1536
+ this.o1s_1 = this.n1s_1;
1543
1537
  this.a9_1 = 1;
1544
1538
  continue $sm;
1545
1539
  case 1:
1546
- if (!(this.f1q_1 > 0n && !this.d1q_1.t1l())) {
1540
+ if (!(this.o1s_1 > 0n && !this.m1s_1.e1o())) {
1547
1541
  this.a9_1 = 4;
1548
1542
  continue $sm;
1549
1543
  }
1550
1544
 
1551
- if (get_availableForRead(this.d1q_1) === 0) {
1545
+ if (get_availableForRead(this.m1s_1) === 0) {
1552
1546
  this.a9_1 = 2;
1553
- suspendResult = this.d1q_1.v1l(VOID, this);
1547
+ suspendResult = this.m1s_1.g1o(VOID, this);
1554
1548
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1555
1549
  return suspendResult;
1556
1550
  }
@@ -1564,15 +1558,15 @@
1564
1558
  this.a9_1 = 3;
1565
1559
  continue $sm;
1566
1560
  case 3:
1567
- var tmp0 = this.f1q_1;
1568
- var b = get_remaining(this.d1q_1.m1l());
1561
+ var tmp0 = this.o1s_1;
1562
+ var b = get_remaining(this.m1s_1.x1n());
1569
1563
  var count = tmp0 <= b ? tmp0 : b;
1570
- discard_0(this.d1q_1.m1l(), count);
1571
- this.f1q_1 = subtract(this.f1q_1, count);
1564
+ discard_0(this.m1s_1.x1n(), count);
1565
+ this.o1s_1 = subtract(this.o1s_1, count);
1572
1566
  this.a9_1 = 1;
1573
1567
  continue $sm;
1574
1568
  case 4:
1575
- return subtract(this.e1q_1, this.f1q_1);
1569
+ return subtract(this.n1s_1, this.o1s_1);
1576
1570
  case 5:
1577
1571
  throw this.d9_1;
1578
1572
  }
@@ -1589,8 +1583,8 @@
1589
1583
  };
1590
1584
  function $skipIfFoundCOROUTINE$(_this__u8e3s4, byteString, resultContinuation) {
1591
1585
  CoroutineImpl.call(this, resultContinuation);
1592
- this.o1q_1 = _this__u8e3s4;
1593
- this.p1q_1 = byteString;
1586
+ this.x1s_1 = _this__u8e3s4;
1587
+ this.y1s_1 = byteString;
1594
1588
  }
1595
1589
  protoOf($skipIfFoundCOROUTINE$).i9 = function () {
1596
1590
  var suspendResult = this.c9_1;
@@ -1601,7 +1595,7 @@
1601
1595
  case 0:
1602
1596
  this.b9_1 = 4;
1603
1597
  this.a9_1 = 1;
1604
- suspendResult = peek(this.o1q_1, this.p1q_1.l1(), this);
1598
+ suspendResult = peek(this.x1s_1, this.y1s_1.l1(), this);
1605
1599
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1606
1600
  return suspendResult;
1607
1601
  }
@@ -1609,9 +1603,9 @@
1609
1603
  continue $sm;
1610
1604
  case 1:
1611
1605
  var ARGUMENT = suspendResult;
1612
- if (equals(ARGUMENT, this.p1q_1)) {
1606
+ if (equals(ARGUMENT, this.y1s_1)) {
1613
1607
  this.a9_1 = 3;
1614
- suspendResult = discard(this.o1q_1, fromInt(this.p1q_1.l1()), this);
1608
+ suspendResult = discard(this.x1s_1, fromInt(this.y1s_1.l1()), this);
1615
1609
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1616
1610
  return suspendResult;
1617
1611
  }
@@ -1641,8 +1635,8 @@
1641
1635
  };
1642
1636
  function $readPacketCOROUTINE$(_this__u8e3s4, packet, resultContinuation) {
1643
1637
  CoroutineImpl.call(this, resultContinuation);
1644
- this.y1q_1 = _this__u8e3s4;
1645
- this.z1q_1 = packet;
1638
+ this.h1t_1 = _this__u8e3s4;
1639
+ this.i1t_1 = packet;
1646
1640
  }
1647
1641
  protoOf($readPacketCOROUTINE$).i9 = function () {
1648
1642
  var suspendResult = this.c9_1;
@@ -1652,18 +1646,18 @@
1652
1646
  switch (tmp) {
1653
1647
  case 0:
1654
1648
  this.b9_1 = 6;
1655
- this.a1r_1 = new Buffer();
1649
+ this.j1t_1 = new Buffer();
1656
1650
  this.a9_1 = 1;
1657
1651
  continue $sm;
1658
1652
  case 1:
1659
- if (!(this.a1r_1.l1() < fromInt(this.z1q_1))) {
1653
+ if (!(this.j1t_1.l1() < fromInt(this.i1t_1))) {
1660
1654
  this.a9_1 = 5;
1661
1655
  continue $sm;
1662
1656
  }
1663
1657
 
1664
- if (this.y1q_1.m1l().to()) {
1658
+ if (this.h1t_1.x1n().lp()) {
1665
1659
  this.a9_1 = 2;
1666
- suspendResult = this.y1q_1.v1l(VOID, this);
1660
+ suspendResult = this.h1t_1.g1o(VOID, this);
1667
1661
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1668
1662
  return suspendResult;
1669
1663
  }
@@ -1677,7 +1671,7 @@
1677
1671
  this.a9_1 = 3;
1678
1672
  continue $sm;
1679
1673
  case 3:
1680
- if (this.y1q_1.t1l()) {
1674
+ if (this.h1t_1.e1o()) {
1681
1675
  this.a9_1 = 5;
1682
1676
  continue $sm;
1683
1677
  } else {
@@ -1686,20 +1680,20 @@
1686
1680
  }
1687
1681
 
1688
1682
  case 4:
1689
- if (get_remaining(this.y1q_1.m1l()) > subtract(numberToLong(this.z1q_1), this.a1r_1.l1())) {
1690
- this.y1q_1.m1l().vp(this.a1r_1, subtract(numberToLong(this.z1q_1), this.a1r_1.l1()));
1683
+ if (get_remaining(this.h1t_1.x1n()) > subtract(numberToLong(this.i1t_1), this.j1t_1.l1())) {
1684
+ this.h1t_1.x1n().nq(this.j1t_1, subtract(numberToLong(this.i1t_1), this.j1t_1.l1()));
1691
1685
  } else {
1692
- this.y1q_1.m1l().wp(this.a1r_1);
1686
+ this.h1t_1.x1n().oq(this.j1t_1);
1693
1687
  }
1694
1688
 
1695
1689
  this.a9_1 = 1;
1696
1690
  continue $sm;
1697
1691
  case 5:
1698
- if (this.a1r_1.l1() < fromInt(this.z1q_1)) {
1699
- throw EOFException_init_$Create$('Not enough data available, required ' + this.z1q_1 + ' bytes but only ' + this.a1r_1.l1().toString() + ' available');
1692
+ if (this.j1t_1.l1() < fromInt(this.i1t_1)) {
1693
+ throw EOFException_init_$Create$('Not enough data available, required ' + this.i1t_1 + ' bytes but only ' + this.j1t_1.l1().toString() + ' available');
1700
1694
  }
1701
1695
 
1702
- return this.a1r_1;
1696
+ return this.j1t_1;
1703
1697
  case 6:
1704
1698
  throw this.d9_1;
1705
1699
  }
@@ -1714,251 +1708,101 @@
1714
1708
  }
1715
1709
  while (true);
1716
1710
  };
1717
- function $readUTF8LineToCOROUTINE$(_this__u8e3s4, out, max, lineEnding, resultContinuation) {
1711
+ function $readRemainingCOROUTINE$_0(_this__u8e3s4, max, resultContinuation) {
1718
1712
  CoroutineImpl.call(this, resultContinuation);
1719
- this.o1r_1 = _this__u8e3s4;
1720
- this.p1r_1 = out;
1721
- this.q1r_1 = max;
1722
- this.r1r_1 = lineEnding;
1713
+ this.s1t_1 = _this__u8e3s4;
1714
+ this.t1t_1 = max;
1723
1715
  }
1724
- protoOf($readUTF8LineToCOROUTINE$).i9 = function () {
1716
+ protoOf($readRemainingCOROUTINE$_0).i9 = function () {
1725
1717
  var suspendResult = this.c9_1;
1726
1718
  $sm: do
1727
1719
  try {
1728
1720
  var tmp = this.a9_1;
1729
1721
  switch (tmp) {
1730
1722
  case 0:
1731
- this.b9_1 = 21;
1732
- if (this.o1r_1.m1l().to()) {
1733
- this.a9_1 = 1;
1734
- suspendResult = this.o1r_1.v1l(VOID, this);
1735
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
1736
- return suspendResult;
1737
- }
1738
- continue $sm;
1739
- } else {
1740
- this.a9_1 = 2;
1741
- continue $sm;
1742
- }
1743
-
1744
- case 1:
1745
- this.a9_1 = 2;
1746
- continue $sm;
1747
- case 2:
1748
- if (this.o1r_1.t1l())
1749
- return false;
1750
- this.x1r_1 = new Buffer();
1751
- this.a9_1 = 3;
1752
- continue $sm;
1753
- case 3:
1754
- this.u1r_1 = this.x1r_1;
1755
- this.t1r_1 = null;
1756
- this.a9_1 = 4;
1757
- continue $sm;
1758
- case 4:
1759
- this.a9_1 = 5;
1760
- continue $sm;
1761
- case 5:
1762
- this.a9_1 = 6;
1763
- continue $sm;
1764
- case 6:
1765
- this.b9_1 = 18;
1766
- this.b9_1 = 17;
1767
- this.w1r_1 = this.u1r_1;
1768
- this.a9_1 = 7;
1769
- continue $sm;
1770
- case 7:
1771
- if (!!this.o1r_1.t1l()) {
1772
- this.a9_1 = 14;
1773
- continue $sm;
1774
- }
1775
-
1776
- this.a9_1 = 8;
1723
+ this.b9_1 = 4;
1724
+ this.u1t_1 = BytePacketBuilder();
1725
+ this.v1t_1 = this.t1t_1;
1726
+ this.a9_1 = 1;
1777
1727
  continue $sm;
1778
- case 8:
1779
- if (!!this.o1r_1.m1l().to()) {
1780
- this.a9_1 = 12;
1728
+ case 1:
1729
+ if (!(!this.s1t_1.e1o() && this.v1t_1 > 0n)) {
1730
+ this.a9_1 = 3;
1781
1731
  continue $sm;
1782
1732
  }
1783
1733
 
1784
- var b = this.o1r_1.m1l().wo();
1785
- if (b === 13) {
1786
- if (this.o1r_1.m1l().to()) {
1787
- this.a9_1 = 10;
1788
- suspendResult = this.o1r_1.v1l(VOID, this);
1789
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
1790
- return suspendResult;
1791
- }
1792
- continue $sm;
1793
- } else {
1794
- this.a9_1 = 11;
1795
- continue $sm;
1796
- }
1734
+ if (this.v1t_1 >= get_remaining(this.s1t_1.x1n())) {
1735
+ this.v1t_1 = subtract(this.v1t_1, get_remaining(this.s1t_1.x1n()));
1736
+ this.s1t_1.x1n().oq(this.u1t_1);
1797
1737
  } else {
1798
- if (b === 10) {
1799
- readUTF8LineTo$checkLineEndingAllowed(this.r1r_1, Companion_getInstance_1().c1r_1);
1800
- this.p1r_1.k1(readString(this.w1r_1));
1801
- this.v1r_1 = true;
1802
- this.b9_1 = 21;
1803
- this.a9_1 = 15;
1804
- continue $sm;
1805
- } else {
1806
- this.w1r_1.mq(b);
1807
- this.a9_1 = 9;
1808
- continue $sm;
1809
- }
1738
+ this.s1t_1.x1n().nq(this.u1t_1, this.v1t_1);
1739
+ this.v1t_1 = 0n;
1810
1740
  }
1811
1741
 
1812
- case 9:
1813
- this.a9_1 = 8;
1814
- continue $sm;
1815
- case 10:
1816
- this.a9_1 = 11;
1817
- continue $sm;
1818
- case 11:
1819
- if (this.o1r_1.m1l().so().op(0n) === 10) {
1820
- readUTF8LineTo$checkLineEndingAllowed(this.r1r_1, Companion_getInstance_1().d1r_1);
1821
- discard_0(this.o1r_1.m1l(), 1n);
1822
- } else {
1823
- readUTF8LineTo$checkLineEndingAllowed(this.r1r_1, Companion_getInstance_1().b1r_1);
1824
- }
1825
-
1826
- this.p1r_1.k1(readString(this.w1r_1));
1827
- this.v1r_1 = true;
1828
- this.b9_1 = 21;
1829
- this.a9_1 = 15;
1830
- continue $sm;
1831
- case 12:
1832
- if (this.w1r_1.l1() >= fromInt(this.q1r_1)) {
1833
- throw new TooLongLineException('Line exceeds limit of ' + this.q1r_1 + ' characters');
1834
- }
1835
-
1836
- this.a9_1 = 13;
1837
- suspendResult = this.o1r_1.v1l(VOID, this);
1742
+ this.a9_1 = 2;
1743
+ suspendResult = this.s1t_1.g1o(VOID, this);
1838
1744
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1839
1745
  return suspendResult;
1840
1746
  }
1841
1747
 
1842
1748
  continue $sm;
1843
- case 13:
1844
- this.a9_1 = 7;
1845
- continue $sm;
1846
- case 14:
1847
- var tmp_0 = this;
1848
- var this_0 = this.w1r_1.l1() > 0n;
1849
- if (this_0) {
1850
- this.p1r_1.k1(readString(this.w1r_1));
1851
- }
1852
-
1853
- tmp_0.v1r_1 = this_0;
1854
- this.b9_1 = 21;
1855
- this.a9_1 = 15;
1856
- var tmp_1 = this;
1857
- continue $sm;
1858
- case 15:
1859
- var tmp_2 = this.v1r_1;
1860
- this.b9_1 = 21;
1861
- closeFinally(this.u1r_1, this.t1r_1);
1862
- return tmp_2;
1863
- case 16:
1864
- this.b9_1 = 21;
1865
- var tmp_3 = this;
1866
- closeFinally(this.u1r_1, this.t1r_1);
1867
- tmp_3.s1r_1 = Unit_instance;
1868
- this.a9_1 = 20;
1869
- continue $sm;
1870
- case 17:
1871
- this.b9_1 = 18;
1872
- var tmp_4 = this.d9_1;
1873
- if (tmp_4 instanceof Error) {
1874
- var e = this.d9_1;
1875
- var tmp_5 = this;
1876
- this.t1r_1 = e;
1877
- throw e;
1878
- } else {
1879
- throw this.d9_1;
1880
- }
1881
-
1882
- case 18:
1883
- this.b9_1 = 21;
1884
- var t = this.d9_1;
1885
- closeFinally(this.u1r_1, this.t1r_1);
1886
- throw t;
1887
- case 19:
1888
- this.b9_1 = 21;
1889
- closeFinally(this.u1r_1, this.t1r_1);
1890
- if (false) {
1891
- this.a9_1 = 3;
1892
- continue $sm;
1893
- }
1894
-
1895
- this.a9_1 = 20;
1749
+ case 2:
1750
+ this.a9_1 = 1;
1896
1751
  continue $sm;
1897
- case 20:
1898
- return Unit_instance;
1899
- case 21:
1752
+ case 3:
1753
+ return this.u1t_1.kp();
1754
+ case 4:
1900
1755
  throw this.d9_1;
1901
1756
  }
1902
1757
  } catch ($p) {
1903
- var e_0 = $p;
1904
- if (this.b9_1 === 21) {
1905
- throw e_0;
1758
+ var e = $p;
1759
+ if (this.b9_1 === 4) {
1760
+ throw e;
1906
1761
  } else {
1907
1762
  this.a9_1 = this.b9_1;
1908
- this.d9_1 = e_0;
1763
+ this.d9_1 = e;
1909
1764
  }
1910
1765
  }
1911
1766
  while (true);
1912
1767
  };
1913
- function $readRemainingCOROUTINE$_0(_this__u8e3s4, max, resultContinuation) {
1768
+ function $peekCOROUTINE$(_this__u8e3s4, count, resultContinuation) {
1914
1769
  CoroutineImpl.call(this, resultContinuation);
1915
- this.g1s_1 = _this__u8e3s4;
1916
- this.h1s_1 = max;
1770
+ this.e1u_1 = _this__u8e3s4;
1771
+ this.f1u_1 = count;
1917
1772
  }
1918
- protoOf($readRemainingCOROUTINE$_0).i9 = function () {
1773
+ protoOf($peekCOROUTINE$).i9 = function () {
1919
1774
  var suspendResult = this.c9_1;
1920
1775
  $sm: do
1921
1776
  try {
1922
1777
  var tmp = this.a9_1;
1923
1778
  switch (tmp) {
1924
1779
  case 0:
1925
- this.b9_1 = 4;
1926
- this.i1s_1 = BytePacketBuilder();
1927
- this.j1s_1 = this.h1s_1;
1780
+ this.b9_1 = 3;
1781
+ if (this.e1u_1.e1o())
1782
+ return null;
1928
1783
  this.a9_1 = 1;
1929
- continue $sm;
1930
- case 1:
1931
- if (!(!this.g1s_1.t1l() && this.j1s_1 > 0n)) {
1932
- this.a9_1 = 3;
1933
- continue $sm;
1934
- }
1935
-
1936
- if (this.j1s_1 >= get_remaining(this.g1s_1.m1l())) {
1937
- this.j1s_1 = subtract(this.j1s_1, get_remaining(this.g1s_1.m1l()));
1938
- this.g1s_1.m1l().wp(this.i1s_1);
1939
- } else {
1940
- this.g1s_1.m1l().vp(this.i1s_1, this.j1s_1);
1941
- this.j1s_1 = 0n;
1942
- }
1943
-
1944
- this.a9_1 = 2;
1945
- suspendResult = this.g1s_1.v1l(VOID, this);
1784
+ suspendResult = this.e1u_1.f1o(this.f1u_1, this);
1946
1785
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1947
1786
  return suspendResult;
1948
1787
  }
1949
1788
 
1950
1789
  continue $sm;
1790
+ case 1:
1791
+ if (!suspendResult) {
1792
+ return null;
1793
+ } else {
1794
+ this.a9_1 = 2;
1795
+ continue $sm;
1796
+ }
1797
+
1951
1798
  case 2:
1952
- this.a9_1 = 1;
1953
- continue $sm;
1799
+ return readByteString(this.e1u_1.x1n().pq(), this.f1u_1);
1954
1800
  case 3:
1955
- return this.i1s_1.so();
1956
- case 4:
1957
1801
  throw this.d9_1;
1958
1802
  }
1959
1803
  } catch ($p) {
1960
1804
  var e = $p;
1961
- if (this.b9_1 === 4) {
1805
+ if (this.b9_1 === 3) {
1962
1806
  throw e;
1963
1807
  } else {
1964
1808
  this.a9_1 = this.b9_1;
@@ -1967,53 +1811,223 @@
1967
1811
  }
1968
1812
  while (true);
1969
1813
  };
1970
- function $readBufferCOROUTINE$(_this__u8e3s4, resultContinuation) {
1814
+ function $internalReadLineToCOROUTINE$(_this__u8e3s4, out, limit, lenientLineEnding, throwOnIncompleteLine, resultContinuation) {
1971
1815
  CoroutineImpl.call(this, resultContinuation);
1972
- this.s1s_1 = _this__u8e3s4;
1816
+ this.o1u_1 = _this__u8e3s4;
1817
+ this.p1u_1 = out;
1818
+ this.q1u_1 = limit;
1819
+ this.r1u_1 = lenientLineEnding;
1820
+ this.s1u_1 = throwOnIncompleteLine;
1973
1821
  }
1974
- protoOf($readBufferCOROUTINE$).i9 = function () {
1822
+ protoOf($internalReadLineToCOROUTINE$).i9 = function () {
1975
1823
  var suspendResult = this.c9_1;
1976
1824
  $sm: do
1977
1825
  try {
1978
1826
  var tmp = this.a9_1;
1979
1827
  switch (tmp) {
1980
1828
  case 0:
1981
- this.b9_1 = 4;
1982
- this.t1s_1 = new Buffer();
1983
- this.a9_1 = 1;
1984
- continue $sm;
1985
- case 1:
1986
- if (!!this.s1s_1.t1l()) {
1987
- this.a9_1 = 3;
1829
+ this.b9_1 = 18;
1830
+ this.u1u_1 = this.o1u_1.x1n();
1831
+ if (this.u1u_1.lp()) {
1832
+ this.a9_1 = 1;
1833
+ suspendResult = this.o1u_1.g1o(VOID, this);
1834
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
1835
+ return suspendResult;
1836
+ }
1837
+ continue $sm;
1838
+ } else {
1839
+ this.a9_1 = 2;
1988
1840
  continue $sm;
1989
1841
  }
1990
1842
 
1991
- this.t1s_1.lq(this.s1s_1.m1l());
1843
+ case 1:
1992
1844
  this.a9_1 = 2;
1993
- suspendResult = this.s1s_1.v1l(VOID, this);
1994
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
1995
- return suspendResult;
1996
- }
1997
-
1998
1845
  continue $sm;
1999
1846
  case 2:
2000
- this.a9_1 = 1;
1847
+ if (this.o1u_1.e1o())
1848
+ return -1n;
1849
+ this.t1u_1 = {_v: 0n};
1850
+ this.a9_1 = 3;
2001
1851
  continue $sm;
2002
1852
  case 3:
2003
- var tmp0_safe_receiver = this.s1s_1.r1l();
2004
- if (tmp0_safe_receiver == null)
2005
- null;
2006
- else {
2007
- throw tmp0_safe_receiver;
1853
+ if (!(this.t1u_1._v < this.q1u_1 && !this.o1u_1.e1o())) {
1854
+ this.a9_1 = 10;
1855
+ continue $sm;
1856
+ }
1857
+
1858
+ var limitLeft = subtract(this.q1u_1, this.t1u_1._v);
1859
+ var lfIndex = indexOf(this.u1u_1, 10, VOID, limitLeft);
1860
+ var crIndex = internalReadLineTo$scanForSoleCr(this.u1u_1, this.r1u_1, lfIndex, limitLeft);
1861
+ if (crIndex >= 0n) {
1862
+ internalReadLineTo$transferString(this.u1u_1, this.p1u_1, this.t1u_1, crIndex);
1863
+ discard_0(this.u1u_1, 1n);
1864
+ return this.t1u_1._v;
1865
+ }
1866
+
1867
+ if (lfIndex === 0n) {
1868
+ discard_0(this.u1u_1, 1n);
1869
+ return this.t1u_1._v;
1870
+ }
1871
+
1872
+ if (lfIndex > 0n) {
1873
+ var tmp_0;
1874
+ var tmp_1 = this.u1u_1.kp();
1875
+ if (tmp_1.gq(subtract(lfIndex, fromInt(1))) === 13) {
1876
+ tmp_0 = 1n;
1877
+ } else {
1878
+ tmp_0 = 0n;
1879
+ }
1880
+ var isCrlf = tmp_0;
1881
+ internalReadLineTo$transferString(this.u1u_1, this.p1u_1, this.t1u_1, subtract(lfIndex, isCrlf));
1882
+ discard_0(this.u1u_1, add(numberToLong(1), isCrlf));
1883
+ return this.t1u_1._v;
1884
+ }
1885
+
1886
+ var b = get_remaining(this.u1u_1);
1887
+ var count = limitLeft <= b ? limitLeft : b;
1888
+ var tmp_2 = this.u1u_1.kp();
1889
+ if (tmp_2.gq(subtract(count, fromInt(1))) === 13) {
1890
+ internalReadLineTo$transferString(this.u1u_1, this.p1u_1, this.t1u_1, subtract(count, fromInt(1)));
1891
+ this.a9_1 = 4;
1892
+ suspendResult = internalReadLineTo$discardCrlfOrCr(this.u1u_1, this.o1u_1, this.r1u_1, this);
1893
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
1894
+ return suspendResult;
1895
+ }
1896
+ continue $sm;
1897
+ } else {
1898
+ internalReadLineTo$transferString(this.u1u_1, this.p1u_1, this.t1u_1, count);
1899
+ this.a9_1 = 6;
1900
+ continue $sm;
2008
1901
  }
2009
1902
 
2010
- return this.t1s_1;
2011
1903
  case 4:
1904
+ if (suspendResult) {
1905
+ return this.t1u_1._v;
1906
+ } else {
1907
+ this.a9_1 = 5;
1908
+ continue $sm;
1909
+ }
1910
+
1911
+ case 5:
1912
+ internalReadLineTo$transferString(this.u1u_1, this.p1u_1, this.t1u_1, 1n);
1913
+ this.a9_1 = 6;
1914
+ continue $sm;
1915
+ case 6:
1916
+ if (this.t1u_1._v < this.q1u_1 && get_remaining(this.u1u_1) === 0n) {
1917
+ this.a9_1 = 7;
1918
+ suspendResult = this.o1u_1.g1o(VOID, this);
1919
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
1920
+ return suspendResult;
1921
+ }
1922
+ continue $sm;
1923
+ } else {
1924
+ this.w1u_1 = false;
1925
+ this.a9_1 = 8;
1926
+ continue $sm;
1927
+ }
1928
+
1929
+ case 7:
1930
+ this.w1u_1 = !suspendResult;
1931
+ this.a9_1 = 8;
1932
+ continue $sm;
1933
+ case 8:
1934
+ if (this.w1u_1) {
1935
+ this.a9_1 = 10;
1936
+ continue $sm;
1937
+ } else {
1938
+ this.a9_1 = 9;
1939
+ continue $sm;
1940
+ }
1941
+
1942
+ case 9:
1943
+ this.a9_1 = 3;
1944
+ continue $sm;
1945
+ case 10:
1946
+ if (this.t1u_1._v === 0n && this.o1u_1.e1o())
1947
+ return -1n;
1948
+ if (!(this.t1u_1._v <= this.q1u_1)) {
1949
+ var message = 'Consumed bytes exceed the limit: ' + this.t1u_1._v.toString() + ' > ' + this.q1u_1.toString() + ". It's an implementation bug, please report it.";
1950
+ throw IllegalStateException_init_$Create$(toString_1(message));
1951
+ }
1952
+
1953
+ if (this.t1u_1._v === this.q1u_1) {
1954
+ if (this.q1u_1 === 9223372036854775807n)
1955
+ throw new TooLongLineException('Max line length exceeded');
1956
+ if (get_remaining(this.u1u_1) === 0n) {
1957
+ this.a9_1 = 12;
1958
+ suspendResult = this.o1u_1.g1o(VOID, this);
1959
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
1960
+ return suspendResult;
1961
+ }
1962
+ continue $sm;
1963
+ } else {
1964
+ this.v1u_1 = false;
1965
+ this.a9_1 = 13;
1966
+ continue $sm;
1967
+ }
1968
+ } else {
1969
+ this.a9_1 = 11;
1970
+ continue $sm;
1971
+ }
1972
+
1973
+ case 11:
1974
+ if (this.s1u_1) {
1975
+ throwEndOfStreamException(this.t1u_1._v);
1976
+ }
1977
+
1978
+ return this.t1u_1._v;
1979
+ case 12:
1980
+ this.v1u_1 = !suspendResult;
1981
+ this.a9_1 = 13;
1982
+ continue $sm;
1983
+ case 13:
1984
+ if (this.v1u_1) {
1985
+ throwEndOfStreamException(this.t1u_1._v);
1986
+ } else {
1987
+ this.a9_1 = 14;
1988
+ continue $sm;
1989
+ }
1990
+
1991
+ break;
1992
+ case 14:
1993
+ var tmp0_subject = this.u1u_1.kp().gq(0n);
1994
+ if (tmp0_subject === 10) {
1995
+ discard_0(this.u1u_1, 1n);
1996
+ return this.t1u_1._v;
1997
+ } else {
1998
+ if (tmp0_subject === 13) {
1999
+ this.a9_1 = 15;
2000
+ suspendResult = internalReadLineTo$discardCrlfOrCr(this.u1u_1, this.o1u_1, this.r1u_1, this);
2001
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
2002
+ return suspendResult;
2003
+ }
2004
+ continue $sm;
2005
+ } else {
2006
+ this.a9_1 = 17;
2007
+ continue $sm;
2008
+ }
2009
+ }
2010
+
2011
+ case 15:
2012
+ if (suspendResult) {
2013
+ return this.t1u_1._v;
2014
+ } else {
2015
+ this.a9_1 = 16;
2016
+ continue $sm;
2017
+ }
2018
+
2019
+ case 16:
2020
+ this.a9_1 = 17;
2021
+ continue $sm;
2022
+ case 17:
2023
+ throwTooLongLineException(this.q1u_1);
2024
+ break;
2025
+ case 18:
2012
2026
  throw this.d9_1;
2013
2027
  }
2014
2028
  } catch ($p) {
2015
2029
  var e = $p;
2016
- if (this.b9_1 === 4) {
2030
+ if (this.b9_1 === 18) {
2017
2031
  throw e;
2018
2032
  } else {
2019
2033
  this.a9_1 = this.b9_1;
@@ -2022,44 +2036,70 @@
2022
2036
  }
2023
2037
  while (true);
2024
2038
  };
2025
- function $peekCOROUTINE$(_this__u8e3s4, count, resultContinuation) {
2039
+ function $internalReadLineTo$discardCrlfOrCrCOROUTINE$(_this__u8e3s4, $this_internalReadLineTo, $lenientLineEnding, resultContinuation) {
2026
2040
  CoroutineImpl.call(this, resultContinuation);
2027
- this.c1t_1 = _this__u8e3s4;
2028
- this.d1t_1 = count;
2041
+ this.f1v_1 = _this__u8e3s4;
2042
+ this.g1v_1 = $this_internalReadLineTo;
2043
+ this.h1v_1 = $lenientLineEnding;
2029
2044
  }
2030
- protoOf($peekCOROUTINE$).i9 = function () {
2045
+ protoOf($internalReadLineTo$discardCrlfOrCrCOROUTINE$).i9 = function () {
2031
2046
  var suspendResult = this.c9_1;
2032
2047
  $sm: do
2033
2048
  try {
2034
2049
  var tmp = this.a9_1;
2035
2050
  switch (tmp) {
2036
2051
  case 0:
2037
- this.b9_1 = 3;
2038
- if (this.c1t_1.t1l())
2039
- return null;
2040
- this.a9_1 = 1;
2041
- suspendResult = this.c1t_1.u1l(this.d1t_1, this);
2042
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
2043
- return suspendResult;
2052
+ this.b9_1 = 5;
2053
+ if (get_remaining(this.f1v_1) >= 2n) {
2054
+ this.j1v_1 = true;
2055
+ this.a9_1 = 2;
2056
+ continue $sm;
2057
+ } else {
2058
+ this.a9_1 = 1;
2059
+ suspendResult = this.g1v_1.f1o(2, this);
2060
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
2061
+ return suspendResult;
2062
+ }
2063
+ continue $sm;
2044
2064
  }
2045
2065
 
2046
- continue $sm;
2047
2066
  case 1:
2048
- if (!suspendResult) {
2049
- return null;
2067
+ this.j1v_1 = suspendResult;
2068
+ this.a9_1 = 2;
2069
+ continue $sm;
2070
+ case 2:
2071
+ if (this.j1v_1) {
2072
+ this.i1v_1 = this.f1v_1.kp().gq(1n) === 10;
2073
+ this.a9_1 = 3;
2074
+ continue $sm;
2050
2075
  } else {
2051
- this.a9_1 = 2;
2076
+ this.i1v_1 = false;
2077
+ this.a9_1 = 3;
2052
2078
  continue $sm;
2053
2079
  }
2054
2080
 
2055
- case 2:
2056
- return readByteString(this.c1t_1.m1l().xp(), this.d1t_1);
2057
2081
  case 3:
2082
+ if (this.i1v_1) {
2083
+ discard_0(this.f1v_1, 2n);
2084
+ return true;
2085
+ } else {
2086
+ this.a9_1 = 4;
2087
+ continue $sm;
2088
+ }
2089
+
2090
+ case 4:
2091
+ if (this.h1v_1) {
2092
+ discard_0(this.f1v_1, 1n);
2093
+ return true;
2094
+ }
2095
+
2096
+ return false;
2097
+ case 5:
2058
2098
  throw this.d9_1;
2059
2099
  }
2060
2100
  } catch ($p) {
2061
2101
  var e = $p;
2062
- if (this.b9_1 === 3) {
2102
+ if (this.b9_1 === 5) {
2063
2103
  throw e;
2064
2104
  } else {
2065
2105
  this.a9_1 = this.b9_1;
@@ -2078,7 +2118,7 @@
2078
2118
  }
2079
2119
  function $flushIfNeededCOROUTINE$(_this__u8e3s4, resultContinuation) {
2080
2120
  CoroutineImpl.call(this, resultContinuation);
2081
- this.m1t_1 = _this__u8e3s4;
2121
+ this.s1v_1 = _this__u8e3s4;
2082
2122
  }
2083
2123
  protoOf($flushIfNeededCOROUTINE$).i9 = function () {
2084
2124
  var suspendResult = this.c9_1;
@@ -2088,10 +2128,10 @@
2088
2128
  switch (tmp) {
2089
2129
  case 0:
2090
2130
  this.b9_1 = 3;
2091
- rethrowCloseCauseIfNeeded_1(this.m1t_1);
2092
- if (this.m1t_1.l1l() || get_size(this.m1t_1.p1l()) >= 1048576) {
2131
+ rethrowCloseCauseIfNeeded_1(this.s1v_1);
2132
+ if (this.s1v_1.w1n() || get_size(this.s1v_1.a1o()) >= 1048576) {
2093
2133
  this.a9_1 = 1;
2094
- suspendResult = this.m1t_1.k1l(this);
2134
+ suspendResult = this.s1v_1.v1n(this);
2095
2135
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2096
2136
  return suspendResult;
2097
2137
  }
@@ -2128,15 +2168,15 @@
2128
2168
  function writeFully(_this__u8e3s4, value, startIndex, endIndex, $completion) {
2129
2169
  startIndex = startIndex === VOID ? 0 : startIndex;
2130
2170
  endIndex = endIndex === VOID ? value.length : endIndex;
2131
- _this__u8e3s4.p1l().cq(value, startIndex, endIndex);
2171
+ _this__u8e3s4.a1o().uq(value, startIndex, endIndex);
2132
2172
  return flushIfNeeded(_this__u8e3s4, $completion);
2133
2173
  }
2134
2174
  function WriterJob(channel, job) {
2135
- this.n1t_1 = channel;
2136
- this.o1t_1 = job;
2175
+ this.t1v_1 = channel;
2176
+ this.u1v_1 = job;
2137
2177
  }
2138
- protoOf(WriterJob).qv = function () {
2139
- return this.o1t_1;
2178
+ protoOf(WriterJob).iw = function () {
2179
+ return this.u1v_1;
2140
2180
  };
2141
2181
  function writer(_this__u8e3s4, coroutineContext, autoFlush, block) {
2142
2182
  coroutineContext = coroutineContext === VOID ? EmptyCoroutineContext_instance : coroutineContext;
@@ -2145,22 +2185,22 @@
2145
2185
  return writer_0(_this__u8e3s4, coroutineContext, new ByteChannel(), block);
2146
2186
  }
2147
2187
  function WriterScope(channel, coroutineContext) {
2148
- this.p1t_1 = channel;
2149
- this.q1t_1 = coroutineContext;
2188
+ this.v1v_1 = channel;
2189
+ this.w1v_1 = coroutineContext;
2150
2190
  }
2151
- protoOf(WriterScope).es = function () {
2152
- return this.q1t_1;
2191
+ protoOf(WriterScope).ws = function () {
2192
+ return this.w1v_1;
2153
2193
  };
2154
2194
  function invokeOnCompletion(_this__u8e3s4, block) {
2155
2195
  _init_properties_ByteWriteChannelOperations_kt__i7slrs();
2156
- return _this__u8e3s4.qv().gt(block);
2196
+ return _this__u8e3s4.iw().yt(block);
2157
2197
  }
2158
2198
  function close_0(_this__u8e3s4, cause) {
2159
2199
  _init_properties_ByteWriteChannelOperations_kt__i7slrs();
2160
2200
  if (cause == null) {
2161
2201
  fireAndForget(ByteWriteChannel$flushAndClose$ref_0(_this__u8e3s4));
2162
2202
  } else {
2163
- _this__u8e3s4.x1l(cause);
2203
+ _this__u8e3s4.i1o(cause);
2164
2204
  }
2165
2205
  }
2166
2206
  function writePacket(_this__u8e3s4, source, $completion) {
@@ -2178,19 +2218,19 @@
2178
2218
  _init_properties_ByteWriteChannelOperations_kt__i7slrs();
2179
2219
  // Inline function 'kotlin.apply' call
2180
2220
  var this_0 = launch(_this__u8e3s4, coroutineContext, VOID, writer$slambda_0(block, channel, null));
2181
- this_0.gt(writer$lambda(channel));
2221
+ this_0.yt(writer$lambda(channel));
2182
2222
  var job = this_0;
2183
2223
  return new WriterJob(channel, job);
2184
2224
  }
2185
2225
  function writeByte(_this__u8e3s4, value, $completion) {
2186
- _this__u8e3s4.p1l().mq(value);
2226
+ _this__u8e3s4.a1o().er(value);
2187
2227
  return flushIfNeeded(_this__u8e3s4, $completion);
2188
2228
  }
2189
2229
  function NO_CALLBACK$1() {
2190
- this.b1u_1 = EmptyCoroutineContext_instance;
2230
+ this.h1w_1 = EmptyCoroutineContext_instance;
2191
2231
  }
2192
2232
  protoOf(NO_CALLBACK$1).g9 = function () {
2193
- return this.b1u_1;
2233
+ return this.h1w_1;
2194
2234
  };
2195
2235
  protoOf(NO_CALLBACK$1).h9 = function (result) {
2196
2236
  return Unit_instance;
@@ -2199,36 +2239,36 @@
2199
2239
  return this.h9(result);
2200
2240
  };
2201
2241
  function ByteWriteChannel$flushAndClose$ref(p0) {
2202
- this.c1u_1 = p0;
2242
+ this.i1w_1 = p0;
2203
2243
  }
2204
- protoOf(ByteWriteChannel$flushAndClose$ref).d1u = function ($completion) {
2205
- return this.c1u_1.w1l($completion);
2244
+ protoOf(ByteWriteChannel$flushAndClose$ref).j1w = function ($completion) {
2245
+ return this.i1w_1.h1o($completion);
2206
2246
  };
2207
2247
  protoOf(ByteWriteChannel$flushAndClose$ref).ra = function ($completion) {
2208
- return this.d1u($completion);
2248
+ return this.j1w($completion);
2209
2249
  };
2210
2250
  function ByteWriteChannel$flushAndClose$ref_0(p0) {
2211
2251
  var i = new ByteWriteChannel$flushAndClose$ref(p0);
2212
2252
  var l = function ($completion) {
2213
- return i.d1u($completion);
2253
+ return i.j1w($completion);
2214
2254
  };
2215
2255
  l.callableName = 'flushAndClose';
2216
2256
  l.$arity = 0;
2217
2257
  return l;
2218
2258
  }
2219
2259
  function writer$slambda($block, $channel, resultContinuation) {
2220
- this.m1u_1 = $block;
2221
- this.n1u_1 = $channel;
2260
+ this.s1w_1 = $block;
2261
+ this.t1w_1 = $channel;
2222
2262
  CoroutineImpl.call(this, resultContinuation);
2223
2263
  }
2224
- protoOf(writer$slambda).v1u = function ($this$launch, $completion) {
2225
- var tmp = this.w1u($this$launch, $completion);
2264
+ protoOf(writer$slambda).b1x = function ($this$launch, $completion) {
2265
+ var tmp = this.c1x($this$launch, $completion);
2226
2266
  tmp.c9_1 = Unit_instance;
2227
2267
  tmp.d9_1 = null;
2228
2268
  return tmp.i9();
2229
2269
  };
2230
2270
  protoOf(writer$slambda).u9 = function (p1, $completion) {
2231
- return this.v1u((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2271
+ return this.b1x((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2232
2272
  };
2233
2273
  protoOf(writer$slambda).i9 = function () {
2234
2274
  var suspendResult = this.c9_1;
@@ -2238,24 +2278,24 @@
2238
2278
  switch (tmp) {
2239
2279
  case 0:
2240
2280
  this.b9_1 = 14;
2241
- this.r1u_1 = Job(get_job(this.o1u_1.es()));
2281
+ this.x1w_1 = Job(get_job(this.u1w_1.ws()));
2242
2282
  this.a9_1 = 1;
2243
2283
  continue $sm;
2244
2284
  case 1:
2245
2285
  this.b9_1 = 4;
2246
2286
  this.b9_1 = 3;
2247
2287
  this.a9_1 = 2;
2248
- suspendResult = this.m1u_1(new WriterScope(this.n1u_1, this.o1u_1.es().ch(this.r1u_1)), this);
2288
+ suspendResult = this.s1w_1(new WriterScope(this.t1w_1, this.u1w_1.ws().ch(this.x1w_1)), this);
2249
2289
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2250
2290
  return suspendResult;
2251
2291
  }
2252
2292
 
2253
2293
  continue $sm;
2254
2294
  case 2:
2255
- this.r1u_1.o10();
2295
+ this.x1w_1.g11();
2256
2296
  var tmp_0;
2257
- if (get_job(this.o1u_1.es()).at()) {
2258
- this.n1u_1.x1l(get_job(this.o1u_1.es()).dt());
2297
+ if (get_job(this.u1w_1.ws()).st()) {
2298
+ this.t1w_1.i1o(get_job(this.u1w_1.ws()).vt());
2259
2299
  tmp_0 = Unit_instance;
2260
2300
  }
2261
2301
 
@@ -2267,8 +2307,8 @@
2267
2307
  var tmp_1 = this.d9_1;
2268
2308
  if (tmp_1 instanceof Error) {
2269
2309
  var cause = this.d9_1;
2270
- cancel(this.r1u_1, 'Exception thrown while writing to channel', cause);
2271
- this.n1u_1.x1l(cause);
2310
+ cancel(this.x1w_1, 'Exception thrown while writing to channel', cause);
2311
+ this.t1w_1.i1o(cause);
2272
2312
  this.b9_1 = 14;
2273
2313
  this.a9_1 = 9;
2274
2314
  continue $sm;
@@ -2278,20 +2318,20 @@
2278
2318
 
2279
2319
  case 4:
2280
2320
  this.b9_1 = 14;
2281
- this.s1u_1 = this.d9_1;
2321
+ this.y1w_1 = this.d9_1;
2282
2322
  this.a9_1 = 5;
2283
- suspendResult = this.r1u_1.kt(this);
2323
+ suspendResult = this.x1w_1.cu(this);
2284
2324
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2285
2325
  return suspendResult;
2286
2326
  }
2287
2327
 
2288
2328
  continue $sm;
2289
2329
  case 5:
2290
- this.o1u_1;
2330
+ this.u1w_1;
2291
2331
  this.b9_1 = 7;
2292
- this.u1u_1 = Companion_instance;
2332
+ this.a1x_1 = Companion_instance;
2293
2333
  this.a9_1 = 6;
2294
- suspendResult = this.n1u_1.w1l(this);
2334
+ suspendResult = this.t1w_1.h1o(this);
2295
2335
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2296
2336
  return suspendResult;
2297
2337
  }
@@ -2299,8 +2339,8 @@
2299
2339
  continue $sm;
2300
2340
  case 6:
2301
2341
  var tmp_2 = this;
2302
- this.u1u_1;
2303
- tmp_2.t1u_1 = _Result___init__impl__xyqfz8(Unit_instance);
2342
+ this.a1x_1;
2343
+ tmp_2.z1w_1 = _Result___init__impl__xyqfz8(Unit_instance);
2304
2344
  this.b9_1 = 14;
2305
2345
  this.a9_1 = 8;
2306
2346
  continue $sm;
@@ -2310,7 +2350,7 @@
2310
2350
  if (tmp_3 instanceof Error) {
2311
2351
  var e = this.d9_1;
2312
2352
  var tmp_4 = this;
2313
- tmp_4.t1u_1 = _Result___init__impl__xyqfz8(createFailure(e));
2353
+ tmp_4.z1w_1 = _Result___init__impl__xyqfz8(createFailure(e));
2314
2354
  this.a9_1 = 8;
2315
2355
  continue $sm;
2316
2356
  } else {
@@ -2319,22 +2359,22 @@
2319
2359
 
2320
2360
  case 8:
2321
2361
  this.b9_1 = 14;
2322
- throw this.s1u_1;
2362
+ throw this.y1w_1;
2323
2363
  case 9:
2324
2364
  this.b9_1 = 14;
2325
2365
  this.a9_1 = 10;
2326
- suspendResult = this.r1u_1.kt(this);
2366
+ suspendResult = this.x1w_1.cu(this);
2327
2367
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2328
2368
  return suspendResult;
2329
2369
  }
2330
2370
 
2331
2371
  continue $sm;
2332
2372
  case 10:
2333
- this.o1u_1;
2373
+ this.u1w_1;
2334
2374
  this.b9_1 = 12;
2335
- this.q1u_1 = Companion_instance;
2375
+ this.w1w_1 = Companion_instance;
2336
2376
  this.a9_1 = 11;
2337
- suspendResult = this.n1u_1.w1l(this);
2377
+ suspendResult = this.t1w_1.h1o(this);
2338
2378
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2339
2379
  return suspendResult;
2340
2380
  }
@@ -2342,8 +2382,8 @@
2342
2382
  continue $sm;
2343
2383
  case 11:
2344
2384
  var tmp_5 = this;
2345
- this.q1u_1;
2346
- tmp_5.p1u_1 = _Result___init__impl__xyqfz8(Unit_instance);
2385
+ this.w1w_1;
2386
+ tmp_5.v1w_1 = _Result___init__impl__xyqfz8(Unit_instance);
2347
2387
  this.b9_1 = 14;
2348
2388
  this.a9_1 = 13;
2349
2389
  continue $sm;
@@ -2353,7 +2393,7 @@
2353
2393
  if (tmp_6 instanceof Error) {
2354
2394
  var e_0 = this.d9_1;
2355
2395
  var tmp_7 = this;
2356
- tmp_7.p1u_1 = _Result___init__impl__xyqfz8(createFailure(e_0));
2396
+ tmp_7.v1w_1 = _Result___init__impl__xyqfz8(createFailure(e_0));
2357
2397
  this.a9_1 = 13;
2358
2398
  continue $sm;
2359
2399
  } else {
@@ -2377,15 +2417,15 @@
2377
2417
  }
2378
2418
  while (true);
2379
2419
  };
2380
- protoOf(writer$slambda).w1u = function ($this$launch, completion) {
2381
- var i = new writer$slambda(this.m1u_1, this.n1u_1, completion);
2382
- i.o1u_1 = $this$launch;
2420
+ protoOf(writer$slambda).c1x = function ($this$launch, completion) {
2421
+ var i = new writer$slambda(this.s1w_1, this.t1w_1, completion);
2422
+ i.u1w_1 = $this$launch;
2383
2423
  return i;
2384
2424
  };
2385
2425
  function writer$slambda_0($block, $channel, resultContinuation) {
2386
2426
  var i = new writer$slambda($block, $channel, resultContinuation);
2387
2427
  var l = function ($this$launch, $completion) {
2388
- return i.v1u($this$launch, $completion);
2428
+ return i.b1x($this$launch, $completion);
2389
2429
  };
2390
2430
  l.$arity = 1;
2391
2431
  return l;
@@ -2393,8 +2433,8 @@
2393
2433
  function writer$lambda($channel) {
2394
2434
  return function (it) {
2395
2435
  var tmp;
2396
- if (!(it == null) && !$channel.q1l()) {
2397
- $channel.x1l(it);
2436
+ if (!(it == null) && !$channel.b1o()) {
2437
+ $channel.i1o(it);
2398
2438
  tmp = Unit_instance;
2399
2439
  }
2400
2440
  return Unit_instance;
@@ -2402,8 +2442,8 @@
2402
2442
  }
2403
2443
  function $writePacketCOROUTINE$(_this__u8e3s4, source, resultContinuation) {
2404
2444
  CoroutineImpl.call(this, resultContinuation);
2405
- this.z1t_1 = _this__u8e3s4;
2406
- this.a1u_1 = source;
2445
+ this.f1w_1 = _this__u8e3s4;
2446
+ this.g1w_1 = source;
2407
2447
  }
2408
2448
  protoOf($writePacketCOROUTINE$).i9 = function () {
2409
2449
  var suspendResult = this.c9_1;
@@ -2416,14 +2456,14 @@
2416
2456
  this.a9_1 = 1;
2417
2457
  continue $sm;
2418
2458
  case 1:
2419
- if (!!this.a1u_1.to()) {
2459
+ if (!!this.g1w_1.lp()) {
2420
2460
  this.a9_1 = 3;
2421
2461
  continue $sm;
2422
2462
  }
2423
2463
 
2424
- this.z1t_1.p1l().gq(this.a1u_1, get_remaining(this.a1u_1));
2464
+ this.f1w_1.a1o().yq(this.g1w_1, get_remaining(this.g1w_1));
2425
2465
  this.a9_1 = 2;
2426
- suspendResult = flushIfNeeded(this.z1t_1, this);
2466
+ suspendResult = flushIfNeeded(this.f1w_1, this);
2427
2467
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2428
2468
  return suspendResult;
2429
2469
  }
@@ -2468,27 +2508,27 @@
2468
2508
  return l;
2469
2509
  }
2470
2510
  function CloseToken(origin) {
2471
- this.n1l_1 = origin;
2511
+ this.y1n_1 = origin;
2472
2512
  }
2473
- protoOf(CloseToken).x1u = function (wrap) {
2474
- var tmp0_subject = this.n1l_1;
2513
+ protoOf(CloseToken).d1x = function (wrap) {
2514
+ var tmp0_subject = this.y1n_1;
2475
2515
  var tmp;
2476
2516
  if (tmp0_subject == null) {
2477
2517
  tmp = null;
2478
2518
  } else {
2479
2519
  if (isInterface(tmp0_subject, CopyableThrowable)) {
2480
- tmp = this.n1l_1.x10();
2520
+ tmp = this.y1n_1.p11();
2481
2521
  } else {
2482
2522
  if (tmp0_subject instanceof CancellationException) {
2483
- tmp = CancellationException_init_$Create$(this.n1l_1.message, this.n1l_1);
2523
+ tmp = CancellationException_init_$Create$(this.y1n_1.message, this.y1n_1);
2484
2524
  } else {
2485
- tmp = wrap(this.n1l_1);
2525
+ tmp = wrap(this.y1n_1);
2486
2526
  }
2487
2527
  }
2488
2528
  }
2489
2529
  return tmp;
2490
2530
  };
2491
- protoOf(CloseToken).s1l = function (wrap, $super) {
2531
+ protoOf(CloseToken).d1o = function (wrap, $super) {
2492
2532
  var tmp;
2493
2533
  if (wrap === VOID) {
2494
2534
  tmp = ClosedByteChannelException$_init_$ref_yjp351();
@@ -2496,10 +2536,10 @@
2496
2536
  tmp = wrap;
2497
2537
  }
2498
2538
  wrap = tmp;
2499
- return $super === VOID ? this.x1u(wrap) : $super.x1u.call(this, wrap);
2539
+ return $super === VOID ? this.d1x(wrap) : $super.d1x.call(this, wrap);
2500
2540
  };
2501
- protoOf(CloseToken).o1l = function (wrap) {
2502
- var tmp0_safe_receiver = this.x1u(wrap);
2541
+ protoOf(CloseToken).z1n = function (wrap) {
2542
+ var tmp0_safe_receiver = this.d1x(wrap);
2503
2543
  var tmp;
2504
2544
  if (tmp0_safe_receiver == null) {
2505
2545
  tmp = null;
@@ -2518,17 +2558,17 @@
2518
2558
  }
2519
2559
  function transferFromDelegate($this) {
2520
2560
  updateConsumed($this);
2521
- var appended = $this.z1u_1.lq($this.y1u_1.m1l());
2522
- $this.a1v_1 = add($this.a1v_1, appended);
2561
+ var appended = $this.f1x_1.dr($this.e1x_1.x1n());
2562
+ $this.g1x_1 = add($this.g1x_1, appended);
2523
2563
  }
2524
2564
  function updateConsumed($this) {
2525
- $this.b1v_1 = add($this.b1v_1, subtract($this.a1v_1, $this.z1u_1.l1()));
2526
- $this.a1v_1 = $this.z1u_1.l1();
2565
+ $this.h1x_1 = add($this.h1x_1, subtract($this.g1x_1, $this.f1x_1.l1()));
2566
+ $this.g1x_1 = $this.f1x_1.l1();
2527
2567
  }
2528
2568
  function $awaitContentCOROUTINE$_0(_this__u8e3s4, min, resultContinuation) {
2529
2569
  CoroutineImpl.call(this, resultContinuation);
2530
- this.k1v_1 = _this__u8e3s4;
2531
- this.l1v_1 = min;
2570
+ this.q1x_1 = _this__u8e3s4;
2571
+ this.r1x_1 = min;
2532
2572
  }
2533
2573
  protoOf($awaitContentCOROUTINE$_0).i9 = function () {
2534
2574
  var suspendResult = this.c9_1;
@@ -2538,12 +2578,12 @@
2538
2578
  switch (tmp) {
2539
2579
  case 0:
2540
2580
  this.b9_1 = 3;
2541
- if (this.k1v_1.m1l().l1() >= fromInt(this.l1v_1)) {
2581
+ if (this.q1x_1.x1n().l1() >= fromInt(this.r1x_1)) {
2542
2582
  return true;
2543
2583
  }
2544
2584
 
2545
2585
  this.a9_1 = 1;
2546
- suspendResult = this.k1v_1.y1u_1.u1l(this.l1v_1, this);
2586
+ suspendResult = this.q1x_1.e1x_1.f1o(this.r1x_1, this);
2547
2587
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2548
2588
  return suspendResult;
2549
2589
  }
@@ -2551,7 +2591,7 @@
2551
2591
  continue $sm;
2552
2592
  case 1:
2553
2593
  if (suspendResult) {
2554
- transferFromDelegate(this.k1v_1);
2594
+ transferFromDelegate(this.q1x_1);
2555
2595
  return true;
2556
2596
  } else {
2557
2597
  this.a9_1 = 2;
@@ -2575,34 +2615,34 @@
2575
2615
  while (true);
2576
2616
  };
2577
2617
  function CountedByteReadChannel(delegate) {
2578
- this.y1u_1 = delegate;
2579
- this.z1u_1 = new Buffer();
2580
- this.a1v_1 = 0n;
2581
- this.b1v_1 = 0n;
2618
+ this.e1x_1 = delegate;
2619
+ this.f1x_1 = new Buffer();
2620
+ this.g1x_1 = 0n;
2621
+ this.h1x_1 = 0n;
2582
2622
  }
2583
- protoOf(CountedByteReadChannel).m1v = function () {
2623
+ protoOf(CountedByteReadChannel).s1x = function () {
2584
2624
  updateConsumed(this);
2585
- return this.b1v_1;
2625
+ return this.h1x_1;
2586
2626
  };
2587
- protoOf(CountedByteReadChannel).r1l = function () {
2588
- return this.y1u_1.r1l();
2627
+ protoOf(CountedByteReadChannel).c1o = function () {
2628
+ return this.e1x_1.c1o();
2589
2629
  };
2590
- protoOf(CountedByteReadChannel).t1l = function () {
2591
- return this.z1u_1.to() && this.y1u_1.t1l();
2630
+ protoOf(CountedByteReadChannel).e1o = function () {
2631
+ return this.f1x_1.lp() && this.e1x_1.e1o();
2592
2632
  };
2593
- protoOf(CountedByteReadChannel).m1l = function () {
2633
+ protoOf(CountedByteReadChannel).x1n = function () {
2594
2634
  transferFromDelegate(this);
2595
- return this.z1u_1;
2635
+ return this.f1x_1;
2596
2636
  };
2597
- protoOf(CountedByteReadChannel).u1l = function (min, $completion) {
2637
+ protoOf(CountedByteReadChannel).f1o = function (min, $completion) {
2598
2638
  var tmp = new $awaitContentCOROUTINE$_0(this, min, $completion);
2599
2639
  tmp.c9_1 = Unit_instance;
2600
2640
  tmp.d9_1 = null;
2601
2641
  return tmp.i9();
2602
2642
  };
2603
- protoOf(CountedByteReadChannel).x1l = function (cause) {
2604
- this.y1u_1.x1l(cause);
2605
- this.z1u_1.l4();
2643
+ protoOf(CountedByteReadChannel).i1o = function (cause) {
2644
+ this.e1x_1.i1o(cause);
2645
+ this.f1x_1.l4();
2606
2646
  };
2607
2647
  function counted(_this__u8e3s4) {
2608
2648
  return new CountedByteReadChannel(_this__u8e3s4);
@@ -2625,6 +2665,27 @@
2625
2665
  ClosedByteChannelException.call(this, cause);
2626
2666
  captureStack(this, ClosedWriteChannelException);
2627
2667
  }
2668
+ var LineEnding_Default_instance;
2669
+ var LineEnding_Lenient_instance;
2670
+ var LineEnding_entriesInitialized;
2671
+ function LineEnding_initEntries() {
2672
+ if (LineEnding_entriesInitialized)
2673
+ return Unit_instance;
2674
+ LineEnding_entriesInitialized = true;
2675
+ LineEnding_Default_instance = new LineEnding('Default', 0);
2676
+ LineEnding_Lenient_instance = new LineEnding('Lenient', 1);
2677
+ }
2678
+ function LineEnding(name, ordinal) {
2679
+ Enum.call(this, name, ordinal);
2680
+ }
2681
+ function LineEnding_Default_getInstance() {
2682
+ LineEnding_initEntries();
2683
+ return LineEnding_Default_instance;
2684
+ }
2685
+ function LineEnding_Lenient_getInstance() {
2686
+ LineEnding_initEntries();
2687
+ return LineEnding_Lenient_instance;
2688
+ }
2628
2689
  function _LineEndingMode___init__impl__jo5bul(mode) {
2629
2690
  return mode;
2630
2691
  }
@@ -2639,21 +2700,21 @@
2639
2700
  }
2640
2701
  function LineEndingMode__toString_impl_j4h76r($this) {
2641
2702
  var tmp;
2642
- if ($this === Companion_getInstance_1().b1r_1) {
2703
+ if ($this === Companion_getInstance_1().t1x_1) {
2643
2704
  tmp = 'CR';
2644
- } else if ($this === Companion_getInstance_1().c1r_1) {
2705
+ } else if ($this === Companion_getInstance_1().u1x_1) {
2645
2706
  tmp = 'LF';
2646
- } else if ($this === Companion_getInstance_1().d1r_1) {
2707
+ } else if ($this === Companion_getInstance_1().v1x_1) {
2647
2708
  tmp = 'CRLF';
2648
2709
  } else {
2649
2710
  // Inline function 'kotlin.collections.filter' call
2650
- var tmp0 = Companion_getInstance_1().f1r_1;
2711
+ var tmp0 = Companion_getInstance_1().x1x_1;
2651
2712
  // Inline function 'kotlin.collections.filterTo' call
2652
2713
  var destination = ArrayList_init_$Create$();
2653
2714
  var _iterator__ex2g4s = tmp0.t();
2654
2715
  while (_iterator__ex2g4s.u()) {
2655
2716
  var element = _iterator__ex2g4s.v();
2656
- var it = element.n1v_1;
2717
+ var it = element.y1x_1;
2657
2718
  if (LineEndingMode__contains_impl_q5pr68($this, it)) {
2658
2719
  destination.j1(element);
2659
2720
  }
@@ -2664,11 +2725,11 @@
2664
2725
  }
2665
2726
  function Companion_1() {
2666
2727
  Companion_instance_2 = this;
2667
- this.b1r_1 = _LineEndingMode___init__impl__jo5bul(1);
2668
- this.c1r_1 = _LineEndingMode___init__impl__jo5bul(2);
2669
- this.d1r_1 = _LineEndingMode___init__impl__jo5bul(4);
2670
- this.e1r_1 = _LineEndingMode___init__impl__jo5bul(7);
2671
- this.f1r_1 = listOf([new LineEndingMode(this.b1r_1), new LineEndingMode(this.c1r_1), new LineEndingMode(this.d1r_1)]);
2728
+ this.t1x_1 = _LineEndingMode___init__impl__jo5bul(1);
2729
+ this.u1x_1 = _LineEndingMode___init__impl__jo5bul(2);
2730
+ this.v1x_1 = _LineEndingMode___init__impl__jo5bul(4);
2731
+ this.w1x_1 = _LineEndingMode___init__impl__jo5bul(7);
2732
+ this.x1x_1 = listOf([new LineEndingMode(this.t1x_1), new LineEndingMode(this.u1x_1), new LineEndingMode(this.v1x_1)]);
2672
2733
  }
2673
2734
  var Companion_instance_2;
2674
2735
  function Companion_getInstance_1() {
@@ -2682,67 +2743,67 @@
2682
2743
  function LineEndingMode__equals_impl_qyr4nk($this, other) {
2683
2744
  if (!(other instanceof LineEndingMode))
2684
2745
  return false;
2685
- if (!($this === other.n1v_1))
2746
+ if (!($this === other.y1x_1))
2686
2747
  return false;
2687
2748
  return true;
2688
2749
  }
2689
2750
  function LineEndingMode(mode) {
2690
2751
  Companion_getInstance_1();
2691
- this.n1v_1 = mode;
2752
+ this.y1x_1 = mode;
2692
2753
  }
2693
2754
  protoOf(LineEndingMode).toString = function () {
2694
- return LineEndingMode__toString_impl_j4h76r(this.n1v_1);
2755
+ return LineEndingMode__toString_impl_j4h76r(this.y1x_1);
2695
2756
  };
2696
2757
  protoOf(LineEndingMode).hashCode = function () {
2697
- return LineEndingMode__hashCode_impl_2mopm4(this.n1v_1);
2758
+ return LineEndingMode__hashCode_impl_2mopm4(this.y1x_1);
2698
2759
  };
2699
2760
  protoOf(LineEndingMode).equals = function (other) {
2700
- return LineEndingMode__equals_impl_qyr4nk(this.n1v_1, other);
2761
+ return LineEndingMode__equals_impl_qyr4nk(this.y1x_1, other);
2701
2762
  };
2702
2763
  function SourceByteReadChannel(source) {
2703
- this.o1v_1 = source;
2704
- this.p1v_1 = null;
2764
+ this.z1x_1 = source;
2765
+ this.a1y_1 = null;
2705
2766
  }
2706
- protoOf(SourceByteReadChannel).r1l = function () {
2707
- var tmp0_safe_receiver = this.p1v_1;
2708
- return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s1l();
2767
+ protoOf(SourceByteReadChannel).c1o = function () {
2768
+ var tmp0_safe_receiver = this.a1y_1;
2769
+ return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d1o();
2709
2770
  };
2710
- protoOf(SourceByteReadChannel).t1l = function () {
2711
- return this.o1v_1.to();
2771
+ protoOf(SourceByteReadChannel).e1o = function () {
2772
+ return this.z1x_1.lp();
2712
2773
  };
2713
- protoOf(SourceByteReadChannel).m1l = function () {
2714
- var tmp0_safe_receiver = this.r1l();
2774
+ protoOf(SourceByteReadChannel).x1n = function () {
2775
+ var tmp0_safe_receiver = this.c1o();
2715
2776
  if (tmp0_safe_receiver == null)
2716
2777
  null;
2717
2778
  else {
2718
2779
  // Inline function 'kotlin.let' call
2719
2780
  throw tmp0_safe_receiver;
2720
2781
  }
2721
- return this.o1v_1.so();
2782
+ return this.z1x_1.kp();
2722
2783
  };
2723
- protoOf(SourceByteReadChannel).u1l = function (min, $completion) {
2724
- var tmp0_safe_receiver = this.r1l();
2784
+ protoOf(SourceByteReadChannel).f1o = function (min, $completion) {
2785
+ var tmp0_safe_receiver = this.c1o();
2725
2786
  if (tmp0_safe_receiver == null)
2726
2787
  null;
2727
2788
  else {
2728
2789
  // Inline function 'kotlin.let' call
2729
2790
  throw tmp0_safe_receiver;
2730
2791
  }
2731
- return this.o1v_1.vo(fromInt(min));
2792
+ return this.z1x_1.np(fromInt(min));
2732
2793
  };
2733
- protoOf(SourceByteReadChannel).x1l = function (cause) {
2734
- if (!(this.p1v_1 == null))
2794
+ protoOf(SourceByteReadChannel).i1o = function (cause) {
2795
+ if (!(this.a1y_1 == null))
2735
2796
  return Unit_instance;
2736
- this.o1v_1.l4();
2797
+ this.z1x_1.l4();
2737
2798
  var tmp = this;
2738
2799
  var tmp1_elvis_lhs = cause == null ? null : cause.message;
2739
- tmp.p1v_1 = new CloseToken(IOException_init_$Create$_0(tmp1_elvis_lhs == null ? 'Channel was cancelled' : tmp1_elvis_lhs, cause));
2800
+ tmp.a1y_1 = new CloseToken(IOException_init_$Create$_0(tmp1_elvis_lhs == null ? 'Channel was cancelled' : tmp1_elvis_lhs, cause));
2740
2801
  };
2741
2802
  function decode(_this__u8e3s4, input, max) {
2742
2803
  max = max === VOID ? 2147483647 : max;
2743
2804
  var tmp0 = fromInt(max);
2744
2805
  // Inline function 'kotlin.comparisons.minOf' call
2745
- var b = input.so().l1();
2806
+ var b = input.kp().l1();
2746
2807
  var tmp$ret$0 = tmp0 <= b ? tmp0 : b;
2747
2808
  // Inline function 'kotlin.text.buildString' call
2748
2809
  var capacity = convertToInt(tmp$ret$0);
@@ -2779,7 +2840,7 @@
2779
2840
  }
2780
2841
  }
2781
2842
  function canRead(_this__u8e3s4) {
2782
- return !_this__u8e3s4.to();
2843
+ return !_this__u8e3s4.lp();
2783
2844
  }
2784
2845
  function readBytes(_this__u8e3s4, count) {
2785
2846
  count = count === VOID ? convertToInt(_this__u8e3s4.l1()) : count;
@@ -2788,32 +2849,35 @@
2788
2849
  function writeFully_0(_this__u8e3s4, buffer, offset, length) {
2789
2850
  offset = offset === VOID ? 0 : offset;
2790
2851
  length = length === VOID ? buffer.length - offset | 0 : length;
2791
- _this__u8e3s4.cq(buffer, offset, offset + length | 0);
2852
+ _this__u8e3s4.uq(buffer, offset, offset + length | 0);
2792
2853
  }
2793
2854
  function BytePacketBuilder() {
2794
2855
  return new Buffer();
2795
2856
  }
2857
+ function build(_this__u8e3s4) {
2858
+ return _this__u8e3s4.kp();
2859
+ }
2796
2860
  function get_size(_this__u8e3s4) {
2797
- return convertToInt(_this__u8e3s4.so().l1());
2861
+ return convertToInt(_this__u8e3s4.kp().l1());
2798
2862
  }
2799
2863
  var ByteReadPacketEmpty;
2800
2864
  function get_remaining(_this__u8e3s4) {
2801
2865
  _init_properties_ByteReadPacket_kt__28475y();
2802
- return _this__u8e3s4.so().l1();
2866
+ return _this__u8e3s4.kp().l1();
2803
2867
  }
2804
2868
  function takeWhile(_this__u8e3s4, block) {
2805
2869
  _init_properties_ByteReadPacket_kt__28475y();
2806
- while (!_this__u8e3s4.to() && block(_this__u8e3s4.so())) {
2870
+ while (!_this__u8e3s4.lp() && block(_this__u8e3s4.kp())) {
2807
2871
  }
2808
2872
  }
2809
2873
  function discard_0(_this__u8e3s4, count) {
2810
2874
  count = count === VOID ? 9223372036854775807n : count;
2811
2875
  _init_properties_ByteReadPacket_kt__28475y();
2812
- _this__u8e3s4.vo(count);
2876
+ _this__u8e3s4.np(count);
2813
2877
  // Inline function 'kotlin.comparisons.minOf' call
2814
2878
  var b = get_remaining(_this__u8e3s4);
2815
2879
  var countToDiscard = count <= b ? count : b;
2816
- _this__u8e3s4.so().qp(countToDiscard);
2880
+ _this__u8e3s4.kp().iq(countToDiscard);
2817
2881
  return countToDiscard;
2818
2882
  }
2819
2883
  var properties_initialized_ByteReadPacket_kt_hw4st4;
@@ -2826,37 +2890,37 @@
2826
2890
  function readAvailable_0(_this__u8e3s4, buffer, offset, length) {
2827
2891
  offset = offset === VOID ? 0 : offset;
2828
2892
  length = length === VOID ? buffer.length - offset | 0 : length;
2829
- var result = _this__u8e3s4.rp(buffer, offset, offset + length | 0);
2893
+ var result = _this__u8e3s4.jq(buffer, offset, offset + length | 0);
2830
2894
  return result === -1 ? 0 : result;
2831
2895
  }
2832
2896
  function readText_0(_this__u8e3s4, charset, max) {
2833
- charset = charset === VOID ? Charsets_getInstance().q1v_1 : charset;
2897
+ charset = charset === VOID ? Charsets_getInstance().b1y_1 : charset;
2834
2898
  max = max === VOID ? 2147483647 : max;
2835
- if (charset.equals(Charsets_getInstance().q1v_1)) {
2899
+ if (charset.equals(Charsets_getInstance().b1y_1)) {
2836
2900
  if (max === 2147483647)
2837
2901
  return readString_0(_this__u8e3s4);
2838
- var tmp0 = _this__u8e3s4.so().l1();
2902
+ var tmp0 = _this__u8e3s4.kp().l1();
2839
2903
  // Inline function 'kotlin.math.min' call
2840
2904
  var b = fromInt(max);
2841
2905
  var count = tmp0 <= b ? tmp0 : b;
2842
- return readString_1(_this__u8e3s4, count);
2906
+ return readString(_this__u8e3s4, count);
2843
2907
  }
2844
- return decode(charset.t1v(), _this__u8e3s4, max);
2908
+ return decode(charset.e1y(), _this__u8e3s4, max);
2845
2909
  }
2846
2910
  function toByteArray_0(_this__u8e3s4, charset) {
2847
- charset = charset === VOID ? Charsets_getInstance().q1v_1 : charset;
2848
- if (charset.equals(Charsets_getInstance().q1v_1))
2911
+ charset = charset === VOID ? Charsets_getInstance().b1y_1 : charset;
2912
+ if (charset.equals(Charsets_getInstance().b1y_1))
2849
2913
  return encodeToByteArray(_this__u8e3s4, VOID, VOID, true);
2850
- return encodeToByteArray_0(charset.u1v(), _this__u8e3s4, 0, _this__u8e3s4.length);
2914
+ return encodeToByteArray_0(charset.f1y(), _this__u8e3s4, 0, _this__u8e3s4.length);
2851
2915
  }
2852
2916
  function writeText(_this__u8e3s4, text, fromIndex, toIndex, charset) {
2853
2917
  fromIndex = fromIndex === VOID ? 0 : fromIndex;
2854
2918
  toIndex = toIndex === VOID ? charSequenceLength(text) : toIndex;
2855
- charset = charset === VOID ? Charsets_getInstance().q1v_1 : charset;
2856
- if (charset === Charsets_getInstance().q1v_1) {
2919
+ charset = charset === VOID ? Charsets_getInstance().b1y_1 : charset;
2920
+ if (charset === Charsets_getInstance().b1y_1) {
2857
2921
  return writeString(_this__u8e3s4, toString_1(text), fromIndex, toIndex);
2858
2922
  }
2859
- encodeToImpl(charset.u1v(), _this__u8e3s4, text, fromIndex, toIndex);
2923
+ encodeToImpl(charset.f1y(), _this__u8e3s4, text, fromIndex, toIndex);
2860
2924
  }
2861
2925
  function get_ByteArrayPool() {
2862
2926
  _init_properties_ByteArrayPool_kt__kfi3uj();
@@ -2866,7 +2930,7 @@
2866
2930
  function ByteArrayPool$1() {
2867
2931
  DefaultPool.call(this, 128);
2868
2932
  }
2869
- protoOf(ByteArrayPool$1).y1v = function () {
2933
+ protoOf(ByteArrayPool$1).j1y = function () {
2870
2934
  return new Int8Array(4096);
2871
2935
  };
2872
2936
  var properties_initialized_ByteArrayPool_kt_td6pfh;
@@ -2880,21 +2944,21 @@
2880
2944
  }
2881
2945
  function NoPoolImpl() {
2882
2946
  }
2883
- protoOf(NoPoolImpl).g1w = function (instance) {
2947
+ protoOf(NoPoolImpl).r1y = function (instance) {
2884
2948
  return Unit_instance;
2885
2949
  };
2886
- protoOf(NoPoolImpl).cv = function () {
2950
+ protoOf(NoPoolImpl).uv = function () {
2887
2951
  return Unit_instance;
2888
2952
  };
2889
2953
  function Companion_2() {
2890
2954
  }
2891
- protoOf(Companion_2).h1w = function (name) {
2955
+ protoOf(Companion_2).s1y = function (name) {
2892
2956
  switch (name) {
2893
2957
  case 'UTF-8':
2894
2958
  case 'utf-8':
2895
2959
  case 'UTF8':
2896
2960
  case 'utf8':
2897
- return Charsets_getInstance().q1v_1;
2961
+ return Charsets_getInstance().b1y_1;
2898
2962
  }
2899
2963
  var tmp;
2900
2964
  var tmp_0;
@@ -2925,11 +2989,11 @@
2925
2989
  tmp = name === 'latin1' || name === 'Latin1';
2926
2990
  }
2927
2991
  if (tmp) {
2928
- return Charsets_getInstance().r1v_1;
2992
+ return Charsets_getInstance().c1y_1;
2929
2993
  }
2930
2994
  throw IllegalArgumentException_init_$Create$('Charset ' + name + ' is not supported');
2931
2995
  };
2932
- protoOf(Companion_2).i1w = function (charset) {
2996
+ protoOf(Companion_2).t1y = function (charset) {
2933
2997
  var tmp;
2934
2998
  switch (charset) {
2935
2999
  case 'UTF-8':
@@ -2984,7 +3048,7 @@
2984
3048
  return Companion_instance_3;
2985
3049
  }
2986
3050
  function Charset(_name) {
2987
- this.s1v_1 = _name;
3051
+ this.d1y_1 = _name;
2988
3052
  }
2989
3053
  protoOf(Charset).equals = function (other) {
2990
3054
  if (this === other)
@@ -2993,18 +3057,18 @@
2993
3057
  return false;
2994
3058
  if (!(other instanceof Charset))
2995
3059
  THROW_CCE();
2996
- return this.s1v_1 === other.s1v_1;
3060
+ return this.d1y_1 === other.d1y_1;
2997
3061
  };
2998
3062
  protoOf(Charset).hashCode = function () {
2999
- return getStringHashCode(this.s1v_1);
3063
+ return getStringHashCode(this.d1y_1);
3000
3064
  };
3001
3065
  protoOf(Charset).toString = function () {
3002
- return this.s1v_1;
3066
+ return this.d1y_1;
3003
3067
  };
3004
3068
  function Charsets() {
3005
3069
  Charsets_instance = this;
3006
- this.q1v_1 = new CharsetImpl('UTF-8');
3007
- this.r1v_1 = new CharsetImpl('ISO-8859-1');
3070
+ this.b1y_1 = new CharsetImpl('UTF-8');
3071
+ this.c1y_1 = new CharsetImpl('ISO-8859-1');
3008
3072
  }
3009
3073
  var Charsets_instance;
3010
3074
  function Charsets_getInstance() {
@@ -3013,37 +3077,39 @@
3013
3077
  return Charsets_instance;
3014
3078
  }
3015
3079
  function CharsetDecoder(_charset) {
3016
- this.j1w_1 = _charset;
3080
+ this.u1y_1 = _charset;
3017
3081
  }
3018
3082
  function MalformedInputException(message) {
3019
3083
  IOException_init_$Init$_0(message, this);
3020
3084
  captureStack(this, MalformedInputException);
3021
3085
  }
3022
3086
  function get_name(_this__u8e3s4) {
3023
- return _this__u8e3s4.s1v_1;
3087
+ return _this__u8e3s4.d1y_1;
3024
3088
  }
3025
3089
  function isSupported(_this__u8e3s4, name) {
3026
- return Companion_instance_3.i1w(name);
3090
+ return Companion_instance_3.t1y(name);
3027
3091
  }
3028
3092
  function forName(_this__u8e3s4, name) {
3029
- return Companion_instance_3.h1w(name);
3093
+ return Companion_instance_3.s1y(name);
3030
3094
  }
3031
3095
  function CharsetEncoder(_charset) {
3032
- this.k1w_1 = _charset;
3096
+ this.v1y_1 = _charset;
3033
3097
  }
3034
3098
  function decode_0(_this__u8e3s4, input, dst, max) {
3035
3099
  var decoder = Decoder(get_name(get_charset(_this__u8e3s4)), true);
3036
- var tmp0 = input.so().l1();
3100
+ var tmp0 = input.kp().l1();
3037
3101
  // Inline function 'kotlin.comparisons.minOf' call
3038
3102
  var b = fromInt(max);
3039
3103
  var count = tmp0 <= b ? tmp0 : b;
3040
- var tmp = readByteArray(input, convertToInt(count));
3041
- var array = tmp instanceof Int8Array ? tmp : THROW_CCE();
3042
- var tmp_0;
3104
+ var array = readByteArray(input, convertToInt(count));
3105
+ var tmp;
3043
3106
  try {
3044
- tmp_0 = decoder.l1w(array);
3107
+ // Inline function 'org.khronos.webgl.toInt8Array' call
3108
+ // Inline function 'kotlin.js.unsafeCast' call
3109
+ // Inline function 'kotlin.js.asDynamic' call
3110
+ tmp = decoder.w1y(array);
3045
3111
  } catch ($p) {
3046
- var tmp_1;
3112
+ var tmp_0;
3047
3113
  if ($p instanceof Error) {
3048
3114
  var cause = $p;
3049
3115
  var tmp0_elvis_lhs = cause.message;
@@ -3052,7 +3118,7 @@
3052
3118
  throw $p;
3053
3119
  }
3054
3120
  }
3055
- var result = tmp_0;
3121
+ var result = tmp;
3056
3122
  dst.k1(result);
3057
3123
  return result.length;
3058
3124
  }
@@ -3063,11 +3129,11 @@
3063
3129
  var message = 'Failed requirement.';
3064
3130
  throw IllegalArgumentException_init_$Create$(toString_1(message));
3065
3131
  }
3066
- if (get_charset_0(_this__u8e3s4).equals(Charsets_getInstance().r1v_1)) {
3132
+ if (get_charset_0(_this__u8e3s4).equals(Charsets_getInstance().c1y_1)) {
3067
3133
  return encodeISO88591(input, fromIndex, toIndex, dst);
3068
3134
  }
3069
3135
  // Inline function 'kotlin.require' call
3070
- if (!(get_charset_0(_this__u8e3s4) === Charsets_getInstance().q1v_1)) {
3136
+ if (!(get_charset_0(_this__u8e3s4) === Charsets_getInstance().b1y_1)) {
3071
3137
  var message_0 = 'Only UTF-8 encoding is supported in JS';
3072
3138
  throw IllegalArgumentException_init_$Create$(toString_1(message_0));
3073
3139
  }
@@ -3077,7 +3143,7 @@
3077
3143
  var result = encoder.encode(tmp$ret$5);
3078
3144
  // Inline function 'kotlin.js.unsafeCast' call
3079
3145
  // Inline function 'kotlin.js.asDynamic' call
3080
- dst.fq(result);
3146
+ dst.xq(result);
3081
3147
  return result.length;
3082
3148
  }
3083
3149
  function encodeToByteArray_0(_this__u8e3s4, input, fromIndex, toIndex) {
@@ -3088,17 +3154,17 @@
3088
3154
  function CharsetImpl(name) {
3089
3155
  Charset.call(this, name);
3090
3156
  }
3091
- protoOf(CharsetImpl).u1v = function () {
3157
+ protoOf(CharsetImpl).f1y = function () {
3092
3158
  return new CharsetEncoderImpl(this);
3093
3159
  };
3094
- protoOf(CharsetImpl).t1v = function () {
3160
+ protoOf(CharsetImpl).e1y = function () {
3095
3161
  return new CharsetDecoderImpl(this);
3096
3162
  };
3097
3163
  function get_charset(_this__u8e3s4) {
3098
- return _this__u8e3s4.j1w_1;
3164
+ return _this__u8e3s4.u1y_1;
3099
3165
  }
3100
3166
  function get_charset_0(_this__u8e3s4) {
3101
- return _this__u8e3s4.k1w_1;
3167
+ return _this__u8e3s4.v1y_1;
3102
3168
  }
3103
3169
  function encodeToByteArrayImpl(_this__u8e3s4, input, fromIndex, toIndex) {
3104
3170
  fromIndex = fromIndex === VOID ? 0 : fromIndex;
@@ -3117,39 +3183,39 @@
3117
3183
  }
3118
3184
  function CharsetEncoderImpl(charset) {
3119
3185
  CharsetEncoder.call(this, charset);
3120
- this.o1w_1 = charset;
3186
+ this.z1y_1 = charset;
3121
3187
  }
3122
3188
  protoOf(CharsetEncoderImpl).toString = function () {
3123
- return 'CharsetEncoderImpl(charset=' + this.o1w_1.toString() + ')';
3189
+ return 'CharsetEncoderImpl(charset=' + this.z1y_1.toString() + ')';
3124
3190
  };
3125
3191
  protoOf(CharsetEncoderImpl).hashCode = function () {
3126
- return this.o1w_1.hashCode();
3192
+ return this.z1y_1.hashCode();
3127
3193
  };
3128
3194
  protoOf(CharsetEncoderImpl).equals = function (other) {
3129
3195
  if (this === other)
3130
3196
  return true;
3131
3197
  if (!(other instanceof CharsetEncoderImpl))
3132
3198
  return false;
3133
- if (!this.o1w_1.equals(other.o1w_1))
3199
+ if (!this.z1y_1.equals(other.z1y_1))
3134
3200
  return false;
3135
3201
  return true;
3136
3202
  };
3137
3203
  function CharsetDecoderImpl(charset) {
3138
3204
  CharsetDecoder.call(this, charset);
3139
- this.q1w_1 = charset;
3205
+ this.b1z_1 = charset;
3140
3206
  }
3141
3207
  protoOf(CharsetDecoderImpl).toString = function () {
3142
- return 'CharsetDecoderImpl(charset=' + this.q1w_1.toString() + ')';
3208
+ return 'CharsetDecoderImpl(charset=' + this.b1z_1.toString() + ')';
3143
3209
  };
3144
3210
  protoOf(CharsetDecoderImpl).hashCode = function () {
3145
- return this.q1w_1.hashCode();
3211
+ return this.b1z_1.hashCode();
3146
3212
  };
3147
3213
  protoOf(CharsetDecoderImpl).equals = function (other) {
3148
3214
  if (this === other)
3149
3215
  return true;
3150
3216
  if (!(other instanceof CharsetDecoderImpl))
3151
3217
  return false;
3152
- if (!this.q1w_1.equals(other.q1w_1))
3218
+ if (!this.b1z_1.equals(other.b1z_1))
3153
3219
  return false;
3154
3220
  return true;
3155
3221
  };
@@ -3183,10 +3249,10 @@
3183
3249
  return this_0;
3184
3250
  }
3185
3251
  function toKtor$1($this_toKtor) {
3186
- this.r1w_1 = $this_toKtor;
3252
+ this.c1z_1 = $this_toKtor;
3187
3253
  }
3188
- protoOf(toKtor$1).l1w = function (buffer) {
3189
- return this.r1w_1.decode(buffer);
3254
+ protoOf(toKtor$1).w1y = function (buffer) {
3255
+ return this.c1z_1.decode(buffer);
3190
3256
  };
3191
3257
  function get_ENCODING_ALIASES() {
3192
3258
  _init_properties_TextDecoderFallback_js_kt__an7r6m();
@@ -3199,18 +3265,18 @@
3199
3265
  }
3200
3266
  var REPLACEMENT;
3201
3267
  function TextDecoderFallback(encoding, fatal) {
3202
- this.s1w_1 = fatal;
3268
+ this.d1z_1 = fatal;
3203
3269
  // Inline function 'kotlin.text.trim' call
3204
3270
  // Inline function 'kotlin.text.lowercase' call
3205
3271
  // Inline function 'kotlin.js.asDynamic' call
3206
3272
  var requestedEncoding = toString_1(trim(isCharSequence(encoding) ? encoding : THROW_CCE())).toLowerCase();
3207
3273
  // Inline function 'kotlin.check' call
3208
- if (!get_ENCODING_ALIASES().m2(requestedEncoding)) {
3274
+ if (!get_ENCODING_ALIASES().n2(requestedEncoding)) {
3209
3275
  var message = encoding + ' is not supported.';
3210
3276
  throw IllegalStateException_init_$Create$(toString_1(message));
3211
3277
  }
3212
3278
  }
3213
- protoOf(TextDecoderFallback).l1w = function (buffer) {
3279
+ protoOf(TextDecoderFallback).w1y = function (buffer) {
3214
3280
  // Inline function 'io.ktor.utils.io.core.buildPacket' call
3215
3281
  var builder = new Buffer();
3216
3282
  var bytes = buffer instanceof Int8Array ? buffer : THROW_CCE();
@@ -3226,7 +3292,7 @@
3226
3292
  var point = toCodePoint(byte);
3227
3293
  if (point < 0) {
3228
3294
  // Inline function 'kotlin.check' call
3229
- if (!!this.s1w_1) {
3295
+ if (!!this.d1z_1) {
3230
3296
  var message = 'Invalid character: ' + point;
3231
3297
  throw IllegalStateException_init_$Create$(toString_1(message));
3232
3298
  }
@@ -3234,9 +3300,9 @@
3234
3300
  continue $l$loop;
3235
3301
  }
3236
3302
  if (point > 255) {
3237
- builder.mq(toByte(point >> 8));
3303
+ builder.er(toByte(point >> 8));
3238
3304
  }
3239
- builder.mq(toByte(point & 255));
3305
+ builder.er(toByte(point & 255));
3240
3306
  }
3241
3307
  while (inductionVariable < last);
3242
3308
  return decodeToString_0(readByteArray_0(builder));
@@ -3266,7 +3332,7 @@
3266
3332
  return false;
3267
3333
  }
3268
3334
  function ioDispatcher() {
3269
- return Dispatchers_getInstance().n14_1;
3335
+ return Dispatchers_getInstance().m15_1;
3270
3336
  }
3271
3337
  function encodeISO88591(input, fromIndex, toIndex, dst) {
3272
3338
  if (fromIndex >= toIndex)
@@ -3282,7 +3348,7 @@
3282
3348
  if (character > 255) {
3283
3349
  failedToMapError(character);
3284
3350
  }
3285
- dst.mq(toByte(character));
3351
+ dst.er(toByte(character));
3286
3352
  }
3287
3353
  while (inductionVariable < toIndex);
3288
3354
  return toIndex - fromIndex | 0;
@@ -3304,64 +3370,64 @@
3304
3370
  }
3305
3371
  }
3306
3372
  function DefaultPool(capacity) {
3307
- this.z1v_1 = capacity;
3373
+ this.k1y_1 = capacity;
3308
3374
  var tmp = this;
3309
3375
  // Inline function 'kotlin.arrayOfNulls' call
3310
- var size = this.z1v_1;
3311
- tmp.a1w_1 = Array(size);
3312
- this.b1w_1 = 0;
3376
+ var size = this.k1y_1;
3377
+ tmp.l1y_1 = Array(size);
3378
+ this.m1y_1 = 0;
3313
3379
  }
3314
- protoOf(DefaultPool).c1w = function (instance) {
3380
+ protoOf(DefaultPool).n1y = function (instance) {
3315
3381
  };
3316
- protoOf(DefaultPool).d1w = function (instance) {
3382
+ protoOf(DefaultPool).o1y = function (instance) {
3317
3383
  return instance;
3318
3384
  };
3319
- protoOf(DefaultPool).e1w = function (instance) {
3385
+ protoOf(DefaultPool).p1y = function (instance) {
3320
3386
  };
3321
- protoOf(DefaultPool).f1w = function () {
3322
- if (this.b1w_1 === 0)
3323
- return this.y1v();
3324
- this.b1w_1 = this.b1w_1 - 1 | 0;
3325
- var idx = this.b1w_1;
3326
- var tmp = this.a1w_1[idx];
3387
+ protoOf(DefaultPool).q1y = function () {
3388
+ if (this.m1y_1 === 0)
3389
+ return this.j1y();
3390
+ this.m1y_1 = this.m1y_1 - 1 | 0;
3391
+ var idx = this.m1y_1;
3392
+ var tmp = this.l1y_1[idx];
3327
3393
  var instance = !(tmp == null) ? tmp : THROW_CCE();
3328
- this.a1w_1[idx] = null;
3329
- return this.d1w(instance);
3394
+ this.l1y_1[idx] = null;
3395
+ return this.o1y(instance);
3330
3396
  };
3331
- protoOf(DefaultPool).g1w = function (instance) {
3332
- this.e1w(instance);
3333
- if (this.b1w_1 === this.z1v_1) {
3334
- this.c1w(instance);
3397
+ protoOf(DefaultPool).r1y = function (instance) {
3398
+ this.p1y(instance);
3399
+ if (this.m1y_1 === this.k1y_1) {
3400
+ this.n1y(instance);
3335
3401
  } else {
3336
- var _unary__edvuaz = this.b1w_1;
3337
- this.b1w_1 = _unary__edvuaz + 1 | 0;
3338
- this.a1w_1[_unary__edvuaz] = instance;
3402
+ var _unary__edvuaz = this.m1y_1;
3403
+ this.m1y_1 = _unary__edvuaz + 1 | 0;
3404
+ this.l1y_1[_unary__edvuaz] = instance;
3339
3405
  }
3340
3406
  };
3341
- protoOf(DefaultPool).cv = function () {
3407
+ protoOf(DefaultPool).uv = function () {
3342
3408
  var inductionVariable = 0;
3343
- var last = this.b1w_1;
3409
+ var last = this.m1y_1;
3344
3410
  if (inductionVariable < last)
3345
3411
  do {
3346
3412
  var i = inductionVariable;
3347
3413
  inductionVariable = inductionVariable + 1 | 0;
3348
- var tmp = this.a1w_1[i];
3414
+ var tmp = this.l1y_1[i];
3349
3415
  var instance = !(tmp == null) ? tmp : THROW_CCE();
3350
- this.a1w_1[i] = null;
3351
- this.c1w(instance);
3416
+ this.l1y_1[i] = null;
3417
+ this.n1y(instance);
3352
3418
  }
3353
3419
  while (inductionVariable < last);
3354
- this.b1w_1 = 0;
3420
+ this.m1y_1 = 0;
3355
3421
  };
3356
3422
  //region block: post-declaration
3357
- protoOf(Read).p1j = resume;
3358
- protoOf(Read).q1j = resume_0;
3359
- protoOf(Write).p1j = resume;
3360
- protoOf(Write).q1j = resume_0;
3361
- protoOf(ByteChannel).v1l = awaitContent$default;
3362
- protoOf(ByteReadChannel$Companion$Empty$1).v1l = awaitContent$default;
3363
- protoOf(CountedByteReadChannel).v1l = awaitContent$default;
3364
- protoOf(SourceByteReadChannel).v1l = awaitContent$default;
3423
+ protoOf(Read).a1m = resume;
3424
+ protoOf(Read).b1m = resume_0;
3425
+ protoOf(Write).a1m = resume;
3426
+ protoOf(Write).b1m = resume_0;
3427
+ protoOf(ByteChannel).g1o = awaitContent$default;
3428
+ protoOf(ByteReadChannel$Companion$Empty$1).g1o = awaitContent$default;
3429
+ protoOf(CountedByteReadChannel).g1o = awaitContent$default;
3430
+ protoOf(SourceByteReadChannel).g1o = awaitContent$default;
3365
3431
  protoOf(DefaultPool).l4 = close;
3366
3432
  protoOf(NoPoolImpl).l4 = close;
3367
3433
  //endregion
@@ -3371,14 +3437,14 @@
3371
3437
  //endregion
3372
3438
  //region block: exports
3373
3439
  _.$_$ = _.$_$ || {};
3374
- _.$_$.a = copyTo_0;
3375
- _.$_$.b = copyTo;
3376
- _.$_$.c = discard;
3377
- _.$_$.d = readAvailable;
3378
- _.$_$.e = readPacket;
3379
- _.$_$.f = readRemaining;
3380
- _.$_$.g = readRemaining_0;
3381
- _.$_$.h = readUTF8LineTo;
3440
+ _.$_$.a = copyTo;
3441
+ _.$_$.b = discard;
3442
+ _.$_$.c = readAvailable;
3443
+ _.$_$.d = readBuffer;
3444
+ _.$_$.e = readLineStrictTo;
3445
+ _.$_$.f = readPacket;
3446
+ _.$_$.g = readRemaining;
3447
+ _.$_$.h = readRemaining_0;
3382
3448
  _.$_$.i = readUntil;
3383
3449
  _.$_$.j = skipIfFound;
3384
3450
  _.$_$.k = toByteArray;
@@ -3394,29 +3460,32 @@
3394
3460
  _.$_$.u = forName;
3395
3461
  _.$_$.v = isSupported;
3396
3462
  _.$_$.w = get_name;
3397
- _.$_$.x = canRead;
3398
- _.$_$.y = discard_0;
3399
- _.$_$.z = readAvailable_0;
3400
- _.$_$.a1 = readText_0;
3401
- _.$_$.b1 = get_remaining;
3402
- _.$_$.c1 = takeWhile;
3403
- _.$_$.d1 = toByteArray_0;
3404
- _.$_$.e1 = writeFully_0;
3405
- _.$_$.f1 = writeText;
3406
- _.$_$.g1 = get_ByteArrayPool;
3407
- _.$_$.h1 = DefaultPool;
3408
- _.$_$.i1 = NoPoolImpl;
3409
- _.$_$.j1 = ByteChannel;
3410
- _.$_$.k1 = ByteReadChannel;
3411
- _.$_$.l1 = ByteReadChannel_1;
3412
- _.$_$.m1 = WriterScope;
3413
- _.$_$.n1 = cancel_0;
3414
- _.$_$.o1 = close_0;
3415
- _.$_$.p1 = counted;
3416
- _.$_$.q1 = invokeOnCompletion;
3417
- _.$_$.r1 = ioDispatcher;
3418
- _.$_$.s1 = readText;
3419
- _.$_$.t1 = writer;
3463
+ _.$_$.x = BytePacketBuilder;
3464
+ _.$_$.y = build;
3465
+ _.$_$.z = canRead;
3466
+ _.$_$.a1 = discard_0;
3467
+ _.$_$.b1 = readText_0;
3468
+ _.$_$.c1 = get_remaining;
3469
+ _.$_$.d1 = get_size;
3470
+ _.$_$.e1 = takeWhile;
3471
+ _.$_$.f1 = toByteArray_0;
3472
+ _.$_$.g1 = writeFully_0;
3473
+ _.$_$.h1 = writeText;
3474
+ _.$_$.i1 = get_ByteArrayPool;
3475
+ _.$_$.j1 = DefaultPool;
3476
+ _.$_$.k1 = NoPoolImpl;
3477
+ _.$_$.l1 = ByteChannel;
3478
+ _.$_$.m1 = ByteReadChannel;
3479
+ _.$_$.n1 = ByteReadChannel_1;
3480
+ _.$_$.o1 = ClosedByteChannelException;
3481
+ _.$_$.p1 = WriterScope;
3482
+ _.$_$.q1 = cancel_0;
3483
+ _.$_$.r1 = close_0;
3484
+ _.$_$.s1 = counted;
3485
+ _.$_$.t1 = invokeOnCompletion;
3486
+ _.$_$.u1 = ioDispatcher;
3487
+ _.$_$.v1 = readText;
3488
+ _.$_$.w1 = writer;
3420
3489
  //endregion
3421
3490
  return _;
3422
3491
  }(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-coroutines-core.js'), require('./kotlinx-io-kotlinx-io-core.js'), require('./kotlinx-atomicfu.js'), require('./kotlinx-io-kotlinx-io-bytestring.js')));