@doordeck/doordeck-headless-sdk 0.186.0 → 0.188.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kotlin/Kermit-kermit-core.js +56 -56
- package/kotlin/Kermit-kermit.js +7 -7
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +42 -42
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +22 -22
- package/kotlin/doordeck-sdk.d.ts +37 -37
- package/kotlin/doordeck-sdk.js +12308 -12323
- package/kotlin/kotlin-kotlin-stdlib.js +2489 -2452
- package/kotlin/kotlinx-atomicfu.js +20 -21
- package/kotlin/kotlinx-coroutines-core.js +2285 -2303
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +43 -43
- package/kotlin/kotlinx-io-kotlinx-io-core.js +582 -588
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1826 -1831
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1465 -1468
- package/kotlin/ktor-ktor-client-auth.js +444 -444
- package/kotlin/ktor-ktor-client-content-negotiation.js +203 -203
- package/kotlin/ktor-ktor-client-core.js +3109 -3111
- package/kotlin/ktor-ktor-client-logging.js +1118 -1119
- package/kotlin/ktor-ktor-events.js +11 -11
- package/kotlin/ktor-ktor-http-cio.js +537 -539
- package/kotlin/ktor-ktor-http.js +778 -778
- package/kotlin/ktor-ktor-io.js +1106 -1109
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +6 -6
- package/kotlin/ktor-ktor-serialization-kotlinx.js +246 -246
- package/kotlin/ktor-ktor-serialization.js +120 -120
- package/kotlin/ktor-ktor-utils.js +857 -857
- package/kotlin/ktor-ktor-websockets.js +48 -48
- package/package.json +1 -1
|
@@ -2,43 +2,42 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
|
-
var Long = kotlin_kotlin.$_$.wf;
|
|
6
5
|
var VOID = kotlin_kotlin.$_$.b;
|
|
7
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
6
|
+
var protoOf = kotlin_kotlin.$_$.xb;
|
|
8
7
|
var MultiPartData = kotlin_io_ktor_ktor_http.$_$.n;
|
|
9
8
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b1;
|
|
10
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
9
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ab;
|
|
11
10
|
var Unit_instance = kotlin_kotlin.$_$.b5;
|
|
12
|
-
var toString = kotlin_kotlin.$_$.
|
|
11
|
+
var toString = kotlin_kotlin.$_$.ac;
|
|
13
12
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.n1;
|
|
14
|
-
var abs = kotlin_kotlin.$_$.
|
|
13
|
+
var abs = kotlin_kotlin.$_$.bc;
|
|
15
14
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.d1;
|
|
16
15
|
var CoroutineImpl = kotlin_kotlin.$_$.j9;
|
|
17
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
18
|
-
var SequenceScope = kotlin_kotlin.$_$.
|
|
16
|
+
var THROW_CCE = kotlin_kotlin.$_$.vf;
|
|
17
|
+
var SequenceScope = kotlin_kotlin.$_$.vc;
|
|
19
18
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.t8;
|
|
20
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
19
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.fb;
|
|
21
20
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
|
|
22
|
-
var sequence = kotlin_kotlin.$_$.
|
|
21
|
+
var sequence = kotlin_kotlin.$_$.wc;
|
|
23
22
|
var DefaultPool = kotlin_io_ktor_ktor_io.$_$.h1;
|
|
24
23
|
var fill = kotlin_kotlin.$_$.t6;
|
|
25
|
-
var isIntArray = kotlin_kotlin.$_$.
|
|
24
|
+
var isIntArray = kotlin_kotlin.$_$.ob;
|
|
26
25
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.f2;
|
|
27
|
-
var endsWith = kotlin_kotlin.$_$.
|
|
28
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
29
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
30
|
-
var Char = kotlin_kotlin.$_$.
|
|
26
|
+
var endsWith = kotlin_kotlin.$_$.fd;
|
|
27
|
+
var charSequenceLength = kotlin_kotlin.$_$.oa;
|
|
28
|
+
var charSequenceGet = kotlin_kotlin.$_$.na;
|
|
29
|
+
var Char = kotlin_kotlin.$_$.hf;
|
|
31
30
|
var Char__compareTo_impl_ypi4mb = kotlin_kotlin.$_$.g2;
|
|
32
|
-
var contains = kotlin_kotlin.$_$.
|
|
33
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
31
|
+
var contains = kotlin_kotlin.$_$.ad;
|
|
32
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.pa;
|
|
34
33
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.l2;
|
|
35
|
-
var IllegalStateException = kotlin_kotlin.$_$.
|
|
34
|
+
var IllegalStateException = kotlin_kotlin.$_$.qf;
|
|
36
35
|
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.q1;
|
|
37
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
36
|
+
var captureStack = kotlin_kotlin.$_$.ja;
|
|
38
37
|
var readUTF8LineTo = kotlin_io_ktor_ktor_io.$_$.h;
|
|
39
38
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r1;
|
|
40
39
|
var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.g;
|
|
41
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
40
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.cb;
|
|
42
41
|
var setOf = kotlin_kotlin.$_$.y7;
|
|
43
42
|
var Companion_getInstance = kotlin_io_ktor_ktor_io.$_$.q;
|
|
44
43
|
var LineEndingMode__plus_impl_ttpz2j = kotlin_io_ktor_ktor_io.$_$.n;
|
|
@@ -46,64 +45,63 @@
|
|
|
46
45
|
var MultiPart_getInstance = kotlin_io_ktor_ktor_http.$_$.d;
|
|
47
46
|
var ByteString_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.a;
|
|
48
47
|
var IOException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.c;
|
|
49
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
50
|
-
var toByte = kotlin_kotlin.$_$.
|
|
48
|
+
var toString_0 = kotlin_kotlin.$_$.se;
|
|
49
|
+
var toByte = kotlin_kotlin.$_$.yb;
|
|
51
50
|
var copyOfRange = kotlin_kotlin.$_$.c6;
|
|
52
51
|
var produce = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.n;
|
|
53
|
-
var startsWith = kotlin_kotlin.$_$.
|
|
52
|
+
var startsWith = kotlin_kotlin.$_$.be;
|
|
54
53
|
var readUntil = kotlin_io_ktor_ktor_io.$_$.i;
|
|
55
54
|
var WriterScope = kotlin_io_ktor_ktor_io.$_$.m1;
|
|
56
55
|
var ProducerScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l;
|
|
57
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
56
|
+
var isInterface = kotlin_kotlin.$_$.pb;
|
|
58
57
|
var counted = kotlin_io_ktor_ktor_io.$_$.p1;
|
|
59
58
|
var writer = kotlin_io_ktor_ktor_io.$_$.t1;
|
|
60
59
|
var readRemaining = kotlin_io_ktor_ktor_io.$_$.f;
|
|
61
60
|
var get_remaining = kotlin_io_ktor_ktor_io.$_$.b1;
|
|
62
|
-
var compare = kotlin_kotlin.$_$.s9;
|
|
63
61
|
var skipIfFound = kotlin_io_ktor_ktor_io.$_$.j;
|
|
64
62
|
var ByteChannel = kotlin_io_ktor_ktor_io.$_$.j1;
|
|
65
63
|
var CompletableDeferred = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.w;
|
|
66
64
|
var CancellationException_init_$Create$ = kotlin_kotlin.$_$.x;
|
|
67
65
|
var close = kotlin_io_ktor_ktor_io.$_$.o1;
|
|
68
|
-
var subtract = kotlin_kotlin.$_$.
|
|
69
|
-
var convertToInt = kotlin_kotlin.$_$.
|
|
66
|
+
var subtract = kotlin_kotlin.$_$.da;
|
|
67
|
+
var convertToInt = kotlin_kotlin.$_$.r9;
|
|
70
68
|
var readPacket = kotlin_io_ktor_ktor_io.$_$.e;
|
|
71
69
|
var EOFException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
|
|
72
70
|
var copyTo = kotlin_io_ktor_ktor_io.$_$.a;
|
|
73
71
|
var add = kotlin_kotlin.$_$.p9;
|
|
74
|
-
var fromInt = kotlin_kotlin.$_$.
|
|
72
|
+
var fromInt = kotlin_kotlin.$_$.u9;
|
|
75
73
|
var toByteArray = kotlin_io_ktor_ktor_io.$_$.d1;
|
|
76
74
|
var ByteString = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.c;
|
|
77
75
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.s;
|
|
78
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
76
|
+
var compareTo = kotlin_kotlin.$_$.qa;
|
|
79
77
|
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.x1;
|
|
80
78
|
var Collection = kotlin_kotlin.$_$.d5;
|
|
81
79
|
var emptyList = kotlin_kotlin.$_$.q6;
|
|
82
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
83
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
80
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.bb;
|
|
81
|
+
var ensureNotNull = kotlin_kotlin.$_$.ng;
|
|
84
82
|
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.c1;
|
|
85
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
86
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
87
|
-
var CharSequence = kotlin_kotlin.$_$.
|
|
83
|
+
var isCharSequence = kotlin_kotlin.$_$.lb;
|
|
84
|
+
var getStringHashCode = kotlin_kotlin.$_$.ya;
|
|
85
|
+
var CharSequence = kotlin_kotlin.$_$.gf;
|
|
88
86
|
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.u1;
|
|
89
87
|
var NoPoolImpl = kotlin_io_ktor_ktor_io.$_$.i1;
|
|
90
|
-
var charArray = kotlin_kotlin.$_$.
|
|
91
|
-
var shiftLeft = kotlin_kotlin.$_$.
|
|
88
|
+
var charArray = kotlin_kotlin.$_$.la;
|
|
89
|
+
var shiftLeft = kotlin_kotlin.$_$.ba;
|
|
92
90
|
var NumberFormatException_init_$Create$ = kotlin_kotlin.$_$.y1;
|
|
93
91
|
var toString_1 = kotlin_kotlin.$_$.m2;
|
|
94
|
-
var charCodeAt = kotlin_kotlin.$_$.
|
|
92
|
+
var charCodeAt = kotlin_kotlin.$_$.ma;
|
|
95
93
|
var Companion_getInstance_0 = kotlin_io_ktor_ktor_http.$_$.h;
|
|
96
|
-
var numberRangeToNumber = kotlin_kotlin.$_$.
|
|
94
|
+
var numberRangeToNumber = kotlin_kotlin.$_$.ub;
|
|
97
95
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.w5;
|
|
98
96
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.i;
|
|
99
|
-
var numberToLong = kotlin_kotlin.$_$.
|
|
97
|
+
var numberToLong = kotlin_kotlin.$_$.aa;
|
|
100
98
|
var toLongArray = kotlin_kotlin.$_$.i8;
|
|
101
99
|
var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.j2;
|
|
102
100
|
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.i2;
|
|
103
101
|
var toByteArray_0 = kotlin_kotlin.$_$.d8;
|
|
104
102
|
var IOException = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.g;
|
|
105
103
|
var IOException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.b;
|
|
106
|
-
var isWhitespace = kotlin_kotlin.$_$.
|
|
104
|
+
var isWhitespace = kotlin_kotlin.$_$.od;
|
|
107
105
|
//endregion
|
|
108
106
|
//region block: pre-declaration
|
|
109
107
|
initMetadataForClass(CIOMultipartDataBase, 'CIOMultipartDataBase', VOID, VOID, [MultiPartData, CoroutineScope], [0, 1]);
|
|
@@ -134,13 +132,13 @@
|
|
|
134
132
|
initMetadataForClass(MutableRange, 'MutableRange');
|
|
135
133
|
//endregion
|
|
136
134
|
function CIOMultipartDataBase(coroutineContext, channel, contentType, contentLength, formFieldLimit) {
|
|
137
|
-
formFieldLimit = formFieldLimit === VOID ?
|
|
138
|
-
this.
|
|
139
|
-
this.
|
|
140
|
-
this.
|
|
135
|
+
formFieldLimit = formFieldLimit === VOID ? 65536n : formFieldLimit;
|
|
136
|
+
this.s33_1 = coroutineContext;
|
|
137
|
+
this.t33_1 = null;
|
|
138
|
+
this.u33_1 = parseMultipart(this, channel, contentType, contentLength, formFieldLimit);
|
|
141
139
|
}
|
|
142
|
-
protoOf(CIOMultipartDataBase).
|
|
143
|
-
return this.
|
|
140
|
+
protoOf(CIOMultipartDataBase).es = function () {
|
|
141
|
+
return this.s33_1;
|
|
144
142
|
};
|
|
145
143
|
function get_IntArrayPool() {
|
|
146
144
|
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
@@ -153,103 +151,103 @@
|
|
|
153
151
|
}
|
|
154
152
|
var HeadersDataPool;
|
|
155
153
|
function thresholdReached($this) {
|
|
156
|
-
return $this.
|
|
154
|
+
return $this.w33_1 >= $this.x33_1 * 0.75;
|
|
157
155
|
}
|
|
158
156
|
function resize($this) {
|
|
159
|
-
var prevSize = $this.
|
|
160
|
-
var prevData = $this.
|
|
161
|
-
$this.
|
|
162
|
-
$this.
|
|
157
|
+
var prevSize = $this.w33_1;
|
|
158
|
+
var prevData = $this.y33_1;
|
|
159
|
+
$this.w33_1 = 0;
|
|
160
|
+
$this.x33_1 = imul($this.x33_1, 2) | 128;
|
|
163
161
|
var tmp = $this;
|
|
164
162
|
// Inline function 'kotlin.apply' call
|
|
165
|
-
var this_0 = get_HeadersDataPool().
|
|
166
|
-
this_0.
|
|
167
|
-
tmp.
|
|
168
|
-
var _iterator__ex2g4s = prevData.
|
|
163
|
+
var this_0 = get_HeadersDataPool().f1w();
|
|
164
|
+
this_0.b34(imul(prevData.a34(), 2) | 1);
|
|
165
|
+
tmp.y33_1 = this_0;
|
|
166
|
+
var _iterator__ex2g4s = prevData.c34().t();
|
|
169
167
|
while (_iterator__ex2g4s.u()) {
|
|
170
168
|
var headerOffset = _iterator__ex2g4s.v();
|
|
171
|
-
$this.
|
|
169
|
+
$this.e34(prevData.d34(headerOffset + 1 | 0), prevData.d34(headerOffset + 2 | 0), prevData.d34(headerOffset + 3 | 0), prevData.d34(headerOffset + 4 | 0));
|
|
172
170
|
}
|
|
173
|
-
get_HeadersDataPool().
|
|
171
|
+
get_HeadersDataPool().g1w(prevData);
|
|
174
172
|
// Inline function 'kotlin.require' call
|
|
175
173
|
// Inline function 'kotlin.require' call
|
|
176
|
-
if (!(prevSize === $this.
|
|
174
|
+
if (!(prevSize === $this.w33_1)) {
|
|
177
175
|
var message = 'Failed requirement.';
|
|
178
176
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
179
177
|
}
|
|
180
178
|
}
|
|
181
179
|
function headerHasName($this, name, headerOffset) {
|
|
182
|
-
var nameStartIndex = $this.
|
|
183
|
-
var nameEndIndex = $this.
|
|
184
|
-
return equalsLowerCase($this.
|
|
180
|
+
var nameStartIndex = $this.y33_1.d34(headerOffset + 1 | 0);
|
|
181
|
+
var nameEndIndex = $this.y33_1.d34(headerOffset + 2 | 0);
|
|
182
|
+
return equalsLowerCase($this.v33_1, nameStartIndex, nameEndIndex, name);
|
|
185
183
|
}
|
|
186
184
|
function HttpHeadersMap(builder) {
|
|
187
|
-
this.
|
|
188
|
-
this.
|
|
189
|
-
this.
|
|
190
|
-
this.
|
|
185
|
+
this.v33_1 = builder;
|
|
186
|
+
this.w33_1 = 0;
|
|
187
|
+
this.x33_1 = 0;
|
|
188
|
+
this.y33_1 = get_HeadersDataPool().f1w();
|
|
191
189
|
}
|
|
192
|
-
protoOf(HttpHeadersMap).
|
|
193
|
-
if (this.
|
|
190
|
+
protoOf(HttpHeadersMap).d2k = function (name) {
|
|
191
|
+
if (this.w33_1 === 0)
|
|
194
192
|
return null;
|
|
195
193
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
196
194
|
var this_0 = hashCodeLowerCase(name);
|
|
197
195
|
var hash = abs(this_0);
|
|
198
|
-
var headerIndex = hash % this.
|
|
199
|
-
while (!(this.
|
|
196
|
+
var headerIndex = hash % this.x33_1 | 0;
|
|
197
|
+
while (!(this.y33_1.d34(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
200
198
|
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
201
|
-
return this.
|
|
199
|
+
return this.f34(imul(headerIndex, 6));
|
|
202
200
|
}
|
|
203
|
-
headerIndex = (headerIndex + 1 | 0) % this.
|
|
201
|
+
headerIndex = (headerIndex + 1 | 0) % this.x33_1 | 0;
|
|
204
202
|
}
|
|
205
203
|
return null;
|
|
206
204
|
};
|
|
207
|
-
protoOf(HttpHeadersMap).
|
|
208
|
-
return this.
|
|
205
|
+
protoOf(HttpHeadersMap).g34 = function () {
|
|
206
|
+
return this.y33_1.c34();
|
|
209
207
|
};
|
|
210
|
-
protoOf(HttpHeadersMap).
|
|
208
|
+
protoOf(HttpHeadersMap).e34 = function (nameStartIndex, nameEndIndex, valueStartIndex, valueEndIndex) {
|
|
211
209
|
if (thresholdReached(this)) {
|
|
212
210
|
resize(this);
|
|
213
211
|
}
|
|
214
212
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
215
|
-
var this_0 = hashCodeLowerCase(this.
|
|
213
|
+
var this_0 = hashCodeLowerCase(this.v33_1, nameStartIndex, nameEndIndex);
|
|
216
214
|
var hash = abs(this_0);
|
|
217
|
-
var name = this.
|
|
218
|
-
var headerIndex = hash % this.
|
|
215
|
+
var name = this.v33_1.c(nameStartIndex, nameEndIndex);
|
|
216
|
+
var headerIndex = hash % this.x33_1 | 0;
|
|
219
217
|
var sameNameHeaderIndex = -1;
|
|
220
|
-
while (!(this.
|
|
218
|
+
while (!(this.y33_1.d34(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
221
219
|
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
222
220
|
sameNameHeaderIndex = headerIndex;
|
|
223
221
|
}
|
|
224
|
-
headerIndex = (headerIndex + 1 | 0) % this.
|
|
222
|
+
headerIndex = (headerIndex + 1 | 0) % this.x33_1 | 0;
|
|
225
223
|
}
|
|
226
224
|
var headerOffset = imul(headerIndex, 6);
|
|
227
|
-
this.
|
|
228
|
-
this.
|
|
229
|
-
this.
|
|
230
|
-
this.
|
|
231
|
-
this.
|
|
232
|
-
this.
|
|
225
|
+
this.y33_1.o34(headerOffset + 0 | 0, hash);
|
|
226
|
+
this.y33_1.o34(headerOffset + 1 | 0, nameStartIndex);
|
|
227
|
+
this.y33_1.o34(headerOffset + 2 | 0, nameEndIndex);
|
|
228
|
+
this.y33_1.o34(headerOffset + 3 | 0, valueStartIndex);
|
|
229
|
+
this.y33_1.o34(headerOffset + 4 | 0, valueEndIndex);
|
|
230
|
+
this.y33_1.o34(headerOffset + 5 | 0, -1);
|
|
233
231
|
if (!(sameNameHeaderIndex === -1)) {
|
|
234
|
-
this.
|
|
232
|
+
this.y33_1.o34(imul(sameNameHeaderIndex, 6) + 5 | 0, headerIndex);
|
|
235
233
|
}
|
|
236
|
-
this.
|
|
234
|
+
this.w33_1 = this.w33_1 + 1 | 0;
|
|
237
235
|
};
|
|
238
|
-
protoOf(HttpHeadersMap).
|
|
239
|
-
var nameStartIndex = this.
|
|
240
|
-
var nameEndIndex = this.
|
|
241
|
-
return this.
|
|
236
|
+
protoOf(HttpHeadersMap).p34 = function (headerOffset) {
|
|
237
|
+
var nameStartIndex = this.y33_1.d34(headerOffset + 1 | 0);
|
|
238
|
+
var nameEndIndex = this.y33_1.d34(headerOffset + 2 | 0);
|
|
239
|
+
return this.v33_1.c(nameStartIndex, nameEndIndex);
|
|
242
240
|
};
|
|
243
|
-
protoOf(HttpHeadersMap).
|
|
244
|
-
var valueStartIndex = this.
|
|
245
|
-
var valueEndIndex = this.
|
|
246
|
-
return this.
|
|
241
|
+
protoOf(HttpHeadersMap).f34 = function (headerOffset) {
|
|
242
|
+
var valueStartIndex = this.y33_1.d34(headerOffset + 3 | 0);
|
|
243
|
+
var valueEndIndex = this.y33_1.d34(headerOffset + 4 | 0);
|
|
244
|
+
return this.v33_1.c(valueStartIndex, valueEndIndex);
|
|
247
245
|
};
|
|
248
|
-
protoOf(HttpHeadersMap).
|
|
249
|
-
this.
|
|
250
|
-
this.
|
|
251
|
-
get_HeadersDataPool().
|
|
252
|
-
this.
|
|
246
|
+
protoOf(HttpHeadersMap).z1g = function () {
|
|
247
|
+
this.w33_1 = 0;
|
|
248
|
+
this.x33_1 = 0;
|
|
249
|
+
get_HeadersDataPool().g1w(this.y33_1);
|
|
250
|
+
this.y33_1 = get_HeadersDataPool().f1w();
|
|
253
251
|
};
|
|
254
252
|
protoOf(HttpHeadersMap).toString = function () {
|
|
255
253
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -259,94 +257,94 @@
|
|
|
259
257
|
return this_0.toString();
|
|
260
258
|
};
|
|
261
259
|
function HeadersData$headersStarts$slambda(this$0, resultContinuation) {
|
|
262
|
-
this.
|
|
260
|
+
this.y34_1 = this$0;
|
|
263
261
|
CoroutineImpl.call(this, resultContinuation);
|
|
264
262
|
}
|
|
265
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
266
|
-
var tmp = this.
|
|
267
|
-
tmp.
|
|
268
|
-
tmp.
|
|
269
|
-
return tmp.
|
|
263
|
+
protoOf(HeadersData$headersStarts$slambda).e35 = function ($this$sequence, $completion) {
|
|
264
|
+
var tmp = this.f35($this$sequence, $completion);
|
|
265
|
+
tmp.c9_1 = Unit_instance;
|
|
266
|
+
tmp.d9_1 = null;
|
|
267
|
+
return tmp.i9();
|
|
270
268
|
};
|
|
271
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
272
|
-
return this.
|
|
269
|
+
protoOf(HeadersData$headersStarts$slambda).u9 = function (p1, $completion) {
|
|
270
|
+
return this.e35(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
273
271
|
};
|
|
274
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
275
|
-
var suspendResult = this.
|
|
272
|
+
protoOf(HeadersData$headersStarts$slambda).i9 = function () {
|
|
273
|
+
var suspendResult = this.c9_1;
|
|
276
274
|
$sm: do
|
|
277
275
|
try {
|
|
278
|
-
var tmp = this.
|
|
276
|
+
var tmp = this.a9_1;
|
|
279
277
|
switch (tmp) {
|
|
280
278
|
case 0:
|
|
281
|
-
this.
|
|
282
|
-
this.
|
|
283
|
-
this.
|
|
284
|
-
this.
|
|
279
|
+
this.b9_1 = 7;
|
|
280
|
+
this.a35_1 = 0;
|
|
281
|
+
this.d35_1 = this.y34_1.z33_1.t();
|
|
282
|
+
this.a9_1 = 1;
|
|
285
283
|
continue $sm;
|
|
286
284
|
case 1:
|
|
287
|
-
if (!this.
|
|
288
|
-
this.
|
|
285
|
+
if (!this.d35_1.u()) {
|
|
286
|
+
this.a9_1 = 6;
|
|
289
287
|
continue $sm;
|
|
290
288
|
}
|
|
291
289
|
|
|
292
|
-
this.
|
|
293
|
-
this.
|
|
294
|
-
this.
|
|
290
|
+
this.c35_1 = this.d35_1.v();
|
|
291
|
+
this.b35_1 = 0;
|
|
292
|
+
this.a9_1 = 2;
|
|
295
293
|
continue $sm;
|
|
296
294
|
case 2:
|
|
297
|
-
if (!(this.
|
|
298
|
-
this.
|
|
295
|
+
if (!(this.b35_1 < this.c35_1.length)) {
|
|
296
|
+
this.a9_1 = 5;
|
|
299
297
|
continue $sm;
|
|
300
298
|
}
|
|
301
299
|
|
|
302
|
-
if (!(this.
|
|
303
|
-
this.
|
|
304
|
-
suspendResult = this.
|
|
300
|
+
if (!(this.y34_1.d34(this.a35_1 + 0 | 0) === -1)) {
|
|
301
|
+
this.a9_1 = 3;
|
|
302
|
+
suspendResult = this.z34_1.kg(this.a35_1, this);
|
|
305
303
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
306
304
|
return suspendResult;
|
|
307
305
|
}
|
|
308
306
|
continue $sm;
|
|
309
307
|
} else {
|
|
310
|
-
this.
|
|
308
|
+
this.a9_1 = 4;
|
|
311
309
|
continue $sm;
|
|
312
310
|
}
|
|
313
311
|
|
|
314
312
|
case 3:
|
|
315
|
-
this.
|
|
313
|
+
this.a9_1 = 4;
|
|
316
314
|
continue $sm;
|
|
317
315
|
case 4:
|
|
318
|
-
this.
|
|
319
|
-
this.
|
|
320
|
-
this.
|
|
316
|
+
this.b35_1 = this.b35_1 + 6 | 0;
|
|
317
|
+
this.a35_1 = this.a35_1 + 6 | 0;
|
|
318
|
+
this.a9_1 = 2;
|
|
321
319
|
continue $sm;
|
|
322
320
|
case 5:
|
|
323
|
-
this.
|
|
321
|
+
this.a9_1 = 1;
|
|
324
322
|
continue $sm;
|
|
325
323
|
case 6:
|
|
326
324
|
return Unit_instance;
|
|
327
325
|
case 7:
|
|
328
|
-
throw this.
|
|
326
|
+
throw this.d9_1;
|
|
329
327
|
}
|
|
330
328
|
} catch ($p) {
|
|
331
329
|
var e = $p;
|
|
332
|
-
if (this.
|
|
330
|
+
if (this.b9_1 === 7) {
|
|
333
331
|
throw e;
|
|
334
332
|
} else {
|
|
335
|
-
this.
|
|
336
|
-
this.
|
|
333
|
+
this.a9_1 = this.b9_1;
|
|
334
|
+
this.d9_1 = e;
|
|
337
335
|
}
|
|
338
336
|
}
|
|
339
337
|
while (true);
|
|
340
338
|
};
|
|
341
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
342
|
-
var i = new HeadersData$headersStarts$slambda(this.
|
|
343
|
-
i.
|
|
339
|
+
protoOf(HeadersData$headersStarts$slambda).f35 = function ($this$sequence, completion) {
|
|
340
|
+
var i = new HeadersData$headersStarts$slambda(this.y34_1, completion);
|
|
341
|
+
i.z34_1 = $this$sequence;
|
|
344
342
|
return i;
|
|
345
343
|
};
|
|
346
344
|
function HeadersData$headersStarts$slambda_0(this$0, resultContinuation) {
|
|
347
345
|
var i = new HeadersData$headersStarts$slambda(this$0, resultContinuation);
|
|
348
346
|
var l = function ($this$sequence, $completion) {
|
|
349
|
-
return i.
|
|
347
|
+
return i.e35($this$sequence, $completion);
|
|
350
348
|
};
|
|
351
349
|
l.$arity = 1;
|
|
352
350
|
return l;
|
|
@@ -354,55 +352,55 @@
|
|
|
354
352
|
function HeadersData() {
|
|
355
353
|
var tmp = this;
|
|
356
354
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
357
|
-
tmp.
|
|
355
|
+
tmp.z33_1 = ArrayList_init_$Create$();
|
|
358
356
|
}
|
|
359
|
-
protoOf(HeadersData).
|
|
360
|
-
return this.
|
|
357
|
+
protoOf(HeadersData).a34 = function () {
|
|
358
|
+
return this.z33_1.l1();
|
|
361
359
|
};
|
|
362
|
-
protoOf(HeadersData).
|
|
360
|
+
protoOf(HeadersData).b34 = function (subArraysCount) {
|
|
363
361
|
// Inline function 'kotlin.repeat' call
|
|
364
362
|
var inductionVariable = 0;
|
|
365
363
|
if (inductionVariable < subArraysCount)
|
|
366
364
|
do {
|
|
367
365
|
var index = inductionVariable;
|
|
368
366
|
inductionVariable = inductionVariable + 1 | 0;
|
|
369
|
-
this.
|
|
367
|
+
this.z33_1.j1(get_IntArrayPool().f1w());
|
|
370
368
|
}
|
|
371
369
|
while (inductionVariable < subArraysCount);
|
|
372
370
|
};
|
|
373
|
-
protoOf(HeadersData).
|
|
374
|
-
return this.
|
|
371
|
+
protoOf(HeadersData).d34 = function (index) {
|
|
372
|
+
return this.z33_1.m1(index / 768 | 0)[index % 768 | 0];
|
|
375
373
|
};
|
|
376
|
-
protoOf(HeadersData).
|
|
377
|
-
this.
|
|
374
|
+
protoOf(HeadersData).o34 = function (index, value) {
|
|
375
|
+
this.z33_1.m1(index / 768 | 0)[index % 768 | 0] = value;
|
|
378
376
|
};
|
|
379
|
-
protoOf(HeadersData).
|
|
377
|
+
protoOf(HeadersData).c34 = function () {
|
|
380
378
|
return sequence(HeadersData$headersStarts$slambda_0(this, null));
|
|
381
379
|
};
|
|
382
|
-
protoOf(HeadersData).
|
|
383
|
-
var _iterator__ex2g4s = this.
|
|
380
|
+
protoOf(HeadersData).z1g = function () {
|
|
381
|
+
var _iterator__ex2g4s = this.z33_1.t();
|
|
384
382
|
while (_iterator__ex2g4s.u()) {
|
|
385
383
|
var array = _iterator__ex2g4s.v();
|
|
386
|
-
get_IntArrayPool().
|
|
384
|
+
get_IntArrayPool().g1w(array);
|
|
387
385
|
}
|
|
388
|
-
this.
|
|
386
|
+
this.z33_1.t2();
|
|
389
387
|
};
|
|
390
388
|
function dumpTo(_this__u8e3s4, indent, out) {
|
|
391
389
|
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
392
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
390
|
+
var _iterator__ex2g4s = _this__u8e3s4.g34().t();
|
|
393
391
|
while (_iterator__ex2g4s.u()) {
|
|
394
392
|
var offset = _iterator__ex2g4s.v();
|
|
395
393
|
out.k1(indent);
|
|
396
|
-
out.k1(_this__u8e3s4.
|
|
394
|
+
out.k1(_this__u8e3s4.p34(offset));
|
|
397
395
|
out.k1(' => ');
|
|
398
|
-
out.k1(_this__u8e3s4.
|
|
396
|
+
out.k1(_this__u8e3s4.f34(offset));
|
|
399
397
|
out.k1('\n');
|
|
400
398
|
}
|
|
401
399
|
}
|
|
402
400
|
function IntArrayPool$1() {
|
|
403
401
|
DefaultPool.call(this, 1000);
|
|
404
402
|
}
|
|
405
|
-
protoOf(IntArrayPool$1).
|
|
403
|
+
protoOf(IntArrayPool$1).y1v = function () {
|
|
406
404
|
var tmp = 0;
|
|
407
405
|
var tmp_0 = new Int32Array(768);
|
|
408
406
|
while (tmp < 768) {
|
|
@@ -411,25 +409,25 @@
|
|
|
411
409
|
}
|
|
412
410
|
return tmp_0;
|
|
413
411
|
};
|
|
414
|
-
protoOf(IntArrayPool$1).
|
|
412
|
+
protoOf(IntArrayPool$1).j35 = function (instance) {
|
|
415
413
|
fill(instance, -1);
|
|
416
|
-
return protoOf(DefaultPool).
|
|
414
|
+
return protoOf(DefaultPool).d1w.call(this, instance);
|
|
417
415
|
};
|
|
418
|
-
protoOf(IntArrayPool$1).
|
|
419
|
-
return this.
|
|
416
|
+
protoOf(IntArrayPool$1).d1w = function (instance) {
|
|
417
|
+
return this.j35(isIntArray(instance) ? instance : THROW_CCE());
|
|
420
418
|
};
|
|
421
419
|
function HeadersDataPool$1() {
|
|
422
420
|
DefaultPool.call(this, 1000);
|
|
423
421
|
}
|
|
424
|
-
protoOf(HeadersDataPool$1).
|
|
422
|
+
protoOf(HeadersDataPool$1).y1v = function () {
|
|
425
423
|
return new HeadersData();
|
|
426
424
|
};
|
|
427
|
-
protoOf(HeadersDataPool$1).
|
|
428
|
-
instance.
|
|
429
|
-
return protoOf(DefaultPool).
|
|
425
|
+
protoOf(HeadersDataPool$1).n35 = function (instance) {
|
|
426
|
+
instance.z1g();
|
|
427
|
+
return protoOf(DefaultPool).d1w.call(this, instance);
|
|
430
428
|
};
|
|
431
|
-
protoOf(HeadersDataPool$1).
|
|
432
|
-
return this.
|
|
429
|
+
protoOf(HeadersDataPool$1).d1w = function (instance) {
|
|
430
|
+
return this.n35(instance instanceof HeadersData ? instance : THROW_CCE());
|
|
433
431
|
};
|
|
434
432
|
var properties_initialized_HttpHeadersMap_kt_kotj4w;
|
|
435
433
|
function _init_properties_HttpHeadersMap_kt__hwatby() {
|
|
@@ -453,22 +451,22 @@
|
|
|
453
451
|
function parseHeaders(input, builder, range, $completion) {
|
|
454
452
|
range = range === VOID ? new MutableRange(0, 0) : range;
|
|
455
453
|
var tmp = new $parseHeadersCOROUTINE$(input, builder, range, $completion);
|
|
456
|
-
tmp.
|
|
457
|
-
tmp.
|
|
458
|
-
return tmp.
|
|
454
|
+
tmp.c9_1 = Unit_instance;
|
|
455
|
+
tmp.d9_1 = null;
|
|
456
|
+
return tmp.i9();
|
|
459
457
|
}
|
|
460
458
|
function parseHeaderName(text, range) {
|
|
461
459
|
_init_properties_HttpParser_kt__gbdom1();
|
|
462
|
-
var index = range.
|
|
463
|
-
var end = range.
|
|
460
|
+
var index = range.b36_1;
|
|
461
|
+
var end = range.c36_1;
|
|
464
462
|
while (index < end) {
|
|
465
463
|
var ch = text.b(index);
|
|
466
|
-
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.
|
|
467
|
-
range.
|
|
464
|
+
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.b36_1)) {
|
|
465
|
+
range.b36_1 = index + 1 | 0;
|
|
468
466
|
return index;
|
|
469
467
|
}
|
|
470
468
|
if (isDelimiter(ch)) {
|
|
471
|
-
parseHeaderNameFailed(text, index, range.
|
|
469
|
+
parseHeaderNameFailed(text, index, range.b36_1, ch);
|
|
472
470
|
}
|
|
473
471
|
index = index + 1 | 0;
|
|
474
472
|
}
|
|
@@ -476,12 +474,12 @@
|
|
|
476
474
|
}
|
|
477
475
|
function parseHeaderValue(text, range) {
|
|
478
476
|
_init_properties_HttpParser_kt__gbdom1();
|
|
479
|
-
var start = range.
|
|
480
|
-
var end = range.
|
|
477
|
+
var start = range.b36_1;
|
|
478
|
+
var end = range.c36_1;
|
|
481
479
|
var index = start;
|
|
482
480
|
index = skipSpacesAndHorizontalTabs(text, index, end);
|
|
483
481
|
if (index >= end) {
|
|
484
|
-
range.
|
|
482
|
+
range.b36_1 = end;
|
|
485
483
|
return Unit_instance;
|
|
486
484
|
}
|
|
487
485
|
var valueStart = index;
|
|
@@ -495,8 +493,8 @@
|
|
|
495
493
|
valueLastIndex = index;
|
|
496
494
|
index = index + 1 | 0;
|
|
497
495
|
}
|
|
498
|
-
range.
|
|
499
|
-
range.
|
|
496
|
+
range.b36_1 = valueStart;
|
|
497
|
+
range.c36_1 = valueLastIndex + 1 | 0;
|
|
500
498
|
}
|
|
501
499
|
function validateHostHeader(host) {
|
|
502
500
|
_init_properties_HttpParser_kt__gbdom1();
|
|
@@ -537,9 +535,9 @@
|
|
|
537
535
|
}
|
|
538
536
|
function noColonFound(text, range) {
|
|
539
537
|
_init_properties_HttpParser_kt__gbdom1();
|
|
540
|
-
var tmp2 = range.
|
|
538
|
+
var tmp2 = range.b36_1;
|
|
541
539
|
// Inline function 'kotlin.text.substring' call
|
|
542
|
-
var endIndex = range.
|
|
540
|
+
var endIndex = range.c36_1;
|
|
543
541
|
var tmp$ret$0 = toString(charSequenceSubSequence(text, tmp2, endIndex));
|
|
544
542
|
throw new ParserException('No colon in HTTP header in ' + tmp$ret$0 + ' in builder: \n' + toString(text));
|
|
545
543
|
}
|
|
@@ -555,30 +553,30 @@
|
|
|
555
553
|
}
|
|
556
554
|
function $parseHeadersCOROUTINE$(input, builder, range, resultContinuation) {
|
|
557
555
|
CoroutineImpl.call(this, resultContinuation);
|
|
558
|
-
this.
|
|
559
|
-
this.
|
|
560
|
-
this.
|
|
556
|
+
this.w35_1 = input;
|
|
557
|
+
this.x35_1 = builder;
|
|
558
|
+
this.y35_1 = range;
|
|
561
559
|
}
|
|
562
|
-
protoOf($parseHeadersCOROUTINE$).
|
|
563
|
-
var suspendResult = this.
|
|
560
|
+
protoOf($parseHeadersCOROUTINE$).i9 = function () {
|
|
561
|
+
var suspendResult = this.c9_1;
|
|
564
562
|
$sm: do
|
|
565
563
|
try {
|
|
566
|
-
var tmp = this.
|
|
564
|
+
var tmp = this.a9_1;
|
|
567
565
|
switch (tmp) {
|
|
568
566
|
case 0:
|
|
569
|
-
this.
|
|
570
|
-
this.
|
|
571
|
-
this.
|
|
572
|
-
this.
|
|
567
|
+
this.b9_1 = 7;
|
|
568
|
+
this.z35_1 = new HttpHeadersMap(this.x35_1);
|
|
569
|
+
this.b9_1 = 6;
|
|
570
|
+
this.a9_1 = 1;
|
|
573
571
|
continue $sm;
|
|
574
572
|
case 1:
|
|
575
573
|
if (!true) {
|
|
576
|
-
this.
|
|
574
|
+
this.a9_1 = 5;
|
|
577
575
|
continue $sm;
|
|
578
576
|
}
|
|
579
577
|
|
|
580
|
-
this.
|
|
581
|
-
suspendResult = readUTF8LineTo(this.
|
|
578
|
+
this.a9_1 = 2;
|
|
579
|
+
suspendResult = readUTF8LineTo(this.w35_1, this.x35_1, 8192, get_httpLineEndings(), this);
|
|
582
580
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
583
581
|
return suspendResult;
|
|
584
582
|
}
|
|
@@ -586,68 +584,68 @@
|
|
|
586
584
|
continue $sm;
|
|
587
585
|
case 2:
|
|
588
586
|
if (!suspendResult) {
|
|
589
|
-
this.
|
|
587
|
+
this.z35_1.z1g();
|
|
590
588
|
return null;
|
|
591
589
|
} else {
|
|
592
|
-
this.
|
|
590
|
+
this.a9_1 = 3;
|
|
593
591
|
continue $sm;
|
|
594
592
|
}
|
|
595
593
|
|
|
596
594
|
case 3:
|
|
597
|
-
this.
|
|
598
|
-
this.
|
|
599
|
-
if (this.
|
|
600
|
-
this.
|
|
595
|
+
this.y35_1.c36_1 = this.x35_1.n34_1;
|
|
596
|
+
this.a36_1 = this.y35_1.c36_1 - this.y35_1.b36_1 | 0;
|
|
597
|
+
if (this.a36_1 === 0) {
|
|
598
|
+
this.a9_1 = 5;
|
|
601
599
|
continue $sm;
|
|
602
600
|
} else {
|
|
603
|
-
this.
|
|
601
|
+
this.a9_1 = 4;
|
|
604
602
|
continue $sm;
|
|
605
603
|
}
|
|
606
604
|
|
|
607
605
|
case 4:
|
|
608
|
-
if (this.
|
|
606
|
+
if (this.a36_1 >= 8192) {
|
|
609
607
|
var message = 'Header line length limit exceeded';
|
|
610
608
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
611
609
|
}
|
|
612
610
|
|
|
613
|
-
var nameStart = this.b36_1
|
|
614
|
-
var nameEnd = parseHeaderName(this.
|
|
615
|
-
var headerEnd = this.
|
|
616
|
-
parseHeaderValue(this.
|
|
617
|
-
var valueStart = this.b36_1
|
|
618
|
-
var valueEnd = this.
|
|
619
|
-
this.b36_1
|
|
620
|
-
this.
|
|
621
|
-
this.
|
|
611
|
+
var nameStart = this.y35_1.b36_1;
|
|
612
|
+
var nameEnd = parseHeaderName(this.x35_1, this.y35_1);
|
|
613
|
+
var headerEnd = this.y35_1.c36_1;
|
|
614
|
+
parseHeaderValue(this.x35_1, this.y35_1);
|
|
615
|
+
var valueStart = this.y35_1.b36_1;
|
|
616
|
+
var valueEnd = this.y35_1.c36_1;
|
|
617
|
+
this.y35_1.b36_1 = headerEnd;
|
|
618
|
+
this.z35_1.e34(nameStart, nameEnd, valueStart, valueEnd);
|
|
619
|
+
this.a9_1 = 1;
|
|
622
620
|
continue $sm;
|
|
623
621
|
case 5:
|
|
624
|
-
var host = this.
|
|
622
|
+
var host = this.z35_1.d2k(HttpHeaders_getInstance().b2u_1);
|
|
625
623
|
if (!(host == null)) {
|
|
626
624
|
validateHostHeader(host);
|
|
627
625
|
}
|
|
628
626
|
|
|
629
|
-
return this.
|
|
627
|
+
return this.z35_1;
|
|
630
628
|
case 6:
|
|
631
|
-
this.
|
|
632
|
-
var tmp_0 = this.
|
|
629
|
+
this.b9_1 = 7;
|
|
630
|
+
var tmp_0 = this.d9_1;
|
|
633
631
|
if (tmp_0 instanceof Error) {
|
|
634
|
-
var t = this.
|
|
635
|
-
this.
|
|
632
|
+
var t = this.d9_1;
|
|
633
|
+
this.z35_1.z1g();
|
|
636
634
|
throw t;
|
|
637
635
|
} else {
|
|
638
|
-
throw this.
|
|
636
|
+
throw this.d9_1;
|
|
639
637
|
}
|
|
640
638
|
|
|
641
639
|
case 7:
|
|
642
|
-
throw this.
|
|
640
|
+
throw this.d9_1;
|
|
643
641
|
}
|
|
644
642
|
} catch ($p) {
|
|
645
643
|
var e = $p;
|
|
646
|
-
if (this.
|
|
644
|
+
if (this.b9_1 === 7) {
|
|
647
645
|
throw e;
|
|
648
646
|
} else {
|
|
649
|
-
this.
|
|
650
|
-
this.
|
|
647
|
+
this.a9_1 = this.b9_1;
|
|
648
|
+
this.d9_1 = e;
|
|
651
649
|
}
|
|
652
650
|
}
|
|
653
651
|
while (true);
|
|
@@ -657,8 +655,8 @@
|
|
|
657
655
|
if (!properties_initialized_HttpParser_kt_uedryv) {
|
|
658
656
|
properties_initialized_HttpParser_kt_uedryv = true;
|
|
659
657
|
hostForbiddenSymbols = setOf([new Char(_Char___init__impl__6a9atx(47)), new Char(_Char___init__impl__6a9atx(63)), new Char(_Char___init__impl__6a9atx(35)), new Char(_Char___init__impl__6a9atx(64))]);
|
|
660
|
-
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance().
|
|
661
|
-
versions = Companion_instance.
|
|
658
|
+
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance().d1r_1, Companion_getInstance().c1r_1);
|
|
659
|
+
versions = Companion_instance.d36(listOf(['HTTP/1.0', 'HTTP/1.1']));
|
|
662
660
|
}
|
|
663
661
|
}
|
|
664
662
|
function get_CrLf() {
|
|
@@ -673,23 +671,23 @@
|
|
|
673
671
|
var PrefixString;
|
|
674
672
|
function Preamble(body) {
|
|
675
673
|
MultipartEvent.call(this);
|
|
676
|
-
this.
|
|
674
|
+
this.e36_1 = body;
|
|
677
675
|
}
|
|
678
676
|
function MultipartPart(headers, body) {
|
|
679
677
|
MultipartEvent.call(this);
|
|
680
|
-
this.
|
|
681
|
-
this.
|
|
678
|
+
this.f36_1 = headers;
|
|
679
|
+
this.g36_1 = body;
|
|
682
680
|
}
|
|
683
681
|
function Epilogue(body) {
|
|
684
682
|
MultipartEvent.call(this);
|
|
685
|
-
this.
|
|
683
|
+
this.h36_1 = body;
|
|
686
684
|
}
|
|
687
685
|
function MultipartEvent() {
|
|
688
686
|
}
|
|
689
687
|
function parseMultipart(_this__u8e3s4, input, contentType, contentLength, maxPartSize) {
|
|
690
|
-
maxPartSize = maxPartSize === VOID ?
|
|
688
|
+
maxPartSize = maxPartSize === VOID ? 9223372036854775807n : maxPartSize;
|
|
691
689
|
_init_properties_Multipart_kt__ato98a();
|
|
692
|
-
if (!MultiPart_getInstance().
|
|
690
|
+
if (!MultiPart_getInstance().r2r(contentType)) {
|
|
693
691
|
throw new UnsupportedMediaTypeExceptionCIO('Failed to parse multipart: Content-Type should be multipart/* but it is ' + toString(contentType));
|
|
694
692
|
}
|
|
695
693
|
var boundaryByteBuffer = parseBoundaryInternal(contentType);
|
|
@@ -832,26 +830,26 @@
|
|
|
832
830
|
return -1;
|
|
833
831
|
}
|
|
834
832
|
function parsePreambleImpl(boundary, input, output, limit, $completion) {
|
|
835
|
-
limit = limit === VOID ?
|
|
833
|
+
limit = limit === VOID ? 9223372036854775807n : limit;
|
|
836
834
|
return readUntil(input, boundary, output, limit, true, $completion);
|
|
837
835
|
}
|
|
838
836
|
function parsePartHeadersImpl(input, $completion) {
|
|
839
837
|
var tmp = new $parsePartHeadersImplCOROUTINE$(input, $completion);
|
|
840
|
-
tmp.
|
|
841
|
-
tmp.
|
|
842
|
-
return tmp.
|
|
838
|
+
tmp.c9_1 = Unit_instance;
|
|
839
|
+
tmp.d9_1 = null;
|
|
840
|
+
return tmp.i9();
|
|
843
841
|
}
|
|
844
842
|
function parsePartBodyImpl(boundaryPrefixed, input, output, headers, limit, $completion) {
|
|
845
843
|
var tmp = new $parsePartBodyImplCOROUTINE$(boundaryPrefixed, input, output, headers, limit, $completion);
|
|
846
|
-
tmp.
|
|
847
|
-
tmp.
|
|
848
|
-
return tmp.
|
|
844
|
+
tmp.c9_1 = Unit_instance;
|
|
845
|
+
tmp.d9_1 = null;
|
|
846
|
+
return tmp.i9();
|
|
849
847
|
}
|
|
850
848
|
function skipIfFoundReadCount(_this__u8e3s4, prefix, $completion) {
|
|
851
849
|
var tmp = new $skipIfFoundReadCountCOROUTINE$(_this__u8e3s4, prefix, $completion);
|
|
852
|
-
tmp.
|
|
853
|
-
tmp.
|
|
854
|
-
return tmp.
|
|
850
|
+
tmp.c9_1 = Unit_instance;
|
|
851
|
+
tmp.d9_1 = null;
|
|
852
|
+
return tmp.i9();
|
|
855
853
|
}
|
|
856
854
|
function throwLimitExceeded(actual, limit) {
|
|
857
855
|
_init_properties_Multipart_kt__ato98a();
|
|
@@ -866,37 +864,37 @@
|
|
|
866
864
|
boundaryBytes[_unary__edvuaz] = value;
|
|
867
865
|
}
|
|
868
866
|
function parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation) {
|
|
869
|
-
this.
|
|
870
|
-
this.
|
|
867
|
+
this.b38_1 = $firstBoundary;
|
|
868
|
+
this.c38_1 = $countedInput;
|
|
871
869
|
CoroutineImpl.call(this, resultContinuation);
|
|
872
870
|
}
|
|
873
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
874
|
-
var tmp = this.
|
|
875
|
-
tmp.
|
|
876
|
-
tmp.
|
|
877
|
-
return tmp.
|
|
871
|
+
protoOf(parseMultipart$slambda$slambda).e38 = function ($this$writer, $completion) {
|
|
872
|
+
var tmp = this.f38($this$writer, $completion);
|
|
873
|
+
tmp.c9_1 = Unit_instance;
|
|
874
|
+
tmp.d9_1 = null;
|
|
875
|
+
return tmp.i9();
|
|
878
876
|
};
|
|
879
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
880
|
-
return this.
|
|
877
|
+
protoOf(parseMultipart$slambda$slambda).u9 = function (p1, $completion) {
|
|
878
|
+
return this.e38(p1 instanceof WriterScope ? p1 : THROW_CCE(), $completion);
|
|
881
879
|
};
|
|
882
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
883
|
-
var suspendResult = this.
|
|
880
|
+
protoOf(parseMultipart$slambda$slambda).i9 = function () {
|
|
881
|
+
var suspendResult = this.c9_1;
|
|
884
882
|
$sm: do
|
|
885
883
|
try {
|
|
886
|
-
var tmp = this.
|
|
884
|
+
var tmp = this.a9_1;
|
|
887
885
|
switch (tmp) {
|
|
888
886
|
case 0:
|
|
889
|
-
this.
|
|
890
|
-
this.
|
|
891
|
-
suspendResult = parsePreambleImpl(this.
|
|
887
|
+
this.b9_1 = 3;
|
|
888
|
+
this.a9_1 = 1;
|
|
889
|
+
suspendResult = parsePreambleImpl(this.b38_1, this.c38_1, this.d38_1.p1t_1, 8193n, this);
|
|
892
890
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
893
891
|
return suspendResult;
|
|
894
892
|
}
|
|
895
893
|
|
|
896
894
|
continue $sm;
|
|
897
895
|
case 1:
|
|
898
|
-
this.
|
|
899
|
-
suspendResult = this.
|
|
896
|
+
this.a9_1 = 2;
|
|
897
|
+
suspendResult = this.d38_1.p1t_1.w1l(this);
|
|
900
898
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
901
899
|
return suspendResult;
|
|
902
900
|
}
|
|
@@ -905,61 +903,61 @@
|
|
|
905
903
|
case 2:
|
|
906
904
|
return Unit_instance;
|
|
907
905
|
case 3:
|
|
908
|
-
throw this.
|
|
906
|
+
throw this.d9_1;
|
|
909
907
|
}
|
|
910
908
|
} catch ($p) {
|
|
911
909
|
var e = $p;
|
|
912
|
-
if (this.
|
|
910
|
+
if (this.b9_1 === 3) {
|
|
913
911
|
throw e;
|
|
914
912
|
} else {
|
|
915
|
-
this.
|
|
916
|
-
this.
|
|
913
|
+
this.a9_1 = this.b9_1;
|
|
914
|
+
this.d9_1 = e;
|
|
917
915
|
}
|
|
918
916
|
}
|
|
919
917
|
while (true);
|
|
920
918
|
};
|
|
921
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
922
|
-
var i = new parseMultipart$slambda$slambda(this.
|
|
923
|
-
i.
|
|
919
|
+
protoOf(parseMultipart$slambda$slambda).f38 = function ($this$writer, completion) {
|
|
920
|
+
var i = new parseMultipart$slambda$slambda(this.b38_1, this.c38_1, completion);
|
|
921
|
+
i.d38_1 = $this$writer;
|
|
924
922
|
return i;
|
|
925
923
|
};
|
|
926
924
|
function parseMultipart$slambda$slambda_0($firstBoundary, $countedInput, resultContinuation) {
|
|
927
925
|
var i = new parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation);
|
|
928
926
|
var l = function ($this$writer, $completion) {
|
|
929
|
-
return i.
|
|
927
|
+
return i.e38($this$writer, $completion);
|
|
930
928
|
};
|
|
931
929
|
l.$arity = 1;
|
|
932
930
|
return l;
|
|
933
931
|
}
|
|
934
932
|
function parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
935
|
-
this.
|
|
936
|
-
this.
|
|
937
|
-
this.
|
|
938
|
-
this.
|
|
933
|
+
this.o38_1 = $input;
|
|
934
|
+
this.p38_1 = $boundaryPrefixed;
|
|
935
|
+
this.q38_1 = $maxPartSize;
|
|
936
|
+
this.r38_1 = $totalLength;
|
|
939
937
|
CoroutineImpl.call(this, resultContinuation);
|
|
940
938
|
}
|
|
941
|
-
protoOf(parseMultipart$slambda).
|
|
942
|
-
var tmp = this.
|
|
943
|
-
tmp.
|
|
944
|
-
tmp.
|
|
945
|
-
return tmp.
|
|
939
|
+
protoOf(parseMultipart$slambda).a39 = function ($this$produce, $completion) {
|
|
940
|
+
var tmp = this.b39($this$produce, $completion);
|
|
941
|
+
tmp.c9_1 = Unit_instance;
|
|
942
|
+
tmp.d9_1 = null;
|
|
943
|
+
return tmp.i9();
|
|
946
944
|
};
|
|
947
|
-
protoOf(parseMultipart$slambda).
|
|
948
|
-
return this.
|
|
945
|
+
protoOf(parseMultipart$slambda).u9 = function (p1, $completion) {
|
|
946
|
+
return this.a39((!(p1 == null) ? isInterface(p1, ProducerScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
949
947
|
};
|
|
950
|
-
protoOf(parseMultipart$slambda).
|
|
951
|
-
var suspendResult = this.
|
|
948
|
+
protoOf(parseMultipart$slambda).i9 = function () {
|
|
949
|
+
var suspendResult = this.c9_1;
|
|
952
950
|
$sm: do
|
|
953
951
|
try {
|
|
954
|
-
var tmp = this.
|
|
952
|
+
var tmp = this.a9_1;
|
|
955
953
|
switch (tmp) {
|
|
956
954
|
case 0:
|
|
957
|
-
this.
|
|
958
|
-
this.
|
|
959
|
-
this.
|
|
960
|
-
this.
|
|
961
|
-
this.
|
|
962
|
-
suspendResult = readRemaining(writer(this.
|
|
955
|
+
this.b9_1 = 25;
|
|
956
|
+
this.t38_1 = counted(this.o38_1);
|
|
957
|
+
this.u38_1 = this.t38_1.m1v();
|
|
958
|
+
this.y38_1 = this.p38_1.lo(get_PrefixString().l1());
|
|
959
|
+
this.a9_1 = 1;
|
|
960
|
+
suspendResult = readRemaining(writer(this.s38_1, VOID, VOID, parseMultipart$slambda$slambda_0(this.y38_1, this.t38_1, null)).n1t_1, this);
|
|
963
961
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
964
962
|
return suspendResult;
|
|
965
963
|
}
|
|
@@ -967,58 +965,58 @@
|
|
|
967
965
|
continue $sm;
|
|
968
966
|
case 1:
|
|
969
967
|
var preambleData = suspendResult;
|
|
970
|
-
if (
|
|
971
|
-
this.
|
|
972
|
-
suspendResult = this.
|
|
968
|
+
if (get_remaining(preambleData) > 0n) {
|
|
969
|
+
this.a9_1 = 2;
|
|
970
|
+
suspendResult = this.s38_1.n19(new Preamble(preambleData), this);
|
|
973
971
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
974
972
|
return suspendResult;
|
|
975
973
|
}
|
|
976
974
|
continue $sm;
|
|
977
975
|
} else {
|
|
978
|
-
this.
|
|
976
|
+
this.a9_1 = 3;
|
|
979
977
|
continue $sm;
|
|
980
978
|
}
|
|
981
979
|
|
|
982
980
|
case 2:
|
|
983
|
-
this.
|
|
981
|
+
this.a9_1 = 3;
|
|
984
982
|
continue $sm;
|
|
985
983
|
case 3:
|
|
986
|
-
this.
|
|
984
|
+
this.a9_1 = 4;
|
|
987
985
|
continue $sm;
|
|
988
986
|
case 4:
|
|
989
|
-
if (!this.
|
|
990
|
-
this.
|
|
991
|
-
suspendResult = skipIfFound(this.
|
|
987
|
+
if (!this.t38_1.t1l()) {
|
|
988
|
+
this.a9_1 = 5;
|
|
989
|
+
suspendResult = skipIfFound(this.t38_1, get_PrefixString(), this);
|
|
992
990
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
993
991
|
return suspendResult;
|
|
994
992
|
}
|
|
995
993
|
continue $sm;
|
|
996
994
|
} else {
|
|
997
|
-
this.
|
|
998
|
-
this.
|
|
995
|
+
this.z38_1 = false;
|
|
996
|
+
this.a9_1 = 6;
|
|
999
997
|
continue $sm;
|
|
1000
998
|
}
|
|
1001
999
|
|
|
1002
1000
|
case 5:
|
|
1003
|
-
this.
|
|
1004
|
-
this.
|
|
1001
|
+
this.z38_1 = !suspendResult;
|
|
1002
|
+
this.a9_1 = 6;
|
|
1005
1003
|
continue $sm;
|
|
1006
1004
|
case 6:
|
|
1007
|
-
if (!this.
|
|
1008
|
-
this.
|
|
1005
|
+
if (!this.z38_1) {
|
|
1006
|
+
this.a9_1 = 15;
|
|
1009
1007
|
continue $sm;
|
|
1010
1008
|
}
|
|
1011
1009
|
|
|
1012
|
-
this.
|
|
1013
|
-
suspendResult = skipIfFound(this.
|
|
1010
|
+
this.a9_1 = 7;
|
|
1011
|
+
suspendResult = skipIfFound(this.t38_1, get_CrLf(), this);
|
|
1014
1012
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1015
1013
|
return suspendResult;
|
|
1016
1014
|
}
|
|
1017
1015
|
|
|
1018
1016
|
continue $sm;
|
|
1019
1017
|
case 7:
|
|
1020
|
-
this.
|
|
1021
|
-
suspendResult = skipIfFound(this.
|
|
1018
|
+
this.a9_1 = 8;
|
|
1019
|
+
suspendResult = skipIfFound(this.t38_1, this.y38_1, this);
|
|
1022
1020
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1023
1021
|
return suspendResult;
|
|
1024
1022
|
}
|
|
@@ -1026,112 +1024,112 @@
|
|
|
1026
1024
|
continue $sm;
|
|
1027
1025
|
case 8:
|
|
1028
1026
|
if (suspendResult) {
|
|
1029
|
-
this.
|
|
1027
|
+
this.a9_1 = 4;
|
|
1030
1028
|
continue $sm;
|
|
1031
1029
|
} else {
|
|
1032
|
-
this.
|
|
1030
|
+
this.a9_1 = 9;
|
|
1033
1031
|
continue $sm;
|
|
1034
1032
|
}
|
|
1035
1033
|
|
|
1036
1034
|
case 9:
|
|
1037
|
-
this.
|
|
1038
|
-
this.
|
|
1039
|
-
var part = new MultipartPart(this.
|
|
1040
|
-
this.
|
|
1041
|
-
suspendResult = this.
|
|
1035
|
+
this.v38_1 = new ByteChannel();
|
|
1036
|
+
this.x38_1 = CompletableDeferred();
|
|
1037
|
+
var part = new MultipartPart(this.x38_1, this.v38_1);
|
|
1038
|
+
this.a9_1 = 10;
|
|
1039
|
+
suspendResult = this.s38_1.n19(part, this);
|
|
1042
1040
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1043
1041
|
return suspendResult;
|
|
1044
1042
|
}
|
|
1045
1043
|
|
|
1046
1044
|
continue $sm;
|
|
1047
1045
|
case 10:
|
|
1048
|
-
this.
|
|
1049
|
-
this.
|
|
1050
|
-
this.
|
|
1051
|
-
suspendResult = parsePartHeadersImpl(this.
|
|
1046
|
+
this.w38_1 = null;
|
|
1047
|
+
this.b9_1 = 14;
|
|
1048
|
+
this.a9_1 = 11;
|
|
1049
|
+
suspendResult = parsePartHeadersImpl(this.t38_1, this);
|
|
1052
1050
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1053
1051
|
return suspendResult;
|
|
1054
1052
|
}
|
|
1055
1053
|
|
|
1056
1054
|
continue $sm;
|
|
1057
1055
|
case 11:
|
|
1058
|
-
this.
|
|
1059
|
-
if (!this.
|
|
1060
|
-
this.
|
|
1056
|
+
this.w38_1 = suspendResult;
|
|
1057
|
+
if (!this.x38_1.m10(this.w38_1)) {
|
|
1058
|
+
this.w38_1.z1g();
|
|
1061
1059
|
throw CancellationException_init_$Create$('Multipart processing has been cancelled');
|
|
1062
1060
|
}
|
|
1063
1061
|
|
|
1064
|
-
this.
|
|
1065
|
-
suspendResult = parsePartBodyImpl(this.
|
|
1062
|
+
this.a9_1 = 12;
|
|
1063
|
+
suspendResult = parsePartBodyImpl(this.p38_1, this.t38_1, this.v38_1, this.w38_1, this.q38_1, this);
|
|
1066
1064
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1067
1065
|
return suspendResult;
|
|
1068
1066
|
}
|
|
1069
1067
|
|
|
1070
1068
|
continue $sm;
|
|
1071
1069
|
case 12:
|
|
1072
|
-
this.
|
|
1073
|
-
this.
|
|
1074
|
-
this.
|
|
1070
|
+
this.v38_1.l4();
|
|
1071
|
+
this.b9_1 = 25;
|
|
1072
|
+
this.a9_1 = 13;
|
|
1075
1073
|
continue $sm;
|
|
1076
1074
|
case 13:
|
|
1077
|
-
this.
|
|
1078
|
-
this.
|
|
1075
|
+
this.b9_1 = 25;
|
|
1076
|
+
this.a9_1 = 4;
|
|
1079
1077
|
continue $sm;
|
|
1080
1078
|
case 14:
|
|
1081
|
-
this.
|
|
1082
|
-
var tmp_0 = this.
|
|
1079
|
+
this.b9_1 = 25;
|
|
1080
|
+
var tmp_0 = this.d9_1;
|
|
1083
1081
|
if (tmp_0 instanceof Error) {
|
|
1084
|
-
var cause = this.
|
|
1085
|
-
if (this.
|
|
1086
|
-
var tmp0_safe_receiver = this.
|
|
1082
|
+
var cause = this.d9_1;
|
|
1083
|
+
if (this.x38_1.n10(cause)) {
|
|
1084
|
+
var tmp0_safe_receiver = this.w38_1;
|
|
1087
1085
|
if (tmp0_safe_receiver == null)
|
|
1088
1086
|
null;
|
|
1089
1087
|
else {
|
|
1090
|
-
tmp0_safe_receiver.
|
|
1088
|
+
tmp0_safe_receiver.z1g();
|
|
1091
1089
|
}
|
|
1092
1090
|
}
|
|
1093
|
-
close(this.
|
|
1091
|
+
close(this.v38_1, cause);
|
|
1094
1092
|
throw cause;
|
|
1095
1093
|
} else {
|
|
1096
|
-
throw this.
|
|
1094
|
+
throw this.d9_1;
|
|
1097
1095
|
}
|
|
1098
1096
|
|
|
1099
1097
|
case 15:
|
|
1100
|
-
this.
|
|
1101
|
-
suspendResult = skipIfFound(this.
|
|
1098
|
+
this.a9_1 = 16;
|
|
1099
|
+
suspendResult = skipIfFound(this.t38_1, get_CrLf(), this);
|
|
1102
1100
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1103
1101
|
return suspendResult;
|
|
1104
1102
|
}
|
|
1105
1103
|
|
|
1106
1104
|
continue $sm;
|
|
1107
1105
|
case 16:
|
|
1108
|
-
this.
|
|
1109
|
-
suspendResult = skipIfFound(this.
|
|
1106
|
+
this.a9_1 = 17;
|
|
1107
|
+
suspendResult = skipIfFound(this.t38_1, get_CrLf(), this);
|
|
1110
1108
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1111
1109
|
return suspendResult;
|
|
1112
1110
|
}
|
|
1113
1111
|
|
|
1114
1112
|
continue $sm;
|
|
1115
1113
|
case 17:
|
|
1116
|
-
if (!(this.
|
|
1117
|
-
var consumedExceptEpilogue = subtract(this.
|
|
1118
|
-
var size = subtract(this.
|
|
1119
|
-
if (
|
|
1114
|
+
if (!(this.r38_1 == null)) {
|
|
1115
|
+
var consumedExceptEpilogue = subtract(this.t38_1.m1v(), this.u38_1);
|
|
1116
|
+
var size = subtract(this.r38_1, consumedExceptEpilogue);
|
|
1117
|
+
if (size > 2147483647n)
|
|
1120
1118
|
throw IOException_init_$Create$('Failed to parse multipart: prologue is too long');
|
|
1121
|
-
if (
|
|
1122
|
-
this.
|
|
1123
|
-
suspendResult = readPacket(this.
|
|
1119
|
+
if (size > 0n) {
|
|
1120
|
+
this.a9_1 = 21;
|
|
1121
|
+
suspendResult = readPacket(this.t38_1, convertToInt(size), this);
|
|
1124
1122
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1125
1123
|
return suspendResult;
|
|
1126
1124
|
}
|
|
1127
1125
|
continue $sm;
|
|
1128
1126
|
} else {
|
|
1129
|
-
this.
|
|
1127
|
+
this.a9_1 = 23;
|
|
1130
1128
|
continue $sm;
|
|
1131
1129
|
}
|
|
1132
1130
|
} else {
|
|
1133
|
-
this.
|
|
1134
|
-
suspendResult = readRemaining(this.
|
|
1131
|
+
this.a9_1 = 18;
|
|
1132
|
+
suspendResult = readRemaining(this.t38_1, this);
|
|
1135
1133
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1136
1134
|
return suspendResult;
|
|
1137
1135
|
}
|
|
@@ -1140,85 +1138,85 @@
|
|
|
1140
1138
|
|
|
1141
1139
|
case 18:
|
|
1142
1140
|
var epilogueContent = suspendResult;
|
|
1143
|
-
if (!epilogueContent.
|
|
1144
|
-
this.
|
|
1145
|
-
suspendResult = this.
|
|
1141
|
+
if (!epilogueContent.to()) {
|
|
1142
|
+
this.a9_1 = 19;
|
|
1143
|
+
suspendResult = this.s38_1.n19(new Epilogue(epilogueContent), this);
|
|
1146
1144
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1147
1145
|
return suspendResult;
|
|
1148
1146
|
}
|
|
1149
1147
|
continue $sm;
|
|
1150
1148
|
} else {
|
|
1151
|
-
this.
|
|
1149
|
+
this.a9_1 = 20;
|
|
1152
1150
|
continue $sm;
|
|
1153
1151
|
}
|
|
1154
1152
|
|
|
1155
1153
|
case 19:
|
|
1156
|
-
this.
|
|
1154
|
+
this.a9_1 = 20;
|
|
1157
1155
|
continue $sm;
|
|
1158
1156
|
case 20:
|
|
1159
|
-
this.
|
|
1157
|
+
this.a9_1 = 24;
|
|
1160
1158
|
continue $sm;
|
|
1161
1159
|
case 21:
|
|
1162
1160
|
var ARGUMENT = suspendResult;
|
|
1163
1161
|
var ARGUMENT_0 = new Epilogue(ARGUMENT);
|
|
1164
|
-
this.
|
|
1165
|
-
suspendResult = this.
|
|
1162
|
+
this.a9_1 = 22;
|
|
1163
|
+
suspendResult = this.s38_1.n19(ARGUMENT_0, this);
|
|
1166
1164
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1167
1165
|
return suspendResult;
|
|
1168
1166
|
}
|
|
1169
1167
|
|
|
1170
1168
|
continue $sm;
|
|
1171
1169
|
case 22:
|
|
1172
|
-
this.
|
|
1170
|
+
this.a9_1 = 23;
|
|
1173
1171
|
continue $sm;
|
|
1174
1172
|
case 23:
|
|
1175
|
-
this.
|
|
1173
|
+
this.a9_1 = 24;
|
|
1176
1174
|
continue $sm;
|
|
1177
1175
|
case 24:
|
|
1178
1176
|
return Unit_instance;
|
|
1179
1177
|
case 25:
|
|
1180
|
-
throw this.
|
|
1178
|
+
throw this.d9_1;
|
|
1181
1179
|
}
|
|
1182
1180
|
} catch ($p) {
|
|
1183
1181
|
var e = $p;
|
|
1184
|
-
if (this.
|
|
1182
|
+
if (this.b9_1 === 25) {
|
|
1185
1183
|
throw e;
|
|
1186
1184
|
} else {
|
|
1187
|
-
this.
|
|
1188
|
-
this.
|
|
1185
|
+
this.a9_1 = this.b9_1;
|
|
1186
|
+
this.d9_1 = e;
|
|
1189
1187
|
}
|
|
1190
1188
|
}
|
|
1191
1189
|
while (true);
|
|
1192
1190
|
};
|
|
1193
|
-
protoOf(parseMultipart$slambda).
|
|
1194
|
-
var i = new parseMultipart$slambda(this.
|
|
1195
|
-
i.
|
|
1191
|
+
protoOf(parseMultipart$slambda).b39 = function ($this$produce, completion) {
|
|
1192
|
+
var i = new parseMultipart$slambda(this.o38_1, this.p38_1, this.q38_1, this.r38_1, completion);
|
|
1193
|
+
i.s38_1 = $this$produce;
|
|
1196
1194
|
return i;
|
|
1197
1195
|
};
|
|
1198
1196
|
function parseMultipart$slambda_0($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
1199
1197
|
var i = new parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation);
|
|
1200
1198
|
var l = function ($this$produce, $completion) {
|
|
1201
|
-
return i.
|
|
1199
|
+
return i.a39($this$produce, $completion);
|
|
1202
1200
|
};
|
|
1203
1201
|
l.$arity = 1;
|
|
1204
1202
|
return l;
|
|
1205
1203
|
}
|
|
1206
1204
|
function $parsePartHeadersImplCOROUTINE$(input, resultContinuation) {
|
|
1207
1205
|
CoroutineImpl.call(this, resultContinuation);
|
|
1208
|
-
this.
|
|
1206
|
+
this.q36_1 = input;
|
|
1209
1207
|
}
|
|
1210
|
-
protoOf($parsePartHeadersImplCOROUTINE$).
|
|
1211
|
-
var suspendResult = this.
|
|
1208
|
+
protoOf($parsePartHeadersImplCOROUTINE$).i9 = function () {
|
|
1209
|
+
var suspendResult = this.c9_1;
|
|
1212
1210
|
$sm: do
|
|
1213
1211
|
try {
|
|
1214
|
-
var tmp = this.
|
|
1212
|
+
var tmp = this.a9_1;
|
|
1215
1213
|
switch (tmp) {
|
|
1216
1214
|
case 0:
|
|
1217
|
-
this.
|
|
1218
|
-
this.
|
|
1219
|
-
this.
|
|
1220
|
-
this.
|
|
1221
|
-
suspendResult = parseHeaders(this.
|
|
1215
|
+
this.b9_1 = 3;
|
|
1216
|
+
this.r36_1 = new CharArrayBuilder();
|
|
1217
|
+
this.b9_1 = 2;
|
|
1218
|
+
this.a9_1 = 1;
|
|
1219
|
+
suspendResult = parseHeaders(this.q36_1, this.r36_1, VOID, this);
|
|
1222
1220
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1223
1221
|
return suspendResult;
|
|
1224
1222
|
}
|
|
@@ -1235,75 +1233,75 @@
|
|
|
1235
1233
|
|
|
1236
1234
|
return tmp_0;
|
|
1237
1235
|
case 2:
|
|
1238
|
-
this.
|
|
1239
|
-
var tmp_1 = this.
|
|
1236
|
+
this.b9_1 = 3;
|
|
1237
|
+
var tmp_1 = this.d9_1;
|
|
1240
1238
|
if (tmp_1 instanceof Error) {
|
|
1241
|
-
var t = this.
|
|
1242
|
-
this.
|
|
1239
|
+
var t = this.d9_1;
|
|
1240
|
+
this.r36_1.z1g();
|
|
1243
1241
|
throw t;
|
|
1244
1242
|
} else {
|
|
1245
|
-
throw this.
|
|
1243
|
+
throw this.d9_1;
|
|
1246
1244
|
}
|
|
1247
1245
|
|
|
1248
1246
|
case 3:
|
|
1249
|
-
throw this.
|
|
1247
|
+
throw this.d9_1;
|
|
1250
1248
|
}
|
|
1251
1249
|
} catch ($p) {
|
|
1252
1250
|
var e = $p;
|
|
1253
|
-
if (this.
|
|
1251
|
+
if (this.b9_1 === 3) {
|
|
1254
1252
|
throw e;
|
|
1255
1253
|
} else {
|
|
1256
|
-
this.
|
|
1257
|
-
this.
|
|
1254
|
+
this.a9_1 = this.b9_1;
|
|
1255
|
+
this.d9_1 = e;
|
|
1258
1256
|
}
|
|
1259
1257
|
}
|
|
1260
1258
|
while (true);
|
|
1261
1259
|
};
|
|
1262
1260
|
function $parsePartBodyImplCOROUTINE$(boundaryPrefixed, input, output, headers, limit, resultContinuation) {
|
|
1263
1261
|
CoroutineImpl.call(this, resultContinuation);
|
|
1264
|
-
this.
|
|
1265
|
-
this.
|
|
1266
|
-
this.
|
|
1267
|
-
this.
|
|
1268
|
-
this.
|
|
1269
|
-
}
|
|
1270
|
-
protoOf($parsePartBodyImplCOROUTINE$).
|
|
1271
|
-
var suspendResult = this.
|
|
1262
|
+
this.a37_1 = boundaryPrefixed;
|
|
1263
|
+
this.b37_1 = input;
|
|
1264
|
+
this.c37_1 = output;
|
|
1265
|
+
this.d37_1 = headers;
|
|
1266
|
+
this.e37_1 = limit;
|
|
1267
|
+
}
|
|
1268
|
+
protoOf($parsePartBodyImplCOROUTINE$).i9 = function () {
|
|
1269
|
+
var suspendResult = this.c9_1;
|
|
1272
1270
|
$sm: do
|
|
1273
1271
|
try {
|
|
1274
|
-
var tmp = this.
|
|
1272
|
+
var tmp = this.a9_1;
|
|
1275
1273
|
switch (tmp) {
|
|
1276
1274
|
case 0:
|
|
1277
|
-
this.
|
|
1278
|
-
var tmp0_safe_receiver = this.
|
|
1275
|
+
this.b9_1 = 6;
|
|
1276
|
+
var tmp0_safe_receiver = this.d37_1.d2k('Content-Length');
|
|
1279
1277
|
var contentLength = tmp0_safe_receiver == null ? null : parseDecLong(tmp0_safe_receiver);
|
|
1280
1278
|
if (contentLength == null) {
|
|
1281
|
-
this.
|
|
1282
|
-
suspendResult = readUntil(this.
|
|
1279
|
+
this.a9_1 = 3;
|
|
1280
|
+
suspendResult = readUntil(this.b37_1, this.a37_1, this.c37_1, this.e37_1, true, this);
|
|
1283
1281
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1284
1282
|
return suspendResult;
|
|
1285
1283
|
}
|
|
1286
1284
|
continue $sm;
|
|
1287
1285
|
} else {
|
|
1288
|
-
var containsUpper = this.
|
|
1289
|
-
if (
|
|
1290
|
-
this.
|
|
1291
|
-
suspendResult = copyTo(this.
|
|
1286
|
+
var containsUpper = this.e37_1;
|
|
1287
|
+
if (0n <= contentLength ? contentLength <= containsUpper : false) {
|
|
1288
|
+
this.a9_1 = 1;
|
|
1289
|
+
suspendResult = copyTo(this.b37_1, this.c37_1, contentLength, this);
|
|
1292
1290
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1293
1291
|
return suspendResult;
|
|
1294
1292
|
}
|
|
1295
1293
|
continue $sm;
|
|
1296
1294
|
} else {
|
|
1297
1295
|
var tmp_0 = this;
|
|
1298
|
-
throwLimitExceeded(contentLength, this.
|
|
1296
|
+
throwLimitExceeded(contentLength, this.e37_1);
|
|
1299
1297
|
}
|
|
1300
1298
|
}
|
|
1301
1299
|
|
|
1302
1300
|
break;
|
|
1303
1301
|
case 1:
|
|
1304
|
-
this.
|
|
1305
|
-
this.
|
|
1306
|
-
suspendResult = skipIfFoundReadCount(this.
|
|
1302
|
+
this.h37_1 = suspendResult;
|
|
1303
|
+
this.a9_1 = 2;
|
|
1304
|
+
suspendResult = skipIfFoundReadCount(this.b37_1, this.a37_1, this);
|
|
1307
1305
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1308
1306
|
return suspendResult;
|
|
1309
1307
|
}
|
|
@@ -1311,53 +1309,53 @@
|
|
|
1311
1309
|
continue $sm;
|
|
1312
1310
|
case 2:
|
|
1313
1311
|
var ARGUMENT = suspendResult;
|
|
1314
|
-
this.
|
|
1315
|
-
this.
|
|
1312
|
+
this.g37_1 = add(this.h37_1, ARGUMENT);
|
|
1313
|
+
this.a9_1 = 4;
|
|
1316
1314
|
continue $sm;
|
|
1317
1315
|
case 3:
|
|
1318
|
-
this.
|
|
1319
|
-
this.
|
|
1316
|
+
this.g37_1 = suspendResult;
|
|
1317
|
+
this.a9_1 = 4;
|
|
1320
1318
|
continue $sm;
|
|
1321
1319
|
case 4:
|
|
1322
|
-
this.
|
|
1323
|
-
this.
|
|
1324
|
-
suspendResult = this.
|
|
1320
|
+
this.f37_1 = this.g37_1;
|
|
1321
|
+
this.a9_1 = 5;
|
|
1322
|
+
suspendResult = this.c37_1.k1l(this);
|
|
1325
1323
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1326
1324
|
return suspendResult;
|
|
1327
1325
|
}
|
|
1328
1326
|
|
|
1329
1327
|
continue $sm;
|
|
1330
1328
|
case 5:
|
|
1331
|
-
return this.
|
|
1329
|
+
return this.f37_1;
|
|
1332
1330
|
case 6:
|
|
1333
|
-
throw this.
|
|
1331
|
+
throw this.d9_1;
|
|
1334
1332
|
}
|
|
1335
1333
|
} catch ($p) {
|
|
1336
1334
|
var e = $p;
|
|
1337
|
-
if (this.
|
|
1335
|
+
if (this.b9_1 === 6) {
|
|
1338
1336
|
throw e;
|
|
1339
1337
|
} else {
|
|
1340
|
-
this.
|
|
1341
|
-
this.
|
|
1338
|
+
this.a9_1 = this.b9_1;
|
|
1339
|
+
this.d9_1 = e;
|
|
1342
1340
|
}
|
|
1343
1341
|
}
|
|
1344
1342
|
while (true);
|
|
1345
1343
|
};
|
|
1346
1344
|
function $skipIfFoundReadCountCOROUTINE$(_this__u8e3s4, prefix, resultContinuation) {
|
|
1347
1345
|
CoroutineImpl.call(this, resultContinuation);
|
|
1348
|
-
this.
|
|
1349
|
-
this.
|
|
1346
|
+
this.q37_1 = _this__u8e3s4;
|
|
1347
|
+
this.r37_1 = prefix;
|
|
1350
1348
|
}
|
|
1351
|
-
protoOf($skipIfFoundReadCountCOROUTINE$).
|
|
1352
|
-
var suspendResult = this.
|
|
1349
|
+
protoOf($skipIfFoundReadCountCOROUTINE$).i9 = function () {
|
|
1350
|
+
var suspendResult = this.c9_1;
|
|
1353
1351
|
$sm: do
|
|
1354
1352
|
try {
|
|
1355
|
-
var tmp = this.
|
|
1353
|
+
var tmp = this.a9_1;
|
|
1356
1354
|
switch (tmp) {
|
|
1357
1355
|
case 0:
|
|
1358
|
-
this.
|
|
1359
|
-
this.
|
|
1360
|
-
suspendResult = skipIfFound(this.
|
|
1356
|
+
this.b9_1 = 3;
|
|
1357
|
+
this.a9_1 = 1;
|
|
1358
|
+
suspendResult = skipIfFound(this.q37_1, this.r37_1, this);
|
|
1361
1359
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1362
1360
|
return suspendResult;
|
|
1363
1361
|
}
|
|
@@ -1366,28 +1364,28 @@
|
|
|
1366
1364
|
case 1:
|
|
1367
1365
|
if (suspendResult) {
|
|
1368
1366
|
var tmp_0 = this;
|
|
1369
|
-
tmp_0.
|
|
1370
|
-
this.
|
|
1367
|
+
tmp_0.s37_1 = fromInt(this.r37_1.l1());
|
|
1368
|
+
this.a9_1 = 2;
|
|
1371
1369
|
continue $sm;
|
|
1372
1370
|
} else {
|
|
1373
1371
|
var tmp_1 = this;
|
|
1374
|
-
tmp_1.
|
|
1375
|
-
this.
|
|
1372
|
+
tmp_1.s37_1 = 0n;
|
|
1373
|
+
this.a9_1 = 2;
|
|
1376
1374
|
continue $sm;
|
|
1377
1375
|
}
|
|
1378
1376
|
|
|
1379
1377
|
case 2:
|
|
1380
|
-
return this.
|
|
1378
|
+
return this.s37_1;
|
|
1381
1379
|
case 3:
|
|
1382
|
-
throw this.
|
|
1380
|
+
throw this.d9_1;
|
|
1383
1381
|
}
|
|
1384
1382
|
} catch ($p) {
|
|
1385
1383
|
var e = $p;
|
|
1386
|
-
if (this.
|
|
1384
|
+
if (this.b9_1 === 3) {
|
|
1387
1385
|
throw e;
|
|
1388
1386
|
} else {
|
|
1389
|
-
this.
|
|
1390
|
-
this.
|
|
1387
|
+
this.a9_1 = this.b9_1;
|
|
1388
|
+
this.d9_1 = e;
|
|
1391
1389
|
}
|
|
1392
1390
|
}
|
|
1393
1391
|
while (true);
|
|
@@ -1444,7 +1442,7 @@
|
|
|
1444
1442
|
}
|
|
1445
1443
|
}
|
|
1446
1444
|
build(tmp_0, children, destination_0, maxLength, nextIdx, length, charAt);
|
|
1447
|
-
children.
|
|
1445
|
+
children.u5();
|
|
1448
1446
|
// Inline function 'kotlin.collections.filter' call
|
|
1449
1447
|
// Inline function 'kotlin.collections.filterTo' call
|
|
1450
1448
|
var destination_1 = ArrayList_init_$Create$();
|
|
@@ -1465,16 +1463,16 @@
|
|
|
1465
1463
|
return new Char(charSequenceGet(s, idx));
|
|
1466
1464
|
}
|
|
1467
1465
|
function Node(ch, exact, children) {
|
|
1468
|
-
this.
|
|
1469
|
-
this.
|
|
1470
|
-
this.
|
|
1466
|
+
this.c39_1 = ch;
|
|
1467
|
+
this.d39_1 = exact;
|
|
1468
|
+
this.e39_1 = children;
|
|
1471
1469
|
var tmp = this;
|
|
1472
1470
|
var tmp_0 = 0;
|
|
1473
1471
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1474
1472
|
var tmp_1 = Array(256);
|
|
1475
1473
|
while (tmp_0 < 256) {
|
|
1476
1474
|
var tmp_2 = tmp_0;
|
|
1477
|
-
var tmp0 = this.
|
|
1475
|
+
var tmp0 = this.e39_1;
|
|
1478
1476
|
var tmp$ret$3;
|
|
1479
1477
|
$l$block_0: {
|
|
1480
1478
|
// Inline function 'kotlin.collections.singleOrNull' call
|
|
@@ -1484,7 +1482,7 @@
|
|
|
1484
1482
|
while (_iterator__ex2g4s.u()) {
|
|
1485
1483
|
var element = _iterator__ex2g4s.v();
|
|
1486
1484
|
// Inline function 'kotlin.code' call
|
|
1487
|
-
var this_0 = element.
|
|
1485
|
+
var this_0 = element.c39_1;
|
|
1488
1486
|
if (Char__toInt_impl_vasixd(this_0) === tmp_2) {
|
|
1489
1487
|
if (found) {
|
|
1490
1488
|
tmp$ret$3 = null;
|
|
@@ -1503,15 +1501,15 @@
|
|
|
1503
1501
|
tmp_1[tmp_2] = tmp$ret$3;
|
|
1504
1502
|
tmp_0 = tmp_0 + 1 | 0;
|
|
1505
1503
|
}
|
|
1506
|
-
tmp.
|
|
1504
|
+
tmp.f39_1 = tmp_1;
|
|
1507
1505
|
}
|
|
1508
1506
|
function Companion() {
|
|
1509
1507
|
}
|
|
1510
|
-
protoOf(Companion).
|
|
1508
|
+
protoOf(Companion).d36 = function (from) {
|
|
1511
1509
|
var tmp = AsciiCharTree$Companion$build$lambda;
|
|
1512
|
-
return this.
|
|
1510
|
+
return this.g39(from, tmp, AsciiCharTree$Companion$build$lambda_0);
|
|
1513
1511
|
};
|
|
1514
|
-
protoOf(Companion).
|
|
1512
|
+
protoOf(Companion).g39 = function (from, length, charAt) {
|
|
1515
1513
|
var tmp$ret$0;
|
|
1516
1514
|
$l$block_0: {
|
|
1517
1515
|
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
@@ -1580,7 +1578,7 @@
|
|
|
1580
1578
|
throw IllegalArgumentException_init_$Create$('There should be no empty entries');
|
|
1581
1579
|
var root = ArrayList_init_$Create$();
|
|
1582
1580
|
build(this, root, from, maxLen, 0, length, charAt);
|
|
1583
|
-
root.
|
|
1581
|
+
root.u5();
|
|
1584
1582
|
return new AsciiCharTree(new Node(_Char___init__impl__6a9atx(0), emptyList(), root));
|
|
1585
1583
|
};
|
|
1586
1584
|
var Companion_instance;
|
|
@@ -1588,10 +1586,10 @@
|
|
|
1588
1586
|
return Companion_instance;
|
|
1589
1587
|
}
|
|
1590
1588
|
function AsciiCharTree(root) {
|
|
1591
|
-
this.
|
|
1589
|
+
this.h39_1 = root;
|
|
1592
1590
|
}
|
|
1593
1591
|
function getImpl($this, index) {
|
|
1594
|
-
return bufferForIndex($this, index)[index % ensureNotNull($this.
|
|
1592
|
+
return bufferForIndex($this, index)[index % ensureNotNull($this.j34_1).length | 0];
|
|
1595
1593
|
}
|
|
1596
1594
|
function copy($this, startIndex, endIndex) {
|
|
1597
1595
|
if (startIndex === endIndex)
|
|
@@ -1620,27 +1618,27 @@
|
|
|
1620
1618
|
return builder;
|
|
1621
1619
|
}
|
|
1622
1620
|
function SubSequenceImpl($outer, start, end) {
|
|
1623
|
-
this.
|
|
1624
|
-
this.
|
|
1625
|
-
this.
|
|
1626
|
-
this.
|
|
1621
|
+
this.l39_1 = $outer;
|
|
1622
|
+
this.i39_1 = start;
|
|
1623
|
+
this.j39_1 = end;
|
|
1624
|
+
this.k39_1 = null;
|
|
1627
1625
|
}
|
|
1628
1626
|
protoOf(SubSequenceImpl).a = function () {
|
|
1629
|
-
return this.
|
|
1627
|
+
return this.j39_1 - this.i39_1 | 0;
|
|
1630
1628
|
};
|
|
1631
1629
|
protoOf(SubSequenceImpl).b = function (index) {
|
|
1632
|
-
var withOffset = index + this.
|
|
1630
|
+
var withOffset = index + this.i39_1 | 0;
|
|
1633
1631
|
// Inline function 'kotlin.require' call
|
|
1634
1632
|
if (!(index >= 0)) {
|
|
1635
1633
|
var message = 'index is negative: ' + index;
|
|
1636
1634
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1637
1635
|
}
|
|
1638
1636
|
// Inline function 'kotlin.require' call
|
|
1639
|
-
if (!(withOffset < this.
|
|
1637
|
+
if (!(withOffset < this.j39_1)) {
|
|
1640
1638
|
var message_0 = 'index (' + index + ') should be less than length (' + this.a() + ')';
|
|
1641
1639
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1642
1640
|
}
|
|
1643
|
-
return getImpl(this.
|
|
1641
|
+
return getImpl(this.l39_1, withOffset);
|
|
1644
1642
|
};
|
|
1645
1643
|
protoOf(SubSequenceImpl).c = function (startIndex, endIndex) {
|
|
1646
1644
|
// Inline function 'kotlin.require' call
|
|
@@ -1654,21 +1652,21 @@
|
|
|
1654
1652
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1655
1653
|
}
|
|
1656
1654
|
// Inline function 'kotlin.require' call
|
|
1657
|
-
if (!(endIndex <= (this.
|
|
1655
|
+
if (!(endIndex <= (this.j39_1 - this.i39_1 | 0))) {
|
|
1658
1656
|
var message_1 = 'end should be less than length (' + this.a() + ')';
|
|
1659
1657
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1660
1658
|
}
|
|
1661
1659
|
if (startIndex === endIndex)
|
|
1662
1660
|
return '';
|
|
1663
|
-
return new SubSequenceImpl(this.
|
|
1661
|
+
return new SubSequenceImpl(this.l39_1, this.i39_1 + startIndex | 0, this.i39_1 + endIndex | 0);
|
|
1664
1662
|
};
|
|
1665
1663
|
protoOf(SubSequenceImpl).toString = function () {
|
|
1666
|
-
var tmp0_elvis_lhs = this.
|
|
1664
|
+
var tmp0_elvis_lhs = this.k39_1;
|
|
1667
1665
|
var tmp;
|
|
1668
1666
|
if (tmp0_elvis_lhs == null) {
|
|
1669
1667
|
// Inline function 'kotlin.also' call
|
|
1670
|
-
var this_0 = toString(copy(this.
|
|
1671
|
-
this.
|
|
1668
|
+
var this_0 = toString(copy(this.l39_1, this.i39_1, this.j39_1));
|
|
1669
|
+
this.k39_1 = this_0;
|
|
1672
1670
|
tmp = this_0;
|
|
1673
1671
|
} else {
|
|
1674
1672
|
tmp = tmp0_elvis_lhs;
|
|
@@ -1680,20 +1678,20 @@
|
|
|
1680
1678
|
return false;
|
|
1681
1679
|
if (!(charSequenceLength(other) === this.a()))
|
|
1682
1680
|
return false;
|
|
1683
|
-
return rangeEqualsImpl(this.
|
|
1681
|
+
return rangeEqualsImpl(this.l39_1, this.i39_1, other, 0, this.a());
|
|
1684
1682
|
};
|
|
1685
1683
|
protoOf(SubSequenceImpl).hashCode = function () {
|
|
1686
|
-
var tmp0_safe_receiver = this.
|
|
1684
|
+
var tmp0_safe_receiver = this.k39_1;
|
|
1687
1685
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1688
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this.
|
|
1686
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this.l39_1, this.i39_1, this.j39_1) : tmp1_elvis_lhs;
|
|
1689
1687
|
};
|
|
1690
1688
|
function bufferForIndex($this, index) {
|
|
1691
|
-
var list = $this.
|
|
1689
|
+
var list = $this.i34_1;
|
|
1692
1690
|
if (list == null) {
|
|
1693
1691
|
if (index >= 2048) {
|
|
1694
1692
|
throwSingleBuffer($this, index);
|
|
1695
1693
|
}
|
|
1696
|
-
var tmp0_elvis_lhs = $this.
|
|
1694
|
+
var tmp0_elvis_lhs = $this.j34_1;
|
|
1697
1695
|
var tmp;
|
|
1698
1696
|
if (tmp0_elvis_lhs == null) {
|
|
1699
1697
|
throwSingleBuffer($this, index);
|
|
@@ -1702,29 +1700,29 @@
|
|
|
1702
1700
|
}
|
|
1703
1701
|
return tmp;
|
|
1704
1702
|
}
|
|
1705
|
-
return list.m1(index / ensureNotNull($this.
|
|
1703
|
+
return list.m1(index / ensureNotNull($this.j34_1).length | 0);
|
|
1706
1704
|
}
|
|
1707
1705
|
function throwSingleBuffer($this, index) {
|
|
1708
|
-
if ($this.
|
|
1706
|
+
if ($this.l34_1)
|
|
1709
1707
|
throw IllegalStateException_init_$Create$('Buffer is already released');
|
|
1710
1708
|
throw IndexOutOfBoundsException_init_$Create$('' + index + ' is not in range [0; ' + currentPosition($this) + ')');
|
|
1711
1709
|
}
|
|
1712
1710
|
function nonFullBuffer($this) {
|
|
1713
|
-
return $this.
|
|
1711
|
+
return $this.m34_1 === 0 ? appendNewArray($this) : ensureNotNull($this.j34_1);
|
|
1714
1712
|
}
|
|
1715
1713
|
function appendNewArray($this) {
|
|
1716
|
-
var newBuffer = $this.
|
|
1717
|
-
var existing = $this.
|
|
1718
|
-
$this.
|
|
1719
|
-
$this.
|
|
1720
|
-
$this.
|
|
1714
|
+
var newBuffer = $this.h34_1.f1w();
|
|
1715
|
+
var existing = $this.j34_1;
|
|
1716
|
+
$this.j34_1 = newBuffer;
|
|
1717
|
+
$this.m34_1 = newBuffer.length;
|
|
1718
|
+
$this.l34_1 = false;
|
|
1721
1719
|
if (!(existing == null)) {
|
|
1722
|
-
var tmp0_elvis_lhs = $this.
|
|
1720
|
+
var tmp0_elvis_lhs = $this.i34_1;
|
|
1723
1721
|
var tmp;
|
|
1724
1722
|
if (tmp0_elvis_lhs == null) {
|
|
1725
1723
|
// Inline function 'kotlin.also' call
|
|
1726
1724
|
var this_0 = ArrayList_init_$Create$();
|
|
1727
|
-
$this.
|
|
1725
|
+
$this.i34_1 = this_0;
|
|
1728
1726
|
this_0.j1(existing);
|
|
1729
1727
|
tmp = this_0;
|
|
1730
1728
|
} else {
|
|
@@ -1763,20 +1761,20 @@
|
|
|
1763
1761
|
return hc;
|
|
1764
1762
|
}
|
|
1765
1763
|
function currentPosition($this) {
|
|
1766
|
-
return ensureNotNull($this.
|
|
1764
|
+
return ensureNotNull($this.j34_1).length - $this.m34_1 | 0;
|
|
1767
1765
|
}
|
|
1768
1766
|
function CharArrayBuilder(pool) {
|
|
1769
1767
|
pool = pool === VOID ? get_CharArrayPool() : pool;
|
|
1770
|
-
this.
|
|
1771
|
-
this.
|
|
1772
|
-
this.
|
|
1773
|
-
this.
|
|
1774
|
-
this.
|
|
1775
|
-
this.
|
|
1776
|
-
this.
|
|
1768
|
+
this.h34_1 = pool;
|
|
1769
|
+
this.i34_1 = null;
|
|
1770
|
+
this.j34_1 = null;
|
|
1771
|
+
this.k34_1 = null;
|
|
1772
|
+
this.l34_1 = false;
|
|
1773
|
+
this.m34_1 = 0;
|
|
1774
|
+
this.n34_1 = 0;
|
|
1777
1775
|
}
|
|
1778
1776
|
protoOf(CharArrayBuilder).a = function () {
|
|
1779
|
-
return this.
|
|
1777
|
+
return this.n34_1;
|
|
1780
1778
|
};
|
|
1781
1779
|
protoOf(CharArrayBuilder).b = function (index) {
|
|
1782
1780
|
// Inline function 'kotlin.require' call
|
|
@@ -1785,8 +1783,8 @@
|
|
|
1785
1783
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1786
1784
|
}
|
|
1787
1785
|
// Inline function 'kotlin.require' call
|
|
1788
|
-
if (!(index < this.
|
|
1789
|
-
var message_0 = 'index ' + index + ' is not in range [0, ' + this.
|
|
1786
|
+
if (!(index < this.n34_1)) {
|
|
1787
|
+
var message_0 = 'index ' + index + ' is not in range [0, ' + this.n34_1 + ')';
|
|
1790
1788
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1791
1789
|
}
|
|
1792
1790
|
return getImpl(this, index);
|
|
@@ -1803,19 +1801,19 @@
|
|
|
1803
1801
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1804
1802
|
}
|
|
1805
1803
|
// Inline function 'kotlin.require' call
|
|
1806
|
-
if (!(endIndex <= this.
|
|
1807
|
-
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.
|
|
1804
|
+
if (!(endIndex <= this.n34_1)) {
|
|
1805
|
+
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.n34_1 + ')';
|
|
1808
1806
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1809
1807
|
}
|
|
1810
1808
|
return new SubSequenceImpl(this, startIndex, endIndex);
|
|
1811
1809
|
};
|
|
1812
1810
|
protoOf(CharArrayBuilder).toString = function () {
|
|
1813
|
-
var tmp0_elvis_lhs = this.
|
|
1811
|
+
var tmp0_elvis_lhs = this.k34_1;
|
|
1814
1812
|
var tmp;
|
|
1815
1813
|
if (tmp0_elvis_lhs == null) {
|
|
1816
1814
|
// Inline function 'kotlin.also' call
|
|
1817
|
-
var this_0 = toString(copy(this, 0, this.
|
|
1818
|
-
this.
|
|
1815
|
+
var this_0 = toString(copy(this, 0, this.n34_1));
|
|
1816
|
+
this.k34_1 = this_0;
|
|
1819
1817
|
tmp = this_0;
|
|
1820
1818
|
} else {
|
|
1821
1819
|
tmp = tmp0_elvis_lhs;
|
|
@@ -1825,32 +1823,32 @@
|
|
|
1825
1823
|
protoOf(CharArrayBuilder).equals = function (other) {
|
|
1826
1824
|
if (!(!(other == null) ? isCharSequence(other) : false))
|
|
1827
1825
|
return false;
|
|
1828
|
-
if (!(this.
|
|
1826
|
+
if (!(this.n34_1 === charSequenceLength(other)))
|
|
1829
1827
|
return false;
|
|
1830
|
-
return rangeEqualsImpl(this, 0, other, 0, this.
|
|
1828
|
+
return rangeEqualsImpl(this, 0, other, 0, this.n34_1);
|
|
1831
1829
|
};
|
|
1832
1830
|
protoOf(CharArrayBuilder).hashCode = function () {
|
|
1833
|
-
var tmp0_safe_receiver = this.
|
|
1831
|
+
var tmp0_safe_receiver = this.k34_1;
|
|
1834
1832
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1835
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.
|
|
1833
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.n34_1) : tmp1_elvis_lhs;
|
|
1836
1834
|
};
|
|
1837
1835
|
protoOf(CharArrayBuilder).s = function (value) {
|
|
1838
|
-
nonFullBuffer(this)[ensureNotNull(this.
|
|
1839
|
-
this.
|
|
1840
|
-
this.
|
|
1841
|
-
this.
|
|
1836
|
+
nonFullBuffer(this)[ensureNotNull(this.j34_1).length - this.m34_1 | 0] = value;
|
|
1837
|
+
this.k34_1 = null;
|
|
1838
|
+
this.m34_1 = this.m34_1 - 1 | 0;
|
|
1839
|
+
this.n34_1 = this.n34_1 + 1 | 0;
|
|
1842
1840
|
return this;
|
|
1843
1841
|
};
|
|
1844
|
-
protoOf(CharArrayBuilder).
|
|
1842
|
+
protoOf(CharArrayBuilder).kc = function (value, startIndex, endIndex) {
|
|
1845
1843
|
if (value == null)
|
|
1846
1844
|
return this;
|
|
1847
1845
|
var current = startIndex;
|
|
1848
1846
|
while (current < endIndex) {
|
|
1849
1847
|
var buffer = nonFullBuffer(this);
|
|
1850
|
-
var offset = buffer.length - this.
|
|
1848
|
+
var offset = buffer.length - this.m34_1 | 0;
|
|
1851
1849
|
var tmp0 = endIndex - current | 0;
|
|
1852
1850
|
// Inline function 'kotlin.math.min' call
|
|
1853
|
-
var b = this.
|
|
1851
|
+
var b = this.m34_1;
|
|
1854
1852
|
var bytesToCopy = Math.min(tmp0, b);
|
|
1855
1853
|
var inductionVariable = 0;
|
|
1856
1854
|
if (inductionVariable < bytesToCopy)
|
|
@@ -1861,45 +1859,45 @@
|
|
|
1861
1859
|
}
|
|
1862
1860
|
while (inductionVariable < bytesToCopy);
|
|
1863
1861
|
current = current + bytesToCopy | 0;
|
|
1864
|
-
this.
|
|
1862
|
+
this.m34_1 = this.m34_1 - bytesToCopy | 0;
|
|
1865
1863
|
}
|
|
1866
|
-
this.
|
|
1867
|
-
this.
|
|
1864
|
+
this.k34_1 = null;
|
|
1865
|
+
this.n34_1 = this.n34_1 + (endIndex - startIndex | 0) | 0;
|
|
1868
1866
|
return this;
|
|
1869
1867
|
};
|
|
1870
1868
|
protoOf(CharArrayBuilder).k1 = function (value) {
|
|
1871
1869
|
if (value == null)
|
|
1872
1870
|
return this;
|
|
1873
|
-
return this.
|
|
1871
|
+
return this.kc(value, 0, charSequenceLength(value));
|
|
1874
1872
|
};
|
|
1875
|
-
protoOf(CharArrayBuilder).
|
|
1876
|
-
var list = this.
|
|
1873
|
+
protoOf(CharArrayBuilder).z1g = function () {
|
|
1874
|
+
var list = this.i34_1;
|
|
1877
1875
|
if (!(list == null)) {
|
|
1878
|
-
this.
|
|
1876
|
+
this.j34_1 = null;
|
|
1879
1877
|
var inductionVariable = 0;
|
|
1880
1878
|
var last = list.l1();
|
|
1881
1879
|
if (inductionVariable < last)
|
|
1882
1880
|
do {
|
|
1883
1881
|
var i = inductionVariable;
|
|
1884
1882
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1885
|
-
this.
|
|
1883
|
+
this.h34_1.g1w(list.m1(i));
|
|
1886
1884
|
}
|
|
1887
1885
|
while (inductionVariable < last);
|
|
1888
1886
|
} else {
|
|
1889
|
-
var tmp0_safe_receiver = this.
|
|
1887
|
+
var tmp0_safe_receiver = this.j34_1;
|
|
1890
1888
|
if (tmp0_safe_receiver == null)
|
|
1891
1889
|
null;
|
|
1892
1890
|
else {
|
|
1893
1891
|
// Inline function 'kotlin.let' call
|
|
1894
|
-
this.
|
|
1892
|
+
this.h34_1.g1w(tmp0_safe_receiver);
|
|
1895
1893
|
}
|
|
1896
|
-
this.
|
|
1894
|
+
this.j34_1 = null;
|
|
1897
1895
|
}
|
|
1898
|
-
this.
|
|
1899
|
-
this.
|
|
1900
|
-
this.
|
|
1901
|
-
this.
|
|
1902
|
-
this.
|
|
1896
|
+
this.l34_1 = true;
|
|
1897
|
+
this.i34_1 = null;
|
|
1898
|
+
this.k34_1 = null;
|
|
1899
|
+
this.n34_1 = 0;
|
|
1900
|
+
this.m34_1 = 0;
|
|
1903
1901
|
};
|
|
1904
1902
|
function get_CharArrayPool() {
|
|
1905
1903
|
_init_properties_CharArrayPool_kt__u4nq0d();
|
|
@@ -1909,13 +1907,13 @@
|
|
|
1909
1907
|
function CharArrayPool$1() {
|
|
1910
1908
|
NoPoolImpl.call(this);
|
|
1911
1909
|
}
|
|
1912
|
-
protoOf(CharArrayPool$1).
|
|
1910
|
+
protoOf(CharArrayPool$1).f1w = function () {
|
|
1913
1911
|
return charArray(2048);
|
|
1914
1912
|
};
|
|
1915
1913
|
function CharArrayPool$2() {
|
|
1916
1914
|
DefaultPool.call(this, 4096);
|
|
1917
1915
|
}
|
|
1918
|
-
protoOf(CharArrayPool$2).
|
|
1916
|
+
protoOf(CharArrayPool$2).y1v = function () {
|
|
1919
1917
|
return charArray(2048);
|
|
1920
1918
|
};
|
|
1921
1919
|
var properties_initialized_CharArrayPool_kt_aq0u0f;
|
|
@@ -2054,7 +2052,7 @@
|
|
|
2054
2052
|
}
|
|
2055
2053
|
if (length === 19)
|
|
2056
2054
|
return parseDecLongWithCheck(_this__u8e3s4);
|
|
2057
|
-
var result =
|
|
2055
|
+
var result = 0n;
|
|
2058
2056
|
var inductionVariable = 0;
|
|
2059
2057
|
if (inductionVariable < length)
|
|
2060
2058
|
do {
|
|
@@ -2063,8 +2061,8 @@
|
|
|
2063
2061
|
// Inline function 'kotlin.code' call
|
|
2064
2062
|
var this_0 = charSequenceGet(_this__u8e3s4, i);
|
|
2065
2063
|
var tmp$ret$0 = Char__toInt_impl_vasixd(this_0);
|
|
2066
|
-
var digit = subtract(fromInt(tmp$ret$0),
|
|
2067
|
-
if (
|
|
2064
|
+
var digit = subtract(fromInt(tmp$ret$0), 48n);
|
|
2065
|
+
if (digit < 0n || digit > 9n) {
|
|
2068
2066
|
numberFormatException_0(_this__u8e3s4, i);
|
|
2069
2067
|
}
|
|
2070
2068
|
result = add(add(shiftLeft(result, 3), shiftLeft(result, 1)), digit);
|
|
@@ -2078,7 +2076,7 @@
|
|
|
2078
2076
|
}
|
|
2079
2077
|
function parseDecLongWithCheck(_this__u8e3s4) {
|
|
2080
2078
|
_init_properties_Chars_kt__d3i39x();
|
|
2081
|
-
var result =
|
|
2079
|
+
var result = 0n;
|
|
2082
2080
|
var inductionVariable = 0;
|
|
2083
2081
|
var last = charSequenceLength(_this__u8e3s4) - 1 | 0;
|
|
2084
2082
|
if (inductionVariable <= last)
|
|
@@ -2088,12 +2086,12 @@
|
|
|
2088
2086
|
// Inline function 'kotlin.code' call
|
|
2089
2087
|
var this_0 = charSequenceGet(_this__u8e3s4, i);
|
|
2090
2088
|
var tmp$ret$0 = Char__toInt_impl_vasixd(this_0);
|
|
2091
|
-
var digit = subtract(fromInt(tmp$ret$0),
|
|
2092
|
-
if (
|
|
2089
|
+
var digit = subtract(fromInt(tmp$ret$0), 48n);
|
|
2090
|
+
if (digit < 0n || digit > 9n) {
|
|
2093
2091
|
numberFormatException_0(_this__u8e3s4, i);
|
|
2094
2092
|
}
|
|
2095
2093
|
result = add(add(shiftLeft(result, 3), shiftLeft(result, 1)), digit);
|
|
2096
|
-
if (
|
|
2094
|
+
if (result < 0n) {
|
|
2097
2095
|
numberFormatException(_this__u8e3s4);
|
|
2098
2096
|
}
|
|
2099
2097
|
}
|
|
@@ -2106,20 +2104,20 @@
|
|
|
2106
2104
|
}
|
|
2107
2105
|
function DefaultHttpMethods$lambda(it) {
|
|
2108
2106
|
_init_properties_Chars_kt__d3i39x();
|
|
2109
|
-
return it.
|
|
2107
|
+
return it.k2x_1.length;
|
|
2110
2108
|
}
|
|
2111
2109
|
function DefaultHttpMethods$lambda_0(m, idx) {
|
|
2112
2110
|
_init_properties_Chars_kt__d3i39x();
|
|
2113
|
-
return new Char(charCodeAt(m.
|
|
2111
|
+
return new Char(charCodeAt(m.k2x_1, idx));
|
|
2114
2112
|
}
|
|
2115
2113
|
var properties_initialized_Chars_kt_phjfhp;
|
|
2116
2114
|
function _init_properties_Chars_kt__d3i39x() {
|
|
2117
2115
|
if (!properties_initialized_Chars_kt_phjfhp) {
|
|
2118
2116
|
properties_initialized_Chars_kt_phjfhp = true;
|
|
2119
2117
|
var tmp = Companion_instance;
|
|
2120
|
-
var tmp_0 = Companion_getInstance_0().
|
|
2118
|
+
var tmp_0 = Companion_getInstance_0().j2x_1;
|
|
2121
2119
|
var tmp_1 = DefaultHttpMethods$lambda;
|
|
2122
|
-
DefaultHttpMethods = tmp.
|
|
2120
|
+
DefaultHttpMethods = tmp.g39(tmp_0, tmp_1, DefaultHttpMethods$lambda_0);
|
|
2123
2121
|
// Inline function 'kotlin.collections.map' call
|
|
2124
2122
|
var this_0 = numberRangeToNumber(0, 255);
|
|
2125
2123
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -2133,19 +2131,19 @@
|
|
|
2133
2131
|
var v = item;
|
|
2134
2132
|
var tmp_2;
|
|
2135
2133
|
if (48 <= v ? v <= 57 : false) {
|
|
2136
|
-
tmp_2 = subtract(numberToLong(v),
|
|
2134
|
+
tmp_2 = subtract(numberToLong(v), 48n);
|
|
2137
2135
|
} else {
|
|
2138
2136
|
var tmp_3;
|
|
2139
2137
|
var tmp_4 = fromInt(v);
|
|
2140
2138
|
// Inline function 'kotlin.code' call
|
|
2141
2139
|
var this_1 = _Char___init__impl__6a9atx(97);
|
|
2142
2140
|
var tmp$ret$0 = Char__toInt_impl_vasixd(this_1);
|
|
2143
|
-
if (
|
|
2141
|
+
if (tmp_4 >= fromInt(tmp$ret$0)) {
|
|
2144
2142
|
var tmp_5 = fromInt(v);
|
|
2145
2143
|
// Inline function 'kotlin.code' call
|
|
2146
2144
|
var this_2 = _Char___init__impl__6a9atx(102);
|
|
2147
2145
|
var tmp$ret$1 = Char__toInt_impl_vasixd(this_2);
|
|
2148
|
-
tmp_3 =
|
|
2146
|
+
tmp_3 = tmp_5 <= fromInt(tmp$ret$1);
|
|
2149
2147
|
} else {
|
|
2150
2148
|
tmp_3 = false;
|
|
2151
2149
|
}
|
|
@@ -2162,12 +2160,12 @@
|
|
|
2162
2160
|
// Inline function 'kotlin.code' call
|
|
2163
2161
|
var this_5 = _Char___init__impl__6a9atx(65);
|
|
2164
2162
|
var tmp$ret$4 = Char__toInt_impl_vasixd(this_5);
|
|
2165
|
-
if (
|
|
2163
|
+
if (tmp_7 >= fromInt(tmp$ret$4)) {
|
|
2166
2164
|
var tmp_8 = fromInt(v);
|
|
2167
2165
|
// Inline function 'kotlin.code' call
|
|
2168
2166
|
var this_6 = _Char___init__impl__6a9atx(70);
|
|
2169
2167
|
var tmp$ret$5 = Char__toInt_impl_vasixd(this_6);
|
|
2170
|
-
tmp_6 =
|
|
2168
|
+
tmp_6 = tmp_8 <= fromInt(tmp$ret$5);
|
|
2171
2169
|
} else {
|
|
2172
2170
|
tmp_6 = false;
|
|
2173
2171
|
}
|
|
@@ -2179,7 +2177,7 @@
|
|
|
2179
2177
|
var this_8 = subtract(numberToLong(v), fromInt(tmp$ret$6));
|
|
2180
2178
|
tmp_2 = add(this_8, fromInt(10));
|
|
2181
2179
|
} else {
|
|
2182
|
-
tmp_2 =
|
|
2180
|
+
tmp_2 = -1n;
|
|
2183
2181
|
}
|
|
2184
2182
|
}
|
|
2185
2183
|
}
|
|
@@ -2220,11 +2218,11 @@
|
|
|
2220
2218
|
captureStack(this, UnsupportedMediaTypeExceptionCIO);
|
|
2221
2219
|
}
|
|
2222
2220
|
function MutableRange(start, end) {
|
|
2223
|
-
this.
|
|
2224
|
-
this.
|
|
2221
|
+
this.b36_1 = start;
|
|
2222
|
+
this.c36_1 = end;
|
|
2225
2223
|
}
|
|
2226
2224
|
protoOf(MutableRange).toString = function () {
|
|
2227
|
-
return 'MutableRange(start=' + this.
|
|
2225
|
+
return 'MutableRange(start=' + this.b36_1 + ', end=' + this.c36_1 + ')';
|
|
2228
2226
|
};
|
|
2229
2227
|
function skipSpacesAndHorizontalTabs(text, start, end) {
|
|
2230
2228
|
var index = start;
|