@doordeck/doordeck-headless-sdk 0.85.0 → 0.86.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/README.md +1 -1
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +76 -207
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +6 -6
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +2 -2
- package/kotlin/doordeck-sdk.js +807 -738
- package/kotlin/kotlin-kotlin-stdlib.js +1066 -1150
- package/kotlin/kotlinx-atomicfu.js +5 -6
- package/kotlin/kotlinx-coroutines-core.js +177 -376
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +9 -10
- package/kotlin/kotlinx-io-kotlinx-io-core.js +41 -135
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +77 -136
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +76 -159
- package/kotlin/ktor-ktor-client-ktor-client-core.js +62 -98
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +21 -27
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +14 -14
- package/kotlin/ktor-ktor-http-ktor-http-cio.js +27 -57
- package/kotlin/ktor-ktor-http.js +71 -134
- package/kotlin/ktor-ktor-io.js +55 -78
- package/kotlin/ktor-ktor-shared-ktor-events.js +4 -6
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +9 -19
- package/kotlin/ktor-ktor-shared-ktor-serialization.js +10 -10
- package/kotlin/ktor-ktor-shared-ktor-websockets.js +12 -18
- package/kotlin/ktor-ktor-utils.js +40 -70
- package/package.json +3 -3
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
//region block: imports
|
|
4
4
|
var CoroutineImpl = kotlin_kotlin.$_$.u9;
|
|
5
5
|
var Unit_instance = kotlin_kotlin.$_$.k5;
|
|
6
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
7
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
6
|
+
var protoOf = kotlin_kotlin.$_$.tb;
|
|
7
|
+
var THROW_CCE = kotlin_kotlin.$_$.nf;
|
|
8
8
|
var HttpResponse = kotlin_io_ktor_ktor_client_core.$_$.y;
|
|
9
9
|
var Companion_getInstance = kotlin_io_ktor_ktor_http.$_$.j;
|
|
10
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
10
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.wa;
|
|
11
11
|
var VOID = kotlin_kotlin.$_$.h;
|
|
12
12
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.p;
|
|
13
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
13
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ra;
|
|
14
14
|
var atomic$int$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.e;
|
|
15
15
|
var toList = kotlin_kotlin.$_$.s8;
|
|
16
16
|
var ConcurrentMap = kotlin_io_ktor_ktor_utils.$_$.c;
|
|
17
17
|
var KtMutableMap = kotlin_kotlin.$_$.w5;
|
|
18
18
|
var getKClass = kotlin_kotlin.$_$.f;
|
|
19
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
19
|
+
var arrayOf = kotlin_kotlin.$_$.bg;
|
|
20
20
|
var createKType = kotlin_kotlin.$_$.c;
|
|
21
21
|
var createInvariantKTypeProjection = kotlin_kotlin.$_$.a;
|
|
22
22
|
var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.a5;
|
|
@@ -29,24 +29,24 @@
|
|
|
29
29
|
var parseAuthorizationHeaders = kotlin_io_ktor_ktor_http.$_$.m;
|
|
30
30
|
var flatten = kotlin_kotlin.$_$.h7;
|
|
31
31
|
var emptyList = kotlin_kotlin.$_$.z6;
|
|
32
|
-
var to = kotlin_kotlin.$_$.
|
|
32
|
+
var to = kotlin_kotlin.$_$.rg;
|
|
33
33
|
var get_isTraceEnabled = kotlin_io_ktor_ktor_utils.$_$.h;
|
|
34
34
|
var first = kotlin_kotlin.$_$.g7;
|
|
35
35
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.y;
|
|
36
36
|
var OnRequestContext = kotlin_io_ktor_ktor_client_core.$_$.e;
|
|
37
37
|
var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.s;
|
|
38
|
-
var toString = kotlin_kotlin.$_$.
|
|
38
|
+
var toString = kotlin_kotlin.$_$.xb;
|
|
39
39
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.e9;
|
|
40
40
|
var Sender = kotlin_io_ktor_ktor_client_core.$_$.f;
|
|
41
41
|
var HashSet_init_$Create$ = kotlin_kotlin.$_$.w;
|
|
42
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
42
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.ta;
|
|
43
43
|
var KtorSimpleLogger = kotlin_io_ktor_ktor_utils.$_$.g;
|
|
44
|
-
var Unit = kotlin_kotlin.$_$.
|
|
44
|
+
var Unit = kotlin_kotlin.$_$.yf;
|
|
45
45
|
var createClientPlugin = kotlin_io_ktor_ktor_client_core.$_$.i;
|
|
46
46
|
var KtList = kotlin_kotlin.$_$.r5;
|
|
47
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
47
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.va;
|
|
48
48
|
var CompletableDeferred = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t;
|
|
49
|
-
var throwUninitializedPropertyAccessException = kotlin_kotlin.$_$.
|
|
49
|
+
var throwUninitializedPropertyAccessException = kotlin_kotlin.$_$.pg;
|
|
50
50
|
var CompletableDeferred_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
|
|
51
51
|
var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.d;
|
|
52
52
|
var headers = kotlin_io_ktor_ktor_client_core.$_$.v;
|
|
@@ -207,7 +207,6 @@
|
|
|
207
207
|
var _iterator__ex2g4s = headerValues.p();
|
|
208
208
|
while (_iterator__ex2g4s.q()) {
|
|
209
209
|
var item = _iterator__ex2g4s.r();
|
|
210
|
-
// Inline function 'io.ktor.client.plugins.auth.Auth$lambda.invoke.findProvider.<anonymous>' call
|
|
211
210
|
var tmp$ret$0 = parseAuthorizationHeaders(item);
|
|
212
211
|
destination.k(tmp$ret$0);
|
|
213
212
|
}
|
|
@@ -223,52 +222,48 @@
|
|
|
223
222
|
// Inline function 'io.ktor.util.logging.trace' call
|
|
224
223
|
var this_0 = get_LOGGER();
|
|
225
224
|
if (get_isTraceEnabled(this_0)) {
|
|
226
|
-
// Inline function 'io.ktor.client.plugins.auth.Auth$lambda.invoke.findProvider.<anonymous>' call
|
|
227
225
|
var tmp$ret$3 = 'Unauthorized response ' + call.x3b().a3c().toString() + ' has no or empty "WWW-Authenticate" header. ' + 'Can not add or refresh token';
|
|
228
226
|
this_0.j2l(tmp$ret$3);
|
|
229
227
|
}
|
|
230
228
|
tmp_0 = null;
|
|
231
229
|
} else {
|
|
232
|
-
var tmp$ret$
|
|
230
|
+
var tmp$ret$11;
|
|
233
231
|
$l$block_0: {
|
|
234
232
|
// Inline function 'kotlin.collections.firstNotNullOfOrNull' call
|
|
235
233
|
var _iterator__ex2g4s_0 = authHeaders.p();
|
|
236
234
|
while (_iterator__ex2g4s_0.q()) {
|
|
237
235
|
var element = _iterator__ex2g4s_0.r();
|
|
238
|
-
// Inline function 'io.ktor.client.plugins.auth.Auth$lambda.invoke.findProvider.<anonymous>' call
|
|
239
236
|
// Inline function 'kotlin.collections.find' call
|
|
240
|
-
var tmp$ret$
|
|
237
|
+
var tmp$ret$6;
|
|
241
238
|
$l$block: {
|
|
242
239
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
243
240
|
var _iterator__ex2g4s_1 = candidateProviders.p();
|
|
244
241
|
while (_iterator__ex2g4s_1.q()) {
|
|
245
242
|
var element_0 = _iterator__ex2g4s_1.r();
|
|
246
|
-
// Inline function 'io.ktor.client.plugins.auth.Auth$lambda.invoke.findProvider.<anonymous>.<anonymous>' call
|
|
247
243
|
if (element_0.g4g(element)) {
|
|
248
|
-
tmp$ret$
|
|
244
|
+
tmp$ret$6 = element_0;
|
|
249
245
|
break $l$block;
|
|
250
246
|
}
|
|
251
247
|
}
|
|
252
|
-
tmp$ret$
|
|
248
|
+
tmp$ret$6 = null;
|
|
253
249
|
}
|
|
254
|
-
var tmp0_safe_receiver = tmp$ret$
|
|
250
|
+
var tmp0_safe_receiver = tmp$ret$6;
|
|
255
251
|
var tmp_1;
|
|
256
252
|
if (tmp0_safe_receiver == null) {
|
|
257
253
|
tmp_1 = null;
|
|
258
254
|
} else {
|
|
259
255
|
// Inline function 'kotlin.let' call
|
|
260
|
-
// Inline function 'io.ktor.client.plugins.auth.Auth$lambda.invoke.findProvider.<anonymous>.<anonymous>' call
|
|
261
256
|
tmp_1 = to(tmp0_safe_receiver, element);
|
|
262
257
|
}
|
|
263
258
|
var result = tmp_1;
|
|
264
259
|
if (!(result == null)) {
|
|
265
|
-
tmp$ret$
|
|
260
|
+
tmp$ret$11 = result;
|
|
266
261
|
break $l$block_0;
|
|
267
262
|
}
|
|
268
263
|
}
|
|
269
|
-
tmp$ret$
|
|
264
|
+
tmp$ret$11 = null;
|
|
270
265
|
}
|
|
271
|
-
tmp_0 = tmp$ret$
|
|
266
|
+
tmp_0 = tmp$ret$11;
|
|
272
267
|
}
|
|
273
268
|
return tmp_0;
|
|
274
269
|
}
|
|
@@ -487,8 +482,8 @@
|
|
|
487
482
|
}
|
|
488
483
|
|
|
489
484
|
tmp_0.b4j_1 = tmp_1;
|
|
490
|
-
this.c4j_1 = this.b4j_1.
|
|
491
|
-
this.d4j_1 = this.b4j_1.
|
|
485
|
+
this.c4j_1 = this.b4j_1.tg();
|
|
486
|
+
this.d4j_1 = this.b4j_1.ug();
|
|
492
487
|
var this_2 = get_LOGGER();
|
|
493
488
|
if (get_isTraceEnabled(this_2)) {
|
|
494
489
|
this_2.j2l('Using provider ' + toString(this.c4j_1) + ' for ' + this.z4i_1.x3b().a3c().toString());
|
|
@@ -961,7 +956,6 @@
|
|
|
961
956
|
var this_0 = new BearerAuthConfig();
|
|
962
957
|
block(this_0);
|
|
963
958
|
// Inline function 'kotlin.with' call
|
|
964
|
-
// Inline function 'io.ktor.client.plugins.auth.providers.bearer.<anonymous>' call
|
|
965
959
|
_this__u8e3s4.d4g_1.k(new BearerAuthProvider(this_0.l4k_1, this_0.m4k_1, this_0.n4k_1, this_0.o4k_1));
|
|
966
960
|
}
|
|
967
961
|
function BearerAuthConfig$refreshTokens$slambda(resultContinuation) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (_, kotlin_kotlin, kotlin_io_ktor_ktor_http, kotlin_io_ktor_ktor_serialization, kotlin_io_ktor_ktor_io, kotlin_io_ktor_ktor_client_core, kotlin_io_ktor_ktor_utils) {
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
5
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
4
|
+
var protoOf = kotlin_kotlin.$_$.tb;
|
|
5
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ra;
|
|
6
6
|
var plus = kotlin_kotlin.$_$.z7;
|
|
7
7
|
var toMutableSet = kotlin_kotlin.$_$.x8;
|
|
8
8
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.p;
|
|
@@ -11,25 +11,25 @@
|
|
|
11
11
|
var Unit_instance = kotlin_kotlin.$_$.k5;
|
|
12
12
|
var Configuration = kotlin_io_ktor_ktor_serialization.$_$.c;
|
|
13
13
|
var VOID = kotlin_kotlin.$_$.h;
|
|
14
|
-
var Exception = kotlin_kotlin.$_$.
|
|
14
|
+
var Exception = kotlin_kotlin.$_$.ef;
|
|
15
15
|
var Exception_init_$Init$ = kotlin_kotlin.$_$.o1;
|
|
16
16
|
var captureStack = kotlin_kotlin.$_$.ca;
|
|
17
17
|
var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.l;
|
|
18
18
|
var CoroutineImpl = kotlin_kotlin.$_$.u9;
|
|
19
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
19
|
+
var THROW_CCE = kotlin_kotlin.$_$.nf;
|
|
20
20
|
var TransformRequestBodyContext = kotlin_io_ktor_ktor_client_core.$_$.g;
|
|
21
21
|
var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.s;
|
|
22
22
|
var TypeInfo = kotlin_io_ktor_ktor_utils.$_$.l;
|
|
23
23
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.e9;
|
|
24
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
24
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.wa;
|
|
25
25
|
var TransformResponseBodyContext = kotlin_io_ktor_ktor_client_core.$_$.h;
|
|
26
26
|
var HttpResponse = kotlin_io_ktor_ktor_client_core.$_$.y;
|
|
27
27
|
var ByteReadChannel = kotlin_io_ktor_ktor_io.$_$.l1;
|
|
28
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
28
|
+
var isInterface = kotlin_kotlin.$_$.gb;
|
|
29
29
|
var contentType = kotlin_io_ktor_ktor_http.$_$.m1;
|
|
30
30
|
var get_request = kotlin_io_ktor_ktor_client_core.$_$.a1;
|
|
31
31
|
var suitableCharset = kotlin_io_ktor_ktor_serialization.$_$.f;
|
|
32
|
-
var toString = kotlin_kotlin.$_$.
|
|
32
|
+
var toString = kotlin_kotlin.$_$.xb;
|
|
33
33
|
var Collection = kotlin_kotlin.$_$.m5;
|
|
34
34
|
var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.g;
|
|
35
35
|
var emptyList = kotlin_kotlin.$_$.z6;
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
var getKClassFromExpression = kotlin_kotlin.$_$.e;
|
|
40
40
|
var contentType_0 = kotlin_io_ktor_ktor_http.$_$.l1;
|
|
41
41
|
var EmptyContent_getInstance = kotlin_io_ktor_ktor_client_core.$_$.d;
|
|
42
|
-
var Unit = kotlin_kotlin.$_$.
|
|
42
|
+
var Unit = kotlin_kotlin.$_$.yf;
|
|
43
43
|
var charset = kotlin_io_ktor_ktor_http.$_$.j1;
|
|
44
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
44
|
+
var ensureNotNull = kotlin_kotlin.$_$.fg;
|
|
45
45
|
var NullBody_instance = kotlin_io_ktor_ktor_http.$_$.a;
|
|
46
46
|
var equals = kotlin_kotlin.$_$.ka;
|
|
47
47
|
var joinToString = kotlin_kotlin.$_$.o7;
|
|
48
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
48
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.ta;
|
|
49
49
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.f6;
|
|
50
50
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.o;
|
|
51
51
|
var deserialize = kotlin_io_ktor_ktor_serialization.$_$.a;
|
|
@@ -56,13 +56,13 @@
|
|
|
56
56
|
var setOf = kotlin_kotlin.$_$.i8;
|
|
57
57
|
var KtList = kotlin_kotlin.$_$.r5;
|
|
58
58
|
var ContentType = kotlin_io_ktor_ktor_http.$_$.y;
|
|
59
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
59
|
+
var arrayOf = kotlin_kotlin.$_$.bg;
|
|
60
60
|
var createKType = kotlin_kotlin.$_$.c;
|
|
61
61
|
var createInvariantKTypeProjection = kotlin_kotlin.$_$.a;
|
|
62
62
|
var AttributeKey = kotlin_io_ktor_ktor_utils.$_$.n;
|
|
63
63
|
var createClientPlugin = kotlin_io_ktor_ktor_client_core.$_$.i;
|
|
64
|
-
var endsWith = kotlin_kotlin.$_$.
|
|
65
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
64
|
+
var endsWith = kotlin_kotlin.$_$.vc;
|
|
65
|
+
var initMetadataForObject = kotlin_kotlin.$_$.xa;
|
|
66
66
|
var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.a1;
|
|
67
67
|
//endregion
|
|
68
68
|
//region block: pre-declaration
|
|
@@ -384,7 +384,7 @@
|
|
|
384
384
|
var _iterator__ex2g4s_2 = tmp0_0.p();
|
|
385
385
|
while (_iterator__ex2g4s_2.q()) {
|
|
386
386
|
var element_2 = _iterator__ex2g4s_2.r();
|
|
387
|
-
if (Companion_getInstance().
|
|
387
|
+
if (Companion_getInstance().nl(element_2).r2n(element_1.g4n_1)) {
|
|
388
388
|
tmp$ret$2 = false;
|
|
389
389
|
break l$ret$3;
|
|
390
390
|
}
|
|
@@ -2,28 +2,28 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
|
-
var Long = kotlin_kotlin.$_$.
|
|
5
|
+
var Long = kotlin_kotlin.$_$.hf;
|
|
6
6
|
var VOID = kotlin_kotlin.$_$.h;
|
|
7
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
7
|
+
var protoOf = kotlin_kotlin.$_$.tb;
|
|
8
8
|
var MultiPartData = kotlin_io_ktor_ktor_http.$_$.o;
|
|
9
9
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.y;
|
|
10
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
11
|
-
var NotImplementedError = kotlin_kotlin.$_$.
|
|
10
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ra;
|
|
11
|
+
var NotImplementedError = kotlin_kotlin.$_$.jf;
|
|
12
12
|
var Unit_instance = kotlin_kotlin.$_$.k5;
|
|
13
|
-
var toString = kotlin_kotlin.$_$.
|
|
13
|
+
var toString = kotlin_kotlin.$_$.xb;
|
|
14
14
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.w1;
|
|
15
15
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.j1;
|
|
16
16
|
var DefaultPool = kotlin_io_ktor_ktor_io.$_$.h1;
|
|
17
17
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.t2;
|
|
18
|
-
var endsWith = kotlin_kotlin.$_$.
|
|
18
|
+
var endsWith = kotlin_kotlin.$_$.uc;
|
|
19
19
|
var charSequenceLength = kotlin_kotlin.$_$.ga;
|
|
20
20
|
var charSequenceGet = kotlin_kotlin.$_$.fa;
|
|
21
|
-
var Char = kotlin_kotlin.$_$.
|
|
21
|
+
var Char = kotlin_kotlin.$_$.xe;
|
|
22
22
|
var Char__compareTo_impl_ypi4mb = kotlin_kotlin.$_$.u2;
|
|
23
|
-
var contains = kotlin_kotlin.$_$.
|
|
23
|
+
var contains = kotlin_kotlin.$_$.pc;
|
|
24
24
|
var charSequenceSubSequence = kotlin_kotlin.$_$.ha;
|
|
25
25
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.z2;
|
|
26
|
-
var IllegalStateException = kotlin_kotlin.$_$.
|
|
26
|
+
var IllegalStateException = kotlin_kotlin.$_$.gf;
|
|
27
27
|
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.z1;
|
|
28
28
|
var captureStack = kotlin_kotlin.$_$.ca;
|
|
29
29
|
var CoroutineImpl = kotlin_kotlin.$_$.u9;
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.e9;
|
|
32
32
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.a2;
|
|
33
33
|
var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.g;
|
|
34
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
34
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.ta;
|
|
35
35
|
var setOf = kotlin_kotlin.$_$.i8;
|
|
36
36
|
var Companion_getInstance = kotlin_io_ktor_ktor_io.$_$.n;
|
|
37
37
|
var LineEndingMode__plus_impl_ttpz2j = kotlin_io_ktor_ktor_io.$_$.k;
|
|
@@ -39,17 +39,17 @@
|
|
|
39
39
|
var MultiPart_getInstance = kotlin_io_ktor_ktor_http.$_$.d;
|
|
40
40
|
var ByteString_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.a;
|
|
41
41
|
var IOException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.c;
|
|
42
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
43
|
-
var toByte = kotlin_kotlin.$_$.
|
|
42
|
+
var toString_0 = kotlin_kotlin.$_$.ie;
|
|
43
|
+
var toByte = kotlin_kotlin.$_$.ub;
|
|
44
44
|
var copyOfRange = kotlin_kotlin.$_$.l6;
|
|
45
45
|
var produce = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.k;
|
|
46
|
-
var startsWith = kotlin_kotlin.$_$.
|
|
46
|
+
var startsWith = kotlin_kotlin.$_$.ud;
|
|
47
47
|
var readUntil = kotlin_io_ktor_ktor_io.$_$.f;
|
|
48
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
48
|
+
var THROW_CCE = kotlin_kotlin.$_$.nf;
|
|
49
49
|
var WriterScope = kotlin_io_ktor_ktor_io.$_$.m1;
|
|
50
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
50
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.wa;
|
|
51
51
|
var ProducerScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.i;
|
|
52
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
52
|
+
var isInterface = kotlin_kotlin.$_$.gb;
|
|
53
53
|
var counted = kotlin_io_ktor_ktor_io.$_$.q1;
|
|
54
54
|
var writer = kotlin_io_ktor_ktor_io.$_$.u1;
|
|
55
55
|
var readRemaining = kotlin_io_ktor_ktor_io.$_$.d;
|
|
@@ -62,39 +62,38 @@
|
|
|
62
62
|
var readPacket = kotlin_io_ktor_ktor_io.$_$.c;
|
|
63
63
|
var EOFException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
|
|
64
64
|
var copyTo = kotlin_io_ktor_ktor_io.$_$.a;
|
|
65
|
-
var toLong = kotlin_kotlin.$_$.
|
|
65
|
+
var toLong = kotlin_kotlin.$_$.vb;
|
|
66
66
|
var toByteArray = kotlin_io_ktor_ktor_io.$_$.c1;
|
|
67
67
|
var ByteString = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.c;
|
|
68
68
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.y;
|
|
69
69
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.p;
|
|
70
|
-
var fillArrayVal = kotlin_kotlin.$_$.ma;
|
|
71
70
|
var compareTo = kotlin_kotlin.$_$.ia;
|
|
72
71
|
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.g2;
|
|
73
72
|
var Collection = kotlin_kotlin.$_$.m5;
|
|
74
73
|
var emptyList = kotlin_kotlin.$_$.z6;
|
|
75
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
76
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
74
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.sa;
|
|
75
|
+
var ensureNotNull = kotlin_kotlin.$_$.fg;
|
|
77
76
|
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.i1;
|
|
78
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
79
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
80
|
-
var CharSequence = kotlin_kotlin.$_$.
|
|
77
|
+
var isCharSequence = kotlin_kotlin.$_$.cb;
|
|
78
|
+
var getStringHashCode = kotlin_kotlin.$_$.pa;
|
|
79
|
+
var CharSequence = kotlin_kotlin.$_$.we;
|
|
81
80
|
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.d2;
|
|
82
81
|
var NoPoolImpl = kotlin_io_ktor_ktor_io.$_$.i1;
|
|
83
82
|
var charArray = kotlin_kotlin.$_$.ea;
|
|
84
83
|
var NumberFormatException_init_$Create$ = kotlin_kotlin.$_$.h2;
|
|
85
84
|
var toString_1 = kotlin_kotlin.$_$.a3;
|
|
86
85
|
var Companion_getInstance_0 = kotlin_io_ktor_ktor_http.$_$.h;
|
|
87
|
-
var numberRangeToNumber = kotlin_kotlin.$_$.
|
|
86
|
+
var numberRangeToNumber = kotlin_kotlin.$_$.nb;
|
|
88
87
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.f6;
|
|
89
88
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.o;
|
|
90
|
-
var numberToLong = kotlin_kotlin.$_$.
|
|
89
|
+
var numberToLong = kotlin_kotlin.$_$.rb;
|
|
91
90
|
var toLongArray = kotlin_kotlin.$_$.u8;
|
|
92
91
|
var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.x2;
|
|
93
92
|
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.w2;
|
|
94
93
|
var toByteArray_0 = kotlin_kotlin.$_$.p8;
|
|
95
94
|
var IOException = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.g;
|
|
96
95
|
var IOException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.b;
|
|
97
|
-
var isWhitespace = kotlin_kotlin.$_$.
|
|
96
|
+
var isWhitespace = kotlin_kotlin.$_$.dd;
|
|
98
97
|
//endregion
|
|
99
98
|
//region block: pre-declaration
|
|
100
99
|
initMetadataForClass(CIOMultipartDataBase, 'CIOMultipartDataBase', VOID, VOID, [MultiPartData, CoroutineScope], [0, 1]);
|
|
@@ -183,14 +182,12 @@
|
|
|
183
182
|
// Inline function 'kotlin.require' call
|
|
184
183
|
// Inline function 'kotlin.require' call
|
|
185
184
|
if (!(idx >= 0)) {
|
|
186
|
-
// Inline function 'kotlin.require.<anonymous>' call
|
|
187
185
|
var message = 'Failed requirement.';
|
|
188
186
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
189
187
|
}
|
|
190
188
|
// Inline function 'kotlin.require' call
|
|
191
189
|
// Inline function 'kotlin.require' call
|
|
192
190
|
if (!(idx < this.s2y_1)) {
|
|
193
|
-
// Inline function 'kotlin.require.<anonymous>' call
|
|
194
191
|
var message_0 = 'Failed requirement.';
|
|
195
192
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
196
193
|
}
|
|
@@ -204,14 +201,12 @@
|
|
|
204
201
|
// Inline function 'kotlin.require' call
|
|
205
202
|
// Inline function 'kotlin.require' call
|
|
206
203
|
if (!(idx >= 0)) {
|
|
207
|
-
// Inline function 'kotlin.require.<anonymous>' call
|
|
208
204
|
var message = 'Failed requirement.';
|
|
209
205
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
210
206
|
}
|
|
211
207
|
// Inline function 'kotlin.require' call
|
|
212
208
|
// Inline function 'kotlin.require' call
|
|
213
209
|
if (!(idx < this.s2y_1)) {
|
|
214
|
-
// Inline function 'kotlin.require.<anonymous>' call
|
|
215
210
|
var message_0 = 'Failed requirement.';
|
|
216
211
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
217
212
|
}
|
|
@@ -233,7 +228,6 @@
|
|
|
233
228
|
// Inline function 'kotlin.text.buildString' call
|
|
234
229
|
// Inline function 'kotlin.apply' call
|
|
235
230
|
var this_0 = StringBuilder_init_$Create$();
|
|
236
|
-
// Inline function 'io.ktor.http.cio.HttpHeadersMap.toString.<anonymous>' call
|
|
237
231
|
dumpTo(this, '', this_0);
|
|
238
232
|
return this_0.toString();
|
|
239
233
|
};
|
|
@@ -338,7 +332,6 @@
|
|
|
338
332
|
while (inductionVariable < charSequenceLength(host)) {
|
|
339
333
|
var element = charSequenceGet(host, inductionVariable);
|
|
340
334
|
inductionVariable = inductionVariable + 1 | 0;
|
|
341
|
-
// Inline function 'io.ktor.http.cio.validateHostHeader.<anonymous>' call
|
|
342
335
|
if (get_hostForbiddenSymbols().x1(new Char(element))) {
|
|
343
336
|
tmp$ret$1 = true;
|
|
344
337
|
break $l$block;
|
|
@@ -1102,7 +1095,7 @@
|
|
|
1102
1095
|
}
|
|
1103
1096
|
continue $sm;
|
|
1104
1097
|
} else {
|
|
1105
|
-
if ((new Long(0, 0)).i3(this.x30_1).
|
|
1098
|
+
if ((new Long(0, 0)).i3(this.x30_1).bi(this.y30_1)) {
|
|
1106
1099
|
this.g9_1 = 1;
|
|
1107
1100
|
suspendResult = copyTo(this.u30_1, this.v30_1, this.y30_1, this);
|
|
1108
1101
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1223,13 +1216,11 @@
|
|
|
1223
1216
|
var _iterator__ex2g4s = from.p();
|
|
1224
1217
|
while (_iterator__ex2g4s.q()) {
|
|
1225
1218
|
var element = _iterator__ex2g4s.r();
|
|
1226
|
-
// Inline function 'io.ktor.http.cio.internals.Companion.build.<anonymous>' call
|
|
1227
1219
|
var key = charAt(element, idx);
|
|
1228
1220
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1229
1221
|
var value = destination.k2(key);
|
|
1230
1222
|
var tmp;
|
|
1231
1223
|
if (value == null) {
|
|
1232
|
-
// Inline function 'kotlin.collections.groupByTo.<anonymous>' call
|
|
1233
1224
|
var answer = ArrayList_init_$Create$();
|
|
1234
1225
|
destination.n2(key, answer);
|
|
1235
1226
|
tmp = answer;
|
|
@@ -1244,7 +1235,6 @@
|
|
|
1244
1235
|
var _iterator__ex2g4s_0 = destination.x().p();
|
|
1245
1236
|
while (_iterator__ex2g4s_0.q()) {
|
|
1246
1237
|
var element_0 = _iterator__ex2g4s_0.r();
|
|
1247
|
-
// Inline function 'io.ktor.http.cio.internals.Companion.build.<anonymous>' call
|
|
1248
1238
|
// Inline function 'kotlin.collections.component1' call
|
|
1249
1239
|
var ch = element_0.y().l1_1;
|
|
1250
1240
|
// Inline function 'kotlin.collections.component2' call
|
|
@@ -1258,7 +1248,6 @@
|
|
|
1258
1248
|
var _iterator__ex2g4s_1 = list_0.p();
|
|
1259
1249
|
while (_iterator__ex2g4s_1.q()) {
|
|
1260
1250
|
var element_1 = _iterator__ex2g4s_1.r();
|
|
1261
|
-
// Inline function 'io.ktor.http.cio.internals.Companion.build.<anonymous>.<anonymous>' call
|
|
1262
1251
|
if (length(element_1) > nextIdx) {
|
|
1263
1252
|
destination_0.k(element_1);
|
|
1264
1253
|
}
|
|
@@ -1271,7 +1260,6 @@
|
|
|
1271
1260
|
var _iterator__ex2g4s_2 = list_0.p();
|
|
1272
1261
|
while (_iterator__ex2g4s_2.q()) {
|
|
1273
1262
|
var element_2 = _iterator__ex2g4s_2.r();
|
|
1274
|
-
// Inline function 'io.ktor.http.cio.internals.Companion.build.<anonymous>.<anonymous>' call
|
|
1275
1263
|
if (length(element_2) === nextIdx) {
|
|
1276
1264
|
destination_1.k(element_2);
|
|
1277
1265
|
}
|
|
@@ -1292,7 +1280,7 @@
|
|
|
1292
1280
|
var tmp = this;
|
|
1293
1281
|
var tmp_0 = 0;
|
|
1294
1282
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1295
|
-
var tmp_1 =
|
|
1283
|
+
var tmp_1 = Array(256);
|
|
1296
1284
|
while (tmp_0 < 256) {
|
|
1297
1285
|
var tmp_2 = tmp_0;
|
|
1298
1286
|
var tmp1 = this.i33_1;
|
|
@@ -1304,7 +1292,6 @@
|
|
|
1304
1292
|
var _iterator__ex2g4s = tmp1.p();
|
|
1305
1293
|
while (_iterator__ex2g4s.q()) {
|
|
1306
1294
|
var element = _iterator__ex2g4s.r();
|
|
1307
|
-
// Inline function 'io.ktor.http.cio.internals.Node.array.<anonymous>' call
|
|
1308
1295
|
// Inline function 'kotlin.code' call
|
|
1309
1296
|
var this_0 = element.g33_1;
|
|
1310
1297
|
if (Char__toInt_impl_vasixd(this_0) === tmp_2) {
|
|
@@ -1391,7 +1378,6 @@
|
|
|
1391
1378
|
var _iterator__ex2g4s = from.p();
|
|
1392
1379
|
while (_iterator__ex2g4s.q()) {
|
|
1393
1380
|
var element = _iterator__ex2g4s.r();
|
|
1394
|
-
// Inline function 'io.ktor.http.cio.internals.Companion.build.<anonymous>' call
|
|
1395
1381
|
if (length(element) === 0) {
|
|
1396
1382
|
tmp$ret$2 = true;
|
|
1397
1383
|
break $l$block_2;
|
|
@@ -1455,13 +1441,11 @@
|
|
|
1455
1441
|
var withOffset = index + this.m33_1 | 0;
|
|
1456
1442
|
// Inline function 'kotlin.require' call
|
|
1457
1443
|
if (!(index >= 0)) {
|
|
1458
|
-
// Inline function 'io.ktor.http.cio.internals.SubSequenceImpl.get.<anonymous>' call
|
|
1459
1444
|
var message = 'index is negative: ' + index;
|
|
1460
1445
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1461
1446
|
}
|
|
1462
1447
|
// Inline function 'kotlin.require' call
|
|
1463
1448
|
if (!(withOffset < this.n33_1)) {
|
|
1464
|
-
// Inline function 'io.ktor.http.cio.internals.SubSequenceImpl.get.<anonymous>' call
|
|
1465
1449
|
var message_0 = 'index (' + index + ') should be less than length (' + this.a() + ')';
|
|
1466
1450
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1467
1451
|
}
|
|
@@ -1470,19 +1454,16 @@
|
|
|
1470
1454
|
protoOf(SubSequenceImpl).c = function (startIndex, endIndex) {
|
|
1471
1455
|
// Inline function 'kotlin.require' call
|
|
1472
1456
|
if (!(startIndex >= 0)) {
|
|
1473
|
-
// Inline function 'io.ktor.http.cio.internals.SubSequenceImpl.subSequence.<anonymous>' call
|
|
1474
1457
|
var message = 'start is negative: ' + startIndex;
|
|
1475
1458
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1476
1459
|
}
|
|
1477
1460
|
// Inline function 'kotlin.require' call
|
|
1478
1461
|
if (!(startIndex <= endIndex)) {
|
|
1479
|
-
// Inline function 'io.ktor.http.cio.internals.SubSequenceImpl.subSequence.<anonymous>' call
|
|
1480
1462
|
var message_0 = 'start (' + startIndex + ') should be less or equal to end (' + endIndex + ')';
|
|
1481
1463
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1482
1464
|
}
|
|
1483
1465
|
// Inline function 'kotlin.require' call
|
|
1484
1466
|
if (!(endIndex <= (this.n33_1 - this.m33_1 | 0))) {
|
|
1485
|
-
// Inline function 'io.ktor.http.cio.internals.SubSequenceImpl.subSequence.<anonymous>' call
|
|
1486
1467
|
var message_1 = 'end should be less than length (' + this.a() + ')';
|
|
1487
1468
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1488
1469
|
}
|
|
@@ -1496,7 +1477,6 @@
|
|
|
1496
1477
|
if (tmp0_elvis_lhs == null) {
|
|
1497
1478
|
// Inline function 'kotlin.also' call
|
|
1498
1479
|
var this_0 = toString(copy(this.p33_1, this.m33_1, this.n33_1));
|
|
1499
|
-
// Inline function 'io.ktor.http.cio.internals.SubSequenceImpl.toString.<anonymous>' call
|
|
1500
1480
|
this.o33_1 = this_0;
|
|
1501
1481
|
tmp = this_0;
|
|
1502
1482
|
} else {
|
|
@@ -1553,7 +1533,6 @@
|
|
|
1553
1533
|
if (tmp0_elvis_lhs == null) {
|
|
1554
1534
|
// Inline function 'kotlin.also' call
|
|
1555
1535
|
var this_0 = ArrayList_init_$Create$();
|
|
1556
|
-
// Inline function 'io.ktor.http.cio.internals.CharArrayBuilder.appendNewArray.<anonymous>' call
|
|
1557
1536
|
$this.w2y_1 = this_0;
|
|
1558
1537
|
this_0.k(existing);
|
|
1559
1538
|
tmp = this_0;
|
|
@@ -1611,13 +1590,11 @@
|
|
|
1611
1590
|
protoOf(CharArrayBuilder).b = function (index) {
|
|
1612
1591
|
// Inline function 'kotlin.require' call
|
|
1613
1592
|
if (!(index >= 0)) {
|
|
1614
|
-
// Inline function 'io.ktor.http.cio.internals.CharArrayBuilder.get.<anonymous>' call
|
|
1615
1593
|
var message = 'index is negative: ' + index;
|
|
1616
1594
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1617
1595
|
}
|
|
1618
1596
|
// Inline function 'kotlin.require' call
|
|
1619
1597
|
if (!(index < this.b2z_1)) {
|
|
1620
|
-
// Inline function 'io.ktor.http.cio.internals.CharArrayBuilder.get.<anonymous>' call
|
|
1621
1598
|
var message_0 = 'index ' + index + ' is not in range [0, ' + this.b2z_1 + ')';
|
|
1622
1599
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1623
1600
|
}
|
|
@@ -1626,19 +1603,16 @@
|
|
|
1626
1603
|
protoOf(CharArrayBuilder).c = function (startIndex, endIndex) {
|
|
1627
1604
|
// Inline function 'kotlin.require' call
|
|
1628
1605
|
if (!(startIndex <= endIndex)) {
|
|
1629
|
-
// Inline function 'io.ktor.http.cio.internals.CharArrayBuilder.subSequence.<anonymous>' call
|
|
1630
1606
|
var message = 'startIndex (' + startIndex + ') should be less or equal to endIndex (' + endIndex + ')';
|
|
1631
1607
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1632
1608
|
}
|
|
1633
1609
|
// Inline function 'kotlin.require' call
|
|
1634
1610
|
if (!(startIndex >= 0)) {
|
|
1635
|
-
// Inline function 'io.ktor.http.cio.internals.CharArrayBuilder.subSequence.<anonymous>' call
|
|
1636
1611
|
var message_0 = 'startIndex is negative: ' + startIndex;
|
|
1637
1612
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1638
1613
|
}
|
|
1639
1614
|
// Inline function 'kotlin.require' call
|
|
1640
1615
|
if (!(endIndex <= this.b2z_1)) {
|
|
1641
|
-
// Inline function 'io.ktor.http.cio.internals.CharArrayBuilder.subSequence.<anonymous>' call
|
|
1642
1616
|
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.b2z_1 + ')';
|
|
1643
1617
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1644
1618
|
}
|
|
@@ -1650,7 +1624,6 @@
|
|
|
1650
1624
|
if (tmp0_elvis_lhs == null) {
|
|
1651
1625
|
// Inline function 'kotlin.also' call
|
|
1652
1626
|
var this_0 = toString(copy(this, 0, this.b2z_1));
|
|
1653
|
-
// Inline function 'io.ktor.http.cio.internals.CharArrayBuilder.toString.<anonymous>' call
|
|
1654
1627
|
this.y2y_1 = this_0;
|
|
1655
1628
|
tmp = this_0;
|
|
1656
1629
|
} else {
|
|
@@ -1727,7 +1700,6 @@
|
|
|
1727
1700
|
null;
|
|
1728
1701
|
else {
|
|
1729
1702
|
// Inline function 'kotlin.let' call
|
|
1730
|
-
// Inline function 'io.ktor.http.cio.internals.CharArrayBuilder.release.<anonymous>' call
|
|
1731
1703
|
this.v2y_1.z1t(tmp0_safe_receiver);
|
|
1732
1704
|
}
|
|
1733
1705
|
this.x2y_1 = null;
|
|
@@ -1897,7 +1869,6 @@
|
|
|
1897
1869
|
do {
|
|
1898
1870
|
var item = inductionVariable;
|
|
1899
1871
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1900
|
-
// Inline function 'io.ktor.http.cio.internals.HexTable.<anonymous>' call
|
|
1901
1872
|
var v = item;
|
|
1902
1873
|
var tmp_2;
|
|
1903
1874
|
if (48 <= v ? v <= 57 : false) {
|
|
@@ -1964,7 +1935,6 @@
|
|
|
1964
1935
|
do {
|
|
1965
1936
|
var item_0 = inductionVariable_0;
|
|
1966
1937
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
1967
|
-
// Inline function 'io.ktor.http.cio.internals.HexLetterTable.<anonymous>' call
|
|
1968
1938
|
var it = item_0;
|
|
1969
1939
|
var tmp_9;
|
|
1970
1940
|
if (it < 10) {
|