@doordeck/doordeck-headless-sdk 0.85.0 → 0.87.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 +176 -375
- 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
package/kotlin/ktor-ktor-http.js
CHANGED
|
@@ -10,27 +10,27 @@
|
|
|
10
10
|
var takeWhile = kotlin_io_ktor_ktor_io.$_$.b1;
|
|
11
11
|
var charArray = kotlin_kotlin.$_$.ea;
|
|
12
12
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.t2;
|
|
13
|
-
var concatToString = kotlin_kotlin.$_$.
|
|
13
|
+
var concatToString = kotlin_kotlin.$_$.mc;
|
|
14
14
|
var charSequenceGet = kotlin_kotlin.$_$.fa;
|
|
15
|
-
var toString = kotlin_kotlin.$_$.
|
|
16
|
-
var Char = kotlin_kotlin.$_$.
|
|
17
|
-
var isSurrogate = kotlin_kotlin.$_$.
|
|
15
|
+
var toString = kotlin_kotlin.$_$.xb;
|
|
16
|
+
var Char = kotlin_kotlin.$_$.xe;
|
|
17
|
+
var isSurrogate = kotlin_kotlin.$_$.cd;
|
|
18
18
|
var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.x2;
|
|
19
19
|
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.w2;
|
|
20
20
|
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.i1;
|
|
21
21
|
var charSequenceLength = kotlin_kotlin.$_$.ga;
|
|
22
22
|
var charSequenceSubSequence = kotlin_kotlin.$_$.ha;
|
|
23
23
|
var toString_0 = kotlin_kotlin.$_$.a3;
|
|
24
|
-
var toByte = kotlin_kotlin.$_$.
|
|
25
|
-
var decodeToString = kotlin_kotlin.$_$.
|
|
26
|
-
var Exception = kotlin_kotlin.$_$.
|
|
24
|
+
var toByte = kotlin_kotlin.$_$.ub;
|
|
25
|
+
var decodeToString = kotlin_kotlin.$_$.rc;
|
|
26
|
+
var Exception = kotlin_kotlin.$_$.ef;
|
|
27
27
|
var Exception_init_$Init$ = kotlin_kotlin.$_$.o1;
|
|
28
28
|
var captureStack = kotlin_kotlin.$_$.ca;
|
|
29
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
30
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
29
|
+
var protoOf = kotlin_kotlin.$_$.tb;
|
|
30
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ra;
|
|
31
31
|
var Char__minus_impl_a2frrh_0 = kotlin_kotlin.$_$.v2;
|
|
32
32
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.z2;
|
|
33
|
-
var numberToChar = kotlin_kotlin.$_$.
|
|
33
|
+
var numberToChar = kotlin_kotlin.$_$.ob;
|
|
34
34
|
var canRead = kotlin_io_ktor_ktor_io.$_$.w;
|
|
35
35
|
var Char__rangeTo_impl_tkncvp = kotlin_kotlin.$_$.y2;
|
|
36
36
|
var plus = kotlin_kotlin.$_$.a8;
|
|
@@ -42,31 +42,31 @@
|
|
|
42
42
|
var plus_1 = kotlin_kotlin.$_$.z7;
|
|
43
43
|
var listOf = kotlin_kotlin.$_$.v7;
|
|
44
44
|
var emptyList = kotlin_kotlin.$_$.z6;
|
|
45
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
46
|
-
var equals = kotlin_kotlin.$_$.
|
|
45
|
+
var objectCreate = kotlin_kotlin.$_$.sb;
|
|
46
|
+
var equals = kotlin_kotlin.$_$.wc;
|
|
47
47
|
var Collection = kotlin_kotlin.$_$.m5;
|
|
48
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
49
|
-
var isBlank = kotlin_kotlin.$_$.
|
|
48
|
+
var isInterface = kotlin_kotlin.$_$.gb;
|
|
49
|
+
var isBlank = kotlin_kotlin.$_$.bd;
|
|
50
50
|
var last = kotlin_kotlin.$_$.t7;
|
|
51
|
-
var indexOf = kotlin_kotlin.$_$.
|
|
52
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
53
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
54
|
-
var trim = kotlin_kotlin.$_$.
|
|
55
|
-
var contains = kotlin_kotlin.$_$.
|
|
56
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
57
|
-
var startsWith = kotlin_kotlin.$_$.
|
|
58
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
51
|
+
var indexOf = kotlin_kotlin.$_$.ad;
|
|
52
|
+
var THROW_CCE = kotlin_kotlin.$_$.nf;
|
|
53
|
+
var isCharSequence = kotlin_kotlin.$_$.cb;
|
|
54
|
+
var trim = kotlin_kotlin.$_$.qe;
|
|
55
|
+
var contains = kotlin_kotlin.$_$.pc;
|
|
56
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.sa;
|
|
57
|
+
var startsWith = kotlin_kotlin.$_$.td;
|
|
58
|
+
var initMetadataForObject = kotlin_kotlin.$_$.xa;
|
|
59
59
|
var plus_2 = kotlin_kotlin.$_$.c8;
|
|
60
60
|
var equals_0 = kotlin_kotlin.$_$.ka;
|
|
61
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
62
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
61
|
+
var getStringHashCode = kotlin_kotlin.$_$.pa;
|
|
62
|
+
var hashCode = kotlin_kotlin.$_$.qa;
|
|
63
63
|
var forName = kotlin_io_ktor_ktor_io.$_$.r;
|
|
64
|
-
var IllegalArgumentException = kotlin_kotlin.$_$.
|
|
64
|
+
var IllegalArgumentException = kotlin_kotlin.$_$.ff;
|
|
65
65
|
var get_name = kotlin_io_ktor_ktor_io.$_$.t;
|
|
66
66
|
var get_lastIndex = kotlin_kotlin.$_$.r7;
|
|
67
|
-
var first = kotlin_kotlin.$_$.
|
|
68
|
-
var last_0 = kotlin_kotlin.$_$.
|
|
69
|
-
var get_lastIndex_0 = kotlin_kotlin.$_$.
|
|
67
|
+
var first = kotlin_kotlin.$_$.xc;
|
|
68
|
+
var last_0 = kotlin_kotlin.$_$.gd;
|
|
69
|
+
var get_lastIndex_0 = kotlin_kotlin.$_$.ed;
|
|
70
70
|
var StringValuesBuilderImpl = kotlin_io_ktor_ktor_utils.$_$.t;
|
|
71
71
|
var emptySet = kotlin_kotlin.$_$.b7;
|
|
72
72
|
var get = kotlin_io_ktor_ktor_utils.$_$.s;
|
|
@@ -76,65 +76,65 @@
|
|
|
76
76
|
var emptyMap = kotlin_kotlin.$_$.a7;
|
|
77
77
|
var listOf_0 = kotlin_kotlin.$_$.u7;
|
|
78
78
|
var StringValuesSingleImpl = kotlin_io_ktor_ktor_utils.$_$.v;
|
|
79
|
-
var toDoubleOrNull = kotlin_kotlin.$_$.
|
|
79
|
+
var toDoubleOrNull = kotlin_kotlin.$_$.ce;
|
|
80
80
|
var LazyThreadSafetyMode_NONE_getInstance = kotlin_kotlin.$_$.k;
|
|
81
|
-
var lazy = kotlin_kotlin.$_$.
|
|
82
|
-
var to = kotlin_kotlin.$_$.
|
|
81
|
+
var lazy = kotlin_kotlin.$_$.kg;
|
|
82
|
+
var to = kotlin_kotlin.$_$.rg;
|
|
83
83
|
var sortedWith = kotlin_kotlin.$_$.n8;
|
|
84
84
|
var FunctionAdapter = kotlin_kotlin.$_$.y9;
|
|
85
|
-
var Comparator = kotlin_kotlin.$_$.
|
|
85
|
+
var Comparator = kotlin_kotlin.$_$.ze;
|
|
86
86
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.p;
|
|
87
87
|
var compareValues = kotlin_kotlin.$_$.c9;
|
|
88
88
|
var asList = kotlin_kotlin.$_$.b6;
|
|
89
89
|
var Char__compareTo_impl_ypi4mb = kotlin_kotlin.$_$.u2;
|
|
90
90
|
var IllegalArgumentException_init_$Init$ = kotlin_kotlin.$_$.v1;
|
|
91
|
-
var toLong = kotlin_kotlin.$_$.
|
|
91
|
+
var toLong = kotlin_kotlin.$_$.he;
|
|
92
92
|
var mapCapacity = kotlin_kotlin.$_$.w7;
|
|
93
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
93
|
+
var coerceAtLeast = kotlin_kotlin.$_$.ac;
|
|
94
94
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.x;
|
|
95
|
-
var Comparable = kotlin_kotlin.$_$.
|
|
96
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
97
|
-
var isWhitespace = kotlin_kotlin.$_$.
|
|
95
|
+
var Comparable = kotlin_kotlin.$_$.ye;
|
|
96
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.va;
|
|
97
|
+
var isWhitespace = kotlin_kotlin.$_$.dd;
|
|
98
98
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.w1;
|
|
99
99
|
var charArrayOf = kotlin_kotlin.$_$.da;
|
|
100
|
-
var split = kotlin_kotlin.$_$.
|
|
100
|
+
var split = kotlin_kotlin.$_$.pd;
|
|
101
101
|
var toMutableList = kotlin_kotlin.$_$.w8;
|
|
102
102
|
var first_0 = kotlin_kotlin.$_$.f7;
|
|
103
103
|
var joinToString = kotlin_kotlin.$_$.o7;
|
|
104
|
-
var startsWith_0 = kotlin_kotlin.$_$.
|
|
104
|
+
var startsWith_0 = kotlin_kotlin.$_$.sd;
|
|
105
105
|
var toCharArray = kotlin_io_ktor_ktor_utils.$_$.d1;
|
|
106
|
-
var indexOfAny = kotlin_kotlin.$_$.
|
|
106
|
+
var indexOfAny = kotlin_kotlin.$_$.yc;
|
|
107
107
|
var dropLast = kotlin_kotlin.$_$.x6;
|
|
108
|
-
var IllegalStateException = kotlin_kotlin.$_$.
|
|
108
|
+
var IllegalStateException = kotlin_kotlin.$_$.gf;
|
|
109
109
|
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.b2;
|
|
110
|
-
var indexOf_0 = kotlin_kotlin.$_$.
|
|
111
|
-
var toInt = kotlin_kotlin.$_$.
|
|
110
|
+
var indexOf_0 = kotlin_kotlin.$_$.zc;
|
|
111
|
+
var toInt = kotlin_kotlin.$_$.fe;
|
|
112
112
|
var toLowerCasePreservingASCIIRules = kotlin_io_ktor_ktor_utils.$_$.f1;
|
|
113
113
|
var isLowerCase = kotlin_io_ktor_ktor_utils.$_$.b1;
|
|
114
114
|
var appendAll = kotlin_io_ktor_ktor_utils.$_$.x;
|
|
115
|
-
var startsWith_1 = kotlin_kotlin.$_$.
|
|
115
|
+
var startsWith_1 = kotlin_kotlin.$_$.rd;
|
|
116
116
|
var addAll = kotlin_kotlin.$_$.z5;
|
|
117
117
|
var joinTo = kotlin_kotlin.$_$.p7;
|
|
118
|
-
var toString_1 = kotlin_kotlin.$_$.
|
|
119
|
-
var lazy_0 = kotlin_kotlin.$_$.
|
|
118
|
+
var toString_1 = kotlin_kotlin.$_$.qg;
|
|
119
|
+
var lazy_0 = kotlin_kotlin.$_$.lg;
|
|
120
120
|
var getKClassFromExpression = kotlin_kotlin.$_$.e;
|
|
121
121
|
var STRING_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g;
|
|
122
122
|
var PrimitiveSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f1;
|
|
123
123
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m2;
|
|
124
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
125
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
126
|
-
var Enum = kotlin_kotlin.$_$.
|
|
127
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
124
|
+
var KProperty1 = kotlin_kotlin.$_$.kc;
|
|
125
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.oa;
|
|
126
|
+
var Enum = kotlin_kotlin.$_$.cf;
|
|
127
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.mg;
|
|
128
128
|
var Hash_instance = kotlin_io_ktor_ktor_utils.$_$.a;
|
|
129
|
-
var until = kotlin_kotlin.$_$.
|
|
130
|
-
var substring = kotlin_kotlin.$_$.
|
|
129
|
+
var until = kotlin_kotlin.$_$.fc;
|
|
130
|
+
var substring = kotlin_kotlin.$_$.xd;
|
|
131
131
|
var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.y;
|
|
132
132
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.a2;
|
|
133
|
-
var takeLast = kotlin_kotlin.$_$.
|
|
133
|
+
var takeLast = kotlin_kotlin.$_$.yd;
|
|
134
134
|
var Regex_init_$Create$ = kotlin_kotlin.$_$.h1;
|
|
135
|
-
var toLong_0 = kotlin_kotlin.$_$.
|
|
135
|
+
var toLong_0 = kotlin_kotlin.$_$.vb;
|
|
136
136
|
var toByteArray = kotlin_io_ktor_ktor_io.$_$.c1;
|
|
137
|
-
var take = kotlin_kotlin.$_$.
|
|
137
|
+
var take = kotlin_kotlin.$_$.zd;
|
|
138
138
|
var IllegalArgumentException_init_$Init$_0 = kotlin_kotlin.$_$.x1;
|
|
139
139
|
var defineProp = kotlin_kotlin.$_$.ja;
|
|
140
140
|
var PlatformUtils_getInstance = kotlin_io_ktor_ktor_utils.$_$.b;
|
|
@@ -236,7 +236,6 @@
|
|
|
236
236
|
// Inline function 'kotlin.text.buildString' call
|
|
237
237
|
// Inline function 'kotlin.apply' call
|
|
238
238
|
var this_0 = StringBuilder_init_$Create$();
|
|
239
|
-
// Inline function 'io.ktor.http.encodeURLParameter.<anonymous>' call
|
|
240
239
|
var content = encode(Charsets_getInstance().j1t_1.m1t(), _this__u8e3s4);
|
|
241
240
|
forEach_0(content, encodeURLParameter$lambda(this_0, spaceToPlus));
|
|
242
241
|
return this_0.toString();
|
|
@@ -256,7 +255,6 @@
|
|
|
256
255
|
// Inline function 'kotlin.text.buildString' call
|
|
257
256
|
// Inline function 'kotlin.apply' call
|
|
258
257
|
var this_0 = StringBuilder_init_$Create$();
|
|
259
|
-
// Inline function 'io.ktor.http.encodeURLQueryComponent.<anonymous>' call
|
|
260
258
|
var content = encode(charset.m1t(), _this__u8e3s4);
|
|
261
259
|
forEach_0(content, encodeURLQueryComponent$lambda(spaceToPlus, this_0, encodeFull));
|
|
262
260
|
return this_0.toString();
|
|
@@ -316,7 +314,6 @@
|
|
|
316
314
|
// Inline function 'kotlin.text.buildString' call
|
|
317
315
|
// Inline function 'kotlin.apply' call
|
|
318
316
|
var this_0 = StringBuilder_init_$Create$();
|
|
319
|
-
// Inline function 'io.ktor.http.encodeURLPath.<anonymous>' call
|
|
320
317
|
var charset = Charsets_getInstance().j1t_1;
|
|
321
318
|
var index = 0;
|
|
322
319
|
$l$loop_0: while (index < _this__u8e3s4.length) {
|
|
@@ -473,7 +470,6 @@
|
|
|
473
470
|
var _iterator__ex2g4s = this_0.p();
|
|
474
471
|
while (_iterator__ex2g4s.q()) {
|
|
475
472
|
var item = _iterator__ex2g4s.r();
|
|
476
|
-
// Inline function 'io.ktor.http.URL_ALPHABET.<anonymous>' call
|
|
477
473
|
// Inline function 'kotlin.code' call
|
|
478
474
|
var this_1 = item.l1_1;
|
|
479
475
|
var tmp$ret$0 = Char__toInt_impl_vasixd(this_1);
|
|
@@ -490,7 +486,6 @@
|
|
|
490
486
|
var _iterator__ex2g4s_0 = this_2.p();
|
|
491
487
|
while (_iterator__ex2g4s_0.q()) {
|
|
492
488
|
var item_0 = _iterator__ex2g4s_0.r();
|
|
493
|
-
// Inline function 'io.ktor.http.URL_PROTOCOL_PART.<anonymous>' call
|
|
494
489
|
// Inline function 'kotlin.code' call
|
|
495
490
|
var this_3 = item_0.l1_1;
|
|
496
491
|
var tmp$ret$0_0 = Char__toInt_impl_vasixd(this_3);
|
|
@@ -507,7 +502,6 @@
|
|
|
507
502
|
var _iterator__ex2g4s_1 = this_4.p();
|
|
508
503
|
while (_iterator__ex2g4s_1.q()) {
|
|
509
504
|
var item_1 = _iterator__ex2g4s_1.r();
|
|
510
|
-
// Inline function 'io.ktor.http.SPECIAL_SYMBOLS.<anonymous>' call
|
|
511
505
|
// Inline function 'kotlin.code' call
|
|
512
506
|
var this_5 = item_1.l1_1;
|
|
513
507
|
var tmp$ret$0_1 = Char__toInt_impl_vasixd(this_5);
|
|
@@ -534,8 +528,6 @@
|
|
|
534
528
|
case 1:
|
|
535
529
|
// Inline function 'kotlin.let' call
|
|
536
530
|
|
|
537
|
-
// Inline function 'io.ktor.http.ContentType.hasParameter.<anonymous>' call
|
|
538
|
-
|
|
539
531
|
var it = $this.l2l_1.u(0);
|
|
540
532
|
tmp = (equals(it.m2l_1, name, true) && equals(it.n2l_1, value, true));
|
|
541
533
|
break;
|
|
@@ -557,7 +549,6 @@
|
|
|
557
549
|
var _iterator__ex2g4s = tmp2.p();
|
|
558
550
|
while (_iterator__ex2g4s.q()) {
|
|
559
551
|
var element = _iterator__ex2g4s.r();
|
|
560
|
-
// Inline function 'io.ktor.http.ContentType.hasParameter.<anonymous>' call
|
|
561
552
|
if (equals(element.m2l_1, name, true) && equals(element.n2l_1, value, true)) {
|
|
562
553
|
tmp$ret$2 = true;
|
|
563
554
|
break $l$block_0;
|
|
@@ -575,13 +566,12 @@
|
|
|
575
566
|
Companion_instance = this;
|
|
576
567
|
this.p2l_1 = ContentType_init_$Create$('*', '*');
|
|
577
568
|
}
|
|
578
|
-
protoOf(Companion).
|
|
569
|
+
protoOf(Companion).nl = function (value) {
|
|
579
570
|
if (isBlank(value))
|
|
580
571
|
return this.p2l_1;
|
|
581
572
|
// Inline function 'io.ktor.http.Companion.parse' call
|
|
582
573
|
var headerValue = last(parseHeaderValue(value));
|
|
583
574
|
var tmp2 = headerValue.q2l_1;
|
|
584
|
-
// Inline function 'io.ktor.http.Companion.parse.<anonymous>' call
|
|
585
575
|
var parameters = headerValue.r2l_1;
|
|
586
576
|
var slash = indexOf(tmp2, _Char___init__impl__6a9atx(47));
|
|
587
577
|
if (slash === -1) {
|
|
@@ -727,8 +717,8 @@
|
|
|
727
717
|
var _iterator__ex2g4s = pattern.l2l_1.p();
|
|
728
718
|
while (_iterator__ex2g4s.q()) {
|
|
729
719
|
var _destruct__k2r9zo = _iterator__ex2g4s.r();
|
|
730
|
-
var patternName = _destruct__k2r9zo.
|
|
731
|
-
var patternValue = _destruct__k2r9zo.
|
|
720
|
+
var patternName = _destruct__k2r9zo.tg();
|
|
721
|
+
var patternValue = _destruct__k2r9zo.ug();
|
|
732
722
|
var tmp;
|
|
733
723
|
if (patternName === '*') {
|
|
734
724
|
var tmp_0;
|
|
@@ -752,7 +742,6 @@
|
|
|
752
742
|
var _iterator__ex2g4s_0 = tmp0.p();
|
|
753
743
|
while (_iterator__ex2g4s_0.q()) {
|
|
754
744
|
var element = _iterator__ex2g4s_0.r();
|
|
755
|
-
// Inline function 'io.ktor.http.ContentType.match.<anonymous>' call
|
|
756
745
|
if (equals(element.n2l_1, patternValue, true)) {
|
|
757
746
|
tmp$ret$0 = true;
|
|
758
747
|
break $l$block_0;
|
|
@@ -820,7 +809,6 @@
|
|
|
820
809
|
tmp = null;
|
|
821
810
|
} else {
|
|
822
811
|
// Inline function 'kotlin.let' call
|
|
823
|
-
// Inline function 'io.ktor.http.charset.<anonymous>' call
|
|
824
812
|
var tmp_0;
|
|
825
813
|
try {
|
|
826
814
|
tmp_0 = forName(Charsets_getInstance(), tmp0_safe_receiver);
|
|
@@ -898,13 +886,11 @@
|
|
|
898
886
|
while (_iterator__ex2g4s.q()) {
|
|
899
887
|
var element = _iterator__ex2g4s.r();
|
|
900
888
|
var tmp_1 = sum;
|
|
901
|
-
// Inline function 'io.ktor.http.HeaderValueWithParameters.toString.<anonymous>' call
|
|
902
889
|
sum = tmp_1 + ((element.m2l_1.length + element.n2l_1.length | 0) + 3 | 0) | 0;
|
|
903
890
|
}
|
|
904
891
|
var size = tmp_0 + sum | 0;
|
|
905
892
|
// Inline function 'kotlin.apply' call
|
|
906
893
|
var this_0 = StringBuilder_init_$Create$_0(size);
|
|
907
|
-
// Inline function 'io.ktor.http.HeaderValueWithParameters.toString.<anonymous>' call
|
|
908
894
|
this_0.r8(this.k2l_1);
|
|
909
895
|
var inductionVariable = 0;
|
|
910
896
|
var last = get_lastIndex(this.l2l_1);
|
|
@@ -950,7 +936,6 @@
|
|
|
950
936
|
// Inline function 'kotlin.text.buildString' call
|
|
951
937
|
// Inline function 'kotlin.apply' call
|
|
952
938
|
var this_0 = StringBuilder_init_$Create$();
|
|
953
|
-
// Inline function 'io.ktor.http.quote.<anonymous>' call
|
|
954
939
|
quoteTo(_this__u8e3s4, this_0);
|
|
955
940
|
return this_0.toString();
|
|
956
941
|
}
|
|
@@ -1123,10 +1108,10 @@
|
|
|
1123
1108
|
result = tmp + (tmp_0 + getStringHashCode(tmp$ret$3) | 0) | 0;
|
|
1124
1109
|
return result;
|
|
1125
1110
|
};
|
|
1126
|
-
protoOf(HeaderValueParam).
|
|
1111
|
+
protoOf(HeaderValueParam).tg = function () {
|
|
1127
1112
|
return this.m2l_1;
|
|
1128
1113
|
};
|
|
1129
|
-
protoOf(HeaderValueParam).
|
|
1114
|
+
protoOf(HeaderValueParam).ug = function () {
|
|
1130
1115
|
return this.n2l_1;
|
|
1131
1116
|
};
|
|
1132
1117
|
protoOf(HeaderValueParam).toString = function () {
|
|
@@ -1144,7 +1129,6 @@
|
|
|
1144
1129
|
var _iterator__ex2g4s = tmp0.p();
|
|
1145
1130
|
while (_iterator__ex2g4s.q()) {
|
|
1146
1131
|
var element = _iterator__ex2g4s.r();
|
|
1147
|
-
// Inline function 'io.ktor.http.HeaderValue.quality.<anonymous>' call
|
|
1148
1132
|
if (element.m2l_1 === 'q') {
|
|
1149
1133
|
tmp$ret$1 = element;
|
|
1150
1134
|
break $l$block;
|
|
@@ -1161,7 +1145,6 @@
|
|
|
1161
1145
|
} else {
|
|
1162
1146
|
// Inline function 'kotlin.takeIf' call
|
|
1163
1147
|
var tmp_1;
|
|
1164
|
-
// Inline function 'io.ktor.http.HeaderValue.quality.<anonymous>' call
|
|
1165
1148
|
if (0.0 <= tmp2_safe_receiver ? tmp2_safe_receiver <= 1.0 : false) {
|
|
1166
1149
|
tmp_1 = tmp2_safe_receiver;
|
|
1167
1150
|
} else {
|
|
@@ -1172,7 +1155,7 @@
|
|
|
1172
1155
|
var tmp3_elvis_lhs = tmp_0;
|
|
1173
1156
|
tmp.s2l_1 = tmp3_elvis_lhs == null ? 1.0 : tmp3_elvis_lhs;
|
|
1174
1157
|
}
|
|
1175
|
-
protoOf(HeaderValue).
|
|
1158
|
+
protoOf(HeaderValue).tg = function () {
|
|
1176
1159
|
return this.q2l_1;
|
|
1177
1160
|
};
|
|
1178
1161
|
protoOf(HeaderValue).toString = function () {
|
|
@@ -1242,7 +1225,7 @@
|
|
|
1242
1225
|
return position;
|
|
1243
1226
|
}
|
|
1244
1227
|
function valueOrEmpty(_this__u8e3s4) {
|
|
1245
|
-
return _this__u8e3s4.
|
|
1228
|
+
return _this__u8e3s4.hl() ? _this__u8e3s4.z() : emptyList();
|
|
1246
1229
|
}
|
|
1247
1230
|
function subtrim(_this__u8e3s4, start, end) {
|
|
1248
1231
|
// Inline function 'kotlin.text.substring' call
|
|
@@ -1257,8 +1240,8 @@
|
|
|
1257
1240
|
var tmp0_subject = charSequenceGet(text, position);
|
|
1258
1241
|
if (tmp0_subject === _Char___init__impl__6a9atx(61)) {
|
|
1259
1242
|
var _destruct__k2r9zo = parseHeaderValueParameterValue(text, position + 1 | 0);
|
|
1260
|
-
var paramEnd = _destruct__k2r9zo.
|
|
1261
|
-
var paramValue = _destruct__k2r9zo.
|
|
1243
|
+
var paramEnd = _destruct__k2r9zo.tg();
|
|
1244
|
+
var paramValue = _destruct__k2r9zo.ug();
|
|
1262
1245
|
parseHeaderValueParameter$addParam(parameters, text, start, position, paramValue);
|
|
1263
1246
|
return paramEnd;
|
|
1264
1247
|
} else if (tmp0_subject === _Char___init__impl__6a9atx(59) || tmp0_subject === _Char___init__impl__6a9atx(44)) {
|
|
@@ -1374,9 +1357,7 @@
|
|
|
1374
1357
|
}
|
|
1375
1358
|
function parseAndSortHeader$lambda(a, b) {
|
|
1376
1359
|
// Inline function 'kotlin.comparisons.compareValuesBy' call
|
|
1377
|
-
// Inline function 'io.ktor.http.parseAndSortHeader.<anonymous>' call
|
|
1378
1360
|
var tmp = b.s2l_1;
|
|
1379
|
-
// Inline function 'io.ktor.http.parseAndSortHeader.<anonymous>' call
|
|
1380
1361
|
var tmp$ret$1 = a.s2l_1;
|
|
1381
1362
|
return compareValues(tmp, tmp$ret$1);
|
|
1382
1363
|
}
|
|
@@ -1496,7 +1477,6 @@
|
|
|
1496
1477
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1497
1478
|
var _unary__edvuaz = index;
|
|
1498
1479
|
index = _unary__edvuaz + 1 | 0;
|
|
1499
|
-
// Inline function 'io.ktor.http.HttpHeaders.checkHeaderName.<anonymous>' call
|
|
1500
1480
|
if (Char__compareTo_impl_ypi4mb(item, _Char___init__impl__6a9atx(32)) <= 0 || isDelimiter(item)) {
|
|
1501
1481
|
throw new IllegalHeaderNameException(name, _unary__edvuaz);
|
|
1502
1482
|
}
|
|
@@ -1511,7 +1491,6 @@
|
|
|
1511
1491
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1512
1492
|
var _unary__edvuaz = index;
|
|
1513
1493
|
index = _unary__edvuaz + 1 | 0;
|
|
1514
|
-
// Inline function 'io.ktor.http.HttpHeaders.checkHeaderValue.<anonymous>' call
|
|
1515
1494
|
if (Char__compareTo_impl_ypi4mb(item, _Char___init__impl__6a9atx(32)) < 0 && !(item === _Char___init__impl__6a9atx(9))) {
|
|
1516
1495
|
throw new IllegalHeaderValueException(value, _unary__edvuaz);
|
|
1517
1496
|
}
|
|
@@ -1565,8 +1544,7 @@
|
|
|
1565
1544
|
tmp = null;
|
|
1566
1545
|
} else {
|
|
1567
1546
|
// Inline function 'kotlin.let' call
|
|
1568
|
-
|
|
1569
|
-
tmp = Companion_getInstance().rl(tmp0_safe_receiver);
|
|
1547
|
+
tmp = Companion_getInstance().nl(tmp0_safe_receiver);
|
|
1570
1548
|
}
|
|
1571
1549
|
return tmp;
|
|
1572
1550
|
}
|
|
@@ -1577,8 +1555,7 @@
|
|
|
1577
1555
|
tmp = null;
|
|
1578
1556
|
} else {
|
|
1579
1557
|
// Inline function 'kotlin.let' call
|
|
1580
|
-
|
|
1581
|
-
tmp = Companion_getInstance().rl(tmp0_safe_receiver);
|
|
1558
|
+
tmp = Companion_getInstance().nl(tmp0_safe_receiver);
|
|
1582
1559
|
}
|
|
1583
1560
|
return tmp;
|
|
1584
1561
|
}
|
|
@@ -1727,7 +1704,6 @@
|
|
|
1727
1704
|
var _iterator__ex2g4s = this_0.p();
|
|
1728
1705
|
while (_iterator__ex2g4s.q()) {
|
|
1729
1706
|
var element = _iterator__ex2g4s.r();
|
|
1730
|
-
// Inline function 'io.ktor.http.Companion.statusCodesMap.<anonymous>' call
|
|
1731
1707
|
var tmp$ret$0 = element.v2u_1;
|
|
1732
1708
|
destination.n2(tmp$ret$0, element);
|
|
1733
1709
|
}
|
|
@@ -1843,7 +1819,6 @@
|
|
|
1843
1819
|
Companion_getInstance_5();
|
|
1844
1820
|
// Inline function 'kotlin.apply' call
|
|
1845
1821
|
var this_0 = ParametersBuilder();
|
|
1846
|
-
// Inline function 'io.ktor.http.parseQueryString.<anonymous>' call
|
|
1847
1822
|
parse(this_0, query, startIndex, limit, decode);
|
|
1848
1823
|
tmp = this_0.w2n();
|
|
1849
1824
|
}
|
|
@@ -1994,7 +1969,6 @@
|
|
|
1994
1969
|
var _iterator__ex2g4s = pathSegments.p();
|
|
1995
1970
|
while (_iterator__ex2g4s.q()) {
|
|
1996
1971
|
var item = _iterator__ex2g4s.r();
|
|
1997
|
-
// Inline function 'io.ktor.http.URLBuilder.encodedPathSegments.<anonymous>' call
|
|
1998
1972
|
var tmp$ret$0 = encodeURLPathPart(item);
|
|
1999
1973
|
destination.k(tmp$ret$0);
|
|
2000
1974
|
}
|
|
@@ -2005,7 +1979,6 @@
|
|
|
2005
1979
|
protoOf(URLBuilder).j2w = function (value) {
|
|
2006
1980
|
// Inline function 'kotlin.require' call
|
|
2007
1981
|
if (!(0 <= value ? value <= 65535 : false)) {
|
|
2008
|
-
// Inline function 'io.ktor.http.URLBuilder.<set-port>.<anonymous>' call
|
|
2009
1982
|
var message = 'Port must be between 0 and 65535, or 0 if not set. Provided: ' + value;
|
|
2010
1983
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
2011
1984
|
}
|
|
@@ -2041,7 +2014,6 @@
|
|
|
2041
2014
|
var _iterator__ex2g4s = this_0.p();
|
|
2042
2015
|
while (_iterator__ex2g4s.q()) {
|
|
2043
2016
|
var item = _iterator__ex2g4s.r();
|
|
2044
|
-
// Inline function 'io.ktor.http.URLBuilder.<get-pathSegments>.<anonymous>' call
|
|
2045
2017
|
var tmp$ret$0 = decodeURLPart(item);
|
|
2046
2018
|
destination.k(tmp$ret$0);
|
|
2047
2019
|
}
|
|
@@ -2066,7 +2038,6 @@
|
|
|
2066
2038
|
// Inline function 'kotlin.text.buildString' call
|
|
2067
2039
|
// Inline function 'kotlin.apply' call
|
|
2068
2040
|
var this_0 = StringBuilder_init_$Create$();
|
|
2069
|
-
// Inline function 'io.ktor.http.<get-authority>.<anonymous>' call
|
|
2070
2041
|
this_0.r8(get_encodedUserAndPassword(_this__u8e3s4));
|
|
2071
2042
|
this_0.r8(_this__u8e3s4.b2v_1);
|
|
2072
2043
|
if (!(_this__u8e3s4.d2v_1 === 0) && !(_this__u8e3s4.d2v_1 === _this__u8e3s4.n2v().m2v_1)) {
|
|
@@ -2112,7 +2083,6 @@
|
|
|
2112
2083
|
// Inline function 'kotlin.text.buildString' call
|
|
2113
2084
|
// Inline function 'kotlin.apply' call
|
|
2114
2085
|
var this_0 = StringBuilder_init_$Create$();
|
|
2115
|
-
// Inline function 'io.ktor.http.<get-encodedUserAndPassword>.<anonymous>' call
|
|
2116
2086
|
appendUserAndPassword(this_0, _this__u8e3s4.f2v_1, _this__u8e3s4.g2v_1);
|
|
2117
2087
|
return this_0.toString();
|
|
2118
2088
|
}
|
|
@@ -2183,7 +2153,6 @@
|
|
|
2183
2153
|
do {
|
|
2184
2154
|
var index = inductionVariable;
|
|
2185
2155
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2186
|
-
// Inline function 'io.ktor.http.takeFromUnsafe.<anonymous>' call
|
|
2187
2156
|
var it = charSequenceGet(urlString, index);
|
|
2188
2157
|
if (!isWhitespace(it)) {
|
|
2189
2158
|
tmp$ret$1 = index;
|
|
@@ -2202,7 +2171,6 @@
|
|
|
2202
2171
|
do {
|
|
2203
2172
|
var index_0 = inductionVariable_0;
|
|
2204
2173
|
inductionVariable_0 = inductionVariable_0 + -1 | 0;
|
|
2205
|
-
// Inline function 'io.ktor.http.takeFromUnsafe.<anonymous>' call
|
|
2206
2174
|
var it_0 = charSequenceGet(urlString, index_0);
|
|
2207
2175
|
if (!isWhitespace(it_0)) {
|
|
2208
2176
|
tmp$ret$3 = index_0;
|
|
@@ -2233,7 +2201,6 @@
|
|
|
2233
2201
|
// Inline function 'kotlin.require' call
|
|
2234
2202
|
// Inline function 'kotlin.require' call
|
|
2235
2203
|
if (!(slashCount === 0)) {
|
|
2236
|
-
// Inline function 'kotlin.require.<anonymous>' call
|
|
2237
2204
|
var message = 'Failed requirement.';
|
|
2238
2205
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
2239
2206
|
}
|
|
@@ -2244,7 +2211,6 @@
|
|
|
2244
2211
|
// Inline function 'kotlin.require' call
|
|
2245
2212
|
// Inline function 'kotlin.require' call
|
|
2246
2213
|
if (!(slashCount === 0)) {
|
|
2247
|
-
// Inline function 'kotlin.require.<anonymous>' call
|
|
2248
2214
|
var message_0 = 'Failed requirement.';
|
|
2249
2215
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
2250
2216
|
}
|
|
@@ -2259,7 +2225,6 @@
|
|
|
2259
2225
|
// Inline function 'kotlin.require' call
|
|
2260
2226
|
// Inline function 'kotlin.require' call
|
|
2261
2227
|
if (!(slashCount === 0)) {
|
|
2262
|
-
// Inline function 'kotlin.require.<anonymous>' call
|
|
2263
2228
|
var message_1 = 'Failed requirement.';
|
|
2264
2229
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
2265
2230
|
}
|
|
@@ -2275,7 +2240,6 @@
|
|
|
2275
2240
|
// Inline function 'kotlin.takeIf' call
|
|
2276
2241
|
var this_0 = indexOfAny(urlString, toCharArray('@/\\?#'), startIndex);
|
|
2277
2242
|
var tmp_1;
|
|
2278
|
-
// Inline function 'io.ktor.http.takeFromUnsafe.<anonymous>' call
|
|
2279
2243
|
if (this_0 > 0) {
|
|
2280
2244
|
tmp_1 = this_0;
|
|
2281
2245
|
} else {
|
|
@@ -2326,7 +2290,6 @@
|
|
|
2326
2290
|
// Inline function 'kotlin.takeIf' call
|
|
2327
2291
|
var this_1 = indexOfAny(urlString, toCharArray('?#'), startIndex);
|
|
2328
2292
|
var tmp_7;
|
|
2329
|
-
// Inline function 'io.ktor.http.takeFromUnsafe.<anonymous>' call
|
|
2330
2293
|
if (this_1 > 0) {
|
|
2331
2294
|
tmp_7 = this_1;
|
|
2332
2295
|
} else {
|
|
@@ -2491,7 +2454,6 @@
|
|
|
2491
2454
|
// Inline function 'kotlin.takeIf' call
|
|
2492
2455
|
var this_0 = indexOfColonInHostPort(urlString, startIndex, endIndex);
|
|
2493
2456
|
var tmp;
|
|
2494
|
-
// Inline function 'io.ktor.http.fillHost.<anonymous>' call
|
|
2495
2457
|
if (this_0 > 0) {
|
|
2496
2458
|
tmp = this_0;
|
|
2497
2459
|
} else {
|
|
@@ -2524,7 +2486,6 @@
|
|
|
2524
2486
|
// Inline function 'kotlin.takeIf' call
|
|
2525
2487
|
var this_0 = indexOf(urlString, _Char___init__impl__6a9atx(35), startIndex + 1 | 0);
|
|
2526
2488
|
var tmp;
|
|
2527
|
-
// Inline function 'io.ktor.http.parseQuery.<anonymous>' call
|
|
2528
2489
|
if (this_0 > 0) {
|
|
2529
2490
|
tmp = this_0;
|
|
2530
2491
|
} else {
|
|
@@ -2579,7 +2540,6 @@
|
|
|
2579
2540
|
var _iterator__ex2g4s = this_0.p();
|
|
2580
2541
|
while (_iterator__ex2g4s.q()) {
|
|
2581
2542
|
var element = _iterator__ex2g4s.r();
|
|
2582
|
-
// Inline function 'io.ktor.http.Companion.byName.<anonymous>' call
|
|
2583
2543
|
var tmp$ret$0 = element.l2v_1;
|
|
2584
2544
|
destination.n2(tmp$ret$0, element);
|
|
2585
2545
|
}
|
|
@@ -2587,7 +2547,6 @@
|
|
|
2587
2547
|
}
|
|
2588
2548
|
protoOf(Companion_7).y2w = function (name) {
|
|
2589
2549
|
// Inline function 'kotlin.let' call
|
|
2590
|
-
// Inline function 'io.ktor.http.Companion.createOrDefault.<anonymous>' call
|
|
2591
2550
|
var it = toLowerCasePreservingASCIIRules(name);
|
|
2592
2551
|
var tmp0_elvis_lhs = Companion_getInstance_7().q2w_1.k2(it);
|
|
2593
2552
|
return tmp0_elvis_lhs == null ? new URLProtocol(it, 0) : tmp0_elvis_lhs;
|
|
@@ -2610,7 +2569,6 @@
|
|
|
2610
2569
|
while (inductionVariable < charSequenceLength(tmp0)) {
|
|
2611
2570
|
var element = charSequenceGet(tmp0, inductionVariable);
|
|
2612
2571
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2613
|
-
// Inline function 'io.ktor.http.URLProtocol.<anonymous>' call
|
|
2614
2572
|
if (!isLowerCase(element)) {
|
|
2615
2573
|
tmp$ret$1 = false;
|
|
2616
2574
|
break $l$block;
|
|
@@ -2620,7 +2578,6 @@
|
|
|
2620
2578
|
}
|
|
2621
2579
|
// Inline function 'kotlin.require' call
|
|
2622
2580
|
if (!tmp$ret$1) {
|
|
2623
|
-
// Inline function 'io.ktor.http.URLProtocol.<anonymous>' call
|
|
2624
2581
|
var message = 'All characters should be lower case';
|
|
2625
2582
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
2626
2583
|
}
|
|
@@ -2660,7 +2617,6 @@
|
|
|
2660
2617
|
_this__u8e3s4.g2v_1 = url.g2v_1;
|
|
2661
2618
|
// Inline function 'kotlin.apply' call
|
|
2662
2619
|
var this_0 = ParametersBuilder();
|
|
2663
|
-
// Inline function 'io.ktor.http.takeFrom.<anonymous>' call
|
|
2664
2620
|
appendAll(this_0, url.j2v_1);
|
|
2665
2621
|
_this__u8e3s4.w2w(this_0);
|
|
2666
2622
|
_this__u8e3s4.h2v_1 = url.h2v_1;
|
|
@@ -2707,7 +2663,6 @@
|
|
|
2707
2663
|
var _iterator__ex2g4s = tmp0.p();
|
|
2708
2664
|
while (_iterator__ex2g4s.q()) {
|
|
2709
2665
|
var element = _iterator__ex2g4s.r();
|
|
2710
|
-
// Inline function 'io.ktor.http.appendUrlFullPath.<anonymous>' call
|
|
2711
2666
|
// Inline function 'kotlin.collections.component1' call
|
|
2712
2667
|
var key = element.y();
|
|
2713
2668
|
// Inline function 'kotlin.collections.component2' call
|
|
@@ -2722,7 +2677,6 @@
|
|
|
2722
2677
|
var _iterator__ex2g4s_0 = value.p();
|
|
2723
2678
|
while (_iterator__ex2g4s_0.q()) {
|
|
2724
2679
|
var item = _iterator__ex2g4s_0.r();
|
|
2725
|
-
// Inline function 'io.ktor.http.appendUrlFullPath.<anonymous>.<anonymous>' call
|
|
2726
2680
|
var tmp$ret$3 = to(key, item);
|
|
2727
2681
|
destination_0.k(tmp$ret$3);
|
|
2728
2682
|
}
|
|
@@ -2752,7 +2706,6 @@
|
|
|
2752
2706
|
_this__u8e3s4.g2v_1 = url.c2x();
|
|
2753
2707
|
// Inline function 'kotlin.apply' call
|
|
2754
2708
|
var this_0 = ParametersBuilder();
|
|
2755
|
-
// Inline function 'io.ktor.http.takeFrom.<anonymous>' call
|
|
2756
2709
|
this_0.e2h(parseQueryString(url.d2x(), VOID, VOID, false));
|
|
2757
2710
|
_this__u8e3s4.w2w(this_0);
|
|
2758
2711
|
_this__u8e3s4.h2v_1 = url.e2x();
|
|
@@ -2760,12 +2713,12 @@
|
|
|
2760
2713
|
return _this__u8e3s4;
|
|
2761
2714
|
}
|
|
2762
2715
|
function appendUrlFullPath$lambda(it) {
|
|
2763
|
-
var key = it.
|
|
2716
|
+
var key = it.rg_1;
|
|
2764
2717
|
var tmp;
|
|
2765
|
-
if (it.
|
|
2718
|
+
if (it.sg_1 == null) {
|
|
2766
2719
|
tmp = key;
|
|
2767
2720
|
} else {
|
|
2768
|
-
var value = toString_1(it.
|
|
2721
|
+
var value = toString_1(it.sg_1);
|
|
2769
2722
|
tmp = key + '=' + value;
|
|
2770
2723
|
}
|
|
2771
2724
|
return tmp;
|
|
@@ -2936,7 +2889,6 @@
|
|
|
2936
2889
|
var containsArg = this.p2v_1;
|
|
2937
2890
|
// Inline function 'kotlin.require' call
|
|
2938
2891
|
if (!(0 <= containsArg ? containsArg <= 65535 : false)) {
|
|
2939
|
-
// Inline function 'io.ktor.http.Url.<anonymous>' call
|
|
2940
2892
|
var message = 'Port must be between 0 and 65535, or 0 if not set. Provided: ' + this.p2v_1;
|
|
2941
2893
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
2942
2894
|
}
|
|
@@ -2965,7 +2917,6 @@
|
|
|
2965
2917
|
// Inline function 'kotlin.takeUnless' call
|
|
2966
2918
|
var this_0 = this.p2v_1;
|
|
2967
2919
|
var tmp;
|
|
2968
|
-
// Inline function 'io.ktor.http.Url.<get-port>.<anonymous>' call
|
|
2969
2920
|
if (!(this_0 === 0)) {
|
|
2970
2921
|
tmp = this_0;
|
|
2971
2922
|
} else {
|
|
@@ -3023,7 +2974,6 @@
|
|
|
3023
2974
|
// Inline function 'kotlin.text.buildString' call
|
|
3024
2975
|
// Inline function 'kotlin.apply' call
|
|
3025
2976
|
var this_0 = StringBuilder_init_$Create$();
|
|
3026
|
-
// Inline function 'io.ktor.http.<get-authority>.<anonymous>' call
|
|
3027
2977
|
this_0.r8(get_encodedUserAndPassword_0(_this__u8e3s4));
|
|
3028
2978
|
this_0.r8(get_hostWithPortIfSpecified(_this__u8e3s4));
|
|
3029
2979
|
return this_0.toString();
|
|
@@ -3054,7 +3004,6 @@
|
|
|
3054
3004
|
// Inline function 'kotlin.text.buildString' call
|
|
3055
3005
|
// Inline function 'kotlin.apply' call
|
|
3056
3006
|
var this_0 = StringBuilder_init_$Create$();
|
|
3057
|
-
// Inline function 'io.ktor.http.<get-encodedUserAndPassword>.<anonymous>' call
|
|
3058
3007
|
appendUserAndPassword(this_0, _this__u8e3s4.b2x(), _this__u8e3s4.c2x());
|
|
3059
3008
|
return this_0.toString();
|
|
3060
3009
|
}
|
|
@@ -3105,7 +3054,6 @@
|
|
|
3105
3054
|
var _iterator__ex2g4s = tmp0_safe_receiver.p();
|
|
3106
3055
|
while (_iterator__ex2g4s.q()) {
|
|
3107
3056
|
var item = _iterator__ex2g4s.r();
|
|
3108
|
-
// Inline function 'io.ktor.http.UrlDecodedParametersBuilder.getAll.<anonymous>' call
|
|
3109
3057
|
var tmp$ret$0 = decodeURLQueryComponent(item, VOID, VOID, true);
|
|
3110
3058
|
destination.k(tmp$ret$0);
|
|
3111
3059
|
}
|
|
@@ -3124,7 +3072,6 @@
|
|
|
3124
3072
|
var _iterator__ex2g4s = this_0.p();
|
|
3125
3073
|
while (_iterator__ex2g4s.q()) {
|
|
3126
3074
|
var item = _iterator__ex2g4s.r();
|
|
3127
|
-
// Inline function 'io.ktor.http.UrlDecodedParametersBuilder.names.<anonymous>' call
|
|
3128
3075
|
var tmp$ret$0 = decodeURLQueryComponent(item);
|
|
3129
3076
|
destination.k(tmp$ret$0);
|
|
3130
3077
|
}
|
|
@@ -3150,7 +3097,6 @@
|
|
|
3150
3097
|
var _iterator__ex2g4s = values.p();
|
|
3151
3098
|
while (_iterator__ex2g4s.q()) {
|
|
3152
3099
|
var item = _iterator__ex2g4s.r();
|
|
3153
|
-
// Inline function 'io.ktor.http.UrlDecodedParametersBuilder.appendAll.<anonymous>' call
|
|
3154
3100
|
var tmp$ret$0 = encodeURLParameterValue(item);
|
|
3155
3101
|
destination.k(tmp$ret$0);
|
|
3156
3102
|
}
|
|
@@ -3162,14 +3108,12 @@
|
|
|
3162
3108
|
function encodeParameters(parameters) {
|
|
3163
3109
|
// Inline function 'kotlin.apply' call
|
|
3164
3110
|
var this_0 = ParametersBuilder();
|
|
3165
|
-
// Inline function 'io.ktor.http.encodeParameters.<anonymous>' call
|
|
3166
3111
|
appendAllEncoded(this_0, parameters);
|
|
3167
3112
|
return this_0;
|
|
3168
3113
|
}
|
|
3169
3114
|
function decodeParameters(parameters) {
|
|
3170
3115
|
// Inline function 'kotlin.apply' call
|
|
3171
3116
|
var this_0 = ParametersBuilder();
|
|
3172
|
-
// Inline function 'io.ktor.http.decodeParameters.<anonymous>' call
|
|
3173
3117
|
appendAllDecoded(this_0, parameters);
|
|
3174
3118
|
return this_0.w2n();
|
|
3175
3119
|
}
|
|
@@ -3178,7 +3122,6 @@
|
|
|
3178
3122
|
var _iterator__ex2g4s = parameters.t2g().p();
|
|
3179
3123
|
while (_iterator__ex2g4s.q()) {
|
|
3180
3124
|
var element = _iterator__ex2g4s.r();
|
|
3181
|
-
// Inline function 'io.ktor.http.appendAllEncoded.<anonymous>' call
|
|
3182
3125
|
var tmp0_elvis_lhs = parameters.s2g(element);
|
|
3183
3126
|
var values = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
3184
3127
|
var tmp = encodeURLParameter(element);
|
|
@@ -3188,7 +3131,6 @@
|
|
|
3188
3131
|
var _iterator__ex2g4s_0 = values.p();
|
|
3189
3132
|
while (_iterator__ex2g4s_0.q()) {
|
|
3190
3133
|
var item = _iterator__ex2g4s_0.r();
|
|
3191
|
-
// Inline function 'io.ktor.http.appendAllEncoded.<anonymous>.<anonymous>' call
|
|
3192
3134
|
var tmp$ret$0 = encodeURLParameterValue(item);
|
|
3193
3135
|
destination.k(tmp$ret$0);
|
|
3194
3136
|
}
|
|
@@ -3200,7 +3142,6 @@
|
|
|
3200
3142
|
var _iterator__ex2g4s = parameters.t2g().p();
|
|
3201
3143
|
while (_iterator__ex2g4s.q()) {
|
|
3202
3144
|
var element = _iterator__ex2g4s.r();
|
|
3203
|
-
// Inline function 'io.ktor.http.appendAllDecoded.<anonymous>' call
|
|
3204
3145
|
var tmp0_elvis_lhs = parameters.s2g(element);
|
|
3205
3146
|
var values = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
3206
3147
|
var tmp = decodeURLQueryComponent(element);
|
|
@@ -3210,7 +3151,6 @@
|
|
|
3210
3151
|
var _iterator__ex2g4s_0 = values.p();
|
|
3211
3152
|
while (_iterator__ex2g4s_0.q()) {
|
|
3212
3153
|
var item = _iterator__ex2g4s_0.r();
|
|
3213
|
-
// Inline function 'io.ktor.http.appendAllDecoded.<anonymous>.<anonymous>' call
|
|
3214
3154
|
var tmp$ret$0 = decodeURLQueryComponent(item, VOID, VOID, true);
|
|
3215
3155
|
destination.k(tmp$ret$0);
|
|
3216
3156
|
}
|
|
@@ -3265,7 +3205,6 @@
|
|
|
3265
3205
|
var _iterator__ex2g4s = this_0.p();
|
|
3266
3206
|
while (_iterator__ex2g4s.q()) {
|
|
3267
3207
|
var item = _iterator__ex2g4s.r();
|
|
3268
|
-
// Inline function 'io.ktor.http.auth.Parameterized.<init>.<anonymous>' call
|
|
3269
3208
|
var tmp$ret$0 = HeaderValueParam_init_$Create$(item.y(), item.z());
|
|
3270
3209
|
destination.k(tmp$ret$0);
|
|
3271
3210
|
}
|
|
@@ -3275,7 +3214,7 @@
|
|
|
3275
3214
|
function Parameterized_init_$Create$(authScheme, parameters, encoding) {
|
|
3276
3215
|
return Parameterized_init_$Init$(authScheme, parameters, encoding, objectCreate(protoOf(Parameterized)));
|
|
3277
3216
|
}
|
|
3278
|
-
function encode_0(
|
|
3217
|
+
function encode_0($this, _this__u8e3s4, encoding) {
|
|
3279
3218
|
var tmp;
|
|
3280
3219
|
switch (encoding.r2_1) {
|
|
3281
3220
|
case 0:
|
|
@@ -3295,7 +3234,7 @@
|
|
|
3295
3234
|
}
|
|
3296
3235
|
function HttpAuthHeader$Parameterized$render$lambda(this$0, $encoding) {
|
|
3297
3236
|
return function (it) {
|
|
3298
|
-
return it.m2l_1 + '=' + encode_0(it.n2l_1,
|
|
3237
|
+
return it.m2l_1 + '=' + encode_0(this$0, it.n2l_1, $encoding);
|
|
3299
3238
|
};
|
|
3300
3239
|
}
|
|
3301
3240
|
function Single(authScheme, blob) {
|
|
@@ -3334,7 +3273,6 @@
|
|
|
3334
3273
|
var _iterator__ex2g4s = this.o2x_1.p();
|
|
3335
3274
|
while (_iterator__ex2g4s.q()) {
|
|
3336
3275
|
var element = _iterator__ex2g4s.r();
|
|
3337
|
-
// Inline function 'io.ktor.http.auth.Parameterized.<anonymous>' call
|
|
3338
3276
|
var tmp0 = element.m2l_1;
|
|
3339
3277
|
// Inline function 'kotlin.text.matches' call
|
|
3340
3278
|
if (!get_token68Pattern().ud(tmp0)) {
|
|
@@ -3360,7 +3298,6 @@
|
|
|
3360
3298
|
var _iterator__ex2g4s = tmp0.p();
|
|
3361
3299
|
while (_iterator__ex2g4s.q()) {
|
|
3362
3300
|
var element = _iterator__ex2g4s.r();
|
|
3363
|
-
// Inline function 'io.ktor.http.auth.Parameterized.parameter.<anonymous>' call
|
|
3364
3301
|
if (element.m2l_1 === name) {
|
|
3365
3302
|
tmp$ret$1 = element;
|
|
3366
3303
|
break $l$block;
|