@doordeck/doordeck-headless-sdk 0.190.0 → 0.193.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/MultiplatformSettings-multiplatform-settings.js +23 -23
- package/kotlin/doordeck-sdk.d.ts +1 -0
- package/kotlin/doordeck-sdk.js +10137 -10173
- package/kotlin/kotlin-kotlin-stdlib.js +375 -377
- package/kotlin/kotlinx-atomicfu.js +21 -21
- package/kotlin/kotlinx-coroutines-core.js +1942 -1942
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +47 -47
- package/kotlin/kotlinx-io-kotlinx-io-core.js +476 -476
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1902 -1902
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1454 -1454
- package/kotlin/ktor-ktor-client-auth.js +258 -258
- package/kotlin/ktor-ktor-client-content-negotiation.js +158 -158
- package/kotlin/ktor-ktor-client-core.js +1995 -1995
- package/kotlin/ktor-ktor-client-logging.js +649 -649
- package/kotlin/ktor-ktor-events.js +12 -12
- package/kotlin/ktor-ktor-http-cio.js +370 -370
- package/kotlin/ktor-ktor-http.js +782 -782
- package/kotlin/ktor-ktor-io.js +651 -651
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/kotlin/ktor-ktor-serialization-kotlinx.js +153 -153
- package/kotlin/ktor-ktor-serialization.js +72 -72
- package/kotlin/ktor-ktor-utils.js +741 -741
- package/kotlin/ktor-ktor-websockets.js +52 -52
- package/package.json +3 -4
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +0 -329
|
@@ -3,57 +3,57 @@
|
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
5
|
var VOID = kotlin_kotlin.$_$.b;
|
|
6
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
6
|
+
var protoOf = kotlin_kotlin.$_$.vb;
|
|
7
7
|
var MultiPartData = kotlin_io_ktor_ktor_http.$_$.n;
|
|
8
8
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b1;
|
|
9
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
10
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
11
|
-
var toString = kotlin_kotlin.$_$.
|
|
9
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ya;
|
|
10
|
+
var Unit_instance = kotlin_kotlin.$_$.z4;
|
|
11
|
+
var toString = kotlin_kotlin.$_$.yb;
|
|
12
12
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.n1;
|
|
13
|
-
var abs = kotlin_kotlin.$_$.
|
|
13
|
+
var abs = kotlin_kotlin.$_$.zb;
|
|
14
14
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.d1;
|
|
15
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
16
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
17
|
-
var SequenceScope = kotlin_kotlin.$_$.
|
|
18
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
19
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
15
|
+
var CoroutineImpl = kotlin_kotlin.$_$.h9;
|
|
16
|
+
var THROW_CCE = kotlin_kotlin.$_$.tf;
|
|
17
|
+
var SequenceScope = kotlin_kotlin.$_$.tc;
|
|
18
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.r8;
|
|
19
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.db;
|
|
20
20
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
|
|
21
|
-
var sequence = kotlin_kotlin.$_$.
|
|
21
|
+
var sequence = kotlin_kotlin.$_$.uc;
|
|
22
22
|
var DefaultPool = kotlin_io_ktor_ktor_io.$_$.h1;
|
|
23
|
-
var fill = kotlin_kotlin.$_$.
|
|
24
|
-
var isIntArray = kotlin_kotlin.$_$.
|
|
23
|
+
var fill = kotlin_kotlin.$_$.r6;
|
|
24
|
+
var isIntArray = kotlin_kotlin.$_$.mb;
|
|
25
25
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.f2;
|
|
26
|
-
var endsWith = kotlin_kotlin.$_$.
|
|
27
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
28
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
29
|
-
var Char = kotlin_kotlin.$_$.
|
|
26
|
+
var endsWith = kotlin_kotlin.$_$.dd;
|
|
27
|
+
var charSequenceLength = kotlin_kotlin.$_$.ma;
|
|
28
|
+
var charSequenceGet = kotlin_kotlin.$_$.la;
|
|
29
|
+
var Char = kotlin_kotlin.$_$.ff;
|
|
30
30
|
var Char__compareTo_impl_ypi4mb = kotlin_kotlin.$_$.g2;
|
|
31
|
-
var contains = kotlin_kotlin.$_$.
|
|
32
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
31
|
+
var contains = kotlin_kotlin.$_$.yc;
|
|
32
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.na;
|
|
33
33
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.l2;
|
|
34
|
-
var IllegalStateException = kotlin_kotlin.$_$.
|
|
34
|
+
var IllegalStateException = kotlin_kotlin.$_$.of;
|
|
35
35
|
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.q1;
|
|
36
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
36
|
+
var captureStack = kotlin_kotlin.$_$.ha;
|
|
37
37
|
var readUTF8LineTo = kotlin_io_ktor_ktor_io.$_$.h;
|
|
38
38
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r1;
|
|
39
39
|
var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.g;
|
|
40
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
41
|
-
var setOf = kotlin_kotlin.$_$.
|
|
40
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.ab;
|
|
41
|
+
var setOf = kotlin_kotlin.$_$.w7;
|
|
42
42
|
var Companion_getInstance = kotlin_io_ktor_ktor_io.$_$.q;
|
|
43
43
|
var LineEndingMode__plus_impl_ttpz2j = kotlin_io_ktor_ktor_io.$_$.n;
|
|
44
|
-
var listOf = kotlin_kotlin.$_$.
|
|
44
|
+
var listOf = kotlin_kotlin.$_$.k7;
|
|
45
45
|
var MultiPart_getInstance = kotlin_io_ktor_ktor_http.$_$.d;
|
|
46
46
|
var ByteString_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.a;
|
|
47
47
|
var IOException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.c;
|
|
48
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
49
|
-
var toByte = kotlin_kotlin.$_$.
|
|
50
|
-
var copyOfRange = kotlin_kotlin.$_$.
|
|
48
|
+
var toString_0 = kotlin_kotlin.$_$.qe;
|
|
49
|
+
var toByte = kotlin_kotlin.$_$.wb;
|
|
50
|
+
var copyOfRange = kotlin_kotlin.$_$.a6;
|
|
51
51
|
var produce = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.n;
|
|
52
|
-
var startsWith = kotlin_kotlin.$_$.
|
|
52
|
+
var startsWith = kotlin_kotlin.$_$.zd;
|
|
53
53
|
var readUntil = kotlin_io_ktor_ktor_io.$_$.i;
|
|
54
54
|
var WriterScope = kotlin_io_ktor_ktor_io.$_$.m1;
|
|
55
55
|
var ProducerScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l;
|
|
56
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
56
|
+
var isInterface = kotlin_kotlin.$_$.nb;
|
|
57
57
|
var counted = kotlin_io_ktor_ktor_io.$_$.p1;
|
|
58
58
|
var writer = kotlin_io_ktor_ktor_io.$_$.t1;
|
|
59
59
|
var readRemaining = kotlin_io_ktor_ktor_io.$_$.f;
|
|
@@ -63,45 +63,45 @@
|
|
|
63
63
|
var CompletableDeferred = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.w;
|
|
64
64
|
var CancellationException_init_$Create$ = kotlin_kotlin.$_$.x;
|
|
65
65
|
var close = kotlin_io_ktor_ktor_io.$_$.o1;
|
|
66
|
-
var subtract = kotlin_kotlin.$_$.
|
|
67
|
-
var convertToInt = kotlin_kotlin.$_$.
|
|
66
|
+
var subtract = kotlin_kotlin.$_$.ba;
|
|
67
|
+
var convertToInt = kotlin_kotlin.$_$.p9;
|
|
68
68
|
var readPacket = kotlin_io_ktor_ktor_io.$_$.e;
|
|
69
69
|
var EOFException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
|
|
70
70
|
var copyTo = kotlin_io_ktor_ktor_io.$_$.a;
|
|
71
|
-
var add = kotlin_kotlin.$_$.
|
|
72
|
-
var fromInt = kotlin_kotlin.$_$.
|
|
71
|
+
var add = kotlin_kotlin.$_$.n9;
|
|
72
|
+
var fromInt = kotlin_kotlin.$_$.s9;
|
|
73
73
|
var toByteArray = kotlin_io_ktor_ktor_io.$_$.d1;
|
|
74
74
|
var ByteString = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.c;
|
|
75
75
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.s;
|
|
76
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
76
|
+
var compareTo = kotlin_kotlin.$_$.oa;
|
|
77
77
|
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.x1;
|
|
78
|
-
var Collection = kotlin_kotlin.$_$.
|
|
79
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
80
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
81
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
78
|
+
var Collection = kotlin_kotlin.$_$.b5;
|
|
79
|
+
var emptyList = kotlin_kotlin.$_$.o6;
|
|
80
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.za;
|
|
81
|
+
var ensureNotNull = kotlin_kotlin.$_$.lg;
|
|
82
82
|
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.c1;
|
|
83
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
84
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
85
|
-
var CharSequence = kotlin_kotlin.$_$.
|
|
83
|
+
var isCharSequence = kotlin_kotlin.$_$.jb;
|
|
84
|
+
var getStringHashCode = kotlin_kotlin.$_$.wa;
|
|
85
|
+
var CharSequence = kotlin_kotlin.$_$.ef;
|
|
86
86
|
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.u1;
|
|
87
87
|
var NoPoolImpl = kotlin_io_ktor_ktor_io.$_$.i1;
|
|
88
|
-
var charArray = kotlin_kotlin.$_$.
|
|
89
|
-
var shiftLeft = kotlin_kotlin.$_$.
|
|
88
|
+
var charArray = kotlin_kotlin.$_$.ja;
|
|
89
|
+
var shiftLeft = kotlin_kotlin.$_$.z9;
|
|
90
90
|
var NumberFormatException_init_$Create$ = kotlin_kotlin.$_$.y1;
|
|
91
91
|
var toString_1 = kotlin_kotlin.$_$.m2;
|
|
92
|
-
var charCodeAt = kotlin_kotlin.$_$.
|
|
92
|
+
var charCodeAt = kotlin_kotlin.$_$.ka;
|
|
93
93
|
var Companion_getInstance_0 = kotlin_io_ktor_ktor_http.$_$.h;
|
|
94
|
-
var numberRangeToNumber = kotlin_kotlin.$_$.
|
|
95
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
94
|
+
var numberRangeToNumber = kotlin_kotlin.$_$.sb;
|
|
95
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.u5;
|
|
96
96
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.i;
|
|
97
|
-
var numberToLong = kotlin_kotlin.$_$.
|
|
98
|
-
var toLongArray = kotlin_kotlin.$_$.
|
|
97
|
+
var numberToLong = kotlin_kotlin.$_$.y9;
|
|
98
|
+
var toLongArray = kotlin_kotlin.$_$.g8;
|
|
99
99
|
var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.j2;
|
|
100
100
|
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.i2;
|
|
101
|
-
var toByteArray_0 = kotlin_kotlin.$_$.
|
|
101
|
+
var toByteArray_0 = kotlin_kotlin.$_$.b8;
|
|
102
102
|
var IOException = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.g;
|
|
103
103
|
var IOException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.b;
|
|
104
|
-
var isWhitespace = kotlin_kotlin.$_$.
|
|
104
|
+
var isWhitespace = kotlin_kotlin.$_$.md;
|
|
105
105
|
//endregion
|
|
106
106
|
//region block: pre-declaration
|
|
107
107
|
initMetadataForClass(CIOMultipartDataBase, 'CIOMultipartDataBase', VOID, VOID, [MultiPartData, CoroutineScope], [0, 1]);
|
|
@@ -133,12 +133,12 @@
|
|
|
133
133
|
//endregion
|
|
134
134
|
function CIOMultipartDataBase(coroutineContext, channel, contentType, contentLength, formFieldLimit) {
|
|
135
135
|
formFieldLimit = formFieldLimit === VOID ? 65536n : formFieldLimit;
|
|
136
|
-
this.
|
|
137
|
-
this.
|
|
138
|
-
this.
|
|
136
|
+
this.a33_1 = coroutineContext;
|
|
137
|
+
this.b33_1 = null;
|
|
138
|
+
this.c33_1 = parseMultipart(this, channel, contentType, contentLength, formFieldLimit);
|
|
139
139
|
}
|
|
140
|
-
protoOf(CIOMultipartDataBase).
|
|
141
|
-
return this.
|
|
140
|
+
protoOf(CIOMultipartDataBase).mr = function () {
|
|
141
|
+
return this.a33_1;
|
|
142
142
|
};
|
|
143
143
|
function get_IntArrayPool() {
|
|
144
144
|
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
@@ -151,103 +151,103 @@
|
|
|
151
151
|
}
|
|
152
152
|
var HeadersDataPool;
|
|
153
153
|
function thresholdReached($this) {
|
|
154
|
-
return $this.
|
|
154
|
+
return $this.e33_1 >= $this.f33_1 * 0.75;
|
|
155
155
|
}
|
|
156
156
|
function resize($this) {
|
|
157
|
-
var prevSize = $this.
|
|
158
|
-
var prevData = $this.
|
|
159
|
-
$this.
|
|
160
|
-
$this.
|
|
157
|
+
var prevSize = $this.e33_1;
|
|
158
|
+
var prevData = $this.g33_1;
|
|
159
|
+
$this.e33_1 = 0;
|
|
160
|
+
$this.f33_1 = imul($this.f33_1, 2) | 128;
|
|
161
161
|
var tmp = $this;
|
|
162
162
|
// Inline function 'kotlin.apply' call
|
|
163
|
-
var this_0 = get_HeadersDataPool().
|
|
164
|
-
this_0.
|
|
165
|
-
tmp.
|
|
166
|
-
var _iterator__ex2g4s = prevData.
|
|
163
|
+
var this_0 = get_HeadersDataPool().n1v();
|
|
164
|
+
this_0.j33(imul(prevData.i33(), 2) | 1);
|
|
165
|
+
tmp.g33_1 = this_0;
|
|
166
|
+
var _iterator__ex2g4s = prevData.k33().t();
|
|
167
167
|
while (_iterator__ex2g4s.u()) {
|
|
168
168
|
var headerOffset = _iterator__ex2g4s.v();
|
|
169
|
-
$this.
|
|
169
|
+
$this.m33(prevData.l33(headerOffset + 1 | 0), prevData.l33(headerOffset + 2 | 0), prevData.l33(headerOffset + 3 | 0), prevData.l33(headerOffset + 4 | 0));
|
|
170
170
|
}
|
|
171
|
-
get_HeadersDataPool().
|
|
171
|
+
get_HeadersDataPool().o1v(prevData);
|
|
172
172
|
// Inline function 'kotlin.require' call
|
|
173
173
|
// Inline function 'kotlin.require' call
|
|
174
|
-
if (!(prevSize === $this.
|
|
174
|
+
if (!(prevSize === $this.e33_1)) {
|
|
175
175
|
var message = 'Failed requirement.';
|
|
176
176
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
179
|
function headerHasName($this, name, headerOffset) {
|
|
180
|
-
var nameStartIndex = $this.
|
|
181
|
-
var nameEndIndex = $this.
|
|
182
|
-
return equalsLowerCase($this.
|
|
180
|
+
var nameStartIndex = $this.g33_1.l33(headerOffset + 1 | 0);
|
|
181
|
+
var nameEndIndex = $this.g33_1.l33(headerOffset + 2 | 0);
|
|
182
|
+
return equalsLowerCase($this.d33_1, nameStartIndex, nameEndIndex, name);
|
|
183
183
|
}
|
|
184
184
|
function HttpHeadersMap(builder) {
|
|
185
|
-
this.
|
|
186
|
-
this.
|
|
187
|
-
this.
|
|
188
|
-
this.
|
|
185
|
+
this.d33_1 = builder;
|
|
186
|
+
this.e33_1 = 0;
|
|
187
|
+
this.f33_1 = 0;
|
|
188
|
+
this.g33_1 = get_HeadersDataPool().n1v();
|
|
189
189
|
}
|
|
190
|
-
protoOf(HttpHeadersMap).
|
|
191
|
-
if (this.
|
|
190
|
+
protoOf(HttpHeadersMap).l2j = function (name) {
|
|
191
|
+
if (this.e33_1 === 0)
|
|
192
192
|
return null;
|
|
193
193
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
194
194
|
var this_0 = hashCodeLowerCase(name);
|
|
195
195
|
var hash = abs(this_0);
|
|
196
|
-
var headerIndex = hash % this.
|
|
197
|
-
while (!(this.
|
|
196
|
+
var headerIndex = hash % this.f33_1 | 0;
|
|
197
|
+
while (!(this.g33_1.l33(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
198
198
|
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
199
|
-
return this.
|
|
199
|
+
return this.n33(imul(headerIndex, 6));
|
|
200
200
|
}
|
|
201
|
-
headerIndex = (headerIndex + 1 | 0) % this.
|
|
201
|
+
headerIndex = (headerIndex + 1 | 0) % this.f33_1 | 0;
|
|
202
202
|
}
|
|
203
203
|
return null;
|
|
204
204
|
};
|
|
205
|
-
protoOf(HttpHeadersMap).
|
|
206
|
-
return this.
|
|
205
|
+
protoOf(HttpHeadersMap).o33 = function () {
|
|
206
|
+
return this.g33_1.k33();
|
|
207
207
|
};
|
|
208
|
-
protoOf(HttpHeadersMap).
|
|
208
|
+
protoOf(HttpHeadersMap).m33 = function (nameStartIndex, nameEndIndex, valueStartIndex, valueEndIndex) {
|
|
209
209
|
if (thresholdReached(this)) {
|
|
210
210
|
resize(this);
|
|
211
211
|
}
|
|
212
212
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
213
|
-
var this_0 = hashCodeLowerCase(this.
|
|
213
|
+
var this_0 = hashCodeLowerCase(this.d33_1, nameStartIndex, nameEndIndex);
|
|
214
214
|
var hash = abs(this_0);
|
|
215
|
-
var name = this.
|
|
216
|
-
var headerIndex = hash % this.
|
|
215
|
+
var name = this.d33_1.c(nameStartIndex, nameEndIndex);
|
|
216
|
+
var headerIndex = hash % this.f33_1 | 0;
|
|
217
217
|
var sameNameHeaderIndex = -1;
|
|
218
|
-
while (!(this.
|
|
218
|
+
while (!(this.g33_1.l33(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
219
219
|
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
220
220
|
sameNameHeaderIndex = headerIndex;
|
|
221
221
|
}
|
|
222
|
-
headerIndex = (headerIndex + 1 | 0) % this.
|
|
222
|
+
headerIndex = (headerIndex + 1 | 0) % this.f33_1 | 0;
|
|
223
223
|
}
|
|
224
224
|
var headerOffset = imul(headerIndex, 6);
|
|
225
|
-
this.
|
|
226
|
-
this.
|
|
227
|
-
this.
|
|
228
|
-
this.
|
|
229
|
-
this.
|
|
230
|
-
this.
|
|
225
|
+
this.g33_1.w33(headerOffset + 0 | 0, hash);
|
|
226
|
+
this.g33_1.w33(headerOffset + 1 | 0, nameStartIndex);
|
|
227
|
+
this.g33_1.w33(headerOffset + 2 | 0, nameEndIndex);
|
|
228
|
+
this.g33_1.w33(headerOffset + 3 | 0, valueStartIndex);
|
|
229
|
+
this.g33_1.w33(headerOffset + 4 | 0, valueEndIndex);
|
|
230
|
+
this.g33_1.w33(headerOffset + 5 | 0, -1);
|
|
231
231
|
if (!(sameNameHeaderIndex === -1)) {
|
|
232
|
-
this.
|
|
232
|
+
this.g33_1.w33(imul(sameNameHeaderIndex, 6) + 5 | 0, headerIndex);
|
|
233
233
|
}
|
|
234
|
-
this.
|
|
234
|
+
this.e33_1 = this.e33_1 + 1 | 0;
|
|
235
235
|
};
|
|
236
|
-
protoOf(HttpHeadersMap).
|
|
237
|
-
var nameStartIndex = this.
|
|
238
|
-
var nameEndIndex = this.
|
|
239
|
-
return this.
|
|
236
|
+
protoOf(HttpHeadersMap).x33 = function (headerOffset) {
|
|
237
|
+
var nameStartIndex = this.g33_1.l33(headerOffset + 1 | 0);
|
|
238
|
+
var nameEndIndex = this.g33_1.l33(headerOffset + 2 | 0);
|
|
239
|
+
return this.d33_1.c(nameStartIndex, nameEndIndex);
|
|
240
240
|
};
|
|
241
|
-
protoOf(HttpHeadersMap).
|
|
242
|
-
var valueStartIndex = this.
|
|
243
|
-
var valueEndIndex = this.
|
|
244
|
-
return this.
|
|
241
|
+
protoOf(HttpHeadersMap).n33 = function (headerOffset) {
|
|
242
|
+
var valueStartIndex = this.g33_1.l33(headerOffset + 3 | 0);
|
|
243
|
+
var valueEndIndex = this.g33_1.l33(headerOffset + 4 | 0);
|
|
244
|
+
return this.d33_1.c(valueStartIndex, valueEndIndex);
|
|
245
245
|
};
|
|
246
|
-
protoOf(HttpHeadersMap).
|
|
247
|
-
this.
|
|
248
|
-
this.
|
|
249
|
-
get_HeadersDataPool().
|
|
250
|
-
this.
|
|
246
|
+
protoOf(HttpHeadersMap).h1g = function () {
|
|
247
|
+
this.e33_1 = 0;
|
|
248
|
+
this.f33_1 = 0;
|
|
249
|
+
get_HeadersDataPool().o1v(this.g33_1);
|
|
250
|
+
this.g33_1 = get_HeadersDataPool().n1v();
|
|
251
251
|
};
|
|
252
252
|
protoOf(HttpHeadersMap).toString = function () {
|
|
253
253
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -257,17 +257,17 @@
|
|
|
257
257
|
return this_0.toString();
|
|
258
258
|
};
|
|
259
259
|
function HeadersData$headersStarts$slambda(this$0, resultContinuation) {
|
|
260
|
-
this.
|
|
260
|
+
this.g34_1 = this$0;
|
|
261
261
|
CoroutineImpl.call(this, resultContinuation);
|
|
262
262
|
}
|
|
263
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
264
|
-
var tmp = this.
|
|
263
|
+
protoOf(HeadersData$headersStarts$slambda).m34 = function ($this$sequence, $completion) {
|
|
264
|
+
var tmp = this.n34($this$sequence, $completion);
|
|
265
265
|
tmp.c9_1 = Unit_instance;
|
|
266
266
|
tmp.d9_1 = null;
|
|
267
267
|
return tmp.i9();
|
|
268
268
|
};
|
|
269
269
|
protoOf(HeadersData$headersStarts$slambda).u9 = function (p1, $completion) {
|
|
270
|
-
return this.
|
|
270
|
+
return this.m34(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
271
271
|
};
|
|
272
272
|
protoOf(HeadersData$headersStarts$slambda).i9 = function () {
|
|
273
273
|
var suspendResult = this.c9_1;
|
|
@@ -277,29 +277,29 @@
|
|
|
277
277
|
switch (tmp) {
|
|
278
278
|
case 0:
|
|
279
279
|
this.b9_1 = 7;
|
|
280
|
-
this.
|
|
281
|
-
this.
|
|
280
|
+
this.i34_1 = 0;
|
|
281
|
+
this.l34_1 = this.g34_1.h33_1.t();
|
|
282
282
|
this.a9_1 = 1;
|
|
283
283
|
continue $sm;
|
|
284
284
|
case 1:
|
|
285
|
-
if (!this.
|
|
285
|
+
if (!this.l34_1.u()) {
|
|
286
286
|
this.a9_1 = 6;
|
|
287
287
|
continue $sm;
|
|
288
288
|
}
|
|
289
289
|
|
|
290
|
-
this.
|
|
291
|
-
this.
|
|
290
|
+
this.k34_1 = this.l34_1.v();
|
|
291
|
+
this.j34_1 = 0;
|
|
292
292
|
this.a9_1 = 2;
|
|
293
293
|
continue $sm;
|
|
294
294
|
case 2:
|
|
295
|
-
if (!(this.
|
|
295
|
+
if (!(this.j34_1 < this.k34_1.length)) {
|
|
296
296
|
this.a9_1 = 5;
|
|
297
297
|
continue $sm;
|
|
298
298
|
}
|
|
299
299
|
|
|
300
|
-
if (!(this.
|
|
300
|
+
if (!(this.g34_1.l33(this.i34_1 + 0 | 0) === -1)) {
|
|
301
301
|
this.a9_1 = 3;
|
|
302
|
-
suspendResult = this.
|
|
302
|
+
suspendResult = this.h34_1.kg(this.i34_1, this);
|
|
303
303
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
304
304
|
return suspendResult;
|
|
305
305
|
}
|
|
@@ -313,8 +313,8 @@
|
|
|
313
313
|
this.a9_1 = 4;
|
|
314
314
|
continue $sm;
|
|
315
315
|
case 4:
|
|
316
|
-
this.
|
|
317
|
-
this.
|
|
316
|
+
this.j34_1 = this.j34_1 + 6 | 0;
|
|
317
|
+
this.i34_1 = this.i34_1 + 6 | 0;
|
|
318
318
|
this.a9_1 = 2;
|
|
319
319
|
continue $sm;
|
|
320
320
|
case 5:
|
|
@@ -336,15 +336,15 @@
|
|
|
336
336
|
}
|
|
337
337
|
while (true);
|
|
338
338
|
};
|
|
339
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
340
|
-
var i = new HeadersData$headersStarts$slambda(this.
|
|
341
|
-
i.
|
|
339
|
+
protoOf(HeadersData$headersStarts$slambda).n34 = function ($this$sequence, completion) {
|
|
340
|
+
var i = new HeadersData$headersStarts$slambda(this.g34_1, completion);
|
|
341
|
+
i.h34_1 = $this$sequence;
|
|
342
342
|
return i;
|
|
343
343
|
};
|
|
344
344
|
function HeadersData$headersStarts$slambda_0(this$0, resultContinuation) {
|
|
345
345
|
var i = new HeadersData$headersStarts$slambda(this$0, resultContinuation);
|
|
346
346
|
var l = function ($this$sequence, $completion) {
|
|
347
|
-
return i.
|
|
347
|
+
return i.m34($this$sequence, $completion);
|
|
348
348
|
};
|
|
349
349
|
l.$arity = 1;
|
|
350
350
|
return l;
|
|
@@ -352,55 +352,55 @@
|
|
|
352
352
|
function HeadersData() {
|
|
353
353
|
var tmp = this;
|
|
354
354
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
355
|
-
tmp.
|
|
355
|
+
tmp.h33_1 = ArrayList_init_$Create$();
|
|
356
356
|
}
|
|
357
|
-
protoOf(HeadersData).
|
|
358
|
-
return this.
|
|
357
|
+
protoOf(HeadersData).i33 = function () {
|
|
358
|
+
return this.h33_1.l1();
|
|
359
359
|
};
|
|
360
|
-
protoOf(HeadersData).
|
|
360
|
+
protoOf(HeadersData).j33 = function (subArraysCount) {
|
|
361
361
|
// Inline function 'kotlin.repeat' call
|
|
362
362
|
var inductionVariable = 0;
|
|
363
363
|
if (inductionVariable < subArraysCount)
|
|
364
364
|
do {
|
|
365
365
|
var index = inductionVariable;
|
|
366
366
|
inductionVariable = inductionVariable + 1 | 0;
|
|
367
|
-
this.
|
|
367
|
+
this.h33_1.j1(get_IntArrayPool().n1v());
|
|
368
368
|
}
|
|
369
369
|
while (inductionVariable < subArraysCount);
|
|
370
370
|
};
|
|
371
|
-
protoOf(HeadersData).
|
|
372
|
-
return this.
|
|
371
|
+
protoOf(HeadersData).l33 = function (index) {
|
|
372
|
+
return this.h33_1.m1(index / 768 | 0)[index % 768 | 0];
|
|
373
373
|
};
|
|
374
|
-
protoOf(HeadersData).
|
|
375
|
-
this.
|
|
374
|
+
protoOf(HeadersData).w33 = function (index, value) {
|
|
375
|
+
this.h33_1.m1(index / 768 | 0)[index % 768 | 0] = value;
|
|
376
376
|
};
|
|
377
|
-
protoOf(HeadersData).
|
|
377
|
+
protoOf(HeadersData).k33 = function () {
|
|
378
378
|
return sequence(HeadersData$headersStarts$slambda_0(this, null));
|
|
379
379
|
};
|
|
380
|
-
protoOf(HeadersData).
|
|
381
|
-
var _iterator__ex2g4s = this.
|
|
380
|
+
protoOf(HeadersData).h1g = function () {
|
|
381
|
+
var _iterator__ex2g4s = this.h33_1.t();
|
|
382
382
|
while (_iterator__ex2g4s.u()) {
|
|
383
383
|
var array = _iterator__ex2g4s.v();
|
|
384
|
-
get_IntArrayPool().
|
|
384
|
+
get_IntArrayPool().o1v(array);
|
|
385
385
|
}
|
|
386
|
-
this.
|
|
386
|
+
this.h33_1.t2();
|
|
387
387
|
};
|
|
388
388
|
function dumpTo(_this__u8e3s4, indent, out) {
|
|
389
389
|
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
390
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
390
|
+
var _iterator__ex2g4s = _this__u8e3s4.o33().t();
|
|
391
391
|
while (_iterator__ex2g4s.u()) {
|
|
392
392
|
var offset = _iterator__ex2g4s.v();
|
|
393
393
|
out.k1(indent);
|
|
394
|
-
out.k1(_this__u8e3s4.
|
|
394
|
+
out.k1(_this__u8e3s4.x33(offset));
|
|
395
395
|
out.k1(' => ');
|
|
396
|
-
out.k1(_this__u8e3s4.
|
|
396
|
+
out.k1(_this__u8e3s4.n33(offset));
|
|
397
397
|
out.k1('\n');
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
400
|
function IntArrayPool$1() {
|
|
401
401
|
DefaultPool.call(this, 1000);
|
|
402
402
|
}
|
|
403
|
-
protoOf(IntArrayPool$1).
|
|
403
|
+
protoOf(IntArrayPool$1).g1v = function () {
|
|
404
404
|
var tmp = 0;
|
|
405
405
|
var tmp_0 = new Int32Array(768);
|
|
406
406
|
while (tmp < 768) {
|
|
@@ -409,25 +409,25 @@
|
|
|
409
409
|
}
|
|
410
410
|
return tmp_0;
|
|
411
411
|
};
|
|
412
|
-
protoOf(IntArrayPool$1).
|
|
412
|
+
protoOf(IntArrayPool$1).r34 = function (instance) {
|
|
413
413
|
fill(instance, -1);
|
|
414
|
-
return protoOf(DefaultPool).
|
|
414
|
+
return protoOf(DefaultPool).l1v.call(this, instance);
|
|
415
415
|
};
|
|
416
|
-
protoOf(IntArrayPool$1).
|
|
417
|
-
return this.
|
|
416
|
+
protoOf(IntArrayPool$1).l1v = function (instance) {
|
|
417
|
+
return this.r34(isIntArray(instance) ? instance : THROW_CCE());
|
|
418
418
|
};
|
|
419
419
|
function HeadersDataPool$1() {
|
|
420
420
|
DefaultPool.call(this, 1000);
|
|
421
421
|
}
|
|
422
|
-
protoOf(HeadersDataPool$1).
|
|
422
|
+
protoOf(HeadersDataPool$1).g1v = function () {
|
|
423
423
|
return new HeadersData();
|
|
424
424
|
};
|
|
425
|
-
protoOf(HeadersDataPool$1).
|
|
426
|
-
instance.
|
|
427
|
-
return protoOf(DefaultPool).
|
|
425
|
+
protoOf(HeadersDataPool$1).v34 = function (instance) {
|
|
426
|
+
instance.h1g();
|
|
427
|
+
return protoOf(DefaultPool).l1v.call(this, instance);
|
|
428
428
|
};
|
|
429
|
-
protoOf(HeadersDataPool$1).
|
|
430
|
-
return this.
|
|
429
|
+
protoOf(HeadersDataPool$1).l1v = function (instance) {
|
|
430
|
+
return this.v34(instance instanceof HeadersData ? instance : THROW_CCE());
|
|
431
431
|
};
|
|
432
432
|
var properties_initialized_HttpHeadersMap_kt_kotj4w;
|
|
433
433
|
function _init_properties_HttpHeadersMap_kt__hwatby() {
|
|
@@ -457,16 +457,16 @@
|
|
|
457
457
|
}
|
|
458
458
|
function parseHeaderName(text, range) {
|
|
459
459
|
_init_properties_HttpParser_kt__gbdom1();
|
|
460
|
-
var index = range.
|
|
461
|
-
var end = range.
|
|
460
|
+
var index = range.j35_1;
|
|
461
|
+
var end = range.k35_1;
|
|
462
462
|
while (index < end) {
|
|
463
463
|
var ch = text.b(index);
|
|
464
|
-
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.
|
|
465
|
-
range.
|
|
464
|
+
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.j35_1)) {
|
|
465
|
+
range.j35_1 = index + 1 | 0;
|
|
466
466
|
return index;
|
|
467
467
|
}
|
|
468
468
|
if (isDelimiter(ch)) {
|
|
469
|
-
parseHeaderNameFailed(text, index, range.
|
|
469
|
+
parseHeaderNameFailed(text, index, range.j35_1, ch);
|
|
470
470
|
}
|
|
471
471
|
index = index + 1 | 0;
|
|
472
472
|
}
|
|
@@ -474,12 +474,12 @@
|
|
|
474
474
|
}
|
|
475
475
|
function parseHeaderValue(text, range) {
|
|
476
476
|
_init_properties_HttpParser_kt__gbdom1();
|
|
477
|
-
var start = range.
|
|
478
|
-
var end = range.
|
|
477
|
+
var start = range.j35_1;
|
|
478
|
+
var end = range.k35_1;
|
|
479
479
|
var index = start;
|
|
480
480
|
index = skipSpacesAndHorizontalTabs(text, index, end);
|
|
481
481
|
if (index >= end) {
|
|
482
|
-
range.
|
|
482
|
+
range.j35_1 = end;
|
|
483
483
|
return Unit_instance;
|
|
484
484
|
}
|
|
485
485
|
var valueStart = index;
|
|
@@ -493,8 +493,8 @@
|
|
|
493
493
|
valueLastIndex = index;
|
|
494
494
|
index = index + 1 | 0;
|
|
495
495
|
}
|
|
496
|
-
range.
|
|
497
|
-
range.
|
|
496
|
+
range.j35_1 = valueStart;
|
|
497
|
+
range.k35_1 = valueLastIndex + 1 | 0;
|
|
498
498
|
}
|
|
499
499
|
function validateHostHeader(host) {
|
|
500
500
|
_init_properties_HttpParser_kt__gbdom1();
|
|
@@ -535,9 +535,9 @@
|
|
|
535
535
|
}
|
|
536
536
|
function noColonFound(text, range) {
|
|
537
537
|
_init_properties_HttpParser_kt__gbdom1();
|
|
538
|
-
var tmp2 = range.
|
|
538
|
+
var tmp2 = range.j35_1;
|
|
539
539
|
// Inline function 'kotlin.text.substring' call
|
|
540
|
-
var endIndex = range.
|
|
540
|
+
var endIndex = range.k35_1;
|
|
541
541
|
var tmp$ret$0 = toString(charSequenceSubSequence(text, tmp2, endIndex));
|
|
542
542
|
throw new ParserException('No colon in HTTP header in ' + tmp$ret$0 + ' in builder: \n' + toString(text));
|
|
543
543
|
}
|
|
@@ -553,9 +553,9 @@
|
|
|
553
553
|
}
|
|
554
554
|
function $parseHeadersCOROUTINE$(input, builder, range, resultContinuation) {
|
|
555
555
|
CoroutineImpl.call(this, resultContinuation);
|
|
556
|
-
this.
|
|
557
|
-
this.
|
|
558
|
-
this.
|
|
556
|
+
this.e35_1 = input;
|
|
557
|
+
this.f35_1 = builder;
|
|
558
|
+
this.g35_1 = range;
|
|
559
559
|
}
|
|
560
560
|
protoOf($parseHeadersCOROUTINE$).i9 = function () {
|
|
561
561
|
var suspendResult = this.c9_1;
|
|
@@ -565,7 +565,7 @@
|
|
|
565
565
|
switch (tmp) {
|
|
566
566
|
case 0:
|
|
567
567
|
this.b9_1 = 7;
|
|
568
|
-
this.
|
|
568
|
+
this.h35_1 = new HttpHeadersMap(this.f35_1);
|
|
569
569
|
this.b9_1 = 6;
|
|
570
570
|
this.a9_1 = 1;
|
|
571
571
|
continue $sm;
|
|
@@ -576,7 +576,7 @@
|
|
|
576
576
|
}
|
|
577
577
|
|
|
578
578
|
this.a9_1 = 2;
|
|
579
|
-
suspendResult = readUTF8LineTo(this.
|
|
579
|
+
suspendResult = readUTF8LineTo(this.e35_1, this.f35_1, 8192, get_httpLineEndings(), this);
|
|
580
580
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
581
581
|
return suspendResult;
|
|
582
582
|
}
|
|
@@ -584,7 +584,7 @@
|
|
|
584
584
|
continue $sm;
|
|
585
585
|
case 2:
|
|
586
586
|
if (!suspendResult) {
|
|
587
|
-
this.
|
|
587
|
+
this.h35_1.h1g();
|
|
588
588
|
return null;
|
|
589
589
|
} else {
|
|
590
590
|
this.a9_1 = 3;
|
|
@@ -592,9 +592,9 @@
|
|
|
592
592
|
}
|
|
593
593
|
|
|
594
594
|
case 3:
|
|
595
|
-
this.
|
|
596
|
-
this.
|
|
597
|
-
if (this.
|
|
595
|
+
this.g35_1.k35_1 = this.f35_1.v33_1;
|
|
596
|
+
this.i35_1 = this.g35_1.k35_1 - this.g35_1.j35_1 | 0;
|
|
597
|
+
if (this.i35_1 === 0) {
|
|
598
598
|
this.a9_1 = 5;
|
|
599
599
|
continue $sm;
|
|
600
600
|
} else {
|
|
@@ -603,34 +603,34 @@
|
|
|
603
603
|
}
|
|
604
604
|
|
|
605
605
|
case 4:
|
|
606
|
-
if (this.
|
|
606
|
+
if (this.i35_1 >= 8192) {
|
|
607
607
|
var message = 'Header line length limit exceeded';
|
|
608
608
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
609
609
|
}
|
|
610
610
|
|
|
611
|
-
var nameStart = this.
|
|
612
|
-
var nameEnd = parseHeaderName(this.
|
|
613
|
-
var headerEnd = this.
|
|
614
|
-
parseHeaderValue(this.
|
|
615
|
-
var valueStart = this.
|
|
616
|
-
var valueEnd = this.
|
|
617
|
-
this.
|
|
618
|
-
this.
|
|
611
|
+
var nameStart = this.g35_1.j35_1;
|
|
612
|
+
var nameEnd = parseHeaderName(this.f35_1, this.g35_1);
|
|
613
|
+
var headerEnd = this.g35_1.k35_1;
|
|
614
|
+
parseHeaderValue(this.f35_1, this.g35_1);
|
|
615
|
+
var valueStart = this.g35_1.j35_1;
|
|
616
|
+
var valueEnd = this.g35_1.k35_1;
|
|
617
|
+
this.g35_1.j35_1 = headerEnd;
|
|
618
|
+
this.h35_1.m33(nameStart, nameEnd, valueStart, valueEnd);
|
|
619
619
|
this.a9_1 = 1;
|
|
620
620
|
continue $sm;
|
|
621
621
|
case 5:
|
|
622
|
-
var host = this.
|
|
622
|
+
var host = this.h35_1.l2j(HttpHeaders_getInstance().j2t_1);
|
|
623
623
|
if (!(host == null)) {
|
|
624
624
|
validateHostHeader(host);
|
|
625
625
|
}
|
|
626
626
|
|
|
627
|
-
return this.
|
|
627
|
+
return this.h35_1;
|
|
628
628
|
case 6:
|
|
629
629
|
this.b9_1 = 7;
|
|
630
630
|
var tmp_0 = this.d9_1;
|
|
631
631
|
if (tmp_0 instanceof Error) {
|
|
632
632
|
var t = this.d9_1;
|
|
633
|
-
this.
|
|
633
|
+
this.h35_1.h1g();
|
|
634
634
|
throw t;
|
|
635
635
|
} else {
|
|
636
636
|
throw this.d9_1;
|
|
@@ -655,8 +655,8 @@
|
|
|
655
655
|
if (!properties_initialized_HttpParser_kt_uedryv) {
|
|
656
656
|
properties_initialized_HttpParser_kt_uedryv = true;
|
|
657
657
|
hostForbiddenSymbols = setOf([new Char(_Char___init__impl__6a9atx(47)), new Char(_Char___init__impl__6a9atx(63)), new Char(_Char___init__impl__6a9atx(35)), new Char(_Char___init__impl__6a9atx(64))]);
|
|
658
|
-
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance().
|
|
659
|
-
versions = Companion_instance.
|
|
658
|
+
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance().l1q_1, Companion_getInstance().k1q_1);
|
|
659
|
+
versions = Companion_instance.l35(listOf(['HTTP/1.0', 'HTTP/1.1']));
|
|
660
660
|
}
|
|
661
661
|
}
|
|
662
662
|
function get_CrLf() {
|
|
@@ -671,23 +671,23 @@
|
|
|
671
671
|
var PrefixString;
|
|
672
672
|
function Preamble(body) {
|
|
673
673
|
MultipartEvent.call(this);
|
|
674
|
-
this.
|
|
674
|
+
this.m35_1 = body;
|
|
675
675
|
}
|
|
676
676
|
function MultipartPart(headers, body) {
|
|
677
677
|
MultipartEvent.call(this);
|
|
678
|
-
this.
|
|
679
|
-
this.
|
|
678
|
+
this.n35_1 = headers;
|
|
679
|
+
this.o35_1 = body;
|
|
680
680
|
}
|
|
681
681
|
function Epilogue(body) {
|
|
682
682
|
MultipartEvent.call(this);
|
|
683
|
-
this.
|
|
683
|
+
this.p35_1 = body;
|
|
684
684
|
}
|
|
685
685
|
function MultipartEvent() {
|
|
686
686
|
}
|
|
687
687
|
function parseMultipart(_this__u8e3s4, input, contentType, contentLength, maxPartSize) {
|
|
688
688
|
maxPartSize = maxPartSize === VOID ? 9223372036854775807n : maxPartSize;
|
|
689
689
|
_init_properties_Multipart_kt__ato98a();
|
|
690
|
-
if (!MultiPart_getInstance().
|
|
690
|
+
if (!MultiPart_getInstance().z2q(contentType)) {
|
|
691
691
|
throw new UnsupportedMediaTypeExceptionCIO('Failed to parse multipart: Content-Type should be multipart/* but it is ' + toString(contentType));
|
|
692
692
|
}
|
|
693
693
|
var boundaryByteBuffer = parseBoundaryInternal(contentType);
|
|
@@ -864,18 +864,18 @@
|
|
|
864
864
|
boundaryBytes[_unary__edvuaz] = value;
|
|
865
865
|
}
|
|
866
866
|
function parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation) {
|
|
867
|
-
this.
|
|
868
|
-
this.
|
|
867
|
+
this.j37_1 = $firstBoundary;
|
|
868
|
+
this.k37_1 = $countedInput;
|
|
869
869
|
CoroutineImpl.call(this, resultContinuation);
|
|
870
870
|
}
|
|
871
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
872
|
-
var tmp = this.
|
|
871
|
+
protoOf(parseMultipart$slambda$slambda).m37 = function ($this$writer, $completion) {
|
|
872
|
+
var tmp = this.n37($this$writer, $completion);
|
|
873
873
|
tmp.c9_1 = Unit_instance;
|
|
874
874
|
tmp.d9_1 = null;
|
|
875
875
|
return tmp.i9();
|
|
876
876
|
};
|
|
877
877
|
protoOf(parseMultipart$slambda$slambda).u9 = function (p1, $completion) {
|
|
878
|
-
return this.
|
|
878
|
+
return this.m37(p1 instanceof WriterScope ? p1 : THROW_CCE(), $completion);
|
|
879
879
|
};
|
|
880
880
|
protoOf(parseMultipart$slambda$slambda).i9 = function () {
|
|
881
881
|
var suspendResult = this.c9_1;
|
|
@@ -886,7 +886,7 @@
|
|
|
886
886
|
case 0:
|
|
887
887
|
this.b9_1 = 3;
|
|
888
888
|
this.a9_1 = 1;
|
|
889
|
-
suspendResult = parsePreambleImpl(this.
|
|
889
|
+
suspendResult = parsePreambleImpl(this.j37_1, this.k37_1, this.l37_1.x1s_1, 8193n, this);
|
|
890
890
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
891
891
|
return suspendResult;
|
|
892
892
|
}
|
|
@@ -894,7 +894,7 @@
|
|
|
894
894
|
continue $sm;
|
|
895
895
|
case 1:
|
|
896
896
|
this.a9_1 = 2;
|
|
897
|
-
suspendResult = this.
|
|
897
|
+
suspendResult = this.l37_1.x1s_1.e1l(this);
|
|
898
898
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
899
899
|
return suspendResult;
|
|
900
900
|
}
|
|
@@ -916,34 +916,34 @@
|
|
|
916
916
|
}
|
|
917
917
|
while (true);
|
|
918
918
|
};
|
|
919
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
920
|
-
var i = new parseMultipart$slambda$slambda(this.
|
|
921
|
-
i.
|
|
919
|
+
protoOf(parseMultipart$slambda$slambda).n37 = function ($this$writer, completion) {
|
|
920
|
+
var i = new parseMultipart$slambda$slambda(this.j37_1, this.k37_1, completion);
|
|
921
|
+
i.l37_1 = $this$writer;
|
|
922
922
|
return i;
|
|
923
923
|
};
|
|
924
924
|
function parseMultipart$slambda$slambda_0($firstBoundary, $countedInput, resultContinuation) {
|
|
925
925
|
var i = new parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation);
|
|
926
926
|
var l = function ($this$writer, $completion) {
|
|
927
|
-
return i.
|
|
927
|
+
return i.m37($this$writer, $completion);
|
|
928
928
|
};
|
|
929
929
|
l.$arity = 1;
|
|
930
930
|
return l;
|
|
931
931
|
}
|
|
932
932
|
function parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
933
|
-
this.
|
|
934
|
-
this.
|
|
935
|
-
this.
|
|
936
|
-
this.
|
|
933
|
+
this.w37_1 = $input;
|
|
934
|
+
this.x37_1 = $boundaryPrefixed;
|
|
935
|
+
this.y37_1 = $maxPartSize;
|
|
936
|
+
this.z37_1 = $totalLength;
|
|
937
937
|
CoroutineImpl.call(this, resultContinuation);
|
|
938
938
|
}
|
|
939
|
-
protoOf(parseMultipart$slambda).
|
|
940
|
-
var tmp = this.
|
|
939
|
+
protoOf(parseMultipart$slambda).i38 = function ($this$produce, $completion) {
|
|
940
|
+
var tmp = this.j38($this$produce, $completion);
|
|
941
941
|
tmp.c9_1 = Unit_instance;
|
|
942
942
|
tmp.d9_1 = null;
|
|
943
943
|
return tmp.i9();
|
|
944
944
|
};
|
|
945
945
|
protoOf(parseMultipart$slambda).u9 = function (p1, $completion) {
|
|
946
|
-
return this.
|
|
946
|
+
return this.i38((!(p1 == null) ? isInterface(p1, ProducerScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
947
947
|
};
|
|
948
948
|
protoOf(parseMultipart$slambda).i9 = function () {
|
|
949
949
|
var suspendResult = this.c9_1;
|
|
@@ -953,11 +953,11 @@
|
|
|
953
953
|
switch (tmp) {
|
|
954
954
|
case 0:
|
|
955
955
|
this.b9_1 = 25;
|
|
956
|
-
this.
|
|
957
|
-
this.
|
|
958
|
-
this.
|
|
956
|
+
this.b38_1 = counted(this.w37_1);
|
|
957
|
+
this.c38_1 = this.b38_1.u1u();
|
|
958
|
+
this.g38_1 = this.x37_1.tn(get_PrefixString().l1());
|
|
959
959
|
this.a9_1 = 1;
|
|
960
|
-
suspendResult = readRemaining(writer(this.
|
|
960
|
+
suspendResult = readRemaining(writer(this.a38_1, VOID, VOID, parseMultipart$slambda$slambda_0(this.g38_1, this.b38_1, null)).v1s_1, this);
|
|
961
961
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
962
962
|
return suspendResult;
|
|
963
963
|
}
|
|
@@ -967,7 +967,7 @@
|
|
|
967
967
|
var preambleData = suspendResult;
|
|
968
968
|
if (get_remaining(preambleData) > 0n) {
|
|
969
969
|
this.a9_1 = 2;
|
|
970
|
-
suspendResult = this.
|
|
970
|
+
suspendResult = this.a38_1.v18(new Preamble(preambleData), this);
|
|
971
971
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
972
972
|
return suspendResult;
|
|
973
973
|
}
|
|
@@ -984,31 +984,31 @@
|
|
|
984
984
|
this.a9_1 = 4;
|
|
985
985
|
continue $sm;
|
|
986
986
|
case 4:
|
|
987
|
-
if (!this.
|
|
987
|
+
if (!this.b38_1.b1l()) {
|
|
988
988
|
this.a9_1 = 5;
|
|
989
|
-
suspendResult = skipIfFound(this.
|
|
989
|
+
suspendResult = skipIfFound(this.b38_1, get_PrefixString(), this);
|
|
990
990
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
991
991
|
return suspendResult;
|
|
992
992
|
}
|
|
993
993
|
continue $sm;
|
|
994
994
|
} else {
|
|
995
|
-
this.
|
|
995
|
+
this.h38_1 = false;
|
|
996
996
|
this.a9_1 = 6;
|
|
997
997
|
continue $sm;
|
|
998
998
|
}
|
|
999
999
|
|
|
1000
1000
|
case 5:
|
|
1001
|
-
this.
|
|
1001
|
+
this.h38_1 = !suspendResult;
|
|
1002
1002
|
this.a9_1 = 6;
|
|
1003
1003
|
continue $sm;
|
|
1004
1004
|
case 6:
|
|
1005
|
-
if (!this.
|
|
1005
|
+
if (!this.h38_1) {
|
|
1006
1006
|
this.a9_1 = 15;
|
|
1007
1007
|
continue $sm;
|
|
1008
1008
|
}
|
|
1009
1009
|
|
|
1010
1010
|
this.a9_1 = 7;
|
|
1011
|
-
suspendResult = skipIfFound(this.
|
|
1011
|
+
suspendResult = skipIfFound(this.b38_1, get_CrLf(), this);
|
|
1012
1012
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1013
1013
|
return suspendResult;
|
|
1014
1014
|
}
|
|
@@ -1016,7 +1016,7 @@
|
|
|
1016
1016
|
continue $sm;
|
|
1017
1017
|
case 7:
|
|
1018
1018
|
this.a9_1 = 8;
|
|
1019
|
-
suspendResult = skipIfFound(this.
|
|
1019
|
+
suspendResult = skipIfFound(this.b38_1, this.g38_1, this);
|
|
1020
1020
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1021
1021
|
return suspendResult;
|
|
1022
1022
|
}
|
|
@@ -1032,42 +1032,42 @@
|
|
|
1032
1032
|
}
|
|
1033
1033
|
|
|
1034
1034
|
case 9:
|
|
1035
|
-
this.
|
|
1036
|
-
this.
|
|
1037
|
-
var part = new MultipartPart(this.
|
|
1035
|
+
this.d38_1 = new ByteChannel();
|
|
1036
|
+
this.f38_1 = CompletableDeferred();
|
|
1037
|
+
var part = new MultipartPart(this.f38_1, this.d38_1);
|
|
1038
1038
|
this.a9_1 = 10;
|
|
1039
|
-
suspendResult = this.
|
|
1039
|
+
suspendResult = this.a38_1.v18(part, this);
|
|
1040
1040
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1041
1041
|
return suspendResult;
|
|
1042
1042
|
}
|
|
1043
1043
|
|
|
1044
1044
|
continue $sm;
|
|
1045
1045
|
case 10:
|
|
1046
|
-
this.
|
|
1046
|
+
this.e38_1 = null;
|
|
1047
1047
|
this.b9_1 = 14;
|
|
1048
1048
|
this.a9_1 = 11;
|
|
1049
|
-
suspendResult = parsePartHeadersImpl(this.
|
|
1049
|
+
suspendResult = parsePartHeadersImpl(this.b38_1, this);
|
|
1050
1050
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1051
1051
|
return suspendResult;
|
|
1052
1052
|
}
|
|
1053
1053
|
|
|
1054
1054
|
continue $sm;
|
|
1055
1055
|
case 11:
|
|
1056
|
-
this.
|
|
1057
|
-
if (!this.
|
|
1058
|
-
this.
|
|
1056
|
+
this.e38_1 = suspendResult;
|
|
1057
|
+
if (!this.f38_1.uz(this.e38_1)) {
|
|
1058
|
+
this.e38_1.h1g();
|
|
1059
1059
|
throw CancellationException_init_$Create$('Multipart processing has been cancelled');
|
|
1060
1060
|
}
|
|
1061
1061
|
|
|
1062
1062
|
this.a9_1 = 12;
|
|
1063
|
-
suspendResult = parsePartBodyImpl(this.
|
|
1063
|
+
suspendResult = parsePartBodyImpl(this.x37_1, this.b38_1, this.d38_1, this.e38_1, this.y37_1, this);
|
|
1064
1064
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1065
1065
|
return suspendResult;
|
|
1066
1066
|
}
|
|
1067
1067
|
|
|
1068
1068
|
continue $sm;
|
|
1069
1069
|
case 12:
|
|
1070
|
-
this.
|
|
1070
|
+
this.d38_1.l4();
|
|
1071
1071
|
this.b9_1 = 25;
|
|
1072
1072
|
this.a9_1 = 13;
|
|
1073
1073
|
continue $sm;
|
|
@@ -1080,15 +1080,15 @@
|
|
|
1080
1080
|
var tmp_0 = this.d9_1;
|
|
1081
1081
|
if (tmp_0 instanceof Error) {
|
|
1082
1082
|
var cause = this.d9_1;
|
|
1083
|
-
if (this.
|
|
1084
|
-
var tmp0_safe_receiver = this.
|
|
1083
|
+
if (this.f38_1.vz(cause)) {
|
|
1084
|
+
var tmp0_safe_receiver = this.e38_1;
|
|
1085
1085
|
if (tmp0_safe_receiver == null)
|
|
1086
1086
|
null;
|
|
1087
1087
|
else {
|
|
1088
|
-
tmp0_safe_receiver.
|
|
1088
|
+
tmp0_safe_receiver.h1g();
|
|
1089
1089
|
}
|
|
1090
1090
|
}
|
|
1091
|
-
close(this.
|
|
1091
|
+
close(this.d38_1, cause);
|
|
1092
1092
|
throw cause;
|
|
1093
1093
|
} else {
|
|
1094
1094
|
throw this.d9_1;
|
|
@@ -1096,7 +1096,7 @@
|
|
|
1096
1096
|
|
|
1097
1097
|
case 15:
|
|
1098
1098
|
this.a9_1 = 16;
|
|
1099
|
-
suspendResult = skipIfFound(this.
|
|
1099
|
+
suspendResult = skipIfFound(this.b38_1, get_CrLf(), this);
|
|
1100
1100
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1101
1101
|
return suspendResult;
|
|
1102
1102
|
}
|
|
@@ -1104,21 +1104,21 @@
|
|
|
1104
1104
|
continue $sm;
|
|
1105
1105
|
case 16:
|
|
1106
1106
|
this.a9_1 = 17;
|
|
1107
|
-
suspendResult = skipIfFound(this.
|
|
1107
|
+
suspendResult = skipIfFound(this.b38_1, get_CrLf(), this);
|
|
1108
1108
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1109
1109
|
return suspendResult;
|
|
1110
1110
|
}
|
|
1111
1111
|
|
|
1112
1112
|
continue $sm;
|
|
1113
1113
|
case 17:
|
|
1114
|
-
if (!(this.
|
|
1115
|
-
var consumedExceptEpilogue = subtract(this.
|
|
1116
|
-
var size = subtract(this.
|
|
1114
|
+
if (!(this.z37_1 == null)) {
|
|
1115
|
+
var consumedExceptEpilogue = subtract(this.b38_1.u1u(), this.c38_1);
|
|
1116
|
+
var size = subtract(this.z37_1, consumedExceptEpilogue);
|
|
1117
1117
|
if (size > 2147483647n)
|
|
1118
1118
|
throw IOException_init_$Create$('Failed to parse multipart: prologue is too long');
|
|
1119
1119
|
if (size > 0n) {
|
|
1120
1120
|
this.a9_1 = 21;
|
|
1121
|
-
suspendResult = readPacket(this.
|
|
1121
|
+
suspendResult = readPacket(this.b38_1, convertToInt(size), this);
|
|
1122
1122
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1123
1123
|
return suspendResult;
|
|
1124
1124
|
}
|
|
@@ -1129,7 +1129,7 @@
|
|
|
1129
1129
|
}
|
|
1130
1130
|
} else {
|
|
1131
1131
|
this.a9_1 = 18;
|
|
1132
|
-
suspendResult = readRemaining(this.
|
|
1132
|
+
suspendResult = readRemaining(this.b38_1, this);
|
|
1133
1133
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1134
1134
|
return suspendResult;
|
|
1135
1135
|
}
|
|
@@ -1138,9 +1138,9 @@
|
|
|
1138
1138
|
|
|
1139
1139
|
case 18:
|
|
1140
1140
|
var epilogueContent = suspendResult;
|
|
1141
|
-
if (!epilogueContent.
|
|
1141
|
+
if (!epilogueContent.bo()) {
|
|
1142
1142
|
this.a9_1 = 19;
|
|
1143
|
-
suspendResult = this.
|
|
1143
|
+
suspendResult = this.a38_1.v18(new Epilogue(epilogueContent), this);
|
|
1144
1144
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1145
1145
|
return suspendResult;
|
|
1146
1146
|
}
|
|
@@ -1160,7 +1160,7 @@
|
|
|
1160
1160
|
var ARGUMENT = suspendResult;
|
|
1161
1161
|
var ARGUMENT_0 = new Epilogue(ARGUMENT);
|
|
1162
1162
|
this.a9_1 = 22;
|
|
1163
|
-
suspendResult = this.
|
|
1163
|
+
suspendResult = this.a38_1.v18(ARGUMENT_0, this);
|
|
1164
1164
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1165
1165
|
return suspendResult;
|
|
1166
1166
|
}
|
|
@@ -1188,22 +1188,22 @@
|
|
|
1188
1188
|
}
|
|
1189
1189
|
while (true);
|
|
1190
1190
|
};
|
|
1191
|
-
protoOf(parseMultipart$slambda).
|
|
1192
|
-
var i = new parseMultipart$slambda(this.
|
|
1193
|
-
i.
|
|
1191
|
+
protoOf(parseMultipart$slambda).j38 = function ($this$produce, completion) {
|
|
1192
|
+
var i = new parseMultipart$slambda(this.w37_1, this.x37_1, this.y37_1, this.z37_1, completion);
|
|
1193
|
+
i.a38_1 = $this$produce;
|
|
1194
1194
|
return i;
|
|
1195
1195
|
};
|
|
1196
1196
|
function parseMultipart$slambda_0($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
1197
1197
|
var i = new parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation);
|
|
1198
1198
|
var l = function ($this$produce, $completion) {
|
|
1199
|
-
return i.
|
|
1199
|
+
return i.i38($this$produce, $completion);
|
|
1200
1200
|
};
|
|
1201
1201
|
l.$arity = 1;
|
|
1202
1202
|
return l;
|
|
1203
1203
|
}
|
|
1204
1204
|
function $parsePartHeadersImplCOROUTINE$(input, resultContinuation) {
|
|
1205
1205
|
CoroutineImpl.call(this, resultContinuation);
|
|
1206
|
-
this.
|
|
1206
|
+
this.y35_1 = input;
|
|
1207
1207
|
}
|
|
1208
1208
|
protoOf($parsePartHeadersImplCOROUTINE$).i9 = function () {
|
|
1209
1209
|
var suspendResult = this.c9_1;
|
|
@@ -1213,10 +1213,10 @@
|
|
|
1213
1213
|
switch (tmp) {
|
|
1214
1214
|
case 0:
|
|
1215
1215
|
this.b9_1 = 3;
|
|
1216
|
-
this.
|
|
1216
|
+
this.z35_1 = new CharArrayBuilder();
|
|
1217
1217
|
this.b9_1 = 2;
|
|
1218
1218
|
this.a9_1 = 1;
|
|
1219
|
-
suspendResult = parseHeaders(this.
|
|
1219
|
+
suspendResult = parseHeaders(this.y35_1, this.z35_1, VOID, this);
|
|
1220
1220
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1221
1221
|
return suspendResult;
|
|
1222
1222
|
}
|
|
@@ -1237,7 +1237,7 @@
|
|
|
1237
1237
|
var tmp_1 = this.d9_1;
|
|
1238
1238
|
if (tmp_1 instanceof Error) {
|
|
1239
1239
|
var t = this.d9_1;
|
|
1240
|
-
this.
|
|
1240
|
+
this.z35_1.h1g();
|
|
1241
1241
|
throw t;
|
|
1242
1242
|
} else {
|
|
1243
1243
|
throw this.d9_1;
|
|
@@ -1259,11 +1259,11 @@
|
|
|
1259
1259
|
};
|
|
1260
1260
|
function $parsePartBodyImplCOROUTINE$(boundaryPrefixed, input, output, headers, limit, resultContinuation) {
|
|
1261
1261
|
CoroutineImpl.call(this, resultContinuation);
|
|
1262
|
-
this.
|
|
1263
|
-
this.
|
|
1264
|
-
this.
|
|
1265
|
-
this.
|
|
1266
|
-
this.
|
|
1262
|
+
this.i36_1 = boundaryPrefixed;
|
|
1263
|
+
this.j36_1 = input;
|
|
1264
|
+
this.k36_1 = output;
|
|
1265
|
+
this.l36_1 = headers;
|
|
1266
|
+
this.m36_1 = limit;
|
|
1267
1267
|
}
|
|
1268
1268
|
protoOf($parsePartBodyImplCOROUTINE$).i9 = function () {
|
|
1269
1269
|
var suspendResult = this.c9_1;
|
|
@@ -1273,35 +1273,35 @@
|
|
|
1273
1273
|
switch (tmp) {
|
|
1274
1274
|
case 0:
|
|
1275
1275
|
this.b9_1 = 6;
|
|
1276
|
-
var tmp0_safe_receiver = this.
|
|
1276
|
+
var tmp0_safe_receiver = this.l36_1.l2j('Content-Length');
|
|
1277
1277
|
var contentLength = tmp0_safe_receiver == null ? null : parseDecLong(tmp0_safe_receiver);
|
|
1278
1278
|
if (contentLength == null) {
|
|
1279
1279
|
this.a9_1 = 3;
|
|
1280
|
-
suspendResult = readUntil(this.
|
|
1280
|
+
suspendResult = readUntil(this.j36_1, this.i36_1, this.k36_1, this.m36_1, true, this);
|
|
1281
1281
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1282
1282
|
return suspendResult;
|
|
1283
1283
|
}
|
|
1284
1284
|
continue $sm;
|
|
1285
1285
|
} else {
|
|
1286
|
-
var containsUpper = this.
|
|
1286
|
+
var containsUpper = this.m36_1;
|
|
1287
1287
|
if (0n <= contentLength ? contentLength <= containsUpper : false) {
|
|
1288
1288
|
this.a9_1 = 1;
|
|
1289
|
-
suspendResult = copyTo(this.
|
|
1289
|
+
suspendResult = copyTo(this.j36_1, this.k36_1, contentLength, this);
|
|
1290
1290
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1291
1291
|
return suspendResult;
|
|
1292
1292
|
}
|
|
1293
1293
|
continue $sm;
|
|
1294
1294
|
} else {
|
|
1295
1295
|
var tmp_0 = this;
|
|
1296
|
-
throwLimitExceeded(contentLength, this.
|
|
1296
|
+
throwLimitExceeded(contentLength, this.m36_1);
|
|
1297
1297
|
}
|
|
1298
1298
|
}
|
|
1299
1299
|
|
|
1300
1300
|
break;
|
|
1301
1301
|
case 1:
|
|
1302
|
-
this.
|
|
1302
|
+
this.p36_1 = suspendResult;
|
|
1303
1303
|
this.a9_1 = 2;
|
|
1304
|
-
suspendResult = skipIfFoundReadCount(this.
|
|
1304
|
+
suspendResult = skipIfFoundReadCount(this.j36_1, this.i36_1, this);
|
|
1305
1305
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1306
1306
|
return suspendResult;
|
|
1307
1307
|
}
|
|
@@ -1309,24 +1309,24 @@
|
|
|
1309
1309
|
continue $sm;
|
|
1310
1310
|
case 2:
|
|
1311
1311
|
var ARGUMENT = suspendResult;
|
|
1312
|
-
this.
|
|
1312
|
+
this.o36_1 = add(this.p36_1, ARGUMENT);
|
|
1313
1313
|
this.a9_1 = 4;
|
|
1314
1314
|
continue $sm;
|
|
1315
1315
|
case 3:
|
|
1316
|
-
this.
|
|
1316
|
+
this.o36_1 = suspendResult;
|
|
1317
1317
|
this.a9_1 = 4;
|
|
1318
1318
|
continue $sm;
|
|
1319
1319
|
case 4:
|
|
1320
|
-
this.
|
|
1320
|
+
this.n36_1 = this.o36_1;
|
|
1321
1321
|
this.a9_1 = 5;
|
|
1322
|
-
suspendResult = this.
|
|
1322
|
+
suspendResult = this.k36_1.s1k(this);
|
|
1323
1323
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1324
1324
|
return suspendResult;
|
|
1325
1325
|
}
|
|
1326
1326
|
|
|
1327
1327
|
continue $sm;
|
|
1328
1328
|
case 5:
|
|
1329
|
-
return this.
|
|
1329
|
+
return this.n36_1;
|
|
1330
1330
|
case 6:
|
|
1331
1331
|
throw this.d9_1;
|
|
1332
1332
|
}
|
|
@@ -1343,8 +1343,8 @@
|
|
|
1343
1343
|
};
|
|
1344
1344
|
function $skipIfFoundReadCountCOROUTINE$(_this__u8e3s4, prefix, resultContinuation) {
|
|
1345
1345
|
CoroutineImpl.call(this, resultContinuation);
|
|
1346
|
-
this.
|
|
1347
|
-
this.
|
|
1346
|
+
this.y36_1 = _this__u8e3s4;
|
|
1347
|
+
this.z36_1 = prefix;
|
|
1348
1348
|
}
|
|
1349
1349
|
protoOf($skipIfFoundReadCountCOROUTINE$).i9 = function () {
|
|
1350
1350
|
var suspendResult = this.c9_1;
|
|
@@ -1355,7 +1355,7 @@
|
|
|
1355
1355
|
case 0:
|
|
1356
1356
|
this.b9_1 = 3;
|
|
1357
1357
|
this.a9_1 = 1;
|
|
1358
|
-
suspendResult = skipIfFound(this.
|
|
1358
|
+
suspendResult = skipIfFound(this.y36_1, this.z36_1, this);
|
|
1359
1359
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1360
1360
|
return suspendResult;
|
|
1361
1361
|
}
|
|
@@ -1364,18 +1364,18 @@
|
|
|
1364
1364
|
case 1:
|
|
1365
1365
|
if (suspendResult) {
|
|
1366
1366
|
var tmp_0 = this;
|
|
1367
|
-
tmp_0.
|
|
1367
|
+
tmp_0.a37_1 = fromInt(this.z36_1.l1());
|
|
1368
1368
|
this.a9_1 = 2;
|
|
1369
1369
|
continue $sm;
|
|
1370
1370
|
} else {
|
|
1371
1371
|
var tmp_1 = this;
|
|
1372
|
-
tmp_1.
|
|
1372
|
+
tmp_1.a37_1 = 0n;
|
|
1373
1373
|
this.a9_1 = 2;
|
|
1374
1374
|
continue $sm;
|
|
1375
1375
|
}
|
|
1376
1376
|
|
|
1377
1377
|
case 2:
|
|
1378
|
-
return this.
|
|
1378
|
+
return this.a37_1;
|
|
1379
1379
|
case 3:
|
|
1380
1380
|
throw this.d9_1;
|
|
1381
1381
|
}
|
|
@@ -1463,16 +1463,16 @@
|
|
|
1463
1463
|
return new Char(charSequenceGet(s, idx));
|
|
1464
1464
|
}
|
|
1465
1465
|
function Node(ch, exact, children) {
|
|
1466
|
-
this.
|
|
1467
|
-
this.
|
|
1468
|
-
this.
|
|
1466
|
+
this.k38_1 = ch;
|
|
1467
|
+
this.l38_1 = exact;
|
|
1468
|
+
this.m38_1 = children;
|
|
1469
1469
|
var tmp = this;
|
|
1470
1470
|
var tmp_0 = 0;
|
|
1471
1471
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1472
1472
|
var tmp_1 = Array(256);
|
|
1473
1473
|
while (tmp_0 < 256) {
|
|
1474
1474
|
var tmp_2 = tmp_0;
|
|
1475
|
-
var tmp0 = this.
|
|
1475
|
+
var tmp0 = this.m38_1;
|
|
1476
1476
|
var tmp$ret$3;
|
|
1477
1477
|
$l$block_0: {
|
|
1478
1478
|
// Inline function 'kotlin.collections.singleOrNull' call
|
|
@@ -1482,7 +1482,7 @@
|
|
|
1482
1482
|
while (_iterator__ex2g4s.u()) {
|
|
1483
1483
|
var element = _iterator__ex2g4s.v();
|
|
1484
1484
|
// Inline function 'kotlin.code' call
|
|
1485
|
-
var this_0 = element.
|
|
1485
|
+
var this_0 = element.k38_1;
|
|
1486
1486
|
if (Char__toInt_impl_vasixd(this_0) === tmp_2) {
|
|
1487
1487
|
if (found) {
|
|
1488
1488
|
tmp$ret$3 = null;
|
|
@@ -1501,15 +1501,15 @@
|
|
|
1501
1501
|
tmp_1[tmp_2] = tmp$ret$3;
|
|
1502
1502
|
tmp_0 = tmp_0 + 1 | 0;
|
|
1503
1503
|
}
|
|
1504
|
-
tmp.
|
|
1504
|
+
tmp.n38_1 = tmp_1;
|
|
1505
1505
|
}
|
|
1506
1506
|
function Companion() {
|
|
1507
1507
|
}
|
|
1508
|
-
protoOf(Companion).
|
|
1508
|
+
protoOf(Companion).l35 = function (from) {
|
|
1509
1509
|
var tmp = AsciiCharTree$Companion$build$lambda;
|
|
1510
|
-
return this.
|
|
1510
|
+
return this.o38(from, tmp, AsciiCharTree$Companion$build$lambda_0);
|
|
1511
1511
|
};
|
|
1512
|
-
protoOf(Companion).
|
|
1512
|
+
protoOf(Companion).o38 = function (from, length, charAt) {
|
|
1513
1513
|
var tmp$ret$0;
|
|
1514
1514
|
$l$block_0: {
|
|
1515
1515
|
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
@@ -1586,10 +1586,10 @@
|
|
|
1586
1586
|
return Companion_instance;
|
|
1587
1587
|
}
|
|
1588
1588
|
function AsciiCharTree(root) {
|
|
1589
|
-
this.
|
|
1589
|
+
this.p38_1 = root;
|
|
1590
1590
|
}
|
|
1591
1591
|
function getImpl($this, index) {
|
|
1592
|
-
return bufferForIndex($this, index)[index % ensureNotNull($this.
|
|
1592
|
+
return bufferForIndex($this, index)[index % ensureNotNull($this.r33_1).length | 0];
|
|
1593
1593
|
}
|
|
1594
1594
|
function copy($this, startIndex, endIndex) {
|
|
1595
1595
|
if (startIndex === endIndex)
|
|
@@ -1618,27 +1618,27 @@
|
|
|
1618
1618
|
return builder;
|
|
1619
1619
|
}
|
|
1620
1620
|
function SubSequenceImpl($outer, start, end) {
|
|
1621
|
-
this.
|
|
1622
|
-
this.
|
|
1623
|
-
this.
|
|
1624
|
-
this.
|
|
1621
|
+
this.t38_1 = $outer;
|
|
1622
|
+
this.q38_1 = start;
|
|
1623
|
+
this.r38_1 = end;
|
|
1624
|
+
this.s38_1 = null;
|
|
1625
1625
|
}
|
|
1626
1626
|
protoOf(SubSequenceImpl).a = function () {
|
|
1627
|
-
return this.
|
|
1627
|
+
return this.r38_1 - this.q38_1 | 0;
|
|
1628
1628
|
};
|
|
1629
1629
|
protoOf(SubSequenceImpl).b = function (index) {
|
|
1630
|
-
var withOffset = index + this.
|
|
1630
|
+
var withOffset = index + this.q38_1 | 0;
|
|
1631
1631
|
// Inline function 'kotlin.require' call
|
|
1632
1632
|
if (!(index >= 0)) {
|
|
1633
1633
|
var message = 'index is negative: ' + index;
|
|
1634
1634
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1635
1635
|
}
|
|
1636
1636
|
// Inline function 'kotlin.require' call
|
|
1637
|
-
if (!(withOffset < this.
|
|
1637
|
+
if (!(withOffset < this.r38_1)) {
|
|
1638
1638
|
var message_0 = 'index (' + index + ') should be less than length (' + this.a() + ')';
|
|
1639
1639
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1640
1640
|
}
|
|
1641
|
-
return getImpl(this.
|
|
1641
|
+
return getImpl(this.t38_1, withOffset);
|
|
1642
1642
|
};
|
|
1643
1643
|
protoOf(SubSequenceImpl).c = function (startIndex, endIndex) {
|
|
1644
1644
|
// Inline function 'kotlin.require' call
|
|
@@ -1652,21 +1652,21 @@
|
|
|
1652
1652
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1653
1653
|
}
|
|
1654
1654
|
// Inline function 'kotlin.require' call
|
|
1655
|
-
if (!(endIndex <= (this.
|
|
1655
|
+
if (!(endIndex <= (this.r38_1 - this.q38_1 | 0))) {
|
|
1656
1656
|
var message_1 = 'end should be less than length (' + this.a() + ')';
|
|
1657
1657
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1658
1658
|
}
|
|
1659
1659
|
if (startIndex === endIndex)
|
|
1660
1660
|
return '';
|
|
1661
|
-
return new SubSequenceImpl(this.
|
|
1661
|
+
return new SubSequenceImpl(this.t38_1, this.q38_1 + startIndex | 0, this.q38_1 + endIndex | 0);
|
|
1662
1662
|
};
|
|
1663
1663
|
protoOf(SubSequenceImpl).toString = function () {
|
|
1664
|
-
var tmp0_elvis_lhs = this.
|
|
1664
|
+
var tmp0_elvis_lhs = this.s38_1;
|
|
1665
1665
|
var tmp;
|
|
1666
1666
|
if (tmp0_elvis_lhs == null) {
|
|
1667
1667
|
// Inline function 'kotlin.also' call
|
|
1668
|
-
var this_0 = toString(copy(this.
|
|
1669
|
-
this.
|
|
1668
|
+
var this_0 = toString(copy(this.t38_1, this.q38_1, this.r38_1));
|
|
1669
|
+
this.s38_1 = this_0;
|
|
1670
1670
|
tmp = this_0;
|
|
1671
1671
|
} else {
|
|
1672
1672
|
tmp = tmp0_elvis_lhs;
|
|
@@ -1678,20 +1678,20 @@
|
|
|
1678
1678
|
return false;
|
|
1679
1679
|
if (!(charSequenceLength(other) === this.a()))
|
|
1680
1680
|
return false;
|
|
1681
|
-
return rangeEqualsImpl(this.
|
|
1681
|
+
return rangeEqualsImpl(this.t38_1, this.q38_1, other, 0, this.a());
|
|
1682
1682
|
};
|
|
1683
1683
|
protoOf(SubSequenceImpl).hashCode = function () {
|
|
1684
|
-
var tmp0_safe_receiver = this.
|
|
1684
|
+
var tmp0_safe_receiver = this.s38_1;
|
|
1685
1685
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1686
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this.
|
|
1686
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this.t38_1, this.q38_1, this.r38_1) : tmp1_elvis_lhs;
|
|
1687
1687
|
};
|
|
1688
1688
|
function bufferForIndex($this, index) {
|
|
1689
|
-
var list = $this.
|
|
1689
|
+
var list = $this.q33_1;
|
|
1690
1690
|
if (list == null) {
|
|
1691
1691
|
if (index >= 2048) {
|
|
1692
1692
|
throwSingleBuffer($this, index);
|
|
1693
1693
|
}
|
|
1694
|
-
var tmp0_elvis_lhs = $this.
|
|
1694
|
+
var tmp0_elvis_lhs = $this.r33_1;
|
|
1695
1695
|
var tmp;
|
|
1696
1696
|
if (tmp0_elvis_lhs == null) {
|
|
1697
1697
|
throwSingleBuffer($this, index);
|
|
@@ -1700,29 +1700,29 @@
|
|
|
1700
1700
|
}
|
|
1701
1701
|
return tmp;
|
|
1702
1702
|
}
|
|
1703
|
-
return list.m1(index / ensureNotNull($this.
|
|
1703
|
+
return list.m1(index / ensureNotNull($this.r33_1).length | 0);
|
|
1704
1704
|
}
|
|
1705
1705
|
function throwSingleBuffer($this, index) {
|
|
1706
|
-
if ($this.
|
|
1706
|
+
if ($this.t33_1)
|
|
1707
1707
|
throw IllegalStateException_init_$Create$('Buffer is already released');
|
|
1708
1708
|
throw IndexOutOfBoundsException_init_$Create$('' + index + ' is not in range [0; ' + currentPosition($this) + ')');
|
|
1709
1709
|
}
|
|
1710
1710
|
function nonFullBuffer($this) {
|
|
1711
|
-
return $this.
|
|
1711
|
+
return $this.u33_1 === 0 ? appendNewArray($this) : ensureNotNull($this.r33_1);
|
|
1712
1712
|
}
|
|
1713
1713
|
function appendNewArray($this) {
|
|
1714
|
-
var newBuffer = $this.
|
|
1715
|
-
var existing = $this.
|
|
1716
|
-
$this.
|
|
1717
|
-
$this.
|
|
1718
|
-
$this.
|
|
1714
|
+
var newBuffer = $this.p33_1.n1v();
|
|
1715
|
+
var existing = $this.r33_1;
|
|
1716
|
+
$this.r33_1 = newBuffer;
|
|
1717
|
+
$this.u33_1 = newBuffer.length;
|
|
1718
|
+
$this.t33_1 = false;
|
|
1719
1719
|
if (!(existing == null)) {
|
|
1720
|
-
var tmp0_elvis_lhs = $this.
|
|
1720
|
+
var tmp0_elvis_lhs = $this.q33_1;
|
|
1721
1721
|
var tmp;
|
|
1722
1722
|
if (tmp0_elvis_lhs == null) {
|
|
1723
1723
|
// Inline function 'kotlin.also' call
|
|
1724
1724
|
var this_0 = ArrayList_init_$Create$();
|
|
1725
|
-
$this.
|
|
1725
|
+
$this.q33_1 = this_0;
|
|
1726
1726
|
this_0.j1(existing);
|
|
1727
1727
|
tmp = this_0;
|
|
1728
1728
|
} else {
|
|
@@ -1761,20 +1761,20 @@
|
|
|
1761
1761
|
return hc;
|
|
1762
1762
|
}
|
|
1763
1763
|
function currentPosition($this) {
|
|
1764
|
-
return ensureNotNull($this.
|
|
1764
|
+
return ensureNotNull($this.r33_1).length - $this.u33_1 | 0;
|
|
1765
1765
|
}
|
|
1766
1766
|
function CharArrayBuilder(pool) {
|
|
1767
1767
|
pool = pool === VOID ? get_CharArrayPool() : pool;
|
|
1768
|
-
this.
|
|
1769
|
-
this.
|
|
1770
|
-
this.
|
|
1771
|
-
this.
|
|
1772
|
-
this.
|
|
1773
|
-
this.
|
|
1774
|
-
this.
|
|
1768
|
+
this.p33_1 = pool;
|
|
1769
|
+
this.q33_1 = null;
|
|
1770
|
+
this.r33_1 = null;
|
|
1771
|
+
this.s33_1 = null;
|
|
1772
|
+
this.t33_1 = false;
|
|
1773
|
+
this.u33_1 = 0;
|
|
1774
|
+
this.v33_1 = 0;
|
|
1775
1775
|
}
|
|
1776
1776
|
protoOf(CharArrayBuilder).a = function () {
|
|
1777
|
-
return this.
|
|
1777
|
+
return this.v33_1;
|
|
1778
1778
|
};
|
|
1779
1779
|
protoOf(CharArrayBuilder).b = function (index) {
|
|
1780
1780
|
// Inline function 'kotlin.require' call
|
|
@@ -1783,8 +1783,8 @@
|
|
|
1783
1783
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1784
1784
|
}
|
|
1785
1785
|
// Inline function 'kotlin.require' call
|
|
1786
|
-
if (!(index < this.
|
|
1787
|
-
var message_0 = 'index ' + index + ' is not in range [0, ' + this.
|
|
1786
|
+
if (!(index < this.v33_1)) {
|
|
1787
|
+
var message_0 = 'index ' + index + ' is not in range [0, ' + this.v33_1 + ')';
|
|
1788
1788
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1789
1789
|
}
|
|
1790
1790
|
return getImpl(this, index);
|
|
@@ -1801,19 +1801,19 @@
|
|
|
1801
1801
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1802
1802
|
}
|
|
1803
1803
|
// Inline function 'kotlin.require' call
|
|
1804
|
-
if (!(endIndex <= this.
|
|
1805
|
-
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.
|
|
1804
|
+
if (!(endIndex <= this.v33_1)) {
|
|
1805
|
+
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.v33_1 + ')';
|
|
1806
1806
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1807
1807
|
}
|
|
1808
1808
|
return new SubSequenceImpl(this, startIndex, endIndex);
|
|
1809
1809
|
};
|
|
1810
1810
|
protoOf(CharArrayBuilder).toString = function () {
|
|
1811
|
-
var tmp0_elvis_lhs = this.
|
|
1811
|
+
var tmp0_elvis_lhs = this.s33_1;
|
|
1812
1812
|
var tmp;
|
|
1813
1813
|
if (tmp0_elvis_lhs == null) {
|
|
1814
1814
|
// Inline function 'kotlin.also' call
|
|
1815
|
-
var this_0 = toString(copy(this, 0, this.
|
|
1816
|
-
this.
|
|
1815
|
+
var this_0 = toString(copy(this, 0, this.v33_1));
|
|
1816
|
+
this.s33_1 = this_0;
|
|
1817
1817
|
tmp = this_0;
|
|
1818
1818
|
} else {
|
|
1819
1819
|
tmp = tmp0_elvis_lhs;
|
|
@@ -1823,20 +1823,20 @@
|
|
|
1823
1823
|
protoOf(CharArrayBuilder).equals = function (other) {
|
|
1824
1824
|
if (!(!(other == null) ? isCharSequence(other) : false))
|
|
1825
1825
|
return false;
|
|
1826
|
-
if (!(this.
|
|
1826
|
+
if (!(this.v33_1 === charSequenceLength(other)))
|
|
1827
1827
|
return false;
|
|
1828
|
-
return rangeEqualsImpl(this, 0, other, 0, this.
|
|
1828
|
+
return rangeEqualsImpl(this, 0, other, 0, this.v33_1);
|
|
1829
1829
|
};
|
|
1830
1830
|
protoOf(CharArrayBuilder).hashCode = function () {
|
|
1831
|
-
var tmp0_safe_receiver = this.
|
|
1831
|
+
var tmp0_safe_receiver = this.s33_1;
|
|
1832
1832
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1833
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.
|
|
1833
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.v33_1) : tmp1_elvis_lhs;
|
|
1834
1834
|
};
|
|
1835
1835
|
protoOf(CharArrayBuilder).s = function (value) {
|
|
1836
|
-
nonFullBuffer(this)[ensureNotNull(this.
|
|
1837
|
-
this.
|
|
1838
|
-
this.
|
|
1839
|
-
this.
|
|
1836
|
+
nonFullBuffer(this)[ensureNotNull(this.r33_1).length - this.u33_1 | 0] = value;
|
|
1837
|
+
this.s33_1 = null;
|
|
1838
|
+
this.u33_1 = this.u33_1 - 1 | 0;
|
|
1839
|
+
this.v33_1 = this.v33_1 + 1 | 0;
|
|
1840
1840
|
return this;
|
|
1841
1841
|
};
|
|
1842
1842
|
protoOf(CharArrayBuilder).kc = function (value, startIndex, endIndex) {
|
|
@@ -1845,10 +1845,10 @@
|
|
|
1845
1845
|
var current = startIndex;
|
|
1846
1846
|
while (current < endIndex) {
|
|
1847
1847
|
var buffer = nonFullBuffer(this);
|
|
1848
|
-
var offset = buffer.length - this.
|
|
1848
|
+
var offset = buffer.length - this.u33_1 | 0;
|
|
1849
1849
|
var tmp0 = endIndex - current | 0;
|
|
1850
1850
|
// Inline function 'kotlin.math.min' call
|
|
1851
|
-
var b = this.
|
|
1851
|
+
var b = this.u33_1;
|
|
1852
1852
|
var bytesToCopy = Math.min(tmp0, b);
|
|
1853
1853
|
var inductionVariable = 0;
|
|
1854
1854
|
if (inductionVariable < bytesToCopy)
|
|
@@ -1859,10 +1859,10 @@
|
|
|
1859
1859
|
}
|
|
1860
1860
|
while (inductionVariable < bytesToCopy);
|
|
1861
1861
|
current = current + bytesToCopy | 0;
|
|
1862
|
-
this.
|
|
1862
|
+
this.u33_1 = this.u33_1 - bytesToCopy | 0;
|
|
1863
1863
|
}
|
|
1864
|
-
this.
|
|
1865
|
-
this.
|
|
1864
|
+
this.s33_1 = null;
|
|
1865
|
+
this.v33_1 = this.v33_1 + (endIndex - startIndex | 0) | 0;
|
|
1866
1866
|
return this;
|
|
1867
1867
|
};
|
|
1868
1868
|
protoOf(CharArrayBuilder).k1 = function (value) {
|
|
@@ -1870,34 +1870,34 @@
|
|
|
1870
1870
|
return this;
|
|
1871
1871
|
return this.kc(value, 0, charSequenceLength(value));
|
|
1872
1872
|
};
|
|
1873
|
-
protoOf(CharArrayBuilder).
|
|
1874
|
-
var list = this.
|
|
1873
|
+
protoOf(CharArrayBuilder).h1g = function () {
|
|
1874
|
+
var list = this.q33_1;
|
|
1875
1875
|
if (!(list == null)) {
|
|
1876
|
-
this.
|
|
1876
|
+
this.r33_1 = null;
|
|
1877
1877
|
var inductionVariable = 0;
|
|
1878
1878
|
var last = list.l1();
|
|
1879
1879
|
if (inductionVariable < last)
|
|
1880
1880
|
do {
|
|
1881
1881
|
var i = inductionVariable;
|
|
1882
1882
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1883
|
-
this.
|
|
1883
|
+
this.p33_1.o1v(list.m1(i));
|
|
1884
1884
|
}
|
|
1885
1885
|
while (inductionVariable < last);
|
|
1886
1886
|
} else {
|
|
1887
|
-
var tmp0_safe_receiver = this.
|
|
1887
|
+
var tmp0_safe_receiver = this.r33_1;
|
|
1888
1888
|
if (tmp0_safe_receiver == null)
|
|
1889
1889
|
null;
|
|
1890
1890
|
else {
|
|
1891
1891
|
// Inline function 'kotlin.let' call
|
|
1892
|
-
this.
|
|
1892
|
+
this.p33_1.o1v(tmp0_safe_receiver);
|
|
1893
1893
|
}
|
|
1894
|
-
this.
|
|
1894
|
+
this.r33_1 = null;
|
|
1895
1895
|
}
|
|
1896
|
-
this.
|
|
1897
|
-
this.
|
|
1898
|
-
this.
|
|
1899
|
-
this.
|
|
1900
|
-
this.
|
|
1896
|
+
this.t33_1 = true;
|
|
1897
|
+
this.q33_1 = null;
|
|
1898
|
+
this.s33_1 = null;
|
|
1899
|
+
this.v33_1 = 0;
|
|
1900
|
+
this.u33_1 = 0;
|
|
1901
1901
|
};
|
|
1902
1902
|
function get_CharArrayPool() {
|
|
1903
1903
|
_init_properties_CharArrayPool_kt__u4nq0d();
|
|
@@ -1907,13 +1907,13 @@
|
|
|
1907
1907
|
function CharArrayPool$1() {
|
|
1908
1908
|
NoPoolImpl.call(this);
|
|
1909
1909
|
}
|
|
1910
|
-
protoOf(CharArrayPool$1).
|
|
1910
|
+
protoOf(CharArrayPool$1).n1v = function () {
|
|
1911
1911
|
return charArray(2048);
|
|
1912
1912
|
};
|
|
1913
1913
|
function CharArrayPool$2() {
|
|
1914
1914
|
DefaultPool.call(this, 4096);
|
|
1915
1915
|
}
|
|
1916
|
-
protoOf(CharArrayPool$2).
|
|
1916
|
+
protoOf(CharArrayPool$2).g1v = function () {
|
|
1917
1917
|
return charArray(2048);
|
|
1918
1918
|
};
|
|
1919
1919
|
var properties_initialized_CharArrayPool_kt_aq0u0f;
|
|
@@ -2104,20 +2104,20 @@
|
|
|
2104
2104
|
}
|
|
2105
2105
|
function DefaultHttpMethods$lambda(it) {
|
|
2106
2106
|
_init_properties_Chars_kt__d3i39x();
|
|
2107
|
-
return it.
|
|
2107
|
+
return it.s2w_1.length;
|
|
2108
2108
|
}
|
|
2109
2109
|
function DefaultHttpMethods$lambda_0(m, idx) {
|
|
2110
2110
|
_init_properties_Chars_kt__d3i39x();
|
|
2111
|
-
return new Char(charCodeAt(m.
|
|
2111
|
+
return new Char(charCodeAt(m.s2w_1, idx));
|
|
2112
2112
|
}
|
|
2113
2113
|
var properties_initialized_Chars_kt_phjfhp;
|
|
2114
2114
|
function _init_properties_Chars_kt__d3i39x() {
|
|
2115
2115
|
if (!properties_initialized_Chars_kt_phjfhp) {
|
|
2116
2116
|
properties_initialized_Chars_kt_phjfhp = true;
|
|
2117
2117
|
var tmp = Companion_instance;
|
|
2118
|
-
var tmp_0 = Companion_getInstance_0().
|
|
2118
|
+
var tmp_0 = Companion_getInstance_0().r2w_1;
|
|
2119
2119
|
var tmp_1 = DefaultHttpMethods$lambda;
|
|
2120
|
-
DefaultHttpMethods = tmp.
|
|
2120
|
+
DefaultHttpMethods = tmp.o38(tmp_0, tmp_1, DefaultHttpMethods$lambda_0);
|
|
2121
2121
|
// Inline function 'kotlin.collections.map' call
|
|
2122
2122
|
var this_0 = numberRangeToNumber(0, 255);
|
|
2123
2123
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -2218,11 +2218,11 @@
|
|
|
2218
2218
|
captureStack(this, UnsupportedMediaTypeExceptionCIO);
|
|
2219
2219
|
}
|
|
2220
2220
|
function MutableRange(start, end) {
|
|
2221
|
-
this.
|
|
2222
|
-
this.
|
|
2221
|
+
this.j35_1 = start;
|
|
2222
|
+
this.k35_1 = end;
|
|
2223
2223
|
}
|
|
2224
2224
|
protoOf(MutableRange).toString = function () {
|
|
2225
|
-
return 'MutableRange(start=' + this.
|
|
2225
|
+
return 'MutableRange(start=' + this.j35_1 + ', end=' + this.k35_1 + ')';
|
|
2226
2226
|
};
|
|
2227
2227
|
function skipSpacesAndHorizontalTabs(text, start, end) {
|
|
2228
2228
|
var index = start;
|