client_plugin_logic_deb 1.8.470 → 1.8.472
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/Kosi-Kaverit-kaverit.js +77 -77
- package/Kosi-Kodein-kodein-di.js +595 -595
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1631 -1631
- package/Logic_Debertz-ai_module.js +544 -544
- package/Logic_Debertz-ai_module.js.map +1 -1
- package/Logic_Debertz-bot_engine.js +618 -614
- package/Logic_Debertz-bot_engine.js.map +1 -1
- package/Logic_Debertz-client_plugin.d.ts +4 -3
- package/Logic_Debertz-client_plugin.js +3271 -3272
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +1901 -1901
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +17728 -17689
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +9591 -9591
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +1411 -1411
- package/Logic_Debertz-game_server.js.map +1 -1
- package/error-library-error.js +5 -5
- package/kotlin-kotlin-stdlib.js +1306 -953
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +22 -22
- package/kotlinx-coroutines-core.js +2589 -2589
- package/kotlinx-io-kotlinx-io-bytestring.js +47 -47
- package/kotlinx-io-kotlinx-io-core.js +582 -582
- package/kotlinx-serialization-kotlinx-serialization-core.js +1956 -1956
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1444 -1444
- package/ktor-ktor-client-content-negotiation.js +158 -158
- package/ktor-ktor-client-core.js +1977 -1977
- package/ktor-ktor-client-logging.js +652 -652
- package/ktor-ktor-events.js +12 -12
- package/ktor-ktor-http-cio.js +372 -372
- package/ktor-ktor-http.js +742 -742
- package/ktor-ktor-io.js +653 -653
- package/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/ktor-ktor-serialization-kotlinx.js +153 -153
- package/ktor-ktor-serialization.js +72 -72
- package/ktor-ktor-utils.js +701 -701
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websockets.js +52 -52
- package/package.json +1 -1
- package/random-library-crypto-rand.js +13 -13
- package/random-library-secure-random.js +8 -8
- package/raspberry-cardgame-lib-core.js +224 -224
- package/raspberry-cardgame-lib-logger.js +106 -106
- package/raspberry-cardgame-lib-random.js +865 -865
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/uuid.js +29 -29
package/ktor-ktor-http-cio.js
CHANGED
|
@@ -28,108 +28,108 @@
|
|
|
28
28
|
'use strict';
|
|
29
29
|
//region block: imports
|
|
30
30
|
var imul = Math.imul;
|
|
31
|
-
var Long = kotlin_kotlin.$_$.
|
|
31
|
+
var Long = kotlin_kotlin.$_$.xi;
|
|
32
32
|
var VOID = kotlin_kotlin.$_$.b;
|
|
33
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
33
|
+
var protoOf = kotlin_kotlin.$_$.oe;
|
|
34
34
|
var MultiPartData = kotlin_io_ktor_ktor_http.$_$.l;
|
|
35
35
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t1;
|
|
36
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
37
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
38
|
-
var toString = kotlin_kotlin.$_$.
|
|
36
|
+
var initMetadataForClass = kotlin_kotlin.$_$.nd;
|
|
37
|
+
var Unit_instance = kotlin_kotlin.$_$.l5;
|
|
38
|
+
var toString = kotlin_kotlin.$_$.re;
|
|
39
39
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.o1;
|
|
40
|
-
var abs = kotlin_kotlin.$_$.
|
|
40
|
+
var abs = kotlin_kotlin.$_$.se;
|
|
41
41
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.c1;
|
|
42
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
43
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
44
|
-
var SequenceScope = kotlin_kotlin.$_$.
|
|
45
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
46
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
42
|
+
var CoroutineImpl = kotlin_kotlin.$_$.pb;
|
|
43
|
+
var THROW_CCE = kotlin_kotlin.$_$.dj;
|
|
44
|
+
var SequenceScope = kotlin_kotlin.$_$.sf;
|
|
45
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.za;
|
|
46
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.sd;
|
|
47
47
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
|
|
48
|
-
var sequence = kotlin_kotlin.$_$.
|
|
48
|
+
var sequence = kotlin_kotlin.$_$.yf;
|
|
49
49
|
var DefaultPool = kotlin_io_ktor_ktor_io.$_$.g1;
|
|
50
|
-
var fill = kotlin_kotlin.$_$.
|
|
51
|
-
var isIntArray = kotlin_kotlin.$_$.
|
|
50
|
+
var fill = kotlin_kotlin.$_$.s7;
|
|
51
|
+
var isIntArray = kotlin_kotlin.$_$.be;
|
|
52
52
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.q2;
|
|
53
|
-
var endsWith = kotlin_kotlin.$_$.
|
|
54
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
55
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
56
|
-
var Char = kotlin_kotlin.$_$.
|
|
53
|
+
var endsWith = kotlin_kotlin.$_$.hg;
|
|
54
|
+
var charSequenceLength = kotlin_kotlin.$_$.bd;
|
|
55
|
+
var charSequenceGet = kotlin_kotlin.$_$.ad;
|
|
56
|
+
var Char = kotlin_kotlin.$_$.ni;
|
|
57
57
|
var Char__compareTo_impl_ypi4mb = kotlin_kotlin.$_$.r2;
|
|
58
|
-
var contains = kotlin_kotlin.$_$.
|
|
59
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
58
|
+
var contains = kotlin_kotlin.$_$.dg;
|
|
59
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.cd;
|
|
60
60
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.w2;
|
|
61
|
-
var IllegalStateException = kotlin_kotlin.$_$.
|
|
61
|
+
var IllegalStateException = kotlin_kotlin.$_$.wi;
|
|
62
62
|
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.r1;
|
|
63
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
63
|
+
var captureStack = kotlin_kotlin.$_$.wc;
|
|
64
64
|
var readUTF8LineTo = kotlin_io_ktor_ktor_io.$_$.h;
|
|
65
65
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.s1;
|
|
66
66
|
var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.g;
|
|
67
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
68
|
-
var setOf = kotlin_kotlin.$_$.
|
|
67
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.pd;
|
|
68
|
+
var setOf = kotlin_kotlin.$_$.t9;
|
|
69
69
|
var Companion_getInstance = kotlin_io_ktor_ktor_io.$_$.q;
|
|
70
70
|
var LineEndingMode__plus_impl_ttpz2j = kotlin_io_ktor_ktor_io.$_$.n;
|
|
71
|
-
var listOf = kotlin_kotlin.$_$.
|
|
71
|
+
var listOf = kotlin_kotlin.$_$.w8;
|
|
72
72
|
var MultiPart_getInstance = kotlin_io_ktor_ktor_http.$_$.d;
|
|
73
73
|
var ByteString_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.a;
|
|
74
74
|
var IOException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.c;
|
|
75
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
76
|
-
var toByte = kotlin_kotlin.$_$.
|
|
77
|
-
var copyOfRange = kotlin_kotlin.$_$.
|
|
75
|
+
var toString_0 = kotlin_kotlin.$_$.vh;
|
|
76
|
+
var toByte = kotlin_kotlin.$_$.pe;
|
|
77
|
+
var copyOfRange = kotlin_kotlin.$_$.a7;
|
|
78
78
|
var produce = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.r;
|
|
79
|
-
var startsWith = kotlin_kotlin.$_$.
|
|
79
|
+
var startsWith = kotlin_kotlin.$_$.hh;
|
|
80
80
|
var readUntil = kotlin_io_ktor_ktor_io.$_$.i;
|
|
81
81
|
var WriterScope = kotlin_io_ktor_ktor_io.$_$.l1;
|
|
82
82
|
var ProducerScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.p;
|
|
83
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
83
|
+
var isInterface = kotlin_kotlin.$_$.ce;
|
|
84
84
|
var counted = kotlin_io_ktor_ktor_io.$_$.o1;
|
|
85
85
|
var writer = kotlin_io_ktor_ktor_io.$_$.s1;
|
|
86
86
|
var readRemaining = kotlin_io_ktor_ktor_io.$_$.f;
|
|
87
87
|
var get_remaining = kotlin_io_ktor_ktor_io.$_$.a1;
|
|
88
|
-
var compare = kotlin_kotlin.$_$.
|
|
88
|
+
var compare = kotlin_kotlin.$_$.zb;
|
|
89
89
|
var skipIfFound = kotlin_io_ktor_ktor_io.$_$.j;
|
|
90
90
|
var ByteChannel = kotlin_io_ktor_ktor_io.$_$.i1;
|
|
91
91
|
var CompletableDeferred = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.o1;
|
|
92
92
|
var CancellationException_init_$Create$ = kotlin_kotlin.$_$.x;
|
|
93
93
|
var close = kotlin_io_ktor_ktor_io.$_$.n1;
|
|
94
|
-
var subtract = kotlin_kotlin.$_$.
|
|
95
|
-
var convertToInt = kotlin_kotlin.$_$.
|
|
94
|
+
var subtract = kotlin_kotlin.$_$.qc;
|
|
95
|
+
var convertToInt = kotlin_kotlin.$_$.bc;
|
|
96
96
|
var readPacket = kotlin_io_ktor_ktor_io.$_$.e;
|
|
97
97
|
var EOFException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
|
|
98
98
|
var copyTo = kotlin_io_ktor_ktor_io.$_$.a;
|
|
99
|
-
var add = kotlin_kotlin.$_$.
|
|
100
|
-
var fromInt = kotlin_kotlin.$_$.
|
|
99
|
+
var add = kotlin_kotlin.$_$.vb;
|
|
100
|
+
var fromInt = kotlin_kotlin.$_$.fc;
|
|
101
101
|
var toByteArray = kotlin_io_ktor_ktor_io.$_$.c1;
|
|
102
102
|
var ByteString = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.c;
|
|
103
103
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.s;
|
|
104
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
104
|
+
var compareTo = kotlin_kotlin.$_$.dd;
|
|
105
105
|
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.y1;
|
|
106
|
-
var Collection = kotlin_kotlin.$_$.
|
|
107
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
108
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
109
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
106
|
+
var Collection = kotlin_kotlin.$_$.n5;
|
|
107
|
+
var emptyList = kotlin_kotlin.$_$.p7;
|
|
108
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.od;
|
|
109
|
+
var ensureNotNull = kotlin_kotlin.$_$.vj;
|
|
110
110
|
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.b1;
|
|
111
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
112
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
113
|
-
var CharSequence = kotlin_kotlin.$_$.
|
|
111
|
+
var isCharSequence = kotlin_kotlin.$_$.yd;
|
|
112
|
+
var getStringHashCode = kotlin_kotlin.$_$.ld;
|
|
113
|
+
var CharSequence = kotlin_kotlin.$_$.mi;
|
|
114
114
|
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.v1;
|
|
115
115
|
var NoPoolImpl = kotlin_io_ktor_ktor_io.$_$.h1;
|
|
116
|
-
var charArray = kotlin_kotlin.$_$.
|
|
117
|
-
var shiftLeft = kotlin_kotlin.$_$.
|
|
116
|
+
var charArray = kotlin_kotlin.$_$.yc;
|
|
117
|
+
var shiftLeft = kotlin_kotlin.$_$.nc;
|
|
118
118
|
var NumberFormatException_init_$Create$ = kotlin_kotlin.$_$.z1;
|
|
119
119
|
var toString_1 = kotlin_kotlin.$_$.x2;
|
|
120
|
-
var charCodeAt = kotlin_kotlin.$_$.
|
|
120
|
+
var charCodeAt = kotlin_kotlin.$_$.zc;
|
|
121
121
|
var Companion_getInstance_0 = kotlin_io_ktor_ktor_http.$_$.h;
|
|
122
|
-
var numberRangeToNumber = kotlin_kotlin.$_$.
|
|
123
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
122
|
+
var numberRangeToNumber = kotlin_kotlin.$_$.je;
|
|
123
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.p6;
|
|
124
124
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.i;
|
|
125
|
-
var numberToLong = kotlin_kotlin.$_$.
|
|
126
|
-
var toLongArray = kotlin_kotlin.$_$.
|
|
125
|
+
var numberToLong = kotlin_kotlin.$_$.mc;
|
|
126
|
+
var toLongArray = kotlin_kotlin.$_$.ka;
|
|
127
127
|
var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.u2;
|
|
128
128
|
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.t2;
|
|
129
|
-
var toByteArray_0 = kotlin_kotlin.$_$.
|
|
129
|
+
var toByteArray_0 = kotlin_kotlin.$_$.ea;
|
|
130
130
|
var IOException = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.k;
|
|
131
131
|
var IOException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.b;
|
|
132
|
-
var isWhitespace = kotlin_kotlin.$_$.
|
|
132
|
+
var isWhitespace = kotlin_kotlin.$_$.rg;
|
|
133
133
|
//endregion
|
|
134
134
|
//region block: pre-declaration
|
|
135
135
|
initMetadataForClass(CIOMultipartDataBase, 'CIOMultipartDataBase', VOID, VOID, [MultiPartData, CoroutineScope], [0, 1]);
|
|
@@ -161,12 +161,12 @@
|
|
|
161
161
|
//endregion
|
|
162
162
|
function CIOMultipartDataBase(coroutineContext, channel, contentType, contentLength, formFieldLimit) {
|
|
163
163
|
formFieldLimit = formFieldLimit === VOID ? new Long(65536, 0) : formFieldLimit;
|
|
164
|
-
this.
|
|
165
|
-
this.
|
|
166
|
-
this.
|
|
164
|
+
this.i3u_1 = coroutineContext;
|
|
165
|
+
this.j3u_1 = null;
|
|
166
|
+
this.k3u_1 = parseMultipart(this, channel, contentType, contentLength, formFieldLimit);
|
|
167
167
|
}
|
|
168
|
-
protoOf(CIOMultipartDataBase).
|
|
169
|
-
return this.
|
|
168
|
+
protoOf(CIOMultipartDataBase).m1n = function () {
|
|
169
|
+
return this.i3u_1;
|
|
170
170
|
};
|
|
171
171
|
function get_IntArrayPool() {
|
|
172
172
|
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
@@ -179,103 +179,103 @@
|
|
|
179
179
|
}
|
|
180
180
|
var HeadersDataPool;
|
|
181
181
|
function thresholdReached($this) {
|
|
182
|
-
return $this.
|
|
182
|
+
return $this.m3u_1 >= $this.n3u_1 * 0.75;
|
|
183
183
|
}
|
|
184
184
|
function resize($this) {
|
|
185
|
-
var prevSize = $this.
|
|
186
|
-
var prevData = $this.
|
|
187
|
-
$this.
|
|
188
|
-
$this.
|
|
185
|
+
var prevSize = $this.m3u_1;
|
|
186
|
+
var prevData = $this.o3u_1;
|
|
187
|
+
$this.m3u_1 = 0;
|
|
188
|
+
$this.n3u_1 = imul($this.n3u_1, 2) | 128;
|
|
189
189
|
var tmp = $this;
|
|
190
190
|
// Inline function 'kotlin.apply' call
|
|
191
|
-
var this_0 = get_HeadersDataPool().
|
|
192
|
-
this_0.
|
|
193
|
-
tmp.
|
|
194
|
-
var _iterator__ex2g4s = prevData.
|
|
191
|
+
var this_0 = get_HeadersDataPool().d38();
|
|
192
|
+
this_0.r3u(imul(prevData.q3u(), 2) | 1);
|
|
193
|
+
tmp.o3u_1 = this_0;
|
|
194
|
+
var _iterator__ex2g4s = prevData.s3u().t();
|
|
195
195
|
while (_iterator__ex2g4s.u()) {
|
|
196
196
|
var headerOffset = _iterator__ex2g4s.v();
|
|
197
|
-
$this.
|
|
197
|
+
$this.u3u(prevData.t3u(headerOffset + 1 | 0), prevData.t3u(headerOffset + 2 | 0), prevData.t3u(headerOffset + 3 | 0), prevData.t3u(headerOffset + 4 | 0));
|
|
198
198
|
}
|
|
199
|
-
get_HeadersDataPool().
|
|
199
|
+
get_HeadersDataPool().e38(prevData);
|
|
200
200
|
// Inline function 'kotlin.require' call
|
|
201
201
|
// Inline function 'kotlin.require' call
|
|
202
|
-
if (!(prevSize === $this.
|
|
202
|
+
if (!(prevSize === $this.m3u_1)) {
|
|
203
203
|
var message = 'Failed requirement.';
|
|
204
204
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
function headerHasName($this, name, headerOffset) {
|
|
208
|
-
var nameStartIndex = $this.
|
|
209
|
-
var nameEndIndex = $this.
|
|
210
|
-
return equalsLowerCase($this.
|
|
208
|
+
var nameStartIndex = $this.o3u_1.t3u(headerOffset + 1 | 0);
|
|
209
|
+
var nameEndIndex = $this.o3u_1.t3u(headerOffset + 2 | 0);
|
|
210
|
+
return equalsLowerCase($this.l3u_1, nameStartIndex, nameEndIndex, name);
|
|
211
211
|
}
|
|
212
212
|
function HttpHeadersMap(builder) {
|
|
213
|
-
this.
|
|
214
|
-
this.
|
|
215
|
-
this.
|
|
216
|
-
this.
|
|
213
|
+
this.l3u_1 = builder;
|
|
214
|
+
this.m3u_1 = 0;
|
|
215
|
+
this.n3u_1 = 0;
|
|
216
|
+
this.o3u_1 = get_HeadersDataPool().d38();
|
|
217
217
|
}
|
|
218
|
-
protoOf(HttpHeadersMap).
|
|
219
|
-
if (this.
|
|
218
|
+
protoOf(HttpHeadersMap).l3b = function (name) {
|
|
219
|
+
if (this.m3u_1 === 0)
|
|
220
220
|
return null;
|
|
221
221
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
222
222
|
var this_0 = hashCodeLowerCase(name);
|
|
223
223
|
var hash = abs(this_0);
|
|
224
|
-
var headerIndex = hash % this.
|
|
225
|
-
while (!(this.
|
|
224
|
+
var headerIndex = hash % this.n3u_1 | 0;
|
|
225
|
+
while (!(this.o3u_1.t3u(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
226
226
|
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
227
|
-
return this.
|
|
227
|
+
return this.v3u(imul(headerIndex, 6));
|
|
228
228
|
}
|
|
229
|
-
headerIndex = (headerIndex + 1 | 0) % this.
|
|
229
|
+
headerIndex = (headerIndex + 1 | 0) % this.n3u_1 | 0;
|
|
230
230
|
}
|
|
231
231
|
return null;
|
|
232
232
|
};
|
|
233
|
-
protoOf(HttpHeadersMap).
|
|
234
|
-
return this.
|
|
233
|
+
protoOf(HttpHeadersMap).w3u = function () {
|
|
234
|
+
return this.o3u_1.s3u();
|
|
235
235
|
};
|
|
236
|
-
protoOf(HttpHeadersMap).
|
|
236
|
+
protoOf(HttpHeadersMap).u3u = function (nameStartIndex, nameEndIndex, valueStartIndex, valueEndIndex) {
|
|
237
237
|
if (thresholdReached(this)) {
|
|
238
238
|
resize(this);
|
|
239
239
|
}
|
|
240
240
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
241
|
-
var this_0 = hashCodeLowerCase(this.
|
|
241
|
+
var this_0 = hashCodeLowerCase(this.l3u_1, nameStartIndex, nameEndIndex);
|
|
242
242
|
var hash = abs(this_0);
|
|
243
|
-
var name = this.
|
|
244
|
-
var headerIndex = hash % this.
|
|
243
|
+
var name = this.l3u_1.c(nameStartIndex, nameEndIndex);
|
|
244
|
+
var headerIndex = hash % this.n3u_1 | 0;
|
|
245
245
|
var sameNameHeaderIndex = -1;
|
|
246
|
-
while (!(this.
|
|
246
|
+
while (!(this.o3u_1.t3u(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
247
247
|
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
248
248
|
sameNameHeaderIndex = headerIndex;
|
|
249
249
|
}
|
|
250
|
-
headerIndex = (headerIndex + 1 | 0) % this.
|
|
250
|
+
headerIndex = (headerIndex + 1 | 0) % this.n3u_1 | 0;
|
|
251
251
|
}
|
|
252
252
|
var headerOffset = imul(headerIndex, 6);
|
|
253
|
-
this.
|
|
254
|
-
this.
|
|
255
|
-
this.
|
|
256
|
-
this.
|
|
257
|
-
this.
|
|
258
|
-
this.
|
|
253
|
+
this.o3u_1.e3v(headerOffset + 0 | 0, hash);
|
|
254
|
+
this.o3u_1.e3v(headerOffset + 1 | 0, nameStartIndex);
|
|
255
|
+
this.o3u_1.e3v(headerOffset + 2 | 0, nameEndIndex);
|
|
256
|
+
this.o3u_1.e3v(headerOffset + 3 | 0, valueStartIndex);
|
|
257
|
+
this.o3u_1.e3v(headerOffset + 4 | 0, valueEndIndex);
|
|
258
|
+
this.o3u_1.e3v(headerOffset + 5 | 0, -1);
|
|
259
259
|
if (!(sameNameHeaderIndex === -1)) {
|
|
260
|
-
this.
|
|
260
|
+
this.o3u_1.e3v(imul(sameNameHeaderIndex, 6) + 5 | 0, headerIndex);
|
|
261
261
|
}
|
|
262
|
-
this.
|
|
262
|
+
this.m3u_1 = this.m3u_1 + 1 | 0;
|
|
263
263
|
};
|
|
264
|
-
protoOf(HttpHeadersMap).
|
|
265
|
-
var nameStartIndex = this.
|
|
266
|
-
var nameEndIndex = this.
|
|
267
|
-
return this.
|
|
264
|
+
protoOf(HttpHeadersMap).f3v = function (headerOffset) {
|
|
265
|
+
var nameStartIndex = this.o3u_1.t3u(headerOffset + 1 | 0);
|
|
266
|
+
var nameEndIndex = this.o3u_1.t3u(headerOffset + 2 | 0);
|
|
267
|
+
return this.l3u_1.c(nameStartIndex, nameEndIndex);
|
|
268
268
|
};
|
|
269
|
-
protoOf(HttpHeadersMap).
|
|
270
|
-
var valueStartIndex = this.
|
|
271
|
-
var valueEndIndex = this.
|
|
272
|
-
return this.
|
|
269
|
+
protoOf(HttpHeadersMap).v3u = function (headerOffset) {
|
|
270
|
+
var valueStartIndex = this.o3u_1.t3u(headerOffset + 3 | 0);
|
|
271
|
+
var valueEndIndex = this.o3u_1.t3u(headerOffset + 4 | 0);
|
|
272
|
+
return this.l3u_1.c(valueStartIndex, valueEndIndex);
|
|
273
273
|
};
|
|
274
|
-
protoOf(HttpHeadersMap).
|
|
275
|
-
this.
|
|
276
|
-
this.
|
|
277
|
-
get_HeadersDataPool().
|
|
278
|
-
this.
|
|
274
|
+
protoOf(HttpHeadersMap).w2s = function () {
|
|
275
|
+
this.m3u_1 = 0;
|
|
276
|
+
this.n3u_1 = 0;
|
|
277
|
+
get_HeadersDataPool().e38(this.o3u_1);
|
|
278
|
+
this.o3u_1 = get_HeadersDataPool().d38();
|
|
279
279
|
};
|
|
280
280
|
protoOf(HttpHeadersMap).toString = function () {
|
|
281
281
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -285,17 +285,17 @@
|
|
|
285
285
|
return this_0.toString();
|
|
286
286
|
};
|
|
287
287
|
function HeadersData$headersStarts$slambda(this$0, resultContinuation) {
|
|
288
|
-
this.
|
|
288
|
+
this.o3v_1 = this$0;
|
|
289
289
|
CoroutineImpl.call(this, resultContinuation);
|
|
290
290
|
}
|
|
291
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
292
|
-
var tmp = this.
|
|
291
|
+
protoOf(HeadersData$headersStarts$slambda).u3v = function ($this$sequence, $completion) {
|
|
292
|
+
var tmp = this.v3v($this$sequence, $completion);
|
|
293
293
|
tmp.k9_1 = Unit_instance;
|
|
294
294
|
tmp.l9_1 = null;
|
|
295
295
|
return tmp.q9();
|
|
296
296
|
};
|
|
297
297
|
protoOf(HeadersData$headersStarts$slambda).ca = function (p1, $completion) {
|
|
298
|
-
return this.
|
|
298
|
+
return this.u3v(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
299
299
|
};
|
|
300
300
|
protoOf(HeadersData$headersStarts$slambda).q9 = function () {
|
|
301
301
|
var suspendResult = this.k9_1;
|
|
@@ -305,29 +305,29 @@
|
|
|
305
305
|
switch (tmp) {
|
|
306
306
|
case 0:
|
|
307
307
|
this.j9_1 = 7;
|
|
308
|
-
this.
|
|
309
|
-
this.
|
|
308
|
+
this.q3v_1 = 0;
|
|
309
|
+
this.t3v_1 = this.o3v_1.p3u_1.t();
|
|
310
310
|
this.i9_1 = 1;
|
|
311
311
|
continue $sm;
|
|
312
312
|
case 1:
|
|
313
|
-
if (!this.
|
|
313
|
+
if (!this.t3v_1.u()) {
|
|
314
314
|
this.i9_1 = 6;
|
|
315
315
|
continue $sm;
|
|
316
316
|
}
|
|
317
317
|
|
|
318
|
-
this.
|
|
319
|
-
this.
|
|
318
|
+
this.s3v_1 = this.t3v_1.v();
|
|
319
|
+
this.r3v_1 = 0;
|
|
320
320
|
this.i9_1 = 2;
|
|
321
321
|
continue $sm;
|
|
322
322
|
case 2:
|
|
323
|
-
if (!(this.
|
|
323
|
+
if (!(this.r3v_1 < this.s3v_1.length)) {
|
|
324
324
|
this.i9_1 = 5;
|
|
325
325
|
continue $sm;
|
|
326
326
|
}
|
|
327
327
|
|
|
328
|
-
if (!(this.
|
|
328
|
+
if (!(this.o3v_1.t3u(this.q3v_1 + 0 | 0) === -1)) {
|
|
329
329
|
this.i9_1 = 3;
|
|
330
|
-
suspendResult = this.
|
|
330
|
+
suspendResult = this.p3v_1.dg(this.q3v_1, this);
|
|
331
331
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
332
332
|
return suspendResult;
|
|
333
333
|
}
|
|
@@ -341,8 +341,8 @@
|
|
|
341
341
|
this.i9_1 = 4;
|
|
342
342
|
continue $sm;
|
|
343
343
|
case 4:
|
|
344
|
-
this.
|
|
345
|
-
this.
|
|
344
|
+
this.r3v_1 = this.r3v_1 + 6 | 0;
|
|
345
|
+
this.q3v_1 = this.q3v_1 + 6 | 0;
|
|
346
346
|
this.i9_1 = 2;
|
|
347
347
|
continue $sm;
|
|
348
348
|
case 5:
|
|
@@ -364,15 +364,15 @@
|
|
|
364
364
|
}
|
|
365
365
|
while (true);
|
|
366
366
|
};
|
|
367
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
368
|
-
var i = new HeadersData$headersStarts$slambda(this.
|
|
369
|
-
i.
|
|
367
|
+
protoOf(HeadersData$headersStarts$slambda).v3v = function ($this$sequence, completion) {
|
|
368
|
+
var i = new HeadersData$headersStarts$slambda(this.o3v_1, completion);
|
|
369
|
+
i.p3v_1 = $this$sequence;
|
|
370
370
|
return i;
|
|
371
371
|
};
|
|
372
372
|
function HeadersData$headersStarts$slambda_0(this$0, resultContinuation) {
|
|
373
373
|
var i = new HeadersData$headersStarts$slambda(this$0, resultContinuation);
|
|
374
374
|
var l = function ($this$sequence, $completion) {
|
|
375
|
-
return i.
|
|
375
|
+
return i.u3v($this$sequence, $completion);
|
|
376
376
|
};
|
|
377
377
|
l.$arity = 1;
|
|
378
378
|
return l;
|
|
@@ -380,55 +380,55 @@
|
|
|
380
380
|
function HeadersData() {
|
|
381
381
|
var tmp = this;
|
|
382
382
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
383
|
-
tmp.
|
|
383
|
+
tmp.p3u_1 = ArrayList_init_$Create$();
|
|
384
384
|
}
|
|
385
|
-
protoOf(HeadersData).
|
|
386
|
-
return this.
|
|
385
|
+
protoOf(HeadersData).q3u = function () {
|
|
386
|
+
return this.p3u_1.g1();
|
|
387
387
|
};
|
|
388
|
-
protoOf(HeadersData).
|
|
388
|
+
protoOf(HeadersData).r3u = function (subArraysCount) {
|
|
389
389
|
// Inline function 'kotlin.repeat' call
|
|
390
390
|
var inductionVariable = 0;
|
|
391
391
|
if (inductionVariable < subArraysCount)
|
|
392
392
|
do {
|
|
393
393
|
var index = inductionVariable;
|
|
394
394
|
inductionVariable = inductionVariable + 1 | 0;
|
|
395
|
-
this.
|
|
395
|
+
this.p3u_1.e1(get_IntArrayPool().d38());
|
|
396
396
|
}
|
|
397
397
|
while (inductionVariable < subArraysCount);
|
|
398
398
|
};
|
|
399
|
-
protoOf(HeadersData).
|
|
400
|
-
return this.
|
|
399
|
+
protoOf(HeadersData).t3u = function (index) {
|
|
400
|
+
return this.p3u_1.h1(index / 768 | 0)[index % 768 | 0];
|
|
401
401
|
};
|
|
402
|
-
protoOf(HeadersData).
|
|
403
|
-
this.
|
|
402
|
+
protoOf(HeadersData).e3v = function (index, value) {
|
|
403
|
+
this.p3u_1.h1(index / 768 | 0)[index % 768 | 0] = value;
|
|
404
404
|
};
|
|
405
|
-
protoOf(HeadersData).
|
|
405
|
+
protoOf(HeadersData).s3u = function () {
|
|
406
406
|
return sequence(HeadersData$headersStarts$slambda_0(this, null));
|
|
407
407
|
};
|
|
408
|
-
protoOf(HeadersData).
|
|
409
|
-
var _iterator__ex2g4s = this.
|
|
408
|
+
protoOf(HeadersData).w2s = function () {
|
|
409
|
+
var _iterator__ex2g4s = this.p3u_1.t();
|
|
410
410
|
while (_iterator__ex2g4s.u()) {
|
|
411
411
|
var array = _iterator__ex2g4s.v();
|
|
412
|
-
get_IntArrayPool().
|
|
412
|
+
get_IntArrayPool().e38(array);
|
|
413
413
|
}
|
|
414
|
-
this.
|
|
414
|
+
this.p3u_1.b3();
|
|
415
415
|
};
|
|
416
416
|
function dumpTo(_this__u8e3s4, indent, out) {
|
|
417
417
|
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
418
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
418
|
+
var _iterator__ex2g4s = _this__u8e3s4.w3u().t();
|
|
419
419
|
while (_iterator__ex2g4s.u()) {
|
|
420
420
|
var offset = _iterator__ex2g4s.v();
|
|
421
421
|
out.f1(indent);
|
|
422
|
-
out.f1(_this__u8e3s4.
|
|
422
|
+
out.f1(_this__u8e3s4.f3v(offset));
|
|
423
423
|
out.f1(' => ');
|
|
424
|
-
out.f1(_this__u8e3s4.
|
|
424
|
+
out.f1(_this__u8e3s4.v3u(offset));
|
|
425
425
|
out.f1('\n');
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
428
|
function IntArrayPool$1() {
|
|
429
429
|
DefaultPool.call(this, 1000);
|
|
430
430
|
}
|
|
431
|
-
protoOf(IntArrayPool$1).
|
|
431
|
+
protoOf(IntArrayPool$1).w37 = function () {
|
|
432
432
|
var tmp = 0;
|
|
433
433
|
var tmp_0 = new Int32Array(768);
|
|
434
434
|
while (tmp < 768) {
|
|
@@ -437,25 +437,25 @@
|
|
|
437
437
|
}
|
|
438
438
|
return tmp_0;
|
|
439
439
|
};
|
|
440
|
-
protoOf(IntArrayPool$1).
|
|
440
|
+
protoOf(IntArrayPool$1).z3v = function (instance) {
|
|
441
441
|
fill(instance, -1);
|
|
442
|
-
return protoOf(DefaultPool).
|
|
442
|
+
return protoOf(DefaultPool).b38.call(this, instance);
|
|
443
443
|
};
|
|
444
|
-
protoOf(IntArrayPool$1).
|
|
445
|
-
return this.
|
|
444
|
+
protoOf(IntArrayPool$1).b38 = function (instance) {
|
|
445
|
+
return this.z3v(isIntArray(instance) ? instance : THROW_CCE());
|
|
446
446
|
};
|
|
447
447
|
function HeadersDataPool$1() {
|
|
448
448
|
DefaultPool.call(this, 1000);
|
|
449
449
|
}
|
|
450
|
-
protoOf(HeadersDataPool$1).
|
|
450
|
+
protoOf(HeadersDataPool$1).w37 = function () {
|
|
451
451
|
return new HeadersData();
|
|
452
452
|
};
|
|
453
|
-
protoOf(HeadersDataPool$1).
|
|
454
|
-
instance.
|
|
455
|
-
return protoOf(DefaultPool).
|
|
453
|
+
protoOf(HeadersDataPool$1).d3w = function (instance) {
|
|
454
|
+
instance.w2s();
|
|
455
|
+
return protoOf(DefaultPool).b38.call(this, instance);
|
|
456
456
|
};
|
|
457
|
-
protoOf(HeadersDataPool$1).
|
|
458
|
-
return this.
|
|
457
|
+
protoOf(HeadersDataPool$1).b38 = function (instance) {
|
|
458
|
+
return this.d3w(instance instanceof HeadersData ? instance : THROW_CCE());
|
|
459
459
|
};
|
|
460
460
|
var properties_initialized_HttpHeadersMap_kt_kotj4w;
|
|
461
461
|
function _init_properties_HttpHeadersMap_kt__hwatby() {
|
|
@@ -485,16 +485,16 @@
|
|
|
485
485
|
}
|
|
486
486
|
function parseHeaderName(text, range) {
|
|
487
487
|
_init_properties_HttpParser_kt__gbdom1();
|
|
488
|
-
var index = range.
|
|
489
|
-
var end = range.
|
|
488
|
+
var index = range.r3w_1;
|
|
489
|
+
var end = range.s3w_1;
|
|
490
490
|
while (index < end) {
|
|
491
491
|
var ch = text.b(index);
|
|
492
|
-
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.
|
|
493
|
-
range.
|
|
492
|
+
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.r3w_1)) {
|
|
493
|
+
range.r3w_1 = index + 1 | 0;
|
|
494
494
|
return index;
|
|
495
495
|
}
|
|
496
496
|
if (isDelimiter(ch)) {
|
|
497
|
-
parseHeaderNameFailed(text, index, range.
|
|
497
|
+
parseHeaderNameFailed(text, index, range.r3w_1, ch);
|
|
498
498
|
}
|
|
499
499
|
index = index + 1 | 0;
|
|
500
500
|
}
|
|
@@ -502,12 +502,12 @@
|
|
|
502
502
|
}
|
|
503
503
|
function parseHeaderValue(text, range) {
|
|
504
504
|
_init_properties_HttpParser_kt__gbdom1();
|
|
505
|
-
var start = range.
|
|
506
|
-
var end = range.
|
|
505
|
+
var start = range.r3w_1;
|
|
506
|
+
var end = range.s3w_1;
|
|
507
507
|
var index = start;
|
|
508
508
|
index = skipSpacesAndHorizontalTabs(text, index, end);
|
|
509
509
|
if (index >= end) {
|
|
510
|
-
range.
|
|
510
|
+
range.r3w_1 = end;
|
|
511
511
|
return Unit_instance;
|
|
512
512
|
}
|
|
513
513
|
var valueStart = index;
|
|
@@ -521,8 +521,8 @@
|
|
|
521
521
|
valueLastIndex = index;
|
|
522
522
|
index = index + 1 | 0;
|
|
523
523
|
}
|
|
524
|
-
range.
|
|
525
|
-
range.
|
|
524
|
+
range.r3w_1 = valueStart;
|
|
525
|
+
range.s3w_1 = valueLastIndex + 1 | 0;
|
|
526
526
|
}
|
|
527
527
|
function validateHostHeader(host) {
|
|
528
528
|
_init_properties_HttpParser_kt__gbdom1();
|
|
@@ -563,9 +563,9 @@
|
|
|
563
563
|
}
|
|
564
564
|
function noColonFound(text, range) {
|
|
565
565
|
_init_properties_HttpParser_kt__gbdom1();
|
|
566
|
-
var tmp2 = range.
|
|
566
|
+
var tmp2 = range.r3w_1;
|
|
567
567
|
// Inline function 'kotlin.text.substring' call
|
|
568
|
-
var endIndex = range.
|
|
568
|
+
var endIndex = range.s3w_1;
|
|
569
569
|
var tmp$ret$0 = toString(charSequenceSubSequence(text, tmp2, endIndex));
|
|
570
570
|
throw new ParserException('No colon in HTTP header in ' + tmp$ret$0 + ' in builder: \n' + toString(text));
|
|
571
571
|
}
|
|
@@ -581,9 +581,9 @@
|
|
|
581
581
|
}
|
|
582
582
|
function $parseHeadersCOROUTINE$(input, builder, range, resultContinuation) {
|
|
583
583
|
CoroutineImpl.call(this, resultContinuation);
|
|
584
|
-
this.
|
|
585
|
-
this.
|
|
586
|
-
this.
|
|
584
|
+
this.m3w_1 = input;
|
|
585
|
+
this.n3w_1 = builder;
|
|
586
|
+
this.o3w_1 = range;
|
|
587
587
|
}
|
|
588
588
|
protoOf($parseHeadersCOROUTINE$).q9 = function () {
|
|
589
589
|
var suspendResult = this.k9_1;
|
|
@@ -593,7 +593,7 @@
|
|
|
593
593
|
switch (tmp) {
|
|
594
594
|
case 0:
|
|
595
595
|
this.j9_1 = 7;
|
|
596
|
-
this.
|
|
596
|
+
this.p3w_1 = new HttpHeadersMap(this.n3w_1);
|
|
597
597
|
this.j9_1 = 6;
|
|
598
598
|
this.i9_1 = 1;
|
|
599
599
|
continue $sm;
|
|
@@ -604,7 +604,7 @@
|
|
|
604
604
|
}
|
|
605
605
|
|
|
606
606
|
this.i9_1 = 2;
|
|
607
|
-
suspendResult = readUTF8LineTo(this.
|
|
607
|
+
suspendResult = readUTF8LineTo(this.m3w_1, this.n3w_1, 8192, get_httpLineEndings(), this);
|
|
608
608
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
609
609
|
return suspendResult;
|
|
610
610
|
}
|
|
@@ -612,7 +612,7 @@
|
|
|
612
612
|
continue $sm;
|
|
613
613
|
case 2:
|
|
614
614
|
if (!suspendResult) {
|
|
615
|
-
this.
|
|
615
|
+
this.p3w_1.w2s();
|
|
616
616
|
return null;
|
|
617
617
|
} else {
|
|
618
618
|
this.i9_1 = 3;
|
|
@@ -620,9 +620,9 @@
|
|
|
620
620
|
}
|
|
621
621
|
|
|
622
622
|
case 3:
|
|
623
|
-
this.
|
|
624
|
-
this.
|
|
625
|
-
if (this.
|
|
623
|
+
this.o3w_1.s3w_1 = this.n3w_1.d3v_1;
|
|
624
|
+
this.q3w_1 = this.o3w_1.s3w_1 - this.o3w_1.r3w_1 | 0;
|
|
625
|
+
if (this.q3w_1 === 0) {
|
|
626
626
|
this.i9_1 = 5;
|
|
627
627
|
continue $sm;
|
|
628
628
|
} else {
|
|
@@ -631,34 +631,34 @@
|
|
|
631
631
|
}
|
|
632
632
|
|
|
633
633
|
case 4:
|
|
634
|
-
if (this.
|
|
634
|
+
if (this.q3w_1 >= 8192) {
|
|
635
635
|
var message = 'Header line length limit exceeded';
|
|
636
636
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
637
637
|
}
|
|
638
638
|
|
|
639
|
-
var nameStart = this.
|
|
640
|
-
var nameEnd = parseHeaderName(this.
|
|
641
|
-
var headerEnd = this.
|
|
642
|
-
parseHeaderValue(this.
|
|
643
|
-
var valueStart = this.
|
|
644
|
-
var valueEnd = this.
|
|
645
|
-
this.
|
|
646
|
-
this.
|
|
639
|
+
var nameStart = this.o3w_1.r3w_1;
|
|
640
|
+
var nameEnd = parseHeaderName(this.n3w_1, this.o3w_1);
|
|
641
|
+
var headerEnd = this.o3w_1.s3w_1;
|
|
642
|
+
parseHeaderValue(this.n3w_1, this.o3w_1);
|
|
643
|
+
var valueStart = this.o3w_1.r3w_1;
|
|
644
|
+
var valueEnd = this.o3w_1.s3w_1;
|
|
645
|
+
this.o3w_1.r3w_1 = headerEnd;
|
|
646
|
+
this.p3w_1.u3u(nameStart, nameEnd, valueStart, valueEnd);
|
|
647
647
|
this.i9_1 = 1;
|
|
648
648
|
continue $sm;
|
|
649
649
|
case 5:
|
|
650
|
-
var host = this.
|
|
650
|
+
var host = this.p3w_1.l3b(HttpHeaders_getInstance().a3l_1);
|
|
651
651
|
if (!(host == null)) {
|
|
652
652
|
validateHostHeader(host);
|
|
653
653
|
}
|
|
654
654
|
|
|
655
|
-
return this.
|
|
655
|
+
return this.p3w_1;
|
|
656
656
|
case 6:
|
|
657
657
|
this.j9_1 = 7;
|
|
658
658
|
var tmp_0 = this.l9_1;
|
|
659
659
|
if (tmp_0 instanceof Error) {
|
|
660
660
|
var t = this.l9_1;
|
|
661
|
-
this.
|
|
661
|
+
this.p3w_1.w2s();
|
|
662
662
|
throw t;
|
|
663
663
|
} else {
|
|
664
664
|
throw this.l9_1;
|
|
@@ -683,8 +683,8 @@
|
|
|
683
683
|
if (!properties_initialized_HttpParser_kt_uedryv) {
|
|
684
684
|
properties_initialized_HttpParser_kt_uedryv = true;
|
|
685
685
|
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))]);
|
|
686
|
-
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance().
|
|
687
|
-
versions = Companion_instance.
|
|
686
|
+
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance().d33_1, Companion_getInstance().c33_1);
|
|
687
|
+
versions = Companion_instance.t3w(listOf(['HTTP/1.0', 'HTTP/1.1']));
|
|
688
688
|
}
|
|
689
689
|
}
|
|
690
690
|
function get_CrLf() {
|
|
@@ -699,23 +699,23 @@
|
|
|
699
699
|
var PrefixString;
|
|
700
700
|
function Preamble(body) {
|
|
701
701
|
MultipartEvent.call(this);
|
|
702
|
-
this.
|
|
702
|
+
this.u3w_1 = body;
|
|
703
703
|
}
|
|
704
704
|
function MultipartPart(headers, body) {
|
|
705
705
|
MultipartEvent.call(this);
|
|
706
|
-
this.
|
|
707
|
-
this.
|
|
706
|
+
this.v3w_1 = headers;
|
|
707
|
+
this.w3w_1 = body;
|
|
708
708
|
}
|
|
709
709
|
function Epilogue(body) {
|
|
710
710
|
MultipartEvent.call(this);
|
|
711
|
-
this.
|
|
711
|
+
this.x3w_1 = body;
|
|
712
712
|
}
|
|
713
713
|
function MultipartEvent() {
|
|
714
714
|
}
|
|
715
715
|
function parseMultipart(_this__u8e3s4, input, contentType, contentLength, maxPartSize) {
|
|
716
716
|
maxPartSize = maxPartSize === VOID ? new Long(-1, 2147483647) : maxPartSize;
|
|
717
717
|
_init_properties_Multipart_kt__ato98a();
|
|
718
|
-
if (!MultiPart_getInstance().
|
|
718
|
+
if (!MultiPart_getInstance().r3i(contentType)) {
|
|
719
719
|
throw new UnsupportedMediaTypeExceptionCIO('Failed to parse multipart: Content-Type should be multipart/* but it is ' + toString(contentType));
|
|
720
720
|
}
|
|
721
721
|
var boundaryByteBuffer = parseBoundaryInternal(contentType);
|
|
@@ -892,18 +892,18 @@
|
|
|
892
892
|
boundaryBytes[_unary__edvuaz] = value;
|
|
893
893
|
}
|
|
894
894
|
function parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation) {
|
|
895
|
-
this.
|
|
896
|
-
this.
|
|
895
|
+
this.r3y_1 = $firstBoundary;
|
|
896
|
+
this.s3y_1 = $countedInput;
|
|
897
897
|
CoroutineImpl.call(this, resultContinuation);
|
|
898
898
|
}
|
|
899
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
900
|
-
var tmp = this.
|
|
899
|
+
protoOf(parseMultipart$slambda$slambda).u3y = function ($this$writer, $completion) {
|
|
900
|
+
var tmp = this.v3y($this$writer, $completion);
|
|
901
901
|
tmp.k9_1 = Unit_instance;
|
|
902
902
|
tmp.l9_1 = null;
|
|
903
903
|
return tmp.q9();
|
|
904
904
|
};
|
|
905
905
|
protoOf(parseMultipart$slambda$slambda).ca = function (p1, $completion) {
|
|
906
|
-
return this.
|
|
906
|
+
return this.u3y(p1 instanceof WriterScope ? p1 : THROW_CCE(), $completion);
|
|
907
907
|
};
|
|
908
908
|
protoOf(parseMultipart$slambda$slambda).q9 = function () {
|
|
909
909
|
var suspendResult = this.k9_1;
|
|
@@ -914,7 +914,7 @@
|
|
|
914
914
|
case 0:
|
|
915
915
|
this.j9_1 = 3;
|
|
916
916
|
this.i9_1 = 1;
|
|
917
|
-
suspendResult = parsePreambleImpl(this.
|
|
917
|
+
suspendResult = parsePreambleImpl(this.r3y_1, this.s3y_1, this.t3y_1.p35_1, new Long(8193, 0), this);
|
|
918
918
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
919
919
|
return suspendResult;
|
|
920
920
|
}
|
|
@@ -922,7 +922,7 @@
|
|
|
922
922
|
continue $sm;
|
|
923
923
|
case 1:
|
|
924
924
|
this.i9_1 = 2;
|
|
925
|
-
suspendResult = this.
|
|
925
|
+
suspendResult = this.t3y_1.p35_1.w2x(this);
|
|
926
926
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
927
927
|
return suspendResult;
|
|
928
928
|
}
|
|
@@ -944,34 +944,34 @@
|
|
|
944
944
|
}
|
|
945
945
|
while (true);
|
|
946
946
|
};
|
|
947
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
948
|
-
var i = new parseMultipart$slambda$slambda(this.
|
|
949
|
-
i.
|
|
947
|
+
protoOf(parseMultipart$slambda$slambda).v3y = function ($this$writer, completion) {
|
|
948
|
+
var i = new parseMultipart$slambda$slambda(this.r3y_1, this.s3y_1, completion);
|
|
949
|
+
i.t3y_1 = $this$writer;
|
|
950
950
|
return i;
|
|
951
951
|
};
|
|
952
952
|
function parseMultipart$slambda$slambda_0($firstBoundary, $countedInput, resultContinuation) {
|
|
953
953
|
var i = new parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation);
|
|
954
954
|
var l = function ($this$writer, $completion) {
|
|
955
|
-
return i.
|
|
955
|
+
return i.u3y($this$writer, $completion);
|
|
956
956
|
};
|
|
957
957
|
l.$arity = 1;
|
|
958
958
|
return l;
|
|
959
959
|
}
|
|
960
960
|
function parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
961
|
-
this.
|
|
962
|
-
this.
|
|
963
|
-
this.
|
|
964
|
-
this.
|
|
961
|
+
this.e3z_1 = $input;
|
|
962
|
+
this.f3z_1 = $boundaryPrefixed;
|
|
963
|
+
this.g3z_1 = $maxPartSize;
|
|
964
|
+
this.h3z_1 = $totalLength;
|
|
965
965
|
CoroutineImpl.call(this, resultContinuation);
|
|
966
966
|
}
|
|
967
|
-
protoOf(parseMultipart$slambda).
|
|
968
|
-
var tmp = this.
|
|
967
|
+
protoOf(parseMultipart$slambda).q3z = function ($this$produce, $completion) {
|
|
968
|
+
var tmp = this.r3z($this$produce, $completion);
|
|
969
969
|
tmp.k9_1 = Unit_instance;
|
|
970
970
|
tmp.l9_1 = null;
|
|
971
971
|
return tmp.q9();
|
|
972
972
|
};
|
|
973
973
|
protoOf(parseMultipart$slambda).ca = function (p1, $completion) {
|
|
974
|
-
return this.
|
|
974
|
+
return this.q3z((!(p1 == null) ? isInterface(p1, ProducerScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
975
975
|
};
|
|
976
976
|
protoOf(parseMultipart$slambda).q9 = function () {
|
|
977
977
|
var suspendResult = this.k9_1;
|
|
@@ -981,11 +981,11 @@
|
|
|
981
981
|
switch (tmp) {
|
|
982
982
|
case 0:
|
|
983
983
|
this.j9_1 = 25;
|
|
984
|
-
this.
|
|
985
|
-
this.
|
|
986
|
-
this.
|
|
984
|
+
this.j3z_1 = counted(this.e3z_1);
|
|
985
|
+
this.k3z_1 = this.j3z_1.k37();
|
|
986
|
+
this.o3z_1 = this.f3z_1.j1j(get_PrefixString().g1());
|
|
987
987
|
this.i9_1 = 1;
|
|
988
|
-
suspendResult = readRemaining(writer(this.
|
|
988
|
+
suspendResult = readRemaining(writer(this.i3z_1, VOID, VOID, parseMultipart$slambda$slambda_0(this.o3z_1, this.j3z_1, null)).n35_1, this);
|
|
989
989
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
990
990
|
return suspendResult;
|
|
991
991
|
}
|
|
@@ -995,7 +995,7 @@
|
|
|
995
995
|
var preambleData = suspendResult;
|
|
996
996
|
if (compare(get_remaining(preambleData), new Long(0, 0)) > 0) {
|
|
997
997
|
this.i9_1 = 2;
|
|
998
|
-
suspendResult = this.
|
|
998
|
+
suspendResult = this.i3z_1.a25(new Preamble(preambleData), this);
|
|
999
999
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1000
1000
|
return suspendResult;
|
|
1001
1001
|
}
|
|
@@ -1012,31 +1012,31 @@
|
|
|
1012
1012
|
this.i9_1 = 4;
|
|
1013
1013
|
continue $sm;
|
|
1014
1014
|
case 4:
|
|
1015
|
-
if (!this.
|
|
1015
|
+
if (!this.j3z_1.t2x()) {
|
|
1016
1016
|
this.i9_1 = 5;
|
|
1017
|
-
suspendResult = skipIfFound(this.
|
|
1017
|
+
suspendResult = skipIfFound(this.j3z_1, get_PrefixString(), this);
|
|
1018
1018
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1019
1019
|
return suspendResult;
|
|
1020
1020
|
}
|
|
1021
1021
|
continue $sm;
|
|
1022
1022
|
} else {
|
|
1023
|
-
this.
|
|
1023
|
+
this.p3z_1 = false;
|
|
1024
1024
|
this.i9_1 = 6;
|
|
1025
1025
|
continue $sm;
|
|
1026
1026
|
}
|
|
1027
1027
|
|
|
1028
1028
|
case 5:
|
|
1029
|
-
this.
|
|
1029
|
+
this.p3z_1 = !suspendResult;
|
|
1030
1030
|
this.i9_1 = 6;
|
|
1031
1031
|
continue $sm;
|
|
1032
1032
|
case 6:
|
|
1033
|
-
if (!this.
|
|
1033
|
+
if (!this.p3z_1) {
|
|
1034
1034
|
this.i9_1 = 15;
|
|
1035
1035
|
continue $sm;
|
|
1036
1036
|
}
|
|
1037
1037
|
|
|
1038
1038
|
this.i9_1 = 7;
|
|
1039
|
-
suspendResult = skipIfFound(this.
|
|
1039
|
+
suspendResult = skipIfFound(this.j3z_1, get_CrLf(), this);
|
|
1040
1040
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1041
1041
|
return suspendResult;
|
|
1042
1042
|
}
|
|
@@ -1044,7 +1044,7 @@
|
|
|
1044
1044
|
continue $sm;
|
|
1045
1045
|
case 7:
|
|
1046
1046
|
this.i9_1 = 8;
|
|
1047
|
-
suspendResult = skipIfFound(this.
|
|
1047
|
+
suspendResult = skipIfFound(this.j3z_1, this.o3z_1, this);
|
|
1048
1048
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1049
1049
|
return suspendResult;
|
|
1050
1050
|
}
|
|
@@ -1060,42 +1060,42 @@
|
|
|
1060
1060
|
}
|
|
1061
1061
|
|
|
1062
1062
|
case 9:
|
|
1063
|
-
this.
|
|
1064
|
-
this.
|
|
1065
|
-
var part = new MultipartPart(this.
|
|
1063
|
+
this.l3z_1 = new ByteChannel();
|
|
1064
|
+
this.n3z_1 = CompletableDeferred();
|
|
1065
|
+
var part = new MultipartPart(this.n3z_1, this.l3z_1);
|
|
1066
1066
|
this.i9_1 = 10;
|
|
1067
|
-
suspendResult = this.
|
|
1067
|
+
suspendResult = this.i3z_1.a25(part, this);
|
|
1068
1068
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1069
1069
|
return suspendResult;
|
|
1070
1070
|
}
|
|
1071
1071
|
|
|
1072
1072
|
continue $sm;
|
|
1073
1073
|
case 10:
|
|
1074
|
-
this.
|
|
1074
|
+
this.m3z_1 = null;
|
|
1075
1075
|
this.j9_1 = 14;
|
|
1076
1076
|
this.i9_1 = 11;
|
|
1077
|
-
suspendResult = parsePartHeadersImpl(this.
|
|
1077
|
+
suspendResult = parsePartHeadersImpl(this.j3z_1, this);
|
|
1078
1078
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1079
1079
|
return suspendResult;
|
|
1080
1080
|
}
|
|
1081
1081
|
|
|
1082
1082
|
continue $sm;
|
|
1083
1083
|
case 11:
|
|
1084
|
-
this.
|
|
1085
|
-
if (!this.
|
|
1086
|
-
this.
|
|
1084
|
+
this.m3z_1 = suspendResult;
|
|
1085
|
+
if (!this.n3z_1.r1v(this.m3z_1)) {
|
|
1086
|
+
this.m3z_1.w2s();
|
|
1087
1087
|
throw CancellationException_init_$Create$('Multipart processing has been cancelled');
|
|
1088
1088
|
}
|
|
1089
1089
|
|
|
1090
1090
|
this.i9_1 = 12;
|
|
1091
|
-
suspendResult = parsePartBodyImpl(this.
|
|
1091
|
+
suspendResult = parsePartBodyImpl(this.f3z_1, this.j3z_1, this.l3z_1, this.m3z_1, this.g3z_1, this);
|
|
1092
1092
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1093
1093
|
return suspendResult;
|
|
1094
1094
|
}
|
|
1095
1095
|
|
|
1096
1096
|
continue $sm;
|
|
1097
1097
|
case 12:
|
|
1098
|
-
this.
|
|
1098
|
+
this.l3z_1.r4();
|
|
1099
1099
|
this.j9_1 = 25;
|
|
1100
1100
|
this.i9_1 = 13;
|
|
1101
1101
|
continue $sm;
|
|
@@ -1108,15 +1108,15 @@
|
|
|
1108
1108
|
var tmp_0 = this.l9_1;
|
|
1109
1109
|
if (tmp_0 instanceof Error) {
|
|
1110
1110
|
var cause = this.l9_1;
|
|
1111
|
-
if (this.
|
|
1112
|
-
var tmp0_safe_receiver = this.
|
|
1111
|
+
if (this.n3z_1.s1v(cause)) {
|
|
1112
|
+
var tmp0_safe_receiver = this.m3z_1;
|
|
1113
1113
|
if (tmp0_safe_receiver == null)
|
|
1114
1114
|
null;
|
|
1115
1115
|
else {
|
|
1116
|
-
tmp0_safe_receiver.
|
|
1116
|
+
tmp0_safe_receiver.w2s();
|
|
1117
1117
|
}
|
|
1118
1118
|
}
|
|
1119
|
-
close(this.
|
|
1119
|
+
close(this.l3z_1, cause);
|
|
1120
1120
|
throw cause;
|
|
1121
1121
|
} else {
|
|
1122
1122
|
throw this.l9_1;
|
|
@@ -1124,7 +1124,7 @@
|
|
|
1124
1124
|
|
|
1125
1125
|
case 15:
|
|
1126
1126
|
this.i9_1 = 16;
|
|
1127
|
-
suspendResult = skipIfFound(this.
|
|
1127
|
+
suspendResult = skipIfFound(this.j3z_1, get_CrLf(), this);
|
|
1128
1128
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1129
1129
|
return suspendResult;
|
|
1130
1130
|
}
|
|
@@ -1132,21 +1132,21 @@
|
|
|
1132
1132
|
continue $sm;
|
|
1133
1133
|
case 16:
|
|
1134
1134
|
this.i9_1 = 17;
|
|
1135
|
-
suspendResult = skipIfFound(this.
|
|
1135
|
+
suspendResult = skipIfFound(this.j3z_1, get_CrLf(), this);
|
|
1136
1136
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1137
1137
|
return suspendResult;
|
|
1138
1138
|
}
|
|
1139
1139
|
|
|
1140
1140
|
continue $sm;
|
|
1141
1141
|
case 17:
|
|
1142
|
-
if (!(this.
|
|
1143
|
-
var consumedExceptEpilogue = subtract(this.
|
|
1144
|
-
var size = subtract(this.
|
|
1142
|
+
if (!(this.h3z_1 == null)) {
|
|
1143
|
+
var consumedExceptEpilogue = subtract(this.j3z_1.k37(), this.k3z_1);
|
|
1144
|
+
var size = subtract(this.h3z_1, consumedExceptEpilogue);
|
|
1145
1145
|
if (compare(size, new Long(2147483647, 0)) > 0)
|
|
1146
1146
|
throw IOException_init_$Create$('Failed to parse multipart: prologue is too long');
|
|
1147
1147
|
if (compare(size, new Long(0, 0)) > 0) {
|
|
1148
1148
|
this.i9_1 = 21;
|
|
1149
|
-
suspendResult = readPacket(this.
|
|
1149
|
+
suspendResult = readPacket(this.j3z_1, convertToInt(size), this);
|
|
1150
1150
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1151
1151
|
return suspendResult;
|
|
1152
1152
|
}
|
|
@@ -1157,7 +1157,7 @@
|
|
|
1157
1157
|
}
|
|
1158
1158
|
} else {
|
|
1159
1159
|
this.i9_1 = 18;
|
|
1160
|
-
suspendResult = readRemaining(this.
|
|
1160
|
+
suspendResult = readRemaining(this.j3z_1, this);
|
|
1161
1161
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1162
1162
|
return suspendResult;
|
|
1163
1163
|
}
|
|
@@ -1166,9 +1166,9 @@
|
|
|
1166
1166
|
|
|
1167
1167
|
case 18:
|
|
1168
1168
|
var epilogueContent = suspendResult;
|
|
1169
|
-
if (!epilogueContent.
|
|
1169
|
+
if (!epilogueContent.r1j()) {
|
|
1170
1170
|
this.i9_1 = 19;
|
|
1171
|
-
suspendResult = this.
|
|
1171
|
+
suspendResult = this.i3z_1.a25(new Epilogue(epilogueContent), this);
|
|
1172
1172
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1173
1173
|
return suspendResult;
|
|
1174
1174
|
}
|
|
@@ -1188,7 +1188,7 @@
|
|
|
1188
1188
|
var ARGUMENT = suspendResult;
|
|
1189
1189
|
var ARGUMENT_0 = new Epilogue(ARGUMENT);
|
|
1190
1190
|
this.i9_1 = 22;
|
|
1191
|
-
suspendResult = this.
|
|
1191
|
+
suspendResult = this.i3z_1.a25(ARGUMENT_0, this);
|
|
1192
1192
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1193
1193
|
return suspendResult;
|
|
1194
1194
|
}
|
|
@@ -1216,22 +1216,22 @@
|
|
|
1216
1216
|
}
|
|
1217
1217
|
while (true);
|
|
1218
1218
|
};
|
|
1219
|
-
protoOf(parseMultipart$slambda).
|
|
1220
|
-
var i = new parseMultipart$slambda(this.
|
|
1221
|
-
i.
|
|
1219
|
+
protoOf(parseMultipart$slambda).r3z = function ($this$produce, completion) {
|
|
1220
|
+
var i = new parseMultipart$slambda(this.e3z_1, this.f3z_1, this.g3z_1, this.h3z_1, completion);
|
|
1221
|
+
i.i3z_1 = $this$produce;
|
|
1222
1222
|
return i;
|
|
1223
1223
|
};
|
|
1224
1224
|
function parseMultipart$slambda_0($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
1225
1225
|
var i = new parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation);
|
|
1226
1226
|
var l = function ($this$produce, $completion) {
|
|
1227
|
-
return i.
|
|
1227
|
+
return i.q3z($this$produce, $completion);
|
|
1228
1228
|
};
|
|
1229
1229
|
l.$arity = 1;
|
|
1230
1230
|
return l;
|
|
1231
1231
|
}
|
|
1232
1232
|
function $parsePartHeadersImplCOROUTINE$(input, resultContinuation) {
|
|
1233
1233
|
CoroutineImpl.call(this, resultContinuation);
|
|
1234
|
-
this.
|
|
1234
|
+
this.g3x_1 = input;
|
|
1235
1235
|
}
|
|
1236
1236
|
protoOf($parsePartHeadersImplCOROUTINE$).q9 = function () {
|
|
1237
1237
|
var suspendResult = this.k9_1;
|
|
@@ -1241,10 +1241,10 @@
|
|
|
1241
1241
|
switch (tmp) {
|
|
1242
1242
|
case 0:
|
|
1243
1243
|
this.j9_1 = 3;
|
|
1244
|
-
this.
|
|
1244
|
+
this.h3x_1 = new CharArrayBuilder();
|
|
1245
1245
|
this.j9_1 = 2;
|
|
1246
1246
|
this.i9_1 = 1;
|
|
1247
|
-
suspendResult = parseHeaders(this.
|
|
1247
|
+
suspendResult = parseHeaders(this.g3x_1, this.h3x_1, VOID, this);
|
|
1248
1248
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1249
1249
|
return suspendResult;
|
|
1250
1250
|
}
|
|
@@ -1265,7 +1265,7 @@
|
|
|
1265
1265
|
var tmp_1 = this.l9_1;
|
|
1266
1266
|
if (tmp_1 instanceof Error) {
|
|
1267
1267
|
var t = this.l9_1;
|
|
1268
|
-
this.
|
|
1268
|
+
this.h3x_1.w2s();
|
|
1269
1269
|
throw t;
|
|
1270
1270
|
} else {
|
|
1271
1271
|
throw this.l9_1;
|
|
@@ -1287,11 +1287,11 @@
|
|
|
1287
1287
|
};
|
|
1288
1288
|
function $parsePartBodyImplCOROUTINE$(boundaryPrefixed, input, output, headers, limit, resultContinuation) {
|
|
1289
1289
|
CoroutineImpl.call(this, resultContinuation);
|
|
1290
|
-
this.
|
|
1291
|
-
this.
|
|
1292
|
-
this.
|
|
1293
|
-
this.
|
|
1294
|
-
this.
|
|
1290
|
+
this.q3x_1 = boundaryPrefixed;
|
|
1291
|
+
this.r3x_1 = input;
|
|
1292
|
+
this.s3x_1 = output;
|
|
1293
|
+
this.t3x_1 = headers;
|
|
1294
|
+
this.u3x_1 = limit;
|
|
1295
1295
|
}
|
|
1296
1296
|
protoOf($parsePartBodyImplCOROUTINE$).q9 = function () {
|
|
1297
1297
|
var suspendResult = this.k9_1;
|
|
@@ -1301,35 +1301,35 @@
|
|
|
1301
1301
|
switch (tmp) {
|
|
1302
1302
|
case 0:
|
|
1303
1303
|
this.j9_1 = 6;
|
|
1304
|
-
var tmp0_safe_receiver = this.
|
|
1304
|
+
var tmp0_safe_receiver = this.t3x_1.l3b('Content-Length');
|
|
1305
1305
|
var contentLength = tmp0_safe_receiver == null ? null : parseDecLong(tmp0_safe_receiver);
|
|
1306
1306
|
if (contentLength == null) {
|
|
1307
1307
|
this.i9_1 = 3;
|
|
1308
|
-
suspendResult = readUntil(this.
|
|
1308
|
+
suspendResult = readUntil(this.r3x_1, this.q3x_1, this.s3x_1, this.u3x_1, true, this);
|
|
1309
1309
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1310
1310
|
return suspendResult;
|
|
1311
1311
|
}
|
|
1312
1312
|
continue $sm;
|
|
1313
1313
|
} else {
|
|
1314
|
-
var containsUpper = this.
|
|
1314
|
+
var containsUpper = this.u3x_1;
|
|
1315
1315
|
if (compare(new Long(0, 0), contentLength) <= 0 ? compare(contentLength, containsUpper) <= 0 : false) {
|
|
1316
1316
|
this.i9_1 = 1;
|
|
1317
|
-
suspendResult = copyTo(this.
|
|
1317
|
+
suspendResult = copyTo(this.r3x_1, this.s3x_1, contentLength, this);
|
|
1318
1318
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1319
1319
|
return suspendResult;
|
|
1320
1320
|
}
|
|
1321
1321
|
continue $sm;
|
|
1322
1322
|
} else {
|
|
1323
1323
|
var tmp_0 = this;
|
|
1324
|
-
throwLimitExceeded(contentLength, this.
|
|
1324
|
+
throwLimitExceeded(contentLength, this.u3x_1);
|
|
1325
1325
|
}
|
|
1326
1326
|
}
|
|
1327
1327
|
|
|
1328
1328
|
break;
|
|
1329
1329
|
case 1:
|
|
1330
|
-
this.
|
|
1330
|
+
this.x3x_1 = suspendResult;
|
|
1331
1331
|
this.i9_1 = 2;
|
|
1332
|
-
suspendResult = skipIfFoundReadCount(this.
|
|
1332
|
+
suspendResult = skipIfFoundReadCount(this.r3x_1, this.q3x_1, this);
|
|
1333
1333
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1334
1334
|
return suspendResult;
|
|
1335
1335
|
}
|
|
@@ -1337,24 +1337,24 @@
|
|
|
1337
1337
|
continue $sm;
|
|
1338
1338
|
case 2:
|
|
1339
1339
|
var ARGUMENT = suspendResult;
|
|
1340
|
-
this.
|
|
1340
|
+
this.w3x_1 = add(this.x3x_1, ARGUMENT);
|
|
1341
1341
|
this.i9_1 = 4;
|
|
1342
1342
|
continue $sm;
|
|
1343
1343
|
case 3:
|
|
1344
|
-
this.
|
|
1344
|
+
this.w3x_1 = suspendResult;
|
|
1345
1345
|
this.i9_1 = 4;
|
|
1346
1346
|
continue $sm;
|
|
1347
1347
|
case 4:
|
|
1348
|
-
this.
|
|
1348
|
+
this.v3x_1 = this.w3x_1;
|
|
1349
1349
|
this.i9_1 = 5;
|
|
1350
|
-
suspendResult = this.
|
|
1350
|
+
suspendResult = this.s3x_1.k2x(this);
|
|
1351
1351
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1352
1352
|
return suspendResult;
|
|
1353
1353
|
}
|
|
1354
1354
|
|
|
1355
1355
|
continue $sm;
|
|
1356
1356
|
case 5:
|
|
1357
|
-
return this.
|
|
1357
|
+
return this.v3x_1;
|
|
1358
1358
|
case 6:
|
|
1359
1359
|
throw this.l9_1;
|
|
1360
1360
|
}
|
|
@@ -1371,8 +1371,8 @@
|
|
|
1371
1371
|
};
|
|
1372
1372
|
function $skipIfFoundReadCountCOROUTINE$(_this__u8e3s4, prefix, resultContinuation) {
|
|
1373
1373
|
CoroutineImpl.call(this, resultContinuation);
|
|
1374
|
-
this.
|
|
1375
|
-
this.
|
|
1374
|
+
this.g3y_1 = _this__u8e3s4;
|
|
1375
|
+
this.h3y_1 = prefix;
|
|
1376
1376
|
}
|
|
1377
1377
|
protoOf($skipIfFoundReadCountCOROUTINE$).q9 = function () {
|
|
1378
1378
|
var suspendResult = this.k9_1;
|
|
@@ -1383,7 +1383,7 @@
|
|
|
1383
1383
|
case 0:
|
|
1384
1384
|
this.j9_1 = 3;
|
|
1385
1385
|
this.i9_1 = 1;
|
|
1386
|
-
suspendResult = skipIfFound(this.
|
|
1386
|
+
suspendResult = skipIfFound(this.g3y_1, this.h3y_1, this);
|
|
1387
1387
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1388
1388
|
return suspendResult;
|
|
1389
1389
|
}
|
|
@@ -1392,18 +1392,18 @@
|
|
|
1392
1392
|
case 1:
|
|
1393
1393
|
if (suspendResult) {
|
|
1394
1394
|
var tmp_0 = this;
|
|
1395
|
-
tmp_0.
|
|
1395
|
+
tmp_0.i3y_1 = fromInt(this.h3y_1.g1());
|
|
1396
1396
|
this.i9_1 = 2;
|
|
1397
1397
|
continue $sm;
|
|
1398
1398
|
} else {
|
|
1399
1399
|
var tmp_1 = this;
|
|
1400
|
-
tmp_1.
|
|
1400
|
+
tmp_1.i3y_1 = new Long(0, 0);
|
|
1401
1401
|
this.i9_1 = 2;
|
|
1402
1402
|
continue $sm;
|
|
1403
1403
|
}
|
|
1404
1404
|
|
|
1405
1405
|
case 2:
|
|
1406
|
-
return this.
|
|
1406
|
+
return this.i3y_1;
|
|
1407
1407
|
case 3:
|
|
1408
1408
|
throw this.l9_1;
|
|
1409
1409
|
}
|
|
@@ -1491,16 +1491,16 @@
|
|
|
1491
1491
|
return new Char(charSequenceGet(s, idx));
|
|
1492
1492
|
}
|
|
1493
1493
|
function Node(ch, exact, children) {
|
|
1494
|
-
this.
|
|
1495
|
-
this.
|
|
1496
|
-
this.
|
|
1494
|
+
this.s3z_1 = ch;
|
|
1495
|
+
this.t3z_1 = exact;
|
|
1496
|
+
this.u3z_1 = children;
|
|
1497
1497
|
var tmp = this;
|
|
1498
1498
|
var tmp_0 = 0;
|
|
1499
1499
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1500
1500
|
var tmp_1 = Array(256);
|
|
1501
1501
|
while (tmp_0 < 256) {
|
|
1502
1502
|
var tmp_2 = tmp_0;
|
|
1503
|
-
var tmp0 = this.
|
|
1503
|
+
var tmp0 = this.u3z_1;
|
|
1504
1504
|
var tmp$ret$3;
|
|
1505
1505
|
$l$block_0: {
|
|
1506
1506
|
// Inline function 'kotlin.collections.singleOrNull' call
|
|
@@ -1510,7 +1510,7 @@
|
|
|
1510
1510
|
while (_iterator__ex2g4s.u()) {
|
|
1511
1511
|
var element = _iterator__ex2g4s.v();
|
|
1512
1512
|
// Inline function 'kotlin.code' call
|
|
1513
|
-
var this_0 = element.
|
|
1513
|
+
var this_0 = element.s3z_1;
|
|
1514
1514
|
if (Char__toInt_impl_vasixd(this_0) === tmp_2) {
|
|
1515
1515
|
if (found) {
|
|
1516
1516
|
tmp$ret$3 = null;
|
|
@@ -1529,15 +1529,15 @@
|
|
|
1529
1529
|
tmp_1[tmp_2] = tmp$ret$3;
|
|
1530
1530
|
tmp_0 = tmp_0 + 1 | 0;
|
|
1531
1531
|
}
|
|
1532
|
-
tmp.
|
|
1532
|
+
tmp.v3z_1 = tmp_1;
|
|
1533
1533
|
}
|
|
1534
1534
|
function Companion() {
|
|
1535
1535
|
}
|
|
1536
|
-
protoOf(Companion).
|
|
1536
|
+
protoOf(Companion).t3w = function (from) {
|
|
1537
1537
|
var tmp = AsciiCharTree$Companion$build$lambda;
|
|
1538
|
-
return this.
|
|
1538
|
+
return this.w3z(from, tmp, AsciiCharTree$Companion$build$lambda_0);
|
|
1539
1539
|
};
|
|
1540
|
-
protoOf(Companion).
|
|
1540
|
+
protoOf(Companion).w3z = function (from, length, charAt) {
|
|
1541
1541
|
var tmp$ret$0;
|
|
1542
1542
|
$l$block_0: {
|
|
1543
1543
|
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
@@ -1614,10 +1614,10 @@
|
|
|
1614
1614
|
return Companion_instance;
|
|
1615
1615
|
}
|
|
1616
1616
|
function AsciiCharTree(root) {
|
|
1617
|
-
this.
|
|
1617
|
+
this.x3z_1 = root;
|
|
1618
1618
|
}
|
|
1619
1619
|
function getImpl($this, index) {
|
|
1620
|
-
return bufferForIndex($this, index)[index % ensureNotNull($this.
|
|
1620
|
+
return bufferForIndex($this, index)[index % ensureNotNull($this.z3u_1).length | 0];
|
|
1621
1621
|
}
|
|
1622
1622
|
function copy($this, startIndex, endIndex) {
|
|
1623
1623
|
if (startIndex === endIndex)
|
|
@@ -1646,27 +1646,27 @@
|
|
|
1646
1646
|
return builder;
|
|
1647
1647
|
}
|
|
1648
1648
|
function SubSequenceImpl($outer, start, end) {
|
|
1649
|
-
this.
|
|
1650
|
-
this.
|
|
1651
|
-
this.
|
|
1652
|
-
this.
|
|
1649
|
+
this.b40_1 = $outer;
|
|
1650
|
+
this.y3z_1 = start;
|
|
1651
|
+
this.z3z_1 = end;
|
|
1652
|
+
this.a40_1 = null;
|
|
1653
1653
|
}
|
|
1654
1654
|
protoOf(SubSequenceImpl).a = function () {
|
|
1655
|
-
return this.
|
|
1655
|
+
return this.z3z_1 - this.y3z_1 | 0;
|
|
1656
1656
|
};
|
|
1657
1657
|
protoOf(SubSequenceImpl).b = function (index) {
|
|
1658
|
-
var withOffset = index + this.
|
|
1658
|
+
var withOffset = index + this.y3z_1 | 0;
|
|
1659
1659
|
// Inline function 'kotlin.require' call
|
|
1660
1660
|
if (!(index >= 0)) {
|
|
1661
1661
|
var message = 'index is negative: ' + index;
|
|
1662
1662
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1663
1663
|
}
|
|
1664
1664
|
// Inline function 'kotlin.require' call
|
|
1665
|
-
if (!(withOffset < this.
|
|
1665
|
+
if (!(withOffset < this.z3z_1)) {
|
|
1666
1666
|
var message_0 = 'index (' + index + ') should be less than length (' + this.a() + ')';
|
|
1667
1667
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1668
1668
|
}
|
|
1669
|
-
return getImpl(this.
|
|
1669
|
+
return getImpl(this.b40_1, withOffset);
|
|
1670
1670
|
};
|
|
1671
1671
|
protoOf(SubSequenceImpl).c = function (startIndex, endIndex) {
|
|
1672
1672
|
// Inline function 'kotlin.require' call
|
|
@@ -1680,21 +1680,21 @@
|
|
|
1680
1680
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1681
1681
|
}
|
|
1682
1682
|
// Inline function 'kotlin.require' call
|
|
1683
|
-
if (!(endIndex <= (this.
|
|
1683
|
+
if (!(endIndex <= (this.z3z_1 - this.y3z_1 | 0))) {
|
|
1684
1684
|
var message_1 = 'end should be less than length (' + this.a() + ')';
|
|
1685
1685
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1686
1686
|
}
|
|
1687
1687
|
if (startIndex === endIndex)
|
|
1688
1688
|
return '';
|
|
1689
|
-
return new SubSequenceImpl(this.
|
|
1689
|
+
return new SubSequenceImpl(this.b40_1, this.y3z_1 + startIndex | 0, this.y3z_1 + endIndex | 0);
|
|
1690
1690
|
};
|
|
1691
1691
|
protoOf(SubSequenceImpl).toString = function () {
|
|
1692
|
-
var tmp0_elvis_lhs = this.
|
|
1692
|
+
var tmp0_elvis_lhs = this.a40_1;
|
|
1693
1693
|
var tmp;
|
|
1694
1694
|
if (tmp0_elvis_lhs == null) {
|
|
1695
1695
|
// Inline function 'kotlin.also' call
|
|
1696
|
-
var this_0 = toString(copy(this.
|
|
1697
|
-
this.
|
|
1696
|
+
var this_0 = toString(copy(this.b40_1, this.y3z_1, this.z3z_1));
|
|
1697
|
+
this.a40_1 = this_0;
|
|
1698
1698
|
tmp = this_0;
|
|
1699
1699
|
} else {
|
|
1700
1700
|
tmp = tmp0_elvis_lhs;
|
|
@@ -1706,20 +1706,20 @@
|
|
|
1706
1706
|
return false;
|
|
1707
1707
|
if (!(charSequenceLength(other) === this.a()))
|
|
1708
1708
|
return false;
|
|
1709
|
-
return rangeEqualsImpl(this.
|
|
1709
|
+
return rangeEqualsImpl(this.b40_1, this.y3z_1, other, 0, this.a());
|
|
1710
1710
|
};
|
|
1711
1711
|
protoOf(SubSequenceImpl).hashCode = function () {
|
|
1712
|
-
var tmp0_safe_receiver = this.
|
|
1712
|
+
var tmp0_safe_receiver = this.a40_1;
|
|
1713
1713
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1714
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this.
|
|
1714
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this.b40_1, this.y3z_1, this.z3z_1) : tmp1_elvis_lhs;
|
|
1715
1715
|
};
|
|
1716
1716
|
function bufferForIndex($this, index) {
|
|
1717
|
-
var list = $this.
|
|
1717
|
+
var list = $this.y3u_1;
|
|
1718
1718
|
if (list == null) {
|
|
1719
1719
|
if (index >= 2048) {
|
|
1720
1720
|
throwSingleBuffer($this, index);
|
|
1721
1721
|
}
|
|
1722
|
-
var tmp0_elvis_lhs = $this.
|
|
1722
|
+
var tmp0_elvis_lhs = $this.z3u_1;
|
|
1723
1723
|
var tmp;
|
|
1724
1724
|
if (tmp0_elvis_lhs == null) {
|
|
1725
1725
|
throwSingleBuffer($this, index);
|
|
@@ -1728,29 +1728,29 @@
|
|
|
1728
1728
|
}
|
|
1729
1729
|
return tmp;
|
|
1730
1730
|
}
|
|
1731
|
-
return list.h1(index / ensureNotNull($this.
|
|
1731
|
+
return list.h1(index / ensureNotNull($this.z3u_1).length | 0);
|
|
1732
1732
|
}
|
|
1733
1733
|
function throwSingleBuffer($this, index) {
|
|
1734
|
-
if ($this.
|
|
1734
|
+
if ($this.b3v_1)
|
|
1735
1735
|
throw IllegalStateException_init_$Create$('Buffer is already released');
|
|
1736
1736
|
throw IndexOutOfBoundsException_init_$Create$('' + index + ' is not in range [0; ' + currentPosition($this) + ')');
|
|
1737
1737
|
}
|
|
1738
1738
|
function nonFullBuffer($this) {
|
|
1739
|
-
return $this.
|
|
1739
|
+
return $this.c3v_1 === 0 ? appendNewArray($this) : ensureNotNull($this.z3u_1);
|
|
1740
1740
|
}
|
|
1741
1741
|
function appendNewArray($this) {
|
|
1742
|
-
var newBuffer = $this.
|
|
1743
|
-
var existing = $this.
|
|
1744
|
-
$this.
|
|
1745
|
-
$this.
|
|
1746
|
-
$this.
|
|
1742
|
+
var newBuffer = $this.x3u_1.d38();
|
|
1743
|
+
var existing = $this.z3u_1;
|
|
1744
|
+
$this.z3u_1 = newBuffer;
|
|
1745
|
+
$this.c3v_1 = newBuffer.length;
|
|
1746
|
+
$this.b3v_1 = false;
|
|
1747
1747
|
if (!(existing == null)) {
|
|
1748
|
-
var tmp0_elvis_lhs = $this.
|
|
1748
|
+
var tmp0_elvis_lhs = $this.y3u_1;
|
|
1749
1749
|
var tmp;
|
|
1750
1750
|
if (tmp0_elvis_lhs == null) {
|
|
1751
1751
|
// Inline function 'kotlin.also' call
|
|
1752
1752
|
var this_0 = ArrayList_init_$Create$();
|
|
1753
|
-
$this.
|
|
1753
|
+
$this.y3u_1 = this_0;
|
|
1754
1754
|
this_0.e1(existing);
|
|
1755
1755
|
tmp = this_0;
|
|
1756
1756
|
} else {
|
|
@@ -1789,20 +1789,20 @@
|
|
|
1789
1789
|
return hc;
|
|
1790
1790
|
}
|
|
1791
1791
|
function currentPosition($this) {
|
|
1792
|
-
return ensureNotNull($this.
|
|
1792
|
+
return ensureNotNull($this.z3u_1).length - $this.c3v_1 | 0;
|
|
1793
1793
|
}
|
|
1794
1794
|
function CharArrayBuilder(pool) {
|
|
1795
1795
|
pool = pool === VOID ? get_CharArrayPool() : pool;
|
|
1796
|
-
this.
|
|
1797
|
-
this.
|
|
1798
|
-
this.
|
|
1799
|
-
this.
|
|
1800
|
-
this.
|
|
1801
|
-
this.
|
|
1802
|
-
this.
|
|
1796
|
+
this.x3u_1 = pool;
|
|
1797
|
+
this.y3u_1 = null;
|
|
1798
|
+
this.z3u_1 = null;
|
|
1799
|
+
this.a3v_1 = null;
|
|
1800
|
+
this.b3v_1 = false;
|
|
1801
|
+
this.c3v_1 = 0;
|
|
1802
|
+
this.d3v_1 = 0;
|
|
1803
1803
|
}
|
|
1804
1804
|
protoOf(CharArrayBuilder).a = function () {
|
|
1805
|
-
return this.
|
|
1805
|
+
return this.d3v_1;
|
|
1806
1806
|
};
|
|
1807
1807
|
protoOf(CharArrayBuilder).b = function (index) {
|
|
1808
1808
|
// Inline function 'kotlin.require' call
|
|
@@ -1811,8 +1811,8 @@
|
|
|
1811
1811
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1812
1812
|
}
|
|
1813
1813
|
// Inline function 'kotlin.require' call
|
|
1814
|
-
if (!(index < this.
|
|
1815
|
-
var message_0 = 'index ' + index + ' is not in range [0, ' + this.
|
|
1814
|
+
if (!(index < this.d3v_1)) {
|
|
1815
|
+
var message_0 = 'index ' + index + ' is not in range [0, ' + this.d3v_1 + ')';
|
|
1816
1816
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1817
1817
|
}
|
|
1818
1818
|
return getImpl(this, index);
|
|
@@ -1829,19 +1829,19 @@
|
|
|
1829
1829
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1830
1830
|
}
|
|
1831
1831
|
// Inline function 'kotlin.require' call
|
|
1832
|
-
if (!(endIndex <= this.
|
|
1833
|
-
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.
|
|
1832
|
+
if (!(endIndex <= this.d3v_1)) {
|
|
1833
|
+
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.d3v_1 + ')';
|
|
1834
1834
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1835
1835
|
}
|
|
1836
1836
|
return new SubSequenceImpl(this, startIndex, endIndex);
|
|
1837
1837
|
};
|
|
1838
1838
|
protoOf(CharArrayBuilder).toString = function () {
|
|
1839
|
-
var tmp0_elvis_lhs = this.
|
|
1839
|
+
var tmp0_elvis_lhs = this.a3v_1;
|
|
1840
1840
|
var tmp;
|
|
1841
1841
|
if (tmp0_elvis_lhs == null) {
|
|
1842
1842
|
// Inline function 'kotlin.also' call
|
|
1843
|
-
var this_0 = toString(copy(this, 0, this.
|
|
1844
|
-
this.
|
|
1843
|
+
var this_0 = toString(copy(this, 0, this.d3v_1));
|
|
1844
|
+
this.a3v_1 = this_0;
|
|
1845
1845
|
tmp = this_0;
|
|
1846
1846
|
} else {
|
|
1847
1847
|
tmp = tmp0_elvis_lhs;
|
|
@@ -1851,20 +1851,20 @@
|
|
|
1851
1851
|
protoOf(CharArrayBuilder).equals = function (other) {
|
|
1852
1852
|
if (!(!(other == null) ? isCharSequence(other) : false))
|
|
1853
1853
|
return false;
|
|
1854
|
-
if (!(this.
|
|
1854
|
+
if (!(this.d3v_1 === charSequenceLength(other)))
|
|
1855
1855
|
return false;
|
|
1856
|
-
return rangeEqualsImpl(this, 0, other, 0, this.
|
|
1856
|
+
return rangeEqualsImpl(this, 0, other, 0, this.d3v_1);
|
|
1857
1857
|
};
|
|
1858
1858
|
protoOf(CharArrayBuilder).hashCode = function () {
|
|
1859
|
-
var tmp0_safe_receiver = this.
|
|
1859
|
+
var tmp0_safe_receiver = this.a3v_1;
|
|
1860
1860
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1861
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.
|
|
1861
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.d3v_1) : tmp1_elvis_lhs;
|
|
1862
1862
|
};
|
|
1863
1863
|
protoOf(CharArrayBuilder).s = function (value) {
|
|
1864
|
-
nonFullBuffer(this)[ensureNotNull(this.
|
|
1865
|
-
this.
|
|
1866
|
-
this.
|
|
1867
|
-
this.
|
|
1864
|
+
nonFullBuffer(this)[ensureNotNull(this.z3u_1).length - this.c3v_1 | 0] = value;
|
|
1865
|
+
this.a3v_1 = null;
|
|
1866
|
+
this.c3v_1 = this.c3v_1 - 1 | 0;
|
|
1867
|
+
this.d3v_1 = this.d3v_1 + 1 | 0;
|
|
1868
1868
|
return this;
|
|
1869
1869
|
};
|
|
1870
1870
|
protoOf(CharArrayBuilder).sc = function (value, startIndex, endIndex) {
|
|
@@ -1873,10 +1873,10 @@
|
|
|
1873
1873
|
var current = startIndex;
|
|
1874
1874
|
while (current < endIndex) {
|
|
1875
1875
|
var buffer = nonFullBuffer(this);
|
|
1876
|
-
var offset = buffer.length - this.
|
|
1876
|
+
var offset = buffer.length - this.c3v_1 | 0;
|
|
1877
1877
|
var tmp0 = endIndex - current | 0;
|
|
1878
1878
|
// Inline function 'kotlin.math.min' call
|
|
1879
|
-
var b = this.
|
|
1879
|
+
var b = this.c3v_1;
|
|
1880
1880
|
var bytesToCopy = Math.min(tmp0, b);
|
|
1881
1881
|
var inductionVariable = 0;
|
|
1882
1882
|
if (inductionVariable < bytesToCopy)
|
|
@@ -1887,10 +1887,10 @@
|
|
|
1887
1887
|
}
|
|
1888
1888
|
while (inductionVariable < bytesToCopy);
|
|
1889
1889
|
current = current + bytesToCopy | 0;
|
|
1890
|
-
this.
|
|
1890
|
+
this.c3v_1 = this.c3v_1 - bytesToCopy | 0;
|
|
1891
1891
|
}
|
|
1892
|
-
this.
|
|
1893
|
-
this.
|
|
1892
|
+
this.a3v_1 = null;
|
|
1893
|
+
this.d3v_1 = this.d3v_1 + (endIndex - startIndex | 0) | 0;
|
|
1894
1894
|
return this;
|
|
1895
1895
|
};
|
|
1896
1896
|
protoOf(CharArrayBuilder).f1 = function (value) {
|
|
@@ -1898,34 +1898,34 @@
|
|
|
1898
1898
|
return this;
|
|
1899
1899
|
return this.sc(value, 0, charSequenceLength(value));
|
|
1900
1900
|
};
|
|
1901
|
-
protoOf(CharArrayBuilder).
|
|
1902
|
-
var list = this.
|
|
1901
|
+
protoOf(CharArrayBuilder).w2s = function () {
|
|
1902
|
+
var list = this.y3u_1;
|
|
1903
1903
|
if (!(list == null)) {
|
|
1904
|
-
this.
|
|
1904
|
+
this.z3u_1 = null;
|
|
1905
1905
|
var inductionVariable = 0;
|
|
1906
1906
|
var last = list.g1();
|
|
1907
1907
|
if (inductionVariable < last)
|
|
1908
1908
|
do {
|
|
1909
1909
|
var i = inductionVariable;
|
|
1910
1910
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1911
|
-
this.
|
|
1911
|
+
this.x3u_1.e38(list.h1(i));
|
|
1912
1912
|
}
|
|
1913
1913
|
while (inductionVariable < last);
|
|
1914
1914
|
} else {
|
|
1915
|
-
var tmp0_safe_receiver = this.
|
|
1915
|
+
var tmp0_safe_receiver = this.z3u_1;
|
|
1916
1916
|
if (tmp0_safe_receiver == null)
|
|
1917
1917
|
null;
|
|
1918
1918
|
else {
|
|
1919
1919
|
// Inline function 'kotlin.let' call
|
|
1920
|
-
this.
|
|
1920
|
+
this.x3u_1.e38(tmp0_safe_receiver);
|
|
1921
1921
|
}
|
|
1922
|
-
this.
|
|
1922
|
+
this.z3u_1 = null;
|
|
1923
1923
|
}
|
|
1924
|
-
this.
|
|
1925
|
-
this.
|
|
1926
|
-
this.
|
|
1927
|
-
this.
|
|
1928
|
-
this.
|
|
1924
|
+
this.b3v_1 = true;
|
|
1925
|
+
this.y3u_1 = null;
|
|
1926
|
+
this.a3v_1 = null;
|
|
1927
|
+
this.d3v_1 = 0;
|
|
1928
|
+
this.c3v_1 = 0;
|
|
1929
1929
|
};
|
|
1930
1930
|
function get_CharArrayPool() {
|
|
1931
1931
|
_init_properties_CharArrayPool_kt__u4nq0d();
|
|
@@ -1935,13 +1935,13 @@
|
|
|
1935
1935
|
function CharArrayPool$1() {
|
|
1936
1936
|
NoPoolImpl.call(this);
|
|
1937
1937
|
}
|
|
1938
|
-
protoOf(CharArrayPool$1).
|
|
1938
|
+
protoOf(CharArrayPool$1).d38 = function () {
|
|
1939
1939
|
return charArray(2048);
|
|
1940
1940
|
};
|
|
1941
1941
|
function CharArrayPool$2() {
|
|
1942
1942
|
DefaultPool.call(this, 4096);
|
|
1943
1943
|
}
|
|
1944
|
-
protoOf(CharArrayPool$2).
|
|
1944
|
+
protoOf(CharArrayPool$2).w37 = function () {
|
|
1945
1945
|
return charArray(2048);
|
|
1946
1946
|
};
|
|
1947
1947
|
var properties_initialized_CharArrayPool_kt_aq0u0f;
|
|
@@ -2132,20 +2132,20 @@
|
|
|
2132
2132
|
}
|
|
2133
2133
|
function DefaultHttpMethods$lambda(it) {
|
|
2134
2134
|
_init_properties_Chars_kt__d3i39x();
|
|
2135
|
-
return it.
|
|
2135
|
+
return it.k3o_1.length;
|
|
2136
2136
|
}
|
|
2137
2137
|
function DefaultHttpMethods$lambda_0(m, idx) {
|
|
2138
2138
|
_init_properties_Chars_kt__d3i39x();
|
|
2139
|
-
return new Char(charCodeAt(m.
|
|
2139
|
+
return new Char(charCodeAt(m.k3o_1, idx));
|
|
2140
2140
|
}
|
|
2141
2141
|
var properties_initialized_Chars_kt_phjfhp;
|
|
2142
2142
|
function _init_properties_Chars_kt__d3i39x() {
|
|
2143
2143
|
if (!properties_initialized_Chars_kt_phjfhp) {
|
|
2144
2144
|
properties_initialized_Chars_kt_phjfhp = true;
|
|
2145
2145
|
var tmp = Companion_instance;
|
|
2146
|
-
var tmp_0 = Companion_getInstance_0().
|
|
2146
|
+
var tmp_0 = Companion_getInstance_0().j3o_1;
|
|
2147
2147
|
var tmp_1 = DefaultHttpMethods$lambda;
|
|
2148
|
-
DefaultHttpMethods = tmp.
|
|
2148
|
+
DefaultHttpMethods = tmp.w3z(tmp_0, tmp_1, DefaultHttpMethods$lambda_0);
|
|
2149
2149
|
// Inline function 'kotlin.collections.map' call
|
|
2150
2150
|
var this_0 = numberRangeToNumber(0, 255);
|
|
2151
2151
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -2246,11 +2246,11 @@
|
|
|
2246
2246
|
captureStack(this, UnsupportedMediaTypeExceptionCIO);
|
|
2247
2247
|
}
|
|
2248
2248
|
function MutableRange(start, end) {
|
|
2249
|
-
this.
|
|
2250
|
-
this.
|
|
2249
|
+
this.r3w_1 = start;
|
|
2250
|
+
this.s3w_1 = end;
|
|
2251
2251
|
}
|
|
2252
2252
|
protoOf(MutableRange).toString = function () {
|
|
2253
|
-
return 'MutableRange(start=' + this.
|
|
2253
|
+
return 'MutableRange(start=' + this.r3w_1 + ', end=' + this.s3w_1 + ')';
|
|
2254
2254
|
};
|
|
2255
2255
|
function skipSpacesAndHorizontalTabs(text, start, end) {
|
|
2256
2256
|
var index = start;
|