@doordeck/doordeck-headless-sdk 0.169.0 → 0.170.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 +58 -58
- package/kotlin/Kermit-kermit.js +8 -8
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +22 -22
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +23 -23
- package/kotlin/doordeck-sdk.js +10765 -10652
- package/kotlin/kotlin-kotlin-stdlib.js +382 -376
- package/kotlin/kotlinx-atomicfu.js +9 -9
- package/kotlin/kotlinx-coroutines-core.js +1022 -1010
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +17 -17
- package/kotlin/kotlinx-io-kotlinx-io-core.js +28 -28
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1899 -1899
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1457 -1457
- package/kotlin/ktor-ktor-client-auth.js +261 -261
- package/kotlin/ktor-ktor-client-content-negotiation.js +158 -158
- package/kotlin/ktor-ktor-client-core.js +1822 -1822
- package/kotlin/ktor-ktor-client-logging.js +654 -654
- package/kotlin/ktor-ktor-events.js +13 -13
- package/kotlin/ktor-ktor-http-cio.js +374 -374
- package/kotlin/ktor-ktor-http.js +779 -779
- package/kotlin/ktor-ktor-io.js +632 -632
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/kotlin/ktor-ktor-serialization-kotlinx.js +155 -155
- package/kotlin/ktor-ktor-serialization.js +74 -74
- package/kotlin/ktor-ktor-utils.js +739 -739
- package/kotlin/ktor-ktor-websockets.js +52 -52
- package/package.json +1 -1
|
@@ -2,108 +2,108 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
|
-
var Long = kotlin_kotlin.$_$.
|
|
5
|
+
var Long = kotlin_kotlin.$_$.tf;
|
|
6
6
|
var VOID = kotlin_kotlin.$_$.b;
|
|
7
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
7
|
+
var protoOf = kotlin_kotlin.$_$.zb;
|
|
8
8
|
var MultiPartData = kotlin_io_ktor_ktor_http.$_$.n;
|
|
9
|
-
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
10
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
11
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
12
|
-
var toString = kotlin_kotlin.$_$.
|
|
9
|
+
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b1;
|
|
10
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ab;
|
|
11
|
+
var Unit_instance = kotlin_kotlin.$_$.a5;
|
|
12
|
+
var toString = kotlin_kotlin.$_$.cc;
|
|
13
13
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.n1;
|
|
14
|
-
var abs = kotlin_kotlin.$_$.
|
|
14
|
+
var abs = kotlin_kotlin.$_$.dc;
|
|
15
15
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.d1;
|
|
16
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
17
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
18
|
-
var SequenceScope = kotlin_kotlin.$_$.
|
|
19
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
20
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
16
|
+
var CoroutineImpl = kotlin_kotlin.$_$.i9;
|
|
17
|
+
var THROW_CCE = kotlin_kotlin.$_$.yf;
|
|
18
|
+
var SequenceScope = kotlin_kotlin.$_$.xc;
|
|
19
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.s8;
|
|
20
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.fb;
|
|
21
21
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
|
|
22
|
-
var sequence = kotlin_kotlin.$_$.
|
|
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.$_$.
|
|
24
|
+
var fill = kotlin_kotlin.$_$.s6;
|
|
25
|
+
var isIntArray = kotlin_kotlin.$_$.ob;
|
|
26
26
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.f2;
|
|
27
|
-
var endsWith = kotlin_kotlin.$_$.
|
|
28
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
29
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
30
|
-
var Char = kotlin_kotlin.$_$.
|
|
27
|
+
var endsWith = kotlin_kotlin.$_$.hd;
|
|
28
|
+
var charSequenceLength = kotlin_kotlin.$_$.pa;
|
|
29
|
+
var charSequenceGet = kotlin_kotlin.$_$.oa;
|
|
30
|
+
var Char = kotlin_kotlin.$_$.jf;
|
|
31
31
|
var Char__compareTo_impl_ypi4mb = kotlin_kotlin.$_$.g2;
|
|
32
|
-
var contains = kotlin_kotlin.$_$.
|
|
33
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
32
|
+
var contains = kotlin_kotlin.$_$.cd;
|
|
33
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.qa;
|
|
34
34
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.l2;
|
|
35
|
-
var IllegalStateException = kotlin_kotlin.$_$.
|
|
35
|
+
var IllegalStateException = kotlin_kotlin.$_$.sf;
|
|
36
36
|
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.q1;
|
|
37
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
37
|
+
var captureStack = kotlin_kotlin.$_$.ka;
|
|
38
38
|
var readUTF8LineTo = kotlin_io_ktor_ktor_io.$_$.h;
|
|
39
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.$_$.cb;
|
|
42
|
+
var setOf = kotlin_kotlin.$_$.x7;
|
|
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.$_$.l7;
|
|
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.$_$.
|
|
52
|
-
var produce = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
53
|
-
var startsWith = kotlin_kotlin.$_$.
|
|
49
|
+
var toString_0 = kotlin_kotlin.$_$.ue;
|
|
50
|
+
var toByte = kotlin_kotlin.$_$.ac;
|
|
51
|
+
var copyOfRange = kotlin_kotlin.$_$.b6;
|
|
52
|
+
var produce = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.n;
|
|
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
|
-
var ProducerScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
57
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
56
|
+
var ProducerScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l;
|
|
57
|
+
var isInterface = kotlin_kotlin.$_$.pb;
|
|
58
58
|
var counted = kotlin_io_ktor_ktor_io.$_$.p1;
|
|
59
59
|
var writer = kotlin_io_ktor_ktor_io.$_$.t1;
|
|
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.$_$.
|
|
62
|
+
var compare = kotlin_kotlin.$_$.q9;
|
|
63
63
|
var skipIfFound = kotlin_io_ktor_ktor_io.$_$.j;
|
|
64
64
|
var ByteChannel = kotlin_io_ktor_ktor_io.$_$.j1;
|
|
65
|
-
var CompletableDeferred = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
65
|
+
var CompletableDeferred = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.w;
|
|
66
66
|
var CancellationException_init_$Create$ = kotlin_kotlin.$_$.x;
|
|
67
67
|
var close = kotlin_io_ktor_ktor_io.$_$.o1;
|
|
68
|
-
var subtract = kotlin_kotlin.$_$.
|
|
69
|
-
var convertToInt = kotlin_kotlin.$_$.
|
|
68
|
+
var subtract = kotlin_kotlin.$_$.ea;
|
|
69
|
+
var convertToInt = kotlin_kotlin.$_$.s9;
|
|
70
70
|
var readPacket = kotlin_io_ktor_ktor_io.$_$.e;
|
|
71
71
|
var EOFException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
|
|
72
72
|
var copyTo = kotlin_io_ktor_ktor_io.$_$.a;
|
|
73
|
-
var add = kotlin_kotlin.$_$.
|
|
74
|
-
var fromInt = kotlin_kotlin.$_$.
|
|
73
|
+
var add = kotlin_kotlin.$_$.n9;
|
|
74
|
+
var fromInt = kotlin_kotlin.$_$.w9;
|
|
75
75
|
var toByteArray = kotlin_io_ktor_ktor_io.$_$.d1;
|
|
76
76
|
var ByteString = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.c;
|
|
77
77
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.s;
|
|
78
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
78
|
+
var compareTo = kotlin_kotlin.$_$.ra;
|
|
79
79
|
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.x1;
|
|
80
|
-
var Collection = kotlin_kotlin.$_$.
|
|
81
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
82
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
83
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
80
|
+
var Collection = kotlin_kotlin.$_$.c5;
|
|
81
|
+
var emptyList = kotlin_kotlin.$_$.p6;
|
|
82
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.bb;
|
|
83
|
+
var ensureNotNull = kotlin_kotlin.$_$.qg;
|
|
84
84
|
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.c1;
|
|
85
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
86
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
87
|
-
var CharSequence = kotlin_kotlin.$_$.
|
|
85
|
+
var isCharSequence = kotlin_kotlin.$_$.lb;
|
|
86
|
+
var getStringHashCode = kotlin_kotlin.$_$.ya;
|
|
87
|
+
var CharSequence = kotlin_kotlin.$_$.if;
|
|
88
88
|
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.u1;
|
|
89
89
|
var NoPoolImpl = kotlin_io_ktor_ktor_io.$_$.i1;
|
|
90
|
-
var charArray = kotlin_kotlin.$_$.
|
|
91
|
-
var shiftLeft = kotlin_kotlin.$_$.
|
|
90
|
+
var charArray = kotlin_kotlin.$_$.ma;
|
|
91
|
+
var shiftLeft = kotlin_kotlin.$_$.ca;
|
|
92
92
|
var NumberFormatException_init_$Create$ = kotlin_kotlin.$_$.y1;
|
|
93
93
|
var toString_1 = kotlin_kotlin.$_$.m2;
|
|
94
|
-
var charCodeAt = kotlin_kotlin.$_$.
|
|
94
|
+
var charCodeAt = kotlin_kotlin.$_$.na;
|
|
95
95
|
var Companion_getInstance_0 = kotlin_io_ktor_ktor_http.$_$.h;
|
|
96
|
-
var numberRangeToNumber = kotlin_kotlin.$_$.
|
|
97
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
96
|
+
var numberRangeToNumber = kotlin_kotlin.$_$.wb;
|
|
97
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.v5;
|
|
98
98
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.i;
|
|
99
|
-
var numberToLong = kotlin_kotlin.$_$.
|
|
100
|
-
var toLongArray = kotlin_kotlin.$_$.
|
|
99
|
+
var numberToLong = kotlin_kotlin.$_$.ba;
|
|
100
|
+
var toLongArray = kotlin_kotlin.$_$.h8;
|
|
101
101
|
var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.j2;
|
|
102
102
|
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.i2;
|
|
103
|
-
var toByteArray_0 = kotlin_kotlin.$_$.
|
|
103
|
+
var toByteArray_0 = kotlin_kotlin.$_$.c8;
|
|
104
104
|
var IOException = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.g;
|
|
105
105
|
var IOException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.b;
|
|
106
|
-
var isWhitespace = kotlin_kotlin.$_$.
|
|
106
|
+
var isWhitespace = kotlin_kotlin.$_$.qd;
|
|
107
107
|
//endregion
|
|
108
108
|
//region block: pre-declaration
|
|
109
109
|
initMetadataForClass(CIOMultipartDataBase, 'CIOMultipartDataBase', VOID, VOID, [MultiPartData, CoroutineScope], [0, 1]);
|
|
@@ -135,12 +135,12 @@
|
|
|
135
135
|
//endregion
|
|
136
136
|
function CIOMultipartDataBase(coroutineContext, channel, contentType, contentLength, formFieldLimit) {
|
|
137
137
|
formFieldLimit = formFieldLimit === VOID ? new Long(65536, 0) : formFieldLimit;
|
|
138
|
-
this.
|
|
139
|
-
this.
|
|
140
|
-
this.
|
|
138
|
+
this.x33_1 = coroutineContext;
|
|
139
|
+
this.y33_1 = null;
|
|
140
|
+
this.z33_1 = parseMultipart(this, channel, contentType, contentLength, formFieldLimit);
|
|
141
141
|
}
|
|
142
142
|
protoOf(CIOMultipartDataBase).js = function () {
|
|
143
|
-
return this.
|
|
143
|
+
return this.x33_1;
|
|
144
144
|
};
|
|
145
145
|
function get_IntArrayPool() {
|
|
146
146
|
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
@@ -153,103 +153,103 @@
|
|
|
153
153
|
}
|
|
154
154
|
var HeadersDataPool;
|
|
155
155
|
function thresholdReached($this) {
|
|
156
|
-
return $this.
|
|
156
|
+
return $this.b34_1 >= $this.c34_1 * 0.75;
|
|
157
157
|
}
|
|
158
158
|
function resize($this) {
|
|
159
|
-
var prevSize = $this.
|
|
160
|
-
var prevData = $this.
|
|
161
|
-
$this.
|
|
162
|
-
$this.
|
|
159
|
+
var prevSize = $this.b34_1;
|
|
160
|
+
var prevData = $this.d34_1;
|
|
161
|
+
$this.b34_1 = 0;
|
|
162
|
+
$this.c34_1 = imul($this.c34_1, 2) | 128;
|
|
163
163
|
var tmp = $this;
|
|
164
164
|
// Inline function 'kotlin.apply' call
|
|
165
|
-
var this_0 = get_HeadersDataPool().
|
|
166
|
-
this_0.
|
|
167
|
-
tmp.
|
|
168
|
-
var _iterator__ex2g4s = prevData.
|
|
165
|
+
var this_0 = get_HeadersDataPool().k1w();
|
|
166
|
+
this_0.g34(imul(prevData.f34(), 2) | 1);
|
|
167
|
+
tmp.d34_1 = this_0;
|
|
168
|
+
var _iterator__ex2g4s = prevData.h34().r();
|
|
169
169
|
while (_iterator__ex2g4s.s()) {
|
|
170
170
|
var headerOffset = _iterator__ex2g4s.t();
|
|
171
|
-
$this.
|
|
171
|
+
$this.j34(prevData.i34(headerOffset + 1 | 0), prevData.i34(headerOffset + 2 | 0), prevData.i34(headerOffset + 3 | 0), prevData.i34(headerOffset + 4 | 0));
|
|
172
172
|
}
|
|
173
|
-
get_HeadersDataPool().
|
|
173
|
+
get_HeadersDataPool().l1w(prevData);
|
|
174
174
|
// Inline function 'kotlin.require' call
|
|
175
175
|
// Inline function 'kotlin.require' call
|
|
176
|
-
if (!(prevSize === $this.
|
|
176
|
+
if (!(prevSize === $this.b34_1)) {
|
|
177
177
|
var message = 'Failed requirement.';
|
|
178
178
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
function headerHasName($this, name, headerOffset) {
|
|
182
|
-
var nameStartIndex = $this.
|
|
183
|
-
var nameEndIndex = $this.
|
|
184
|
-
return equalsLowerCase($this.
|
|
182
|
+
var nameStartIndex = $this.d34_1.i34(headerOffset + 1 | 0);
|
|
183
|
+
var nameEndIndex = $this.d34_1.i34(headerOffset + 2 | 0);
|
|
184
|
+
return equalsLowerCase($this.a34_1, nameStartIndex, nameEndIndex, name);
|
|
185
185
|
}
|
|
186
186
|
function HttpHeadersMap(builder) {
|
|
187
|
-
this.
|
|
188
|
-
this.
|
|
189
|
-
this.
|
|
190
|
-
this.
|
|
187
|
+
this.a34_1 = builder;
|
|
188
|
+
this.b34_1 = 0;
|
|
189
|
+
this.c34_1 = 0;
|
|
190
|
+
this.d34_1 = get_HeadersDataPool().k1w();
|
|
191
191
|
}
|
|
192
|
-
protoOf(HttpHeadersMap).
|
|
193
|
-
if (this.
|
|
192
|
+
protoOf(HttpHeadersMap).i2k = function (name) {
|
|
193
|
+
if (this.b34_1 === 0)
|
|
194
194
|
return null;
|
|
195
195
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
196
196
|
var this_0 = hashCodeLowerCase(name);
|
|
197
197
|
var hash = abs(this_0);
|
|
198
|
-
var headerIndex = hash % this.
|
|
199
|
-
while (!(this.
|
|
198
|
+
var headerIndex = hash % this.c34_1 | 0;
|
|
199
|
+
while (!(this.d34_1.i34(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
200
200
|
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
201
|
-
return this.
|
|
201
|
+
return this.k34(imul(headerIndex, 6));
|
|
202
202
|
}
|
|
203
|
-
headerIndex = (headerIndex + 1 | 0) % this.
|
|
203
|
+
headerIndex = (headerIndex + 1 | 0) % this.c34_1 | 0;
|
|
204
204
|
}
|
|
205
205
|
return null;
|
|
206
206
|
};
|
|
207
|
-
protoOf(HttpHeadersMap).
|
|
208
|
-
return this.
|
|
207
|
+
protoOf(HttpHeadersMap).l34 = function () {
|
|
208
|
+
return this.d34_1.h34();
|
|
209
209
|
};
|
|
210
|
-
protoOf(HttpHeadersMap).
|
|
210
|
+
protoOf(HttpHeadersMap).j34 = function (nameStartIndex, nameEndIndex, valueStartIndex, valueEndIndex) {
|
|
211
211
|
if (thresholdReached(this)) {
|
|
212
212
|
resize(this);
|
|
213
213
|
}
|
|
214
214
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
215
|
-
var this_0 = hashCodeLowerCase(this.
|
|
215
|
+
var this_0 = hashCodeLowerCase(this.a34_1, nameStartIndex, nameEndIndex);
|
|
216
216
|
var hash = abs(this_0);
|
|
217
|
-
var name = this.
|
|
218
|
-
var headerIndex = hash % this.
|
|
217
|
+
var name = this.a34_1.c(nameStartIndex, nameEndIndex);
|
|
218
|
+
var headerIndex = hash % this.c34_1 | 0;
|
|
219
219
|
var sameNameHeaderIndex = -1;
|
|
220
|
-
while (!(this.
|
|
220
|
+
while (!(this.d34_1.i34(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
221
221
|
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
222
222
|
sameNameHeaderIndex = headerIndex;
|
|
223
223
|
}
|
|
224
|
-
headerIndex = (headerIndex + 1 | 0) % this.
|
|
224
|
+
headerIndex = (headerIndex + 1 | 0) % this.c34_1 | 0;
|
|
225
225
|
}
|
|
226
226
|
var headerOffset = imul(headerIndex, 6);
|
|
227
|
-
this.
|
|
228
|
-
this.
|
|
229
|
-
this.
|
|
230
|
-
this.
|
|
231
|
-
this.
|
|
232
|
-
this.
|
|
227
|
+
this.d34_1.t34(headerOffset + 0 | 0, hash);
|
|
228
|
+
this.d34_1.t34(headerOffset + 1 | 0, nameStartIndex);
|
|
229
|
+
this.d34_1.t34(headerOffset + 2 | 0, nameEndIndex);
|
|
230
|
+
this.d34_1.t34(headerOffset + 3 | 0, valueStartIndex);
|
|
231
|
+
this.d34_1.t34(headerOffset + 4 | 0, valueEndIndex);
|
|
232
|
+
this.d34_1.t34(headerOffset + 5 | 0, -1);
|
|
233
233
|
if (!(sameNameHeaderIndex === -1)) {
|
|
234
|
-
this.
|
|
234
|
+
this.d34_1.t34(imul(sameNameHeaderIndex, 6) + 5 | 0, headerIndex);
|
|
235
235
|
}
|
|
236
|
-
this.
|
|
236
|
+
this.b34_1 = this.b34_1 + 1 | 0;
|
|
237
237
|
};
|
|
238
|
-
protoOf(HttpHeadersMap).
|
|
239
|
-
var nameStartIndex = this.
|
|
240
|
-
var nameEndIndex = this.
|
|
241
|
-
return this.
|
|
238
|
+
protoOf(HttpHeadersMap).u34 = function (headerOffset) {
|
|
239
|
+
var nameStartIndex = this.d34_1.i34(headerOffset + 1 | 0);
|
|
240
|
+
var nameEndIndex = this.d34_1.i34(headerOffset + 2 | 0);
|
|
241
|
+
return this.a34_1.c(nameStartIndex, nameEndIndex);
|
|
242
242
|
};
|
|
243
|
-
protoOf(HttpHeadersMap).
|
|
244
|
-
var valueStartIndex = this.
|
|
245
|
-
var valueEndIndex = this.
|
|
246
|
-
return this.
|
|
243
|
+
protoOf(HttpHeadersMap).k34 = function (headerOffset) {
|
|
244
|
+
var valueStartIndex = this.d34_1.i34(headerOffset + 3 | 0);
|
|
245
|
+
var valueEndIndex = this.d34_1.i34(headerOffset + 4 | 0);
|
|
246
|
+
return this.a34_1.c(valueStartIndex, valueEndIndex);
|
|
247
247
|
};
|
|
248
|
-
protoOf(HttpHeadersMap).
|
|
249
|
-
this.
|
|
250
|
-
this.
|
|
251
|
-
get_HeadersDataPool().
|
|
252
|
-
this.
|
|
248
|
+
protoOf(HttpHeadersMap).e1h = function () {
|
|
249
|
+
this.b34_1 = 0;
|
|
250
|
+
this.c34_1 = 0;
|
|
251
|
+
get_HeadersDataPool().l1w(this.d34_1);
|
|
252
|
+
this.d34_1 = get_HeadersDataPool().k1w();
|
|
253
253
|
};
|
|
254
254
|
protoOf(HttpHeadersMap).toString = function () {
|
|
255
255
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -259,17 +259,17 @@
|
|
|
259
259
|
return this_0.toString();
|
|
260
260
|
};
|
|
261
261
|
function HeadersData$headersStarts$slambda(this$0, resultContinuation) {
|
|
262
|
-
this.
|
|
262
|
+
this.d35_1 = this$0;
|
|
263
263
|
CoroutineImpl.call(this, resultContinuation);
|
|
264
264
|
}
|
|
265
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
266
|
-
var tmp = this.
|
|
265
|
+
protoOf(HeadersData$headersStarts$slambda).j35 = function ($this$sequence, $completion) {
|
|
266
|
+
var tmp = this.k35($this$sequence, $completion);
|
|
267
267
|
tmp.w8_1 = Unit_instance;
|
|
268
268
|
tmp.x8_1 = null;
|
|
269
269
|
return tmp.c9();
|
|
270
270
|
};
|
|
271
271
|
protoOf(HeadersData$headersStarts$slambda).o9 = function (p1, $completion) {
|
|
272
|
-
return this.
|
|
272
|
+
return this.j35(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
273
273
|
};
|
|
274
274
|
protoOf(HeadersData$headersStarts$slambda).c9 = function () {
|
|
275
275
|
var suspendResult = this.w8_1;
|
|
@@ -279,29 +279,29 @@
|
|
|
279
279
|
switch (tmp) {
|
|
280
280
|
case 0:
|
|
281
281
|
this.v8_1 = 7;
|
|
282
|
-
this.
|
|
283
|
-
this.
|
|
282
|
+
this.f35_1 = 0;
|
|
283
|
+
this.i35_1 = this.d35_1.e34_1.r();
|
|
284
284
|
this.u8_1 = 1;
|
|
285
285
|
continue $sm;
|
|
286
286
|
case 1:
|
|
287
|
-
if (!this.
|
|
287
|
+
if (!this.i35_1.s()) {
|
|
288
288
|
this.u8_1 = 6;
|
|
289
289
|
continue $sm;
|
|
290
290
|
}
|
|
291
291
|
|
|
292
|
-
this.
|
|
293
|
-
this.
|
|
292
|
+
this.h35_1 = this.i35_1.t();
|
|
293
|
+
this.g35_1 = 0;
|
|
294
294
|
this.u8_1 = 2;
|
|
295
295
|
continue $sm;
|
|
296
296
|
case 2:
|
|
297
|
-
if (!(this.
|
|
297
|
+
if (!(this.g35_1 < this.h35_1.length)) {
|
|
298
298
|
this.u8_1 = 5;
|
|
299
299
|
continue $sm;
|
|
300
300
|
}
|
|
301
301
|
|
|
302
|
-
if (!(this.
|
|
302
|
+
if (!(this.d35_1.i34(this.f35_1 + 0 | 0) === -1)) {
|
|
303
303
|
this.u8_1 = 3;
|
|
304
|
-
suspendResult = this.
|
|
304
|
+
suspendResult = this.e35_1.ng(this.f35_1, this);
|
|
305
305
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
306
306
|
return suspendResult;
|
|
307
307
|
}
|
|
@@ -315,8 +315,8 @@
|
|
|
315
315
|
this.u8_1 = 4;
|
|
316
316
|
continue $sm;
|
|
317
317
|
case 4:
|
|
318
|
-
this.
|
|
319
|
-
this.
|
|
318
|
+
this.g35_1 = this.g35_1 + 6 | 0;
|
|
319
|
+
this.f35_1 = this.f35_1 + 6 | 0;
|
|
320
320
|
this.u8_1 = 2;
|
|
321
321
|
continue $sm;
|
|
322
322
|
case 5:
|
|
@@ -338,15 +338,15 @@
|
|
|
338
338
|
}
|
|
339
339
|
while (true);
|
|
340
340
|
};
|
|
341
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
342
|
-
var i = new HeadersData$headersStarts$slambda(this.
|
|
343
|
-
i.
|
|
341
|
+
protoOf(HeadersData$headersStarts$slambda).k35 = function ($this$sequence, completion) {
|
|
342
|
+
var i = new HeadersData$headersStarts$slambda(this.d35_1, completion);
|
|
343
|
+
i.e35_1 = $this$sequence;
|
|
344
344
|
return i;
|
|
345
345
|
};
|
|
346
346
|
function HeadersData$headersStarts$slambda_0(this$0, resultContinuation) {
|
|
347
347
|
var i = new HeadersData$headersStarts$slambda(this$0, resultContinuation);
|
|
348
348
|
var l = function ($this$sequence, $completion) {
|
|
349
|
-
return i.
|
|
349
|
+
return i.j35($this$sequence, $completion);
|
|
350
350
|
};
|
|
351
351
|
l.$arity = 1;
|
|
352
352
|
return l;
|
|
@@ -354,55 +354,55 @@
|
|
|
354
354
|
function HeadersData() {
|
|
355
355
|
var tmp = this;
|
|
356
356
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
357
|
-
tmp.
|
|
357
|
+
tmp.e34_1 = ArrayList_init_$Create$();
|
|
358
358
|
}
|
|
359
|
-
protoOf(HeadersData).
|
|
360
|
-
return this.
|
|
359
|
+
protoOf(HeadersData).f34 = function () {
|
|
360
|
+
return this.e34_1.u();
|
|
361
361
|
};
|
|
362
|
-
protoOf(HeadersData).
|
|
362
|
+
protoOf(HeadersData).g34 = function (subArraysCount) {
|
|
363
363
|
// Inline function 'kotlin.repeat' call
|
|
364
364
|
var inductionVariable = 0;
|
|
365
365
|
if (inductionVariable < subArraysCount)
|
|
366
366
|
do {
|
|
367
367
|
var index = inductionVariable;
|
|
368
368
|
inductionVariable = inductionVariable + 1 | 0;
|
|
369
|
-
this.
|
|
369
|
+
this.e34_1.p(get_IntArrayPool().k1w());
|
|
370
370
|
}
|
|
371
371
|
while (inductionVariable < subArraysCount);
|
|
372
372
|
};
|
|
373
|
-
protoOf(HeadersData).
|
|
374
|
-
return this.
|
|
373
|
+
protoOf(HeadersData).i34 = function (index) {
|
|
374
|
+
return this.e34_1.v(index / 768 | 0)[index % 768 | 0];
|
|
375
375
|
};
|
|
376
|
-
protoOf(HeadersData).
|
|
377
|
-
this.
|
|
376
|
+
protoOf(HeadersData).t34 = function (index, value) {
|
|
377
|
+
this.e34_1.v(index / 768 | 0)[index % 768 | 0] = value;
|
|
378
378
|
};
|
|
379
|
-
protoOf(HeadersData).
|
|
379
|
+
protoOf(HeadersData).h34 = function () {
|
|
380
380
|
return sequence(HeadersData$headersStarts$slambda_0(this, null));
|
|
381
381
|
};
|
|
382
|
-
protoOf(HeadersData).
|
|
383
|
-
var _iterator__ex2g4s = this.
|
|
382
|
+
protoOf(HeadersData).e1h = function () {
|
|
383
|
+
var _iterator__ex2g4s = this.e34_1.r();
|
|
384
384
|
while (_iterator__ex2g4s.s()) {
|
|
385
385
|
var array = _iterator__ex2g4s.t();
|
|
386
|
-
get_IntArrayPool().
|
|
386
|
+
get_IntArrayPool().l1w(array);
|
|
387
387
|
}
|
|
388
|
-
this.
|
|
388
|
+
this.e34_1.b2();
|
|
389
389
|
};
|
|
390
390
|
function dumpTo(_this__u8e3s4, indent, out) {
|
|
391
391
|
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
392
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
392
|
+
var _iterator__ex2g4s = _this__u8e3s4.l34().r();
|
|
393
393
|
while (_iterator__ex2g4s.s()) {
|
|
394
394
|
var offset = _iterator__ex2g4s.t();
|
|
395
395
|
out.q(indent);
|
|
396
|
-
out.q(_this__u8e3s4.
|
|
396
|
+
out.q(_this__u8e3s4.u34(offset));
|
|
397
397
|
out.q(' => ');
|
|
398
|
-
out.q(_this__u8e3s4.
|
|
398
|
+
out.q(_this__u8e3s4.k34(offset));
|
|
399
399
|
out.q('\n');
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
402
|
function IntArrayPool$1() {
|
|
403
403
|
DefaultPool.call(this, 1000);
|
|
404
404
|
}
|
|
405
|
-
protoOf(IntArrayPool$1).
|
|
405
|
+
protoOf(IntArrayPool$1).d1w = function () {
|
|
406
406
|
var tmp = 0;
|
|
407
407
|
var tmp_0 = new Int32Array(768);
|
|
408
408
|
while (tmp < 768) {
|
|
@@ -411,25 +411,25 @@
|
|
|
411
411
|
}
|
|
412
412
|
return tmp_0;
|
|
413
413
|
};
|
|
414
|
-
protoOf(IntArrayPool$1).
|
|
414
|
+
protoOf(IntArrayPool$1).o35 = function (instance) {
|
|
415
415
|
fill(instance, -1);
|
|
416
|
-
return protoOf(DefaultPool).
|
|
416
|
+
return protoOf(DefaultPool).i1w.call(this, instance);
|
|
417
417
|
};
|
|
418
|
-
protoOf(IntArrayPool$1).
|
|
419
|
-
return this.
|
|
418
|
+
protoOf(IntArrayPool$1).i1w = function (instance) {
|
|
419
|
+
return this.o35(isIntArray(instance) ? instance : THROW_CCE());
|
|
420
420
|
};
|
|
421
421
|
function HeadersDataPool$1() {
|
|
422
422
|
DefaultPool.call(this, 1000);
|
|
423
423
|
}
|
|
424
|
-
protoOf(HeadersDataPool$1).
|
|
424
|
+
protoOf(HeadersDataPool$1).d1w = function () {
|
|
425
425
|
return new HeadersData();
|
|
426
426
|
};
|
|
427
|
-
protoOf(HeadersDataPool$1).
|
|
428
|
-
instance.
|
|
429
|
-
return protoOf(DefaultPool).
|
|
427
|
+
protoOf(HeadersDataPool$1).s35 = function (instance) {
|
|
428
|
+
instance.e1h();
|
|
429
|
+
return protoOf(DefaultPool).i1w.call(this, instance);
|
|
430
430
|
};
|
|
431
|
-
protoOf(HeadersDataPool$1).
|
|
432
|
-
return this.
|
|
431
|
+
protoOf(HeadersDataPool$1).i1w = function (instance) {
|
|
432
|
+
return this.s35(instance instanceof HeadersData ? instance : THROW_CCE());
|
|
433
433
|
};
|
|
434
434
|
var properties_initialized_HttpHeadersMap_kt_kotj4w;
|
|
435
435
|
function _init_properties_HttpHeadersMap_kt__hwatby() {
|
|
@@ -459,16 +459,16 @@
|
|
|
459
459
|
}
|
|
460
460
|
function parseHeaderName(text, range) {
|
|
461
461
|
_init_properties_HttpParser_kt__gbdom1();
|
|
462
|
-
var index = range.
|
|
463
|
-
var end = range.
|
|
462
|
+
var index = range.g36_1;
|
|
463
|
+
var end = range.h36_1;
|
|
464
464
|
while (index < end) {
|
|
465
465
|
var ch = text.b(index);
|
|
466
|
-
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.
|
|
467
|
-
range.
|
|
466
|
+
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.g36_1)) {
|
|
467
|
+
range.g36_1 = index + 1 | 0;
|
|
468
468
|
return index;
|
|
469
469
|
}
|
|
470
470
|
if (isDelimiter(ch)) {
|
|
471
|
-
parseHeaderNameFailed(text, index, range.
|
|
471
|
+
parseHeaderNameFailed(text, index, range.g36_1, ch);
|
|
472
472
|
}
|
|
473
473
|
index = index + 1 | 0;
|
|
474
474
|
}
|
|
@@ -476,12 +476,12 @@
|
|
|
476
476
|
}
|
|
477
477
|
function parseHeaderValue(text, range) {
|
|
478
478
|
_init_properties_HttpParser_kt__gbdom1();
|
|
479
|
-
var start = range.
|
|
480
|
-
var end = range.
|
|
479
|
+
var start = range.g36_1;
|
|
480
|
+
var end = range.h36_1;
|
|
481
481
|
var index = start;
|
|
482
482
|
index = skipSpacesAndHorizontalTabs(text, index, end);
|
|
483
483
|
if (index >= end) {
|
|
484
|
-
range.
|
|
484
|
+
range.g36_1 = end;
|
|
485
485
|
return Unit_instance;
|
|
486
486
|
}
|
|
487
487
|
var valueStart = index;
|
|
@@ -495,8 +495,8 @@
|
|
|
495
495
|
valueLastIndex = index;
|
|
496
496
|
index = index + 1 | 0;
|
|
497
497
|
}
|
|
498
|
-
range.
|
|
499
|
-
range.
|
|
498
|
+
range.g36_1 = valueStart;
|
|
499
|
+
range.h36_1 = valueLastIndex + 1 | 0;
|
|
500
500
|
}
|
|
501
501
|
function validateHostHeader(host) {
|
|
502
502
|
_init_properties_HttpParser_kt__gbdom1();
|
|
@@ -537,9 +537,9 @@
|
|
|
537
537
|
}
|
|
538
538
|
function noColonFound(text, range) {
|
|
539
539
|
_init_properties_HttpParser_kt__gbdom1();
|
|
540
|
-
var tmp2 = range.
|
|
540
|
+
var tmp2 = range.g36_1;
|
|
541
541
|
// Inline function 'kotlin.text.substring' call
|
|
542
|
-
var endIndex = range.
|
|
542
|
+
var endIndex = range.h36_1;
|
|
543
543
|
var tmp$ret$0 = toString(charSequenceSubSequence(text, tmp2, endIndex));
|
|
544
544
|
throw new ParserException('No colon in HTTP header in ' + tmp$ret$0 + ' in builder: \n' + toString(text));
|
|
545
545
|
}
|
|
@@ -555,9 +555,9 @@
|
|
|
555
555
|
}
|
|
556
556
|
function $parseHeadersCOROUTINE$(input, builder, range, resultContinuation) {
|
|
557
557
|
CoroutineImpl.call(this, resultContinuation);
|
|
558
|
-
this.
|
|
559
|
-
this.
|
|
560
|
-
this.
|
|
558
|
+
this.b36_1 = input;
|
|
559
|
+
this.c36_1 = builder;
|
|
560
|
+
this.d36_1 = range;
|
|
561
561
|
}
|
|
562
562
|
protoOf($parseHeadersCOROUTINE$).c9 = function () {
|
|
563
563
|
var suspendResult = this.w8_1;
|
|
@@ -567,7 +567,7 @@
|
|
|
567
567
|
switch (tmp) {
|
|
568
568
|
case 0:
|
|
569
569
|
this.v8_1 = 7;
|
|
570
|
-
this.
|
|
570
|
+
this.e36_1 = new HttpHeadersMap(this.c36_1);
|
|
571
571
|
this.v8_1 = 6;
|
|
572
572
|
this.u8_1 = 1;
|
|
573
573
|
continue $sm;
|
|
@@ -578,7 +578,7 @@
|
|
|
578
578
|
}
|
|
579
579
|
|
|
580
580
|
this.u8_1 = 2;
|
|
581
|
-
suspendResult = readUTF8LineTo(this.
|
|
581
|
+
suspendResult = readUTF8LineTo(this.b36_1, this.c36_1, 8192, get_httpLineEndings(), this);
|
|
582
582
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
583
583
|
return suspendResult;
|
|
584
584
|
}
|
|
@@ -586,7 +586,7 @@
|
|
|
586
586
|
continue $sm;
|
|
587
587
|
case 2:
|
|
588
588
|
if (!suspendResult) {
|
|
589
|
-
this.
|
|
589
|
+
this.e36_1.e1h();
|
|
590
590
|
return null;
|
|
591
591
|
} else {
|
|
592
592
|
this.u8_1 = 3;
|
|
@@ -594,9 +594,9 @@
|
|
|
594
594
|
}
|
|
595
595
|
|
|
596
596
|
case 3:
|
|
597
|
-
this.
|
|
598
|
-
this.
|
|
599
|
-
if (this.
|
|
597
|
+
this.d36_1.h36_1 = this.c36_1.s34_1;
|
|
598
|
+
this.f36_1 = this.d36_1.h36_1 - this.d36_1.g36_1 | 0;
|
|
599
|
+
if (this.f36_1 === 0) {
|
|
600
600
|
this.u8_1 = 5;
|
|
601
601
|
continue $sm;
|
|
602
602
|
} else {
|
|
@@ -605,34 +605,34 @@
|
|
|
605
605
|
}
|
|
606
606
|
|
|
607
607
|
case 4:
|
|
608
|
-
if (this.
|
|
608
|
+
if (this.f36_1 >= 8192) {
|
|
609
609
|
var message = 'Header line length limit exceeded';
|
|
610
610
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
611
611
|
}
|
|
612
612
|
|
|
613
|
-
var nameStart = this.
|
|
614
|
-
var nameEnd = parseHeaderName(this.
|
|
615
|
-
var headerEnd = this.
|
|
616
|
-
parseHeaderValue(this.
|
|
617
|
-
var valueStart = this.
|
|
618
|
-
var valueEnd = this.
|
|
619
|
-
this.
|
|
620
|
-
this.
|
|
613
|
+
var nameStart = this.d36_1.g36_1;
|
|
614
|
+
var nameEnd = parseHeaderName(this.c36_1, this.d36_1);
|
|
615
|
+
var headerEnd = this.d36_1.h36_1;
|
|
616
|
+
parseHeaderValue(this.c36_1, this.d36_1);
|
|
617
|
+
var valueStart = this.d36_1.g36_1;
|
|
618
|
+
var valueEnd = this.d36_1.h36_1;
|
|
619
|
+
this.d36_1.g36_1 = headerEnd;
|
|
620
|
+
this.e36_1.j34(nameStart, nameEnd, valueStart, valueEnd);
|
|
621
621
|
this.u8_1 = 1;
|
|
622
622
|
continue $sm;
|
|
623
623
|
case 5:
|
|
624
|
-
var host = this.
|
|
624
|
+
var host = this.e36_1.i2k(HttpHeaders_getInstance().g2u_1);
|
|
625
625
|
if (!(host == null)) {
|
|
626
626
|
validateHostHeader(host);
|
|
627
627
|
}
|
|
628
628
|
|
|
629
|
-
return this.
|
|
629
|
+
return this.e36_1;
|
|
630
630
|
case 6:
|
|
631
631
|
this.v8_1 = 7;
|
|
632
632
|
var tmp_0 = this.x8_1;
|
|
633
633
|
if (tmp_0 instanceof Error) {
|
|
634
634
|
var t = this.x8_1;
|
|
635
|
-
this.
|
|
635
|
+
this.e36_1.e1h();
|
|
636
636
|
throw t;
|
|
637
637
|
} else {
|
|
638
638
|
throw this.x8_1;
|
|
@@ -657,8 +657,8 @@
|
|
|
657
657
|
if (!properties_initialized_HttpParser_kt_uedryv) {
|
|
658
658
|
properties_initialized_HttpParser_kt_uedryv = true;
|
|
659
659
|
hostForbiddenSymbols = setOf([new Char(_Char___init__impl__6a9atx(47)), new Char(_Char___init__impl__6a9atx(63)), new Char(_Char___init__impl__6a9atx(35)), new Char(_Char___init__impl__6a9atx(64))]);
|
|
660
|
-
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance().
|
|
661
|
-
versions = Companion_instance.
|
|
660
|
+
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance().i1r_1, Companion_getInstance().h1r_1);
|
|
661
|
+
versions = Companion_instance.i36(listOf(['HTTP/1.0', 'HTTP/1.1']));
|
|
662
662
|
}
|
|
663
663
|
}
|
|
664
664
|
function get_CrLf() {
|
|
@@ -673,23 +673,23 @@
|
|
|
673
673
|
var PrefixString;
|
|
674
674
|
function Preamble(body) {
|
|
675
675
|
MultipartEvent.call(this);
|
|
676
|
-
this.
|
|
676
|
+
this.j36_1 = body;
|
|
677
677
|
}
|
|
678
678
|
function MultipartPart(headers, body) {
|
|
679
679
|
MultipartEvent.call(this);
|
|
680
|
-
this.
|
|
681
|
-
this.
|
|
680
|
+
this.k36_1 = headers;
|
|
681
|
+
this.l36_1 = body;
|
|
682
682
|
}
|
|
683
683
|
function Epilogue(body) {
|
|
684
684
|
MultipartEvent.call(this);
|
|
685
|
-
this.
|
|
685
|
+
this.m36_1 = body;
|
|
686
686
|
}
|
|
687
687
|
function MultipartEvent() {
|
|
688
688
|
}
|
|
689
689
|
function parseMultipart(_this__u8e3s4, input, contentType, contentLength, maxPartSize) {
|
|
690
690
|
maxPartSize = maxPartSize === VOID ? new Long(-1, 2147483647) : maxPartSize;
|
|
691
691
|
_init_properties_Multipart_kt__ato98a();
|
|
692
|
-
if (!MultiPart_getInstance().
|
|
692
|
+
if (!MultiPart_getInstance().w2r(contentType)) {
|
|
693
693
|
throw new UnsupportedMediaTypeExceptionCIO('Failed to parse multipart: Content-Type should be multipart/* but it is ' + toString(contentType));
|
|
694
694
|
}
|
|
695
695
|
var boundaryByteBuffer = parseBoundaryInternal(contentType);
|
|
@@ -866,18 +866,18 @@
|
|
|
866
866
|
boundaryBytes[_unary__edvuaz] = value;
|
|
867
867
|
}
|
|
868
868
|
function parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation) {
|
|
869
|
-
this.
|
|
870
|
-
this.
|
|
869
|
+
this.g38_1 = $firstBoundary;
|
|
870
|
+
this.h38_1 = $countedInput;
|
|
871
871
|
CoroutineImpl.call(this, resultContinuation);
|
|
872
872
|
}
|
|
873
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
874
|
-
var tmp = this.
|
|
873
|
+
protoOf(parseMultipart$slambda$slambda).j38 = function ($this$writer, $completion) {
|
|
874
|
+
var tmp = this.k38($this$writer, $completion);
|
|
875
875
|
tmp.w8_1 = Unit_instance;
|
|
876
876
|
tmp.x8_1 = null;
|
|
877
877
|
return tmp.c9();
|
|
878
878
|
};
|
|
879
879
|
protoOf(parseMultipart$slambda$slambda).o9 = function (p1, $completion) {
|
|
880
|
-
return this.
|
|
880
|
+
return this.j38(p1 instanceof WriterScope ? p1 : THROW_CCE(), $completion);
|
|
881
881
|
};
|
|
882
882
|
protoOf(parseMultipart$slambda$slambda).c9 = function () {
|
|
883
883
|
var suspendResult = this.w8_1;
|
|
@@ -888,7 +888,7 @@
|
|
|
888
888
|
case 0:
|
|
889
889
|
this.v8_1 = 3;
|
|
890
890
|
this.u8_1 = 1;
|
|
891
|
-
suspendResult = parsePreambleImpl(this.
|
|
891
|
+
suspendResult = parsePreambleImpl(this.g38_1, this.h38_1, this.i38_1.u1t_1, new Long(8193, 0), this);
|
|
892
892
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
893
893
|
return suspendResult;
|
|
894
894
|
}
|
|
@@ -896,7 +896,7 @@
|
|
|
896
896
|
continue $sm;
|
|
897
897
|
case 1:
|
|
898
898
|
this.u8_1 = 2;
|
|
899
|
-
suspendResult = this.
|
|
899
|
+
suspendResult = this.i38_1.u1t_1.b1m(this);
|
|
900
900
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
901
901
|
return suspendResult;
|
|
902
902
|
}
|
|
@@ -918,34 +918,34 @@
|
|
|
918
918
|
}
|
|
919
919
|
while (true);
|
|
920
920
|
};
|
|
921
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
922
|
-
var i = new parseMultipart$slambda$slambda(this.
|
|
923
|
-
i.
|
|
921
|
+
protoOf(parseMultipart$slambda$slambda).k38 = function ($this$writer, completion) {
|
|
922
|
+
var i = new parseMultipart$slambda$slambda(this.g38_1, this.h38_1, completion);
|
|
923
|
+
i.i38_1 = $this$writer;
|
|
924
924
|
return i;
|
|
925
925
|
};
|
|
926
926
|
function parseMultipart$slambda$slambda_0($firstBoundary, $countedInput, resultContinuation) {
|
|
927
927
|
var i = new parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation);
|
|
928
928
|
var l = function ($this$writer, $completion) {
|
|
929
|
-
return i.
|
|
929
|
+
return i.j38($this$writer, $completion);
|
|
930
930
|
};
|
|
931
931
|
l.$arity = 1;
|
|
932
932
|
return l;
|
|
933
933
|
}
|
|
934
934
|
function parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
935
|
-
this.
|
|
936
|
-
this.
|
|
937
|
-
this.
|
|
938
|
-
this.
|
|
935
|
+
this.t38_1 = $input;
|
|
936
|
+
this.u38_1 = $boundaryPrefixed;
|
|
937
|
+
this.v38_1 = $maxPartSize;
|
|
938
|
+
this.w38_1 = $totalLength;
|
|
939
939
|
CoroutineImpl.call(this, resultContinuation);
|
|
940
940
|
}
|
|
941
|
-
protoOf(parseMultipart$slambda).
|
|
942
|
-
var tmp = this.
|
|
941
|
+
protoOf(parseMultipart$slambda).f39 = function ($this$produce, $completion) {
|
|
942
|
+
var tmp = this.g39($this$produce, $completion);
|
|
943
943
|
tmp.w8_1 = Unit_instance;
|
|
944
944
|
tmp.x8_1 = null;
|
|
945
945
|
return tmp.c9();
|
|
946
946
|
};
|
|
947
947
|
protoOf(parseMultipart$slambda).o9 = function (p1, $completion) {
|
|
948
|
-
return this.
|
|
948
|
+
return this.f39((!(p1 == null) ? isInterface(p1, ProducerScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
949
949
|
};
|
|
950
950
|
protoOf(parseMultipart$slambda).c9 = function () {
|
|
951
951
|
var suspendResult = this.w8_1;
|
|
@@ -955,11 +955,11 @@
|
|
|
955
955
|
switch (tmp) {
|
|
956
956
|
case 0:
|
|
957
957
|
this.v8_1 = 25;
|
|
958
|
-
this.
|
|
959
|
-
this.
|
|
960
|
-
this.
|
|
958
|
+
this.y38_1 = counted(this.t38_1);
|
|
959
|
+
this.z38_1 = this.y38_1.r1v();
|
|
960
|
+
this.d39_1 = this.u38_1.qo(get_PrefixString().u());
|
|
961
961
|
this.u8_1 = 1;
|
|
962
|
-
suspendResult = readRemaining(writer(this.
|
|
962
|
+
suspendResult = readRemaining(writer(this.x38_1, VOID, VOID, parseMultipart$slambda$slambda_0(this.d39_1, this.y38_1, null)).s1t_1, this);
|
|
963
963
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
964
964
|
return suspendResult;
|
|
965
965
|
}
|
|
@@ -969,7 +969,7 @@
|
|
|
969
969
|
var preambleData = suspendResult;
|
|
970
970
|
if (compare(get_remaining(preambleData), new Long(0, 0)) > 0) {
|
|
971
971
|
this.u8_1 = 2;
|
|
972
|
-
suspendResult = this.
|
|
972
|
+
suspendResult = this.x38_1.s19(new Preamble(preambleData), this);
|
|
973
973
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
974
974
|
return suspendResult;
|
|
975
975
|
}
|
|
@@ -986,31 +986,31 @@
|
|
|
986
986
|
this.u8_1 = 4;
|
|
987
987
|
continue $sm;
|
|
988
988
|
case 4:
|
|
989
|
-
if (!this.
|
|
989
|
+
if (!this.y38_1.y1l()) {
|
|
990
990
|
this.u8_1 = 5;
|
|
991
|
-
suspendResult = skipIfFound(this.
|
|
991
|
+
suspendResult = skipIfFound(this.y38_1, get_PrefixString(), this);
|
|
992
992
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
993
993
|
return suspendResult;
|
|
994
994
|
}
|
|
995
995
|
continue $sm;
|
|
996
996
|
} else {
|
|
997
|
-
this.
|
|
997
|
+
this.e39_1 = false;
|
|
998
998
|
this.u8_1 = 6;
|
|
999
999
|
continue $sm;
|
|
1000
1000
|
}
|
|
1001
1001
|
|
|
1002
1002
|
case 5:
|
|
1003
|
-
this.
|
|
1003
|
+
this.e39_1 = !suspendResult;
|
|
1004
1004
|
this.u8_1 = 6;
|
|
1005
1005
|
continue $sm;
|
|
1006
1006
|
case 6:
|
|
1007
|
-
if (!this.
|
|
1007
|
+
if (!this.e39_1) {
|
|
1008
1008
|
this.u8_1 = 15;
|
|
1009
1009
|
continue $sm;
|
|
1010
1010
|
}
|
|
1011
1011
|
|
|
1012
1012
|
this.u8_1 = 7;
|
|
1013
|
-
suspendResult = skipIfFound(this.
|
|
1013
|
+
suspendResult = skipIfFound(this.y38_1, get_CrLf(), this);
|
|
1014
1014
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1015
1015
|
return suspendResult;
|
|
1016
1016
|
}
|
|
@@ -1018,7 +1018,7 @@
|
|
|
1018
1018
|
continue $sm;
|
|
1019
1019
|
case 7:
|
|
1020
1020
|
this.u8_1 = 8;
|
|
1021
|
-
suspendResult = skipIfFound(this.
|
|
1021
|
+
suspendResult = skipIfFound(this.y38_1, this.d39_1, this);
|
|
1022
1022
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1023
1023
|
return suspendResult;
|
|
1024
1024
|
}
|
|
@@ -1034,42 +1034,42 @@
|
|
|
1034
1034
|
}
|
|
1035
1035
|
|
|
1036
1036
|
case 9:
|
|
1037
|
-
this.
|
|
1038
|
-
this.
|
|
1039
|
-
var part = new MultipartPart(this.
|
|
1037
|
+
this.a39_1 = new ByteChannel();
|
|
1038
|
+
this.c39_1 = CompletableDeferred();
|
|
1039
|
+
var part = new MultipartPart(this.c39_1, this.a39_1);
|
|
1040
1040
|
this.u8_1 = 10;
|
|
1041
|
-
suspendResult = this.
|
|
1041
|
+
suspendResult = this.x38_1.s19(part, this);
|
|
1042
1042
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1043
1043
|
return suspendResult;
|
|
1044
1044
|
}
|
|
1045
1045
|
|
|
1046
1046
|
continue $sm;
|
|
1047
1047
|
case 10:
|
|
1048
|
-
this.
|
|
1048
|
+
this.b39_1 = null;
|
|
1049
1049
|
this.v8_1 = 14;
|
|
1050
1050
|
this.u8_1 = 11;
|
|
1051
|
-
suspendResult = parsePartHeadersImpl(this.
|
|
1051
|
+
suspendResult = parsePartHeadersImpl(this.y38_1, this);
|
|
1052
1052
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1053
1053
|
return suspendResult;
|
|
1054
1054
|
}
|
|
1055
1055
|
|
|
1056
1056
|
continue $sm;
|
|
1057
1057
|
case 11:
|
|
1058
|
-
this.
|
|
1059
|
-
if (!this.
|
|
1060
|
-
this.
|
|
1058
|
+
this.b39_1 = suspendResult;
|
|
1059
|
+
if (!this.c39_1.r10(this.b39_1)) {
|
|
1060
|
+
this.b39_1.e1h();
|
|
1061
1061
|
throw CancellationException_init_$Create$('Multipart processing has been cancelled');
|
|
1062
1062
|
}
|
|
1063
1063
|
|
|
1064
1064
|
this.u8_1 = 12;
|
|
1065
|
-
suspendResult = parsePartBodyImpl(this.
|
|
1065
|
+
suspendResult = parsePartBodyImpl(this.u38_1, this.y38_1, this.a39_1, this.b39_1, this.v38_1, this);
|
|
1066
1066
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1067
1067
|
return suspendResult;
|
|
1068
1068
|
}
|
|
1069
1069
|
|
|
1070
1070
|
continue $sm;
|
|
1071
1071
|
case 12:
|
|
1072
|
-
this.
|
|
1072
|
+
this.a39_1.b4();
|
|
1073
1073
|
this.v8_1 = 25;
|
|
1074
1074
|
this.u8_1 = 13;
|
|
1075
1075
|
continue $sm;
|
|
@@ -1082,15 +1082,15 @@
|
|
|
1082
1082
|
var tmp_0 = this.x8_1;
|
|
1083
1083
|
if (tmp_0 instanceof Error) {
|
|
1084
1084
|
var cause = this.x8_1;
|
|
1085
|
-
if (this.
|
|
1086
|
-
var tmp0_safe_receiver = this.
|
|
1085
|
+
if (this.c39_1.s10(cause)) {
|
|
1086
|
+
var tmp0_safe_receiver = this.b39_1;
|
|
1087
1087
|
if (tmp0_safe_receiver == null)
|
|
1088
1088
|
null;
|
|
1089
1089
|
else {
|
|
1090
|
-
tmp0_safe_receiver.
|
|
1090
|
+
tmp0_safe_receiver.e1h();
|
|
1091
1091
|
}
|
|
1092
1092
|
}
|
|
1093
|
-
close(this.
|
|
1093
|
+
close(this.a39_1, cause);
|
|
1094
1094
|
throw cause;
|
|
1095
1095
|
} else {
|
|
1096
1096
|
throw this.x8_1;
|
|
@@ -1098,7 +1098,7 @@
|
|
|
1098
1098
|
|
|
1099
1099
|
case 15:
|
|
1100
1100
|
this.u8_1 = 16;
|
|
1101
|
-
suspendResult = skipIfFound(this.
|
|
1101
|
+
suspendResult = skipIfFound(this.y38_1, get_CrLf(), this);
|
|
1102
1102
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1103
1103
|
return suspendResult;
|
|
1104
1104
|
}
|
|
@@ -1106,21 +1106,21 @@
|
|
|
1106
1106
|
continue $sm;
|
|
1107
1107
|
case 16:
|
|
1108
1108
|
this.u8_1 = 17;
|
|
1109
|
-
suspendResult = skipIfFound(this.
|
|
1109
|
+
suspendResult = skipIfFound(this.y38_1, get_CrLf(), this);
|
|
1110
1110
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1111
1111
|
return suspendResult;
|
|
1112
1112
|
}
|
|
1113
1113
|
|
|
1114
1114
|
continue $sm;
|
|
1115
1115
|
case 17:
|
|
1116
|
-
if (!(this.
|
|
1117
|
-
var consumedExceptEpilogue = subtract(this.
|
|
1118
|
-
var size = subtract(this.
|
|
1116
|
+
if (!(this.w38_1 == null)) {
|
|
1117
|
+
var consumedExceptEpilogue = subtract(this.y38_1.r1v(), this.z38_1);
|
|
1118
|
+
var size = subtract(this.w38_1, consumedExceptEpilogue);
|
|
1119
1119
|
if (compare(size, new Long(2147483647, 0)) > 0)
|
|
1120
1120
|
throw IOException_init_$Create$('Failed to parse multipart: prologue is too long');
|
|
1121
1121
|
if (compare(size, new Long(0, 0)) > 0) {
|
|
1122
1122
|
this.u8_1 = 21;
|
|
1123
|
-
suspendResult = readPacket(this.
|
|
1123
|
+
suspendResult = readPacket(this.y38_1, convertToInt(size), this);
|
|
1124
1124
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1125
1125
|
return suspendResult;
|
|
1126
1126
|
}
|
|
@@ -1131,7 +1131,7 @@
|
|
|
1131
1131
|
}
|
|
1132
1132
|
} else {
|
|
1133
1133
|
this.u8_1 = 18;
|
|
1134
|
-
suspendResult = readRemaining(this.
|
|
1134
|
+
suspendResult = readRemaining(this.y38_1, this);
|
|
1135
1135
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1136
1136
|
return suspendResult;
|
|
1137
1137
|
}
|
|
@@ -1142,7 +1142,7 @@
|
|
|
1142
1142
|
var epilogueContent = suspendResult;
|
|
1143
1143
|
if (!epilogueContent.yo()) {
|
|
1144
1144
|
this.u8_1 = 19;
|
|
1145
|
-
suspendResult = this.
|
|
1145
|
+
suspendResult = this.x38_1.s19(new Epilogue(epilogueContent), this);
|
|
1146
1146
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1147
1147
|
return suspendResult;
|
|
1148
1148
|
}
|
|
@@ -1162,7 +1162,7 @@
|
|
|
1162
1162
|
var ARGUMENT = suspendResult;
|
|
1163
1163
|
var ARGUMENT_0 = new Epilogue(ARGUMENT);
|
|
1164
1164
|
this.u8_1 = 22;
|
|
1165
|
-
suspendResult = this.
|
|
1165
|
+
suspendResult = this.x38_1.s19(ARGUMENT_0, this);
|
|
1166
1166
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1167
1167
|
return suspendResult;
|
|
1168
1168
|
}
|
|
@@ -1190,22 +1190,22 @@
|
|
|
1190
1190
|
}
|
|
1191
1191
|
while (true);
|
|
1192
1192
|
};
|
|
1193
|
-
protoOf(parseMultipart$slambda).
|
|
1194
|
-
var i = new parseMultipart$slambda(this.
|
|
1195
|
-
i.
|
|
1193
|
+
protoOf(parseMultipart$slambda).g39 = function ($this$produce, completion) {
|
|
1194
|
+
var i = new parseMultipart$slambda(this.t38_1, this.u38_1, this.v38_1, this.w38_1, completion);
|
|
1195
|
+
i.x38_1 = $this$produce;
|
|
1196
1196
|
return i;
|
|
1197
1197
|
};
|
|
1198
1198
|
function parseMultipart$slambda_0($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
1199
1199
|
var i = new parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation);
|
|
1200
1200
|
var l = function ($this$produce, $completion) {
|
|
1201
|
-
return i.
|
|
1201
|
+
return i.f39($this$produce, $completion);
|
|
1202
1202
|
};
|
|
1203
1203
|
l.$arity = 1;
|
|
1204
1204
|
return l;
|
|
1205
1205
|
}
|
|
1206
1206
|
function $parsePartHeadersImplCOROUTINE$(input, resultContinuation) {
|
|
1207
1207
|
CoroutineImpl.call(this, resultContinuation);
|
|
1208
|
-
this.
|
|
1208
|
+
this.v36_1 = input;
|
|
1209
1209
|
}
|
|
1210
1210
|
protoOf($parsePartHeadersImplCOROUTINE$).c9 = function () {
|
|
1211
1211
|
var suspendResult = this.w8_1;
|
|
@@ -1215,10 +1215,10 @@
|
|
|
1215
1215
|
switch (tmp) {
|
|
1216
1216
|
case 0:
|
|
1217
1217
|
this.v8_1 = 3;
|
|
1218
|
-
this.
|
|
1218
|
+
this.w36_1 = new CharArrayBuilder();
|
|
1219
1219
|
this.v8_1 = 2;
|
|
1220
1220
|
this.u8_1 = 1;
|
|
1221
|
-
suspendResult = parseHeaders(this.
|
|
1221
|
+
suspendResult = parseHeaders(this.v36_1, this.w36_1, VOID, this);
|
|
1222
1222
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1223
1223
|
return suspendResult;
|
|
1224
1224
|
}
|
|
@@ -1239,7 +1239,7 @@
|
|
|
1239
1239
|
var tmp_1 = this.x8_1;
|
|
1240
1240
|
if (tmp_1 instanceof Error) {
|
|
1241
1241
|
var t = this.x8_1;
|
|
1242
|
-
this.
|
|
1242
|
+
this.w36_1.e1h();
|
|
1243
1243
|
throw t;
|
|
1244
1244
|
} else {
|
|
1245
1245
|
throw this.x8_1;
|
|
@@ -1261,11 +1261,11 @@
|
|
|
1261
1261
|
};
|
|
1262
1262
|
function $parsePartBodyImplCOROUTINE$(boundaryPrefixed, input, output, headers, limit, resultContinuation) {
|
|
1263
1263
|
CoroutineImpl.call(this, resultContinuation);
|
|
1264
|
-
this.
|
|
1265
|
-
this.
|
|
1266
|
-
this.
|
|
1267
|
-
this.
|
|
1268
|
-
this.
|
|
1264
|
+
this.f37_1 = boundaryPrefixed;
|
|
1265
|
+
this.g37_1 = input;
|
|
1266
|
+
this.h37_1 = output;
|
|
1267
|
+
this.i37_1 = headers;
|
|
1268
|
+
this.j37_1 = limit;
|
|
1269
1269
|
}
|
|
1270
1270
|
protoOf($parsePartBodyImplCOROUTINE$).c9 = function () {
|
|
1271
1271
|
var suspendResult = this.w8_1;
|
|
@@ -1275,35 +1275,35 @@
|
|
|
1275
1275
|
switch (tmp) {
|
|
1276
1276
|
case 0:
|
|
1277
1277
|
this.v8_1 = 6;
|
|
1278
|
-
var tmp0_safe_receiver = this.
|
|
1278
|
+
var tmp0_safe_receiver = this.i37_1.i2k('Content-Length');
|
|
1279
1279
|
var contentLength = tmp0_safe_receiver == null ? null : parseDecLong(tmp0_safe_receiver);
|
|
1280
1280
|
if (contentLength == null) {
|
|
1281
1281
|
this.u8_1 = 3;
|
|
1282
|
-
suspendResult = readUntil(this.
|
|
1282
|
+
suspendResult = readUntil(this.g37_1, this.f37_1, this.h37_1, this.j37_1, true, this);
|
|
1283
1283
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1284
1284
|
return suspendResult;
|
|
1285
1285
|
}
|
|
1286
1286
|
continue $sm;
|
|
1287
1287
|
} else {
|
|
1288
|
-
var containsUpper = this.
|
|
1288
|
+
var containsUpper = this.j37_1;
|
|
1289
1289
|
if (compare(new Long(0, 0), contentLength) <= 0 ? compare(contentLength, containsUpper) <= 0 : false) {
|
|
1290
1290
|
this.u8_1 = 1;
|
|
1291
|
-
suspendResult = copyTo(this.
|
|
1291
|
+
suspendResult = copyTo(this.g37_1, this.h37_1, contentLength, this);
|
|
1292
1292
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1293
1293
|
return suspendResult;
|
|
1294
1294
|
}
|
|
1295
1295
|
continue $sm;
|
|
1296
1296
|
} else {
|
|
1297
1297
|
var tmp_0 = this;
|
|
1298
|
-
throwLimitExceeded(contentLength, this.
|
|
1298
|
+
throwLimitExceeded(contentLength, this.j37_1);
|
|
1299
1299
|
}
|
|
1300
1300
|
}
|
|
1301
1301
|
|
|
1302
1302
|
break;
|
|
1303
1303
|
case 1:
|
|
1304
|
-
this.
|
|
1304
|
+
this.m37_1 = suspendResult;
|
|
1305
1305
|
this.u8_1 = 2;
|
|
1306
|
-
suspendResult = skipIfFoundReadCount(this.
|
|
1306
|
+
suspendResult = skipIfFoundReadCount(this.g37_1, this.f37_1, this);
|
|
1307
1307
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1308
1308
|
return suspendResult;
|
|
1309
1309
|
}
|
|
@@ -1311,24 +1311,24 @@
|
|
|
1311
1311
|
continue $sm;
|
|
1312
1312
|
case 2:
|
|
1313
1313
|
var ARGUMENT = suspendResult;
|
|
1314
|
-
this.
|
|
1314
|
+
this.l37_1 = add(this.m37_1, ARGUMENT);
|
|
1315
1315
|
this.u8_1 = 4;
|
|
1316
1316
|
continue $sm;
|
|
1317
1317
|
case 3:
|
|
1318
|
-
this.
|
|
1318
|
+
this.l37_1 = suspendResult;
|
|
1319
1319
|
this.u8_1 = 4;
|
|
1320
1320
|
continue $sm;
|
|
1321
1321
|
case 4:
|
|
1322
|
-
this.
|
|
1322
|
+
this.k37_1 = this.l37_1;
|
|
1323
1323
|
this.u8_1 = 5;
|
|
1324
|
-
suspendResult = this.
|
|
1324
|
+
suspendResult = this.h37_1.p1l(this);
|
|
1325
1325
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1326
1326
|
return suspendResult;
|
|
1327
1327
|
}
|
|
1328
1328
|
|
|
1329
1329
|
continue $sm;
|
|
1330
1330
|
case 5:
|
|
1331
|
-
return this.
|
|
1331
|
+
return this.k37_1;
|
|
1332
1332
|
case 6:
|
|
1333
1333
|
throw this.x8_1;
|
|
1334
1334
|
}
|
|
@@ -1345,8 +1345,8 @@
|
|
|
1345
1345
|
};
|
|
1346
1346
|
function $skipIfFoundReadCountCOROUTINE$(_this__u8e3s4, prefix, resultContinuation) {
|
|
1347
1347
|
CoroutineImpl.call(this, resultContinuation);
|
|
1348
|
-
this.
|
|
1349
|
-
this.
|
|
1348
|
+
this.v37_1 = _this__u8e3s4;
|
|
1349
|
+
this.w37_1 = prefix;
|
|
1350
1350
|
}
|
|
1351
1351
|
protoOf($skipIfFoundReadCountCOROUTINE$).c9 = function () {
|
|
1352
1352
|
var suspendResult = this.w8_1;
|
|
@@ -1357,7 +1357,7 @@
|
|
|
1357
1357
|
case 0:
|
|
1358
1358
|
this.v8_1 = 3;
|
|
1359
1359
|
this.u8_1 = 1;
|
|
1360
|
-
suspendResult = skipIfFound(this.
|
|
1360
|
+
suspendResult = skipIfFound(this.v37_1, this.w37_1, this);
|
|
1361
1361
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1362
1362
|
return suspendResult;
|
|
1363
1363
|
}
|
|
@@ -1366,18 +1366,18 @@
|
|
|
1366
1366
|
case 1:
|
|
1367
1367
|
if (suspendResult) {
|
|
1368
1368
|
var tmp_0 = this;
|
|
1369
|
-
tmp_0.
|
|
1369
|
+
tmp_0.x37_1 = fromInt(this.w37_1.u());
|
|
1370
1370
|
this.u8_1 = 2;
|
|
1371
1371
|
continue $sm;
|
|
1372
1372
|
} else {
|
|
1373
1373
|
var tmp_1 = this;
|
|
1374
|
-
tmp_1.
|
|
1374
|
+
tmp_1.x37_1 = new Long(0, 0);
|
|
1375
1375
|
this.u8_1 = 2;
|
|
1376
1376
|
continue $sm;
|
|
1377
1377
|
}
|
|
1378
1378
|
|
|
1379
1379
|
case 2:
|
|
1380
|
-
return this.
|
|
1380
|
+
return this.x37_1;
|
|
1381
1381
|
case 3:
|
|
1382
1382
|
throw this.x8_1;
|
|
1383
1383
|
}
|
|
@@ -1465,16 +1465,16 @@
|
|
|
1465
1465
|
return new Char(charSequenceGet(s, idx));
|
|
1466
1466
|
}
|
|
1467
1467
|
function Node(ch, exact, children) {
|
|
1468
|
-
this.
|
|
1469
|
-
this.
|
|
1470
|
-
this.
|
|
1468
|
+
this.h39_1 = ch;
|
|
1469
|
+
this.i39_1 = exact;
|
|
1470
|
+
this.j39_1 = children;
|
|
1471
1471
|
var tmp = this;
|
|
1472
1472
|
var tmp_0 = 0;
|
|
1473
1473
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1474
1474
|
var tmp_1 = Array(256);
|
|
1475
1475
|
while (tmp_0 < 256) {
|
|
1476
1476
|
var tmp_2 = tmp_0;
|
|
1477
|
-
var tmp0 = this.
|
|
1477
|
+
var tmp0 = this.j39_1;
|
|
1478
1478
|
var tmp$ret$3;
|
|
1479
1479
|
$l$block_0: {
|
|
1480
1480
|
// Inline function 'kotlin.collections.singleOrNull' call
|
|
@@ -1484,7 +1484,7 @@
|
|
|
1484
1484
|
while (_iterator__ex2g4s.s()) {
|
|
1485
1485
|
var element = _iterator__ex2g4s.t();
|
|
1486
1486
|
// Inline function 'kotlin.code' call
|
|
1487
|
-
var this_0 = element.
|
|
1487
|
+
var this_0 = element.h39_1;
|
|
1488
1488
|
if (Char__toInt_impl_vasixd(this_0) === tmp_2) {
|
|
1489
1489
|
if (found) {
|
|
1490
1490
|
tmp$ret$3 = null;
|
|
@@ -1503,15 +1503,15 @@
|
|
|
1503
1503
|
tmp_1[tmp_2] = tmp$ret$3;
|
|
1504
1504
|
tmp_0 = tmp_0 + 1 | 0;
|
|
1505
1505
|
}
|
|
1506
|
-
tmp.
|
|
1506
|
+
tmp.k39_1 = tmp_1;
|
|
1507
1507
|
}
|
|
1508
1508
|
function Companion() {
|
|
1509
1509
|
}
|
|
1510
|
-
protoOf(Companion).
|
|
1510
|
+
protoOf(Companion).i36 = function (from) {
|
|
1511
1511
|
var tmp = AsciiCharTree$Companion$build$lambda;
|
|
1512
|
-
return this.
|
|
1512
|
+
return this.l39(from, tmp, AsciiCharTree$Companion$build$lambda_0);
|
|
1513
1513
|
};
|
|
1514
|
-
protoOf(Companion).
|
|
1514
|
+
protoOf(Companion).l39 = function (from, length, charAt) {
|
|
1515
1515
|
var tmp$ret$0;
|
|
1516
1516
|
$l$block_0: {
|
|
1517
1517
|
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
@@ -1588,10 +1588,10 @@
|
|
|
1588
1588
|
return Companion_instance;
|
|
1589
1589
|
}
|
|
1590
1590
|
function AsciiCharTree(root) {
|
|
1591
|
-
this.
|
|
1591
|
+
this.m39_1 = root;
|
|
1592
1592
|
}
|
|
1593
1593
|
function getImpl($this, index) {
|
|
1594
|
-
return bufferForIndex($this, index)[index % ensureNotNull($this.
|
|
1594
|
+
return bufferForIndex($this, index)[index % ensureNotNull($this.o34_1).length | 0];
|
|
1595
1595
|
}
|
|
1596
1596
|
function copy($this, startIndex, endIndex) {
|
|
1597
1597
|
if (startIndex === endIndex)
|
|
@@ -1620,27 +1620,27 @@
|
|
|
1620
1620
|
return builder;
|
|
1621
1621
|
}
|
|
1622
1622
|
function SubSequenceImpl($outer, start, end) {
|
|
1623
|
-
this.
|
|
1624
|
-
this.
|
|
1625
|
-
this.
|
|
1626
|
-
this.
|
|
1623
|
+
this.q39_1 = $outer;
|
|
1624
|
+
this.n39_1 = start;
|
|
1625
|
+
this.o39_1 = end;
|
|
1626
|
+
this.p39_1 = null;
|
|
1627
1627
|
}
|
|
1628
1628
|
protoOf(SubSequenceImpl).a = function () {
|
|
1629
|
-
return this.
|
|
1629
|
+
return this.o39_1 - this.n39_1 | 0;
|
|
1630
1630
|
};
|
|
1631
1631
|
protoOf(SubSequenceImpl).b = function (index) {
|
|
1632
|
-
var withOffset = index + this.
|
|
1632
|
+
var withOffset = index + this.n39_1 | 0;
|
|
1633
1633
|
// Inline function 'kotlin.require' call
|
|
1634
1634
|
if (!(index >= 0)) {
|
|
1635
1635
|
var message = 'index is negative: ' + index;
|
|
1636
1636
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1637
1637
|
}
|
|
1638
1638
|
// Inline function 'kotlin.require' call
|
|
1639
|
-
if (!(withOffset < this.
|
|
1639
|
+
if (!(withOffset < this.o39_1)) {
|
|
1640
1640
|
var message_0 = 'index (' + index + ') should be less than length (' + this.a() + ')';
|
|
1641
1641
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1642
1642
|
}
|
|
1643
|
-
return getImpl(this.
|
|
1643
|
+
return getImpl(this.q39_1, withOffset);
|
|
1644
1644
|
};
|
|
1645
1645
|
protoOf(SubSequenceImpl).c = function (startIndex, endIndex) {
|
|
1646
1646
|
// Inline function 'kotlin.require' call
|
|
@@ -1654,21 +1654,21 @@
|
|
|
1654
1654
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1655
1655
|
}
|
|
1656
1656
|
// Inline function 'kotlin.require' call
|
|
1657
|
-
if (!(endIndex <= (this.
|
|
1657
|
+
if (!(endIndex <= (this.o39_1 - this.n39_1 | 0))) {
|
|
1658
1658
|
var message_1 = 'end should be less than length (' + this.a() + ')';
|
|
1659
1659
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1660
1660
|
}
|
|
1661
1661
|
if (startIndex === endIndex)
|
|
1662
1662
|
return '';
|
|
1663
|
-
return new SubSequenceImpl(this.
|
|
1663
|
+
return new SubSequenceImpl(this.q39_1, this.n39_1 + startIndex | 0, this.n39_1 + endIndex | 0);
|
|
1664
1664
|
};
|
|
1665
1665
|
protoOf(SubSequenceImpl).toString = function () {
|
|
1666
|
-
var tmp0_elvis_lhs = this.
|
|
1666
|
+
var tmp0_elvis_lhs = this.p39_1;
|
|
1667
1667
|
var tmp;
|
|
1668
1668
|
if (tmp0_elvis_lhs == null) {
|
|
1669
1669
|
// Inline function 'kotlin.also' call
|
|
1670
|
-
var this_0 = toString(copy(this.
|
|
1671
|
-
this.
|
|
1670
|
+
var this_0 = toString(copy(this.q39_1, this.n39_1, this.o39_1));
|
|
1671
|
+
this.p39_1 = this_0;
|
|
1672
1672
|
tmp = this_0;
|
|
1673
1673
|
} else {
|
|
1674
1674
|
tmp = tmp0_elvis_lhs;
|
|
@@ -1680,20 +1680,20 @@
|
|
|
1680
1680
|
return false;
|
|
1681
1681
|
if (!(charSequenceLength(other) === this.a()))
|
|
1682
1682
|
return false;
|
|
1683
|
-
return rangeEqualsImpl(this.
|
|
1683
|
+
return rangeEqualsImpl(this.q39_1, this.n39_1, other, 0, this.a());
|
|
1684
1684
|
};
|
|
1685
1685
|
protoOf(SubSequenceImpl).hashCode = function () {
|
|
1686
|
-
var tmp0_safe_receiver = this.
|
|
1686
|
+
var tmp0_safe_receiver = this.p39_1;
|
|
1687
1687
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1688
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this.
|
|
1688
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this.q39_1, this.n39_1, this.o39_1) : tmp1_elvis_lhs;
|
|
1689
1689
|
};
|
|
1690
1690
|
function bufferForIndex($this, index) {
|
|
1691
|
-
var list = $this.
|
|
1691
|
+
var list = $this.n34_1;
|
|
1692
1692
|
if (list == null) {
|
|
1693
1693
|
if (index >= 2048) {
|
|
1694
1694
|
throwSingleBuffer($this, index);
|
|
1695
1695
|
}
|
|
1696
|
-
var tmp0_elvis_lhs = $this.
|
|
1696
|
+
var tmp0_elvis_lhs = $this.o34_1;
|
|
1697
1697
|
var tmp;
|
|
1698
1698
|
if (tmp0_elvis_lhs == null) {
|
|
1699
1699
|
throwSingleBuffer($this, index);
|
|
@@ -1702,29 +1702,29 @@
|
|
|
1702
1702
|
}
|
|
1703
1703
|
return tmp;
|
|
1704
1704
|
}
|
|
1705
|
-
return list.v(index / ensureNotNull($this.
|
|
1705
|
+
return list.v(index / ensureNotNull($this.o34_1).length | 0);
|
|
1706
1706
|
}
|
|
1707
1707
|
function throwSingleBuffer($this, index) {
|
|
1708
|
-
if ($this.
|
|
1708
|
+
if ($this.q34_1)
|
|
1709
1709
|
throw IllegalStateException_init_$Create$('Buffer is already released');
|
|
1710
1710
|
throw IndexOutOfBoundsException_init_$Create$('' + index + ' is not in range [0; ' + currentPosition($this) + ')');
|
|
1711
1711
|
}
|
|
1712
1712
|
function nonFullBuffer($this) {
|
|
1713
|
-
return $this.
|
|
1713
|
+
return $this.r34_1 === 0 ? appendNewArray($this) : ensureNotNull($this.o34_1);
|
|
1714
1714
|
}
|
|
1715
1715
|
function appendNewArray($this) {
|
|
1716
|
-
var newBuffer = $this.
|
|
1717
|
-
var existing = $this.
|
|
1718
|
-
$this.
|
|
1719
|
-
$this.
|
|
1720
|
-
$this.
|
|
1716
|
+
var newBuffer = $this.m34_1.k1w();
|
|
1717
|
+
var existing = $this.o34_1;
|
|
1718
|
+
$this.o34_1 = newBuffer;
|
|
1719
|
+
$this.r34_1 = newBuffer.length;
|
|
1720
|
+
$this.q34_1 = false;
|
|
1721
1721
|
if (!(existing == null)) {
|
|
1722
|
-
var tmp0_elvis_lhs = $this.
|
|
1722
|
+
var tmp0_elvis_lhs = $this.n34_1;
|
|
1723
1723
|
var tmp;
|
|
1724
1724
|
if (tmp0_elvis_lhs == null) {
|
|
1725
1725
|
// Inline function 'kotlin.also' call
|
|
1726
1726
|
var this_0 = ArrayList_init_$Create$();
|
|
1727
|
-
$this.
|
|
1727
|
+
$this.n34_1 = this_0;
|
|
1728
1728
|
this_0.p(existing);
|
|
1729
1729
|
tmp = this_0;
|
|
1730
1730
|
} else {
|
|
@@ -1763,20 +1763,20 @@
|
|
|
1763
1763
|
return hc;
|
|
1764
1764
|
}
|
|
1765
1765
|
function currentPosition($this) {
|
|
1766
|
-
return ensureNotNull($this.
|
|
1766
|
+
return ensureNotNull($this.o34_1).length - $this.r34_1 | 0;
|
|
1767
1767
|
}
|
|
1768
1768
|
function CharArrayBuilder(pool) {
|
|
1769
1769
|
pool = pool === VOID ? get_CharArrayPool() : pool;
|
|
1770
|
-
this.
|
|
1771
|
-
this.
|
|
1772
|
-
this.
|
|
1773
|
-
this.
|
|
1774
|
-
this.
|
|
1775
|
-
this.
|
|
1776
|
-
this.
|
|
1770
|
+
this.m34_1 = pool;
|
|
1771
|
+
this.n34_1 = null;
|
|
1772
|
+
this.o34_1 = null;
|
|
1773
|
+
this.p34_1 = null;
|
|
1774
|
+
this.q34_1 = false;
|
|
1775
|
+
this.r34_1 = 0;
|
|
1776
|
+
this.s34_1 = 0;
|
|
1777
1777
|
}
|
|
1778
1778
|
protoOf(CharArrayBuilder).a = function () {
|
|
1779
|
-
return this.
|
|
1779
|
+
return this.s34_1;
|
|
1780
1780
|
};
|
|
1781
1781
|
protoOf(CharArrayBuilder).b = function (index) {
|
|
1782
1782
|
// Inline function 'kotlin.require' call
|
|
@@ -1785,8 +1785,8 @@
|
|
|
1785
1785
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1786
1786
|
}
|
|
1787
1787
|
// Inline function 'kotlin.require' call
|
|
1788
|
-
if (!(index < this.
|
|
1789
|
-
var message_0 = 'index ' + index + ' is not in range [0, ' + this.
|
|
1788
|
+
if (!(index < this.s34_1)) {
|
|
1789
|
+
var message_0 = 'index ' + index + ' is not in range [0, ' + this.s34_1 + ')';
|
|
1790
1790
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1791
1791
|
}
|
|
1792
1792
|
return getImpl(this, index);
|
|
@@ -1803,19 +1803,19 @@
|
|
|
1803
1803
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1804
1804
|
}
|
|
1805
1805
|
// Inline function 'kotlin.require' call
|
|
1806
|
-
if (!(endIndex <= this.
|
|
1807
|
-
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.
|
|
1806
|
+
if (!(endIndex <= this.s34_1)) {
|
|
1807
|
+
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.s34_1 + ')';
|
|
1808
1808
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1809
1809
|
}
|
|
1810
1810
|
return new SubSequenceImpl(this, startIndex, endIndex);
|
|
1811
1811
|
};
|
|
1812
1812
|
protoOf(CharArrayBuilder).toString = function () {
|
|
1813
|
-
var tmp0_elvis_lhs = this.
|
|
1813
|
+
var tmp0_elvis_lhs = this.p34_1;
|
|
1814
1814
|
var tmp;
|
|
1815
1815
|
if (tmp0_elvis_lhs == null) {
|
|
1816
1816
|
// Inline function 'kotlin.also' call
|
|
1817
|
-
var this_0 = toString(copy(this, 0, this.
|
|
1818
|
-
this.
|
|
1817
|
+
var this_0 = toString(copy(this, 0, this.s34_1));
|
|
1818
|
+
this.p34_1 = this_0;
|
|
1819
1819
|
tmp = this_0;
|
|
1820
1820
|
} else {
|
|
1821
1821
|
tmp = tmp0_elvis_lhs;
|
|
@@ -1825,20 +1825,20 @@
|
|
|
1825
1825
|
protoOf(CharArrayBuilder).equals = function (other) {
|
|
1826
1826
|
if (!(!(other == null) ? isCharSequence(other) : false))
|
|
1827
1827
|
return false;
|
|
1828
|
-
if (!(this.
|
|
1828
|
+
if (!(this.s34_1 === charSequenceLength(other)))
|
|
1829
1829
|
return false;
|
|
1830
|
-
return rangeEqualsImpl(this, 0, other, 0, this.
|
|
1830
|
+
return rangeEqualsImpl(this, 0, other, 0, this.s34_1);
|
|
1831
1831
|
};
|
|
1832
1832
|
protoOf(CharArrayBuilder).hashCode = function () {
|
|
1833
|
-
var tmp0_safe_receiver = this.
|
|
1833
|
+
var tmp0_safe_receiver = this.p34_1;
|
|
1834
1834
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1835
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.
|
|
1835
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.s34_1) : tmp1_elvis_lhs;
|
|
1836
1836
|
};
|
|
1837
1837
|
protoOf(CharArrayBuilder).g8 = function (value) {
|
|
1838
|
-
nonFullBuffer(this)[ensureNotNull(this.
|
|
1839
|
-
this.
|
|
1840
|
-
this.
|
|
1841
|
-
this.
|
|
1838
|
+
nonFullBuffer(this)[ensureNotNull(this.o34_1).length - this.r34_1 | 0] = value;
|
|
1839
|
+
this.p34_1 = null;
|
|
1840
|
+
this.r34_1 = this.r34_1 - 1 | 0;
|
|
1841
|
+
this.s34_1 = this.s34_1 + 1 | 0;
|
|
1842
1842
|
return this;
|
|
1843
1843
|
};
|
|
1844
1844
|
protoOf(CharArrayBuilder).mc = function (value, startIndex, endIndex) {
|
|
@@ -1847,10 +1847,10 @@
|
|
|
1847
1847
|
var current = startIndex;
|
|
1848
1848
|
while (current < endIndex) {
|
|
1849
1849
|
var buffer = nonFullBuffer(this);
|
|
1850
|
-
var offset = buffer.length - this.
|
|
1850
|
+
var offset = buffer.length - this.r34_1 | 0;
|
|
1851
1851
|
var tmp0 = endIndex - current | 0;
|
|
1852
1852
|
// Inline function 'kotlin.math.min' call
|
|
1853
|
-
var b = this.
|
|
1853
|
+
var b = this.r34_1;
|
|
1854
1854
|
var bytesToCopy = Math.min(tmp0, b);
|
|
1855
1855
|
var inductionVariable = 0;
|
|
1856
1856
|
if (inductionVariable < bytesToCopy)
|
|
@@ -1861,10 +1861,10 @@
|
|
|
1861
1861
|
}
|
|
1862
1862
|
while (inductionVariable < bytesToCopy);
|
|
1863
1863
|
current = current + bytesToCopy | 0;
|
|
1864
|
-
this.
|
|
1864
|
+
this.r34_1 = this.r34_1 - bytesToCopy | 0;
|
|
1865
1865
|
}
|
|
1866
|
-
this.
|
|
1867
|
-
this.
|
|
1866
|
+
this.p34_1 = null;
|
|
1867
|
+
this.s34_1 = this.s34_1 + (endIndex - startIndex | 0) | 0;
|
|
1868
1868
|
return this;
|
|
1869
1869
|
};
|
|
1870
1870
|
protoOf(CharArrayBuilder).q = function (value) {
|
|
@@ -1872,34 +1872,34 @@
|
|
|
1872
1872
|
return this;
|
|
1873
1873
|
return this.mc(value, 0, charSequenceLength(value));
|
|
1874
1874
|
};
|
|
1875
|
-
protoOf(CharArrayBuilder).
|
|
1876
|
-
var list = this.
|
|
1875
|
+
protoOf(CharArrayBuilder).e1h = function () {
|
|
1876
|
+
var list = this.n34_1;
|
|
1877
1877
|
if (!(list == null)) {
|
|
1878
|
-
this.
|
|
1878
|
+
this.o34_1 = null;
|
|
1879
1879
|
var inductionVariable = 0;
|
|
1880
1880
|
var last = list.u();
|
|
1881
1881
|
if (inductionVariable < last)
|
|
1882
1882
|
do {
|
|
1883
1883
|
var i = inductionVariable;
|
|
1884
1884
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1885
|
-
this.
|
|
1885
|
+
this.m34_1.l1w(list.v(i));
|
|
1886
1886
|
}
|
|
1887
1887
|
while (inductionVariable < last);
|
|
1888
1888
|
} else {
|
|
1889
|
-
var tmp0_safe_receiver = this.
|
|
1889
|
+
var tmp0_safe_receiver = this.o34_1;
|
|
1890
1890
|
if (tmp0_safe_receiver == null)
|
|
1891
1891
|
null;
|
|
1892
1892
|
else {
|
|
1893
1893
|
// Inline function 'kotlin.let' call
|
|
1894
|
-
this.
|
|
1894
|
+
this.m34_1.l1w(tmp0_safe_receiver);
|
|
1895
1895
|
}
|
|
1896
|
-
this.
|
|
1896
|
+
this.o34_1 = null;
|
|
1897
1897
|
}
|
|
1898
|
-
this.
|
|
1899
|
-
this.
|
|
1900
|
-
this.
|
|
1901
|
-
this.
|
|
1902
|
-
this.
|
|
1898
|
+
this.q34_1 = true;
|
|
1899
|
+
this.n34_1 = null;
|
|
1900
|
+
this.p34_1 = null;
|
|
1901
|
+
this.s34_1 = 0;
|
|
1902
|
+
this.r34_1 = 0;
|
|
1903
1903
|
};
|
|
1904
1904
|
function get_CharArrayPool() {
|
|
1905
1905
|
_init_properties_CharArrayPool_kt__u4nq0d();
|
|
@@ -1909,13 +1909,13 @@
|
|
|
1909
1909
|
function CharArrayPool$1() {
|
|
1910
1910
|
NoPoolImpl.call(this);
|
|
1911
1911
|
}
|
|
1912
|
-
protoOf(CharArrayPool$1).
|
|
1912
|
+
protoOf(CharArrayPool$1).k1w = function () {
|
|
1913
1913
|
return charArray(2048);
|
|
1914
1914
|
};
|
|
1915
1915
|
function CharArrayPool$2() {
|
|
1916
1916
|
DefaultPool.call(this, 4096);
|
|
1917
1917
|
}
|
|
1918
|
-
protoOf(CharArrayPool$2).
|
|
1918
|
+
protoOf(CharArrayPool$2).d1w = function () {
|
|
1919
1919
|
return charArray(2048);
|
|
1920
1920
|
};
|
|
1921
1921
|
var properties_initialized_CharArrayPool_kt_aq0u0f;
|
|
@@ -2106,20 +2106,20 @@
|
|
|
2106
2106
|
}
|
|
2107
2107
|
function DefaultHttpMethods$lambda(it) {
|
|
2108
2108
|
_init_properties_Chars_kt__d3i39x();
|
|
2109
|
-
return it.
|
|
2109
|
+
return it.p2x_1.length;
|
|
2110
2110
|
}
|
|
2111
2111
|
function DefaultHttpMethods$lambda_0(m, idx) {
|
|
2112
2112
|
_init_properties_Chars_kt__d3i39x();
|
|
2113
|
-
return new Char(charCodeAt(m.
|
|
2113
|
+
return new Char(charCodeAt(m.p2x_1, idx));
|
|
2114
2114
|
}
|
|
2115
2115
|
var properties_initialized_Chars_kt_phjfhp;
|
|
2116
2116
|
function _init_properties_Chars_kt__d3i39x() {
|
|
2117
2117
|
if (!properties_initialized_Chars_kt_phjfhp) {
|
|
2118
2118
|
properties_initialized_Chars_kt_phjfhp = true;
|
|
2119
2119
|
var tmp = Companion_instance;
|
|
2120
|
-
var tmp_0 = Companion_getInstance_0().
|
|
2120
|
+
var tmp_0 = Companion_getInstance_0().o2x_1;
|
|
2121
2121
|
var tmp_1 = DefaultHttpMethods$lambda;
|
|
2122
|
-
DefaultHttpMethods = tmp.
|
|
2122
|
+
DefaultHttpMethods = tmp.l39(tmp_0, tmp_1, DefaultHttpMethods$lambda_0);
|
|
2123
2123
|
// Inline function 'kotlin.collections.map' call
|
|
2124
2124
|
var this_0 = numberRangeToNumber(0, 255);
|
|
2125
2125
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -2220,11 +2220,11 @@
|
|
|
2220
2220
|
captureStack(this, UnsupportedMediaTypeExceptionCIO);
|
|
2221
2221
|
}
|
|
2222
2222
|
function MutableRange(start, end) {
|
|
2223
|
-
this.
|
|
2224
|
-
this.
|
|
2223
|
+
this.g36_1 = start;
|
|
2224
|
+
this.h36_1 = end;
|
|
2225
2225
|
}
|
|
2226
2226
|
protoOf(MutableRange).toString = function () {
|
|
2227
|
-
return 'MutableRange(start=' + this.
|
|
2227
|
+
return 'MutableRange(start=' + this.g36_1 + ', end=' + this.h36_1 + ')';
|
|
2228
2228
|
};
|
|
2229
2229
|
function skipSpacesAndHorizontalTabs(text, start, end) {
|
|
2230
2230
|
var index = start;
|