@doordeck/doordeck-headless-sdk 0.149.0 → 0.150.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 +65 -65
- package/kotlin/Kermit-kermit.js +9 -9
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +59 -59
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +25 -25
- package/kotlin/doordeck-sdk.d.ts +1 -1
- package/kotlin/doordeck-sdk.js +13852 -15044
- package/kotlin/kotlin-kotlin-stdlib.js +4884 -4836
- package/kotlin/kotlinx-atomicfu.js +92 -88
- package/kotlin/kotlinx-coroutines-core.js +2871 -2878
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +71 -71
- package/kotlin/kotlinx-io-kotlinx-io-core.js +697 -676
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +2632 -2628
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1841 -1829
- package/kotlin/ktor-ktor-client-auth.js +493 -512
- package/kotlin/ktor-ktor-client-content-negotiation.js +300 -308
- package/kotlin/ktor-ktor-client-core.js +3260 -3343
- package/kotlin/ktor-ktor-client-logging.js +1267 -1301
- package/kotlin/ktor-ktor-events.js +18 -18
- package/kotlin/ktor-ktor-http-cio.js +724 -719
- package/kotlin/ktor-ktor-http.js +1171 -1166
- package/kotlin/ktor-ktor-io.js +1413 -1440
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +9 -9
- package/kotlin/ktor-ktor-serialization-kotlinx.js +295 -311
- package/kotlin/ktor-ktor-serialization.js +128 -136
- package/kotlin/ktor-ktor-utils.js +1128 -1129
- package/kotlin/ktor-ktor-websockets.js +68 -68
- package/package.json +3 -2
|
@@ -2,109 +2,115 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
|
-
var Long = kotlin_kotlin.$_$.
|
|
6
|
-
var VOID = kotlin_kotlin.$_$.
|
|
7
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
5
|
+
var Long = kotlin_kotlin.$_$.tf;
|
|
6
|
+
var VOID = kotlin_kotlin.$_$.b;
|
|
7
|
+
var protoOf = kotlin_kotlin.$_$.zb;
|
|
8
8
|
var MultiPartData = kotlin_io_ktor_ktor_http.$_$.n;
|
|
9
9
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
|
|
10
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
var
|
|
17
|
-
var
|
|
18
|
-
var
|
|
19
|
-
var
|
|
20
|
-
var
|
|
21
|
-
var
|
|
22
|
-
var
|
|
10
|
+
var initMetadataForClass = kotlin_kotlin.$_$.za;
|
|
11
|
+
var Unit_instance = kotlin_kotlin.$_$.z4;
|
|
12
|
+
var toString = kotlin_kotlin.$_$.cc;
|
|
13
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.n1;
|
|
14
|
+
var abs = kotlin_kotlin.$_$.dc;
|
|
15
|
+
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.d1;
|
|
16
|
+
var CoroutineImpl = kotlin_kotlin.$_$.h9;
|
|
17
|
+
var THROW_CCE = kotlin_kotlin.$_$.yf;
|
|
18
|
+
var SequenceScope = kotlin_kotlin.$_$.xc;
|
|
19
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.r8;
|
|
20
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.eb;
|
|
21
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
|
|
22
|
+
var sequence = kotlin_kotlin.$_$.yc;
|
|
23
23
|
var DefaultPool = kotlin_io_ktor_ktor_io.$_$.h1;
|
|
24
|
-
var fill = kotlin_kotlin.$_$.
|
|
25
|
-
var isIntArray = kotlin_kotlin.$_$.
|
|
26
|
-
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.
|
|
27
|
-
var endsWith = kotlin_kotlin.$_$.
|
|
28
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
29
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
30
|
-
var Char = kotlin_kotlin.$_$.
|
|
31
|
-
var Char__compareTo_impl_ypi4mb = kotlin_kotlin.$_$.
|
|
32
|
-
var contains = kotlin_kotlin.$_$.
|
|
33
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
34
|
-
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.
|
|
35
|
-
var IllegalStateException = kotlin_kotlin.$_$.
|
|
36
|
-
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.
|
|
37
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
24
|
+
var fill = kotlin_kotlin.$_$.r6;
|
|
25
|
+
var isIntArray = kotlin_kotlin.$_$.nb;
|
|
26
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.f2;
|
|
27
|
+
var endsWith = kotlin_kotlin.$_$.hd;
|
|
28
|
+
var charSequenceLength = kotlin_kotlin.$_$.oa;
|
|
29
|
+
var charSequenceGet = kotlin_kotlin.$_$.na;
|
|
30
|
+
var Char = kotlin_kotlin.$_$.jf;
|
|
31
|
+
var Char__compareTo_impl_ypi4mb = kotlin_kotlin.$_$.g2;
|
|
32
|
+
var contains = kotlin_kotlin.$_$.cd;
|
|
33
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.pa;
|
|
34
|
+
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.l2;
|
|
35
|
+
var IllegalStateException = kotlin_kotlin.$_$.sf;
|
|
36
|
+
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.q1;
|
|
37
|
+
var captureStack = kotlin_kotlin.$_$.ja;
|
|
38
38
|
var readUTF8LineTo = kotlin_io_ktor_ktor_io.$_$.h;
|
|
39
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
39
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r1;
|
|
40
40
|
var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.g;
|
|
41
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
42
|
-
var setOf = kotlin_kotlin.$_$.
|
|
41
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.bb;
|
|
42
|
+
var setOf = kotlin_kotlin.$_$.w7;
|
|
43
43
|
var Companion_getInstance = kotlin_io_ktor_ktor_io.$_$.q;
|
|
44
44
|
var LineEndingMode__plus_impl_ttpz2j = kotlin_io_ktor_ktor_io.$_$.n;
|
|
45
|
-
var listOf = kotlin_kotlin.$_$.
|
|
45
|
+
var listOf = kotlin_kotlin.$_$.k7;
|
|
46
46
|
var MultiPart_getInstance = kotlin_io_ktor_ktor_http.$_$.d;
|
|
47
47
|
var ByteString_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.a;
|
|
48
48
|
var IOException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.c;
|
|
49
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
50
|
-
var toByte = kotlin_kotlin.$_$.
|
|
51
|
-
var copyOfRange = kotlin_kotlin.$_$.
|
|
49
|
+
var toString_0 = kotlin_kotlin.$_$.ue;
|
|
50
|
+
var toByte = kotlin_kotlin.$_$.ac;
|
|
51
|
+
var copyOfRange = kotlin_kotlin.$_$.a6;
|
|
52
52
|
var produce = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.m;
|
|
53
|
-
var startsWith = kotlin_kotlin.$_$.
|
|
53
|
+
var startsWith = kotlin_kotlin.$_$.de;
|
|
54
54
|
var readUntil = kotlin_io_ktor_ktor_io.$_$.i;
|
|
55
55
|
var WriterScope = kotlin_io_ktor_ktor_io.$_$.m1;
|
|
56
56
|
var ProducerScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.k;
|
|
57
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
57
|
+
var isInterface = kotlin_kotlin.$_$.ob;
|
|
58
58
|
var counted = kotlin_io_ktor_ktor_io.$_$.p1;
|
|
59
59
|
var writer = kotlin_io_ktor_ktor_io.$_$.s1;
|
|
60
60
|
var readRemaining = kotlin_io_ktor_ktor_io.$_$.f;
|
|
61
61
|
var get_remaining = kotlin_io_ktor_ktor_io.$_$.b1;
|
|
62
|
+
var compare = kotlin_kotlin.$_$.p9;
|
|
62
63
|
var skipIfFound = kotlin_io_ktor_ktor_io.$_$.j;
|
|
63
64
|
var ByteChannel = kotlin_io_ktor_ktor_io.$_$.j1;
|
|
64
65
|
var CompletableDeferred = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.v;
|
|
65
|
-
var CancellationException_init_$Create$ = kotlin_kotlin.$_$.
|
|
66
|
+
var CancellationException_init_$Create$ = kotlin_kotlin.$_$.x;
|
|
66
67
|
var close = kotlin_io_ktor_ktor_io.$_$.o1;
|
|
68
|
+
var subtract = kotlin_kotlin.$_$.da;
|
|
69
|
+
var convertToInt = kotlin_kotlin.$_$.r9;
|
|
67
70
|
var readPacket = kotlin_io_ktor_ktor_io.$_$.e;
|
|
68
71
|
var EOFException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
|
|
69
72
|
var copyTo = kotlin_io_ktor_ktor_io.$_$.a;
|
|
70
|
-
var
|
|
73
|
+
var longRangeToLong = kotlin_kotlin.$_$.ub;
|
|
74
|
+
var add = kotlin_kotlin.$_$.m9;
|
|
75
|
+
var fromInt = kotlin_kotlin.$_$.v9;
|
|
71
76
|
var toByteArray = kotlin_io_ktor_ktor_io.$_$.d1;
|
|
72
77
|
var ByteString = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.c;
|
|
73
|
-
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.
|
|
74
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
75
|
-
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.
|
|
76
|
-
var Collection = kotlin_kotlin.$_$.
|
|
77
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
78
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
79
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
80
|
-
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
81
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
82
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
83
|
-
var CharSequence = kotlin_kotlin.$_$.
|
|
84
|
-
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.
|
|
78
|
+
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.s;
|
|
79
|
+
var compareTo = kotlin_kotlin.$_$.qa;
|
|
80
|
+
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.x1;
|
|
81
|
+
var Collection = kotlin_kotlin.$_$.b5;
|
|
82
|
+
var emptyList = kotlin_kotlin.$_$.o6;
|
|
83
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.ab;
|
|
84
|
+
var ensureNotNull = kotlin_kotlin.$_$.qg;
|
|
85
|
+
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.c1;
|
|
86
|
+
var isCharSequence = kotlin_kotlin.$_$.kb;
|
|
87
|
+
var getStringHashCode = kotlin_kotlin.$_$.xa;
|
|
88
|
+
var CharSequence = kotlin_kotlin.$_$.if;
|
|
89
|
+
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.u1;
|
|
85
90
|
var NoPoolImpl = kotlin_io_ktor_ktor_io.$_$.i1;
|
|
86
|
-
var charArray = kotlin_kotlin.$_$.
|
|
87
|
-
var
|
|
88
|
-
var
|
|
89
|
-
var
|
|
91
|
+
var charArray = kotlin_kotlin.$_$.la;
|
|
92
|
+
var shiftLeft = kotlin_kotlin.$_$.ba;
|
|
93
|
+
var NumberFormatException_init_$Create$ = kotlin_kotlin.$_$.y1;
|
|
94
|
+
var toString_1 = kotlin_kotlin.$_$.m2;
|
|
95
|
+
var charCodeAt = kotlin_kotlin.$_$.ma;
|
|
90
96
|
var Companion_getInstance_0 = kotlin_io_ktor_ktor_http.$_$.h;
|
|
91
|
-
var numberRangeToNumber = kotlin_kotlin.$_$.
|
|
92
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
93
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
94
|
-
var numberToLong = kotlin_kotlin.$_$.
|
|
95
|
-
var toLongArray = kotlin_kotlin.$_$.
|
|
96
|
-
var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.
|
|
97
|
-
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.
|
|
98
|
-
var toByteArray_0 = kotlin_kotlin.$_$.
|
|
97
|
+
var numberRangeToNumber = kotlin_kotlin.$_$.wb;
|
|
98
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.u5;
|
|
99
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.i;
|
|
100
|
+
var numberToLong = kotlin_kotlin.$_$.aa;
|
|
101
|
+
var toLongArray = kotlin_kotlin.$_$.g8;
|
|
102
|
+
var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.j2;
|
|
103
|
+
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.i2;
|
|
104
|
+
var toByteArray_0 = kotlin_kotlin.$_$.b8;
|
|
99
105
|
var IOException = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.g;
|
|
100
106
|
var IOException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.b;
|
|
101
|
-
var isWhitespace = kotlin_kotlin.$_$.
|
|
107
|
+
var isWhitespace = kotlin_kotlin.$_$.qd;
|
|
102
108
|
//endregion
|
|
103
109
|
//region block: pre-declaration
|
|
104
110
|
initMetadataForClass(CIOMultipartDataBase, 'CIOMultipartDataBase', VOID, VOID, [MultiPartData, CoroutineScope], [0, 1]);
|
|
111
|
+
initMetadataForClass(HttpHeadersMap, 'HttpHeadersMap');
|
|
105
112
|
initMetadataForLambda(HeadersData$headersStarts$slambda, CoroutineImpl, VOID, [1]);
|
|
106
113
|
initMetadataForClass(HeadersData, 'HeadersData', HeadersData);
|
|
107
|
-
initMetadataForClass(HttpHeadersMap, 'HttpHeadersMap');
|
|
108
114
|
initMetadataForClass(IntArrayPool$1, VOID, VOID, DefaultPool);
|
|
109
115
|
initMetadataForClass(HeadersDataPool$1, VOID, VOID, DefaultPool);
|
|
110
116
|
initMetadataForClass(ParserException, 'ParserException', VOID, IllegalStateException);
|
|
@@ -130,12 +136,12 @@
|
|
|
130
136
|
//endregion
|
|
131
137
|
function CIOMultipartDataBase(coroutineContext, channel, contentType, contentLength, formFieldLimit) {
|
|
132
138
|
formFieldLimit = formFieldLimit === VOID ? new Long(65536, 0) : formFieldLimit;
|
|
133
|
-
this.
|
|
134
|
-
this.
|
|
135
|
-
this.
|
|
139
|
+
this.d34_1 = coroutineContext;
|
|
140
|
+
this.e34_1 = null;
|
|
141
|
+
this.f34_1 = parseMultipart(this, channel, contentType, contentLength, formFieldLimit);
|
|
136
142
|
}
|
|
137
|
-
protoOf(CIOMultipartDataBase).
|
|
138
|
-
return this.
|
|
143
|
+
protoOf(CIOMultipartDataBase).ws = function () {
|
|
144
|
+
return this.d34_1;
|
|
139
145
|
};
|
|
140
146
|
function get_IntArrayPool() {
|
|
141
147
|
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
@@ -147,95 +153,201 @@
|
|
|
147
153
|
return HeadersDataPool;
|
|
148
154
|
}
|
|
149
155
|
var HeadersDataPool;
|
|
156
|
+
function thresholdReached($this) {
|
|
157
|
+
return $this.h34_1 >= $this.i34_1 * 0.75;
|
|
158
|
+
}
|
|
159
|
+
function resize($this) {
|
|
160
|
+
var prevSize = $this.h34_1;
|
|
161
|
+
var prevData = $this.j34_1;
|
|
162
|
+
$this.h34_1 = 0;
|
|
163
|
+
$this.i34_1 = imul($this.i34_1, 2) | 128;
|
|
164
|
+
var tmp = $this;
|
|
165
|
+
// Inline function 'kotlin.apply' call
|
|
166
|
+
var this_0 = get_HeadersDataPool().s1w();
|
|
167
|
+
this_0.m34(imul(prevData.l34(), 2) | 1);
|
|
168
|
+
tmp.j34_1 = this_0;
|
|
169
|
+
var _iterator__ex2g4s = prevData.n34().r();
|
|
170
|
+
while (_iterator__ex2g4s.s()) {
|
|
171
|
+
var headerOffset = _iterator__ex2g4s.t();
|
|
172
|
+
$this.p34(prevData.o34(headerOffset + 1 | 0), prevData.o34(headerOffset + 2 | 0), prevData.o34(headerOffset + 3 | 0), prevData.o34(headerOffset + 4 | 0));
|
|
173
|
+
}
|
|
174
|
+
get_HeadersDataPool().t1w(prevData);
|
|
175
|
+
// Inline function 'kotlin.require' call
|
|
176
|
+
// Inline function 'kotlin.require' call
|
|
177
|
+
if (!(prevSize === $this.h34_1)) {
|
|
178
|
+
var message = 'Failed requirement.';
|
|
179
|
+
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
function headerHasName($this, name, headerOffset) {
|
|
183
|
+
var nameStartIndex = $this.j34_1.o34(headerOffset + 1 | 0);
|
|
184
|
+
var nameEndIndex = $this.j34_1.o34(headerOffset + 2 | 0);
|
|
185
|
+
return equalsLowerCase($this.g34_1, nameStartIndex, nameEndIndex, name);
|
|
186
|
+
}
|
|
187
|
+
function HttpHeadersMap(builder) {
|
|
188
|
+
this.g34_1 = builder;
|
|
189
|
+
this.h34_1 = 0;
|
|
190
|
+
this.i34_1 = 0;
|
|
191
|
+
this.j34_1 = get_HeadersDataPool().s1w();
|
|
192
|
+
}
|
|
193
|
+
protoOf(HttpHeadersMap).q2k = function (name) {
|
|
194
|
+
if (this.h34_1 === 0)
|
|
195
|
+
return null;
|
|
196
|
+
// Inline function 'kotlin.math.absoluteValue' call
|
|
197
|
+
var this_0 = hashCodeLowerCase(name);
|
|
198
|
+
var hash = abs(this_0);
|
|
199
|
+
var headerIndex = hash % this.i34_1 | 0;
|
|
200
|
+
while (!(this.j34_1.o34(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
201
|
+
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
202
|
+
return this.q34(imul(headerIndex, 6));
|
|
203
|
+
}
|
|
204
|
+
headerIndex = (headerIndex + 1 | 0) % this.i34_1 | 0;
|
|
205
|
+
}
|
|
206
|
+
return null;
|
|
207
|
+
};
|
|
208
|
+
protoOf(HttpHeadersMap).r34 = function () {
|
|
209
|
+
return this.j34_1.n34();
|
|
210
|
+
};
|
|
211
|
+
protoOf(HttpHeadersMap).p34 = function (nameStartIndex, nameEndIndex, valueStartIndex, valueEndIndex) {
|
|
212
|
+
if (thresholdReached(this)) {
|
|
213
|
+
resize(this);
|
|
214
|
+
}
|
|
215
|
+
// Inline function 'kotlin.math.absoluteValue' call
|
|
216
|
+
var this_0 = hashCodeLowerCase(this.g34_1, nameStartIndex, nameEndIndex);
|
|
217
|
+
var hash = abs(this_0);
|
|
218
|
+
var name = this.g34_1.c(nameStartIndex, nameEndIndex);
|
|
219
|
+
var headerIndex = hash % this.i34_1 | 0;
|
|
220
|
+
var sameNameHeaderIndex = -1;
|
|
221
|
+
while (!(this.j34_1.o34(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
222
|
+
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
223
|
+
sameNameHeaderIndex = headerIndex;
|
|
224
|
+
}
|
|
225
|
+
headerIndex = (headerIndex + 1 | 0) % this.i34_1 | 0;
|
|
226
|
+
}
|
|
227
|
+
var headerOffset = imul(headerIndex, 6);
|
|
228
|
+
this.j34_1.z34(headerOffset + 0 | 0, hash);
|
|
229
|
+
this.j34_1.z34(headerOffset + 1 | 0, nameStartIndex);
|
|
230
|
+
this.j34_1.z34(headerOffset + 2 | 0, nameEndIndex);
|
|
231
|
+
this.j34_1.z34(headerOffset + 3 | 0, valueStartIndex);
|
|
232
|
+
this.j34_1.z34(headerOffset + 4 | 0, valueEndIndex);
|
|
233
|
+
this.j34_1.z34(headerOffset + 5 | 0, -1);
|
|
234
|
+
if (!(sameNameHeaderIndex === -1)) {
|
|
235
|
+
this.j34_1.z34(imul(sameNameHeaderIndex, 6) + 5 | 0, headerIndex);
|
|
236
|
+
}
|
|
237
|
+
this.h34_1 = this.h34_1 + 1 | 0;
|
|
238
|
+
};
|
|
239
|
+
protoOf(HttpHeadersMap).a35 = function (headerOffset) {
|
|
240
|
+
var nameStartIndex = this.j34_1.o34(headerOffset + 1 | 0);
|
|
241
|
+
var nameEndIndex = this.j34_1.o34(headerOffset + 2 | 0);
|
|
242
|
+
return this.g34_1.c(nameStartIndex, nameEndIndex);
|
|
243
|
+
};
|
|
244
|
+
protoOf(HttpHeadersMap).q34 = function (headerOffset) {
|
|
245
|
+
var valueStartIndex = this.j34_1.o34(headerOffset + 3 | 0);
|
|
246
|
+
var valueEndIndex = this.j34_1.o34(headerOffset + 4 | 0);
|
|
247
|
+
return this.g34_1.c(valueStartIndex, valueEndIndex);
|
|
248
|
+
};
|
|
249
|
+
protoOf(HttpHeadersMap).n1h = function () {
|
|
250
|
+
this.h34_1 = 0;
|
|
251
|
+
this.i34_1 = 0;
|
|
252
|
+
get_HeadersDataPool().t1w(this.j34_1);
|
|
253
|
+
this.j34_1 = get_HeadersDataPool().s1w();
|
|
254
|
+
};
|
|
255
|
+
protoOf(HttpHeadersMap).toString = function () {
|
|
256
|
+
// Inline function 'kotlin.text.buildString' call
|
|
257
|
+
// Inline function 'kotlin.apply' call
|
|
258
|
+
var this_0 = StringBuilder_init_$Create$();
|
|
259
|
+
dumpTo(this, '', this_0);
|
|
260
|
+
return this_0.toString();
|
|
261
|
+
};
|
|
150
262
|
function HeadersData$headersStarts$slambda(this$0, resultContinuation) {
|
|
151
|
-
this.
|
|
263
|
+
this.j35_1 = this$0;
|
|
152
264
|
CoroutineImpl.call(this, resultContinuation);
|
|
153
265
|
}
|
|
154
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
155
|
-
var tmp = this.
|
|
156
|
-
tmp.
|
|
157
|
-
tmp.
|
|
158
|
-
return tmp.
|
|
266
|
+
protoOf(HeadersData$headersStarts$slambda).p35 = function ($this$sequence, $completion) {
|
|
267
|
+
var tmp = this.q35($this$sequence, $completion);
|
|
268
|
+
tmp.w8_1 = Unit_instance;
|
|
269
|
+
tmp.x8_1 = null;
|
|
270
|
+
return tmp.c9();
|
|
159
271
|
};
|
|
160
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
161
|
-
return this.
|
|
272
|
+
protoOf(HeadersData$headersStarts$slambda).o9 = function (p1, $completion) {
|
|
273
|
+
return this.p35(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
162
274
|
};
|
|
163
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
164
|
-
var suspendResult = this.
|
|
275
|
+
protoOf(HeadersData$headersStarts$slambda).c9 = function () {
|
|
276
|
+
var suspendResult = this.w8_1;
|
|
165
277
|
$sm: do
|
|
166
278
|
try {
|
|
167
|
-
var tmp = this.
|
|
279
|
+
var tmp = this.u8_1;
|
|
168
280
|
switch (tmp) {
|
|
169
281
|
case 0:
|
|
170
|
-
this.
|
|
171
|
-
this.
|
|
172
|
-
this.
|
|
173
|
-
this.
|
|
282
|
+
this.v8_1 = 7;
|
|
283
|
+
this.l35_1 = 0;
|
|
284
|
+
this.o35_1 = this.j35_1.k34_1.r();
|
|
285
|
+
this.u8_1 = 1;
|
|
174
286
|
continue $sm;
|
|
175
287
|
case 1:
|
|
176
|
-
if (!this.
|
|
177
|
-
this.
|
|
288
|
+
if (!this.o35_1.s()) {
|
|
289
|
+
this.u8_1 = 6;
|
|
178
290
|
continue $sm;
|
|
179
291
|
}
|
|
180
292
|
|
|
181
|
-
this.
|
|
182
|
-
this.
|
|
183
|
-
this.
|
|
293
|
+
this.n35_1 = this.o35_1.t();
|
|
294
|
+
this.m35_1 = 0;
|
|
295
|
+
this.u8_1 = 2;
|
|
184
296
|
continue $sm;
|
|
185
297
|
case 2:
|
|
186
|
-
if (!(this.
|
|
187
|
-
this.
|
|
298
|
+
if (!(this.m35_1 < this.n35_1.length)) {
|
|
299
|
+
this.u8_1 = 5;
|
|
188
300
|
continue $sm;
|
|
189
301
|
}
|
|
190
302
|
|
|
191
|
-
if (!(this.
|
|
192
|
-
this.
|
|
193
|
-
suspendResult = this.
|
|
303
|
+
if (!(this.j35_1.o34(this.l35_1 + 0 | 0) === -1)) {
|
|
304
|
+
this.u8_1 = 3;
|
|
305
|
+
suspendResult = this.k35_1.og(this.l35_1, this);
|
|
194
306
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
195
307
|
return suspendResult;
|
|
196
308
|
}
|
|
197
309
|
continue $sm;
|
|
198
310
|
} else {
|
|
199
|
-
this.
|
|
311
|
+
this.u8_1 = 4;
|
|
200
312
|
continue $sm;
|
|
201
313
|
}
|
|
202
314
|
|
|
203
315
|
case 3:
|
|
204
|
-
this.
|
|
316
|
+
this.u8_1 = 4;
|
|
205
317
|
continue $sm;
|
|
206
318
|
case 4:
|
|
207
|
-
this.
|
|
208
|
-
this.
|
|
209
|
-
this.
|
|
319
|
+
this.m35_1 = this.m35_1 + 6 | 0;
|
|
320
|
+
this.l35_1 = this.l35_1 + 6 | 0;
|
|
321
|
+
this.u8_1 = 2;
|
|
210
322
|
continue $sm;
|
|
211
323
|
case 5:
|
|
212
|
-
this.
|
|
324
|
+
this.u8_1 = 1;
|
|
213
325
|
continue $sm;
|
|
214
326
|
case 6:
|
|
215
327
|
return Unit_instance;
|
|
216
328
|
case 7:
|
|
217
|
-
throw this.
|
|
329
|
+
throw this.x8_1;
|
|
218
330
|
}
|
|
219
331
|
} catch ($p) {
|
|
220
332
|
var e = $p;
|
|
221
|
-
if (this.
|
|
333
|
+
if (this.v8_1 === 7) {
|
|
222
334
|
throw e;
|
|
223
335
|
} else {
|
|
224
|
-
this.
|
|
225
|
-
this.
|
|
336
|
+
this.u8_1 = this.v8_1;
|
|
337
|
+
this.x8_1 = e;
|
|
226
338
|
}
|
|
227
339
|
}
|
|
228
340
|
while (true);
|
|
229
341
|
};
|
|
230
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
231
|
-
var i = new HeadersData$headersStarts$slambda(this.
|
|
232
|
-
i.
|
|
342
|
+
protoOf(HeadersData$headersStarts$slambda).q35 = function ($this$sequence, completion) {
|
|
343
|
+
var i = new HeadersData$headersStarts$slambda(this.j35_1, completion);
|
|
344
|
+
i.k35_1 = $this$sequence;
|
|
233
345
|
return i;
|
|
234
346
|
};
|
|
235
347
|
function HeadersData$headersStarts$slambda_0(this$0, resultContinuation) {
|
|
236
348
|
var i = new HeadersData$headersStarts$slambda(this$0, resultContinuation);
|
|
237
349
|
var l = function ($this$sequence, $completion) {
|
|
238
|
-
return i.
|
|
350
|
+
return i.p35($this$sequence, $completion);
|
|
239
351
|
};
|
|
240
352
|
l.$arity = 1;
|
|
241
353
|
return l;
|
|
@@ -243,161 +355,55 @@
|
|
|
243
355
|
function HeadersData() {
|
|
244
356
|
var tmp = this;
|
|
245
357
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
246
|
-
tmp.
|
|
358
|
+
tmp.k34_1 = ArrayList_init_$Create$();
|
|
247
359
|
}
|
|
248
|
-
protoOf(HeadersData).
|
|
249
|
-
return this.
|
|
360
|
+
protoOf(HeadersData).l34 = function () {
|
|
361
|
+
return this.k34_1.u();
|
|
250
362
|
};
|
|
251
|
-
protoOf(HeadersData).
|
|
363
|
+
protoOf(HeadersData).m34 = function (subArraysCount) {
|
|
252
364
|
// Inline function 'kotlin.repeat' call
|
|
253
365
|
var inductionVariable = 0;
|
|
254
366
|
if (inductionVariable < subArraysCount)
|
|
255
367
|
do {
|
|
256
368
|
var index = inductionVariable;
|
|
257
369
|
inductionVariable = inductionVariable + 1 | 0;
|
|
258
|
-
this.
|
|
370
|
+
this.k34_1.p(get_IntArrayPool().s1w());
|
|
259
371
|
}
|
|
260
372
|
while (inductionVariable < subArraysCount);
|
|
261
373
|
};
|
|
262
|
-
protoOf(HeadersData).
|
|
263
|
-
return this.
|
|
374
|
+
protoOf(HeadersData).o34 = function (index) {
|
|
375
|
+
return this.k34_1.v(index / 768 | 0)[index % 768 | 0];
|
|
264
376
|
};
|
|
265
|
-
protoOf(HeadersData).
|
|
266
|
-
this.
|
|
377
|
+
protoOf(HeadersData).z34 = function (index, value) {
|
|
378
|
+
this.k34_1.v(index / 768 | 0)[index % 768 | 0] = value;
|
|
267
379
|
};
|
|
268
|
-
protoOf(HeadersData).
|
|
380
|
+
protoOf(HeadersData).n34 = function () {
|
|
269
381
|
return sequence(HeadersData$headersStarts$slambda_0(this, null));
|
|
270
382
|
};
|
|
271
|
-
protoOf(HeadersData).
|
|
272
|
-
var _iterator__ex2g4s = this.
|
|
273
|
-
while (_iterator__ex2g4s.
|
|
274
|
-
var array = _iterator__ex2g4s.
|
|
275
|
-
get_IntArrayPool().
|
|
383
|
+
protoOf(HeadersData).n1h = function () {
|
|
384
|
+
var _iterator__ex2g4s = this.k34_1.r();
|
|
385
|
+
while (_iterator__ex2g4s.s()) {
|
|
386
|
+
var array = _iterator__ex2g4s.t();
|
|
387
|
+
get_IntArrayPool().t1w(array);
|
|
276
388
|
}
|
|
277
|
-
this.
|
|
278
|
-
};
|
|
279
|
-
function thresholdReached($this) {
|
|
280
|
-
return $this.p38_1 >= $this.q38_1 * 0.75;
|
|
281
|
-
}
|
|
282
|
-
function resize($this) {
|
|
283
|
-
var prevSize = $this.p38_1;
|
|
284
|
-
var prevData = $this.r38_1;
|
|
285
|
-
$this.p38_1 = 0;
|
|
286
|
-
$this.q38_1 = imul($this.q38_1, 2) | 128;
|
|
287
|
-
var tmp = $this;
|
|
288
|
-
// Inline function 'kotlin.apply' call
|
|
289
|
-
var this_0 = get_HeadersDataPool().a20();
|
|
290
|
-
this_0.l38(imul(prevData.k38(), 2) | 1);
|
|
291
|
-
tmp.r38_1 = this_0;
|
|
292
|
-
var _iterator__ex2g4s = prevData.n38().p();
|
|
293
|
-
while (_iterator__ex2g4s.q()) {
|
|
294
|
-
var headerOffset = _iterator__ex2g4s.r();
|
|
295
|
-
$this.s38(prevData.j38(headerOffset + 1 | 0), prevData.j38(headerOffset + 2 | 0), prevData.j38(headerOffset + 3 | 0), prevData.j38(headerOffset + 4 | 0));
|
|
296
|
-
}
|
|
297
|
-
get_HeadersDataPool().b20(prevData);
|
|
298
|
-
// Inline function 'kotlin.require' call
|
|
299
|
-
// Inline function 'kotlin.require' call
|
|
300
|
-
if (!(prevSize === $this.p38_1)) {
|
|
301
|
-
var message = 'Failed requirement.';
|
|
302
|
-
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
function headerHasName($this, name, headerOffset) {
|
|
306
|
-
var nameStartIndex = $this.r38_1.j38(headerOffset + 1 | 0);
|
|
307
|
-
var nameEndIndex = $this.r38_1.j38(headerOffset + 2 | 0);
|
|
308
|
-
return equalsLowerCase($this.o38_1, nameStartIndex, nameEndIndex, name);
|
|
309
|
-
}
|
|
310
|
-
function HttpHeadersMap(builder) {
|
|
311
|
-
this.o38_1 = builder;
|
|
312
|
-
this.p38_1 = 0;
|
|
313
|
-
this.q38_1 = 0;
|
|
314
|
-
this.r38_1 = get_HeadersDataPool().a20();
|
|
315
|
-
}
|
|
316
|
-
protoOf(HttpHeadersMap).f2o = function (name) {
|
|
317
|
-
if (this.p38_1 === 0)
|
|
318
|
-
return null;
|
|
319
|
-
// Inline function 'kotlin.math.absoluteValue' call
|
|
320
|
-
var this_0 = hashCodeLowerCase(name);
|
|
321
|
-
var hash = abs(this_0);
|
|
322
|
-
var headerIndex = hash % this.q38_1 | 0;
|
|
323
|
-
while (!(this.r38_1.j38(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
324
|
-
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
325
|
-
return this.t38(imul(headerIndex, 6));
|
|
326
|
-
}
|
|
327
|
-
headerIndex = (headerIndex + 1 | 0) % this.q38_1 | 0;
|
|
328
|
-
}
|
|
329
|
-
return null;
|
|
330
|
-
};
|
|
331
|
-
protoOf(HttpHeadersMap).u38 = function () {
|
|
332
|
-
return this.r38_1.n38();
|
|
333
|
-
};
|
|
334
|
-
protoOf(HttpHeadersMap).s38 = function (nameStartIndex, nameEndIndex, valueStartIndex, valueEndIndex) {
|
|
335
|
-
if (thresholdReached(this)) {
|
|
336
|
-
resize(this);
|
|
337
|
-
}
|
|
338
|
-
// Inline function 'kotlin.math.absoluteValue' call
|
|
339
|
-
var this_0 = hashCodeLowerCase(this.o38_1, nameStartIndex, nameEndIndex);
|
|
340
|
-
var hash = abs(this_0);
|
|
341
|
-
var name = this.o38_1.c(nameStartIndex, nameEndIndex);
|
|
342
|
-
var headerIndex = hash % this.q38_1 | 0;
|
|
343
|
-
var sameNameHeaderIndex = -1;
|
|
344
|
-
while (!(this.r38_1.j38(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
345
|
-
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
346
|
-
sameNameHeaderIndex = headerIndex;
|
|
347
|
-
}
|
|
348
|
-
headerIndex = (headerIndex + 1 | 0) % this.q38_1 | 0;
|
|
349
|
-
}
|
|
350
|
-
var headerOffset = imul(headerIndex, 6);
|
|
351
|
-
this.r38_1.m38(headerOffset + 0 | 0, hash);
|
|
352
|
-
this.r38_1.m38(headerOffset + 1 | 0, nameStartIndex);
|
|
353
|
-
this.r38_1.m38(headerOffset + 2 | 0, nameEndIndex);
|
|
354
|
-
this.r38_1.m38(headerOffset + 3 | 0, valueStartIndex);
|
|
355
|
-
this.r38_1.m38(headerOffset + 4 | 0, valueEndIndex);
|
|
356
|
-
this.r38_1.m38(headerOffset + 5 | 0, -1);
|
|
357
|
-
if (!(sameNameHeaderIndex === -1)) {
|
|
358
|
-
this.r38_1.m38(imul(sameNameHeaderIndex, 6) + 5 | 0, headerIndex);
|
|
359
|
-
}
|
|
360
|
-
this.p38_1 = this.p38_1 + 1 | 0;
|
|
361
|
-
};
|
|
362
|
-
protoOf(HttpHeadersMap).c39 = function (headerOffset) {
|
|
363
|
-
var nameStartIndex = this.r38_1.j38(headerOffset + 1 | 0);
|
|
364
|
-
var nameEndIndex = this.r38_1.j38(headerOffset + 2 | 0);
|
|
365
|
-
return this.o38_1.c(nameStartIndex, nameEndIndex);
|
|
366
|
-
};
|
|
367
|
-
protoOf(HttpHeadersMap).t38 = function (headerOffset) {
|
|
368
|
-
var valueStartIndex = this.r38_1.j38(headerOffset + 3 | 0);
|
|
369
|
-
var valueEndIndex = this.r38_1.j38(headerOffset + 4 | 0);
|
|
370
|
-
return this.o38_1.c(valueStartIndex, valueEndIndex);
|
|
371
|
-
};
|
|
372
|
-
protoOf(HttpHeadersMap).g1g = function () {
|
|
373
|
-
this.p38_1 = 0;
|
|
374
|
-
this.q38_1 = 0;
|
|
375
|
-
get_HeadersDataPool().b20(this.r38_1);
|
|
376
|
-
this.r38_1 = get_HeadersDataPool().a20();
|
|
377
|
-
};
|
|
378
|
-
protoOf(HttpHeadersMap).toString = function () {
|
|
379
|
-
// Inline function 'kotlin.text.buildString' call
|
|
380
|
-
// Inline function 'kotlin.apply' call
|
|
381
|
-
var this_0 = StringBuilder_init_$Create$();
|
|
382
|
-
dumpTo(this, '', this_0);
|
|
383
|
-
return this_0.toString();
|
|
389
|
+
this.k34_1.b2();
|
|
384
390
|
};
|
|
385
391
|
function dumpTo(_this__u8e3s4, indent, out) {
|
|
386
392
|
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
387
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
388
|
-
while (_iterator__ex2g4s.
|
|
389
|
-
var offset = _iterator__ex2g4s.
|
|
390
|
-
out.
|
|
391
|
-
out.
|
|
392
|
-
out.
|
|
393
|
-
out.
|
|
394
|
-
out.
|
|
393
|
+
var _iterator__ex2g4s = _this__u8e3s4.r34().r();
|
|
394
|
+
while (_iterator__ex2g4s.s()) {
|
|
395
|
+
var offset = _iterator__ex2g4s.t();
|
|
396
|
+
out.q(indent);
|
|
397
|
+
out.q(_this__u8e3s4.a35(offset));
|
|
398
|
+
out.q(' => ');
|
|
399
|
+
out.q(_this__u8e3s4.q34(offset));
|
|
400
|
+
out.q('\n');
|
|
395
401
|
}
|
|
396
402
|
}
|
|
397
403
|
function IntArrayPool$1() {
|
|
398
404
|
DefaultPool.call(this, 1000);
|
|
399
405
|
}
|
|
400
|
-
protoOf(IntArrayPool$1).
|
|
406
|
+
protoOf(IntArrayPool$1).l1w = function () {
|
|
401
407
|
var tmp = 0;
|
|
402
408
|
var tmp_0 = new Int32Array(768);
|
|
403
409
|
while (tmp < 768) {
|
|
@@ -406,25 +412,25 @@
|
|
|
406
412
|
}
|
|
407
413
|
return tmp_0;
|
|
408
414
|
};
|
|
409
|
-
protoOf(IntArrayPool$1).
|
|
415
|
+
protoOf(IntArrayPool$1).u35 = function (instance) {
|
|
410
416
|
fill(instance, -1);
|
|
411
|
-
return protoOf(DefaultPool).
|
|
417
|
+
return protoOf(DefaultPool).q1w.call(this, instance);
|
|
412
418
|
};
|
|
413
|
-
protoOf(IntArrayPool$1).
|
|
414
|
-
return this.
|
|
419
|
+
protoOf(IntArrayPool$1).q1w = function (instance) {
|
|
420
|
+
return this.u35(isIntArray(instance) ? instance : THROW_CCE());
|
|
415
421
|
};
|
|
416
422
|
function HeadersDataPool$1() {
|
|
417
423
|
DefaultPool.call(this, 1000);
|
|
418
424
|
}
|
|
419
|
-
protoOf(HeadersDataPool$1).
|
|
425
|
+
protoOf(HeadersDataPool$1).l1w = function () {
|
|
420
426
|
return new HeadersData();
|
|
421
427
|
};
|
|
422
|
-
protoOf(HeadersDataPool$1).
|
|
423
|
-
instance.
|
|
424
|
-
return protoOf(DefaultPool).
|
|
428
|
+
protoOf(HeadersDataPool$1).y35 = function (instance) {
|
|
429
|
+
instance.n1h();
|
|
430
|
+
return protoOf(DefaultPool).q1w.call(this, instance);
|
|
425
431
|
};
|
|
426
|
-
protoOf(HeadersDataPool$1).
|
|
427
|
-
return this.
|
|
432
|
+
protoOf(HeadersDataPool$1).q1w = function (instance) {
|
|
433
|
+
return this.y35(instance instanceof HeadersData ? instance : THROW_CCE());
|
|
428
434
|
};
|
|
429
435
|
var properties_initialized_HttpHeadersMap_kt_kotj4w;
|
|
430
436
|
function _init_properties_HttpHeadersMap_kt__hwatby() {
|
|
@@ -448,22 +454,22 @@
|
|
|
448
454
|
function parseHeaders(input, builder, range, $completion) {
|
|
449
455
|
range = range === VOID ? new MutableRange(0, 0) : range;
|
|
450
456
|
var tmp = new $parseHeadersCOROUTINE$(input, builder, range, $completion);
|
|
451
|
-
tmp.
|
|
452
|
-
tmp.
|
|
453
|
-
return tmp.
|
|
457
|
+
tmp.w8_1 = Unit_instance;
|
|
458
|
+
tmp.x8_1 = null;
|
|
459
|
+
return tmp.c9();
|
|
454
460
|
}
|
|
455
461
|
function parseHeaderName(text, range) {
|
|
456
462
|
_init_properties_HttpParser_kt__gbdom1();
|
|
457
|
-
var index = range.
|
|
458
|
-
var end = range.
|
|
463
|
+
var index = range.m36_1;
|
|
464
|
+
var end = range.n36_1;
|
|
459
465
|
while (index < end) {
|
|
460
466
|
var ch = text.b(index);
|
|
461
|
-
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.
|
|
462
|
-
range.
|
|
467
|
+
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.m36_1)) {
|
|
468
|
+
range.m36_1 = index + 1 | 0;
|
|
463
469
|
return index;
|
|
464
470
|
}
|
|
465
471
|
if (isDelimiter(ch)) {
|
|
466
|
-
parseHeaderNameFailed(text, index, range.
|
|
472
|
+
parseHeaderNameFailed(text, index, range.m36_1, ch);
|
|
467
473
|
}
|
|
468
474
|
index = index + 1 | 0;
|
|
469
475
|
}
|
|
@@ -471,12 +477,12 @@
|
|
|
471
477
|
}
|
|
472
478
|
function parseHeaderValue(text, range) {
|
|
473
479
|
_init_properties_HttpParser_kt__gbdom1();
|
|
474
|
-
var start = range.
|
|
475
|
-
var end = range.
|
|
480
|
+
var start = range.m36_1;
|
|
481
|
+
var end = range.n36_1;
|
|
476
482
|
var index = start;
|
|
477
483
|
index = skipSpacesAndHorizontalTabs(text, index, end);
|
|
478
484
|
if (index >= end) {
|
|
479
|
-
range.
|
|
485
|
+
range.m36_1 = end;
|
|
480
486
|
return Unit_instance;
|
|
481
487
|
}
|
|
482
488
|
var valueStart = index;
|
|
@@ -490,8 +496,8 @@
|
|
|
490
496
|
valueLastIndex = index;
|
|
491
497
|
index = index + 1 | 0;
|
|
492
498
|
}
|
|
493
|
-
range.
|
|
494
|
-
range.
|
|
499
|
+
range.m36_1 = valueStart;
|
|
500
|
+
range.n36_1 = valueLastIndex + 1 | 0;
|
|
495
501
|
}
|
|
496
502
|
function validateHostHeader(host) {
|
|
497
503
|
_init_properties_HttpParser_kt__gbdom1();
|
|
@@ -505,7 +511,7 @@
|
|
|
505
511
|
while (inductionVariable < charSequenceLength(host)) {
|
|
506
512
|
var element = charSequenceGet(host, inductionVariable);
|
|
507
513
|
inductionVariable = inductionVariable + 1 | 0;
|
|
508
|
-
if (get_hostForbiddenSymbols().
|
|
514
|
+
if (get_hostForbiddenSymbols().u1(new Char(element))) {
|
|
509
515
|
tmp$ret$1 = true;
|
|
510
516
|
break $l$block;
|
|
511
517
|
}
|
|
@@ -532,9 +538,9 @@
|
|
|
532
538
|
}
|
|
533
539
|
function noColonFound(text, range) {
|
|
534
540
|
_init_properties_HttpParser_kt__gbdom1();
|
|
535
|
-
var tmp2 = range.
|
|
541
|
+
var tmp2 = range.m36_1;
|
|
536
542
|
// Inline function 'kotlin.text.substring' call
|
|
537
|
-
var endIndex = range.
|
|
543
|
+
var endIndex = range.n36_1;
|
|
538
544
|
var tmp$ret$0 = toString(charSequenceSubSequence(text, tmp2, endIndex));
|
|
539
545
|
throw new ParserException('No colon in HTTP header in ' + tmp$ret$0 + ' in builder: \n' + toString(text));
|
|
540
546
|
}
|
|
@@ -550,100 +556,99 @@
|
|
|
550
556
|
}
|
|
551
557
|
function $parseHeadersCOROUTINE$(input, builder, range, resultContinuation) {
|
|
552
558
|
CoroutineImpl.call(this, resultContinuation);
|
|
553
|
-
this.
|
|
554
|
-
this.
|
|
555
|
-
this.
|
|
559
|
+
this.h36_1 = input;
|
|
560
|
+
this.i36_1 = builder;
|
|
561
|
+
this.j36_1 = range;
|
|
556
562
|
}
|
|
557
|
-
protoOf($parseHeadersCOROUTINE$).
|
|
558
|
-
var suspendResult = this.
|
|
563
|
+
protoOf($parseHeadersCOROUTINE$).c9 = function () {
|
|
564
|
+
var suspendResult = this.w8_1;
|
|
559
565
|
$sm: do
|
|
560
566
|
try {
|
|
561
|
-
var tmp = this.
|
|
567
|
+
var tmp = this.u8_1;
|
|
562
568
|
switch (tmp) {
|
|
563
569
|
case 0:
|
|
564
|
-
this.
|
|
565
|
-
this.
|
|
566
|
-
this.
|
|
567
|
-
this.
|
|
570
|
+
this.v8_1 = 7;
|
|
571
|
+
this.k36_1 = new HttpHeadersMap(this.i36_1);
|
|
572
|
+
this.v8_1 = 6;
|
|
573
|
+
this.u8_1 = 1;
|
|
568
574
|
continue $sm;
|
|
569
575
|
case 1:
|
|
570
576
|
if (!true) {
|
|
571
|
-
this.
|
|
577
|
+
this.u8_1 = 5;
|
|
572
578
|
continue $sm;
|
|
573
579
|
}
|
|
574
580
|
|
|
575
|
-
this.
|
|
576
|
-
suspendResult = readUTF8LineTo(this.
|
|
581
|
+
this.u8_1 = 2;
|
|
582
|
+
suspendResult = readUTF8LineTo(this.h36_1, this.i36_1, 8192, get_httpLineEndings(), this);
|
|
577
583
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
578
584
|
return suspendResult;
|
|
579
585
|
}
|
|
580
586
|
|
|
581
587
|
continue $sm;
|
|
582
588
|
case 2:
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
this.w39_1.g1g();
|
|
589
|
+
if (!suspendResult) {
|
|
590
|
+
this.k36_1.n1h();
|
|
586
591
|
return null;
|
|
587
592
|
} else {
|
|
588
|
-
this.
|
|
593
|
+
this.u8_1 = 3;
|
|
589
594
|
continue $sm;
|
|
590
595
|
}
|
|
591
596
|
|
|
592
597
|
case 3:
|
|
593
|
-
this.
|
|
594
|
-
|
|
595
|
-
if (
|
|
596
|
-
this.
|
|
598
|
+
this.j36_1.n36_1 = this.i36_1.y34_1;
|
|
599
|
+
this.l36_1 = this.j36_1.n36_1 - this.j36_1.m36_1 | 0;
|
|
600
|
+
if (this.l36_1 === 0) {
|
|
601
|
+
this.u8_1 = 5;
|
|
597
602
|
continue $sm;
|
|
598
603
|
} else {
|
|
599
|
-
this.
|
|
604
|
+
this.u8_1 = 4;
|
|
600
605
|
continue $sm;
|
|
601
606
|
}
|
|
602
607
|
|
|
603
608
|
case 4:
|
|
604
|
-
if (
|
|
609
|
+
if (this.l36_1 >= 8192) {
|
|
605
610
|
var message = 'Header line length limit exceeded';
|
|
606
611
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
607
612
|
}
|
|
608
613
|
|
|
609
|
-
var nameStart = this.
|
|
610
|
-
var nameEnd = parseHeaderName(this.
|
|
611
|
-
var headerEnd = this.
|
|
612
|
-
parseHeaderValue(this.
|
|
613
|
-
var valueStart = this.
|
|
614
|
-
var valueEnd = this.
|
|
615
|
-
this.
|
|
616
|
-
this.
|
|
617
|
-
this.
|
|
614
|
+
var nameStart = this.j36_1.m36_1;
|
|
615
|
+
var nameEnd = parseHeaderName(this.i36_1, this.j36_1);
|
|
616
|
+
var headerEnd = this.j36_1.n36_1;
|
|
617
|
+
parseHeaderValue(this.i36_1, this.j36_1);
|
|
618
|
+
var valueStart = this.j36_1.m36_1;
|
|
619
|
+
var valueEnd = this.j36_1.n36_1;
|
|
620
|
+
this.j36_1.m36_1 = headerEnd;
|
|
621
|
+
this.k36_1.p34(nameStart, nameEnd, valueStart, valueEnd);
|
|
622
|
+
this.u8_1 = 1;
|
|
618
623
|
continue $sm;
|
|
619
624
|
case 5:
|
|
620
|
-
var host = this.
|
|
625
|
+
var host = this.k36_1.q2k(HttpHeaders_getInstance().o2u_1);
|
|
621
626
|
if (!(host == null)) {
|
|
622
627
|
validateHostHeader(host);
|
|
623
628
|
}
|
|
624
629
|
|
|
625
|
-
return this.
|
|
630
|
+
return this.k36_1;
|
|
626
631
|
case 6:
|
|
627
|
-
this.
|
|
628
|
-
var tmp_0 = this.
|
|
632
|
+
this.v8_1 = 7;
|
|
633
|
+
var tmp_0 = this.x8_1;
|
|
629
634
|
if (tmp_0 instanceof Error) {
|
|
630
|
-
var t = this.
|
|
631
|
-
this.
|
|
635
|
+
var t = this.x8_1;
|
|
636
|
+
this.k36_1.n1h();
|
|
632
637
|
throw t;
|
|
633
638
|
} else {
|
|
634
|
-
throw this.
|
|
639
|
+
throw this.x8_1;
|
|
635
640
|
}
|
|
636
641
|
|
|
637
642
|
case 7:
|
|
638
|
-
throw this.
|
|
643
|
+
throw this.x8_1;
|
|
639
644
|
}
|
|
640
645
|
} catch ($p) {
|
|
641
646
|
var e = $p;
|
|
642
|
-
if (this.
|
|
647
|
+
if (this.v8_1 === 7) {
|
|
643
648
|
throw e;
|
|
644
649
|
} else {
|
|
645
|
-
this.
|
|
646
|
-
this.
|
|
650
|
+
this.u8_1 = this.v8_1;
|
|
651
|
+
this.x8_1 = e;
|
|
647
652
|
}
|
|
648
653
|
}
|
|
649
654
|
while (true);
|
|
@@ -653,8 +658,8 @@
|
|
|
653
658
|
if (!properties_initialized_HttpParser_kt_uedryv) {
|
|
654
659
|
properties_initialized_HttpParser_kt_uedryv = true;
|
|
655
660
|
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))]);
|
|
656
|
-
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance().
|
|
657
|
-
versions = Companion_instance.
|
|
661
|
+
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance().q1r_1, Companion_getInstance().p1r_1);
|
|
662
|
+
versions = Companion_instance.o36(listOf(['HTTP/1.0', 'HTTP/1.1']));
|
|
658
663
|
}
|
|
659
664
|
}
|
|
660
665
|
function get_CrLf() {
|
|
@@ -669,23 +674,23 @@
|
|
|
669
674
|
var PrefixString;
|
|
670
675
|
function Preamble(body) {
|
|
671
676
|
MultipartEvent.call(this);
|
|
672
|
-
this.
|
|
677
|
+
this.p36_1 = body;
|
|
673
678
|
}
|
|
674
679
|
function MultipartPart(headers, body) {
|
|
675
680
|
MultipartEvent.call(this);
|
|
676
|
-
this.
|
|
677
|
-
this.
|
|
681
|
+
this.q36_1 = headers;
|
|
682
|
+
this.r36_1 = body;
|
|
678
683
|
}
|
|
679
684
|
function Epilogue(body) {
|
|
680
685
|
MultipartEvent.call(this);
|
|
681
|
-
this.
|
|
686
|
+
this.s36_1 = body;
|
|
682
687
|
}
|
|
683
688
|
function MultipartEvent() {
|
|
684
689
|
}
|
|
685
690
|
function parseMultipart(_this__u8e3s4, input, contentType, contentLength, maxPartSize) {
|
|
686
691
|
maxPartSize = maxPartSize === VOID ? new Long(-1, 2147483647) : maxPartSize;
|
|
687
692
|
_init_properties_Multipart_kt__ato98a();
|
|
688
|
-
if (!MultiPart_getInstance().
|
|
693
|
+
if (!MultiPart_getInstance().e2s(contentType)) {
|
|
689
694
|
throw new UnsupportedMediaTypeExceptionCIO('Failed to parse multipart: Content-Type should be multipart/* but it is ' + toString(contentType));
|
|
690
695
|
}
|
|
691
696
|
var boundaryByteBuffer = parseBoundaryInternal(contentType);
|
|
@@ -833,21 +838,21 @@
|
|
|
833
838
|
}
|
|
834
839
|
function parsePartHeadersImpl(input, $completion) {
|
|
835
840
|
var tmp = new $parsePartHeadersImplCOROUTINE$(input, $completion);
|
|
836
|
-
tmp.
|
|
837
|
-
tmp.
|
|
838
|
-
return tmp.
|
|
841
|
+
tmp.w8_1 = Unit_instance;
|
|
842
|
+
tmp.x8_1 = null;
|
|
843
|
+
return tmp.c9();
|
|
839
844
|
}
|
|
840
845
|
function parsePartBodyImpl(boundaryPrefixed, input, output, headers, limit, $completion) {
|
|
841
846
|
var tmp = new $parsePartBodyImplCOROUTINE$(boundaryPrefixed, input, output, headers, limit, $completion);
|
|
842
|
-
tmp.
|
|
843
|
-
tmp.
|
|
844
|
-
return tmp.
|
|
847
|
+
tmp.w8_1 = Unit_instance;
|
|
848
|
+
tmp.x8_1 = null;
|
|
849
|
+
return tmp.c9();
|
|
845
850
|
}
|
|
846
851
|
function skipIfFoundReadCount(_this__u8e3s4, prefix, $completion) {
|
|
847
852
|
var tmp = new $skipIfFoundReadCountCOROUTINE$(_this__u8e3s4, prefix, $completion);
|
|
848
|
-
tmp.
|
|
849
|
-
tmp.
|
|
850
|
-
return tmp.
|
|
853
|
+
tmp.w8_1 = Unit_instance;
|
|
854
|
+
tmp.x8_1 = null;
|
|
855
|
+
return tmp.c9();
|
|
851
856
|
}
|
|
852
857
|
function throwLimitExceeded(actual, limit) {
|
|
853
858
|
_init_properties_Multipart_kt__ato98a();
|
|
@@ -862,37 +867,37 @@
|
|
|
862
867
|
boundaryBytes[_unary__edvuaz] = value;
|
|
863
868
|
}
|
|
864
869
|
function parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation) {
|
|
865
|
-
this.
|
|
866
|
-
this.
|
|
870
|
+
this.m38_1 = $firstBoundary;
|
|
871
|
+
this.n38_1 = $countedInput;
|
|
867
872
|
CoroutineImpl.call(this, resultContinuation);
|
|
868
873
|
}
|
|
869
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
870
|
-
var tmp = this.
|
|
871
|
-
tmp.
|
|
872
|
-
tmp.
|
|
873
|
-
return tmp.
|
|
874
|
+
protoOf(parseMultipart$slambda$slambda).p38 = function ($this$writer, $completion) {
|
|
875
|
+
var tmp = this.q38($this$writer, $completion);
|
|
876
|
+
tmp.w8_1 = Unit_instance;
|
|
877
|
+
tmp.x8_1 = null;
|
|
878
|
+
return tmp.c9();
|
|
874
879
|
};
|
|
875
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
876
|
-
return this.
|
|
880
|
+
protoOf(parseMultipart$slambda$slambda).o9 = function (p1, $completion) {
|
|
881
|
+
return this.p38(p1 instanceof WriterScope ? p1 : THROW_CCE(), $completion);
|
|
877
882
|
};
|
|
878
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
879
|
-
var suspendResult = this.
|
|
883
|
+
protoOf(parseMultipart$slambda$slambda).c9 = function () {
|
|
884
|
+
var suspendResult = this.w8_1;
|
|
880
885
|
$sm: do
|
|
881
886
|
try {
|
|
882
|
-
var tmp = this.
|
|
887
|
+
var tmp = this.u8_1;
|
|
883
888
|
switch (tmp) {
|
|
884
889
|
case 0:
|
|
885
|
-
this.
|
|
886
|
-
this.
|
|
887
|
-
suspendResult = parsePreambleImpl(this.
|
|
890
|
+
this.v8_1 = 3;
|
|
891
|
+
this.u8_1 = 1;
|
|
892
|
+
suspendResult = parsePreambleImpl(this.m38_1, this.n38_1, this.o38_1.c1u_1, new Long(8193, 0), this);
|
|
888
893
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
889
894
|
return suspendResult;
|
|
890
895
|
}
|
|
891
896
|
|
|
892
897
|
continue $sm;
|
|
893
898
|
case 1:
|
|
894
|
-
this.
|
|
895
|
-
suspendResult = this.
|
|
899
|
+
this.u8_1 = 2;
|
|
900
|
+
suspendResult = this.o38_1.c1u_1.j1m(this);
|
|
896
901
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
897
902
|
return suspendResult;
|
|
898
903
|
}
|
|
@@ -901,121 +906,120 @@
|
|
|
901
906
|
case 2:
|
|
902
907
|
return Unit_instance;
|
|
903
908
|
case 3:
|
|
904
|
-
throw this.
|
|
909
|
+
throw this.x8_1;
|
|
905
910
|
}
|
|
906
911
|
} catch ($p) {
|
|
907
912
|
var e = $p;
|
|
908
|
-
if (this.
|
|
913
|
+
if (this.v8_1 === 3) {
|
|
909
914
|
throw e;
|
|
910
915
|
} else {
|
|
911
|
-
this.
|
|
912
|
-
this.
|
|
916
|
+
this.u8_1 = this.v8_1;
|
|
917
|
+
this.x8_1 = e;
|
|
913
918
|
}
|
|
914
919
|
}
|
|
915
920
|
while (true);
|
|
916
921
|
};
|
|
917
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
918
|
-
var i = new parseMultipart$slambda$slambda(this.
|
|
919
|
-
i.
|
|
922
|
+
protoOf(parseMultipart$slambda$slambda).q38 = function ($this$writer, completion) {
|
|
923
|
+
var i = new parseMultipart$slambda$slambda(this.m38_1, this.n38_1, completion);
|
|
924
|
+
i.o38_1 = $this$writer;
|
|
920
925
|
return i;
|
|
921
926
|
};
|
|
922
927
|
function parseMultipart$slambda$slambda_0($firstBoundary, $countedInput, resultContinuation) {
|
|
923
928
|
var i = new parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation);
|
|
924
929
|
var l = function ($this$writer, $completion) {
|
|
925
|
-
return i.
|
|
930
|
+
return i.p38($this$writer, $completion);
|
|
926
931
|
};
|
|
927
932
|
l.$arity = 1;
|
|
928
933
|
return l;
|
|
929
934
|
}
|
|
930
935
|
function parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
931
|
-
this.
|
|
932
|
-
this.
|
|
933
|
-
this.
|
|
934
|
-
this.
|
|
936
|
+
this.z38_1 = $input;
|
|
937
|
+
this.a39_1 = $boundaryPrefixed;
|
|
938
|
+
this.b39_1 = $maxPartSize;
|
|
939
|
+
this.c39_1 = $totalLength;
|
|
935
940
|
CoroutineImpl.call(this, resultContinuation);
|
|
936
941
|
}
|
|
937
|
-
protoOf(parseMultipart$slambda).
|
|
938
|
-
var tmp = this.
|
|
939
|
-
tmp.
|
|
940
|
-
tmp.
|
|
941
|
-
return tmp.
|
|
942
|
+
protoOf(parseMultipart$slambda).l39 = function ($this$produce, $completion) {
|
|
943
|
+
var tmp = this.m39($this$produce, $completion);
|
|
944
|
+
tmp.w8_1 = Unit_instance;
|
|
945
|
+
tmp.x8_1 = null;
|
|
946
|
+
return tmp.c9();
|
|
942
947
|
};
|
|
943
|
-
protoOf(parseMultipart$slambda).
|
|
944
|
-
return this.
|
|
948
|
+
protoOf(parseMultipart$slambda).o9 = function (p1, $completion) {
|
|
949
|
+
return this.l39((!(p1 == null) ? isInterface(p1, ProducerScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
945
950
|
};
|
|
946
|
-
protoOf(parseMultipart$slambda).
|
|
947
|
-
var suspendResult = this.
|
|
951
|
+
protoOf(parseMultipart$slambda).c9 = function () {
|
|
952
|
+
var suspendResult = this.w8_1;
|
|
948
953
|
$sm: do
|
|
949
954
|
try {
|
|
950
|
-
var tmp = this.
|
|
955
|
+
var tmp = this.u8_1;
|
|
951
956
|
switch (tmp) {
|
|
952
957
|
case 0:
|
|
953
|
-
this.
|
|
954
|
-
this.
|
|
955
|
-
this.
|
|
956
|
-
this.
|
|
957
|
-
this.
|
|
958
|
-
suspendResult = readRemaining(writer(this.
|
|
958
|
+
this.v8_1 = 25;
|
|
959
|
+
this.e39_1 = counted(this.z38_1);
|
|
960
|
+
this.f39_1 = this.e39_1.z1v();
|
|
961
|
+
this.j39_1 = this.a39_1.dp(get_PrefixString().u());
|
|
962
|
+
this.u8_1 = 1;
|
|
963
|
+
suspendResult = readRemaining(writer(this.d39_1, VOID, VOID, parseMultipart$slambda$slambda_0(this.j39_1, this.e39_1, null)).a1u_1, this);
|
|
959
964
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
960
965
|
return suspendResult;
|
|
961
966
|
}
|
|
962
967
|
|
|
963
968
|
continue $sm;
|
|
964
969
|
case 1:
|
|
965
|
-
|
|
966
|
-
if (get_remaining(
|
|
967
|
-
this.
|
|
968
|
-
suspendResult = this.
|
|
970
|
+
var preambleData = suspendResult;
|
|
971
|
+
if (compare(get_remaining(preambleData), new Long(0, 0)) > 0) {
|
|
972
|
+
this.u8_1 = 2;
|
|
973
|
+
suspendResult = this.d39_1.b1a(new Preamble(preambleData), this);
|
|
969
974
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
970
975
|
return suspendResult;
|
|
971
976
|
}
|
|
972
977
|
continue $sm;
|
|
973
978
|
} else {
|
|
974
|
-
this.
|
|
979
|
+
this.u8_1 = 3;
|
|
975
980
|
continue $sm;
|
|
976
981
|
}
|
|
977
982
|
|
|
978
983
|
case 2:
|
|
979
|
-
this.
|
|
984
|
+
this.u8_1 = 3;
|
|
980
985
|
continue $sm;
|
|
981
986
|
case 3:
|
|
982
|
-
this.
|
|
987
|
+
this.u8_1 = 4;
|
|
983
988
|
continue $sm;
|
|
984
989
|
case 4:
|
|
985
|
-
if (!this.
|
|
986
|
-
this.
|
|
987
|
-
suspendResult = skipIfFound(this.
|
|
990
|
+
if (!this.e39_1.g1m()) {
|
|
991
|
+
this.u8_1 = 5;
|
|
992
|
+
suspendResult = skipIfFound(this.e39_1, get_PrefixString(), this);
|
|
988
993
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
989
994
|
return suspendResult;
|
|
990
995
|
}
|
|
991
996
|
continue $sm;
|
|
992
997
|
} else {
|
|
993
|
-
this.
|
|
994
|
-
this.
|
|
998
|
+
this.k39_1 = false;
|
|
999
|
+
this.u8_1 = 6;
|
|
995
1000
|
continue $sm;
|
|
996
1001
|
}
|
|
997
1002
|
|
|
998
1003
|
case 5:
|
|
999
|
-
this.
|
|
1000
|
-
this.
|
|
1001
|
-
this.n9_1 = 6;
|
|
1004
|
+
this.k39_1 = !suspendResult;
|
|
1005
|
+
this.u8_1 = 6;
|
|
1002
1006
|
continue $sm;
|
|
1003
1007
|
case 6:
|
|
1004
|
-
if (!this.
|
|
1005
|
-
this.
|
|
1008
|
+
if (!this.k39_1) {
|
|
1009
|
+
this.u8_1 = 15;
|
|
1006
1010
|
continue $sm;
|
|
1007
1011
|
}
|
|
1008
1012
|
|
|
1009
|
-
this.
|
|
1010
|
-
suspendResult = skipIfFound(this.
|
|
1013
|
+
this.u8_1 = 7;
|
|
1014
|
+
suspendResult = skipIfFound(this.e39_1, get_CrLf(), this);
|
|
1011
1015
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1012
1016
|
return suspendResult;
|
|
1013
1017
|
}
|
|
1014
1018
|
|
|
1015
1019
|
continue $sm;
|
|
1016
1020
|
case 7:
|
|
1017
|
-
this.
|
|
1018
|
-
suspendResult = skipIfFound(this.
|
|
1021
|
+
this.u8_1 = 8;
|
|
1022
|
+
suspendResult = skipIfFound(this.e39_1, this.j39_1, this);
|
|
1019
1023
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1020
1024
|
return suspendResult;
|
|
1021
1025
|
}
|
|
@@ -1023,112 +1027,112 @@
|
|
|
1023
1027
|
continue $sm;
|
|
1024
1028
|
case 8:
|
|
1025
1029
|
if (suspendResult) {
|
|
1026
|
-
this.
|
|
1030
|
+
this.u8_1 = 4;
|
|
1027
1031
|
continue $sm;
|
|
1028
1032
|
} else {
|
|
1029
|
-
this.
|
|
1033
|
+
this.u8_1 = 9;
|
|
1030
1034
|
continue $sm;
|
|
1031
1035
|
}
|
|
1032
1036
|
|
|
1033
1037
|
case 9:
|
|
1034
|
-
this.
|
|
1035
|
-
this.
|
|
1036
|
-
|
|
1037
|
-
this.
|
|
1038
|
-
suspendResult = this.
|
|
1038
|
+
this.g39_1 = new ByteChannel();
|
|
1039
|
+
this.i39_1 = CompletableDeferred();
|
|
1040
|
+
var part = new MultipartPart(this.i39_1, this.g39_1);
|
|
1041
|
+
this.u8_1 = 10;
|
|
1042
|
+
suspendResult = this.d39_1.b1a(part, this);
|
|
1039
1043
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1040
1044
|
return suspendResult;
|
|
1041
1045
|
}
|
|
1042
1046
|
|
|
1043
1047
|
continue $sm;
|
|
1044
1048
|
case 10:
|
|
1045
|
-
this.
|
|
1046
|
-
this.
|
|
1047
|
-
this.
|
|
1048
|
-
suspendResult = parsePartHeadersImpl(this.
|
|
1049
|
+
this.h39_1 = null;
|
|
1050
|
+
this.v8_1 = 14;
|
|
1051
|
+
this.u8_1 = 11;
|
|
1052
|
+
suspendResult = parsePartHeadersImpl(this.e39_1, this);
|
|
1049
1053
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1050
1054
|
return suspendResult;
|
|
1051
1055
|
}
|
|
1052
1056
|
|
|
1053
1057
|
continue $sm;
|
|
1054
1058
|
case 11:
|
|
1055
|
-
this.
|
|
1056
|
-
if (!this.
|
|
1057
|
-
this.
|
|
1059
|
+
this.h39_1 = suspendResult;
|
|
1060
|
+
if (!this.i39_1.e11(this.h39_1)) {
|
|
1061
|
+
this.h39_1.n1h();
|
|
1058
1062
|
throw CancellationException_init_$Create$('Multipart processing has been cancelled');
|
|
1059
1063
|
}
|
|
1060
1064
|
|
|
1061
|
-
this.
|
|
1062
|
-
suspendResult = parsePartBodyImpl(this.
|
|
1065
|
+
this.u8_1 = 12;
|
|
1066
|
+
suspendResult = parsePartBodyImpl(this.a39_1, this.e39_1, this.g39_1, this.h39_1, this.b39_1, this);
|
|
1063
1067
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1064
1068
|
return suspendResult;
|
|
1065
1069
|
}
|
|
1066
1070
|
|
|
1067
1071
|
continue $sm;
|
|
1068
1072
|
case 12:
|
|
1069
|
-
this.
|
|
1070
|
-
this.
|
|
1071
|
-
this.
|
|
1073
|
+
this.g39_1.b4();
|
|
1074
|
+
this.v8_1 = 25;
|
|
1075
|
+
this.u8_1 = 13;
|
|
1072
1076
|
continue $sm;
|
|
1073
1077
|
case 13:
|
|
1074
|
-
this.
|
|
1075
|
-
this.
|
|
1078
|
+
this.v8_1 = 25;
|
|
1079
|
+
this.u8_1 = 4;
|
|
1076
1080
|
continue $sm;
|
|
1077
1081
|
case 14:
|
|
1078
|
-
this.
|
|
1079
|
-
var tmp_0 = this.
|
|
1082
|
+
this.v8_1 = 25;
|
|
1083
|
+
var tmp_0 = this.x8_1;
|
|
1080
1084
|
if (tmp_0 instanceof Error) {
|
|
1081
|
-
|
|
1082
|
-
if (this.
|
|
1083
|
-
var tmp0_safe_receiver = this.
|
|
1085
|
+
var cause = this.x8_1;
|
|
1086
|
+
if (this.i39_1.f11(cause)) {
|
|
1087
|
+
var tmp0_safe_receiver = this.h39_1;
|
|
1084
1088
|
if (tmp0_safe_receiver == null)
|
|
1085
1089
|
null;
|
|
1086
1090
|
else {
|
|
1087
|
-
tmp0_safe_receiver.
|
|
1091
|
+
tmp0_safe_receiver.n1h();
|
|
1088
1092
|
}
|
|
1089
1093
|
}
|
|
1090
|
-
close(this.
|
|
1091
|
-
throw
|
|
1094
|
+
close(this.g39_1, cause);
|
|
1095
|
+
throw cause;
|
|
1092
1096
|
} else {
|
|
1093
|
-
throw this.
|
|
1097
|
+
throw this.x8_1;
|
|
1094
1098
|
}
|
|
1095
1099
|
|
|
1096
1100
|
case 15:
|
|
1097
|
-
this.
|
|
1098
|
-
suspendResult = skipIfFound(this.
|
|
1101
|
+
this.u8_1 = 16;
|
|
1102
|
+
suspendResult = skipIfFound(this.e39_1, get_CrLf(), this);
|
|
1099
1103
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1100
1104
|
return suspendResult;
|
|
1101
1105
|
}
|
|
1102
1106
|
|
|
1103
1107
|
continue $sm;
|
|
1104
1108
|
case 16:
|
|
1105
|
-
this.
|
|
1106
|
-
suspendResult = skipIfFound(this.
|
|
1109
|
+
this.u8_1 = 17;
|
|
1110
|
+
suspendResult = skipIfFound(this.e39_1, get_CrLf(), this);
|
|
1107
1111
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1108
1112
|
return suspendResult;
|
|
1109
1113
|
}
|
|
1110
1114
|
|
|
1111
1115
|
continue $sm;
|
|
1112
1116
|
case 17:
|
|
1113
|
-
if (!(this.
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
if (
|
|
1117
|
+
if (!(this.c39_1 == null)) {
|
|
1118
|
+
var consumedExceptEpilogue = subtract(this.e39_1.z1v(), this.f39_1);
|
|
1119
|
+
var size = subtract(this.c39_1, consumedExceptEpilogue);
|
|
1120
|
+
if (compare(size, new Long(2147483647, 0)) > 0)
|
|
1117
1121
|
throw IOException_init_$Create$('Failed to parse multipart: prologue is too long');
|
|
1118
|
-
if (
|
|
1119
|
-
this.
|
|
1120
|
-
suspendResult = readPacket(this.
|
|
1122
|
+
if (compare(size, new Long(0, 0)) > 0) {
|
|
1123
|
+
this.u8_1 = 21;
|
|
1124
|
+
suspendResult = readPacket(this.e39_1, convertToInt(size), this);
|
|
1121
1125
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1122
1126
|
return suspendResult;
|
|
1123
1127
|
}
|
|
1124
1128
|
continue $sm;
|
|
1125
1129
|
} else {
|
|
1126
|
-
this.
|
|
1130
|
+
this.u8_1 = 23;
|
|
1127
1131
|
continue $sm;
|
|
1128
1132
|
}
|
|
1129
1133
|
} else {
|
|
1130
|
-
this.
|
|
1131
|
-
suspendResult = readRemaining(this.
|
|
1134
|
+
this.u8_1 = 18;
|
|
1135
|
+
suspendResult = readRemaining(this.e39_1, this);
|
|
1132
1136
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1133
1137
|
return suspendResult;
|
|
1134
1138
|
}
|
|
@@ -1136,86 +1140,86 @@
|
|
|
1136
1140
|
}
|
|
1137
1141
|
|
|
1138
1142
|
case 18:
|
|
1139
|
-
|
|
1140
|
-
if (!
|
|
1141
|
-
this.
|
|
1142
|
-
suspendResult = this.
|
|
1143
|
+
var epilogueContent = suspendResult;
|
|
1144
|
+
if (!epilogueContent.lp()) {
|
|
1145
|
+
this.u8_1 = 19;
|
|
1146
|
+
suspendResult = this.d39_1.b1a(new Epilogue(epilogueContent), this);
|
|
1143
1147
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1144
1148
|
return suspendResult;
|
|
1145
1149
|
}
|
|
1146
1150
|
continue $sm;
|
|
1147
1151
|
} else {
|
|
1148
|
-
this.
|
|
1152
|
+
this.u8_1 = 20;
|
|
1149
1153
|
continue $sm;
|
|
1150
1154
|
}
|
|
1151
1155
|
|
|
1152
1156
|
case 19:
|
|
1153
|
-
this.
|
|
1157
|
+
this.u8_1 = 20;
|
|
1154
1158
|
continue $sm;
|
|
1155
1159
|
case 20:
|
|
1156
|
-
this.
|
|
1160
|
+
this.u8_1 = 24;
|
|
1157
1161
|
continue $sm;
|
|
1158
1162
|
case 21:
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
this.
|
|
1162
|
-
suspendResult = this.
|
|
1163
|
+
var ARGUMENT = suspendResult;
|
|
1164
|
+
var ARGUMENT_0 = new Epilogue(ARGUMENT);
|
|
1165
|
+
this.u8_1 = 22;
|
|
1166
|
+
suspendResult = this.d39_1.b1a(ARGUMENT_0, this);
|
|
1163
1167
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1164
1168
|
return suspendResult;
|
|
1165
1169
|
}
|
|
1166
1170
|
|
|
1167
1171
|
continue $sm;
|
|
1168
1172
|
case 22:
|
|
1169
|
-
this.
|
|
1173
|
+
this.u8_1 = 23;
|
|
1170
1174
|
continue $sm;
|
|
1171
1175
|
case 23:
|
|
1172
|
-
this.
|
|
1176
|
+
this.u8_1 = 24;
|
|
1173
1177
|
continue $sm;
|
|
1174
1178
|
case 24:
|
|
1175
1179
|
return Unit_instance;
|
|
1176
1180
|
case 25:
|
|
1177
|
-
throw this.
|
|
1181
|
+
throw this.x8_1;
|
|
1178
1182
|
}
|
|
1179
1183
|
} catch ($p) {
|
|
1180
1184
|
var e = $p;
|
|
1181
|
-
if (this.
|
|
1185
|
+
if (this.v8_1 === 25) {
|
|
1182
1186
|
throw e;
|
|
1183
1187
|
} else {
|
|
1184
|
-
this.
|
|
1185
|
-
this.
|
|
1188
|
+
this.u8_1 = this.v8_1;
|
|
1189
|
+
this.x8_1 = e;
|
|
1186
1190
|
}
|
|
1187
1191
|
}
|
|
1188
1192
|
while (true);
|
|
1189
1193
|
};
|
|
1190
|
-
protoOf(parseMultipart$slambda).
|
|
1191
|
-
var i = new parseMultipart$slambda(this.
|
|
1192
|
-
i.
|
|
1194
|
+
protoOf(parseMultipart$slambda).m39 = function ($this$produce, completion) {
|
|
1195
|
+
var i = new parseMultipart$slambda(this.z38_1, this.a39_1, this.b39_1, this.c39_1, completion);
|
|
1196
|
+
i.d39_1 = $this$produce;
|
|
1193
1197
|
return i;
|
|
1194
1198
|
};
|
|
1195
1199
|
function parseMultipart$slambda_0($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
1196
1200
|
var i = new parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation);
|
|
1197
1201
|
var l = function ($this$produce, $completion) {
|
|
1198
|
-
return i.
|
|
1202
|
+
return i.l39($this$produce, $completion);
|
|
1199
1203
|
};
|
|
1200
1204
|
l.$arity = 1;
|
|
1201
1205
|
return l;
|
|
1202
1206
|
}
|
|
1203
1207
|
function $parsePartHeadersImplCOROUTINE$(input, resultContinuation) {
|
|
1204
1208
|
CoroutineImpl.call(this, resultContinuation);
|
|
1205
|
-
this.
|
|
1209
|
+
this.b37_1 = input;
|
|
1206
1210
|
}
|
|
1207
|
-
protoOf($parsePartHeadersImplCOROUTINE$).
|
|
1208
|
-
var suspendResult = this.
|
|
1211
|
+
protoOf($parsePartHeadersImplCOROUTINE$).c9 = function () {
|
|
1212
|
+
var suspendResult = this.w8_1;
|
|
1209
1213
|
$sm: do
|
|
1210
1214
|
try {
|
|
1211
|
-
var tmp = this.
|
|
1215
|
+
var tmp = this.u8_1;
|
|
1212
1216
|
switch (tmp) {
|
|
1213
1217
|
case 0:
|
|
1214
|
-
this.
|
|
1215
|
-
this.
|
|
1216
|
-
this.
|
|
1217
|
-
this.
|
|
1218
|
-
suspendResult = parseHeaders(this.
|
|
1218
|
+
this.v8_1 = 3;
|
|
1219
|
+
this.c37_1 = new CharArrayBuilder();
|
|
1220
|
+
this.v8_1 = 2;
|
|
1221
|
+
this.u8_1 = 1;
|
|
1222
|
+
suspendResult = parseHeaders(this.b37_1, this.c37_1, VOID, this);
|
|
1219
1223
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1220
1224
|
return suspendResult;
|
|
1221
1225
|
}
|
|
@@ -1232,129 +1236,128 @@
|
|
|
1232
1236
|
|
|
1233
1237
|
return tmp_0;
|
|
1234
1238
|
case 2:
|
|
1235
|
-
this.
|
|
1236
|
-
var tmp_1 = this.
|
|
1239
|
+
this.v8_1 = 3;
|
|
1240
|
+
var tmp_1 = this.x8_1;
|
|
1237
1241
|
if (tmp_1 instanceof Error) {
|
|
1238
|
-
var t = this.
|
|
1239
|
-
this.
|
|
1242
|
+
var t = this.x8_1;
|
|
1243
|
+
this.c37_1.n1h();
|
|
1240
1244
|
throw t;
|
|
1241
1245
|
} else {
|
|
1242
|
-
throw this.
|
|
1246
|
+
throw this.x8_1;
|
|
1243
1247
|
}
|
|
1244
1248
|
|
|
1245
1249
|
case 3:
|
|
1246
|
-
throw this.
|
|
1250
|
+
throw this.x8_1;
|
|
1247
1251
|
}
|
|
1248
1252
|
} catch ($p) {
|
|
1249
1253
|
var e = $p;
|
|
1250
|
-
if (this.
|
|
1254
|
+
if (this.v8_1 === 3) {
|
|
1251
1255
|
throw e;
|
|
1252
1256
|
} else {
|
|
1253
|
-
this.
|
|
1254
|
-
this.
|
|
1257
|
+
this.u8_1 = this.v8_1;
|
|
1258
|
+
this.x8_1 = e;
|
|
1255
1259
|
}
|
|
1256
1260
|
}
|
|
1257
1261
|
while (true);
|
|
1258
1262
|
};
|
|
1259
1263
|
function $parsePartBodyImplCOROUTINE$(boundaryPrefixed, input, output, headers, limit, resultContinuation) {
|
|
1260
1264
|
CoroutineImpl.call(this, resultContinuation);
|
|
1261
|
-
this.
|
|
1262
|
-
this.
|
|
1263
|
-
this.
|
|
1264
|
-
this.
|
|
1265
|
-
this.
|
|
1266
|
-
}
|
|
1267
|
-
protoOf($parsePartBodyImplCOROUTINE$).
|
|
1268
|
-
var suspendResult = this.
|
|
1265
|
+
this.l37_1 = boundaryPrefixed;
|
|
1266
|
+
this.m37_1 = input;
|
|
1267
|
+
this.n37_1 = output;
|
|
1268
|
+
this.o37_1 = headers;
|
|
1269
|
+
this.p37_1 = limit;
|
|
1270
|
+
}
|
|
1271
|
+
protoOf($parsePartBodyImplCOROUTINE$).c9 = function () {
|
|
1272
|
+
var suspendResult = this.w8_1;
|
|
1269
1273
|
$sm: do
|
|
1270
1274
|
try {
|
|
1271
|
-
var tmp = this.
|
|
1275
|
+
var tmp = this.u8_1;
|
|
1272
1276
|
switch (tmp) {
|
|
1273
1277
|
case 0:
|
|
1274
|
-
this.
|
|
1275
|
-
var
|
|
1276
|
-
var
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
this.
|
|
1280
|
-
suspendResult = readUntil(this.x3a_1, this.w3a_1, this.y3a_1, this.a3b_1, true, this);
|
|
1278
|
+
this.v8_1 = 6;
|
|
1279
|
+
var tmp0_safe_receiver = this.o37_1.q2k('Content-Length');
|
|
1280
|
+
var contentLength = tmp0_safe_receiver == null ? null : parseDecLong(tmp0_safe_receiver);
|
|
1281
|
+
if (contentLength == null) {
|
|
1282
|
+
this.u8_1 = 3;
|
|
1283
|
+
suspendResult = readUntil(this.m37_1, this.l37_1, this.n37_1, this.p37_1, true, this);
|
|
1281
1284
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1282
1285
|
return suspendResult;
|
|
1283
1286
|
}
|
|
1284
1287
|
continue $sm;
|
|
1285
1288
|
} else {
|
|
1286
|
-
if ((new Long(0, 0)
|
|
1287
|
-
this.
|
|
1288
|
-
suspendResult = copyTo(this.
|
|
1289
|
+
if (longRangeToLong(new Long(0, 0), this.p37_1).xh(contentLength)) {
|
|
1290
|
+
this.u8_1 = 1;
|
|
1291
|
+
suspendResult = copyTo(this.m37_1, this.n37_1, contentLength, this);
|
|
1289
1292
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1290
1293
|
return suspendResult;
|
|
1291
1294
|
}
|
|
1292
1295
|
continue $sm;
|
|
1293
1296
|
} else {
|
|
1294
|
-
var
|
|
1295
|
-
throwLimitExceeded(
|
|
1297
|
+
var tmp_0 = this;
|
|
1298
|
+
throwLimitExceeded(contentLength, this.p37_1);
|
|
1296
1299
|
}
|
|
1297
1300
|
}
|
|
1298
1301
|
|
|
1299
1302
|
break;
|
|
1300
1303
|
case 1:
|
|
1301
|
-
this.
|
|
1302
|
-
this.
|
|
1303
|
-
suspendResult = skipIfFoundReadCount(this.
|
|
1304
|
+
this.s37_1 = suspendResult;
|
|
1305
|
+
this.u8_1 = 2;
|
|
1306
|
+
suspendResult = skipIfFoundReadCount(this.m37_1, this.l37_1, this);
|
|
1304
1307
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1305
1308
|
return suspendResult;
|
|
1306
1309
|
}
|
|
1307
1310
|
|
|
1308
1311
|
continue $sm;
|
|
1309
1312
|
case 2:
|
|
1310
|
-
|
|
1311
|
-
this.
|
|
1312
|
-
this.
|
|
1313
|
+
var ARGUMENT = suspendResult;
|
|
1314
|
+
this.r37_1 = add(this.s37_1, ARGUMENT);
|
|
1315
|
+
this.u8_1 = 4;
|
|
1313
1316
|
continue $sm;
|
|
1314
1317
|
case 3:
|
|
1315
|
-
this.
|
|
1316
|
-
this.
|
|
1318
|
+
this.r37_1 = suspendResult;
|
|
1319
|
+
this.u8_1 = 4;
|
|
1317
1320
|
continue $sm;
|
|
1318
1321
|
case 4:
|
|
1319
|
-
this.
|
|
1320
|
-
this.
|
|
1321
|
-
suspendResult = this.
|
|
1322
|
+
this.q37_1 = this.r37_1;
|
|
1323
|
+
this.u8_1 = 5;
|
|
1324
|
+
suspendResult = this.n37_1.y1l(this);
|
|
1322
1325
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1323
1326
|
return suspendResult;
|
|
1324
1327
|
}
|
|
1325
1328
|
|
|
1326
1329
|
continue $sm;
|
|
1327
1330
|
case 5:
|
|
1328
|
-
return this.
|
|
1331
|
+
return this.q37_1;
|
|
1329
1332
|
case 6:
|
|
1330
|
-
throw this.
|
|
1333
|
+
throw this.x8_1;
|
|
1331
1334
|
}
|
|
1332
1335
|
} catch ($p) {
|
|
1333
1336
|
var e = $p;
|
|
1334
|
-
if (this.
|
|
1337
|
+
if (this.v8_1 === 6) {
|
|
1335
1338
|
throw e;
|
|
1336
1339
|
} else {
|
|
1337
|
-
this.
|
|
1338
|
-
this.
|
|
1340
|
+
this.u8_1 = this.v8_1;
|
|
1341
|
+
this.x8_1 = e;
|
|
1339
1342
|
}
|
|
1340
1343
|
}
|
|
1341
1344
|
while (true);
|
|
1342
1345
|
};
|
|
1343
1346
|
function $skipIfFoundReadCountCOROUTINE$(_this__u8e3s4, prefix, resultContinuation) {
|
|
1344
1347
|
CoroutineImpl.call(this, resultContinuation);
|
|
1345
|
-
this.
|
|
1346
|
-
this.
|
|
1348
|
+
this.b38_1 = _this__u8e3s4;
|
|
1349
|
+
this.c38_1 = prefix;
|
|
1347
1350
|
}
|
|
1348
|
-
protoOf($skipIfFoundReadCountCOROUTINE$).
|
|
1349
|
-
var suspendResult = this.
|
|
1351
|
+
protoOf($skipIfFoundReadCountCOROUTINE$).c9 = function () {
|
|
1352
|
+
var suspendResult = this.w8_1;
|
|
1350
1353
|
$sm: do
|
|
1351
1354
|
try {
|
|
1352
|
-
var tmp = this.
|
|
1355
|
+
var tmp = this.u8_1;
|
|
1353
1356
|
switch (tmp) {
|
|
1354
1357
|
case 0:
|
|
1355
|
-
this.
|
|
1356
|
-
this.
|
|
1357
|
-
suspendResult = skipIfFound(this.
|
|
1358
|
+
this.v8_1 = 3;
|
|
1359
|
+
this.u8_1 = 1;
|
|
1360
|
+
suspendResult = skipIfFound(this.b38_1, this.c38_1, this);
|
|
1358
1361
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1359
1362
|
return suspendResult;
|
|
1360
1363
|
}
|
|
@@ -1363,28 +1366,28 @@
|
|
|
1363
1366
|
case 1:
|
|
1364
1367
|
if (suspendResult) {
|
|
1365
1368
|
var tmp_0 = this;
|
|
1366
|
-
tmp_0.
|
|
1367
|
-
this.
|
|
1369
|
+
tmp_0.d38_1 = fromInt(this.c38_1.u());
|
|
1370
|
+
this.u8_1 = 2;
|
|
1368
1371
|
continue $sm;
|
|
1369
1372
|
} else {
|
|
1370
1373
|
var tmp_1 = this;
|
|
1371
|
-
tmp_1.
|
|
1372
|
-
this.
|
|
1374
|
+
tmp_1.d38_1 = new Long(0, 0);
|
|
1375
|
+
this.u8_1 = 2;
|
|
1373
1376
|
continue $sm;
|
|
1374
1377
|
}
|
|
1375
1378
|
|
|
1376
1379
|
case 2:
|
|
1377
|
-
return this.
|
|
1380
|
+
return this.d38_1;
|
|
1378
1381
|
case 3:
|
|
1379
|
-
throw this.
|
|
1382
|
+
throw this.x8_1;
|
|
1380
1383
|
}
|
|
1381
1384
|
} catch ($p) {
|
|
1382
1385
|
var e = $p;
|
|
1383
|
-
if (this.
|
|
1386
|
+
if (this.v8_1 === 3) {
|
|
1384
1387
|
throw e;
|
|
1385
1388
|
} else {
|
|
1386
|
-
this.
|
|
1387
|
-
this.
|
|
1389
|
+
this.u8_1 = this.v8_1;
|
|
1390
|
+
this.x8_1 = e;
|
|
1388
1391
|
}
|
|
1389
1392
|
}
|
|
1390
1393
|
while (true);
|
|
@@ -1401,58 +1404,58 @@
|
|
|
1401
1404
|
// Inline function 'kotlin.collections.groupBy' call
|
|
1402
1405
|
// Inline function 'kotlin.collections.groupByTo' call
|
|
1403
1406
|
var destination = LinkedHashMap_init_$Create$();
|
|
1404
|
-
var _iterator__ex2g4s = from.
|
|
1405
|
-
while (_iterator__ex2g4s.
|
|
1406
|
-
var element = _iterator__ex2g4s.
|
|
1407
|
+
var _iterator__ex2g4s = from.r();
|
|
1408
|
+
while (_iterator__ex2g4s.s()) {
|
|
1409
|
+
var element = _iterator__ex2g4s.t();
|
|
1407
1410
|
var key = charAt(element, idx);
|
|
1408
1411
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1409
|
-
var value = destination.
|
|
1412
|
+
var value = destination.o2(key);
|
|
1410
1413
|
var tmp;
|
|
1411
1414
|
if (value == null) {
|
|
1412
1415
|
var answer = ArrayList_init_$Create$();
|
|
1413
|
-
destination.
|
|
1416
|
+
destination.g2(key, answer);
|
|
1414
1417
|
tmp = answer;
|
|
1415
1418
|
} else {
|
|
1416
1419
|
tmp = value;
|
|
1417
1420
|
}
|
|
1418
1421
|
var list = tmp;
|
|
1419
|
-
list.
|
|
1422
|
+
list.p(element);
|
|
1420
1423
|
}
|
|
1421
1424
|
// Inline function 'kotlin.collections.forEach' call
|
|
1422
1425
|
// Inline function 'kotlin.collections.iterator' call
|
|
1423
|
-
var _iterator__ex2g4s_0 = destination.
|
|
1424
|
-
while (_iterator__ex2g4s_0.
|
|
1425
|
-
var element_0 = _iterator__ex2g4s_0.
|
|
1426
|
+
var _iterator__ex2g4s_0 = destination.y().r();
|
|
1427
|
+
while (_iterator__ex2g4s_0.s()) {
|
|
1428
|
+
var element_0 = _iterator__ex2g4s_0.t();
|
|
1426
1429
|
// Inline function 'kotlin.collections.component1' call
|
|
1427
|
-
var ch = element_0.
|
|
1430
|
+
var ch = element_0.z().i1_1;
|
|
1428
1431
|
// Inline function 'kotlin.collections.component2' call
|
|
1429
|
-
var list_0 = element_0.
|
|
1432
|
+
var list_0 = element_0.a1();
|
|
1430
1433
|
var nextIdx = idx + 1 | 0;
|
|
1431
1434
|
var children = ArrayList_init_$Create$();
|
|
1432
1435
|
var tmp_0 = Companion_instance;
|
|
1433
1436
|
// Inline function 'kotlin.collections.filter' call
|
|
1434
1437
|
// Inline function 'kotlin.collections.filterTo' call
|
|
1435
1438
|
var destination_0 = ArrayList_init_$Create$();
|
|
1436
|
-
var _iterator__ex2g4s_1 = list_0.
|
|
1437
|
-
while (_iterator__ex2g4s_1.
|
|
1438
|
-
var element_1 = _iterator__ex2g4s_1.
|
|
1439
|
+
var _iterator__ex2g4s_1 = list_0.r();
|
|
1440
|
+
while (_iterator__ex2g4s_1.s()) {
|
|
1441
|
+
var element_1 = _iterator__ex2g4s_1.t();
|
|
1439
1442
|
if (length(element_1) > nextIdx) {
|
|
1440
|
-
destination_0.
|
|
1443
|
+
destination_0.p(element_1);
|
|
1441
1444
|
}
|
|
1442
1445
|
}
|
|
1443
1446
|
build(tmp_0, children, destination_0, maxLength, nextIdx, length, charAt);
|
|
1444
|
-
children.
|
|
1447
|
+
children.k5();
|
|
1445
1448
|
// Inline function 'kotlin.collections.filter' call
|
|
1446
1449
|
// Inline function 'kotlin.collections.filterTo' call
|
|
1447
1450
|
var destination_1 = ArrayList_init_$Create$();
|
|
1448
|
-
var _iterator__ex2g4s_2 = list_0.
|
|
1449
|
-
while (_iterator__ex2g4s_2.
|
|
1450
|
-
var element_2 = _iterator__ex2g4s_2.
|
|
1451
|
+
var _iterator__ex2g4s_2 = list_0.r();
|
|
1452
|
+
while (_iterator__ex2g4s_2.s()) {
|
|
1453
|
+
var element_2 = _iterator__ex2g4s_2.t();
|
|
1451
1454
|
if (length(element_2) === nextIdx) {
|
|
1452
|
-
destination_1.
|
|
1455
|
+
destination_1.p(element_2);
|
|
1453
1456
|
}
|
|
1454
1457
|
}
|
|
1455
|
-
resultList.
|
|
1458
|
+
resultList.p(new Node(ch, destination_1, children));
|
|
1456
1459
|
}
|
|
1457
1460
|
}
|
|
1458
1461
|
function AsciiCharTree$Companion$build$lambda(it) {
|
|
@@ -1462,26 +1465,26 @@
|
|
|
1462
1465
|
return new Char(charSequenceGet(s, idx));
|
|
1463
1466
|
}
|
|
1464
1467
|
function Node(ch, exact, children) {
|
|
1465
|
-
this.
|
|
1466
|
-
this.
|
|
1467
|
-
this.
|
|
1468
|
+
this.n39_1 = ch;
|
|
1469
|
+
this.o39_1 = exact;
|
|
1470
|
+
this.p39_1 = children;
|
|
1468
1471
|
var tmp = this;
|
|
1469
1472
|
var tmp_0 = 0;
|
|
1470
1473
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1471
1474
|
var tmp_1 = Array(256);
|
|
1472
1475
|
while (tmp_0 < 256) {
|
|
1473
1476
|
var tmp_2 = tmp_0;
|
|
1474
|
-
var tmp0 = this.
|
|
1477
|
+
var tmp0 = this.p39_1;
|
|
1475
1478
|
var tmp$ret$3;
|
|
1476
1479
|
$l$block_0: {
|
|
1477
1480
|
// Inline function 'kotlin.collections.singleOrNull' call
|
|
1478
1481
|
var single = null;
|
|
1479
1482
|
var found = false;
|
|
1480
|
-
var _iterator__ex2g4s = tmp0.
|
|
1481
|
-
while (_iterator__ex2g4s.
|
|
1482
|
-
var element = _iterator__ex2g4s.
|
|
1483
|
+
var _iterator__ex2g4s = tmp0.r();
|
|
1484
|
+
while (_iterator__ex2g4s.s()) {
|
|
1485
|
+
var element = _iterator__ex2g4s.t();
|
|
1483
1486
|
// Inline function 'kotlin.code' call
|
|
1484
|
-
var this_0 = element.
|
|
1487
|
+
var this_0 = element.n39_1;
|
|
1485
1488
|
if (Char__toInt_impl_vasixd(this_0) === tmp_2) {
|
|
1486
1489
|
if (found) {
|
|
1487
1490
|
tmp$ret$3 = null;
|
|
@@ -1500,38 +1503,38 @@
|
|
|
1500
1503
|
tmp_1[tmp_2] = tmp$ret$3;
|
|
1501
1504
|
tmp_0 = tmp_0 + 1 | 0;
|
|
1502
1505
|
}
|
|
1503
|
-
tmp.
|
|
1506
|
+
tmp.q39_1 = tmp_1;
|
|
1504
1507
|
}
|
|
1505
1508
|
function Companion() {
|
|
1506
1509
|
}
|
|
1507
|
-
protoOf(Companion).
|
|
1510
|
+
protoOf(Companion).o36 = function (from) {
|
|
1508
1511
|
var tmp = AsciiCharTree$Companion$build$lambda;
|
|
1509
|
-
return this.
|
|
1512
|
+
return this.r39(from, tmp, AsciiCharTree$Companion$build$lambda_0);
|
|
1510
1513
|
};
|
|
1511
|
-
protoOf(Companion).
|
|
1514
|
+
protoOf(Companion).r39 = function (from, length, charAt) {
|
|
1512
1515
|
var tmp$ret$0;
|
|
1513
1516
|
$l$block_0: {
|
|
1514
1517
|
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
1515
|
-
var iterator = from.
|
|
1516
|
-
if (!iterator.
|
|
1518
|
+
var iterator = from.r();
|
|
1519
|
+
if (!iterator.s()) {
|
|
1517
1520
|
tmp$ret$0 = null;
|
|
1518
1521
|
break $l$block_0;
|
|
1519
1522
|
}
|
|
1520
|
-
var maxElem = iterator.
|
|
1521
|
-
if (!iterator.
|
|
1523
|
+
var maxElem = iterator.t();
|
|
1524
|
+
if (!iterator.s()) {
|
|
1522
1525
|
tmp$ret$0 = maxElem;
|
|
1523
1526
|
break $l$block_0;
|
|
1524
1527
|
}
|
|
1525
1528
|
var maxValue = length(maxElem);
|
|
1526
1529
|
do {
|
|
1527
|
-
var e = iterator.
|
|
1530
|
+
var e = iterator.t();
|
|
1528
1531
|
var v = length(e);
|
|
1529
1532
|
if (compareTo(maxValue, v) < 0) {
|
|
1530
1533
|
maxElem = e;
|
|
1531
1534
|
maxValue = v;
|
|
1532
1535
|
}
|
|
1533
1536
|
}
|
|
1534
|
-
while (iterator.
|
|
1537
|
+
while (iterator.s());
|
|
1535
1538
|
tmp$ret$0 = maxElem;
|
|
1536
1539
|
}
|
|
1537
1540
|
var tmp0_safe_receiver = tmp$ret$0;
|
|
@@ -1555,7 +1558,7 @@
|
|
|
1555
1558
|
// Inline function 'kotlin.collections.any' call
|
|
1556
1559
|
var tmp_1;
|
|
1557
1560
|
if (isInterface(from, Collection)) {
|
|
1558
|
-
tmp_1 = from.
|
|
1561
|
+
tmp_1 = from.j();
|
|
1559
1562
|
} else {
|
|
1560
1563
|
tmp_1 = false;
|
|
1561
1564
|
}
|
|
@@ -1563,9 +1566,9 @@
|
|
|
1563
1566
|
tmp$ret$2 = false;
|
|
1564
1567
|
break $l$block_2;
|
|
1565
1568
|
}
|
|
1566
|
-
var _iterator__ex2g4s = from.
|
|
1567
|
-
while (_iterator__ex2g4s.
|
|
1568
|
-
var element = _iterator__ex2g4s.
|
|
1569
|
+
var _iterator__ex2g4s = from.r();
|
|
1570
|
+
while (_iterator__ex2g4s.s()) {
|
|
1571
|
+
var element = _iterator__ex2g4s.t();
|
|
1569
1572
|
if (length(element) === 0) {
|
|
1570
1573
|
tmp$ret$2 = true;
|
|
1571
1574
|
break $l$block_2;
|
|
@@ -1577,7 +1580,7 @@
|
|
|
1577
1580
|
throw IllegalArgumentException_init_$Create$('There should be no empty entries');
|
|
1578
1581
|
var root = ArrayList_init_$Create$();
|
|
1579
1582
|
build(this, root, from, maxLen, 0, length, charAt);
|
|
1580
|
-
root.
|
|
1583
|
+
root.k5();
|
|
1581
1584
|
return new AsciiCharTree(new Node(_Char___init__impl__6a9atx(0), emptyList(), root));
|
|
1582
1585
|
};
|
|
1583
1586
|
var Companion_instance;
|
|
@@ -1585,10 +1588,10 @@
|
|
|
1585
1588
|
return Companion_instance;
|
|
1586
1589
|
}
|
|
1587
1590
|
function AsciiCharTree(root) {
|
|
1588
|
-
this.
|
|
1591
|
+
this.s39_1 = root;
|
|
1589
1592
|
}
|
|
1590
1593
|
function getImpl($this, index) {
|
|
1591
|
-
return bufferForIndex($this, index)[index % ensureNotNull($this.
|
|
1594
|
+
return bufferForIndex($this, index)[index % ensureNotNull($this.u34_1).length | 0];
|
|
1592
1595
|
}
|
|
1593
1596
|
function copy($this, startIndex, endIndex) {
|
|
1594
1597
|
if (startIndex === endIndex)
|
|
@@ -1609,7 +1612,7 @@
|
|
|
1609
1612
|
do {
|
|
1610
1613
|
var innerIndex = inductionVariable;
|
|
1611
1614
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1612
|
-
builder.
|
|
1615
|
+
builder.g8(buffer[innerIndex]);
|
|
1613
1616
|
}
|
|
1614
1617
|
while (inductionVariable < innerEndIndex);
|
|
1615
1618
|
base = base + 2048 | 0;
|
|
@@ -1617,27 +1620,27 @@
|
|
|
1617
1620
|
return builder;
|
|
1618
1621
|
}
|
|
1619
1622
|
function SubSequenceImpl($outer, start, end) {
|
|
1620
|
-
this.
|
|
1621
|
-
this.
|
|
1622
|
-
this.
|
|
1623
|
-
this.
|
|
1623
|
+
this.w39_1 = $outer;
|
|
1624
|
+
this.t39_1 = start;
|
|
1625
|
+
this.u39_1 = end;
|
|
1626
|
+
this.v39_1 = null;
|
|
1624
1627
|
}
|
|
1625
1628
|
protoOf(SubSequenceImpl).a = function () {
|
|
1626
|
-
return this.
|
|
1629
|
+
return this.u39_1 - this.t39_1 | 0;
|
|
1627
1630
|
};
|
|
1628
1631
|
protoOf(SubSequenceImpl).b = function (index) {
|
|
1629
|
-
var withOffset = index + this.
|
|
1632
|
+
var withOffset = index + this.t39_1 | 0;
|
|
1630
1633
|
// Inline function 'kotlin.require' call
|
|
1631
1634
|
if (!(index >= 0)) {
|
|
1632
1635
|
var message = 'index is negative: ' + index;
|
|
1633
1636
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1634
1637
|
}
|
|
1635
1638
|
// Inline function 'kotlin.require' call
|
|
1636
|
-
if (!(withOffset < this.
|
|
1639
|
+
if (!(withOffset < this.u39_1)) {
|
|
1637
1640
|
var message_0 = 'index (' + index + ') should be less than length (' + this.a() + ')';
|
|
1638
1641
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1639
1642
|
}
|
|
1640
|
-
return getImpl(this.
|
|
1643
|
+
return getImpl(this.w39_1, withOffset);
|
|
1641
1644
|
};
|
|
1642
1645
|
protoOf(SubSequenceImpl).c = function (startIndex, endIndex) {
|
|
1643
1646
|
// Inline function 'kotlin.require' call
|
|
@@ -1651,21 +1654,21 @@
|
|
|
1651
1654
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1652
1655
|
}
|
|
1653
1656
|
// Inline function 'kotlin.require' call
|
|
1654
|
-
if (!(endIndex <= (this.
|
|
1657
|
+
if (!(endIndex <= (this.u39_1 - this.t39_1 | 0))) {
|
|
1655
1658
|
var message_1 = 'end should be less than length (' + this.a() + ')';
|
|
1656
1659
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1657
1660
|
}
|
|
1658
1661
|
if (startIndex === endIndex)
|
|
1659
1662
|
return '';
|
|
1660
|
-
return new SubSequenceImpl(this.
|
|
1663
|
+
return new SubSequenceImpl(this.w39_1, this.t39_1 + startIndex | 0, this.t39_1 + endIndex | 0);
|
|
1661
1664
|
};
|
|
1662
1665
|
protoOf(SubSequenceImpl).toString = function () {
|
|
1663
|
-
var tmp0_elvis_lhs = this.
|
|
1666
|
+
var tmp0_elvis_lhs = this.v39_1;
|
|
1664
1667
|
var tmp;
|
|
1665
1668
|
if (tmp0_elvis_lhs == null) {
|
|
1666
1669
|
// Inline function 'kotlin.also' call
|
|
1667
|
-
var this_0 = toString(copy(this.
|
|
1668
|
-
this.
|
|
1670
|
+
var this_0 = toString(copy(this.w39_1, this.t39_1, this.u39_1));
|
|
1671
|
+
this.v39_1 = this_0;
|
|
1669
1672
|
tmp = this_0;
|
|
1670
1673
|
} else {
|
|
1671
1674
|
tmp = tmp0_elvis_lhs;
|
|
@@ -1677,20 +1680,20 @@
|
|
|
1677
1680
|
return false;
|
|
1678
1681
|
if (!(charSequenceLength(other) === this.a()))
|
|
1679
1682
|
return false;
|
|
1680
|
-
return rangeEqualsImpl(this.
|
|
1683
|
+
return rangeEqualsImpl(this.w39_1, this.t39_1, other, 0, this.a());
|
|
1681
1684
|
};
|
|
1682
1685
|
protoOf(SubSequenceImpl).hashCode = function () {
|
|
1683
|
-
var tmp0_safe_receiver = this.
|
|
1686
|
+
var tmp0_safe_receiver = this.v39_1;
|
|
1684
1687
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1685
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this.
|
|
1688
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this.w39_1, this.t39_1, this.u39_1) : tmp1_elvis_lhs;
|
|
1686
1689
|
};
|
|
1687
1690
|
function bufferForIndex($this, index) {
|
|
1688
|
-
var list = $this.
|
|
1691
|
+
var list = $this.t34_1;
|
|
1689
1692
|
if (list == null) {
|
|
1690
1693
|
if (index >= 2048) {
|
|
1691
1694
|
throwSingleBuffer($this, index);
|
|
1692
1695
|
}
|
|
1693
|
-
var tmp0_elvis_lhs = $this.
|
|
1696
|
+
var tmp0_elvis_lhs = $this.u34_1;
|
|
1694
1697
|
var tmp;
|
|
1695
1698
|
if (tmp0_elvis_lhs == null) {
|
|
1696
1699
|
throwSingleBuffer($this, index);
|
|
@@ -1699,36 +1702,36 @@
|
|
|
1699
1702
|
}
|
|
1700
1703
|
return tmp;
|
|
1701
1704
|
}
|
|
1702
|
-
return list.
|
|
1705
|
+
return list.v(index / ensureNotNull($this.u34_1).length | 0);
|
|
1703
1706
|
}
|
|
1704
1707
|
function throwSingleBuffer($this, index) {
|
|
1705
|
-
if ($this.
|
|
1708
|
+
if ($this.w34_1)
|
|
1706
1709
|
throw IllegalStateException_init_$Create$('Buffer is already released');
|
|
1707
1710
|
throw IndexOutOfBoundsException_init_$Create$('' + index + ' is not in range [0; ' + currentPosition($this) + ')');
|
|
1708
1711
|
}
|
|
1709
1712
|
function nonFullBuffer($this) {
|
|
1710
|
-
return $this.
|
|
1713
|
+
return $this.x34_1 === 0 ? appendNewArray($this) : ensureNotNull($this.u34_1);
|
|
1711
1714
|
}
|
|
1712
1715
|
function appendNewArray($this) {
|
|
1713
|
-
var newBuffer = $this.
|
|
1714
|
-
var existing = $this.
|
|
1715
|
-
$this.
|
|
1716
|
-
$this.
|
|
1717
|
-
$this.
|
|
1716
|
+
var newBuffer = $this.s34_1.s1w();
|
|
1717
|
+
var existing = $this.u34_1;
|
|
1718
|
+
$this.u34_1 = newBuffer;
|
|
1719
|
+
$this.x34_1 = newBuffer.length;
|
|
1720
|
+
$this.w34_1 = false;
|
|
1718
1721
|
if (!(existing == null)) {
|
|
1719
|
-
var tmp0_elvis_lhs = $this.
|
|
1722
|
+
var tmp0_elvis_lhs = $this.t34_1;
|
|
1720
1723
|
var tmp;
|
|
1721
1724
|
if (tmp0_elvis_lhs == null) {
|
|
1722
1725
|
// Inline function 'kotlin.also' call
|
|
1723
1726
|
var this_0 = ArrayList_init_$Create$();
|
|
1724
|
-
$this.
|
|
1725
|
-
this_0.
|
|
1727
|
+
$this.t34_1 = this_0;
|
|
1728
|
+
this_0.p(existing);
|
|
1726
1729
|
tmp = this_0;
|
|
1727
1730
|
} else {
|
|
1728
1731
|
tmp = tmp0_elvis_lhs;
|
|
1729
1732
|
}
|
|
1730
1733
|
var list = tmp;
|
|
1731
|
-
list.
|
|
1734
|
+
list.p(newBuffer);
|
|
1732
1735
|
}
|
|
1733
1736
|
return newBuffer;
|
|
1734
1737
|
}
|
|
@@ -1760,20 +1763,20 @@
|
|
|
1760
1763
|
return hc;
|
|
1761
1764
|
}
|
|
1762
1765
|
function currentPosition($this) {
|
|
1763
|
-
return ensureNotNull($this.
|
|
1766
|
+
return ensureNotNull($this.u34_1).length - $this.x34_1 | 0;
|
|
1764
1767
|
}
|
|
1765
1768
|
function CharArrayBuilder(pool) {
|
|
1766
1769
|
pool = pool === VOID ? get_CharArrayPool() : pool;
|
|
1767
|
-
this.
|
|
1768
|
-
this.
|
|
1769
|
-
this.
|
|
1770
|
-
this.
|
|
1771
|
-
this.
|
|
1772
|
-
this.
|
|
1773
|
-
this.
|
|
1770
|
+
this.s34_1 = pool;
|
|
1771
|
+
this.t34_1 = null;
|
|
1772
|
+
this.u34_1 = null;
|
|
1773
|
+
this.v34_1 = null;
|
|
1774
|
+
this.w34_1 = false;
|
|
1775
|
+
this.x34_1 = 0;
|
|
1776
|
+
this.y34_1 = 0;
|
|
1774
1777
|
}
|
|
1775
1778
|
protoOf(CharArrayBuilder).a = function () {
|
|
1776
|
-
return this.
|
|
1779
|
+
return this.y34_1;
|
|
1777
1780
|
};
|
|
1778
1781
|
protoOf(CharArrayBuilder).b = function (index) {
|
|
1779
1782
|
// Inline function 'kotlin.require' call
|
|
@@ -1782,8 +1785,8 @@
|
|
|
1782
1785
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1783
1786
|
}
|
|
1784
1787
|
// Inline function 'kotlin.require' call
|
|
1785
|
-
if (!(index < this.
|
|
1786
|
-
var message_0 = 'index ' + index + ' is not in range [0, ' + this.
|
|
1788
|
+
if (!(index < this.y34_1)) {
|
|
1789
|
+
var message_0 = 'index ' + index + ' is not in range [0, ' + this.y34_1 + ')';
|
|
1787
1790
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1788
1791
|
}
|
|
1789
1792
|
return getImpl(this, index);
|
|
@@ -1800,19 +1803,19 @@
|
|
|
1800
1803
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1801
1804
|
}
|
|
1802
1805
|
// Inline function 'kotlin.require' call
|
|
1803
|
-
if (!(endIndex <= this.
|
|
1804
|
-
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.
|
|
1806
|
+
if (!(endIndex <= this.y34_1)) {
|
|
1807
|
+
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.y34_1 + ')';
|
|
1805
1808
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1806
1809
|
}
|
|
1807
1810
|
return new SubSequenceImpl(this, startIndex, endIndex);
|
|
1808
1811
|
};
|
|
1809
1812
|
protoOf(CharArrayBuilder).toString = function () {
|
|
1810
|
-
var tmp0_elvis_lhs = this.
|
|
1813
|
+
var tmp0_elvis_lhs = this.v34_1;
|
|
1811
1814
|
var tmp;
|
|
1812
1815
|
if (tmp0_elvis_lhs == null) {
|
|
1813
1816
|
// Inline function 'kotlin.also' call
|
|
1814
|
-
var this_0 = toString(copy(this, 0, this.
|
|
1815
|
-
this.
|
|
1817
|
+
var this_0 = toString(copy(this, 0, this.y34_1));
|
|
1818
|
+
this.v34_1 = this_0;
|
|
1816
1819
|
tmp = this_0;
|
|
1817
1820
|
} else {
|
|
1818
1821
|
tmp = tmp0_elvis_lhs;
|
|
@@ -1822,32 +1825,32 @@
|
|
|
1822
1825
|
protoOf(CharArrayBuilder).equals = function (other) {
|
|
1823
1826
|
if (!(!(other == null) ? isCharSequence(other) : false))
|
|
1824
1827
|
return false;
|
|
1825
|
-
if (!(this.
|
|
1828
|
+
if (!(this.y34_1 === charSequenceLength(other)))
|
|
1826
1829
|
return false;
|
|
1827
|
-
return rangeEqualsImpl(this, 0, other, 0, this.
|
|
1830
|
+
return rangeEqualsImpl(this, 0, other, 0, this.y34_1);
|
|
1828
1831
|
};
|
|
1829
1832
|
protoOf(CharArrayBuilder).hashCode = function () {
|
|
1830
|
-
var tmp0_safe_receiver = this.
|
|
1833
|
+
var tmp0_safe_receiver = this.v34_1;
|
|
1831
1834
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1832
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.
|
|
1835
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.y34_1) : tmp1_elvis_lhs;
|
|
1833
1836
|
};
|
|
1834
|
-
protoOf(CharArrayBuilder).
|
|
1835
|
-
nonFullBuffer(this)[ensureNotNull(this.
|
|
1836
|
-
this.
|
|
1837
|
-
this.
|
|
1838
|
-
this.
|
|
1837
|
+
protoOf(CharArrayBuilder).g8 = function (value) {
|
|
1838
|
+
nonFullBuffer(this)[ensureNotNull(this.u34_1).length - this.x34_1 | 0] = value;
|
|
1839
|
+
this.v34_1 = null;
|
|
1840
|
+
this.x34_1 = this.x34_1 - 1 | 0;
|
|
1841
|
+
this.y34_1 = this.y34_1 + 1 | 0;
|
|
1839
1842
|
return this;
|
|
1840
1843
|
};
|
|
1841
|
-
protoOf(CharArrayBuilder).
|
|
1844
|
+
protoOf(CharArrayBuilder).mc = function (value, startIndex, endIndex) {
|
|
1842
1845
|
if (value == null)
|
|
1843
1846
|
return this;
|
|
1844
1847
|
var current = startIndex;
|
|
1845
1848
|
while (current < endIndex) {
|
|
1846
1849
|
var buffer = nonFullBuffer(this);
|
|
1847
|
-
var offset = buffer.length - this.
|
|
1850
|
+
var offset = buffer.length - this.x34_1 | 0;
|
|
1848
1851
|
var tmp0 = endIndex - current | 0;
|
|
1849
1852
|
// Inline function 'kotlin.math.min' call
|
|
1850
|
-
var b = this.
|
|
1853
|
+
var b = this.x34_1;
|
|
1851
1854
|
var bytesToCopy = Math.min(tmp0, b);
|
|
1852
1855
|
var inductionVariable = 0;
|
|
1853
1856
|
if (inductionVariable < bytesToCopy)
|
|
@@ -1858,45 +1861,45 @@
|
|
|
1858
1861
|
}
|
|
1859
1862
|
while (inductionVariable < bytesToCopy);
|
|
1860
1863
|
current = current + bytesToCopy | 0;
|
|
1861
|
-
this.
|
|
1864
|
+
this.x34_1 = this.x34_1 - bytesToCopy | 0;
|
|
1862
1865
|
}
|
|
1863
|
-
this.
|
|
1864
|
-
this.
|
|
1866
|
+
this.v34_1 = null;
|
|
1867
|
+
this.y34_1 = this.y34_1 + (endIndex - startIndex | 0) | 0;
|
|
1865
1868
|
return this;
|
|
1866
1869
|
};
|
|
1867
|
-
protoOf(CharArrayBuilder).
|
|
1870
|
+
protoOf(CharArrayBuilder).q = function (value) {
|
|
1868
1871
|
if (value == null)
|
|
1869
1872
|
return this;
|
|
1870
|
-
return this.
|
|
1873
|
+
return this.mc(value, 0, charSequenceLength(value));
|
|
1871
1874
|
};
|
|
1872
|
-
protoOf(CharArrayBuilder).
|
|
1873
|
-
var list = this.
|
|
1875
|
+
protoOf(CharArrayBuilder).n1h = function () {
|
|
1876
|
+
var list = this.t34_1;
|
|
1874
1877
|
if (!(list == null)) {
|
|
1875
|
-
this.
|
|
1878
|
+
this.u34_1 = null;
|
|
1876
1879
|
var inductionVariable = 0;
|
|
1877
|
-
var last = list.
|
|
1880
|
+
var last = list.u();
|
|
1878
1881
|
if (inductionVariable < last)
|
|
1879
1882
|
do {
|
|
1880
1883
|
var i = inductionVariable;
|
|
1881
1884
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1882
|
-
this.
|
|
1885
|
+
this.s34_1.t1w(list.v(i));
|
|
1883
1886
|
}
|
|
1884
1887
|
while (inductionVariable < last);
|
|
1885
1888
|
} else {
|
|
1886
|
-
var tmp0_safe_receiver = this.
|
|
1889
|
+
var tmp0_safe_receiver = this.u34_1;
|
|
1887
1890
|
if (tmp0_safe_receiver == null)
|
|
1888
1891
|
null;
|
|
1889
1892
|
else {
|
|
1890
1893
|
// Inline function 'kotlin.let' call
|
|
1891
|
-
this.
|
|
1894
|
+
this.s34_1.t1w(tmp0_safe_receiver);
|
|
1892
1895
|
}
|
|
1893
|
-
this.
|
|
1896
|
+
this.u34_1 = null;
|
|
1894
1897
|
}
|
|
1895
|
-
this.
|
|
1896
|
-
this.
|
|
1897
|
-
this.
|
|
1898
|
-
this.
|
|
1899
|
-
this.
|
|
1898
|
+
this.w34_1 = true;
|
|
1899
|
+
this.t34_1 = null;
|
|
1900
|
+
this.v34_1 = null;
|
|
1901
|
+
this.y34_1 = 0;
|
|
1902
|
+
this.x34_1 = 0;
|
|
1900
1903
|
};
|
|
1901
1904
|
function get_CharArrayPool() {
|
|
1902
1905
|
_init_properties_CharArrayPool_kt__u4nq0d();
|
|
@@ -1906,13 +1909,13 @@
|
|
|
1906
1909
|
function CharArrayPool$1() {
|
|
1907
1910
|
NoPoolImpl.call(this);
|
|
1908
1911
|
}
|
|
1909
|
-
protoOf(CharArrayPool$1).
|
|
1912
|
+
protoOf(CharArrayPool$1).s1w = function () {
|
|
1910
1913
|
return charArray(2048);
|
|
1911
1914
|
};
|
|
1912
1915
|
function CharArrayPool$2() {
|
|
1913
1916
|
DefaultPool.call(this, 4096);
|
|
1914
1917
|
}
|
|
1915
|
-
protoOf(CharArrayPool$2).
|
|
1918
|
+
protoOf(CharArrayPool$2).l1w = function () {
|
|
1916
1919
|
return charArray(2048);
|
|
1917
1920
|
};
|
|
1918
1921
|
var properties_initialized_CharArrayPool_kt_aq0u0f;
|
|
@@ -1931,32 +1934,6 @@
|
|
|
1931
1934
|
var DefaultHttpMethods;
|
|
1932
1935
|
var HexTable;
|
|
1933
1936
|
var HexLetterTable;
|
|
1934
|
-
function parseDecLong(_this__u8e3s4) {
|
|
1935
|
-
_init_properties_Chars_kt__d3i39x();
|
|
1936
|
-
var length = charSequenceLength(_this__u8e3s4);
|
|
1937
|
-
if (length > 19) {
|
|
1938
|
-
numberFormatException(_this__u8e3s4);
|
|
1939
|
-
}
|
|
1940
|
-
if (length === 19)
|
|
1941
|
-
return parseDecLongWithCheck(_this__u8e3s4);
|
|
1942
|
-
var result = new Long(0, 0);
|
|
1943
|
-
var inductionVariable = 0;
|
|
1944
|
-
if (inductionVariable < length)
|
|
1945
|
-
do {
|
|
1946
|
-
var i = inductionVariable;
|
|
1947
|
-
inductionVariable = inductionVariable + 1 | 0;
|
|
1948
|
-
// Inline function 'kotlin.code' call
|
|
1949
|
-
var this_0 = charSequenceGet(_this__u8e3s4, i);
|
|
1950
|
-
var tmp$ret$0 = Char__toInt_impl_vasixd(this_0);
|
|
1951
|
-
var digit = toLong(tmp$ret$0).d3(new Long(48, 0));
|
|
1952
|
-
if (digit.d1(new Long(0, 0)) < 0 || digit.d1(new Long(9, 0)) > 0) {
|
|
1953
|
-
numberFormatException_0(_this__u8e3s4, i);
|
|
1954
|
-
}
|
|
1955
|
-
result = result.m3(3).c3(result.m3(1)).c3(digit);
|
|
1956
|
-
}
|
|
1957
|
-
while (inductionVariable < length);
|
|
1958
|
-
return result;
|
|
1959
|
-
}
|
|
1960
1937
|
function hashCodeLowerCase(_this__u8e3s4, start, end) {
|
|
1961
1938
|
start = start === VOID ? 0 : start;
|
|
1962
1939
|
end = end === VOID ? charSequenceLength(_this__u8e3s4) : end;
|
|
@@ -2069,6 +2046,32 @@
|
|
|
2069
2046
|
while (inductionVariable < end);
|
|
2070
2047
|
return true;
|
|
2071
2048
|
}
|
|
2049
|
+
function parseDecLong(_this__u8e3s4) {
|
|
2050
|
+
_init_properties_Chars_kt__d3i39x();
|
|
2051
|
+
var length = charSequenceLength(_this__u8e3s4);
|
|
2052
|
+
if (length > 19) {
|
|
2053
|
+
numberFormatException(_this__u8e3s4);
|
|
2054
|
+
}
|
|
2055
|
+
if (length === 19)
|
|
2056
|
+
return parseDecLongWithCheck(_this__u8e3s4);
|
|
2057
|
+
var result = new Long(0, 0);
|
|
2058
|
+
var inductionVariable = 0;
|
|
2059
|
+
if (inductionVariable < length)
|
|
2060
|
+
do {
|
|
2061
|
+
var i = inductionVariable;
|
|
2062
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
2063
|
+
// Inline function 'kotlin.code' call
|
|
2064
|
+
var this_0 = charSequenceGet(_this__u8e3s4, i);
|
|
2065
|
+
var tmp$ret$0 = Char__toInt_impl_vasixd(this_0);
|
|
2066
|
+
var digit = subtract(fromInt(tmp$ret$0), new Long(48, 0));
|
|
2067
|
+
if (compare(digit, new Long(0, 0)) < 0 || compare(digit, new Long(9, 0)) > 0) {
|
|
2068
|
+
numberFormatException_0(_this__u8e3s4, i);
|
|
2069
|
+
}
|
|
2070
|
+
result = add(add(shiftLeft(result, 3), shiftLeft(result, 1)), digit);
|
|
2071
|
+
}
|
|
2072
|
+
while (inductionVariable < length);
|
|
2073
|
+
return result;
|
|
2074
|
+
}
|
|
2072
2075
|
function numberFormatException(cs) {
|
|
2073
2076
|
_init_properties_Chars_kt__d3i39x();
|
|
2074
2077
|
throw NumberFormatException_init_$Create$('Invalid number ' + toString(cs) + ': too large for Long type');
|
|
@@ -2085,12 +2088,12 @@
|
|
|
2085
2088
|
// Inline function 'kotlin.code' call
|
|
2086
2089
|
var this_0 = charSequenceGet(_this__u8e3s4, i);
|
|
2087
2090
|
var tmp$ret$0 = Char__toInt_impl_vasixd(this_0);
|
|
2088
|
-
var digit =
|
|
2089
|
-
if (digit
|
|
2091
|
+
var digit = subtract(fromInt(tmp$ret$0), new Long(48, 0));
|
|
2092
|
+
if (compare(digit, new Long(0, 0)) < 0 || compare(digit, new Long(9, 0)) > 0) {
|
|
2090
2093
|
numberFormatException_0(_this__u8e3s4, i);
|
|
2091
2094
|
}
|
|
2092
|
-
result = result
|
|
2093
|
-
if (result
|
|
2095
|
+
result = add(add(shiftLeft(result, 3), shiftLeft(result, 1)), digit);
|
|
2096
|
+
if (compare(result, new Long(0, 0)) < 0) {
|
|
2094
2097
|
numberFormatException(_this__u8e3s4);
|
|
2095
2098
|
}
|
|
2096
2099
|
}
|
|
@@ -2103,26 +2106,26 @@
|
|
|
2103
2106
|
}
|
|
2104
2107
|
function DefaultHttpMethods$lambda(it) {
|
|
2105
2108
|
_init_properties_Chars_kt__d3i39x();
|
|
2106
|
-
return it.
|
|
2109
|
+
return it.w2x_1.length;
|
|
2107
2110
|
}
|
|
2108
2111
|
function DefaultHttpMethods$lambda_0(m, idx) {
|
|
2109
2112
|
_init_properties_Chars_kt__d3i39x();
|
|
2110
|
-
return new Char(charCodeAt(m.
|
|
2113
|
+
return new Char(charCodeAt(m.w2x_1, idx));
|
|
2111
2114
|
}
|
|
2112
2115
|
var properties_initialized_Chars_kt_phjfhp;
|
|
2113
2116
|
function _init_properties_Chars_kt__d3i39x() {
|
|
2114
2117
|
if (!properties_initialized_Chars_kt_phjfhp) {
|
|
2115
2118
|
properties_initialized_Chars_kt_phjfhp = true;
|
|
2116
2119
|
var tmp = Companion_instance;
|
|
2117
|
-
var tmp_0 = Companion_getInstance_0().
|
|
2120
|
+
var tmp_0 = Companion_getInstance_0().v2x_1;
|
|
2118
2121
|
var tmp_1 = DefaultHttpMethods$lambda;
|
|
2119
|
-
DefaultHttpMethods = tmp.
|
|
2122
|
+
DefaultHttpMethods = tmp.r39(tmp_0, tmp_1, DefaultHttpMethods$lambda_0);
|
|
2120
2123
|
// Inline function 'kotlin.collections.map' call
|
|
2121
2124
|
var this_0 = numberRangeToNumber(0, 255);
|
|
2122
2125
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2123
2126
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
2124
|
-
var inductionVariable = this_0.
|
|
2125
|
-
var last = this_0.
|
|
2127
|
+
var inductionVariable = this_0.d1_1;
|
|
2128
|
+
var last = this_0.e1_1;
|
|
2126
2129
|
if (inductionVariable <= last)
|
|
2127
2130
|
do {
|
|
2128
2131
|
var item = inductionVariable;
|
|
@@ -2130,19 +2133,19 @@
|
|
|
2130
2133
|
var v = item;
|
|
2131
2134
|
var tmp_2;
|
|
2132
2135
|
if (48 <= v ? v <= 57 : false) {
|
|
2133
|
-
tmp_2 = numberToLong(v)
|
|
2136
|
+
tmp_2 = subtract(numberToLong(v), new Long(48, 0));
|
|
2134
2137
|
} else {
|
|
2135
2138
|
var tmp_3;
|
|
2136
|
-
var tmp_4 =
|
|
2139
|
+
var tmp_4 = fromInt(v);
|
|
2137
2140
|
// Inline function 'kotlin.code' call
|
|
2138
2141
|
var this_1 = _Char___init__impl__6a9atx(97);
|
|
2139
2142
|
var tmp$ret$0 = Char__toInt_impl_vasixd(this_1);
|
|
2140
|
-
if (tmp_4
|
|
2141
|
-
var tmp_5 =
|
|
2143
|
+
if (compare(tmp_4, fromInt(tmp$ret$0)) >= 0) {
|
|
2144
|
+
var tmp_5 = fromInt(v);
|
|
2142
2145
|
// Inline function 'kotlin.code' call
|
|
2143
2146
|
var this_2 = _Char___init__impl__6a9atx(102);
|
|
2144
2147
|
var tmp$ret$1 = Char__toInt_impl_vasixd(this_2);
|
|
2145
|
-
tmp_3 = tmp_5
|
|
2148
|
+
tmp_3 = compare(tmp_5, fromInt(tmp$ret$1)) <= 0;
|
|
2146
2149
|
} else {
|
|
2147
2150
|
tmp_3 = false;
|
|
2148
2151
|
}
|
|
@@ -2151,44 +2154,46 @@
|
|
|
2151
2154
|
var this_3 = _Char___init__impl__6a9atx(97);
|
|
2152
2155
|
var tmp$ret$2 = Char__toInt_impl_vasixd(this_3);
|
|
2153
2156
|
// Inline function 'kotlin.Long.plus' call
|
|
2154
|
-
|
|
2157
|
+
var this_4 = subtract(numberToLong(v), fromInt(tmp$ret$2));
|
|
2158
|
+
tmp_2 = add(this_4, fromInt(10));
|
|
2155
2159
|
} else {
|
|
2156
2160
|
var tmp_6;
|
|
2157
|
-
var tmp_7 =
|
|
2161
|
+
var tmp_7 = fromInt(v);
|
|
2158
2162
|
// Inline function 'kotlin.code' call
|
|
2159
|
-
var
|
|
2160
|
-
var tmp$ret$4 = Char__toInt_impl_vasixd(
|
|
2161
|
-
if (tmp_7
|
|
2162
|
-
var tmp_8 =
|
|
2163
|
+
var this_5 = _Char___init__impl__6a9atx(65);
|
|
2164
|
+
var tmp$ret$4 = Char__toInt_impl_vasixd(this_5);
|
|
2165
|
+
if (compare(tmp_7, fromInt(tmp$ret$4)) >= 0) {
|
|
2166
|
+
var tmp_8 = fromInt(v);
|
|
2163
2167
|
// Inline function 'kotlin.code' call
|
|
2164
|
-
var
|
|
2165
|
-
var tmp$ret$5 = Char__toInt_impl_vasixd(
|
|
2166
|
-
tmp_6 = tmp_8
|
|
2168
|
+
var this_6 = _Char___init__impl__6a9atx(70);
|
|
2169
|
+
var tmp$ret$5 = Char__toInt_impl_vasixd(this_6);
|
|
2170
|
+
tmp_6 = compare(tmp_8, fromInt(tmp$ret$5)) <= 0;
|
|
2167
2171
|
} else {
|
|
2168
2172
|
tmp_6 = false;
|
|
2169
2173
|
}
|
|
2170
2174
|
if (tmp_6) {
|
|
2171
2175
|
// Inline function 'kotlin.code' call
|
|
2172
|
-
var
|
|
2173
|
-
var tmp$ret$6 = Char__toInt_impl_vasixd(
|
|
2176
|
+
var this_7 = _Char___init__impl__6a9atx(65);
|
|
2177
|
+
var tmp$ret$6 = Char__toInt_impl_vasixd(this_7);
|
|
2174
2178
|
// Inline function 'kotlin.Long.plus' call
|
|
2175
|
-
|
|
2179
|
+
var this_8 = subtract(numberToLong(v), fromInt(tmp$ret$6));
|
|
2180
|
+
tmp_2 = add(this_8, fromInt(10));
|
|
2176
2181
|
} else {
|
|
2177
2182
|
tmp_2 = new Long(-1, -1);
|
|
2178
2183
|
}
|
|
2179
2184
|
}
|
|
2180
2185
|
}
|
|
2181
2186
|
var tmp$ret$8 = tmp_2;
|
|
2182
|
-
destination.
|
|
2187
|
+
destination.p(tmp$ret$8);
|
|
2183
2188
|
}
|
|
2184
2189
|
while (!(item === last));
|
|
2185
2190
|
HexTable = toLongArray(destination);
|
|
2186
2191
|
// Inline function 'kotlin.collections.map' call
|
|
2187
|
-
var
|
|
2192
|
+
var this_9 = numberRangeToNumber(0, 15);
|
|
2188
2193
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2189
|
-
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(
|
|
2190
|
-
var inductionVariable_0 =
|
|
2191
|
-
var last_0 =
|
|
2194
|
+
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_9, 10));
|
|
2195
|
+
var inductionVariable_0 = this_9.d1_1;
|
|
2196
|
+
var last_0 = this_9.e1_1;
|
|
2192
2197
|
if (inductionVariable_0 <= last_0)
|
|
2193
2198
|
do {
|
|
2194
2199
|
var item_0 = inductionVariable_0;
|
|
@@ -2199,12 +2204,12 @@
|
|
|
2199
2204
|
tmp_9 = toByte(48 + it | 0);
|
|
2200
2205
|
} else {
|
|
2201
2206
|
// Inline function 'kotlin.code' call
|
|
2202
|
-
var
|
|
2203
|
-
var tmp$ret$0_0 = Char__toInt_impl_vasixd(
|
|
2207
|
+
var this_10 = Char__minus_impl_a2frrh(Char__plus_impl_qi7pgj(_Char___init__impl__6a9atx(97), it), 10);
|
|
2208
|
+
var tmp$ret$0_0 = Char__toInt_impl_vasixd(this_10);
|
|
2204
2209
|
tmp_9 = toByte(tmp$ret$0_0);
|
|
2205
2210
|
}
|
|
2206
2211
|
var tmp$ret$1_0 = tmp_9;
|
|
2207
|
-
destination_0.
|
|
2212
|
+
destination_0.p(tmp$ret$1_0);
|
|
2208
2213
|
}
|
|
2209
2214
|
while (!(item_0 === last_0));
|
|
2210
2215
|
HexLetterTable = toByteArray_0(destination_0);
|
|
@@ -2215,11 +2220,11 @@
|
|
|
2215
2220
|
captureStack(this, UnsupportedMediaTypeExceptionCIO);
|
|
2216
2221
|
}
|
|
2217
2222
|
function MutableRange(start, end) {
|
|
2218
|
-
this.
|
|
2219
|
-
this.
|
|
2223
|
+
this.m36_1 = start;
|
|
2224
|
+
this.n36_1 = end;
|
|
2220
2225
|
}
|
|
2221
2226
|
protoOf(MutableRange).toString = function () {
|
|
2222
|
-
return 'MutableRange(start=' + this.
|
|
2227
|
+
return 'MutableRange(start=' + this.m36_1 + ', end=' + this.n36_1 + ')';
|
|
2223
2228
|
};
|
|
2224
2229
|
function skipSpacesAndHorizontalTabs(text, start, end) {
|
|
2225
2230
|
var index = start;
|