client_plugin_logic_deb 1.8.468 → 1.8.469
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kosi-Kaverit-kaverit.js +73 -73
- package/Kosi-Kodein-kodein-di.js +608 -608
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1620 -1620
- package/Logic_Debertz-ai_module.js +583 -583
- package/Logic_Debertz-bot_engine.js +3274 -0
- package/Logic_Debertz-bot_engine.js.map +1 -0
- package/Logic_Debertz-client_plugin.d.ts +4 -2
- package/Logic_Debertz-client_plugin.js +5221 -5038
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +2129 -2129
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +18320 -18143
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +12500 -12443
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +2118 -2059
- package/Logic_Debertz-game_server.js.map +1 -1
- package/error-library-error.js +5 -5
- package/kotlin-kotlin-stdlib.js +2514 -2329
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +22 -22
- package/kotlinx-coroutines-core.js +3367 -3367
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js +46 -46
- package/kotlinx-io-kotlinx-io-core.js +576 -576
- package/kotlinx-serialization-kotlinx-serialization-core.js +1857 -1857
- package/kotlinx-serialization-kotlinx-serialization-json.js +1447 -1447
- package/ktor-ktor-client-content-negotiation.js +210 -210
- package/ktor-ktor-client-core.js +3042 -3042
- package/ktor-ktor-client-logging.js +1120 -1120
- package/ktor-ktor-events.js +11 -11
- package/ktor-ktor-http-cio.js +522 -522
- package/ktor-ktor-http.js +733 -733
- package/ktor-ktor-io.js +1101 -1101
- package/ktor-ktor-serialization-kotlinx-json.js +6 -6
- package/ktor-ktor-serialization-kotlinx.js +246 -246
- package/ktor-ktor-serialization.js +119 -119
- package/ktor-ktor-utils.js +834 -834
- package/ktor-ktor-websockets.js +50 -50
- package/package.json +1 -1
- package/random-library-crypto-rand.js +12 -12
- package/random-library-secure-random.js +7 -7
- package/raspberry-cardgame-lib-core.js +256 -256
- package/raspberry-cardgame-lib-logger.js +102 -102
- package/raspberry-cardgame-lib-random.js +997 -997
- package/uuid.js +27 -27
package/ktor-ktor-io.js
CHANGED
|
@@ -27,93 +27,93 @@
|
|
|
27
27
|
var Companion_instance = kotlin_kotlin.$_$.f5;
|
|
28
28
|
var Unit_instance = kotlin_kotlin.$_$.k5;
|
|
29
29
|
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.y2;
|
|
30
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
31
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
32
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
33
|
-
var toString = kotlin_kotlin.$_$.
|
|
34
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
35
|
-
var equals = kotlin_kotlin.$_$.
|
|
36
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
37
|
-
var createFailure = kotlin_kotlin.$_$.
|
|
38
|
-
var Result = kotlin_kotlin.$_$.
|
|
39
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
40
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
41
|
-
var newThrowable = kotlin_kotlin.$_$.
|
|
42
|
-
var stackTraceToString = kotlin_kotlin.$_$.
|
|
30
|
+
var protoOf = kotlin_kotlin.$_$.ne;
|
|
31
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.nd;
|
|
32
|
+
var initMetadataForObject = kotlin_kotlin.$_$.sd;
|
|
33
|
+
var toString = kotlin_kotlin.$_$.gk;
|
|
34
|
+
var hashCode = kotlin_kotlin.$_$.ld;
|
|
35
|
+
var equals = kotlin_kotlin.$_$.ed;
|
|
36
|
+
var initMetadataForClass = kotlin_kotlin.$_$.md;
|
|
37
|
+
var createFailure = kotlin_kotlin.$_$.tj;
|
|
38
|
+
var Result = kotlin_kotlin.$_$.aj;
|
|
39
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.qd;
|
|
40
|
+
var toString_0 = kotlin_kotlin.$_$.uh;
|
|
41
|
+
var newThrowable = kotlin_kotlin.$_$.he;
|
|
42
|
+
var stackTraceToString = kotlin_kotlin.$_$.ek;
|
|
43
43
|
var VOID = kotlin_kotlin.$_$.b;
|
|
44
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
45
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
46
|
-
var fromInt = kotlin_kotlin.$_$.
|
|
47
|
-
var compare = kotlin_kotlin.$_$.
|
|
48
|
-
var numberToLong = kotlin_kotlin.$_$.
|
|
49
|
-
var add = kotlin_kotlin.$_$.
|
|
50
|
-
var intercepted = kotlin_kotlin.$_$.
|
|
44
|
+
var isInterface = kotlin_kotlin.$_$.be;
|
|
45
|
+
var CoroutineImpl = kotlin_kotlin.$_$.ob;
|
|
46
|
+
var fromInt = kotlin_kotlin.$_$.ec;
|
|
47
|
+
var compare = kotlin_kotlin.$_$.yb;
|
|
48
|
+
var numberToLong = kotlin_kotlin.$_$.lc;
|
|
49
|
+
var add = kotlin_kotlin.$_$.ub;
|
|
50
|
+
var intercepted = kotlin_kotlin.$_$.bb;
|
|
51
51
|
var CancellableContinuationImpl = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.m1;
|
|
52
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
52
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.bk;
|
|
53
53
|
var returnIfSuspended = kotlin_kotlin.$_$.g;
|
|
54
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
55
|
-
var Long = kotlin_kotlin.$_$.
|
|
56
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
54
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ya;
|
|
55
|
+
var Long = kotlin_kotlin.$_$.wi;
|
|
56
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.od;
|
|
57
57
|
var Buffer = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.j;
|
|
58
58
|
var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.e;
|
|
59
|
-
var convertToInt = kotlin_kotlin.$_$.
|
|
60
|
-
var IllegalStateException = kotlin_kotlin.$_$.
|
|
59
|
+
var convertToInt = kotlin_kotlin.$_$.ac;
|
|
60
|
+
var IllegalStateException = kotlin_kotlin.$_$.vi;
|
|
61
61
|
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.t1;
|
|
62
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
62
|
+
var captureStack = kotlin_kotlin.$_$.vc;
|
|
63
63
|
var IOException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.c;
|
|
64
64
|
var decodeToString = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.d;
|
|
65
|
-
var replace = kotlin_kotlin.$_$.
|
|
65
|
+
var replace = kotlin_kotlin.$_$.yg;
|
|
66
66
|
var indexOf = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.n;
|
|
67
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
68
|
-
var equalsLong = kotlin_kotlin.$_$.
|
|
69
|
-
var get_ONE = kotlin_kotlin.$_$.
|
|
70
|
-
var toString_1 = kotlin_kotlin.$_$.
|
|
67
|
+
var THROW_CCE = kotlin_kotlin.$_$.cj;
|
|
68
|
+
var equalsLong = kotlin_kotlin.$_$.dc;
|
|
69
|
+
var get_ONE = kotlin_kotlin.$_$.tb;
|
|
70
|
+
var toString_1 = kotlin_kotlin.$_$.qe;
|
|
71
71
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.o1;
|
|
72
|
-
var subtract = kotlin_kotlin.$_$.
|
|
72
|
+
var subtract = kotlin_kotlin.$_$.pc;
|
|
73
73
|
var EOFException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
|
|
74
74
|
var readString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.t;
|
|
75
|
-
var closeFinally = kotlin_kotlin.$_$.
|
|
75
|
+
var closeFinally = kotlin_kotlin.$_$.rj;
|
|
76
76
|
var readByteString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.q;
|
|
77
77
|
var EmptyCoroutineContext_getInstance = kotlin_kotlin.$_$.o4;
|
|
78
78
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t1;
|
|
79
79
|
var launch = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e2;
|
|
80
80
|
var startCoroutineCancellable = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.k1;
|
|
81
|
-
var Continuation = kotlin_kotlin.$_$.
|
|
82
|
-
var initMetadataForFunctionReference = kotlin_kotlin.$_$.
|
|
81
|
+
var Continuation = kotlin_kotlin.$_$.ib;
|
|
82
|
+
var initMetadataForFunctionReference = kotlin_kotlin.$_$.pd;
|
|
83
83
|
var get_job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d2;
|
|
84
84
|
var Job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.u1;
|
|
85
85
|
var cancel = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a2;
|
|
86
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
86
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.rd;
|
|
87
87
|
var CancellationException_init_$Create$ = kotlin_kotlin.$_$.z;
|
|
88
|
-
var CancellationException = kotlin_kotlin.$_$.
|
|
88
|
+
var CancellationException = kotlin_kotlin.$_$.xa;
|
|
89
89
|
var CopyableThrowable = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.q1;
|
|
90
90
|
var readString_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.r;
|
|
91
91
|
var IOException = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.k;
|
|
92
92
|
var IOException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.d;
|
|
93
93
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
|
|
94
|
-
var listOf = kotlin_kotlin.$_$.
|
|
94
|
+
var listOf = kotlin_kotlin.$_$.v8;
|
|
95
95
|
var IOException_init_$Create$_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.e;
|
|
96
96
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.b1;
|
|
97
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
97
|
+
var charSequenceLength = kotlin_kotlin.$_$.ad;
|
|
98
98
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.s1;
|
|
99
99
|
var readByteArray = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.o;
|
|
100
100
|
var readString_1 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.s;
|
|
101
|
-
var encodeToByteArray = kotlin_kotlin.$_$.
|
|
101
|
+
var encodeToByteArray = kotlin_kotlin.$_$.fg;
|
|
102
102
|
var writeString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.u;
|
|
103
|
-
var AutoCloseable = kotlin_kotlin.$_$.
|
|
103
|
+
var AutoCloseable = kotlin_kotlin.$_$.ki;
|
|
104
104
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.q2;
|
|
105
|
-
var replace_0 = kotlin_kotlin.$_$.
|
|
106
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
105
|
+
var replace_0 = kotlin_kotlin.$_$.zg;
|
|
106
|
+
var getStringHashCode = kotlin_kotlin.$_$.kd;
|
|
107
107
|
var IOException_init_$Init$_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.b;
|
|
108
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
108
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.bd;
|
|
109
109
|
var readByteArray_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.p;
|
|
110
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
111
|
-
var trim = kotlin_kotlin.$_$.
|
|
112
|
-
var toByte = kotlin_kotlin.$_$.
|
|
113
|
-
var decodeToString_0 = kotlin_kotlin.$_$.
|
|
114
|
-
var setOf = kotlin_kotlin.$_$.
|
|
110
|
+
var isCharSequence = kotlin_kotlin.$_$.xd;
|
|
111
|
+
var trim = kotlin_kotlin.$_$.ci;
|
|
112
|
+
var toByte = kotlin_kotlin.$_$.oe;
|
|
113
|
+
var decodeToString_0 = kotlin_kotlin.$_$.dg;
|
|
114
|
+
var setOf = kotlin_kotlin.$_$.s9;
|
|
115
115
|
var Dispatchers_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.k;
|
|
116
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
116
|
+
var charSequenceGet = kotlin_kotlin.$_$.zc;
|
|
117
117
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.w2;
|
|
118
118
|
//endregion
|
|
119
119
|
//region block: pre-declaration
|
|
@@ -121,10 +121,10 @@
|
|
|
121
121
|
initMetadataForObject(Empty, 'Empty');
|
|
122
122
|
initMetadataForClass(Closed, 'Closed');
|
|
123
123
|
function resume() {
|
|
124
|
-
return this.
|
|
124
|
+
return this.l2u().t9(Companion_getInstance().i2u_1);
|
|
125
125
|
}
|
|
126
126
|
function resume_0(throwable) {
|
|
127
|
-
var tmp = this.
|
|
127
|
+
var tmp = this.l2u();
|
|
128
128
|
var tmp_0;
|
|
129
129
|
if (throwable == null) {
|
|
130
130
|
tmp_0 = null;
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
tmp_0 = new Result(tmp$ret$2);
|
|
136
136
|
}
|
|
137
137
|
var tmp1_elvis_lhs = tmp_0;
|
|
138
|
-
return tmp.
|
|
138
|
+
return tmp.t9(tmp1_elvis_lhs == null ? Companion_getInstance().i2u_1 : tmp1_elvis_lhs.mm_1);
|
|
139
139
|
}
|
|
140
140
|
initMetadataForInterface(Task, 'Task');
|
|
141
141
|
initMetadataForClass(Read, 'Read', VOID, VOID, [Task]);
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
initMetadataForCoroutine($flushAndCloseCOROUTINE$, CoroutineImpl);
|
|
146
146
|
function awaitContent$default(min, $completion, $super) {
|
|
147
147
|
min = min === VOID ? 1 : min;
|
|
148
|
-
return $super === VOID ? this.
|
|
148
|
+
return $super === VOID ? this.s2w(min, $completion) : $super.s2w.call(this, min, $completion);
|
|
149
149
|
}
|
|
150
150
|
initMetadataForInterface(ByteReadChannel_1, 'ByteReadChannel', VOID, VOID, VOID, [1]);
|
|
151
151
|
function get_autoFlush() {
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
initMetadataForClass(MalformedInputException, 'MalformedInputException', VOID, IOException);
|
|
192
192
|
initMetadataForClass(TooLongLineException, 'TooLongLineException', VOID, MalformedInputException);
|
|
193
193
|
function close() {
|
|
194
|
-
this.
|
|
194
|
+
this.g1p();
|
|
195
195
|
}
|
|
196
196
|
initMetadataForInterface(ObjectPool, 'ObjectPool', VOID, VOID, [AutoCloseable]);
|
|
197
197
|
initMetadataForClass(DefaultPool, 'DefaultPool', VOID, VOID, [ObjectPool]);
|
|
@@ -210,10 +210,10 @@
|
|
|
210
210
|
//endregion
|
|
211
211
|
function Companion() {
|
|
212
212
|
Companion_instance_0 = this;
|
|
213
|
-
this.
|
|
213
|
+
this.h2u_1 = new Closed(null);
|
|
214
214
|
var tmp = this;
|
|
215
215
|
// Inline function 'kotlin.Companion.success' call
|
|
216
|
-
tmp.
|
|
216
|
+
tmp.i2u_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
217
217
|
}
|
|
218
218
|
var Companion_instance_0;
|
|
219
219
|
function Companion_getInstance() {
|
|
@@ -241,87 +241,87 @@
|
|
|
241
241
|
return Empty_instance;
|
|
242
242
|
}
|
|
243
243
|
function Closed(cause) {
|
|
244
|
-
this.
|
|
244
|
+
this.j2u_1 = cause;
|
|
245
245
|
}
|
|
246
246
|
protoOf(Closed).toString = function () {
|
|
247
|
-
return 'Closed(cause=' + toString(this.
|
|
247
|
+
return 'Closed(cause=' + toString(this.j2u_1) + ')';
|
|
248
248
|
};
|
|
249
249
|
protoOf(Closed).hashCode = function () {
|
|
250
|
-
return this.
|
|
250
|
+
return this.j2u_1 == null ? 0 : hashCode(this.j2u_1);
|
|
251
251
|
};
|
|
252
252
|
protoOf(Closed).equals = function (other) {
|
|
253
253
|
if (this === other)
|
|
254
254
|
return true;
|
|
255
255
|
if (!(other instanceof Closed))
|
|
256
256
|
return false;
|
|
257
|
-
if (!equals(this.
|
|
257
|
+
if (!equals(this.j2u_1, other.j2u_1))
|
|
258
258
|
return false;
|
|
259
259
|
return true;
|
|
260
260
|
};
|
|
261
261
|
function Task() {
|
|
262
262
|
}
|
|
263
263
|
function Read(continuation) {
|
|
264
|
-
this.
|
|
265
|
-
this.
|
|
264
|
+
this.p2u_1 = continuation;
|
|
265
|
+
this.q2u_1 = null;
|
|
266
266
|
if (get_DEVELOPMENT_MODE()) {
|
|
267
267
|
var tmp = this;
|
|
268
268
|
// Inline function 'kotlin.also' call
|
|
269
|
-
var this_0 = newThrowable('ReadTask 0x' + toString_0(hashCode(this.
|
|
269
|
+
var this_0 = newThrowable('ReadTask 0x' + toString_0(hashCode(this.p2u_1), 16));
|
|
270
270
|
stackTraceToString(this_0);
|
|
271
|
-
tmp.
|
|
271
|
+
tmp.q2u_1 = this_0;
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
|
-
protoOf(Read).
|
|
275
|
-
return this.o2u_1;
|
|
276
|
-
};
|
|
277
|
-
protoOf(Read).j2u = function () {
|
|
274
|
+
protoOf(Read).l2u = function () {
|
|
278
275
|
return this.p2u_1;
|
|
279
276
|
};
|
|
280
|
-
protoOf(Read).
|
|
277
|
+
protoOf(Read).k2u = function () {
|
|
278
|
+
return this.q2u_1;
|
|
279
|
+
};
|
|
280
|
+
protoOf(Read).m2u = function () {
|
|
281
281
|
return 'read';
|
|
282
282
|
};
|
|
283
283
|
function Write(continuation) {
|
|
284
|
-
this.
|
|
285
|
-
this.
|
|
284
|
+
this.r2u_1 = continuation;
|
|
285
|
+
this.s2u_1 = null;
|
|
286
286
|
if (get_DEVELOPMENT_MODE()) {
|
|
287
287
|
var tmp = this;
|
|
288
288
|
// Inline function 'kotlin.also' call
|
|
289
|
-
var this_0 = newThrowable('WriteTask 0x' + toString_0(hashCode(this.
|
|
289
|
+
var this_0 = newThrowable('WriteTask 0x' + toString_0(hashCode(this.r2u_1), 16));
|
|
290
290
|
stackTraceToString(this_0);
|
|
291
|
-
tmp.
|
|
291
|
+
tmp.s2u_1 = this_0;
|
|
292
292
|
}
|
|
293
293
|
}
|
|
294
|
-
protoOf(Write).
|
|
295
|
-
return this.q2u_1;
|
|
296
|
-
};
|
|
297
|
-
protoOf(Write).j2u = function () {
|
|
294
|
+
protoOf(Write).l2u = function () {
|
|
298
295
|
return this.r2u_1;
|
|
299
296
|
};
|
|
300
|
-
protoOf(Write).
|
|
297
|
+
protoOf(Write).k2u = function () {
|
|
298
|
+
return this.s2u_1;
|
|
299
|
+
};
|
|
300
|
+
protoOf(Write).m2u = function () {
|
|
301
301
|
return 'write';
|
|
302
302
|
};
|
|
303
303
|
function moveFlushToReadBuffer($this) {
|
|
304
304
|
// Inline function 'io.ktor.utils.io.locks.synchronized' call
|
|
305
|
-
$this.
|
|
306
|
-
$this.
|
|
307
|
-
$this.
|
|
305
|
+
$this.w2u_1;
|
|
306
|
+
$this.u2u_1.s1j($this.y2u_1);
|
|
307
|
+
$this.v2u_1 = 0;
|
|
308
308
|
// Inline function 'io.ktor.utils.io.ByteChannel.resumeSlot' call
|
|
309
|
-
var current = $this.
|
|
309
|
+
var current = $this.x2u_1.kotlinx$atomicfu$value;
|
|
310
310
|
var tmp;
|
|
311
311
|
if (current instanceof Write) {
|
|
312
|
-
tmp = $this.
|
|
312
|
+
tmp = $this.x2u_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
313
313
|
} else {
|
|
314
314
|
tmp = false;
|
|
315
315
|
}
|
|
316
316
|
if (tmp) {
|
|
317
|
-
current.
|
|
317
|
+
current.n2u();
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
function closeSlot($this, cause) {
|
|
321
|
-
var closeContinuation = !(cause == null) ? new Closed(cause) : Companion_getInstance().
|
|
322
|
-
var continuation = $this.
|
|
321
|
+
var closeContinuation = !(cause == null) ? new Closed(cause) : Companion_getInstance().h2u_1;
|
|
322
|
+
var continuation = $this.x2u_1.atomicfu$getAndSet(closeContinuation);
|
|
323
323
|
if (isInterface(continuation, Task)) {
|
|
324
|
-
continuation.
|
|
324
|
+
continuation.o2u(cause);
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
327
|
function ClosedReadChannelException$_init_$ref_ix0089() {
|
|
@@ -340,50 +340,50 @@
|
|
|
340
340
|
}
|
|
341
341
|
function $awaitContentCOROUTINE$(_this__u8e3s4, min, resultContinuation) {
|
|
342
342
|
CoroutineImpl.call(this, resultContinuation);
|
|
343
|
-
this.
|
|
344
|
-
this.
|
|
343
|
+
this.j2v_1 = _this__u8e3s4;
|
|
344
|
+
this.k2v_1 = min;
|
|
345
345
|
}
|
|
346
|
-
protoOf($awaitContentCOROUTINE$).
|
|
347
|
-
var suspendResult = this.
|
|
346
|
+
protoOf($awaitContentCOROUTINE$).q9 = function () {
|
|
347
|
+
var suspendResult = this.k9_1;
|
|
348
348
|
$sm: do
|
|
349
349
|
try {
|
|
350
|
-
var tmp = this.
|
|
350
|
+
var tmp = this.i9_1;
|
|
351
351
|
switch (tmp) {
|
|
352
352
|
case 0:
|
|
353
|
-
this.
|
|
354
|
-
rethrowCloseCauseIfNeeded(this.
|
|
355
|
-
if (compare(this.
|
|
353
|
+
this.j9_1 = 4;
|
|
354
|
+
rethrowCloseCauseIfNeeded(this.j2v_1);
|
|
355
|
+
if (compare(this.j2v_1.y2u_1.g1(), fromInt(this.k2v_1)) >= 0)
|
|
356
356
|
return true;
|
|
357
|
-
this.
|
|
358
|
-
this.
|
|
357
|
+
this.l2v_1 = this.j2v_1;
|
|
358
|
+
this.i9_1 = 1;
|
|
359
359
|
continue $sm;
|
|
360
360
|
case 1:
|
|
361
|
-
if (!(compare(add(numberToLong(this.
|
|
362
|
-
this.
|
|
361
|
+
if (!(compare(add(numberToLong(this.j2v_1.v2u_1), this.j2v_1.y2u_1.g1()), fromInt(this.k2v_1)) < 0 && this.j2v_1.a2v_1.kotlinx$atomicfu$value == null)) {
|
|
362
|
+
this.i9_1 = 3;
|
|
363
363
|
continue $sm;
|
|
364
364
|
}
|
|
365
365
|
|
|
366
|
-
this.
|
|
366
|
+
this.i9_1 = 2;
|
|
367
367
|
var cancellable = new CancellableContinuationImpl(intercepted(this), 1);
|
|
368
|
-
cancellable.
|
|
369
|
-
var tmp0 = this.
|
|
368
|
+
cancellable.j1q();
|
|
369
|
+
var tmp0 = this.l2v_1;
|
|
370
370
|
var tmp2 = new Read(cancellable);
|
|
371
371
|
l$ret$1: do {
|
|
372
|
-
var previous = tmp0.
|
|
372
|
+
var previous = tmp0.x2u_1.kotlinx$atomicfu$value;
|
|
373
373
|
if (!(previous instanceof Closed)) {
|
|
374
|
-
if (!tmp0.
|
|
375
|
-
tmp2.
|
|
374
|
+
if (!tmp0.x2u_1.atomicfu$compareAndSet(previous, tmp2)) {
|
|
375
|
+
tmp2.n2u();
|
|
376
376
|
break l$ret$1;
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
if (previous instanceof Read) {
|
|
380
|
-
previous.
|
|
380
|
+
previous.o2u(new ConcurrentIOException(tmp2.m2u(), previous.k2u()));
|
|
381
381
|
} else {
|
|
382
382
|
if (isInterface(previous, Task)) {
|
|
383
|
-
previous.
|
|
383
|
+
previous.n2u();
|
|
384
384
|
} else {
|
|
385
385
|
if (previous instanceof Closed) {
|
|
386
|
-
tmp2.
|
|
386
|
+
tmp2.o2u(previous.j2u_1);
|
|
387
387
|
break l$ret$1;
|
|
388
388
|
} else {
|
|
389
389
|
if (!equals(previous, Empty_instance)) {
|
|
@@ -392,95 +392,95 @@
|
|
|
392
392
|
}
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
|
-
if (!(compare(add(numberToLong(this.
|
|
396
|
-
var current = tmp0.
|
|
395
|
+
if (!(compare(add(numberToLong(this.j2v_1.v2u_1), this.j2v_1.y2u_1.g1()), fromInt(this.k2v_1)) < 0 && this.j2v_1.a2v_1.kotlinx$atomicfu$value == null)) {
|
|
396
|
+
var current = tmp0.x2u_1.kotlinx$atomicfu$value;
|
|
397
397
|
var tmp_0;
|
|
398
398
|
if (current instanceof Read) {
|
|
399
|
-
tmp_0 = tmp0.
|
|
399
|
+
tmp_0 = tmp0.x2u_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
400
400
|
} else {
|
|
401
401
|
tmp_0 = false;
|
|
402
402
|
}
|
|
403
403
|
if (tmp_0) {
|
|
404
|
-
current.
|
|
404
|
+
current.n2u();
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
408
|
while (false);
|
|
409
|
-
suspendResult = returnIfSuspended(cancellable.
|
|
409
|
+
suspendResult = returnIfSuspended(cancellable.k1q(), this);
|
|
410
410
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
411
411
|
return suspendResult;
|
|
412
412
|
}
|
|
413
413
|
|
|
414
414
|
continue $sm;
|
|
415
415
|
case 2:
|
|
416
|
-
this.
|
|
416
|
+
this.i9_1 = 1;
|
|
417
417
|
continue $sm;
|
|
418
418
|
case 3:
|
|
419
|
-
if (compare(this.
|
|
420
|
-
moveFlushToReadBuffer(this.
|
|
419
|
+
if (compare(this.j2v_1.y2u_1.g1(), new Long(1048576, 0)) < 0) {
|
|
420
|
+
moveFlushToReadBuffer(this.j2v_1);
|
|
421
421
|
}
|
|
422
422
|
|
|
423
|
-
return compare(this.
|
|
423
|
+
return compare(this.j2v_1.y2u_1.g1(), fromInt(this.k2v_1)) >= 0;
|
|
424
424
|
case 4:
|
|
425
|
-
throw this.
|
|
425
|
+
throw this.l9_1;
|
|
426
426
|
}
|
|
427
427
|
} catch ($p) {
|
|
428
428
|
var e = $p;
|
|
429
|
-
if (this.
|
|
429
|
+
if (this.j9_1 === 4) {
|
|
430
430
|
throw e;
|
|
431
431
|
} else {
|
|
432
|
-
this.
|
|
433
|
-
this.
|
|
432
|
+
this.i9_1 = this.j9_1;
|
|
433
|
+
this.l9_1 = e;
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
436
|
while (true);
|
|
437
437
|
};
|
|
438
438
|
function $flushCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
439
439
|
CoroutineImpl.call(this, resultContinuation);
|
|
440
|
-
this.
|
|
440
|
+
this.u2v_1 = _this__u8e3s4;
|
|
441
441
|
}
|
|
442
|
-
protoOf($flushCOROUTINE$).
|
|
443
|
-
var suspendResult = this.
|
|
442
|
+
protoOf($flushCOROUTINE$).q9 = function () {
|
|
443
|
+
var suspendResult = this.k9_1;
|
|
444
444
|
$sm: do
|
|
445
445
|
try {
|
|
446
|
-
var tmp = this.
|
|
446
|
+
var tmp = this.i9_1;
|
|
447
447
|
switch (tmp) {
|
|
448
448
|
case 0:
|
|
449
|
-
this.
|
|
450
|
-
rethrowCloseCauseIfNeeded(this.
|
|
451
|
-
this.
|
|
452
|
-
if (this.
|
|
449
|
+
this.j9_1 = 4;
|
|
450
|
+
rethrowCloseCauseIfNeeded(this.u2v_1);
|
|
451
|
+
this.u2v_1.w2v();
|
|
452
|
+
if (this.u2v_1.v2u_1 < 1048576)
|
|
453
453
|
return Unit_instance;
|
|
454
|
-
this.
|
|
455
|
-
this.
|
|
454
|
+
this.v2v_1 = this.u2v_1;
|
|
455
|
+
this.i9_1 = 1;
|
|
456
456
|
continue $sm;
|
|
457
457
|
case 1:
|
|
458
|
-
if (!(this.
|
|
459
|
-
this.
|
|
458
|
+
if (!(this.u2v_1.v2u_1 >= 1048576 && this.u2v_1.a2v_1.kotlinx$atomicfu$value == null)) {
|
|
459
|
+
this.i9_1 = 3;
|
|
460
460
|
continue $sm;
|
|
461
461
|
}
|
|
462
462
|
|
|
463
|
-
this.
|
|
463
|
+
this.i9_1 = 2;
|
|
464
464
|
var cancellable = new CancellableContinuationImpl(intercepted(this), 1);
|
|
465
|
-
cancellable.
|
|
466
|
-
var tmp0 = this.
|
|
465
|
+
cancellable.j1q();
|
|
466
|
+
var tmp0 = this.v2v_1;
|
|
467
467
|
var tmp2 = new Write(cancellable);
|
|
468
468
|
l$ret$1: do {
|
|
469
|
-
var previous = tmp0.
|
|
469
|
+
var previous = tmp0.x2u_1.kotlinx$atomicfu$value;
|
|
470
470
|
if (!(previous instanceof Closed)) {
|
|
471
|
-
if (!tmp0.
|
|
472
|
-
tmp2.
|
|
471
|
+
if (!tmp0.x2u_1.atomicfu$compareAndSet(previous, tmp2)) {
|
|
472
|
+
tmp2.n2u();
|
|
473
473
|
break l$ret$1;
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
476
|
if (previous instanceof Write) {
|
|
477
|
-
previous.
|
|
477
|
+
previous.o2u(new ConcurrentIOException(tmp2.m2u(), previous.k2u()));
|
|
478
478
|
} else {
|
|
479
479
|
if (isInterface(previous, Task)) {
|
|
480
|
-
previous.
|
|
480
|
+
previous.n2u();
|
|
481
481
|
} else {
|
|
482
482
|
if (previous instanceof Closed) {
|
|
483
|
-
tmp2.
|
|
483
|
+
tmp2.o2u(previous.j2u_1);
|
|
484
484
|
break l$ret$1;
|
|
485
485
|
} else {
|
|
486
486
|
if (!equals(previous, Empty_instance)) {
|
|
@@ -489,62 +489,62 @@
|
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
|
-
if (!(this.
|
|
493
|
-
var current = tmp0.
|
|
492
|
+
if (!(this.u2v_1.v2u_1 >= 1048576 && this.u2v_1.a2v_1.kotlinx$atomicfu$value == null)) {
|
|
493
|
+
var current = tmp0.x2u_1.kotlinx$atomicfu$value;
|
|
494
494
|
var tmp_0;
|
|
495
495
|
if (current instanceof Write) {
|
|
496
|
-
tmp_0 = tmp0.
|
|
496
|
+
tmp_0 = tmp0.x2u_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
497
497
|
} else {
|
|
498
498
|
tmp_0 = false;
|
|
499
499
|
}
|
|
500
500
|
if (tmp_0) {
|
|
501
|
-
current.
|
|
501
|
+
current.n2u();
|
|
502
502
|
}
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
505
|
while (false);
|
|
506
|
-
suspendResult = returnIfSuspended(cancellable.
|
|
506
|
+
suspendResult = returnIfSuspended(cancellable.k1q(), this);
|
|
507
507
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
508
508
|
return suspendResult;
|
|
509
509
|
}
|
|
510
510
|
|
|
511
511
|
continue $sm;
|
|
512
512
|
case 2:
|
|
513
|
-
this.
|
|
513
|
+
this.i9_1 = 1;
|
|
514
514
|
continue $sm;
|
|
515
515
|
case 3:
|
|
516
516
|
return Unit_instance;
|
|
517
517
|
case 4:
|
|
518
|
-
throw this.
|
|
518
|
+
throw this.l9_1;
|
|
519
519
|
}
|
|
520
520
|
} catch ($p) {
|
|
521
521
|
var e = $p;
|
|
522
|
-
if (this.
|
|
522
|
+
if (this.j9_1 === 4) {
|
|
523
523
|
throw e;
|
|
524
524
|
} else {
|
|
525
|
-
this.
|
|
526
|
-
this.
|
|
525
|
+
this.i9_1 = this.j9_1;
|
|
526
|
+
this.l9_1 = e;
|
|
527
527
|
}
|
|
528
528
|
}
|
|
529
529
|
while (true);
|
|
530
530
|
};
|
|
531
531
|
function $flushAndCloseCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
532
532
|
CoroutineImpl.call(this, resultContinuation);
|
|
533
|
-
this.
|
|
533
|
+
this.f2w_1 = _this__u8e3s4;
|
|
534
534
|
}
|
|
535
|
-
protoOf($flushAndCloseCOROUTINE$).
|
|
536
|
-
var suspendResult = this.
|
|
535
|
+
protoOf($flushAndCloseCOROUTINE$).q9 = function () {
|
|
536
|
+
var suspendResult = this.k9_1;
|
|
537
537
|
$sm: do
|
|
538
538
|
try {
|
|
539
|
-
var tmp = this.
|
|
539
|
+
var tmp = this.i9_1;
|
|
540
540
|
switch (tmp) {
|
|
541
541
|
case 0:
|
|
542
|
-
this.
|
|
543
|
-
var this_0 = this.
|
|
544
|
-
this.
|
|
545
|
-
this.
|
|
546
|
-
this.
|
|
547
|
-
suspendResult = this_0.
|
|
542
|
+
this.j9_1 = 4;
|
|
543
|
+
var this_0 = this.f2w_1;
|
|
544
|
+
this.j9_1 = 2;
|
|
545
|
+
this.h2w_1 = Companion_instance;
|
|
546
|
+
this.i9_1 = 1;
|
|
547
|
+
suspendResult = this_0.i2w(this);
|
|
548
548
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
549
549
|
return suspendResult;
|
|
550
550
|
}
|
|
@@ -552,144 +552,144 @@
|
|
|
552
552
|
continue $sm;
|
|
553
553
|
case 1:
|
|
554
554
|
var tmp_0 = this;
|
|
555
|
-
this.
|
|
556
|
-
tmp_0.
|
|
557
|
-
this.
|
|
558
|
-
this.
|
|
555
|
+
this.h2w_1;
|
|
556
|
+
tmp_0.g2w_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
557
|
+
this.j9_1 = 4;
|
|
558
|
+
this.i9_1 = 3;
|
|
559
559
|
continue $sm;
|
|
560
560
|
case 2:
|
|
561
|
-
this.
|
|
562
|
-
var tmp_1 = this.
|
|
561
|
+
this.j9_1 = 4;
|
|
562
|
+
var tmp_1 = this.l9_1;
|
|
563
563
|
if (tmp_1 instanceof Error) {
|
|
564
|
-
var e = this.
|
|
564
|
+
var e = this.l9_1;
|
|
565
565
|
var tmp_2 = this;
|
|
566
|
-
tmp_2.
|
|
567
|
-
this.
|
|
566
|
+
tmp_2.g2w_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
567
|
+
this.i9_1 = 3;
|
|
568
568
|
continue $sm;
|
|
569
569
|
} else {
|
|
570
|
-
throw this.
|
|
570
|
+
throw this.l9_1;
|
|
571
571
|
}
|
|
572
572
|
|
|
573
573
|
case 3:
|
|
574
|
-
this.
|
|
575
|
-
if (!this.
|
|
574
|
+
this.j9_1 = 4;
|
|
575
|
+
if (!this.f2w_1.a2v_1.atomicfu$compareAndSet(null, get_CLOSED()))
|
|
576
576
|
return Unit_instance;
|
|
577
|
-
closeSlot(this.
|
|
577
|
+
closeSlot(this.f2w_1, null);
|
|
578
578
|
return Unit_instance;
|
|
579
579
|
case 4:
|
|
580
|
-
throw this.
|
|
580
|
+
throw this.l9_1;
|
|
581
581
|
}
|
|
582
582
|
} catch ($p) {
|
|
583
583
|
var e_0 = $p;
|
|
584
|
-
if (this.
|
|
584
|
+
if (this.j9_1 === 4) {
|
|
585
585
|
throw e_0;
|
|
586
586
|
} else {
|
|
587
|
-
this.
|
|
588
|
-
this.
|
|
587
|
+
this.i9_1 = this.j9_1;
|
|
588
|
+
this.l9_1 = e_0;
|
|
589
589
|
}
|
|
590
590
|
}
|
|
591
591
|
while (true);
|
|
592
592
|
};
|
|
593
593
|
function ByteChannel(autoFlush) {
|
|
594
594
|
autoFlush = autoFlush === VOID ? false : autoFlush;
|
|
595
|
-
this.
|
|
596
|
-
this.
|
|
597
|
-
this.
|
|
598
|
-
this.
|
|
599
|
-
this.
|
|
600
|
-
this.x2u_1 = new Buffer();
|
|
595
|
+
this.t2u_1 = autoFlush;
|
|
596
|
+
this.u2u_1 = new Buffer();
|
|
597
|
+
this.v2u_1 = 0;
|
|
598
|
+
this.w2u_1 = new Object();
|
|
599
|
+
this.x2u_1 = atomic$ref$1(Empty_instance);
|
|
601
600
|
this.y2u_1 = new Buffer();
|
|
602
|
-
this.z2u_1 =
|
|
601
|
+
this.z2u_1 = new Buffer();
|
|
602
|
+
this.a2v_1 = atomic$ref$1(null);
|
|
603
603
|
}
|
|
604
|
-
protoOf(ByteChannel).i2w = function () {
|
|
605
|
-
return this.s2u_1;
|
|
606
|
-
};
|
|
607
604
|
protoOf(ByteChannel).j2w = function () {
|
|
608
|
-
|
|
605
|
+
return this.t2u_1;
|
|
606
|
+
};
|
|
607
|
+
protoOf(ByteChannel).k2w = function () {
|
|
608
|
+
var tmp0_safe_receiver = this.a2v_1.kotlinx$atomicfu$value;
|
|
609
609
|
if (tmp0_safe_receiver == null)
|
|
610
610
|
null;
|
|
611
611
|
else {
|
|
612
|
-
tmp0_safe_receiver.
|
|
612
|
+
tmp0_safe_receiver.m2w(ClosedReadChannelException$_init_$ref_ix0089());
|
|
613
613
|
}
|
|
614
|
-
if (this.
|
|
614
|
+
if (this.y2u_1.p1i()) {
|
|
615
615
|
moveFlushToReadBuffer(this);
|
|
616
616
|
}
|
|
617
|
-
return this.
|
|
617
|
+
return this.y2u_1;
|
|
618
618
|
};
|
|
619
|
-
protoOf(ByteChannel).
|
|
620
|
-
if (this.
|
|
621
|
-
var tmp0_safe_receiver = this.
|
|
619
|
+
protoOf(ByteChannel).n2w = function () {
|
|
620
|
+
if (this.o2w()) {
|
|
621
|
+
var tmp0_safe_receiver = this.a2v_1.kotlinx$atomicfu$value;
|
|
622
622
|
var tmp;
|
|
623
623
|
if (tmp0_safe_receiver == null) {
|
|
624
624
|
tmp = null;
|
|
625
625
|
} else {
|
|
626
|
-
tmp = tmp0_safe_receiver.
|
|
626
|
+
tmp = tmp0_safe_receiver.m2w(ClosedWriteChannelException$_init_$ref_ef15ty());
|
|
627
627
|
}
|
|
628
628
|
if (tmp == null)
|
|
629
629
|
throw new ClosedWriteChannelException();
|
|
630
630
|
}
|
|
631
|
-
return this.
|
|
631
|
+
return this.z2u_1;
|
|
632
632
|
};
|
|
633
|
-
protoOf(ByteChannel).
|
|
634
|
-
var tmp0_safe_receiver = this.
|
|
635
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
633
|
+
protoOf(ByteChannel).p2w = function () {
|
|
634
|
+
var tmp0_safe_receiver = this.a2v_1.kotlinx$atomicfu$value;
|
|
635
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q2w();
|
|
636
636
|
};
|
|
637
|
-
protoOf(ByteChannel).
|
|
638
|
-
return !(this.
|
|
637
|
+
protoOf(ByteChannel).o2w = function () {
|
|
638
|
+
return !(this.a2v_1.kotlinx$atomicfu$value == null);
|
|
639
639
|
};
|
|
640
|
-
protoOf(ByteChannel).
|
|
641
|
-
return !(this.
|
|
640
|
+
protoOf(ByteChannel).r2w = function () {
|
|
641
|
+
return !(this.p2w() == null) || (this.o2w() && this.v2u_1 === 0 && this.y2u_1.p1i());
|
|
642
642
|
};
|
|
643
|
-
protoOf(ByteChannel).
|
|
643
|
+
protoOf(ByteChannel).s2w = function (min, $completion) {
|
|
644
644
|
var tmp = new $awaitContentCOROUTINE$(this, min, $completion);
|
|
645
|
-
tmp.
|
|
646
|
-
tmp.
|
|
647
|
-
return tmp.
|
|
645
|
+
tmp.k9_1 = Unit_instance;
|
|
646
|
+
tmp.l9_1 = null;
|
|
647
|
+
return tmp.q9();
|
|
648
648
|
};
|
|
649
|
-
protoOf(ByteChannel).
|
|
649
|
+
protoOf(ByteChannel).i2w = function ($completion) {
|
|
650
650
|
var tmp = new $flushCOROUTINE$(this, $completion);
|
|
651
|
-
tmp.
|
|
652
|
-
tmp.
|
|
653
|
-
return tmp.
|
|
651
|
+
tmp.k9_1 = Unit_instance;
|
|
652
|
+
tmp.l9_1 = null;
|
|
653
|
+
return tmp.q9();
|
|
654
654
|
};
|
|
655
|
-
protoOf(ByteChannel).
|
|
656
|
-
if (this.
|
|
655
|
+
protoOf(ByteChannel).w2v = function () {
|
|
656
|
+
if (this.z2u_1.p1i())
|
|
657
657
|
return Unit_instance;
|
|
658
658
|
// Inline function 'io.ktor.utils.io.locks.synchronized' call
|
|
659
|
-
this.
|
|
660
|
-
var count = convertToInt(this.
|
|
661
|
-
this.
|
|
662
|
-
this.
|
|
659
|
+
this.w2u_1;
|
|
660
|
+
var count = convertToInt(this.z2u_1.g1());
|
|
661
|
+
this.u2u_1.h1k(this.z2u_1);
|
|
662
|
+
this.v2u_1 = this.v2u_1 + count | 0;
|
|
663
663
|
// Inline function 'io.ktor.utils.io.ByteChannel.resumeSlot' call
|
|
664
|
-
var current = this.
|
|
664
|
+
var current = this.x2u_1.kotlinx$atomicfu$value;
|
|
665
665
|
var tmp;
|
|
666
666
|
if (current instanceof Read) {
|
|
667
|
-
tmp = this.
|
|
667
|
+
tmp = this.x2u_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
668
668
|
} else {
|
|
669
669
|
tmp = false;
|
|
670
670
|
}
|
|
671
671
|
if (tmp) {
|
|
672
|
-
current.
|
|
672
|
+
current.n2u();
|
|
673
673
|
}
|
|
674
674
|
};
|
|
675
|
-
protoOf(ByteChannel).
|
|
676
|
-
this.
|
|
677
|
-
if (!this.
|
|
675
|
+
protoOf(ByteChannel).r4 = function () {
|
|
676
|
+
this.w2v();
|
|
677
|
+
if (!this.a2v_1.atomicfu$compareAndSet(null, get_CLOSED()))
|
|
678
678
|
return Unit_instance;
|
|
679
679
|
closeSlot(this, null);
|
|
680
680
|
};
|
|
681
|
-
protoOf(ByteChannel).
|
|
681
|
+
protoOf(ByteChannel).u2w = function ($completion) {
|
|
682
682
|
var tmp = new $flushAndCloseCOROUTINE$(this, $completion);
|
|
683
|
-
tmp.
|
|
684
|
-
tmp.
|
|
685
|
-
return tmp.
|
|
683
|
+
tmp.k9_1 = Unit_instance;
|
|
684
|
+
tmp.l9_1 = null;
|
|
685
|
+
return tmp.q9();
|
|
686
686
|
};
|
|
687
|
-
protoOf(ByteChannel).
|
|
688
|
-
if (!(this.
|
|
687
|
+
protoOf(ByteChannel).v2w = function (cause) {
|
|
688
|
+
if (!(this.a2v_1.kotlinx$atomicfu$value == null))
|
|
689
689
|
return Unit_instance;
|
|
690
690
|
var closedToken = new CloseToken(cause);
|
|
691
|
-
this.
|
|
692
|
-
var wrappedCause = closedToken.
|
|
691
|
+
this.a2v_1.atomicfu$compareAndSet(null, closedToken);
|
|
692
|
+
var wrappedCause = closedToken.q2w();
|
|
693
693
|
closeSlot(this, wrappedCause);
|
|
694
694
|
};
|
|
695
695
|
protoOf(ByteChannel).toString = function () {
|
|
@@ -705,7 +705,7 @@
|
|
|
705
705
|
length = length === VOID ? content.length : length;
|
|
706
706
|
// Inline function 'kotlin.also' call
|
|
707
707
|
var this_0 = new Buffer();
|
|
708
|
-
this_0.
|
|
708
|
+
this_0.y1j(content, offset, offset + length | 0);
|
|
709
709
|
var source = this_0;
|
|
710
710
|
return ByteReadChannel_0(source);
|
|
711
711
|
}
|
|
@@ -713,18 +713,18 @@
|
|
|
713
713
|
return new SourceByteReadChannel(source);
|
|
714
714
|
}
|
|
715
715
|
function buildPartialMatchTable($this) {
|
|
716
|
-
var table = new Int32Array($this.
|
|
716
|
+
var table = new Int32Array($this.x2w_1.g1());
|
|
717
717
|
var j = 0;
|
|
718
718
|
var inductionVariable = 1;
|
|
719
|
-
var last = $this.
|
|
719
|
+
var last = $this.x2w_1.g1();
|
|
720
720
|
if (inductionVariable < last)
|
|
721
721
|
do {
|
|
722
722
|
var i = inductionVariable;
|
|
723
723
|
inductionVariable = inductionVariable + 1 | 0;
|
|
724
|
-
while (j > 0 && !($this.
|
|
724
|
+
while (j > 0 && !($this.x2w_1.h1(i) === $this.x2w_1.h1(j))) {
|
|
725
725
|
j = table[j - 1 | 0];
|
|
726
726
|
}
|
|
727
|
-
if ($this.
|
|
727
|
+
if ($this.x2w_1.h1(i) === $this.x2w_1.h1(j)) {
|
|
728
728
|
j = j + 1 | 0;
|
|
729
729
|
}
|
|
730
730
|
table[i] = j;
|
|
@@ -734,19 +734,19 @@
|
|
|
734
734
|
}
|
|
735
735
|
function advanceToNextPotentialMatch($this, $completion) {
|
|
736
736
|
var tmp = new $advanceToNextPotentialMatchCOROUTINE$($this, $completion);
|
|
737
|
-
tmp.
|
|
738
|
-
tmp.
|
|
739
|
-
return tmp.
|
|
737
|
+
tmp.k9_1 = Unit_instance;
|
|
738
|
+
tmp.l9_1 = null;
|
|
739
|
+
return tmp.q9();
|
|
740
740
|
}
|
|
741
741
|
function checkFullMatch($this, $completion) {
|
|
742
742
|
var tmp = new $checkFullMatchCOROUTINE$($this, $completion);
|
|
743
|
-
tmp.
|
|
744
|
-
tmp.
|
|
745
|
-
return tmp.
|
|
743
|
+
tmp.k9_1 = Unit_instance;
|
|
744
|
+
tmp.l9_1 = null;
|
|
745
|
+
return tmp.q9();
|
|
746
746
|
}
|
|
747
747
|
function checkBounds($this, extra) {
|
|
748
|
-
if (compare(add($this.
|
|
749
|
-
throw IOException_init_$Create$('Limit of ' + $this.
|
|
748
|
+
if (compare(add($this.d2x_1, extra), $this.z2w_1) > 0) {
|
|
749
|
+
throw IOException_init_$Create$('Limit of ' + $this.z2w_1.toString() + ' bytes exceeded ' + ('while searching for "' + toSingleLineString($this, $this.x2w_1) + '"'));
|
|
750
750
|
}
|
|
751
751
|
}
|
|
752
752
|
function toSingleLineString($this, _this__u8e3s4) {
|
|
@@ -754,28 +754,28 @@
|
|
|
754
754
|
}
|
|
755
755
|
function $findNextCOROUTINE$(_this__u8e3s4, ignoreMissing, resultContinuation) {
|
|
756
756
|
CoroutineImpl.call(this, resultContinuation);
|
|
757
|
-
this.
|
|
758
|
-
this.
|
|
757
|
+
this.i2y_1 = _this__u8e3s4;
|
|
758
|
+
this.j2y_1 = ignoreMissing;
|
|
759
759
|
}
|
|
760
|
-
protoOf($findNextCOROUTINE$).
|
|
761
|
-
var suspendResult = this.
|
|
760
|
+
protoOf($findNextCOROUTINE$).q9 = function () {
|
|
761
|
+
var suspendResult = this.k9_1;
|
|
762
762
|
$sm: do
|
|
763
763
|
try {
|
|
764
|
-
var tmp = this.
|
|
764
|
+
var tmp = this.i9_1;
|
|
765
765
|
switch (tmp) {
|
|
766
766
|
case 0:
|
|
767
|
-
this.
|
|
768
|
-
this.
|
|
769
|
-
this.
|
|
767
|
+
this.j9_1 = 9;
|
|
768
|
+
this.i2y_1.d2x_1 = new Long(0, 0);
|
|
769
|
+
this.i9_1 = 1;
|
|
770
770
|
continue $sm;
|
|
771
771
|
case 1:
|
|
772
|
-
if (!this.
|
|
773
|
-
this.
|
|
774
|
-
this.
|
|
772
|
+
if (!this.i2y_1.a2x_1.p1i()) {
|
|
773
|
+
this.k2y_1 = true;
|
|
774
|
+
this.i9_1 = 3;
|
|
775
775
|
continue $sm;
|
|
776
776
|
} else {
|
|
777
|
-
this.
|
|
778
|
-
suspendResult = this.
|
|
777
|
+
this.i9_1 = 2;
|
|
778
|
+
suspendResult = this.i2y_1.w2w_1.t2w(VOID, this);
|
|
779
779
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
780
780
|
return suspendResult;
|
|
781
781
|
}
|
|
@@ -783,25 +783,25 @@
|
|
|
783
783
|
}
|
|
784
784
|
|
|
785
785
|
case 2:
|
|
786
|
-
this.
|
|
787
|
-
this.
|
|
786
|
+
this.k2y_1 = suspendResult;
|
|
787
|
+
this.i9_1 = 3;
|
|
788
788
|
continue $sm;
|
|
789
789
|
case 3:
|
|
790
|
-
if (!this.
|
|
791
|
-
this.
|
|
790
|
+
if (!this.k2y_1) {
|
|
791
|
+
this.i9_1 = 7;
|
|
792
792
|
continue $sm;
|
|
793
793
|
}
|
|
794
794
|
|
|
795
|
-
this.
|
|
796
|
-
suspendResult = advanceToNextPotentialMatch(this.
|
|
795
|
+
this.i9_1 = 4;
|
|
796
|
+
suspendResult = advanceToNextPotentialMatch(this.i2y_1, this);
|
|
797
797
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
798
798
|
return suspendResult;
|
|
799
799
|
}
|
|
800
800
|
|
|
801
801
|
continue $sm;
|
|
802
802
|
case 4:
|
|
803
|
-
this.
|
|
804
|
-
suspendResult = checkFullMatch(this.
|
|
803
|
+
this.i9_1 = 5;
|
|
804
|
+
suspendResult = checkFullMatch(this.i2y_1, this);
|
|
805
805
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
806
806
|
return suspendResult;
|
|
807
807
|
}
|
|
@@ -809,66 +809,66 @@
|
|
|
809
809
|
continue $sm;
|
|
810
810
|
case 5:
|
|
811
811
|
if (suspendResult) {
|
|
812
|
-
return this.
|
|
812
|
+
return this.i2y_1.d2x_1;
|
|
813
813
|
} else {
|
|
814
|
-
this.
|
|
814
|
+
this.i9_1 = 6;
|
|
815
815
|
continue $sm;
|
|
816
816
|
}
|
|
817
817
|
|
|
818
818
|
case 6:
|
|
819
|
-
this.
|
|
819
|
+
this.i9_1 = 1;
|
|
820
820
|
continue $sm;
|
|
821
821
|
case 7:
|
|
822
|
-
if (!this.
|
|
823
|
-
throw IOException_init_$Create$('Expected "' + toSingleLineString(this.
|
|
822
|
+
if (!this.j2y_1) {
|
|
823
|
+
throw IOException_init_$Create$('Expected "' + toSingleLineString(this.i2y_1, this.i2y_1.x2w_1) + '" but encountered end of input');
|
|
824
824
|
}
|
|
825
825
|
|
|
826
|
-
this.
|
|
827
|
-
this.
|
|
828
|
-
suspendResult = this.
|
|
826
|
+
this.i2y_1.d2x_1 = add(this.i2y_1.d2x_1, this.i2y_1.c2x_1.s1j(this.i2y_1.y2w_1.n2w()));
|
|
827
|
+
this.i9_1 = 8;
|
|
828
|
+
suspendResult = this.i2y_1.y2w_1.i2w(this);
|
|
829
829
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
830
830
|
return suspendResult;
|
|
831
831
|
}
|
|
832
832
|
|
|
833
833
|
continue $sm;
|
|
834
834
|
case 8:
|
|
835
|
-
return this.
|
|
835
|
+
return this.i2y_1.d2x_1;
|
|
836
836
|
case 9:
|
|
837
|
-
throw this.
|
|
837
|
+
throw this.l9_1;
|
|
838
838
|
}
|
|
839
839
|
} catch ($p) {
|
|
840
840
|
var e = $p;
|
|
841
|
-
if (this.
|
|
841
|
+
if (this.j9_1 === 9) {
|
|
842
842
|
throw e;
|
|
843
843
|
} else {
|
|
844
|
-
this.
|
|
845
|
-
this.
|
|
844
|
+
this.i9_1 = this.j9_1;
|
|
845
|
+
this.l9_1 = e;
|
|
846
846
|
}
|
|
847
847
|
}
|
|
848
848
|
while (true);
|
|
849
849
|
};
|
|
850
850
|
function $advanceToNextPotentialMatchCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
851
851
|
CoroutineImpl.call(this, resultContinuation);
|
|
852
|
-
this.
|
|
852
|
+
this.n2x_1 = _this__u8e3s4;
|
|
853
853
|
}
|
|
854
|
-
protoOf($advanceToNextPotentialMatchCOROUTINE$).
|
|
855
|
-
var suspendResult = this.
|
|
854
|
+
protoOf($advanceToNextPotentialMatchCOROUTINE$).q9 = function () {
|
|
855
|
+
var suspendResult = this.k9_1;
|
|
856
856
|
$sm: do
|
|
857
857
|
try {
|
|
858
|
-
var tmp = this.
|
|
858
|
+
var tmp = this.i9_1;
|
|
859
859
|
switch (tmp) {
|
|
860
860
|
case 0:
|
|
861
|
-
this.
|
|
862
|
-
this.
|
|
861
|
+
this.j9_1 = 8;
|
|
862
|
+
this.i9_1 = 1;
|
|
863
863
|
continue $sm;
|
|
864
864
|
case 1:
|
|
865
|
-
if (!this.
|
|
866
|
-
this.
|
|
867
|
-
this.
|
|
865
|
+
if (!this.n2x_1.a2x_1.p1i()) {
|
|
866
|
+
this.o2x_1 = true;
|
|
867
|
+
this.i9_1 = 3;
|
|
868
868
|
continue $sm;
|
|
869
869
|
} else {
|
|
870
|
-
this.
|
|
871
|
-
suspendResult = this.
|
|
870
|
+
this.i9_1 = 2;
|
|
871
|
+
suspendResult = this.n2x_1.w2w_1.t2w(VOID, this);
|
|
872
872
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
873
873
|
return suspendResult;
|
|
874
874
|
}
|
|
@@ -876,34 +876,34 @@
|
|
|
876
876
|
}
|
|
877
877
|
|
|
878
878
|
case 2:
|
|
879
|
-
this.
|
|
880
|
-
this.
|
|
879
|
+
this.o2x_1 = suspendResult;
|
|
880
|
+
this.i9_1 = 3;
|
|
881
881
|
continue $sm;
|
|
882
882
|
case 3:
|
|
883
|
-
if (!this.
|
|
884
|
-
this.
|
|
883
|
+
if (!this.o2x_1) {
|
|
884
|
+
this.i9_1 = 7;
|
|
885
885
|
continue $sm;
|
|
886
886
|
}
|
|
887
887
|
|
|
888
|
-
var nextMatch = indexOf(this.
|
|
888
|
+
var nextMatch = indexOf(this.n2x_1.a2x_1, this.n2x_1.x2w_1.h1(0));
|
|
889
889
|
if (equalsLong(nextMatch, new Long(-1, -1))) {
|
|
890
|
-
var tmp_0 = this.
|
|
891
|
-
checkBounds(this.
|
|
892
|
-
this.
|
|
893
|
-
this.
|
|
894
|
-
suspendResult = flushIfNeeded(this.
|
|
890
|
+
var tmp_0 = this.n2x_1.a2x_1;
|
|
891
|
+
checkBounds(this.n2x_1, (tmp_0 instanceof Buffer ? tmp_0 : THROW_CCE()).g1());
|
|
892
|
+
this.n2x_1.d2x_1 = add(this.n2x_1.d2x_1, this.n2x_1.a2x_1.s1j(this.n2x_1.y2w_1.n2w()));
|
|
893
|
+
this.i9_1 = 5;
|
|
894
|
+
suspendResult = flushIfNeeded(this.n2x_1.y2w_1, this);
|
|
895
895
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
896
896
|
return suspendResult;
|
|
897
897
|
}
|
|
898
898
|
continue $sm;
|
|
899
899
|
} else {
|
|
900
|
-
checkBounds(this.
|
|
901
|
-
var tmp_1 = this.
|
|
902
|
-
var tmp_2 = this.
|
|
903
|
-
var tmp_3 = this.
|
|
904
|
-
tmp_1.
|
|
905
|
-
this.
|
|
906
|
-
suspendResult = flushIfNeeded(this.
|
|
900
|
+
checkBounds(this.n2x_1, nextMatch);
|
|
901
|
+
var tmp_1 = this.n2x_1;
|
|
902
|
+
var tmp_2 = this.n2x_1.d2x_1;
|
|
903
|
+
var tmp_3 = this.n2x_1.y2w_1.n2w();
|
|
904
|
+
tmp_1.d2x_1 = add(tmp_2, this.n2x_1.a2x_1.p1j(tmp_3 instanceof Buffer ? tmp_3 : THROW_CCE(), nextMatch));
|
|
905
|
+
this.i9_1 = 4;
|
|
906
|
+
suspendResult = flushIfNeeded(this.n2x_1.y2w_1, this);
|
|
907
907
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
908
908
|
return suspendResult;
|
|
909
909
|
}
|
|
@@ -913,49 +913,49 @@
|
|
|
913
913
|
case 4:
|
|
914
914
|
return Unit_instance;
|
|
915
915
|
case 5:
|
|
916
|
-
this.
|
|
916
|
+
this.i9_1 = 6;
|
|
917
917
|
continue $sm;
|
|
918
918
|
case 6:
|
|
919
|
-
this.
|
|
919
|
+
this.i9_1 = 1;
|
|
920
920
|
continue $sm;
|
|
921
921
|
case 7:
|
|
922
922
|
return Unit_instance;
|
|
923
923
|
case 8:
|
|
924
|
-
throw this.
|
|
924
|
+
throw this.l9_1;
|
|
925
925
|
}
|
|
926
926
|
} catch ($p) {
|
|
927
927
|
var e = $p;
|
|
928
|
-
if (this.
|
|
928
|
+
if (this.j9_1 === 8) {
|
|
929
929
|
throw e;
|
|
930
930
|
} else {
|
|
931
|
-
this.
|
|
932
|
-
this.
|
|
931
|
+
this.i9_1 = this.j9_1;
|
|
932
|
+
this.l9_1 = e;
|
|
933
933
|
}
|
|
934
934
|
}
|
|
935
935
|
while (true);
|
|
936
936
|
};
|
|
937
937
|
function $checkFullMatchCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
938
938
|
CoroutineImpl.call(this, resultContinuation);
|
|
939
|
-
this.
|
|
939
|
+
this.x2x_1 = _this__u8e3s4;
|
|
940
940
|
}
|
|
941
|
-
protoOf($checkFullMatchCOROUTINE$).
|
|
942
|
-
var suspendResult = this.
|
|
941
|
+
protoOf($checkFullMatchCOROUTINE$).q9 = function () {
|
|
942
|
+
var suspendResult = this.k9_1;
|
|
943
943
|
$sm: do
|
|
944
944
|
try {
|
|
945
|
-
var tmp = this.
|
|
945
|
+
var tmp = this.i9_1;
|
|
946
946
|
switch (tmp) {
|
|
947
947
|
case 0:
|
|
948
|
-
this.
|
|
949
|
-
this.
|
|
948
|
+
this.j9_1 = 8;
|
|
949
|
+
this.i9_1 = 1;
|
|
950
950
|
continue $sm;
|
|
951
951
|
case 1:
|
|
952
|
-
if (!this.
|
|
953
|
-
this.
|
|
954
|
-
this.
|
|
952
|
+
if (!this.x2x_1.a2x_1.p1i()) {
|
|
953
|
+
this.z2x_1 = true;
|
|
954
|
+
this.i9_1 = 3;
|
|
955
955
|
continue $sm;
|
|
956
956
|
} else {
|
|
957
|
-
this.
|
|
958
|
-
suspendResult = this.
|
|
957
|
+
this.i9_1 = 2;
|
|
958
|
+
suspendResult = this.x2x_1.w2w_1.t2w(VOID, this);
|
|
959
959
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
960
960
|
return suspendResult;
|
|
961
961
|
}
|
|
@@ -963,120 +963,120 @@
|
|
|
963
963
|
}
|
|
964
964
|
|
|
965
965
|
case 2:
|
|
966
|
-
this.
|
|
967
|
-
this.
|
|
966
|
+
this.z2x_1 = suspendResult;
|
|
967
|
+
this.i9_1 = 3;
|
|
968
968
|
continue $sm;
|
|
969
969
|
case 3:
|
|
970
|
-
if (!this.
|
|
971
|
-
this.
|
|
970
|
+
if (!this.z2x_1) {
|
|
971
|
+
this.i9_1 = 7;
|
|
972
972
|
continue $sm;
|
|
973
973
|
}
|
|
974
974
|
|
|
975
|
-
this.
|
|
976
|
-
if (this.
|
|
977
|
-
var oldMatchIndex = this.
|
|
978
|
-
while (this.
|
|
979
|
-
this.
|
|
975
|
+
this.y2x_1 = this.x2x_1.a2x_1.s1i();
|
|
976
|
+
if (this.x2x_1.e2x_1 > 0 && !(this.y2x_1 === this.x2x_1.x2w_1.h1(this.x2x_1.e2x_1))) {
|
|
977
|
+
var oldMatchIndex = this.x2x_1.e2x_1;
|
|
978
|
+
while (this.x2x_1.e2x_1 > 0 && !(this.y2x_1 === this.x2x_1.x2w_1.h1(this.x2x_1.e2x_1))) {
|
|
979
|
+
this.x2x_1.e2x_1 = this.x2x_1.b2x_1[this.x2x_1.e2x_1 - 1 | 0];
|
|
980
980
|
}
|
|
981
|
-
var retained = fromInt(oldMatchIndex - this.
|
|
982
|
-
checkBounds(this.
|
|
983
|
-
var tmp_0 = this.
|
|
984
|
-
var tmp_1 = this.
|
|
985
|
-
var tmp_2 = this.
|
|
986
|
-
tmp_0.
|
|
987
|
-
if (this.
|
|
988
|
-
this.
|
|
989
|
-
suspendResult = writeByte(this.
|
|
981
|
+
var retained = fromInt(oldMatchIndex - this.x2x_1.e2x_1 | 0);
|
|
982
|
+
checkBounds(this.x2x_1, retained);
|
|
983
|
+
var tmp_0 = this.x2x_1;
|
|
984
|
+
var tmp_1 = this.x2x_1.d2x_1;
|
|
985
|
+
var tmp_2 = this.x2x_1.y2w_1.n2w();
|
|
986
|
+
tmp_0.d2x_1 = add(tmp_1, this.x2x_1.c2x_1.p1j(tmp_2 instanceof Buffer ? tmp_2 : THROW_CCE(), retained));
|
|
987
|
+
if (this.x2x_1.e2x_1 === 0 && !(this.y2x_1 === this.x2x_1.x2w_1.h1(this.x2x_1.e2x_1))) {
|
|
988
|
+
this.i9_1 = 6;
|
|
989
|
+
suspendResult = writeByte(this.x2x_1.y2w_1, this.y2x_1, this);
|
|
990
990
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
991
991
|
return suspendResult;
|
|
992
992
|
}
|
|
993
993
|
continue $sm;
|
|
994
994
|
} else {
|
|
995
|
-
this.
|
|
995
|
+
this.i9_1 = 4;
|
|
996
996
|
continue $sm;
|
|
997
997
|
}
|
|
998
998
|
} else {
|
|
999
|
-
this.
|
|
999
|
+
this.i9_1 = 5;
|
|
1000
1000
|
continue $sm;
|
|
1001
1001
|
}
|
|
1002
1002
|
|
|
1003
1003
|
case 4:
|
|
1004
|
-
this.
|
|
1004
|
+
this.i9_1 = 5;
|
|
1005
1005
|
continue $sm;
|
|
1006
1006
|
case 5:
|
|
1007
|
-
this.
|
|
1008
|
-
if (this.
|
|
1007
|
+
this.x2x_1.e2x_1 = this.x2x_1.e2x_1 + 1 | 0;
|
|
1008
|
+
if (this.x2x_1.e2x_1 === this.x2x_1.x2w_1.g1()) {
|
|
1009
1009
|
return true;
|
|
1010
1010
|
}
|
|
1011
1011
|
|
|
1012
|
-
this.
|
|
1013
|
-
this.
|
|
1012
|
+
this.x2x_1.c2x_1.i1k(this.y2x_1);
|
|
1013
|
+
this.i9_1 = 1;
|
|
1014
1014
|
continue $sm;
|
|
1015
1015
|
case 6:
|
|
1016
|
-
var _unary__edvuaz = this.
|
|
1017
|
-
this.
|
|
1016
|
+
var _unary__edvuaz = this.x2x_1.d2x_1;
|
|
1017
|
+
this.x2x_1.d2x_1 = add(_unary__edvuaz, get_ONE());
|
|
1018
1018
|
return false;
|
|
1019
1019
|
case 7:
|
|
1020
1020
|
return false;
|
|
1021
1021
|
case 8:
|
|
1022
|
-
throw this.
|
|
1022
|
+
throw this.l9_1;
|
|
1023
1023
|
}
|
|
1024
1024
|
} catch ($p) {
|
|
1025
1025
|
var e = $p;
|
|
1026
|
-
if (this.
|
|
1026
|
+
if (this.j9_1 === 8) {
|
|
1027
1027
|
throw e;
|
|
1028
1028
|
} else {
|
|
1029
|
-
this.
|
|
1030
|
-
this.
|
|
1029
|
+
this.i9_1 = this.j9_1;
|
|
1030
|
+
this.l9_1 = e;
|
|
1031
1031
|
}
|
|
1032
1032
|
}
|
|
1033
1033
|
while (true);
|
|
1034
1034
|
};
|
|
1035
1035
|
function ByteChannelScanner(channel, matchString, writeChannel, limit) {
|
|
1036
1036
|
limit = limit === VOID ? new Long(-1, 2147483647) : limit;
|
|
1037
|
-
this.
|
|
1038
|
-
this.
|
|
1039
|
-
this.
|
|
1040
|
-
this.
|
|
1037
|
+
this.w2w_1 = channel;
|
|
1038
|
+
this.x2w_1 = matchString;
|
|
1039
|
+
this.y2w_1 = writeChannel;
|
|
1040
|
+
this.z2w_1 = limit;
|
|
1041
1041
|
// Inline function 'kotlin.require' call
|
|
1042
|
-
if (!(this.
|
|
1042
|
+
if (!(this.x2w_1.g1() > 0)) {
|
|
1043
1043
|
var message = 'Empty match string not permitted for scanning';
|
|
1044
1044
|
throw IllegalArgumentException_init_$Create$(toString_1(message));
|
|
1045
1045
|
}
|
|
1046
|
-
this.
|
|
1047
|
-
this.
|
|
1048
|
-
this.
|
|
1049
|
-
this.
|
|
1050
|
-
this.
|
|
1046
|
+
this.a2x_1 = this.w2w_1.k2w();
|
|
1047
|
+
this.b2x_1 = buildPartialMatchTable(this);
|
|
1048
|
+
this.c2x_1 = new Buffer();
|
|
1049
|
+
this.d2x_1 = new Long(0, 0);
|
|
1050
|
+
this.e2x_1 = 0;
|
|
1051
1051
|
}
|
|
1052
|
-
protoOf(ByteChannelScanner).
|
|
1052
|
+
protoOf(ByteChannelScanner).l2y = function (ignoreMissing, $completion) {
|
|
1053
1053
|
var tmp = new $findNextCOROUTINE$(this, ignoreMissing, $completion);
|
|
1054
|
-
tmp.
|
|
1055
|
-
tmp.
|
|
1056
|
-
return tmp.
|
|
1054
|
+
tmp.k9_1 = Unit_instance;
|
|
1055
|
+
tmp.l9_1 = null;
|
|
1056
|
+
return tmp.q9();
|
|
1057
1057
|
};
|
|
1058
1058
|
function ByteReadChannel$Companion$Empty$1() {
|
|
1059
|
-
this.
|
|
1060
|
-
this.
|
|
1059
|
+
this.m2y_1 = null;
|
|
1060
|
+
this.n2y_1 = new Buffer();
|
|
1061
1061
|
}
|
|
1062
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1063
|
-
return this.
|
|
1062
|
+
protoOf(ByteReadChannel$Companion$Empty$1).p2w = function () {
|
|
1063
|
+
return this.m2y_1;
|
|
1064
1064
|
};
|
|
1065
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1065
|
+
protoOf(ByteReadChannel$Companion$Empty$1).r2w = function () {
|
|
1066
1066
|
return true;
|
|
1067
1067
|
};
|
|
1068
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1069
|
-
return this.
|
|
1068
|
+
protoOf(ByteReadChannel$Companion$Empty$1).k2w = function () {
|
|
1069
|
+
return this.n2y_1;
|
|
1070
1070
|
};
|
|
1071
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1071
|
+
protoOf(ByteReadChannel$Companion$Empty$1).s2w = function (min, $completion) {
|
|
1072
1072
|
return false;
|
|
1073
1073
|
};
|
|
1074
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1074
|
+
protoOf(ByteReadChannel$Companion$Empty$1).v2w = function (cause) {
|
|
1075
1075
|
};
|
|
1076
1076
|
function Companion_0() {
|
|
1077
1077
|
Companion_instance_1 = this;
|
|
1078
1078
|
var tmp = this;
|
|
1079
|
-
tmp.
|
|
1079
|
+
tmp.o2y_1 = new ByteReadChannel$Companion$Empty$1();
|
|
1080
1080
|
}
|
|
1081
1081
|
var Companion_instance_1;
|
|
1082
1082
|
function Companion_getInstance_0() {
|
|
@@ -1087,80 +1087,80 @@
|
|
|
1087
1087
|
function ByteReadChannel_1() {
|
|
1088
1088
|
}
|
|
1089
1089
|
function cancel_0(_this__u8e3s4) {
|
|
1090
|
-
_this__u8e3s4.
|
|
1090
|
+
_this__u8e3s4.v2w(IOException_init_$Create$('Channel was cancelled'));
|
|
1091
1091
|
}
|
|
1092
1092
|
function readAvailable(_this__u8e3s4, buffer, offset, length, $completion) {
|
|
1093
1093
|
offset = offset === VOID ? 0 : offset;
|
|
1094
1094
|
length = length === VOID ? buffer.length - offset | 0 : length;
|
|
1095
1095
|
var tmp = new $readAvailableCOROUTINE$(_this__u8e3s4, buffer, offset, length, $completion);
|
|
1096
|
-
tmp.
|
|
1097
|
-
tmp.
|
|
1098
|
-
return tmp.
|
|
1096
|
+
tmp.k9_1 = Unit_instance;
|
|
1097
|
+
tmp.l9_1 = null;
|
|
1098
|
+
return tmp.q9();
|
|
1099
1099
|
}
|
|
1100
1100
|
function copyTo(_this__u8e3s4, channel, $completion) {
|
|
1101
1101
|
var tmp = new $copyToCOROUTINE$(_this__u8e3s4, channel, $completion);
|
|
1102
|
-
tmp.
|
|
1103
|
-
tmp.
|
|
1104
|
-
return tmp.
|
|
1102
|
+
tmp.k9_1 = Unit_instance;
|
|
1103
|
+
tmp.l9_1 = null;
|
|
1104
|
+
return tmp.q9();
|
|
1105
1105
|
}
|
|
1106
1106
|
function readRemaining(_this__u8e3s4, $completion) {
|
|
1107
1107
|
var tmp = new $readRemainingCOROUTINE$(_this__u8e3s4, $completion);
|
|
1108
|
-
tmp.
|
|
1109
|
-
tmp.
|
|
1110
|
-
return tmp.
|
|
1108
|
+
tmp.k9_1 = Unit_instance;
|
|
1109
|
+
tmp.l9_1 = null;
|
|
1110
|
+
return tmp.q9();
|
|
1111
1111
|
}
|
|
1112
1112
|
function toByteArray(_this__u8e3s4, $completion) {
|
|
1113
1113
|
var tmp = new $toByteArrayCOROUTINE$(_this__u8e3s4, $completion);
|
|
1114
|
-
tmp.
|
|
1115
|
-
tmp.
|
|
1116
|
-
return tmp.
|
|
1114
|
+
tmp.k9_1 = Unit_instance;
|
|
1115
|
+
tmp.l9_1 = null;
|
|
1116
|
+
return tmp.q9();
|
|
1117
1117
|
}
|
|
1118
1118
|
function copyTo_0(_this__u8e3s4, channel, limit, $completion) {
|
|
1119
1119
|
var tmp = new $copyToCOROUTINE$_0(_this__u8e3s4, channel, limit, $completion);
|
|
1120
|
-
tmp.
|
|
1121
|
-
tmp.
|
|
1122
|
-
return tmp.
|
|
1120
|
+
tmp.k9_1 = Unit_instance;
|
|
1121
|
+
tmp.l9_1 = null;
|
|
1122
|
+
return tmp.q9();
|
|
1123
1123
|
}
|
|
1124
1124
|
function discard(_this__u8e3s4, max, $completion) {
|
|
1125
1125
|
max = max === VOID ? new Long(-1, 2147483647) : max;
|
|
1126
1126
|
var tmp = new $discardCOROUTINE$(_this__u8e3s4, max, $completion);
|
|
1127
|
-
tmp.
|
|
1128
|
-
tmp.
|
|
1129
|
-
return tmp.
|
|
1127
|
+
tmp.k9_1 = Unit_instance;
|
|
1128
|
+
tmp.l9_1 = null;
|
|
1129
|
+
return tmp.q9();
|
|
1130
1130
|
}
|
|
1131
1131
|
function skipIfFound(_this__u8e3s4, byteString, $completion) {
|
|
1132
1132
|
var tmp = new $skipIfFoundCOROUTINE$(_this__u8e3s4, byteString, $completion);
|
|
1133
|
-
tmp.
|
|
1134
|
-
tmp.
|
|
1135
|
-
return tmp.
|
|
1133
|
+
tmp.k9_1 = Unit_instance;
|
|
1134
|
+
tmp.l9_1 = null;
|
|
1135
|
+
return tmp.q9();
|
|
1136
1136
|
}
|
|
1137
1137
|
function readPacket(_this__u8e3s4, packet, $completion) {
|
|
1138
1138
|
var tmp = new $readPacketCOROUTINE$(_this__u8e3s4, packet, $completion);
|
|
1139
|
-
tmp.
|
|
1140
|
-
tmp.
|
|
1141
|
-
return tmp.
|
|
1139
|
+
tmp.k9_1 = Unit_instance;
|
|
1140
|
+
tmp.l9_1 = null;
|
|
1141
|
+
return tmp.q9();
|
|
1142
1142
|
}
|
|
1143
1143
|
function readUntil(_this__u8e3s4, matchString, writeChannel, limit, ignoreMissing, $completion) {
|
|
1144
1144
|
limit = limit === VOID ? new Long(-1, 2147483647) : limit;
|
|
1145
1145
|
ignoreMissing = ignoreMissing === VOID ? false : ignoreMissing;
|
|
1146
|
-
return (new ByteChannelScanner(_this__u8e3s4, matchString, writeChannel, limit)).
|
|
1146
|
+
return (new ByteChannelScanner(_this__u8e3s4, matchString, writeChannel, limit)).l2y(ignoreMissing, $completion);
|
|
1147
1147
|
}
|
|
1148
1148
|
function readUTF8LineTo(_this__u8e3s4, out, max, lineEnding, $completion) {
|
|
1149
1149
|
max = max === VOID ? 2147483647 : max;
|
|
1150
|
-
lineEnding = lineEnding === VOID ? Companion_getInstance_1().
|
|
1150
|
+
lineEnding = lineEnding === VOID ? Companion_getInstance_1().c32_1 : lineEnding;
|
|
1151
1151
|
var tmp = new $readUTF8LineToCOROUTINE$(_this__u8e3s4, out, max, lineEnding, $completion);
|
|
1152
|
-
tmp.
|
|
1153
|
-
tmp.
|
|
1154
|
-
return tmp.
|
|
1152
|
+
tmp.k9_1 = Unit_instance;
|
|
1153
|
+
tmp.l9_1 = null;
|
|
1154
|
+
return tmp.q9();
|
|
1155
1155
|
}
|
|
1156
1156
|
function readRemaining_0(_this__u8e3s4, max, $completion) {
|
|
1157
1157
|
var tmp = new $readRemainingCOROUTINE$_0(_this__u8e3s4, max, $completion);
|
|
1158
|
-
tmp.
|
|
1159
|
-
tmp.
|
|
1160
|
-
return tmp.
|
|
1158
|
+
tmp.k9_1 = Unit_instance;
|
|
1159
|
+
tmp.l9_1 = null;
|
|
1160
|
+
return tmp.q9();
|
|
1161
1161
|
}
|
|
1162
1162
|
function rethrowCloseCauseIfNeeded(_this__u8e3s4) {
|
|
1163
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1163
|
+
var tmp0_safe_receiver = _this__u8e3s4.p2w();
|
|
1164
1164
|
if (tmp0_safe_receiver == null)
|
|
1165
1165
|
null;
|
|
1166
1166
|
else {
|
|
@@ -1169,7 +1169,7 @@
|
|
|
1169
1169
|
}
|
|
1170
1170
|
}
|
|
1171
1171
|
function rethrowCloseCauseIfNeeded_0(_this__u8e3s4) {
|
|
1172
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1172
|
+
var tmp0_safe_receiver = _this__u8e3s4.p2w();
|
|
1173
1173
|
if (tmp0_safe_receiver == null)
|
|
1174
1174
|
null;
|
|
1175
1175
|
else {
|
|
@@ -1179,21 +1179,21 @@
|
|
|
1179
1179
|
}
|
|
1180
1180
|
function readBuffer(_this__u8e3s4, $completion) {
|
|
1181
1181
|
var tmp = new $readBufferCOROUTINE$(_this__u8e3s4, $completion);
|
|
1182
|
-
tmp.
|
|
1183
|
-
tmp.
|
|
1184
|
-
return tmp.
|
|
1182
|
+
tmp.k9_1 = Unit_instance;
|
|
1183
|
+
tmp.l9_1 = null;
|
|
1184
|
+
return tmp.q9();
|
|
1185
1185
|
}
|
|
1186
1186
|
function get_availableForRead(_this__u8e3s4) {
|
|
1187
|
-
return convertToInt(_this__u8e3s4.
|
|
1187
|
+
return convertToInt(_this__u8e3s4.k2w().o1i().g1());
|
|
1188
1188
|
}
|
|
1189
1189
|
function peek(_this__u8e3s4, count, $completion) {
|
|
1190
1190
|
var tmp = new $peekCOROUTINE$(_this__u8e3s4, count, $completion);
|
|
1191
|
-
tmp.
|
|
1192
|
-
tmp.
|
|
1193
|
-
return tmp.
|
|
1191
|
+
tmp.k9_1 = Unit_instance;
|
|
1192
|
+
tmp.l9_1 = null;
|
|
1193
|
+
return tmp.q9();
|
|
1194
1194
|
}
|
|
1195
1195
|
function rethrowCloseCauseIfNeeded_1(_this__u8e3s4) {
|
|
1196
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1196
|
+
var tmp0_safe_receiver = _this__u8e3s4.p2w();
|
|
1197
1197
|
if (tmp0_safe_receiver == null)
|
|
1198
1198
|
null;
|
|
1199
1199
|
else {
|
|
@@ -1208,216 +1208,216 @@
|
|
|
1208
1208
|
}
|
|
1209
1209
|
function $readAvailableCOROUTINE$(_this__u8e3s4, buffer, offset, length, resultContinuation) {
|
|
1210
1210
|
CoroutineImpl.call(this, resultContinuation);
|
|
1211
|
-
this.
|
|
1212
|
-
this.
|
|
1213
|
-
this.
|
|
1214
|
-
this.
|
|
1211
|
+
this.x2y_1 = _this__u8e3s4;
|
|
1212
|
+
this.y2y_1 = buffer;
|
|
1213
|
+
this.z2y_1 = offset;
|
|
1214
|
+
this.a2z_1 = length;
|
|
1215
1215
|
}
|
|
1216
|
-
protoOf($readAvailableCOROUTINE$).
|
|
1217
|
-
var suspendResult = this.
|
|
1216
|
+
protoOf($readAvailableCOROUTINE$).q9 = function () {
|
|
1217
|
+
var suspendResult = this.k9_1;
|
|
1218
1218
|
$sm: do
|
|
1219
1219
|
try {
|
|
1220
|
-
var tmp = this.
|
|
1220
|
+
var tmp = this.i9_1;
|
|
1221
1221
|
switch (tmp) {
|
|
1222
1222
|
case 0:
|
|
1223
|
-
this.
|
|
1224
|
-
if (this.
|
|
1223
|
+
this.j9_1 = 3;
|
|
1224
|
+
if (this.x2y_1.r2w())
|
|
1225
1225
|
return -1;
|
|
1226
|
-
if (this.
|
|
1227
|
-
this.
|
|
1228
|
-
suspendResult = this.
|
|
1226
|
+
if (this.x2y_1.k2w().p1i()) {
|
|
1227
|
+
this.i9_1 = 1;
|
|
1228
|
+
suspendResult = this.x2y_1.t2w(VOID, this);
|
|
1229
1229
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1230
1230
|
return suspendResult;
|
|
1231
1231
|
}
|
|
1232
1232
|
continue $sm;
|
|
1233
1233
|
} else {
|
|
1234
|
-
this.
|
|
1234
|
+
this.i9_1 = 2;
|
|
1235
1235
|
continue $sm;
|
|
1236
1236
|
}
|
|
1237
1237
|
|
|
1238
1238
|
case 1:
|
|
1239
|
-
this.
|
|
1239
|
+
this.i9_1 = 2;
|
|
1240
1240
|
continue $sm;
|
|
1241
1241
|
case 2:
|
|
1242
|
-
if (this.
|
|
1242
|
+
if (this.x2y_1.r2w())
|
|
1243
1243
|
return -1;
|
|
1244
|
-
return readAvailable_0(this.
|
|
1244
|
+
return readAvailable_0(this.x2y_1.k2w(), this.y2y_1, this.z2y_1, this.a2z_1);
|
|
1245
1245
|
case 3:
|
|
1246
|
-
throw this.
|
|
1246
|
+
throw this.l9_1;
|
|
1247
1247
|
}
|
|
1248
1248
|
} catch ($p) {
|
|
1249
1249
|
var e = $p;
|
|
1250
|
-
if (this.
|
|
1250
|
+
if (this.j9_1 === 3) {
|
|
1251
1251
|
throw e;
|
|
1252
1252
|
} else {
|
|
1253
|
-
this.
|
|
1254
|
-
this.
|
|
1253
|
+
this.i9_1 = this.j9_1;
|
|
1254
|
+
this.l9_1 = e;
|
|
1255
1255
|
}
|
|
1256
1256
|
}
|
|
1257
1257
|
while (true);
|
|
1258
1258
|
};
|
|
1259
1259
|
function $copyToCOROUTINE$(_this__u8e3s4, channel, resultContinuation) {
|
|
1260
1260
|
CoroutineImpl.call(this, resultContinuation);
|
|
1261
|
-
this.
|
|
1262
|
-
this.
|
|
1261
|
+
this.j2z_1 = _this__u8e3s4;
|
|
1262
|
+
this.k2z_1 = channel;
|
|
1263
1263
|
}
|
|
1264
|
-
protoOf($copyToCOROUTINE$).
|
|
1265
|
-
var suspendResult = this.
|
|
1264
|
+
protoOf($copyToCOROUTINE$).q9 = function () {
|
|
1265
|
+
var suspendResult = this.k9_1;
|
|
1266
1266
|
$sm: do
|
|
1267
1267
|
try {
|
|
1268
|
-
var tmp = this.
|
|
1268
|
+
var tmp = this.i9_1;
|
|
1269
1269
|
switch (tmp) {
|
|
1270
1270
|
case 0:
|
|
1271
|
-
this.
|
|
1272
|
-
this.
|
|
1273
|
-
this.
|
|
1271
|
+
this.j9_1 = 11;
|
|
1272
|
+
this.l2z_1 = new Long(0, 0);
|
|
1273
|
+
this.i9_1 = 1;
|
|
1274
1274
|
continue $sm;
|
|
1275
1275
|
case 1:
|
|
1276
|
-
this.
|
|
1277
|
-
this.
|
|
1278
|
-
this.
|
|
1276
|
+
this.j9_1 = 7;
|
|
1277
|
+
this.j9_1 = 6;
|
|
1278
|
+
this.i9_1 = 2;
|
|
1279
1279
|
continue $sm;
|
|
1280
1280
|
case 2:
|
|
1281
|
-
if (!!this.
|
|
1282
|
-
this.
|
|
1281
|
+
if (!!this.j2z_1.r2w()) {
|
|
1282
|
+
this.i9_1 = 5;
|
|
1283
1283
|
continue $sm;
|
|
1284
1284
|
}
|
|
1285
1285
|
|
|
1286
|
-
this.
|
|
1287
|
-
this.
|
|
1288
|
-
suspendResult = this.
|
|
1286
|
+
this.l2z_1 = add(this.l2z_1, this.j2z_1.k2w().s1j(this.k2z_1.n2w()));
|
|
1287
|
+
this.i9_1 = 3;
|
|
1288
|
+
suspendResult = this.k2z_1.i2w(this);
|
|
1289
1289
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1290
1290
|
return suspendResult;
|
|
1291
1291
|
}
|
|
1292
1292
|
|
|
1293
1293
|
continue $sm;
|
|
1294
1294
|
case 3:
|
|
1295
|
-
this.
|
|
1296
|
-
suspendResult = this.
|
|
1295
|
+
this.i9_1 = 4;
|
|
1296
|
+
suspendResult = this.j2z_1.t2w(VOID, this);
|
|
1297
1297
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1298
1298
|
return suspendResult;
|
|
1299
1299
|
}
|
|
1300
1300
|
|
|
1301
1301
|
continue $sm;
|
|
1302
1302
|
case 4:
|
|
1303
|
-
this.
|
|
1303
|
+
this.i9_1 = 2;
|
|
1304
1304
|
continue $sm;
|
|
1305
1305
|
case 5:
|
|
1306
|
-
this.
|
|
1307
|
-
this.
|
|
1306
|
+
this.j9_1 = 11;
|
|
1307
|
+
this.i9_1 = 9;
|
|
1308
1308
|
continue $sm;
|
|
1309
1309
|
case 6:
|
|
1310
|
-
this.
|
|
1311
|
-
var tmp_0 = this.
|
|
1310
|
+
this.j9_1 = 7;
|
|
1311
|
+
var tmp_0 = this.l9_1;
|
|
1312
1312
|
if (tmp_0 instanceof Error) {
|
|
1313
|
-
var cause = this.
|
|
1314
|
-
this.
|
|
1315
|
-
close_0(this.
|
|
1313
|
+
var cause = this.l9_1;
|
|
1314
|
+
this.j2z_1.v2w(cause);
|
|
1315
|
+
close_0(this.k2z_1, cause);
|
|
1316
1316
|
throw cause;
|
|
1317
1317
|
} else {
|
|
1318
|
-
throw this.
|
|
1318
|
+
throw this.l9_1;
|
|
1319
1319
|
}
|
|
1320
1320
|
|
|
1321
1321
|
case 7:
|
|
1322
|
-
this.
|
|
1323
|
-
this.
|
|
1324
|
-
this.
|
|
1325
|
-
suspendResult = this.
|
|
1322
|
+
this.j9_1 = 11;
|
|
1323
|
+
this.m2z_1 = this.l9_1;
|
|
1324
|
+
this.i9_1 = 8;
|
|
1325
|
+
suspendResult = this.k2z_1.i2w(this);
|
|
1326
1326
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1327
1327
|
return suspendResult;
|
|
1328
1328
|
}
|
|
1329
1329
|
|
|
1330
1330
|
continue $sm;
|
|
1331
1331
|
case 8:
|
|
1332
|
-
throw this.
|
|
1332
|
+
throw this.m2z_1;
|
|
1333
1333
|
case 9:
|
|
1334
|
-
this.
|
|
1335
|
-
this.
|
|
1336
|
-
suspendResult = this.
|
|
1334
|
+
this.j9_1 = 11;
|
|
1335
|
+
this.i9_1 = 10;
|
|
1336
|
+
suspendResult = this.k2z_1.i2w(this);
|
|
1337
1337
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1338
1338
|
return suspendResult;
|
|
1339
1339
|
}
|
|
1340
1340
|
|
|
1341
1341
|
continue $sm;
|
|
1342
1342
|
case 10:
|
|
1343
|
-
return this.
|
|
1343
|
+
return this.l2z_1;
|
|
1344
1344
|
case 11:
|
|
1345
|
-
throw this.
|
|
1345
|
+
throw this.l9_1;
|
|
1346
1346
|
}
|
|
1347
1347
|
} catch ($p) {
|
|
1348
1348
|
var e = $p;
|
|
1349
|
-
if (this.
|
|
1349
|
+
if (this.j9_1 === 11) {
|
|
1350
1350
|
throw e;
|
|
1351
1351
|
} else {
|
|
1352
|
-
this.
|
|
1353
|
-
this.
|
|
1352
|
+
this.i9_1 = this.j9_1;
|
|
1353
|
+
this.l9_1 = e;
|
|
1354
1354
|
}
|
|
1355
1355
|
}
|
|
1356
1356
|
while (true);
|
|
1357
1357
|
};
|
|
1358
1358
|
function $readRemainingCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
1359
1359
|
CoroutineImpl.call(this, resultContinuation);
|
|
1360
|
-
this.
|
|
1360
|
+
this.v2z_1 = _this__u8e3s4;
|
|
1361
1361
|
}
|
|
1362
|
-
protoOf($readRemainingCOROUTINE$).
|
|
1363
|
-
var suspendResult = this.
|
|
1362
|
+
protoOf($readRemainingCOROUTINE$).q9 = function () {
|
|
1363
|
+
var suspendResult = this.k9_1;
|
|
1364
1364
|
$sm: do
|
|
1365
1365
|
try {
|
|
1366
|
-
var tmp = this.
|
|
1366
|
+
var tmp = this.i9_1;
|
|
1367
1367
|
switch (tmp) {
|
|
1368
1368
|
case 0:
|
|
1369
|
-
this.
|
|
1370
|
-
this.
|
|
1371
|
-
this.
|
|
1369
|
+
this.j9_1 = 4;
|
|
1370
|
+
this.w2z_1 = BytePacketBuilder();
|
|
1371
|
+
this.i9_1 = 1;
|
|
1372
1372
|
continue $sm;
|
|
1373
1373
|
case 1:
|
|
1374
|
-
if (!!this.
|
|
1375
|
-
this.
|
|
1374
|
+
if (!!this.v2z_1.r2w()) {
|
|
1375
|
+
this.i9_1 = 3;
|
|
1376
1376
|
continue $sm;
|
|
1377
1377
|
}
|
|
1378
1378
|
|
|
1379
|
-
this.
|
|
1380
|
-
this.
|
|
1381
|
-
suspendResult = this.
|
|
1379
|
+
this.w2z_1.h1k(this.v2z_1.k2w());
|
|
1380
|
+
this.i9_1 = 2;
|
|
1381
|
+
suspendResult = this.v2z_1.t2w(VOID, this);
|
|
1382
1382
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1383
1383
|
return suspendResult;
|
|
1384
1384
|
}
|
|
1385
1385
|
|
|
1386
1386
|
continue $sm;
|
|
1387
1387
|
case 2:
|
|
1388
|
-
this.
|
|
1388
|
+
this.i9_1 = 1;
|
|
1389
1389
|
continue $sm;
|
|
1390
1390
|
case 3:
|
|
1391
|
-
rethrowCloseCauseIfNeeded_0(this.
|
|
1392
|
-
return this.
|
|
1391
|
+
rethrowCloseCauseIfNeeded_0(this.v2z_1);
|
|
1392
|
+
return this.w2z_1.o1i();
|
|
1393
1393
|
case 4:
|
|
1394
|
-
throw this.
|
|
1394
|
+
throw this.l9_1;
|
|
1395
1395
|
}
|
|
1396
1396
|
} catch ($p) {
|
|
1397
1397
|
var e = $p;
|
|
1398
|
-
if (this.
|
|
1398
|
+
if (this.j9_1 === 4) {
|
|
1399
1399
|
throw e;
|
|
1400
1400
|
} else {
|
|
1401
|
-
this.
|
|
1402
|
-
this.
|
|
1401
|
+
this.i9_1 = this.j9_1;
|
|
1402
|
+
this.l9_1 = e;
|
|
1403
1403
|
}
|
|
1404
1404
|
}
|
|
1405
1405
|
while (true);
|
|
1406
1406
|
};
|
|
1407
1407
|
function $toByteArrayCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
1408
1408
|
CoroutineImpl.call(this, resultContinuation);
|
|
1409
|
-
this.
|
|
1409
|
+
this.f30_1 = _this__u8e3s4;
|
|
1410
1410
|
}
|
|
1411
|
-
protoOf($toByteArrayCOROUTINE$).
|
|
1412
|
-
var suspendResult = this.
|
|
1411
|
+
protoOf($toByteArrayCOROUTINE$).q9 = function () {
|
|
1412
|
+
var suspendResult = this.k9_1;
|
|
1413
1413
|
$sm: do
|
|
1414
1414
|
try {
|
|
1415
|
-
var tmp = this.
|
|
1415
|
+
var tmp = this.i9_1;
|
|
1416
1416
|
switch (tmp) {
|
|
1417
1417
|
case 0:
|
|
1418
|
-
this.
|
|
1419
|
-
this.
|
|
1420
|
-
suspendResult = readBuffer(this.
|
|
1418
|
+
this.j9_1 = 2;
|
|
1419
|
+
this.i9_1 = 1;
|
|
1420
|
+
suspendResult = readBuffer(this.f30_1, this);
|
|
1421
1421
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1422
1422
|
return suspendResult;
|
|
1423
1423
|
}
|
|
@@ -1427,207 +1427,207 @@
|
|
|
1427
1427
|
var ARGUMENT = suspendResult;
|
|
1428
1428
|
return readBytes(ARGUMENT);
|
|
1429
1429
|
case 2:
|
|
1430
|
-
throw this.
|
|
1430
|
+
throw this.l9_1;
|
|
1431
1431
|
}
|
|
1432
1432
|
} catch ($p) {
|
|
1433
1433
|
var e = $p;
|
|
1434
|
-
if (this.
|
|
1434
|
+
if (this.j9_1 === 2) {
|
|
1435
1435
|
throw e;
|
|
1436
1436
|
} else {
|
|
1437
|
-
this.
|
|
1438
|
-
this.
|
|
1437
|
+
this.i9_1 = this.j9_1;
|
|
1438
|
+
this.l9_1 = e;
|
|
1439
1439
|
}
|
|
1440
1440
|
}
|
|
1441
1441
|
while (true);
|
|
1442
1442
|
};
|
|
1443
1443
|
function $copyToCOROUTINE$_0(_this__u8e3s4, channel, limit, resultContinuation) {
|
|
1444
1444
|
CoroutineImpl.call(this, resultContinuation);
|
|
1445
|
-
this.
|
|
1446
|
-
this.
|
|
1447
|
-
this.
|
|
1445
|
+
this.o30_1 = _this__u8e3s4;
|
|
1446
|
+
this.p30_1 = channel;
|
|
1447
|
+
this.q30_1 = limit;
|
|
1448
1448
|
}
|
|
1449
|
-
protoOf($copyToCOROUTINE$_0).
|
|
1450
|
-
var suspendResult = this.
|
|
1449
|
+
protoOf($copyToCOROUTINE$_0).q9 = function () {
|
|
1450
|
+
var suspendResult = this.k9_1;
|
|
1451
1451
|
$sm: do
|
|
1452
1452
|
try {
|
|
1453
|
-
var tmp = this.
|
|
1453
|
+
var tmp = this.i9_1;
|
|
1454
1454
|
switch (tmp) {
|
|
1455
1455
|
case 0:
|
|
1456
|
-
this.
|
|
1457
|
-
this.
|
|
1458
|
-
this.
|
|
1456
|
+
this.j9_1 = 12;
|
|
1457
|
+
this.r30_1 = this.q30_1;
|
|
1458
|
+
this.i9_1 = 1;
|
|
1459
1459
|
continue $sm;
|
|
1460
1460
|
case 1:
|
|
1461
|
-
this.
|
|
1462
|
-
this.
|
|
1463
|
-
this.
|
|
1461
|
+
this.j9_1 = 8;
|
|
1462
|
+
this.j9_1 = 7;
|
|
1463
|
+
this.i9_1 = 2;
|
|
1464
1464
|
continue $sm;
|
|
1465
1465
|
case 2:
|
|
1466
|
-
if (!(!this.
|
|
1467
|
-
this.
|
|
1466
|
+
if (!(!this.o30_1.r2w() && compare(this.r30_1, new Long(0, 0)) > 0)) {
|
|
1467
|
+
this.i9_1 = 6;
|
|
1468
1468
|
continue $sm;
|
|
1469
1469
|
}
|
|
1470
1470
|
|
|
1471
|
-
if (this.
|
|
1472
|
-
this.
|
|
1473
|
-
suspendResult = this.
|
|
1471
|
+
if (this.o30_1.k2w().p1i()) {
|
|
1472
|
+
this.i9_1 = 3;
|
|
1473
|
+
suspendResult = this.o30_1.t2w(VOID, this);
|
|
1474
1474
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1475
1475
|
return suspendResult;
|
|
1476
1476
|
}
|
|
1477
1477
|
continue $sm;
|
|
1478
1478
|
} else {
|
|
1479
|
-
this.
|
|
1479
|
+
this.i9_1 = 4;
|
|
1480
1480
|
continue $sm;
|
|
1481
1481
|
}
|
|
1482
1482
|
|
|
1483
1483
|
case 3:
|
|
1484
|
-
this.
|
|
1484
|
+
this.i9_1 = 4;
|
|
1485
1485
|
continue $sm;
|
|
1486
1486
|
case 4:
|
|
1487
|
-
var tmp0 = this.
|
|
1488
|
-
var b = get_remaining(this.
|
|
1487
|
+
var tmp0 = this.r30_1;
|
|
1488
|
+
var b = get_remaining(this.o30_1.k2w());
|
|
1489
1489
|
var count = compare(tmp0, b) <= 0 ? tmp0 : b;
|
|
1490
|
-
this.
|
|
1491
|
-
this.
|
|
1492
|
-
this.
|
|
1493
|
-
suspendResult = this.
|
|
1490
|
+
this.o30_1.k2w().r1j(this.p30_1.n2w(), count);
|
|
1491
|
+
this.r30_1 = subtract(this.r30_1, count);
|
|
1492
|
+
this.i9_1 = 5;
|
|
1493
|
+
suspendResult = this.p30_1.i2w(this);
|
|
1494
1494
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1495
1495
|
return suspendResult;
|
|
1496
1496
|
}
|
|
1497
1497
|
|
|
1498
1498
|
continue $sm;
|
|
1499
1499
|
case 5:
|
|
1500
|
-
this.
|
|
1500
|
+
this.i9_1 = 2;
|
|
1501
1501
|
continue $sm;
|
|
1502
1502
|
case 6:
|
|
1503
|
-
this.
|
|
1504
|
-
this.
|
|
1503
|
+
this.j9_1 = 12;
|
|
1504
|
+
this.i9_1 = 10;
|
|
1505
1505
|
continue $sm;
|
|
1506
1506
|
case 7:
|
|
1507
|
-
this.
|
|
1508
|
-
var tmp_0 = this.
|
|
1507
|
+
this.j9_1 = 8;
|
|
1508
|
+
var tmp_0 = this.l9_1;
|
|
1509
1509
|
if (tmp_0 instanceof Error) {
|
|
1510
|
-
var cause = this.
|
|
1511
|
-
this.
|
|
1512
|
-
close_0(this.
|
|
1510
|
+
var cause = this.l9_1;
|
|
1511
|
+
this.o30_1.v2w(cause);
|
|
1512
|
+
close_0(this.p30_1, cause);
|
|
1513
1513
|
throw cause;
|
|
1514
1514
|
} else {
|
|
1515
|
-
throw this.
|
|
1515
|
+
throw this.l9_1;
|
|
1516
1516
|
}
|
|
1517
1517
|
|
|
1518
1518
|
case 8:
|
|
1519
|
-
this.
|
|
1520
|
-
this.
|
|
1521
|
-
this.
|
|
1522
|
-
suspendResult = this.
|
|
1519
|
+
this.j9_1 = 12;
|
|
1520
|
+
this.s30_1 = this.l9_1;
|
|
1521
|
+
this.i9_1 = 9;
|
|
1522
|
+
suspendResult = this.p30_1.i2w(this);
|
|
1523
1523
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1524
1524
|
return suspendResult;
|
|
1525
1525
|
}
|
|
1526
1526
|
|
|
1527
1527
|
continue $sm;
|
|
1528
1528
|
case 9:
|
|
1529
|
-
throw this.
|
|
1529
|
+
throw this.s30_1;
|
|
1530
1530
|
case 10:
|
|
1531
|
-
this.
|
|
1532
|
-
this.
|
|
1533
|
-
suspendResult = this.
|
|
1531
|
+
this.j9_1 = 12;
|
|
1532
|
+
this.i9_1 = 11;
|
|
1533
|
+
suspendResult = this.p30_1.i2w(this);
|
|
1534
1534
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1535
1535
|
return suspendResult;
|
|
1536
1536
|
}
|
|
1537
1537
|
|
|
1538
1538
|
continue $sm;
|
|
1539
1539
|
case 11:
|
|
1540
|
-
return subtract(this.
|
|
1540
|
+
return subtract(this.q30_1, this.r30_1);
|
|
1541
1541
|
case 12:
|
|
1542
|
-
throw this.
|
|
1542
|
+
throw this.l9_1;
|
|
1543
1543
|
}
|
|
1544
1544
|
} catch ($p) {
|
|
1545
1545
|
var e = $p;
|
|
1546
|
-
if (this.
|
|
1546
|
+
if (this.j9_1 === 12) {
|
|
1547
1547
|
throw e;
|
|
1548
1548
|
} else {
|
|
1549
|
-
this.
|
|
1550
|
-
this.
|
|
1549
|
+
this.i9_1 = this.j9_1;
|
|
1550
|
+
this.l9_1 = e;
|
|
1551
1551
|
}
|
|
1552
1552
|
}
|
|
1553
1553
|
while (true);
|
|
1554
1554
|
};
|
|
1555
1555
|
function $discardCOROUTINE$(_this__u8e3s4, max, resultContinuation) {
|
|
1556
1556
|
CoroutineImpl.call(this, resultContinuation);
|
|
1557
|
-
this.
|
|
1558
|
-
this.
|
|
1557
|
+
this.b31_1 = _this__u8e3s4;
|
|
1558
|
+
this.c31_1 = max;
|
|
1559
1559
|
}
|
|
1560
|
-
protoOf($discardCOROUTINE$).
|
|
1561
|
-
var suspendResult = this.
|
|
1560
|
+
protoOf($discardCOROUTINE$).q9 = function () {
|
|
1561
|
+
var suspendResult = this.k9_1;
|
|
1562
1562
|
$sm: do
|
|
1563
1563
|
try {
|
|
1564
|
-
var tmp = this.
|
|
1564
|
+
var tmp = this.i9_1;
|
|
1565
1565
|
switch (tmp) {
|
|
1566
1566
|
case 0:
|
|
1567
|
-
this.
|
|
1568
|
-
this.
|
|
1569
|
-
this.
|
|
1567
|
+
this.j9_1 = 5;
|
|
1568
|
+
this.d31_1 = this.c31_1;
|
|
1569
|
+
this.i9_1 = 1;
|
|
1570
1570
|
continue $sm;
|
|
1571
1571
|
case 1:
|
|
1572
|
-
if (!(compare(this.
|
|
1573
|
-
this.
|
|
1572
|
+
if (!(compare(this.d31_1, new Long(0, 0)) > 0 && !this.b31_1.r2w())) {
|
|
1573
|
+
this.i9_1 = 4;
|
|
1574
1574
|
continue $sm;
|
|
1575
1575
|
}
|
|
1576
1576
|
|
|
1577
|
-
if (get_availableForRead(this.
|
|
1578
|
-
this.
|
|
1579
|
-
suspendResult = this.
|
|
1577
|
+
if (get_availableForRead(this.b31_1) === 0) {
|
|
1578
|
+
this.i9_1 = 2;
|
|
1579
|
+
suspendResult = this.b31_1.t2w(VOID, this);
|
|
1580
1580
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1581
1581
|
return suspendResult;
|
|
1582
1582
|
}
|
|
1583
1583
|
continue $sm;
|
|
1584
1584
|
} else {
|
|
1585
|
-
this.
|
|
1585
|
+
this.i9_1 = 3;
|
|
1586
1586
|
continue $sm;
|
|
1587
1587
|
}
|
|
1588
1588
|
|
|
1589
1589
|
case 2:
|
|
1590
|
-
this.
|
|
1590
|
+
this.i9_1 = 3;
|
|
1591
1591
|
continue $sm;
|
|
1592
1592
|
case 3:
|
|
1593
|
-
var tmp0 = this.
|
|
1594
|
-
var b = get_remaining(this.
|
|
1593
|
+
var tmp0 = this.d31_1;
|
|
1594
|
+
var b = get_remaining(this.b31_1.k2w());
|
|
1595
1595
|
var count = compare(tmp0, b) <= 0 ? tmp0 : b;
|
|
1596
|
-
discard_0(this.
|
|
1597
|
-
this.
|
|
1598
|
-
this.
|
|
1596
|
+
discard_0(this.b31_1.k2w(), count);
|
|
1597
|
+
this.d31_1 = subtract(this.d31_1, count);
|
|
1598
|
+
this.i9_1 = 1;
|
|
1599
1599
|
continue $sm;
|
|
1600
1600
|
case 4:
|
|
1601
|
-
return subtract(this.
|
|
1601
|
+
return subtract(this.c31_1, this.d31_1);
|
|
1602
1602
|
case 5:
|
|
1603
|
-
throw this.
|
|
1603
|
+
throw this.l9_1;
|
|
1604
1604
|
}
|
|
1605
1605
|
} catch ($p) {
|
|
1606
1606
|
var e = $p;
|
|
1607
|
-
if (this.
|
|
1607
|
+
if (this.j9_1 === 5) {
|
|
1608
1608
|
throw e;
|
|
1609
1609
|
} else {
|
|
1610
|
-
this.
|
|
1611
|
-
this.
|
|
1610
|
+
this.i9_1 = this.j9_1;
|
|
1611
|
+
this.l9_1 = e;
|
|
1612
1612
|
}
|
|
1613
1613
|
}
|
|
1614
1614
|
while (true);
|
|
1615
1615
|
};
|
|
1616
1616
|
function $skipIfFoundCOROUTINE$(_this__u8e3s4, byteString, resultContinuation) {
|
|
1617
1617
|
CoroutineImpl.call(this, resultContinuation);
|
|
1618
|
-
this.
|
|
1619
|
-
this.
|
|
1618
|
+
this.m31_1 = _this__u8e3s4;
|
|
1619
|
+
this.n31_1 = byteString;
|
|
1620
1620
|
}
|
|
1621
|
-
protoOf($skipIfFoundCOROUTINE$).
|
|
1622
|
-
var suspendResult = this.
|
|
1621
|
+
protoOf($skipIfFoundCOROUTINE$).q9 = function () {
|
|
1622
|
+
var suspendResult = this.k9_1;
|
|
1623
1623
|
$sm: do
|
|
1624
1624
|
try {
|
|
1625
|
-
var tmp = this.
|
|
1625
|
+
var tmp = this.i9_1;
|
|
1626
1626
|
switch (tmp) {
|
|
1627
1627
|
case 0:
|
|
1628
|
-
this.
|
|
1629
|
-
this.
|
|
1630
|
-
suspendResult = peek(this.
|
|
1628
|
+
this.j9_1 = 4;
|
|
1629
|
+
this.i9_1 = 1;
|
|
1630
|
+
suspendResult = peek(this.m31_1, this.n31_1.g1(), this);
|
|
1631
1631
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1632
1632
|
return suspendResult;
|
|
1633
1633
|
}
|
|
@@ -1635,15 +1635,15 @@
|
|
|
1635
1635
|
continue $sm;
|
|
1636
1636
|
case 1:
|
|
1637
1637
|
var ARGUMENT = suspendResult;
|
|
1638
|
-
if (equals(ARGUMENT, this.
|
|
1639
|
-
this.
|
|
1640
|
-
suspendResult = discard(this.
|
|
1638
|
+
if (equals(ARGUMENT, this.n31_1)) {
|
|
1639
|
+
this.i9_1 = 3;
|
|
1640
|
+
suspendResult = discard(this.m31_1, fromInt(this.n31_1.g1()), this);
|
|
1641
1641
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1642
1642
|
return suspendResult;
|
|
1643
1643
|
}
|
|
1644
1644
|
continue $sm;
|
|
1645
1645
|
} else {
|
|
1646
|
-
this.
|
|
1646
|
+
this.i9_1 = 2;
|
|
1647
1647
|
continue $sm;
|
|
1648
1648
|
}
|
|
1649
1649
|
|
|
@@ -1652,419 +1652,419 @@
|
|
|
1652
1652
|
case 3:
|
|
1653
1653
|
return true;
|
|
1654
1654
|
case 4:
|
|
1655
|
-
throw this.
|
|
1655
|
+
throw this.l9_1;
|
|
1656
1656
|
}
|
|
1657
1657
|
} catch ($p) {
|
|
1658
1658
|
var e = $p;
|
|
1659
|
-
if (this.
|
|
1659
|
+
if (this.j9_1 === 4) {
|
|
1660
1660
|
throw e;
|
|
1661
1661
|
} else {
|
|
1662
|
-
this.
|
|
1663
|
-
this.
|
|
1662
|
+
this.i9_1 = this.j9_1;
|
|
1663
|
+
this.l9_1 = e;
|
|
1664
1664
|
}
|
|
1665
1665
|
}
|
|
1666
1666
|
while (true);
|
|
1667
1667
|
};
|
|
1668
1668
|
function $readPacketCOROUTINE$(_this__u8e3s4, packet, resultContinuation) {
|
|
1669
1669
|
CoroutineImpl.call(this, resultContinuation);
|
|
1670
|
-
this.
|
|
1671
|
-
this.
|
|
1670
|
+
this.w31_1 = _this__u8e3s4;
|
|
1671
|
+
this.x31_1 = packet;
|
|
1672
1672
|
}
|
|
1673
|
-
protoOf($readPacketCOROUTINE$).
|
|
1674
|
-
var suspendResult = this.
|
|
1673
|
+
protoOf($readPacketCOROUTINE$).q9 = function () {
|
|
1674
|
+
var suspendResult = this.k9_1;
|
|
1675
1675
|
$sm: do
|
|
1676
1676
|
try {
|
|
1677
|
-
var tmp = this.
|
|
1677
|
+
var tmp = this.i9_1;
|
|
1678
1678
|
switch (tmp) {
|
|
1679
1679
|
case 0:
|
|
1680
|
-
this.
|
|
1681
|
-
this.
|
|
1682
|
-
this.
|
|
1680
|
+
this.j9_1 = 6;
|
|
1681
|
+
this.y31_1 = new Buffer();
|
|
1682
|
+
this.i9_1 = 1;
|
|
1683
1683
|
continue $sm;
|
|
1684
1684
|
case 1:
|
|
1685
|
-
if (!(compare(this.
|
|
1686
|
-
this.
|
|
1685
|
+
if (!(compare(this.y31_1.g1(), fromInt(this.x31_1)) < 0)) {
|
|
1686
|
+
this.i9_1 = 5;
|
|
1687
1687
|
continue $sm;
|
|
1688
1688
|
}
|
|
1689
1689
|
|
|
1690
|
-
if (this.
|
|
1691
|
-
this.
|
|
1692
|
-
suspendResult = this.
|
|
1690
|
+
if (this.w31_1.k2w().p1i()) {
|
|
1691
|
+
this.i9_1 = 2;
|
|
1692
|
+
suspendResult = this.w31_1.t2w(VOID, this);
|
|
1693
1693
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1694
1694
|
return suspendResult;
|
|
1695
1695
|
}
|
|
1696
1696
|
continue $sm;
|
|
1697
1697
|
} else {
|
|
1698
|
-
this.
|
|
1698
|
+
this.i9_1 = 3;
|
|
1699
1699
|
continue $sm;
|
|
1700
1700
|
}
|
|
1701
1701
|
|
|
1702
1702
|
case 2:
|
|
1703
|
-
this.
|
|
1703
|
+
this.i9_1 = 3;
|
|
1704
1704
|
continue $sm;
|
|
1705
1705
|
case 3:
|
|
1706
|
-
if (this.
|
|
1707
|
-
this.
|
|
1706
|
+
if (this.w31_1.r2w()) {
|
|
1707
|
+
this.i9_1 = 5;
|
|
1708
1708
|
continue $sm;
|
|
1709
1709
|
} else {
|
|
1710
|
-
this.
|
|
1710
|
+
this.i9_1 = 4;
|
|
1711
1711
|
continue $sm;
|
|
1712
1712
|
}
|
|
1713
1713
|
|
|
1714
1714
|
case 4:
|
|
1715
|
-
if (compare(get_remaining(this.
|
|
1716
|
-
this.
|
|
1715
|
+
if (compare(get_remaining(this.w31_1.k2w()), subtract(numberToLong(this.x31_1), this.y31_1.g1())) > 0) {
|
|
1716
|
+
this.w31_1.k2w().r1j(this.y31_1, subtract(numberToLong(this.x31_1), this.y31_1.g1()));
|
|
1717
1717
|
} else {
|
|
1718
|
-
this.
|
|
1718
|
+
this.w31_1.k2w().s1j(this.y31_1);
|
|
1719
1719
|
}
|
|
1720
1720
|
|
|
1721
|
-
this.
|
|
1721
|
+
this.i9_1 = 1;
|
|
1722
1722
|
continue $sm;
|
|
1723
1723
|
case 5:
|
|
1724
|
-
if (compare(this.
|
|
1725
|
-
throw EOFException_init_$Create$('Not enough data available, required ' + this.
|
|
1724
|
+
if (compare(this.y31_1.g1(), fromInt(this.x31_1)) < 0) {
|
|
1725
|
+
throw EOFException_init_$Create$('Not enough data available, required ' + this.x31_1 + ' bytes but only ' + this.y31_1.g1().toString() + ' available');
|
|
1726
1726
|
}
|
|
1727
1727
|
|
|
1728
|
-
return this.
|
|
1728
|
+
return this.y31_1;
|
|
1729
1729
|
case 6:
|
|
1730
|
-
throw this.
|
|
1730
|
+
throw this.l9_1;
|
|
1731
1731
|
}
|
|
1732
1732
|
} catch ($p) {
|
|
1733
1733
|
var e = $p;
|
|
1734
|
-
if (this.
|
|
1734
|
+
if (this.j9_1 === 6) {
|
|
1735
1735
|
throw e;
|
|
1736
1736
|
} else {
|
|
1737
|
-
this.
|
|
1738
|
-
this.
|
|
1737
|
+
this.i9_1 = this.j9_1;
|
|
1738
|
+
this.l9_1 = e;
|
|
1739
1739
|
}
|
|
1740
1740
|
}
|
|
1741
1741
|
while (true);
|
|
1742
1742
|
};
|
|
1743
1743
|
function $readUTF8LineToCOROUTINE$(_this__u8e3s4, out, max, lineEnding, resultContinuation) {
|
|
1744
1744
|
CoroutineImpl.call(this, resultContinuation);
|
|
1745
|
-
this.
|
|
1746
|
-
this.
|
|
1747
|
-
this.
|
|
1748
|
-
this.
|
|
1745
|
+
this.m32_1 = _this__u8e3s4;
|
|
1746
|
+
this.n32_1 = out;
|
|
1747
|
+
this.o32_1 = max;
|
|
1748
|
+
this.p32_1 = lineEnding;
|
|
1749
1749
|
}
|
|
1750
|
-
protoOf($readUTF8LineToCOROUTINE$).
|
|
1751
|
-
var suspendResult = this.
|
|
1750
|
+
protoOf($readUTF8LineToCOROUTINE$).q9 = function () {
|
|
1751
|
+
var suspendResult = this.k9_1;
|
|
1752
1752
|
$sm: do
|
|
1753
1753
|
try {
|
|
1754
|
-
var tmp = this.
|
|
1754
|
+
var tmp = this.i9_1;
|
|
1755
1755
|
switch (tmp) {
|
|
1756
1756
|
case 0:
|
|
1757
|
-
this.
|
|
1758
|
-
if (this.
|
|
1759
|
-
this.
|
|
1760
|
-
suspendResult = this.
|
|
1757
|
+
this.j9_1 = 21;
|
|
1758
|
+
if (this.m32_1.k2w().p1i()) {
|
|
1759
|
+
this.i9_1 = 1;
|
|
1760
|
+
suspendResult = this.m32_1.t2w(VOID, this);
|
|
1761
1761
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1762
1762
|
return suspendResult;
|
|
1763
1763
|
}
|
|
1764
1764
|
continue $sm;
|
|
1765
1765
|
} else {
|
|
1766
|
-
this.
|
|
1766
|
+
this.i9_1 = 2;
|
|
1767
1767
|
continue $sm;
|
|
1768
1768
|
}
|
|
1769
1769
|
|
|
1770
1770
|
case 1:
|
|
1771
|
-
this.
|
|
1771
|
+
this.i9_1 = 2;
|
|
1772
1772
|
continue $sm;
|
|
1773
1773
|
case 2:
|
|
1774
|
-
if (this.
|
|
1774
|
+
if (this.m32_1.r2w())
|
|
1775
1775
|
return false;
|
|
1776
|
-
this.
|
|
1777
|
-
this.
|
|
1776
|
+
this.v32_1 = new Buffer();
|
|
1777
|
+
this.i9_1 = 3;
|
|
1778
1778
|
continue $sm;
|
|
1779
1779
|
case 3:
|
|
1780
|
-
this.
|
|
1781
|
-
this.
|
|
1782
|
-
this.
|
|
1780
|
+
this.s32_1 = this.v32_1;
|
|
1781
|
+
this.r32_1 = null;
|
|
1782
|
+
this.i9_1 = 4;
|
|
1783
1783
|
continue $sm;
|
|
1784
1784
|
case 4:
|
|
1785
|
-
this.
|
|
1785
|
+
this.i9_1 = 5;
|
|
1786
1786
|
continue $sm;
|
|
1787
1787
|
case 5:
|
|
1788
|
-
this.
|
|
1788
|
+
this.i9_1 = 6;
|
|
1789
1789
|
continue $sm;
|
|
1790
1790
|
case 6:
|
|
1791
|
-
this.
|
|
1792
|
-
this.
|
|
1793
|
-
this.
|
|
1794
|
-
this.
|
|
1791
|
+
this.j9_1 = 18;
|
|
1792
|
+
this.j9_1 = 17;
|
|
1793
|
+
this.u32_1 = this.s32_1;
|
|
1794
|
+
this.i9_1 = 7;
|
|
1795
1795
|
continue $sm;
|
|
1796
1796
|
case 7:
|
|
1797
|
-
if (!!this.
|
|
1798
|
-
this.
|
|
1797
|
+
if (!!this.m32_1.r2w()) {
|
|
1798
|
+
this.i9_1 = 14;
|
|
1799
1799
|
continue $sm;
|
|
1800
1800
|
}
|
|
1801
1801
|
|
|
1802
|
-
this.
|
|
1802
|
+
this.i9_1 = 8;
|
|
1803
1803
|
continue $sm;
|
|
1804
1804
|
case 8:
|
|
1805
|
-
if (!!this.
|
|
1806
|
-
this.
|
|
1805
|
+
if (!!this.m32_1.k2w().p1i()) {
|
|
1806
|
+
this.i9_1 = 12;
|
|
1807
1807
|
continue $sm;
|
|
1808
1808
|
}
|
|
1809
1809
|
|
|
1810
|
-
var b = this.
|
|
1810
|
+
var b = this.m32_1.k2w().s1i();
|
|
1811
1811
|
if (b === 13) {
|
|
1812
|
-
if (this.
|
|
1813
|
-
this.
|
|
1814
|
-
suspendResult = this.
|
|
1812
|
+
if (this.m32_1.k2w().p1i()) {
|
|
1813
|
+
this.i9_1 = 10;
|
|
1814
|
+
suspendResult = this.m32_1.t2w(VOID, this);
|
|
1815
1815
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1816
1816
|
return suspendResult;
|
|
1817
1817
|
}
|
|
1818
1818
|
continue $sm;
|
|
1819
1819
|
} else {
|
|
1820
|
-
this.
|
|
1820
|
+
this.i9_1 = 11;
|
|
1821
1821
|
continue $sm;
|
|
1822
1822
|
}
|
|
1823
1823
|
} else {
|
|
1824
1824
|
if (b === 10) {
|
|
1825
|
-
readUTF8LineTo$checkLineEndingAllowed(this.
|
|
1826
|
-
this.
|
|
1827
|
-
this.
|
|
1828
|
-
this.
|
|
1829
|
-
this.
|
|
1825
|
+
readUTF8LineTo$checkLineEndingAllowed(this.p32_1, Companion_getInstance_1().a32_1);
|
|
1826
|
+
this.n32_1.f1(readString(this.u32_1));
|
|
1827
|
+
this.t32_1 = true;
|
|
1828
|
+
this.j9_1 = 21;
|
|
1829
|
+
this.i9_1 = 15;
|
|
1830
1830
|
continue $sm;
|
|
1831
1831
|
} else {
|
|
1832
|
-
this.
|
|
1833
|
-
this.
|
|
1832
|
+
this.u32_1.i1k(b);
|
|
1833
|
+
this.i9_1 = 9;
|
|
1834
1834
|
continue $sm;
|
|
1835
1835
|
}
|
|
1836
1836
|
}
|
|
1837
1837
|
|
|
1838
1838
|
case 9:
|
|
1839
|
-
this.
|
|
1839
|
+
this.i9_1 = 8;
|
|
1840
1840
|
continue $sm;
|
|
1841
1841
|
case 10:
|
|
1842
|
-
this.
|
|
1842
|
+
this.i9_1 = 11;
|
|
1843
1843
|
continue $sm;
|
|
1844
1844
|
case 11:
|
|
1845
|
-
if (this.
|
|
1846
|
-
readUTF8LineTo$checkLineEndingAllowed(this.
|
|
1847
|
-
discard_0(this.
|
|
1845
|
+
if (this.m32_1.k2w().o1i().k1j(new Long(0, 0)) === 10) {
|
|
1846
|
+
readUTF8LineTo$checkLineEndingAllowed(this.p32_1, Companion_getInstance_1().b32_1);
|
|
1847
|
+
discard_0(this.m32_1.k2w(), new Long(1, 0));
|
|
1848
1848
|
} else {
|
|
1849
|
-
readUTF8LineTo$checkLineEndingAllowed(this.
|
|
1849
|
+
readUTF8LineTo$checkLineEndingAllowed(this.p32_1, Companion_getInstance_1().z31_1);
|
|
1850
1850
|
}
|
|
1851
1851
|
|
|
1852
|
-
this.
|
|
1853
|
-
this.
|
|
1854
|
-
this.
|
|
1855
|
-
this.
|
|
1852
|
+
this.n32_1.f1(readString(this.u32_1));
|
|
1853
|
+
this.t32_1 = true;
|
|
1854
|
+
this.j9_1 = 21;
|
|
1855
|
+
this.i9_1 = 15;
|
|
1856
1856
|
continue $sm;
|
|
1857
1857
|
case 12:
|
|
1858
|
-
if (compare(this.
|
|
1859
|
-
throw new TooLongLineException('Line exceeds limit of ' + this.
|
|
1858
|
+
if (compare(this.u32_1.g1(), fromInt(this.o32_1)) >= 0) {
|
|
1859
|
+
throw new TooLongLineException('Line exceeds limit of ' + this.o32_1 + ' characters');
|
|
1860
1860
|
}
|
|
1861
1861
|
|
|
1862
|
-
this.
|
|
1863
|
-
suspendResult = this.
|
|
1862
|
+
this.i9_1 = 13;
|
|
1863
|
+
suspendResult = this.m32_1.t2w(VOID, this);
|
|
1864
1864
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1865
1865
|
return suspendResult;
|
|
1866
1866
|
}
|
|
1867
1867
|
|
|
1868
1868
|
continue $sm;
|
|
1869
1869
|
case 13:
|
|
1870
|
-
this.
|
|
1870
|
+
this.i9_1 = 7;
|
|
1871
1871
|
continue $sm;
|
|
1872
1872
|
case 14:
|
|
1873
1873
|
var tmp_0 = this;
|
|
1874
|
-
var this_0 = compare(this.
|
|
1874
|
+
var this_0 = compare(this.u32_1.g1(), new Long(0, 0)) > 0;
|
|
1875
1875
|
if (this_0) {
|
|
1876
|
-
this.
|
|
1876
|
+
this.n32_1.f1(readString(this.u32_1));
|
|
1877
1877
|
}
|
|
1878
1878
|
|
|
1879
|
-
tmp_0.
|
|
1880
|
-
this.
|
|
1881
|
-
this.
|
|
1879
|
+
tmp_0.t32_1 = this_0;
|
|
1880
|
+
this.j9_1 = 21;
|
|
1881
|
+
this.i9_1 = 15;
|
|
1882
1882
|
var tmp_1 = this;
|
|
1883
1883
|
continue $sm;
|
|
1884
1884
|
case 15:
|
|
1885
|
-
var tmp_2 = this.
|
|
1886
|
-
this.
|
|
1887
|
-
closeFinally(this.
|
|
1885
|
+
var tmp_2 = this.t32_1;
|
|
1886
|
+
this.j9_1 = 21;
|
|
1887
|
+
closeFinally(this.s32_1, this.r32_1);
|
|
1888
1888
|
return tmp_2;
|
|
1889
1889
|
case 16:
|
|
1890
|
-
this.
|
|
1890
|
+
this.j9_1 = 21;
|
|
1891
1891
|
var tmp_3 = this;
|
|
1892
|
-
closeFinally(this.
|
|
1893
|
-
tmp_3.
|
|
1894
|
-
this.
|
|
1892
|
+
closeFinally(this.s32_1, this.r32_1);
|
|
1893
|
+
tmp_3.q32_1 = Unit_instance;
|
|
1894
|
+
this.i9_1 = 20;
|
|
1895
1895
|
continue $sm;
|
|
1896
1896
|
case 17:
|
|
1897
|
-
this.
|
|
1898
|
-
var tmp_4 = this.
|
|
1897
|
+
this.j9_1 = 18;
|
|
1898
|
+
var tmp_4 = this.l9_1;
|
|
1899
1899
|
if (tmp_4 instanceof Error) {
|
|
1900
|
-
var e = this.
|
|
1900
|
+
var e = this.l9_1;
|
|
1901
1901
|
var tmp_5 = this;
|
|
1902
|
-
this.
|
|
1902
|
+
this.r32_1 = e;
|
|
1903
1903
|
throw e;
|
|
1904
1904
|
} else {
|
|
1905
|
-
throw this.
|
|
1905
|
+
throw this.l9_1;
|
|
1906
1906
|
}
|
|
1907
1907
|
|
|
1908
1908
|
case 18:
|
|
1909
|
-
this.
|
|
1910
|
-
var t = this.
|
|
1911
|
-
closeFinally(this.
|
|
1909
|
+
this.j9_1 = 21;
|
|
1910
|
+
var t = this.l9_1;
|
|
1911
|
+
closeFinally(this.s32_1, this.r32_1);
|
|
1912
1912
|
throw t;
|
|
1913
1913
|
case 19:
|
|
1914
|
-
this.
|
|
1915
|
-
closeFinally(this.
|
|
1914
|
+
this.j9_1 = 21;
|
|
1915
|
+
closeFinally(this.s32_1, this.r32_1);
|
|
1916
1916
|
if (false) {
|
|
1917
|
-
this.
|
|
1917
|
+
this.i9_1 = 3;
|
|
1918
1918
|
continue $sm;
|
|
1919
1919
|
}
|
|
1920
1920
|
|
|
1921
|
-
this.
|
|
1921
|
+
this.i9_1 = 20;
|
|
1922
1922
|
continue $sm;
|
|
1923
1923
|
case 20:
|
|
1924
1924
|
return Unit_instance;
|
|
1925
1925
|
case 21:
|
|
1926
|
-
throw this.
|
|
1926
|
+
throw this.l9_1;
|
|
1927
1927
|
}
|
|
1928
1928
|
} catch ($p) {
|
|
1929
1929
|
var e_0 = $p;
|
|
1930
|
-
if (this.
|
|
1930
|
+
if (this.j9_1 === 21) {
|
|
1931
1931
|
throw e_0;
|
|
1932
1932
|
} else {
|
|
1933
|
-
this.
|
|
1934
|
-
this.
|
|
1933
|
+
this.i9_1 = this.j9_1;
|
|
1934
|
+
this.l9_1 = e_0;
|
|
1935
1935
|
}
|
|
1936
1936
|
}
|
|
1937
1937
|
while (true);
|
|
1938
1938
|
};
|
|
1939
1939
|
function $readRemainingCOROUTINE$_0(_this__u8e3s4, max, resultContinuation) {
|
|
1940
1940
|
CoroutineImpl.call(this, resultContinuation);
|
|
1941
|
-
this.
|
|
1942
|
-
this.
|
|
1941
|
+
this.e33_1 = _this__u8e3s4;
|
|
1942
|
+
this.f33_1 = max;
|
|
1943
1943
|
}
|
|
1944
|
-
protoOf($readRemainingCOROUTINE$_0).
|
|
1945
|
-
var suspendResult = this.
|
|
1944
|
+
protoOf($readRemainingCOROUTINE$_0).q9 = function () {
|
|
1945
|
+
var suspendResult = this.k9_1;
|
|
1946
1946
|
$sm: do
|
|
1947
1947
|
try {
|
|
1948
|
-
var tmp = this.
|
|
1948
|
+
var tmp = this.i9_1;
|
|
1949
1949
|
switch (tmp) {
|
|
1950
1950
|
case 0:
|
|
1951
|
-
this.
|
|
1952
|
-
this.
|
|
1953
|
-
this.
|
|
1954
|
-
this.
|
|
1951
|
+
this.j9_1 = 4;
|
|
1952
|
+
this.g33_1 = BytePacketBuilder();
|
|
1953
|
+
this.h33_1 = this.f33_1;
|
|
1954
|
+
this.i9_1 = 1;
|
|
1955
1955
|
continue $sm;
|
|
1956
1956
|
case 1:
|
|
1957
|
-
if (!(!this.
|
|
1958
|
-
this.
|
|
1957
|
+
if (!(!this.e33_1.r2w() && compare(this.h33_1, new Long(0, 0)) > 0)) {
|
|
1958
|
+
this.i9_1 = 3;
|
|
1959
1959
|
continue $sm;
|
|
1960
1960
|
}
|
|
1961
1961
|
|
|
1962
|
-
if (compare(this.
|
|
1963
|
-
this.
|
|
1964
|
-
this.
|
|
1962
|
+
if (compare(this.h33_1, get_remaining(this.e33_1.k2w())) >= 0) {
|
|
1963
|
+
this.h33_1 = subtract(this.h33_1, get_remaining(this.e33_1.k2w()));
|
|
1964
|
+
this.e33_1.k2w().s1j(this.g33_1);
|
|
1965
1965
|
} else {
|
|
1966
|
-
this.
|
|
1967
|
-
this.
|
|
1966
|
+
this.e33_1.k2w().r1j(this.g33_1, this.h33_1);
|
|
1967
|
+
this.h33_1 = new Long(0, 0);
|
|
1968
1968
|
}
|
|
1969
1969
|
|
|
1970
|
-
this.
|
|
1971
|
-
suspendResult = this.
|
|
1970
|
+
this.i9_1 = 2;
|
|
1971
|
+
suspendResult = this.e33_1.t2w(VOID, this);
|
|
1972
1972
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1973
1973
|
return suspendResult;
|
|
1974
1974
|
}
|
|
1975
1975
|
|
|
1976
1976
|
continue $sm;
|
|
1977
1977
|
case 2:
|
|
1978
|
-
this.
|
|
1978
|
+
this.i9_1 = 1;
|
|
1979
1979
|
continue $sm;
|
|
1980
1980
|
case 3:
|
|
1981
|
-
return this.
|
|
1981
|
+
return this.g33_1.o1i();
|
|
1982
1982
|
case 4:
|
|
1983
|
-
throw this.
|
|
1983
|
+
throw this.l9_1;
|
|
1984
1984
|
}
|
|
1985
1985
|
} catch ($p) {
|
|
1986
1986
|
var e = $p;
|
|
1987
|
-
if (this.
|
|
1987
|
+
if (this.j9_1 === 4) {
|
|
1988
1988
|
throw e;
|
|
1989
1989
|
} else {
|
|
1990
|
-
this.
|
|
1991
|
-
this.
|
|
1990
|
+
this.i9_1 = this.j9_1;
|
|
1991
|
+
this.l9_1 = e;
|
|
1992
1992
|
}
|
|
1993
1993
|
}
|
|
1994
1994
|
while (true);
|
|
1995
1995
|
};
|
|
1996
1996
|
function $readBufferCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
1997
1997
|
CoroutineImpl.call(this, resultContinuation);
|
|
1998
|
-
this.
|
|
1998
|
+
this.q33_1 = _this__u8e3s4;
|
|
1999
1999
|
}
|
|
2000
|
-
protoOf($readBufferCOROUTINE$).
|
|
2001
|
-
var suspendResult = this.
|
|
2000
|
+
protoOf($readBufferCOROUTINE$).q9 = function () {
|
|
2001
|
+
var suspendResult = this.k9_1;
|
|
2002
2002
|
$sm: do
|
|
2003
2003
|
try {
|
|
2004
|
-
var tmp = this.
|
|
2004
|
+
var tmp = this.i9_1;
|
|
2005
2005
|
switch (tmp) {
|
|
2006
2006
|
case 0:
|
|
2007
|
-
this.
|
|
2008
|
-
this.
|
|
2009
|
-
this.
|
|
2007
|
+
this.j9_1 = 4;
|
|
2008
|
+
this.r33_1 = new Buffer();
|
|
2009
|
+
this.i9_1 = 1;
|
|
2010
2010
|
continue $sm;
|
|
2011
2011
|
case 1:
|
|
2012
|
-
if (!!this.
|
|
2013
|
-
this.
|
|
2012
|
+
if (!!this.q33_1.r2w()) {
|
|
2013
|
+
this.i9_1 = 3;
|
|
2014
2014
|
continue $sm;
|
|
2015
2015
|
}
|
|
2016
2016
|
|
|
2017
|
-
this.
|
|
2018
|
-
this.
|
|
2019
|
-
suspendResult = this.
|
|
2017
|
+
this.r33_1.h1k(this.q33_1.k2w());
|
|
2018
|
+
this.i9_1 = 2;
|
|
2019
|
+
suspendResult = this.q33_1.t2w(VOID, this);
|
|
2020
2020
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2021
2021
|
return suspendResult;
|
|
2022
2022
|
}
|
|
2023
2023
|
|
|
2024
2024
|
continue $sm;
|
|
2025
2025
|
case 2:
|
|
2026
|
-
this.
|
|
2026
|
+
this.i9_1 = 1;
|
|
2027
2027
|
continue $sm;
|
|
2028
2028
|
case 3:
|
|
2029
|
-
var tmp0_safe_receiver = this.
|
|
2029
|
+
var tmp0_safe_receiver = this.q33_1.p2w();
|
|
2030
2030
|
if (tmp0_safe_receiver == null)
|
|
2031
2031
|
null;
|
|
2032
2032
|
else {
|
|
2033
2033
|
throw tmp0_safe_receiver;
|
|
2034
2034
|
}
|
|
2035
2035
|
|
|
2036
|
-
return this.
|
|
2036
|
+
return this.r33_1;
|
|
2037
2037
|
case 4:
|
|
2038
|
-
throw this.
|
|
2038
|
+
throw this.l9_1;
|
|
2039
2039
|
}
|
|
2040
2040
|
} catch ($p) {
|
|
2041
2041
|
var e = $p;
|
|
2042
|
-
if (this.
|
|
2042
|
+
if (this.j9_1 === 4) {
|
|
2043
2043
|
throw e;
|
|
2044
2044
|
} else {
|
|
2045
|
-
this.
|
|
2046
|
-
this.
|
|
2045
|
+
this.i9_1 = this.j9_1;
|
|
2046
|
+
this.l9_1 = e;
|
|
2047
2047
|
}
|
|
2048
2048
|
}
|
|
2049
2049
|
while (true);
|
|
2050
2050
|
};
|
|
2051
2051
|
function $peekCOROUTINE$(_this__u8e3s4, count, resultContinuation) {
|
|
2052
2052
|
CoroutineImpl.call(this, resultContinuation);
|
|
2053
|
-
this.
|
|
2054
|
-
this.
|
|
2053
|
+
this.a34_1 = _this__u8e3s4;
|
|
2054
|
+
this.b34_1 = count;
|
|
2055
2055
|
}
|
|
2056
|
-
protoOf($peekCOROUTINE$).
|
|
2057
|
-
var suspendResult = this.
|
|
2056
|
+
protoOf($peekCOROUTINE$).q9 = function () {
|
|
2057
|
+
var suspendResult = this.k9_1;
|
|
2058
2058
|
$sm: do
|
|
2059
2059
|
try {
|
|
2060
|
-
var tmp = this.
|
|
2060
|
+
var tmp = this.i9_1;
|
|
2061
2061
|
switch (tmp) {
|
|
2062
2062
|
case 0:
|
|
2063
|
-
this.
|
|
2064
|
-
if (this.
|
|
2063
|
+
this.j9_1 = 3;
|
|
2064
|
+
if (this.a34_1.r2w())
|
|
2065
2065
|
return null;
|
|
2066
|
-
this.
|
|
2067
|
-
suspendResult = this.
|
|
2066
|
+
this.i9_1 = 1;
|
|
2067
|
+
suspendResult = this.a34_1.s2w(this.b34_1, this);
|
|
2068
2068
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2069
2069
|
return suspendResult;
|
|
2070
2070
|
}
|
|
@@ -2074,22 +2074,22 @@
|
|
|
2074
2074
|
if (!suspendResult) {
|
|
2075
2075
|
return null;
|
|
2076
2076
|
} else {
|
|
2077
|
-
this.
|
|
2077
|
+
this.i9_1 = 2;
|
|
2078
2078
|
continue $sm;
|
|
2079
2079
|
}
|
|
2080
2080
|
|
|
2081
2081
|
case 2:
|
|
2082
|
-
return readByteString(this.
|
|
2082
|
+
return readByteString(this.a34_1.k2w().t1j(), this.b34_1);
|
|
2083
2083
|
case 3:
|
|
2084
|
-
throw this.
|
|
2084
|
+
throw this.l9_1;
|
|
2085
2085
|
}
|
|
2086
2086
|
} catch ($p) {
|
|
2087
2087
|
var e = $p;
|
|
2088
|
-
if (this.
|
|
2088
|
+
if (this.j9_1 === 3) {
|
|
2089
2089
|
throw e;
|
|
2090
2090
|
} else {
|
|
2091
|
-
this.
|
|
2092
|
-
this.
|
|
2091
|
+
this.i9_1 = this.j9_1;
|
|
2092
|
+
this.l9_1 = e;
|
|
2093
2093
|
}
|
|
2094
2094
|
}
|
|
2095
2095
|
while (true);
|
|
@@ -2098,50 +2098,50 @@
|
|
|
2098
2098
|
}
|
|
2099
2099
|
function flushIfNeeded(_this__u8e3s4, $completion) {
|
|
2100
2100
|
var tmp = new $flushIfNeededCOROUTINE$(_this__u8e3s4, $completion);
|
|
2101
|
-
tmp.
|
|
2102
|
-
tmp.
|
|
2103
|
-
return tmp.
|
|
2101
|
+
tmp.k9_1 = Unit_instance;
|
|
2102
|
+
tmp.l9_1 = null;
|
|
2103
|
+
return tmp.q9();
|
|
2104
2104
|
}
|
|
2105
2105
|
function $flushIfNeededCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
2106
2106
|
CoroutineImpl.call(this, resultContinuation);
|
|
2107
|
-
this.
|
|
2107
|
+
this.k34_1 = _this__u8e3s4;
|
|
2108
2108
|
}
|
|
2109
|
-
protoOf($flushIfNeededCOROUTINE$).
|
|
2110
|
-
var suspendResult = this.
|
|
2109
|
+
protoOf($flushIfNeededCOROUTINE$).q9 = function () {
|
|
2110
|
+
var suspendResult = this.k9_1;
|
|
2111
2111
|
$sm: do
|
|
2112
2112
|
try {
|
|
2113
|
-
var tmp = this.
|
|
2113
|
+
var tmp = this.i9_1;
|
|
2114
2114
|
switch (tmp) {
|
|
2115
2115
|
case 0:
|
|
2116
|
-
this.
|
|
2117
|
-
rethrowCloseCauseIfNeeded_1(this.
|
|
2118
|
-
if (this.
|
|
2119
|
-
this.
|
|
2120
|
-
suspendResult = this.
|
|
2116
|
+
this.j9_1 = 3;
|
|
2117
|
+
rethrowCloseCauseIfNeeded_1(this.k34_1);
|
|
2118
|
+
if (this.k34_1.j2w() || get_size(this.k34_1.n2w()) >= 1048576) {
|
|
2119
|
+
this.i9_1 = 1;
|
|
2120
|
+
suspendResult = this.k34_1.i2w(this);
|
|
2121
2121
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2122
2122
|
return suspendResult;
|
|
2123
2123
|
}
|
|
2124
2124
|
continue $sm;
|
|
2125
2125
|
} else {
|
|
2126
|
-
this.
|
|
2126
|
+
this.i9_1 = 2;
|
|
2127
2127
|
continue $sm;
|
|
2128
2128
|
}
|
|
2129
2129
|
|
|
2130
2130
|
case 1:
|
|
2131
|
-
this.
|
|
2131
|
+
this.i9_1 = 2;
|
|
2132
2132
|
continue $sm;
|
|
2133
2133
|
case 2:
|
|
2134
2134
|
return Unit_instance;
|
|
2135
2135
|
case 3:
|
|
2136
|
-
throw this.
|
|
2136
|
+
throw this.l9_1;
|
|
2137
2137
|
}
|
|
2138
2138
|
} catch ($p) {
|
|
2139
2139
|
var e = $p;
|
|
2140
|
-
if (this.
|
|
2140
|
+
if (this.j9_1 === 3) {
|
|
2141
2141
|
throw e;
|
|
2142
2142
|
} else {
|
|
2143
|
-
this.
|
|
2144
|
-
this.
|
|
2143
|
+
this.i9_1 = this.j9_1;
|
|
2144
|
+
this.l9_1 = e;
|
|
2145
2145
|
}
|
|
2146
2146
|
}
|
|
2147
2147
|
while (true);
|
|
@@ -2154,15 +2154,15 @@
|
|
|
2154
2154
|
function writeFully(_this__u8e3s4, value, startIndex, endIndex, $completion) {
|
|
2155
2155
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
2156
2156
|
endIndex = endIndex === VOID ? value.length : endIndex;
|
|
2157
|
-
_this__u8e3s4.
|
|
2157
|
+
_this__u8e3s4.n2w().y1j(value, startIndex, endIndex);
|
|
2158
2158
|
return flushIfNeeded(_this__u8e3s4, $completion);
|
|
2159
2159
|
}
|
|
2160
2160
|
function WriterJob(channel, job) {
|
|
2161
|
-
this.
|
|
2162
|
-
this.
|
|
2161
|
+
this.l34_1 = channel;
|
|
2162
|
+
this.m34_1 = job;
|
|
2163
2163
|
}
|
|
2164
|
-
protoOf(WriterJob).
|
|
2165
|
-
return this.
|
|
2164
|
+
protoOf(WriterJob).u1p = function () {
|
|
2165
|
+
return this.m34_1;
|
|
2166
2166
|
};
|
|
2167
2167
|
function writer(_this__u8e3s4, coroutineContext, autoFlush, block) {
|
|
2168
2168
|
coroutineContext = coroutineContext === VOID ? EmptyCoroutineContext_getInstance() : coroutineContext;
|
|
@@ -2171,36 +2171,36 @@
|
|
|
2171
2171
|
return writer_0(_this__u8e3s4, coroutineContext, new ByteChannel(), block);
|
|
2172
2172
|
}
|
|
2173
2173
|
function WriterScope(channel, coroutineContext) {
|
|
2174
|
-
this.
|
|
2175
|
-
this.
|
|
2174
|
+
this.n34_1 = channel;
|
|
2175
|
+
this.o34_1 = coroutineContext;
|
|
2176
2176
|
}
|
|
2177
|
-
protoOf(WriterScope).
|
|
2178
|
-
return this.
|
|
2177
|
+
protoOf(WriterScope).k1m = function () {
|
|
2178
|
+
return this.o34_1;
|
|
2179
2179
|
};
|
|
2180
2180
|
function invokeOnCompletion(_this__u8e3s4, block) {
|
|
2181
2181
|
_init_properties_ByteWriteChannelOperations_kt__i7slrs();
|
|
2182
|
-
return _this__u8e3s4.
|
|
2182
|
+
return _this__u8e3s4.u1p().m1n(block);
|
|
2183
2183
|
}
|
|
2184
2184
|
function close_0(_this__u8e3s4, cause) {
|
|
2185
2185
|
_init_properties_ByteWriteChannelOperations_kt__i7slrs();
|
|
2186
2186
|
if (cause == null) {
|
|
2187
2187
|
fireAndForget(ByteWriteChannel$flushAndClose$ref_0(_this__u8e3s4));
|
|
2188
2188
|
} else {
|
|
2189
|
-
_this__u8e3s4.
|
|
2189
|
+
_this__u8e3s4.v2w(cause);
|
|
2190
2190
|
}
|
|
2191
2191
|
}
|
|
2192
2192
|
function writePacket(_this__u8e3s4, source, $completion) {
|
|
2193
2193
|
var tmp = new $writePacketCOROUTINE$(_this__u8e3s4, source, $completion);
|
|
2194
|
-
tmp.
|
|
2195
|
-
tmp.
|
|
2196
|
-
return tmp.
|
|
2194
|
+
tmp.k9_1 = Unit_instance;
|
|
2195
|
+
tmp.l9_1 = null;
|
|
2196
|
+
return tmp.q9();
|
|
2197
2197
|
}
|
|
2198
2198
|
function writer_0(_this__u8e3s4, coroutineContext, channel, block) {
|
|
2199
2199
|
coroutineContext = coroutineContext === VOID ? EmptyCoroutineContext_getInstance() : coroutineContext;
|
|
2200
2200
|
_init_properties_ByteWriteChannelOperations_kt__i7slrs();
|
|
2201
2201
|
// Inline function 'kotlin.apply' call
|
|
2202
2202
|
var this_0 = launch(_this__u8e3s4, coroutineContext, VOID, writer$slambda_0(block, channel, null));
|
|
2203
|
-
this_0.
|
|
2203
|
+
this_0.m1n(writer$lambda(channel));
|
|
2204
2204
|
var job = this_0;
|
|
2205
2205
|
return new WriterJob(channel, job);
|
|
2206
2206
|
}
|
|
@@ -2209,115 +2209,115 @@
|
|
|
2209
2209
|
startCoroutineCancellable(_this__u8e3s4, get_NO_CALLBACK());
|
|
2210
2210
|
}
|
|
2211
2211
|
function writeByte(_this__u8e3s4, value, $completion) {
|
|
2212
|
-
_this__u8e3s4.
|
|
2212
|
+
_this__u8e3s4.n2w().i1k(value);
|
|
2213
2213
|
return flushIfNeeded(_this__u8e3s4, $completion);
|
|
2214
2214
|
}
|
|
2215
2215
|
function NO_CALLBACK$1() {
|
|
2216
|
-
this.
|
|
2216
|
+
this.z34_1 = EmptyCoroutineContext_getInstance();
|
|
2217
2217
|
}
|
|
2218
|
-
protoOf(NO_CALLBACK$1).
|
|
2219
|
-
return this.
|
|
2218
|
+
protoOf(NO_CALLBACK$1).o9 = function () {
|
|
2219
|
+
return this.z34_1;
|
|
2220
2220
|
};
|
|
2221
|
-
protoOf(NO_CALLBACK$1).
|
|
2221
|
+
protoOf(NO_CALLBACK$1).p9 = function (result) {
|
|
2222
2222
|
return Unit_instance;
|
|
2223
2223
|
};
|
|
2224
|
-
protoOf(NO_CALLBACK$1).
|
|
2225
|
-
return this.
|
|
2224
|
+
protoOf(NO_CALLBACK$1).t9 = function (result) {
|
|
2225
|
+
return this.p9(result);
|
|
2226
2226
|
};
|
|
2227
2227
|
function ByteWriteChannel$flushAndClose$ref(p0) {
|
|
2228
|
-
this.
|
|
2228
|
+
this.a35_1 = p0;
|
|
2229
2229
|
}
|
|
2230
|
-
protoOf(ByteWriteChannel$flushAndClose$ref).
|
|
2231
|
-
return this.
|
|
2230
|
+
protoOf(ByteWriteChannel$flushAndClose$ref).b35 = function ($completion) {
|
|
2231
|
+
return this.a35_1.u2w($completion);
|
|
2232
2232
|
};
|
|
2233
|
-
protoOf(ByteWriteChannel$flushAndClose$ref).
|
|
2234
|
-
return this.
|
|
2233
|
+
protoOf(ByteWriteChannel$flushAndClose$ref).za = function ($completion) {
|
|
2234
|
+
return this.b35($completion);
|
|
2235
2235
|
};
|
|
2236
2236
|
function ByteWriteChannel$flushAndClose$ref_0(p0) {
|
|
2237
2237
|
var i = new ByteWriteChannel$flushAndClose$ref(p0);
|
|
2238
2238
|
var l = function ($completion) {
|
|
2239
|
-
return i.
|
|
2239
|
+
return i.b35($completion);
|
|
2240
2240
|
};
|
|
2241
2241
|
l.callableName = 'flushAndClose';
|
|
2242
2242
|
l.$arity = 0;
|
|
2243
2243
|
return l;
|
|
2244
2244
|
}
|
|
2245
2245
|
function writer$slambda($block, $channel, resultContinuation) {
|
|
2246
|
-
this.
|
|
2247
|
-
this.
|
|
2246
|
+
this.k35_1 = $block;
|
|
2247
|
+
this.l35_1 = $channel;
|
|
2248
2248
|
CoroutineImpl.call(this, resultContinuation);
|
|
2249
2249
|
}
|
|
2250
|
-
protoOf(writer$slambda).
|
|
2251
|
-
var tmp = this.
|
|
2252
|
-
tmp.
|
|
2253
|
-
tmp.
|
|
2254
|
-
return tmp.
|
|
2250
|
+
protoOf(writer$slambda).u2b = function ($this$launch, $completion) {
|
|
2251
|
+
var tmp = this.v2b($this$launch, $completion);
|
|
2252
|
+
tmp.k9_1 = Unit_instance;
|
|
2253
|
+
tmp.l9_1 = null;
|
|
2254
|
+
return tmp.q9();
|
|
2255
2255
|
};
|
|
2256
|
-
protoOf(writer$slambda).
|
|
2257
|
-
return this.
|
|
2256
|
+
protoOf(writer$slambda).ca = function (p1, $completion) {
|
|
2257
|
+
return this.u2b((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2258
2258
|
};
|
|
2259
|
-
protoOf(writer$slambda).
|
|
2260
|
-
var suspendResult = this.
|
|
2259
|
+
protoOf(writer$slambda).q9 = function () {
|
|
2260
|
+
var suspendResult = this.k9_1;
|
|
2261
2261
|
$sm: do
|
|
2262
2262
|
try {
|
|
2263
|
-
var tmp = this.
|
|
2263
|
+
var tmp = this.i9_1;
|
|
2264
2264
|
switch (tmp) {
|
|
2265
2265
|
case 0:
|
|
2266
|
-
this.
|
|
2267
|
-
this.
|
|
2268
|
-
this.
|
|
2266
|
+
this.j9_1 = 14;
|
|
2267
|
+
this.p35_1 = Job(get_job(this.m35_1.k1m()));
|
|
2268
|
+
this.i9_1 = 1;
|
|
2269
2269
|
continue $sm;
|
|
2270
2270
|
case 1:
|
|
2271
|
-
this.
|
|
2272
|
-
this.
|
|
2273
|
-
this.
|
|
2274
|
-
suspendResult = this.
|
|
2271
|
+
this.j9_1 = 4;
|
|
2272
|
+
this.j9_1 = 3;
|
|
2273
|
+
this.i9_1 = 2;
|
|
2274
|
+
suspendResult = this.k35_1(new WriterScope(this.l35_1, this.m35_1.k1m().kh(this.p35_1)), this);
|
|
2275
2275
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2276
2276
|
return suspendResult;
|
|
2277
2277
|
}
|
|
2278
2278
|
|
|
2279
2279
|
continue $sm;
|
|
2280
2280
|
case 2:
|
|
2281
|
-
this.
|
|
2281
|
+
this.p35_1.r1u();
|
|
2282
2282
|
var tmp_0;
|
|
2283
|
-
if (get_job(this.
|
|
2284
|
-
this.
|
|
2283
|
+
if (get_job(this.m35_1.k1m()).g1n()) {
|
|
2284
|
+
this.l35_1.v2w(get_job(this.m35_1.k1m()).j1n());
|
|
2285
2285
|
tmp_0 = Unit_instance;
|
|
2286
2286
|
}
|
|
2287
2287
|
|
|
2288
|
-
this.
|
|
2289
|
-
this.
|
|
2288
|
+
this.j9_1 = 14;
|
|
2289
|
+
this.i9_1 = 9;
|
|
2290
2290
|
continue $sm;
|
|
2291
2291
|
case 3:
|
|
2292
|
-
this.
|
|
2293
|
-
var tmp_1 = this.
|
|
2292
|
+
this.j9_1 = 4;
|
|
2293
|
+
var tmp_1 = this.l9_1;
|
|
2294
2294
|
if (tmp_1 instanceof Error) {
|
|
2295
|
-
var cause = this.
|
|
2296
|
-
cancel(this.
|
|
2297
|
-
this.
|
|
2298
|
-
this.
|
|
2299
|
-
this.
|
|
2295
|
+
var cause = this.l9_1;
|
|
2296
|
+
cancel(this.p35_1, 'Exception thrown while writing to channel', cause);
|
|
2297
|
+
this.l35_1.v2w(cause);
|
|
2298
|
+
this.j9_1 = 14;
|
|
2299
|
+
this.i9_1 = 9;
|
|
2300
2300
|
continue $sm;
|
|
2301
2301
|
} else {
|
|
2302
|
-
throw this.
|
|
2302
|
+
throw this.l9_1;
|
|
2303
2303
|
}
|
|
2304
2304
|
|
|
2305
2305
|
case 4:
|
|
2306
|
-
this.
|
|
2307
|
-
this.
|
|
2308
|
-
this.
|
|
2309
|
-
suspendResult = this.
|
|
2306
|
+
this.j9_1 = 14;
|
|
2307
|
+
this.q35_1 = this.l9_1;
|
|
2308
|
+
this.i9_1 = 5;
|
|
2309
|
+
suspendResult = this.p35_1.q1n(this);
|
|
2310
2310
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2311
2311
|
return suspendResult;
|
|
2312
2312
|
}
|
|
2313
2313
|
|
|
2314
2314
|
continue $sm;
|
|
2315
2315
|
case 5:
|
|
2316
|
-
this.
|
|
2317
|
-
this.
|
|
2318
|
-
this.
|
|
2319
|
-
this.
|
|
2320
|
-
suspendResult = this.
|
|
2316
|
+
this.m35_1;
|
|
2317
|
+
this.j9_1 = 7;
|
|
2318
|
+
this.s35_1 = Companion_instance;
|
|
2319
|
+
this.i9_1 = 6;
|
|
2320
|
+
suspendResult = this.l35_1.u2w(this);
|
|
2321
2321
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2322
2322
|
return suspendResult;
|
|
2323
2323
|
}
|
|
@@ -2325,42 +2325,42 @@
|
|
|
2325
2325
|
continue $sm;
|
|
2326
2326
|
case 6:
|
|
2327
2327
|
var tmp_2 = this;
|
|
2328
|
-
this.
|
|
2329
|
-
tmp_2.
|
|
2330
|
-
this.
|
|
2331
|
-
this.
|
|
2328
|
+
this.s35_1;
|
|
2329
|
+
tmp_2.r35_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
2330
|
+
this.j9_1 = 14;
|
|
2331
|
+
this.i9_1 = 8;
|
|
2332
2332
|
continue $sm;
|
|
2333
2333
|
case 7:
|
|
2334
|
-
this.
|
|
2335
|
-
var tmp_3 = this.
|
|
2334
|
+
this.j9_1 = 14;
|
|
2335
|
+
var tmp_3 = this.l9_1;
|
|
2336
2336
|
if (tmp_3 instanceof Error) {
|
|
2337
|
-
var e = this.
|
|
2337
|
+
var e = this.l9_1;
|
|
2338
2338
|
var tmp_4 = this;
|
|
2339
|
-
tmp_4.
|
|
2340
|
-
this.
|
|
2339
|
+
tmp_4.r35_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
2340
|
+
this.i9_1 = 8;
|
|
2341
2341
|
continue $sm;
|
|
2342
2342
|
} else {
|
|
2343
|
-
throw this.
|
|
2343
|
+
throw this.l9_1;
|
|
2344
2344
|
}
|
|
2345
2345
|
|
|
2346
2346
|
case 8:
|
|
2347
|
-
this.
|
|
2348
|
-
throw this.
|
|
2347
|
+
this.j9_1 = 14;
|
|
2348
|
+
throw this.q35_1;
|
|
2349
2349
|
case 9:
|
|
2350
|
-
this.
|
|
2351
|
-
this.
|
|
2352
|
-
suspendResult = this.
|
|
2350
|
+
this.j9_1 = 14;
|
|
2351
|
+
this.i9_1 = 10;
|
|
2352
|
+
suspendResult = this.p35_1.q1n(this);
|
|
2353
2353
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2354
2354
|
return suspendResult;
|
|
2355
2355
|
}
|
|
2356
2356
|
|
|
2357
2357
|
continue $sm;
|
|
2358
2358
|
case 10:
|
|
2359
|
-
this.
|
|
2360
|
-
this.
|
|
2361
|
-
this.
|
|
2362
|
-
this.
|
|
2363
|
-
suspendResult = this.
|
|
2359
|
+
this.m35_1;
|
|
2360
|
+
this.j9_1 = 12;
|
|
2361
|
+
this.o35_1 = Companion_instance;
|
|
2362
|
+
this.i9_1 = 11;
|
|
2363
|
+
suspendResult = this.l35_1.u2w(this);
|
|
2364
2364
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2365
2365
|
return suspendResult;
|
|
2366
2366
|
}
|
|
@@ -2368,50 +2368,50 @@
|
|
|
2368
2368
|
continue $sm;
|
|
2369
2369
|
case 11:
|
|
2370
2370
|
var tmp_5 = this;
|
|
2371
|
-
this.
|
|
2372
|
-
tmp_5.
|
|
2373
|
-
this.
|
|
2374
|
-
this.
|
|
2371
|
+
this.o35_1;
|
|
2372
|
+
tmp_5.n35_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
2373
|
+
this.j9_1 = 14;
|
|
2374
|
+
this.i9_1 = 13;
|
|
2375
2375
|
continue $sm;
|
|
2376
2376
|
case 12:
|
|
2377
|
-
this.
|
|
2378
|
-
var tmp_6 = this.
|
|
2377
|
+
this.j9_1 = 14;
|
|
2378
|
+
var tmp_6 = this.l9_1;
|
|
2379
2379
|
if (tmp_6 instanceof Error) {
|
|
2380
|
-
var e_0 = this.
|
|
2380
|
+
var e_0 = this.l9_1;
|
|
2381
2381
|
var tmp_7 = this;
|
|
2382
|
-
tmp_7.
|
|
2383
|
-
this.
|
|
2382
|
+
tmp_7.n35_1 = _Result___init__impl__xyqfz8(createFailure(e_0));
|
|
2383
|
+
this.i9_1 = 13;
|
|
2384
2384
|
continue $sm;
|
|
2385
2385
|
} else {
|
|
2386
|
-
throw this.
|
|
2386
|
+
throw this.l9_1;
|
|
2387
2387
|
}
|
|
2388
2388
|
|
|
2389
2389
|
case 13:
|
|
2390
|
-
this.
|
|
2390
|
+
this.j9_1 = 14;
|
|
2391
2391
|
return Unit_instance;
|
|
2392
2392
|
case 14:
|
|
2393
|
-
throw this.
|
|
2393
|
+
throw this.l9_1;
|
|
2394
2394
|
}
|
|
2395
2395
|
} catch ($p) {
|
|
2396
2396
|
var e_1 = $p;
|
|
2397
|
-
if (this.
|
|
2397
|
+
if (this.j9_1 === 14) {
|
|
2398
2398
|
throw e_1;
|
|
2399
2399
|
} else {
|
|
2400
|
-
this.
|
|
2401
|
-
this.
|
|
2400
|
+
this.i9_1 = this.j9_1;
|
|
2401
|
+
this.l9_1 = e_1;
|
|
2402
2402
|
}
|
|
2403
2403
|
}
|
|
2404
2404
|
while (true);
|
|
2405
2405
|
};
|
|
2406
|
-
protoOf(writer$slambda).
|
|
2407
|
-
var i = new writer$slambda(this.
|
|
2408
|
-
i.
|
|
2406
|
+
protoOf(writer$slambda).v2b = function ($this$launch, completion) {
|
|
2407
|
+
var i = new writer$slambda(this.k35_1, this.l35_1, completion);
|
|
2408
|
+
i.m35_1 = $this$launch;
|
|
2409
2409
|
return i;
|
|
2410
2410
|
};
|
|
2411
2411
|
function writer$slambda_0($block, $channel, resultContinuation) {
|
|
2412
2412
|
var i = new writer$slambda($block, $channel, resultContinuation);
|
|
2413
2413
|
var l = function ($this$launch, $completion) {
|
|
2414
|
-
return i.
|
|
2414
|
+
return i.u2b($this$launch, $completion);
|
|
2415
2415
|
};
|
|
2416
2416
|
l.$arity = 1;
|
|
2417
2417
|
return l;
|
|
@@ -2419,8 +2419,8 @@
|
|
|
2419
2419
|
function writer$lambda($channel) {
|
|
2420
2420
|
return function (it) {
|
|
2421
2421
|
var tmp;
|
|
2422
|
-
if (!(it == null) && !$channel.
|
|
2423
|
-
$channel.
|
|
2422
|
+
if (!(it == null) && !$channel.o2w()) {
|
|
2423
|
+
$channel.v2w(it);
|
|
2424
2424
|
tmp = Unit_instance;
|
|
2425
2425
|
}
|
|
2426
2426
|
return Unit_instance;
|
|
@@ -2428,48 +2428,48 @@
|
|
|
2428
2428
|
}
|
|
2429
2429
|
function $writePacketCOROUTINE$(_this__u8e3s4, source, resultContinuation) {
|
|
2430
2430
|
CoroutineImpl.call(this, resultContinuation);
|
|
2431
|
-
this.
|
|
2432
|
-
this.
|
|
2431
|
+
this.x34_1 = _this__u8e3s4;
|
|
2432
|
+
this.y34_1 = source;
|
|
2433
2433
|
}
|
|
2434
|
-
protoOf($writePacketCOROUTINE$).
|
|
2435
|
-
var suspendResult = this.
|
|
2434
|
+
protoOf($writePacketCOROUTINE$).q9 = function () {
|
|
2435
|
+
var suspendResult = this.k9_1;
|
|
2436
2436
|
$sm: do
|
|
2437
2437
|
try {
|
|
2438
|
-
var tmp = this.
|
|
2438
|
+
var tmp = this.i9_1;
|
|
2439
2439
|
switch (tmp) {
|
|
2440
2440
|
case 0:
|
|
2441
|
-
this.
|
|
2442
|
-
this.
|
|
2441
|
+
this.j9_1 = 4;
|
|
2442
|
+
this.i9_1 = 1;
|
|
2443
2443
|
continue $sm;
|
|
2444
2444
|
case 1:
|
|
2445
|
-
if (!!this.
|
|
2446
|
-
this.
|
|
2445
|
+
if (!!this.y34_1.p1i()) {
|
|
2446
|
+
this.i9_1 = 3;
|
|
2447
2447
|
continue $sm;
|
|
2448
2448
|
}
|
|
2449
2449
|
|
|
2450
|
-
this.
|
|
2451
|
-
this.
|
|
2452
|
-
suspendResult = flushIfNeeded(this.
|
|
2450
|
+
this.x34_1.n2w().c1k(this.y34_1, get_remaining(this.y34_1));
|
|
2451
|
+
this.i9_1 = 2;
|
|
2452
|
+
suspendResult = flushIfNeeded(this.x34_1, this);
|
|
2453
2453
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2454
2454
|
return suspendResult;
|
|
2455
2455
|
}
|
|
2456
2456
|
|
|
2457
2457
|
continue $sm;
|
|
2458
2458
|
case 2:
|
|
2459
|
-
this.
|
|
2459
|
+
this.i9_1 = 1;
|
|
2460
2460
|
continue $sm;
|
|
2461
2461
|
case 3:
|
|
2462
2462
|
return Unit_instance;
|
|
2463
2463
|
case 4:
|
|
2464
|
-
throw this.
|
|
2464
|
+
throw this.l9_1;
|
|
2465
2465
|
}
|
|
2466
2466
|
} catch ($p) {
|
|
2467
2467
|
var e = $p;
|
|
2468
|
-
if (this.
|
|
2468
|
+
if (this.j9_1 === 4) {
|
|
2469
2469
|
throw e;
|
|
2470
2470
|
} else {
|
|
2471
|
-
this.
|
|
2472
|
-
this.
|
|
2471
|
+
this.i9_1 = this.j9_1;
|
|
2472
|
+
this.l9_1 = e;
|
|
2473
2473
|
}
|
|
2474
2474
|
}
|
|
2475
2475
|
while (true);
|
|
@@ -2494,27 +2494,27 @@
|
|
|
2494
2494
|
return l;
|
|
2495
2495
|
}
|
|
2496
2496
|
function CloseToken(origin) {
|
|
2497
|
-
this.
|
|
2497
|
+
this.l2w_1 = origin;
|
|
2498
2498
|
}
|
|
2499
|
-
protoOf(CloseToken).
|
|
2500
|
-
var tmp0_subject = this.
|
|
2499
|
+
protoOf(CloseToken).t35 = function (wrap) {
|
|
2500
|
+
var tmp0_subject = this.l2w_1;
|
|
2501
2501
|
var tmp;
|
|
2502
2502
|
if (tmp0_subject == null) {
|
|
2503
2503
|
tmp = null;
|
|
2504
2504
|
} else {
|
|
2505
2505
|
if (isInterface(tmp0_subject, CopyableThrowable)) {
|
|
2506
|
-
tmp = this.
|
|
2506
|
+
tmp = this.l2w_1.b1v();
|
|
2507
2507
|
} else {
|
|
2508
2508
|
if (tmp0_subject instanceof CancellationException) {
|
|
2509
|
-
tmp = CancellationException_init_$Create$(this.
|
|
2509
|
+
tmp = CancellationException_init_$Create$(this.l2w_1.message, this.l2w_1);
|
|
2510
2510
|
} else {
|
|
2511
|
-
tmp = wrap(this.
|
|
2511
|
+
tmp = wrap(this.l2w_1);
|
|
2512
2512
|
}
|
|
2513
2513
|
}
|
|
2514
2514
|
}
|
|
2515
2515
|
return tmp;
|
|
2516
2516
|
};
|
|
2517
|
-
protoOf(CloseToken).
|
|
2517
|
+
protoOf(CloseToken).q2w = function (wrap, $super) {
|
|
2518
2518
|
var tmp;
|
|
2519
2519
|
if (wrap === VOID) {
|
|
2520
2520
|
tmp = ClosedByteChannelException$_init_$ref_yjp351();
|
|
@@ -2522,10 +2522,10 @@
|
|
|
2522
2522
|
tmp = wrap;
|
|
2523
2523
|
}
|
|
2524
2524
|
wrap = tmp;
|
|
2525
|
-
return $super === VOID ? this.
|
|
2525
|
+
return $super === VOID ? this.t35(wrap) : $super.t35.call(this, wrap);
|
|
2526
2526
|
};
|
|
2527
|
-
protoOf(CloseToken).
|
|
2528
|
-
var tmp0_safe_receiver = this.
|
|
2527
|
+
protoOf(CloseToken).m2w = function (wrap) {
|
|
2528
|
+
var tmp0_safe_receiver = this.t35(wrap);
|
|
2529
2529
|
var tmp;
|
|
2530
2530
|
if (tmp0_safe_receiver == null) {
|
|
2531
2531
|
tmp = null;
|
|
@@ -2544,32 +2544,32 @@
|
|
|
2544
2544
|
}
|
|
2545
2545
|
function transferFromDelegate($this) {
|
|
2546
2546
|
updateConsumed($this);
|
|
2547
|
-
var appended = $this.
|
|
2548
|
-
$this.
|
|
2547
|
+
var appended = $this.v35_1.h1k($this.u35_1.k2w());
|
|
2548
|
+
$this.w35_1 = add($this.w35_1, appended);
|
|
2549
2549
|
}
|
|
2550
2550
|
function updateConsumed($this) {
|
|
2551
|
-
$this.
|
|
2552
|
-
$this.
|
|
2551
|
+
$this.x35_1 = add($this.x35_1, subtract($this.w35_1, $this.v35_1.g1()));
|
|
2552
|
+
$this.w35_1 = $this.v35_1.g1();
|
|
2553
2553
|
}
|
|
2554
2554
|
function $awaitContentCOROUTINE$_0(_this__u8e3s4, min, resultContinuation) {
|
|
2555
2555
|
CoroutineImpl.call(this, resultContinuation);
|
|
2556
|
-
this.
|
|
2557
|
-
this.
|
|
2556
|
+
this.g36_1 = _this__u8e3s4;
|
|
2557
|
+
this.h36_1 = min;
|
|
2558
2558
|
}
|
|
2559
|
-
protoOf($awaitContentCOROUTINE$_0).
|
|
2560
|
-
var suspendResult = this.
|
|
2559
|
+
protoOf($awaitContentCOROUTINE$_0).q9 = function () {
|
|
2560
|
+
var suspendResult = this.k9_1;
|
|
2561
2561
|
$sm: do
|
|
2562
2562
|
try {
|
|
2563
|
-
var tmp = this.
|
|
2563
|
+
var tmp = this.i9_1;
|
|
2564
2564
|
switch (tmp) {
|
|
2565
2565
|
case 0:
|
|
2566
|
-
this.
|
|
2567
|
-
if (compare(this.
|
|
2566
|
+
this.j9_1 = 3;
|
|
2567
|
+
if (compare(this.g36_1.k2w().g1(), fromInt(this.h36_1)) >= 0) {
|
|
2568
2568
|
return true;
|
|
2569
2569
|
}
|
|
2570
2570
|
|
|
2571
|
-
this.
|
|
2572
|
-
suspendResult = this.
|
|
2571
|
+
this.i9_1 = 1;
|
|
2572
|
+
suspendResult = this.g36_1.u35_1.s2w(this.h36_1, this);
|
|
2573
2573
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2574
2574
|
return suspendResult;
|
|
2575
2575
|
}
|
|
@@ -2577,58 +2577,58 @@
|
|
|
2577
2577
|
continue $sm;
|
|
2578
2578
|
case 1:
|
|
2579
2579
|
if (suspendResult) {
|
|
2580
|
-
transferFromDelegate(this.
|
|
2580
|
+
transferFromDelegate(this.g36_1);
|
|
2581
2581
|
return true;
|
|
2582
2582
|
} else {
|
|
2583
|
-
this.
|
|
2583
|
+
this.i9_1 = 2;
|
|
2584
2584
|
continue $sm;
|
|
2585
2585
|
}
|
|
2586
2586
|
|
|
2587
2587
|
case 2:
|
|
2588
2588
|
return false;
|
|
2589
2589
|
case 3:
|
|
2590
|
-
throw this.
|
|
2590
|
+
throw this.l9_1;
|
|
2591
2591
|
}
|
|
2592
2592
|
} catch ($p) {
|
|
2593
2593
|
var e = $p;
|
|
2594
|
-
if (this.
|
|
2594
|
+
if (this.j9_1 === 3) {
|
|
2595
2595
|
throw e;
|
|
2596
2596
|
} else {
|
|
2597
|
-
this.
|
|
2598
|
-
this.
|
|
2597
|
+
this.i9_1 = this.j9_1;
|
|
2598
|
+
this.l9_1 = e;
|
|
2599
2599
|
}
|
|
2600
2600
|
}
|
|
2601
2601
|
while (true);
|
|
2602
2602
|
};
|
|
2603
2603
|
function CountedByteReadChannel(delegate) {
|
|
2604
|
-
this.
|
|
2605
|
-
this.
|
|
2606
|
-
this.v35_1 = new Long(0, 0);
|
|
2604
|
+
this.u35_1 = delegate;
|
|
2605
|
+
this.v35_1 = new Buffer();
|
|
2607
2606
|
this.w35_1 = new Long(0, 0);
|
|
2607
|
+
this.x35_1 = new Long(0, 0);
|
|
2608
2608
|
}
|
|
2609
|
-
protoOf(CountedByteReadChannel).
|
|
2609
|
+
protoOf(CountedByteReadChannel).i36 = function () {
|
|
2610
2610
|
updateConsumed(this);
|
|
2611
|
-
return this.
|
|
2611
|
+
return this.x35_1;
|
|
2612
2612
|
};
|
|
2613
|
-
protoOf(CountedByteReadChannel).
|
|
2614
|
-
return this.
|
|
2613
|
+
protoOf(CountedByteReadChannel).p2w = function () {
|
|
2614
|
+
return this.u35_1.p2w();
|
|
2615
2615
|
};
|
|
2616
|
-
protoOf(CountedByteReadChannel).
|
|
2617
|
-
return this.
|
|
2616
|
+
protoOf(CountedByteReadChannel).r2w = function () {
|
|
2617
|
+
return this.v35_1.p1i() && this.u35_1.r2w();
|
|
2618
2618
|
};
|
|
2619
|
-
protoOf(CountedByteReadChannel).
|
|
2619
|
+
protoOf(CountedByteReadChannel).k2w = function () {
|
|
2620
2620
|
transferFromDelegate(this);
|
|
2621
|
-
return this.
|
|
2621
|
+
return this.v35_1;
|
|
2622
2622
|
};
|
|
2623
|
-
protoOf(CountedByteReadChannel).
|
|
2623
|
+
protoOf(CountedByteReadChannel).s2w = function (min, $completion) {
|
|
2624
2624
|
var tmp = new $awaitContentCOROUTINE$_0(this, min, $completion);
|
|
2625
|
-
tmp.
|
|
2626
|
-
tmp.
|
|
2627
|
-
return tmp.
|
|
2625
|
+
tmp.k9_1 = Unit_instance;
|
|
2626
|
+
tmp.l9_1 = null;
|
|
2627
|
+
return tmp.q9();
|
|
2628
2628
|
};
|
|
2629
|
-
protoOf(CountedByteReadChannel).
|
|
2630
|
-
this.
|
|
2631
|
-
this.
|
|
2629
|
+
protoOf(CountedByteReadChannel).v2w = function (cause) {
|
|
2630
|
+
this.u35_1.v2w(cause);
|
|
2631
|
+
this.v35_1.r4();
|
|
2632
2632
|
};
|
|
2633
2633
|
function counted(_this__u8e3s4) {
|
|
2634
2634
|
return new CountedByteReadChannel(_this__u8e3s4);
|
|
@@ -2665,21 +2665,21 @@
|
|
|
2665
2665
|
}
|
|
2666
2666
|
function LineEndingMode__toString_impl_j4h76r($this) {
|
|
2667
2667
|
var tmp;
|
|
2668
|
-
if ($this === Companion_getInstance_1().
|
|
2668
|
+
if ($this === Companion_getInstance_1().z31_1) {
|
|
2669
2669
|
tmp = 'CR';
|
|
2670
|
-
} else if ($this === Companion_getInstance_1().z31_1) {
|
|
2671
|
-
tmp = 'LF';
|
|
2672
2670
|
} else if ($this === Companion_getInstance_1().a32_1) {
|
|
2671
|
+
tmp = 'LF';
|
|
2672
|
+
} else if ($this === Companion_getInstance_1().b32_1) {
|
|
2673
2673
|
tmp = 'CRLF';
|
|
2674
2674
|
} else {
|
|
2675
2675
|
// Inline function 'kotlin.collections.filter' call
|
|
2676
|
-
var tmp0 = Companion_getInstance_1().
|
|
2676
|
+
var tmp0 = Companion_getInstance_1().d32_1;
|
|
2677
2677
|
// Inline function 'kotlin.collections.filterTo' call
|
|
2678
2678
|
var destination = ArrayList_init_$Create$();
|
|
2679
2679
|
var _iterator__ex2g4s = tmp0.t();
|
|
2680
2680
|
while (_iterator__ex2g4s.u()) {
|
|
2681
2681
|
var element = _iterator__ex2g4s.v();
|
|
2682
|
-
var it = element.
|
|
2682
|
+
var it = element.j36_1;
|
|
2683
2683
|
if (LineEndingMode__contains_impl_q5pr68($this, it)) {
|
|
2684
2684
|
destination.e1(element);
|
|
2685
2685
|
}
|
|
@@ -2690,11 +2690,11 @@
|
|
|
2690
2690
|
}
|
|
2691
2691
|
function Companion_1() {
|
|
2692
2692
|
Companion_instance_2 = this;
|
|
2693
|
-
this.
|
|
2694
|
-
this.
|
|
2695
|
-
this.
|
|
2696
|
-
this.
|
|
2697
|
-
this.
|
|
2693
|
+
this.z31_1 = _LineEndingMode___init__impl__jo5bul(1);
|
|
2694
|
+
this.a32_1 = _LineEndingMode___init__impl__jo5bul(2);
|
|
2695
|
+
this.b32_1 = _LineEndingMode___init__impl__jo5bul(4);
|
|
2696
|
+
this.c32_1 = _LineEndingMode___init__impl__jo5bul(7);
|
|
2697
|
+
this.d32_1 = listOf([new LineEndingMode(this.z31_1), new LineEndingMode(this.a32_1), new LineEndingMode(this.b32_1)]);
|
|
2698
2698
|
}
|
|
2699
2699
|
var Companion_instance_2;
|
|
2700
2700
|
function Companion_getInstance_1() {
|
|
@@ -2708,67 +2708,67 @@
|
|
|
2708
2708
|
function LineEndingMode__equals_impl_qyr4nk($this, other) {
|
|
2709
2709
|
if (!(other instanceof LineEndingMode))
|
|
2710
2710
|
return false;
|
|
2711
|
-
if (!($this === other.
|
|
2711
|
+
if (!($this === other.j36_1))
|
|
2712
2712
|
return false;
|
|
2713
2713
|
return true;
|
|
2714
2714
|
}
|
|
2715
2715
|
function LineEndingMode(mode) {
|
|
2716
2716
|
Companion_getInstance_1();
|
|
2717
|
-
this.
|
|
2717
|
+
this.j36_1 = mode;
|
|
2718
2718
|
}
|
|
2719
2719
|
protoOf(LineEndingMode).toString = function () {
|
|
2720
|
-
return LineEndingMode__toString_impl_j4h76r(this.
|
|
2720
|
+
return LineEndingMode__toString_impl_j4h76r(this.j36_1);
|
|
2721
2721
|
};
|
|
2722
2722
|
protoOf(LineEndingMode).hashCode = function () {
|
|
2723
|
-
return LineEndingMode__hashCode_impl_2mopm4(this.
|
|
2723
|
+
return LineEndingMode__hashCode_impl_2mopm4(this.j36_1);
|
|
2724
2724
|
};
|
|
2725
2725
|
protoOf(LineEndingMode).equals = function (other) {
|
|
2726
|
-
return LineEndingMode__equals_impl_qyr4nk(this.
|
|
2726
|
+
return LineEndingMode__equals_impl_qyr4nk(this.j36_1, other);
|
|
2727
2727
|
};
|
|
2728
2728
|
function SourceByteReadChannel(source) {
|
|
2729
|
-
this.
|
|
2730
|
-
this.
|
|
2729
|
+
this.k36_1 = source;
|
|
2730
|
+
this.l36_1 = null;
|
|
2731
2731
|
}
|
|
2732
|
-
protoOf(SourceByteReadChannel).
|
|
2733
|
-
var tmp0_safe_receiver = this.
|
|
2734
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2732
|
+
protoOf(SourceByteReadChannel).p2w = function () {
|
|
2733
|
+
var tmp0_safe_receiver = this.l36_1;
|
|
2734
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q2w();
|
|
2735
2735
|
};
|
|
2736
|
-
protoOf(SourceByteReadChannel).
|
|
2737
|
-
return this.
|
|
2736
|
+
protoOf(SourceByteReadChannel).r2w = function () {
|
|
2737
|
+
return this.k36_1.p1i();
|
|
2738
2738
|
};
|
|
2739
|
-
protoOf(SourceByteReadChannel).
|
|
2740
|
-
var tmp0_safe_receiver = this.
|
|
2739
|
+
protoOf(SourceByteReadChannel).k2w = function () {
|
|
2740
|
+
var tmp0_safe_receiver = this.p2w();
|
|
2741
2741
|
if (tmp0_safe_receiver == null)
|
|
2742
2742
|
null;
|
|
2743
2743
|
else {
|
|
2744
2744
|
// Inline function 'kotlin.let' call
|
|
2745
2745
|
throw tmp0_safe_receiver;
|
|
2746
2746
|
}
|
|
2747
|
-
return this.
|
|
2747
|
+
return this.k36_1.o1i();
|
|
2748
2748
|
};
|
|
2749
|
-
protoOf(SourceByteReadChannel).
|
|
2750
|
-
var tmp0_safe_receiver = this.
|
|
2749
|
+
protoOf(SourceByteReadChannel).s2w = function (min, $completion) {
|
|
2750
|
+
var tmp0_safe_receiver = this.p2w();
|
|
2751
2751
|
if (tmp0_safe_receiver == null)
|
|
2752
2752
|
null;
|
|
2753
2753
|
else {
|
|
2754
2754
|
// Inline function 'kotlin.let' call
|
|
2755
2755
|
throw tmp0_safe_receiver;
|
|
2756
2756
|
}
|
|
2757
|
-
return this.
|
|
2757
|
+
return this.k36_1.r1i(fromInt(min));
|
|
2758
2758
|
};
|
|
2759
|
-
protoOf(SourceByteReadChannel).
|
|
2760
|
-
if (!(this.
|
|
2759
|
+
protoOf(SourceByteReadChannel).v2w = function (cause) {
|
|
2760
|
+
if (!(this.l36_1 == null))
|
|
2761
2761
|
return Unit_instance;
|
|
2762
|
-
this.
|
|
2762
|
+
this.k36_1.r4();
|
|
2763
2763
|
var tmp = this;
|
|
2764
2764
|
var tmp1_elvis_lhs = cause == null ? null : cause.message;
|
|
2765
|
-
tmp.
|
|
2765
|
+
tmp.l36_1 = new CloseToken(IOException_init_$Create$_0(tmp1_elvis_lhs == null ? 'Channel was cancelled' : tmp1_elvis_lhs, cause));
|
|
2766
2766
|
};
|
|
2767
2767
|
function decode(_this__u8e3s4, input, max) {
|
|
2768
2768
|
max = max === VOID ? 2147483647 : max;
|
|
2769
2769
|
var tmp0 = fromInt(max);
|
|
2770
2770
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2771
|
-
var b = input.
|
|
2771
|
+
var b = input.o1i().g1();
|
|
2772
2772
|
var tmp$ret$0 = compare(tmp0, b) <= 0 ? tmp0 : b;
|
|
2773
2773
|
// Inline function 'kotlin.text.buildString' call
|
|
2774
2774
|
var capacity = convertToInt(tmp$ret$0);
|
|
@@ -2805,7 +2805,7 @@
|
|
|
2805
2805
|
}
|
|
2806
2806
|
}
|
|
2807
2807
|
function canRead(_this__u8e3s4) {
|
|
2808
|
-
return !_this__u8e3s4.
|
|
2808
|
+
return !_this__u8e3s4.p1i();
|
|
2809
2809
|
}
|
|
2810
2810
|
function readBytes(_this__u8e3s4, count) {
|
|
2811
2811
|
count = count === VOID ? convertToInt(_this__u8e3s4.g1()) : count;
|
|
@@ -2814,32 +2814,32 @@
|
|
|
2814
2814
|
function writeFully_0(_this__u8e3s4, buffer, offset, length) {
|
|
2815
2815
|
offset = offset === VOID ? 0 : offset;
|
|
2816
2816
|
length = length === VOID ? buffer.length - offset | 0 : length;
|
|
2817
|
-
_this__u8e3s4.
|
|
2817
|
+
_this__u8e3s4.y1j(buffer, offset, offset + length | 0);
|
|
2818
2818
|
}
|
|
2819
2819
|
function BytePacketBuilder() {
|
|
2820
2820
|
return new Buffer();
|
|
2821
2821
|
}
|
|
2822
2822
|
function get_size(_this__u8e3s4) {
|
|
2823
|
-
return convertToInt(_this__u8e3s4.
|
|
2823
|
+
return convertToInt(_this__u8e3s4.o1i().g1());
|
|
2824
2824
|
}
|
|
2825
2825
|
var ByteReadPacketEmpty;
|
|
2826
2826
|
function get_remaining(_this__u8e3s4) {
|
|
2827
2827
|
_init_properties_ByteReadPacket_kt__28475y();
|
|
2828
|
-
return _this__u8e3s4.
|
|
2828
|
+
return _this__u8e3s4.o1i().g1();
|
|
2829
2829
|
}
|
|
2830
2830
|
function discard_0(_this__u8e3s4, count) {
|
|
2831
2831
|
count = count === VOID ? new Long(-1, 2147483647) : count;
|
|
2832
2832
|
_init_properties_ByteReadPacket_kt__28475y();
|
|
2833
|
-
_this__u8e3s4.
|
|
2833
|
+
_this__u8e3s4.r1i(count);
|
|
2834
2834
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2835
2835
|
var b = get_remaining(_this__u8e3s4);
|
|
2836
2836
|
var countToDiscard = compare(count, b) <= 0 ? count : b;
|
|
2837
|
-
_this__u8e3s4.
|
|
2837
|
+
_this__u8e3s4.o1i().m1j(countToDiscard);
|
|
2838
2838
|
return countToDiscard;
|
|
2839
2839
|
}
|
|
2840
2840
|
function takeWhile(_this__u8e3s4, block) {
|
|
2841
2841
|
_init_properties_ByteReadPacket_kt__28475y();
|
|
2842
|
-
while (!_this__u8e3s4.
|
|
2842
|
+
while (!_this__u8e3s4.p1i() && block(_this__u8e3s4.o1i())) {
|
|
2843
2843
|
}
|
|
2844
2844
|
}
|
|
2845
2845
|
var properties_initialized_ByteReadPacket_kt_hw4st4;
|
|
@@ -2852,37 +2852,37 @@
|
|
|
2852
2852
|
function readAvailable_0(_this__u8e3s4, buffer, offset, length) {
|
|
2853
2853
|
offset = offset === VOID ? 0 : offset;
|
|
2854
2854
|
length = length === VOID ? buffer.length - offset | 0 : length;
|
|
2855
|
-
var result = _this__u8e3s4.
|
|
2855
|
+
var result = _this__u8e3s4.n1j(buffer, offset, offset + length | 0);
|
|
2856
2856
|
return result === -1 ? 0 : result;
|
|
2857
2857
|
}
|
|
2858
2858
|
function readText_0(_this__u8e3s4, charset, max) {
|
|
2859
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
2859
|
+
charset = charset === VOID ? Charsets_getInstance().m36_1 : charset;
|
|
2860
2860
|
max = max === VOID ? 2147483647 : max;
|
|
2861
|
-
if (charset.equals(Charsets_getInstance().
|
|
2861
|
+
if (charset.equals(Charsets_getInstance().m36_1)) {
|
|
2862
2862
|
if (max === 2147483647)
|
|
2863
2863
|
return readString_0(_this__u8e3s4);
|
|
2864
|
-
var tmp0 = _this__u8e3s4.
|
|
2864
|
+
var tmp0 = _this__u8e3s4.o1i().g1();
|
|
2865
2865
|
// Inline function 'kotlin.math.min' call
|
|
2866
2866
|
var b = fromInt(max);
|
|
2867
2867
|
var count = compare(tmp0, b) <= 0 ? tmp0 : b;
|
|
2868
2868
|
return readString_1(_this__u8e3s4, count);
|
|
2869
2869
|
}
|
|
2870
|
-
return decode(charset.
|
|
2870
|
+
return decode(charset.p36(), _this__u8e3s4, max);
|
|
2871
2871
|
}
|
|
2872
2872
|
function toByteArray_0(_this__u8e3s4, charset) {
|
|
2873
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
2874
|
-
if (charset.equals(Charsets_getInstance().
|
|
2873
|
+
charset = charset === VOID ? Charsets_getInstance().m36_1 : charset;
|
|
2874
|
+
if (charset.equals(Charsets_getInstance().m36_1))
|
|
2875
2875
|
return encodeToByteArray(_this__u8e3s4, VOID, VOID, true);
|
|
2876
|
-
return encodeToByteArray_0(charset.
|
|
2876
|
+
return encodeToByteArray_0(charset.q36(), _this__u8e3s4, 0, _this__u8e3s4.length);
|
|
2877
2877
|
}
|
|
2878
2878
|
function writeText(_this__u8e3s4, text, fromIndex, toIndex, charset) {
|
|
2879
2879
|
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
2880
2880
|
toIndex = toIndex === VOID ? charSequenceLength(text) : toIndex;
|
|
2881
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
2882
|
-
if (charset === Charsets_getInstance().
|
|
2881
|
+
charset = charset === VOID ? Charsets_getInstance().m36_1 : charset;
|
|
2882
|
+
if (charset === Charsets_getInstance().m36_1) {
|
|
2883
2883
|
return writeString(_this__u8e3s4, toString_1(text), fromIndex, toIndex);
|
|
2884
2884
|
}
|
|
2885
|
-
encodeToImpl(charset.
|
|
2885
|
+
encodeToImpl(charset.q36(), _this__u8e3s4, text, fromIndex, toIndex);
|
|
2886
2886
|
}
|
|
2887
2887
|
function get_ByteArrayPool() {
|
|
2888
2888
|
_init_properties_ByteArrayPool_kt__kfi3uj();
|
|
@@ -2892,7 +2892,7 @@
|
|
|
2892
2892
|
function ByteArrayPool$1() {
|
|
2893
2893
|
DefaultPool.call(this, 128);
|
|
2894
2894
|
}
|
|
2895
|
-
protoOf(ByteArrayPool$1).
|
|
2895
|
+
protoOf(ByteArrayPool$1).u36 = function () {
|
|
2896
2896
|
return new Int8Array(4096);
|
|
2897
2897
|
};
|
|
2898
2898
|
var properties_initialized_ByteArrayPool_kt_td6pfh;
|
|
@@ -2906,21 +2906,21 @@
|
|
|
2906
2906
|
}
|
|
2907
2907
|
function NoPoolImpl() {
|
|
2908
2908
|
}
|
|
2909
|
-
protoOf(NoPoolImpl).
|
|
2909
|
+
protoOf(NoPoolImpl).c37 = function (instance) {
|
|
2910
2910
|
return Unit_instance;
|
|
2911
2911
|
};
|
|
2912
|
-
protoOf(NoPoolImpl).
|
|
2912
|
+
protoOf(NoPoolImpl).g1p = function () {
|
|
2913
2913
|
return Unit_instance;
|
|
2914
2914
|
};
|
|
2915
2915
|
function Companion_2() {
|
|
2916
2916
|
}
|
|
2917
|
-
protoOf(Companion_2).
|
|
2917
|
+
protoOf(Companion_2).d37 = function (name) {
|
|
2918
2918
|
switch (name) {
|
|
2919
2919
|
case 'UTF-8':
|
|
2920
2920
|
case 'utf-8':
|
|
2921
2921
|
case 'UTF8':
|
|
2922
2922
|
case 'utf8':
|
|
2923
|
-
return Charsets_getInstance().
|
|
2923
|
+
return Charsets_getInstance().m36_1;
|
|
2924
2924
|
}
|
|
2925
2925
|
var tmp;
|
|
2926
2926
|
var tmp_0;
|
|
@@ -2951,11 +2951,11 @@
|
|
|
2951
2951
|
tmp = name === 'latin1' || name === 'Latin1';
|
|
2952
2952
|
}
|
|
2953
2953
|
if (tmp) {
|
|
2954
|
-
return Charsets_getInstance().
|
|
2954
|
+
return Charsets_getInstance().n36_1;
|
|
2955
2955
|
}
|
|
2956
2956
|
throw IllegalArgumentException_init_$Create$('Charset ' + name + ' is not supported');
|
|
2957
2957
|
};
|
|
2958
|
-
protoOf(Companion_2).
|
|
2958
|
+
protoOf(Companion_2).e37 = function (charset) {
|
|
2959
2959
|
var tmp;
|
|
2960
2960
|
switch (charset) {
|
|
2961
2961
|
case 'UTF-8':
|
|
@@ -3010,7 +3010,7 @@
|
|
|
3010
3010
|
return Companion_instance_3;
|
|
3011
3011
|
}
|
|
3012
3012
|
function Charset(_name) {
|
|
3013
|
-
this.
|
|
3013
|
+
this.o36_1 = _name;
|
|
3014
3014
|
}
|
|
3015
3015
|
protoOf(Charset).equals = function (other) {
|
|
3016
3016
|
if (this === other)
|
|
@@ -3019,18 +3019,18 @@
|
|
|
3019
3019
|
return false;
|
|
3020
3020
|
if (!(other instanceof Charset))
|
|
3021
3021
|
THROW_CCE();
|
|
3022
|
-
return this.
|
|
3022
|
+
return this.o36_1 === other.o36_1;
|
|
3023
3023
|
};
|
|
3024
3024
|
protoOf(Charset).hashCode = function () {
|
|
3025
|
-
return getStringHashCode(this.
|
|
3025
|
+
return getStringHashCode(this.o36_1);
|
|
3026
3026
|
};
|
|
3027
3027
|
protoOf(Charset).toString = function () {
|
|
3028
|
-
return this.
|
|
3028
|
+
return this.o36_1;
|
|
3029
3029
|
};
|
|
3030
3030
|
function Charsets() {
|
|
3031
3031
|
Charsets_instance = this;
|
|
3032
|
-
this.
|
|
3033
|
-
this.
|
|
3032
|
+
this.m36_1 = new CharsetImpl('UTF-8');
|
|
3033
|
+
this.n36_1 = new CharsetImpl('ISO-8859-1');
|
|
3034
3034
|
}
|
|
3035
3035
|
var Charsets_instance;
|
|
3036
3036
|
function Charsets_getInstance() {
|
|
@@ -3039,27 +3039,27 @@
|
|
|
3039
3039
|
return Charsets_instance;
|
|
3040
3040
|
}
|
|
3041
3041
|
function CharsetDecoder(_charset) {
|
|
3042
|
-
this.
|
|
3042
|
+
this.f37_1 = _charset;
|
|
3043
3043
|
}
|
|
3044
3044
|
function MalformedInputException(message) {
|
|
3045
3045
|
IOException_init_$Init$_0(message, this);
|
|
3046
3046
|
captureStack(this, MalformedInputException);
|
|
3047
3047
|
}
|
|
3048
3048
|
function get_name(_this__u8e3s4) {
|
|
3049
|
-
return _this__u8e3s4.
|
|
3049
|
+
return _this__u8e3s4.o36_1;
|
|
3050
3050
|
}
|
|
3051
3051
|
function isSupported(_this__u8e3s4, name) {
|
|
3052
|
-
return Companion_instance_3.
|
|
3052
|
+
return Companion_instance_3.e37(name);
|
|
3053
3053
|
}
|
|
3054
3054
|
function forName(_this__u8e3s4, name) {
|
|
3055
|
-
return Companion_instance_3.
|
|
3055
|
+
return Companion_instance_3.d37(name);
|
|
3056
3056
|
}
|
|
3057
3057
|
function CharsetEncoder(_charset) {
|
|
3058
|
-
this.
|
|
3058
|
+
this.g37_1 = _charset;
|
|
3059
3059
|
}
|
|
3060
3060
|
function decode_0(_this__u8e3s4, input, dst, max) {
|
|
3061
3061
|
var decoder = Decoder(get_name(get_charset(_this__u8e3s4)), true);
|
|
3062
|
-
var tmp0 = input.
|
|
3062
|
+
var tmp0 = input.o1i().g1();
|
|
3063
3063
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
3064
3064
|
var b = fromInt(max);
|
|
3065
3065
|
var count = compare(tmp0, b) <= 0 ? tmp0 : b;
|
|
@@ -3067,7 +3067,7 @@
|
|
|
3067
3067
|
var array = tmp instanceof Int8Array ? tmp : THROW_CCE();
|
|
3068
3068
|
var tmp_0;
|
|
3069
3069
|
try {
|
|
3070
|
-
tmp_0 = decoder.
|
|
3070
|
+
tmp_0 = decoder.h37(array);
|
|
3071
3071
|
} catch ($p) {
|
|
3072
3072
|
var tmp_1;
|
|
3073
3073
|
if ($p instanceof Error) {
|
|
@@ -3089,11 +3089,11 @@
|
|
|
3089
3089
|
var message = 'Failed requirement.';
|
|
3090
3090
|
throw IllegalArgumentException_init_$Create$(toString_1(message));
|
|
3091
3091
|
}
|
|
3092
|
-
if (get_charset_0(_this__u8e3s4).equals(Charsets_getInstance().
|
|
3092
|
+
if (get_charset_0(_this__u8e3s4).equals(Charsets_getInstance().n36_1)) {
|
|
3093
3093
|
return encodeISO88591(input, fromIndex, toIndex, dst);
|
|
3094
3094
|
}
|
|
3095
3095
|
// Inline function 'kotlin.require' call
|
|
3096
|
-
if (!(get_charset_0(_this__u8e3s4) === Charsets_getInstance().
|
|
3096
|
+
if (!(get_charset_0(_this__u8e3s4) === Charsets_getInstance().m36_1)) {
|
|
3097
3097
|
var message_0 = 'Only UTF-8 encoding is supported in JS';
|
|
3098
3098
|
throw IllegalArgumentException_init_$Create$(toString_1(message_0));
|
|
3099
3099
|
}
|
|
@@ -3103,7 +3103,7 @@
|
|
|
3103
3103
|
var result = encoder.encode(tmp$ret$5);
|
|
3104
3104
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3105
3105
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3106
|
-
dst.
|
|
3106
|
+
dst.b1k(result);
|
|
3107
3107
|
return result.length;
|
|
3108
3108
|
}
|
|
3109
3109
|
function encodeToByteArray_0(_this__u8e3s4, input, fromIndex, toIndex) {
|
|
@@ -3114,17 +3114,17 @@
|
|
|
3114
3114
|
function CharsetImpl(name) {
|
|
3115
3115
|
Charset.call(this, name);
|
|
3116
3116
|
}
|
|
3117
|
-
protoOf(CharsetImpl).
|
|
3117
|
+
protoOf(CharsetImpl).q36 = function () {
|
|
3118
3118
|
return new CharsetEncoderImpl(this);
|
|
3119
3119
|
};
|
|
3120
|
-
protoOf(CharsetImpl).
|
|
3120
|
+
protoOf(CharsetImpl).p36 = function () {
|
|
3121
3121
|
return new CharsetDecoderImpl(this);
|
|
3122
3122
|
};
|
|
3123
3123
|
function get_charset(_this__u8e3s4) {
|
|
3124
|
-
return _this__u8e3s4.
|
|
3124
|
+
return _this__u8e3s4.f37_1;
|
|
3125
3125
|
}
|
|
3126
3126
|
function get_charset_0(_this__u8e3s4) {
|
|
3127
|
-
return _this__u8e3s4.
|
|
3127
|
+
return _this__u8e3s4.g37_1;
|
|
3128
3128
|
}
|
|
3129
3129
|
function encodeToByteArrayImpl(_this__u8e3s4, input, fromIndex, toIndex) {
|
|
3130
3130
|
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
@@ -3143,39 +3143,39 @@
|
|
|
3143
3143
|
}
|
|
3144
3144
|
function CharsetEncoderImpl(charset) {
|
|
3145
3145
|
CharsetEncoder.call(this, charset);
|
|
3146
|
-
this.
|
|
3146
|
+
this.k37_1 = charset;
|
|
3147
3147
|
}
|
|
3148
3148
|
protoOf(CharsetEncoderImpl).toString = function () {
|
|
3149
|
-
return 'CharsetEncoderImpl(charset=' + this.
|
|
3149
|
+
return 'CharsetEncoderImpl(charset=' + this.k37_1.toString() + ')';
|
|
3150
3150
|
};
|
|
3151
3151
|
protoOf(CharsetEncoderImpl).hashCode = function () {
|
|
3152
|
-
return this.
|
|
3152
|
+
return this.k37_1.hashCode();
|
|
3153
3153
|
};
|
|
3154
3154
|
protoOf(CharsetEncoderImpl).equals = function (other) {
|
|
3155
3155
|
if (this === other)
|
|
3156
3156
|
return true;
|
|
3157
3157
|
if (!(other instanceof CharsetEncoderImpl))
|
|
3158
3158
|
return false;
|
|
3159
|
-
if (!this.
|
|
3159
|
+
if (!this.k37_1.equals(other.k37_1))
|
|
3160
3160
|
return false;
|
|
3161
3161
|
return true;
|
|
3162
3162
|
};
|
|
3163
3163
|
function CharsetDecoderImpl(charset) {
|
|
3164
3164
|
CharsetDecoder.call(this, charset);
|
|
3165
|
-
this.
|
|
3165
|
+
this.m37_1 = charset;
|
|
3166
3166
|
}
|
|
3167
3167
|
protoOf(CharsetDecoderImpl).toString = function () {
|
|
3168
|
-
return 'CharsetDecoderImpl(charset=' + this.
|
|
3168
|
+
return 'CharsetDecoderImpl(charset=' + this.m37_1.toString() + ')';
|
|
3169
3169
|
};
|
|
3170
3170
|
protoOf(CharsetDecoderImpl).hashCode = function () {
|
|
3171
|
-
return this.
|
|
3171
|
+
return this.m37_1.hashCode();
|
|
3172
3172
|
};
|
|
3173
3173
|
protoOf(CharsetDecoderImpl).equals = function (other) {
|
|
3174
3174
|
if (this === other)
|
|
3175
3175
|
return true;
|
|
3176
3176
|
if (!(other instanceof CharsetDecoderImpl))
|
|
3177
3177
|
return false;
|
|
3178
|
-
if (!this.
|
|
3178
|
+
if (!this.m37_1.equals(other.m37_1))
|
|
3179
3179
|
return false;
|
|
3180
3180
|
return true;
|
|
3181
3181
|
};
|
|
@@ -3209,10 +3209,10 @@
|
|
|
3209
3209
|
return this_0;
|
|
3210
3210
|
}
|
|
3211
3211
|
function toKtor$1($this_toKtor) {
|
|
3212
|
-
this.
|
|
3212
|
+
this.n37_1 = $this_toKtor;
|
|
3213
3213
|
}
|
|
3214
|
-
protoOf(toKtor$1).
|
|
3215
|
-
return this.
|
|
3214
|
+
protoOf(toKtor$1).h37 = function (buffer) {
|
|
3215
|
+
return this.n37_1.decode(buffer);
|
|
3216
3216
|
};
|
|
3217
3217
|
function get_ENCODING_ALIASES() {
|
|
3218
3218
|
_init_properties_TextDecoderFallback_js_kt__an7r6m();
|
|
@@ -3225,7 +3225,7 @@
|
|
|
3225
3225
|
}
|
|
3226
3226
|
var REPLACEMENT;
|
|
3227
3227
|
function TextDecoderFallback(encoding, fatal) {
|
|
3228
|
-
this.
|
|
3228
|
+
this.o37_1 = fatal;
|
|
3229
3229
|
// Inline function 'kotlin.text.trim' call
|
|
3230
3230
|
// Inline function 'kotlin.text.lowercase' call
|
|
3231
3231
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3236,7 +3236,7 @@
|
|
|
3236
3236
|
throw IllegalStateException_init_$Create$(toString_1(message));
|
|
3237
3237
|
}
|
|
3238
3238
|
}
|
|
3239
|
-
protoOf(TextDecoderFallback).
|
|
3239
|
+
protoOf(TextDecoderFallback).h37 = function (buffer) {
|
|
3240
3240
|
// Inline function 'io.ktor.utils.io.core.buildPacket' call
|
|
3241
3241
|
var builder = new Buffer();
|
|
3242
3242
|
var bytes = buffer instanceof Int8Array ? buffer : THROW_CCE();
|
|
@@ -3252,7 +3252,7 @@
|
|
|
3252
3252
|
var point = toCodePoint(byte);
|
|
3253
3253
|
if (point < 0) {
|
|
3254
3254
|
// Inline function 'kotlin.check' call
|
|
3255
|
-
if (!!this.
|
|
3255
|
+
if (!!this.o37_1) {
|
|
3256
3256
|
var message = 'Invalid character: ' + point;
|
|
3257
3257
|
throw IllegalStateException_init_$Create$(toString_1(message));
|
|
3258
3258
|
}
|
|
@@ -3260,9 +3260,9 @@
|
|
|
3260
3260
|
continue $l$loop;
|
|
3261
3261
|
}
|
|
3262
3262
|
if (point > 255) {
|
|
3263
|
-
builder.
|
|
3263
|
+
builder.i1k(toByte(point >> 8));
|
|
3264
3264
|
}
|
|
3265
|
-
builder.
|
|
3265
|
+
builder.i1k(toByte(point & 255));
|
|
3266
3266
|
}
|
|
3267
3267
|
while (inductionVariable < last);
|
|
3268
3268
|
return decodeToString_0(readByteArray_0(builder));
|
|
@@ -3292,7 +3292,7 @@
|
|
|
3292
3292
|
return false;
|
|
3293
3293
|
}
|
|
3294
3294
|
function ioDispatcher() {
|
|
3295
|
-
return Dispatchers_getInstance().
|
|
3295
|
+
return Dispatchers_getInstance().i1y_1;
|
|
3296
3296
|
}
|
|
3297
3297
|
function encodeISO88591(input, fromIndex, toIndex, dst) {
|
|
3298
3298
|
if (fromIndex >= toIndex)
|
|
@@ -3308,7 +3308,7 @@
|
|
|
3308
3308
|
if (character > 255) {
|
|
3309
3309
|
failedToMapError(character);
|
|
3310
3310
|
}
|
|
3311
|
-
dst.
|
|
3311
|
+
dst.i1k(toByte(character));
|
|
3312
3312
|
}
|
|
3313
3313
|
while (inductionVariable < toIndex);
|
|
3314
3314
|
return toIndex - fromIndex | 0;
|
|
@@ -3330,66 +3330,66 @@
|
|
|
3330
3330
|
}
|
|
3331
3331
|
}
|
|
3332
3332
|
function DefaultPool(capacity) {
|
|
3333
|
-
this.
|
|
3333
|
+
this.v36_1 = capacity;
|
|
3334
3334
|
var tmp = this;
|
|
3335
3335
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
3336
|
-
var size = this.
|
|
3337
|
-
tmp.
|
|
3338
|
-
this.
|
|
3336
|
+
var size = this.v36_1;
|
|
3337
|
+
tmp.w36_1 = Array(size);
|
|
3338
|
+
this.x36_1 = 0;
|
|
3339
3339
|
}
|
|
3340
|
-
protoOf(DefaultPool).x36 = function (instance) {
|
|
3341
|
-
};
|
|
3342
3340
|
protoOf(DefaultPool).y36 = function (instance) {
|
|
3343
|
-
return instance;
|
|
3344
3341
|
};
|
|
3345
3342
|
protoOf(DefaultPool).z36 = function (instance) {
|
|
3343
|
+
return instance;
|
|
3344
|
+
};
|
|
3345
|
+
protoOf(DefaultPool).a37 = function (instance) {
|
|
3346
3346
|
};
|
|
3347
|
-
protoOf(DefaultPool).
|
|
3348
|
-
if (this.
|
|
3349
|
-
return this.
|
|
3350
|
-
this.
|
|
3351
|
-
var idx = this.
|
|
3352
|
-
var tmp = this.
|
|
3347
|
+
protoOf(DefaultPool).b37 = function () {
|
|
3348
|
+
if (this.x36_1 === 0)
|
|
3349
|
+
return this.u36();
|
|
3350
|
+
this.x36_1 = this.x36_1 - 1 | 0;
|
|
3351
|
+
var idx = this.x36_1;
|
|
3352
|
+
var tmp = this.w36_1[idx];
|
|
3353
3353
|
var instance = !(tmp == null) ? tmp : THROW_CCE();
|
|
3354
|
-
this.
|
|
3355
|
-
return this.
|
|
3354
|
+
this.w36_1[idx] = null;
|
|
3355
|
+
return this.z36(instance);
|
|
3356
3356
|
};
|
|
3357
|
-
protoOf(DefaultPool).
|
|
3358
|
-
this.
|
|
3359
|
-
if (this.
|
|
3360
|
-
this.
|
|
3357
|
+
protoOf(DefaultPool).c37 = function (instance) {
|
|
3358
|
+
this.a37(instance);
|
|
3359
|
+
if (this.x36_1 === this.v36_1) {
|
|
3360
|
+
this.y36(instance);
|
|
3361
3361
|
} else {
|
|
3362
|
-
var _unary__edvuaz = this.
|
|
3363
|
-
this.
|
|
3364
|
-
this.
|
|
3362
|
+
var _unary__edvuaz = this.x36_1;
|
|
3363
|
+
this.x36_1 = _unary__edvuaz + 1 | 0;
|
|
3364
|
+
this.w36_1[_unary__edvuaz] = instance;
|
|
3365
3365
|
}
|
|
3366
3366
|
};
|
|
3367
|
-
protoOf(DefaultPool).
|
|
3367
|
+
protoOf(DefaultPool).g1p = function () {
|
|
3368
3368
|
var inductionVariable = 0;
|
|
3369
|
-
var last = this.
|
|
3369
|
+
var last = this.x36_1;
|
|
3370
3370
|
if (inductionVariable < last)
|
|
3371
3371
|
do {
|
|
3372
3372
|
var i = inductionVariable;
|
|
3373
3373
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3374
|
-
var tmp = this.
|
|
3374
|
+
var tmp = this.w36_1[i];
|
|
3375
3375
|
var instance = !(tmp == null) ? tmp : THROW_CCE();
|
|
3376
|
-
this.
|
|
3377
|
-
this.
|
|
3376
|
+
this.w36_1[i] = null;
|
|
3377
|
+
this.y36(instance);
|
|
3378
3378
|
}
|
|
3379
3379
|
while (inductionVariable < last);
|
|
3380
|
-
this.
|
|
3380
|
+
this.x36_1 = 0;
|
|
3381
3381
|
};
|
|
3382
3382
|
//region block: post-declaration
|
|
3383
|
-
protoOf(Read).
|
|
3384
|
-
protoOf(Read).
|
|
3385
|
-
protoOf(Write).
|
|
3386
|
-
protoOf(Write).
|
|
3387
|
-
protoOf(ByteChannel).
|
|
3388
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
3389
|
-
protoOf(CountedByteReadChannel).
|
|
3390
|
-
protoOf(SourceByteReadChannel).
|
|
3391
|
-
protoOf(DefaultPool).
|
|
3392
|
-
protoOf(NoPoolImpl).
|
|
3383
|
+
protoOf(Read).n2u = resume;
|
|
3384
|
+
protoOf(Read).o2u = resume_0;
|
|
3385
|
+
protoOf(Write).n2u = resume;
|
|
3386
|
+
protoOf(Write).o2u = resume_0;
|
|
3387
|
+
protoOf(ByteChannel).t2w = awaitContent$default;
|
|
3388
|
+
protoOf(ByteReadChannel$Companion$Empty$1).t2w = awaitContent$default;
|
|
3389
|
+
protoOf(CountedByteReadChannel).t2w = awaitContent$default;
|
|
3390
|
+
protoOf(SourceByteReadChannel).t2w = awaitContent$default;
|
|
3391
|
+
protoOf(DefaultPool).r4 = close;
|
|
3392
|
+
protoOf(NoPoolImpl).r4 = close;
|
|
3393
3393
|
//endregion
|
|
3394
3394
|
//region block: init
|
|
3395
3395
|
Empty_instance = new Empty();
|