mrs-toolbox-cli 0.0.108 → 0.0.110
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/88b0986a7186d029-atomicfu-js-ir.js +20 -20
- package/Kotlin-DateTime-library-kotlinx-datetime.js +85 -85
- package/clikt-clikt.js +1273 -1273
- package/colormath-root-colormath.js +395 -395
- package/com.mrs.platform.configuration.dto.js +1774 -1774
- package/kotlin-kotlin-stdlib.js +897 -814
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-logging-js-ir.js +46 -46
- package/kotlinx-serialization-kotlinx-serialization-core.js +97 -97
- package/kotlinx-serialization-kotlinx-serialization-json.js +838 -830
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +1407 -1461
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +146 -146
- package/ktor-ktor-client-core.js +1525 -1525
- package/ktor-ktor-events.js +12 -12
- package/ktor-ktor-http.js +76 -76
- package/ktor-ktor-io.js +126 -126
- package/ktor-ktor-serialization-kotlinx.js +19 -19
- package/ktor-ktor-serialization.js +16 -16
- package/ktor-ktor-utils.js +43 -43
- package/ktor-ktor-websockets.js +16 -16
- package/markdown.js +1922 -1919
- package/markdown.js.map +1 -1
- package/mordant-mordant.js +1790 -1782
- package/mordant-mordant.js.map +1 -1
- package/mrs-toolbox-cli.d.ts +5 -5
- package/mrs-toolbox-cli.js +117 -117
- package/package.json +1 -1
- package/toolbox.js +2896 -3049
- package/toolbox.js.map +1 -1
package/ktor-ktor-io.js
CHANGED
|
@@ -2,79 +2,79 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
5
|
+
var ensureNotNull = kotlin_kotlin.$_$.gh;
|
|
6
6
|
var Unit_instance = kotlin_kotlin.$_$.g5;
|
|
7
|
-
var toString = kotlin_kotlin.$_$.
|
|
7
|
+
var toString = kotlin_kotlin.$_$.jc;
|
|
8
8
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.s1;
|
|
9
|
-
var toLong = kotlin_kotlin.$_$.
|
|
9
|
+
var toLong = kotlin_kotlin.$_$.hc;
|
|
10
10
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.x1;
|
|
11
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
12
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
13
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
14
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
15
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
16
|
-
var Long = kotlin_kotlin.$_$.
|
|
11
|
+
var CoroutineImpl = kotlin_kotlin.$_$.ga;
|
|
12
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.s9;
|
|
13
|
+
var protoOf = kotlin_kotlin.$_$.ec;
|
|
14
|
+
var classMeta = kotlin_kotlin.$_$.wa;
|
|
15
|
+
var setMetadataFor = kotlin_kotlin.$_$.fc;
|
|
16
|
+
var Long = kotlin_kotlin.$_$.jg;
|
|
17
17
|
var VOID = kotlin_kotlin.$_$.g;
|
|
18
18
|
var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.d;
|
|
19
19
|
var atomic$long$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.c;
|
|
20
20
|
var atomic$int$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.e;
|
|
21
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
21
|
+
var THROW_CCE = kotlin_kotlin.$_$.pg;
|
|
22
22
|
var CancellationException_init_$Create$ = kotlin_kotlin.$_$.a1;
|
|
23
|
-
var CancellationException = kotlin_kotlin.$_$.
|
|
23
|
+
var CancellationException = kotlin_kotlin.$_$.r9;
|
|
24
24
|
var CancellationException_init_$Init$ = kotlin_kotlin.$_$.z;
|
|
25
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
25
|
+
var captureStack = kotlin_kotlin.$_$.qa;
|
|
26
26
|
var EmptyCoroutineContext_getInstance = kotlin_kotlin.$_$.o4;
|
|
27
27
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.x;
|
|
28
|
-
var interfaceMeta = kotlin_kotlin.$_$.
|
|
28
|
+
var interfaceMeta = kotlin_kotlin.$_$.hb;
|
|
29
29
|
var cancel$default = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d;
|
|
30
30
|
var invokeOnCompletion$default = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e;
|
|
31
31
|
var Job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.z;
|
|
32
32
|
var Key_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.h;
|
|
33
33
|
var launch = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.i1;
|
|
34
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
34
|
+
var isInterface = kotlin_kotlin.$_$.qb;
|
|
35
35
|
var Key_instance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l;
|
|
36
36
|
var Dispatchers_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j;
|
|
37
|
-
var equals = kotlin_kotlin.$_$.
|
|
37
|
+
var equals = kotlin_kotlin.$_$.za;
|
|
38
38
|
var IntCompanionObject_instance = kotlin_kotlin.$_$.t4;
|
|
39
39
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.f1;
|
|
40
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
41
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
42
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
43
|
-
var Exception = kotlin_kotlin.$_$.
|
|
40
|
+
var charSequenceLength = kotlin_kotlin.$_$.ua;
|
|
41
|
+
var objectMeta = kotlin_kotlin.$_$.dc;
|
|
42
|
+
var objectCreate = kotlin_kotlin.$_$.cc;
|
|
43
|
+
var Exception = kotlin_kotlin.$_$.gg;
|
|
44
44
|
var Exception_init_$Init$ = kotlin_kotlin.$_$.m1;
|
|
45
|
-
var numberToChar = kotlin_kotlin.$_$.
|
|
46
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
47
|
-
var coerceAtMost = kotlin_kotlin.$_$.
|
|
45
|
+
var numberToChar = kotlin_kotlin.$_$.yb;
|
|
46
|
+
var coerceAtLeast = kotlin_kotlin.$_$.pc;
|
|
47
|
+
var coerceAtMost = kotlin_kotlin.$_$.sc;
|
|
48
48
|
var Companion_getInstance = kotlin_kotlin.$_$.a5;
|
|
49
49
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.w2;
|
|
50
|
-
var toByte = kotlin_kotlin.$_$.
|
|
50
|
+
var toByte = kotlin_kotlin.$_$.gc;
|
|
51
51
|
var _UShort___get_data__impl__g0245 = kotlin_kotlin.$_$.f4;
|
|
52
52
|
var UnsupportedOperationException_init_$Create$ = kotlin_kotlin.$_$.n2;
|
|
53
|
-
var toShort = kotlin_kotlin.$_$.
|
|
53
|
+
var toShort = kotlin_kotlin.$_$.ic;
|
|
54
54
|
var _UShort___init__impl__jigrne = kotlin_kotlin.$_$.e4;
|
|
55
55
|
var Companion_getInstance_0 = kotlin_kotlin.$_$.f5;
|
|
56
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
57
|
-
var isLowSurrogate = kotlin_kotlin.$_$.
|
|
58
|
-
var isHighSurrogate = kotlin_kotlin.$_$.
|
|
56
|
+
var charSequenceGet = kotlin_kotlin.$_$.ta;
|
|
57
|
+
var isLowSurrogate = kotlin_kotlin.$_$.ce;
|
|
58
|
+
var isHighSurrogate = kotlin_kotlin.$_$.be;
|
|
59
59
|
var Job_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.y;
|
|
60
|
-
var coerceAtMost_0 = kotlin_kotlin.$_$.
|
|
61
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
62
|
-
var lazy = kotlin_kotlin.$_$.
|
|
63
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
64
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
60
|
+
var coerceAtMost_0 = kotlin_kotlin.$_$.rc;
|
|
61
|
+
var hashCode = kotlin_kotlin.$_$.gb;
|
|
62
|
+
var lazy = kotlin_kotlin.$_$.mh;
|
|
63
|
+
var KProperty1 = kotlin_kotlin.$_$.cd;
|
|
64
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.eb;
|
|
65
65
|
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.b2;
|
|
66
66
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.p2;
|
|
67
|
-
var replace = kotlin_kotlin.$_$.
|
|
68
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
69
|
-
var extendThrowable = kotlin_kotlin.$_$.
|
|
70
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
67
|
+
var replace = kotlin_kotlin.$_$.re;
|
|
68
|
+
var getStringHashCode = kotlin_kotlin.$_$.fb;
|
|
69
|
+
var extendThrowable = kotlin_kotlin.$_$.ab;
|
|
70
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.va;
|
|
71
71
|
var IndexOutOfBoundsException_init_$Create$_0 = kotlin_kotlin.$_$.a2;
|
|
72
72
|
var Exception_init_$Init$_0 = kotlin_kotlin.$_$.o1;
|
|
73
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
74
|
-
var trim = kotlin_kotlin.$_$.
|
|
75
|
-
var decodeToString = kotlin_kotlin.$_$.
|
|
76
|
-
var setOf = kotlin_kotlin.$_$.
|
|
77
|
-
var fillArrayVal = kotlin_kotlin.$_$.
|
|
73
|
+
var isCharSequence = kotlin_kotlin.$_$.mb;
|
|
74
|
+
var trim = kotlin_kotlin.$_$.wf;
|
|
75
|
+
var decodeToString = kotlin_kotlin.$_$.pd;
|
|
76
|
+
var setOf = kotlin_kotlin.$_$.p8;
|
|
77
|
+
var fillArrayVal = kotlin_kotlin.$_$.bb;
|
|
78
78
|
//endregion
|
|
79
79
|
//region block: pre-declaration
|
|
80
80
|
setMetadataFor($awaitAtLeastNBytesAvailableForWriteCOROUTINE$0, '$awaitAtLeastNBytesAvailableForWriteCOROUTINE$0', classMeta, CoroutineImpl);
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
setMetadataFor(InsufficientSpaceException, 'InsufficientSpaceException', classMeta, Exception, VOID, InsufficientSpaceException);
|
|
112
112
|
setMetadataFor(Closeable, 'Closeable', interfaceMeta);
|
|
113
113
|
function close() {
|
|
114
|
-
this.
|
|
114
|
+
this.jp();
|
|
115
115
|
}
|
|
116
116
|
setMetadataFor(ObjectPool, 'ObjectPool', interfaceMeta, VOID, [Closeable]);
|
|
117
117
|
setMetadataFor(DefaultPool, 'DefaultPool', classMeta, VOID, [ObjectPool]);
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
else {
|
|
205
205
|
// Inline function 'kotlin.let' call
|
|
206
206
|
// Inline function 'kotlin.contracts.contract' call
|
|
207
|
-
closeable.
|
|
207
|
+
closeable.js();
|
|
208
208
|
throw tmp0_safe_receiver;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
@@ -935,20 +935,20 @@
|
|
|
935
935
|
tmp.ad_1 = null;
|
|
936
936
|
return tmp.kd();
|
|
937
937
|
};
|
|
938
|
-
protoOf(ByteChannelSequentialBase).
|
|
938
|
+
protoOf(ByteChannelSequentialBase).ar = function (cause) {
|
|
939
939
|
if (!(this.c17() == null) ? true : this.d17()) {
|
|
940
940
|
return false;
|
|
941
941
|
}
|
|
942
|
-
return this.
|
|
942
|
+
return this.s10(cause == null ? CancellationException_init_$Create$('Channel cancelled') : cause);
|
|
943
943
|
};
|
|
944
|
-
protoOf(ByteChannelSequentialBase).
|
|
944
|
+
protoOf(ByteChannelSequentialBase).s10 = function (cause) {
|
|
945
945
|
var closeElement = cause == null ? get_CLOSED_SUCCESS() : new CloseElement(cause);
|
|
946
946
|
if (!this.y15_1.atomicfu$compareAndSet(null, closeElement))
|
|
947
947
|
return false;
|
|
948
948
|
if (!(cause == null)) {
|
|
949
|
-
this.a16_1.
|
|
950
|
-
this.z15_1.
|
|
951
|
-
this.f16_1.
|
|
949
|
+
this.a16_1.js();
|
|
950
|
+
this.z15_1.js();
|
|
951
|
+
this.f16_1.js();
|
|
952
952
|
} else {
|
|
953
953
|
this.p6();
|
|
954
954
|
}
|
|
@@ -971,7 +971,7 @@
|
|
|
971
971
|
protoOf(ByteChannelSequentialBase).f19 = function (count) {
|
|
972
972
|
addBytesWritten(this, count);
|
|
973
973
|
if (this.d17()) {
|
|
974
|
-
this.z15_1.
|
|
974
|
+
this.z15_1.js();
|
|
975
975
|
ensureNotClosed(this);
|
|
976
976
|
}
|
|
977
977
|
if (this.s1c() ? true : this.r17() === 0) {
|
|
@@ -979,13 +979,13 @@
|
|
|
979
979
|
}
|
|
980
980
|
};
|
|
981
981
|
function cancel(_this__u8e3s4) {
|
|
982
|
-
return _this__u8e3s4.
|
|
982
|
+
return _this__u8e3s4.ar(null);
|
|
983
983
|
}
|
|
984
984
|
function readAvailable(_this__u8e3s4, dst, $completion) {
|
|
985
985
|
return _this__u8e3s4.z1c(dst, 0, dst.length, $completion);
|
|
986
986
|
}
|
|
987
987
|
function close_0(_this__u8e3s4) {
|
|
988
|
-
return _this__u8e3s4.
|
|
988
|
+
return _this__u8e3s4.s10(null);
|
|
989
989
|
}
|
|
990
990
|
function ClosedWriteChannelException(message) {
|
|
991
991
|
CancellationException_init_$Init$(message, this);
|
|
@@ -1020,63 +1020,63 @@
|
|
|
1020
1020
|
this.f1d_1 = delegate;
|
|
1021
1021
|
this.g1d_1 = channel;
|
|
1022
1022
|
}
|
|
1023
|
-
protoOf(ChannelJob).
|
|
1023
|
+
protoOf(ChannelJob).fx = function () {
|
|
1024
1024
|
return this.g1d_1;
|
|
1025
1025
|
};
|
|
1026
|
-
protoOf(ChannelJob).
|
|
1027
|
-
return this.f1d_1.
|
|
1026
|
+
protoOf(ChannelJob).km = function () {
|
|
1027
|
+
return this.f1d_1.km();
|
|
1028
1028
|
};
|
|
1029
1029
|
protoOf(ChannelJob).r2 = function () {
|
|
1030
1030
|
return this.f1d_1.r2();
|
|
1031
1031
|
};
|
|
1032
|
-
protoOf(ChannelJob).
|
|
1033
|
-
return this.f1d_1.
|
|
1032
|
+
protoOf(ChannelJob).wn = function (child) {
|
|
1033
|
+
return this.f1d_1.wn(child);
|
|
1034
1034
|
};
|
|
1035
|
-
protoOf(ChannelJob).
|
|
1036
|
-
this.f1d_1.
|
|
1035
|
+
protoOf(ChannelJob).pn = function (cause) {
|
|
1036
|
+
this.f1d_1.pn(cause);
|
|
1037
1037
|
};
|
|
1038
|
-
protoOf(ChannelJob).
|
|
1039
|
-
return this.f1d_1.
|
|
1038
|
+
protoOf(ChannelJob).ch = function (initial, operation) {
|
|
1039
|
+
return this.f1d_1.ch(initial, operation);
|
|
1040
1040
|
};
|
|
1041
1041
|
protoOf(ChannelJob).fd = function (key) {
|
|
1042
1042
|
return this.f1d_1.fd(key);
|
|
1043
1043
|
};
|
|
1044
|
-
protoOf(ChannelJob).
|
|
1045
|
-
return this.f1d_1.
|
|
1044
|
+
protoOf(ChannelJob).hn = function () {
|
|
1045
|
+
return this.f1d_1.hn();
|
|
1046
1046
|
};
|
|
1047
|
-
protoOf(ChannelJob).
|
|
1048
|
-
return this.f1d_1.
|
|
1047
|
+
protoOf(ChannelJob).ln = function (onCancelling, invokeImmediately, handler) {
|
|
1048
|
+
return this.f1d_1.ln(onCancelling, invokeImmediately, handler);
|
|
1049
1049
|
};
|
|
1050
|
-
protoOf(ChannelJob).
|
|
1051
|
-
return this.f1d_1.
|
|
1050
|
+
protoOf(ChannelJob).kn = function (handler) {
|
|
1051
|
+
return this.f1d_1.kn(handler);
|
|
1052
1052
|
};
|
|
1053
|
-
protoOf(ChannelJob).
|
|
1054
|
-
return this.f1d_1.
|
|
1053
|
+
protoOf(ChannelJob).bh = function (key) {
|
|
1054
|
+
return this.f1d_1.bh(key);
|
|
1055
1055
|
};
|
|
1056
|
-
protoOf(ChannelJob).
|
|
1057
|
-
return this.f1d_1.
|
|
1056
|
+
protoOf(ChannelJob).dh = function (context) {
|
|
1057
|
+
return this.f1d_1.dh(context);
|
|
1058
1058
|
};
|
|
1059
|
-
protoOf(ChannelJob).
|
|
1060
|
-
return this.f1d_1.
|
|
1059
|
+
protoOf(ChannelJob).fn = function () {
|
|
1060
|
+
return this.f1d_1.fn();
|
|
1061
1061
|
};
|
|
1062
1062
|
protoOf(ChannelJob).toString = function () {
|
|
1063
1063
|
return 'ChannelJob[' + this.f1d_1 + ']';
|
|
1064
1064
|
};
|
|
1065
1065
|
function launchChannel(_this__u8e3s4, context, channel, attachJob, block) {
|
|
1066
|
-
var dispatcher = _this__u8e3s4.
|
|
1066
|
+
var dispatcher = _this__u8e3s4.jm().fd(Key_getInstance());
|
|
1067
1067
|
var job = launch(_this__u8e3s4, context, VOID, launchChannel$slambda_0(attachJob, channel, block, dispatcher, null));
|
|
1068
|
-
job.
|
|
1068
|
+
job.kn(launchChannel$lambda(channel));
|
|
1069
1069
|
return new ChannelJob(job, channel);
|
|
1070
1070
|
}
|
|
1071
1071
|
function ChannelScope(delegate, channel) {
|
|
1072
1072
|
this.h1d_1 = channel;
|
|
1073
1073
|
this.i1d_1 = delegate;
|
|
1074
1074
|
}
|
|
1075
|
-
protoOf(ChannelScope).
|
|
1075
|
+
protoOf(ChannelScope).fx = function () {
|
|
1076
1076
|
return this.h1d_1;
|
|
1077
1077
|
};
|
|
1078
|
-
protoOf(ChannelScope).
|
|
1079
|
-
return this.i1d_1.
|
|
1078
|
+
protoOf(ChannelScope).jm = function () {
|
|
1079
|
+
return this.i1d_1.jm();
|
|
1080
1080
|
};
|
|
1081
1081
|
function launchChannel$slambda($attachJob, $channel, $block, $dispatcher, resultContinuation) {
|
|
1082
1082
|
this.r1d_1 = $attachJob;
|
|
@@ -1103,7 +1103,7 @@
|
|
|
1103
1103
|
case 0:
|
|
1104
1104
|
this.yc_1 = 3;
|
|
1105
1105
|
if (this.r1d_1) {
|
|
1106
|
-
this.s1d_1.e1d(ensureNotNull(this.v1d_1.
|
|
1106
|
+
this.s1d_1.e1d(ensureNotNull(this.v1d_1.jm().fd(Key_instance)));
|
|
1107
1107
|
}
|
|
1108
1108
|
|
|
1109
1109
|
var tmp_0 = this;
|
|
@@ -1126,10 +1126,10 @@
|
|
|
1126
1126
|
var tmp_2 = this.ad_1;
|
|
1127
1127
|
if (tmp_2 instanceof Error) {
|
|
1128
1128
|
var cause = this.ad_1;
|
|
1129
|
-
if (!equals(this.u1d_1, Dispatchers_getInstance().
|
|
1129
|
+
if (!equals(this.u1d_1, Dispatchers_getInstance().pw_1) ? !(this.u1d_1 == null) : false) {
|
|
1130
1130
|
throw cause;
|
|
1131
1131
|
}
|
|
1132
|
-
this.s1d_1.
|
|
1132
|
+
this.s1d_1.ar(cause);
|
|
1133
1133
|
this.xc_1 = 4;
|
|
1134
1134
|
continue $sm;
|
|
1135
1135
|
} else {
|
|
@@ -1168,7 +1168,7 @@
|
|
|
1168
1168
|
}
|
|
1169
1169
|
function launchChannel$lambda($channel) {
|
|
1170
1170
|
return function (cause) {
|
|
1171
|
-
$channel.
|
|
1171
|
+
$channel.s10(cause);
|
|
1172
1172
|
return Unit_instance;
|
|
1173
1173
|
};
|
|
1174
1174
|
}
|
|
@@ -1237,7 +1237,7 @@
|
|
|
1237
1237
|
} catch ($p) {
|
|
1238
1238
|
if ($p instanceof Error) {
|
|
1239
1239
|
var t = $p;
|
|
1240
|
-
builder.
|
|
1240
|
+
builder.js();
|
|
1241
1241
|
throw t;
|
|
1242
1242
|
} else {
|
|
1243
1243
|
throw $p;
|
|
@@ -1344,7 +1344,7 @@
|
|
|
1344
1344
|
} catch ($p) {
|
|
1345
1345
|
if ($p instanceof Error) {
|
|
1346
1346
|
var t = $p;
|
|
1347
|
-
builder.
|
|
1347
|
+
builder.js();
|
|
1348
1348
|
throw t;
|
|
1349
1349
|
} else {
|
|
1350
1350
|
throw $p;
|
|
@@ -1731,7 +1731,7 @@
|
|
|
1731
1731
|
}
|
|
1732
1732
|
// Inline function 'kotlin.check' call
|
|
1733
1733
|
// Inline function 'kotlin.contracts.contract' call
|
|
1734
|
-
if (!(instance.
|
|
1734
|
+
if (!(instance.jy() == null)) {
|
|
1735
1735
|
// Inline function 'io.ktor.utils.io.core.DefaultBufferPool.validateInstance.<anonymous>' call
|
|
1736
1736
|
var message_3 = "Recycled instance shouldn't be a part of a chain.";
|
|
1737
1737
|
throw IllegalStateException_init_$Create$(toString(message_3));
|
|
@@ -1952,7 +1952,7 @@
|
|
|
1952
1952
|
var $this = _this__u8e3s4;
|
|
1953
1953
|
$l$1: do {
|
|
1954
1954
|
$l$0: do {
|
|
1955
|
-
var tmp0_elvis_lhs = $this.
|
|
1955
|
+
var tmp0_elvis_lhs = $this.jy();
|
|
1956
1956
|
var tmp;
|
|
1957
1957
|
if (tmp0_elvis_lhs == null) {
|
|
1958
1958
|
return $this;
|
|
@@ -1984,7 +1984,7 @@
|
|
|
1984
1984
|
var this_0 = $this;
|
|
1985
1985
|
var tmp$ret$0 = this_0.b19_1 - this_0.a19_1 | 0;
|
|
1986
1986
|
var rem = toLong(tmp$ret$0).bc(n_0);
|
|
1987
|
-
var tmp0_elvis_lhs = $this.
|
|
1987
|
+
var tmp0_elvis_lhs = $this.jy();
|
|
1988
1988
|
var tmp;
|
|
1989
1989
|
if (tmp0_elvis_lhs == null) {
|
|
1990
1990
|
return rem;
|
|
@@ -2465,7 +2465,7 @@
|
|
|
2465
2465
|
}
|
|
2466
2466
|
}
|
|
2467
2467
|
function fixGapAfterReadFallback($this, current) {
|
|
2468
|
-
if ($this.o1a_1 ? current.
|
|
2468
|
+
if ($this.o1a_1 ? current.jy() == null : false) {
|
|
2469
2469
|
$this.l1a_1 = current.a19_1;
|
|
2470
2470
|
$this.m1a_1 = current.b19_1;
|
|
2471
2471
|
$this.y1g(new Long(0, 0));
|
|
@@ -2564,7 +2564,7 @@
|
|
|
2564
2564
|
if (!$this.n1a_1.equals(new Long(0, 0))) {
|
|
2565
2565
|
throw IllegalStateException_init_$Create$('It should be no tail remaining bytes if current tail is EmptyBuffer');
|
|
2566
2566
|
}
|
|
2567
|
-
var tmp0_safe_receiver = chunk.
|
|
2567
|
+
var tmp0_safe_receiver = chunk.jy();
|
|
2568
2568
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : remainingAll(tmp0_safe_receiver);
|
|
2569
2569
|
$this.y1g(tmp1_elvis_lhs == null ? new Long(0, 0) : tmp1_elvis_lhs);
|
|
2570
2570
|
} else {
|
|
@@ -2583,7 +2583,7 @@
|
|
|
2583
2583
|
var headSize = this_0.m1a_1 - this_0.l1a_1 | 0;
|
|
2584
2584
|
if (headSize >= minSize_0)
|
|
2585
2585
|
return head_0;
|
|
2586
|
-
var tmp0_elvis_lhs = head_0.
|
|
2586
|
+
var tmp0_elvis_lhs = head_0.jy();
|
|
2587
2587
|
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? doFill($this_0) : tmp0_elvis_lhs;
|
|
2588
2588
|
var tmp;
|
|
2589
2589
|
if (tmp1_elvis_lhs == null) {
|
|
@@ -2706,7 +2706,7 @@
|
|
|
2706
2706
|
protoOf(Input).e1b = function () {
|
|
2707
2707
|
return !(this.l1a_1 === this.m1a_1) ? true : !this.n1a_1.equals(new Long(0, 0));
|
|
2708
2708
|
};
|
|
2709
|
-
protoOf(Input).
|
|
2709
|
+
protoOf(Input).js = function () {
|
|
2710
2710
|
var head = this.j1g();
|
|
2711
2711
|
var empty = Companion_getInstance_4().p1c_1;
|
|
2712
2712
|
if (!(head === empty)) {
|
|
@@ -2715,8 +2715,8 @@
|
|
|
2715
2715
|
releaseAll(head, this.i1a_1);
|
|
2716
2716
|
}
|
|
2717
2717
|
};
|
|
2718
|
-
protoOf(Input).
|
|
2719
|
-
this.
|
|
2718
|
+
protoOf(Input).w13 = function () {
|
|
2719
|
+
this.js();
|
|
2720
2720
|
if (!this.o1a_1) {
|
|
2721
2721
|
this.o1a_1 = true;
|
|
2722
2722
|
}
|
|
@@ -2733,7 +2733,7 @@
|
|
|
2733
2733
|
};
|
|
2734
2734
|
protoOf(Input).z1g = function () {
|
|
2735
2735
|
var head = this.j1g();
|
|
2736
|
-
var next = head.
|
|
2736
|
+
var next = head.jy();
|
|
2737
2737
|
var empty = Companion_getInstance_4().p1c_1;
|
|
2738
2738
|
if (head === empty)
|
|
2739
2739
|
return null;
|
|
@@ -2841,7 +2841,7 @@
|
|
|
2841
2841
|
return ensureNext(this, current, Companion_getInstance_4().p1c_1);
|
|
2842
2842
|
};
|
|
2843
2843
|
protoOf(Input).j1h = function (current) {
|
|
2844
|
-
var tmp0_elvis_lhs = current.
|
|
2844
|
+
var tmp0_elvis_lhs = current.jy();
|
|
2845
2845
|
var tmp;
|
|
2846
2846
|
if (tmp0_elvis_lhs == null) {
|
|
2847
2847
|
return fixGapAfterReadFallback(this, current);
|
|
@@ -3109,7 +3109,7 @@
|
|
|
3109
3109
|
// Inline function 'io.ktor.utils.io.core.Buffer.readRemaining' call
|
|
3110
3110
|
var tmp$ret$0 = chunk.b19_1 - chunk.a19_1 | 0;
|
|
3111
3111
|
$this.h1g(chunk.z18_1, tmp_0, tmp$ret$0);
|
|
3112
|
-
var tmp0_elvis_lhs_0 = current.
|
|
3112
|
+
var tmp0_elvis_lhs_0 = current.jy();
|
|
3113
3113
|
var tmp_1;
|
|
3114
3114
|
if (tmp0_elvis_lhs_0 == null) {
|
|
3115
3115
|
break $l$loop;
|
|
@@ -3296,7 +3296,7 @@
|
|
|
3296
3296
|
} else {
|
|
3297
3297
|
var pre = _head;
|
|
3298
3298
|
$l$loop: while (true) {
|
|
3299
|
-
var next = ensureNotNull(pre.
|
|
3299
|
+
var next = ensureNotNull(pre.jy());
|
|
3300
3300
|
if (next === tail)
|
|
3301
3301
|
break $l$loop;
|
|
3302
3302
|
pre = next;
|
|
@@ -3352,7 +3352,7 @@
|
|
|
3352
3352
|
protoOf(Output).l1e = function (buffer) {
|
|
3353
3353
|
// Inline function 'kotlin.check' call
|
|
3354
3354
|
// Inline function 'kotlin.contracts.contract' call
|
|
3355
|
-
if (!(buffer.
|
|
3355
|
+
if (!(buffer.jy() == null)) {
|
|
3356
3356
|
// Inline function 'io.ktor.utils.io.core.Output.appendSingleChunk.<anonymous>' call
|
|
3357
3357
|
var message = 'It should be a single buffer chunk.';
|
|
3358
3358
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
@@ -3384,7 +3384,7 @@
|
|
|
3384
3384
|
}
|
|
3385
3385
|
return writeByteFallback(this, v);
|
|
3386
3386
|
};
|
|
3387
|
-
protoOf(Output).
|
|
3387
|
+
protoOf(Output).w13 = function () {
|
|
3388
3388
|
try {
|
|
3389
3389
|
this.p6();
|
|
3390
3390
|
}finally {
|
|
@@ -3471,7 +3471,7 @@
|
|
|
3471
3471
|
protoOf(Output).d1d = function (packet) {
|
|
3472
3472
|
var foreignStolen = packet.a17();
|
|
3473
3473
|
if (foreignStolen == null) {
|
|
3474
|
-
packet.
|
|
3474
|
+
packet.js();
|
|
3475
3475
|
return Unit_instance;
|
|
3476
3476
|
}
|
|
3477
3477
|
var tail = this.u16_1;
|
|
@@ -3535,8 +3535,8 @@
|
|
|
3535
3535
|
}
|
|
3536
3536
|
}
|
|
3537
3537
|
};
|
|
3538
|
-
protoOf(Output).
|
|
3539
|
-
this.
|
|
3538
|
+
protoOf(Output).js = function () {
|
|
3539
|
+
this.w13();
|
|
3540
3540
|
};
|
|
3541
3541
|
protoOf(Output).l1g = function (n) {
|
|
3542
3542
|
// Inline function 'io.ktor.utils.io.core.Output.tailRemaining' call
|
|
@@ -3570,7 +3570,7 @@
|
|
|
3570
3570
|
// Inline function 'kotlin.contracts.contract' call
|
|
3571
3571
|
// Inline function 'kotlin.check' call
|
|
3572
3572
|
// Inline function 'kotlin.contracts.contract' call
|
|
3573
|
-
if (!(head.
|
|
3573
|
+
if (!(head.jy() == null)) {
|
|
3574
3574
|
// Inline function 'kotlin.check.<anonymous>' call
|
|
3575
3575
|
var message = 'Check failed.';
|
|
3576
3576
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
@@ -3786,8 +3786,8 @@
|
|
|
3786
3786
|
protoOf(ChunkBuffer$Companion$Pool$1).d1g = function (instance) {
|
|
3787
3787
|
return this.t1h(instance instanceof ChunkBuffer ? instance : THROW_CCE());
|
|
3788
3788
|
};
|
|
3789
|
-
protoOf(ChunkBuffer$Companion$Pool$1).
|
|
3790
|
-
get_DefaultChunkedBufferPool().
|
|
3789
|
+
protoOf(ChunkBuffer$Companion$Pool$1).jp = function () {
|
|
3790
|
+
get_DefaultChunkedBufferPool().jp();
|
|
3791
3791
|
};
|
|
3792
3792
|
function ChunkBuffer$Companion$EmptyPool$1() {
|
|
3793
3793
|
}
|
|
@@ -3806,7 +3806,7 @@
|
|
|
3806
3806
|
protoOf(ChunkBuffer$Companion$EmptyPool$1).d1g = function (instance) {
|
|
3807
3807
|
return this.t1h(instance instanceof ChunkBuffer ? instance : THROW_CCE());
|
|
3808
3808
|
};
|
|
3809
|
-
protoOf(ChunkBuffer$Companion$EmptyPool$1).
|
|
3809
|
+
protoOf(ChunkBuffer$Companion$EmptyPool$1).jp = function () {
|
|
3810
3810
|
};
|
|
3811
3811
|
function ChunkBuffer$Companion$NoPool$1() {
|
|
3812
3812
|
NoPoolImpl.call(this);
|
|
@@ -3876,7 +3876,7 @@
|
|
|
3876
3876
|
appendNext(this, newValue);
|
|
3877
3877
|
}
|
|
3878
3878
|
};
|
|
3879
|
-
protoOf(ChunkBuffer).
|
|
3879
|
+
protoOf(ChunkBuffer).jy = function () {
|
|
3880
3880
|
return this.h1e_1.kotlinx$atomicfu$value;
|
|
3881
3881
|
};
|
|
3882
3882
|
protoOf(ChunkBuffer).z1f = function () {
|
|
@@ -4341,7 +4341,7 @@
|
|
|
4341
4341
|
tmp = tmp0_elvis_lhs;
|
|
4342
4342
|
}
|
|
4343
4343
|
var builderHead = tmp;
|
|
4344
|
-
if ((builderSize <= get_PACKET_MAX_COPY_SIZE() ? builderHead.
|
|
4344
|
+
if ((builderSize <= get_PACKET_MAX_COPY_SIZE() ? builderHead.jy() == null : false) ? _this__u8e3s4.b1h(builderHead) : false) {
|
|
4345
4345
|
builder.m1g();
|
|
4346
4346
|
return builderSize;
|
|
4347
4347
|
}
|
|
@@ -4431,7 +4431,7 @@
|
|
|
4431
4431
|
if (this.e1i_1.h16_1.atomicfu$compareAndSet(null, this.h1i_1) ? this.f1i_1() : false) {
|
|
4432
4432
|
this.g1i_1 = true;
|
|
4433
4433
|
this.xc_1 = 1;
|
|
4434
|
-
suspendResult = this.h1i_1.
|
|
4434
|
+
suspendResult = this.h1i_1.ds(this);
|
|
4435
4435
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4436
4436
|
return suspendResult;
|
|
4437
4437
|
}
|
|
@@ -4474,7 +4474,7 @@
|
|
|
4474
4474
|
if (tmp0_safe_receiver == null)
|
|
4475
4475
|
null;
|
|
4476
4476
|
else
|
|
4477
|
-
tmp0_safe_receiver.
|
|
4477
|
+
tmp0_safe_receiver.cs();
|
|
4478
4478
|
};
|
|
4479
4479
|
protoOf(AwaitingSlot).b1d = function (cause) {
|
|
4480
4480
|
var tmp0_elvis_lhs = this.h16_1.atomicfu$getAndSet(null);
|
|
@@ -4486,9 +4486,9 @@
|
|
|
4486
4486
|
}
|
|
4487
4487
|
var continuation = tmp;
|
|
4488
4488
|
if (!(cause == null)) {
|
|
4489
|
-
continuation.
|
|
4489
|
+
continuation.bs(cause);
|
|
4490
4490
|
} else {
|
|
4491
|
-
continuation.
|
|
4491
|
+
continuation.cs();
|
|
4492
4492
|
}
|
|
4493
4493
|
};
|
|
4494
4494
|
function copyToSequentialImpl(_this__u8e3s4, dst, limit, $completion) {
|
|
@@ -4523,7 +4523,7 @@
|
|
|
4523
4523
|
}
|
|
4524
4524
|
|
|
4525
4525
|
if (!(this.a1j_1.c17() == null)) {
|
|
4526
|
-
this.b1j_1.
|
|
4526
|
+
this.b1j_1.s10(this.a1j_1.c17());
|
|
4527
4527
|
return new Long(0, 0);
|
|
4528
4528
|
}
|
|
4529
4529
|
|
|
@@ -4731,7 +4731,7 @@
|
|
|
4731
4731
|
}
|
|
4732
4732
|
protoOf(NoPoolImpl).d1g = function (instance) {
|
|
4733
4733
|
};
|
|
4734
|
-
protoOf(NoPoolImpl).
|
|
4734
|
+
protoOf(NoPoolImpl).jp = function () {
|
|
4735
4735
|
};
|
|
4736
4736
|
function ByteChannel(autoFlush) {
|
|
4737
4737
|
autoFlush = autoFlush === VOID ? false : autoFlush;
|
|
@@ -4777,7 +4777,7 @@
|
|
|
4777
4777
|
this$0.n1k_1 = null;
|
|
4778
4778
|
var tmp;
|
|
4779
4779
|
if (!(cause == null)) {
|
|
4780
|
-
this$0.
|
|
4780
|
+
this$0.ar(unwrapCancellationException(cause));
|
|
4781
4781
|
tmp = Unit_instance;
|
|
4782
4782
|
}
|
|
4783
4783
|
return Unit_instance;
|
|
@@ -4792,10 +4792,10 @@
|
|
|
4792
4792
|
if (tmp0_safe_receiver == null)
|
|
4793
4793
|
null;
|
|
4794
4794
|
else {
|
|
4795
|
-
tmp0_safe_receiver.
|
|
4795
|
+
tmp0_safe_receiver.qn();
|
|
4796
4796
|
}
|
|
4797
4797
|
this.n1k_1 = job;
|
|
4798
|
-
job.
|
|
4798
|
+
job.mn(true, VOID, ByteChannelJS$attachJob$lambda(this));
|
|
4799
4799
|
};
|
|
4800
4800
|
protoOf(ByteChannelJS).toString = function () {
|
|
4801
4801
|
return 'ByteChannel[' + this.n1k_1 + ', ' + hashCode(this) + ']';
|
|
@@ -4805,7 +4805,7 @@
|
|
|
4805
4805
|
var this_0 = new ByteChannelJS(Companion_getInstance_4().p1c_1, false);
|
|
4806
4806
|
// Inline function 'kotlin.contracts.contract' call
|
|
4807
4807
|
// Inline function 'io.ktor.utils.io.Companion.Empty$delegate.<anonymous>.<anonymous>' call
|
|
4808
|
-
this_0.
|
|
4808
|
+
this_0.s10(null);
|
|
4809
4809
|
return this_0;
|
|
4810
4810
|
}
|
|
4811
4811
|
function Companion_3() {
|
|
@@ -6015,7 +6015,7 @@
|
|
|
6015
6015
|
} catch ($p) {
|
|
6016
6016
|
if ($p instanceof Error) {
|
|
6017
6017
|
var t = $p;
|
|
6018
|
-
builder.
|
|
6018
|
+
builder.js();
|
|
6019
6019
|
throw t;
|
|
6020
6020
|
} else {
|
|
6021
6021
|
throw $p;
|
|
@@ -6096,7 +6096,7 @@
|
|
|
6096
6096
|
this.t1f_1[tmp1] = instance;
|
|
6097
6097
|
}
|
|
6098
6098
|
};
|
|
6099
|
-
protoOf(DefaultPool).
|
|
6099
|
+
protoOf(DefaultPool).jp = function () {
|
|
6100
6100
|
var inductionVariable = 0;
|
|
6101
6101
|
var last = this.u1f_1;
|
|
6102
6102
|
if (inductionVariable < last)
|
|
@@ -6113,12 +6113,12 @@
|
|
|
6113
6113
|
};
|
|
6114
6114
|
//region block: post-declaration
|
|
6115
6115
|
protoOf(ByteChannelSequentialBase).w1c = readRemaining$default;
|
|
6116
|
-
protoOf(ChannelJob).
|
|
6117
|
-
protoOf(ChannelJob).
|
|
6118
|
-
protoOf(DefaultPool).
|
|
6119
|
-
protoOf(ChunkBuffer$Companion$Pool$1).
|
|
6120
|
-
protoOf(ChunkBuffer$Companion$EmptyPool$1).
|
|
6121
|
-
protoOf(NoPoolImpl).
|
|
6116
|
+
protoOf(ChannelJob).qn = cancel$default;
|
|
6117
|
+
protoOf(ChannelJob).mn = invokeOnCompletion$default;
|
|
6118
|
+
protoOf(DefaultPool).w13 = close;
|
|
6119
|
+
protoOf(ChunkBuffer$Companion$Pool$1).w13 = close;
|
|
6120
|
+
protoOf(ChunkBuffer$Companion$EmptyPool$1).w13 = close;
|
|
6121
|
+
protoOf(NoPoolImpl).w13 = close;
|
|
6122
6122
|
//endregion
|
|
6123
6123
|
//region block: init
|
|
6124
6124
|
Companion_instance = new Companion();
|