@icure/cardinal-sdk 2.0.0-PREVIEW-10 → 2.0.0-PREVIEW-13
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/Kermit-kermit-core.mjs +42 -42
- package/Kermit-kermit.mjs +8 -8
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs +3919 -3777
- package/KotlinBigInteger-bignum.mjs +1434 -1470
- package/api/AnonymousHealthcarePartyApi.d.mts +2 -2
- package/cardinal-sdk-ts.d.mts +338 -100
- package/cardinal-sdk-ts.mjs +56590 -56248
- package/cardinal-sdk.mjs +126945 -106218
- package/kerberus.mjs +381 -381
- package/kotlin-kotlin-stdlib.mjs +3412 -2764
- package/kotlinx-atomicfu.mjs +14 -14
- package/kotlinx-coroutines-core.mjs +2690 -2687
- package/kotlinx-io-kotlinx-io-bytestring.mjs +47 -47
- package/kotlinx-io-kotlinx-io-core.mjs +539 -539
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +2149 -2111
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +2047 -2029
- package/kryptom-lib.mjs +2065 -2081
- package/ktor-ktor-client-content-negotiation.mjs +217 -217
- package/ktor-ktor-client-core.mjs +2997 -2993
- package/ktor-ktor-events.mjs +8 -8
- package/ktor-ktor-http-cio.mjs +538 -537
- package/ktor-ktor-http.mjs +799 -927
- package/ktor-ktor-io.mjs +1079 -1079
- package/ktor-ktor-serialization-kotlinx-json.mjs +10 -10
- package/ktor-ktor-serialization-kotlinx.mjs +270 -270
- package/ktor-ktor-serialization.mjs +129 -129
- package/ktor-ktor-utils.mjs +614 -600
- package/ktor-ktor-websockets.mjs +751 -750
- package/model.d.mts +0 -1
- package/model.mjs +0 -1
- package/package.json +2 -3
- package/ktor-ktor-client-ktor-client-core.mjs +0 -8986
- package/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.mjs +0 -756
- package/ktor-ktor-client-ktor-client-plugins-ktor-client-websockets.mjs +0 -2
- package/ktor-ktor-http-ktor-http-cio.mjs +0 -1996
- package/ktor-ktor-shared-ktor-events.mjs +0 -79
- package/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.mjs +0 -44
- package/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.mjs +0 -857
- package/ktor-ktor-shared-ktor-serialization.mjs +0 -371
- package/ktor-ktor-shared-ktor-sse.mjs +0 -2
- package/ktor-ktor-shared-ktor-websocket-serialization.mjs +0 -2
- package/ktor-ktor-shared-ktor-websockets.mjs +0 -2334
- package/model/UserAndHealthcareParty.d.mts +0 -7
- package/model/UserAndHealthcareParty.mjs +0 -6
package/ktor-ktor-io.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
Companion_instance2oawqq9qiaris as Companion_instance,
|
|
3
|
+
Unit_instance1fbcbse1fwigr as Unit_instance,
|
|
4
|
+
_Result___init__impl__xyqfz83hut4nr3dfvi3 as _Result___init__impl__xyqfz8,
|
|
5
5
|
protoOf180f3jzyo7rfj as protoOf,
|
|
6
6
|
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
|
|
7
7
|
THROW_CCE2g6jy02ryeudk as THROW_CCE,
|
|
@@ -16,38 +16,38 @@ import {
|
|
|
16
16
|
toString1h6jjoch8cjt8 as toString_0,
|
|
17
17
|
newThrowablezl37abp36p5f as newThrowable,
|
|
18
18
|
stackTraceToString2670q6lbhdojj as stackTraceToString,
|
|
19
|
-
|
|
19
|
+
VOID3gxj6tk5isa35 as VOID,
|
|
20
20
|
isInterface3d6p8outrmvmk as isInterface,
|
|
21
21
|
CoroutineImpl2sn3kjnwmfr10 as CoroutineImpl,
|
|
22
22
|
toLongw1zpgk99d84b as toLong,
|
|
23
23
|
numberToLong1a4cndvg6c52s as numberToLong,
|
|
24
24
|
intercepted2ogpsikxxj4u0 as intercepted,
|
|
25
25
|
noWhenBranchMatchedException2a6r7ubxgky5j as noWhenBranchMatchedException,
|
|
26
|
-
|
|
26
|
+
returnIfSuspendedqak8u4r448cu as returnIfSuspended,
|
|
27
27
|
get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED,
|
|
28
28
|
Long2qws0ah9gnpki as Long,
|
|
29
29
|
initMetadataForCoroutine1i7lbatuf5bnt as initMetadataForCoroutine,
|
|
30
30
|
IllegalStateExceptionkoljg5n0nrlr as IllegalStateException,
|
|
31
|
-
IllegalStateException_init_$Init$
|
|
31
|
+
IllegalStateException_init_$Init$3ccqbeatlpw5c as IllegalStateException_init_$Init$,
|
|
32
32
|
captureStack1fzi4aczwc4hg as captureStack,
|
|
33
33
|
replace3le3ie7l9k8aq as replace,
|
|
34
34
|
toString1pkumu07cwy4m as toString_1,
|
|
35
|
-
IllegalArgumentException_init_$Create$
|
|
35
|
+
IllegalArgumentException_init_$Create$3ewkh27kzt8z8 as IllegalArgumentException_init_$Create$,
|
|
36
36
|
closeFinally1sadm0w9gt3u4 as closeFinally,
|
|
37
|
-
|
|
37
|
+
EmptyCoroutineContext_getInstance31fow51ayy30t as EmptyCoroutineContext_getInstance,
|
|
38
38
|
Continuation1aa2oekvx7jm7 as Continuation,
|
|
39
39
|
initMetadataForFunctionReferencen3g5fpj34t8u as initMetadataForFunctionReference,
|
|
40
40
|
initMetadataForLambda3af3he42mmnh as initMetadataForLambda,
|
|
41
|
-
CancellationException_init_$Create$
|
|
41
|
+
CancellationException_init_$Create$1muhzgve35v78 as CancellationException_init_$Create$,
|
|
42
42
|
CancellationException3b36o9qz53rgr as CancellationException,
|
|
43
|
-
ArrayList_init_$Create$
|
|
43
|
+
ArrayList_init_$Create$149jv2ovkkvnt as ArrayList_init_$Create$,
|
|
44
44
|
listOf1jh22dvmctj1r as listOf,
|
|
45
|
-
StringBuilder_init_$Create$
|
|
46
|
-
IllegalStateException_init_$Create$
|
|
45
|
+
StringBuilder_init_$Create$2ujvu6cqvzuyn as StringBuilder_init_$Create$,
|
|
46
|
+
IllegalStateException_init_$Create$2w9444nebyjns as IllegalStateException_init_$Create$,
|
|
47
47
|
charSequenceLength3278n89t01tmv as charSequenceLength,
|
|
48
48
|
encodeToByteArray22651fhg4p67t as encodeToByteArray,
|
|
49
49
|
AutoCloseable1l5p57f9lp7kv as AutoCloseable,
|
|
50
|
-
|
|
50
|
+
_Char___init__impl__6a9atx2js6krycynjoo as _Char___init__impl__6a9atx,
|
|
51
51
|
replaceqbix900hl8kl as replace_0,
|
|
52
52
|
getStringHashCode26igk1bx568vk as getStringHashCode,
|
|
53
53
|
charSequenceSubSequence1iwpdba8s3jc7 as charSequenceSubSequence,
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
decodeToString1x4faah2liw2p as decodeToString,
|
|
58
58
|
setOf45ia9pnfhe90 as setOf,
|
|
59
59
|
charSequenceGet1vxk1y5n17t1z as charSequenceGet,
|
|
60
|
-
|
|
60
|
+
Char__toInt_impl_vasixd1agw9q2fuvclj as Char__toInt_impl_vasixd,
|
|
61
61
|
} from './kotlin-kotlin-stdlib.mjs';
|
|
62
62
|
import {
|
|
63
63
|
CancellableContinuationImpl1cx201opicavg as CancellableContinuationImpl,
|
|
@@ -71,19 +71,19 @@ import {
|
|
|
71
71
|
} from './kotlinx-coroutines-core.mjs';
|
|
72
72
|
import {
|
|
73
73
|
Buffergs925ekssbch as Buffer,
|
|
74
|
-
IOException_init_$Create$
|
|
74
|
+
IOException_init_$Create$1wkk79fgwuoz2 as IOException_init_$Create$,
|
|
75
75
|
indexOf29nspdgx2e3ap as indexOf,
|
|
76
76
|
readStringo8i62qxt5m4m as readString,
|
|
77
|
-
EOFException_init_$Create$
|
|
77
|
+
EOFException_init_$Create$2ki37nn86l2yt as EOFException_init_$Create$,
|
|
78
78
|
readByteString2hnsbql6t4ads as readByteString,
|
|
79
79
|
readString2nvggcfaijfhd as readString_0,
|
|
80
80
|
IOException1wyutdmfe71nu as IOException,
|
|
81
|
-
IOException_init_$Init$
|
|
82
|
-
IOException_init_$Create$
|
|
81
|
+
IOException_init_$Init$1s6rw4r2mxxsm as IOException_init_$Init$,
|
|
82
|
+
IOException_init_$Create$2jyze3554lamk as IOException_init_$Create$_0,
|
|
83
83
|
readByteArray1fhzfwi2j014k as readByteArray,
|
|
84
84
|
readString3v6duspiz33tv as readString_1,
|
|
85
85
|
writeString33ca4btrgctw7 as writeString,
|
|
86
|
-
IOException_init_$Init$
|
|
86
|
+
IOException_init_$Init$3tijvyh8jladu as IOException_init_$Init$_0,
|
|
87
87
|
readByteArray1ri21h2rciakw as readByteArray_0,
|
|
88
88
|
} from './kotlinx-io-kotlinx-io-core.mjs';
|
|
89
89
|
import { atomic$ref$130aurmcwdfdf1 as atomic$ref$1 } from './kotlinx-atomicfu.mjs';
|
|
@@ -95,10 +95,10 @@ initMetadataForCompanion(Companion);
|
|
|
95
95
|
initMetadataForObject(Empty, 'Empty');
|
|
96
96
|
initMetadataForClass(Closed, 'Closed');
|
|
97
97
|
function resume() {
|
|
98
|
-
return this.
|
|
98
|
+
return this.o1p().w9(Companion_getInstance().l1p_1);
|
|
99
99
|
}
|
|
100
100
|
function resume_0(throwable) {
|
|
101
|
-
var tmp = this.
|
|
101
|
+
var tmp = this.o1p();
|
|
102
102
|
var tmp_0;
|
|
103
103
|
if (throwable == null) {
|
|
104
104
|
tmp_0 = null;
|
|
@@ -109,45 +109,45 @@ function resume_0(throwable) {
|
|
|
109
109
|
tmp_0 = new Result(tmp$ret$2);
|
|
110
110
|
}
|
|
111
111
|
var tmp1_elvis_lhs = tmp_0;
|
|
112
|
-
return tmp.
|
|
112
|
+
return tmp.w9(tmp1_elvis_lhs == null ? Companion_getInstance().l1p_1 : tmp1_elvis_lhs.bo_1);
|
|
113
113
|
}
|
|
114
114
|
initMetadataForInterface(Task, 'Task');
|
|
115
115
|
initMetadataForClass(Read, 'Read', VOID, VOID, [Task]);
|
|
116
116
|
initMetadataForClass(Write, 'Write', VOID, VOID, [Task]);
|
|
117
|
-
initMetadataForCoroutine($awaitContentCOROUTINE
|
|
118
|
-
initMetadataForCoroutine($flushCOROUTINE
|
|
119
|
-
initMetadataForCoroutine($flushAndCloseCOROUTINE
|
|
117
|
+
initMetadataForCoroutine($awaitContentCOROUTINE$, CoroutineImpl);
|
|
118
|
+
initMetadataForCoroutine($flushCOROUTINE$, CoroutineImpl);
|
|
119
|
+
initMetadataForCoroutine($flushAndCloseCOROUTINE$, CoroutineImpl);
|
|
120
120
|
function awaitContent$default(min, $completion, $super) {
|
|
121
121
|
min = min === VOID ? 1 : min;
|
|
122
|
-
return $super === VOID ? this.
|
|
122
|
+
return $super === VOID ? this.a1s(min, $completion) : $super.a1s.call(this, min, $completion);
|
|
123
123
|
}
|
|
124
124
|
initMetadataForInterface(ByteReadChannel_1, 'ByteReadChannel', VOID, VOID, VOID, [1]);
|
|
125
125
|
initMetadataForClass(ByteChannel, 'ByteChannel', ByteChannel, VOID, [ByteReadChannel_1], [1, 0]);
|
|
126
126
|
initMetadataForClass(ConcurrentIOException, 'ConcurrentIOException', VOID, IllegalStateException);
|
|
127
|
-
initMetadataForCoroutine($findNextCOROUTINE
|
|
128
|
-
initMetadataForCoroutine($advanceToNextPotentialMatchCOROUTINE
|
|
129
|
-
initMetadataForCoroutine($checkFullMatchCOROUTINE
|
|
127
|
+
initMetadataForCoroutine($findNextCOROUTINE$, CoroutineImpl);
|
|
128
|
+
initMetadataForCoroutine($advanceToNextPotentialMatchCOROUTINE$, CoroutineImpl);
|
|
129
|
+
initMetadataForCoroutine($checkFullMatchCOROUTINE$, CoroutineImpl);
|
|
130
130
|
initMetadataForClass(ByteChannelScanner, 'ByteChannelScanner', VOID, VOID, VOID, [1, 0]);
|
|
131
131
|
initMetadataForClass(ByteReadChannel$Companion$Empty$1, VOID, VOID, VOID, [ByteReadChannel_1], [1]);
|
|
132
132
|
initMetadataForCompanion(Companion_0);
|
|
133
|
-
initMetadataForCoroutine($readRemainingCOROUTINE
|
|
134
|
-
initMetadataForCoroutine($discardCOROUTINE
|
|
135
|
-
initMetadataForCoroutine($readAvailableCOROUTINE
|
|
136
|
-
initMetadataForCoroutine($toByteArrayCOROUTINE
|
|
137
|
-
initMetadataForCoroutine($copyToCOROUTINE
|
|
138
|
-
initMetadataForCoroutine($readBufferCOROUTINE
|
|
139
|
-
initMetadataForCoroutine($readUTF8LineToCOROUTINE
|
|
140
|
-
initMetadataForCoroutine($skipIfFoundCOROUTINE
|
|
141
|
-
initMetadataForCoroutine($readPacketCOROUTINE
|
|
142
|
-
initMetadataForCoroutine($peekCOROUTINE
|
|
143
|
-
initMetadataForCoroutine($flushIfNeededCOROUTINE
|
|
133
|
+
initMetadataForCoroutine($readRemainingCOROUTINE$, CoroutineImpl);
|
|
134
|
+
initMetadataForCoroutine($discardCOROUTINE$, CoroutineImpl);
|
|
135
|
+
initMetadataForCoroutine($readAvailableCOROUTINE$, CoroutineImpl);
|
|
136
|
+
initMetadataForCoroutine($toByteArrayCOROUTINE$, CoroutineImpl);
|
|
137
|
+
initMetadataForCoroutine($copyToCOROUTINE$, CoroutineImpl);
|
|
138
|
+
initMetadataForCoroutine($readBufferCOROUTINE$, CoroutineImpl);
|
|
139
|
+
initMetadataForCoroutine($readUTF8LineToCOROUTINE$, CoroutineImpl);
|
|
140
|
+
initMetadataForCoroutine($skipIfFoundCOROUTINE$, CoroutineImpl);
|
|
141
|
+
initMetadataForCoroutine($readPacketCOROUTINE$, CoroutineImpl);
|
|
142
|
+
initMetadataForCoroutine($peekCOROUTINE$, CoroutineImpl);
|
|
143
|
+
initMetadataForCoroutine($flushIfNeededCOROUTINE$, CoroutineImpl);
|
|
144
144
|
initMetadataForClass(WriterJob, 'WriterJob');
|
|
145
145
|
initMetadataForClass(WriterScope, 'WriterScope', VOID, VOID, [CoroutineScope]);
|
|
146
146
|
initMetadataForClass(NO_CALLBACK$1, VOID, VOID, VOID, [Continuation]);
|
|
147
147
|
initMetadataForFunctionReference(ByteWriteChannel$flushAndClose$ref, VOID, VOID, [0]);
|
|
148
148
|
initMetadataForLambda(writer$slambda, CoroutineImpl, VOID, [1]);
|
|
149
149
|
initMetadataForClass(CloseToken, 'CloseToken');
|
|
150
|
-
initMetadataForCoroutine($awaitContentCOROUTINE$
|
|
150
|
+
initMetadataForCoroutine($awaitContentCOROUTINE$_0, CoroutineImpl);
|
|
151
151
|
initMetadataForClass(CountedByteReadChannel, 'CountedByteReadChannel', VOID, VOID, [ByteReadChannel_1], [1]);
|
|
152
152
|
initMetadataForClass(ClosedByteChannelException, 'ClosedByteChannelException', ClosedByteChannelException, IOException);
|
|
153
153
|
initMetadataForClass(ClosedReadChannelException, 'ClosedReadChannelException', ClosedReadChannelException, ClosedByteChannelException);
|
|
@@ -158,7 +158,7 @@ initMetadataForClass(SourceByteReadChannel, 'SourceByteReadChannel', VOID, VOID,
|
|
|
158
158
|
initMetadataForClass(MalformedInputException, 'MalformedInputException', VOID, IOException);
|
|
159
159
|
initMetadataForClass(TooLongLineException, 'TooLongLineException', VOID, MalformedInputException);
|
|
160
160
|
function close() {
|
|
161
|
-
this.
|
|
161
|
+
this.qt();
|
|
162
162
|
}
|
|
163
163
|
initMetadataForInterface(ObjectPool, 'ObjectPool', VOID, VOID, [AutoCloseable]);
|
|
164
164
|
initMetadataForClass(DefaultPool, 'DefaultPool', VOID, VOID, [ObjectPool]);
|
|
@@ -177,10 +177,10 @@ initMetadataForClass(TextDecoderFallback, 'TextDecoderFallback');
|
|
|
177
177
|
//endregion
|
|
178
178
|
function Companion() {
|
|
179
179
|
Companion_instance_0 = this;
|
|
180
|
-
this.
|
|
180
|
+
this.k1p_1 = new Closed(null);
|
|
181
181
|
var tmp = this;
|
|
182
182
|
// Inline function 'kotlin.Companion.success' call
|
|
183
|
-
tmp.
|
|
183
|
+
tmp.l1p_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
184
184
|
}
|
|
185
185
|
var Companion_instance_0;
|
|
186
186
|
function Companion_getInstance() {
|
|
@@ -209,13 +209,13 @@ function Empty_getInstance() {
|
|
|
209
209
|
return Empty_instance;
|
|
210
210
|
}
|
|
211
211
|
function Closed(cause) {
|
|
212
|
-
this.
|
|
212
|
+
this.m1p_1 = cause;
|
|
213
213
|
}
|
|
214
214
|
protoOf(Closed).toString = function () {
|
|
215
|
-
return 'Closed(cause=' + toString(this.
|
|
215
|
+
return 'Closed(cause=' + toString(this.m1p_1) + ')';
|
|
216
216
|
};
|
|
217
217
|
protoOf(Closed).hashCode = function () {
|
|
218
|
-
return this.
|
|
218
|
+
return this.m1p_1 == null ? 0 : hashCode(this.m1p_1);
|
|
219
219
|
};
|
|
220
220
|
protoOf(Closed).equals = function (other) {
|
|
221
221
|
if (this === other)
|
|
@@ -223,74 +223,74 @@ protoOf(Closed).equals = function (other) {
|
|
|
223
223
|
if (!(other instanceof Closed))
|
|
224
224
|
return false;
|
|
225
225
|
var tmp0_other_with_cast = other instanceof Closed ? other : THROW_CCE();
|
|
226
|
-
if (!equals(this.
|
|
226
|
+
if (!equals(this.m1p_1, tmp0_other_with_cast.m1p_1))
|
|
227
227
|
return false;
|
|
228
228
|
return true;
|
|
229
229
|
};
|
|
230
230
|
function Task() {
|
|
231
231
|
}
|
|
232
232
|
function Read(continuation) {
|
|
233
|
-
this.
|
|
234
|
-
this.
|
|
233
|
+
this.s1p_1 = continuation;
|
|
234
|
+
this.t1p_1 = null;
|
|
235
235
|
if (get_DEVELOPMENT_MODE()) {
|
|
236
236
|
var tmp = this;
|
|
237
237
|
// Inline function 'kotlin.also' call
|
|
238
|
-
var this_0 = newThrowable('ReadTask 0x' + toString_0(hashCode(this.
|
|
238
|
+
var this_0 = newThrowable('ReadTask 0x' + toString_0(hashCode(this.s1p_1), 16));
|
|
239
239
|
stackTraceToString(this_0);
|
|
240
|
-
tmp.
|
|
240
|
+
tmp.t1p_1 = this_0;
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
|
-
protoOf(Read).
|
|
244
|
-
return this.
|
|
243
|
+
protoOf(Read).o1p = function () {
|
|
244
|
+
return this.s1p_1;
|
|
245
245
|
};
|
|
246
|
-
protoOf(Read).
|
|
247
|
-
return this.
|
|
246
|
+
protoOf(Read).n1p = function () {
|
|
247
|
+
return this.t1p_1;
|
|
248
248
|
};
|
|
249
|
-
protoOf(Read).
|
|
249
|
+
protoOf(Read).p1p = function () {
|
|
250
250
|
return 'read';
|
|
251
251
|
};
|
|
252
252
|
function Write(continuation) {
|
|
253
|
-
this.
|
|
254
|
-
this.
|
|
253
|
+
this.u1p_1 = continuation;
|
|
254
|
+
this.v1p_1 = null;
|
|
255
255
|
if (get_DEVELOPMENT_MODE()) {
|
|
256
256
|
var tmp = this;
|
|
257
257
|
// Inline function 'kotlin.also' call
|
|
258
|
-
var this_0 = newThrowable('WriteTask 0x' + toString_0(hashCode(this.
|
|
258
|
+
var this_0 = newThrowable('WriteTask 0x' + toString_0(hashCode(this.u1p_1), 16));
|
|
259
259
|
stackTraceToString(this_0);
|
|
260
|
-
tmp.
|
|
260
|
+
tmp.v1p_1 = this_0;
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
|
-
protoOf(Write).
|
|
264
|
-
return this.
|
|
263
|
+
protoOf(Write).o1p = function () {
|
|
264
|
+
return this.u1p_1;
|
|
265
265
|
};
|
|
266
|
-
protoOf(Write).
|
|
267
|
-
return this.
|
|
266
|
+
protoOf(Write).n1p = function () {
|
|
267
|
+
return this.v1p_1;
|
|
268
268
|
};
|
|
269
|
-
protoOf(Write).
|
|
269
|
+
protoOf(Write).p1p = function () {
|
|
270
270
|
return 'write';
|
|
271
271
|
};
|
|
272
272
|
function moveFlushToReadBuffer($this) {
|
|
273
273
|
// Inline function 'io.ktor.utils.io.locks.synchronized' call
|
|
274
|
-
$this.
|
|
275
|
-
$this.
|
|
276
|
-
$this.
|
|
274
|
+
$this.z1p_1;
|
|
275
|
+
$this.x1p_1.q1n($this.b1q_1);
|
|
276
|
+
$this.y1p_1 = 0;
|
|
277
277
|
// Inline function 'io.ktor.utils.io.ByteChannel.resumeSlot' call
|
|
278
|
-
var current = $this.
|
|
278
|
+
var current = $this.a1q_1.kotlinx$atomicfu$value;
|
|
279
279
|
var tmp;
|
|
280
280
|
if (current instanceof Write) {
|
|
281
|
-
tmp = $this.
|
|
281
|
+
tmp = $this.a1q_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
282
282
|
} else {
|
|
283
283
|
tmp = false;
|
|
284
284
|
}
|
|
285
285
|
if (tmp) {
|
|
286
|
-
current.
|
|
286
|
+
current.q1p();
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
289
|
function closeSlot($this, cause) {
|
|
290
|
-
var closeContinuation = !(cause == null) ? new Closed(cause) : Companion_getInstance().
|
|
291
|
-
var continuation = $this.
|
|
290
|
+
var closeContinuation = !(cause == null) ? new Closed(cause) : Companion_getInstance().k1p_1;
|
|
291
|
+
var continuation = $this.a1q_1.atomicfu$getAndSet(closeContinuation);
|
|
292
292
|
if (isInterface(continuation, Task)) {
|
|
293
|
-
continuation.
|
|
293
|
+
continuation.r1p(cause);
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
function ClosedReadChannelException$_init_$ref_ix0089() {
|
|
@@ -307,54 +307,54 @@ function ClosedWriteChannelException$_init_$ref_ef15ty() {
|
|
|
307
307
|
l.callableName = '<init>';
|
|
308
308
|
return l;
|
|
309
309
|
}
|
|
310
|
-
function $awaitContentCOROUTINE$
|
|
310
|
+
function $awaitContentCOROUTINE$(_this__u8e3s4, min, resultContinuation) {
|
|
311
311
|
CoroutineImpl.call(this, resultContinuation);
|
|
312
|
-
this.
|
|
313
|
-
this.
|
|
312
|
+
this.m1q_1 = _this__u8e3s4;
|
|
313
|
+
this.n1q_1 = min;
|
|
314
314
|
}
|
|
315
|
-
protoOf($awaitContentCOROUTINE$
|
|
316
|
-
var suspendResult = this.
|
|
315
|
+
protoOf($awaitContentCOROUTINE$).t9 = function () {
|
|
316
|
+
var suspendResult = this.n9_1;
|
|
317
317
|
$sm: do
|
|
318
318
|
try {
|
|
319
|
-
var tmp = this.
|
|
319
|
+
var tmp = this.l9_1;
|
|
320
320
|
switch (tmp) {
|
|
321
321
|
case 0:
|
|
322
|
-
this.
|
|
323
|
-
rethrowCloseCauseIfNeeded_0(this.
|
|
324
|
-
if (this.
|
|
322
|
+
this.m9_1 = 4;
|
|
323
|
+
rethrowCloseCauseIfNeeded_0(this.m1q_1);
|
|
324
|
+
if (this.m1q_1.b1q_1.t().h1(toLong(this.n1q_1)) >= 0)
|
|
325
325
|
return true;
|
|
326
326
|
var tmp_0 = this;
|
|
327
|
-
tmp_0.
|
|
328
|
-
this.
|
|
329
|
-
this.
|
|
327
|
+
tmp_0.o1q_1 = this.m1q_1;
|
|
328
|
+
this.p1q_1 = this.o1q_1;
|
|
329
|
+
this.l9_1 = 1;
|
|
330
330
|
continue $sm;
|
|
331
331
|
case 1:
|
|
332
|
-
if (!(numberToLong(this.
|
|
333
|
-
this.
|
|
332
|
+
if (!(numberToLong(this.m1q_1.y1p_1).c3(this.m1q_1.b1q_1.t()).h1(toLong(this.n1q_1)) < 0 && this.m1q_1.d1q_1.kotlinx$atomicfu$value == null)) {
|
|
333
|
+
this.l9_1 = 3;
|
|
334
334
|
continue $sm;
|
|
335
335
|
}
|
|
336
336
|
|
|
337
|
-
this.
|
|
337
|
+
this.l9_1 = 2;
|
|
338
338
|
var cancellable = new CancellableContinuationImpl(intercepted(this), 1);
|
|
339
|
-
cancellable.
|
|
340
|
-
var tmp0 = this.
|
|
341
|
-
var
|
|
339
|
+
cancellable.tu();
|
|
340
|
+
var tmp0 = this.p1q_1;
|
|
341
|
+
var tmp2 = new Read(cancellable);
|
|
342
342
|
l$ret$1: do {
|
|
343
|
-
var previous = tmp0.
|
|
343
|
+
var previous = tmp0.a1q_1.kotlinx$atomicfu$value;
|
|
344
344
|
if (!(previous instanceof Closed)) {
|
|
345
|
-
if (!tmp0.
|
|
346
|
-
|
|
345
|
+
if (!tmp0.a1q_1.atomicfu$compareAndSet(previous, tmp2)) {
|
|
346
|
+
tmp2.q1p();
|
|
347
347
|
break l$ret$1;
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
350
|
if (previous instanceof Read) {
|
|
351
|
-
previous.
|
|
351
|
+
previous.r1p(new ConcurrentIOException(tmp2.p1p(), previous.n1p()));
|
|
352
352
|
} else {
|
|
353
353
|
if (isInterface(previous, Task)) {
|
|
354
|
-
previous.
|
|
354
|
+
previous.q1p();
|
|
355
355
|
} else {
|
|
356
356
|
if (previous instanceof Closed) {
|
|
357
|
-
|
|
357
|
+
tmp2.r1p(previous.m1p_1);
|
|
358
358
|
break l$ret$1;
|
|
359
359
|
} else {
|
|
360
360
|
if (!equals(previous, Empty_instance)) {
|
|
@@ -363,97 +363,97 @@ protoOf($awaitContentCOROUTINE$0).s9 = function () {
|
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
|
-
if (!(numberToLong(this.
|
|
367
|
-
var current = tmp0.
|
|
366
|
+
if (!(numberToLong(this.m1q_1.y1p_1).c3(this.m1q_1.b1q_1.t()).h1(toLong(this.n1q_1)) < 0 && this.m1q_1.d1q_1.kotlinx$atomicfu$value == null)) {
|
|
367
|
+
var current = tmp0.a1q_1.kotlinx$atomicfu$value;
|
|
368
368
|
var tmp_1;
|
|
369
369
|
if (current instanceof Read) {
|
|
370
|
-
tmp_1 = tmp0.
|
|
370
|
+
tmp_1 = tmp0.a1q_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
371
371
|
} else {
|
|
372
372
|
tmp_1 = false;
|
|
373
373
|
}
|
|
374
374
|
if (tmp_1) {
|
|
375
|
-
current.
|
|
375
|
+
current.q1p();
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
while (false);
|
|
380
|
-
suspendResult = returnIfSuspended(cancellable.
|
|
380
|
+
suspendResult = returnIfSuspended(cancellable.uu(), this);
|
|
381
381
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
382
382
|
return suspendResult;
|
|
383
383
|
}
|
|
384
384
|
|
|
385
385
|
continue $sm;
|
|
386
386
|
case 2:
|
|
387
|
-
this.
|
|
387
|
+
this.l9_1 = 1;
|
|
388
388
|
continue $sm;
|
|
389
389
|
case 3:
|
|
390
|
-
if (this.
|
|
391
|
-
moveFlushToReadBuffer(this.
|
|
390
|
+
if (this.m1q_1.b1q_1.t().h1(new Long(1048576, 0)) < 0) {
|
|
391
|
+
moveFlushToReadBuffer(this.m1q_1);
|
|
392
392
|
}
|
|
393
393
|
|
|
394
|
-
return this.
|
|
394
|
+
return this.m1q_1.b1q_1.t().h1(toLong(this.n1q_1)) >= 0;
|
|
395
395
|
case 4:
|
|
396
|
-
throw this.
|
|
396
|
+
throw this.o9_1;
|
|
397
397
|
}
|
|
398
398
|
} catch ($p) {
|
|
399
399
|
var e = $p;
|
|
400
|
-
if (this.
|
|
400
|
+
if (this.m9_1 === 4) {
|
|
401
401
|
throw e;
|
|
402
402
|
} else {
|
|
403
|
-
this.
|
|
404
|
-
this.
|
|
403
|
+
this.l9_1 = this.m9_1;
|
|
404
|
+
this.o9_1 = e;
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
407
|
while (true);
|
|
408
408
|
};
|
|
409
|
-
function $flushCOROUTINE$
|
|
409
|
+
function $flushCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
410
410
|
CoroutineImpl.call(this, resultContinuation);
|
|
411
|
-
this.
|
|
411
|
+
this.y1q_1 = _this__u8e3s4;
|
|
412
412
|
}
|
|
413
|
-
protoOf($flushCOROUTINE$
|
|
414
|
-
var suspendResult = this.
|
|
413
|
+
protoOf($flushCOROUTINE$).t9 = function () {
|
|
414
|
+
var suspendResult = this.n9_1;
|
|
415
415
|
$sm: do
|
|
416
416
|
try {
|
|
417
|
-
var tmp = this.
|
|
417
|
+
var tmp = this.l9_1;
|
|
418
418
|
switch (tmp) {
|
|
419
419
|
case 0:
|
|
420
|
-
this.
|
|
421
|
-
rethrowCloseCauseIfNeeded_0(this.
|
|
422
|
-
this.
|
|
423
|
-
if (this.y1p_1
|
|
420
|
+
this.m9_1 = 4;
|
|
421
|
+
rethrowCloseCauseIfNeeded_0(this.y1q_1);
|
|
422
|
+
this.y1q_1.b1r();
|
|
423
|
+
if (this.y1q_1.y1p_1 < 1048576)
|
|
424
424
|
return Unit_instance;
|
|
425
425
|
var tmp_0 = this;
|
|
426
|
-
tmp_0.
|
|
427
|
-
this.
|
|
428
|
-
this.
|
|
426
|
+
tmp_0.z1q_1 = this.y1q_1;
|
|
427
|
+
this.a1r_1 = this.z1q_1;
|
|
428
|
+
this.l9_1 = 1;
|
|
429
429
|
continue $sm;
|
|
430
430
|
case 1:
|
|
431
|
-
if (!(this.y1p_1
|
|
432
|
-
this.
|
|
431
|
+
if (!(this.y1q_1.y1p_1 >= 1048576 && this.y1q_1.d1q_1.kotlinx$atomicfu$value == null)) {
|
|
432
|
+
this.l9_1 = 3;
|
|
433
433
|
continue $sm;
|
|
434
434
|
}
|
|
435
435
|
|
|
436
|
-
this.
|
|
436
|
+
this.l9_1 = 2;
|
|
437
437
|
var cancellable = new CancellableContinuationImpl(intercepted(this), 1);
|
|
438
|
-
cancellable.
|
|
439
|
-
var tmp0 = this.
|
|
440
|
-
var
|
|
438
|
+
cancellable.tu();
|
|
439
|
+
var tmp0 = this.a1r_1;
|
|
440
|
+
var tmp2 = new Write(cancellable);
|
|
441
441
|
l$ret$1: do {
|
|
442
|
-
var previous = tmp0.
|
|
442
|
+
var previous = tmp0.a1q_1.kotlinx$atomicfu$value;
|
|
443
443
|
if (!(previous instanceof Closed)) {
|
|
444
|
-
if (!tmp0.
|
|
445
|
-
|
|
444
|
+
if (!tmp0.a1q_1.atomicfu$compareAndSet(previous, tmp2)) {
|
|
445
|
+
tmp2.q1p();
|
|
446
446
|
break l$ret$1;
|
|
447
447
|
}
|
|
448
448
|
}
|
|
449
449
|
if (previous instanceof Write) {
|
|
450
|
-
previous.
|
|
450
|
+
previous.r1p(new ConcurrentIOException(tmp2.p1p(), previous.n1p()));
|
|
451
451
|
} else {
|
|
452
452
|
if (isInterface(previous, Task)) {
|
|
453
|
-
previous.
|
|
453
|
+
previous.q1p();
|
|
454
454
|
} else {
|
|
455
455
|
if (previous instanceof Closed) {
|
|
456
|
-
|
|
456
|
+
tmp2.r1p(previous.m1p_1);
|
|
457
457
|
break l$ret$1;
|
|
458
458
|
} else {
|
|
459
459
|
if (!equals(previous, Empty_instance)) {
|
|
@@ -462,68 +462,68 @@ protoOf($flushCOROUTINE$1).s9 = function () {
|
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
|
-
if (!(this.y1p_1
|
|
466
|
-
var current = tmp0.
|
|
465
|
+
if (!(this.y1q_1.y1p_1 >= 1048576 && this.y1q_1.d1q_1.kotlinx$atomicfu$value == null)) {
|
|
466
|
+
var current = tmp0.a1q_1.kotlinx$atomicfu$value;
|
|
467
467
|
var tmp_1;
|
|
468
468
|
if (current instanceof Write) {
|
|
469
|
-
tmp_1 = tmp0.
|
|
469
|
+
tmp_1 = tmp0.a1q_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
470
470
|
} else {
|
|
471
471
|
tmp_1 = false;
|
|
472
472
|
}
|
|
473
473
|
if (tmp_1) {
|
|
474
|
-
current.
|
|
474
|
+
current.q1p();
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
478
|
while (false);
|
|
479
|
-
suspendResult = returnIfSuspended(cancellable.
|
|
479
|
+
suspendResult = returnIfSuspended(cancellable.uu(), this);
|
|
480
480
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
481
481
|
return suspendResult;
|
|
482
482
|
}
|
|
483
483
|
|
|
484
484
|
continue $sm;
|
|
485
485
|
case 2:
|
|
486
|
-
this.
|
|
486
|
+
this.l9_1 = 1;
|
|
487
487
|
continue $sm;
|
|
488
488
|
case 3:
|
|
489
489
|
return Unit_instance;
|
|
490
490
|
case 4:
|
|
491
|
-
throw this.
|
|
491
|
+
throw this.o9_1;
|
|
492
492
|
}
|
|
493
493
|
} catch ($p) {
|
|
494
494
|
var e = $p;
|
|
495
|
-
if (this.
|
|
495
|
+
if (this.m9_1 === 4) {
|
|
496
496
|
throw e;
|
|
497
497
|
} else {
|
|
498
|
-
this.
|
|
499
|
-
this.
|
|
498
|
+
this.l9_1 = this.m9_1;
|
|
499
|
+
this.o9_1 = e;
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
502
|
while (true);
|
|
503
503
|
};
|
|
504
|
-
function $flushAndCloseCOROUTINE$
|
|
504
|
+
function $flushAndCloseCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
505
505
|
CoroutineImpl.call(this, resultContinuation);
|
|
506
|
-
this.
|
|
506
|
+
this.k1r_1 = _this__u8e3s4;
|
|
507
507
|
}
|
|
508
|
-
protoOf($flushAndCloseCOROUTINE$
|
|
509
|
-
var suspendResult = this.
|
|
508
|
+
protoOf($flushAndCloseCOROUTINE$).t9 = function () {
|
|
509
|
+
var suspendResult = this.n9_1;
|
|
510
510
|
$sm: do
|
|
511
511
|
try {
|
|
512
|
-
var tmp = this.
|
|
512
|
+
var tmp = this.l9_1;
|
|
513
513
|
switch (tmp) {
|
|
514
514
|
case 0:
|
|
515
|
-
this.
|
|
515
|
+
this.m9_1 = 4;
|
|
516
516
|
var tmp_0 = this;
|
|
517
|
-
tmp_0.
|
|
518
|
-
this.
|
|
519
|
-
this.
|
|
517
|
+
tmp_0.l1r_1 = this.k1r_1;
|
|
518
|
+
this.m1r_1 = this.l1r_1;
|
|
519
|
+
this.m9_1 = 2;
|
|
520
520
|
var tmp_1 = this;
|
|
521
|
-
tmp_1.
|
|
521
|
+
tmp_1.o1r_1 = Companion_instance;
|
|
522
522
|
var tmp_2 = this;
|
|
523
|
-
tmp_2.
|
|
524
|
-
this.
|
|
525
|
-
this.
|
|
526
|
-
suspendResult = this.
|
|
523
|
+
tmp_2.p1r_1 = this.m1r_1;
|
|
524
|
+
this.q1r_1 = this.p1r_1;
|
|
525
|
+
this.l9_1 = 1;
|
|
526
|
+
suspendResult = this.q1r_1.r1r(this);
|
|
527
527
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
528
528
|
return suspendResult;
|
|
529
529
|
}
|
|
@@ -531,141 +531,141 @@ protoOf($flushAndCloseCOROUTINE$2).s9 = function () {
|
|
|
531
531
|
continue $sm;
|
|
532
532
|
case 1:
|
|
533
533
|
var tmp_3 = this;
|
|
534
|
-
this.
|
|
535
|
-
tmp_3.
|
|
536
|
-
this.
|
|
537
|
-
this.
|
|
534
|
+
this.o1r_1;
|
|
535
|
+
tmp_3.n1r_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
536
|
+
this.m9_1 = 4;
|
|
537
|
+
this.l9_1 = 3;
|
|
538
538
|
continue $sm;
|
|
539
539
|
case 2:
|
|
540
|
-
this.
|
|
541
|
-
var tmp_4 = this.
|
|
540
|
+
this.m9_1 = 4;
|
|
541
|
+
var tmp_4 = this.o9_1;
|
|
542
542
|
if (tmp_4 instanceof Error) {
|
|
543
|
-
var e = this.
|
|
543
|
+
var e = this.o9_1;
|
|
544
544
|
var tmp_5 = this;
|
|
545
|
-
tmp_5.
|
|
546
|
-
this.
|
|
545
|
+
tmp_5.n1r_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
546
|
+
this.l9_1 = 3;
|
|
547
547
|
continue $sm;
|
|
548
548
|
} else {
|
|
549
|
-
throw this.
|
|
549
|
+
throw this.o9_1;
|
|
550
550
|
}
|
|
551
551
|
|
|
552
552
|
case 3:
|
|
553
|
-
this.
|
|
554
|
-
if (!this.
|
|
553
|
+
this.m9_1 = 4;
|
|
554
|
+
if (!this.k1r_1.d1q_1.atomicfu$compareAndSet(null, get_CLOSED()))
|
|
555
555
|
return Unit_instance;
|
|
556
|
-
closeSlot(this.
|
|
556
|
+
closeSlot(this.k1r_1, null);
|
|
557
557
|
return Unit_instance;
|
|
558
558
|
case 4:
|
|
559
|
-
throw this.
|
|
559
|
+
throw this.o9_1;
|
|
560
560
|
}
|
|
561
561
|
} catch ($p) {
|
|
562
562
|
var e_0 = $p;
|
|
563
|
-
if (this.
|
|
563
|
+
if (this.m9_1 === 4) {
|
|
564
564
|
throw e_0;
|
|
565
565
|
} else {
|
|
566
|
-
this.
|
|
567
|
-
this.
|
|
566
|
+
this.l9_1 = this.m9_1;
|
|
567
|
+
this.o9_1 = e_0;
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
while (true);
|
|
571
571
|
};
|
|
572
572
|
function ByteChannel(autoFlush) {
|
|
573
573
|
autoFlush = autoFlush === VOID ? false : autoFlush;
|
|
574
|
-
this.
|
|
575
|
-
this.
|
|
576
|
-
this.
|
|
577
|
-
this.
|
|
578
|
-
this.
|
|
579
|
-
this.
|
|
580
|
-
this.
|
|
581
|
-
this.
|
|
582
|
-
}
|
|
583
|
-
protoOf(ByteChannel).
|
|
584
|
-
var tmp0_safe_receiver = this.
|
|
574
|
+
this.w1p_1 = autoFlush;
|
|
575
|
+
this.x1p_1 = new Buffer();
|
|
576
|
+
this.y1p_1 = 0;
|
|
577
|
+
this.z1p_1 = new Object();
|
|
578
|
+
this.a1q_1 = atomic$ref$1(Empty_instance);
|
|
579
|
+
this.b1q_1 = new Buffer();
|
|
580
|
+
this.c1q_1 = new Buffer();
|
|
581
|
+
this.d1q_1 = atomic$ref$1(null);
|
|
582
|
+
}
|
|
583
|
+
protoOf(ByteChannel).s1r = function () {
|
|
584
|
+
var tmp0_safe_receiver = this.d1q_1.kotlinx$atomicfu$value;
|
|
585
585
|
if (tmp0_safe_receiver == null)
|
|
586
586
|
null;
|
|
587
587
|
else {
|
|
588
|
-
tmp0_safe_receiver.
|
|
588
|
+
tmp0_safe_receiver.u1r(ClosedReadChannelException$_init_$ref_ix0089());
|
|
589
589
|
}
|
|
590
|
-
if (this.
|
|
590
|
+
if (this.b1q_1.m1m()) {
|
|
591
591
|
moveFlushToReadBuffer(this);
|
|
592
592
|
}
|
|
593
|
-
return this.
|
|
593
|
+
return this.b1q_1;
|
|
594
594
|
};
|
|
595
|
-
protoOf(ByteChannel).
|
|
596
|
-
if (this.
|
|
597
|
-
var tmp0_safe_receiver = this.
|
|
595
|
+
protoOf(ByteChannel).v1r = function () {
|
|
596
|
+
if (this.w1r()) {
|
|
597
|
+
var tmp0_safe_receiver = this.d1q_1.kotlinx$atomicfu$value;
|
|
598
598
|
var tmp;
|
|
599
599
|
if (tmp0_safe_receiver == null) {
|
|
600
600
|
tmp = null;
|
|
601
601
|
} else {
|
|
602
|
-
tmp = tmp0_safe_receiver.
|
|
602
|
+
tmp = tmp0_safe_receiver.u1r(ClosedWriteChannelException$_init_$ref_ef15ty());
|
|
603
603
|
}
|
|
604
604
|
if (tmp == null)
|
|
605
605
|
throw new ClosedWriteChannelException();
|
|
606
606
|
}
|
|
607
|
-
return this.
|
|
607
|
+
return this.c1q_1;
|
|
608
608
|
};
|
|
609
|
-
protoOf(ByteChannel).
|
|
610
|
-
var tmp0_safe_receiver = this.
|
|
611
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
609
|
+
protoOf(ByteChannel).x1r = function () {
|
|
610
|
+
var tmp0_safe_receiver = this.d1q_1.kotlinx$atomicfu$value;
|
|
611
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.y1r();
|
|
612
612
|
};
|
|
613
|
-
protoOf(ByteChannel).
|
|
614
|
-
return !(this.
|
|
613
|
+
protoOf(ByteChannel).w1r = function () {
|
|
614
|
+
return !(this.d1q_1.kotlinx$atomicfu$value == null);
|
|
615
615
|
};
|
|
616
|
-
protoOf(ByteChannel).
|
|
617
|
-
return !(this.
|
|
616
|
+
protoOf(ByteChannel).z1r = function () {
|
|
617
|
+
return !(this.x1r() == null) || (this.w1r() && this.y1p_1 === 0 && this.b1q_1.m1m());
|
|
618
618
|
};
|
|
619
|
-
protoOf(ByteChannel).
|
|
620
|
-
var tmp = new $awaitContentCOROUTINE$
|
|
621
|
-
tmp.
|
|
622
|
-
tmp.
|
|
623
|
-
return tmp.
|
|
619
|
+
protoOf(ByteChannel).a1s = function (min, $completion) {
|
|
620
|
+
var tmp = new $awaitContentCOROUTINE$(this, min, $completion);
|
|
621
|
+
tmp.n9_1 = Unit_instance;
|
|
622
|
+
tmp.o9_1 = null;
|
|
623
|
+
return tmp.t9();
|
|
624
624
|
};
|
|
625
|
-
protoOf(ByteChannel).
|
|
626
|
-
var tmp = new $flushCOROUTINE$
|
|
627
|
-
tmp.
|
|
628
|
-
tmp.
|
|
629
|
-
return tmp.
|
|
625
|
+
protoOf(ByteChannel).r1r = function ($completion) {
|
|
626
|
+
var tmp = new $flushCOROUTINE$(this, $completion);
|
|
627
|
+
tmp.n9_1 = Unit_instance;
|
|
628
|
+
tmp.o9_1 = null;
|
|
629
|
+
return tmp.t9();
|
|
630
630
|
};
|
|
631
|
-
protoOf(ByteChannel).
|
|
632
|
-
if (this.
|
|
631
|
+
protoOf(ByteChannel).b1r = function () {
|
|
632
|
+
if (this.c1q_1.m1m())
|
|
633
633
|
return Unit_instance;
|
|
634
634
|
// Inline function 'io.ktor.utils.io.locks.synchronized' call
|
|
635
|
-
this.
|
|
636
|
-
var count = this.
|
|
637
|
-
this.
|
|
638
|
-
this.
|
|
635
|
+
this.z1p_1;
|
|
636
|
+
var count = this.c1q_1.t().m1();
|
|
637
|
+
this.x1p_1.e1o(this.c1q_1);
|
|
638
|
+
this.y1p_1 = this.y1p_1 + count | 0;
|
|
639
639
|
// Inline function 'io.ktor.utils.io.ByteChannel.resumeSlot' call
|
|
640
|
-
var current = this.
|
|
640
|
+
var current = this.a1q_1.kotlinx$atomicfu$value;
|
|
641
641
|
var tmp;
|
|
642
642
|
if (current instanceof Read) {
|
|
643
|
-
tmp = this.
|
|
643
|
+
tmp = this.a1q_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
644
644
|
} else {
|
|
645
645
|
tmp = false;
|
|
646
646
|
}
|
|
647
647
|
if (tmp) {
|
|
648
|
-
current.
|
|
648
|
+
current.q1p();
|
|
649
649
|
}
|
|
650
650
|
};
|
|
651
|
-
protoOf(ByteChannel).
|
|
652
|
-
this.
|
|
653
|
-
if (!this.
|
|
651
|
+
protoOf(ByteChannel).r4 = function () {
|
|
652
|
+
this.b1r();
|
|
653
|
+
if (!this.d1q_1.atomicfu$compareAndSet(null, get_CLOSED()))
|
|
654
654
|
return Unit_instance;
|
|
655
655
|
closeSlot(this, null);
|
|
656
656
|
};
|
|
657
|
-
protoOf(ByteChannel).
|
|
658
|
-
var tmp = new $flushAndCloseCOROUTINE$
|
|
659
|
-
tmp.
|
|
660
|
-
tmp.
|
|
661
|
-
return tmp.
|
|
657
|
+
protoOf(ByteChannel).c1s = function ($completion) {
|
|
658
|
+
var tmp = new $flushAndCloseCOROUTINE$(this, $completion);
|
|
659
|
+
tmp.n9_1 = Unit_instance;
|
|
660
|
+
tmp.o9_1 = null;
|
|
661
|
+
return tmp.t9();
|
|
662
662
|
};
|
|
663
|
-
protoOf(ByteChannel).
|
|
664
|
-
if (!(this.
|
|
663
|
+
protoOf(ByteChannel).d1s = function (cause) {
|
|
664
|
+
if (!(this.d1q_1.kotlinx$atomicfu$value == null))
|
|
665
665
|
return Unit_instance;
|
|
666
666
|
var closedToken = new CloseToken(cause);
|
|
667
|
-
this.
|
|
668
|
-
var wrappedCause = closedToken.
|
|
667
|
+
this.d1q_1.atomicfu$compareAndSet(null, closedToken);
|
|
668
|
+
var wrappedCause = closedToken.y1r();
|
|
669
669
|
closeSlot(this, wrappedCause);
|
|
670
670
|
};
|
|
671
671
|
protoOf(ByteChannel).toString = function () {
|
|
@@ -681,7 +681,7 @@ function ByteReadChannel(content, offset, length) {
|
|
|
681
681
|
length = length === VOID ? content.length : length;
|
|
682
682
|
// Inline function 'kotlin.also' call
|
|
683
683
|
var this_0 = new Buffer();
|
|
684
|
-
this_0.
|
|
684
|
+
this_0.w1n(content, offset, offset + length | 0);
|
|
685
685
|
var source = this_0;
|
|
686
686
|
return ByteReadChannel_0(source);
|
|
687
687
|
}
|
|
@@ -689,18 +689,18 @@ function ByteReadChannel_0(source) {
|
|
|
689
689
|
return new SourceByteReadChannel(source);
|
|
690
690
|
}
|
|
691
691
|
function buildPartialMatchTable($this) {
|
|
692
|
-
var table = new Int32Array($this.
|
|
692
|
+
var table = new Int32Array($this.f1s_1.t());
|
|
693
693
|
var j = 0;
|
|
694
694
|
var inductionVariable = 1;
|
|
695
|
-
var last = $this.
|
|
695
|
+
var last = $this.f1s_1.t();
|
|
696
696
|
if (inductionVariable < last)
|
|
697
697
|
do {
|
|
698
698
|
var i = inductionVariable;
|
|
699
699
|
inductionVariable = inductionVariable + 1 | 0;
|
|
700
|
-
while (j > 0 && !($this.
|
|
700
|
+
while (j > 0 && !($this.f1s_1.v(i) === $this.f1s_1.v(j))) {
|
|
701
701
|
j = table[j - 1 | 0];
|
|
702
702
|
}
|
|
703
|
-
if ($this.
|
|
703
|
+
if ($this.f1s_1.v(i) === $this.f1s_1.v(j)) {
|
|
704
704
|
j = j + 1 | 0;
|
|
705
705
|
}
|
|
706
706
|
table[i] = j;
|
|
@@ -709,49 +709,49 @@ function buildPartialMatchTable($this) {
|
|
|
709
709
|
return table;
|
|
710
710
|
}
|
|
711
711
|
function advanceToNextPotentialMatch($this, $completion) {
|
|
712
|
-
var tmp = new $advanceToNextPotentialMatchCOROUTINE$
|
|
713
|
-
tmp.
|
|
714
|
-
tmp.
|
|
715
|
-
return tmp.
|
|
712
|
+
var tmp = new $advanceToNextPotentialMatchCOROUTINE$($this, $completion);
|
|
713
|
+
tmp.n9_1 = Unit_instance;
|
|
714
|
+
tmp.o9_1 = null;
|
|
715
|
+
return tmp.t9();
|
|
716
716
|
}
|
|
717
717
|
function checkFullMatch($this, $completion) {
|
|
718
|
-
var tmp = new $checkFullMatchCOROUTINE$
|
|
719
|
-
tmp.
|
|
720
|
-
tmp.
|
|
721
|
-
return tmp.
|
|
718
|
+
var tmp = new $checkFullMatchCOROUTINE$($this, $completion);
|
|
719
|
+
tmp.n9_1 = Unit_instance;
|
|
720
|
+
tmp.o9_1 = null;
|
|
721
|
+
return tmp.t9();
|
|
722
722
|
}
|
|
723
723
|
function checkBounds($this, extra) {
|
|
724
|
-
if ($this.
|
|
725
|
-
throw IOException_init_$Create$('Limit of ' + $this.
|
|
724
|
+
if ($this.l1s_1.c3(extra).h1($this.h1s_1) > 0) {
|
|
725
|
+
throw IOException_init_$Create$('Limit of ' + $this.h1s_1.toString() + ' bytes exceeded ' + ('while searching for "' + toSingleLineString($this, $this.f1s_1) + '"'));
|
|
726
726
|
}
|
|
727
727
|
}
|
|
728
728
|
function toSingleLineString($this, _this__u8e3s4) {
|
|
729
729
|
return replace(decodeToString_0(_this__u8e3s4), '\n', '\\n');
|
|
730
730
|
}
|
|
731
|
-
function $findNextCOROUTINE$
|
|
731
|
+
function $findNextCOROUTINE$(_this__u8e3s4, ignoreMissing, resultContinuation) {
|
|
732
732
|
CoroutineImpl.call(this, resultContinuation);
|
|
733
|
-
this.
|
|
734
|
-
this.
|
|
733
|
+
this.t1t_1 = _this__u8e3s4;
|
|
734
|
+
this.u1t_1 = ignoreMissing;
|
|
735
735
|
}
|
|
736
|
-
protoOf($findNextCOROUTINE$
|
|
737
|
-
var suspendResult = this.
|
|
736
|
+
protoOf($findNextCOROUTINE$).t9 = function () {
|
|
737
|
+
var suspendResult = this.n9_1;
|
|
738
738
|
$sm: do
|
|
739
739
|
try {
|
|
740
|
-
var tmp = this.
|
|
740
|
+
var tmp = this.l9_1;
|
|
741
741
|
switch (tmp) {
|
|
742
742
|
case 0:
|
|
743
|
-
this.
|
|
744
|
-
this.
|
|
745
|
-
this.
|
|
743
|
+
this.m9_1 = 9;
|
|
744
|
+
this.t1t_1.l1s_1 = new Long(0, 0);
|
|
745
|
+
this.l9_1 = 1;
|
|
746
746
|
continue $sm;
|
|
747
747
|
case 1:
|
|
748
|
-
if (!this.
|
|
749
|
-
this.
|
|
750
|
-
this.
|
|
748
|
+
if (!this.t1t_1.i1s_1.m1m()) {
|
|
749
|
+
this.v1t_1 = true;
|
|
750
|
+
this.l9_1 = 3;
|
|
751
751
|
continue $sm;
|
|
752
752
|
} else {
|
|
753
|
-
this.
|
|
754
|
-
suspendResult = this.
|
|
753
|
+
this.l9_1 = 2;
|
|
754
|
+
suspendResult = this.t1t_1.e1s_1.b1s(VOID, this);
|
|
755
755
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
756
756
|
return suspendResult;
|
|
757
757
|
}
|
|
@@ -759,25 +759,25 @@ protoOf($findNextCOROUTINE$3).s9 = function () {
|
|
|
759
759
|
}
|
|
760
760
|
|
|
761
761
|
case 2:
|
|
762
|
-
this.
|
|
763
|
-
this.
|
|
762
|
+
this.v1t_1 = suspendResult;
|
|
763
|
+
this.l9_1 = 3;
|
|
764
764
|
continue $sm;
|
|
765
765
|
case 3:
|
|
766
|
-
if (!this.
|
|
767
|
-
this.
|
|
766
|
+
if (!this.v1t_1) {
|
|
767
|
+
this.l9_1 = 7;
|
|
768
768
|
continue $sm;
|
|
769
769
|
}
|
|
770
770
|
|
|
771
|
-
this.
|
|
772
|
-
suspendResult = advanceToNextPotentialMatch(this.
|
|
771
|
+
this.l9_1 = 4;
|
|
772
|
+
suspendResult = advanceToNextPotentialMatch(this.t1t_1, this);
|
|
773
773
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
774
774
|
return suspendResult;
|
|
775
775
|
}
|
|
776
776
|
|
|
777
777
|
continue $sm;
|
|
778
778
|
case 4:
|
|
779
|
-
this.
|
|
780
|
-
suspendResult = checkFullMatch(this.
|
|
779
|
+
this.l9_1 = 5;
|
|
780
|
+
suspendResult = checkFullMatch(this.t1t_1, this);
|
|
781
781
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
782
782
|
return suspendResult;
|
|
783
783
|
}
|
|
@@ -785,66 +785,66 @@ protoOf($findNextCOROUTINE$3).s9 = function () {
|
|
|
785
785
|
continue $sm;
|
|
786
786
|
case 5:
|
|
787
787
|
if (suspendResult) {
|
|
788
|
-
return this.
|
|
788
|
+
return this.t1t_1.l1s_1;
|
|
789
789
|
} else {
|
|
790
|
-
this.
|
|
790
|
+
this.l9_1 = 6;
|
|
791
791
|
continue $sm;
|
|
792
792
|
}
|
|
793
793
|
|
|
794
794
|
case 6:
|
|
795
|
-
this.
|
|
795
|
+
this.l9_1 = 1;
|
|
796
796
|
continue $sm;
|
|
797
797
|
case 7:
|
|
798
|
-
if (!this.
|
|
799
|
-
throw IOException_init_$Create$('Expected "' + toSingleLineString(this.
|
|
798
|
+
if (!this.u1t_1) {
|
|
799
|
+
throw IOException_init_$Create$('Expected "' + toSingleLineString(this.t1t_1, this.t1t_1.f1s_1) + '" but encountered end of input');
|
|
800
800
|
}
|
|
801
801
|
|
|
802
|
-
this.
|
|
803
|
-
this.
|
|
804
|
-
suspendResult = this.
|
|
802
|
+
this.t1t_1.l1s_1 = this.t1t_1.l1s_1.c3(this.t1t_1.k1s_1.q1n(this.t1t_1.g1s_1.v1r()));
|
|
803
|
+
this.l9_1 = 8;
|
|
804
|
+
suspendResult = this.t1t_1.g1s_1.r1r(this);
|
|
805
805
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
806
806
|
return suspendResult;
|
|
807
807
|
}
|
|
808
808
|
|
|
809
809
|
continue $sm;
|
|
810
810
|
case 8:
|
|
811
|
-
return this.
|
|
811
|
+
return this.t1t_1.l1s_1;
|
|
812
812
|
case 9:
|
|
813
|
-
throw this.
|
|
813
|
+
throw this.o9_1;
|
|
814
814
|
}
|
|
815
815
|
} catch ($p) {
|
|
816
816
|
var e = $p;
|
|
817
|
-
if (this.
|
|
817
|
+
if (this.m9_1 === 9) {
|
|
818
818
|
throw e;
|
|
819
819
|
} else {
|
|
820
|
-
this.
|
|
821
|
-
this.
|
|
820
|
+
this.l9_1 = this.m9_1;
|
|
821
|
+
this.o9_1 = e;
|
|
822
822
|
}
|
|
823
823
|
}
|
|
824
824
|
while (true);
|
|
825
825
|
};
|
|
826
|
-
function $advanceToNextPotentialMatchCOROUTINE$
|
|
826
|
+
function $advanceToNextPotentialMatchCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
827
827
|
CoroutineImpl.call(this, resultContinuation);
|
|
828
|
-
this.
|
|
828
|
+
this.v1s_1 = _this__u8e3s4;
|
|
829
829
|
}
|
|
830
|
-
protoOf($advanceToNextPotentialMatchCOROUTINE$
|
|
831
|
-
var suspendResult = this.
|
|
830
|
+
protoOf($advanceToNextPotentialMatchCOROUTINE$).t9 = function () {
|
|
831
|
+
var suspendResult = this.n9_1;
|
|
832
832
|
$sm: do
|
|
833
833
|
try {
|
|
834
|
-
var tmp = this.
|
|
834
|
+
var tmp = this.l9_1;
|
|
835
835
|
switch (tmp) {
|
|
836
836
|
case 0:
|
|
837
|
-
this.
|
|
838
|
-
this.
|
|
837
|
+
this.m9_1 = 8;
|
|
838
|
+
this.l9_1 = 1;
|
|
839
839
|
continue $sm;
|
|
840
840
|
case 1:
|
|
841
|
-
if (!this.
|
|
842
|
-
this.
|
|
843
|
-
this.
|
|
841
|
+
if (!this.v1s_1.i1s_1.m1m()) {
|
|
842
|
+
this.w1s_1 = true;
|
|
843
|
+
this.l9_1 = 3;
|
|
844
844
|
continue $sm;
|
|
845
845
|
} else {
|
|
846
|
-
this.
|
|
847
|
-
suspendResult = this.
|
|
846
|
+
this.l9_1 = 2;
|
|
847
|
+
suspendResult = this.v1s_1.e1s_1.b1s(VOID, this);
|
|
848
848
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
849
849
|
return suspendResult;
|
|
850
850
|
}
|
|
@@ -852,34 +852,34 @@ protoOf($advanceToNextPotentialMatchCOROUTINE$4).s9 = function () {
|
|
|
852
852
|
}
|
|
853
853
|
|
|
854
854
|
case 2:
|
|
855
|
-
this.
|
|
856
|
-
this.
|
|
855
|
+
this.w1s_1 = suspendResult;
|
|
856
|
+
this.l9_1 = 3;
|
|
857
857
|
continue $sm;
|
|
858
858
|
case 3:
|
|
859
|
-
if (!this.
|
|
860
|
-
this.
|
|
859
|
+
if (!this.w1s_1) {
|
|
860
|
+
this.l9_1 = 7;
|
|
861
861
|
continue $sm;
|
|
862
862
|
}
|
|
863
863
|
|
|
864
|
-
this.
|
|
865
|
-
if (this.
|
|
866
|
-
var tmp_0 = this.
|
|
867
|
-
checkBounds(this.
|
|
868
|
-
this.
|
|
869
|
-
this.
|
|
870
|
-
suspendResult = flushIfNeeded(this.
|
|
864
|
+
this.x1s_1 = indexOf(this.v1s_1.i1s_1, this.v1s_1.f1s_1.v(0));
|
|
865
|
+
if (this.x1s_1.equals(new Long(-1, -1))) {
|
|
866
|
+
var tmp_0 = this.v1s_1.i1s_1;
|
|
867
|
+
checkBounds(this.v1s_1, (tmp_0 instanceof Buffer ? tmp_0 : THROW_CCE()).t());
|
|
868
|
+
this.v1s_1.l1s_1 = this.v1s_1.l1s_1.c3(this.v1s_1.i1s_1.q1n(this.v1s_1.g1s_1.v1r()));
|
|
869
|
+
this.l9_1 = 5;
|
|
870
|
+
suspendResult = flushIfNeeded(this.v1s_1.g1s_1, this);
|
|
871
871
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
872
872
|
return suspendResult;
|
|
873
873
|
}
|
|
874
874
|
continue $sm;
|
|
875
875
|
} else {
|
|
876
|
-
checkBounds(this.
|
|
877
|
-
var tmp_1 = this.
|
|
878
|
-
var tmp_2 = this.
|
|
879
|
-
var tmp_3 = this.
|
|
880
|
-
tmp_1.
|
|
881
|
-
this.
|
|
882
|
-
suspendResult = flushIfNeeded(this.
|
|
876
|
+
checkBounds(this.v1s_1, this.x1s_1);
|
|
877
|
+
var tmp_1 = this.v1s_1;
|
|
878
|
+
var tmp_2 = this.v1s_1.l1s_1;
|
|
879
|
+
var tmp_3 = this.v1s_1.g1s_1.v1r();
|
|
880
|
+
tmp_1.l1s_1 = tmp_2.c3(this.v1s_1.i1s_1.n1n(tmp_3 instanceof Buffer ? tmp_3 : THROW_CCE(), this.x1s_1));
|
|
881
|
+
this.l9_1 = 4;
|
|
882
|
+
suspendResult = flushIfNeeded(this.v1s_1.g1s_1, this);
|
|
883
883
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
884
884
|
return suspendResult;
|
|
885
885
|
}
|
|
@@ -889,49 +889,49 @@ protoOf($advanceToNextPotentialMatchCOROUTINE$4).s9 = function () {
|
|
|
889
889
|
case 4:
|
|
890
890
|
return Unit_instance;
|
|
891
891
|
case 5:
|
|
892
|
-
this.
|
|
892
|
+
this.l9_1 = 6;
|
|
893
893
|
continue $sm;
|
|
894
894
|
case 6:
|
|
895
|
-
this.
|
|
895
|
+
this.l9_1 = 1;
|
|
896
896
|
continue $sm;
|
|
897
897
|
case 7:
|
|
898
898
|
return Unit_instance;
|
|
899
899
|
case 8:
|
|
900
|
-
throw this.
|
|
900
|
+
throw this.o9_1;
|
|
901
901
|
}
|
|
902
902
|
} catch ($p) {
|
|
903
903
|
var e = $p;
|
|
904
|
-
if (this.
|
|
904
|
+
if (this.m9_1 === 8) {
|
|
905
905
|
throw e;
|
|
906
906
|
} else {
|
|
907
|
-
this.
|
|
908
|
-
this.
|
|
907
|
+
this.l9_1 = this.m9_1;
|
|
908
|
+
this.o9_1 = e;
|
|
909
909
|
}
|
|
910
910
|
}
|
|
911
911
|
while (true);
|
|
912
912
|
};
|
|
913
|
-
function $checkFullMatchCOROUTINE$
|
|
913
|
+
function $checkFullMatchCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
914
914
|
CoroutineImpl.call(this, resultContinuation);
|
|
915
|
-
this.
|
|
915
|
+
this.g1t_1 = _this__u8e3s4;
|
|
916
916
|
}
|
|
917
|
-
protoOf($checkFullMatchCOROUTINE$
|
|
918
|
-
var suspendResult = this.
|
|
917
|
+
protoOf($checkFullMatchCOROUTINE$).t9 = function () {
|
|
918
|
+
var suspendResult = this.n9_1;
|
|
919
919
|
$sm: do
|
|
920
920
|
try {
|
|
921
|
-
var tmp = this.
|
|
921
|
+
var tmp = this.l9_1;
|
|
922
922
|
switch (tmp) {
|
|
923
923
|
case 0:
|
|
924
|
-
this.
|
|
925
|
-
this.
|
|
924
|
+
this.m9_1 = 8;
|
|
925
|
+
this.l9_1 = 1;
|
|
926
926
|
continue $sm;
|
|
927
927
|
case 1:
|
|
928
|
-
if (!this.
|
|
929
|
-
this.
|
|
930
|
-
this.
|
|
928
|
+
if (!this.g1t_1.i1s_1.m1m()) {
|
|
929
|
+
this.h1t_1 = true;
|
|
930
|
+
this.l9_1 = 3;
|
|
931
931
|
continue $sm;
|
|
932
932
|
} else {
|
|
933
|
-
this.
|
|
934
|
-
suspendResult = this.
|
|
933
|
+
this.l9_1 = 2;
|
|
934
|
+
suspendResult = this.g1t_1.e1s_1.b1s(VOID, this);
|
|
935
935
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
936
936
|
return suspendResult;
|
|
937
937
|
}
|
|
@@ -939,120 +939,120 @@ protoOf($checkFullMatchCOROUTINE$5).s9 = function () {
|
|
|
939
939
|
}
|
|
940
940
|
|
|
941
941
|
case 2:
|
|
942
|
-
this.
|
|
943
|
-
this.
|
|
942
|
+
this.h1t_1 = suspendResult;
|
|
943
|
+
this.l9_1 = 3;
|
|
944
944
|
continue $sm;
|
|
945
945
|
case 3:
|
|
946
|
-
if (!this.
|
|
947
|
-
this.
|
|
946
|
+
if (!this.h1t_1) {
|
|
947
|
+
this.l9_1 = 7;
|
|
948
948
|
continue $sm;
|
|
949
949
|
}
|
|
950
950
|
|
|
951
|
-
this.
|
|
952
|
-
if (this.
|
|
953
|
-
this.
|
|
954
|
-
while (this.
|
|
955
|
-
this.
|
|
951
|
+
this.i1t_1 = this.g1t_1.i1s_1.p1m();
|
|
952
|
+
if (this.g1t_1.m1s_1 > 0 && !(this.i1t_1 === this.g1t_1.f1s_1.v(this.g1t_1.m1s_1))) {
|
|
953
|
+
this.j1t_1 = this.g1t_1.m1s_1;
|
|
954
|
+
while (this.g1t_1.m1s_1 > 0 && !(this.i1t_1 === this.g1t_1.f1s_1.v(this.g1t_1.m1s_1))) {
|
|
955
|
+
this.g1t_1.m1s_1 = this.g1t_1.j1s_1[this.g1t_1.m1s_1 - 1 | 0];
|
|
956
956
|
}
|
|
957
|
-
this.
|
|
958
|
-
checkBounds(this.
|
|
959
|
-
var tmp_0 = this.
|
|
960
|
-
var tmp_1 = this.
|
|
961
|
-
var tmp_2 = this.g1s_1.
|
|
962
|
-
tmp_0.
|
|
963
|
-
if (this.
|
|
964
|
-
this.
|
|
965
|
-
suspendResult = writeByte(this.g1s_1
|
|
957
|
+
this.k1t_1 = toLong(this.j1t_1 - this.g1t_1.m1s_1 | 0);
|
|
958
|
+
checkBounds(this.g1t_1, this.k1t_1);
|
|
959
|
+
var tmp_0 = this.g1t_1;
|
|
960
|
+
var tmp_1 = this.g1t_1.l1s_1;
|
|
961
|
+
var tmp_2 = this.g1t_1.g1s_1.v1r();
|
|
962
|
+
tmp_0.l1s_1 = tmp_1.c3(this.g1t_1.k1s_1.n1n(tmp_2 instanceof Buffer ? tmp_2 : THROW_CCE(), this.k1t_1));
|
|
963
|
+
if (this.g1t_1.m1s_1 === 0 && !(this.i1t_1 === this.g1t_1.f1s_1.v(this.g1t_1.m1s_1))) {
|
|
964
|
+
this.l9_1 = 6;
|
|
965
|
+
suspendResult = writeByte(this.g1t_1.g1s_1, this.i1t_1, this);
|
|
966
966
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
967
967
|
return suspendResult;
|
|
968
968
|
}
|
|
969
969
|
continue $sm;
|
|
970
970
|
} else {
|
|
971
|
-
this.
|
|
971
|
+
this.l9_1 = 4;
|
|
972
972
|
continue $sm;
|
|
973
973
|
}
|
|
974
974
|
} else {
|
|
975
|
-
this.
|
|
975
|
+
this.l9_1 = 5;
|
|
976
976
|
continue $sm;
|
|
977
977
|
}
|
|
978
978
|
|
|
979
979
|
case 4:
|
|
980
|
-
this.
|
|
980
|
+
this.l9_1 = 5;
|
|
981
981
|
continue $sm;
|
|
982
982
|
case 5:
|
|
983
|
-
this.
|
|
984
|
-
if (this.
|
|
983
|
+
this.g1t_1.m1s_1 = this.g1t_1.m1s_1 + 1 | 0;
|
|
984
|
+
if (this.g1t_1.m1s_1 === this.g1t_1.f1s_1.t()) {
|
|
985
985
|
return true;
|
|
986
986
|
}
|
|
987
987
|
|
|
988
|
-
this.
|
|
989
|
-
this.
|
|
988
|
+
this.g1t_1.k1s_1.f1o(this.i1t_1);
|
|
989
|
+
this.l9_1 = 1;
|
|
990
990
|
continue $sm;
|
|
991
991
|
case 6:
|
|
992
|
-
var _unary__edvuaz = this.
|
|
993
|
-
this.
|
|
992
|
+
var _unary__edvuaz = this.g1t_1.l1s_1;
|
|
993
|
+
this.g1t_1.l1s_1 = _unary__edvuaz.h3();
|
|
994
994
|
return false;
|
|
995
995
|
case 7:
|
|
996
996
|
return false;
|
|
997
997
|
case 8:
|
|
998
|
-
throw this.
|
|
998
|
+
throw this.o9_1;
|
|
999
999
|
}
|
|
1000
1000
|
} catch ($p) {
|
|
1001
1001
|
var e = $p;
|
|
1002
|
-
if (this.
|
|
1002
|
+
if (this.m9_1 === 8) {
|
|
1003
1003
|
throw e;
|
|
1004
1004
|
} else {
|
|
1005
|
-
this.
|
|
1006
|
-
this.
|
|
1005
|
+
this.l9_1 = this.m9_1;
|
|
1006
|
+
this.o9_1 = e;
|
|
1007
1007
|
}
|
|
1008
1008
|
}
|
|
1009
1009
|
while (true);
|
|
1010
1010
|
};
|
|
1011
1011
|
function ByteChannelScanner(channel, matchString, writeChannel, limit) {
|
|
1012
1012
|
limit = limit === VOID ? new Long(-1, 2147483647) : limit;
|
|
1013
|
-
this.
|
|
1014
|
-
this.
|
|
1015
|
-
this.
|
|
1016
|
-
this.
|
|
1013
|
+
this.e1s_1 = channel;
|
|
1014
|
+
this.f1s_1 = matchString;
|
|
1015
|
+
this.g1s_1 = writeChannel;
|
|
1016
|
+
this.h1s_1 = limit;
|
|
1017
1017
|
// Inline function 'kotlin.require' call
|
|
1018
|
-
if (!(this.
|
|
1018
|
+
if (!(this.f1s_1.t() > 0)) {
|
|
1019
1019
|
var message = 'Empty match string not permitted for scanning';
|
|
1020
1020
|
throw IllegalArgumentException_init_$Create$(toString_1(message));
|
|
1021
1021
|
}
|
|
1022
|
-
this.
|
|
1023
|
-
this.
|
|
1024
|
-
this.
|
|
1025
|
-
this.
|
|
1026
|
-
this.
|
|
1027
|
-
}
|
|
1028
|
-
protoOf(ByteChannelScanner).
|
|
1029
|
-
var tmp = new $findNextCOROUTINE$
|
|
1030
|
-
tmp.
|
|
1031
|
-
tmp.
|
|
1032
|
-
return tmp.
|
|
1022
|
+
this.i1s_1 = this.e1s_1.s1r();
|
|
1023
|
+
this.j1s_1 = buildPartialMatchTable(this);
|
|
1024
|
+
this.k1s_1 = new Buffer();
|
|
1025
|
+
this.l1s_1 = new Long(0, 0);
|
|
1026
|
+
this.m1s_1 = 0;
|
|
1027
|
+
}
|
|
1028
|
+
protoOf(ByteChannelScanner).w1t = function (ignoreMissing, $completion) {
|
|
1029
|
+
var tmp = new $findNextCOROUTINE$(this, ignoreMissing, $completion);
|
|
1030
|
+
tmp.n9_1 = Unit_instance;
|
|
1031
|
+
tmp.o9_1 = null;
|
|
1032
|
+
return tmp.t9();
|
|
1033
1033
|
};
|
|
1034
1034
|
function ByteReadChannel$Companion$Empty$1() {
|
|
1035
|
-
this.
|
|
1036
|
-
this.
|
|
1035
|
+
this.x1t_1 = null;
|
|
1036
|
+
this.y1t_1 = new Buffer();
|
|
1037
1037
|
}
|
|
1038
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1039
|
-
return this.
|
|
1038
|
+
protoOf(ByteReadChannel$Companion$Empty$1).x1r = function () {
|
|
1039
|
+
return this.x1t_1;
|
|
1040
1040
|
};
|
|
1041
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1041
|
+
protoOf(ByteReadChannel$Companion$Empty$1).z1r = function () {
|
|
1042
1042
|
return true;
|
|
1043
1043
|
};
|
|
1044
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1045
|
-
return this.
|
|
1044
|
+
protoOf(ByteReadChannel$Companion$Empty$1).s1r = function () {
|
|
1045
|
+
return this.y1t_1;
|
|
1046
1046
|
};
|
|
1047
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1047
|
+
protoOf(ByteReadChannel$Companion$Empty$1).a1s = function (min, $completion) {
|
|
1048
1048
|
return false;
|
|
1049
1049
|
};
|
|
1050
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1050
|
+
protoOf(ByteReadChannel$Companion$Empty$1).d1s = function (cause) {
|
|
1051
1051
|
};
|
|
1052
1052
|
function Companion_0() {
|
|
1053
1053
|
Companion_instance_1 = this;
|
|
1054
1054
|
var tmp = this;
|
|
1055
|
-
tmp.
|
|
1055
|
+
tmp.z1t_1 = new ByteReadChannel$Companion$Empty$1();
|
|
1056
1056
|
}
|
|
1057
1057
|
var Companion_instance_1;
|
|
1058
1058
|
function Companion_getInstance_0() {
|
|
@@ -1063,43 +1063,43 @@ function Companion_getInstance_0() {
|
|
|
1063
1063
|
function ByteReadChannel_1() {
|
|
1064
1064
|
}
|
|
1065
1065
|
function cancel_0(_this__u8e3s4) {
|
|
1066
|
-
_this__u8e3s4.
|
|
1066
|
+
_this__u8e3s4.d1s(IOException_init_$Create$('Channel was cancelled'));
|
|
1067
1067
|
}
|
|
1068
1068
|
function readRemaining(_this__u8e3s4, $completion) {
|
|
1069
|
-
var tmp = new $readRemainingCOROUTINE$
|
|
1070
|
-
tmp.
|
|
1071
|
-
tmp.
|
|
1072
|
-
return tmp.
|
|
1069
|
+
var tmp = new $readRemainingCOROUTINE$(_this__u8e3s4, $completion);
|
|
1070
|
+
tmp.n9_1 = Unit_instance;
|
|
1071
|
+
tmp.o9_1 = null;
|
|
1072
|
+
return tmp.t9();
|
|
1073
1073
|
}
|
|
1074
1074
|
function discard(_this__u8e3s4, max, $completion) {
|
|
1075
1075
|
max = max === VOID ? new Long(-1, 2147483647) : max;
|
|
1076
|
-
var tmp = new $discardCOROUTINE$
|
|
1077
|
-
tmp.
|
|
1078
|
-
tmp.
|
|
1079
|
-
return tmp.
|
|
1076
|
+
var tmp = new $discardCOROUTINE$(_this__u8e3s4, max, $completion);
|
|
1077
|
+
tmp.n9_1 = Unit_instance;
|
|
1078
|
+
tmp.o9_1 = null;
|
|
1079
|
+
return tmp.t9();
|
|
1080
1080
|
}
|
|
1081
1081
|
function readAvailable(_this__u8e3s4, buffer, offset, length, $completion) {
|
|
1082
1082
|
offset = offset === VOID ? 0 : offset;
|
|
1083
1083
|
length = length === VOID ? buffer.length - offset | 0 : length;
|
|
1084
|
-
var tmp = new $readAvailableCOROUTINE$
|
|
1085
|
-
tmp.
|
|
1086
|
-
tmp.
|
|
1087
|
-
return tmp.
|
|
1084
|
+
var tmp = new $readAvailableCOROUTINE$(_this__u8e3s4, buffer, offset, length, $completion);
|
|
1085
|
+
tmp.n9_1 = Unit_instance;
|
|
1086
|
+
tmp.o9_1 = null;
|
|
1087
|
+
return tmp.t9();
|
|
1088
1088
|
}
|
|
1089
1089
|
function toByteArray(_this__u8e3s4, $completion) {
|
|
1090
|
-
var tmp = new $toByteArrayCOROUTINE$
|
|
1091
|
-
tmp.
|
|
1092
|
-
tmp.
|
|
1093
|
-
return tmp.
|
|
1090
|
+
var tmp = new $toByteArrayCOROUTINE$(_this__u8e3s4, $completion);
|
|
1091
|
+
tmp.n9_1 = Unit_instance;
|
|
1092
|
+
tmp.o9_1 = null;
|
|
1093
|
+
return tmp.t9();
|
|
1094
1094
|
}
|
|
1095
1095
|
function copyTo(_this__u8e3s4, channel, limit, $completion) {
|
|
1096
|
-
var tmp = new $copyToCOROUTINE$
|
|
1097
|
-
tmp.
|
|
1098
|
-
tmp.
|
|
1099
|
-
return tmp.
|
|
1096
|
+
var tmp = new $copyToCOROUTINE$(_this__u8e3s4, channel, limit, $completion);
|
|
1097
|
+
tmp.n9_1 = Unit_instance;
|
|
1098
|
+
tmp.o9_1 = null;
|
|
1099
|
+
return tmp.t9();
|
|
1100
1100
|
}
|
|
1101
1101
|
function rethrowCloseCauseIfNeeded(_this__u8e3s4) {
|
|
1102
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1102
|
+
var tmp0_safe_receiver = _this__u8e3s4.x1r();
|
|
1103
1103
|
if (tmp0_safe_receiver == null)
|
|
1104
1104
|
null;
|
|
1105
1105
|
else {
|
|
@@ -1108,24 +1108,24 @@ function rethrowCloseCauseIfNeeded(_this__u8e3s4) {
|
|
|
1108
1108
|
}
|
|
1109
1109
|
}
|
|
1110
1110
|
function get_availableForRead(_this__u8e3s4) {
|
|
1111
|
-
return _this__u8e3s4.
|
|
1111
|
+
return _this__u8e3s4.s1r().l1m().t().m1();
|
|
1112
1112
|
}
|
|
1113
1113
|
function readBuffer(_this__u8e3s4, $completion) {
|
|
1114
|
-
var tmp = new $readBufferCOROUTINE$
|
|
1115
|
-
tmp.
|
|
1116
|
-
tmp.
|
|
1117
|
-
return tmp.
|
|
1114
|
+
var tmp = new $readBufferCOROUTINE$(_this__u8e3s4, $completion);
|
|
1115
|
+
tmp.n9_1 = Unit_instance;
|
|
1116
|
+
tmp.o9_1 = null;
|
|
1117
|
+
return tmp.t9();
|
|
1118
1118
|
}
|
|
1119
1119
|
function readUTF8LineTo(_this__u8e3s4, out, max, lineEnding, $completion) {
|
|
1120
1120
|
max = max === VOID ? 2147483647 : max;
|
|
1121
|
-
lineEnding = lineEnding === VOID ? Companion_getInstance_1().
|
|
1122
|
-
var tmp = new $readUTF8LineToCOROUTINE$
|
|
1123
|
-
tmp.
|
|
1124
|
-
tmp.
|
|
1125
|
-
return tmp.
|
|
1121
|
+
lineEnding = lineEnding === VOID ? Companion_getInstance_1().t1w_1 : lineEnding;
|
|
1122
|
+
var tmp = new $readUTF8LineToCOROUTINE$(_this__u8e3s4, out, max, lineEnding, $completion);
|
|
1123
|
+
tmp.n9_1 = Unit_instance;
|
|
1124
|
+
tmp.o9_1 = null;
|
|
1125
|
+
return tmp.t9();
|
|
1126
1126
|
}
|
|
1127
1127
|
function rethrowCloseCauseIfNeeded_0(_this__u8e3s4) {
|
|
1128
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1128
|
+
var tmp0_safe_receiver = _this__u8e3s4.x1r();
|
|
1129
1129
|
if (tmp0_safe_receiver == null)
|
|
1130
1130
|
null;
|
|
1131
1131
|
else {
|
|
@@ -1134,7 +1134,7 @@ function rethrowCloseCauseIfNeeded_0(_this__u8e3s4) {
|
|
|
1134
1134
|
}
|
|
1135
1135
|
}
|
|
1136
1136
|
function rethrowCloseCauseIfNeeded_1(_this__u8e3s4) {
|
|
1137
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1137
|
+
var tmp0_safe_receiver = _this__u8e3s4.x1r();
|
|
1138
1138
|
if (tmp0_safe_receiver == null)
|
|
1139
1139
|
null;
|
|
1140
1140
|
else {
|
|
@@ -1143,207 +1143,207 @@ function rethrowCloseCauseIfNeeded_1(_this__u8e3s4) {
|
|
|
1143
1143
|
}
|
|
1144
1144
|
}
|
|
1145
1145
|
function skipIfFound(_this__u8e3s4, byteString, $completion) {
|
|
1146
|
-
var tmp = new $skipIfFoundCOROUTINE$
|
|
1147
|
-
tmp.
|
|
1148
|
-
tmp.
|
|
1149
|
-
return tmp.
|
|
1146
|
+
var tmp = new $skipIfFoundCOROUTINE$(_this__u8e3s4, byteString, $completion);
|
|
1147
|
+
tmp.n9_1 = Unit_instance;
|
|
1148
|
+
tmp.o9_1 = null;
|
|
1149
|
+
return tmp.t9();
|
|
1150
1150
|
}
|
|
1151
1151
|
function readPacket(_this__u8e3s4, packet, $completion) {
|
|
1152
|
-
var tmp = new $readPacketCOROUTINE$
|
|
1153
|
-
tmp.
|
|
1154
|
-
tmp.
|
|
1155
|
-
return tmp.
|
|
1152
|
+
var tmp = new $readPacketCOROUTINE$(_this__u8e3s4, packet, $completion);
|
|
1153
|
+
tmp.n9_1 = Unit_instance;
|
|
1154
|
+
tmp.o9_1 = null;
|
|
1155
|
+
return tmp.t9();
|
|
1156
1156
|
}
|
|
1157
1157
|
function readUntil(_this__u8e3s4, matchString, writeChannel, limit, ignoreMissing, $completion) {
|
|
1158
1158
|
limit = limit === VOID ? new Long(-1, 2147483647) : limit;
|
|
1159
1159
|
ignoreMissing = ignoreMissing === VOID ? false : ignoreMissing;
|
|
1160
|
-
return (new ByteChannelScanner(_this__u8e3s4, matchString, writeChannel, limit)).
|
|
1160
|
+
return (new ByteChannelScanner(_this__u8e3s4, matchString, writeChannel, limit)).w1t(ignoreMissing, $completion);
|
|
1161
1161
|
}
|
|
1162
1162
|
function peek(_this__u8e3s4, count, $completion) {
|
|
1163
|
-
var tmp = new $peekCOROUTINE$
|
|
1164
|
-
tmp.
|
|
1165
|
-
tmp.
|
|
1166
|
-
return tmp.
|
|
1163
|
+
var tmp = new $peekCOROUTINE$(_this__u8e3s4, count, $completion);
|
|
1164
|
+
tmp.n9_1 = Unit_instance;
|
|
1165
|
+
tmp.o9_1 = null;
|
|
1166
|
+
return tmp.t9();
|
|
1167
1167
|
}
|
|
1168
1168
|
function readUTF8LineTo$checkLineEndingAllowed($lineEnding, lineEndingToCheck) {
|
|
1169
1169
|
if (!LineEndingMode__contains_impl_q5pr68($lineEnding, lineEndingToCheck)) {
|
|
1170
1170
|
throw IOException_init_$Create$('Unexpected line ending ' + LineEndingMode__toString_impl_j4h76r(lineEndingToCheck) + ', while expected ' + LineEndingMode__toString_impl_j4h76r($lineEnding));
|
|
1171
1171
|
}
|
|
1172
1172
|
}
|
|
1173
|
-
function $readRemainingCOROUTINE$
|
|
1173
|
+
function $readRemainingCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
1174
1174
|
CoroutineImpl.call(this, resultContinuation);
|
|
1175
|
-
this.
|
|
1175
|
+
this.i1u_1 = _this__u8e3s4;
|
|
1176
1176
|
}
|
|
1177
|
-
protoOf($readRemainingCOROUTINE$
|
|
1178
|
-
var suspendResult = this.
|
|
1177
|
+
protoOf($readRemainingCOROUTINE$).t9 = function () {
|
|
1178
|
+
var suspendResult = this.n9_1;
|
|
1179
1179
|
$sm: do
|
|
1180
1180
|
try {
|
|
1181
|
-
var tmp = this.
|
|
1181
|
+
var tmp = this.l9_1;
|
|
1182
1182
|
switch (tmp) {
|
|
1183
1183
|
case 0:
|
|
1184
|
-
this.
|
|
1185
|
-
this.
|
|
1186
|
-
this.
|
|
1184
|
+
this.m9_1 = 4;
|
|
1185
|
+
this.j1u_1 = BytePacketBuilder();
|
|
1186
|
+
this.l9_1 = 1;
|
|
1187
1187
|
continue $sm;
|
|
1188
1188
|
case 1:
|
|
1189
|
-
if (!!this.
|
|
1190
|
-
this.
|
|
1189
|
+
if (!!this.i1u_1.z1r()) {
|
|
1190
|
+
this.l9_1 = 3;
|
|
1191
1191
|
continue $sm;
|
|
1192
1192
|
}
|
|
1193
1193
|
|
|
1194
|
-
this.
|
|
1195
|
-
this.
|
|
1196
|
-
suspendResult = this.
|
|
1194
|
+
this.j1u_1.e1o(this.i1u_1.s1r());
|
|
1195
|
+
this.l9_1 = 2;
|
|
1196
|
+
suspendResult = this.i1u_1.b1s(VOID, this);
|
|
1197
1197
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1198
1198
|
return suspendResult;
|
|
1199
1199
|
}
|
|
1200
1200
|
|
|
1201
1201
|
continue $sm;
|
|
1202
1202
|
case 2:
|
|
1203
|
-
this.
|
|
1203
|
+
this.l9_1 = 1;
|
|
1204
1204
|
continue $sm;
|
|
1205
1205
|
case 3:
|
|
1206
|
-
rethrowCloseCauseIfNeeded(this.
|
|
1207
|
-
return this.
|
|
1206
|
+
rethrowCloseCauseIfNeeded(this.i1u_1);
|
|
1207
|
+
return this.j1u_1.l1m();
|
|
1208
1208
|
case 4:
|
|
1209
|
-
throw this.
|
|
1209
|
+
throw this.o9_1;
|
|
1210
1210
|
}
|
|
1211
1211
|
} catch ($p) {
|
|
1212
1212
|
var e = $p;
|
|
1213
|
-
if (this.
|
|
1213
|
+
if (this.m9_1 === 4) {
|
|
1214
1214
|
throw e;
|
|
1215
1215
|
} else {
|
|
1216
|
-
this.
|
|
1217
|
-
this.
|
|
1216
|
+
this.l9_1 = this.m9_1;
|
|
1217
|
+
this.o9_1 = e;
|
|
1218
1218
|
}
|
|
1219
1219
|
}
|
|
1220
1220
|
while (true);
|
|
1221
1221
|
};
|
|
1222
|
-
function $discardCOROUTINE$
|
|
1222
|
+
function $discardCOROUTINE$(_this__u8e3s4, max, resultContinuation) {
|
|
1223
1223
|
CoroutineImpl.call(this, resultContinuation);
|
|
1224
|
-
this.
|
|
1225
|
-
this.
|
|
1224
|
+
this.s1u_1 = _this__u8e3s4;
|
|
1225
|
+
this.t1u_1 = max;
|
|
1226
1226
|
}
|
|
1227
|
-
protoOf($discardCOROUTINE$
|
|
1228
|
-
var suspendResult = this.
|
|
1227
|
+
protoOf($discardCOROUTINE$).t9 = function () {
|
|
1228
|
+
var suspendResult = this.n9_1;
|
|
1229
1229
|
$sm: do
|
|
1230
1230
|
try {
|
|
1231
|
-
var tmp = this.
|
|
1231
|
+
var tmp = this.l9_1;
|
|
1232
1232
|
switch (tmp) {
|
|
1233
1233
|
case 0:
|
|
1234
|
-
this.
|
|
1235
|
-
this.
|
|
1236
|
-
this.
|
|
1234
|
+
this.m9_1 = 5;
|
|
1235
|
+
this.u1u_1 = this.t1u_1;
|
|
1236
|
+
this.l9_1 = 1;
|
|
1237
1237
|
continue $sm;
|
|
1238
1238
|
case 1:
|
|
1239
|
-
if (!(this.
|
|
1240
|
-
this.
|
|
1239
|
+
if (!(this.u1u_1.h1(new Long(0, 0)) > 0 && !this.s1u_1.z1r())) {
|
|
1240
|
+
this.l9_1 = 4;
|
|
1241
1241
|
continue $sm;
|
|
1242
1242
|
}
|
|
1243
1243
|
|
|
1244
|
-
if (get_availableForRead(this.
|
|
1245
|
-
this.
|
|
1246
|
-
suspendResult = this.
|
|
1244
|
+
if (get_availableForRead(this.s1u_1) === 0) {
|
|
1245
|
+
this.l9_1 = 2;
|
|
1246
|
+
suspendResult = this.s1u_1.b1s(VOID, this);
|
|
1247
1247
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1248
1248
|
return suspendResult;
|
|
1249
1249
|
}
|
|
1250
1250
|
continue $sm;
|
|
1251
1251
|
} else {
|
|
1252
|
-
this.
|
|
1252
|
+
this.l9_1 = 3;
|
|
1253
1253
|
continue $sm;
|
|
1254
1254
|
}
|
|
1255
1255
|
|
|
1256
1256
|
case 2:
|
|
1257
|
-
this.
|
|
1257
|
+
this.l9_1 = 3;
|
|
1258
1258
|
continue $sm;
|
|
1259
1259
|
case 3:
|
|
1260
|
-
var tmp0 = this.
|
|
1261
|
-
var b = get_remaining(this.
|
|
1260
|
+
var tmp0 = this.u1u_1;
|
|
1261
|
+
var b = get_remaining(this.s1u_1.s1r());
|
|
1262
1262
|
var count = tmp0.h1(b) <= 0 ? tmp0 : b;
|
|
1263
|
-
discard_0(this.
|
|
1264
|
-
this.
|
|
1265
|
-
this.
|
|
1263
|
+
discard_0(this.s1u_1.s1r(), count);
|
|
1264
|
+
this.u1u_1 = this.u1u_1.d3(count);
|
|
1265
|
+
this.l9_1 = 1;
|
|
1266
1266
|
continue $sm;
|
|
1267
1267
|
case 4:
|
|
1268
|
-
return this.
|
|
1268
|
+
return this.t1u_1.d3(this.u1u_1);
|
|
1269
1269
|
case 5:
|
|
1270
|
-
throw this.
|
|
1270
|
+
throw this.o9_1;
|
|
1271
1271
|
}
|
|
1272
1272
|
} catch ($p) {
|
|
1273
1273
|
var e = $p;
|
|
1274
|
-
if (this.
|
|
1274
|
+
if (this.m9_1 === 5) {
|
|
1275
1275
|
throw e;
|
|
1276
1276
|
} else {
|
|
1277
|
-
this.
|
|
1278
|
-
this.
|
|
1277
|
+
this.l9_1 = this.m9_1;
|
|
1278
|
+
this.o9_1 = e;
|
|
1279
1279
|
}
|
|
1280
1280
|
}
|
|
1281
1281
|
while (true);
|
|
1282
1282
|
};
|
|
1283
|
-
function $readAvailableCOROUTINE$
|
|
1283
|
+
function $readAvailableCOROUTINE$(_this__u8e3s4, buffer, offset, length, resultContinuation) {
|
|
1284
1284
|
CoroutineImpl.call(this, resultContinuation);
|
|
1285
|
-
this.
|
|
1286
|
-
this.
|
|
1287
|
-
this.
|
|
1288
|
-
this.
|
|
1285
|
+
this.d1v_1 = _this__u8e3s4;
|
|
1286
|
+
this.e1v_1 = buffer;
|
|
1287
|
+
this.f1v_1 = offset;
|
|
1288
|
+
this.g1v_1 = length;
|
|
1289
1289
|
}
|
|
1290
|
-
protoOf($readAvailableCOROUTINE$
|
|
1291
|
-
var suspendResult = this.
|
|
1290
|
+
protoOf($readAvailableCOROUTINE$).t9 = function () {
|
|
1291
|
+
var suspendResult = this.n9_1;
|
|
1292
1292
|
$sm: do
|
|
1293
1293
|
try {
|
|
1294
|
-
var tmp = this.
|
|
1294
|
+
var tmp = this.l9_1;
|
|
1295
1295
|
switch (tmp) {
|
|
1296
1296
|
case 0:
|
|
1297
|
-
this.
|
|
1298
|
-
if (this.
|
|
1297
|
+
this.m9_1 = 3;
|
|
1298
|
+
if (this.d1v_1.z1r())
|
|
1299
1299
|
return -1;
|
|
1300
|
-
if (this.
|
|
1301
|
-
this.
|
|
1302
|
-
suspendResult = this.
|
|
1300
|
+
if (this.d1v_1.s1r().m1m()) {
|
|
1301
|
+
this.l9_1 = 1;
|
|
1302
|
+
suspendResult = this.d1v_1.b1s(VOID, this);
|
|
1303
1303
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1304
1304
|
return suspendResult;
|
|
1305
1305
|
}
|
|
1306
1306
|
continue $sm;
|
|
1307
1307
|
} else {
|
|
1308
|
-
this.
|
|
1308
|
+
this.l9_1 = 2;
|
|
1309
1309
|
continue $sm;
|
|
1310
1310
|
}
|
|
1311
1311
|
|
|
1312
1312
|
case 1:
|
|
1313
|
-
this.
|
|
1313
|
+
this.l9_1 = 2;
|
|
1314
1314
|
continue $sm;
|
|
1315
1315
|
case 2:
|
|
1316
|
-
if (this.
|
|
1316
|
+
if (this.d1v_1.z1r())
|
|
1317
1317
|
return -1;
|
|
1318
|
-
return readAvailable_0(this.
|
|
1318
|
+
return readAvailable_0(this.d1v_1.s1r(), this.e1v_1, this.f1v_1, this.g1v_1);
|
|
1319
1319
|
case 3:
|
|
1320
|
-
throw this.
|
|
1320
|
+
throw this.o9_1;
|
|
1321
1321
|
}
|
|
1322
1322
|
} catch ($p) {
|
|
1323
1323
|
var e = $p;
|
|
1324
|
-
if (this.
|
|
1324
|
+
if (this.m9_1 === 3) {
|
|
1325
1325
|
throw e;
|
|
1326
1326
|
} else {
|
|
1327
|
-
this.
|
|
1328
|
-
this.
|
|
1327
|
+
this.l9_1 = this.m9_1;
|
|
1328
|
+
this.o9_1 = e;
|
|
1329
1329
|
}
|
|
1330
1330
|
}
|
|
1331
1331
|
while (true);
|
|
1332
1332
|
};
|
|
1333
|
-
function $toByteArrayCOROUTINE$
|
|
1333
|
+
function $toByteArrayCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
1334
1334
|
CoroutineImpl.call(this, resultContinuation);
|
|
1335
|
-
this.
|
|
1335
|
+
this.p1v_1 = _this__u8e3s4;
|
|
1336
1336
|
}
|
|
1337
|
-
protoOf($toByteArrayCOROUTINE$
|
|
1338
|
-
var suspendResult = this.
|
|
1337
|
+
protoOf($toByteArrayCOROUTINE$).t9 = function () {
|
|
1338
|
+
var suspendResult = this.n9_1;
|
|
1339
1339
|
$sm: do
|
|
1340
1340
|
try {
|
|
1341
|
-
var tmp = this.
|
|
1341
|
+
var tmp = this.l9_1;
|
|
1342
1342
|
switch (tmp) {
|
|
1343
1343
|
case 0:
|
|
1344
|
-
this.
|
|
1345
|
-
this.
|
|
1346
|
-
suspendResult = readBuffer(this.
|
|
1344
|
+
this.m9_1 = 2;
|
|
1345
|
+
this.l9_1 = 1;
|
|
1346
|
+
suspendResult = readBuffer(this.p1v_1, this);
|
|
1347
1347
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1348
1348
|
return suspendResult;
|
|
1349
1349
|
}
|
|
@@ -1353,419 +1353,419 @@ protoOf($toByteArrayCOROUTINE$11).s9 = function () {
|
|
|
1353
1353
|
var ARGUMENT = suspendResult;
|
|
1354
1354
|
return readBytes(ARGUMENT);
|
|
1355
1355
|
case 2:
|
|
1356
|
-
throw this.
|
|
1356
|
+
throw this.o9_1;
|
|
1357
1357
|
}
|
|
1358
1358
|
} catch ($p) {
|
|
1359
1359
|
var e = $p;
|
|
1360
|
-
if (this.
|
|
1360
|
+
if (this.m9_1 === 2) {
|
|
1361
1361
|
throw e;
|
|
1362
1362
|
} else {
|
|
1363
|
-
this.
|
|
1364
|
-
this.
|
|
1363
|
+
this.l9_1 = this.m9_1;
|
|
1364
|
+
this.o9_1 = e;
|
|
1365
1365
|
}
|
|
1366
1366
|
}
|
|
1367
1367
|
while (true);
|
|
1368
1368
|
};
|
|
1369
|
-
function $copyToCOROUTINE$
|
|
1369
|
+
function $copyToCOROUTINE$(_this__u8e3s4, channel, limit, resultContinuation) {
|
|
1370
1370
|
CoroutineImpl.call(this, resultContinuation);
|
|
1371
|
-
this.
|
|
1372
|
-
this.
|
|
1373
|
-
this.
|
|
1371
|
+
this.y1v_1 = _this__u8e3s4;
|
|
1372
|
+
this.z1v_1 = channel;
|
|
1373
|
+
this.a1w_1 = limit;
|
|
1374
1374
|
}
|
|
1375
|
-
protoOf($copyToCOROUTINE$
|
|
1376
|
-
var suspendResult = this.
|
|
1375
|
+
protoOf($copyToCOROUTINE$).t9 = function () {
|
|
1376
|
+
var suspendResult = this.n9_1;
|
|
1377
1377
|
$sm: do
|
|
1378
1378
|
try {
|
|
1379
|
-
var tmp = this.
|
|
1379
|
+
var tmp = this.l9_1;
|
|
1380
1380
|
switch (tmp) {
|
|
1381
1381
|
case 0:
|
|
1382
|
-
this.
|
|
1383
|
-
this.
|
|
1384
|
-
this.
|
|
1382
|
+
this.m9_1 = 12;
|
|
1383
|
+
this.b1w_1 = this.a1w_1;
|
|
1384
|
+
this.l9_1 = 1;
|
|
1385
1385
|
continue $sm;
|
|
1386
1386
|
case 1:
|
|
1387
|
-
this.
|
|
1388
|
-
this.
|
|
1389
|
-
this.
|
|
1387
|
+
this.m9_1 = 8;
|
|
1388
|
+
this.m9_1 = 7;
|
|
1389
|
+
this.l9_1 = 2;
|
|
1390
1390
|
continue $sm;
|
|
1391
1391
|
case 2:
|
|
1392
|
-
if (!(!this.
|
|
1393
|
-
this.
|
|
1392
|
+
if (!(!this.y1v_1.z1r() && this.b1w_1.h1(new Long(0, 0)) > 0)) {
|
|
1393
|
+
this.l9_1 = 6;
|
|
1394
1394
|
continue $sm;
|
|
1395
1395
|
}
|
|
1396
1396
|
|
|
1397
|
-
if (this.
|
|
1398
|
-
this.
|
|
1399
|
-
suspendResult = this.
|
|
1397
|
+
if (this.y1v_1.s1r().m1m()) {
|
|
1398
|
+
this.l9_1 = 3;
|
|
1399
|
+
suspendResult = this.y1v_1.b1s(VOID, this);
|
|
1400
1400
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1401
1401
|
return suspendResult;
|
|
1402
1402
|
}
|
|
1403
1403
|
continue $sm;
|
|
1404
1404
|
} else {
|
|
1405
|
-
this.
|
|
1405
|
+
this.l9_1 = 4;
|
|
1406
1406
|
continue $sm;
|
|
1407
1407
|
}
|
|
1408
1408
|
|
|
1409
1409
|
case 3:
|
|
1410
|
-
this.
|
|
1410
|
+
this.l9_1 = 4;
|
|
1411
1411
|
continue $sm;
|
|
1412
1412
|
case 4:
|
|
1413
1413
|
var tmp_0 = this;
|
|
1414
|
-
var tmp0 = this.
|
|
1415
|
-
var b = get_remaining(this.
|
|
1416
|
-
tmp_0.
|
|
1417
|
-
this.
|
|
1418
|
-
this.
|
|
1419
|
-
this.
|
|
1420
|
-
suspendResult = this.
|
|
1414
|
+
var tmp0 = this.b1w_1;
|
|
1415
|
+
var b = get_remaining(this.y1v_1.s1r());
|
|
1416
|
+
tmp_0.d1w_1 = tmp0.h1(b) <= 0 ? tmp0 : b;
|
|
1417
|
+
this.y1v_1.s1r().p1n(this.z1v_1.v1r(), this.d1w_1);
|
|
1418
|
+
this.b1w_1 = this.b1w_1.d3(this.d1w_1);
|
|
1419
|
+
this.l9_1 = 5;
|
|
1420
|
+
suspendResult = this.z1v_1.r1r(this);
|
|
1421
1421
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1422
1422
|
return suspendResult;
|
|
1423
1423
|
}
|
|
1424
1424
|
|
|
1425
1425
|
continue $sm;
|
|
1426
1426
|
case 5:
|
|
1427
|
-
this.
|
|
1427
|
+
this.l9_1 = 2;
|
|
1428
1428
|
continue $sm;
|
|
1429
1429
|
case 6:
|
|
1430
|
-
this.
|
|
1431
|
-
this.
|
|
1432
|
-
this.
|
|
1430
|
+
this.c1w_1 = Unit_instance;
|
|
1431
|
+
this.m9_1 = 12;
|
|
1432
|
+
this.l9_1 = 10;
|
|
1433
1433
|
continue $sm;
|
|
1434
1434
|
case 7:
|
|
1435
|
-
this.
|
|
1436
|
-
var tmp_1 = this.
|
|
1435
|
+
this.m9_1 = 8;
|
|
1436
|
+
var tmp_1 = this.o9_1;
|
|
1437
1437
|
if (tmp_1 instanceof Error) {
|
|
1438
|
-
this.
|
|
1438
|
+
this.e1w_1 = this.o9_1;
|
|
1439
1439
|
var tmp_2 = this;
|
|
1440
|
-
this.
|
|
1441
|
-
close_0(this.
|
|
1442
|
-
throw this.
|
|
1440
|
+
this.y1v_1.d1s(this.e1w_1);
|
|
1441
|
+
close_0(this.z1v_1, this.e1w_1);
|
|
1442
|
+
throw this.e1w_1;
|
|
1443
1443
|
} else {
|
|
1444
|
-
throw this.
|
|
1444
|
+
throw this.o9_1;
|
|
1445
1445
|
}
|
|
1446
1446
|
|
|
1447
1447
|
case 8:
|
|
1448
|
-
this.
|
|
1449
|
-
this.
|
|
1450
|
-
this.
|
|
1451
|
-
suspendResult = this.
|
|
1448
|
+
this.m9_1 = 12;
|
|
1449
|
+
this.f1w_1 = this.o9_1;
|
|
1450
|
+
this.l9_1 = 9;
|
|
1451
|
+
suspendResult = this.z1v_1.r1r(this);
|
|
1452
1452
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1453
1453
|
return suspendResult;
|
|
1454
1454
|
}
|
|
1455
1455
|
|
|
1456
1456
|
continue $sm;
|
|
1457
1457
|
case 9:
|
|
1458
|
-
throw this.
|
|
1458
|
+
throw this.f1w_1;
|
|
1459
1459
|
case 10:
|
|
1460
|
-
this.
|
|
1461
|
-
this.
|
|
1462
|
-
suspendResult = this.
|
|
1460
|
+
this.m9_1 = 12;
|
|
1461
|
+
this.l9_1 = 11;
|
|
1462
|
+
suspendResult = this.z1v_1.r1r(this);
|
|
1463
1463
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1464
1464
|
return suspendResult;
|
|
1465
1465
|
}
|
|
1466
1466
|
|
|
1467
1467
|
continue $sm;
|
|
1468
1468
|
case 11:
|
|
1469
|
-
return this.
|
|
1469
|
+
return this.a1w_1.d3(this.b1w_1);
|
|
1470
1470
|
case 12:
|
|
1471
|
-
throw this.
|
|
1471
|
+
throw this.o9_1;
|
|
1472
1472
|
}
|
|
1473
1473
|
} catch ($p) {
|
|
1474
1474
|
var e = $p;
|
|
1475
|
-
if (this.
|
|
1475
|
+
if (this.m9_1 === 12) {
|
|
1476
1476
|
throw e;
|
|
1477
1477
|
} else {
|
|
1478
|
-
this.
|
|
1479
|
-
this.
|
|
1478
|
+
this.l9_1 = this.m9_1;
|
|
1479
|
+
this.o9_1 = e;
|
|
1480
1480
|
}
|
|
1481
1481
|
}
|
|
1482
1482
|
while (true);
|
|
1483
1483
|
};
|
|
1484
|
-
function $readBufferCOROUTINE$
|
|
1484
|
+
function $readBufferCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
1485
1485
|
CoroutineImpl.call(this, resultContinuation);
|
|
1486
|
-
this.
|
|
1486
|
+
this.o1w_1 = _this__u8e3s4;
|
|
1487
1487
|
}
|
|
1488
|
-
protoOf($readBufferCOROUTINE$
|
|
1489
|
-
var suspendResult = this.
|
|
1488
|
+
protoOf($readBufferCOROUTINE$).t9 = function () {
|
|
1489
|
+
var suspendResult = this.n9_1;
|
|
1490
1490
|
$sm: do
|
|
1491
1491
|
try {
|
|
1492
|
-
var tmp = this.
|
|
1492
|
+
var tmp = this.l9_1;
|
|
1493
1493
|
switch (tmp) {
|
|
1494
1494
|
case 0:
|
|
1495
|
-
this.
|
|
1496
|
-
this.
|
|
1497
|
-
this.
|
|
1495
|
+
this.m9_1 = 4;
|
|
1496
|
+
this.p1w_1 = new Buffer();
|
|
1497
|
+
this.l9_1 = 1;
|
|
1498
1498
|
continue $sm;
|
|
1499
1499
|
case 1:
|
|
1500
|
-
if (!!this.
|
|
1501
|
-
this.
|
|
1500
|
+
if (!!this.o1w_1.z1r()) {
|
|
1501
|
+
this.l9_1 = 3;
|
|
1502
1502
|
continue $sm;
|
|
1503
1503
|
}
|
|
1504
1504
|
|
|
1505
|
-
this.
|
|
1506
|
-
this.
|
|
1507
|
-
suspendResult = this.
|
|
1505
|
+
this.p1w_1.e1o(this.o1w_1.s1r());
|
|
1506
|
+
this.l9_1 = 2;
|
|
1507
|
+
suspendResult = this.o1w_1.b1s(VOID, this);
|
|
1508
1508
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1509
1509
|
return suspendResult;
|
|
1510
1510
|
}
|
|
1511
1511
|
|
|
1512
1512
|
continue $sm;
|
|
1513
1513
|
case 2:
|
|
1514
|
-
this.
|
|
1514
|
+
this.l9_1 = 1;
|
|
1515
1515
|
continue $sm;
|
|
1516
1516
|
case 3:
|
|
1517
|
-
var tmp0_safe_receiver = this.
|
|
1517
|
+
var tmp0_safe_receiver = this.o1w_1.x1r();
|
|
1518
1518
|
if (tmp0_safe_receiver == null)
|
|
1519
1519
|
null;
|
|
1520
1520
|
else {
|
|
1521
1521
|
throw tmp0_safe_receiver;
|
|
1522
1522
|
}
|
|
1523
1523
|
|
|
1524
|
-
return this.
|
|
1524
|
+
return this.p1w_1;
|
|
1525
1525
|
case 4:
|
|
1526
|
-
throw this.
|
|
1526
|
+
throw this.o9_1;
|
|
1527
1527
|
}
|
|
1528
1528
|
} catch ($p) {
|
|
1529
1529
|
var e = $p;
|
|
1530
|
-
if (this.
|
|
1530
|
+
if (this.m9_1 === 4) {
|
|
1531
1531
|
throw e;
|
|
1532
1532
|
} else {
|
|
1533
|
-
this.
|
|
1534
|
-
this.
|
|
1533
|
+
this.l9_1 = this.m9_1;
|
|
1534
|
+
this.o9_1 = e;
|
|
1535
1535
|
}
|
|
1536
1536
|
}
|
|
1537
1537
|
while (true);
|
|
1538
1538
|
};
|
|
1539
|
-
function $readUTF8LineToCOROUTINE$
|
|
1539
|
+
function $readUTF8LineToCOROUTINE$(_this__u8e3s4, out, max, lineEnding, resultContinuation) {
|
|
1540
1540
|
CoroutineImpl.call(this, resultContinuation);
|
|
1541
|
-
this.
|
|
1542
|
-
this.
|
|
1543
|
-
this.
|
|
1544
|
-
this.
|
|
1541
|
+
this.d1x_1 = _this__u8e3s4;
|
|
1542
|
+
this.e1x_1 = out;
|
|
1543
|
+
this.f1x_1 = max;
|
|
1544
|
+
this.g1x_1 = lineEnding;
|
|
1545
1545
|
}
|
|
1546
|
-
protoOf($readUTF8LineToCOROUTINE$
|
|
1547
|
-
var suspendResult = this.
|
|
1546
|
+
protoOf($readUTF8LineToCOROUTINE$).t9 = function () {
|
|
1547
|
+
var suspendResult = this.n9_1;
|
|
1548
1548
|
$sm: do
|
|
1549
1549
|
try {
|
|
1550
|
-
var tmp = this.
|
|
1550
|
+
var tmp = this.l9_1;
|
|
1551
1551
|
switch (tmp) {
|
|
1552
1552
|
case 0:
|
|
1553
|
-
this.
|
|
1554
|
-
if (this.
|
|
1555
|
-
this.
|
|
1556
|
-
suspendResult = this.
|
|
1553
|
+
this.m9_1 = 21;
|
|
1554
|
+
if (this.d1x_1.s1r().m1m()) {
|
|
1555
|
+
this.l9_1 = 1;
|
|
1556
|
+
suspendResult = this.d1x_1.b1s(VOID, this);
|
|
1557
1557
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1558
1558
|
return suspendResult;
|
|
1559
1559
|
}
|
|
1560
1560
|
continue $sm;
|
|
1561
1561
|
} else {
|
|
1562
|
-
this.
|
|
1562
|
+
this.l9_1 = 2;
|
|
1563
1563
|
continue $sm;
|
|
1564
1564
|
}
|
|
1565
1565
|
|
|
1566
1566
|
case 1:
|
|
1567
|
-
this.
|
|
1567
|
+
this.l9_1 = 2;
|
|
1568
1568
|
continue $sm;
|
|
1569
1569
|
case 2:
|
|
1570
|
-
if (this.
|
|
1570
|
+
if (this.d1x_1.z1r())
|
|
1571
1571
|
return false;
|
|
1572
1572
|
var tmp_0 = this;
|
|
1573
|
-
tmp_0.
|
|
1574
|
-
this.
|
|
1573
|
+
tmp_0.h1x_1 = new Buffer();
|
|
1574
|
+
this.l9_1 = 3;
|
|
1575
1575
|
continue $sm;
|
|
1576
1576
|
case 3:
|
|
1577
|
-
this.
|
|
1578
|
-
this.
|
|
1579
|
-
this.
|
|
1577
|
+
this.j1x_1 = this.h1x_1;
|
|
1578
|
+
this.k1x_1 = null;
|
|
1579
|
+
this.l9_1 = 4;
|
|
1580
1580
|
continue $sm;
|
|
1581
1581
|
case 4:
|
|
1582
|
-
this.
|
|
1582
|
+
this.l9_1 = 5;
|
|
1583
1583
|
continue $sm;
|
|
1584
1584
|
case 5:
|
|
1585
|
-
this.
|
|
1585
|
+
this.l9_1 = 6;
|
|
1586
1586
|
continue $sm;
|
|
1587
1587
|
case 6:
|
|
1588
|
-
this.
|
|
1589
|
-
this.
|
|
1588
|
+
this.m9_1 = 18;
|
|
1589
|
+
this.m9_1 = 17;
|
|
1590
1590
|
var tmp_1 = this;
|
|
1591
|
-
tmp_1.
|
|
1592
|
-
this.
|
|
1593
|
-
this.
|
|
1591
|
+
tmp_1.m1x_1 = this.j1x_1;
|
|
1592
|
+
this.n1x_1 = this.m1x_1;
|
|
1593
|
+
this.l9_1 = 7;
|
|
1594
1594
|
continue $sm;
|
|
1595
1595
|
case 7:
|
|
1596
|
-
if (!!this.
|
|
1597
|
-
this.
|
|
1596
|
+
if (!!this.d1x_1.z1r()) {
|
|
1597
|
+
this.l9_1 = 14;
|
|
1598
1598
|
continue $sm;
|
|
1599
1599
|
}
|
|
1600
1600
|
|
|
1601
|
-
this.
|
|
1601
|
+
this.l9_1 = 8;
|
|
1602
1602
|
continue $sm;
|
|
1603
1603
|
case 8:
|
|
1604
|
-
if (!!this.
|
|
1605
|
-
this.
|
|
1604
|
+
if (!!this.d1x_1.s1r().m1m()) {
|
|
1605
|
+
this.l9_1 = 12;
|
|
1606
1606
|
continue $sm;
|
|
1607
1607
|
}
|
|
1608
1608
|
|
|
1609
|
-
this.
|
|
1610
|
-
if (this.
|
|
1611
|
-
if (this.
|
|
1612
|
-
this.
|
|
1613
|
-
suspendResult = this.
|
|
1609
|
+
this.o1x_1 = this.d1x_1.s1r().p1m();
|
|
1610
|
+
if (this.o1x_1 === 13) {
|
|
1611
|
+
if (this.d1x_1.s1r().m1m()) {
|
|
1612
|
+
this.l9_1 = 10;
|
|
1613
|
+
suspendResult = this.d1x_1.b1s(VOID, this);
|
|
1614
1614
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1615
1615
|
return suspendResult;
|
|
1616
1616
|
}
|
|
1617
1617
|
continue $sm;
|
|
1618
1618
|
} else {
|
|
1619
|
-
this.
|
|
1619
|
+
this.l9_1 = 11;
|
|
1620
1620
|
continue $sm;
|
|
1621
1621
|
}
|
|
1622
1622
|
} else {
|
|
1623
|
-
if (this.
|
|
1624
|
-
readUTF8LineTo$checkLineEndingAllowed(this.
|
|
1625
|
-
this.
|
|
1626
|
-
this.
|
|
1627
|
-
this.
|
|
1628
|
-
this.
|
|
1623
|
+
if (this.o1x_1 === 10) {
|
|
1624
|
+
readUTF8LineTo$checkLineEndingAllowed(this.g1x_1, Companion_getInstance_1().r1w_1);
|
|
1625
|
+
this.e1x_1.o(readString(this.n1x_1));
|
|
1626
|
+
this.l1x_1 = true;
|
|
1627
|
+
this.m9_1 = 21;
|
|
1628
|
+
this.l9_1 = 15;
|
|
1629
1629
|
continue $sm;
|
|
1630
1630
|
} else {
|
|
1631
|
-
this.
|
|
1632
|
-
this.
|
|
1631
|
+
this.n1x_1.f1o(this.o1x_1);
|
|
1632
|
+
this.l9_1 = 9;
|
|
1633
1633
|
continue $sm;
|
|
1634
1634
|
}
|
|
1635
1635
|
}
|
|
1636
1636
|
|
|
1637
1637
|
case 9:
|
|
1638
|
-
this.
|
|
1638
|
+
this.l9_1 = 8;
|
|
1639
1639
|
continue $sm;
|
|
1640
1640
|
case 10:
|
|
1641
|
-
this.
|
|
1641
|
+
this.l9_1 = 11;
|
|
1642
1642
|
continue $sm;
|
|
1643
1643
|
case 11:
|
|
1644
|
-
if (this.
|
|
1645
|
-
readUTF8LineTo$checkLineEndingAllowed(this.
|
|
1646
|
-
discard_0(this.
|
|
1644
|
+
if (this.d1x_1.s1r().l1m().h1n(new Long(0, 0)) === 10) {
|
|
1645
|
+
readUTF8LineTo$checkLineEndingAllowed(this.g1x_1, Companion_getInstance_1().s1w_1);
|
|
1646
|
+
discard_0(this.d1x_1.s1r(), new Long(1, 0));
|
|
1647
1647
|
} else {
|
|
1648
|
-
readUTF8LineTo$checkLineEndingAllowed(this.
|
|
1648
|
+
readUTF8LineTo$checkLineEndingAllowed(this.g1x_1, Companion_getInstance_1().q1w_1);
|
|
1649
1649
|
}
|
|
1650
1650
|
|
|
1651
|
-
this.
|
|
1652
|
-
this.
|
|
1653
|
-
this.
|
|
1654
|
-
this.
|
|
1651
|
+
this.e1x_1.o(readString(this.n1x_1));
|
|
1652
|
+
this.l1x_1 = true;
|
|
1653
|
+
this.m9_1 = 21;
|
|
1654
|
+
this.l9_1 = 15;
|
|
1655
1655
|
continue $sm;
|
|
1656
1656
|
case 12:
|
|
1657
|
-
if (this.
|
|
1658
|
-
throw new TooLongLineException('Line exceeds limit of ' + this.
|
|
1657
|
+
if (this.n1x_1.t().h1(toLong(this.f1x_1)) >= 0) {
|
|
1658
|
+
throw new TooLongLineException('Line exceeds limit of ' + this.f1x_1 + ' characters');
|
|
1659
1659
|
}
|
|
1660
1660
|
|
|
1661
|
-
this.
|
|
1662
|
-
suspendResult = this.
|
|
1661
|
+
this.l9_1 = 13;
|
|
1662
|
+
suspendResult = this.d1x_1.b1s(VOID, this);
|
|
1663
1663
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1664
1664
|
return suspendResult;
|
|
1665
1665
|
}
|
|
1666
1666
|
|
|
1667
1667
|
continue $sm;
|
|
1668
1668
|
case 13:
|
|
1669
|
-
this.
|
|
1669
|
+
this.l9_1 = 7;
|
|
1670
1670
|
continue $sm;
|
|
1671
1671
|
case 14:
|
|
1672
1672
|
var tmp_2 = this;
|
|
1673
|
-
var this_0 = this.
|
|
1673
|
+
var this_0 = this.n1x_1.t().h1(new Long(0, 0)) > 0;
|
|
1674
1674
|
if (this_0) {
|
|
1675
|
-
this.
|
|
1675
|
+
this.e1x_1.o(readString(this.n1x_1));
|
|
1676
1676
|
}
|
|
1677
1677
|
|
|
1678
|
-
tmp_2.
|
|
1679
|
-
this.
|
|
1680
|
-
this.
|
|
1678
|
+
tmp_2.l1x_1 = this_0;
|
|
1679
|
+
this.m9_1 = 21;
|
|
1680
|
+
this.l9_1 = 15;
|
|
1681
1681
|
var tmp_3 = this;
|
|
1682
1682
|
continue $sm;
|
|
1683
1683
|
case 15:
|
|
1684
|
-
var tmp_4 = this.
|
|
1685
|
-
this.
|
|
1686
|
-
closeFinally(this.
|
|
1684
|
+
var tmp_4 = this.l1x_1;
|
|
1685
|
+
this.m9_1 = 21;
|
|
1686
|
+
closeFinally(this.j1x_1, this.k1x_1);
|
|
1687
1687
|
return tmp_4;
|
|
1688
1688
|
case 16:
|
|
1689
|
-
this.
|
|
1689
|
+
this.m9_1 = 21;
|
|
1690
1690
|
var tmp_5 = this;
|
|
1691
|
-
closeFinally(this.
|
|
1692
|
-
tmp_5.
|
|
1693
|
-
this.
|
|
1691
|
+
closeFinally(this.j1x_1, this.k1x_1);
|
|
1692
|
+
tmp_5.i1x_1 = Unit_instance;
|
|
1693
|
+
this.l9_1 = 20;
|
|
1694
1694
|
continue $sm;
|
|
1695
1695
|
case 17:
|
|
1696
|
-
this.
|
|
1697
|
-
var tmp_6 = this.
|
|
1696
|
+
this.m9_1 = 18;
|
|
1697
|
+
var tmp_6 = this.o9_1;
|
|
1698
1698
|
if (tmp_6 instanceof Error) {
|
|
1699
|
-
var e = this.
|
|
1699
|
+
var e = this.o9_1;
|
|
1700
1700
|
var tmp_7 = this;
|
|
1701
|
-
this.
|
|
1701
|
+
this.k1x_1 = e;
|
|
1702
1702
|
throw e;
|
|
1703
1703
|
} else {
|
|
1704
|
-
throw this.
|
|
1704
|
+
throw this.o9_1;
|
|
1705
1705
|
}
|
|
1706
1706
|
|
|
1707
1707
|
case 18:
|
|
1708
|
-
this.
|
|
1709
|
-
var t = this.
|
|
1710
|
-
closeFinally(this.
|
|
1708
|
+
this.m9_1 = 21;
|
|
1709
|
+
var t = this.o9_1;
|
|
1710
|
+
closeFinally(this.j1x_1, this.k1x_1);
|
|
1711
1711
|
throw t;
|
|
1712
1712
|
case 19:
|
|
1713
|
-
this.
|
|
1714
|
-
closeFinally(this.
|
|
1713
|
+
this.m9_1 = 21;
|
|
1714
|
+
closeFinally(this.j1x_1, this.k1x_1);
|
|
1715
1715
|
if (false) {
|
|
1716
|
-
this.
|
|
1716
|
+
this.l9_1 = 3;
|
|
1717
1717
|
continue $sm;
|
|
1718
1718
|
}
|
|
1719
1719
|
|
|
1720
|
-
this.
|
|
1720
|
+
this.l9_1 = 20;
|
|
1721
1721
|
continue $sm;
|
|
1722
1722
|
case 20:
|
|
1723
1723
|
return Unit_instance;
|
|
1724
1724
|
case 21:
|
|
1725
|
-
throw this.
|
|
1725
|
+
throw this.o9_1;
|
|
1726
1726
|
}
|
|
1727
1727
|
} catch ($p) {
|
|
1728
1728
|
var e_0 = $p;
|
|
1729
|
-
if (this.
|
|
1729
|
+
if (this.m9_1 === 21) {
|
|
1730
1730
|
throw e_0;
|
|
1731
1731
|
} else {
|
|
1732
|
-
this.
|
|
1733
|
-
this.
|
|
1732
|
+
this.l9_1 = this.m9_1;
|
|
1733
|
+
this.o9_1 = e_0;
|
|
1734
1734
|
}
|
|
1735
1735
|
}
|
|
1736
1736
|
while (true);
|
|
1737
1737
|
};
|
|
1738
|
-
function $skipIfFoundCOROUTINE$
|
|
1738
|
+
function $skipIfFoundCOROUTINE$(_this__u8e3s4, byteString, resultContinuation) {
|
|
1739
1739
|
CoroutineImpl.call(this, resultContinuation);
|
|
1740
|
-
this.
|
|
1741
|
-
this.
|
|
1740
|
+
this.x1x_1 = _this__u8e3s4;
|
|
1741
|
+
this.y1x_1 = byteString;
|
|
1742
1742
|
}
|
|
1743
|
-
protoOf($skipIfFoundCOROUTINE$
|
|
1744
|
-
var suspendResult = this.
|
|
1743
|
+
protoOf($skipIfFoundCOROUTINE$).t9 = function () {
|
|
1744
|
+
var suspendResult = this.n9_1;
|
|
1745
1745
|
$sm: do
|
|
1746
1746
|
try {
|
|
1747
|
-
var tmp = this.
|
|
1747
|
+
var tmp = this.l9_1;
|
|
1748
1748
|
switch (tmp) {
|
|
1749
1749
|
case 0:
|
|
1750
|
-
this.
|
|
1751
|
-
this.
|
|
1752
|
-
suspendResult = peek(this.
|
|
1750
|
+
this.m9_1 = 4;
|
|
1751
|
+
this.l9_1 = 1;
|
|
1752
|
+
suspendResult = peek(this.x1x_1, this.y1x_1.t(), this);
|
|
1753
1753
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1754
1754
|
return suspendResult;
|
|
1755
1755
|
}
|
|
1756
1756
|
|
|
1757
1757
|
continue $sm;
|
|
1758
1758
|
case 1:
|
|
1759
|
-
this.
|
|
1760
|
-
if (equals(this.
|
|
1761
|
-
this.
|
|
1762
|
-
suspendResult = discard(this.
|
|
1759
|
+
this.z1x_1 = suspendResult;
|
|
1760
|
+
if (equals(this.z1x_1, this.y1x_1)) {
|
|
1761
|
+
this.l9_1 = 3;
|
|
1762
|
+
suspendResult = discard(this.x1x_1, toLong(this.y1x_1.t()), this);
|
|
1763
1763
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1764
1764
|
return suspendResult;
|
|
1765
1765
|
}
|
|
1766
1766
|
continue $sm;
|
|
1767
1767
|
} else {
|
|
1768
|
-
this.
|
|
1768
|
+
this.l9_1 = 2;
|
|
1769
1769
|
continue $sm;
|
|
1770
1770
|
}
|
|
1771
1771
|
|
|
@@ -1774,111 +1774,111 @@ protoOf($skipIfFoundCOROUTINE$15).s9 = function () {
|
|
|
1774
1774
|
case 3:
|
|
1775
1775
|
return true;
|
|
1776
1776
|
case 4:
|
|
1777
|
-
throw this.
|
|
1777
|
+
throw this.o9_1;
|
|
1778
1778
|
}
|
|
1779
1779
|
} catch ($p) {
|
|
1780
1780
|
var e = $p;
|
|
1781
|
-
if (this.
|
|
1781
|
+
if (this.m9_1 === 4) {
|
|
1782
1782
|
throw e;
|
|
1783
1783
|
} else {
|
|
1784
|
-
this.
|
|
1785
|
-
this.
|
|
1784
|
+
this.l9_1 = this.m9_1;
|
|
1785
|
+
this.o9_1 = e;
|
|
1786
1786
|
}
|
|
1787
1787
|
}
|
|
1788
1788
|
while (true);
|
|
1789
1789
|
};
|
|
1790
|
-
function $readPacketCOROUTINE$
|
|
1790
|
+
function $readPacketCOROUTINE$(_this__u8e3s4, packet, resultContinuation) {
|
|
1791
1791
|
CoroutineImpl.call(this, resultContinuation);
|
|
1792
|
-
this.
|
|
1793
|
-
this.
|
|
1792
|
+
this.i1y_1 = _this__u8e3s4;
|
|
1793
|
+
this.j1y_1 = packet;
|
|
1794
1794
|
}
|
|
1795
|
-
protoOf($readPacketCOROUTINE$
|
|
1796
|
-
var suspendResult = this.
|
|
1795
|
+
protoOf($readPacketCOROUTINE$).t9 = function () {
|
|
1796
|
+
var suspendResult = this.n9_1;
|
|
1797
1797
|
$sm: do
|
|
1798
1798
|
try {
|
|
1799
|
-
var tmp = this.
|
|
1799
|
+
var tmp = this.l9_1;
|
|
1800
1800
|
switch (tmp) {
|
|
1801
1801
|
case 0:
|
|
1802
|
-
this.
|
|
1803
|
-
this.
|
|
1804
|
-
this.
|
|
1802
|
+
this.m9_1 = 6;
|
|
1803
|
+
this.k1y_1 = new Buffer();
|
|
1804
|
+
this.l9_1 = 1;
|
|
1805
1805
|
continue $sm;
|
|
1806
1806
|
case 1:
|
|
1807
|
-
if (!(this.
|
|
1808
|
-
this.
|
|
1807
|
+
if (!(this.k1y_1.t().h1(toLong(this.j1y_1)) < 0)) {
|
|
1808
|
+
this.l9_1 = 5;
|
|
1809
1809
|
continue $sm;
|
|
1810
1810
|
}
|
|
1811
1811
|
|
|
1812
|
-
if (this.
|
|
1813
|
-
this.
|
|
1814
|
-
suspendResult = this.
|
|
1812
|
+
if (this.i1y_1.s1r().m1m()) {
|
|
1813
|
+
this.l9_1 = 2;
|
|
1814
|
+
suspendResult = this.i1y_1.b1s(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.l9_1 = 3;
|
|
1821
1821
|
continue $sm;
|
|
1822
1822
|
}
|
|
1823
1823
|
|
|
1824
1824
|
case 2:
|
|
1825
|
-
this.
|
|
1825
|
+
this.l9_1 = 3;
|
|
1826
1826
|
continue $sm;
|
|
1827
1827
|
case 3:
|
|
1828
|
-
if (this.
|
|
1829
|
-
this.
|
|
1828
|
+
if (this.i1y_1.z1r()) {
|
|
1829
|
+
this.l9_1 = 5;
|
|
1830
1830
|
continue $sm;
|
|
1831
1831
|
} else {
|
|
1832
|
-
this.
|
|
1832
|
+
this.l9_1 = 4;
|
|
1833
1833
|
continue $sm;
|
|
1834
1834
|
}
|
|
1835
1835
|
|
|
1836
1836
|
case 4:
|
|
1837
|
-
if (get_remaining(this.
|
|
1838
|
-
this.
|
|
1837
|
+
if (get_remaining(this.i1y_1.s1r()).h1(numberToLong(this.j1y_1).d3(this.k1y_1.t())) > 0) {
|
|
1838
|
+
this.i1y_1.s1r().p1n(this.k1y_1, numberToLong(this.j1y_1).d3(this.k1y_1.t()));
|
|
1839
1839
|
} else {
|
|
1840
|
-
this.
|
|
1840
|
+
this.i1y_1.s1r().q1n(this.k1y_1);
|
|
1841
1841
|
}
|
|
1842
1842
|
|
|
1843
|
-
this.
|
|
1843
|
+
this.l9_1 = 1;
|
|
1844
1844
|
continue $sm;
|
|
1845
1845
|
case 5:
|
|
1846
|
-
if (this.
|
|
1847
|
-
throw EOFException_init_$Create$('Not enough data available, required ' + this.
|
|
1846
|
+
if (this.k1y_1.t().h1(toLong(this.j1y_1)) < 0) {
|
|
1847
|
+
throw EOFException_init_$Create$('Not enough data available, required ' + this.j1y_1 + ' bytes but only ' + this.k1y_1.t().toString() + ' available');
|
|
1848
1848
|
}
|
|
1849
1849
|
|
|
1850
|
-
return this.
|
|
1850
|
+
return this.k1y_1;
|
|
1851
1851
|
case 6:
|
|
1852
|
-
throw this.
|
|
1852
|
+
throw this.o9_1;
|
|
1853
1853
|
}
|
|
1854
1854
|
} catch ($p) {
|
|
1855
1855
|
var e = $p;
|
|
1856
|
-
if (this.
|
|
1856
|
+
if (this.m9_1 === 6) {
|
|
1857
1857
|
throw e;
|
|
1858
1858
|
} else {
|
|
1859
|
-
this.
|
|
1860
|
-
this.
|
|
1859
|
+
this.l9_1 = this.m9_1;
|
|
1860
|
+
this.o9_1 = e;
|
|
1861
1861
|
}
|
|
1862
1862
|
}
|
|
1863
1863
|
while (true);
|
|
1864
1864
|
};
|
|
1865
|
-
function $peekCOROUTINE$
|
|
1865
|
+
function $peekCOROUTINE$(_this__u8e3s4, count, resultContinuation) {
|
|
1866
1866
|
CoroutineImpl.call(this, resultContinuation);
|
|
1867
|
-
this.
|
|
1868
|
-
this.
|
|
1867
|
+
this.t1y_1 = _this__u8e3s4;
|
|
1868
|
+
this.u1y_1 = count;
|
|
1869
1869
|
}
|
|
1870
|
-
protoOf($peekCOROUTINE$
|
|
1871
|
-
var suspendResult = this.
|
|
1870
|
+
protoOf($peekCOROUTINE$).t9 = function () {
|
|
1871
|
+
var suspendResult = this.n9_1;
|
|
1872
1872
|
$sm: do
|
|
1873
1873
|
try {
|
|
1874
|
-
var tmp = this.
|
|
1874
|
+
var tmp = this.l9_1;
|
|
1875
1875
|
switch (tmp) {
|
|
1876
1876
|
case 0:
|
|
1877
|
-
this.
|
|
1878
|
-
if (this.
|
|
1877
|
+
this.m9_1 = 3;
|
|
1878
|
+
if (this.t1y_1.z1r())
|
|
1879
1879
|
return null;
|
|
1880
|
-
this.
|
|
1881
|
-
suspendResult = this.
|
|
1880
|
+
this.l9_1 = 1;
|
|
1881
|
+
suspendResult = this.t1y_1.a1s(this.u1y_1, this);
|
|
1882
1882
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1883
1883
|
return suspendResult;
|
|
1884
1884
|
}
|
|
@@ -1889,81 +1889,81 @@ protoOf($peekCOROUTINE$17).s9 = function () {
|
|
|
1889
1889
|
if (!ARGUMENT) {
|
|
1890
1890
|
return null;
|
|
1891
1891
|
} else {
|
|
1892
|
-
this.
|
|
1892
|
+
this.l9_1 = 2;
|
|
1893
1893
|
continue $sm;
|
|
1894
1894
|
}
|
|
1895
1895
|
|
|
1896
1896
|
case 2:
|
|
1897
|
-
return readByteString(this.
|
|
1897
|
+
return readByteString(this.t1y_1.s1r().r1n(), this.u1y_1);
|
|
1898
1898
|
case 3:
|
|
1899
|
-
throw this.
|
|
1899
|
+
throw this.o9_1;
|
|
1900
1900
|
}
|
|
1901
1901
|
} catch ($p) {
|
|
1902
1902
|
var e = $p;
|
|
1903
|
-
if (this.
|
|
1903
|
+
if (this.m9_1 === 3) {
|
|
1904
1904
|
throw e;
|
|
1905
1905
|
} else {
|
|
1906
|
-
this.
|
|
1907
|
-
this.
|
|
1906
|
+
this.l9_1 = this.m9_1;
|
|
1907
|
+
this.o9_1 = e;
|
|
1908
1908
|
}
|
|
1909
1909
|
}
|
|
1910
1910
|
while (true);
|
|
1911
1911
|
};
|
|
1912
1912
|
function flushIfNeeded(_this__u8e3s4, $completion) {
|
|
1913
|
-
var tmp = new $flushIfNeededCOROUTINE$
|
|
1914
|
-
tmp.
|
|
1915
|
-
tmp.
|
|
1916
|
-
return tmp.
|
|
1913
|
+
var tmp = new $flushIfNeededCOROUTINE$(_this__u8e3s4, $completion);
|
|
1914
|
+
tmp.n9_1 = Unit_instance;
|
|
1915
|
+
tmp.o9_1 = null;
|
|
1916
|
+
return tmp.t9();
|
|
1917
1917
|
}
|
|
1918
|
-
function $flushIfNeededCOROUTINE$
|
|
1918
|
+
function $flushIfNeededCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
1919
1919
|
CoroutineImpl.call(this, resultContinuation);
|
|
1920
|
-
this.
|
|
1920
|
+
this.d1z_1 = _this__u8e3s4;
|
|
1921
1921
|
}
|
|
1922
|
-
protoOf($flushIfNeededCOROUTINE$
|
|
1923
|
-
var suspendResult = this.
|
|
1922
|
+
protoOf($flushIfNeededCOROUTINE$).t9 = function () {
|
|
1923
|
+
var suspendResult = this.n9_1;
|
|
1924
1924
|
$sm: do
|
|
1925
1925
|
try {
|
|
1926
|
-
var tmp = this.
|
|
1926
|
+
var tmp = this.l9_1;
|
|
1927
1927
|
switch (tmp) {
|
|
1928
1928
|
case 0:
|
|
1929
|
-
this.
|
|
1930
|
-
rethrowCloseCauseIfNeeded_1(this.
|
|
1929
|
+
this.m9_1 = 3;
|
|
1930
|
+
rethrowCloseCauseIfNeeded_1(this.d1z_1);
|
|
1931
1931
|
var tmp_0;
|
|
1932
|
-
var tmp_1 = this.
|
|
1932
|
+
var tmp_1 = this.d1z_1;
|
|
1933
1933
|
var tmp0_safe_receiver = tmp_1 instanceof ByteChannel ? tmp_1 : null;
|
|
1934
|
-
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1934
|
+
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w1p_1) === true) {
|
|
1935
1935
|
tmp_0 = true;
|
|
1936
1936
|
} else {
|
|
1937
|
-
tmp_0 = get_size(this.
|
|
1937
|
+
tmp_0 = get_size(this.d1z_1.v1r()) >= 1048576;
|
|
1938
1938
|
}
|
|
1939
1939
|
|
|
1940
1940
|
if (tmp_0) {
|
|
1941
|
-
this.
|
|
1942
|
-
suspendResult = this.
|
|
1941
|
+
this.l9_1 = 1;
|
|
1942
|
+
suspendResult = this.d1z_1.r1r(this);
|
|
1943
1943
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1944
1944
|
return suspendResult;
|
|
1945
1945
|
}
|
|
1946
1946
|
continue $sm;
|
|
1947
1947
|
} else {
|
|
1948
|
-
this.
|
|
1948
|
+
this.l9_1 = 2;
|
|
1949
1949
|
continue $sm;
|
|
1950
1950
|
}
|
|
1951
1951
|
|
|
1952
1952
|
case 1:
|
|
1953
|
-
this.
|
|
1953
|
+
this.l9_1 = 2;
|
|
1954
1954
|
continue $sm;
|
|
1955
1955
|
case 2:
|
|
1956
1956
|
return Unit_instance;
|
|
1957
1957
|
case 3:
|
|
1958
|
-
throw this.
|
|
1958
|
+
throw this.o9_1;
|
|
1959
1959
|
}
|
|
1960
1960
|
} catch ($p) {
|
|
1961
1961
|
var e = $p;
|
|
1962
|
-
if (this.
|
|
1962
|
+
if (this.m9_1 === 3) {
|
|
1963
1963
|
throw e;
|
|
1964
1964
|
} else {
|
|
1965
|
-
this.
|
|
1966
|
-
this.
|
|
1965
|
+
this.l9_1 = this.m9_1;
|
|
1966
|
+
this.o9_1 = e;
|
|
1967
1967
|
}
|
|
1968
1968
|
}
|
|
1969
1969
|
while (true);
|
|
@@ -1974,11 +1974,11 @@ function get_NO_CALLBACK() {
|
|
|
1974
1974
|
}
|
|
1975
1975
|
var NO_CALLBACK;
|
|
1976
1976
|
function WriterJob(channel, job) {
|
|
1977
|
-
this.
|
|
1978
|
-
this.
|
|
1977
|
+
this.e1z_1 = channel;
|
|
1978
|
+
this.f1z_1 = job;
|
|
1979
1979
|
}
|
|
1980
|
-
protoOf(WriterJob).
|
|
1981
|
-
return this.
|
|
1980
|
+
protoOf(WriterJob).eu = function () {
|
|
1981
|
+
return this.f1z_1;
|
|
1982
1982
|
};
|
|
1983
1983
|
function writer(_this__u8e3s4, coroutineContext, autoFlush, block) {
|
|
1984
1984
|
coroutineContext = coroutineContext === VOID ? EmptyCoroutineContext_getInstance() : coroutineContext;
|
|
@@ -1987,16 +1987,16 @@ function writer(_this__u8e3s4, coroutineContext, autoFlush, block) {
|
|
|
1987
1987
|
return writer_0(_this__u8e3s4, coroutineContext, new ByteChannel(), block);
|
|
1988
1988
|
}
|
|
1989
1989
|
function WriterScope(channel, coroutineContext) {
|
|
1990
|
-
this.
|
|
1991
|
-
this.
|
|
1990
|
+
this.g1z_1 = channel;
|
|
1991
|
+
this.h1z_1 = coroutineContext;
|
|
1992
1992
|
}
|
|
1993
|
-
protoOf(WriterScope).
|
|
1994
|
-
return this.
|
|
1993
|
+
protoOf(WriterScope).tq = function () {
|
|
1994
|
+
return this.h1z_1;
|
|
1995
1995
|
};
|
|
1996
1996
|
function writeFully(_this__u8e3s4, value, startIndex, endIndex, $completion) {
|
|
1997
1997
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
1998
1998
|
endIndex = endIndex === VOID ? value.length : endIndex;
|
|
1999
|
-
_this__u8e3s4.
|
|
1999
|
+
_this__u8e3s4.v1r().w1n(value, startIndex, endIndex);
|
|
2000
2000
|
return flushIfNeeded(_this__u8e3s4, $completion);
|
|
2001
2001
|
}
|
|
2002
2002
|
function close_0(_this__u8e3s4, cause) {
|
|
@@ -2004,19 +2004,19 @@ function close_0(_this__u8e3s4, cause) {
|
|
|
2004
2004
|
if (cause == null) {
|
|
2005
2005
|
fireAndForget(ByteWriteChannel$flushAndClose$ref_0(_this__u8e3s4));
|
|
2006
2006
|
} else {
|
|
2007
|
-
_this__u8e3s4.
|
|
2007
|
+
_this__u8e3s4.d1s(cause);
|
|
2008
2008
|
}
|
|
2009
2009
|
}
|
|
2010
2010
|
function invokeOnCompletion(_this__u8e3s4, block) {
|
|
2011
2011
|
_init_properties_ByteWriteChannelOperations_kt__i7slrs();
|
|
2012
|
-
return _this__u8e3s4.
|
|
2012
|
+
return _this__u8e3s4.eu().wr(block);
|
|
2013
2013
|
}
|
|
2014
2014
|
function writer_0(_this__u8e3s4, coroutineContext, channel, block) {
|
|
2015
2015
|
coroutineContext = coroutineContext === VOID ? EmptyCoroutineContext_getInstance() : coroutineContext;
|
|
2016
2016
|
_init_properties_ByteWriteChannelOperations_kt__i7slrs();
|
|
2017
2017
|
// Inline function 'kotlin.apply' call
|
|
2018
2018
|
var this_0 = launch(_this__u8e3s4, coroutineContext, VOID, writer$slambda_0(block, channel, null));
|
|
2019
|
-
this_0.
|
|
2019
|
+
this_0.wr(writer$lambda(channel));
|
|
2020
2020
|
var job = this_0;
|
|
2021
2021
|
return new WriterJob(channel, job);
|
|
2022
2022
|
}
|
|
@@ -2025,108 +2025,108 @@ function fireAndForget(_this__u8e3s4) {
|
|
|
2025
2025
|
startCoroutineCancellable(_this__u8e3s4, get_NO_CALLBACK());
|
|
2026
2026
|
}
|
|
2027
2027
|
function writeByte(_this__u8e3s4, value, $completion) {
|
|
2028
|
-
_this__u8e3s4.
|
|
2028
|
+
_this__u8e3s4.v1r().f1o(value);
|
|
2029
2029
|
return flushIfNeeded(_this__u8e3s4, $completion);
|
|
2030
2030
|
}
|
|
2031
2031
|
function NO_CALLBACK$1() {
|
|
2032
|
-
this.
|
|
2032
|
+
this.i1z_1 = EmptyCoroutineContext_getInstance();
|
|
2033
2033
|
}
|
|
2034
|
-
protoOf(NO_CALLBACK$1).
|
|
2035
|
-
return this.
|
|
2034
|
+
protoOf(NO_CALLBACK$1).r9 = function () {
|
|
2035
|
+
return this.i1z_1;
|
|
2036
2036
|
};
|
|
2037
|
-
protoOf(NO_CALLBACK$1).
|
|
2037
|
+
protoOf(NO_CALLBACK$1).s9 = function (result) {
|
|
2038
2038
|
return Unit_instance;
|
|
2039
2039
|
};
|
|
2040
|
-
protoOf(NO_CALLBACK$1).
|
|
2041
|
-
return this.
|
|
2040
|
+
protoOf(NO_CALLBACK$1).w9 = function (result) {
|
|
2041
|
+
return this.s9(result);
|
|
2042
2042
|
};
|
|
2043
|
-
function ByteWriteChannel$flushAndClose$ref(
|
|
2044
|
-
this.
|
|
2043
|
+
function ByteWriteChannel$flushAndClose$ref(p0) {
|
|
2044
|
+
this.j1z_1 = p0;
|
|
2045
2045
|
}
|
|
2046
|
-
protoOf(ByteWriteChannel$flushAndClose$ref).
|
|
2047
|
-
return this.
|
|
2046
|
+
protoOf(ByteWriteChannel$flushAndClose$ref).k1z = function ($completion) {
|
|
2047
|
+
return this.j1z_1.c1s($completion);
|
|
2048
2048
|
};
|
|
2049
|
-
protoOf(ByteWriteChannel$flushAndClose$ref).
|
|
2050
|
-
return this.
|
|
2049
|
+
protoOf(ByteWriteChannel$flushAndClose$ref).mb = function ($completion) {
|
|
2050
|
+
return this.k1z($completion);
|
|
2051
2051
|
};
|
|
2052
|
-
function ByteWriteChannel$flushAndClose$ref_0(
|
|
2053
|
-
var i = new ByteWriteChannel$flushAndClose$ref(
|
|
2052
|
+
function ByteWriteChannel$flushAndClose$ref_0(p0) {
|
|
2053
|
+
var i = new ByteWriteChannel$flushAndClose$ref(p0);
|
|
2054
2054
|
var l = function ($completion) {
|
|
2055
|
-
return i.
|
|
2055
|
+
return i.k1z($completion);
|
|
2056
2056
|
};
|
|
2057
2057
|
l.callableName = 'flushAndClose';
|
|
2058
2058
|
l.$arity = 0;
|
|
2059
2059
|
return l;
|
|
2060
2060
|
}
|
|
2061
2061
|
function writer$slambda($block, $channel, resultContinuation) {
|
|
2062
|
-
this.
|
|
2063
|
-
this.
|
|
2062
|
+
this.t1z_1 = $block;
|
|
2063
|
+
this.u1z_1 = $channel;
|
|
2064
2064
|
CoroutineImpl.call(this, resultContinuation);
|
|
2065
2065
|
}
|
|
2066
|
-
protoOf(writer$slambda).
|
|
2067
|
-
var tmp = this.
|
|
2068
|
-
tmp.
|
|
2069
|
-
tmp.
|
|
2070
|
-
return tmp.
|
|
2066
|
+
protoOf(writer$slambda).o20 = function ($this$launch, $completion) {
|
|
2067
|
+
var tmp = this.p20($this$launch, $completion);
|
|
2068
|
+
tmp.n9_1 = Unit_instance;
|
|
2069
|
+
tmp.o9_1 = null;
|
|
2070
|
+
return tmp.t9();
|
|
2071
2071
|
};
|
|
2072
|
-
protoOf(writer$slambda).
|
|
2073
|
-
return this.
|
|
2072
|
+
protoOf(writer$slambda).ha = function (p1, $completion) {
|
|
2073
|
+
return this.o20((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2074
2074
|
};
|
|
2075
|
-
protoOf(writer$slambda).
|
|
2076
|
-
var suspendResult = this.
|
|
2075
|
+
protoOf(writer$slambda).t9 = function () {
|
|
2076
|
+
var suspendResult = this.n9_1;
|
|
2077
2077
|
$sm: do
|
|
2078
2078
|
try {
|
|
2079
|
-
var tmp = this.
|
|
2079
|
+
var tmp = this.l9_1;
|
|
2080
2080
|
switch (tmp) {
|
|
2081
2081
|
case 0:
|
|
2082
|
-
this.
|
|
2083
|
-
this.
|
|
2084
|
-
this.
|
|
2082
|
+
this.m9_1 = 14;
|
|
2083
|
+
this.w1z_1 = Job(get_job(this.v1z_1.tq()));
|
|
2084
|
+
this.l9_1 = 1;
|
|
2085
2085
|
continue $sm;
|
|
2086
2086
|
case 1:
|
|
2087
|
-
this.
|
|
2088
|
-
this.
|
|
2089
|
-
this.
|
|
2090
|
-
suspendResult = this.
|
|
2087
|
+
this.m9_1 = 4;
|
|
2088
|
+
this.m9_1 = 3;
|
|
2089
|
+
this.l9_1 = 2;
|
|
2090
|
+
suspendResult = this.t1z_1(new WriterScope(this.u1z_1, this.v1z_1.tq().xi(this.w1z_1)), this);
|
|
2091
2091
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2092
2092
|
return suspendResult;
|
|
2093
2093
|
}
|
|
2094
2094
|
|
|
2095
2095
|
continue $sm;
|
|
2096
2096
|
case 2:
|
|
2097
|
-
this.
|
|
2097
|
+
this.w1z_1.ry();
|
|
2098
2098
|
var tmp_0 = this;
|
|
2099
2099
|
var tmp_1;
|
|
2100
|
-
if (get_job(this.
|
|
2101
|
-
this.
|
|
2100
|
+
if (get_job(this.v1z_1.tq()).qr()) {
|
|
2101
|
+
this.u1z_1.d1s(get_job(this.v1z_1.tq()).tr());
|
|
2102
2102
|
tmp_1 = Unit_instance;
|
|
2103
2103
|
}
|
|
2104
2104
|
|
|
2105
|
-
tmp_0.
|
|
2106
|
-
this.
|
|
2107
|
-
this.
|
|
2105
|
+
tmp_0.x1z_1 = tmp_1;
|
|
2106
|
+
this.m9_1 = 14;
|
|
2107
|
+
this.l9_1 = 9;
|
|
2108
2108
|
continue $sm;
|
|
2109
2109
|
case 3:
|
|
2110
|
-
this.
|
|
2111
|
-
var tmp_2 = this.
|
|
2110
|
+
this.m9_1 = 4;
|
|
2111
|
+
var tmp_2 = this.o9_1;
|
|
2112
2112
|
if (tmp_2 instanceof Error) {
|
|
2113
|
-
this.
|
|
2113
|
+
this.y1z_1 = this.o9_1;
|
|
2114
2114
|
var tmp_3 = this;
|
|
2115
|
-
cancel(this.
|
|
2116
|
-
this.
|
|
2117
|
-
tmp_3.
|
|
2118
|
-
this.
|
|
2119
|
-
this.
|
|
2115
|
+
cancel(this.w1z_1, 'Exception thrown while writing to channel', this.y1z_1);
|
|
2116
|
+
this.u1z_1.d1s(this.y1z_1);
|
|
2117
|
+
tmp_3.x1z_1 = Unit_instance;
|
|
2118
|
+
this.m9_1 = 14;
|
|
2119
|
+
this.l9_1 = 9;
|
|
2120
2120
|
continue $sm;
|
|
2121
2121
|
} else {
|
|
2122
|
-
throw this.
|
|
2122
|
+
throw this.o9_1;
|
|
2123
2123
|
}
|
|
2124
2124
|
|
|
2125
2125
|
case 4:
|
|
2126
|
-
this.
|
|
2127
|
-
this.
|
|
2128
|
-
this.
|
|
2129
|
-
suspendResult = this.
|
|
2126
|
+
this.m9_1 = 14;
|
|
2127
|
+
this.z1z_1 = this.o9_1;
|
|
2128
|
+
this.l9_1 = 5;
|
|
2129
|
+
suspendResult = this.w1z_1.sy(this);
|
|
2130
2130
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2131
2131
|
return suspendResult;
|
|
2132
2132
|
}
|
|
@@ -2134,51 +2134,51 @@ protoOf(writer$slambda).s9 = function () {
|
|
|
2134
2134
|
continue $sm;
|
|
2135
2135
|
case 5:
|
|
2136
2136
|
var tmp_4 = this;
|
|
2137
|
-
tmp_4.
|
|
2138
|
-
this.
|
|
2139
|
-
this.
|
|
2137
|
+
tmp_4.a20_1 = this.v1z_1;
|
|
2138
|
+
this.b20_1 = this.a20_1;
|
|
2139
|
+
this.m9_1 = 7;
|
|
2140
2140
|
var tmp_5 = this;
|
|
2141
|
-
tmp_5.
|
|
2141
|
+
tmp_5.d20_1 = Companion_instance;
|
|
2142
2142
|
var tmp_6 = this;
|
|
2143
|
-
tmp_6.
|
|
2144
|
-
this.
|
|
2145
|
-
this.
|
|
2146
|
-
suspendResult = this.
|
|
2143
|
+
tmp_6.e20_1 = this.b20_1;
|
|
2144
|
+
this.f20_1 = this.e20_1;
|
|
2145
|
+
this.l9_1 = 6;
|
|
2146
|
+
suspendResult = this.u1z_1.c1s(this);
|
|
2147
2147
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2148
2148
|
return suspendResult;
|
|
2149
2149
|
}
|
|
2150
2150
|
|
|
2151
2151
|
continue $sm;
|
|
2152
2152
|
case 6:
|
|
2153
|
-
this.
|
|
2153
|
+
this.g20_1 = Unit_instance;
|
|
2154
2154
|
var tmp_7 = this;
|
|
2155
|
-
this.
|
|
2156
|
-
var value = this.
|
|
2157
|
-
tmp_7.
|
|
2158
|
-
this.
|
|
2159
|
-
this.
|
|
2155
|
+
this.d20_1;
|
|
2156
|
+
var value = this.g20_1;
|
|
2157
|
+
tmp_7.c20_1 = _Result___init__impl__xyqfz8(value);
|
|
2158
|
+
this.m9_1 = 14;
|
|
2159
|
+
this.l9_1 = 8;
|
|
2160
2160
|
continue $sm;
|
|
2161
2161
|
case 7:
|
|
2162
|
-
this.
|
|
2163
|
-
var tmp_8 = this.
|
|
2162
|
+
this.m9_1 = 14;
|
|
2163
|
+
var tmp_8 = this.o9_1;
|
|
2164
2164
|
if (tmp_8 instanceof Error) {
|
|
2165
|
-
this.
|
|
2165
|
+
this.h20_1 = this.o9_1;
|
|
2166
2166
|
var tmp_9 = this;
|
|
2167
|
-
var exception = this.
|
|
2168
|
-
tmp_9.
|
|
2169
|
-
this.
|
|
2167
|
+
var exception = this.h20_1;
|
|
2168
|
+
tmp_9.c20_1 = _Result___init__impl__xyqfz8(createFailure(exception));
|
|
2169
|
+
this.l9_1 = 8;
|
|
2170
2170
|
continue $sm;
|
|
2171
2171
|
} else {
|
|
2172
|
-
throw this.
|
|
2172
|
+
throw this.o9_1;
|
|
2173
2173
|
}
|
|
2174
2174
|
|
|
2175
2175
|
case 8:
|
|
2176
|
-
this.
|
|
2177
|
-
throw this.
|
|
2176
|
+
this.m9_1 = 14;
|
|
2177
|
+
throw this.z1z_1;
|
|
2178
2178
|
case 9:
|
|
2179
|
-
this.
|
|
2180
|
-
this.
|
|
2181
|
-
suspendResult = this.
|
|
2179
|
+
this.m9_1 = 14;
|
|
2180
|
+
this.l9_1 = 10;
|
|
2181
|
+
suspendResult = this.w1z_1.sy(this);
|
|
2182
2182
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2183
2183
|
return suspendResult;
|
|
2184
2184
|
}
|
|
@@ -2186,16 +2186,16 @@ protoOf(writer$slambda).s9 = function () {
|
|
|
2186
2186
|
continue $sm;
|
|
2187
2187
|
case 10:
|
|
2188
2188
|
var tmp_10 = this;
|
|
2189
|
-
tmp_10.
|
|
2190
|
-
this.
|
|
2191
|
-
this.
|
|
2189
|
+
tmp_10.i20_1 = this.v1z_1;
|
|
2190
|
+
this.j20_1 = this.i20_1;
|
|
2191
|
+
this.m9_1 = 12;
|
|
2192
2192
|
var tmp_11 = this;
|
|
2193
|
-
tmp_11.
|
|
2193
|
+
tmp_11.l20_1 = Companion_instance;
|
|
2194
2194
|
var tmp_12 = this;
|
|
2195
|
-
tmp_12.
|
|
2196
|
-
this.
|
|
2197
|
-
this.
|
|
2198
|
-
suspendResult = this.
|
|
2195
|
+
tmp_12.m20_1 = this.j20_1;
|
|
2196
|
+
this.n20_1 = this.m20_1;
|
|
2197
|
+
this.l9_1 = 11;
|
|
2198
|
+
suspendResult = this.u1z_1.c1s(this);
|
|
2199
2199
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2200
2200
|
return suspendResult;
|
|
2201
2201
|
}
|
|
@@ -2203,50 +2203,50 @@ protoOf(writer$slambda).s9 = function () {
|
|
|
2203
2203
|
continue $sm;
|
|
2204
2204
|
case 11:
|
|
2205
2205
|
var tmp_13 = this;
|
|
2206
|
-
this.
|
|
2207
|
-
tmp_13.
|
|
2208
|
-
this.
|
|
2209
|
-
this.
|
|
2206
|
+
this.l20_1;
|
|
2207
|
+
tmp_13.k20_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
2208
|
+
this.m9_1 = 14;
|
|
2209
|
+
this.l9_1 = 13;
|
|
2210
2210
|
continue $sm;
|
|
2211
2211
|
case 12:
|
|
2212
|
-
this.
|
|
2213
|
-
var tmp_14 = this.
|
|
2212
|
+
this.m9_1 = 14;
|
|
2213
|
+
var tmp_14 = this.o9_1;
|
|
2214
2214
|
if (tmp_14 instanceof Error) {
|
|
2215
|
-
var e = this.
|
|
2215
|
+
var e = this.o9_1;
|
|
2216
2216
|
var tmp_15 = this;
|
|
2217
|
-
tmp_15.
|
|
2218
|
-
this.
|
|
2217
|
+
tmp_15.k20_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
2218
|
+
this.l9_1 = 13;
|
|
2219
2219
|
continue $sm;
|
|
2220
2220
|
} else {
|
|
2221
|
-
throw this.
|
|
2221
|
+
throw this.o9_1;
|
|
2222
2222
|
}
|
|
2223
2223
|
|
|
2224
2224
|
case 13:
|
|
2225
|
-
this.
|
|
2225
|
+
this.m9_1 = 14;
|
|
2226
2226
|
return Unit_instance;
|
|
2227
2227
|
case 14:
|
|
2228
|
-
throw this.
|
|
2228
|
+
throw this.o9_1;
|
|
2229
2229
|
}
|
|
2230
2230
|
} catch ($p) {
|
|
2231
2231
|
var e_0 = $p;
|
|
2232
|
-
if (this.
|
|
2232
|
+
if (this.m9_1 === 14) {
|
|
2233
2233
|
throw e_0;
|
|
2234
2234
|
} else {
|
|
2235
|
-
this.
|
|
2236
|
-
this.
|
|
2235
|
+
this.l9_1 = this.m9_1;
|
|
2236
|
+
this.o9_1 = e_0;
|
|
2237
2237
|
}
|
|
2238
2238
|
}
|
|
2239
2239
|
while (true);
|
|
2240
2240
|
};
|
|
2241
|
-
protoOf(writer$slambda).
|
|
2242
|
-
var i = new writer$slambda(this.
|
|
2243
|
-
i.
|
|
2241
|
+
protoOf(writer$slambda).p20 = function ($this$launch, completion) {
|
|
2242
|
+
var i = new writer$slambda(this.t1z_1, this.u1z_1, completion);
|
|
2243
|
+
i.v1z_1 = $this$launch;
|
|
2244
2244
|
return i;
|
|
2245
2245
|
};
|
|
2246
2246
|
function writer$slambda_0($block, $channel, resultContinuation) {
|
|
2247
2247
|
var i = new writer$slambda($block, $channel, resultContinuation);
|
|
2248
2248
|
var l = function ($this$launch, $completion) {
|
|
2249
|
-
return i.
|
|
2249
|
+
return i.o20($this$launch, $completion);
|
|
2250
2250
|
};
|
|
2251
2251
|
l.$arity = 1;
|
|
2252
2252
|
return l;
|
|
@@ -2254,8 +2254,8 @@ function writer$slambda_0($block, $channel, resultContinuation) {
|
|
|
2254
2254
|
function writer$lambda($channel) {
|
|
2255
2255
|
return function (it) {
|
|
2256
2256
|
var tmp;
|
|
2257
|
-
if (!(it == null) && !$channel.
|
|
2258
|
-
$channel.
|
|
2257
|
+
if (!(it == null) && !$channel.w1r()) {
|
|
2258
|
+
$channel.d1s(it);
|
|
2259
2259
|
tmp = Unit_instance;
|
|
2260
2260
|
}
|
|
2261
2261
|
return Unit_instance;
|
|
@@ -2281,27 +2281,27 @@ function ClosedByteChannelException$_init_$ref_yjp351() {
|
|
|
2281
2281
|
return l;
|
|
2282
2282
|
}
|
|
2283
2283
|
function CloseToken(origin) {
|
|
2284
|
-
this.
|
|
2284
|
+
this.t1r_1 = origin;
|
|
2285
2285
|
}
|
|
2286
|
-
protoOf(CloseToken).
|
|
2287
|
-
var tmp0_subject = this.
|
|
2286
|
+
protoOf(CloseToken).q20 = function (wrap) {
|
|
2287
|
+
var tmp0_subject = this.t1r_1;
|
|
2288
2288
|
var tmp;
|
|
2289
2289
|
if (tmp0_subject == null) {
|
|
2290
2290
|
tmp = null;
|
|
2291
2291
|
} else {
|
|
2292
2292
|
if (!(tmp0_subject == null) ? isInterface(tmp0_subject, CopyableThrowable) : false) {
|
|
2293
|
-
tmp = this.
|
|
2293
|
+
tmp = this.t1r_1.dz();
|
|
2294
2294
|
} else {
|
|
2295
2295
|
if (tmp0_subject instanceof CancellationException) {
|
|
2296
|
-
tmp = CancellationException_init_$Create$(this.
|
|
2296
|
+
tmp = CancellationException_init_$Create$(this.t1r_1.message, this.t1r_1);
|
|
2297
2297
|
} else {
|
|
2298
|
-
tmp = wrap(this.
|
|
2298
|
+
tmp = wrap(this.t1r_1);
|
|
2299
2299
|
}
|
|
2300
2300
|
}
|
|
2301
2301
|
}
|
|
2302
2302
|
return tmp;
|
|
2303
2303
|
};
|
|
2304
|
-
protoOf(CloseToken).
|
|
2304
|
+
protoOf(CloseToken).y1r = function (wrap, $super) {
|
|
2305
2305
|
var tmp;
|
|
2306
2306
|
if (wrap === VOID) {
|
|
2307
2307
|
tmp = ClosedByteChannelException$_init_$ref_yjp351();
|
|
@@ -2309,10 +2309,10 @@ protoOf(CloseToken).y1q = function (wrap, $super) {
|
|
|
2309
2309
|
tmp = wrap;
|
|
2310
2310
|
}
|
|
2311
2311
|
wrap = tmp;
|
|
2312
|
-
return $super === VOID ? this.
|
|
2312
|
+
return $super === VOID ? this.q20(wrap) : $super.q20.call(this, wrap);
|
|
2313
2313
|
};
|
|
2314
|
-
protoOf(CloseToken).
|
|
2315
|
-
var tmp0_safe_receiver = this.
|
|
2314
|
+
protoOf(CloseToken).u1r = function (wrap) {
|
|
2315
|
+
var tmp0_safe_receiver = this.q20(wrap);
|
|
2316
2316
|
var tmp;
|
|
2317
2317
|
if (tmp0_safe_receiver == null) {
|
|
2318
2318
|
tmp = null;
|
|
@@ -2331,32 +2331,32 @@ function _init_properties_CloseToken_kt__9ucr41() {
|
|
|
2331
2331
|
}
|
|
2332
2332
|
function transferFromDelegate($this) {
|
|
2333
2333
|
updateConsumed($this);
|
|
2334
|
-
var appended = $this.
|
|
2335
|
-
$this.
|
|
2334
|
+
var appended = $this.s20_1.e1o($this.r20_1.s1r());
|
|
2335
|
+
$this.t20_1 = $this.t20_1.c3(appended);
|
|
2336
2336
|
}
|
|
2337
2337
|
function updateConsumed($this) {
|
|
2338
|
-
$this.
|
|
2339
|
-
$this.
|
|
2338
|
+
$this.u20_1 = $this.u20_1.c3($this.t20_1.d3($this.s20_1.t()));
|
|
2339
|
+
$this.t20_1 = $this.s20_1.t();
|
|
2340
2340
|
}
|
|
2341
|
-
function $awaitContentCOROUTINE$
|
|
2341
|
+
function $awaitContentCOROUTINE$_0(_this__u8e3s4, min, resultContinuation) {
|
|
2342
2342
|
CoroutineImpl.call(this, resultContinuation);
|
|
2343
|
-
this.
|
|
2344
|
-
this.
|
|
2343
|
+
this.d21_1 = _this__u8e3s4;
|
|
2344
|
+
this.e21_1 = min;
|
|
2345
2345
|
}
|
|
2346
|
-
protoOf($awaitContentCOROUTINE$
|
|
2347
|
-
var suspendResult = this.
|
|
2346
|
+
protoOf($awaitContentCOROUTINE$_0).t9 = function () {
|
|
2347
|
+
var suspendResult = this.n9_1;
|
|
2348
2348
|
$sm: do
|
|
2349
2349
|
try {
|
|
2350
|
-
var tmp = this.
|
|
2350
|
+
var tmp = this.l9_1;
|
|
2351
2351
|
switch (tmp) {
|
|
2352
2352
|
case 0:
|
|
2353
|
-
this.
|
|
2354
|
-
if (this.
|
|
2353
|
+
this.m9_1 = 3;
|
|
2354
|
+
if (this.d21_1.s1r().t().h1(toLong(this.e21_1)) >= 0) {
|
|
2355
2355
|
return true;
|
|
2356
2356
|
}
|
|
2357
2357
|
|
|
2358
|
-
this.
|
|
2359
|
-
suspendResult = this.
|
|
2358
|
+
this.l9_1 = 1;
|
|
2359
|
+
suspendResult = this.d21_1.r20_1.a1s(this.e21_1, this);
|
|
2360
2360
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2361
2361
|
return suspendResult;
|
|
2362
2362
|
}
|
|
@@ -2364,58 +2364,58 @@ protoOf($awaitContentCOROUTINE$19).s9 = function () {
|
|
|
2364
2364
|
continue $sm;
|
|
2365
2365
|
case 1:
|
|
2366
2366
|
if (suspendResult) {
|
|
2367
|
-
transferFromDelegate(this.
|
|
2367
|
+
transferFromDelegate(this.d21_1);
|
|
2368
2368
|
return true;
|
|
2369
2369
|
} else {
|
|
2370
|
-
this.
|
|
2370
|
+
this.l9_1 = 2;
|
|
2371
2371
|
continue $sm;
|
|
2372
2372
|
}
|
|
2373
2373
|
|
|
2374
2374
|
case 2:
|
|
2375
2375
|
return false;
|
|
2376
2376
|
case 3:
|
|
2377
|
-
throw this.
|
|
2377
|
+
throw this.o9_1;
|
|
2378
2378
|
}
|
|
2379
2379
|
} catch ($p) {
|
|
2380
2380
|
var e = $p;
|
|
2381
|
-
if (this.
|
|
2381
|
+
if (this.m9_1 === 3) {
|
|
2382
2382
|
throw e;
|
|
2383
2383
|
} else {
|
|
2384
|
-
this.
|
|
2385
|
-
this.
|
|
2384
|
+
this.l9_1 = this.m9_1;
|
|
2385
|
+
this.o9_1 = e;
|
|
2386
2386
|
}
|
|
2387
2387
|
}
|
|
2388
2388
|
while (true);
|
|
2389
2389
|
};
|
|
2390
2390
|
function CountedByteReadChannel(delegate) {
|
|
2391
|
-
this.
|
|
2392
|
-
this.
|
|
2393
|
-
this.
|
|
2394
|
-
this.
|
|
2391
|
+
this.r20_1 = delegate;
|
|
2392
|
+
this.s20_1 = new Buffer();
|
|
2393
|
+
this.t20_1 = new Long(0, 0);
|
|
2394
|
+
this.u20_1 = new Long(0, 0);
|
|
2395
2395
|
}
|
|
2396
|
-
protoOf(CountedByteReadChannel).
|
|
2396
|
+
protoOf(CountedByteReadChannel).f21 = function () {
|
|
2397
2397
|
updateConsumed(this);
|
|
2398
|
-
return this.
|
|
2398
|
+
return this.u20_1;
|
|
2399
2399
|
};
|
|
2400
|
-
protoOf(CountedByteReadChannel).
|
|
2401
|
-
return this.
|
|
2400
|
+
protoOf(CountedByteReadChannel).x1r = function () {
|
|
2401
|
+
return this.r20_1.x1r();
|
|
2402
2402
|
};
|
|
2403
|
-
protoOf(CountedByteReadChannel).
|
|
2404
|
-
return this.
|
|
2403
|
+
protoOf(CountedByteReadChannel).z1r = function () {
|
|
2404
|
+
return this.s20_1.m1m() && this.r20_1.z1r();
|
|
2405
2405
|
};
|
|
2406
|
-
protoOf(CountedByteReadChannel).
|
|
2406
|
+
protoOf(CountedByteReadChannel).s1r = function () {
|
|
2407
2407
|
transferFromDelegate(this);
|
|
2408
|
-
return this.
|
|
2408
|
+
return this.s20_1;
|
|
2409
2409
|
};
|
|
2410
|
-
protoOf(CountedByteReadChannel).
|
|
2411
|
-
var tmp = new $awaitContentCOROUTINE$
|
|
2412
|
-
tmp.
|
|
2413
|
-
tmp.
|
|
2414
|
-
return tmp.
|
|
2410
|
+
protoOf(CountedByteReadChannel).a1s = function (min, $completion) {
|
|
2411
|
+
var tmp = new $awaitContentCOROUTINE$_0(this, min, $completion);
|
|
2412
|
+
tmp.n9_1 = Unit_instance;
|
|
2413
|
+
tmp.o9_1 = null;
|
|
2414
|
+
return tmp.t9();
|
|
2415
2415
|
};
|
|
2416
|
-
protoOf(CountedByteReadChannel).
|
|
2417
|
-
this.
|
|
2418
|
-
this.
|
|
2416
|
+
protoOf(CountedByteReadChannel).d1s = function (cause) {
|
|
2417
|
+
this.r20_1.d1s(cause);
|
|
2418
|
+
this.s20_1.r4();
|
|
2419
2419
|
};
|
|
2420
2420
|
function counted(_this__u8e3s4) {
|
|
2421
2421
|
return new CountedByteReadChannel(_this__u8e3s4);
|
|
@@ -2452,21 +2452,21 @@ function LineEndingMode__plus_impl_ttpz2j($this, other) {
|
|
|
2452
2452
|
}
|
|
2453
2453
|
function LineEndingMode__toString_impl_j4h76r($this) {
|
|
2454
2454
|
var tmp;
|
|
2455
|
-
if ($this === Companion_getInstance_1().
|
|
2455
|
+
if ($this === Companion_getInstance_1().q1w_1) {
|
|
2456
2456
|
tmp = 'CR';
|
|
2457
|
-
} else if ($this === Companion_getInstance_1().
|
|
2457
|
+
} else if ($this === Companion_getInstance_1().r1w_1) {
|
|
2458
2458
|
tmp = 'LF';
|
|
2459
|
-
} else if ($this === Companion_getInstance_1().
|
|
2459
|
+
} else if ($this === Companion_getInstance_1().s1w_1) {
|
|
2460
2460
|
tmp = 'CRLF';
|
|
2461
2461
|
} else {
|
|
2462
2462
|
// Inline function 'kotlin.collections.filter' call
|
|
2463
|
-
var tmp0 = Companion_getInstance_1().
|
|
2463
|
+
var tmp0 = Companion_getInstance_1().u1w_1;
|
|
2464
2464
|
// Inline function 'kotlin.collections.filterTo' call
|
|
2465
2465
|
var destination = ArrayList_init_$Create$();
|
|
2466
2466
|
var _iterator__ex2g4s = tmp0.q();
|
|
2467
2467
|
while (_iterator__ex2g4s.r()) {
|
|
2468
2468
|
var element = _iterator__ex2g4s.s();
|
|
2469
|
-
var it = element.
|
|
2469
|
+
var it = element.g21_1;
|
|
2470
2470
|
if (LineEndingMode__contains_impl_q5pr68($this, it)) {
|
|
2471
2471
|
destination.k(element);
|
|
2472
2472
|
}
|
|
@@ -2477,11 +2477,11 @@ function LineEndingMode__toString_impl_j4h76r($this) {
|
|
|
2477
2477
|
}
|
|
2478
2478
|
function Companion_1() {
|
|
2479
2479
|
Companion_instance_2 = this;
|
|
2480
|
-
this.
|
|
2481
|
-
this.
|
|
2482
|
-
this.
|
|
2483
|
-
this.
|
|
2484
|
-
this.
|
|
2480
|
+
this.q1w_1 = _LineEndingMode___init__impl__jo5bul(1);
|
|
2481
|
+
this.r1w_1 = _LineEndingMode___init__impl__jo5bul(2);
|
|
2482
|
+
this.s1w_1 = _LineEndingMode___init__impl__jo5bul(4);
|
|
2483
|
+
this.t1w_1 = _LineEndingMode___init__impl__jo5bul(7);
|
|
2484
|
+
this.u1w_1 = listOf([new LineEndingMode(this.q1w_1), new LineEndingMode(this.r1w_1), new LineEndingMode(this.s1w_1)]);
|
|
2485
2485
|
}
|
|
2486
2486
|
var Companion_instance_2;
|
|
2487
2487
|
function Companion_getInstance_1() {
|
|
@@ -2495,67 +2495,67 @@ function LineEndingMode__hashCode_impl_2mopm4($this) {
|
|
|
2495
2495
|
function LineEndingMode__equals_impl_qyr4nk($this, other) {
|
|
2496
2496
|
if (!(other instanceof LineEndingMode))
|
|
2497
2497
|
return false;
|
|
2498
|
-
if (!($this === (other instanceof LineEndingMode ? other.
|
|
2498
|
+
if (!($this === (other instanceof LineEndingMode ? other.g21_1 : THROW_CCE())))
|
|
2499
2499
|
return false;
|
|
2500
2500
|
return true;
|
|
2501
2501
|
}
|
|
2502
2502
|
function LineEndingMode(mode) {
|
|
2503
2503
|
Companion_getInstance_1();
|
|
2504
|
-
this.
|
|
2504
|
+
this.g21_1 = mode;
|
|
2505
2505
|
}
|
|
2506
2506
|
protoOf(LineEndingMode).toString = function () {
|
|
2507
|
-
return LineEndingMode__toString_impl_j4h76r(this.
|
|
2507
|
+
return LineEndingMode__toString_impl_j4h76r(this.g21_1);
|
|
2508
2508
|
};
|
|
2509
2509
|
protoOf(LineEndingMode).hashCode = function () {
|
|
2510
|
-
return LineEndingMode__hashCode_impl_2mopm4(this.
|
|
2510
|
+
return LineEndingMode__hashCode_impl_2mopm4(this.g21_1);
|
|
2511
2511
|
};
|
|
2512
2512
|
protoOf(LineEndingMode).equals = function (other) {
|
|
2513
|
-
return LineEndingMode__equals_impl_qyr4nk(this.
|
|
2513
|
+
return LineEndingMode__equals_impl_qyr4nk(this.g21_1, other);
|
|
2514
2514
|
};
|
|
2515
2515
|
function SourceByteReadChannel(source) {
|
|
2516
|
-
this.
|
|
2517
|
-
this.
|
|
2516
|
+
this.h21_1 = source;
|
|
2517
|
+
this.i21_1 = null;
|
|
2518
2518
|
}
|
|
2519
|
-
protoOf(SourceByteReadChannel).
|
|
2520
|
-
var tmp0_safe_receiver = this.
|
|
2521
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2519
|
+
protoOf(SourceByteReadChannel).x1r = function () {
|
|
2520
|
+
var tmp0_safe_receiver = this.i21_1;
|
|
2521
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.y1r();
|
|
2522
2522
|
};
|
|
2523
|
-
protoOf(SourceByteReadChannel).
|
|
2524
|
-
return this.
|
|
2523
|
+
protoOf(SourceByteReadChannel).z1r = function () {
|
|
2524
|
+
return this.h21_1.m1m();
|
|
2525
2525
|
};
|
|
2526
|
-
protoOf(SourceByteReadChannel).
|
|
2527
|
-
var tmp0_safe_receiver = this.
|
|
2526
|
+
protoOf(SourceByteReadChannel).s1r = function () {
|
|
2527
|
+
var tmp0_safe_receiver = this.x1r();
|
|
2528
2528
|
if (tmp0_safe_receiver == null)
|
|
2529
2529
|
null;
|
|
2530
2530
|
else {
|
|
2531
2531
|
// Inline function 'kotlin.let' call
|
|
2532
2532
|
throw tmp0_safe_receiver;
|
|
2533
2533
|
}
|
|
2534
|
-
return this.
|
|
2534
|
+
return this.h21_1.l1m();
|
|
2535
2535
|
};
|
|
2536
|
-
protoOf(SourceByteReadChannel).
|
|
2537
|
-
var tmp0_safe_receiver = this.
|
|
2536
|
+
protoOf(SourceByteReadChannel).a1s = function (min, $completion) {
|
|
2537
|
+
var tmp0_safe_receiver = this.x1r();
|
|
2538
2538
|
if (tmp0_safe_receiver == null)
|
|
2539
2539
|
null;
|
|
2540
2540
|
else {
|
|
2541
2541
|
// Inline function 'kotlin.let' call
|
|
2542
2542
|
throw tmp0_safe_receiver;
|
|
2543
2543
|
}
|
|
2544
|
-
return this.
|
|
2544
|
+
return this.h21_1.o1m(toLong(min));
|
|
2545
2545
|
};
|
|
2546
|
-
protoOf(SourceByteReadChannel).
|
|
2547
|
-
if (!(this.
|
|
2546
|
+
protoOf(SourceByteReadChannel).d1s = function (cause) {
|
|
2547
|
+
if (!(this.i21_1 == null))
|
|
2548
2548
|
return Unit_instance;
|
|
2549
|
-
this.
|
|
2549
|
+
this.h21_1.r4();
|
|
2550
2550
|
var tmp = this;
|
|
2551
2551
|
var tmp1_elvis_lhs = cause == null ? null : cause.message;
|
|
2552
|
-
tmp.
|
|
2552
|
+
tmp.i21_1 = new CloseToken(IOException_init_$Create$_0(tmp1_elvis_lhs == null ? 'Channel was cancelled' : tmp1_elvis_lhs, cause));
|
|
2553
2553
|
};
|
|
2554
2554
|
function decode(_this__u8e3s4, input, max) {
|
|
2555
2555
|
max = max === VOID ? 2147483647 : max;
|
|
2556
2556
|
var tmp0 = toLong(max);
|
|
2557
2557
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2558
|
-
var b = input.
|
|
2558
|
+
var b = input.l1m().t();
|
|
2559
2559
|
// Inline function 'kotlin.text.buildString' call
|
|
2560
2560
|
var capacity = (tmp0.h1(b) <= 0 ? tmp0 : b).m1();
|
|
2561
2561
|
// Inline function 'kotlin.apply' call
|
|
@@ -2591,7 +2591,7 @@ function encode(_this__u8e3s4, input, fromIndex, toIndex) {
|
|
|
2591
2591
|
return builder;
|
|
2592
2592
|
}
|
|
2593
2593
|
function canRead(_this__u8e3s4) {
|
|
2594
|
-
return !_this__u8e3s4.
|
|
2594
|
+
return !_this__u8e3s4.m1m();
|
|
2595
2595
|
}
|
|
2596
2596
|
function readBytes(_this__u8e3s4, count) {
|
|
2597
2597
|
count = count === VOID ? _this__u8e3s4.t().m1() : count;
|
|
@@ -2600,35 +2600,35 @@ function readBytes(_this__u8e3s4, count) {
|
|
|
2600
2600
|
function writeFully_0(_this__u8e3s4, buffer, offset, length) {
|
|
2601
2601
|
offset = offset === VOID ? 0 : offset;
|
|
2602
2602
|
length = length === VOID ? buffer.length - offset | 0 : length;
|
|
2603
|
-
_this__u8e3s4.
|
|
2603
|
+
_this__u8e3s4.w1n(buffer, offset, offset + length | 0);
|
|
2604
2604
|
}
|
|
2605
2605
|
function BytePacketBuilder() {
|
|
2606
2606
|
return new Buffer();
|
|
2607
2607
|
}
|
|
2608
2608
|
function get_size(_this__u8e3s4) {
|
|
2609
|
-
return _this__u8e3s4.
|
|
2609
|
+
return _this__u8e3s4.l1m().t().m1();
|
|
2610
2610
|
}
|
|
2611
2611
|
function build(_this__u8e3s4) {
|
|
2612
|
-
return _this__u8e3s4.
|
|
2612
|
+
return _this__u8e3s4.l1m();
|
|
2613
2613
|
}
|
|
2614
2614
|
var ByteReadPacketEmpty;
|
|
2615
2615
|
function get_remaining(_this__u8e3s4) {
|
|
2616
2616
|
_init_properties_ByteReadPacket_kt__28475y();
|
|
2617
|
-
return _this__u8e3s4.
|
|
2617
|
+
return _this__u8e3s4.l1m().t();
|
|
2618
2618
|
}
|
|
2619
2619
|
function discard_0(_this__u8e3s4, count) {
|
|
2620
2620
|
count = count === VOID ? new Long(-1, 2147483647) : count;
|
|
2621
2621
|
_init_properties_ByteReadPacket_kt__28475y();
|
|
2622
|
-
_this__u8e3s4.
|
|
2622
|
+
_this__u8e3s4.o1m(count);
|
|
2623
2623
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2624
2624
|
var b = get_remaining(_this__u8e3s4);
|
|
2625
2625
|
var countToDiscard = count.h1(b) <= 0 ? count : b;
|
|
2626
|
-
_this__u8e3s4.
|
|
2626
|
+
_this__u8e3s4.l1m().j1n(countToDiscard);
|
|
2627
2627
|
return countToDiscard;
|
|
2628
2628
|
}
|
|
2629
2629
|
function takeWhile(_this__u8e3s4, block) {
|
|
2630
2630
|
_init_properties_ByteReadPacket_kt__28475y();
|
|
2631
|
-
while (!_this__u8e3s4.
|
|
2631
|
+
while (!_this__u8e3s4.m1m() && block(_this__u8e3s4.l1m())) {
|
|
2632
2632
|
}
|
|
2633
2633
|
}
|
|
2634
2634
|
var properties_initialized_ByteReadPacket_kt_hw4st4;
|
|
@@ -2641,37 +2641,37 @@ function _init_properties_ByteReadPacket_kt__28475y() {
|
|
|
2641
2641
|
function readAvailable_0(_this__u8e3s4, buffer, offset, length) {
|
|
2642
2642
|
offset = offset === VOID ? 0 : offset;
|
|
2643
2643
|
length = length === VOID ? buffer.length - offset | 0 : length;
|
|
2644
|
-
var result = _this__u8e3s4.
|
|
2644
|
+
var result = _this__u8e3s4.k1n(buffer, offset, offset + length | 0);
|
|
2645
2645
|
return result === -1 ? 0 : result;
|
|
2646
2646
|
}
|
|
2647
2647
|
function toByteArray_0(_this__u8e3s4, charset) {
|
|
2648
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
2649
|
-
if (charset.equals(Charsets_getInstance().
|
|
2648
|
+
charset = charset === VOID ? Charsets_getInstance().j21_1 : charset;
|
|
2649
|
+
if (charset.equals(Charsets_getInstance().j21_1))
|
|
2650
2650
|
return encodeToByteArray(_this__u8e3s4, VOID, VOID, true);
|
|
2651
|
-
return encodeToByteArray_0(charset.
|
|
2651
|
+
return encodeToByteArray_0(charset.m21(), _this__u8e3s4, 0, _this__u8e3s4.length);
|
|
2652
2652
|
}
|
|
2653
2653
|
function readText_0(_this__u8e3s4, charset, max) {
|
|
2654
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
2654
|
+
charset = charset === VOID ? Charsets_getInstance().j21_1 : charset;
|
|
2655
2655
|
max = max === VOID ? 2147483647 : max;
|
|
2656
|
-
if (charset.equals(Charsets_getInstance().
|
|
2656
|
+
if (charset.equals(Charsets_getInstance().j21_1)) {
|
|
2657
2657
|
if (max === 2147483647)
|
|
2658
2658
|
return readString_0(_this__u8e3s4);
|
|
2659
|
-
var tmp0 = _this__u8e3s4.
|
|
2659
|
+
var tmp0 = _this__u8e3s4.l1m().t();
|
|
2660
2660
|
// Inline function 'kotlin.math.min' call
|
|
2661
2661
|
var b = toLong(max);
|
|
2662
2662
|
var count = tmp0.h1(b) <= 0 ? tmp0 : b;
|
|
2663
2663
|
return readString_1(_this__u8e3s4, count);
|
|
2664
2664
|
}
|
|
2665
|
-
return decode(charset.
|
|
2665
|
+
return decode(charset.n21(), _this__u8e3s4, max);
|
|
2666
2666
|
}
|
|
2667
2667
|
function writeText(_this__u8e3s4, text, fromIndex, toIndex, charset) {
|
|
2668
2668
|
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
2669
2669
|
toIndex = toIndex === VOID ? charSequenceLength(text) : toIndex;
|
|
2670
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
2671
|
-
if (charset === Charsets_getInstance().
|
|
2670
|
+
charset = charset === VOID ? Charsets_getInstance().j21_1 : charset;
|
|
2671
|
+
if (charset === Charsets_getInstance().j21_1) {
|
|
2672
2672
|
return writeString(_this__u8e3s4, toString_1(text), fromIndex, toIndex);
|
|
2673
2673
|
}
|
|
2674
|
-
encodeToImpl(charset.
|
|
2674
|
+
encodeToImpl(charset.m21(), _this__u8e3s4, text, fromIndex, toIndex);
|
|
2675
2675
|
}
|
|
2676
2676
|
function get_ByteArrayPool() {
|
|
2677
2677
|
_init_properties_ByteArrayPool_kt__kfi3uj();
|
|
@@ -2681,7 +2681,7 @@ var ByteArrayPool;
|
|
|
2681
2681
|
function ByteArrayPool$1() {
|
|
2682
2682
|
DefaultPool.call(this, 128);
|
|
2683
2683
|
}
|
|
2684
|
-
protoOf(ByteArrayPool$1).
|
|
2684
|
+
protoOf(ByteArrayPool$1).r21 = function () {
|
|
2685
2685
|
return new Int8Array(4096);
|
|
2686
2686
|
};
|
|
2687
2687
|
var properties_initialized_ByteArrayPool_kt_td6pfh;
|
|
@@ -2695,21 +2695,21 @@ function ObjectPool() {
|
|
|
2695
2695
|
}
|
|
2696
2696
|
function NoPoolImpl() {
|
|
2697
2697
|
}
|
|
2698
|
-
protoOf(NoPoolImpl).
|
|
2698
|
+
protoOf(NoPoolImpl).z21 = function (instance) {
|
|
2699
2699
|
return Unit_instance;
|
|
2700
2700
|
};
|
|
2701
|
-
protoOf(NoPoolImpl).
|
|
2701
|
+
protoOf(NoPoolImpl).qt = function () {
|
|
2702
2702
|
return Unit_instance;
|
|
2703
2703
|
};
|
|
2704
2704
|
function Companion_2() {
|
|
2705
2705
|
}
|
|
2706
|
-
protoOf(Companion_2).
|
|
2706
|
+
protoOf(Companion_2).a22 = function (name) {
|
|
2707
2707
|
switch (name) {
|
|
2708
2708
|
case 'UTF-8':
|
|
2709
2709
|
case 'utf-8':
|
|
2710
2710
|
case 'UTF8':
|
|
2711
2711
|
case 'utf8':
|
|
2712
|
-
return Charsets_getInstance().
|
|
2712
|
+
return Charsets_getInstance().j21_1;
|
|
2713
2713
|
}
|
|
2714
2714
|
var tmp;
|
|
2715
2715
|
var tmp_0;
|
|
@@ -2740,11 +2740,11 @@ protoOf(Companion_2).a21 = function (name) {
|
|
|
2740
2740
|
tmp = name === 'latin1' || name === 'Latin1';
|
|
2741
2741
|
}
|
|
2742
2742
|
if (tmp) {
|
|
2743
|
-
return Charsets_getInstance().
|
|
2743
|
+
return Charsets_getInstance().k21_1;
|
|
2744
2744
|
}
|
|
2745
2745
|
throw IllegalArgumentException_init_$Create$('Charset ' + name + ' is not supported');
|
|
2746
2746
|
};
|
|
2747
|
-
protoOf(Companion_2).
|
|
2747
|
+
protoOf(Companion_2).b22 = function (charset) {
|
|
2748
2748
|
var tmp;
|
|
2749
2749
|
switch (charset) {
|
|
2750
2750
|
case 'UTF-8':
|
|
@@ -2799,7 +2799,7 @@ function Companion_getInstance_2() {
|
|
|
2799
2799
|
return Companion_instance_3;
|
|
2800
2800
|
}
|
|
2801
2801
|
function Charset(_name) {
|
|
2802
|
-
this.
|
|
2802
|
+
this.l21_1 = _name;
|
|
2803
2803
|
}
|
|
2804
2804
|
protoOf(Charset).equals = function (other) {
|
|
2805
2805
|
if (this === other)
|
|
@@ -2808,21 +2808,21 @@ protoOf(Charset).equals = function (other) {
|
|
|
2808
2808
|
return false;
|
|
2809
2809
|
if (!(other instanceof Charset))
|
|
2810
2810
|
THROW_CCE();
|
|
2811
|
-
return this.
|
|
2811
|
+
return this.l21_1 === other.l21_1;
|
|
2812
2812
|
};
|
|
2813
2813
|
protoOf(Charset).hashCode = function () {
|
|
2814
|
-
return getStringHashCode(this.
|
|
2814
|
+
return getStringHashCode(this.l21_1);
|
|
2815
2815
|
};
|
|
2816
2816
|
protoOf(Charset).toString = function () {
|
|
2817
|
-
return this.
|
|
2817
|
+
return this.l21_1;
|
|
2818
2818
|
};
|
|
2819
2819
|
function get_name(_this__u8e3s4) {
|
|
2820
|
-
return _this__u8e3s4.
|
|
2820
|
+
return _this__u8e3s4.l21_1;
|
|
2821
2821
|
}
|
|
2822
2822
|
function Charsets() {
|
|
2823
2823
|
Charsets_instance = this;
|
|
2824
|
-
this.
|
|
2825
|
-
this.
|
|
2824
|
+
this.j21_1 = new CharsetImpl('UTF-8');
|
|
2825
|
+
this.k21_1 = new CharsetImpl('ISO-8859-1');
|
|
2826
2826
|
}
|
|
2827
2827
|
var Charsets_instance;
|
|
2828
2828
|
function Charsets_getInstance() {
|
|
@@ -2835,7 +2835,7 @@ function MalformedInputException(message) {
|
|
|
2835
2835
|
captureStack(this, MalformedInputException);
|
|
2836
2836
|
}
|
|
2837
2837
|
function CharsetDecoder(_charset) {
|
|
2838
|
-
this.
|
|
2838
|
+
this.c22_1 = _charset;
|
|
2839
2839
|
}
|
|
2840
2840
|
function encodeToByteArray_0(_this__u8e3s4, input, fromIndex, toIndex) {
|
|
2841
2841
|
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
@@ -2843,15 +2843,15 @@ function encodeToByteArray_0(_this__u8e3s4, input, fromIndex, toIndex) {
|
|
|
2843
2843
|
return encodeToByteArrayImpl(_this__u8e3s4, input, fromIndex, toIndex);
|
|
2844
2844
|
}
|
|
2845
2845
|
function CharsetEncoder(_charset) {
|
|
2846
|
-
this.
|
|
2846
|
+
this.d22_1 = _charset;
|
|
2847
2847
|
}
|
|
2848
2848
|
function CharsetImpl(name) {
|
|
2849
2849
|
Charset.call(this, name);
|
|
2850
2850
|
}
|
|
2851
|
-
protoOf(CharsetImpl).
|
|
2851
|
+
protoOf(CharsetImpl).m21 = function () {
|
|
2852
2852
|
return new CharsetEncoderImpl(this);
|
|
2853
2853
|
};
|
|
2854
|
-
protoOf(CharsetImpl).
|
|
2854
|
+
protoOf(CharsetImpl).n21 = function () {
|
|
2855
2855
|
return new CharsetDecoderImpl(this);
|
|
2856
2856
|
};
|
|
2857
2857
|
function encodeToByteArrayImpl(_this__u8e3s4, input, fromIndex, toIndex) {
|
|
@@ -2871,13 +2871,13 @@ function encodeToByteArrayImpl(_this__u8e3s4, input, fromIndex, toIndex) {
|
|
|
2871
2871
|
}
|
|
2872
2872
|
function CharsetEncoderImpl(charset) {
|
|
2873
2873
|
CharsetEncoder.call(this, charset);
|
|
2874
|
-
this.
|
|
2874
|
+
this.g22_1 = charset;
|
|
2875
2875
|
}
|
|
2876
2876
|
protoOf(CharsetEncoderImpl).toString = function () {
|
|
2877
|
-
return 'CharsetEncoderImpl(charset=' + this.
|
|
2877
|
+
return 'CharsetEncoderImpl(charset=' + this.g22_1.toString() + ')';
|
|
2878
2878
|
};
|
|
2879
2879
|
protoOf(CharsetEncoderImpl).hashCode = function () {
|
|
2880
|
-
return this.
|
|
2880
|
+
return this.g22_1.hashCode();
|
|
2881
2881
|
};
|
|
2882
2882
|
protoOf(CharsetEncoderImpl).equals = function (other) {
|
|
2883
2883
|
if (this === other)
|
|
@@ -2885,19 +2885,19 @@ protoOf(CharsetEncoderImpl).equals = function (other) {
|
|
|
2885
2885
|
if (!(other instanceof CharsetEncoderImpl))
|
|
2886
2886
|
return false;
|
|
2887
2887
|
var tmp0_other_with_cast = other instanceof CharsetEncoderImpl ? other : THROW_CCE();
|
|
2888
|
-
if (!this.
|
|
2888
|
+
if (!this.g22_1.equals(tmp0_other_with_cast.g22_1))
|
|
2889
2889
|
return false;
|
|
2890
2890
|
return true;
|
|
2891
2891
|
};
|
|
2892
2892
|
function CharsetDecoderImpl(charset) {
|
|
2893
2893
|
CharsetDecoder.call(this, charset);
|
|
2894
|
-
this.
|
|
2894
|
+
this.i22_1 = charset;
|
|
2895
2895
|
}
|
|
2896
2896
|
protoOf(CharsetDecoderImpl).toString = function () {
|
|
2897
|
-
return 'CharsetDecoderImpl(charset=' + this.
|
|
2897
|
+
return 'CharsetDecoderImpl(charset=' + this.i22_1.toString() + ')';
|
|
2898
2898
|
};
|
|
2899
2899
|
protoOf(CharsetDecoderImpl).hashCode = function () {
|
|
2900
|
-
return this.
|
|
2900
|
+
return this.i22_1.hashCode();
|
|
2901
2901
|
};
|
|
2902
2902
|
protoOf(CharsetDecoderImpl).equals = function (other) {
|
|
2903
2903
|
if (this === other)
|
|
@@ -2905,7 +2905,7 @@ protoOf(CharsetDecoderImpl).equals = function (other) {
|
|
|
2905
2905
|
if (!(other instanceof CharsetDecoderImpl))
|
|
2906
2906
|
return false;
|
|
2907
2907
|
var tmp0_other_with_cast = other instanceof CharsetDecoderImpl ? other : THROW_CCE();
|
|
2908
|
-
if (!this.
|
|
2908
|
+
if (!this.i22_1.equals(tmp0_other_with_cast.i22_1))
|
|
2909
2909
|
return false;
|
|
2910
2910
|
return true;
|
|
2911
2911
|
};
|
|
@@ -2916,11 +2916,11 @@ function encodeImpl(_this__u8e3s4, input, fromIndex, toIndex, dst) {
|
|
|
2916
2916
|
var message = 'Failed requirement.';
|
|
2917
2917
|
throw IllegalArgumentException_init_$Create$(toString_1(message));
|
|
2918
2918
|
}
|
|
2919
|
-
if (get_charset(_this__u8e3s4).equals(Charsets_getInstance().
|
|
2919
|
+
if (get_charset(_this__u8e3s4).equals(Charsets_getInstance().k21_1)) {
|
|
2920
2920
|
return encodeISO88591(input, fromIndex, toIndex, dst);
|
|
2921
2921
|
}
|
|
2922
2922
|
// Inline function 'kotlin.require' call
|
|
2923
|
-
if (!(get_charset(_this__u8e3s4) === Charsets_getInstance().
|
|
2923
|
+
if (!(get_charset(_this__u8e3s4) === Charsets_getInstance().j21_1)) {
|
|
2924
2924
|
var message_0 = 'Only UTF-8 encoding is supported in JS';
|
|
2925
2925
|
throw IllegalArgumentException_init_$Create$(toString_1(message_0));
|
|
2926
2926
|
}
|
|
@@ -2930,15 +2930,15 @@ function encodeImpl(_this__u8e3s4, input, fromIndex, toIndex, dst) {
|
|
|
2930
2930
|
var result = encoder.encode(tmp$ret$5);
|
|
2931
2931
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2932
2932
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2933
|
-
dst.
|
|
2933
|
+
dst.z1n(result);
|
|
2934
2934
|
return result.length;
|
|
2935
2935
|
}
|
|
2936
2936
|
function get_charset(_this__u8e3s4) {
|
|
2937
|
-
return _this__u8e3s4.
|
|
2937
|
+
return _this__u8e3s4.d22_1;
|
|
2938
2938
|
}
|
|
2939
2939
|
function decode_0(_this__u8e3s4, input, dst, max) {
|
|
2940
2940
|
var decoder = Decoder(get_name(get_charset_0(_this__u8e3s4)), true);
|
|
2941
|
-
var tmp0 = input.
|
|
2941
|
+
var tmp0 = input.l1m().t();
|
|
2942
2942
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2943
2943
|
var b = toLong(max);
|
|
2944
2944
|
var count = tmp0.h1(b) <= 0 ? tmp0 : b;
|
|
@@ -2946,7 +2946,7 @@ function decode_0(_this__u8e3s4, input, dst, max) {
|
|
|
2946
2946
|
var array = tmp instanceof Int8Array ? tmp : THROW_CCE();
|
|
2947
2947
|
var tmp_0;
|
|
2948
2948
|
try {
|
|
2949
|
-
tmp_0 = decoder.
|
|
2949
|
+
tmp_0 = decoder.j22(array);
|
|
2950
2950
|
} catch ($p) {
|
|
2951
2951
|
var tmp_1;
|
|
2952
2952
|
if ($p instanceof Error) {
|
|
@@ -2962,13 +2962,13 @@ function decode_0(_this__u8e3s4, input, dst, max) {
|
|
|
2962
2962
|
return result.length;
|
|
2963
2963
|
}
|
|
2964
2964
|
function get_charset_0(_this__u8e3s4) {
|
|
2965
|
-
return _this__u8e3s4.
|
|
2965
|
+
return _this__u8e3s4.c22_1;
|
|
2966
2966
|
}
|
|
2967
2967
|
function forName(_this__u8e3s4, name) {
|
|
2968
|
-
return Companion_instance_3.
|
|
2968
|
+
return Companion_instance_3.a22(name);
|
|
2969
2969
|
}
|
|
2970
2970
|
function isSupported(_this__u8e3s4, name) {
|
|
2971
|
-
return Companion_instance_3.
|
|
2971
|
+
return Companion_instance_3.b22(name);
|
|
2972
2972
|
}
|
|
2973
2973
|
function Decoder(encoding, fatal) {
|
|
2974
2974
|
fatal = fatal === VOID ? true : fatal;
|
|
@@ -3000,10 +3000,10 @@ function textDecoderOptions(fatal) {
|
|
|
3000
3000
|
return this_0;
|
|
3001
3001
|
}
|
|
3002
3002
|
function toKtor$1($this_toKtor) {
|
|
3003
|
-
this.
|
|
3003
|
+
this.k22_1 = $this_toKtor;
|
|
3004
3004
|
}
|
|
3005
|
-
protoOf(toKtor$1).
|
|
3006
|
-
return this.
|
|
3005
|
+
protoOf(toKtor$1).j22 = function (buffer) {
|
|
3006
|
+
return this.k22_1.decode(buffer);
|
|
3007
3007
|
};
|
|
3008
3008
|
function get_ENCODING_ALIASES() {
|
|
3009
3009
|
_init_properties_TextDecoderFallback_js_kt__an7r6m();
|
|
@@ -3016,7 +3016,7 @@ function get_REPLACEMENT() {
|
|
|
3016
3016
|
}
|
|
3017
3017
|
var REPLACEMENT;
|
|
3018
3018
|
function TextDecoderFallback(encoding, fatal) {
|
|
3019
|
-
this.
|
|
3019
|
+
this.l22_1 = fatal;
|
|
3020
3020
|
// Inline function 'kotlin.text.trim' call
|
|
3021
3021
|
// Inline function 'kotlin.text.lowercase' call
|
|
3022
3022
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3027,7 +3027,7 @@ function TextDecoderFallback(encoding, fatal) {
|
|
|
3027
3027
|
throw IllegalStateException_init_$Create$(toString_1(message));
|
|
3028
3028
|
}
|
|
3029
3029
|
}
|
|
3030
|
-
protoOf(TextDecoderFallback).
|
|
3030
|
+
protoOf(TextDecoderFallback).j22 = function (buffer) {
|
|
3031
3031
|
// Inline function 'io.ktor.utils.io.core.buildPacket' call
|
|
3032
3032
|
var builder = new Buffer();
|
|
3033
3033
|
var bytes = buffer instanceof Int8Array ? buffer : THROW_CCE();
|
|
@@ -3043,7 +3043,7 @@ protoOf(TextDecoderFallback).j21 = function (buffer) {
|
|
|
3043
3043
|
var point = toCodePoint(byte);
|
|
3044
3044
|
if (point < 0) {
|
|
3045
3045
|
// Inline function 'kotlin.check' call
|
|
3046
|
-
if (!!this.
|
|
3046
|
+
if (!!this.l22_1) {
|
|
3047
3047
|
var message = 'Invalid character: ' + point;
|
|
3048
3048
|
throw IllegalStateException_init_$Create$(toString_1(message));
|
|
3049
3049
|
}
|
|
@@ -3051,9 +3051,9 @@ protoOf(TextDecoderFallback).j21 = function (buffer) {
|
|
|
3051
3051
|
continue $l$loop;
|
|
3052
3052
|
}
|
|
3053
3053
|
if (point > 255) {
|
|
3054
|
-
builder.
|
|
3054
|
+
builder.f1o(toByte(point >> 8));
|
|
3055
3055
|
}
|
|
3056
|
-
builder.
|
|
3056
|
+
builder.f1o(toByte(point & 255));
|
|
3057
3057
|
}
|
|
3058
3058
|
while (inductionVariable < last);
|
|
3059
3059
|
return decodeToString(readByteArray_0(builder));
|
|
@@ -3096,7 +3096,7 @@ function encodeISO88591(input, fromIndex, toIndex, dst) {
|
|
|
3096
3096
|
if (character > 255) {
|
|
3097
3097
|
failedToMapError(character);
|
|
3098
3098
|
}
|
|
3099
|
-
dst.
|
|
3099
|
+
dst.f1o(toByte(character));
|
|
3100
3100
|
}
|
|
3101
3101
|
while (inductionVariable < toIndex);
|
|
3102
3102
|
return toIndex - fromIndex | 0;
|
|
@@ -3118,66 +3118,66 @@ function _init_properties_Win1252Table_kt__tl0v64() {
|
|
|
3118
3118
|
}
|
|
3119
3119
|
}
|
|
3120
3120
|
function DefaultPool(capacity) {
|
|
3121
|
-
this.
|
|
3121
|
+
this.s21_1 = capacity;
|
|
3122
3122
|
var tmp = this;
|
|
3123
3123
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
3124
|
-
var size = this.
|
|
3125
|
-
tmp.
|
|
3126
|
-
this.
|
|
3124
|
+
var size = this.s21_1;
|
|
3125
|
+
tmp.t21_1 = Array(size);
|
|
3126
|
+
this.u21_1 = 0;
|
|
3127
3127
|
}
|
|
3128
|
-
protoOf(DefaultPool).
|
|
3128
|
+
protoOf(DefaultPool).v21 = function (instance) {
|
|
3129
3129
|
};
|
|
3130
|
-
protoOf(DefaultPool).
|
|
3130
|
+
protoOf(DefaultPool).w21 = function (instance) {
|
|
3131
3131
|
return instance;
|
|
3132
3132
|
};
|
|
3133
|
-
protoOf(DefaultPool).
|
|
3133
|
+
protoOf(DefaultPool).x21 = function (instance) {
|
|
3134
3134
|
};
|
|
3135
|
-
protoOf(DefaultPool).
|
|
3136
|
-
if (this.
|
|
3137
|
-
return this.
|
|
3138
|
-
this.
|
|
3139
|
-
var idx = this.
|
|
3140
|
-
var tmp = this.
|
|
3135
|
+
protoOf(DefaultPool).y21 = function () {
|
|
3136
|
+
if (this.u21_1 === 0)
|
|
3137
|
+
return this.r21();
|
|
3138
|
+
this.u21_1 = this.u21_1 - 1 | 0;
|
|
3139
|
+
var idx = this.u21_1;
|
|
3140
|
+
var tmp = this.t21_1[idx];
|
|
3141
3141
|
var instance = !(tmp == null) ? tmp : THROW_CCE();
|
|
3142
|
-
this.
|
|
3143
|
-
return this.
|
|
3142
|
+
this.t21_1[idx] = null;
|
|
3143
|
+
return this.w21(instance);
|
|
3144
3144
|
};
|
|
3145
|
-
protoOf(DefaultPool).
|
|
3146
|
-
this.
|
|
3147
|
-
if (this.
|
|
3148
|
-
this.
|
|
3145
|
+
protoOf(DefaultPool).z21 = function (instance) {
|
|
3146
|
+
this.x21(instance);
|
|
3147
|
+
if (this.u21_1 === this.s21_1) {
|
|
3148
|
+
this.v21(instance);
|
|
3149
3149
|
} else {
|
|
3150
|
-
var _unary__edvuaz = this.
|
|
3151
|
-
this.
|
|
3152
|
-
this.
|
|
3150
|
+
var _unary__edvuaz = this.u21_1;
|
|
3151
|
+
this.u21_1 = _unary__edvuaz + 1 | 0;
|
|
3152
|
+
this.t21_1[_unary__edvuaz] = instance;
|
|
3153
3153
|
}
|
|
3154
3154
|
};
|
|
3155
|
-
protoOf(DefaultPool).
|
|
3155
|
+
protoOf(DefaultPool).qt = function () {
|
|
3156
3156
|
var inductionVariable = 0;
|
|
3157
|
-
var last = this.
|
|
3157
|
+
var last = this.u21_1;
|
|
3158
3158
|
if (inductionVariable < last)
|
|
3159
3159
|
do {
|
|
3160
3160
|
var i = inductionVariable;
|
|
3161
3161
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3162
|
-
var tmp = this.
|
|
3162
|
+
var tmp = this.t21_1[i];
|
|
3163
3163
|
var instance = !(tmp == null) ? tmp : THROW_CCE();
|
|
3164
|
-
this.
|
|
3165
|
-
this.
|
|
3164
|
+
this.t21_1[i] = null;
|
|
3165
|
+
this.v21(instance);
|
|
3166
3166
|
}
|
|
3167
3167
|
while (inductionVariable < last);
|
|
3168
|
-
this.
|
|
3168
|
+
this.u21_1 = 0;
|
|
3169
3169
|
};
|
|
3170
3170
|
//region block: post-declaration
|
|
3171
|
-
protoOf(Read).
|
|
3172
|
-
protoOf(Read).
|
|
3173
|
-
protoOf(Write).
|
|
3174
|
-
protoOf(Write).
|
|
3175
|
-
protoOf(ByteChannel).
|
|
3176
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
3177
|
-
protoOf(CountedByteReadChannel).
|
|
3178
|
-
protoOf(SourceByteReadChannel).
|
|
3179
|
-
protoOf(DefaultPool).
|
|
3180
|
-
protoOf(NoPoolImpl).
|
|
3171
|
+
protoOf(Read).q1p = resume;
|
|
3172
|
+
protoOf(Read).r1p = resume_0;
|
|
3173
|
+
protoOf(Write).q1p = resume;
|
|
3174
|
+
protoOf(Write).r1p = resume_0;
|
|
3175
|
+
protoOf(ByteChannel).b1s = awaitContent$default;
|
|
3176
|
+
protoOf(ByteReadChannel$Companion$Empty$1).b1s = awaitContent$default;
|
|
3177
|
+
protoOf(CountedByteReadChannel).b1s = awaitContent$default;
|
|
3178
|
+
protoOf(SourceByteReadChannel).b1s = awaitContent$default;
|
|
3179
|
+
protoOf(DefaultPool).r4 = close;
|
|
3180
|
+
protoOf(NoPoolImpl).r4 = close;
|
|
3181
3181
|
//endregion
|
|
3182
3182
|
//region block: init
|
|
3183
3183
|
Empty_instance = new Empty();
|
|
@@ -3185,19 +3185,19 @@ Companion_instance_3 = new Companion_2();
|
|
|
3185
3185
|
//endregion
|
|
3186
3186
|
//region block: exports
|
|
3187
3187
|
export {
|
|
3188
|
-
copyTo as
|
|
3189
|
-
readAvailable as
|
|
3190
|
-
readPacket as
|
|
3191
|
-
readRemaining as
|
|
3192
|
-
readUTF8LineTo as
|
|
3193
|
-
readUntil as
|
|
3194
|
-
skipIfFound as
|
|
3195
|
-
toByteArray as
|
|
3196
|
-
writeFully as
|
|
3197
|
-
LineEndingMode__plus_impl_ttpz2j as
|
|
3198
|
-
Charsets_getInstance as
|
|
3199
|
-
Companion_getInstance_0 as
|
|
3200
|
-
Companion_getInstance_1 as
|
|
3188
|
+
copyTo as copyTo2vm7vz7rr51or,
|
|
3189
|
+
readAvailable as readAvailable22vc1bmbuj93x,
|
|
3190
|
+
readPacket as readPacket2q2gamtzwxjd1,
|
|
3191
|
+
readRemaining as readRemaining1x8kk1vq7p6gm,
|
|
3192
|
+
readUTF8LineTo as readUTF8LineTo3cgartetbq4tk,
|
|
3193
|
+
readUntil as readUntil2jtfemvkt7z1f,
|
|
3194
|
+
skipIfFound as skipIfFound1yms04v7e3tuk,
|
|
3195
|
+
toByteArray as toByteArrayafjflk7yznm4,
|
|
3196
|
+
writeFully as writeFully3gv1ab611t04k,
|
|
3197
|
+
LineEndingMode__plus_impl_ttpz2j as LineEndingMode__plus_impl_ttpz2j1vdcj3ndf6qez,
|
|
3198
|
+
Charsets_getInstance as Charsets_getInstanceqs70pvl4noow,
|
|
3199
|
+
Companion_getInstance_0 as Companion_getInstance2ai11rhpust2a,
|
|
3200
|
+
Companion_getInstance_1 as Companion_getInstance2zbi981hww1p4,
|
|
3201
3201
|
MalformedInputException as MalformedInputExceptionbvc6h5ij0ias,
|
|
3202
3202
|
decode as decode1t43jmuxrxpmo,
|
|
3203
3203
|
encode as encode35e4rpnc94tb5,
|