@attocash/cli 0.2.2 → 0.3.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 +157 -5
- package/dist/application/app.d.ts +34 -3
- package/dist/application/app.js +142 -125
- package/dist/application/operations.d.ts +3 -0
- package/dist/application/operations.js +30 -8
- package/dist/cli/cli.d.ts +1 -0
- package/dist/cli/cli.js +101 -13
- package/dist/cli/onboarding.d.ts +13 -0
- package/dist/cli/onboarding.js +99 -2
- package/dist/cli/output.js +18 -2
- package/dist/doctor/profile.js +2 -1
- package/dist/internal-marketplace.d.ts +25 -0
- package/dist/internal-marketplace.js +50 -0
- package/dist/marketplace/approval-files.d.ts +3 -0
- package/dist/marketplace/approval-files.js +97 -0
- package/dist/marketplace/approval-preview.d.ts +2 -0
- package/dist/marketplace/approval-preview.js +86 -0
- package/dist/marketplace/proof-approval.d.ts +82 -0
- package/dist/marketplace/proof-approval.js +671 -0
- package/dist/marketplace/topups.d.ts +82 -0
- package/dist/marketplace/topups.js +485 -0
- package/dist/network/batching.d.ts +2 -0
- package/dist/network/batching.js +23 -0
- package/dist/network/entry.d.ts +2 -0
- package/dist/network/entry.js +35 -0
- package/dist/network/reader.d.ts +2 -0
- package/dist/network/reader.js +125 -37
- package/dist/spending/approval.d.ts +35 -0
- package/dist/spending/approval.js +25 -0
- package/dist/spending/atto-x402.d.ts +31 -0
- package/dist/spending/atto-x402.js +174 -0
- package/dist/spending/ledger.d.ts +74 -2
- package/dist/spending/ledger.js +298 -7
- package/dist/spending/payments.d.ts +105 -5
- package/dist/spending/payments.js +795 -11
- package/dist/storage/recovery-seed.d.ts +13 -0
- package/dist/storage/recovery-seed.js +93 -0
- package/dist/storage/state.d.ts +4 -0
- package/dist/storage/state.js +32 -2
- package/dist/wallet/receive.d.ts +39 -0
- package/dist/wallet/receive.js +264 -0
- package/dist/wallet/signing.d.ts +1 -0
- package/dist/wallet/signing.js +37 -21
- package/dist/wallet/types.d.ts +1 -0
- package/node_modules/@attocash/commons-core/Kotlin-DateTime-library-kotlinx-datetime.mjs +1922 -1918
- package/node_modules/@attocash/commons-core/Kotlin-DateTime-library-kotlinx-datetime.mjs.map +1 -1
- package/node_modules/@attocash/commons-core/README.md +9 -0
- package/node_modules/@attocash/commons-core/commons-commons-core.d.mts +10 -0
- package/node_modules/@attocash/commons-core/commons-commons-core.mjs +2543 -2434
- package/node_modules/@attocash/commons-core/commons-commons-core.mjs.map +1 -1
- package/node_modules/@attocash/commons-core/kotlin-kotlin-stdlib.mjs +4695 -4227
- package/node_modules/@attocash/commons-core/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/node_modules/@attocash/commons-core/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs.map +1 -1
- package/node_modules/@attocash/commons-core/kotlinx-io-kotlinx-io-bytestring.mjs +60 -60
- package/node_modules/@attocash/commons-core/kotlinx-io-kotlinx-io-bytestring.mjs.map +1 -1
- package/node_modules/@attocash/commons-core/kotlinx-io-kotlinx-io-core.mjs +651 -631
- package/node_modules/@attocash/commons-core/kotlinx-io-kotlinx-io-core.mjs.map +1 -1
- package/node_modules/@attocash/commons-core/kotlinx-serialization-kotlinx-serialization-core.mjs +2294 -2295
- package/node_modules/@attocash/commons-core/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
- package/node_modules/@attocash/commons-core/kotlinx-serialization-kotlinx-serialization-json.mjs +1732 -1701
- package/node_modules/@attocash/commons-core/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
- package/node_modules/@attocash/commons-core/package.json +1 -1
- package/node_modules/@attocash/commons-node/commons-commons-node.d.mts +1 -0
- package/node_modules/@attocash/commons-node/commons-commons-node.mjs +873 -847
- package/node_modules/@attocash/commons-node/commons-commons-node.mjs.map +1 -1
- package/node_modules/@attocash/commons-node/kotlin-logging.mjs +109 -109
- package/node_modules/@attocash/commons-node/kotlin-logging.mjs.map +1 -1
- package/node_modules/@attocash/commons-node/kotlinx-serialization-kotlinx-serialization-json.mjs +1732 -1701
- package/node_modules/@attocash/commons-node/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
- package/node_modules/@attocash/commons-node/package.json +3 -3
- package/node_modules/@attocash/commons-node-remote/commons-commons-node-remote.d.mts +1 -0
- package/node_modules/@attocash/commons-node-remote/commons-commons-node-remote.mjs +674 -640
- package/node_modules/@attocash/commons-node-remote/commons-commons-node-remote.mjs.map +1 -1
- package/node_modules/@attocash/commons-node-remote/kotlin-logging.mjs +109 -109
- package/node_modules/@attocash/commons-node-remote/kotlin-logging.mjs.map +1 -1
- package/node_modules/@attocash/commons-node-remote/kotlinx-browser.mjs.map +1 -1
- package/node_modules/@attocash/commons-node-remote/kotlinx-serialization-kotlinx-serialization-json-io.mjs.map +1 -1
- package/node_modules/@attocash/commons-node-remote/kotlinx-serialization-kotlinx-serialization-json.mjs +1732 -1701
- package/node_modules/@attocash/commons-node-remote/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
- package/node_modules/@attocash/commons-node-remote/package.json +4 -4
- package/node_modules/@attocash/commons-transport/commons-commons-transport.d.mts +1 -0
- package/node_modules/@attocash/commons-transport/commons-commons-transport.mjs +52 -51
- package/node_modules/@attocash/commons-transport/commons-commons-transport.mjs.map +1 -1
- package/node_modules/@attocash/commons-transport/kotlinx-atomicfu.mjs +13 -13
- package/node_modules/@attocash/commons-transport/kotlinx-atomicfu.mjs.map +1 -1
- package/node_modules/@attocash/commons-transport/kotlinx-browser.mjs.map +1 -1
- package/node_modules/@attocash/commons-transport/kotlinx-coroutines-core.mjs +2639 -2608
- package/node_modules/@attocash/commons-transport/kotlinx-coroutines-core.mjs.map +1 -1
- package/node_modules/@attocash/commons-transport/kotlinx-serialization-kotlinx-serialization-json-io.mjs.map +1 -1
- package/node_modules/@attocash/commons-transport/kotlinx-serialization-kotlinx-serialization-json.mjs +1732 -1701
- package/node_modules/@attocash/commons-transport/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
- package/node_modules/@attocash/commons-transport/ktor-ktor-client-content-negotiation.mjs +411 -196
- package/node_modules/@attocash/commons-transport/ktor-ktor-client-content-negotiation.mjs.map +1 -1
- package/node_modules/@attocash/commons-transport/ktor-ktor-client-core.mjs +2115 -1976
- package/node_modules/@attocash/commons-transport/ktor-ktor-client-core.mjs.map +1 -1
- package/node_modules/@attocash/commons-transport/ktor-ktor-events.mjs +7 -7
- package/node_modules/@attocash/commons-transport/ktor-ktor-events.mjs.map +1 -1
- package/node_modules/@attocash/commons-transport/ktor-ktor-http-cio.mjs +385 -384
- package/node_modules/@attocash/commons-transport/ktor-ktor-http-cio.mjs.map +1 -1
- package/node_modules/@attocash/commons-transport/ktor-ktor-http.mjs +1261 -1185
- package/node_modules/@attocash/commons-transport/ktor-ktor-http.mjs.map +1 -1
- package/node_modules/@attocash/commons-transport/ktor-ktor-io.mjs +668 -656
- package/node_modules/@attocash/commons-transport/ktor-ktor-io.mjs.map +1 -1
- package/node_modules/@attocash/commons-transport/ktor-ktor-openapi-schema.mjs +89 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-openapi-schema.mjs.map +1 -0
- package/node_modules/@attocash/commons-transport/ktor-ktor-serialization-kotlinx-json.mjs +9 -9
- package/node_modules/@attocash/commons-transport/ktor-ktor-serialization-kotlinx-json.mjs.map +1 -1
- package/node_modules/@attocash/commons-transport/ktor-ktor-serialization-kotlinx.mjs +120 -128
- package/node_modules/@attocash/commons-transport/ktor-ktor-serialization-kotlinx.mjs.map +1 -1
- package/node_modules/@attocash/commons-transport/ktor-ktor-serialization.mjs +46 -49
- package/node_modules/@attocash/commons-transport/ktor-ktor-serialization.mjs.map +1 -1
- package/node_modules/@attocash/commons-transport/ktor-ktor-sse.mjs.map +1 -1
- package/node_modules/@attocash/commons-transport/ktor-ktor-utils.mjs +1041 -985
- package/node_modules/@attocash/commons-transport/ktor-ktor-utils.mjs.map +1 -1
- package/node_modules/@attocash/commons-transport/ktor-ktor-websocket-serialization.mjs.map +1 -1
- package/node_modules/@attocash/commons-transport/ktor-ktor-websockets.mjs +530 -455
- package/node_modules/@attocash/commons-transport/ktor-ktor-websockets.mjs.map +1 -1
- package/node_modules/@attocash/commons-transport/package.json +4 -4
- package/node_modules/@attocash/commons-worker/commons-commons-worker.d.mts +1 -0
- package/node_modules/@attocash/commons-worker/commons-commons-worker.mjs +230 -226
- package/node_modules/@attocash/commons-worker/commons-commons-worker.mjs.map +1 -1
- package/node_modules/@attocash/commons-worker/kotlin-logging.mjs +109 -109
- package/node_modules/@attocash/commons-worker/kotlin-logging.mjs.map +1 -1
- package/node_modules/@attocash/commons-worker/kotlinx-serialization-kotlinx-serialization-json.mjs +1732 -1701
- package/node_modules/@attocash/commons-worker/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
- package/node_modules/@attocash/commons-worker/package.json +3 -3
- package/node_modules/@attocash/commons-worker-remote/commons-commons-worker-remote.d.mts +1 -0
- package/node_modules/@attocash/commons-worker-remote/commons-commons-worker-remote.mjs +91 -86
- package/node_modules/@attocash/commons-worker-remote/commons-commons-worker-remote.mjs.map +1 -1
- package/node_modules/@attocash/commons-worker-remote/kotlin-logging.mjs +109 -109
- package/node_modules/@attocash/commons-worker-remote/kotlin-logging.mjs.map +1 -1
- package/node_modules/@attocash/commons-worker-remote/kotlinx-browser.mjs.map +1 -1
- package/node_modules/@attocash/commons-worker-remote/kotlinx-serialization-kotlinx-serialization-json-io.mjs.map +1 -1
- package/node_modules/@attocash/commons-worker-remote/kotlinx-serialization-kotlinx-serialization-json.mjs +1732 -1701
- package/node_modules/@attocash/commons-worker-remote/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
- package/node_modules/@attocash/commons-worker-remote/package.json +4 -4
- package/package.json +9 -5
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
PrimitiveClasses_getInstance13wbaztpz3e2d as PrimitiveClasses_getInstance,
|
|
3
3
|
arrayOf1akklvh2at202 as arrayOf,
|
|
4
4
|
createKType31ecntyyaay3k as createKType,
|
|
5
|
-
|
|
5
|
+
Unit_instance3kz1zqli6gr1r as Unit_instance,
|
|
6
6
|
VOID3gxj6tk5isa35 as VOID,
|
|
7
7
|
isBlank1dvkhjjvox3p0 as isBlank,
|
|
8
8
|
IllegalArgumentException2asla15b5jaob as IllegalArgumentException,
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
NoSuchElementException679xzhnp5bpj as NoSuchElementException,
|
|
16
16
|
ensureNotNull1e947j3ixpazm as ensureNotNull,
|
|
17
17
|
charCodeAt1yspne1d8erbm as charCodeAt,
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
toString1n9qg6fb0b5i8 as toString_0,
|
|
19
|
+
Char__toInt_impl_vasixd28v1p2u6jau5g as Char__toInt_impl_vasixd,
|
|
20
20
|
equals2v6cggk171b6e as equals,
|
|
21
21
|
AbstractMutableSetthfi6jds1k2h as AbstractMutableSet,
|
|
22
22
|
UnsupportedOperationException2tkumpmhredt3 as UnsupportedOperationException,
|
|
23
23
|
AbstractMutableCollections0bg6c40ztuj as AbstractMutableCollection,
|
|
24
24
|
MutableEntry12w2i19w0igk5 as MutableEntry,
|
|
25
25
|
isInterface3d6p8outrmvmk as isInterface,
|
|
26
|
-
Entry2xmjmyutzoq3p as Entry,
|
|
27
26
|
equals2au1ep9vhcato as equals_0,
|
|
27
|
+
Entry2xmjmyutzoq3p as Entry,
|
|
28
28
|
hashCodeq5arwsb9dgti as hashCode,
|
|
29
29
|
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
|
|
30
30
|
fill3hcjvebk42tyx as fill,
|
|
@@ -52,15 +52,17 @@ import {
|
|
|
52
52
|
charSequenceGet1vxk1y5n17t1z as charSequenceGet,
|
|
53
53
|
StringBuildermazzzhj6kkai as StringBuilder,
|
|
54
54
|
get_lastIndexld83bqhfgcdd as get_lastIndex,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
_Char___init__impl__6a9atxrzocepzq3zgi as _Char___init__impl__6a9atx,
|
|
56
|
+
Char__plus_impl_qi7pgj12gj4qbkhmj1y as Char__plus_impl_qi7pgj,
|
|
57
|
+
LazyThreadSafetyMode_PUBLICATION_getInstance23f213579at67 as LazyThreadSafetyMode_PUBLICATION_getInstance,
|
|
58
58
|
lazy1261dae0bgscp as lazy,
|
|
59
59
|
compareTo3ankvs086tmwq as compareTo,
|
|
60
60
|
getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode,
|
|
61
61
|
createThis2j2avj17cvnv2 as createThis,
|
|
62
62
|
Comparable198qfk8pnblz0 as Comparable,
|
|
63
|
+
Companion_instance13way2il9a8jt as Companion_instance,
|
|
63
64
|
enumEntries20mr21zbe3az4 as enumEntries,
|
|
65
|
+
$3l5vvh8yg0ier as $,
|
|
64
66
|
toMutableList20rdgwi7d3cwi as toMutableList,
|
|
65
67
|
KtMutableList1beimitadwkna as KtMutableList,
|
|
66
68
|
KMutableProperty11e8g1gb0ecb9j as KMutableProperty1,
|
|
@@ -73,14 +75,15 @@ import {
|
|
|
73
75
|
anyToString3ho3k49fc56mj as anyToString,
|
|
74
76
|
setPropertiesToThrowableInstance1w2jjvl9y77yc as setPropertiesToThrowableInstance,
|
|
75
77
|
captureStack1fzi4aczwc4hg as captureStack,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
+
Companion_instancejy2056q2ma5w as Companion_instance_0,
|
|
79
|
+
_Result___init__impl__xyqfz832zdzqrocazzs as _Result___init__impl__xyqfz8,
|
|
78
80
|
get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED,
|
|
79
81
|
createFailure8paxfkfa5dc7 as createFailure,
|
|
80
|
-
|
|
82
|
+
Key_instance3cnd8e28exiq6 as Key_instance,
|
|
81
83
|
intercepted2ogpsikxxj4u0 as intercepted,
|
|
82
|
-
|
|
84
|
+
Result__exceptionOrNull_impl_p6xea93txwfmg154xda as Result__exceptionOrNull_impl_p6xea9,
|
|
83
85
|
Continuation1aa2oekvx7jm7 as Continuation,
|
|
86
|
+
toString30pk9tzaqopn as toString_1,
|
|
84
87
|
KProperty1ca4yb4wlo496 as KProperty1,
|
|
85
88
|
lazy2hsh8ze7j6ikd as lazy_0,
|
|
86
89
|
toNumber2e2hj9zugjwi2 as toNumber,
|
|
@@ -89,14 +92,15 @@ import {
|
|
|
89
92
|
toList3jhuyej2anx2q as toList,
|
|
90
93
|
toHexString5bhtjxqec7ow as toHexString,
|
|
91
94
|
substringiqarkczpya5m as substring,
|
|
92
|
-
|
|
93
|
-
|
|
95
|
+
_Result___get_value__impl__bjfvqg9vwgdwmhxc4m as _Result___get_value__impl__bjfvqg,
|
|
96
|
+
_Result___get_isFailure__impl__jpiriv2yxkms7bg2hpm as _Result___get_isFailure__impl__jpiriv,
|
|
94
97
|
noWhenBranchMatchedException2a6r7ubxgky5j as noWhenBranchMatchedException,
|
|
95
98
|
startCoroutineUninterceptedOrReturnGeneratorVersion1r5yf56916wr4 as startCoroutineUninterceptedOrReturnGeneratorVersion,
|
|
99
|
+
orPromise1iucc2to2udt2 as orPromise,
|
|
96
100
|
} from '@attocash/commons-core/kotlin-kotlin-stdlib.mjs';
|
|
97
101
|
import {
|
|
98
102
|
SupervisorJobythnfxkr3jxc as SupervisorJob,
|
|
99
|
-
|
|
103
|
+
Key_instance27cl4xxdoduaj as Key_instance_0,
|
|
100
104
|
recoverStackTrace2i3si2i8nvw1k as recoverStackTrace,
|
|
101
105
|
CoroutineDispatcherizb7p9bijexj as CoroutineDispatcher,
|
|
102
106
|
} from './kotlinx-coroutines-core.mjs';
|
|
@@ -114,8 +118,8 @@ import {
|
|
|
114
118
|
createSimpleEnumSerializer2guioz11kk1m0 as createSimpleEnumSerializer,
|
|
115
119
|
PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor,
|
|
116
120
|
UnknownFieldExceptiona60e3a6v1xqo as UnknownFieldException,
|
|
117
|
-
|
|
118
|
-
|
|
121
|
+
IntSerializer_getInstance3jyhns9ue706g as IntSerializer_getInstance,
|
|
122
|
+
LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance,
|
|
119
123
|
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers,
|
|
120
124
|
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer,
|
|
121
125
|
throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException,
|
|
@@ -130,43 +134,44 @@ class AttributeKey {
|
|
|
130
134
|
var tmp;
|
|
131
135
|
if (type === VOID) {
|
|
132
136
|
// Inline function 'io.ktor.util.reflect.typeInfo' call
|
|
133
|
-
var tmp_0 = PrimitiveClasses_getInstance().
|
|
137
|
+
var tmp_0 = PrimitiveClasses_getInstance().get_anyClass_x0jl4l_k$();
|
|
138
|
+
var tmp_1 = !(null == null);
|
|
134
139
|
// Inline function 'io.ktor.util.reflect.typeOfOrNull' call
|
|
135
|
-
var
|
|
140
|
+
var tmp_2;
|
|
136
141
|
try {
|
|
137
|
-
|
|
142
|
+
tmp_2 = createKType(PrimitiveClasses_getInstance().get_anyClass_x0jl4l_k$(), arrayOf([]), false);
|
|
138
143
|
} catch ($p) {
|
|
139
|
-
var
|
|
144
|
+
var tmp_3;
|
|
140
145
|
if ($p instanceof Error) {
|
|
141
146
|
var _unused_var__etf5q3 = $p;
|
|
142
|
-
|
|
147
|
+
tmp_3 = null;
|
|
143
148
|
} else {
|
|
144
149
|
throw $p;
|
|
145
150
|
}
|
|
146
|
-
|
|
151
|
+
tmp_2 = tmp_3;
|
|
147
152
|
}
|
|
148
|
-
var tmp$ret$1 =
|
|
149
|
-
tmp = new TypeInfo(tmp_0, tmp$ret$1);
|
|
153
|
+
var tmp$ret$1 = tmp_2;
|
|
154
|
+
tmp = new TypeInfo(tmp_0, tmp_1, tmp$ret$1);
|
|
150
155
|
} else {
|
|
151
156
|
tmp = type;
|
|
152
157
|
}
|
|
153
158
|
type = tmp;
|
|
154
|
-
this.
|
|
155
|
-
this.
|
|
159
|
+
this.name_1 = name;
|
|
160
|
+
this.type_1 = type;
|
|
156
161
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
157
|
-
var this_0 = this.
|
|
162
|
+
var this_0 = this.name_1;
|
|
158
163
|
// Inline function 'kotlin.require' call
|
|
159
164
|
if (!!isBlank(this_0)) {
|
|
160
165
|
var message = "Name can't be blank";
|
|
161
|
-
throw IllegalArgumentException.
|
|
166
|
+
throw IllegalArgumentException.new_kotlin_IllegalArgumentException_sfqr8_k$(toString(message));
|
|
162
167
|
}
|
|
163
168
|
}
|
|
164
169
|
toString() {
|
|
165
|
-
return 'AttributeKey: ' + this.
|
|
170
|
+
return 'AttributeKey: ' + this.name_1;
|
|
166
171
|
}
|
|
167
172
|
hashCode() {
|
|
168
|
-
var result = getStringHashCode(this.
|
|
169
|
-
result = imul(result, 31) + this.
|
|
173
|
+
var result = getStringHashCode(this.name_1);
|
|
174
|
+
result = imul(result, 31) + this.type_1.hashCode() | 0;
|
|
170
175
|
return result;
|
|
171
176
|
}
|
|
172
177
|
equals(other) {
|
|
@@ -174,322 +179,332 @@ class AttributeKey {
|
|
|
174
179
|
return true;
|
|
175
180
|
if (!(other instanceof AttributeKey))
|
|
176
181
|
return false;
|
|
177
|
-
if (!(this.
|
|
182
|
+
if (!(this.name_1 === other.name_1))
|
|
178
183
|
return false;
|
|
179
|
-
if (!this.
|
|
184
|
+
if (!this.type_1.equals(other.type_1))
|
|
180
185
|
return false;
|
|
181
186
|
return true;
|
|
182
187
|
}
|
|
183
188
|
}
|
|
184
189
|
class Attributes {}
|
|
185
190
|
function get(key) {
|
|
186
|
-
var tmp0_elvis_lhs = this.
|
|
191
|
+
var tmp0_elvis_lhs = this.getOrNull_6mjt1v_k$(key);
|
|
187
192
|
var tmp;
|
|
188
193
|
if (tmp0_elvis_lhs == null) {
|
|
189
|
-
throw IllegalStateException.
|
|
194
|
+
throw IllegalStateException.new_kotlin_IllegalStateException_w47ei6_k$('No instance for key ' + key.toString());
|
|
190
195
|
} else {
|
|
191
196
|
tmp = tmp0_elvis_lhs;
|
|
192
197
|
}
|
|
193
198
|
return tmp;
|
|
194
199
|
}
|
|
195
200
|
function set(key, value) {
|
|
196
|
-
this.
|
|
201
|
+
this.put_gkntno_k$(key, value);
|
|
197
202
|
}
|
|
198
203
|
class CaseInsensitiveMap$KeySet$iterator$1 {
|
|
199
204
|
constructor(this$0) {
|
|
200
|
-
this.
|
|
201
|
-
this.
|
|
202
|
-
this.
|
|
205
|
+
this.this$0__1 = this$0;
|
|
206
|
+
this.orderIndex_1 = 0;
|
|
207
|
+
this.lastKey_1 = null;
|
|
203
208
|
advance(this);
|
|
204
209
|
}
|
|
205
|
-
|
|
206
|
-
return this.
|
|
210
|
+
hasNext_bitz1p_k$() {
|
|
211
|
+
return this.orderIndex_1 < this.this$0__1.insertionCount_1;
|
|
207
212
|
}
|
|
208
|
-
|
|
209
|
-
if (!this.
|
|
210
|
-
throw NoSuchElementException.
|
|
211
|
-
var idx = this.
|
|
212
|
-
this.
|
|
213
|
-
this.
|
|
213
|
+
next_20eer_k$() {
|
|
214
|
+
if (!this.hasNext_bitz1p_k$())
|
|
215
|
+
throw NoSuchElementException.new_kotlin_NoSuchElementException_wy3d4q_k$();
|
|
216
|
+
var idx = this.this$0__1.insertionOrder_1[this.orderIndex_1];
|
|
217
|
+
this.lastKey_1 = ensureNotNull(this.this$0__1.keyStorage_1[idx]);
|
|
218
|
+
this.orderIndex_1 = this.orderIndex_1 + 1 | 0;
|
|
214
219
|
advance(this);
|
|
215
|
-
return ensureNotNull(this.
|
|
220
|
+
return ensureNotNull(this.lastKey_1);
|
|
216
221
|
}
|
|
217
|
-
|
|
218
|
-
var tmp0_elvis_lhs = this.
|
|
222
|
+
remove_ldkf9o_k$() {
|
|
223
|
+
var tmp0_elvis_lhs = this.lastKey_1;
|
|
219
224
|
var tmp;
|
|
220
225
|
if (tmp0_elvis_lhs == null) {
|
|
221
|
-
throw IllegalStateException.
|
|
226
|
+
throw IllegalStateException.new_kotlin_IllegalStateException_w47ei6_k$('next() must be called before remove()');
|
|
222
227
|
} else {
|
|
223
228
|
tmp = tmp0_elvis_lhs;
|
|
224
229
|
}
|
|
225
230
|
var key = tmp;
|
|
226
|
-
this.
|
|
227
|
-
this.
|
|
231
|
+
this.this$0__1.remove_z05dva_k$(key);
|
|
232
|
+
this.lastKey_1 = null;
|
|
228
233
|
}
|
|
229
234
|
}
|
|
230
235
|
class CaseInsensitiveMap$ValueCollection$iterator$1 {
|
|
231
236
|
constructor(this$0) {
|
|
232
|
-
this.
|
|
233
|
-
this.
|
|
234
|
-
this.
|
|
237
|
+
this.this$0__1 = this$0;
|
|
238
|
+
this.orderIndex_1 = 0;
|
|
239
|
+
this.lastKey_1 = null;
|
|
235
240
|
advance_0(this);
|
|
236
241
|
}
|
|
237
|
-
|
|
238
|
-
return this.
|
|
242
|
+
hasNext_bitz1p_k$() {
|
|
243
|
+
return this.orderIndex_1 < this.this$0__1.insertionCount_1;
|
|
239
244
|
}
|
|
240
|
-
|
|
241
|
-
if (!this.
|
|
242
|
-
throw NoSuchElementException.
|
|
243
|
-
var idx = this.
|
|
244
|
-
this.
|
|
245
|
-
var tmp = this.
|
|
245
|
+
next_20eer_k$() {
|
|
246
|
+
if (!this.hasNext_bitz1p_k$())
|
|
247
|
+
throw NoSuchElementException.new_kotlin_NoSuchElementException_wy3d4q_k$();
|
|
248
|
+
var idx = this.this$0__1.insertionOrder_1[this.orderIndex_1];
|
|
249
|
+
this.lastKey_1 = ensureNotNull(this.this$0__1.keyStorage_1[idx]);
|
|
250
|
+
var tmp = this.this$0__1.valueStorage_1[idx];
|
|
246
251
|
var result = !(tmp == null) ? tmp : THROW_CCE();
|
|
247
|
-
this.
|
|
252
|
+
this.orderIndex_1 = this.orderIndex_1 + 1 | 0;
|
|
248
253
|
advance_0(this);
|
|
249
254
|
return result;
|
|
250
255
|
}
|
|
251
|
-
|
|
252
|
-
var tmp0_elvis_lhs = this.
|
|
256
|
+
remove_ldkf9o_k$() {
|
|
257
|
+
var tmp0_elvis_lhs = this.lastKey_1;
|
|
253
258
|
var tmp;
|
|
254
259
|
if (tmp0_elvis_lhs == null) {
|
|
255
|
-
throw IllegalStateException.
|
|
260
|
+
throw IllegalStateException.new_kotlin_IllegalStateException_w47ei6_k$('next() must be called before remove()');
|
|
256
261
|
} else {
|
|
257
262
|
tmp = tmp0_elvis_lhs;
|
|
258
263
|
}
|
|
259
264
|
var key = tmp;
|
|
260
|
-
this.
|
|
261
|
-
this.
|
|
265
|
+
this.this$0__1.remove_z05dva_k$(key);
|
|
266
|
+
this.lastKey_1 = null;
|
|
262
267
|
}
|
|
263
268
|
}
|
|
264
269
|
class CaseInsensitiveMap$EntrySet$iterator$1 {
|
|
265
270
|
constructor(this$0) {
|
|
266
|
-
this.
|
|
267
|
-
this.
|
|
268
|
-
this.
|
|
271
|
+
this.this$0__1 = this$0;
|
|
272
|
+
this.orderIndex_1 = 0;
|
|
273
|
+
this.lastKey_1 = null;
|
|
269
274
|
advance_1(this);
|
|
270
275
|
}
|
|
271
|
-
|
|
272
|
-
return this.
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
if (!this.
|
|
276
|
-
throw NoSuchElementException.
|
|
277
|
-
var idx = this.
|
|
278
|
-
this.
|
|
279
|
-
var tmp = ensureNotNull(this.
|
|
280
|
-
var tmp_0 = this.
|
|
281
|
-
var entry = new MapEntry(this.
|
|
282
|
-
this.
|
|
276
|
+
hasNext_bitz1p_k$() {
|
|
277
|
+
return this.orderIndex_1 < this.this$0__1.insertionCount_1;
|
|
278
|
+
}
|
|
279
|
+
next_20eer_k$() {
|
|
280
|
+
if (!this.hasNext_bitz1p_k$())
|
|
281
|
+
throw NoSuchElementException.new_kotlin_NoSuchElementException_wy3d4q_k$();
|
|
282
|
+
var idx = this.this$0__1.insertionOrder_1[this.orderIndex_1];
|
|
283
|
+
this.lastKey_1 = ensureNotNull(this.this$0__1.keyStorage_1[idx]);
|
|
284
|
+
var tmp = ensureNotNull(this.lastKey_1);
|
|
285
|
+
var tmp_0 = this.this$0__1.valueStorage_1[idx];
|
|
286
|
+
var entry = new MapEntry(this.this$0__1, tmp, !(tmp_0 == null) ? tmp_0 : THROW_CCE());
|
|
287
|
+
this.orderIndex_1 = this.orderIndex_1 + 1 | 0;
|
|
283
288
|
advance_1(this);
|
|
284
289
|
return entry;
|
|
285
290
|
}
|
|
286
|
-
|
|
287
|
-
var tmp0_elvis_lhs = this.
|
|
291
|
+
remove_ldkf9o_k$() {
|
|
292
|
+
var tmp0_elvis_lhs = this.lastKey_1;
|
|
288
293
|
var tmp;
|
|
289
294
|
if (tmp0_elvis_lhs == null) {
|
|
290
|
-
throw IllegalStateException.
|
|
295
|
+
throw IllegalStateException.new_kotlin_IllegalStateException_w47ei6_k$('next() must be called before remove()');
|
|
291
296
|
} else {
|
|
292
297
|
tmp = tmp0_elvis_lhs;
|
|
293
298
|
}
|
|
294
299
|
var key = tmp;
|
|
295
|
-
this.
|
|
296
|
-
this.
|
|
300
|
+
this.this$0__1.remove_z05dva_k$(key);
|
|
301
|
+
this.lastKey_1 = null;
|
|
297
302
|
}
|
|
298
303
|
}
|
|
299
304
|
class KeySet extends AbstractMutableSet {
|
|
300
305
|
constructor($outer) {
|
|
301
|
-
return new.target.
|
|
306
|
+
return new.target.new_io_ktor_util_CaseInsensitiveMap_KeySet_wzuxad_k$($outer);
|
|
302
307
|
}
|
|
303
|
-
static
|
|
308
|
+
static new_io_ktor_util_CaseInsensitiveMap_KeySet_wzuxad_k$($outer, $box) {
|
|
304
309
|
if ($box === VOID)
|
|
305
310
|
$box = {};
|
|
306
|
-
$box
|
|
307
|
-
return this.
|
|
311
|
+
$box.$this_1 = $outer;
|
|
312
|
+
return this.new_kotlin_collections_AbstractMutableSet_hvoaax_k$($box);
|
|
308
313
|
}
|
|
309
|
-
|
|
310
|
-
return this.
|
|
314
|
+
get_size_woubt6_k$() {
|
|
315
|
+
return this.$this_1._size_1;
|
|
311
316
|
}
|
|
312
|
-
|
|
313
|
-
throw UnsupportedOperationException.
|
|
317
|
+
add_2lb1a1_k$(element) {
|
|
318
|
+
throw UnsupportedOperationException.new_kotlin_UnsupportedOperationException_chzcdl_k$('CaseInsensitiveMap.keys does not support add');
|
|
314
319
|
}
|
|
315
|
-
|
|
316
|
-
return this.
|
|
320
|
+
add_utx5q5_k$(element) {
|
|
321
|
+
return this.add_2lb1a1_k$((!(element == null) ? typeof element === 'string' : false) ? element : THROW_CCE());
|
|
317
322
|
}
|
|
318
|
-
|
|
319
|
-
return this.
|
|
323
|
+
contains_zh0gsb_k$(element) {
|
|
324
|
+
return this.$this_1.containsKey_w445h6_k$(element);
|
|
320
325
|
}
|
|
321
|
-
|
|
326
|
+
contains_aljjnj_k$(element) {
|
|
322
327
|
if (!(!(element == null) ? typeof element === 'string' : false))
|
|
323
328
|
return false;
|
|
324
|
-
return this.
|
|
329
|
+
return this.contains_zh0gsb_k$((!(element == null) ? typeof element === 'string' : false) ? element : THROW_CCE());
|
|
325
330
|
}
|
|
326
|
-
|
|
327
|
-
return !(this.
|
|
331
|
+
remove_z05dva_k$(element) {
|
|
332
|
+
return !(this.$this_1.remove_z05dva_k$(element) == null);
|
|
328
333
|
}
|
|
329
|
-
|
|
334
|
+
remove_cedx0m_k$(element) {
|
|
330
335
|
if (!(!(element == null) ? typeof element === 'string' : false))
|
|
331
336
|
return false;
|
|
332
|
-
return this.
|
|
337
|
+
return this.remove_z05dva_k$((!(element == null) ? typeof element === 'string' : false) ? element : THROW_CCE());
|
|
333
338
|
}
|
|
334
|
-
|
|
335
|
-
return new CaseInsensitiveMap$KeySet$iterator$1(this
|
|
339
|
+
iterator_jk1svi_k$() {
|
|
340
|
+
return new CaseInsensitiveMap$KeySet$iterator$1(this.$this_1);
|
|
336
341
|
}
|
|
337
342
|
}
|
|
338
343
|
class ValueCollection extends AbstractMutableCollection {
|
|
339
344
|
constructor($outer) {
|
|
340
|
-
return new.target.
|
|
345
|
+
return new.target.new_io_ktor_util_CaseInsensitiveMap_ValueCollection_bv2pht_k$($outer);
|
|
341
346
|
}
|
|
342
|
-
static
|
|
347
|
+
static new_io_ktor_util_CaseInsensitiveMap_ValueCollection_bv2pht_k$($outer, $box) {
|
|
343
348
|
if ($box === VOID)
|
|
344
349
|
$box = {};
|
|
345
|
-
$box
|
|
346
|
-
return this.
|
|
350
|
+
$box.$this_1 = $outer;
|
|
351
|
+
return this.new_kotlin_collections_AbstractMutableCollection_1gqjpn_k$($box);
|
|
347
352
|
}
|
|
348
|
-
|
|
349
|
-
return this.
|
|
353
|
+
get_size_woubt6_k$() {
|
|
354
|
+
return this.$this_1._size_1;
|
|
350
355
|
}
|
|
351
|
-
|
|
352
|
-
throw UnsupportedOperationException.
|
|
356
|
+
add_tulrhs_k$(element) {
|
|
357
|
+
throw UnsupportedOperationException.new_kotlin_UnsupportedOperationException_chzcdl_k$('CaseInsensitiveMap.values does not support add');
|
|
353
358
|
}
|
|
354
|
-
|
|
355
|
-
return this.
|
|
359
|
+
add_utx5q5_k$(element) {
|
|
360
|
+
return this.add_tulrhs_k$(!(element == null) ? element : THROW_CCE());
|
|
356
361
|
}
|
|
357
|
-
|
|
358
|
-
return new CaseInsensitiveMap$ValueCollection$iterator$1(this
|
|
362
|
+
iterator_jk1svi_k$() {
|
|
363
|
+
return new CaseInsensitiveMap$ValueCollection$iterator$1(this.$this_1);
|
|
359
364
|
}
|
|
360
365
|
}
|
|
361
366
|
class EntrySet extends AbstractMutableSet {
|
|
362
367
|
constructor($outer) {
|
|
363
|
-
return new.target.
|
|
368
|
+
return new.target.new_io_ktor_util_CaseInsensitiveMap_EntrySet_eor0t7_k$($outer);
|
|
364
369
|
}
|
|
365
|
-
static
|
|
370
|
+
static new_io_ktor_util_CaseInsensitiveMap_EntrySet_eor0t7_k$($outer, $box) {
|
|
366
371
|
if ($box === VOID)
|
|
367
372
|
$box = {};
|
|
368
|
-
$box
|
|
369
|
-
return this.
|
|
373
|
+
$box.$this_1 = $outer;
|
|
374
|
+
return this.new_kotlin_collections_AbstractMutableSet_hvoaax_k$($box);
|
|
370
375
|
}
|
|
371
|
-
|
|
372
|
-
return this.
|
|
376
|
+
get_size_woubt6_k$() {
|
|
377
|
+
return this.$this_1._size_1;
|
|
373
378
|
}
|
|
374
|
-
|
|
375
|
-
throw UnsupportedOperationException.
|
|
379
|
+
add_oz0yfa_k$(element) {
|
|
380
|
+
throw UnsupportedOperationException.new_kotlin_UnsupportedOperationException_chzcdl_k$('CaseInsensitiveMap.entries does not support add');
|
|
376
381
|
}
|
|
377
|
-
|
|
378
|
-
return this.
|
|
382
|
+
add_utx5q5_k$(element) {
|
|
383
|
+
return this.add_oz0yfa_k$((!(element == null) ? isInterface(element, MutableEntry) : false) ? element : THROW_CCE());
|
|
379
384
|
}
|
|
380
|
-
|
|
381
|
-
return new CaseInsensitiveMap$EntrySet$iterator$1(this
|
|
385
|
+
iterator_jk1svi_k$() {
|
|
386
|
+
return new CaseInsensitiveMap$EntrySet$iterator$1(this.$this_1);
|
|
382
387
|
}
|
|
383
388
|
}
|
|
384
389
|
class MapEntry {
|
|
385
390
|
constructor($outer, key, _value) {
|
|
386
|
-
this
|
|
387
|
-
this.
|
|
388
|
-
this.
|
|
391
|
+
this.$this_1 = $outer;
|
|
392
|
+
this.key_1 = key;
|
|
393
|
+
this._value_1 = _value;
|
|
389
394
|
}
|
|
390
|
-
|
|
391
|
-
return this.
|
|
395
|
+
get_key_18j28a_k$() {
|
|
396
|
+
return this.key_1;
|
|
392
397
|
}
|
|
393
|
-
|
|
394
|
-
return this.
|
|
398
|
+
get_value_j01efc_k$() {
|
|
399
|
+
return this._value_1;
|
|
395
400
|
}
|
|
396
401
|
equals(other) {
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
402
|
+
var tmp;
|
|
403
|
+
var tmp_0;
|
|
404
|
+
if (!(other == null) ? isInterface(other, Entry) : false) {
|
|
405
|
+
tmp_0 = equals_0(this.key_1, other.get_key_18j28a_k$());
|
|
406
|
+
} else {
|
|
407
|
+
tmp_0 = false;
|
|
408
|
+
}
|
|
409
|
+
if (tmp_0) {
|
|
410
|
+
tmp = equals_0(this.get_value_j01efc_k$(), other.get_value_j01efc_k$());
|
|
411
|
+
} else {
|
|
412
|
+
tmp = false;
|
|
413
|
+
}
|
|
414
|
+
return tmp;
|
|
400
415
|
}
|
|
401
416
|
hashCode() {
|
|
402
|
-
return getStringHashCode(this.
|
|
417
|
+
return getStringHashCode(this.key_1) ^ hashCode(this.get_value_j01efc_k$());
|
|
403
418
|
}
|
|
404
419
|
toString() {
|
|
405
|
-
return this.
|
|
420
|
+
return this.key_1 + '=' + toString(this.get_value_j01efc_k$());
|
|
406
421
|
}
|
|
407
422
|
}
|
|
408
423
|
class Companion {
|
|
409
424
|
constructor() {
|
|
410
|
-
|
|
411
|
-
this.
|
|
425
|
+
Companion_instance_1 = this;
|
|
426
|
+
this.INITIAL_CAPACITY_1 = 8;
|
|
412
427
|
var tmp = this;
|
|
413
428
|
// Inline function 'kotlin.emptyArray' call
|
|
414
|
-
tmp.
|
|
429
|
+
tmp.EMPTY_STRING_ARRAY_1 = [];
|
|
415
430
|
var tmp_0 = this;
|
|
416
431
|
// Inline function 'kotlin.emptyArray' call
|
|
417
|
-
tmp_0.
|
|
418
|
-
this.
|
|
432
|
+
tmp_0.EMPTY_ANY_ARRAY_1 = [];
|
|
433
|
+
this.EMPTY_INT_ARRAY_1 = new Int32Array(0);
|
|
419
434
|
}
|
|
420
435
|
}
|
|
421
436
|
class CaseInsensitiveMap {
|
|
422
437
|
constructor() {
|
|
423
438
|
Companion_getInstance();
|
|
424
|
-
this.
|
|
425
|
-
this.
|
|
426
|
-
this.
|
|
427
|
-
this.
|
|
428
|
-
this.
|
|
429
|
-
this.
|
|
430
|
-
this.
|
|
431
|
-
this.
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
return this.
|
|
435
|
-
}
|
|
436
|
-
|
|
439
|
+
this.keyStorage_1 = Companion_getInstance().EMPTY_STRING_ARRAY_1;
|
|
440
|
+
this.valueStorage_1 = Companion_getInstance().EMPTY_ANY_ARRAY_1;
|
|
441
|
+
this._size_1 = 0;
|
|
442
|
+
this.insertionOrder_1 = Companion_getInstance().EMPTY_INT_ARRAY_1;
|
|
443
|
+
this.insertionCount_1 = 0;
|
|
444
|
+
this.cachedKeySet_1 = null;
|
|
445
|
+
this.cachedEntrySet_1 = null;
|
|
446
|
+
this.cachedValueCollection_1 = null;
|
|
447
|
+
}
|
|
448
|
+
get_size_woubt6_k$() {
|
|
449
|
+
return this._size_1;
|
|
450
|
+
}
|
|
451
|
+
containsKey_w445h6_k$(key) {
|
|
437
452
|
return findIndex(this, key) >= 0;
|
|
438
453
|
}
|
|
439
|
-
|
|
454
|
+
containsKey_aw81wo_k$(key) {
|
|
440
455
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
441
456
|
return false;
|
|
442
|
-
return this.
|
|
457
|
+
return this.containsKey_w445h6_k$((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
443
458
|
}
|
|
444
|
-
|
|
445
|
-
if (this.
|
|
459
|
+
containsValue_600k0x_k$(value) {
|
|
460
|
+
if (this._size_1 === 0)
|
|
446
461
|
return false;
|
|
447
462
|
var inductionVariable = 0;
|
|
448
|
-
var last = this.
|
|
463
|
+
var last = this.valueStorage_1.length - 1 | 0;
|
|
449
464
|
if (inductionVariable <= last)
|
|
450
465
|
do {
|
|
451
466
|
var i = inductionVariable;
|
|
452
467
|
inductionVariable = inductionVariable + 1 | 0;
|
|
453
|
-
if (!(this.
|
|
468
|
+
if (!(this.keyStorage_1[i] == null) && equals_0(this.valueStorage_1[i], value))
|
|
454
469
|
return true;
|
|
455
470
|
}
|
|
456
471
|
while (inductionVariable <= last);
|
|
457
472
|
return false;
|
|
458
473
|
}
|
|
459
|
-
|
|
474
|
+
containsValue_yf2ykl_k$(value) {
|
|
460
475
|
if (!!(value == null))
|
|
461
476
|
return false;
|
|
462
|
-
return this.
|
|
477
|
+
return this.containsValue_600k0x_k$(!(value == null) ? value : THROW_CCE());
|
|
463
478
|
}
|
|
464
|
-
|
|
479
|
+
get_6bo4tg_k$(key) {
|
|
465
480
|
var index = findIndex(this, key);
|
|
466
|
-
return index >= 0 ? this.
|
|
481
|
+
return index >= 0 ? this.valueStorage_1[index] : null;
|
|
467
482
|
}
|
|
468
|
-
|
|
483
|
+
get_wei43m_k$(key) {
|
|
469
484
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
470
485
|
return null;
|
|
471
|
-
return this.
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
return this.
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
if (this.
|
|
478
|
-
fill(this.
|
|
479
|
-
fill(this.
|
|
480
|
-
fill_0(this.
|
|
481
|
-
this.
|
|
482
|
-
this.
|
|
486
|
+
return this.get_6bo4tg_k$((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
487
|
+
}
|
|
488
|
+
isEmpty_y1axqb_k$() {
|
|
489
|
+
return this._size_1 === 0;
|
|
490
|
+
}
|
|
491
|
+
clear_j9egeb_k$() {
|
|
492
|
+
if (this._size_1 > 0) {
|
|
493
|
+
fill(this.keyStorage_1, null);
|
|
494
|
+
fill(this.valueStorage_1, null);
|
|
495
|
+
fill_0(this.insertionOrder_1, -1);
|
|
496
|
+
this._size_1 = 0;
|
|
497
|
+
this.insertionCount_1 = 0;
|
|
483
498
|
}
|
|
484
499
|
}
|
|
485
|
-
|
|
486
|
-
if (this.
|
|
500
|
+
put_1pa1tm_k$(key, value) {
|
|
501
|
+
if (this.keyStorage_1 === Companion_getInstance().EMPTY_STRING_ARRAY_1) {
|
|
487
502
|
var tmp = this;
|
|
488
503
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
489
|
-
tmp.
|
|
504
|
+
tmp.keyStorage_1 = Array(8);
|
|
490
505
|
var tmp_0 = this;
|
|
491
506
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
492
|
-
tmp_0.
|
|
507
|
+
tmp_0.valueStorage_1 = Array(8);
|
|
493
508
|
var tmp_1 = this;
|
|
494
509
|
var tmp_2 = 0;
|
|
495
510
|
var tmp_3 = new Int32Array(8);
|
|
@@ -497,141 +512,141 @@ class CaseInsensitiveMap {
|
|
|
497
512
|
tmp_3[tmp_2] = -1;
|
|
498
513
|
tmp_2 = tmp_2 + 1 | 0;
|
|
499
514
|
}
|
|
500
|
-
tmp_1.
|
|
515
|
+
tmp_1.insertionOrder_1 = tmp_3;
|
|
501
516
|
}
|
|
502
517
|
var hash = caseInsensitiveHashCode(Companion_getInstance(), key);
|
|
503
|
-
var index = hash & (this.
|
|
518
|
+
var index = hash & (this.keyStorage_1.length - 1 | 0);
|
|
504
519
|
while (true) {
|
|
505
|
-
var existingKey = this.
|
|
520
|
+
var existingKey = this.keyStorage_1[index];
|
|
506
521
|
if (existingKey == null) {
|
|
507
522
|
ensureCapacity(this);
|
|
508
|
-
index = hash & (this.
|
|
509
|
-
while (!(this.
|
|
510
|
-
index = (index + 1 | 0) & (this.
|
|
523
|
+
index = hash & (this.keyStorage_1.length - 1 | 0);
|
|
524
|
+
while (!(this.keyStorage_1[index] == null)) {
|
|
525
|
+
index = (index + 1 | 0) & (this.keyStorage_1.length - 1 | 0);
|
|
511
526
|
}
|
|
512
|
-
if (this.
|
|
527
|
+
if (this.insertionCount_1 === this.insertionOrder_1.length) {
|
|
513
528
|
compactInsertionOrder(this);
|
|
514
529
|
}
|
|
515
|
-
this.
|
|
516
|
-
this.
|
|
517
|
-
var tmp_4 = this.
|
|
518
|
-
var _unary__edvuaz = this.
|
|
519
|
-
this.
|
|
530
|
+
this.keyStorage_1[index] = key;
|
|
531
|
+
this.valueStorage_1[index] = value;
|
|
532
|
+
var tmp_4 = this.insertionOrder_1;
|
|
533
|
+
var _unary__edvuaz = this.insertionCount_1;
|
|
534
|
+
this.insertionCount_1 = _unary__edvuaz + 1 | 0;
|
|
520
535
|
tmp_4[_unary__edvuaz] = index;
|
|
521
|
-
this.
|
|
536
|
+
this._size_1 = this._size_1 + 1 | 0;
|
|
522
537
|
return null;
|
|
523
538
|
}
|
|
524
539
|
if (equals(existingKey, key, true)) {
|
|
525
|
-
var oldValue = this.
|
|
526
|
-
this.
|
|
540
|
+
var oldValue = this.valueStorage_1[index];
|
|
541
|
+
this.valueStorage_1[index] = value;
|
|
527
542
|
return oldValue;
|
|
528
543
|
}
|
|
529
|
-
index = (index + 1 | 0) & (this.
|
|
544
|
+
index = (index + 1 | 0) & (this.keyStorage_1.length - 1 | 0);
|
|
530
545
|
}
|
|
531
546
|
}
|
|
532
|
-
|
|
547
|
+
put_4fpzoq_k$(key, value) {
|
|
533
548
|
var tmp = (!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE();
|
|
534
|
-
return this.
|
|
549
|
+
return this.put_1pa1tm_k$(tmp, !(value == null) ? value : THROW_CCE());
|
|
535
550
|
}
|
|
536
|
-
|
|
551
|
+
putAll_qpg2h7_k$(from) {
|
|
537
552
|
// Inline function 'kotlin.collections.forEach' call
|
|
538
553
|
// Inline function 'kotlin.collections.iterator' call
|
|
539
|
-
var _iterator__ex2g4s = from.
|
|
540
|
-
while (_iterator__ex2g4s.
|
|
541
|
-
var element = _iterator__ex2g4s.
|
|
554
|
+
var _iterator__ex2g4s = from.get_entries_p20ztl_k$().iterator_jk1svi_k$();
|
|
555
|
+
while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
|
|
556
|
+
var element = _iterator__ex2g4s.next_20eer_k$();
|
|
542
557
|
// Inline function 'kotlin.collections.component1' call
|
|
543
|
-
var key = element.
|
|
558
|
+
var key = element.get_key_18j28a_k$();
|
|
544
559
|
// Inline function 'kotlin.collections.component2' call
|
|
545
|
-
var value = element.
|
|
546
|
-
this.
|
|
560
|
+
var value = element.get_value_j01efc_k$();
|
|
561
|
+
this.put_1pa1tm_k$(key, value);
|
|
547
562
|
}
|
|
548
563
|
}
|
|
549
|
-
|
|
550
|
-
return this.
|
|
564
|
+
putAll_wgg6cj_k$(from) {
|
|
565
|
+
return this.putAll_qpg2h7_k$(from);
|
|
551
566
|
}
|
|
552
|
-
|
|
567
|
+
remove_z05dva_k$(key) {
|
|
553
568
|
var index = findIndex(this, key);
|
|
554
569
|
if (index < 0)
|
|
555
570
|
return null;
|
|
556
|
-
var oldValue = this.
|
|
571
|
+
var oldValue = this.valueStorage_1[index];
|
|
557
572
|
var inductionVariable = 0;
|
|
558
|
-
var last = this.
|
|
573
|
+
var last = this.insertionCount_1;
|
|
559
574
|
if (inductionVariable < last)
|
|
560
575
|
$l$loop: do {
|
|
561
576
|
var i = inductionVariable;
|
|
562
577
|
inductionVariable = inductionVariable + 1 | 0;
|
|
563
|
-
if (this.
|
|
564
|
-
this.
|
|
578
|
+
if (this.insertionOrder_1[i] === index) {
|
|
579
|
+
this.insertionOrder_1[i] = -1;
|
|
565
580
|
break $l$loop;
|
|
566
581
|
}
|
|
567
582
|
}
|
|
568
583
|
while (inductionVariable < last);
|
|
569
|
-
this.
|
|
570
|
-
this.
|
|
571
|
-
this.
|
|
572
|
-
var nextIndex = (index + 1 | 0) & (this.
|
|
573
|
-
while (!(this.
|
|
574
|
-
var rehashKey = ensureNotNull(this.
|
|
575
|
-
var rehashValue = this.
|
|
584
|
+
this.keyStorage_1[index] = null;
|
|
585
|
+
this.valueStorage_1[index] = null;
|
|
586
|
+
this._size_1 = this._size_1 - 1 | 0;
|
|
587
|
+
var nextIndex = (index + 1 | 0) & (this.keyStorage_1.length - 1 | 0);
|
|
588
|
+
while (!(this.keyStorage_1[nextIndex] == null)) {
|
|
589
|
+
var rehashKey = ensureNotNull(this.keyStorage_1[nextIndex]);
|
|
590
|
+
var rehashValue = this.valueStorage_1[nextIndex];
|
|
576
591
|
var oldRehashIndex = nextIndex;
|
|
577
|
-
this.
|
|
578
|
-
this.
|
|
579
|
-
this.
|
|
592
|
+
this.keyStorage_1[nextIndex] = null;
|
|
593
|
+
this.valueStorage_1[nextIndex] = null;
|
|
594
|
+
this._size_1 = this._size_1 - 1 | 0;
|
|
580
595
|
var newIndex = putWithoutTrackingOrderReturnIndex(this, rehashKey, !(rehashValue == null) ? rehashValue : THROW_CCE());
|
|
581
596
|
var inductionVariable_0 = 0;
|
|
582
|
-
var last_0 = this.
|
|
597
|
+
var last_0 = this.insertionCount_1;
|
|
583
598
|
if (inductionVariable_0 < last_0)
|
|
584
599
|
$l$loop_0: do {
|
|
585
600
|
var i_0 = inductionVariable_0;
|
|
586
601
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
587
|
-
if (this.
|
|
588
|
-
this.
|
|
602
|
+
if (this.insertionOrder_1[i_0] === oldRehashIndex) {
|
|
603
|
+
this.insertionOrder_1[i_0] = newIndex;
|
|
589
604
|
break $l$loop_0;
|
|
590
605
|
}
|
|
591
606
|
}
|
|
592
607
|
while (inductionVariable_0 < last_0);
|
|
593
|
-
nextIndex = (nextIndex + 1 | 0) & (this.
|
|
608
|
+
nextIndex = (nextIndex + 1 | 0) & (this.keyStorage_1.length - 1 | 0);
|
|
594
609
|
}
|
|
595
610
|
return oldValue;
|
|
596
611
|
}
|
|
597
|
-
|
|
612
|
+
remove_gppy8k_k$(key) {
|
|
598
613
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
599
614
|
return null;
|
|
600
|
-
return this.
|
|
615
|
+
return this.remove_z05dva_k$((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
601
616
|
}
|
|
602
|
-
|
|
603
|
-
var tmp0_elvis_lhs = this.
|
|
617
|
+
get_keys_wop4xp_k$() {
|
|
618
|
+
var tmp0_elvis_lhs = this.cachedKeySet_1;
|
|
604
619
|
var tmp;
|
|
605
620
|
if (tmp0_elvis_lhs == null) {
|
|
606
621
|
// Inline function 'kotlin.also' call
|
|
607
|
-
var this_0 = KeySet.
|
|
608
|
-
this.
|
|
622
|
+
var this_0 = KeySet.new_io_ktor_util_CaseInsensitiveMap_KeySet_wzuxad_k$(this);
|
|
623
|
+
this.cachedKeySet_1 = this_0;
|
|
609
624
|
tmp = this_0;
|
|
610
625
|
} else {
|
|
611
626
|
tmp = tmp0_elvis_lhs;
|
|
612
627
|
}
|
|
613
628
|
return tmp;
|
|
614
629
|
}
|
|
615
|
-
|
|
616
|
-
var tmp0_elvis_lhs = this.
|
|
630
|
+
get_entries_p20ztl_k$() {
|
|
631
|
+
var tmp0_elvis_lhs = this.cachedEntrySet_1;
|
|
617
632
|
var tmp;
|
|
618
633
|
if (tmp0_elvis_lhs == null) {
|
|
619
634
|
// Inline function 'kotlin.also' call
|
|
620
|
-
var this_0 = EntrySet.
|
|
621
|
-
this.
|
|
635
|
+
var this_0 = EntrySet.new_io_ktor_util_CaseInsensitiveMap_EntrySet_eor0t7_k$(this);
|
|
636
|
+
this.cachedEntrySet_1 = this_0;
|
|
622
637
|
tmp = this_0;
|
|
623
638
|
} else {
|
|
624
639
|
tmp = tmp0_elvis_lhs;
|
|
625
640
|
}
|
|
626
641
|
return tmp;
|
|
627
642
|
}
|
|
628
|
-
|
|
629
|
-
var tmp0_elvis_lhs = this.
|
|
643
|
+
get_values_ksazhn_k$() {
|
|
644
|
+
var tmp0_elvis_lhs = this.cachedValueCollection_1;
|
|
630
645
|
var tmp;
|
|
631
646
|
if (tmp0_elvis_lhs == null) {
|
|
632
647
|
// Inline function 'kotlin.also' call
|
|
633
|
-
var this_0 = ValueCollection.
|
|
634
|
-
this.
|
|
648
|
+
var this_0 = ValueCollection.new_io_ktor_util_CaseInsensitiveMap_ValueCollection_bv2pht_k$(this);
|
|
649
|
+
this.cachedValueCollection_1 = this_0;
|
|
635
650
|
tmp = this_0;
|
|
636
651
|
} else {
|
|
637
652
|
tmp = tmp0_elvis_lhs;
|
|
@@ -643,18 +658,18 @@ class CaseInsensitiveMap {
|
|
|
643
658
|
return true;
|
|
644
659
|
if (!(other instanceof CaseInsensitiveMap))
|
|
645
660
|
return false;
|
|
646
|
-
if (!(other.
|
|
661
|
+
if (!(other.get_size_woubt6_k$() === this._size_1))
|
|
647
662
|
return false;
|
|
648
663
|
var inductionVariable = 0;
|
|
649
|
-
var last = this.
|
|
664
|
+
var last = this.keyStorage_1.length - 1 | 0;
|
|
650
665
|
if (inductionVariable <= last)
|
|
651
666
|
do {
|
|
652
667
|
var i = inductionVariable;
|
|
653
668
|
inductionVariable = inductionVariable + 1 | 0;
|
|
654
|
-
var k = this.
|
|
669
|
+
var k = this.keyStorage_1[i];
|
|
655
670
|
if (!(k == null)) {
|
|
656
|
-
var v = this.
|
|
657
|
-
if (!equals_0(other.
|
|
671
|
+
var v = this.valueStorage_1[i];
|
|
672
|
+
if (!equals_0(other.get_6bo4tg_k$(k), v))
|
|
658
673
|
return false;
|
|
659
674
|
}
|
|
660
675
|
}
|
|
@@ -664,16 +679,17 @@ class CaseInsensitiveMap {
|
|
|
664
679
|
hashCode() {
|
|
665
680
|
var result = 0;
|
|
666
681
|
var inductionVariable = 0;
|
|
667
|
-
var last = this.
|
|
682
|
+
var last = this.keyStorage_1.length - 1 | 0;
|
|
668
683
|
if (inductionVariable <= last)
|
|
669
684
|
do {
|
|
670
685
|
var i = inductionVariable;
|
|
671
686
|
inductionVariable = inductionVariable + 1 | 0;
|
|
672
|
-
var k = this.
|
|
687
|
+
var k = this.keyStorage_1[i];
|
|
673
688
|
if (!(k == null)) {
|
|
674
689
|
var tmp = result;
|
|
675
690
|
var tmp_0 = caseInsensitiveHashCode(Companion_getInstance(), k);
|
|
676
|
-
|
|
691
|
+
// Inline function 'kotlin.hashCode' call
|
|
692
|
+
var tmp0_safe_receiver = this.valueStorage_1[i];
|
|
677
693
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
678
694
|
result = tmp + (tmp_0 ^ (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs)) | 0;
|
|
679
695
|
}
|
|
@@ -686,7 +702,7 @@ class SilentSupervisor$$inlined$CoroutineExceptionHandler$1 extends AbstractCoro
|
|
|
686
702
|
constructor() {
|
|
687
703
|
super(Key_instance_0);
|
|
688
704
|
}
|
|
689
|
-
|
|
705
|
+
handleException_e679jj_k$(context, exception) {
|
|
690
706
|
return Unit_instance;
|
|
691
707
|
}
|
|
692
708
|
}
|
|
@@ -697,38 +713,38 @@ class PlatformUtils {
|
|
|
697
713
|
var platform = get_platform(this);
|
|
698
714
|
var tmp_0;
|
|
699
715
|
if (platform instanceof Js) {
|
|
700
|
-
tmp_0 = platform.
|
|
716
|
+
tmp_0 = platform.jsPlatform_1.equals(JsPlatform_Browser_getInstance());
|
|
701
717
|
} else {
|
|
702
718
|
if (platform instanceof WasmJs) {
|
|
703
|
-
tmp_0 = platform.
|
|
719
|
+
tmp_0 = platform.jsPlatform_1.equals(JsPlatform_Browser_getInstance());
|
|
704
720
|
} else {
|
|
705
721
|
tmp_0 = false;
|
|
706
722
|
}
|
|
707
723
|
}
|
|
708
|
-
tmp.
|
|
724
|
+
tmp.IS_BROWSER_1 = tmp_0;
|
|
709
725
|
var tmp_1 = this;
|
|
710
726
|
var platform_0 = get_platform(this);
|
|
711
727
|
var tmp_2;
|
|
712
728
|
if (platform_0 instanceof Js) {
|
|
713
|
-
tmp_2 = platform_0.
|
|
729
|
+
tmp_2 = platform_0.jsPlatform_1.equals(JsPlatform_Node_getInstance());
|
|
714
730
|
} else {
|
|
715
731
|
if (platform_0 instanceof WasmJs) {
|
|
716
|
-
tmp_2 = platform_0.
|
|
732
|
+
tmp_2 = platform_0.jsPlatform_1.equals(JsPlatform_Node_getInstance());
|
|
717
733
|
} else {
|
|
718
734
|
tmp_2 = false;
|
|
719
735
|
}
|
|
720
736
|
}
|
|
721
|
-
tmp_1.
|
|
737
|
+
tmp_1.IS_NODE_1 = tmp_2;
|
|
722
738
|
var tmp_3 = this;
|
|
723
739
|
var tmp_4 = get_platform(this);
|
|
724
|
-
tmp_3.
|
|
740
|
+
tmp_3.IS_JS_1 = tmp_4 instanceof Js;
|
|
725
741
|
var tmp_5 = this;
|
|
726
742
|
var tmp_6 = get_platform(this);
|
|
727
|
-
tmp_5.
|
|
728
|
-
this.
|
|
729
|
-
this.
|
|
730
|
-
this.
|
|
731
|
-
this.
|
|
743
|
+
tmp_5.IS_WASM_JS_1 = tmp_6 instanceof WasmJs;
|
|
744
|
+
this.IS_JVM_1 = equals_0(get_platform(this), Jvm_getInstance());
|
|
745
|
+
this.IS_NATIVE_1 = equals_0(get_platform(this), Native_getInstance());
|
|
746
|
+
this.IS_DEVELOPMENT_MODE_1 = get_isDevelopmentMode(this);
|
|
747
|
+
this.IS_NEW_MM_ENABLED_1 = true;
|
|
732
748
|
}
|
|
733
749
|
}
|
|
734
750
|
class Platform {}
|
|
@@ -775,20 +791,20 @@ class Native extends Platform {
|
|
|
775
791
|
class Js extends Platform {
|
|
776
792
|
constructor(jsPlatform) {
|
|
777
793
|
super();
|
|
778
|
-
this.
|
|
794
|
+
this.jsPlatform_1 = jsPlatform;
|
|
779
795
|
}
|
|
780
796
|
toString() {
|
|
781
|
-
return 'Js(jsPlatform=' + this.
|
|
797
|
+
return 'Js(jsPlatform=' + this.jsPlatform_1.toString() + ')';
|
|
782
798
|
}
|
|
783
799
|
hashCode() {
|
|
784
|
-
return this.
|
|
800
|
+
return this.jsPlatform_1.hashCode();
|
|
785
801
|
}
|
|
786
802
|
equals(other) {
|
|
787
803
|
if (this === other)
|
|
788
804
|
return true;
|
|
789
805
|
if (!(other instanceof Js))
|
|
790
806
|
return false;
|
|
791
|
-
if (!this.
|
|
807
|
+
if (!this.jsPlatform_1.equals(other.jsPlatform_1))
|
|
792
808
|
return false;
|
|
793
809
|
return true;
|
|
794
810
|
}
|
|
@@ -799,112 +815,112 @@ class StringValuesBuilderImpl {
|
|
|
799
815
|
constructor(caseInsensitiveName, size) {
|
|
800
816
|
caseInsensitiveName = caseInsensitiveName === VOID ? false : caseInsensitiveName;
|
|
801
817
|
size = size === VOID ? 8 : size;
|
|
802
|
-
this.
|
|
803
|
-
this.
|
|
818
|
+
this.caseInsensitiveName_1 = caseInsensitiveName;
|
|
819
|
+
this.values_1 = this.caseInsensitiveName_1 ? caseInsensitiveMap() : LinkedHashMap.new_kotlin_collections_LinkedHashMap_31p40q_k$(size);
|
|
804
820
|
}
|
|
805
|
-
|
|
806
|
-
return this.
|
|
821
|
+
get_caseInsensitiveName_ehooe5_k$() {
|
|
822
|
+
return this.caseInsensitiveName_1;
|
|
807
823
|
}
|
|
808
|
-
|
|
809
|
-
return this.
|
|
824
|
+
getAll_ffxf4h_k$(name) {
|
|
825
|
+
return this.values_1.get_wei43m_k$(name);
|
|
810
826
|
}
|
|
811
|
-
|
|
812
|
-
return this.
|
|
827
|
+
names_1q9mbs_k$() {
|
|
828
|
+
return this.values_1.get_keys_wop4xp_k$();
|
|
813
829
|
}
|
|
814
|
-
|
|
815
|
-
return this.
|
|
830
|
+
isEmpty_y1axqb_k$() {
|
|
831
|
+
return this.values_1.isEmpty_y1axqb_k$();
|
|
816
832
|
}
|
|
817
|
-
|
|
818
|
-
return unmodifiable(this.
|
|
833
|
+
entries_qbkxv4_k$() {
|
|
834
|
+
return unmodifiable(this.values_1.get_entries_p20ztl_k$());
|
|
819
835
|
}
|
|
820
|
-
|
|
821
|
-
this.
|
|
836
|
+
set_j87cuq_k$(name, value) {
|
|
837
|
+
this.validateValue_x1igun_k$(value);
|
|
822
838
|
var list = ensureListForKey(this, name);
|
|
823
|
-
list.
|
|
824
|
-
list.
|
|
839
|
+
list.clear_j9egeb_k$();
|
|
840
|
+
list.add_utx5q5_k$(value);
|
|
825
841
|
}
|
|
826
|
-
|
|
827
|
-
var tmp0_safe_receiver = this.
|
|
842
|
+
get_6bo4tg_k$(name) {
|
|
843
|
+
var tmp0_safe_receiver = this.getAll_ffxf4h_k$(name);
|
|
828
844
|
return tmp0_safe_receiver == null ? null : firstOrNull(tmp0_safe_receiver);
|
|
829
845
|
}
|
|
830
|
-
|
|
831
|
-
this.
|
|
832
|
-
ensureListForKey(this, name).
|
|
846
|
+
append_rhug0a_k$(name, value) {
|
|
847
|
+
this.validateValue_x1igun_k$(value);
|
|
848
|
+
ensureListForKey(this, name).add_utx5q5_k$(value);
|
|
833
849
|
}
|
|
834
|
-
|
|
835
|
-
stringValues.
|
|
850
|
+
appendAll_k8dlt1_k$(stringValues) {
|
|
851
|
+
stringValues.forEach_jocloe_k$(StringValuesBuilderImpl$appendAll$lambda(this));
|
|
836
852
|
}
|
|
837
|
-
|
|
853
|
+
appendAll_ytnfgb_k$(name, values) {
|
|
838
854
|
// Inline function 'kotlin.let' call
|
|
839
855
|
var list = ensureListForKey(this, name);
|
|
840
856
|
// Inline function 'kotlin.collections.forEach' call
|
|
841
|
-
var _iterator__ex2g4s = values.
|
|
842
|
-
while (_iterator__ex2g4s.
|
|
843
|
-
var element = _iterator__ex2g4s.
|
|
844
|
-
this.
|
|
857
|
+
var _iterator__ex2g4s = values.iterator_jk1svi_k$();
|
|
858
|
+
while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
|
|
859
|
+
var element = _iterator__ex2g4s.next_20eer_k$();
|
|
860
|
+
this.validateValue_x1igun_k$(element);
|
|
845
861
|
}
|
|
846
862
|
addAll(list, values);
|
|
847
863
|
}
|
|
848
|
-
|
|
849
|
-
this.
|
|
864
|
+
remove_6241ba_k$(name) {
|
|
865
|
+
this.values_1.remove_gppy8k_k$(name);
|
|
850
866
|
}
|
|
851
|
-
|
|
852
|
-
this.
|
|
867
|
+
clear_j9egeb_k$() {
|
|
868
|
+
this.values_1.clear_j9egeb_k$();
|
|
853
869
|
}
|
|
854
|
-
|
|
870
|
+
validateName_mv1fw7_k$(name) {
|
|
855
871
|
}
|
|
856
|
-
|
|
872
|
+
validateValue_x1igun_k$(value) {
|
|
857
873
|
}
|
|
858
874
|
}
|
|
859
875
|
class StringValues {}
|
|
860
876
|
function get_0(name) {
|
|
861
|
-
var tmp0_safe_receiver = this.
|
|
877
|
+
var tmp0_safe_receiver = this.getAll_ffxf4h_k$(name);
|
|
862
878
|
return tmp0_safe_receiver == null ? null : firstOrNull(tmp0_safe_receiver);
|
|
863
879
|
}
|
|
864
880
|
function forEach(body) {
|
|
865
881
|
// Inline function 'kotlin.collections.forEach' call
|
|
866
|
-
var _iterator__ex2g4s = this.
|
|
867
|
-
while (_iterator__ex2g4s.
|
|
868
|
-
var element = _iterator__ex2g4s.
|
|
882
|
+
var _iterator__ex2g4s = this.entries_qbkxv4_k$().iterator_jk1svi_k$();
|
|
883
|
+
while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
|
|
884
|
+
var element = _iterator__ex2g4s.next_20eer_k$();
|
|
869
885
|
// Inline function 'kotlin.collections.component1' call
|
|
870
|
-
var k = element.
|
|
886
|
+
var k = element.get_key_18j28a_k$();
|
|
871
887
|
// Inline function 'kotlin.collections.component2' call
|
|
872
|
-
var v = element.
|
|
888
|
+
var v = element.get_value_j01efc_k$();
|
|
873
889
|
body(k, v);
|
|
874
890
|
}
|
|
875
891
|
return Unit_instance;
|
|
876
892
|
}
|
|
877
893
|
class StringValuesEntry {
|
|
878
894
|
constructor(key, value) {
|
|
879
|
-
this.
|
|
880
|
-
this.
|
|
895
|
+
this.key_1 = key;
|
|
896
|
+
this.value_1 = value;
|
|
881
897
|
}
|
|
882
|
-
|
|
883
|
-
return this.
|
|
898
|
+
get_key_18j28a_k$() {
|
|
899
|
+
return this.key_1;
|
|
884
900
|
}
|
|
885
|
-
|
|
886
|
-
return this.
|
|
901
|
+
get_value_j01efc_k$() {
|
|
902
|
+
return this.value_1;
|
|
887
903
|
}
|
|
888
904
|
equals(other) {
|
|
889
905
|
var tmp;
|
|
890
906
|
var tmp_0;
|
|
891
907
|
if (!(other == null) ? isInterface(other, Entry) : false) {
|
|
892
|
-
tmp_0 = equals_0(other.
|
|
908
|
+
tmp_0 = equals_0(other.get_key_18j28a_k$(), this.key_1);
|
|
893
909
|
} else {
|
|
894
910
|
tmp_0 = false;
|
|
895
911
|
}
|
|
896
912
|
if (tmp_0) {
|
|
897
|
-
tmp = equals_0(other.
|
|
913
|
+
tmp = equals_0(other.get_value_j01efc_k$(), this.value_1);
|
|
898
914
|
} else {
|
|
899
915
|
tmp = false;
|
|
900
916
|
}
|
|
901
917
|
return tmp;
|
|
902
918
|
}
|
|
903
919
|
hashCode() {
|
|
904
|
-
return getStringHashCode(this.
|
|
920
|
+
return getStringHashCode(this.key_1) ^ hashCode(this.value_1);
|
|
905
921
|
}
|
|
906
922
|
toString() {
|
|
907
|
-
return this.
|
|
923
|
+
return this.key_1 + '=' + toString(this.value_1);
|
|
908
924
|
}
|
|
909
925
|
}
|
|
910
926
|
class Companion_0 {}
|
|
@@ -912,30 +928,30 @@ class StringValuesImpl {
|
|
|
912
928
|
constructor(caseInsensitiveName, values) {
|
|
913
929
|
caseInsensitiveName = caseInsensitiveName === VOID ? false : caseInsensitiveName;
|
|
914
930
|
values = values === VOID ? emptyMap() : values;
|
|
915
|
-
this.
|
|
916
|
-
if (values.
|
|
917
|
-
this.
|
|
931
|
+
this.caseInsensitiveName_1 = caseInsensitiveName;
|
|
932
|
+
if (values.isEmpty_y1axqb_k$()) {
|
|
933
|
+
this.entryCount_1 = 0;
|
|
918
934
|
var tmp = this;
|
|
919
935
|
// Inline function 'kotlin.emptyArray' call
|
|
920
|
-
tmp.
|
|
936
|
+
tmp.keyStorage_1 = [];
|
|
921
937
|
var tmp_0 = this;
|
|
922
938
|
// Inline function 'kotlin.emptyArray' call
|
|
923
|
-
tmp_0.
|
|
924
|
-
this.
|
|
925
|
-
this.
|
|
926
|
-
} else if (!this.
|
|
927
|
-
this.
|
|
939
|
+
tmp_0.valueStorage_1 = [];
|
|
940
|
+
this.hashBuckets_1 = new Int32Array(0);
|
|
941
|
+
this.hashNext_1 = new Int32Array(0);
|
|
942
|
+
} else if (!this.caseInsensitiveName_1) {
|
|
943
|
+
this.entryCount_1 = values.get_size_woubt6_k$();
|
|
928
944
|
var tmp_1 = this;
|
|
929
945
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
930
|
-
var size = this.
|
|
946
|
+
var size = this.entryCount_1;
|
|
931
947
|
var tmp_2 = Array(size);
|
|
932
|
-
tmp_1.
|
|
948
|
+
tmp_1.keyStorage_1 = isArray(tmp_2) ? tmp_2 : THROW_CCE();
|
|
933
949
|
var tmp_3 = this;
|
|
934
950
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
935
|
-
var size_0 = this.
|
|
951
|
+
var size_0 = this.entryCount_1;
|
|
936
952
|
var tmp_4 = Array(size_0);
|
|
937
|
-
tmp_3.
|
|
938
|
-
var tableSize = tableSizeFor(
|
|
953
|
+
tmp_3.valueStorage_1 = isArray(tmp_4) ? tmp_4 : THROW_CCE();
|
|
954
|
+
var tableSize = tableSizeFor(Companion_instance_2, this.entryCount_1);
|
|
939
955
|
var tmp_5 = this;
|
|
940
956
|
var tmp_6 = 0;
|
|
941
957
|
var tmp_7 = new Int32Array(tableSize);
|
|
@@ -943,80 +959,80 @@ class StringValuesImpl {
|
|
|
943
959
|
tmp_7[tmp_6] = -1;
|
|
944
960
|
tmp_6 = tmp_6 + 1 | 0;
|
|
945
961
|
}
|
|
946
|
-
tmp_5.
|
|
962
|
+
tmp_5.hashBuckets_1 = tmp_7;
|
|
947
963
|
var tmp_8 = this;
|
|
948
964
|
var tmp_9 = 0;
|
|
949
|
-
var tmp_10 = this.
|
|
965
|
+
var tmp_10 = this.entryCount_1;
|
|
950
966
|
var tmp_11 = new Int32Array(tmp_10);
|
|
951
967
|
while (tmp_9 < tmp_10) {
|
|
952
968
|
tmp_11[tmp_9] = -1;
|
|
953
969
|
tmp_9 = tmp_9 + 1 | 0;
|
|
954
970
|
}
|
|
955
|
-
tmp_8.
|
|
971
|
+
tmp_8.hashNext_1 = tmp_11;
|
|
956
972
|
var i = 0;
|
|
957
973
|
// Inline function 'kotlin.collections.iterator' call
|
|
958
|
-
var _iterator__ex2g4s = values.
|
|
959
|
-
while (_iterator__ex2g4s.
|
|
960
|
-
var _destruct__k2r9zo = _iterator__ex2g4s.
|
|
974
|
+
var _iterator__ex2g4s = values.get_entries_p20ztl_k$().iterator_jk1svi_k$();
|
|
975
|
+
while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
|
|
976
|
+
var _destruct__k2r9zo = _iterator__ex2g4s.next_20eer_k$();
|
|
961
977
|
// Inline function 'kotlin.collections.component1' call
|
|
962
|
-
var key = _destruct__k2r9zo.
|
|
978
|
+
var key = _destruct__k2r9zo.get_key_18j28a_k$();
|
|
963
979
|
// Inline function 'kotlin.collections.component2' call
|
|
964
|
-
var value = _destruct__k2r9zo.
|
|
965
|
-
this.
|
|
980
|
+
var value = _destruct__k2r9zo.get_value_j01efc_k$();
|
|
981
|
+
this.keyStorage_1[i] = key;
|
|
966
982
|
var tmp_12 = i;
|
|
967
983
|
// Inline function 'kotlin.collections.List' call
|
|
968
984
|
// Inline function 'kotlin.collections.MutableList' call
|
|
969
|
-
var size_1 = value.
|
|
970
|
-
var list = ArrayList.
|
|
985
|
+
var size_1 = value.get_size_woubt6_k$();
|
|
986
|
+
var list = ArrayList.new_kotlin_collections_ArrayList_tdd6ob_k$(size_1);
|
|
971
987
|
// Inline function 'kotlin.repeat' call
|
|
972
988
|
var inductionVariable = 0;
|
|
973
989
|
if (inductionVariable < size_1)
|
|
974
990
|
do {
|
|
975
991
|
var index = inductionVariable;
|
|
976
992
|
inductionVariable = inductionVariable + 1 | 0;
|
|
977
|
-
var tmp$ret$13 = value.
|
|
978
|
-
list.
|
|
993
|
+
var tmp$ret$13 = value.get_c1px32_k$(index);
|
|
994
|
+
list.add_utx5q5_k$(tmp$ret$13);
|
|
979
995
|
}
|
|
980
996
|
while (inductionVariable < size_1);
|
|
981
|
-
this.
|
|
997
|
+
this.valueStorage_1[tmp_12] = list;
|
|
982
998
|
var hash = computeHash(this, key);
|
|
983
999
|
var bucket = hash & (tableSize - 1 | 0);
|
|
984
|
-
this.
|
|
985
|
-
this.
|
|
1000
|
+
this.hashNext_1[i] = this.hashBuckets_1[bucket];
|
|
1001
|
+
this.hashBuckets_1[bucket] = i;
|
|
986
1002
|
i = i + 1 | 0;
|
|
987
1003
|
}
|
|
988
1004
|
} else {
|
|
989
1005
|
var deduped = caseInsensitiveMap();
|
|
990
1006
|
// Inline function 'kotlin.collections.iterator' call
|
|
991
|
-
var _iterator__ex2g4s_0 = values.
|
|
992
|
-
while (_iterator__ex2g4s_0.
|
|
993
|
-
var _destruct__k2r9zo_0 = _iterator__ex2g4s_0.
|
|
1007
|
+
var _iterator__ex2g4s_0 = values.get_entries_p20ztl_k$().iterator_jk1svi_k$();
|
|
1008
|
+
while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
|
|
1009
|
+
var _destruct__k2r9zo_0 = _iterator__ex2g4s_0.next_20eer_k$();
|
|
994
1010
|
// Inline function 'kotlin.collections.component1' call
|
|
995
|
-
var key_0 = _destruct__k2r9zo_0.
|
|
1011
|
+
var key_0 = _destruct__k2r9zo_0.get_key_18j28a_k$();
|
|
996
1012
|
// Inline function 'kotlin.collections.component2' call
|
|
997
|
-
var value_0 = _destruct__k2r9zo_0.
|
|
998
|
-
var existing = deduped.
|
|
1013
|
+
var value_0 = _destruct__k2r9zo_0.get_value_j01efc_k$();
|
|
1014
|
+
var existing = deduped.get_wei43m_k$(key_0);
|
|
999
1015
|
if (!(existing == null)) {
|
|
1000
1016
|
// Inline function 'kotlin.collections.set' call
|
|
1001
1017
|
var value_1 = plus(existing, value_0);
|
|
1002
|
-
deduped.
|
|
1018
|
+
deduped.put_4fpzoq_k$(key_0, value_1);
|
|
1003
1019
|
} else {
|
|
1004
1020
|
// Inline function 'kotlin.collections.set' call
|
|
1005
|
-
deduped.
|
|
1021
|
+
deduped.put_4fpzoq_k$(key_0, value_0);
|
|
1006
1022
|
}
|
|
1007
1023
|
}
|
|
1008
|
-
this.
|
|
1024
|
+
this.entryCount_1 = deduped.get_size_woubt6_k$();
|
|
1009
1025
|
var tmp_13 = this;
|
|
1010
1026
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1011
|
-
var size_2 = this.
|
|
1027
|
+
var size_2 = this.entryCount_1;
|
|
1012
1028
|
var tmp_14 = Array(size_2);
|
|
1013
|
-
tmp_13.
|
|
1029
|
+
tmp_13.keyStorage_1 = isArray(tmp_14) ? tmp_14 : THROW_CCE();
|
|
1014
1030
|
var tmp_15 = this;
|
|
1015
1031
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1016
|
-
var size_3 = this.
|
|
1032
|
+
var size_3 = this.entryCount_1;
|
|
1017
1033
|
var tmp_16 = Array(size_3);
|
|
1018
|
-
tmp_15.
|
|
1019
|
-
var tableSize_0 = tableSizeFor(
|
|
1034
|
+
tmp_15.valueStorage_1 = isArray(tmp_16) ? tmp_16 : THROW_CCE();
|
|
1035
|
+
var tableSize_0 = tableSizeFor(Companion_instance_2, this.entryCount_1);
|
|
1020
1036
|
var tmp_17 = this;
|
|
1021
1037
|
var tmp_18 = 0;
|
|
1022
1038
|
var tmp_19 = new Int32Array(tableSize_0);
|
|
@@ -1024,210 +1040,210 @@ class StringValuesImpl {
|
|
|
1024
1040
|
tmp_19[tmp_18] = -1;
|
|
1025
1041
|
tmp_18 = tmp_18 + 1 | 0;
|
|
1026
1042
|
}
|
|
1027
|
-
tmp_17.
|
|
1043
|
+
tmp_17.hashBuckets_1 = tmp_19;
|
|
1028
1044
|
var tmp_20 = this;
|
|
1029
1045
|
var tmp_21 = 0;
|
|
1030
|
-
var tmp_22 = this.
|
|
1046
|
+
var tmp_22 = this.entryCount_1;
|
|
1031
1047
|
var tmp_23 = new Int32Array(tmp_22);
|
|
1032
1048
|
while (tmp_21 < tmp_22) {
|
|
1033
1049
|
tmp_23[tmp_21] = -1;
|
|
1034
1050
|
tmp_21 = tmp_21 + 1 | 0;
|
|
1035
1051
|
}
|
|
1036
|
-
tmp_20.
|
|
1052
|
+
tmp_20.hashNext_1 = tmp_23;
|
|
1037
1053
|
var i_0 = 0;
|
|
1038
1054
|
// Inline function 'kotlin.collections.iterator' call
|
|
1039
|
-
var _iterator__ex2g4s_1 = deduped.
|
|
1040
|
-
while (_iterator__ex2g4s_1.
|
|
1041
|
-
var _destruct__k2r9zo_1 = _iterator__ex2g4s_1.
|
|
1055
|
+
var _iterator__ex2g4s_1 = deduped.get_entries_p20ztl_k$().iterator_jk1svi_k$();
|
|
1056
|
+
while (_iterator__ex2g4s_1.hasNext_bitz1p_k$()) {
|
|
1057
|
+
var _destruct__k2r9zo_1 = _iterator__ex2g4s_1.next_20eer_k$();
|
|
1042
1058
|
// Inline function 'kotlin.collections.component1' call
|
|
1043
|
-
var key_1 = _destruct__k2r9zo_1.
|
|
1059
|
+
var key_1 = _destruct__k2r9zo_1.get_key_18j28a_k$();
|
|
1044
1060
|
// Inline function 'kotlin.collections.component2' call
|
|
1045
|
-
var value_2 = _destruct__k2r9zo_1.
|
|
1046
|
-
this.
|
|
1061
|
+
var value_2 = _destruct__k2r9zo_1.get_value_j01efc_k$();
|
|
1062
|
+
this.keyStorage_1[i_0] = key_1;
|
|
1047
1063
|
var tmp_24 = i_0;
|
|
1048
1064
|
// Inline function 'kotlin.collections.List' call
|
|
1049
1065
|
// Inline function 'kotlin.collections.MutableList' call
|
|
1050
|
-
var size_4 = value_2.
|
|
1051
|
-
var list_0 = ArrayList.
|
|
1066
|
+
var size_4 = value_2.get_size_woubt6_k$();
|
|
1067
|
+
var list_0 = ArrayList.new_kotlin_collections_ArrayList_tdd6ob_k$(size_4);
|
|
1052
1068
|
// Inline function 'kotlin.repeat' call
|
|
1053
1069
|
var inductionVariable_0 = 0;
|
|
1054
1070
|
if (inductionVariable_0 < size_4)
|
|
1055
1071
|
do {
|
|
1056
1072
|
var index_0 = inductionVariable_0;
|
|
1057
1073
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
1058
|
-
var tmp$ret$30 = value_2.
|
|
1059
|
-
list_0.
|
|
1074
|
+
var tmp$ret$30 = value_2.get_c1px32_k$(index_0);
|
|
1075
|
+
list_0.add_utx5q5_k$(tmp$ret$30);
|
|
1060
1076
|
}
|
|
1061
1077
|
while (inductionVariable_0 < size_4);
|
|
1062
|
-
this.
|
|
1078
|
+
this.valueStorage_1[tmp_24] = list_0;
|
|
1063
1079
|
var hash_0 = computeHash(this, key_1);
|
|
1064
1080
|
var bucket_0 = hash_0 & (tableSize_0 - 1 | 0);
|
|
1065
|
-
this.
|
|
1066
|
-
this.
|
|
1081
|
+
this.hashNext_1[i_0] = this.hashBuckets_1[bucket_0];
|
|
1082
|
+
this.hashBuckets_1[bucket_0] = i_0;
|
|
1067
1083
|
i_0 = i_0 + 1 | 0;
|
|
1068
1084
|
}
|
|
1069
1085
|
}
|
|
1070
1086
|
}
|
|
1071
|
-
|
|
1072
|
-
return this.
|
|
1087
|
+
get_caseInsensitiveName_ehooe5_k$() {
|
|
1088
|
+
return this.caseInsensitiveName_1;
|
|
1073
1089
|
}
|
|
1074
|
-
|
|
1090
|
+
get_6bo4tg_k$(name) {
|
|
1075
1091
|
var tmp0_safe_receiver = listForKey(this, name);
|
|
1076
1092
|
return tmp0_safe_receiver == null ? null : firstOrNull(tmp0_safe_receiver);
|
|
1077
1093
|
}
|
|
1078
|
-
|
|
1094
|
+
getAll_ffxf4h_k$(name) {
|
|
1079
1095
|
return listForKey(this, name);
|
|
1080
1096
|
}
|
|
1081
|
-
|
|
1082
|
-
if (this.
|
|
1097
|
+
names_1q9mbs_k$() {
|
|
1098
|
+
if (this.entryCount_1 === 0)
|
|
1083
1099
|
return emptySet();
|
|
1084
1100
|
// Inline function 'kotlin.collections.linkedSetOf' call
|
|
1085
|
-
var result = LinkedHashSet.
|
|
1101
|
+
var result = LinkedHashSet.new_kotlin_collections_LinkedHashSet_ahyf7j_k$();
|
|
1086
1102
|
var inductionVariable = 0;
|
|
1087
|
-
var last = this.
|
|
1103
|
+
var last = this.entryCount_1;
|
|
1088
1104
|
if (inductionVariable < last)
|
|
1089
1105
|
do {
|
|
1090
1106
|
var i = inductionVariable;
|
|
1091
1107
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1092
|
-
result.
|
|
1108
|
+
result.add_utx5q5_k$(this.keyStorage_1[i]);
|
|
1093
1109
|
}
|
|
1094
1110
|
while (inductionVariable < last);
|
|
1095
1111
|
return result;
|
|
1096
1112
|
}
|
|
1097
|
-
|
|
1098
|
-
return this.
|
|
1113
|
+
isEmpty_y1axqb_k$() {
|
|
1114
|
+
return this.entryCount_1 === 0;
|
|
1099
1115
|
}
|
|
1100
|
-
|
|
1101
|
-
if (this.
|
|
1116
|
+
entries_qbkxv4_k$() {
|
|
1117
|
+
if (this.entryCount_1 === 0)
|
|
1102
1118
|
return emptySet();
|
|
1103
1119
|
// Inline function 'kotlin.collections.linkedSetOf' call
|
|
1104
|
-
var result = LinkedHashSet.
|
|
1120
|
+
var result = LinkedHashSet.new_kotlin_collections_LinkedHashSet_ahyf7j_k$();
|
|
1105
1121
|
var inductionVariable = 0;
|
|
1106
|
-
var last = this.
|
|
1122
|
+
var last = this.entryCount_1;
|
|
1107
1123
|
if (inductionVariable < last)
|
|
1108
1124
|
do {
|
|
1109
1125
|
var i = inductionVariable;
|
|
1110
1126
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1111
|
-
result.
|
|
1127
|
+
result.add_utx5q5_k$(new StringValuesEntry(this.keyStorage_1[i], this.valueStorage_1[i]));
|
|
1112
1128
|
}
|
|
1113
1129
|
while (inductionVariable < last);
|
|
1114
1130
|
return result;
|
|
1115
1131
|
}
|
|
1116
|
-
|
|
1132
|
+
forEach_jocloe_k$(body) {
|
|
1117
1133
|
var inductionVariable = 0;
|
|
1118
|
-
var last = this.
|
|
1134
|
+
var last = this.entryCount_1;
|
|
1119
1135
|
if (inductionVariable < last)
|
|
1120
1136
|
do {
|
|
1121
1137
|
var i = inductionVariable;
|
|
1122
1138
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1123
|
-
body(this.
|
|
1139
|
+
body(this.keyStorage_1[i], this.valueStorage_1[i]);
|
|
1124
1140
|
}
|
|
1125
1141
|
while (inductionVariable < last);
|
|
1126
1142
|
}
|
|
1127
1143
|
toString() {
|
|
1128
|
-
return 'StringValues(case=' + !this.
|
|
1144
|
+
return 'StringValues(case=' + !this.caseInsensitiveName_1 + ') ' + toString(this.entries_qbkxv4_k$());
|
|
1129
1145
|
}
|
|
1130
1146
|
equals(other) {
|
|
1131
1147
|
if (this === other)
|
|
1132
1148
|
return true;
|
|
1133
1149
|
if (!(!(other == null) ? isInterface(other, StringValues) : false))
|
|
1134
1150
|
return false;
|
|
1135
|
-
if (!(this.
|
|
1151
|
+
if (!(this.caseInsensitiveName_1 === other.get_caseInsensitiveName_ehooe5_k$()))
|
|
1136
1152
|
return false;
|
|
1137
|
-
return entriesEquals(this.
|
|
1153
|
+
return entriesEquals(this.entries_qbkxv4_k$(), other.entries_qbkxv4_k$());
|
|
1138
1154
|
}
|
|
1139
1155
|
hashCode() {
|
|
1140
|
-
return entriesHashCode(this.
|
|
1156
|
+
return entriesHashCode(this.entries_qbkxv4_k$(), imul(31, getBooleanHashCode(this.caseInsensitiveName_1)));
|
|
1141
1157
|
}
|
|
1142
1158
|
}
|
|
1143
1159
|
class StringValuesSingleImpl$entries$1 {
|
|
1144
1160
|
constructor(this$0) {
|
|
1145
|
-
this.
|
|
1146
|
-
this.
|
|
1161
|
+
this.key_1 = this$0.name_1;
|
|
1162
|
+
this.value_1 = this$0.values_1;
|
|
1147
1163
|
}
|
|
1148
|
-
|
|
1149
|
-
return this.
|
|
1164
|
+
get_key_18j28a_k$() {
|
|
1165
|
+
return this.key_1;
|
|
1150
1166
|
}
|
|
1151
|
-
|
|
1152
|
-
return this.
|
|
1167
|
+
get_value_j01efc_k$() {
|
|
1168
|
+
return this.value_1;
|
|
1153
1169
|
}
|
|
1154
1170
|
toString() {
|
|
1155
|
-
return this.
|
|
1171
|
+
return this.key_1 + '=' + toString(this.value_1);
|
|
1156
1172
|
}
|
|
1157
1173
|
equals(other) {
|
|
1158
1174
|
var tmp;
|
|
1159
1175
|
var tmp_0;
|
|
1160
1176
|
if (!(other == null) ? isInterface(other, Entry) : false) {
|
|
1161
|
-
tmp_0 = equals_0(other.
|
|
1177
|
+
tmp_0 = equals_0(other.get_key_18j28a_k$(), this.key_1);
|
|
1162
1178
|
} else {
|
|
1163
1179
|
tmp_0 = false;
|
|
1164
1180
|
}
|
|
1165
1181
|
if (tmp_0) {
|
|
1166
|
-
tmp = equals_0(other.
|
|
1182
|
+
tmp = equals_0(other.get_value_j01efc_k$(), this.value_1);
|
|
1167
1183
|
} else {
|
|
1168
1184
|
tmp = false;
|
|
1169
1185
|
}
|
|
1170
1186
|
return tmp;
|
|
1171
1187
|
}
|
|
1172
1188
|
hashCode() {
|
|
1173
|
-
return getStringHashCode(this.
|
|
1189
|
+
return getStringHashCode(this.key_1) ^ hashCode(this.value_1);
|
|
1174
1190
|
}
|
|
1175
1191
|
}
|
|
1176
1192
|
class StringValuesSingleImpl {
|
|
1177
1193
|
constructor(caseInsensitiveName, name, values) {
|
|
1178
|
-
this.
|
|
1179
|
-
this.
|
|
1180
|
-
this.
|
|
1194
|
+
this.caseInsensitiveName_1 = caseInsensitiveName;
|
|
1195
|
+
this.name_1 = name;
|
|
1196
|
+
this.values_1 = values;
|
|
1181
1197
|
}
|
|
1182
|
-
|
|
1183
|
-
return this.
|
|
1198
|
+
get_caseInsensitiveName_ehooe5_k$() {
|
|
1199
|
+
return this.caseInsensitiveName_1;
|
|
1184
1200
|
}
|
|
1185
|
-
|
|
1186
|
-
return equals(this.
|
|
1201
|
+
getAll_ffxf4h_k$(name) {
|
|
1202
|
+
return equals(this.name_1, name, this.get_caseInsensitiveName_ehooe5_k$()) ? this.values_1 : null;
|
|
1187
1203
|
}
|
|
1188
|
-
|
|
1204
|
+
entries_qbkxv4_k$() {
|
|
1189
1205
|
return setOf(new StringValuesSingleImpl$entries$1(this));
|
|
1190
1206
|
}
|
|
1191
|
-
|
|
1207
|
+
isEmpty_y1axqb_k$() {
|
|
1192
1208
|
return false;
|
|
1193
1209
|
}
|
|
1194
|
-
|
|
1195
|
-
return setOf(this.
|
|
1210
|
+
names_1q9mbs_k$() {
|
|
1211
|
+
return setOf(this.name_1);
|
|
1196
1212
|
}
|
|
1197
1213
|
toString() {
|
|
1198
|
-
return 'StringValues(case=' + !this.
|
|
1214
|
+
return 'StringValues(case=' + !this.get_caseInsensitiveName_ehooe5_k$() + ') ' + toString(this.entries_qbkxv4_k$());
|
|
1199
1215
|
}
|
|
1200
1216
|
hashCode() {
|
|
1201
|
-
return entriesHashCode(this.
|
|
1217
|
+
return entriesHashCode(this.entries_qbkxv4_k$(), imul(31, getBooleanHashCode(this.get_caseInsensitiveName_ehooe5_k$())));
|
|
1202
1218
|
}
|
|
1203
1219
|
equals(other) {
|
|
1204
1220
|
if (this === other)
|
|
1205
1221
|
return true;
|
|
1206
1222
|
if (!(!(other == null) ? isInterface(other, StringValues) : false))
|
|
1207
1223
|
return false;
|
|
1208
|
-
if (!(this.
|
|
1224
|
+
if (!(this.get_caseInsensitiveName_ehooe5_k$() === other.get_caseInsensitiveName_ehooe5_k$()))
|
|
1209
1225
|
return false;
|
|
1210
|
-
return entriesEquals(this.
|
|
1226
|
+
return entriesEquals(this.entries_qbkxv4_k$(), other.entries_qbkxv4_k$());
|
|
1211
1227
|
}
|
|
1212
|
-
|
|
1213
|
-
return body(this.
|
|
1228
|
+
forEach_jocloe_k$(body) {
|
|
1229
|
+
return body(this.name_1, this.values_1);
|
|
1214
1230
|
}
|
|
1215
|
-
|
|
1216
|
-
return equals(name, this.
|
|
1231
|
+
get_6bo4tg_k$(name) {
|
|
1232
|
+
return equals(name, this.name_1, this.get_caseInsensitiveName_ehooe5_k$()) ? firstOrNull(this.values_1) : null;
|
|
1217
1233
|
}
|
|
1218
1234
|
}
|
|
1219
1235
|
class ChannelIOException extends IOException {}
|
|
1220
1236
|
class CopyOnWriteHashMap {
|
|
1221
1237
|
constructor() {
|
|
1222
|
-
this.
|
|
1238
|
+
this.current_1 = atomic$ref$1(emptyMap());
|
|
1223
1239
|
}
|
|
1224
|
-
|
|
1225
|
-
return this.
|
|
1240
|
+
get_h31hzz_k$(key) {
|
|
1241
|
+
return this.current_1.kotlinx$atomicfu$value.get_wei43m_k$(key);
|
|
1226
1242
|
}
|
|
1227
1243
|
}
|
|
1228
1244
|
class Companion_1 {
|
|
1229
1245
|
constructor() {
|
|
1230
|
-
|
|
1246
|
+
Companion_instance_3 = this;
|
|
1231
1247
|
var tmp = this;
|
|
1232
1248
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1233
1249
|
var tmp_1 = lazy(tmp_0, GMTDate$Companion$$childSerializers$_anonymous__gyfycy);
|
|
@@ -1235,45 +1251,45 @@ class Companion_1 {
|
|
|
1235
1251
|
// Inline function 'kotlin.arrayOf' call
|
|
1236
1252
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1237
1253
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1238
|
-
tmp
|
|
1239
|
-
this.
|
|
1254
|
+
tmp.$childSerializers_1 = [null, null, null, tmp_1, null, null, lazy(tmp_2, GMTDate$Companion$$childSerializers$_anonymous__gyfycy_0), null, null];
|
|
1255
|
+
this.START_1 = GMTDate_0(0n);
|
|
1240
1256
|
}
|
|
1241
1257
|
}
|
|
1242
1258
|
class $serializer {
|
|
1243
1259
|
constructor() {
|
|
1244
1260
|
$serializer_instance = this;
|
|
1245
1261
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('io.ktor.util.date.GMTDate', this, 9);
|
|
1246
|
-
tmp0_serialDesc.
|
|
1247
|
-
tmp0_serialDesc.
|
|
1248
|
-
tmp0_serialDesc.
|
|
1249
|
-
tmp0_serialDesc.
|
|
1250
|
-
tmp0_serialDesc.
|
|
1251
|
-
tmp0_serialDesc.
|
|
1252
|
-
tmp0_serialDesc.
|
|
1253
|
-
tmp0_serialDesc.
|
|
1254
|
-
tmp0_serialDesc.
|
|
1255
|
-
this.
|
|
1256
|
-
}
|
|
1257
|
-
|
|
1258
|
-
var tmp0_desc = this.
|
|
1259
|
-
var tmp1_output = encoder.
|
|
1260
|
-
var tmp2_cached = Companion_getInstance_1()
|
|
1261
|
-
tmp1_output.
|
|
1262
|
-
tmp1_output.
|
|
1263
|
-
tmp1_output.
|
|
1264
|
-
tmp1_output.
|
|
1265
|
-
tmp1_output.
|
|
1266
|
-
tmp1_output.
|
|
1267
|
-
tmp1_output.
|
|
1268
|
-
tmp1_output.
|
|
1269
|
-
tmp1_output.
|
|
1270
|
-
tmp1_output.
|
|
1271
|
-
}
|
|
1272
|
-
|
|
1273
|
-
return this.
|
|
1274
|
-
}
|
|
1275
|
-
|
|
1276
|
-
var tmp0_desc = this.
|
|
1262
|
+
tmp0_serialDesc.addElement_5pzumi_k$('seconds', false);
|
|
1263
|
+
tmp0_serialDesc.addElement_5pzumi_k$('minutes', false);
|
|
1264
|
+
tmp0_serialDesc.addElement_5pzumi_k$('hours', false);
|
|
1265
|
+
tmp0_serialDesc.addElement_5pzumi_k$('dayOfWeek', false);
|
|
1266
|
+
tmp0_serialDesc.addElement_5pzumi_k$('dayOfMonth', false);
|
|
1267
|
+
tmp0_serialDesc.addElement_5pzumi_k$('dayOfYear', false);
|
|
1268
|
+
tmp0_serialDesc.addElement_5pzumi_k$('month', false);
|
|
1269
|
+
tmp0_serialDesc.addElement_5pzumi_k$('year', false);
|
|
1270
|
+
tmp0_serialDesc.addElement_5pzumi_k$('timestamp', false);
|
|
1271
|
+
this.descriptor_1 = tmp0_serialDesc;
|
|
1272
|
+
}
|
|
1273
|
+
serialize_gyl192_k$(encoder, value) {
|
|
1274
|
+
var tmp0_desc = this.descriptor_1;
|
|
1275
|
+
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
1276
|
+
var tmp2_cached = Companion_getInstance_1().$childSerializers_1;
|
|
1277
|
+
tmp1_output.encodeIntElement_krhhce_k$(tmp0_desc, 0, value.seconds_1);
|
|
1278
|
+
tmp1_output.encodeIntElement_krhhce_k$(tmp0_desc, 1, value.minutes_1);
|
|
1279
|
+
tmp1_output.encodeIntElement_krhhce_k$(tmp0_desc, 2, value.hours_1);
|
|
1280
|
+
tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 3, tmp2_cached[3].get_value_j01efc_k$(), value.dayOfWeek_1);
|
|
1281
|
+
tmp1_output.encodeIntElement_krhhce_k$(tmp0_desc, 4, value.dayOfMonth_1);
|
|
1282
|
+
tmp1_output.encodeIntElement_krhhce_k$(tmp0_desc, 5, value.dayOfYear_1);
|
|
1283
|
+
tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 6, tmp2_cached[6].get_value_j01efc_k$(), value.month_1);
|
|
1284
|
+
tmp1_output.encodeIntElement_krhhce_k$(tmp0_desc, 7, value.year_1);
|
|
1285
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 8, value.timestamp_1);
|
|
1286
|
+
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
1287
|
+
}
|
|
1288
|
+
serialize_5ase3y_k$(encoder, value) {
|
|
1289
|
+
return this.serialize_gyl192_k$(encoder, value instanceof GMTDate ? value : THROW_CCE());
|
|
1290
|
+
}
|
|
1291
|
+
deserialize_sy6x50_k$(decoder) {
|
|
1292
|
+
var tmp0_desc = this.descriptor_1;
|
|
1277
1293
|
var tmp1_flag = true;
|
|
1278
1294
|
var tmp2_index = 0;
|
|
1279
1295
|
var tmp3_bitMask0 = 0;
|
|
@@ -1286,120 +1302,120 @@ class $serializer {
|
|
|
1286
1302
|
var tmp10_local6 = null;
|
|
1287
1303
|
var tmp11_local7 = 0;
|
|
1288
1304
|
var tmp12_local8 = 0n;
|
|
1289
|
-
var tmp13_input = decoder.
|
|
1290
|
-
var tmp14_cached = Companion_getInstance_1()
|
|
1291
|
-
if (tmp13_input.
|
|
1292
|
-
tmp4_local0 = tmp13_input.
|
|
1305
|
+
var tmp13_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
1306
|
+
var tmp14_cached = Companion_getInstance_1().$childSerializers_1;
|
|
1307
|
+
if (tmp13_input.decodeSequentially_xlblqy_k$()) {
|
|
1308
|
+
tmp4_local0 = tmp13_input.decodeIntElement_941u6a_k$(tmp0_desc, 0);
|
|
1293
1309
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1294
|
-
tmp5_local1 = tmp13_input.
|
|
1310
|
+
tmp5_local1 = tmp13_input.decodeIntElement_941u6a_k$(tmp0_desc, 1);
|
|
1295
1311
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1296
|
-
tmp6_local2 = tmp13_input.
|
|
1312
|
+
tmp6_local2 = tmp13_input.decodeIntElement_941u6a_k$(tmp0_desc, 2);
|
|
1297
1313
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1298
|
-
tmp7_local3 = tmp13_input.
|
|
1314
|
+
tmp7_local3 = tmp13_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 3, tmp14_cached[3].get_value_j01efc_k$(), tmp7_local3);
|
|
1299
1315
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1300
|
-
tmp8_local4 = tmp13_input.
|
|
1316
|
+
tmp8_local4 = tmp13_input.decodeIntElement_941u6a_k$(tmp0_desc, 4);
|
|
1301
1317
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1302
|
-
tmp9_local5 = tmp13_input.
|
|
1318
|
+
tmp9_local5 = tmp13_input.decodeIntElement_941u6a_k$(tmp0_desc, 5);
|
|
1303
1319
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1304
|
-
tmp10_local6 = tmp13_input.
|
|
1320
|
+
tmp10_local6 = tmp13_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 6, tmp14_cached[6].get_value_j01efc_k$(), tmp10_local6);
|
|
1305
1321
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1306
|
-
tmp11_local7 = tmp13_input.
|
|
1322
|
+
tmp11_local7 = tmp13_input.decodeIntElement_941u6a_k$(tmp0_desc, 7);
|
|
1307
1323
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1308
|
-
tmp12_local8 = tmp13_input.
|
|
1324
|
+
tmp12_local8 = tmp13_input.decodeLongElement_994anb_k$(tmp0_desc, 8);
|
|
1309
1325
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
1310
1326
|
} else
|
|
1311
1327
|
while (tmp1_flag) {
|
|
1312
|
-
tmp2_index = tmp13_input.
|
|
1328
|
+
tmp2_index = tmp13_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
1313
1329
|
switch (tmp2_index) {
|
|
1314
1330
|
case -1:
|
|
1315
1331
|
tmp1_flag = false;
|
|
1316
1332
|
break;
|
|
1317
1333
|
case 0:
|
|
1318
|
-
tmp4_local0 = tmp13_input.
|
|
1334
|
+
tmp4_local0 = tmp13_input.decodeIntElement_941u6a_k$(tmp0_desc, 0);
|
|
1319
1335
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1320
1336
|
break;
|
|
1321
1337
|
case 1:
|
|
1322
|
-
tmp5_local1 = tmp13_input.
|
|
1338
|
+
tmp5_local1 = tmp13_input.decodeIntElement_941u6a_k$(tmp0_desc, 1);
|
|
1323
1339
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1324
1340
|
break;
|
|
1325
1341
|
case 2:
|
|
1326
|
-
tmp6_local2 = tmp13_input.
|
|
1342
|
+
tmp6_local2 = tmp13_input.decodeIntElement_941u6a_k$(tmp0_desc, 2);
|
|
1327
1343
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1328
1344
|
break;
|
|
1329
1345
|
case 3:
|
|
1330
|
-
tmp7_local3 = tmp13_input.
|
|
1346
|
+
tmp7_local3 = tmp13_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 3, tmp14_cached[3].get_value_j01efc_k$(), tmp7_local3);
|
|
1331
1347
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1332
1348
|
break;
|
|
1333
1349
|
case 4:
|
|
1334
|
-
tmp8_local4 = tmp13_input.
|
|
1350
|
+
tmp8_local4 = tmp13_input.decodeIntElement_941u6a_k$(tmp0_desc, 4);
|
|
1335
1351
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1336
1352
|
break;
|
|
1337
1353
|
case 5:
|
|
1338
|
-
tmp9_local5 = tmp13_input.
|
|
1354
|
+
tmp9_local5 = tmp13_input.decodeIntElement_941u6a_k$(tmp0_desc, 5);
|
|
1339
1355
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1340
1356
|
break;
|
|
1341
1357
|
case 6:
|
|
1342
|
-
tmp10_local6 = tmp13_input.
|
|
1358
|
+
tmp10_local6 = tmp13_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 6, tmp14_cached[6].get_value_j01efc_k$(), tmp10_local6);
|
|
1343
1359
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1344
1360
|
break;
|
|
1345
1361
|
case 7:
|
|
1346
|
-
tmp11_local7 = tmp13_input.
|
|
1362
|
+
tmp11_local7 = tmp13_input.decodeIntElement_941u6a_k$(tmp0_desc, 7);
|
|
1347
1363
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1348
1364
|
break;
|
|
1349
1365
|
case 8:
|
|
1350
|
-
tmp12_local8 = tmp13_input.
|
|
1366
|
+
tmp12_local8 = tmp13_input.decodeLongElement_994anb_k$(tmp0_desc, 8);
|
|
1351
1367
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
1352
1368
|
break;
|
|
1353
1369
|
default:
|
|
1354
|
-
throw UnknownFieldException.
|
|
1370
|
+
throw UnknownFieldException.new_kotlinx_serialization_UnknownFieldException_ecrf7z_k$(tmp2_index);
|
|
1355
1371
|
}
|
|
1356
1372
|
}
|
|
1357
|
-
tmp13_input.
|
|
1358
|
-
return GMTDate.
|
|
1373
|
+
tmp13_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
1374
|
+
return GMTDate.new_io_ktor_util_date_GMTDate_1rd0je_k$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, null);
|
|
1359
1375
|
}
|
|
1360
|
-
|
|
1361
|
-
return this.
|
|
1376
|
+
get_descriptor_wjt6a0_k$() {
|
|
1377
|
+
return this.descriptor_1;
|
|
1362
1378
|
}
|
|
1363
|
-
|
|
1364
|
-
var tmp0_cached = Companion_getInstance_1()
|
|
1379
|
+
childSerializers_5ghqw5_k$() {
|
|
1380
|
+
var tmp0_cached = Companion_getInstance_1().$childSerializers_1;
|
|
1365
1381
|
// Inline function 'kotlin.arrayOf' call
|
|
1366
1382
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1367
1383
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1368
|
-
return [IntSerializer_getInstance(), IntSerializer_getInstance(), IntSerializer_getInstance(), tmp0_cached[3].
|
|
1384
|
+
return [IntSerializer_getInstance(), IntSerializer_getInstance(), IntSerializer_getInstance(), tmp0_cached[3].get_value_j01efc_k$(), IntSerializer_getInstance(), IntSerializer_getInstance(), tmp0_cached[6].get_value_j01efc_k$(), IntSerializer_getInstance(), LongSerializer_getInstance()];
|
|
1369
1385
|
}
|
|
1370
1386
|
}
|
|
1371
1387
|
class GMTDate {
|
|
1372
1388
|
constructor(seconds, minutes, hours, dayOfWeek, dayOfMonth, dayOfYear, month, year, timestamp) {
|
|
1373
1389
|
Companion_getInstance_1();
|
|
1374
|
-
this.
|
|
1375
|
-
this.
|
|
1376
|
-
this.
|
|
1377
|
-
this.
|
|
1378
|
-
this.
|
|
1379
|
-
this.
|
|
1380
|
-
this.
|
|
1381
|
-
this.
|
|
1382
|
-
this.
|
|
1383
|
-
}
|
|
1384
|
-
|
|
1385
|
-
return compareTo(this.
|
|
1386
|
-
}
|
|
1387
|
-
|
|
1388
|
-
return this.
|
|
1390
|
+
this.seconds_1 = seconds;
|
|
1391
|
+
this.minutes_1 = minutes;
|
|
1392
|
+
this.hours_1 = hours;
|
|
1393
|
+
this.dayOfWeek_1 = dayOfWeek;
|
|
1394
|
+
this.dayOfMonth_1 = dayOfMonth;
|
|
1395
|
+
this.dayOfYear_1 = dayOfYear;
|
|
1396
|
+
this.month_1 = month;
|
|
1397
|
+
this.year_1 = year;
|
|
1398
|
+
this.timestamp_1 = timestamp;
|
|
1399
|
+
}
|
|
1400
|
+
compareTo_nbh2nh_k$(other) {
|
|
1401
|
+
return compareTo(this.timestamp_1, other.timestamp_1);
|
|
1402
|
+
}
|
|
1403
|
+
compareTo_hpufkf_k$(other) {
|
|
1404
|
+
return this.compareTo_nbh2nh_k$(other instanceof GMTDate ? other : THROW_CCE());
|
|
1389
1405
|
}
|
|
1390
1406
|
toString() {
|
|
1391
|
-
return 'GMTDate(seconds=' + this.
|
|
1407
|
+
return 'GMTDate(seconds=' + this.seconds_1 + ', minutes=' + this.minutes_1 + ', hours=' + this.hours_1 + ', dayOfWeek=' + this.dayOfWeek_1.toString() + ', dayOfMonth=' + this.dayOfMonth_1 + ', dayOfYear=' + this.dayOfYear_1 + ', month=' + this.month_1.toString() + ', year=' + this.year_1 + ', timestamp=' + this.timestamp_1.toString() + ')';
|
|
1392
1408
|
}
|
|
1393
1409
|
hashCode() {
|
|
1394
|
-
var result = this.
|
|
1395
|
-
result = imul(result, 31) + this.
|
|
1396
|
-
result = imul(result, 31) + this.
|
|
1397
|
-
result = imul(result, 31) + this.
|
|
1398
|
-
result = imul(result, 31) + this.
|
|
1399
|
-
result = imul(result, 31) + this.
|
|
1400
|
-
result = imul(result, 31) + this.
|
|
1401
|
-
result = imul(result, 31) + this.
|
|
1402
|
-
result = imul(result, 31) + getBigIntHashCode(this.
|
|
1410
|
+
var result = this.seconds_1;
|
|
1411
|
+
result = imul(result, 31) + this.minutes_1 | 0;
|
|
1412
|
+
result = imul(result, 31) + this.hours_1 | 0;
|
|
1413
|
+
result = imul(result, 31) + this.dayOfWeek_1.hashCode() | 0;
|
|
1414
|
+
result = imul(result, 31) + this.dayOfMonth_1 | 0;
|
|
1415
|
+
result = imul(result, 31) + this.dayOfYear_1 | 0;
|
|
1416
|
+
result = imul(result, 31) + this.month_1.hashCode() | 0;
|
|
1417
|
+
result = imul(result, 31) + this.year_1 | 0;
|
|
1418
|
+
result = imul(result, 31) + getBigIntHashCode(this.timestamp_1) | 0;
|
|
1403
1419
|
return result;
|
|
1404
1420
|
}
|
|
1405
1421
|
equals(other) {
|
|
@@ -1407,219 +1423,220 @@ class GMTDate {
|
|
|
1407
1423
|
return true;
|
|
1408
1424
|
if (!(other instanceof GMTDate))
|
|
1409
1425
|
return false;
|
|
1410
|
-
if (!(this.
|
|
1426
|
+
if (!(this.seconds_1 === other.seconds_1))
|
|
1411
1427
|
return false;
|
|
1412
|
-
if (!(this.
|
|
1428
|
+
if (!(this.minutes_1 === other.minutes_1))
|
|
1413
1429
|
return false;
|
|
1414
|
-
if (!(this.
|
|
1430
|
+
if (!(this.hours_1 === other.hours_1))
|
|
1415
1431
|
return false;
|
|
1416
|
-
if (!this.
|
|
1432
|
+
if (!this.dayOfWeek_1.equals(other.dayOfWeek_1))
|
|
1417
1433
|
return false;
|
|
1418
|
-
if (!(this.
|
|
1434
|
+
if (!(this.dayOfMonth_1 === other.dayOfMonth_1))
|
|
1419
1435
|
return false;
|
|
1420
|
-
if (!(this.
|
|
1436
|
+
if (!(this.dayOfYear_1 === other.dayOfYear_1))
|
|
1421
1437
|
return false;
|
|
1422
|
-
if (!this.
|
|
1438
|
+
if (!this.month_1.equals(other.month_1))
|
|
1423
1439
|
return false;
|
|
1424
|
-
if (!(this.
|
|
1440
|
+
if (!(this.year_1 === other.year_1))
|
|
1425
1441
|
return false;
|
|
1426
|
-
if (!(this.
|
|
1442
|
+
if (!(this.timestamp_1 === other.timestamp_1))
|
|
1427
1443
|
return false;
|
|
1428
1444
|
return true;
|
|
1429
1445
|
}
|
|
1430
|
-
static
|
|
1446
|
+
static new_io_ktor_util_date_GMTDate_1rd0je_k$(seen0, seconds, minutes, hours, dayOfWeek, dayOfMonth, dayOfYear, month, year, timestamp, serializationConstructorMarker) {
|
|
1431
1447
|
Companion_getInstance_1();
|
|
1432
1448
|
if (!(511 === (511 & seen0))) {
|
|
1433
|
-
throwMissingFieldException(seen0, 511, $serializer_getInstance().
|
|
1449
|
+
throwMissingFieldException(seen0, 511, $serializer_getInstance().descriptor_1);
|
|
1434
1450
|
}
|
|
1435
1451
|
var $this = createThis(this);
|
|
1436
|
-
$this.
|
|
1437
|
-
$this.
|
|
1438
|
-
$this.
|
|
1439
|
-
$this.
|
|
1440
|
-
$this.
|
|
1441
|
-
$this.
|
|
1442
|
-
$this.
|
|
1443
|
-
$this.
|
|
1444
|
-
$this.
|
|
1452
|
+
$this.seconds_1 = seconds;
|
|
1453
|
+
$this.minutes_1 = minutes;
|
|
1454
|
+
$this.hours_1 = hours;
|
|
1455
|
+
$this.dayOfWeek_1 = dayOfWeek;
|
|
1456
|
+
$this.dayOfMonth_1 = dayOfMonth;
|
|
1457
|
+
$this.dayOfYear_1 = dayOfYear;
|
|
1458
|
+
$this.month_1 = month;
|
|
1459
|
+
$this.year_1 = year;
|
|
1460
|
+
$this.timestamp_1 = timestamp;
|
|
1445
1461
|
return $this;
|
|
1446
1462
|
}
|
|
1447
1463
|
}
|
|
1448
1464
|
class Companion_2 {
|
|
1449
|
-
|
|
1450
|
-
return get_entries().
|
|
1465
|
+
from_1ixx1u_k$(ordinal) {
|
|
1466
|
+
return get_entries().get_c1px32_k$(ordinal);
|
|
1451
1467
|
}
|
|
1452
1468
|
}
|
|
1453
1469
|
class WeekDay extends Enum {
|
|
1454
1470
|
constructor(name, ordinal, value) {
|
|
1455
1471
|
super(name, ordinal);
|
|
1456
|
-
this.
|
|
1472
|
+
this.value_1 = value;
|
|
1457
1473
|
}
|
|
1458
1474
|
}
|
|
1459
1475
|
class Companion_3 {
|
|
1460
|
-
|
|
1461
|
-
return get_entries_0().
|
|
1476
|
+
from_1ixx1u_k$(ordinal) {
|
|
1477
|
+
return get_entries_0().get_c1px32_k$(ordinal);
|
|
1462
1478
|
}
|
|
1463
1479
|
}
|
|
1464
1480
|
class Month extends Enum {
|
|
1465
1481
|
constructor(name, ordinal, value) {
|
|
1466
1482
|
super(name, ordinal);
|
|
1467
|
-
this.
|
|
1483
|
+
this.value_1 = value;
|
|
1468
1484
|
}
|
|
1469
1485
|
}
|
|
1470
1486
|
class LockFreeLinkedListNode {
|
|
1471
|
-
|
|
1487
|
+
get_next_wor1vg_k$() {
|
|
1472
1488
|
// Inline function 'kotlinx.atomicfu.loop' call
|
|
1473
|
-
var this_0 = this.
|
|
1489
|
+
var this_0 = this._next_1;
|
|
1474
1490
|
while (true) {
|
|
1475
1491
|
var next = this_0.kotlinx$atomicfu$value;
|
|
1476
1492
|
if (!(next instanceof OpDescriptor))
|
|
1477
1493
|
return next;
|
|
1478
|
-
next.
|
|
1494
|
+
next.perform_8emi3i_k$(this);
|
|
1479
1495
|
}
|
|
1480
1496
|
}
|
|
1481
|
-
|
|
1482
|
-
return unwrap(this.
|
|
1497
|
+
get_nextNode_88zlwi_k$() {
|
|
1498
|
+
return unwrap(this.get_next_wor1vg_k$());
|
|
1483
1499
|
}
|
|
1484
1500
|
}
|
|
1485
1501
|
class Symbol {
|
|
1486
1502
|
constructor(symbol) {
|
|
1487
|
-
this.
|
|
1503
|
+
this.symbol_1 = symbol;
|
|
1488
1504
|
}
|
|
1489
1505
|
toString() {
|
|
1490
|
-
return this.
|
|
1506
|
+
return this.symbol_1;
|
|
1491
1507
|
}
|
|
1492
1508
|
}
|
|
1493
1509
|
class Removed {}
|
|
1494
1510
|
class OpDescriptor {}
|
|
1495
1511
|
class PipelineContext {
|
|
1496
1512
|
constructor(context) {
|
|
1497
|
-
this.
|
|
1513
|
+
this.context_1 = context;
|
|
1498
1514
|
}
|
|
1499
1515
|
}
|
|
1500
1516
|
class DebugPipelineContext extends PipelineContext {
|
|
1501
1517
|
constructor(context, interceptors, subject, coroutineContext) {
|
|
1502
1518
|
super(context);
|
|
1503
|
-
this.
|
|
1504
|
-
this.
|
|
1505
|
-
this.
|
|
1506
|
-
this.
|
|
1519
|
+
this.interceptors_1 = interceptors;
|
|
1520
|
+
this.coroutineContext_1 = coroutineContext;
|
|
1521
|
+
this.subject_1 = subject;
|
|
1522
|
+
this.index_1 = 0;
|
|
1507
1523
|
}
|
|
1508
|
-
|
|
1509
|
-
return this.
|
|
1524
|
+
get_coroutineContext_115oqo_k$() {
|
|
1525
|
+
return this.coroutineContext_1;
|
|
1510
1526
|
}
|
|
1511
|
-
|
|
1512
|
-
return this.
|
|
1527
|
+
get_subject_tmjbgd_k$() {
|
|
1528
|
+
return this.subject_1;
|
|
1513
1529
|
}
|
|
1514
|
-
|
|
1515
|
-
this.
|
|
1530
|
+
finish_mh2air_k$() {
|
|
1531
|
+
this.index_1 = -1;
|
|
1516
1532
|
}
|
|
1517
|
-
*
|
|
1518
|
-
this.
|
|
1519
|
-
return yield* this.
|
|
1533
|
+
*proceedWith_i5skhv_k$(subject, $completion) {
|
|
1534
|
+
this.subject_1 = subject;
|
|
1535
|
+
return yield* this.proceed_tynop7_k$($completion);
|
|
1520
1536
|
}
|
|
1521
|
-
*
|
|
1522
|
-
var index = this.
|
|
1537
|
+
*proceed_tynop7_k$($completion) {
|
|
1538
|
+
var index = this.index_1;
|
|
1523
1539
|
if (index < 0)
|
|
1524
|
-
return this.
|
|
1525
|
-
if (index >= this.
|
|
1526
|
-
this.
|
|
1527
|
-
return this.
|
|
1540
|
+
return this.subject_1;
|
|
1541
|
+
if (index >= this.interceptors_1.get_size_woubt6_k$()) {
|
|
1542
|
+
this.finish_mh2air_k$();
|
|
1543
|
+
return this.subject_1;
|
|
1528
1544
|
}
|
|
1529
1545
|
return yield* /*#__NOINLINE__*/proceedLoop(this, $completion);
|
|
1530
1546
|
}
|
|
1531
|
-
*
|
|
1532
|
-
this.
|
|
1533
|
-
this.
|
|
1534
|
-
return yield* this.
|
|
1547
|
+
*execute_pc5rz_k$(initial, $completion) {
|
|
1548
|
+
this.index_1 = 0;
|
|
1549
|
+
this.subject_1 = initial;
|
|
1550
|
+
return yield* this.proceed_tynop7_k$($completion);
|
|
1535
1551
|
}
|
|
1536
1552
|
}
|
|
1537
1553
|
class Companion_4 {
|
|
1538
1554
|
constructor() {
|
|
1539
|
-
|
|
1555
|
+
Companion_instance_6 = this;
|
|
1540
1556
|
var tmp = this;
|
|
1541
1557
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1542
|
-
tmp.
|
|
1558
|
+
tmp.SharedArrayList_1 = ArrayList.new_kotlin_collections_ArrayList_ony0vx_k$();
|
|
1543
1559
|
}
|
|
1544
1560
|
}
|
|
1545
1561
|
class PhaseContent {
|
|
1546
1562
|
constructor(phase, relation, interceptors) {
|
|
1547
|
-
return new.target.
|
|
1563
|
+
return new.target.new_io_ktor_util_pipeline_PhaseContent_6d9x0e_k$(phase, relation, interceptors);
|
|
1548
1564
|
}
|
|
1549
|
-
static
|
|
1565
|
+
static new_io_ktor_util_pipeline_PhaseContent_6d9x0e_k$(phase, relation, interceptors) {
|
|
1550
1566
|
Companion_getInstance_4();
|
|
1551
1567
|
var $this = createThis(this);
|
|
1552
|
-
$this.
|
|
1553
|
-
$this.
|
|
1554
|
-
$this.
|
|
1555
|
-
$this.
|
|
1568
|
+
$this.phase_1 = phase;
|
|
1569
|
+
$this.relation_1 = relation;
|
|
1570
|
+
$this.interceptors_1 = interceptors;
|
|
1571
|
+
$this.shared_1 = true;
|
|
1556
1572
|
return $this;
|
|
1557
1573
|
}
|
|
1558
|
-
static
|
|
1574
|
+
static new_io_ktor_util_pipeline_PhaseContent_24bg4y_k$(phase, relation) {
|
|
1559
1575
|
Companion_getInstance_4();
|
|
1560
|
-
var tmp = Companion_getInstance_4().
|
|
1561
|
-
var $this = this.
|
|
1576
|
+
var tmp = Companion_getInstance_4().SharedArrayList_1;
|
|
1577
|
+
var $this = this.new_io_ktor_util_pipeline_PhaseContent_6d9x0e_k$(phase, relation, isInterface(tmp, KtMutableList) ? tmp : THROW_CCE());
|
|
1562
1578
|
// Inline function 'kotlin.check' call
|
|
1563
|
-
if (!Companion_getInstance_4().
|
|
1579
|
+
if (!Companion_getInstance_4().SharedArrayList_1.isEmpty_y1axqb_k$()) {
|
|
1564
1580
|
var message = 'The shared empty array list has been modified';
|
|
1565
|
-
throw IllegalStateException.
|
|
1581
|
+
throw IllegalStateException.new_kotlin_IllegalStateException_w47ei6_k$(toString(message));
|
|
1566
1582
|
}
|
|
1567
1583
|
return $this;
|
|
1568
1584
|
}
|
|
1569
|
-
|
|
1570
|
-
return this.
|
|
1585
|
+
get_isEmpty_zauvru_k$() {
|
|
1586
|
+
return this.interceptors_1.isEmpty_y1axqb_k$();
|
|
1571
1587
|
}
|
|
1572
|
-
|
|
1573
|
-
return this.
|
|
1588
|
+
get_size_woubt6_k$() {
|
|
1589
|
+
return this.interceptors_1.get_size_woubt6_k$();
|
|
1574
1590
|
}
|
|
1575
|
-
|
|
1576
|
-
if (this.
|
|
1591
|
+
addInterceptor_jvll3j_k$(interceptor) {
|
|
1592
|
+
if (this.shared_1) {
|
|
1577
1593
|
copyInterceptors(this);
|
|
1578
1594
|
}
|
|
1579
|
-
this.
|
|
1595
|
+
this.interceptors_1.add_utx5q5_k$(interceptor);
|
|
1580
1596
|
}
|
|
1581
|
-
|
|
1582
|
-
var interceptors = this.
|
|
1597
|
+
addTo_h97ksk_k$(destination) {
|
|
1598
|
+
var interceptors = this.interceptors_1;
|
|
1583
1599
|
if (destination instanceof ArrayList) {
|
|
1584
|
-
destination.
|
|
1600
|
+
destination.ensureCapacity_wr7980_k$(destination.get_size_woubt6_k$() + interceptors.get_size_woubt6_k$() | 0);
|
|
1585
1601
|
}
|
|
1586
1602
|
var inductionVariable = 0;
|
|
1587
|
-
var last = interceptors.
|
|
1603
|
+
var last = interceptors.get_size_woubt6_k$();
|
|
1588
1604
|
if (inductionVariable < last)
|
|
1589
1605
|
do {
|
|
1590
1606
|
var index = inductionVariable;
|
|
1591
1607
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1592
|
-
destination.
|
|
1608
|
+
destination.add_utx5q5_k$(interceptors.get_c1px32_k$(index));
|
|
1593
1609
|
}
|
|
1594
1610
|
while (inductionVariable < last);
|
|
1595
1611
|
}
|
|
1596
|
-
|
|
1597
|
-
this.
|
|
1598
|
-
return this.
|
|
1612
|
+
sharedInterceptors_rmg8b1_k$() {
|
|
1613
|
+
this.shared_1 = true;
|
|
1614
|
+
return this.interceptors_1;
|
|
1599
1615
|
}
|
|
1600
1616
|
toString() {
|
|
1601
|
-
return 'Phase `' + this.
|
|
1617
|
+
return 'Phase `' + this.phase_1.name_1 + '`, ' + this.get_size_woubt6_k$() + ' handlers';
|
|
1602
1618
|
}
|
|
1603
1619
|
}
|
|
1604
1620
|
class Pipeline {
|
|
1605
1621
|
constructor(phases) {
|
|
1606
|
-
this.
|
|
1607
|
-
this.
|
|
1608
|
-
this.
|
|
1609
|
-
this.
|
|
1610
|
-
this.
|
|
1611
|
-
this.
|
|
1612
|
-
this.
|
|
1613
|
-
}
|
|
1614
|
-
|
|
1615
|
-
return this.
|
|
1616
|
-
}
|
|
1617
|
-
*
|
|
1622
|
+
this.attributes_1 = AttributesJsFn(true);
|
|
1623
|
+
this.developmentMode_1 = false;
|
|
1624
|
+
this.phasesRaw_1 = mutableListOf(phases.slice());
|
|
1625
|
+
this.interceptorsQuantity_1 = 0;
|
|
1626
|
+
this.interceptors$delegate_1 = atomic$ref$1(null);
|
|
1627
|
+
this.interceptorsListShared_1 = false;
|
|
1628
|
+
this.interceptorsListSharedPhase_1 = null;
|
|
1629
|
+
}
|
|
1630
|
+
get_developmentMode_eqiro5_k$() {
|
|
1631
|
+
return this.developmentMode_1;
|
|
1632
|
+
}
|
|
1633
|
+
*execute_qsx0hz_k$(context, subject, $completion) {
|
|
1634
|
+
// Inline function 'kotlinx.coroutines.currentCoroutineContext' call
|
|
1618
1635
|
// Inline function 'kotlin.js.getCoroutineContext' call
|
|
1619
|
-
var tmp$ret$0 = $completion.
|
|
1620
|
-
return yield* createContext(this, context, subject, tmp$ret$0).
|
|
1636
|
+
var tmp$ret$0 = $completion.get_context_h02k06_k$();
|
|
1637
|
+
return yield* createContext(this, context, subject, tmp$ret$0).execute_pc5rz_k$(subject, $completion);
|
|
1621
1638
|
}
|
|
1622
|
-
|
|
1639
|
+
insertPhaseAfter_gfhxiu_k$(reference, phase) {
|
|
1623
1640
|
if (hasPhase(this, phase))
|
|
1624
1641
|
return Unit_instance;
|
|
1625
1642
|
var index = findPhaseIndex(this, reference);
|
|
@@ -1628,14 +1645,14 @@ class Pipeline {
|
|
|
1628
1645
|
}
|
|
1629
1646
|
var lastRelatedPhaseIndex = index;
|
|
1630
1647
|
var inductionVariable = index + 1 | 0;
|
|
1631
|
-
var last = get_lastIndex_0(this.
|
|
1648
|
+
var last = get_lastIndex_0(this.phasesRaw_1);
|
|
1632
1649
|
if (inductionVariable <= last)
|
|
1633
1650
|
$l$loop_0: do {
|
|
1634
1651
|
var i = inductionVariable;
|
|
1635
1652
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1636
|
-
var tmp = this.
|
|
1653
|
+
var tmp = this.phasesRaw_1.get_c1px32_k$(i);
|
|
1637
1654
|
var tmp0_safe_receiver = tmp instanceof PhaseContent ? tmp : null;
|
|
1638
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1655
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.relation_1;
|
|
1639
1656
|
var tmp_0;
|
|
1640
1657
|
if (tmp1_elvis_lhs == null) {
|
|
1641
1658
|
break $l$loop_0;
|
|
@@ -1644,7 +1661,7 @@ class Pipeline {
|
|
|
1644
1661
|
}
|
|
1645
1662
|
var relation = tmp_0;
|
|
1646
1663
|
var tmp2_safe_receiver = relation instanceof After ? relation : null;
|
|
1647
|
-
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
1664
|
+
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.relativeTo_1;
|
|
1648
1665
|
var tmp_1;
|
|
1649
1666
|
if (tmp3_elvis_lhs == null) {
|
|
1650
1667
|
continue $l$loop_0;
|
|
@@ -1655,18 +1672,18 @@ class Pipeline {
|
|
|
1655
1672
|
lastRelatedPhaseIndex = equals_0(relatedTo, reference) ? i : lastRelatedPhaseIndex;
|
|
1656
1673
|
}
|
|
1657
1674
|
while (!(i === last));
|
|
1658
|
-
this.
|
|
1675
|
+
this.phasesRaw_1.add_dl6gt3_k$(lastRelatedPhaseIndex + 1 | 0, PhaseContent.new_io_ktor_util_pipeline_PhaseContent_24bg4y_k$(phase, new After(reference)));
|
|
1659
1676
|
}
|
|
1660
|
-
|
|
1677
|
+
insertPhaseBefore_rj4han_k$(reference, phase) {
|
|
1661
1678
|
if (hasPhase(this, phase))
|
|
1662
1679
|
return Unit_instance;
|
|
1663
1680
|
var index = findPhaseIndex(this, reference);
|
|
1664
1681
|
if (index === -1) {
|
|
1665
1682
|
throw new InvalidPhaseException('Phase ' + reference.toString() + ' was not registered for this pipeline');
|
|
1666
1683
|
}
|
|
1667
|
-
this.
|
|
1684
|
+
this.phasesRaw_1.add_dl6gt3_k$(index, PhaseContent.new_io_ktor_util_pipeline_PhaseContent_24bg4y_k$(phase, new Before(reference)));
|
|
1668
1685
|
}
|
|
1669
|
-
|
|
1686
|
+
intercept_k21bv3_k$(phase, block) {
|
|
1670
1687
|
var tmp0_elvis_lhs = findPhase(this, phase);
|
|
1671
1688
|
var tmp;
|
|
1672
1689
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -1676,15 +1693,15 @@ class Pipeline {
|
|
|
1676
1693
|
}
|
|
1677
1694
|
var phaseContent = tmp;
|
|
1678
1695
|
if (tryAddToPhaseFastPath(this, phase, block)) {
|
|
1679
|
-
this.
|
|
1696
|
+
this.interceptorsQuantity_1 = this.interceptorsQuantity_1 + 1 | 0;
|
|
1680
1697
|
return Unit_instance;
|
|
1681
1698
|
}
|
|
1682
|
-
phaseContent.
|
|
1683
|
-
this.
|
|
1699
|
+
phaseContent.addInterceptor_jvll3j_k$(block);
|
|
1700
|
+
this.interceptorsQuantity_1 = this.interceptorsQuantity_1 + 1 | 0;
|
|
1684
1701
|
resetInterceptorsList(this);
|
|
1685
|
-
this.
|
|
1702
|
+
this.afterIntercepted_wg8ihh_k$();
|
|
1686
1703
|
}
|
|
1687
|
-
|
|
1704
|
+
afterIntercepted_wg8ihh_k$() {
|
|
1688
1705
|
}
|
|
1689
1706
|
toString() {
|
|
1690
1707
|
return anyToString(this);
|
|
@@ -1692,30 +1709,30 @@ class Pipeline {
|
|
|
1692
1709
|
}
|
|
1693
1710
|
class PipelinePhase {
|
|
1694
1711
|
constructor(name) {
|
|
1695
|
-
this.
|
|
1712
|
+
this.name_1 = name;
|
|
1696
1713
|
}
|
|
1697
1714
|
toString() {
|
|
1698
|
-
return "Phase('" + this.
|
|
1715
|
+
return "Phase('" + this.name_1 + "')";
|
|
1699
1716
|
}
|
|
1700
1717
|
}
|
|
1701
1718
|
class InvalidPhaseException extends Error {
|
|
1702
1719
|
constructor(message) {
|
|
1703
1720
|
super(message);
|
|
1704
1721
|
setPropertiesToThrowableInstance(this, message);
|
|
1705
|
-
captureStack(this, this
|
|
1722
|
+
captureStack(this, this.$throwableCtor_1);
|
|
1706
1723
|
}
|
|
1707
1724
|
}
|
|
1708
1725
|
class PipelinePhaseRelation {}
|
|
1709
1726
|
class After extends PipelinePhaseRelation {
|
|
1710
1727
|
constructor(relativeTo) {
|
|
1711
1728
|
super();
|
|
1712
|
-
this.
|
|
1729
|
+
this.relativeTo_1 = relativeTo;
|
|
1713
1730
|
}
|
|
1714
1731
|
}
|
|
1715
1732
|
class Before extends PipelinePhaseRelation {
|
|
1716
1733
|
constructor(relativeTo) {
|
|
1717
1734
|
super();
|
|
1718
|
-
this.
|
|
1735
|
+
this.relativeTo_1 = relativeTo;
|
|
1719
1736
|
}
|
|
1720
1737
|
}
|
|
1721
1738
|
class Last extends PipelinePhaseRelation {
|
|
@@ -1740,25 +1757,25 @@ class Last extends PipelinePhaseRelation {
|
|
|
1740
1757
|
}
|
|
1741
1758
|
class SuspendFunctionGun$continuation$1 {
|
|
1742
1759
|
constructor(this$0) {
|
|
1743
|
-
this.
|
|
1744
|
-
this.
|
|
1760
|
+
this.this$0__1 = this$0;
|
|
1761
|
+
this.currentIndex_1 = -2147483648;
|
|
1745
1762
|
}
|
|
1746
|
-
|
|
1747
|
-
var inductionVariable = this.
|
|
1763
|
+
get_context_h02k06_k$() {
|
|
1764
|
+
var inductionVariable = this.this$0__1.lastSuspensionIndex_1;
|
|
1748
1765
|
if (0 <= inductionVariable)
|
|
1749
1766
|
do {
|
|
1750
1767
|
var index = inductionVariable;
|
|
1751
1768
|
inductionVariable = inductionVariable + -1 | 0;
|
|
1752
|
-
var cont = this.
|
|
1769
|
+
var cont = this.this$0__1.suspensions_1[index];
|
|
1753
1770
|
if (!(cont === this) && !(cont == null))
|
|
1754
|
-
return cont.
|
|
1771
|
+
return cont.get_context_h02k06_k$();
|
|
1755
1772
|
}
|
|
1756
1773
|
while (0 <= inductionVariable);
|
|
1757
1774
|
// Inline function 'kotlin.error' call
|
|
1758
1775
|
var message = 'Not started';
|
|
1759
|
-
throw IllegalStateException.
|
|
1776
|
+
throw IllegalStateException.new_kotlin_IllegalStateException_w47ei6_k$(toString(message));
|
|
1760
1777
|
}
|
|
1761
|
-
|
|
1778
|
+
resumeWith_lgtnnr_k$(result) {
|
|
1762
1779
|
// Inline function 'kotlin.onFailure' call
|
|
1763
1780
|
var tmp0_safe_receiver = Result__exceptionOrNull_impl_p6xea9(result);
|
|
1764
1781
|
if (tmp0_safe_receiver == null)
|
|
@@ -1767,49 +1784,49 @@ class SuspendFunctionGun$continuation$1 {
|
|
|
1767
1784
|
// Inline function 'kotlin.let' call
|
|
1768
1785
|
// Inline function 'kotlin.Companion.failure' call
|
|
1769
1786
|
var tmp$ret$4 = _Result___init__impl__xyqfz8(createFailure(tmp0_safe_receiver));
|
|
1770
|
-
resumeRootWith(this.
|
|
1787
|
+
resumeRootWith(this.this$0__1, tmp$ret$4);
|
|
1771
1788
|
return Unit_instance;
|
|
1772
1789
|
}
|
|
1773
|
-
loop(this.
|
|
1790
|
+
loop(this.this$0__1, false);
|
|
1774
1791
|
}
|
|
1775
|
-
|
|
1776
|
-
return this.
|
|
1792
|
+
resumeWith_rk9gbt_k$(result) {
|
|
1793
|
+
return this.resumeWith_lgtnnr_k$(result);
|
|
1777
1794
|
}
|
|
1778
1795
|
}
|
|
1779
1796
|
class SuspendFunctionGun extends PipelineContext {
|
|
1780
1797
|
constructor(initial, context, interceptors) {
|
|
1781
1798
|
super(context);
|
|
1782
|
-
this.
|
|
1799
|
+
this.interceptors_1 = interceptors;
|
|
1783
1800
|
var tmp = this;
|
|
1784
|
-
tmp.
|
|
1785
|
-
this.
|
|
1801
|
+
tmp.continuation_1 = new SuspendFunctionGun$continuation$1(this);
|
|
1802
|
+
this.subject_1 = initial;
|
|
1786
1803
|
var tmp_0 = this;
|
|
1787
1804
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1788
|
-
var size = this.
|
|
1789
|
-
tmp_0.
|
|
1790
|
-
this.
|
|
1791
|
-
this.
|
|
1805
|
+
var size = this.interceptors_1.get_size_woubt6_k$();
|
|
1806
|
+
tmp_0.suspensions_1 = Array(size);
|
|
1807
|
+
this.lastSuspensionIndex_1 = -1;
|
|
1808
|
+
this.index_1 = 0;
|
|
1792
1809
|
}
|
|
1793
|
-
|
|
1794
|
-
return this.
|
|
1810
|
+
get_coroutineContext_115oqo_k$() {
|
|
1811
|
+
return this.continuation_1.get_context_h02k06_k$();
|
|
1795
1812
|
}
|
|
1796
|
-
|
|
1797
|
-
return this.
|
|
1813
|
+
get_subject_tmjbgd_k$() {
|
|
1814
|
+
return this.subject_1;
|
|
1798
1815
|
}
|
|
1799
|
-
*
|
|
1816
|
+
*proceed_tynop7_k$($completion) {
|
|
1800
1817
|
// Inline function 'kotlin.js.suspendCoroutineUninterceptedOrReturnJS' call
|
|
1801
1818
|
return yield () => {
|
|
1802
1819
|
var tmp0 = $completion;
|
|
1803
1820
|
var tmp$ret$1;
|
|
1804
1821
|
$l$block_0: {
|
|
1805
|
-
if (this.
|
|
1806
|
-
tmp$ret$1 = this.
|
|
1822
|
+
if (this.index_1 === this.interceptors_1.get_size_woubt6_k$()) {
|
|
1823
|
+
tmp$ret$1 = this.subject_1;
|
|
1807
1824
|
break $l$block_0;
|
|
1808
1825
|
}
|
|
1809
|
-
this.
|
|
1826
|
+
this.addContinuation_71x8tk_k$(tmp0);
|
|
1810
1827
|
if (loop(this, true)) {
|
|
1811
1828
|
discardLastRootContinuation(this);
|
|
1812
|
-
tmp$ret$1 = this.
|
|
1829
|
+
tmp$ret$1 = this.subject_1;
|
|
1813
1830
|
break $l$block_0;
|
|
1814
1831
|
}
|
|
1815
1832
|
tmp$ret$1 = get_COROUTINE_SUSPENDED();
|
|
@@ -1817,63 +1834,78 @@ class SuspendFunctionGun extends PipelineContext {
|
|
|
1817
1834
|
return tmp$ret$1;
|
|
1818
1835
|
};
|
|
1819
1836
|
}
|
|
1820
|
-
*
|
|
1821
|
-
this.
|
|
1822
|
-
return yield* this.
|
|
1837
|
+
*proceedWith_i5skhv_k$(subject, $completion) {
|
|
1838
|
+
this.subject_1 = subject;
|
|
1839
|
+
return yield* this.proceed_tynop7_k$($completion);
|
|
1823
1840
|
}
|
|
1824
|
-
*
|
|
1825
|
-
this.
|
|
1826
|
-
if (this.
|
|
1841
|
+
*execute_pc5rz_k$(initial, $completion) {
|
|
1842
|
+
this.index_1 = 0;
|
|
1843
|
+
if (this.index_1 === this.interceptors_1.get_size_woubt6_k$())
|
|
1827
1844
|
return initial;
|
|
1828
|
-
this.
|
|
1845
|
+
this.subject_1 = initial;
|
|
1829
1846
|
// Inline function 'kotlin.check' call
|
|
1830
|
-
if (!(this.
|
|
1847
|
+
if (!(this.lastSuspensionIndex_1 < 0)) {
|
|
1831
1848
|
var message = 'Already started';
|
|
1832
|
-
throw IllegalStateException.
|
|
1849
|
+
throw IllegalStateException.new_kotlin_IllegalStateException_w47ei6_k$(toString(message));
|
|
1833
1850
|
}
|
|
1834
|
-
return yield* this.
|
|
1851
|
+
return yield* this.proceed_tynop7_k$($completion);
|
|
1835
1852
|
}
|
|
1836
|
-
|
|
1837
|
-
this.
|
|
1838
|
-
this.
|
|
1853
|
+
addContinuation_71x8tk_k$(continuation) {
|
|
1854
|
+
this.lastSuspensionIndex_1 = this.lastSuspensionIndex_1 + 1 | 0;
|
|
1855
|
+
this.suspensions_1[this.lastSuspensionIndex_1] = continuation;
|
|
1839
1856
|
}
|
|
1840
1857
|
}
|
|
1841
1858
|
class TypeInfo {
|
|
1842
|
-
constructor(type, kotlinType) {
|
|
1859
|
+
constructor(type, isNullable, kotlinType) {
|
|
1843
1860
|
kotlinType = kotlinType === VOID ? null : kotlinType;
|
|
1844
|
-
this.
|
|
1845
|
-
this.
|
|
1861
|
+
this.type_1 = type;
|
|
1862
|
+
this.isNullable_1 = isNullable;
|
|
1863
|
+
this.kotlinType_1 = kotlinType;
|
|
1864
|
+
var tmp;
|
|
1865
|
+
if (this.isNullable_1) {
|
|
1866
|
+
tmp = true;
|
|
1867
|
+
} else {
|
|
1868
|
+
var tmp0_safe_receiver = this.kotlinType_1;
|
|
1869
|
+
tmp = !((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.get_isMarkedNullable_4el8ow_k$()) === true);
|
|
1870
|
+
}
|
|
1871
|
+
// Inline function 'kotlin.require' call
|
|
1872
|
+
if (!tmp) {
|
|
1873
|
+
var message = 'TypeInfo for nullable kotlinType ' + toString_1(this.kotlinType_1) + ' must have isNullable set to true';
|
|
1874
|
+
throw IllegalArgumentException.new_kotlin_IllegalArgumentException_sfqr8_k$(toString(message));
|
|
1875
|
+
}
|
|
1846
1876
|
}
|
|
1847
1877
|
hashCode() {
|
|
1848
|
-
var tmp0_safe_receiver = this.
|
|
1878
|
+
var tmp0_safe_receiver = this.kotlinType_1;
|
|
1849
1879
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
1850
|
-
return tmp1_elvis_lhs == null ? this.
|
|
1880
|
+
return imul(31, tmp1_elvis_lhs == null ? this.type_1.hashCode() : tmp1_elvis_lhs) + getBooleanHashCode(this.isNullable_1) | 0;
|
|
1851
1881
|
}
|
|
1852
1882
|
equals(other) {
|
|
1853
1883
|
if (this === other)
|
|
1854
1884
|
return true;
|
|
1855
1885
|
if (!(other instanceof TypeInfo))
|
|
1856
1886
|
return false;
|
|
1887
|
+
if (!(this.isNullable_1 === other.isNullable_1))
|
|
1888
|
+
return false;
|
|
1857
1889
|
var tmp;
|
|
1858
|
-
if (!(this.
|
|
1859
|
-
tmp = equals_0(this.
|
|
1890
|
+
if (!(this.kotlinType_1 == null) || !(other.kotlinType_1 == null)) {
|
|
1891
|
+
tmp = equals_0(this.kotlinType_1, other.kotlinType_1);
|
|
1860
1892
|
} else {
|
|
1861
|
-
tmp = this.
|
|
1893
|
+
tmp = this.type_1.equals(other.type_1);
|
|
1862
1894
|
}
|
|
1863
1895
|
return tmp;
|
|
1864
1896
|
}
|
|
1865
1897
|
toString() {
|
|
1866
|
-
var tmp0_elvis_lhs = this.
|
|
1867
|
-
return 'TypeInfo(' + toString(tmp0_elvis_lhs == null ? this.
|
|
1898
|
+
var tmp0_elvis_lhs = this.kotlinType_1;
|
|
1899
|
+
return 'TypeInfo(' + toString(tmp0_elvis_lhs == null ? this.type_1 : tmp0_elvis_lhs) + ')';
|
|
1868
1900
|
}
|
|
1869
1901
|
}
|
|
1870
1902
|
class InvalidTimestampException extends IllegalStateException {
|
|
1871
1903
|
constructor(timestamp) {
|
|
1872
|
-
return new.target.
|
|
1904
|
+
return new.target.new_io_ktor_util_date_InvalidTimestampException_tabn6p_k$(timestamp);
|
|
1873
1905
|
}
|
|
1874
|
-
static
|
|
1875
|
-
var $this = this.
|
|
1876
|
-
captureStack($this, $this
|
|
1906
|
+
static new_io_ktor_util_date_InvalidTimestampException_tabn6p_k$(timestamp) {
|
|
1907
|
+
var $this = this.new_kotlin_IllegalStateException_w47ei6_k$('Invalid date timestamp exception: ' + timestamp.toString());
|
|
1908
|
+
captureStack($this, $this.$throwableCtor_4);
|
|
1877
1909
|
return $this;
|
|
1878
1910
|
}
|
|
1879
1911
|
}
|
|
@@ -1881,23 +1913,23 @@ class AttributesJs {
|
|
|
1881
1913
|
constructor() {
|
|
1882
1914
|
var tmp = this;
|
|
1883
1915
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
1884
|
-
tmp.
|
|
1916
|
+
tmp.map_1 = LinkedHashMap.new_kotlin_collections_LinkedHashMap_ga0any_k$();
|
|
1885
1917
|
}
|
|
1886
|
-
|
|
1887
|
-
return this.
|
|
1918
|
+
getOrNull_6mjt1v_k$(key) {
|
|
1919
|
+
return this.map_1.get_wei43m_k$(key);
|
|
1888
1920
|
}
|
|
1889
|
-
|
|
1890
|
-
return this.
|
|
1921
|
+
contains_du0289_k$(key) {
|
|
1922
|
+
return this.map_1.containsKey_aw81wo_k$(key);
|
|
1891
1923
|
}
|
|
1892
|
-
|
|
1924
|
+
put_gkntno_k$(key, value) {
|
|
1893
1925
|
// Inline function 'kotlin.collections.set' call
|
|
1894
|
-
this.
|
|
1926
|
+
this.map_1.put_4fpzoq_k$(key, value);
|
|
1895
1927
|
}
|
|
1896
|
-
|
|
1897
|
-
this.
|
|
1928
|
+
remove_2btyex_k$(key) {
|
|
1929
|
+
this.map_1.remove_gppy8k_k$(key);
|
|
1898
1930
|
}
|
|
1899
|
-
|
|
1900
|
-
var tmp0_safe_receiver = this.
|
|
1931
|
+
computeIfAbsent_c4qp5i_k$(key, block) {
|
|
1932
|
+
var tmp0_safe_receiver = this.map_1.get_wei43m_k$(key);
|
|
1901
1933
|
if (tmp0_safe_receiver == null)
|
|
1902
1934
|
null;
|
|
1903
1935
|
else {
|
|
@@ -1907,18 +1939,18 @@ class AttributesJs {
|
|
|
1907
1939
|
// Inline function 'kotlin.also' call
|
|
1908
1940
|
var this_0 = block();
|
|
1909
1941
|
// Inline function 'kotlin.collections.set' call
|
|
1910
|
-
this.
|
|
1942
|
+
this.map_1.put_4fpzoq_k$(key, this_0);
|
|
1911
1943
|
return this_0;
|
|
1912
1944
|
}
|
|
1913
|
-
|
|
1914
|
-
return toList(this.
|
|
1945
|
+
get_allKeys_dton90_k$() {
|
|
1946
|
+
return toList(this.map_1.get_keys_wop4xp_k$());
|
|
1915
1947
|
}
|
|
1916
1948
|
}
|
|
1917
1949
|
class KtorSimpleLogger$1 {
|
|
1918
1950
|
constructor() {
|
|
1919
1951
|
var tmp = this;
|
|
1920
1952
|
var tmp_0;
|
|
1921
|
-
switch (PlatformUtils_getInstance().
|
|
1953
|
+
switch (PlatformUtils_getInstance().IS_NODE_1 || PlatformUtils_getInstance().IS_BROWSER_1) {
|
|
1922
1954
|
case true:
|
|
1923
1955
|
// Inline function 'kotlin.runCatching' call
|
|
1924
1956
|
|
|
@@ -1952,10 +1984,10 @@ class KtorSimpleLogger$1 {
|
|
|
1952
1984
|
var tmp$ret$7;
|
|
1953
1985
|
$l$block: {
|
|
1954
1986
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
1955
|
-
var _iterator__ex2g4s = tmp0.
|
|
1956
|
-
while (_iterator__ex2g4s.
|
|
1957
|
-
var element = _iterator__ex2g4s.
|
|
1958
|
-
if (element.
|
|
1987
|
+
var _iterator__ex2g4s = tmp0.iterator_jk1svi_k$();
|
|
1988
|
+
while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
|
|
1989
|
+
var element = _iterator__ex2g4s.next_20eer_k$();
|
|
1990
|
+
if (element.name_1 === tmp1_safe_receiver) {
|
|
1959
1991
|
tmp$ret$7 = element;
|
|
1960
1992
|
break $l$block;
|
|
1961
1993
|
}
|
|
@@ -1975,59 +2007,64 @@ class KtorSimpleLogger$1 {
|
|
|
1975
2007
|
noWhenBranchMatchedException();
|
|
1976
2008
|
break;
|
|
1977
2009
|
}
|
|
1978
|
-
tmp.
|
|
2010
|
+
tmp.level_1 = tmp_0;
|
|
1979
2011
|
}
|
|
1980
|
-
|
|
1981
|
-
return this.
|
|
2012
|
+
get_level_ium7h7_k$() {
|
|
2013
|
+
return this.level_1;
|
|
1982
2014
|
}
|
|
1983
|
-
|
|
1984
|
-
if (this.
|
|
2015
|
+
warn_mz9voc_k$(message) {
|
|
2016
|
+
if (this.level_1.compareTo_30rs7w_k$(LogLevel_WARN_getInstance()) > 0)
|
|
1985
2017
|
return Unit_instance;
|
|
1986
2018
|
console.warn(message);
|
|
1987
2019
|
}
|
|
1988
|
-
|
|
1989
|
-
if (this.
|
|
2020
|
+
debug_2dc8ew_k$(message, cause) {
|
|
2021
|
+
if (this.level_1.compareTo_30rs7w_k$(LogLevel_DEBUG_getInstance()) > 0)
|
|
1990
2022
|
return Unit_instance;
|
|
1991
2023
|
console.debug('DEBUG: ' + message + ', cause: ' + cause.toString());
|
|
1992
2024
|
}
|
|
1993
|
-
|
|
1994
|
-
if (this.
|
|
2025
|
+
trace_fti9bv_k$(message) {
|
|
2026
|
+
if (this.level_1.compareTo_30rs7w_k$(LogLevel_TRACE_getInstance()) > 0)
|
|
1995
2027
|
return Unit_instance;
|
|
1996
2028
|
console.debug('TRACE: ' + message);
|
|
1997
2029
|
}
|
|
2030
|
+
trace_lm3jna_k$(message, cause) {
|
|
2031
|
+
if (this.level_1.compareTo_30rs7w_k$(LogLevel_TRACE_getInstance()) > 0)
|
|
2032
|
+
return Unit_instance;
|
|
2033
|
+
console.debug('TRACE: ' + message + ', cause: ' + cause.toString());
|
|
2034
|
+
}
|
|
1998
2035
|
}
|
|
1999
2036
|
class LogLevel extends Enum {}
|
|
2000
2037
|
//endregion
|
|
2001
2038
|
function putAll(_this__u8e3s4, other) {
|
|
2002
2039
|
// Inline function 'kotlin.collections.forEach' call
|
|
2003
|
-
var _iterator__ex2g4s = other.
|
|
2004
|
-
while (_iterator__ex2g4s.
|
|
2005
|
-
var element = _iterator__ex2g4s.
|
|
2006
|
-
_this__u8e3s4.
|
|
2040
|
+
var _iterator__ex2g4s = other.get_allKeys_dton90_k$().iterator_jk1svi_k$();
|
|
2041
|
+
while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
|
|
2042
|
+
var element = _iterator__ex2g4s.next_20eer_k$();
|
|
2043
|
+
_this__u8e3s4.put_gkntno_k$(element instanceof AttributeKey ? element : THROW_CCE(), other.get_r696p5_k$(element));
|
|
2007
2044
|
}
|
|
2008
2045
|
}
|
|
2009
2046
|
function advance($this) {
|
|
2010
|
-
$l$loop: while ($this.
|
|
2011
|
-
var idx = $this.
|
|
2012
|
-
if (idx >= 0 && !($this.
|
|
2047
|
+
$l$loop: while ($this.orderIndex_1 < $this.this$0__1.insertionCount_1) {
|
|
2048
|
+
var idx = $this.this$0__1.insertionOrder_1[$this.orderIndex_1];
|
|
2049
|
+
if (idx >= 0 && !($this.this$0__1.keyStorage_1[idx] == null))
|
|
2013
2050
|
break $l$loop;
|
|
2014
|
-
$this.
|
|
2051
|
+
$this.orderIndex_1 = $this.orderIndex_1 + 1 | 0;
|
|
2015
2052
|
}
|
|
2016
2053
|
}
|
|
2017
2054
|
function advance_0($this) {
|
|
2018
|
-
$l$loop: while ($this.
|
|
2019
|
-
var idx = $this.
|
|
2020
|
-
if (idx >= 0 && !($this.
|
|
2055
|
+
$l$loop: while ($this.orderIndex_1 < $this.this$0__1.insertionCount_1) {
|
|
2056
|
+
var idx = $this.this$0__1.insertionOrder_1[$this.orderIndex_1];
|
|
2057
|
+
if (idx >= 0 && !($this.this$0__1.keyStorage_1[idx] == null))
|
|
2021
2058
|
break $l$loop;
|
|
2022
|
-
$this.
|
|
2059
|
+
$this.orderIndex_1 = $this.orderIndex_1 + 1 | 0;
|
|
2023
2060
|
}
|
|
2024
2061
|
}
|
|
2025
2062
|
function advance_1($this) {
|
|
2026
|
-
$l$loop: while ($this.
|
|
2027
|
-
var idx = $this.
|
|
2028
|
-
if (idx >= 0 && !($this.
|
|
2063
|
+
$l$loop: while ($this.orderIndex_1 < $this.this$0__1.insertionCount_1) {
|
|
2064
|
+
var idx = $this.this$0__1.insertionOrder_1[$this.orderIndex_1];
|
|
2065
|
+
if (idx >= 0 && !($this.this$0__1.keyStorage_1[idx] == null))
|
|
2029
2066
|
break $l$loop;
|
|
2030
|
-
$this.
|
|
2067
|
+
$this.orderIndex_1 = $this.orderIndex_1 + 1 | 0;
|
|
2031
2068
|
}
|
|
2032
2069
|
}
|
|
2033
2070
|
function caseInsensitiveHashCode($this, s) {
|
|
@@ -2054,52 +2091,57 @@ function caseInsensitiveHashCode($this, s) {
|
|
|
2054
2091
|
}
|
|
2055
2092
|
function putWithoutTrackingOrderReturnIndex($this, key, value) {
|
|
2056
2093
|
var hash = caseInsensitiveHashCode(Companion_getInstance(), key);
|
|
2057
|
-
var index = hash & ($this.
|
|
2094
|
+
var index = hash & ($this.keyStorage_1.length - 1 | 0);
|
|
2058
2095
|
while (true) {
|
|
2059
|
-
var existingKey = $this.
|
|
2096
|
+
var existingKey = $this.keyStorage_1[index];
|
|
2060
2097
|
if (existingKey == null) {
|
|
2061
|
-
$this.
|
|
2062
|
-
$this.
|
|
2063
|
-
$this.
|
|
2098
|
+
$this.keyStorage_1[index] = key;
|
|
2099
|
+
$this.valueStorage_1[index] = value;
|
|
2100
|
+
$this._size_1 = $this._size_1 + 1 | 0;
|
|
2064
2101
|
return index;
|
|
2065
2102
|
}
|
|
2066
2103
|
if (equals(existingKey, key, true)) {
|
|
2067
|
-
$this.
|
|
2104
|
+
$this.valueStorage_1[index] = value;
|
|
2068
2105
|
return index;
|
|
2069
2106
|
}
|
|
2070
|
-
index = (index + 1 | 0) & ($this.
|
|
2107
|
+
index = (index + 1 | 0) & ($this.keyStorage_1.length - 1 | 0);
|
|
2071
2108
|
}
|
|
2072
2109
|
}
|
|
2073
2110
|
function findIndex($this, key) {
|
|
2074
|
-
if ($this.
|
|
2111
|
+
if ($this._size_1 === 0)
|
|
2075
2112
|
return -1;
|
|
2076
2113
|
var hash = caseInsensitiveHashCode(Companion_getInstance(), key);
|
|
2077
|
-
var index = hash & ($this.
|
|
2114
|
+
var index = hash & ($this.keyStorage_1.length - 1 | 0);
|
|
2078
2115
|
while (true) {
|
|
2079
|
-
var
|
|
2080
|
-
|
|
2116
|
+
var tmp0_elvis_lhs = $this.keyStorage_1[index];
|
|
2117
|
+
var tmp;
|
|
2118
|
+
if (tmp0_elvis_lhs == null) {
|
|
2081
2119
|
return -1;
|
|
2120
|
+
} else {
|
|
2121
|
+
tmp = tmp0_elvis_lhs;
|
|
2122
|
+
}
|
|
2123
|
+
var existingKey = tmp;
|
|
2082
2124
|
if (equals(existingKey, key, true))
|
|
2083
2125
|
return index;
|
|
2084
|
-
index = (index + 1 | 0) & ($this.
|
|
2126
|
+
index = (index + 1 | 0) & ($this.keyStorage_1.length - 1 | 0);
|
|
2085
2127
|
}
|
|
2086
2128
|
}
|
|
2087
2129
|
function ensureCapacity($this) {
|
|
2088
|
-
if (imul($this.
|
|
2089
|
-
resize($this, imul($this.
|
|
2130
|
+
if (imul($this._size_1, 4) >= imul($this.keyStorage_1.length, 3)) {
|
|
2131
|
+
resize($this, imul($this.keyStorage_1.length, 2));
|
|
2090
2132
|
}
|
|
2091
2133
|
}
|
|
2092
2134
|
function resize($this, newCapacity) {
|
|
2093
|
-
var oldKeys = $this.
|
|
2094
|
-
var oldValues = $this.
|
|
2095
|
-
var oldInsertionOrder = $this.
|
|
2096
|
-
var oldInsertionCount = $this.
|
|
2135
|
+
var oldKeys = $this.keyStorage_1;
|
|
2136
|
+
var oldValues = $this.valueStorage_1;
|
|
2137
|
+
var oldInsertionOrder = $this.insertionOrder_1;
|
|
2138
|
+
var oldInsertionCount = $this.insertionCount_1;
|
|
2097
2139
|
var tmp = $this;
|
|
2098
2140
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
2099
|
-
tmp.
|
|
2141
|
+
tmp.keyStorage_1 = Array(newCapacity);
|
|
2100
2142
|
var tmp_0 = $this;
|
|
2101
2143
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
2102
|
-
tmp_0.
|
|
2144
|
+
tmp_0.valueStorage_1 = Array(newCapacity);
|
|
2103
2145
|
var tmp_1 = $this;
|
|
2104
2146
|
var tmp_2 = 0;
|
|
2105
2147
|
var tmp_3 = new Int32Array(newCapacity);
|
|
@@ -2107,9 +2149,9 @@ function resize($this, newCapacity) {
|
|
|
2107
2149
|
tmp_3[tmp_2] = -1;
|
|
2108
2150
|
tmp_2 = tmp_2 + 1 | 0;
|
|
2109
2151
|
}
|
|
2110
|
-
tmp_1.
|
|
2111
|
-
$this.
|
|
2112
|
-
$this.
|
|
2152
|
+
tmp_1.insertionOrder_1 = tmp_3;
|
|
2153
|
+
$this._size_1 = 0;
|
|
2154
|
+
$this.insertionCount_1 = 0;
|
|
2113
2155
|
var inductionVariable = 0;
|
|
2114
2156
|
if (inductionVariable < oldInsertionCount)
|
|
2115
2157
|
do {
|
|
@@ -2119,24 +2161,24 @@ function resize($this, newCapacity) {
|
|
|
2119
2161
|
if (oldIndex >= 0 && !(oldKeys[oldIndex] == null)) {
|
|
2120
2162
|
var tmp_4 = ensureNotNull(oldKeys[oldIndex]);
|
|
2121
2163
|
var tmp_5 = oldValues[oldIndex];
|
|
2122
|
-
$this.
|
|
2164
|
+
$this.put_1pa1tm_k$(tmp_4, !(tmp_5 == null) ? tmp_5 : THROW_CCE());
|
|
2123
2165
|
}
|
|
2124
2166
|
}
|
|
2125
2167
|
while (inductionVariable < oldInsertionCount);
|
|
2126
2168
|
}
|
|
2127
2169
|
function compactInsertionOrder($this) {
|
|
2128
|
-
if ($this.
|
|
2170
|
+
if ($this.insertionCount_1 === 0)
|
|
2129
2171
|
return Unit_instance;
|
|
2130
2172
|
var writeIndex = 0;
|
|
2131
2173
|
var inductionVariable = 0;
|
|
2132
|
-
var last = $this.
|
|
2174
|
+
var last = $this.insertionCount_1;
|
|
2133
2175
|
if (inductionVariable < last)
|
|
2134
2176
|
do {
|
|
2135
2177
|
var i = inductionVariable;
|
|
2136
2178
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2137
|
-
var idx = $this.
|
|
2138
|
-
if (idx >= 0 && !($this.
|
|
2139
|
-
var tmp = $this.
|
|
2179
|
+
var idx = $this.insertionOrder_1[i];
|
|
2180
|
+
if (idx >= 0 && !($this.keyStorage_1[idx] == null)) {
|
|
2181
|
+
var tmp = $this.insertionOrder_1;
|
|
2140
2182
|
var _unary__edvuaz = writeIndex;
|
|
2141
2183
|
writeIndex = _unary__edvuaz + 1 | 0;
|
|
2142
2184
|
tmp[_unary__edvuaz] = idx;
|
|
@@ -2144,21 +2186,21 @@ function compactInsertionOrder($this) {
|
|
|
2144
2186
|
}
|
|
2145
2187
|
while (inductionVariable < last);
|
|
2146
2188
|
var inductionVariable_0 = writeIndex;
|
|
2147
|
-
var last_0 = $this.
|
|
2189
|
+
var last_0 = $this.insertionOrder_1.length;
|
|
2148
2190
|
if (inductionVariable_0 < last_0)
|
|
2149
2191
|
do {
|
|
2150
2192
|
var i_0 = inductionVariable_0;
|
|
2151
2193
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
2152
|
-
$this.
|
|
2194
|
+
$this.insertionOrder_1[i_0] = -1;
|
|
2153
2195
|
}
|
|
2154
2196
|
while (inductionVariable_0 < last_0);
|
|
2155
|
-
$this.
|
|
2197
|
+
$this.insertionCount_1 = writeIndex;
|
|
2156
2198
|
}
|
|
2157
|
-
var
|
|
2199
|
+
var Companion_instance_1;
|
|
2158
2200
|
function Companion_getInstance() {
|
|
2159
|
-
if (
|
|
2201
|
+
if (Companion_instance_1 === VOID)
|
|
2160
2202
|
new Companion();
|
|
2161
|
-
return
|
|
2203
|
+
return Companion_instance_1;
|
|
2162
2204
|
}
|
|
2163
2205
|
function toCharArray(_this__u8e3s4) {
|
|
2164
2206
|
var tmp = 0;
|
|
@@ -2187,7 +2229,7 @@ function SilentSupervisor(parent) {
|
|
|
2187
2229
|
var tmp = SupervisorJob(parent);
|
|
2188
2230
|
// Inline function 'kotlinx.coroutines.CoroutineExceptionHandler' call
|
|
2189
2231
|
var tmp$ret$0 = new SilentSupervisor$$inlined$CoroutineExceptionHandler$1();
|
|
2190
|
-
return tmp.
|
|
2232
|
+
return tmp.plus_s13ygv_k$(tmp$ret$0);
|
|
2191
2233
|
}
|
|
2192
2234
|
var digits;
|
|
2193
2235
|
function generateNonce(size) {
|
|
@@ -2212,16 +2254,16 @@ function PlatformUtils_getInstance() {
|
|
|
2212
2254
|
new PlatformUtils();
|
|
2213
2255
|
return PlatformUtils_instance;
|
|
2214
2256
|
}
|
|
2215
|
-
var
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
function JsPlatform_initEntries() {
|
|
2219
|
-
if (JsPlatform_entriesInitialized)
|
|
2257
|
+
var static_init_called;
|
|
2258
|
+
function static_init() {
|
|
2259
|
+
if (static_init_called)
|
|
2220
2260
|
return Unit_instance;
|
|
2221
|
-
|
|
2261
|
+
static_init_called = true;
|
|
2222
2262
|
JsPlatform_Browser_instance = new JsPlatform('Browser', 0);
|
|
2223
2263
|
JsPlatform_Node_instance = new JsPlatform('Node', 1);
|
|
2224
2264
|
}
|
|
2265
|
+
var JsPlatform_Browser_instance;
|
|
2266
|
+
var JsPlatform_Node_instance;
|
|
2225
2267
|
var Jvm_instance;
|
|
2226
2268
|
function Jvm_getInstance() {
|
|
2227
2269
|
if (Jvm_instance === VOID)
|
|
@@ -2235,37 +2277,37 @@ function Native_getInstance() {
|
|
|
2235
2277
|
return Native_instance;
|
|
2236
2278
|
}
|
|
2237
2279
|
function JsPlatform_Browser_getInstance() {
|
|
2238
|
-
|
|
2280
|
+
static_init();
|
|
2239
2281
|
return JsPlatform_Browser_instance;
|
|
2240
2282
|
}
|
|
2241
2283
|
function JsPlatform_Node_getInstance() {
|
|
2242
|
-
|
|
2284
|
+
static_init();
|
|
2243
2285
|
return JsPlatform_Node_instance;
|
|
2244
2286
|
}
|
|
2245
2287
|
function appendAll(_this__u8e3s4, builder) {
|
|
2246
2288
|
// Inline function 'kotlin.apply' call
|
|
2247
2289
|
// Inline function 'kotlin.collections.forEach' call
|
|
2248
|
-
var _iterator__ex2g4s = builder.
|
|
2249
|
-
while (_iterator__ex2g4s.
|
|
2250
|
-
var element = _iterator__ex2g4s.
|
|
2290
|
+
var _iterator__ex2g4s = builder.entries_qbkxv4_k$().iterator_jk1svi_k$();
|
|
2291
|
+
while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
|
|
2292
|
+
var element = _iterator__ex2g4s.next_20eer_k$();
|
|
2251
2293
|
// Inline function 'kotlin.collections.component1' call
|
|
2252
|
-
var name = element.
|
|
2294
|
+
var name = element.get_key_18j28a_k$();
|
|
2253
2295
|
// Inline function 'kotlin.collections.component2' call
|
|
2254
|
-
var values = element.
|
|
2255
|
-
_this__u8e3s4.
|
|
2296
|
+
var values = element.get_value_j01efc_k$();
|
|
2297
|
+
_this__u8e3s4.appendAll_ytnfgb_k$(name, values);
|
|
2256
2298
|
}
|
|
2257
2299
|
return _this__u8e3s4;
|
|
2258
2300
|
}
|
|
2259
2301
|
function ensureListForKey($this, name) {
|
|
2260
|
-
var tmp0_elvis_lhs = $this.
|
|
2302
|
+
var tmp0_elvis_lhs = $this.values_1.get_wei43m_k$(name);
|
|
2261
2303
|
var tmp;
|
|
2262
2304
|
if (tmp0_elvis_lhs == null) {
|
|
2263
2305
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
2264
2306
|
// Inline function 'kotlin.also' call
|
|
2265
|
-
var this_0 = ArrayList.
|
|
2266
|
-
$this.
|
|
2307
|
+
var this_0 = ArrayList.new_kotlin_collections_ArrayList_ony0vx_k$();
|
|
2308
|
+
$this.validateName_mv1fw7_k$(name);
|
|
2267
2309
|
// Inline function 'kotlin.collections.set' call
|
|
2268
|
-
$this.
|
|
2310
|
+
$this.values_1.put_4fpzoq_k$(name, this_0);
|
|
2269
2311
|
tmp = this_0;
|
|
2270
2312
|
} else {
|
|
2271
2313
|
tmp = tmp0_elvis_lhs;
|
|
@@ -2274,7 +2316,7 @@ function ensureListForKey($this, name) {
|
|
|
2274
2316
|
}
|
|
2275
2317
|
function StringValuesBuilderImpl$appendAll$lambda(this$0) {
|
|
2276
2318
|
return (name, values) => {
|
|
2277
|
-
this$0.
|
|
2319
|
+
this$0.appendAll_ytnfgb_k$(name, values);
|
|
2278
2320
|
return Unit_instance;
|
|
2279
2321
|
};
|
|
2280
2322
|
}
|
|
@@ -2310,30 +2352,30 @@ function caseInsensitiveHashCode_0($this, s) {
|
|
|
2310
2352
|
return h;
|
|
2311
2353
|
}
|
|
2312
2354
|
function listForKey($this, name) {
|
|
2313
|
-
if ($this.
|
|
2355
|
+
if ($this.entryCount_1 === 0)
|
|
2314
2356
|
return null;
|
|
2315
2357
|
var hash = computeHash($this, name);
|
|
2316
|
-
var idx = $this.
|
|
2358
|
+
var idx = $this.hashBuckets_1[hash & ($this.hashBuckets_1.length - 1 | 0)];
|
|
2317
2359
|
while (idx >= 0) {
|
|
2318
|
-
if (equals($this.
|
|
2319
|
-
return $this.
|
|
2360
|
+
if (equals($this.keyStorage_1[idx], name, $this.caseInsensitiveName_1)) {
|
|
2361
|
+
return $this.valueStorage_1[idx];
|
|
2320
2362
|
}
|
|
2321
|
-
idx = $this.
|
|
2363
|
+
idx = $this.hashNext_1[idx];
|
|
2322
2364
|
}
|
|
2323
2365
|
return null;
|
|
2324
2366
|
}
|
|
2325
2367
|
function computeHash($this, key) {
|
|
2326
2368
|
var tmp;
|
|
2327
|
-
if ($this.
|
|
2328
|
-
tmp = caseInsensitiveHashCode_0(
|
|
2369
|
+
if ($this.caseInsensitiveName_1) {
|
|
2370
|
+
tmp = caseInsensitiveHashCode_0(Companion_instance_2, key);
|
|
2329
2371
|
} else {
|
|
2330
2372
|
tmp = getStringHashCode(key);
|
|
2331
2373
|
}
|
|
2332
2374
|
return tmp;
|
|
2333
2375
|
}
|
|
2334
|
-
var
|
|
2376
|
+
var Companion_instance_2;
|
|
2335
2377
|
function Companion_getInstance_0() {
|
|
2336
|
-
return
|
|
2378
|
+
return Companion_instance_2;
|
|
2337
2379
|
}
|
|
2338
2380
|
function entriesEquals(a, b) {
|
|
2339
2381
|
return equals_0(a, b);
|
|
@@ -2368,15 +2410,15 @@ function toLowerCasePreservingASCIIRules(_this__u8e3s4) {
|
|
|
2368
2410
|
// Inline function 'kotlin.text.buildString' call
|
|
2369
2411
|
var capacity = _this__u8e3s4.length;
|
|
2370
2412
|
// Inline function 'kotlin.apply' call
|
|
2371
|
-
var this_0 = StringBuilder.
|
|
2372
|
-
this_0.
|
|
2413
|
+
var this_0 = StringBuilder.new_kotlin_text_StringBuilder_wcb3z_k$(capacity);
|
|
2414
|
+
this_0.append_xdc1zw_k$(original, 0, firstIndex);
|
|
2373
2415
|
var inductionVariable_0 = firstIndex;
|
|
2374
2416
|
var last_0 = get_lastIndex(original);
|
|
2375
2417
|
if (inductionVariable_0 <= last_0)
|
|
2376
2418
|
do {
|
|
2377
2419
|
var index_0 = inductionVariable_0;
|
|
2378
2420
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
2379
|
-
this_0.
|
|
2421
|
+
this_0.append_58al37_k$(toLowerCasePreservingASCII(charCodeAt(original, index_0)));
|
|
2380
2422
|
}
|
|
2381
2423
|
while (!(index_0 === last_0));
|
|
2382
2424
|
return this_0.toString();
|
|
@@ -2403,11 +2445,11 @@ function GMTDate$Companion$$childSerializers$_anonymous__gyfycy() {
|
|
|
2403
2445
|
function GMTDate$Companion$$childSerializers$_anonymous__gyfycy_0() {
|
|
2404
2446
|
return createSimpleEnumSerializer('io.ktor.util.date.Month', values_0());
|
|
2405
2447
|
}
|
|
2406
|
-
var
|
|
2448
|
+
var Companion_instance_3;
|
|
2407
2449
|
function Companion_getInstance_1() {
|
|
2408
|
-
if (
|
|
2450
|
+
if (Companion_instance_3 === VOID)
|
|
2409
2451
|
new Companion_1();
|
|
2410
|
-
return
|
|
2452
|
+
return Companion_instance_3;
|
|
2411
2453
|
}
|
|
2412
2454
|
var $serializer_instance;
|
|
2413
2455
|
function $serializer_getInstance() {
|
|
@@ -2415,6 +2457,23 @@ function $serializer_getInstance() {
|
|
|
2415
2457
|
new $serializer();
|
|
2416
2458
|
return $serializer_instance;
|
|
2417
2459
|
}
|
|
2460
|
+
var static_init_called_0;
|
|
2461
|
+
function static_init_0() {
|
|
2462
|
+
if (static_init_called_0)
|
|
2463
|
+
return Unit_instance;
|
|
2464
|
+
static_init_called_0 = true;
|
|
2465
|
+
WeekDay_MONDAY_instance = new WeekDay('MONDAY', 0, 'Mon');
|
|
2466
|
+
WeekDay_TUESDAY_instance = new WeekDay('TUESDAY', 1, 'Tue');
|
|
2467
|
+
WeekDay_WEDNESDAY_instance = new WeekDay('WEDNESDAY', 2, 'Wed');
|
|
2468
|
+
WeekDay_THURSDAY_instance = new WeekDay('THURSDAY', 3, 'Thu');
|
|
2469
|
+
WeekDay_FRIDAY_instance = new WeekDay('FRIDAY', 4, 'Fri');
|
|
2470
|
+
WeekDay_SATURDAY_instance = new WeekDay('SATURDAY', 5, 'Sat');
|
|
2471
|
+
WeekDay_SUNDAY_instance = new WeekDay('SUNDAY', 6, 'Sun');
|
|
2472
|
+
if (Companion_instance_4 === VOID) {
|
|
2473
|
+
Companion_instance;
|
|
2474
|
+
new Companion_2();
|
|
2475
|
+
}
|
|
2476
|
+
}
|
|
2418
2477
|
var WeekDay_MONDAY_instance;
|
|
2419
2478
|
var WeekDay_TUESDAY_instance;
|
|
2420
2479
|
var WeekDay_WEDNESDAY_instance;
|
|
@@ -2422,32 +2481,43 @@ var WeekDay_THURSDAY_instance;
|
|
|
2422
2481
|
var WeekDay_FRIDAY_instance;
|
|
2423
2482
|
var WeekDay_SATURDAY_instance;
|
|
2424
2483
|
var WeekDay_SUNDAY_instance;
|
|
2425
|
-
var
|
|
2484
|
+
var Companion_instance_4;
|
|
2426
2485
|
function Companion_getInstance_2() {
|
|
2427
|
-
return
|
|
2486
|
+
return Companion_instance_4;
|
|
2428
2487
|
}
|
|
2429
2488
|
function values() {
|
|
2489
|
+
static_init_0();
|
|
2430
2490
|
return [WeekDay_MONDAY_getInstance(), WeekDay_TUESDAY_getInstance(), WeekDay_WEDNESDAY_getInstance(), WeekDay_THURSDAY_getInstance(), WeekDay_FRIDAY_getInstance(), WeekDay_SATURDAY_getInstance(), WeekDay_SUNDAY_getInstance()];
|
|
2431
2491
|
}
|
|
2432
2492
|
function get_entries() {
|
|
2493
|
+
static_init_0();
|
|
2433
2494
|
if ($ENTRIES == null)
|
|
2434
2495
|
$ENTRIES = enumEntries(values());
|
|
2435
2496
|
return $ENTRIES;
|
|
2436
2497
|
}
|
|
2437
|
-
var
|
|
2438
|
-
|
|
2439
|
-
|
|
2498
|
+
var $ENTRIES;
|
|
2499
|
+
var static_init_called_1;
|
|
2500
|
+
function static_init_1() {
|
|
2501
|
+
if (static_init_called_1)
|
|
2440
2502
|
return Unit_instance;
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2503
|
+
static_init_called_1 = true;
|
|
2504
|
+
Month_JANUARY_instance = new Month('JANUARY', 0, 'Jan');
|
|
2505
|
+
Month_FEBRUARY_instance = new Month('FEBRUARY', 1, 'Feb');
|
|
2506
|
+
Month_MARCH_instance = new Month('MARCH', 2, 'Mar');
|
|
2507
|
+
Month_APRIL_instance = new Month('APRIL', 3, 'Apr');
|
|
2508
|
+
Month_MAY_instance = new Month('MAY', 4, 'May');
|
|
2509
|
+
Month_JUNE_instance = new Month('JUNE', 5, 'Jun');
|
|
2510
|
+
Month_JULY_instance = new Month('JULY', 6, 'Jul');
|
|
2511
|
+
Month_AUGUST_instance = new Month('AUGUST', 7, 'Aug');
|
|
2512
|
+
Month_SEPTEMBER_instance = new Month('SEPTEMBER', 8, 'Sep');
|
|
2513
|
+
Month_OCTOBER_instance = new Month('OCTOBER', 9, 'Oct');
|
|
2514
|
+
Month_NOVEMBER_instance = new Month('NOVEMBER', 10, 'Nov');
|
|
2515
|
+
Month_DECEMBER_instance = new Month('DECEMBER', 11, 'Dec');
|
|
2516
|
+
if (Companion_instance_5 === VOID) {
|
|
2517
|
+
Companion_instance;
|
|
2518
|
+
new Companion_3();
|
|
2519
|
+
}
|
|
2449
2520
|
}
|
|
2450
|
-
var $ENTRIES;
|
|
2451
2521
|
var Month_JANUARY_instance;
|
|
2452
2522
|
var Month_FEBRUARY_instance;
|
|
2453
2523
|
var Month_MARCH_instance;
|
|
@@ -2460,111 +2530,95 @@ var Month_SEPTEMBER_instance;
|
|
|
2460
2530
|
var Month_OCTOBER_instance;
|
|
2461
2531
|
var Month_NOVEMBER_instance;
|
|
2462
2532
|
var Month_DECEMBER_instance;
|
|
2463
|
-
var
|
|
2533
|
+
var Companion_instance_5;
|
|
2464
2534
|
function Companion_getInstance_3() {
|
|
2465
|
-
return
|
|
2535
|
+
return Companion_instance_5;
|
|
2466
2536
|
}
|
|
2467
2537
|
function values_0() {
|
|
2538
|
+
static_init_1();
|
|
2468
2539
|
return [Month_JANUARY_getInstance(), Month_FEBRUARY_getInstance(), Month_MARCH_getInstance(), Month_APRIL_getInstance(), Month_MAY_getInstance(), Month_JUNE_getInstance(), Month_JULY_getInstance(), Month_AUGUST_getInstance(), Month_SEPTEMBER_getInstance(), Month_OCTOBER_getInstance(), Month_NOVEMBER_getInstance(), Month_DECEMBER_getInstance()];
|
|
2469
2540
|
}
|
|
2470
2541
|
function get_entries_0() {
|
|
2542
|
+
static_init_1();
|
|
2471
2543
|
if ($ENTRIES_0 == null)
|
|
2472
2544
|
$ENTRIES_0 = enumEntries(values_0());
|
|
2473
2545
|
return $ENTRIES_0;
|
|
2474
2546
|
}
|
|
2475
|
-
var Month_entriesInitialized;
|
|
2476
|
-
function Month_initEntries() {
|
|
2477
|
-
if (Month_entriesInitialized)
|
|
2478
|
-
return Unit_instance;
|
|
2479
|
-
Month_entriesInitialized = true;
|
|
2480
|
-
Month_JANUARY_instance = new Month('JANUARY', 0, 'Jan');
|
|
2481
|
-
Month_FEBRUARY_instance = new Month('FEBRUARY', 1, 'Feb');
|
|
2482
|
-
Month_MARCH_instance = new Month('MARCH', 2, 'Mar');
|
|
2483
|
-
Month_APRIL_instance = new Month('APRIL', 3, 'Apr');
|
|
2484
|
-
Month_MAY_instance = new Month('MAY', 4, 'May');
|
|
2485
|
-
Month_JUNE_instance = new Month('JUNE', 5, 'Jun');
|
|
2486
|
-
Month_JULY_instance = new Month('JULY', 6, 'Jul');
|
|
2487
|
-
Month_AUGUST_instance = new Month('AUGUST', 7, 'Aug');
|
|
2488
|
-
Month_SEPTEMBER_instance = new Month('SEPTEMBER', 8, 'Sep');
|
|
2489
|
-
Month_OCTOBER_instance = new Month('OCTOBER', 9, 'Oct');
|
|
2490
|
-
Month_NOVEMBER_instance = new Month('NOVEMBER', 10, 'Nov');
|
|
2491
|
-
Month_DECEMBER_instance = new Month('DECEMBER', 11, 'Dec');
|
|
2492
|
-
}
|
|
2493
2547
|
var $ENTRIES_0;
|
|
2494
2548
|
function WeekDay_MONDAY_getInstance() {
|
|
2495
|
-
|
|
2549
|
+
static_init_0();
|
|
2496
2550
|
return WeekDay_MONDAY_instance;
|
|
2497
2551
|
}
|
|
2498
2552
|
function WeekDay_TUESDAY_getInstance() {
|
|
2499
|
-
|
|
2553
|
+
static_init_0();
|
|
2500
2554
|
return WeekDay_TUESDAY_instance;
|
|
2501
2555
|
}
|
|
2502
2556
|
function WeekDay_WEDNESDAY_getInstance() {
|
|
2503
|
-
|
|
2557
|
+
static_init_0();
|
|
2504
2558
|
return WeekDay_WEDNESDAY_instance;
|
|
2505
2559
|
}
|
|
2506
2560
|
function WeekDay_THURSDAY_getInstance() {
|
|
2507
|
-
|
|
2561
|
+
static_init_0();
|
|
2508
2562
|
return WeekDay_THURSDAY_instance;
|
|
2509
2563
|
}
|
|
2510
2564
|
function WeekDay_FRIDAY_getInstance() {
|
|
2511
|
-
|
|
2565
|
+
static_init_0();
|
|
2512
2566
|
return WeekDay_FRIDAY_instance;
|
|
2513
2567
|
}
|
|
2514
2568
|
function WeekDay_SATURDAY_getInstance() {
|
|
2515
|
-
|
|
2569
|
+
static_init_0();
|
|
2516
2570
|
return WeekDay_SATURDAY_instance;
|
|
2517
2571
|
}
|
|
2518
2572
|
function WeekDay_SUNDAY_getInstance() {
|
|
2519
|
-
|
|
2573
|
+
static_init_0();
|
|
2520
2574
|
return WeekDay_SUNDAY_instance;
|
|
2521
2575
|
}
|
|
2522
2576
|
function Month_JANUARY_getInstance() {
|
|
2523
|
-
|
|
2577
|
+
static_init_1();
|
|
2524
2578
|
return Month_JANUARY_instance;
|
|
2525
2579
|
}
|
|
2526
2580
|
function Month_FEBRUARY_getInstance() {
|
|
2527
|
-
|
|
2581
|
+
static_init_1();
|
|
2528
2582
|
return Month_FEBRUARY_instance;
|
|
2529
2583
|
}
|
|
2530
2584
|
function Month_MARCH_getInstance() {
|
|
2531
|
-
|
|
2585
|
+
static_init_1();
|
|
2532
2586
|
return Month_MARCH_instance;
|
|
2533
2587
|
}
|
|
2534
2588
|
function Month_APRIL_getInstance() {
|
|
2535
|
-
|
|
2589
|
+
static_init_1();
|
|
2536
2590
|
return Month_APRIL_instance;
|
|
2537
2591
|
}
|
|
2538
2592
|
function Month_MAY_getInstance() {
|
|
2539
|
-
|
|
2593
|
+
static_init_1();
|
|
2540
2594
|
return Month_MAY_instance;
|
|
2541
2595
|
}
|
|
2542
2596
|
function Month_JUNE_getInstance() {
|
|
2543
|
-
|
|
2597
|
+
static_init_1();
|
|
2544
2598
|
return Month_JUNE_instance;
|
|
2545
2599
|
}
|
|
2546
2600
|
function Month_JULY_getInstance() {
|
|
2547
|
-
|
|
2601
|
+
static_init_1();
|
|
2548
2602
|
return Month_JULY_instance;
|
|
2549
2603
|
}
|
|
2550
2604
|
function Month_AUGUST_getInstance() {
|
|
2551
|
-
|
|
2605
|
+
static_init_1();
|
|
2552
2606
|
return Month_AUGUST_instance;
|
|
2553
2607
|
}
|
|
2554
2608
|
function Month_SEPTEMBER_getInstance() {
|
|
2555
|
-
|
|
2609
|
+
static_init_1();
|
|
2556
2610
|
return Month_SEPTEMBER_instance;
|
|
2557
2611
|
}
|
|
2558
2612
|
function Month_OCTOBER_getInstance() {
|
|
2559
|
-
|
|
2613
|
+
static_init_1();
|
|
2560
2614
|
return Month_OCTOBER_instance;
|
|
2561
2615
|
}
|
|
2562
2616
|
function Month_NOVEMBER_getInstance() {
|
|
2563
|
-
|
|
2617
|
+
static_init_1();
|
|
2564
2618
|
return Month_NOVEMBER_instance;
|
|
2565
2619
|
}
|
|
2566
2620
|
function Month_DECEMBER_getInstance() {
|
|
2567
|
-
|
|
2621
|
+
static_init_1();
|
|
2568
2622
|
return Month_DECEMBER_instance;
|
|
2569
2623
|
}
|
|
2570
2624
|
var CONDITION_FALSE;
|
|
@@ -2575,7 +2629,7 @@ var NO_DECISION;
|
|
|
2575
2629
|
function unwrap(_this__u8e3s4) {
|
|
2576
2630
|
_init_properties_LockFreeLinkedList_kt__wekxce();
|
|
2577
2631
|
var tmp0_safe_receiver = _this__u8e3s4 instanceof Removed ? _this__u8e3s4 : null;
|
|
2578
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2632
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ref_1;
|
|
2579
2633
|
var tmp;
|
|
2580
2634
|
if (tmp1_elvis_lhs == null) {
|
|
2581
2635
|
tmp = _this__u8e3s4 instanceof LockFreeLinkedListNode ? _this__u8e3s4 : THROW_CCE();
|
|
@@ -2597,37 +2651,37 @@ function _init_properties_LockFreeLinkedList_kt__wekxce() {
|
|
|
2597
2651
|
}
|
|
2598
2652
|
function *proceedLoop($this, $completion) {
|
|
2599
2653
|
$l$loop_0: do {
|
|
2600
|
-
var index = $this.
|
|
2654
|
+
var index = $this.index_1;
|
|
2601
2655
|
if (index === -1) {
|
|
2602
2656
|
break $l$loop_0;
|
|
2603
2657
|
}
|
|
2604
|
-
var interceptors = $this.
|
|
2605
|
-
if (index >= interceptors.
|
|
2606
|
-
$this.
|
|
2658
|
+
var interceptors = $this.interceptors_1;
|
|
2659
|
+
if (index >= interceptors.get_size_woubt6_k$()) {
|
|
2660
|
+
$this.finish_mh2air_k$();
|
|
2607
2661
|
break $l$loop_0;
|
|
2608
2662
|
}
|
|
2609
|
-
var executeInterceptor = interceptors.
|
|
2610
|
-
$this.
|
|
2611
|
-
yield* executeInterceptor($this, $this.
|
|
2663
|
+
var executeInterceptor = interceptors.get_c1px32_k$(index);
|
|
2664
|
+
$this.index_1 = index + 1 | 0;
|
|
2665
|
+
yield* $(executeInterceptor($this, $this.subject_1, $completion), $completion);
|
|
2612
2666
|
}
|
|
2613
2667
|
while (true);
|
|
2614
|
-
return $this.
|
|
2668
|
+
return $this.subject_1;
|
|
2615
2669
|
}
|
|
2616
2670
|
function copiedInterceptors($this) {
|
|
2617
|
-
return toMutableList($this.
|
|
2671
|
+
return toMutableList($this.interceptors_1);
|
|
2618
2672
|
}
|
|
2619
2673
|
function copyInterceptors($this) {
|
|
2620
|
-
$this.
|
|
2621
|
-
$this.
|
|
2674
|
+
$this.interceptors_1 = copiedInterceptors($this);
|
|
2675
|
+
$this.shared_1 = false;
|
|
2622
2676
|
}
|
|
2623
|
-
var
|
|
2677
|
+
var Companion_instance_6;
|
|
2624
2678
|
function Companion_getInstance_4() {
|
|
2625
|
-
if (
|
|
2679
|
+
if (Companion_instance_6 === VOID)
|
|
2626
2680
|
new Companion_4();
|
|
2627
|
-
return
|
|
2681
|
+
return Companion_instance_6;
|
|
2628
2682
|
}
|
|
2629
2683
|
function _set_interceptors__wod97b($this, _set____db54di) {
|
|
2630
|
-
var tmp0 = $this.
|
|
2684
|
+
var tmp0 = $this.interceptors$delegate_1;
|
|
2631
2685
|
var tmp = KMutableProperty1;
|
|
2632
2686
|
var tmp_0 = Pipeline$_get_interceptors_$ref_u6zl4e();
|
|
2633
2687
|
// Inline function 'kotlinx.atomicfu.AtomicRef.setValue' call
|
|
@@ -2636,7 +2690,7 @@ function _set_interceptors__wod97b($this, _set____db54di) {
|
|
|
2636
2690
|
return Unit_instance;
|
|
2637
2691
|
}
|
|
2638
2692
|
function _get_interceptors__h4min7($this) {
|
|
2639
|
-
var tmp0 = $this.
|
|
2693
|
+
var tmp0 = $this.interceptors$delegate_1;
|
|
2640
2694
|
var tmp = KMutableProperty1;
|
|
2641
2695
|
var tmp_0 = Pipeline$_get_interceptors_$ref_u6zl4e();
|
|
2642
2696
|
// Inline function 'kotlinx.atomicfu.AtomicRef.getValue' call
|
|
@@ -2644,25 +2698,25 @@ function _get_interceptors__h4min7($this) {
|
|
|
2644
2698
|
return tmp0.kotlinx$atomicfu$value;
|
|
2645
2699
|
}
|
|
2646
2700
|
function createContext($this, context, subject, coroutineContext) {
|
|
2647
|
-
return pipelineContextFor(context, sharedInterceptorsList($this), subject, coroutineContext, $this.
|
|
2701
|
+
return pipelineContextFor(context, sharedInterceptorsList($this), subject, coroutineContext, $this.get_developmentMode_eqiro5_k$());
|
|
2648
2702
|
}
|
|
2649
2703
|
function findPhase($this, phase) {
|
|
2650
|
-
var phasesList = $this.
|
|
2704
|
+
var phasesList = $this.phasesRaw_1;
|
|
2651
2705
|
var inductionVariable = 0;
|
|
2652
|
-
var last = phasesList.
|
|
2706
|
+
var last = phasesList.get_size_woubt6_k$();
|
|
2653
2707
|
if (inductionVariable < last)
|
|
2654
2708
|
do {
|
|
2655
2709
|
var index = inductionVariable;
|
|
2656
2710
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2657
|
-
var current = phasesList.
|
|
2711
|
+
var current = phasesList.get_c1px32_k$(index);
|
|
2658
2712
|
if (current === phase) {
|
|
2659
|
-
var content = PhaseContent.
|
|
2660
|
-
phasesList.
|
|
2713
|
+
var content = PhaseContent.new_io_ktor_util_pipeline_PhaseContent_24bg4y_k$(phase, Last_getInstance());
|
|
2714
|
+
phasesList.set_82063s_k$(index, content);
|
|
2661
2715
|
return content;
|
|
2662
2716
|
}
|
|
2663
2717
|
var tmp;
|
|
2664
2718
|
if (current instanceof PhaseContent) {
|
|
2665
|
-
tmp = current.
|
|
2719
|
+
tmp = current.phase_1 === phase;
|
|
2666
2720
|
} else {
|
|
2667
2721
|
tmp = false;
|
|
2668
2722
|
}
|
|
@@ -2674,21 +2728,21 @@ function findPhase($this, phase) {
|
|
|
2674
2728
|
return null;
|
|
2675
2729
|
}
|
|
2676
2730
|
function findPhaseIndex($this, phase) {
|
|
2677
|
-
var phasesList = $this.
|
|
2731
|
+
var phasesList = $this.phasesRaw_1;
|
|
2678
2732
|
var inductionVariable = 0;
|
|
2679
|
-
var last = phasesList.
|
|
2733
|
+
var last = phasesList.get_size_woubt6_k$();
|
|
2680
2734
|
if (inductionVariable < last)
|
|
2681
2735
|
do {
|
|
2682
2736
|
var index = inductionVariable;
|
|
2683
2737
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2684
|
-
var current = phasesList.
|
|
2738
|
+
var current = phasesList.get_c1px32_k$(index);
|
|
2685
2739
|
var tmp;
|
|
2686
2740
|
if (current === phase) {
|
|
2687
2741
|
tmp = true;
|
|
2688
2742
|
} else {
|
|
2689
2743
|
var tmp_0;
|
|
2690
2744
|
if (current instanceof PhaseContent) {
|
|
2691
|
-
tmp_0 = current.
|
|
2745
|
+
tmp_0 = current.phase_1 === phase;
|
|
2692
2746
|
} else {
|
|
2693
2747
|
tmp_0 = false;
|
|
2694
2748
|
}
|
|
@@ -2702,21 +2756,21 @@ function findPhaseIndex($this, phase) {
|
|
|
2702
2756
|
return -1;
|
|
2703
2757
|
}
|
|
2704
2758
|
function hasPhase($this, phase) {
|
|
2705
|
-
var phasesList = $this.
|
|
2759
|
+
var phasesList = $this.phasesRaw_1;
|
|
2706
2760
|
var inductionVariable = 0;
|
|
2707
|
-
var last = phasesList.
|
|
2761
|
+
var last = phasesList.get_size_woubt6_k$();
|
|
2708
2762
|
if (inductionVariable < last)
|
|
2709
2763
|
do {
|
|
2710
2764
|
var index = inductionVariable;
|
|
2711
2765
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2712
|
-
var current = phasesList.
|
|
2766
|
+
var current = phasesList.get_c1px32_k$(index);
|
|
2713
2767
|
var tmp;
|
|
2714
2768
|
if (current === phase) {
|
|
2715
2769
|
tmp = true;
|
|
2716
2770
|
} else {
|
|
2717
2771
|
var tmp_0;
|
|
2718
2772
|
if (current instanceof PhaseContent) {
|
|
2719
|
-
tmp_0 = current.
|
|
2773
|
+
tmp_0 = current.phase_1 === phase;
|
|
2720
2774
|
} else {
|
|
2721
2775
|
tmp_0 = false;
|
|
2722
2776
|
}
|
|
@@ -2730,12 +2784,12 @@ function hasPhase($this, phase) {
|
|
|
2730
2784
|
return false;
|
|
2731
2785
|
}
|
|
2732
2786
|
function cacheInterceptors($this) {
|
|
2733
|
-
var interceptorsQuantity = $this.
|
|
2787
|
+
var interceptorsQuantity = $this.interceptorsQuantity_1;
|
|
2734
2788
|
if (interceptorsQuantity === 0) {
|
|
2735
2789
|
notSharedInterceptorsList($this, emptyList());
|
|
2736
2790
|
return emptyList();
|
|
2737
2791
|
}
|
|
2738
|
-
var phases = $this.
|
|
2792
|
+
var phases = $this.phasesRaw_1;
|
|
2739
2793
|
if (interceptorsQuantity === 1) {
|
|
2740
2794
|
var inductionVariable = 0;
|
|
2741
2795
|
var last = get_lastIndex_0(phases);
|
|
@@ -2743,7 +2797,7 @@ function cacheInterceptors($this) {
|
|
|
2743
2797
|
$l$loop_0: do {
|
|
2744
2798
|
var phaseIndex = inductionVariable;
|
|
2745
2799
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2746
|
-
var tmp = phases.
|
|
2800
|
+
var tmp = phases.get_c1px32_k$(phaseIndex);
|
|
2747
2801
|
var tmp0_elvis_lhs = tmp instanceof PhaseContent ? tmp : null;
|
|
2748
2802
|
var tmp_0;
|
|
2749
2803
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -2752,23 +2806,23 @@ function cacheInterceptors($this) {
|
|
|
2752
2806
|
tmp_0 = tmp0_elvis_lhs;
|
|
2753
2807
|
}
|
|
2754
2808
|
var phaseContent = tmp_0;
|
|
2755
|
-
if (phaseContent.
|
|
2809
|
+
if (phaseContent.get_isEmpty_zauvru_k$())
|
|
2756
2810
|
continue $l$loop_0;
|
|
2757
|
-
var interceptors = phaseContent.
|
|
2811
|
+
var interceptors = phaseContent.sharedInterceptors_rmg8b1_k$();
|
|
2758
2812
|
setInterceptorsListFromPhase($this, phaseContent);
|
|
2759
2813
|
return interceptors;
|
|
2760
2814
|
}
|
|
2761
2815
|
while (!(phaseIndex === last));
|
|
2762
2816
|
}
|
|
2763
2817
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
2764
|
-
var destination = ArrayList.
|
|
2818
|
+
var destination = ArrayList.new_kotlin_collections_ArrayList_ony0vx_k$();
|
|
2765
2819
|
var inductionVariable_0 = 0;
|
|
2766
2820
|
var last_0 = get_lastIndex_0(phases);
|
|
2767
2821
|
if (inductionVariable_0 <= last_0)
|
|
2768
2822
|
$l$loop_1: do {
|
|
2769
2823
|
var phaseIndex_0 = inductionVariable_0;
|
|
2770
2824
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
2771
|
-
var tmp_1 = phases.
|
|
2825
|
+
var tmp_1 = phases.get_c1px32_k$(phaseIndex_0);
|
|
2772
2826
|
var tmp1_elvis_lhs = tmp_1 instanceof PhaseContent ? tmp_1 : null;
|
|
2773
2827
|
var tmp_2;
|
|
2774
2828
|
if (tmp1_elvis_lhs == null) {
|
|
@@ -2777,7 +2831,7 @@ function cacheInterceptors($this) {
|
|
|
2777
2831
|
tmp_2 = tmp1_elvis_lhs;
|
|
2778
2832
|
}
|
|
2779
2833
|
var phase = tmp_2;
|
|
2780
|
-
phase.
|
|
2834
|
+
phase.addTo_h97ksk_k$(destination);
|
|
2781
2835
|
}
|
|
2782
2836
|
while (!(phaseIndex_0 === last_0));
|
|
2783
2837
|
notSharedInterceptorsList($this, destination);
|
|
@@ -2787,31 +2841,31 @@ function sharedInterceptorsList($this) {
|
|
|
2787
2841
|
if (_get_interceptors__h4min7($this) == null) {
|
|
2788
2842
|
cacheInterceptors($this);
|
|
2789
2843
|
}
|
|
2790
|
-
$this.
|
|
2844
|
+
$this.interceptorsListShared_1 = true;
|
|
2791
2845
|
return ensureNotNull(_get_interceptors__h4min7($this));
|
|
2792
2846
|
}
|
|
2793
2847
|
function resetInterceptorsList($this) {
|
|
2794
2848
|
_set_interceptors__wod97b($this, null);
|
|
2795
|
-
$this.
|
|
2796
|
-
$this.
|
|
2849
|
+
$this.interceptorsListShared_1 = false;
|
|
2850
|
+
$this.interceptorsListSharedPhase_1 = null;
|
|
2797
2851
|
}
|
|
2798
2852
|
function notSharedInterceptorsList($this, list) {
|
|
2799
2853
|
_set_interceptors__wod97b($this, list);
|
|
2800
|
-
$this.
|
|
2801
|
-
$this.
|
|
2854
|
+
$this.interceptorsListShared_1 = false;
|
|
2855
|
+
$this.interceptorsListSharedPhase_1 = null;
|
|
2802
2856
|
}
|
|
2803
2857
|
function setInterceptorsListFromPhase($this, phaseContent) {
|
|
2804
|
-
_set_interceptors__wod97b($this, phaseContent.
|
|
2805
|
-
$this.
|
|
2806
|
-
$this.
|
|
2858
|
+
_set_interceptors__wod97b($this, phaseContent.sharedInterceptors_rmg8b1_k$());
|
|
2859
|
+
$this.interceptorsListShared_1 = false;
|
|
2860
|
+
$this.interceptorsListSharedPhase_1 = phaseContent.phase_1;
|
|
2807
2861
|
}
|
|
2808
2862
|
function tryAddToPhaseFastPath($this, phase, block) {
|
|
2809
2863
|
var currentInterceptors = _get_interceptors__h4min7($this);
|
|
2810
|
-
if ($this.
|
|
2864
|
+
if ($this.phasesRaw_1.isEmpty_y1axqb_k$() || currentInterceptors == null) {
|
|
2811
2865
|
return false;
|
|
2812
2866
|
}
|
|
2813
2867
|
var tmp;
|
|
2814
|
-
if ($this.
|
|
2868
|
+
if ($this.interceptorsListShared_1) {
|
|
2815
2869
|
tmp = true;
|
|
2816
2870
|
} else {
|
|
2817
2871
|
tmp = !isInterface(currentInterceptors, KtMutableList);
|
|
@@ -2819,25 +2873,25 @@ function tryAddToPhaseFastPath($this, phase, block) {
|
|
|
2819
2873
|
if (tmp) {
|
|
2820
2874
|
return false;
|
|
2821
2875
|
}
|
|
2822
|
-
if (equals_0($this.
|
|
2823
|
-
currentInterceptors.
|
|
2876
|
+
if (equals_0($this.interceptorsListSharedPhase_1, phase)) {
|
|
2877
|
+
currentInterceptors.add_utx5q5_k$(block);
|
|
2824
2878
|
return true;
|
|
2825
2879
|
}
|
|
2826
|
-
if (equals_0(phase, last($this.
|
|
2827
|
-
ensureNotNull(findPhase($this, phase)).
|
|
2828
|
-
currentInterceptors.
|
|
2880
|
+
if (equals_0(phase, last($this.phasesRaw_1)) || findPhaseIndex($this, phase) === get_lastIndex_0($this.phasesRaw_1)) {
|
|
2881
|
+
ensureNotNull(findPhase($this, phase)).addInterceptor_jvll3j_k$(block);
|
|
2882
|
+
currentInterceptors.add_utx5q5_k$(block);
|
|
2829
2883
|
return true;
|
|
2830
2884
|
}
|
|
2831
2885
|
return false;
|
|
2832
2886
|
}
|
|
2833
2887
|
function Pipeline$_get_interceptors_$ref_u6zl4e() {
|
|
2834
|
-
return constructCallableReference((p0) => _get_interceptors__h4min7(p0), 1, 0,
|
|
2888
|
+
return constructCallableReference((p0) => _get_interceptors__h4min7(p0), 1, 0, 81);
|
|
2835
2889
|
}
|
|
2836
2890
|
function Pipeline$_set_interceptors_$ref_13vc1m() {
|
|
2837
2891
|
return constructCallableReference((p0, p1) => {
|
|
2838
2892
|
_set_interceptors__wod97b(p0, p1);
|
|
2839
2893
|
return Unit_instance;
|
|
2840
|
-
}, 2, 0,
|
|
2894
|
+
}, 2, 0, 82);
|
|
2841
2895
|
}
|
|
2842
2896
|
function pipelineContextFor(context, interceptors, subject, coroutineContext, debugMode) {
|
|
2843
2897
|
debugMode = debugMode === VOID ? false : debugMode;
|
|
@@ -2873,21 +2927,21 @@ function recoverStackTraceBridge(exception, continuation) {
|
|
|
2873
2927
|
}
|
|
2874
2928
|
function loop($this, direct) {
|
|
2875
2929
|
do {
|
|
2876
|
-
var currentIndex = $this.
|
|
2877
|
-
if (currentIndex === $this.
|
|
2930
|
+
var currentIndex = $this.index_1;
|
|
2931
|
+
if (currentIndex === $this.interceptors_1.get_size_woubt6_k$()) {
|
|
2878
2932
|
if (!direct) {
|
|
2879
2933
|
// Inline function 'kotlin.Companion.success' call
|
|
2880
|
-
var value = $this.
|
|
2934
|
+
var value = $this.subject_1;
|
|
2881
2935
|
var tmp$ret$0 = _Result___init__impl__xyqfz8(value);
|
|
2882
2936
|
resumeRootWith($this, tmp$ret$0);
|
|
2883
2937
|
return false;
|
|
2884
2938
|
}
|
|
2885
2939
|
return true;
|
|
2886
2940
|
}
|
|
2887
|
-
$this.
|
|
2888
|
-
var next = $this.
|
|
2941
|
+
$this.index_1 = currentIndex + 1 | 0;
|
|
2942
|
+
var next = $this.interceptors_1.get_c1px32_k$(currentIndex);
|
|
2889
2943
|
try {
|
|
2890
|
-
var result = pipelineStartCoroutineUninterceptedOrReturn(next, $this, $this.
|
|
2944
|
+
var result = pipelineStartCoroutineUninterceptedOrReturn(next, $this, $this.subject_1, $this.continuation_1);
|
|
2891
2945
|
if (result === get_COROUTINE_SUSPENDED())
|
|
2892
2946
|
return false;
|
|
2893
2947
|
} catch ($p) {
|
|
@@ -2906,42 +2960,42 @@ function loop($this, direct) {
|
|
|
2906
2960
|
}
|
|
2907
2961
|
function resumeRootWith($this, result) {
|
|
2908
2962
|
// Inline function 'kotlin.check' call
|
|
2909
|
-
if (!($this.
|
|
2963
|
+
if (!($this.lastSuspensionIndex_1 >= 0)) {
|
|
2910
2964
|
var message = 'No more continuations to resume';
|
|
2911
|
-
throw IllegalStateException.
|
|
2965
|
+
throw IllegalStateException.new_kotlin_IllegalStateException_w47ei6_k$(toString(message));
|
|
2912
2966
|
}
|
|
2913
|
-
var next = ensureNotNull($this.
|
|
2914
|
-
var _unary__edvuaz = $this.
|
|
2915
|
-
$this.
|
|
2916
|
-
$this.
|
|
2917
|
-
var interceptor = next.
|
|
2967
|
+
var next = ensureNotNull($this.suspensions_1[$this.lastSuspensionIndex_1]);
|
|
2968
|
+
var _unary__edvuaz = $this.lastSuspensionIndex_1;
|
|
2969
|
+
$this.lastSuspensionIndex_1 = _unary__edvuaz - 1 | 0;
|
|
2970
|
+
$this.suspensions_1[_unary__edvuaz] = null;
|
|
2971
|
+
var interceptor = next.get_context_h02k06_k$().get_y2st91_k$(Key_instance);
|
|
2918
2972
|
var tmp;
|
|
2919
2973
|
if (interceptor instanceof CoroutineDispatcher) {
|
|
2920
|
-
tmp = interceptor.
|
|
2974
|
+
tmp = interceptor.isDispatchNeeded_ft82v4_k$(next.get_context_h02k06_k$()) ? intercepted(next) : next;
|
|
2921
2975
|
} else {
|
|
2922
2976
|
tmp = intercepted(next);
|
|
2923
2977
|
}
|
|
2924
2978
|
var toResume = tmp;
|
|
2925
2979
|
var exception = Result__exceptionOrNull_impl_p6xea9(result);
|
|
2926
2980
|
if (exception == null) {
|
|
2927
|
-
toResume.
|
|
2981
|
+
toResume.resumeWith_rk9gbt_k$(result);
|
|
2928
2982
|
} else {
|
|
2929
2983
|
var recoveredException = recoverStackTraceBridge(exception, next);
|
|
2930
2984
|
// Inline function 'kotlin.coroutines.resumeWithException' call
|
|
2931
2985
|
// Inline function 'kotlin.Companion.failure' call
|
|
2932
2986
|
var tmp$ret$3 = _Result___init__impl__xyqfz8(createFailure(recoveredException));
|
|
2933
|
-
toResume.
|
|
2987
|
+
toResume.resumeWith_rk9gbt_k$(tmp$ret$3);
|
|
2934
2988
|
}
|
|
2935
2989
|
}
|
|
2936
2990
|
function discardLastRootContinuation($this) {
|
|
2937
2991
|
// Inline function 'kotlin.check' call
|
|
2938
|
-
if (!($this.
|
|
2992
|
+
if (!($this.lastSuspensionIndex_1 >= 0)) {
|
|
2939
2993
|
var message = 'No more continuations to resume';
|
|
2940
|
-
throw IllegalStateException.
|
|
2994
|
+
throw IllegalStateException.new_kotlin_IllegalStateException_w47ei6_k$(toString(message));
|
|
2941
2995
|
}
|
|
2942
|
-
var _unary__edvuaz = $this.
|
|
2943
|
-
$this.
|
|
2944
|
-
$this.
|
|
2996
|
+
var _unary__edvuaz = $this.lastSuspensionIndex_1;
|
|
2997
|
+
$this.lastSuspensionIndex_1 = _unary__edvuaz - 1 | 0;
|
|
2998
|
+
$this.suspensions_1[_unary__edvuaz] = null;
|
|
2945
2999
|
}
|
|
2946
3000
|
function get_platform(_this__u8e3s4) {
|
|
2947
3001
|
_init_properties_PlatformUtils_js_kt__7rxm8p();
|
|
@@ -2949,7 +3003,7 @@ function get_platform(_this__u8e3s4) {
|
|
|
2949
3003
|
var tmp = KProperty1;
|
|
2950
3004
|
// Inline function 'kotlin.getValue' call
|
|
2951
3005
|
getPropertyCallableRef('platform', 1, tmp, _get_platform_$ref_41w7mv(), null);
|
|
2952
|
-
return tmp0.
|
|
3006
|
+
return tmp0.get_value_j01efc_k$();
|
|
2953
3007
|
}
|
|
2954
3008
|
var platform$delegate;
|
|
2955
3009
|
function platform$delegate$lambda() {
|
|
@@ -2957,7 +3011,7 @@ function platform$delegate$lambda() {
|
|
|
2957
3011
|
return new Js(hasNodeApi() ? JsPlatform_Node_getInstance() : JsPlatform_Browser_getInstance());
|
|
2958
3012
|
}
|
|
2959
3013
|
function _get_platform_$ref_41w7mv() {
|
|
2960
|
-
return constructCallableReference((p0) => get_platform(p0), 1, 0,
|
|
3014
|
+
return constructCallableReference((p0) => get_platform(p0), 1, 0, 83);
|
|
2961
3015
|
}
|
|
2962
3016
|
var properties_initialized_PlatformUtils_js_kt_8g036j;
|
|
2963
3017
|
function _init_properties_PlatformUtils_js_kt__7rxm8p() {
|
|
@@ -2989,10 +3043,10 @@ function GMTDate_0(timestamp) {
|
|
|
2989
3043
|
var tmp2_elvis_lhs = tmp;
|
|
2990
3044
|
var date = tmp2_elvis_lhs == null ? new Date() : tmp2_elvis_lhs;
|
|
2991
3045
|
if (isNaN_0(date.getTime()))
|
|
2992
|
-
throw InvalidTimestampException.
|
|
3046
|
+
throw InvalidTimestampException.new_io_ktor_util_date_InvalidTimestampException_tabn6p_k$(ensureNotNull(timestamp));
|
|
2993
3047
|
// Inline function 'kotlin.with' call
|
|
2994
|
-
var dayOfWeek =
|
|
2995
|
-
var month =
|
|
3048
|
+
var dayOfWeek = Companion_instance_4.from_1ixx1u_k$((date.getUTCDay() + 6 | 0) % 7 | 0);
|
|
3049
|
+
var month = Companion_instance_5.from_1ixx1u_k$(date.getUTCMonth());
|
|
2996
3050
|
return new GMTDate(date.getUTCSeconds(), date.getUTCMinutes(), date.getUTCHours(), dayOfWeek, date.getUTCDate(), date.getUTCFullYear(), month, date.getUTCFullYear(), numberToLong(date.getTime()));
|
|
2997
3051
|
}
|
|
2998
3052
|
function getTimeMillis() {
|
|
@@ -3043,7 +3097,19 @@ function getKtorLogLevel() {
|
|
|
3043
3097
|
return process ? process.env.KTOR_LOG_LEVEL : null;
|
|
3044
3098
|
}
|
|
3045
3099
|
function get_isTraceEnabled(_this__u8e3s4) {
|
|
3046
|
-
return _this__u8e3s4.
|
|
3100
|
+
return _this__u8e3s4.get_level_ium7h7_k$().compareTo_30rs7w_k$(LogLevel_TRACE_getInstance()) <= 0;
|
|
3101
|
+
}
|
|
3102
|
+
var static_init_called_2;
|
|
3103
|
+
function static_init_2() {
|
|
3104
|
+
if (static_init_called_2)
|
|
3105
|
+
return Unit_instance;
|
|
3106
|
+
static_init_called_2 = true;
|
|
3107
|
+
LogLevel_TRACE_instance = new LogLevel('TRACE', 0);
|
|
3108
|
+
LogLevel_DEBUG_instance = new LogLevel('DEBUG', 1);
|
|
3109
|
+
LogLevel_INFO_instance = new LogLevel('INFO', 2);
|
|
3110
|
+
LogLevel_WARN_instance = new LogLevel('WARN', 3);
|
|
3111
|
+
LogLevel_ERROR_instance = new LogLevel('ERROR', 4);
|
|
3112
|
+
LogLevel_NONE_instance = new LogLevel('NONE', 5);
|
|
3047
3113
|
}
|
|
3048
3114
|
var LogLevel_TRACE_instance;
|
|
3049
3115
|
var LogLevel_DEBUG_instance;
|
|
@@ -3052,48 +3118,38 @@ var LogLevel_WARN_instance;
|
|
|
3052
3118
|
var LogLevel_ERROR_instance;
|
|
3053
3119
|
var LogLevel_NONE_instance;
|
|
3054
3120
|
function values_1() {
|
|
3121
|
+
static_init_2();
|
|
3055
3122
|
return [LogLevel_TRACE_getInstance(), LogLevel_DEBUG_getInstance(), LogLevel_INFO_getInstance(), LogLevel_WARN_getInstance(), LogLevel_ERROR_getInstance(), LogLevel_NONE_getInstance()];
|
|
3056
3123
|
}
|
|
3057
3124
|
function get_entries_1() {
|
|
3125
|
+
static_init_2();
|
|
3058
3126
|
if ($ENTRIES_1 == null)
|
|
3059
3127
|
$ENTRIES_1 = enumEntries(values_1());
|
|
3060
3128
|
return $ENTRIES_1;
|
|
3061
3129
|
}
|
|
3062
|
-
var LogLevel_entriesInitialized;
|
|
3063
|
-
function LogLevel_initEntries() {
|
|
3064
|
-
if (LogLevel_entriesInitialized)
|
|
3065
|
-
return Unit_instance;
|
|
3066
|
-
LogLevel_entriesInitialized = true;
|
|
3067
|
-
LogLevel_TRACE_instance = new LogLevel('TRACE', 0);
|
|
3068
|
-
LogLevel_DEBUG_instance = new LogLevel('DEBUG', 1);
|
|
3069
|
-
LogLevel_INFO_instance = new LogLevel('INFO', 2);
|
|
3070
|
-
LogLevel_WARN_instance = new LogLevel('WARN', 3);
|
|
3071
|
-
LogLevel_ERROR_instance = new LogLevel('ERROR', 4);
|
|
3072
|
-
LogLevel_NONE_instance = new LogLevel('NONE', 5);
|
|
3073
|
-
}
|
|
3074
3130
|
var $ENTRIES_1;
|
|
3075
3131
|
function LogLevel_TRACE_getInstance() {
|
|
3076
|
-
|
|
3132
|
+
static_init_2();
|
|
3077
3133
|
return LogLevel_TRACE_instance;
|
|
3078
3134
|
}
|
|
3079
3135
|
function LogLevel_DEBUG_getInstance() {
|
|
3080
|
-
|
|
3136
|
+
static_init_2();
|
|
3081
3137
|
return LogLevel_DEBUG_instance;
|
|
3082
3138
|
}
|
|
3083
3139
|
function LogLevel_INFO_getInstance() {
|
|
3084
|
-
|
|
3140
|
+
static_init_2();
|
|
3085
3141
|
return LogLevel_INFO_instance;
|
|
3086
3142
|
}
|
|
3087
3143
|
function LogLevel_WARN_getInstance() {
|
|
3088
|
-
|
|
3144
|
+
static_init_2();
|
|
3089
3145
|
return LogLevel_WARN_instance;
|
|
3090
3146
|
}
|
|
3091
3147
|
function LogLevel_ERROR_getInstance() {
|
|
3092
|
-
|
|
3148
|
+
static_init_2();
|
|
3093
3149
|
return LogLevel_ERROR_instance;
|
|
3094
3150
|
}
|
|
3095
3151
|
function LogLevel_NONE_getInstance() {
|
|
3096
|
-
|
|
3152
|
+
static_init_2();
|
|
3097
3153
|
return LogLevel_NONE_instance;
|
|
3098
3154
|
}
|
|
3099
3155
|
function pipelineStartCoroutineUninterceptedOrReturn(interceptor, context, subject, continuation) {
|
|
@@ -3102,10 +3158,10 @@ function pipelineStartCoroutineUninterceptedOrReturn(interceptor, context, subje
|
|
|
3102
3158
|
return startCoroutineUninterceptedOrReturnGeneratorVersion(coroutine, continuation);
|
|
3103
3159
|
}
|
|
3104
3160
|
function pipelineStartCoroutineUninterceptedOrReturn$slambda($interceptor, $context, $subject) {
|
|
3105
|
-
return constructCallableReference(function *($completion) {
|
|
3106
|
-
yield* $interceptor($context, $subject, $completion);
|
|
3161
|
+
return constructCallableReference(($completion) => orPromise($completion, function *($completion) {
|
|
3162
|
+
yield* $($interceptor($context, $subject, $completion), $completion);
|
|
3107
3163
|
return Unit_instance;
|
|
3108
|
-
}, 0);
|
|
3164
|
+
}), 0);
|
|
3109
3165
|
}
|
|
3110
3166
|
function get_DISABLE_SFG() {
|
|
3111
3167
|
return DISABLE_SFG;
|
|
@@ -3115,7 +3171,7 @@ function withCause(_this__u8e3s4, cause) {
|
|
|
3115
3171
|
return _this__u8e3s4;
|
|
3116
3172
|
}
|
|
3117
3173
|
function instanceOf(_this__u8e3s4, type) {
|
|
3118
|
-
return type.
|
|
3174
|
+
return type.isInstance_6tn68w_k$(_this__u8e3s4);
|
|
3119
3175
|
}
|
|
3120
3176
|
//region block: post-declaration
|
|
3121
3177
|
initMetadataForClass(AttributeKey, 'AttributeKey');
|
|
@@ -3148,7 +3204,7 @@ initMetadataForClass(StringValuesSingleImpl, 'StringValuesSingleImpl', VOID, VOI
|
|
|
3148
3204
|
initMetadataForClass(ChannelIOException, 'ChannelIOException');
|
|
3149
3205
|
initMetadataForClass(CopyOnWriteHashMap, 'CopyOnWriteHashMap', CopyOnWriteHashMap);
|
|
3150
3206
|
initMetadataForCompanion(Companion_1);
|
|
3151
|
-
protoOf($serializer).
|
|
3207
|
+
protoOf($serializer).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
|
|
3152
3208
|
initMetadataForObject($serializer, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
3153
3209
|
initMetadataForClass(GMTDate, 'GMTDate', VOID, VOID, [Comparable], VOID, VOID, {0: $serializer_getInstance});
|
|
3154
3210
|
initMetadataForCompanion(Companion_2);
|
|
@@ -3174,21 +3230,21 @@ initMetadataForClass(SuspendFunctionGun$continuation$1, VOID, VOID, VOID, [Conti
|
|
|
3174
3230
|
initMetadataForClass(SuspendFunctionGun, 'SuspendFunctionGun', VOID, VOID, VOID, [0, 1]);
|
|
3175
3231
|
initMetadataForClass(TypeInfo, 'TypeInfo');
|
|
3176
3232
|
initMetadataForClass(InvalidTimestampException, 'InvalidTimestampException');
|
|
3177
|
-
protoOf(AttributesJs).
|
|
3178
|
-
protoOf(AttributesJs).
|
|
3233
|
+
protoOf(AttributesJs).get_r696p5_k$ = get;
|
|
3234
|
+
protoOf(AttributesJs).set_sw0ix_k$ = set;
|
|
3179
3235
|
initMetadataForClass(AttributesJs, 'AttributesJs', AttributesJs, VOID, [Attributes]);
|
|
3180
3236
|
initMetadataForClass(KtorSimpleLogger$1);
|
|
3181
3237
|
initMetadataForClass(LogLevel, 'LogLevel');
|
|
3182
3238
|
//endregion
|
|
3183
3239
|
//region block: init
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3240
|
+
Companion_instance_2 = new Companion_0();
|
|
3241
|
+
Companion_instance_4 = new Companion_2();
|
|
3242
|
+
Companion_instance_5 = new Companion_3();
|
|
3187
3243
|
DISABLE_SFG = false;
|
|
3188
3244
|
//endregion
|
|
3189
3245
|
//region block: exports
|
|
3190
3246
|
export {
|
|
3191
|
-
PlatformUtils_getInstance as
|
|
3247
|
+
PlatformUtils_getInstance as PlatformUtils_getInstancezyao53u70tqo,
|
|
3192
3248
|
ChannelIOException as ChannelIOException2i3t76lsrbgox,
|
|
3193
3249
|
CopyOnWriteHashMap as CopyOnWriteHashMap2wz01l72sexe7,
|
|
3194
3250
|
GMTDate_0 as GMTDate36bhedawynxlf,
|