game_client_logic_deb 1.8.342 → 1.8.345
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kosi-Kaverit-kaverit.js +105 -117
- package/Kosi-Kaverit-kaverit.js.map +1 -1
- package/Kosi-Kodein-kodein-di.js +935 -945
- package/Kosi-Kodein-kodein-di.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime.js +4622 -3643
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Logic_Debertz-core.js +1828 -1855
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +18031 -18544
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +897 -163
- package/Logic_Debertz-game_client.js +5644 -5279
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +4832 -4536
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -1
- package/kotlinx-atomicfu.js +25 -26
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js +3156 -3339
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +459 -523
- package/kotlinx-io-kotlinx-io-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +2372 -2414
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1963 -1977
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +194 -194
- package/ktor-ktor-client-content-negotiation.js.map +1 -1
- package/ktor-ktor-client-core.js +1902 -1937
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-client-js.js.map +1 -1
- package/ktor-ktor-client-logging.js +393 -399
- package/ktor-ktor-client-logging.js.map +1 -1
- package/ktor-ktor-events.js +12 -15
- package/ktor-ktor-events.js.map +1 -1
- package/ktor-ktor-http.js +964 -1154
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js +1715 -1825
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/ktor-ktor-serialization-kotlinx-json.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx.js +238 -243
- package/ktor-ktor-serialization-kotlinx.js.map +1 -1
- package/ktor-ktor-serialization.js +100 -96
- package/ktor-ktor-serialization.js.map +1 -1
- package/ktor-ktor-utils.js +655 -689
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websocket-serialization.js.map +1 -1
- package/ktor-ktor-websockets.js +71 -77
- package/ktor-ktor-websockets.js.map +1 -1
- package/package.json +1 -2
- package/raspberry-cardgame-lib-core.js +331 -365
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-logger.js +148 -119
- package/raspberry-cardgame-lib-logger.js.map +1 -1
- package/raspberry-cardgame-lib-random.js +922 -989
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/secure-random-secure-random.js +36 -35
- package/secure-random-secure-random.js.map +1 -1
- package/uuid.js +35 -39
- package/uuid.js.map +1 -1
- package/kotlin-kotlinx-atomicfu-runtime.js +0 -15
- package/kotlin-kotlinx-atomicfu-runtime.js.map +0 -1
package/Kosi-Kodein-kodein-di.js
CHANGED
|
@@ -16,71 +16,71 @@
|
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
18
|
var imul = Math.imul;
|
|
19
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
20
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
19
|
+
var protoOf = kotlin_kotlin.$_$.oc;
|
|
20
|
+
var initMetadataForClass = kotlin_kotlin.$_$.nb;
|
|
21
21
|
var VOID = kotlin_kotlin.$_$.f;
|
|
22
|
-
var
|
|
23
|
-
var
|
|
24
|
-
var
|
|
25
|
-
var
|
|
26
|
-
var
|
|
27
|
-
var
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var toString = kotlin_kotlin.$_$.
|
|
22
|
+
var KProperty1 = kotlin_kotlin.$_$.jd;
|
|
23
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.kb;
|
|
24
|
+
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.u;
|
|
25
|
+
var first = kotlin_kotlin.$_$.m7;
|
|
26
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
|
|
27
|
+
var Unit_instance = kotlin_kotlin.$_$.h5;
|
|
28
|
+
var filterNotNull = kotlin_kotlin.$_$.i7;
|
|
29
|
+
var sorted = kotlin_kotlin.$_$.e9;
|
|
30
|
+
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.d1;
|
|
31
|
+
var repeat = kotlin_kotlin.$_$.oe;
|
|
32
|
+
var ensureNotNull = kotlin_kotlin.$_$.fh;
|
|
33
|
+
var toString = kotlin_kotlin.$_$.sh;
|
|
34
34
|
var Companion_getInstance = kotlin_org_kodein_type_kaverit.$_$.a;
|
|
35
|
-
var equals = kotlin_kotlin.$_$.
|
|
36
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
37
|
-
var RuntimeException = kotlin_kotlin.$_$.
|
|
38
|
-
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.
|
|
39
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
40
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
41
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
42
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
43
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
44
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
45
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
46
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
47
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
48
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
35
|
+
var equals = kotlin_kotlin.$_$.gb;
|
|
36
|
+
var objectCreate = kotlin_kotlin.$_$.nc;
|
|
37
|
+
var RuntimeException = kotlin_kotlin.$_$.ng;
|
|
38
|
+
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.c2;
|
|
39
|
+
var captureStack = kotlin_kotlin.$_$.xa;
|
|
40
|
+
var hashCode = kotlin_kotlin.$_$.mb;
|
|
41
|
+
var THROW_CCE = kotlin_kotlin.$_$.og;
|
|
42
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.qb;
|
|
43
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.t1;
|
|
44
|
+
var toString_0 = kotlin_kotlin.$_$.tc;
|
|
45
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.ib;
|
|
46
|
+
var getStringHashCode = kotlin_kotlin.$_$.lb;
|
|
47
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.ob;
|
|
48
|
+
var initMetadataForObject = kotlin_kotlin.$_$.sb;
|
|
49
49
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
50
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
51
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
50
|
+
var isInterface = kotlin_kotlin.$_$.bc;
|
|
51
|
+
var joinToString = kotlin_kotlin.$_$.x7;
|
|
52
52
|
var erasedOf = kotlin_org_kodein_type_kaverit.$_$.c;
|
|
53
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
54
|
-
var HashSet_init_$Create$ = kotlin_kotlin.$_$.
|
|
55
|
-
var HashMap_init_$Create$ = kotlin_kotlin.$_$.
|
|
56
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
57
|
-
var Enum = kotlin_kotlin.$_$.
|
|
58
|
-
var KtMap = kotlin_kotlin.$_$.
|
|
59
|
-
var
|
|
60
|
-
var
|
|
61
|
-
var
|
|
62
|
-
var
|
|
63
|
-
var
|
|
64
|
-
var
|
|
65
|
-
var
|
|
66
|
-
var
|
|
67
|
-
var
|
|
68
|
-
var
|
|
69
|
-
var
|
|
70
|
-
var
|
|
71
|
-
var lazy = kotlin_kotlin.$_$.
|
|
72
|
-
var asSequence = kotlin_kotlin.$_$.
|
|
73
|
-
var filter = kotlin_kotlin.$_$.
|
|
74
|
-
var flatMap = kotlin_kotlin.$_$.
|
|
75
|
-
var mapNotNull = kotlin_kotlin.$_$.
|
|
76
|
-
var map = kotlin_kotlin.$_$.
|
|
77
|
-
var toList = kotlin_kotlin.$_$.
|
|
78
|
-
var Triple = kotlin_kotlin.$_$.
|
|
79
|
-
var ArrayList_init_$Create$_1 = kotlin_kotlin.$_$.
|
|
80
|
-
var HashMap_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
81
|
-
var Collection = kotlin_kotlin.$_$.
|
|
82
|
-
var addAll = kotlin_kotlin.$_$.
|
|
83
|
-
var getOrNull = kotlin_kotlin.$_$.
|
|
53
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.k;
|
|
54
|
+
var HashSet_init_$Create$ = kotlin_kotlin.$_$.r;
|
|
55
|
+
var HashMap_init_$Create$ = kotlin_kotlin.$_$.o;
|
|
56
|
+
var charSequenceLength = kotlin_kotlin.$_$.cb;
|
|
57
|
+
var Enum = kotlin_kotlin.$_$.dg;
|
|
58
|
+
var KtMap = kotlin_kotlin.$_$.s5;
|
|
59
|
+
var KProperty0 = kotlin_kotlin.$_$.id;
|
|
60
|
+
var listOf = kotlin_kotlin.$_$.h8;
|
|
61
|
+
var plus = kotlin_kotlin.$_$.r8;
|
|
62
|
+
var emptyList = kotlin_kotlin.$_$.f7;
|
|
63
|
+
var plus_0 = kotlin_kotlin.$_$.s8;
|
|
64
|
+
var checkIndexOverflow = kotlin_kotlin.$_$.j6;
|
|
65
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.n2;
|
|
66
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.k6;
|
|
67
|
+
var mapCapacity = kotlin_kotlin.$_$.j8;
|
|
68
|
+
var coerceAtLeast = kotlin_kotlin.$_$.yc;
|
|
69
|
+
var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.t;
|
|
70
|
+
var to = kotlin_kotlin.$_$.th;
|
|
71
|
+
var lazy = kotlin_kotlin.$_$.lh;
|
|
72
|
+
var asSequence = kotlin_kotlin.$_$.d6;
|
|
73
|
+
var filter = kotlin_kotlin.$_$.ld;
|
|
74
|
+
var flatMap = kotlin_kotlin.$_$.nd;
|
|
75
|
+
var mapNotNull = kotlin_kotlin.$_$.od;
|
|
76
|
+
var map = kotlin_kotlin.$_$.pd;
|
|
77
|
+
var toList = kotlin_kotlin.$_$.qd;
|
|
78
|
+
var Triple = kotlin_kotlin.$_$.qg;
|
|
79
|
+
var ArrayList_init_$Create$_1 = kotlin_kotlin.$_$.m;
|
|
80
|
+
var HashMap_init_$Create$_0 = kotlin_kotlin.$_$.p;
|
|
81
|
+
var Collection = kotlin_kotlin.$_$.j5;
|
|
82
|
+
var addAll = kotlin_kotlin.$_$.y5;
|
|
83
|
+
var getOrNull = kotlin_kotlin.$_$.r7;
|
|
84
84
|
//endregion
|
|
85
85
|
//region block: pre-declaration
|
|
86
86
|
initMetadataForClass(DIDefining, 'DIDefining');
|
|
@@ -93,10 +93,10 @@
|
|
|
93
93
|
allowOverride = allowOverride === VOID ? false : allowOverride;
|
|
94
94
|
var tmp;
|
|
95
95
|
if ($super === VOID) {
|
|
96
|
-
this.
|
|
96
|
+
this.c61(module_0, allowOverride);
|
|
97
97
|
tmp = Unit_instance;
|
|
98
98
|
} else {
|
|
99
|
-
tmp = $super.
|
|
99
|
+
tmp = $super.c61.call(this, module_0, allowOverride);
|
|
100
100
|
}
|
|
101
101
|
return tmp;
|
|
102
102
|
}
|
|
@@ -121,45 +121,45 @@
|
|
|
121
121
|
initMetadataForClass(DIWrapper, 'DIWrapper', VOID, VOID, [DI]);
|
|
122
122
|
function factory$default(key, context, overrideLevel, $super) {
|
|
123
123
|
overrideLevel = overrideLevel === VOID ? 0 : overrideLevel;
|
|
124
|
-
return $super === VOID ? this.
|
|
124
|
+
return $super === VOID ? this.z61(key, context, overrideLevel) : $super.z61.call(this, key, context, overrideLevel);
|
|
125
125
|
}
|
|
126
126
|
function factoryOrNull$default(key, context, overrideLevel, $super) {
|
|
127
127
|
overrideLevel = overrideLevel === VOID ? 0 : overrideLevel;
|
|
128
|
-
return $super === VOID ? this.
|
|
128
|
+
return $super === VOID ? this.b62(key, context, overrideLevel) : $super.b62.call(this, key, context, overrideLevel);
|
|
129
129
|
}
|
|
130
130
|
function provider(key, context, overrideLevel) {
|
|
131
131
|
// Inline function 'org.kodein.di.toProvider' call
|
|
132
|
-
var this_0 = this.
|
|
132
|
+
var this_0 = this.a62(key, context);
|
|
133
133
|
return DIContainer$provider$lambda(this_0);
|
|
134
134
|
}
|
|
135
135
|
function provider$default(key, context, overrideLevel, $super) {
|
|
136
136
|
overrideLevel = overrideLevel === VOID ? 0 : overrideLevel;
|
|
137
|
-
return $super === VOID ? this.
|
|
137
|
+
return $super === VOID ? this.d62(key, context, overrideLevel) : provider(key, context, overrideLevel);
|
|
138
138
|
}
|
|
139
139
|
function providerOrNull(key, context, overrideLevel) {
|
|
140
|
-
var
|
|
140
|
+
var tmp0_safe_receiver = this.c62(key, context);
|
|
141
141
|
var tmp;
|
|
142
|
-
if (
|
|
142
|
+
if (tmp0_safe_receiver == null) {
|
|
143
143
|
tmp = null;
|
|
144
144
|
} else {
|
|
145
145
|
// Inline function 'org.kodein.di.toProvider' call
|
|
146
|
-
tmp = DIContainer$providerOrNull$lambda(
|
|
146
|
+
tmp = DIContainer$providerOrNull$lambda(tmp0_safe_receiver);
|
|
147
147
|
}
|
|
148
148
|
return tmp;
|
|
149
149
|
}
|
|
150
150
|
function providerOrNull$default(key, context, overrideLevel, $super) {
|
|
151
151
|
overrideLevel = overrideLevel === VOID ? 0 : overrideLevel;
|
|
152
|
-
return $super === VOID ? this.
|
|
152
|
+
return $super === VOID ? this.e62(key, context, overrideLevel) : providerOrNull(key, context, overrideLevel);
|
|
153
153
|
}
|
|
154
154
|
initMetadataForInterface(DIContainer, 'DIContainer');
|
|
155
155
|
function find$default(key, overrideLevel, all, $super) {
|
|
156
156
|
overrideLevel = overrideLevel === VOID ? 0 : overrideLevel;
|
|
157
157
|
all = all === VOID ? false : all;
|
|
158
|
-
return $super === VOID ? this.
|
|
158
|
+
return $super === VOID ? this.h62(key, overrideLevel, all) : $super.h62.call(this, key, overrideLevel, all);
|
|
159
159
|
}
|
|
160
160
|
initMetadataForInterface(DITree, 'DITree');
|
|
161
161
|
function get_di_0() {
|
|
162
|
-
return this.
|
|
162
|
+
return this.l62();
|
|
163
163
|
}
|
|
164
164
|
initMetadataForInterface(DirectDIBase, 'DirectDIBase');
|
|
165
165
|
initMetadataForObject(NoDefinedTag, 'NoDefinedTag');
|
|
@@ -169,19 +169,19 @@
|
|
|
169
169
|
initMetadataForClass(DIBinding$Copier$Companion$invoke$1);
|
|
170
170
|
initMetadataForCompanion(Companion_1);
|
|
171
171
|
function factoryFullName() {
|
|
172
|
-
return this.
|
|
172
|
+
return this.w62();
|
|
173
173
|
}
|
|
174
174
|
function get_scope() {
|
|
175
175
|
return null;
|
|
176
176
|
}
|
|
177
177
|
function get_description() {
|
|
178
|
-
var arg = !equals(this.
|
|
178
|
+
var arg = !equals(this.y62(), Companion_getInstance().m5z_1) ? this.y62().o5z() + ' -> ' : '';
|
|
179
179
|
var tmp;
|
|
180
|
-
var tmp_0 = this.
|
|
180
|
+
var tmp_0 = this.g61();
|
|
181
181
|
if (tmp_0 instanceof NoScope) {
|
|
182
182
|
tmp = null;
|
|
183
183
|
} else {
|
|
184
|
-
tmp = this.
|
|
184
|
+
tmp = this.g61();
|
|
185
185
|
}
|
|
186
186
|
var scope = tmp;
|
|
187
187
|
var tmp_1;
|
|
@@ -189,22 +189,20 @@
|
|
|
189
189
|
tmp_1 = null;
|
|
190
190
|
} else {
|
|
191
191
|
// Inline function 'kotlin.let' call
|
|
192
|
-
|
|
193
|
-
// Inline function 'org.kodein.di.bindings.DIBinding.<get-description>.<anonymous>' call
|
|
194
|
-
tmp_1 = 'scoped(' + erasedOf(scope).v5u() + ').';
|
|
192
|
+
tmp_1 = 'scoped(' + erasedOf(scope).o5z() + ').';
|
|
195
193
|
}
|
|
196
|
-
var
|
|
197
|
-
var context =
|
|
198
|
-
return context + this.
|
|
194
|
+
var tmp1_elvis_lhs = tmp_1;
|
|
195
|
+
var context = tmp1_elvis_lhs == null ? !equals(this.e61(), Companion_getInstance().n5z_1) ? 'contexted<' + this.e61().o5z() + '>().' : '' : tmp1_elvis_lhs;
|
|
196
|
+
return context + this.w62() + ' { ' + arg + this.z62().o5z() + ' }';
|
|
199
197
|
}
|
|
200
198
|
function get_fullDescription() {
|
|
201
|
-
var arg = !equals(this.
|
|
199
|
+
var arg = !equals(this.y62(), Companion_getInstance().m5z_1) ? this.y62().q5z() + ' -> ' : '';
|
|
202
200
|
var tmp;
|
|
203
|
-
var tmp_0 = this.
|
|
201
|
+
var tmp_0 = this.g61();
|
|
204
202
|
if (tmp_0 instanceof NoScope) {
|
|
205
203
|
tmp = null;
|
|
206
204
|
} else {
|
|
207
|
-
tmp = this.
|
|
205
|
+
tmp = this.g61();
|
|
208
206
|
}
|
|
209
207
|
var scope = tmp;
|
|
210
208
|
var tmp_1;
|
|
@@ -212,20 +210,18 @@
|
|
|
212
210
|
tmp_1 = null;
|
|
213
211
|
} else {
|
|
214
212
|
// Inline function 'kotlin.let' call
|
|
215
|
-
|
|
216
|
-
// Inline function 'org.kodein.di.bindings.DIBinding.<get-fullDescription>.<anonymous>' call
|
|
217
|
-
tmp_1 = 'scoped(' + erasedOf(scope).x5u() + ').';
|
|
213
|
+
tmp_1 = 'scoped(' + erasedOf(scope).q5z() + ').';
|
|
218
214
|
}
|
|
219
|
-
var
|
|
220
|
-
var context =
|
|
221
|
-
return context + this.
|
|
215
|
+
var tmp1_elvis_lhs = tmp_1;
|
|
216
|
+
var context = tmp1_elvis_lhs == null ? !equals(this.e61(), Companion_getInstance().n5z_1) ? 'contexted<' + this.e61().q5z() + '>().' : '' : tmp1_elvis_lhs;
|
|
217
|
+
return context + this.x62() + ' { ' + arg + this.z62().q5z() + ' }';
|
|
222
218
|
}
|
|
223
219
|
function get_supportSubTypes() {
|
|
224
220
|
return false;
|
|
225
221
|
}
|
|
226
222
|
initMetadataForInterface(DIBinding, 'DIBinding');
|
|
227
223
|
function get_argType() {
|
|
228
|
-
return Companion_getInstance().
|
|
224
|
+
return Companion_getInstance().m5z_1;
|
|
229
225
|
}
|
|
230
226
|
initMetadataForInterface(NoArgDIBinding, 'NoArgDIBinding', VOID, VOID, [DIBinding]);
|
|
231
227
|
initMetadataForObject(SingletonReference, 'SingletonReference');
|
|
@@ -262,34 +258,35 @@
|
|
|
262
258
|
//endregion
|
|
263
259
|
function DIDefinition(binding, fromModule, tree) {
|
|
264
260
|
DIDefining.call(this, binding, fromModule);
|
|
265
|
-
this.
|
|
261
|
+
this.g60_1 = tree;
|
|
266
262
|
}
|
|
267
263
|
function description(_this__u8e3s4, withOverrides, ident) {
|
|
268
264
|
withOverrides = withOverrides === VOID ? false : withOverrides;
|
|
269
265
|
ident = ident === VOID ? 8 : ident;
|
|
270
|
-
|
|
266
|
+
var tmp = KProperty1;
|
|
267
|
+
var tmp_0 = getPropertyCallableRef('bindDescription', 1, tmp, DI$Key$_get_bindDescription_$ref_ua6e71(), null);
|
|
268
|
+
var tmp_1 = KProperty1;
|
|
269
|
+
return descriptionImpl(_this__u8e3s4, withOverrides, ident, tmp_0, getPropertyCallableRef('description', 1, tmp_1, DIBinding$_get_description_$ref_vam140(), null));
|
|
271
270
|
}
|
|
272
271
|
function DIDefining(binding, fromModule) {
|
|
273
|
-
this.
|
|
274
|
-
this.
|
|
272
|
+
this.h60_1 = binding;
|
|
273
|
+
this.i60_1 = fromModule;
|
|
275
274
|
}
|
|
276
275
|
function descriptionImpl(_this__u8e3s4, withOverrides, ident, keyBindDisp, bindingDisp) {
|
|
277
276
|
// Inline function 'kotlin.collections.groupBy' call
|
|
277
|
+
var tmp0 = _this__u8e3s4.s();
|
|
278
278
|
// Inline function 'kotlin.collections.groupByTo' call
|
|
279
|
-
var this_0 = _this__u8e3s4.s();
|
|
280
279
|
var destination = LinkedHashMap_init_$Create$();
|
|
281
|
-
var
|
|
282
|
-
while (
|
|
283
|
-
var element =
|
|
284
|
-
|
|
285
|
-
var key = first(element.u()).p5v_1;
|
|
280
|
+
var _iterator__ex2g4s = tmp0.j();
|
|
281
|
+
while (_iterator__ex2g4s.k()) {
|
|
282
|
+
var element = _iterator__ex2g4s.l();
|
|
283
|
+
var key = first(element.u()).i60_1;
|
|
286
284
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
287
|
-
var value = destination.
|
|
285
|
+
var value = destination.h2(key);
|
|
288
286
|
var tmp;
|
|
289
287
|
if (value == null) {
|
|
290
|
-
// Inline function 'kotlin.collections.groupByTo.<anonymous>' call
|
|
291
288
|
var answer = ArrayList_init_$Create$();
|
|
292
|
-
destination.
|
|
289
|
+
destination.k2(key, answer);
|
|
293
290
|
tmp = answer;
|
|
294
291
|
} else {
|
|
295
292
|
tmp = value;
|
|
@@ -298,99 +295,96 @@
|
|
|
298
295
|
list.e(element);
|
|
299
296
|
}
|
|
300
297
|
var byModule = destination;
|
|
301
|
-
var modules = sorted(filterNotNull(byModule.
|
|
298
|
+
var modules = sorted(filterNotNull(byModule.i2()));
|
|
302
299
|
// Inline function 'kotlin.text.buildString' call
|
|
303
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
304
300
|
// Inline function 'kotlin.apply' call
|
|
305
|
-
var
|
|
306
|
-
|
|
307
|
-
// Inline function 'org.kodein.di.descriptionImpl.<anonymous>' call
|
|
308
|
-
var tmp0_safe_receiver = byModule.k2(null);
|
|
301
|
+
var this_0 = StringBuilder_init_$Create$();
|
|
302
|
+
var tmp0_safe_receiver = byModule.h2(null);
|
|
309
303
|
if (tmp0_safe_receiver == null)
|
|
310
304
|
null;
|
|
311
305
|
else {
|
|
312
306
|
// Inline function 'kotlin.let' call
|
|
313
|
-
|
|
314
|
-
descriptionImpl$appendBindings(this_1, keyBindDisp, bindingDisp, withOverrides, ident, tmp0_safe_receiver);
|
|
307
|
+
descriptionImpl$appendBindings(this_0, keyBindDisp, bindingDisp, withOverrides, ident, tmp0_safe_receiver);
|
|
315
308
|
}
|
|
316
309
|
// Inline function 'kotlin.collections.forEach' call
|
|
317
|
-
var
|
|
318
|
-
while (
|
|
319
|
-
var element_0 =
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
this_1.s8(repeat(' ', ident) + '}\n');
|
|
310
|
+
var _iterator__ex2g4s_0 = modules.j();
|
|
311
|
+
while (_iterator__ex2g4s_0.k()) {
|
|
312
|
+
var element_0 = _iterator__ex2g4s_0.l();
|
|
313
|
+
this_0.u8(repeat(' ', ident) + 'module ' + element_0 + ' {\n');
|
|
314
|
+
descriptionImpl$appendBindings(this_0, keyBindDisp, bindingDisp, withOverrides, ident + 4 | 0, ensureNotNull(byModule.h2(element_0)));
|
|
315
|
+
this_0.u8(repeat(' ', ident) + '}\n');
|
|
324
316
|
}
|
|
325
|
-
return
|
|
317
|
+
return this_0.toString();
|
|
326
318
|
}
|
|
327
319
|
function fullDescription(_this__u8e3s4, withOverrides, ident) {
|
|
328
320
|
withOverrides = withOverrides === VOID ? false : withOverrides;
|
|
329
321
|
ident = ident === VOID ? 8 : ident;
|
|
330
|
-
|
|
322
|
+
var tmp = KProperty1;
|
|
323
|
+
var tmp_0 = getPropertyCallableRef('bindFullDescription', 1, tmp, DI$Key$_get_bindFullDescription_$ref_x9pxcc(), null);
|
|
324
|
+
var tmp_1 = KProperty1;
|
|
325
|
+
return descriptionImpl(_this__u8e3s4, withOverrides, ident, tmp_0, getPropertyCallableRef('fullDescription', 1, tmp_1, DIBinding$_get_fullDescription_$ref_12omkv(), null));
|
|
331
326
|
}
|
|
332
327
|
function descriptionImpl$appendBindings(_this__u8e3s4, $keyBindDisp, $bindingDisp, $withOverrides, ident, entries) {
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
328
|
+
// Inline function 'kotlin.collections.forEach' call
|
|
329
|
+
var _iterator__ex2g4s = entries.j();
|
|
330
|
+
while (_iterator__ex2g4s.k()) {
|
|
331
|
+
var element = _iterator__ex2g4s.l();
|
|
337
332
|
var keyDescription = $keyBindDisp(element.t());
|
|
338
|
-
_this__u8e3s4.
|
|
333
|
+
_this__u8e3s4.u8(repeat(' ', ident) + keyDescription + ' { ' + $bindingDisp(first(element.u()).h60_1) + ' }');
|
|
339
334
|
if ($withOverrides) {
|
|
340
335
|
var subIdent = keyDescription.length - 4 | 0;
|
|
341
336
|
// Inline function 'kotlin.collections.forEach' call
|
|
342
|
-
var
|
|
343
|
-
while (
|
|
344
|
-
var element_0 =
|
|
345
|
-
|
|
346
|
-
_this__u8e3s4.s8(repeat(' ', subIdent) + 'overrides ' + $bindingDisp(element_0.o5v_1));
|
|
337
|
+
var _iterator__ex2g4s_0 = element.u().x1(1, element.u().m()).j();
|
|
338
|
+
while (_iterator__ex2g4s_0.k()) {
|
|
339
|
+
var element_0 = _iterator__ex2g4s_0.l();
|
|
340
|
+
_this__u8e3s4.u8(repeat(' ', subIdent) + 'overrides ' + $bindingDisp(element_0.h60_1));
|
|
347
341
|
}
|
|
348
342
|
}
|
|
349
|
-
_this__u8e3s4.
|
|
343
|
+
_this__u8e3s4.u8('\n');
|
|
350
344
|
}
|
|
351
345
|
return Unit_instance;
|
|
352
346
|
}
|
|
353
|
-
function
|
|
354
|
-
return
|
|
355
|
-
return
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
function
|
|
359
|
-
return
|
|
360
|
-
return
|
|
361
|
-
}
|
|
362
|
-
}
|
|
363
|
-
function
|
|
364
|
-
return
|
|
365
|
-
return
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
function
|
|
369
|
-
return
|
|
370
|
-
return
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
function appendDescription(
|
|
374
|
-
if (!($this.
|
|
375
|
-
_this__u8e3s4.
|
|
347
|
+
function DI$Key$_get_bindDescription_$ref_ua6e71() {
|
|
348
|
+
return function (p0) {
|
|
349
|
+
return p0.o60();
|
|
350
|
+
};
|
|
351
|
+
}
|
|
352
|
+
function DIBinding$_get_description_$ref_vam140() {
|
|
353
|
+
return function (p0) {
|
|
354
|
+
return p0.p60();
|
|
355
|
+
};
|
|
356
|
+
}
|
|
357
|
+
function DI$Key$_get_bindFullDescription_$ref_x9pxcc() {
|
|
358
|
+
return function (p0) {
|
|
359
|
+
return p0.q60();
|
|
360
|
+
};
|
|
361
|
+
}
|
|
362
|
+
function DIBinding$_get_fullDescription_$ref_12omkv() {
|
|
363
|
+
return function (p0) {
|
|
364
|
+
return p0.r60();
|
|
365
|
+
};
|
|
366
|
+
}
|
|
367
|
+
function appendDescription($this, _this__u8e3s4, displayString) {
|
|
368
|
+
if (!($this.m60_1 == null)) {
|
|
369
|
+
_this__u8e3s4.u8(' tagged "' + toString($this.m60_1) + '"');
|
|
376
370
|
}
|
|
377
|
-
if (!equals($this.
|
|
378
|
-
_this__u8e3s4.
|
|
371
|
+
if (!equals($this.j60_1, Companion_getInstance().n5z_1)) {
|
|
372
|
+
_this__u8e3s4.u8(' on context ' + displayString($this.j60_1));
|
|
379
373
|
}
|
|
380
|
-
if (!equals($this.
|
|
381
|
-
_this__u8e3s4.
|
|
374
|
+
if (!equals($this.k60_1, Companion_getInstance().m5z_1)) {
|
|
375
|
+
_this__u8e3s4.u8(', with argument ' + displayString($this.k60_1));
|
|
382
376
|
}
|
|
383
377
|
}
|
|
384
378
|
function TypeToken$simpleDispString$ref() {
|
|
385
379
|
var l = function (p0) {
|
|
386
|
-
return p0.
|
|
380
|
+
return p0.o5z();
|
|
387
381
|
};
|
|
388
382
|
l.callableName = 'simpleDispString';
|
|
389
383
|
return l;
|
|
390
384
|
}
|
|
391
385
|
function TypeToken$qualifiedDispString$ref() {
|
|
392
386
|
var l = function (p0) {
|
|
393
|
-
return p0.
|
|
387
|
+
return p0.q5z();
|
|
394
388
|
};
|
|
395
389
|
l.callableName = 'qualifiedDispString';
|
|
396
390
|
return l;
|
|
@@ -399,7 +393,7 @@
|
|
|
399
393
|
allowSilentOverride = allowSilentOverride === VOID ? false : allowSilentOverride;
|
|
400
394
|
prefix = prefix === VOID ? '' : prefix;
|
|
401
395
|
Module.call($this, allowSilentOverride, prefix, init);
|
|
402
|
-
$this.
|
|
396
|
+
$this.v60_1 = name;
|
|
403
397
|
return $this;
|
|
404
398
|
}
|
|
405
399
|
function Module_init_$Create$(name, allowSilentOverride, prefix, init) {
|
|
@@ -412,95 +406,83 @@
|
|
|
412
406
|
function NotFoundException(key, message) {
|
|
413
407
|
RuntimeException_init_$Init$(message, this);
|
|
414
408
|
captureStack(this, NotFoundException);
|
|
415
|
-
this.
|
|
409
|
+
this.w60_1 = key;
|
|
416
410
|
}
|
|
417
411
|
function OverridingException(message) {
|
|
418
412
|
RuntimeException_init_$Init$(message, this);
|
|
419
413
|
captureStack(this, OverridingException);
|
|
420
414
|
}
|
|
421
415
|
function Key(contextType, argType, type, tag) {
|
|
422
|
-
this.
|
|
423
|
-
this.
|
|
424
|
-
this.
|
|
425
|
-
this.
|
|
426
|
-
this.
|
|
416
|
+
this.j60_1 = contextType;
|
|
417
|
+
this.k60_1 = argType;
|
|
418
|
+
this.l60_1 = type;
|
|
419
|
+
this.m60_1 = tag;
|
|
420
|
+
this.n60_1 = 0;
|
|
427
421
|
}
|
|
428
422
|
protoOf(Key).hashCode = function () {
|
|
429
|
-
if (this.
|
|
430
|
-
this.
|
|
431
|
-
this.
|
|
432
|
-
this.
|
|
423
|
+
if (this.n60_1 === 0) {
|
|
424
|
+
this.n60_1 = hashCode(this.j60_1);
|
|
425
|
+
this.n60_1 = imul(31, this.n60_1) + hashCode(this.k60_1) | 0;
|
|
426
|
+
this.n60_1 = imul(29, hashCode(this.l60_1));
|
|
433
427
|
var tmp = this;
|
|
434
|
-
var tmp_0 = imul(23, this.
|
|
435
|
-
var
|
|
436
|
-
var
|
|
437
|
-
tmp.
|
|
428
|
+
var tmp_0 = imul(23, this.n60_1);
|
|
429
|
+
var tmp0_safe_receiver = this.m60_1;
|
|
430
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
431
|
+
tmp.n60_1 = tmp_0 + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
438
432
|
}
|
|
439
|
-
return this.
|
|
433
|
+
return this.n60_1;
|
|
440
434
|
};
|
|
441
435
|
protoOf(Key).toString = function () {
|
|
442
|
-
return this.
|
|
436
|
+
return this.p60();
|
|
443
437
|
};
|
|
444
|
-
protoOf(Key).
|
|
438
|
+
protoOf(Key).o60 = function () {
|
|
445
439
|
// Inline function 'kotlin.text.buildString' call
|
|
446
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
447
440
|
// Inline function 'kotlin.apply' call
|
|
448
441
|
var this_0 = StringBuilder_init_$Create$();
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
if (!(this.t5v_1 == null)) {
|
|
453
|
-
this_0.s8('(tag = "' + toString(this.t5v_1) + '")');
|
|
442
|
+
this_0.u8('bind<' + this.l60_1.o5z() + '>');
|
|
443
|
+
if (!(this.m60_1 == null)) {
|
|
444
|
+
this_0.u8('(tag = "' + toString(this.m60_1) + '")');
|
|
454
445
|
}
|
|
455
446
|
return this_0.toString();
|
|
456
447
|
};
|
|
457
|
-
protoOf(Key).
|
|
448
|
+
protoOf(Key).q60 = function () {
|
|
458
449
|
// Inline function 'kotlin.text.buildString' call
|
|
459
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
460
450
|
// Inline function 'kotlin.apply' call
|
|
461
451
|
var this_0 = StringBuilder_init_$Create$();
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
if (!(this.t5v_1 == null)) {
|
|
466
|
-
this_0.s8('(tag = "' + toString(this.t5v_1) + '")');
|
|
452
|
+
this_0.u8('bind<' + this.l60_1.q5z() + '>');
|
|
453
|
+
if (!(this.m60_1 == null)) {
|
|
454
|
+
this_0.u8('(tag = "' + toString(this.m60_1) + '")');
|
|
467
455
|
}
|
|
468
456
|
return this_0.toString();
|
|
469
457
|
};
|
|
470
|
-
protoOf(Key).
|
|
458
|
+
protoOf(Key).p60 = function () {
|
|
471
459
|
// Inline function 'kotlin.text.buildString' call
|
|
472
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
473
460
|
// Inline function 'kotlin.apply' call
|
|
474
461
|
var this_0 = StringBuilder_init_$Create$();
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
this_0.s8(this.s5v_1.v5u());
|
|
478
|
-
appendDescription(this_0, this, TypeToken$simpleDispString$ref());
|
|
462
|
+
this_0.u8(this.l60_1.o5z());
|
|
463
|
+
appendDescription(this, this_0, TypeToken$simpleDispString$ref());
|
|
479
464
|
return this_0.toString();
|
|
480
465
|
};
|
|
481
|
-
protoOf(Key).
|
|
482
|
-
return '(context: ' + this.
|
|
466
|
+
protoOf(Key).x60 = function () {
|
|
467
|
+
return '(context: ' + this.j60_1.o5z() + ', arg: ' + this.k60_1.o5z() + ', type: ' + this.l60_1.o5z() + ', tag: ' + toString(this.m60_1) + ')';
|
|
483
468
|
};
|
|
484
|
-
protoOf(Key).
|
|
469
|
+
protoOf(Key).r60 = function () {
|
|
485
470
|
// Inline function 'kotlin.text.buildString' call
|
|
486
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
487
471
|
// Inline function 'kotlin.apply' call
|
|
488
472
|
var this_0 = StringBuilder_init_$Create$();
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
this_0.s8(this.s5v_1.x5u());
|
|
492
|
-
appendDescription(this_0, this, TypeToken$qualifiedDispString$ref());
|
|
473
|
+
this_0.u8(this.l60_1.q5z());
|
|
474
|
+
appendDescription(this, this_0, TypeToken$qualifiedDispString$ref());
|
|
493
475
|
return this_0.toString();
|
|
494
476
|
};
|
|
495
|
-
protoOf(Key).
|
|
477
|
+
protoOf(Key).y60 = function (contextType, argType, type, tag) {
|
|
496
478
|
return new Key(contextType, argType, type, tag);
|
|
497
479
|
};
|
|
498
|
-
protoOf(Key).
|
|
499
|
-
contextType = contextType === VOID ? this.
|
|
500
|
-
argType = argType === VOID ? this.
|
|
501
|
-
type = type === VOID ? this.
|
|
502
|
-
tag = tag === VOID ? this.
|
|
503
|
-
return $super === VOID ? this.
|
|
480
|
+
protoOf(Key).z60 = function (contextType, argType, type, tag, $super) {
|
|
481
|
+
contextType = contextType === VOID ? this.j60_1 : contextType;
|
|
482
|
+
argType = argType === VOID ? this.k60_1 : argType;
|
|
483
|
+
type = type === VOID ? this.l60_1 : type;
|
|
484
|
+
tag = tag === VOID ? this.m60_1 : tag;
|
|
485
|
+
return $super === VOID ? this.y60(contextType, argType, type, tag) : $super.y60.call(this, contextType, argType, type, tag);
|
|
504
486
|
};
|
|
505
487
|
protoOf(Key).equals = function (other) {
|
|
506
488
|
if (this === other)
|
|
@@ -508,13 +490,13 @@
|
|
|
508
490
|
if (!(other instanceof Key))
|
|
509
491
|
return false;
|
|
510
492
|
var tmp0_other_with_cast = other instanceof Key ? other : THROW_CCE();
|
|
511
|
-
if (!equals(this.
|
|
493
|
+
if (!equals(this.j60_1, tmp0_other_with_cast.j60_1))
|
|
512
494
|
return false;
|
|
513
|
-
if (!equals(this.
|
|
495
|
+
if (!equals(this.k60_1, tmp0_other_with_cast.k60_1))
|
|
514
496
|
return false;
|
|
515
|
-
if (!equals(this.
|
|
497
|
+
if (!equals(this.l60_1, tmp0_other_with_cast.l60_1))
|
|
516
498
|
return false;
|
|
517
|
-
if (!equals(this.
|
|
499
|
+
if (!equals(this.m60_1, tmp0_other_with_cast.m60_1))
|
|
518
500
|
return false;
|
|
519
501
|
return true;
|
|
520
502
|
};
|
|
@@ -523,13 +505,13 @@
|
|
|
523
505
|
function Module(allowSilentOverride, prefix, init) {
|
|
524
506
|
allowSilentOverride = allowSilentOverride === VOID ? false : allowSilentOverride;
|
|
525
507
|
prefix = prefix === VOID ? '' : prefix;
|
|
526
|
-
this.
|
|
527
|
-
this.
|
|
528
|
-
this.
|
|
529
|
-
this.
|
|
508
|
+
this.s60_1 = allowSilentOverride;
|
|
509
|
+
this.t60_1 = prefix;
|
|
510
|
+
this.u60_1 = init;
|
|
511
|
+
this.v60_1 = null;
|
|
530
512
|
}
|
|
531
|
-
protoOf(Module).
|
|
532
|
-
var tmp0_elvis_lhs = this.
|
|
513
|
+
protoOf(Module).p2 = function () {
|
|
514
|
+
var tmp0_elvis_lhs = this.v60_1;
|
|
533
515
|
var tmp;
|
|
534
516
|
if (tmp0_elvis_lhs == null) {
|
|
535
517
|
throw IllegalStateException_init_$Create$('module must have a name.');
|
|
@@ -539,12 +521,12 @@
|
|
|
539
521
|
return tmp;
|
|
540
522
|
};
|
|
541
523
|
protoOf(Module).toString = function () {
|
|
542
|
-
return 'Module(allowSilentOverride=' + this.
|
|
524
|
+
return 'Module(allowSilentOverride=' + this.s60_1 + ', prefix=' + this.t60_1 + ', init=' + toString_0(this.u60_1) + ')';
|
|
543
525
|
};
|
|
544
526
|
protoOf(Module).hashCode = function () {
|
|
545
|
-
var result = getBooleanHashCode(this.
|
|
546
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
547
|
-
result = imul(result, 31) + hashCode(this.
|
|
527
|
+
var result = getBooleanHashCode(this.s60_1);
|
|
528
|
+
result = imul(result, 31) + getStringHashCode(this.t60_1) | 0;
|
|
529
|
+
result = imul(result, 31) + hashCode(this.u60_1) | 0;
|
|
548
530
|
return result;
|
|
549
531
|
};
|
|
550
532
|
protoOf(Module).equals = function (other) {
|
|
@@ -553,24 +535,24 @@
|
|
|
553
535
|
if (!(other instanceof Module))
|
|
554
536
|
return false;
|
|
555
537
|
var tmp0_other_with_cast = other instanceof Module ? other : THROW_CCE();
|
|
556
|
-
if (!(this.
|
|
538
|
+
if (!(this.s60_1 === tmp0_other_with_cast.s60_1))
|
|
557
539
|
return false;
|
|
558
|
-
if (!(this.
|
|
540
|
+
if (!(this.t60_1 === tmp0_other_with_cast.t60_1))
|
|
559
541
|
return false;
|
|
560
|
-
if (!equals(this.
|
|
542
|
+
if (!equals(this.u60_1, tmp0_other_with_cast.u60_1))
|
|
561
543
|
return false;
|
|
562
544
|
return true;
|
|
563
545
|
};
|
|
564
546
|
function Companion() {
|
|
565
|
-
this.
|
|
566
|
-
this.
|
|
547
|
+
this.h61_1 = false;
|
|
548
|
+
this.i61_1 = false;
|
|
567
549
|
}
|
|
568
|
-
protoOf(Companion).
|
|
550
|
+
protoOf(Companion).j61 = function (allowSilentOverride, init) {
|
|
569
551
|
return DIImpl_init_$Create$(allowSilentOverride, init);
|
|
570
552
|
};
|
|
571
|
-
protoOf(Companion).
|
|
553
|
+
protoOf(Companion).k61 = function (allowSilentOverride, init, $super) {
|
|
572
554
|
allowSilentOverride = allowSilentOverride === VOID ? false : allowSilentOverride;
|
|
573
|
-
return $super === VOID ? this.
|
|
555
|
+
return $super === VOID ? this.j61(allowSilentOverride, init) : $super.j61.call(this, allowSilentOverride, init);
|
|
574
556
|
};
|
|
575
557
|
var Companion_instance;
|
|
576
558
|
function Companion_getInstance_0() {
|
|
@@ -579,26 +561,26 @@
|
|
|
579
561
|
function DI() {
|
|
580
562
|
}
|
|
581
563
|
function get_direct(_this__u8e3s4) {
|
|
582
|
-
return createDirectDI(_this__u8e3s4.
|
|
564
|
+
return createDirectDI(_this__u8e3s4.l61().m61(), _this__u8e3s4.n61());
|
|
583
565
|
}
|
|
584
566
|
function DIAware() {
|
|
585
567
|
}
|
|
586
568
|
function Value(type, value) {
|
|
587
|
-
this.
|
|
588
|
-
this.
|
|
569
|
+
this.p61_1 = type;
|
|
570
|
+
this.q61_1 = value;
|
|
589
571
|
}
|
|
590
|
-
protoOf(Value).
|
|
591
|
-
return this.
|
|
572
|
+
protoOf(Value).r61 = function () {
|
|
573
|
+
return this.p61_1;
|
|
592
574
|
};
|
|
593
575
|
protoOf(Value).u = function () {
|
|
594
|
-
return this.
|
|
576
|
+
return this.q61_1;
|
|
595
577
|
};
|
|
596
578
|
protoOf(Value).toString = function () {
|
|
597
|
-
return 'Value(type=' + toString_0(this.
|
|
579
|
+
return 'Value(type=' + toString_0(this.p61_1) + ', value=' + toString_0(this.q61_1) + ')';
|
|
598
580
|
};
|
|
599
581
|
protoOf(Value).hashCode = function () {
|
|
600
|
-
var result = hashCode(this.
|
|
601
|
-
result = imul(result, 31) + hashCode(this.
|
|
582
|
+
var result = hashCode(this.p61_1);
|
|
583
|
+
result = imul(result, 31) + hashCode(this.q61_1) | 0;
|
|
602
584
|
return result;
|
|
603
585
|
};
|
|
604
586
|
protoOf(Value).equals = function (other) {
|
|
@@ -607,15 +589,15 @@
|
|
|
607
589
|
if (!(other instanceof Value))
|
|
608
590
|
return false;
|
|
609
591
|
var tmp0_other_with_cast = other instanceof Value ? other : THROW_CCE();
|
|
610
|
-
if (!equals(this.
|
|
592
|
+
if (!equals(this.p61_1, tmp0_other_with_cast.p61_1))
|
|
611
593
|
return false;
|
|
612
|
-
if (!equals(this.
|
|
594
|
+
if (!equals(this.q61_1, tmp0_other_with_cast.q61_1))
|
|
613
595
|
return false;
|
|
614
596
|
return true;
|
|
615
597
|
};
|
|
616
598
|
function Companion_0() {
|
|
617
599
|
}
|
|
618
|
-
protoOf(Companion_0).
|
|
600
|
+
protoOf(Companion_0).s61 = function (type, value) {
|
|
619
601
|
return new Value(type, value);
|
|
620
602
|
};
|
|
621
603
|
var Companion_instance_0;
|
|
@@ -626,22 +608,22 @@
|
|
|
626
608
|
}
|
|
627
609
|
function Instance(_this__u8e3s4, type, tag) {
|
|
628
610
|
tag = tag === VOID ? null : tag;
|
|
629
|
-
var tmp = _this__u8e3s4.
|
|
630
|
-
var tmp_0 = _this__u8e3s4.
|
|
611
|
+
var tmp = _this__u8e3s4.o61();
|
|
612
|
+
var tmp_0 = _this__u8e3s4.n61();
|
|
631
613
|
return new DIProperty(tmp, tmp_0, Instance$lambda(_this__u8e3s4, type, tag));
|
|
632
614
|
}
|
|
633
615
|
function InstanceOrNull(_this__u8e3s4, type, tag) {
|
|
634
616
|
tag = tag === VOID ? null : tag;
|
|
635
|
-
var tmp = _this__u8e3s4.
|
|
636
|
-
var tmp_0 = _this__u8e3s4.
|
|
617
|
+
var tmp = _this__u8e3s4.o61();
|
|
618
|
+
var tmp_0 = _this__u8e3s4.n61();
|
|
637
619
|
return new DIProperty(tmp, tmp_0, InstanceOrNull$lambda(_this__u8e3s4, type, tag));
|
|
638
620
|
}
|
|
639
621
|
function get_AnyDIContext() {
|
|
640
|
-
return Contexes_getInstance().
|
|
622
|
+
return Contexes_getInstance().t61_1;
|
|
641
623
|
}
|
|
642
624
|
function Contexes() {
|
|
643
625
|
Contexes_instance = this;
|
|
644
|
-
this.
|
|
626
|
+
this.t61_1 = Companion_instance_0.s61(Companion_getInstance().n5z_1, new Object());
|
|
645
627
|
}
|
|
646
628
|
var Contexes_instance;
|
|
647
629
|
function Contexes_getInstance() {
|
|
@@ -650,14 +632,14 @@
|
|
|
650
632
|
return Contexes_instance;
|
|
651
633
|
}
|
|
652
634
|
function On(_this__u8e3s4, context, trigger) {
|
|
653
|
-
context = context === VOID ? _this__u8e3s4.
|
|
654
|
-
trigger = trigger === VOID ? _this__u8e3s4.
|
|
635
|
+
context = context === VOID ? _this__u8e3s4.n61() : context;
|
|
636
|
+
trigger = trigger === VOID ? _this__u8e3s4.o61() : trigger;
|
|
655
637
|
return DIWrapper_init_$Create$(_this__u8e3s4, context, trigger);
|
|
656
638
|
}
|
|
657
639
|
function DIWrapper_init_$Init$(base, diContext, trigger, $this) {
|
|
658
|
-
diContext = diContext === VOID ? base.
|
|
659
|
-
trigger = trigger === VOID ? base.
|
|
660
|
-
DIWrapper.call($this, base.
|
|
640
|
+
diContext = diContext === VOID ? base.n61() : diContext;
|
|
641
|
+
trigger = trigger === VOID ? base.o61() : trigger;
|
|
642
|
+
DIWrapper.call($this, base.l61(), diContext, trigger);
|
|
661
643
|
return $this;
|
|
662
644
|
}
|
|
663
645
|
function DIWrapper_init_$Create$(base, diContext, trigger) {
|
|
@@ -665,50 +647,48 @@
|
|
|
665
647
|
}
|
|
666
648
|
function DIWrapper(_base, diContext, diTrigger) {
|
|
667
649
|
diTrigger = diTrigger === VOID ? null : diTrigger;
|
|
668
|
-
this.
|
|
669
|
-
this.
|
|
670
|
-
this.
|
|
650
|
+
this.u61_1 = _base;
|
|
651
|
+
this.v61_1 = diContext;
|
|
652
|
+
this.w61_1 = diTrigger;
|
|
671
653
|
}
|
|
672
|
-
protoOf(DIWrapper).
|
|
673
|
-
return this.
|
|
654
|
+
protoOf(DIWrapper).n61 = function () {
|
|
655
|
+
return this.v61_1;
|
|
674
656
|
};
|
|
675
|
-
protoOf(DIWrapper).
|
|
676
|
-
return this.
|
|
657
|
+
protoOf(DIWrapper).o61 = function () {
|
|
658
|
+
return this.w61_1;
|
|
677
659
|
};
|
|
678
|
-
protoOf(DIWrapper).
|
|
660
|
+
protoOf(DIWrapper).l61 = function () {
|
|
679
661
|
return this;
|
|
680
662
|
};
|
|
681
|
-
protoOf(DIWrapper).
|
|
682
|
-
return this.
|
|
663
|
+
protoOf(DIWrapper).m61 = function () {
|
|
664
|
+
return this.u61_1.m61();
|
|
683
665
|
};
|
|
684
666
|
function Instance$lambda($this_Instance, $type, $tag) {
|
|
685
667
|
return function (ctx, _unused_var__etf5q3) {
|
|
686
|
-
var tmp = $this_Instance.
|
|
668
|
+
var tmp = $this_Instance.l61().m61();
|
|
687
669
|
// Inline function 'org.kodein.di.anyType' call
|
|
688
|
-
var tmp_0 = ctx.
|
|
670
|
+
var tmp_0 = ctx.r61();
|
|
689
671
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
690
|
-
return tmp.
|
|
672
|
+
return tmp.x61(new Key(tmp$ret$0, Companion_getInstance().m5z_1, $type, $tag), ctx.u())();
|
|
691
673
|
};
|
|
692
674
|
}
|
|
693
675
|
function InstanceOrNull$lambda($this_InstanceOrNull, $type, $tag) {
|
|
694
676
|
return function (ctx, _unused_var__etf5q3) {
|
|
695
|
-
var tmp = $this_InstanceOrNull.
|
|
677
|
+
var tmp = $this_InstanceOrNull.l61().m61();
|
|
696
678
|
// Inline function 'org.kodein.di.anyType' call
|
|
697
|
-
var tmp_0 = ctx.
|
|
679
|
+
var tmp_0 = ctx.r61();
|
|
698
680
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
699
|
-
var
|
|
700
|
-
return
|
|
681
|
+
var tmp0_safe_receiver = tmp.y61(new Key(tmp$ret$0, Companion_getInstance().m5z_1, $type, $tag), ctx.u());
|
|
682
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver();
|
|
701
683
|
};
|
|
702
684
|
}
|
|
703
685
|
function DIContainer$provider$lambda($this) {
|
|
704
686
|
return function () {
|
|
705
|
-
// Inline function 'org.kodein.di.DIContainer.provider.<anonymous>' call
|
|
706
687
|
return $this(Unit_instance);
|
|
707
688
|
};
|
|
708
689
|
}
|
|
709
690
|
function DIContainer$providerOrNull$lambda($this) {
|
|
710
691
|
return function () {
|
|
711
|
-
// Inline function 'org.kodein.di.DIContainer.providerOrNull.<anonymous>' call
|
|
712
692
|
return $this(Unit_instance);
|
|
713
693
|
};
|
|
714
694
|
}
|
|
@@ -729,60 +709,60 @@
|
|
|
729
709
|
argType = argType === VOID ? null : argType;
|
|
730
710
|
type = type === VOID ? null : type;
|
|
731
711
|
tag = tag === VOID ? NoDefinedTag_instance : tag;
|
|
732
|
-
this.
|
|
733
|
-
this.
|
|
734
|
-
this.
|
|
735
|
-
this.
|
|
712
|
+
this.p62_1 = contextType;
|
|
713
|
+
this.q62_1 = argType;
|
|
714
|
+
this.r62_1 = type;
|
|
715
|
+
this.s62_1 = tag;
|
|
736
716
|
}
|
|
737
717
|
protoOf(SearchSpecs).toString = function () {
|
|
738
718
|
var args = ArrayList_init_$Create$();
|
|
739
|
-
if (!(this.
|
|
719
|
+
if (!(this.p62_1 == null)) {
|
|
720
|
+
var tmp0_safe_receiver = this.p62_1;
|
|
740
721
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
741
|
-
var
|
|
742
|
-
var element = 'contextType=' + (tmp9_safe_receiver == null ? null : tmp9_safe_receiver.v5u());
|
|
722
|
+
var element = 'contextType=' + (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.o5z());
|
|
743
723
|
args.e(element);
|
|
744
724
|
}
|
|
745
|
-
if (!(this.
|
|
725
|
+
if (!(this.q62_1 == null)) {
|
|
726
|
+
var tmp1_safe_receiver = this.q62_1;
|
|
746
727
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
747
|
-
var
|
|
748
|
-
var element_0 = 'argType=' + (tmp10_safe_receiver == null ? null : tmp10_safe_receiver.v5u());
|
|
728
|
+
var element_0 = 'argType=' + (tmp1_safe_receiver == null ? null : tmp1_safe_receiver.o5z());
|
|
749
729
|
args.e(element_0);
|
|
750
730
|
}
|
|
751
|
-
if (!(this.
|
|
731
|
+
if (!(this.r62_1 == null)) {
|
|
732
|
+
var tmp2_safe_receiver = this.r62_1;
|
|
752
733
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
753
|
-
var
|
|
754
|
-
var element_1 = 'type=' + (tmp11_safe_receiver == null ? null : tmp11_safe_receiver.v5u());
|
|
734
|
+
var element_1 = 'type=' + (tmp2_safe_receiver == null ? null : tmp2_safe_receiver.o5z());
|
|
755
735
|
args.e(element_1);
|
|
756
736
|
}
|
|
757
|
-
if (!equals(this.
|
|
737
|
+
if (!equals(this.s62_1, NoDefinedTag_instance)) {
|
|
758
738
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
759
|
-
var element_2 = 'tag=' + toString(this.
|
|
739
|
+
var element_2 = 'tag=' + toString(this.s62_1);
|
|
760
740
|
args.e(element_2);
|
|
761
741
|
}
|
|
762
742
|
return '[' + joinToString(args, ', ') + ']';
|
|
763
743
|
};
|
|
764
744
|
function NoArgBindingDIWrap(_di) {
|
|
765
|
-
this.
|
|
745
|
+
this.t62_1 = _di;
|
|
766
746
|
}
|
|
767
|
-
protoOf(NoArgBindingDIWrap).
|
|
768
|
-
return this.
|
|
747
|
+
protoOf(NoArgBindingDIWrap).l62 = function () {
|
|
748
|
+
return this.t62_1.l62();
|
|
769
749
|
};
|
|
770
|
-
protoOf(NoArgBindingDIWrap).
|
|
771
|
-
return this.
|
|
750
|
+
protoOf(NoArgBindingDIWrap).l61 = function () {
|
|
751
|
+
return this.t62_1.l61();
|
|
772
752
|
};
|
|
773
|
-
protoOf(NoArgBindingDIWrap).
|
|
774
|
-
return this.
|
|
753
|
+
protoOf(NoArgBindingDIWrap).m62 = function (context) {
|
|
754
|
+
return this.t62_1.m62(context);
|
|
775
755
|
};
|
|
776
|
-
protoOf(NoArgBindingDIWrap).
|
|
777
|
-
return this.
|
|
756
|
+
protoOf(NoArgBindingDIWrap).n62 = function (type, tag) {
|
|
757
|
+
return this.t62_1.n62(type, tag);
|
|
778
758
|
};
|
|
779
|
-
protoOf(NoArgBindingDIWrap).
|
|
780
|
-
return this.
|
|
759
|
+
protoOf(NoArgBindingDIWrap).o62 = function () {
|
|
760
|
+
return this.t62_1.o62();
|
|
781
761
|
};
|
|
782
762
|
function ErasedContext() {
|
|
783
763
|
}
|
|
784
|
-
protoOf(ErasedContext).
|
|
785
|
-
return Companion_getInstance().
|
|
764
|
+
protoOf(ErasedContext).r61 = function () {
|
|
765
|
+
return Companion_getInstance().n5z_1;
|
|
786
766
|
};
|
|
787
767
|
protoOf(ErasedContext).u = function () {
|
|
788
768
|
return ErasedContext_instance;
|
|
@@ -792,11 +772,11 @@
|
|
|
792
772
|
return ErasedContext_instance;
|
|
793
773
|
}
|
|
794
774
|
function DIBinding$Copier$Companion$invoke$1($f) {
|
|
795
|
-
this.
|
|
775
|
+
this.u62_1 = $f;
|
|
796
776
|
}
|
|
797
777
|
function Companion_1() {
|
|
798
778
|
}
|
|
799
|
-
protoOf(Companion_1).
|
|
779
|
+
protoOf(Companion_1).v62 = function (f) {
|
|
800
780
|
return new DIBinding$Copier$Companion$invoke$1(f);
|
|
801
781
|
};
|
|
802
782
|
var Companion_instance_1;
|
|
@@ -814,7 +794,7 @@
|
|
|
814
794
|
}
|
|
815
795
|
function SingletonReference() {
|
|
816
796
|
}
|
|
817
|
-
protoOf(SingletonReference).
|
|
797
|
+
protoOf(SingletonReference).c63 = function (creator) {
|
|
818
798
|
var value = creator();
|
|
819
799
|
return new Reference(value, SingletonReference$make$lambda(value));
|
|
820
800
|
};
|
|
@@ -823,21 +803,21 @@
|
|
|
823
803
|
return SingletonReference_instance;
|
|
824
804
|
}
|
|
825
805
|
function Reference(current, next) {
|
|
826
|
-
this.
|
|
827
|
-
this.
|
|
806
|
+
this.d63_1 = current;
|
|
807
|
+
this.e63_1 = next;
|
|
828
808
|
}
|
|
829
|
-
protoOf(Reference).
|
|
830
|
-
return this.
|
|
809
|
+
protoOf(Reference).gf = function () {
|
|
810
|
+
return this.d63_1;
|
|
831
811
|
};
|
|
832
|
-
protoOf(Reference).
|
|
833
|
-
return this.
|
|
812
|
+
protoOf(Reference).hf = function () {
|
|
813
|
+
return this.e63_1;
|
|
834
814
|
};
|
|
835
815
|
protoOf(Reference).toString = function () {
|
|
836
|
-
return 'Reference(current=' + toString_0(this.
|
|
816
|
+
return 'Reference(current=' + toString_0(this.d63_1) + ', next=' + toString_0(this.e63_1) + ')';
|
|
837
817
|
};
|
|
838
818
|
protoOf(Reference).hashCode = function () {
|
|
839
|
-
var result = hashCode(this.
|
|
840
|
-
result = imul(result, 31) + hashCode(this.
|
|
819
|
+
var result = hashCode(this.d63_1);
|
|
820
|
+
result = imul(result, 31) + hashCode(this.e63_1) | 0;
|
|
841
821
|
return result;
|
|
842
822
|
};
|
|
843
823
|
protoOf(Reference).equals = function (other) {
|
|
@@ -846,9 +826,9 @@
|
|
|
846
826
|
if (!(other instanceof Reference))
|
|
847
827
|
return false;
|
|
848
828
|
var tmp0_other_with_cast = other instanceof Reference ? other : THROW_CCE();
|
|
849
|
-
if (!equals(this.
|
|
829
|
+
if (!equals(this.d63_1, tmp0_other_with_cast.d63_1))
|
|
850
830
|
return false;
|
|
851
|
-
if (!equals(this.
|
|
831
|
+
if (!equals(this.e63_1, tmp0_other_with_cast.e63_1))
|
|
852
832
|
return false;
|
|
853
833
|
return true;
|
|
854
834
|
};
|
|
@@ -857,152 +837,163 @@
|
|
|
857
837
|
function ScopeRegistry() {
|
|
858
838
|
}
|
|
859
839
|
function NoScope() {
|
|
860
|
-
this.
|
|
840
|
+
this.i63_1 = new StandardScopeRegistry();
|
|
861
841
|
}
|
|
862
|
-
protoOf(NoScope).
|
|
863
|
-
return this.
|
|
842
|
+
protoOf(NoScope).j63 = function (context) {
|
|
843
|
+
return this.i63_1;
|
|
864
844
|
};
|
|
865
|
-
protoOf(NoScope).
|
|
866
|
-
return this.
|
|
845
|
+
protoOf(NoScope).k63 = function (context) {
|
|
846
|
+
return this.j63((context == null ? true : !(context == null)) ? context : THROW_CCE());
|
|
867
847
|
};
|
|
868
848
|
function StandardScopeRegistry() {
|
|
869
849
|
ScopeRegistry.call(this);
|
|
870
|
-
this.
|
|
871
|
-
this.
|
|
850
|
+
this.l63_1 = newConcurrentMap();
|
|
851
|
+
this.m63_1 = new Object();
|
|
872
852
|
}
|
|
873
|
-
protoOf(StandardScopeRegistry).
|
|
853
|
+
protoOf(StandardScopeRegistry).h63 = function (key, sync, creator) {
|
|
854
|
+
var tmp0 = sync ? this.m63_1 : null;
|
|
874
855
|
var tmp$ret$2;
|
|
875
|
-
$l$
|
|
856
|
+
$l$block_3: {
|
|
876
857
|
// Inline function 'org.kodein.di.internal.synchronizedIfNull' call
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
var tmp60_safe_receiver = tmp16_safe_receiver == null ? null : tmp16_safe_receiver();
|
|
881
|
-
if (tmp60_safe_receiver == null)
|
|
858
|
+
var tmp0_safe_receiver = this.l63_1.h2(key);
|
|
859
|
+
var tmp0_safe_receiver_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver();
|
|
860
|
+
if (tmp0_safe_receiver_0 == null)
|
|
882
861
|
null;
|
|
883
862
|
else {
|
|
884
863
|
// Inline function 'kotlin.let' call
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
tmp$ret$2 = tmp60_safe_receiver;
|
|
888
|
-
break $l$block_1;
|
|
864
|
+
tmp$ret$2 = tmp0_safe_receiver_0;
|
|
865
|
+
break $l$block_3;
|
|
889
866
|
}
|
|
890
867
|
// Inline function 'org.kodein.di.internal.maySynchronized' call
|
|
891
|
-
var tmp
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
868
|
+
var tmp;
|
|
869
|
+
if (tmp0 == null) {
|
|
870
|
+
var tmp$ret$5;
|
|
871
|
+
$l$block_0: {
|
|
872
|
+
var tmp0_safe_receiver_1 = this.l63_1.h2(key);
|
|
873
|
+
var tmp0_safe_receiver_2 = tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1();
|
|
874
|
+
if (tmp0_safe_receiver_2 == null)
|
|
875
|
+
null;
|
|
876
|
+
else {
|
|
877
|
+
// Inline function 'kotlin.let' call
|
|
878
|
+
tmp$ret$5 = tmp0_safe_receiver_2;
|
|
879
|
+
break $l$block_0;
|
|
880
|
+
}
|
|
881
|
+
var _destruct__k2r9zo = creator();
|
|
882
|
+
var current = _destruct__k2r9zo.gf();
|
|
883
|
+
var next = _destruct__k2r9zo.hf();
|
|
884
|
+
// Inline function 'kotlin.collections.set' call
|
|
885
|
+
this.l63_1.k2(key, next);
|
|
886
|
+
tmp$ret$2 = current;
|
|
887
|
+
break $l$block_3;
|
|
904
888
|
}
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
var
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
889
|
+
tmp = tmp$ret$5;
|
|
890
|
+
} else {
|
|
891
|
+
// Inline function 'kotlinx.atomicfu.locks.synchronized' call
|
|
892
|
+
var tmp$ret$10;
|
|
893
|
+
$l$block_2: {
|
|
894
|
+
var tmp0_safe_receiver_3 = this.l63_1.h2(key);
|
|
895
|
+
var tmp0_safe_receiver_4 = tmp0_safe_receiver_3 == null ? null : tmp0_safe_receiver_3();
|
|
896
|
+
if (tmp0_safe_receiver_4 == null)
|
|
897
|
+
null;
|
|
898
|
+
else {
|
|
899
|
+
// Inline function 'kotlin.let' call
|
|
900
|
+
tmp$ret$10 = tmp0_safe_receiver_4;
|
|
901
|
+
break $l$block_2;
|
|
902
|
+
}
|
|
903
|
+
var _destruct__k2r9zo_0 = creator();
|
|
904
|
+
var current_0 = _destruct__k2r9zo_0.gf();
|
|
905
|
+
var next_0 = _destruct__k2r9zo_0.hf();
|
|
906
|
+
// Inline function 'kotlin.collections.set' call
|
|
907
|
+
this.l63_1.k2(key, next_0);
|
|
908
|
+
tmp$ret$2 = current_0;
|
|
909
|
+
break $l$block_3;
|
|
910
|
+
}
|
|
911
|
+
tmp = tmp$ret$10;
|
|
913
912
|
}
|
|
914
|
-
var value = tmp
|
|
915
|
-
// Inline function 'org.kodein.di.bindings.StandardScopeRegistry.getOrCreate.<anonymous>' call
|
|
913
|
+
var value = tmp;
|
|
916
914
|
tmp$ret$2 = value;
|
|
917
915
|
}
|
|
918
916
|
return tmp$ret$2;
|
|
919
917
|
};
|
|
920
918
|
function toKContext(_this__u8e3s4, di, ctx) {
|
|
921
|
-
var
|
|
919
|
+
var tmp0_safe_receiver = _this__u8e3s4.g63(di, ctx);
|
|
922
920
|
var tmp;
|
|
923
|
-
if (
|
|
921
|
+
if (tmp0_safe_receiver == null) {
|
|
924
922
|
tmp = null;
|
|
925
923
|
} else {
|
|
926
924
|
// Inline function 'kotlin.let' call
|
|
927
|
-
|
|
928
|
-
// Inline function 'org.kodein.di.bindings.toKContext.<anonymous>' call
|
|
929
|
-
tmp = Companion_instance_0.z5w(_this__u8e3s4.m5y(), tmp30_safe_receiver);
|
|
925
|
+
tmp = Companion_instance_0.s61(_this__u8e3s4.f63(), tmp0_safe_receiver);
|
|
930
926
|
}
|
|
931
927
|
return tmp;
|
|
932
928
|
}
|
|
933
929
|
function CompositeContextTranslator(src, dst) {
|
|
934
|
-
this.
|
|
935
|
-
this.
|
|
930
|
+
this.n63_1 = src;
|
|
931
|
+
this.o63_1 = dst;
|
|
936
932
|
}
|
|
937
|
-
protoOf(CompositeContextTranslator).
|
|
938
|
-
return this.
|
|
933
|
+
protoOf(CompositeContextTranslator).e61 = function () {
|
|
934
|
+
return this.n63_1.e61();
|
|
939
935
|
};
|
|
940
|
-
protoOf(CompositeContextTranslator).
|
|
941
|
-
return this.
|
|
936
|
+
protoOf(CompositeContextTranslator).f63 = function () {
|
|
937
|
+
return this.o63_1.f63();
|
|
942
938
|
};
|
|
943
|
-
protoOf(CompositeContextTranslator).
|
|
944
|
-
var
|
|
939
|
+
protoOf(CompositeContextTranslator).g63 = function (di, ctx) {
|
|
940
|
+
var tmp0_safe_receiver = this.n63_1.g63(di, ctx);
|
|
945
941
|
var tmp;
|
|
946
|
-
if (
|
|
942
|
+
if (tmp0_safe_receiver == null) {
|
|
947
943
|
tmp = null;
|
|
948
944
|
} else {
|
|
949
945
|
// Inline function 'kotlin.let' call
|
|
950
|
-
|
|
951
|
-
// Inline function 'org.kodein.di.bindings.CompositeContextTranslator.translate.<anonymous>' call
|
|
952
|
-
tmp = this.v5y_1.n5y(di, tmp31_safe_receiver);
|
|
946
|
+
tmp = this.o63_1.g63(di, tmp0_safe_receiver);
|
|
953
947
|
}
|
|
954
948
|
return tmp;
|
|
955
949
|
};
|
|
956
950
|
protoOf(CompositeContextTranslator).toString = function () {
|
|
957
|
-
return '(' + toString_0(this.
|
|
951
|
+
return '(' + toString_0(this.n63_1) + ' -> ' + toString_0(this.o63_1) + ')';
|
|
958
952
|
};
|
|
959
953
|
function Provider$getFactory$lambda(this$0, $di) {
|
|
960
954
|
return function (_unused_var__etf5q3) {
|
|
961
|
-
return this$0.
|
|
955
|
+
return this$0.r63_1(new NoArgBindingDIWrap($di));
|
|
962
956
|
};
|
|
963
957
|
}
|
|
964
958
|
function Provider(contextType, createdType, creator) {
|
|
965
|
-
this.
|
|
966
|
-
this.
|
|
967
|
-
this.
|
|
959
|
+
this.p63_1 = contextType;
|
|
960
|
+
this.q63_1 = createdType;
|
|
961
|
+
this.r63_1 = creator;
|
|
968
962
|
}
|
|
969
|
-
protoOf(Provider).
|
|
970
|
-
return this.
|
|
963
|
+
protoOf(Provider).e61 = function () {
|
|
964
|
+
return this.p63_1;
|
|
971
965
|
};
|
|
972
|
-
protoOf(Provider).
|
|
973
|
-
return this.
|
|
966
|
+
protoOf(Provider).z62 = function () {
|
|
967
|
+
return this.q63_1;
|
|
974
968
|
};
|
|
975
|
-
protoOf(Provider).
|
|
969
|
+
protoOf(Provider).w62 = function () {
|
|
976
970
|
return 'provider';
|
|
977
971
|
};
|
|
978
|
-
protoOf(Provider).
|
|
972
|
+
protoOf(Provider).s63 = function (key, di) {
|
|
979
973
|
return Provider$getFactory$lambda(this, di);
|
|
980
974
|
};
|
|
981
|
-
protoOf(Provider).
|
|
982
|
-
return this.
|
|
975
|
+
protoOf(Provider).b63 = function (key, di) {
|
|
976
|
+
return this.s63(key, di);
|
|
983
977
|
};
|
|
984
978
|
function factoryName($this, params) {
|
|
985
979
|
// Inline function 'kotlin.text.buildString' call
|
|
986
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
987
980
|
// Inline function 'kotlin.apply' call
|
|
988
981
|
var this_0 = StringBuilder_init_$Create$();
|
|
989
|
-
|
|
990
|
-
// Inline function 'org.kodein.di.bindings.Singleton.factoryName.<anonymous>' call
|
|
991
|
-
this_0.s8('singleton');
|
|
982
|
+
this_0.u8('singleton');
|
|
992
983
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
993
984
|
if (!params.p()) {
|
|
994
|
-
this_0.
|
|
985
|
+
this_0.u8(joinToString(params, ', ', '(', ')'));
|
|
995
986
|
}
|
|
996
987
|
return this_0.toString();
|
|
997
988
|
}
|
|
998
989
|
function Singleton$getFactory$lambda$lambda$lambda(this$0, $bindingDi) {
|
|
999
990
|
return function () {
|
|
1000
|
-
return this$0.
|
|
991
|
+
return this$0.y63_1(new NoArgBindingDIWrap($bindingDi));
|
|
1001
992
|
};
|
|
1002
993
|
}
|
|
1003
994
|
function Singleton$getFactory$lambda$lambda(this$0, $bindingDi) {
|
|
1004
995
|
return function () {
|
|
1005
|
-
return this$0.
|
|
996
|
+
return this$0.z63_1.c63(Singleton$getFactory$lambda$lambda$lambda(this$0, $bindingDi));
|
|
1006
997
|
};
|
|
1007
998
|
}
|
|
1008
999
|
function Singleton$getFactory$lambda($lateInitRegistry, this$0, $bindingDi) {
|
|
@@ -1011,81 +1002,79 @@
|
|
|
1011
1002
|
var tmp;
|
|
1012
1003
|
if (tmp0_elvis_lhs == null) {
|
|
1013
1004
|
// Inline function 'kotlin.also' call
|
|
1014
|
-
var this_0 = this$0.
|
|
1015
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1016
|
-
// Inline function 'org.kodein.di.bindings.Singleton.getFactory.<anonymous>.<anonymous>' call
|
|
1005
|
+
var this_0 = this$0.t63_1.k63($bindingDi.p9());
|
|
1017
1006
|
$lateInitRegistry._v = this_0;
|
|
1018
1007
|
tmp = this_0;
|
|
1019
1008
|
} else {
|
|
1020
1009
|
tmp = tmp0_elvis_lhs;
|
|
1021
1010
|
}
|
|
1022
1011
|
var registry = tmp;
|
|
1023
|
-
var tmp_0 = registry.
|
|
1012
|
+
var tmp_0 = registry.h63(this$0.a64_1, this$0.x63_1, Singleton$getFactory$lambda$lambda(this$0, $bindingDi));
|
|
1024
1013
|
return !(tmp_0 == null) ? tmp_0 : THROW_CCE();
|
|
1025
1014
|
};
|
|
1026
1015
|
}
|
|
1027
1016
|
function Singleton$copier$lambda(this$0) {
|
|
1028
1017
|
return function (it) {
|
|
1029
|
-
return new Singleton(this$0.
|
|
1018
|
+
return new Singleton(this$0.t63_1, this$0.u63_1, this$0.v63_1, this$0.w63_1, this$0.z63_1, this$0.x63_1, this$0.y63_1);
|
|
1030
1019
|
};
|
|
1031
1020
|
}
|
|
1032
1021
|
function Singleton(scope, contextType, explicitContext, createdType, refMaker, sync, creator) {
|
|
1033
1022
|
refMaker = refMaker === VOID ? null : refMaker;
|
|
1034
1023
|
sync = sync === VOID ? true : sync;
|
|
1035
|
-
this.
|
|
1036
|
-
this.
|
|
1037
|
-
this.
|
|
1038
|
-
this.
|
|
1039
|
-
this.
|
|
1040
|
-
this.
|
|
1024
|
+
this.t63_1 = scope;
|
|
1025
|
+
this.u63_1 = contextType;
|
|
1026
|
+
this.v63_1 = explicitContext;
|
|
1027
|
+
this.w63_1 = createdType;
|
|
1028
|
+
this.x63_1 = sync;
|
|
1029
|
+
this.y63_1 = creator;
|
|
1041
1030
|
var tmp = this;
|
|
1042
|
-
tmp.
|
|
1043
|
-
this.
|
|
1031
|
+
tmp.z63_1 = refMaker == null ? SingletonReference_instance : refMaker;
|
|
1032
|
+
this.a64_1 = new ScopeKey(new Object(), Unit_instance);
|
|
1044
1033
|
var tmp_0 = this;
|
|
1045
1034
|
var tmp_1 = Companion_instance_1;
|
|
1046
|
-
tmp_0.
|
|
1035
|
+
tmp_0.b64_1 = tmp_1.v62(Singleton$copier$lambda(this));
|
|
1047
1036
|
}
|
|
1048
|
-
protoOf(Singleton).
|
|
1049
|
-
return this.
|
|
1037
|
+
protoOf(Singleton).g61 = function () {
|
|
1038
|
+
return this.t63_1;
|
|
1050
1039
|
};
|
|
1051
|
-
protoOf(Singleton).
|
|
1052
|
-
return this.
|
|
1040
|
+
protoOf(Singleton).e61 = function () {
|
|
1041
|
+
return this.u63_1;
|
|
1053
1042
|
};
|
|
1054
|
-
protoOf(Singleton).
|
|
1055
|
-
return this.
|
|
1043
|
+
protoOf(Singleton).z62 = function () {
|
|
1044
|
+
return this.w63_1;
|
|
1056
1045
|
};
|
|
1057
|
-
protoOf(Singleton).
|
|
1046
|
+
protoOf(Singleton).w62 = function () {
|
|
1058
1047
|
var params = ArrayList_init_$Create$_0(2);
|
|
1059
|
-
if (!equals(this.
|
|
1060
|
-
params.e('ref = ' + erasedOf(this.
|
|
1048
|
+
if (!equals(this.z63_1, SingletonReference_instance)) {
|
|
1049
|
+
params.e('ref = ' + erasedOf(this.z63_1).o5z());
|
|
1061
1050
|
}
|
|
1062
1051
|
return factoryName(this, params);
|
|
1063
1052
|
};
|
|
1064
|
-
protoOf(Singleton).
|
|
1053
|
+
protoOf(Singleton).x62 = function () {
|
|
1065
1054
|
var params = ArrayList_init_$Create$_0(2);
|
|
1066
|
-
if (!equals(this.
|
|
1067
|
-
params.e('ref = ' + erasedOf(this.
|
|
1055
|
+
if (!equals(this.z63_1, SingletonReference_instance)) {
|
|
1056
|
+
params.e('ref = ' + erasedOf(this.z63_1).q5z());
|
|
1068
1057
|
}
|
|
1069
1058
|
return factoryName(this, params);
|
|
1070
1059
|
};
|
|
1071
|
-
protoOf(Singleton).
|
|
1060
|
+
protoOf(Singleton).s63 = function (key, di) {
|
|
1072
1061
|
var lateInitRegistry = {_v: null};
|
|
1073
|
-
var bindingDi = this.
|
|
1062
|
+
var bindingDi = this.v63_1 ? di : di.c64();
|
|
1074
1063
|
return Singleton$getFactory$lambda(lateInitRegistry, this, bindingDi);
|
|
1075
1064
|
};
|
|
1076
|
-
protoOf(Singleton).
|
|
1077
|
-
return this.
|
|
1065
|
+
protoOf(Singleton).b63 = function (key, di) {
|
|
1066
|
+
return this.s63(key, di);
|
|
1078
1067
|
};
|
|
1079
1068
|
function ScopeKey(scopeId, arg) {
|
|
1080
|
-
this.
|
|
1081
|
-
this.
|
|
1069
|
+
this.d64_1 = scopeId;
|
|
1070
|
+
this.e64_1 = arg;
|
|
1082
1071
|
}
|
|
1083
1072
|
protoOf(ScopeKey).toString = function () {
|
|
1084
|
-
return 'ScopeKey(scopeId=' + toString_0(this.
|
|
1073
|
+
return 'ScopeKey(scopeId=' + toString_0(this.d64_1) + ', arg=' + toString(this.e64_1) + ')';
|
|
1085
1074
|
};
|
|
1086
1075
|
protoOf(ScopeKey).hashCode = function () {
|
|
1087
|
-
var result = hashCode(this.
|
|
1088
|
-
result = imul(result, 31) + (this.
|
|
1076
|
+
var result = hashCode(this.d64_1);
|
|
1077
|
+
result = imul(result, 31) + (this.e64_1 == null ? 0 : hashCode(this.e64_1)) | 0;
|
|
1089
1078
|
return result;
|
|
1090
1079
|
};
|
|
1091
1080
|
protoOf(ScopeKey).equals = function (other) {
|
|
@@ -1094,67 +1083,67 @@
|
|
|
1094
1083
|
if (!(other instanceof ScopeKey))
|
|
1095
1084
|
return false;
|
|
1096
1085
|
var tmp0_other_with_cast = other instanceof ScopeKey ? other : THROW_CCE();
|
|
1097
|
-
if (!equals(this.
|
|
1086
|
+
if (!equals(this.d64_1, tmp0_other_with_cast.d64_1))
|
|
1098
1087
|
return false;
|
|
1099
|
-
if (!equals(this.
|
|
1088
|
+
if (!equals(this.e64_1, tmp0_other_with_cast.e64_1))
|
|
1100
1089
|
return false;
|
|
1101
1090
|
return true;
|
|
1102
1091
|
};
|
|
1103
1092
|
function DIMainBuilderImpl(allowSilentOverride) {
|
|
1104
1093
|
DIBuilderImpl.call(this, null, '', HashSet_init_$Create$(), new DIContainerBuilderImpl(true, allowSilentOverride, HashMap_init_$Create$(), ArrayList_init_$Create$(), ArrayList_init_$Create$()));
|
|
1105
|
-
this.
|
|
1106
|
-
this.
|
|
1107
|
-
this.
|
|
1094
|
+
this.k64_1 = ArrayList_init_$Create$();
|
|
1095
|
+
this.l64_1 = Companion_instance.h61_1;
|
|
1096
|
+
this.m64_1 = Companion_instance.i61_1;
|
|
1108
1097
|
}
|
|
1109
|
-
protoOf(DIMainBuilderImpl).
|
|
1110
|
-
return this.
|
|
1098
|
+
protoOf(DIMainBuilderImpl).g62 = function () {
|
|
1099
|
+
return this.k64_1;
|
|
1111
1100
|
};
|
|
1112
|
-
protoOf(DIMainBuilderImpl).
|
|
1113
|
-
return this.
|
|
1101
|
+
protoOf(DIMainBuilderImpl).n64 = function () {
|
|
1102
|
+
return this.l64_1;
|
|
1114
1103
|
};
|
|
1115
|
-
protoOf(DIMainBuilderImpl).
|
|
1116
|
-
return this.
|
|
1104
|
+
protoOf(DIMainBuilderImpl).o64 = function () {
|
|
1105
|
+
return this.m64_1;
|
|
1117
1106
|
};
|
|
1118
1107
|
function TypeBinder($outer, type, tag, overrides) {
|
|
1119
|
-
this.
|
|
1120
|
-
this.
|
|
1121
|
-
this.
|
|
1122
|
-
this.
|
|
1108
|
+
this.x64_1 = $outer;
|
|
1109
|
+
this.u64_1 = type;
|
|
1110
|
+
this.v64_1 = tag;
|
|
1111
|
+
this.w64_1 = overrides;
|
|
1123
1112
|
}
|
|
1124
|
-
protoOf(TypeBinder).
|
|
1125
|
-
return this.
|
|
1113
|
+
protoOf(TypeBinder).y64 = function () {
|
|
1114
|
+
return this.x64_1.a61();
|
|
1126
1115
|
};
|
|
1127
|
-
protoOf(TypeBinder).
|
|
1128
|
-
return this.
|
|
1116
|
+
protoOf(TypeBinder).z64 = function (binding) {
|
|
1117
|
+
return this.y64().e65(new Key(binding.e61(), binding.y62(), this.u64_1, this.v64_1), binding, this.x64_1.p64_1, this.w64_1);
|
|
1129
1118
|
};
|
|
1130
1119
|
function DIBuilderImpl(moduleName, prefix, importedModules, containerBuilder) {
|
|
1131
|
-
this.
|
|
1132
|
-
this.
|
|
1133
|
-
this.
|
|
1134
|
-
this.
|
|
1135
|
-
this.
|
|
1120
|
+
this.p64_1 = moduleName;
|
|
1121
|
+
this.q64_1 = prefix;
|
|
1122
|
+
this.r64_1 = importedModules;
|
|
1123
|
+
this.s64_1 = containerBuilder;
|
|
1124
|
+
this.t64_1 = Companion_getInstance().n5z_1;
|
|
1136
1125
|
}
|
|
1137
|
-
protoOf(DIBuilderImpl).
|
|
1138
|
-
return this.
|
|
1126
|
+
protoOf(DIBuilderImpl).a61 = function () {
|
|
1127
|
+
return this.s64_1;
|
|
1139
1128
|
};
|
|
1140
|
-
protoOf(DIBuilderImpl).
|
|
1141
|
-
return this.
|
|
1129
|
+
protoOf(DIBuilderImpl).e61 = function () {
|
|
1130
|
+
return this.t64_1;
|
|
1142
1131
|
};
|
|
1143
|
-
protoOf(DIBuilderImpl).
|
|
1132
|
+
protoOf(DIBuilderImpl).g61 = function () {
|
|
1144
1133
|
return new NoScope();
|
|
1145
1134
|
};
|
|
1146
|
-
protoOf(DIBuilderImpl).
|
|
1135
|
+
protoOf(DIBuilderImpl).f61 = function () {
|
|
1147
1136
|
return false;
|
|
1148
1137
|
};
|
|
1149
|
-
protoOf(DIBuilderImpl).
|
|
1138
|
+
protoOf(DIBuilderImpl).b61 = function (type, tag, overrides) {
|
|
1150
1139
|
return new TypeBinder(this, type, tag, overrides);
|
|
1151
1140
|
};
|
|
1152
|
-
protoOf(DIBuilderImpl).
|
|
1153
|
-
var moduleName = this.
|
|
1141
|
+
protoOf(DIBuilderImpl).c61 = function (module_0, allowOverride) {
|
|
1142
|
+
var moduleName = this.q64_1 + module_0.p2();
|
|
1154
1143
|
var tmp;
|
|
1155
1144
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
1156
1145
|
if (charSequenceLength(moduleName) > 0) {
|
|
1157
|
-
tmp = this.
|
|
1146
|
+
tmp = this.r64_1.s1(moduleName);
|
|
1158
1147
|
} else {
|
|
1159
1148
|
tmp = false;
|
|
1160
1149
|
}
|
|
@@ -1162,20 +1151,19 @@
|
|
|
1162
1151
|
throw IllegalStateException_init_$Create$('Module "' + moduleName + '" has already been imported!');
|
|
1163
1152
|
}
|
|
1164
1153
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1165
|
-
this.
|
|
1154
|
+
this.r64_1.e(moduleName);
|
|
1155
|
+
var tmp0 = new DIBuilderImpl(moduleName, this.q64_1 + module_0.t60_1, this.r64_1, this.a61().f65(allowOverride, module_0.s60_1));
|
|
1166
1156
|
// Inline function 'kotlin.apply' call
|
|
1167
|
-
|
|
1168
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1169
|
-
module_0.b5w_1(this_0);
|
|
1157
|
+
module_0.u60_1(tmp0);
|
|
1170
1158
|
};
|
|
1171
1159
|
function DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT() {
|
|
1172
1160
|
OverrideMode.call(this, 'ALLOW_SILENT', 0);
|
|
1173
1161
|
OverrideMode_ALLOW_SILENT_instance = this;
|
|
1174
1162
|
}
|
|
1175
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT).
|
|
1163
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT).i65 = function () {
|
|
1176
1164
|
return true;
|
|
1177
1165
|
};
|
|
1178
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT).
|
|
1166
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT).j65 = function (overrides) {
|
|
1179
1167
|
return overrides;
|
|
1180
1168
|
};
|
|
1181
1169
|
var OverrideMode_ALLOW_SILENT_instance;
|
|
@@ -1183,10 +1171,10 @@
|
|
|
1183
1171
|
OverrideMode.call(this, 'ALLOW_EXPLICIT', 1);
|
|
1184
1172
|
OverrideMode_ALLOW_EXPLICIT_instance = this;
|
|
1185
1173
|
}
|
|
1186
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT).
|
|
1174
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT).i65 = function () {
|
|
1187
1175
|
return true;
|
|
1188
1176
|
};
|
|
1189
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT).
|
|
1177
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT).j65 = function (overrides) {
|
|
1190
1178
|
return overrides == null ? false : overrides;
|
|
1191
1179
|
};
|
|
1192
1180
|
var OverrideMode_ALLOW_EXPLICIT_instance;
|
|
@@ -1194,10 +1182,10 @@
|
|
|
1194
1182
|
OverrideMode.call(this, 'FORBID', 2);
|
|
1195
1183
|
OverrideMode_FORBID_instance = this;
|
|
1196
1184
|
}
|
|
1197
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$FORBID).
|
|
1185
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$FORBID).i65 = function () {
|
|
1198
1186
|
return false;
|
|
1199
1187
|
};
|
|
1200
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$FORBID).
|
|
1188
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$FORBID).j65 = function (overrides) {
|
|
1201
1189
|
var tmp;
|
|
1202
1190
|
if (!(overrides == null) && overrides) {
|
|
1203
1191
|
throw new OverridingException('Overriding has been forbidden');
|
|
@@ -1209,7 +1197,7 @@
|
|
|
1209
1197
|
var OverrideMode_FORBID_instance;
|
|
1210
1198
|
function Companion_2() {
|
|
1211
1199
|
}
|
|
1212
|
-
protoOf(Companion_2).
|
|
1200
|
+
protoOf(Companion_2).o65 = function (allow, silent) {
|
|
1213
1201
|
if (!allow)
|
|
1214
1202
|
return OverrideMode_FORBID_getInstance();
|
|
1215
1203
|
if (silent)
|
|
@@ -1233,14 +1221,14 @@
|
|
|
1233
1221
|
Enum.call(this, name, ordinal);
|
|
1234
1222
|
}
|
|
1235
1223
|
function checkOverrides($this, key, overrides) {
|
|
1236
|
-
var mustOverride = $this.
|
|
1224
|
+
var mustOverride = $this.d65_1.j65(overrides);
|
|
1237
1225
|
if (!(mustOverride == null)) {
|
|
1238
1226
|
var tmp;
|
|
1239
1227
|
if (mustOverride) {
|
|
1240
1228
|
// Inline function 'kotlin.collections.contains' call
|
|
1241
1229
|
// Inline function 'kotlin.collections.containsKey' call
|
|
1242
|
-
var this_0 = $this.
|
|
1243
|
-
tmp = !(isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).
|
|
1230
|
+
var this_0 = $this.a65_1;
|
|
1231
|
+
tmp = !(isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).f2(key);
|
|
1244
1232
|
} else {
|
|
1245
1233
|
tmp = false;
|
|
1246
1234
|
}
|
|
@@ -1250,8 +1238,8 @@
|
|
|
1250
1238
|
if (!mustOverride) {
|
|
1251
1239
|
// Inline function 'kotlin.collections.contains' call
|
|
1252
1240
|
// Inline function 'kotlin.collections.containsKey' call
|
|
1253
|
-
var this_1 = $this.
|
|
1254
|
-
tmp_0 = (isInterface(this_1, KtMap) ? this_1 : THROW_CCE()).
|
|
1241
|
+
var this_1 = $this.a65_1;
|
|
1242
|
+
tmp_0 = (isInterface(this_1, KtMap) ? this_1 : THROW_CCE()).f2(key);
|
|
1255
1243
|
} else {
|
|
1256
1244
|
tmp_0 = false;
|
|
1257
1245
|
}
|
|
@@ -1260,7 +1248,7 @@
|
|
|
1260
1248
|
}
|
|
1261
1249
|
}
|
|
1262
1250
|
function checkMatch($this, allowOverride) {
|
|
1263
|
-
if (!$this.
|
|
1251
|
+
if (!$this.d65_1.i65() && allowOverride)
|
|
1264
1252
|
throw new OverridingException('Overriding has been forbidden');
|
|
1265
1253
|
}
|
|
1266
1254
|
function OverrideMode_ALLOW_SILENT_getInstance() {
|
|
@@ -1276,34 +1264,41 @@
|
|
|
1276
1264
|
return OverrideMode_FORBID_instance;
|
|
1277
1265
|
}
|
|
1278
1266
|
function DIContainerBuilderImpl(allowOverride, silentOverride, bindingsMap, callbacks, translators) {
|
|
1279
|
-
this.
|
|
1280
|
-
this.
|
|
1281
|
-
this.
|
|
1282
|
-
this.
|
|
1267
|
+
this.a65_1 = bindingsMap;
|
|
1268
|
+
this.b65_1 = callbacks;
|
|
1269
|
+
this.c65_1 = translators;
|
|
1270
|
+
this.d65_1 = Companion_instance_2.o65(allowOverride, silentOverride);
|
|
1283
1271
|
}
|
|
1284
|
-
protoOf(DIContainerBuilderImpl).
|
|
1272
|
+
protoOf(DIContainerBuilderImpl).e65 = function (key, binding, fromModule, overrides) {
|
|
1285
1273
|
checkOverrides(this, key, overrides);
|
|
1286
1274
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1287
|
-
var this_0 = this.
|
|
1288
|
-
var value = this_0.
|
|
1275
|
+
var this_0 = this.a65_1;
|
|
1276
|
+
var value = this_0.h2(key);
|
|
1289
1277
|
var tmp;
|
|
1290
1278
|
if (value == null) {
|
|
1291
|
-
// Inline function 'org.kodein.di.internal.DIContainerBuilderImpl.bind.<anonymous>' call
|
|
1292
1279
|
var answer = newLinkedList();
|
|
1293
|
-
this_0.
|
|
1280
|
+
this_0.k2(key, answer);
|
|
1294
1281
|
tmp = answer;
|
|
1295
1282
|
} else {
|
|
1296
1283
|
tmp = value;
|
|
1297
1284
|
}
|
|
1298
1285
|
var bindings = tmp;
|
|
1299
|
-
bindings.
|
|
1286
|
+
bindings.d2(0, new DIDefining(isInterface(binding, DIBinding) ? binding : THROW_CCE(), fromModule));
|
|
1300
1287
|
};
|
|
1301
|
-
protoOf(DIContainerBuilderImpl).
|
|
1288
|
+
protoOf(DIContainerBuilderImpl).f65 = function (allowOverride, silentOverride) {
|
|
1302
1289
|
checkMatch(this, allowOverride);
|
|
1303
|
-
return new DIContainerBuilderImpl(allowOverride, silentOverride, this.
|
|
1290
|
+
return new DIContainerBuilderImpl(allowOverride, silentOverride, this.a65_1, this.b65_1, this.c65_1);
|
|
1304
1291
|
};
|
|
1305
1292
|
function displayString($this, key, overrideLevel) {
|
|
1306
|
-
var
|
|
1293
|
+
var tmp;
|
|
1294
|
+
if ($this.u65_1) {
|
|
1295
|
+
var tmp_0 = KProperty0;
|
|
1296
|
+
tmp = getPropertyCallableRef('bindFullDescription', 0, tmp_0, DI$Key$_get_bindFullDescription_$ref_x9pxcc_0(key), null);
|
|
1297
|
+
} else {
|
|
1298
|
+
var tmp_1 = KProperty0;
|
|
1299
|
+
tmp = getPropertyCallableRef('bindDescription', 0, tmp_1, DI$Key$_get_bindDescription_$ref_ua6e71_0(key), null);
|
|
1300
|
+
}
|
|
1301
|
+
var descProp = tmp;
|
|
1307
1302
|
return !(overrideLevel === 0) ? 'overridden ' + descProp.get() : descProp.get();
|
|
1308
1303
|
}
|
|
1309
1304
|
function recursiveLoop($this, node, firstKey, firstOverrideLevel, tail) {
|
|
@@ -1315,15 +1310,18 @@
|
|
|
1315
1310
|
$l$1: do {
|
|
1316
1311
|
$l$0: do {
|
|
1317
1312
|
var tmp;
|
|
1318
|
-
if (node_0.
|
|
1319
|
-
tmp = plus(listOf(displayString($this_0, node_0.
|
|
1313
|
+
if (node_0.t65_1 == null || (firstKey_0.equals(node_0.r65_1) && firstOverrideLevel_0 === node_0.s65_1)) {
|
|
1314
|
+
tmp = plus(listOf(displayString($this_0, node_0.r65_1, node_0.s65_1)), tail_0);
|
|
1320
1315
|
} else {
|
|
1321
1316
|
var tmp0 = $this_0;
|
|
1322
|
-
var
|
|
1317
|
+
var tmp1 = node_0.t65_1;
|
|
1318
|
+
var tmp2 = firstKey_0;
|
|
1319
|
+
var tmp3 = firstOverrideLevel_0;
|
|
1320
|
+
var tmp4 = plus(listOf(displayString($this_0, node_0.r65_1, node_0.s65_1)), tail_0);
|
|
1323
1321
|
$this_0 = tmp0;
|
|
1324
|
-
node_0 =
|
|
1325
|
-
firstKey_0 =
|
|
1326
|
-
firstOverrideLevel_0 =
|
|
1322
|
+
node_0 = tmp1;
|
|
1323
|
+
firstKey_0 = tmp2;
|
|
1324
|
+
firstOverrideLevel_0 = tmp3;
|
|
1327
1325
|
tail_0 = tmp4;
|
|
1328
1326
|
continue $l$0;
|
|
1329
1327
|
}
|
|
@@ -1341,15 +1339,19 @@
|
|
|
1341
1339
|
$l$1: do {
|
|
1342
1340
|
$l$0: do {
|
|
1343
1341
|
var tmp;
|
|
1344
|
-
if (node_0.
|
|
1342
|
+
if (node_0.r65_1.equals(searchedKey_0) && node_0.s65_1 === searchedOverrideLevel_0) {
|
|
1345
1343
|
tmp = false;
|
|
1346
|
-
} else if (node_0.
|
|
1344
|
+
} else if (node_0.t65_1 == null) {
|
|
1347
1345
|
tmp = true;
|
|
1348
1346
|
} else {
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1347
|
+
var tmp0 = $this_0;
|
|
1348
|
+
var tmp1 = node_0.t65_1;
|
|
1349
|
+
var tmp2 = searchedKey_0;
|
|
1350
|
+
var tmp3 = searchedOverrideLevel_0;
|
|
1351
|
+
$this_0 = tmp0;
|
|
1352
|
+
node_0 = tmp1;
|
|
1353
|
+
searchedKey_0 = tmp2;
|
|
1354
|
+
searchedOverrideLevel_0 = tmp3;
|
|
1353
1355
|
continue $l$0;
|
|
1354
1356
|
}
|
|
1355
1357
|
return tmp;
|
|
@@ -1358,15 +1360,25 @@
|
|
|
1358
1360
|
}
|
|
1359
1361
|
while (true);
|
|
1360
1362
|
}
|
|
1363
|
+
function DI$Key$_get_bindFullDescription_$ref_x9pxcc_0(p0) {
|
|
1364
|
+
return function () {
|
|
1365
|
+
return p0.q60();
|
|
1366
|
+
};
|
|
1367
|
+
}
|
|
1368
|
+
function DI$Key$_get_bindDescription_$ref_ua6e71_0(p0) {
|
|
1369
|
+
return function () {
|
|
1370
|
+
return p0.o60();
|
|
1371
|
+
};
|
|
1372
|
+
}
|
|
1361
1373
|
function DIContainerImpl_init_$Init$(builder, externalSources, fullDescriptionOnError, fullContainerTreeOnError, runCallbacks, $this) {
|
|
1362
|
-
DIContainerImpl.call($this, new DITreeImpl(builder.
|
|
1374
|
+
DIContainerImpl.call($this, new DITreeImpl(builder.a65_1, externalSources, builder.c65_1), null, fullDescriptionOnError, fullContainerTreeOnError);
|
|
1363
1375
|
var init = DIContainerImpl$_init_$lambda_r6ib3j($this, builder);
|
|
1364
1376
|
if (runCallbacks)
|
|
1365
1377
|
init();
|
|
1366
1378
|
else {
|
|
1367
1379
|
var lock = new Object();
|
|
1368
1380
|
var tmp = $this;
|
|
1369
|
-
tmp.
|
|
1381
|
+
tmp.z65_1 = DIContainerImpl$_init_$lambda_r6ib3j_0(lock, $this, init);
|
|
1370
1382
|
}
|
|
1371
1383
|
return $this;
|
|
1372
1384
|
}
|
|
@@ -1374,58 +1386,57 @@
|
|
|
1374
1386
|
return DIContainerImpl_init_$Init$(builder, externalSources, fullDescriptionOnError, fullContainerTreeOnError, runCallbacks, objectCreate(protoOf(DIContainerImpl)));
|
|
1375
1387
|
}
|
|
1376
1388
|
function Node(key, overrideLevel, parent, fullDescriptionOnError) {
|
|
1377
|
-
this.
|
|
1378
|
-
this.
|
|
1379
|
-
this.
|
|
1380
|
-
this.
|
|
1389
|
+
this.r65_1 = key;
|
|
1390
|
+
this.s65_1 = overrideLevel;
|
|
1391
|
+
this.t65_1 = parent;
|
|
1392
|
+
this.u65_1 = fullDescriptionOnError;
|
|
1381
1393
|
}
|
|
1382
|
-
protoOf(Node).
|
|
1394
|
+
protoOf(Node).a66 = function (searchedKey, searchedOverrideLevel) {
|
|
1383
1395
|
if (!recursiveCheck(this, this, searchedKey, searchedOverrideLevel)) {
|
|
1384
|
-
var list = plus_0(recursiveLoop(this, this, searchedKey, searchedOverrideLevel, emptyList()), displayString(this, searchedKey, this.
|
|
1396
|
+
var list = plus_0(recursiveLoop(this, this, searchedKey, searchedOverrideLevel, emptyList()), displayString(this, searchedKey, this.s65_1));
|
|
1385
1397
|
var sb = StringBuilder_init_$Create$();
|
|
1386
1398
|
// Inline function 'kotlin.collections.forEachIndexed' call
|
|
1387
1399
|
var index = 0;
|
|
1388
|
-
var
|
|
1389
|
-
while (
|
|
1390
|
-
var item =
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
sb.s8(' ');
|
|
1400
|
+
var _iterator__ex2g4s = list.j();
|
|
1401
|
+
while (_iterator__ex2g4s.k()) {
|
|
1402
|
+
var item = _iterator__ex2g4s.l();
|
|
1403
|
+
var _unary__edvuaz = index;
|
|
1404
|
+
index = _unary__edvuaz + 1 | 0;
|
|
1405
|
+
var index_0 = checkIndexOverflow(_unary__edvuaz);
|
|
1406
|
+
sb.u8(' ');
|
|
1396
1407
|
switch (index_0) {
|
|
1397
1408
|
case 0:
|
|
1398
|
-
sb.
|
|
1409
|
+
sb.u8(' ');
|
|
1399
1410
|
break;
|
|
1400
1411
|
case 1:
|
|
1401
|
-
sb.
|
|
1412
|
+
sb.u8(' \u2554\u2569>');
|
|
1402
1413
|
break;
|
|
1403
1414
|
default:
|
|
1404
|
-
sb.
|
|
1405
|
-
sb.
|
|
1406
|
-
sb.
|
|
1415
|
+
sb.u8(' \u2551');
|
|
1416
|
+
sb.u8(repeat(' ', index_0 - 1 | 0));
|
|
1417
|
+
sb.u8('\u255A>');
|
|
1407
1418
|
break;
|
|
1408
1419
|
}
|
|
1409
|
-
sb.
|
|
1410
|
-
sb.
|
|
1420
|
+
sb.u8(item);
|
|
1421
|
+
sb.u8('\n');
|
|
1411
1422
|
}
|
|
1412
|
-
sb.
|
|
1413
|
-
sb.
|
|
1414
|
-
sb.
|
|
1423
|
+
sb.u8(' \u255A');
|
|
1424
|
+
sb.u8(repeat('\u2550\u2550', list.m() - 1 | 0));
|
|
1425
|
+
sb.u8('\u255D');
|
|
1415
1426
|
throw new DependencyLoopException('Dependency recursion:\n' + sb.toString());
|
|
1416
1427
|
}
|
|
1417
1428
|
};
|
|
1418
1429
|
function bindingDI($this, key, context, tree, overrideLevel) {
|
|
1419
|
-
var container = new DIContainerImpl(tree, new Node(key, overrideLevel, $this.
|
|
1430
|
+
var container = new DIContainerImpl(tree, new Node(key, overrideLevel, $this.w65_1, $this.x65_1), $this.x65_1, $this.y65_1);
|
|
1420
1431
|
return new BindingDIImpl(createDirectDI(container, context), key, overrideLevel);
|
|
1421
1432
|
}
|
|
1422
1433
|
function DIContainerImpl$_init_$lambda_r6ib3j(this$0, $builder) {
|
|
1423
1434
|
return function () {
|
|
1424
1435
|
var direct = createDirectDI(this$0, get_AnyDIContext());
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1436
|
+
// Inline function 'kotlin.collections.forEach' call
|
|
1437
|
+
var _iterator__ex2g4s = $builder.b65_1.j();
|
|
1438
|
+
while (_iterator__ex2g4s.k()) {
|
|
1439
|
+
var element = _iterator__ex2g4s.l();
|
|
1429
1440
|
element(direct);
|
|
1430
1441
|
}
|
|
1431
1442
|
return Unit_instance;
|
|
@@ -1433,32 +1444,57 @@
|
|
|
1433
1444
|
}
|
|
1434
1445
|
function DIContainerImpl$_init_$lambda_r6ib3j_0($lock, this$0, $init) {
|
|
1435
1446
|
return function () {
|
|
1436
|
-
$
|
|
1447
|
+
var tmp0 = $lock;
|
|
1448
|
+
$l$block_3: {
|
|
1437
1449
|
// Inline function 'org.kodein.di.internal.synchronizedIfNotNull' call
|
|
1438
|
-
if (this$0.
|
|
1439
|
-
|
|
1440
|
-
break $l$block_1;
|
|
1450
|
+
if (this$0.z65_1 == null) {
|
|
1451
|
+
break $l$block_3;
|
|
1441
1452
|
}
|
|
1442
1453
|
// Inline function 'org.kodein.di.internal.maySynchronized' call
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1454
|
+
if (tmp0 == null) {
|
|
1455
|
+
$l$block_0: {
|
|
1456
|
+
var tmp0_elvis_lhs = this$0.z65_1;
|
|
1457
|
+
var tmp;
|
|
1458
|
+
if (tmp0_elvis_lhs == null) {
|
|
1459
|
+
break $l$block_0;
|
|
1460
|
+
} else {
|
|
1461
|
+
tmp = tmp0_elvis_lhs;
|
|
1462
|
+
}
|
|
1463
|
+
var value = tmp;
|
|
1464
|
+
this$0.z65_1 = null;
|
|
1465
|
+
$init();
|
|
1466
|
+
break $l$block_3;
|
|
1467
|
+
}
|
|
1468
|
+
} else {
|
|
1469
|
+
// Inline function 'kotlinx.atomicfu.locks.synchronized' call
|
|
1470
|
+
$l$block_2: {
|
|
1471
|
+
var tmp0_elvis_lhs_0 = this$0.z65_1;
|
|
1472
|
+
var tmp_0;
|
|
1473
|
+
if (tmp0_elvis_lhs_0 == null) {
|
|
1474
|
+
break $l$block_2;
|
|
1475
|
+
} else {
|
|
1476
|
+
tmp_0 = tmp0_elvis_lhs_0;
|
|
1477
|
+
}
|
|
1478
|
+
var value_0 = tmp_0;
|
|
1479
|
+
this$0.z65_1 = null;
|
|
1480
|
+
$init();
|
|
1481
|
+
break $l$block_3;
|
|
1451
1482
|
}
|
|
1452
|
-
var value = tmp;
|
|
1453
|
-
this$0.g61_1 = null;
|
|
1454
|
-
$init();
|
|
1455
|
-
break $l$block_1;
|
|
1456
1483
|
}
|
|
1457
|
-
// Inline function 'org.kodein.di.internal.DIContainerImpl.<init>.<anonymous>.<anonymous>' call
|
|
1458
1484
|
}
|
|
1459
1485
|
return Unit_instance;
|
|
1460
1486
|
};
|
|
1461
1487
|
}
|
|
1488
|
+
function DI$Key$_get_fullDescription_$ref_ncsvgx(p0) {
|
|
1489
|
+
return function () {
|
|
1490
|
+
return p0.r60();
|
|
1491
|
+
};
|
|
1492
|
+
}
|
|
1493
|
+
function DI$Key$_get_description_$ref_pfaykg(p0) {
|
|
1494
|
+
return function () {
|
|
1495
|
+
return p0.p60();
|
|
1496
|
+
};
|
|
1497
|
+
}
|
|
1462
1498
|
function DIContainerImpl$factory$lambda(_this__u8e3s4, it) {
|
|
1463
1499
|
return fullDescription(_this__u8e3s4, it);
|
|
1464
1500
|
}
|
|
@@ -1466,138 +1502,137 @@
|
|
|
1466
1502
|
return description(_this__u8e3s4, it);
|
|
1467
1503
|
}
|
|
1468
1504
|
function DIContainerImpl(tree, node, fullDescriptionOnError, fullContainerTreeOnError) {
|
|
1469
|
-
this.
|
|
1470
|
-
this.
|
|
1471
|
-
this.
|
|
1472
|
-
this.
|
|
1473
|
-
this.
|
|
1505
|
+
this.v65_1 = tree;
|
|
1506
|
+
this.w65_1 = node;
|
|
1507
|
+
this.x65_1 = fullDescriptionOnError;
|
|
1508
|
+
this.y65_1 = fullContainerTreeOnError;
|
|
1509
|
+
this.z65_1 = null;
|
|
1474
1510
|
}
|
|
1475
|
-
protoOf(DIContainerImpl).
|
|
1511
|
+
protoOf(DIContainerImpl).b62 = function (key, context, overrideLevel) {
|
|
1476
1512
|
// Inline function 'kotlin.let' call
|
|
1477
|
-
|
|
1478
|
-
var it = this.c61_1.p5x(key, 0);
|
|
1513
|
+
var it = this.v65_1.i62(key, 0);
|
|
1479
1514
|
if (it.m() === 1) {
|
|
1480
1515
|
var _destruct__k2r9zo = it.o(0);
|
|
1481
|
-
var definition = _destruct__k2r9zo.
|
|
1482
|
-
var translator = _destruct__k2r9zo.
|
|
1483
|
-
var
|
|
1484
|
-
if (
|
|
1516
|
+
var definition = _destruct__k2r9zo.hf();
|
|
1517
|
+
var translator = _destruct__k2r9zo.gm();
|
|
1518
|
+
var tmp0_safe_receiver = this.w65_1;
|
|
1519
|
+
if (tmp0_safe_receiver == null)
|
|
1485
1520
|
null;
|
|
1486
1521
|
else {
|
|
1487
|
-
|
|
1522
|
+
tmp0_safe_receiver.a66(key, 0);
|
|
1488
1523
|
}
|
|
1489
|
-
var tmp = Companion_instance_0.
|
|
1524
|
+
var tmp = Companion_instance_0.s61(key.j60_1, context);
|
|
1490
1525
|
var originalContext = isInterface(tmp, DIContext) ? tmp : THROW_CCE();
|
|
1491
|
-
var
|
|
1492
|
-
var kContext =
|
|
1526
|
+
var tmp2_elvis_lhs = translator == null ? null : toKContext(translator, createDirectDI(this, originalContext), context);
|
|
1527
|
+
var kContext = tmp2_elvis_lhs == null ? originalContext : tmp2_elvis_lhs;
|
|
1493
1528
|
if (!(key instanceof Key))
|
|
1494
1529
|
THROW_CCE();
|
|
1495
|
-
var bindingDI_0 = bindingDI(this, key, kContext, definition.
|
|
1496
|
-
return definition.
|
|
1530
|
+
var bindingDI_0 = bindingDI(this, key, kContext, definition.g60_1, overrideLevel);
|
|
1531
|
+
return definition.h60_1.b63(key, bindingDI_0);
|
|
1497
1532
|
}
|
|
1498
|
-
var bindingDI_1 = bindingDI(this, key, Companion_instance_0.
|
|
1533
|
+
var bindingDI_1 = bindingDI(this, key, Companion_instance_0.s61(key.j60_1, context), this.v65_1, overrideLevel);
|
|
1499
1534
|
// Inline function 'kotlin.collections.forEach' call
|
|
1500
|
-
var
|
|
1501
|
-
while (
|
|
1502
|
-
var element =
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
if (tmp42_safe_receiver == null)
|
|
1535
|
+
var _iterator__ex2g4s = this.v65_1.g62().j();
|
|
1536
|
+
while (_iterator__ex2g4s.k()) {
|
|
1537
|
+
var element = _iterator__ex2g4s.l();
|
|
1538
|
+
var tmp0_safe_receiver_0 = element.b66(bindingDI_1, key);
|
|
1539
|
+
if (tmp0_safe_receiver_0 == null)
|
|
1506
1540
|
null;
|
|
1507
1541
|
else {
|
|
1508
1542
|
// Inline function 'kotlin.let' call
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
if (tmp43_safe_receiver == null)
|
|
1543
|
+
var tmp0_safe_receiver_1 = this.w65_1;
|
|
1544
|
+
if (tmp0_safe_receiver_1 == null)
|
|
1512
1545
|
null;
|
|
1513
1546
|
else {
|
|
1514
|
-
|
|
1547
|
+
tmp0_safe_receiver_1.a66(key, 0);
|
|
1515
1548
|
}
|
|
1516
|
-
return
|
|
1549
|
+
return typeof tmp0_safe_receiver_0 === 'function' ? tmp0_safe_receiver_0 : THROW_CCE();
|
|
1517
1550
|
}
|
|
1518
1551
|
}
|
|
1519
1552
|
return null;
|
|
1520
1553
|
};
|
|
1521
|
-
protoOf(DIContainerImpl).
|
|
1522
|
-
var result = this.
|
|
1554
|
+
protoOf(DIContainerImpl).z61 = function (key, context, overrideLevel) {
|
|
1555
|
+
var result = this.v65_1.i62(key, overrideLevel);
|
|
1523
1556
|
if (result.m() === 1) {
|
|
1524
1557
|
var _destruct__k2r9zo = result.o(0);
|
|
1525
|
-
var definition = _destruct__k2r9zo.
|
|
1526
|
-
var translator = _destruct__k2r9zo.
|
|
1527
|
-
var
|
|
1528
|
-
if (
|
|
1558
|
+
var definition = _destruct__k2r9zo.hf();
|
|
1559
|
+
var translator = _destruct__k2r9zo.gm();
|
|
1560
|
+
var tmp0_safe_receiver = this.w65_1;
|
|
1561
|
+
if (tmp0_safe_receiver == null)
|
|
1529
1562
|
null;
|
|
1530
1563
|
else {
|
|
1531
|
-
|
|
1564
|
+
tmp0_safe_receiver.a66(key, overrideLevel);
|
|
1532
1565
|
}
|
|
1533
|
-
var tmp = Companion_instance_0.
|
|
1566
|
+
var tmp = Companion_instance_0.s61(key.j60_1, context);
|
|
1534
1567
|
var originalContext = isInterface(tmp, DIContext) ? tmp : THROW_CCE();
|
|
1535
|
-
var
|
|
1536
|
-
var kContext =
|
|
1568
|
+
var tmp2_elvis_lhs = translator == null ? null : toKContext(translator, createDirectDI(this, originalContext), context);
|
|
1569
|
+
var kContext = tmp2_elvis_lhs == null ? originalContext : tmp2_elvis_lhs;
|
|
1537
1570
|
if (!(key instanceof Key))
|
|
1538
1571
|
THROW_CCE();
|
|
1539
|
-
var bindingDI_0 = bindingDI(this, key, kContext, definition.
|
|
1540
|
-
return definition.
|
|
1572
|
+
var bindingDI_0 = bindingDI(this, key, kContext, definition.g60_1, overrideLevel);
|
|
1573
|
+
return definition.h60_1.b63(key, bindingDI_0);
|
|
1541
1574
|
}
|
|
1542
|
-
var bindingDI_1 = bindingDI(this, key, Companion_instance_0.
|
|
1575
|
+
var bindingDI_1 = bindingDI(this, key, Companion_instance_0.s61(key.j60_1, context), this.v65_1, overrideLevel);
|
|
1543
1576
|
// Inline function 'kotlin.collections.forEach' call
|
|
1544
|
-
var
|
|
1545
|
-
while (
|
|
1546
|
-
var element =
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
if (tmp46_safe_receiver == null)
|
|
1577
|
+
var _iterator__ex2g4s = this.v65_1.g62().j();
|
|
1578
|
+
while (_iterator__ex2g4s.k()) {
|
|
1579
|
+
var element = _iterator__ex2g4s.l();
|
|
1580
|
+
var tmp0_safe_receiver_0 = element.b66(bindingDI_1, key);
|
|
1581
|
+
if (tmp0_safe_receiver_0 == null)
|
|
1550
1582
|
null;
|
|
1551
1583
|
else {
|
|
1552
1584
|
// Inline function 'kotlin.let' call
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
if (tmp47_safe_receiver == null)
|
|
1585
|
+
var tmp0_safe_receiver_1 = this.w65_1;
|
|
1586
|
+
if (tmp0_safe_receiver_1 == null)
|
|
1556
1587
|
null;
|
|
1557
1588
|
else {
|
|
1558
|
-
|
|
1589
|
+
tmp0_safe_receiver_1.a66(key, overrideLevel);
|
|
1559
1590
|
}
|
|
1560
|
-
return
|
|
1591
|
+
return typeof tmp0_safe_receiver_0 === 'function' ? tmp0_safe_receiver_0 : THROW_CCE();
|
|
1561
1592
|
}
|
|
1562
1593
|
}
|
|
1563
1594
|
var withOverrides = !(overrideLevel === 0);
|
|
1564
|
-
var descProp = this.e61_1 ? fullDescription$factory_0(key) : description$factory_0(key);
|
|
1565
1595
|
var tmp_0;
|
|
1566
|
-
if (this.
|
|
1567
|
-
|
|
1596
|
+
if (this.x65_1) {
|
|
1597
|
+
var tmp_1 = KProperty0;
|
|
1598
|
+
tmp_0 = getPropertyCallableRef('fullDescription', 0, tmp_1, DI$Key$_get_fullDescription_$ref_ncsvgx(key), null);
|
|
1568
1599
|
} else {
|
|
1569
|
-
|
|
1600
|
+
var tmp_2 = KProperty0;
|
|
1601
|
+
tmp_0 = getPropertyCallableRef('description', 0, tmp_2, DI$Key$_get_description_$ref_pfaykg(key), null);
|
|
1570
1602
|
}
|
|
1571
|
-
var
|
|
1603
|
+
var descProp = tmp_0;
|
|
1604
|
+
var tmp_3;
|
|
1605
|
+
if (this.x65_1) {
|
|
1606
|
+
tmp_3 = DIContainerImpl$factory$lambda;
|
|
1607
|
+
} else {
|
|
1608
|
+
tmp_3 = DIContainerImpl$factory$lambda_0;
|
|
1609
|
+
}
|
|
1610
|
+
var descFun = tmp_3;
|
|
1572
1611
|
if (result.p()) {
|
|
1573
1612
|
// Inline function 'kotlin.text.buildString' call
|
|
1574
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1575
1613
|
// Inline function 'kotlin.apply' call
|
|
1576
1614
|
var this_0 = StringBuilder_init_$Create$();
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
this_0.s8('No binding found for ' + descProp.get());
|
|
1580
|
-
if (this.f61_1) {
|
|
1615
|
+
this_0.u8('No binding found for ' + descProp.get());
|
|
1616
|
+
if (this.y65_1) {
|
|
1581
1617
|
// Inline function 'kotlin.text.appendLine' call
|
|
1582
|
-
this_0.
|
|
1583
|
-
var forType = this.
|
|
1618
|
+
this_0.v8(_Char___init__impl__6a9atx(10));
|
|
1619
|
+
var forType = this.v65_1.j62(new SearchSpecs(VOID, VOID, key.l60_1));
|
|
1584
1620
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1585
1621
|
if (!forType.p()) {
|
|
1586
1622
|
// Inline function 'kotlin.collections.associate' call
|
|
1587
1623
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(forType, 10)), 16);
|
|
1588
1624
|
// Inline function 'kotlin.collections.associateTo' call
|
|
1589
1625
|
var destination = LinkedHashMap_init_$Create$_0(capacity);
|
|
1590
|
-
var
|
|
1591
|
-
while (
|
|
1592
|
-
var element_0 =
|
|
1626
|
+
var _iterator__ex2g4s_0 = forType.j();
|
|
1627
|
+
while (_iterator__ex2g4s_0.k()) {
|
|
1628
|
+
var element_0 = _iterator__ex2g4s_0.l();
|
|
1593
1629
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
destination.n2(pair.se_1, pair.te_1);
|
|
1630
|
+
var pair = to(element_0.dm_1, element_0.em_1);
|
|
1631
|
+
destination.k2(pair.ef_1, pair.ff_1);
|
|
1597
1632
|
}
|
|
1598
|
-
this_0.
|
|
1633
|
+
this_0.u8('Available bindings for this type:\n' + descFun(destination, withOverrides));
|
|
1599
1634
|
}
|
|
1600
|
-
this_0.
|
|
1635
|
+
this_0.u8('Registered in this DI container:\n' + descFun(this.v65_1.f62(), withOverrides));
|
|
1601
1636
|
}
|
|
1602
1637
|
var description = this_0.toString();
|
|
1603
1638
|
throw new NotFoundException(key, description);
|
|
@@ -1606,62 +1641,39 @@
|
|
|
1606
1641
|
var capacity_0 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(result, 10)), 16);
|
|
1607
1642
|
// Inline function 'kotlin.collections.associateTo' call
|
|
1608
1643
|
var destination_0 = LinkedHashMap_init_$Create$_0(capacity_0);
|
|
1609
|
-
var
|
|
1610
|
-
while (
|
|
1611
|
-
var element_1 =
|
|
1644
|
+
var _iterator__ex2g4s_1 = result.j();
|
|
1645
|
+
while (_iterator__ex2g4s_1.k()) {
|
|
1646
|
+
var element_1 = _iterator__ex2g4s_1.l();
|
|
1612
1647
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
destination_0.n2(pair_0.se_1, pair_0.te_1);
|
|
1648
|
+
var pair_0 = to(element_1.dm_1, ensureNotNull(this.v65_1.k62(element_1.dm_1)).em_1);
|
|
1649
|
+
destination_0.k2(pair_0.ef_1, pair_0.ff_1);
|
|
1616
1650
|
}
|
|
1617
1651
|
var potentials = destination_0;
|
|
1618
1652
|
// Inline function 'kotlin.collections.filter' call
|
|
1653
|
+
var tmp0 = this.v65_1.f62();
|
|
1619
1654
|
// Inline function 'kotlin.collections.filterTo' call
|
|
1620
|
-
var this_1 = this.c61_1.m5x();
|
|
1621
1655
|
var destination_1 = LinkedHashMap_init_$Create$();
|
|
1622
1656
|
// Inline function 'kotlin.collections.iterator' call
|
|
1623
|
-
var
|
|
1624
|
-
while (
|
|
1625
|
-
var element_2 =
|
|
1626
|
-
// Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>' call
|
|
1657
|
+
var _iterator__ex2g4s_2 = tmp0.s().j();
|
|
1658
|
+
while (_iterator__ex2g4s_2.k()) {
|
|
1659
|
+
var element_2 = _iterator__ex2g4s_2.l();
|
|
1627
1660
|
// Inline function 'kotlin.collections.component1' call
|
|
1628
1661
|
var key_0 = element_2.t();
|
|
1629
|
-
if (!potentials.
|
|
1630
|
-
destination_1.
|
|
1662
|
+
if (!potentials.i2().s1(key_0)) {
|
|
1663
|
+
destination_1.k2(element_2.t(), element_2.u());
|
|
1631
1664
|
}
|
|
1632
1665
|
}
|
|
1633
1666
|
var others = destination_1;
|
|
1634
1667
|
throw new NotFoundException(key, '' + potentials.m() + ' bindings found that match ' + key.toString() + ':\n' + descFun(potentials, withOverrides) + 'Other bindings registered in DI:\n' + descFun(others, withOverrides));
|
|
1635
1668
|
};
|
|
1636
|
-
function bindFullDescription$factory_0($b0) {
|
|
1637
|
-
return getPropertyCallableRef('bindFullDescription', 0, KProperty0, function () {
|
|
1638
|
-
return $b0.x5v();
|
|
1639
|
-
}, null);
|
|
1640
|
-
}
|
|
1641
|
-
function bindDescription$factory_0($b0) {
|
|
1642
|
-
return getPropertyCallableRef('bindDescription', 0, KProperty0, function () {
|
|
1643
|
-
return $b0.v5v();
|
|
1644
|
-
}, null);
|
|
1645
|
-
}
|
|
1646
|
-
function fullDescription$factory_0($b0) {
|
|
1647
|
-
return getPropertyCallableRef('fullDescription', 0, KProperty0, function () {
|
|
1648
|
-
return $b0.y5v();
|
|
1649
|
-
}, null);
|
|
1650
|
-
}
|
|
1651
|
-
function description$factory_0($b0) {
|
|
1652
|
-
return getPropertyCallableRef('description', 0, KProperty0, function () {
|
|
1653
|
-
return $b0.w5v();
|
|
1654
|
-
}, null);
|
|
1655
|
-
}
|
|
1656
1669
|
function newBuilder($this, allowSilentOverride, init) {
|
|
1657
1670
|
// Inline function 'kotlin.apply' call
|
|
1658
1671
|
var this_0 = new DIMainBuilderImpl(allowSilentOverride);
|
|
1659
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1660
1672
|
init(this_0);
|
|
1661
1673
|
return this_0;
|
|
1662
1674
|
}
|
|
1663
1675
|
function DIImpl_init_$Init$(builder, runCallbacks, $this) {
|
|
1664
|
-
DIImpl.call($this, DIContainerImpl_init_$Create$(builder.
|
|
1676
|
+
DIImpl.call($this, DIContainerImpl_init_$Create$(builder.a61(), builder.g62(), builder.n64(), builder.o64(), runCallbacks));
|
|
1665
1677
|
return $this;
|
|
1666
1678
|
}
|
|
1667
1679
|
function DIImpl_init_$Init$_0(allowSilentOverride, init, $this) {
|
|
@@ -1681,79 +1693,80 @@
|
|
|
1681
1693
|
function DIImpl$container$delegate$lambda(this$0) {
|
|
1682
1694
|
return function () {
|
|
1683
1695
|
var tmp;
|
|
1684
|
-
if (!(this$0.
|
|
1696
|
+
if (!(this$0.c66_1.z65_1 == null)) {
|
|
1685
1697
|
throw IllegalStateException_init_$Create$('DI has not been initialized');
|
|
1686
1698
|
}
|
|
1687
|
-
return this$0.
|
|
1699
|
+
return this$0.c66_1;
|
|
1700
|
+
};
|
|
1701
|
+
}
|
|
1702
|
+
function DIImpl$_get_container_$ref_luzrb4() {
|
|
1703
|
+
return function (p0) {
|
|
1704
|
+
return p0.m61();
|
|
1688
1705
|
};
|
|
1689
1706
|
}
|
|
1690
1707
|
function DIImpl(_container) {
|
|
1691
|
-
this.
|
|
1708
|
+
this.c66_1 = _container;
|
|
1692
1709
|
var tmp = this;
|
|
1693
|
-
tmp.
|
|
1710
|
+
tmp.d66_1 = lazy(DIImpl$container$delegate$lambda(this));
|
|
1694
1711
|
}
|
|
1695
|
-
protoOf(DIImpl).
|
|
1712
|
+
protoOf(DIImpl).m61 = function () {
|
|
1713
|
+
var tmp0 = this.d66_1;
|
|
1714
|
+
var tmp = KProperty1;
|
|
1696
1715
|
// Inline function 'kotlin.getValue' call
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
return this_0.u();
|
|
1716
|
+
getPropertyCallableRef('container', 1, tmp, DIImpl$_get_container_$ref_luzrb4(), null);
|
|
1717
|
+
return tmp0.u();
|
|
1700
1718
|
};
|
|
1701
1719
|
function BindingDIImpl(directDI, key, overrideLevel) {
|
|
1702
|
-
this.
|
|
1703
|
-
this.
|
|
1704
|
-
this.
|
|
1720
|
+
this.e66_1 = directDI;
|
|
1721
|
+
this.f66_1 = key;
|
|
1722
|
+
this.g66_1 = overrideLevel;
|
|
1705
1723
|
}
|
|
1706
|
-
protoOf(BindingDIImpl).
|
|
1707
|
-
return this.
|
|
1724
|
+
protoOf(BindingDIImpl).o62 = function () {
|
|
1725
|
+
return this.e66_1;
|
|
1708
1726
|
};
|
|
1709
|
-
protoOf(BindingDIImpl).
|
|
1710
|
-
|
|
1727
|
+
protoOf(BindingDIImpl).p9 = function () {
|
|
1728
|
+
var tmp = this.o62().l61().n61().u();
|
|
1729
|
+
return !(tmp == null) ? tmp : THROW_CCE();
|
|
1711
1730
|
};
|
|
1712
|
-
protoOf(BindingDIImpl).
|
|
1713
|
-
return this.
|
|
1731
|
+
protoOf(BindingDIImpl).c64 = function () {
|
|
1732
|
+
return new BindingDIImpl(this.o62().m62(ErasedContext_instance), this.f66_1, this.g66_1);
|
|
1714
1733
|
};
|
|
1715
|
-
protoOf(BindingDIImpl).
|
|
1716
|
-
return this.
|
|
1734
|
+
protoOf(BindingDIImpl).l62 = function () {
|
|
1735
|
+
return this.e66_1.l62();
|
|
1717
1736
|
};
|
|
1718
|
-
protoOf(BindingDIImpl).
|
|
1719
|
-
return this.
|
|
1737
|
+
protoOf(BindingDIImpl).l61 = function () {
|
|
1738
|
+
return this.e66_1.l61();
|
|
1720
1739
|
};
|
|
1721
|
-
protoOf(BindingDIImpl).
|
|
1722
|
-
|
|
1723
|
-
return !(tmp == null) ? tmp : THROW_CCE();
|
|
1740
|
+
protoOf(BindingDIImpl).m62 = function (context) {
|
|
1741
|
+
return this.e66_1.m62(context);
|
|
1724
1742
|
};
|
|
1725
|
-
protoOf(BindingDIImpl).
|
|
1726
|
-
return
|
|
1743
|
+
protoOf(BindingDIImpl).n62 = function (type, tag) {
|
|
1744
|
+
return this.e66_1.n62(type, tag);
|
|
1727
1745
|
};
|
|
1728
|
-
function container$factory() {
|
|
1729
|
-
return getPropertyCallableRef('container', 1, KProperty1, function (receiver) {
|
|
1730
|
-
return receiver.t5w();
|
|
1731
|
-
}, null);
|
|
1732
|
-
}
|
|
1733
1746
|
function findBySpecs($this, specs) {
|
|
1734
|
-
var bindSeq = asSequence($this.
|
|
1735
|
-
var specsBindType = specs.
|
|
1736
|
-
if (!(specsBindType == null) && !equals(specsBindType, Companion_getInstance().
|
|
1747
|
+
var bindSeq = asSequence($this.k66_1);
|
|
1748
|
+
var specsBindType = specs.r62_1;
|
|
1749
|
+
if (!(specsBindType == null) && !equals(specsBindType, Companion_getInstance().n5z_1)) {
|
|
1737
1750
|
var tmp = bindSeq;
|
|
1738
1751
|
bindSeq = filter(tmp, DITreeImpl$findBySpecs$lambda(specsBindType));
|
|
1739
1752
|
}
|
|
1740
1753
|
var tmp_0 = bindSeq;
|
|
1741
1754
|
var contextSeq = flatMap(tmp_0, DITreeImpl$findBySpecs$lambda_0);
|
|
1742
|
-
var specsContextType = specs.
|
|
1755
|
+
var specsContextType = specs.p62_1;
|
|
1743
1756
|
if (!(specsContextType == null)) {
|
|
1744
1757
|
var tmp_1 = contextSeq;
|
|
1745
1758
|
contextSeq = mapNotNull(tmp_1, DITreeImpl$findBySpecs$lambda_1(specsContextType, $this));
|
|
1746
1759
|
}
|
|
1747
1760
|
var tmp_2 = contextSeq;
|
|
1748
1761
|
var argSeq = flatMap(tmp_2, DITreeImpl$findBySpecs$lambda_2);
|
|
1749
|
-
var specsArgType = specs.
|
|
1762
|
+
var specsArgType = specs.q62_1;
|
|
1750
1763
|
if (!(specsArgType == null)) {
|
|
1751
1764
|
var tmp_3 = argSeq;
|
|
1752
1765
|
argSeq = filter(tmp_3, DITreeImpl$findBySpecs$lambda_3(specsArgType));
|
|
1753
1766
|
}
|
|
1754
1767
|
var tmp_4 = argSeq;
|
|
1755
1768
|
var tagSeq = flatMap(tmp_4, DITreeImpl$findBySpecs$lambda_4);
|
|
1756
|
-
var specsTag = specs.
|
|
1769
|
+
var specsTag = specs.s62_1;
|
|
1757
1770
|
if (!equals(specsTag, NoDefinedTag_instance)) {
|
|
1758
1771
|
var tmp_5 = tagSeq;
|
|
1759
1772
|
tagSeq = filter(tmp_5, DITreeImpl$findBySpecs$lambda_5(specsTag));
|
|
@@ -1763,16 +1776,16 @@
|
|
|
1763
1776
|
return toList(resultSeq);
|
|
1764
1777
|
}
|
|
1765
1778
|
function notInMap($this, result, request) {
|
|
1766
|
-
var tmp = result.
|
|
1767
|
-
var tmp_0 = request.
|
|
1768
|
-
var tmp_1 = $this.
|
|
1779
|
+
var tmp = result.x60();
|
|
1780
|
+
var tmp_0 = request.x60();
|
|
1781
|
+
var tmp_1 = $this.j66_1.i2();
|
|
1769
1782
|
return IllegalStateException_init_$Create$('Tree returned key ' + tmp + ' that is not in cache when searching for ' + tmp_0 + '.\nKeys in cache:\n' + joinToString(tmp_1, '\n', VOID, VOID, VOID, VOID, DITreeImpl$notInMap$lambda));
|
|
1770
1783
|
}
|
|
1771
1784
|
function DITreeImpl$findBySpecs$lambda($specsBindType) {
|
|
1772
1785
|
return function (_destruct__k2r9zo) {
|
|
1773
1786
|
// Inline function 'kotlin.collections.component1' call
|
|
1774
1787
|
var bindType = _destruct__k2r9zo.t();
|
|
1775
|
-
return bindType.
|
|
1788
|
+
return bindType.n66($specsBindType);
|
|
1776
1789
|
};
|
|
1777
1790
|
}
|
|
1778
1791
|
function DITreeImpl$findBySpecs$lambda_0(_destruct__k2r9zo) {
|
|
@@ -1786,19 +1799,19 @@
|
|
|
1786
1799
|
}
|
|
1787
1800
|
function DITreeImpl$findBySpecs$lambda_1($specsContextType, this$0) {
|
|
1788
1801
|
return function (triple) {
|
|
1789
|
-
var contextType = triple.
|
|
1802
|
+
var contextType = triple.gf();
|
|
1790
1803
|
var tmp;
|
|
1791
|
-
if (contextType.
|
|
1804
|
+
if (contextType.n66($specsContextType)) {
|
|
1792
1805
|
tmp = triple;
|
|
1793
1806
|
} else {
|
|
1807
|
+
var tmp0 = this$0.m66_1;
|
|
1794
1808
|
var tmp$ret$1;
|
|
1795
1809
|
$l$block: {
|
|
1796
1810
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
1797
|
-
var
|
|
1798
|
-
while (
|
|
1799
|
-
var element =
|
|
1800
|
-
|
|
1801
|
-
if (element.l5w().d5v($specsContextType) && contextType.u61(element.m5y())) {
|
|
1811
|
+
var _iterator__ex2g4s = tmp0.j();
|
|
1812
|
+
while (_iterator__ex2g4s.k()) {
|
|
1813
|
+
var element = _iterator__ex2g4s.l();
|
|
1814
|
+
if (element.e61().w5z($specsContextType) && contextType.n66(element.f63())) {
|
|
1802
1815
|
tmp$ret$1 = element;
|
|
1803
1816
|
break $l$block;
|
|
1804
1817
|
}
|
|
@@ -1806,14 +1819,14 @@
|
|
|
1806
1819
|
tmp$ret$1 = null;
|
|
1807
1820
|
}
|
|
1808
1821
|
var translator = tmp$ret$1;
|
|
1809
|
-
tmp = !(translator == null) ? triple.
|
|
1822
|
+
tmp = !(translator == null) ? triple.im(VOID, VOID, translator) : null;
|
|
1810
1823
|
}
|
|
1811
1824
|
return tmp;
|
|
1812
1825
|
};
|
|
1813
1826
|
}
|
|
1814
1827
|
function DITreeImpl$findBySpecs$lambda_2(_destruct__k2r9zo) {
|
|
1815
|
-
var argumentTree = _destruct__k2r9zo.
|
|
1816
|
-
var translator = _destruct__k2r9zo.
|
|
1828
|
+
var argumentTree = _destruct__k2r9zo.hf();
|
|
1829
|
+
var translator = _destruct__k2r9zo.gm();
|
|
1817
1830
|
var tmp = asSequence(argumentTree);
|
|
1818
1831
|
return map(tmp, DITreeImpl$findBySpecs$lambda$lambda_0(translator));
|
|
1819
1832
|
}
|
|
@@ -1824,13 +1837,13 @@
|
|
|
1824
1837
|
}
|
|
1825
1838
|
function DITreeImpl$findBySpecs$lambda_3($specsArgType) {
|
|
1826
1839
|
return function (_destruct__k2r9zo) {
|
|
1827
|
-
var argType = _destruct__k2r9zo.
|
|
1828
|
-
return argType.
|
|
1840
|
+
var argType = _destruct__k2r9zo.gf();
|
|
1841
|
+
return argType.n66($specsArgType);
|
|
1829
1842
|
};
|
|
1830
1843
|
}
|
|
1831
1844
|
function DITreeImpl$findBySpecs$lambda_4(_destruct__k2r9zo) {
|
|
1832
|
-
var tagTree = _destruct__k2r9zo.
|
|
1833
|
-
var translator = _destruct__k2r9zo.
|
|
1845
|
+
var tagTree = _destruct__k2r9zo.hf();
|
|
1846
|
+
var translator = _destruct__k2r9zo.gm();
|
|
1834
1847
|
var tmp = asSequence(tagTree);
|
|
1835
1848
|
return map(tmp, DITreeImpl$findBySpecs$lambda$lambda_1(translator));
|
|
1836
1849
|
}
|
|
@@ -1841,30 +1854,29 @@
|
|
|
1841
1854
|
}
|
|
1842
1855
|
function DITreeImpl$findBySpecs$lambda_5($specsTag) {
|
|
1843
1856
|
return function (_destruct__k2r9zo) {
|
|
1844
|
-
var tag = _destruct__k2r9zo.
|
|
1857
|
+
var tag = _destruct__k2r9zo.gf();
|
|
1845
1858
|
return equals(tag, $specsTag);
|
|
1846
1859
|
};
|
|
1847
1860
|
}
|
|
1848
1861
|
function DITreeImpl$findBySpecs$lambda_6(_destruct__k2r9zo) {
|
|
1849
|
-
var key = _destruct__k2r9zo.
|
|
1850
|
-
var translator = _destruct__k2r9zo.
|
|
1862
|
+
var key = _destruct__k2r9zo.hf();
|
|
1863
|
+
var translator = _destruct__k2r9zo.gm();
|
|
1851
1864
|
return to(key, translator);
|
|
1852
1865
|
}
|
|
1853
1866
|
function DITreeImpl$notInMap$lambda(it) {
|
|
1854
|
-
return it.
|
|
1867
|
+
return it.x60();
|
|
1855
1868
|
}
|
|
1856
1869
|
function DITreeImpl(map, externalSources, registeredTranslators) {
|
|
1857
|
-
this.
|
|
1858
|
-
this.
|
|
1859
|
-
this.
|
|
1860
|
-
this.
|
|
1861
|
-
this.
|
|
1870
|
+
this.h66_1 = externalSources;
|
|
1871
|
+
this.i66_1 = registeredTranslators;
|
|
1872
|
+
this.j66_1 = newConcurrentMap();
|
|
1873
|
+
this.k66_1 = HashMap_init_$Create$();
|
|
1874
|
+
this.m66_1 = ArrayList_init_$Create$_1(this.i66_1);
|
|
1862
1875
|
// Inline function 'kotlin.collections.forEach' call
|
|
1863
1876
|
// Inline function 'kotlin.collections.iterator' call
|
|
1864
|
-
var
|
|
1865
|
-
while (
|
|
1866
|
-
var element =
|
|
1867
|
-
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>' call
|
|
1877
|
+
var _iterator__ex2g4s = map.s().j();
|
|
1878
|
+
while (_iterator__ex2g4s.k()) {
|
|
1879
|
+
var element = _iterator__ex2g4s.l();
|
|
1868
1880
|
// Inline function 'kotlin.collections.component1' call
|
|
1869
1881
|
var key = element.t();
|
|
1870
1882
|
// Inline function 'kotlin.collections.component2' call
|
|
@@ -1872,121 +1884,114 @@
|
|
|
1872
1884
|
// Inline function 'kotlin.collections.map' call
|
|
1873
1885
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1874
1886
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(bindings, 10));
|
|
1875
|
-
var
|
|
1876
|
-
while (
|
|
1877
|
-
var item =
|
|
1878
|
-
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
|
|
1887
|
+
var _iterator__ex2g4s_0 = bindings.j();
|
|
1888
|
+
while (_iterator__ex2g4s_0.k()) {
|
|
1889
|
+
var item = _iterator__ex2g4s_0.l();
|
|
1879
1890
|
var tmp;
|
|
1880
1891
|
if (item instanceof DIDefinition) {
|
|
1881
1892
|
tmp = item;
|
|
1882
1893
|
} else {
|
|
1883
|
-
tmp = new DIDefinition(item.
|
|
1894
|
+
tmp = new DIDefinition(item.h60_1, item.i60_1, this);
|
|
1884
1895
|
}
|
|
1885
1896
|
var tmp$ret$3 = tmp;
|
|
1886
1897
|
destination.e(tmp$ret$3);
|
|
1887
1898
|
}
|
|
1888
1899
|
var definitions = destination;
|
|
1900
|
+
var tmp0 = this.j66_1;
|
|
1889
1901
|
// Inline function 'kotlin.collections.set' call
|
|
1890
|
-
var this_0 = this.q61_1;
|
|
1891
1902
|
var value = new Triple(key, definitions, null);
|
|
1892
|
-
|
|
1893
|
-
var typeChecker = first(bindings).
|
|
1903
|
+
tmp0.k2(key, value);
|
|
1904
|
+
var typeChecker = first(bindings).h60_1.a63() ? new Down(key.l60_1) : new Up(key.l60_1);
|
|
1894
1905
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1895
|
-
var
|
|
1896
|
-
var value_0 =
|
|
1906
|
+
var this_0 = this.k66_1;
|
|
1907
|
+
var value_0 = this_0.h2(typeChecker);
|
|
1897
1908
|
var tmp_0;
|
|
1898
1909
|
if (value_0 == null) {
|
|
1899
|
-
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
|
|
1900
1910
|
var answer = HashMap_init_$Create$();
|
|
1901
|
-
|
|
1911
|
+
this_0.k2(typeChecker, answer);
|
|
1902
1912
|
tmp_0 = answer;
|
|
1903
1913
|
} else {
|
|
1904
1914
|
tmp_0 = value_0;
|
|
1905
1915
|
}
|
|
1906
1916
|
var contextTree = tmp_0;
|
|
1907
1917
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1908
|
-
var key_0 = new Down(key.
|
|
1909
|
-
var value_1 = contextTree.
|
|
1918
|
+
var key_0 = new Down(key.j60_1);
|
|
1919
|
+
var value_1 = contextTree.h2(key_0);
|
|
1910
1920
|
var tmp_1;
|
|
1911
1921
|
if (value_1 == null) {
|
|
1912
|
-
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
|
|
1913
1922
|
var answer_0 = HashMap_init_$Create$();
|
|
1914
|
-
contextTree.
|
|
1923
|
+
contextTree.k2(key_0, answer_0);
|
|
1915
1924
|
tmp_1 = answer_0;
|
|
1916
1925
|
} else {
|
|
1917
1926
|
tmp_1 = value_1;
|
|
1918
1927
|
}
|
|
1919
1928
|
var argumentTree = tmp_1;
|
|
1920
1929
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1921
|
-
var key_1 = new Down(key.
|
|
1922
|
-
var value_2 = argumentTree.
|
|
1930
|
+
var key_1 = new Down(key.k60_1);
|
|
1931
|
+
var value_2 = argumentTree.h2(key_1);
|
|
1923
1932
|
var tmp_2;
|
|
1924
1933
|
if (value_2 == null) {
|
|
1925
|
-
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
|
|
1926
1934
|
var answer_1 = HashMap_init_$Create$();
|
|
1927
|
-
argumentTree.
|
|
1935
|
+
argumentTree.k2(key_1, answer_1);
|
|
1928
1936
|
tmp_2 = answer_1;
|
|
1929
1937
|
} else {
|
|
1930
1938
|
tmp_2 = value_2;
|
|
1931
1939
|
}
|
|
1932
1940
|
var tagTree = tmp_2;
|
|
1933
1941
|
// Inline function 'kotlin.collections.set' call
|
|
1934
|
-
var key_2 = key.
|
|
1935
|
-
tagTree.
|
|
1942
|
+
var key_2 = key.m60_1;
|
|
1943
|
+
tagTree.k2(key_2, key);
|
|
1936
1944
|
}
|
|
1937
1945
|
var tmp_3 = this;
|
|
1938
1946
|
// Inline function 'kotlin.collections.mapValues' call
|
|
1939
|
-
var
|
|
1947
|
+
var this_1 = this.j66_1;
|
|
1940
1948
|
// Inline function 'kotlin.collections.mapValuesTo' call
|
|
1941
|
-
var destination_0 = LinkedHashMap_init_$Create$_0(mapCapacity(
|
|
1949
|
+
var destination_0 = LinkedHashMap_init_$Create$_0(mapCapacity(this_1.m()));
|
|
1942
1950
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
1943
|
-
var
|
|
1944
|
-
while (
|
|
1945
|
-
var element_0 =
|
|
1946
|
-
// Inline function 'kotlin.collections.mapValuesTo.<anonymous>' call
|
|
1951
|
+
var _iterator__ex2g4s_1 = this_1.s().j();
|
|
1952
|
+
while (_iterator__ex2g4s_1.k()) {
|
|
1953
|
+
var element_0 = _iterator__ex2g4s_1.l();
|
|
1947
1954
|
var tmp_4 = element_0.t();
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
destination_0.n2(tmp_4, tmp$ret$13);
|
|
1955
|
+
var tmp$ret$17 = element_0.u().em_1;
|
|
1956
|
+
destination_0.k2(tmp_4, tmp$ret$17);
|
|
1951
1957
|
}
|
|
1952
|
-
tmp_3.
|
|
1958
|
+
tmp_3.l66_1 = HashMap_init_$Create$_0(destination_0);
|
|
1953
1959
|
$l$loop: while (true) {
|
|
1954
1960
|
var added = ArrayList_init_$Create$();
|
|
1955
|
-
var
|
|
1956
|
-
while (
|
|
1957
|
-
var src =
|
|
1958
|
-
var
|
|
1959
|
-
while (
|
|
1960
|
-
var dst =
|
|
1961
|
-
if (dst.
|
|
1962
|
-
var
|
|
1961
|
+
var _iterator__ex2g4s_2 = this.m66_1.j();
|
|
1962
|
+
while (_iterator__ex2g4s_2.k()) {
|
|
1963
|
+
var src = _iterator__ex2g4s_2.l();
|
|
1964
|
+
var _iterator__ex2g4s_3 = this.m66_1.j();
|
|
1965
|
+
while (_iterator__ex2g4s_3.k()) {
|
|
1966
|
+
var dst = _iterator__ex2g4s_3.l();
|
|
1967
|
+
if (dst.e61().w5z(src.f63()) && !equals(src.e61(), dst.f63())) {
|
|
1968
|
+
var tmp0_0 = this.m66_1;
|
|
1969
|
+
var tmp$ret$21;
|
|
1963
1970
|
$l$block_0: {
|
|
1964
1971
|
// Inline function 'kotlin.collections.none' call
|
|
1965
|
-
var this_3 = this.t61_1;
|
|
1966
1972
|
var tmp_5;
|
|
1967
|
-
if (isInterface(
|
|
1968
|
-
tmp_5 =
|
|
1973
|
+
if (isInterface(tmp0_0, Collection)) {
|
|
1974
|
+
tmp_5 = tmp0_0.p();
|
|
1969
1975
|
} else {
|
|
1970
1976
|
tmp_5 = false;
|
|
1971
1977
|
}
|
|
1972
1978
|
if (tmp_5) {
|
|
1973
|
-
tmp$ret$
|
|
1979
|
+
tmp$ret$21 = true;
|
|
1974
1980
|
break $l$block_0;
|
|
1975
1981
|
}
|
|
1976
|
-
var
|
|
1977
|
-
while (
|
|
1978
|
-
var element_1 =
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
tmp$ret$17 = false;
|
|
1982
|
+
var _iterator__ex2g4s_4 = tmp0_0.j();
|
|
1983
|
+
while (_iterator__ex2g4s_4.k()) {
|
|
1984
|
+
var element_1 = _iterator__ex2g4s_4.l();
|
|
1985
|
+
if (equals(element_1.e61(), src.e61()) && equals(element_1.f63(), dst.f63())) {
|
|
1986
|
+
tmp$ret$21 = false;
|
|
1982
1987
|
break $l$block_0;
|
|
1983
1988
|
}
|
|
1984
1989
|
}
|
|
1985
|
-
tmp$ret$
|
|
1990
|
+
tmp$ret$21 = true;
|
|
1986
1991
|
}
|
|
1987
|
-
if (tmp$ret$
|
|
1988
|
-
// Inline function 'kotlin.collections.plusAssign' call
|
|
1992
|
+
if (tmp$ret$21) {
|
|
1989
1993
|
var tmp_6 = isInterface(src, ContextTranslator) ? src : THROW_CCE();
|
|
1994
|
+
// Inline function 'kotlin.collections.plusAssign' call
|
|
1990
1995
|
var element_2 = new CompositeContextTranslator(tmp_6, isInterface(dst, ContextTranslator) ? dst : THROW_CCE());
|
|
1991
1996
|
added.e(element_2);
|
|
1992
1997
|
}
|
|
@@ -1994,29 +1999,28 @@
|
|
|
1994
1999
|
}
|
|
1995
2000
|
}
|
|
1996
2001
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1997
|
-
var
|
|
1998
|
-
addAll(
|
|
2002
|
+
var this_2 = this.m66_1;
|
|
2003
|
+
addAll(this_2, added);
|
|
1999
2004
|
if (added.p())
|
|
2000
2005
|
break $l$loop;
|
|
2001
2006
|
}
|
|
2002
2007
|
}
|
|
2003
|
-
protoOf(DITreeImpl).
|
|
2004
|
-
return this.
|
|
2008
|
+
protoOf(DITreeImpl).g62 = function () {
|
|
2009
|
+
return this.h66_1;
|
|
2005
2010
|
};
|
|
2006
|
-
protoOf(DITreeImpl).
|
|
2007
|
-
return this.
|
|
2011
|
+
protoOf(DITreeImpl).f62 = function () {
|
|
2012
|
+
return this.l66_1;
|
|
2008
2013
|
};
|
|
2009
|
-
protoOf(DITreeImpl).
|
|
2014
|
+
protoOf(DITreeImpl).h62 = function (key, overrideLevel, all) {
|
|
2010
2015
|
if (!all) {
|
|
2011
|
-
var
|
|
2012
|
-
if (
|
|
2016
|
+
var tmp0_safe_receiver = this.j66_1.h2(key);
|
|
2017
|
+
if (tmp0_safe_receiver == null)
|
|
2013
2018
|
null;
|
|
2014
2019
|
else {
|
|
2015
2020
|
// Inline function 'kotlin.let' call
|
|
2016
|
-
|
|
2017
|
-
var
|
|
2018
|
-
var
|
|
2019
|
-
var translator = tmp52_safe_receiver.wk();
|
|
2021
|
+
var realKey = tmp0_safe_receiver.gf();
|
|
2022
|
+
var list = tmp0_safe_receiver.hf();
|
|
2023
|
+
var translator = tmp0_safe_receiver.gm();
|
|
2020
2024
|
var tmp0_elvis_lhs = getOrNull(list, overrideLevel);
|
|
2021
2025
|
var tmp;
|
|
2022
2026
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -2029,24 +2033,22 @@
|
|
|
2029
2033
|
var tmp_1 = definition instanceof DIDefinition ? definition : THROW_CCE();
|
|
2030
2034
|
return listOf(new Triple(tmp_0, tmp_1, (translator == null ? true : isInterface(translator, ContextTranslator)) ? translator : THROW_CCE()));
|
|
2031
2035
|
}
|
|
2032
|
-
if (!equals(key.
|
|
2033
|
-
var anyContextKey = key.
|
|
2034
|
-
var
|
|
2035
|
-
if (
|
|
2036
|
+
if (!equals(key.j60_1, Companion_getInstance().n5z_1)) {
|
|
2037
|
+
var anyContextKey = key.z60(Companion_getInstance().n5z_1);
|
|
2038
|
+
var tmp1_safe_receiver = this.j66_1.h2(anyContextKey);
|
|
2039
|
+
if (tmp1_safe_receiver == null)
|
|
2036
2040
|
null;
|
|
2037
2041
|
else {
|
|
2038
2042
|
// Inline function 'kotlin.let' call
|
|
2039
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
2040
2043
|
$l$block: {
|
|
2041
|
-
|
|
2042
|
-
var
|
|
2043
|
-
var
|
|
2044
|
-
|
|
2045
|
-
if (!(translator_0 == null) && !equals(translator_0.l5w(), key.q5v_1)) {
|
|
2044
|
+
var realKey_0 = tmp1_safe_receiver.gf();
|
|
2045
|
+
var list_0 = tmp1_safe_receiver.hf();
|
|
2046
|
+
var translator_0 = tmp1_safe_receiver.gm();
|
|
2047
|
+
if (!(translator_0 == null) && !equals(translator_0.e61(), key.j60_1)) {
|
|
2046
2048
|
break $l$block;
|
|
2047
2049
|
}
|
|
2048
2050
|
// Inline function 'kotlin.collections.set' call
|
|
2049
|
-
this.
|
|
2051
|
+
this.j66_1.k2(key, tmp1_safe_receiver);
|
|
2050
2052
|
var tmp0_elvis_lhs_0 = getOrNull(list_0, overrideLevel);
|
|
2051
2053
|
var tmp_2;
|
|
2052
2054
|
if (tmp0_elvis_lhs_0 == null) {
|
|
@@ -2062,68 +2064,62 @@
|
|
|
2062
2064
|
}
|
|
2063
2065
|
}
|
|
2064
2066
|
// Inline function 'kotlin.collections.filter' call
|
|
2067
|
+
var tmp0 = this.m66_1;
|
|
2065
2068
|
// Inline function 'kotlin.collections.filterTo' call
|
|
2066
|
-
var this_0 = this.t61_1;
|
|
2067
2069
|
var destination = ArrayList_init_$Create$();
|
|
2068
|
-
var
|
|
2069
|
-
while (
|
|
2070
|
-
var element =
|
|
2071
|
-
|
|
2072
|
-
if (equals(element.l5w(), key.q5v_1)) {
|
|
2070
|
+
var _iterator__ex2g4s = tmp0.j();
|
|
2071
|
+
while (_iterator__ex2g4s.k()) {
|
|
2072
|
+
var element = _iterator__ex2g4s.l();
|
|
2073
|
+
if (equals(element.e61(), key.j60_1)) {
|
|
2073
2074
|
destination.e(element);
|
|
2074
2075
|
}
|
|
2075
2076
|
}
|
|
2076
2077
|
var tmp_5 = destination;
|
|
2077
2078
|
// Inline function 'kotlin.collections.filter' call
|
|
2079
|
+
var tmp0_0 = this.m66_1;
|
|
2078
2080
|
// Inline function 'kotlin.collections.filterTo' call
|
|
2079
|
-
var this_1 = this.t61_1;
|
|
2080
2081
|
var destination_0 = ArrayList_init_$Create$();
|
|
2081
|
-
var
|
|
2082
|
-
while (
|
|
2083
|
-
var element_0 =
|
|
2084
|
-
|
|
2085
|
-
if (equals(element_0.l5w(), Companion_getInstance().u5u_1)) {
|
|
2082
|
+
var _iterator__ex2g4s_0 = tmp0_0.j();
|
|
2083
|
+
while (_iterator__ex2g4s_0.k()) {
|
|
2084
|
+
var element_0 = _iterator__ex2g4s_0.l();
|
|
2085
|
+
if (equals(element_0.e61(), Companion_getInstance().n5z_1)) {
|
|
2086
2086
|
destination_0.e(element_0);
|
|
2087
2087
|
}
|
|
2088
2088
|
}
|
|
2089
2089
|
var applicableTranslators = plus(tmp_5, destination_0);
|
|
2090
|
-
var
|
|
2091
|
-
while (
|
|
2092
|
-
var translator_1 =
|
|
2093
|
-
var translatedKey = new Key(translator_1.
|
|
2094
|
-
var
|
|
2090
|
+
var _iterator__ex2g4s_1 = applicableTranslators.j();
|
|
2091
|
+
while (_iterator__ex2g4s_1.k()) {
|
|
2092
|
+
var translator_1 = _iterator__ex2g4s_1.l();
|
|
2093
|
+
var translatedKey = new Key(translator_1.f63(), key.k60_1, key.l60_1, key.m60_1);
|
|
2094
|
+
var tmp2_safe_receiver = this.j66_1.h2(translatedKey);
|
|
2095
2095
|
var tmp_6;
|
|
2096
|
-
if (
|
|
2096
|
+
if (tmp2_safe_receiver == null) {
|
|
2097
2097
|
tmp_6 = null;
|
|
2098
2098
|
} else {
|
|
2099
2099
|
// Inline function 'kotlin.takeIf' call
|
|
2100
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
2101
2100
|
var tmp_7;
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
tmp_7 = tmp54_safe_receiver;
|
|
2101
|
+
if (tmp2_safe_receiver.fm_1 == null) {
|
|
2102
|
+
tmp_7 = tmp2_safe_receiver;
|
|
2105
2103
|
} else {
|
|
2106
2104
|
tmp_7 = null;
|
|
2107
2105
|
}
|
|
2108
2106
|
tmp_6 = tmp_7;
|
|
2109
2107
|
}
|
|
2110
|
-
var
|
|
2111
|
-
if (
|
|
2108
|
+
var tmp3_safe_receiver = tmp_6;
|
|
2109
|
+
if (tmp3_safe_receiver == null)
|
|
2112
2110
|
null;
|
|
2113
2111
|
else {
|
|
2114
2112
|
// Inline function 'kotlin.let' call
|
|
2115
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
2116
2113
|
$l$block_0: {
|
|
2117
|
-
|
|
2118
|
-
if (!(tmp55_safe_receiver.vk_1 == null)) {
|
|
2114
|
+
if (!(tmp3_safe_receiver.fm_1 == null)) {
|
|
2119
2115
|
break $l$block_0;
|
|
2120
2116
|
}
|
|
2117
|
+
var tmp0_1 = this.j66_1;
|
|
2121
2118
|
// Inline function 'kotlin.collections.set' call
|
|
2122
|
-
var
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
var
|
|
2126
|
-
var list_1 = tmp55_safe_receiver.ve();
|
|
2119
|
+
var value = tmp3_safe_receiver.im(VOID, VOID, translator_1);
|
|
2120
|
+
tmp0_1.k2(key, value);
|
|
2121
|
+
var realKey_1 = tmp3_safe_receiver.gf();
|
|
2122
|
+
var list_1 = tmp3_safe_receiver.hf();
|
|
2127
2123
|
var tmp0_elvis_lhs_1 = getOrNull(list_1, overrideLevel);
|
|
2128
2124
|
var tmp_8;
|
|
2129
2125
|
if (tmp0_elvis_lhs_1 == null) {
|
|
@@ -2139,49 +2135,47 @@
|
|
|
2139
2135
|
}
|
|
2140
2136
|
}
|
|
2141
2137
|
}
|
|
2142
|
-
var result = findBySpecs(this, new SearchSpecs(key.
|
|
2138
|
+
var result = findBySpecs(this, new SearchSpecs(key.j60_1, key.k60_1, key.l60_1, key.m60_1));
|
|
2143
2139
|
if (result.m() === 1) {
|
|
2144
2140
|
var _destruct__k2r9zo = first(result);
|
|
2145
|
-
var realKey_2 = _destruct__k2r9zo.
|
|
2146
|
-
var translator_2 = _destruct__k2r9zo.
|
|
2147
|
-
|
|
2148
|
-
var
|
|
2149
|
-
var
|
|
2150
|
-
var tmp0_elvis_lhs_2 = tmp56_safe_receiver == null ? null : tmp56_safe_receiver.yk(VOID, VOID, translator_2);
|
|
2141
|
+
var realKey_2 = _destruct__k2r9zo.gf();
|
|
2142
|
+
var translator_2 = _destruct__k2r9zo.hf();
|
|
2143
|
+
var tmp0_2 = this.j66_1;
|
|
2144
|
+
var tmp4_safe_receiver = this.j66_1.h2(realKey_2);
|
|
2145
|
+
var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.im(VOID, VOID, translator_2);
|
|
2151
2146
|
var tmp_11;
|
|
2152
|
-
if (
|
|
2147
|
+
if (tmp5_elvis_lhs == null) {
|
|
2153
2148
|
throw notInMap(this, realKey_2, key);
|
|
2154
2149
|
} else {
|
|
2155
|
-
tmp_11 =
|
|
2150
|
+
tmp_11 = tmp5_elvis_lhs;
|
|
2156
2151
|
}
|
|
2152
|
+
// Inline function 'kotlin.collections.set' call
|
|
2157
2153
|
var value_0 = tmp_11;
|
|
2158
|
-
|
|
2154
|
+
tmp0_2.k2(key, value_0);
|
|
2159
2155
|
}
|
|
2160
2156
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
2161
2157
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
2162
2158
|
var destination_1 = ArrayList_init_$Create$();
|
|
2163
2159
|
// Inline function 'kotlin.collections.forEach' call
|
|
2164
|
-
var
|
|
2165
|
-
while (
|
|
2166
|
-
var element_1 =
|
|
2167
|
-
|
|
2168
|
-
var tmp$ret$13;
|
|
2160
|
+
var _iterator__ex2g4s_2 = result.j();
|
|
2161
|
+
while (_iterator__ex2g4s_2.k()) {
|
|
2162
|
+
var element_1 = _iterator__ex2g4s_2.l();
|
|
2163
|
+
var tmp$ret$16;
|
|
2169
2164
|
$l$block_1: {
|
|
2170
|
-
|
|
2171
|
-
var
|
|
2172
|
-
var
|
|
2173
|
-
var tmp0_elvis_lhs_3 = this.q61_1.k2(realKey_3);
|
|
2165
|
+
var realKey_3 = element_1.gf();
|
|
2166
|
+
var translator_3 = element_1.hf();
|
|
2167
|
+
var tmp0_elvis_lhs_2 = this.j66_1.h2(realKey_3);
|
|
2174
2168
|
var tmp_12;
|
|
2175
|
-
if (
|
|
2169
|
+
if (tmp0_elvis_lhs_2 == null) {
|
|
2176
2170
|
throw notInMap(this, realKey_3, key);
|
|
2177
2171
|
} else {
|
|
2178
|
-
tmp_12 =
|
|
2172
|
+
tmp_12 = tmp0_elvis_lhs_2;
|
|
2179
2173
|
}
|
|
2180
|
-
var definitions = tmp_12.
|
|
2174
|
+
var definitions = tmp_12.hf();
|
|
2181
2175
|
var tmp1_elvis_lhs = getOrNull(definitions, overrideLevel);
|
|
2182
2176
|
var tmp_13;
|
|
2183
2177
|
if (tmp1_elvis_lhs == null) {
|
|
2184
|
-
tmp$ret$
|
|
2178
|
+
tmp$ret$16 = null;
|
|
2185
2179
|
break $l$block_1;
|
|
2186
2180
|
} else {
|
|
2187
2181
|
tmp_13 = tmp1_elvis_lhs;
|
|
@@ -2189,52 +2183,50 @@
|
|
|
2189
2183
|
var definition_2 = tmp_13;
|
|
2190
2184
|
var tmp_14 = realKey_3 instanceof Key ? realKey_3 : THROW_CCE();
|
|
2191
2185
|
var tmp_15 = definition_2 instanceof DIDefinition ? definition_2 : THROW_CCE();
|
|
2192
|
-
tmp$ret$
|
|
2186
|
+
tmp$ret$16 = new Triple(tmp_14, tmp_15, (translator_3 == null ? true : isInterface(translator_3, ContextTranslator)) ? translator_3 : THROW_CCE());
|
|
2193
2187
|
}
|
|
2194
|
-
var
|
|
2195
|
-
if (
|
|
2188
|
+
var tmp0_safe_receiver_0 = tmp$ret$16;
|
|
2189
|
+
if (tmp0_safe_receiver_0 == null)
|
|
2196
2190
|
null;
|
|
2197
2191
|
else {
|
|
2198
2192
|
// Inline function 'kotlin.let' call
|
|
2199
|
-
|
|
2200
|
-
destination_1.e(tmp0_safe_receiver);
|
|
2193
|
+
destination_1.e(tmp0_safe_receiver_0);
|
|
2201
2194
|
}
|
|
2202
2195
|
}
|
|
2203
2196
|
return destination_1;
|
|
2204
2197
|
};
|
|
2205
|
-
protoOf(DITreeImpl).
|
|
2198
|
+
protoOf(DITreeImpl).j62 = function (search) {
|
|
2206
2199
|
var result = findBySpecs(this, search);
|
|
2207
2200
|
// Inline function 'kotlin.collections.map' call
|
|
2208
2201
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2209
2202
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(result, 10));
|
|
2210
|
-
var
|
|
2211
|
-
while (
|
|
2212
|
-
var item =
|
|
2213
|
-
|
|
2214
|
-
var
|
|
2215
|
-
var
|
|
2216
|
-
var tmp$ret$0 = new Triple(key, ensureNotNull(this.q61_1.k2(key)).uk_1, translator);
|
|
2203
|
+
var _iterator__ex2g4s = result.j();
|
|
2204
|
+
while (_iterator__ex2g4s.k()) {
|
|
2205
|
+
var item = _iterator__ex2g4s.l();
|
|
2206
|
+
var key = item.gf();
|
|
2207
|
+
var translator = item.hf();
|
|
2208
|
+
var tmp$ret$0 = new Triple(key, ensureNotNull(this.j66_1.h2(key)).em_1, translator);
|
|
2217
2209
|
destination.e(tmp$ret$0);
|
|
2218
2210
|
}
|
|
2219
2211
|
return destination;
|
|
2220
2212
|
};
|
|
2221
|
-
protoOf(DITreeImpl).
|
|
2222
|
-
var tmp = this.
|
|
2213
|
+
protoOf(DITreeImpl).k62 = function (key) {
|
|
2214
|
+
var tmp = this.j66_1.h2(key);
|
|
2223
2215
|
return (tmp == null ? true : tmp instanceof Triple) ? tmp : THROW_CCE();
|
|
2224
2216
|
};
|
|
2225
2217
|
function Down(type) {
|
|
2226
2218
|
TypeChecker.call(this);
|
|
2227
|
-
this.
|
|
2228
|
-
this.
|
|
2219
|
+
this.o66_1 = type;
|
|
2220
|
+
this.p66_1 = equals(this.o66_1, Companion_getInstance().n5z_1);
|
|
2229
2221
|
}
|
|
2230
|
-
protoOf(Down).
|
|
2231
|
-
return this.
|
|
2222
|
+
protoOf(Down).n66 = function (other) {
|
|
2223
|
+
return this.p66_1 || this.o66_1.w5z(other);
|
|
2232
2224
|
};
|
|
2233
2225
|
protoOf(Down).toString = function () {
|
|
2234
|
-
return 'Down(type=' + toString_0(this.
|
|
2226
|
+
return 'Down(type=' + toString_0(this.o66_1) + ')';
|
|
2235
2227
|
};
|
|
2236
2228
|
protoOf(Down).hashCode = function () {
|
|
2237
|
-
return hashCode(this.
|
|
2229
|
+
return hashCode(this.o66_1);
|
|
2238
2230
|
};
|
|
2239
2231
|
protoOf(Down).equals = function (other) {
|
|
2240
2232
|
if (this === other)
|
|
@@ -2242,22 +2234,22 @@
|
|
|
2242
2234
|
if (!(other instanceof Down))
|
|
2243
2235
|
return false;
|
|
2244
2236
|
var tmp0_other_with_cast = other instanceof Down ? other : THROW_CCE();
|
|
2245
|
-
if (!equals(this.
|
|
2237
|
+
if (!equals(this.o66_1, tmp0_other_with_cast.o66_1))
|
|
2246
2238
|
return false;
|
|
2247
2239
|
return true;
|
|
2248
2240
|
};
|
|
2249
2241
|
function Up(type) {
|
|
2250
2242
|
TypeChecker.call(this);
|
|
2251
|
-
this.
|
|
2243
|
+
this.q66_1 = type;
|
|
2252
2244
|
}
|
|
2253
|
-
protoOf(Up).
|
|
2254
|
-
return equals(other, Companion_getInstance().
|
|
2245
|
+
protoOf(Up).n66 = function (other) {
|
|
2246
|
+
return equals(other, Companion_getInstance().n5z_1) || other.w5z(this.q66_1);
|
|
2255
2247
|
};
|
|
2256
2248
|
protoOf(Up).toString = function () {
|
|
2257
|
-
return 'Up(type=' + toString_0(this.
|
|
2249
|
+
return 'Up(type=' + toString_0(this.q66_1) + ')';
|
|
2258
2250
|
};
|
|
2259
2251
|
protoOf(Up).hashCode = function () {
|
|
2260
|
-
return hashCode(this.
|
|
2252
|
+
return hashCode(this.q66_1);
|
|
2261
2253
|
};
|
|
2262
2254
|
protoOf(Up).equals = function (other) {
|
|
2263
2255
|
if (this === other)
|
|
@@ -2265,66 +2257,64 @@
|
|
|
2265
2257
|
if (!(other instanceof Up))
|
|
2266
2258
|
return false;
|
|
2267
2259
|
var tmp0_other_with_cast = other instanceof Up ? other : THROW_CCE();
|
|
2268
|
-
if (!equals(this.
|
|
2260
|
+
if (!equals(this.q66_1, tmp0_other_with_cast.q66_1))
|
|
2269
2261
|
return false;
|
|
2270
2262
|
return true;
|
|
2271
2263
|
};
|
|
2272
2264
|
function TypeChecker() {
|
|
2273
2265
|
}
|
|
2274
2266
|
function DirectDIBaseImpl(container, context) {
|
|
2275
|
-
this.
|
|
2276
|
-
this.
|
|
2267
|
+
this.r66_1 = container;
|
|
2268
|
+
this.s66_1 = context;
|
|
2277
2269
|
}
|
|
2278
|
-
protoOf(DirectDIBaseImpl).
|
|
2279
|
-
return this.
|
|
2270
|
+
protoOf(DirectDIBaseImpl).m61 = function () {
|
|
2271
|
+
return this.r66_1;
|
|
2280
2272
|
};
|
|
2281
|
-
protoOf(DirectDIBaseImpl).
|
|
2273
|
+
protoOf(DirectDIBaseImpl).o62 = function () {
|
|
2282
2274
|
return this;
|
|
2283
2275
|
};
|
|
2284
|
-
protoOf(DirectDIBaseImpl).
|
|
2285
|
-
var tmp = this.
|
|
2286
|
-
return On(new DIImpl(tmp instanceof DIContainerImpl ? tmp : THROW_CCE()), this.
|
|
2276
|
+
protoOf(DirectDIBaseImpl).l62 = function () {
|
|
2277
|
+
var tmp = this.m61();
|
|
2278
|
+
return On(new DIImpl(tmp instanceof DIContainerImpl ? tmp : THROW_CCE()), this.s66_1);
|
|
2287
2279
|
};
|
|
2288
|
-
protoOf(DirectDIBaseImpl).
|
|
2289
|
-
return createDirectDI(this.
|
|
2280
|
+
protoOf(DirectDIBaseImpl).m62 = function (context) {
|
|
2281
|
+
return createDirectDI(this.m61(), context);
|
|
2290
2282
|
};
|
|
2291
|
-
protoOf(DirectDIBaseImpl).
|
|
2292
|
-
var tmp = this.
|
|
2283
|
+
protoOf(DirectDIBaseImpl).n62 = function (type, tag) {
|
|
2284
|
+
var tmp = this.m61();
|
|
2293
2285
|
// Inline function 'org.kodein.di.internal.anyType' call
|
|
2294
|
-
var tmp_0 = this.
|
|
2286
|
+
var tmp_0 = this.s66_1.r61();
|
|
2295
2287
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2296
|
-
return tmp.
|
|
2288
|
+
return tmp.x61(new Key(tmp$ret$0, Companion_getInstance().m5z_1, type, tag), this.s66_1.u())();
|
|
2297
2289
|
};
|
|
2298
2290
|
function DIProperty$provideDelegate$lambda($receiver, this$0, $prop) {
|
|
2299
2291
|
return function () {
|
|
2300
2292
|
var tmp;
|
|
2301
|
-
if (!($receiver == null) && this$0.
|
|
2293
|
+
if (!($receiver == null) && this$0.u66_1 === get_AnyDIContext()) {
|
|
2302
2294
|
var tmp_0 = Companion_instance_0;
|
|
2303
2295
|
var tmp_1 = erasedOf($receiver);
|
|
2304
|
-
tmp = tmp_0.
|
|
2296
|
+
tmp = tmp_0.s61(isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE(), $receiver);
|
|
2305
2297
|
} else {
|
|
2306
|
-
tmp = this$0.
|
|
2298
|
+
tmp = this$0.u66_1;
|
|
2307
2299
|
}
|
|
2308
2300
|
var context = tmp;
|
|
2309
|
-
return this$0.
|
|
2301
|
+
return this$0.v66_1(context, $prop.callableName);
|
|
2310
2302
|
};
|
|
2311
2303
|
}
|
|
2312
2304
|
function DIProperty(trigger, originalContext, get) {
|
|
2313
|
-
this.
|
|
2314
|
-
this.
|
|
2315
|
-
this.
|
|
2305
|
+
this.t66_1 = trigger;
|
|
2306
|
+
this.u66_1 = originalContext;
|
|
2307
|
+
this.v66_1 = get;
|
|
2316
2308
|
}
|
|
2317
|
-
protoOf(DIProperty).
|
|
2309
|
+
protoOf(DIProperty).w66 = function (receiver, prop) {
|
|
2318
2310
|
// Inline function 'kotlin.also' call
|
|
2319
2311
|
var this_0 = lazy(DIProperty$provideDelegate$lambda(receiver, this, prop));
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
var tmp63_safe_receiver = tmp62_safe_receiver == null ? null : tmp62_safe_receiver.e62_1;
|
|
2324
|
-
if (tmp63_safe_receiver == null)
|
|
2312
|
+
var tmp0_safe_receiver = this.t66_1;
|
|
2313
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.x66_1;
|
|
2314
|
+
if (tmp1_safe_receiver == null)
|
|
2325
2315
|
null;
|
|
2326
2316
|
else
|
|
2327
|
-
|
|
2317
|
+
tmp1_safe_receiver.e(this_0);
|
|
2328
2318
|
return this_0;
|
|
2329
2319
|
};
|
|
2330
2320
|
function createDirectDI(container, context) {
|
|
@@ -2340,28 +2330,28 @@
|
|
|
2340
2330
|
return ArrayList_init_$Create$();
|
|
2341
2331
|
}
|
|
2342
2332
|
//region block: post-declaration
|
|
2343
|
-
protoOf(Provider).
|
|
2344
|
-
protoOf(Provider).
|
|
2345
|
-
protoOf(Provider).
|
|
2346
|
-
protoOf(Provider).
|
|
2347
|
-
protoOf(Provider).
|
|
2348
|
-
protoOf(Provider).
|
|
2349
|
-
protoOf(Singleton).
|
|
2350
|
-
protoOf(Singleton).
|
|
2351
|
-
protoOf(Singleton).
|
|
2352
|
-
protoOf(Singleton).
|
|
2353
|
-
protoOf(DIBuilderImpl).
|
|
2354
|
-
protoOf(DIContainerImpl).
|
|
2355
|
-
protoOf(DIContainerImpl).
|
|
2356
|
-
protoOf(DIContainerImpl).
|
|
2357
|
-
protoOf(DIContainerImpl).
|
|
2358
|
-
protoOf(DIContainerImpl).
|
|
2359
|
-
protoOf(DIContainerImpl).
|
|
2360
|
-
protoOf(DIImpl).
|
|
2361
|
-
protoOf(DIImpl).
|
|
2362
|
-
protoOf(DIImpl).
|
|
2363
|
-
protoOf(DITreeImpl).
|
|
2364
|
-
protoOf(DirectDIBaseImpl).
|
|
2333
|
+
protoOf(Provider).y62 = get_argType;
|
|
2334
|
+
protoOf(Provider).x62 = factoryFullName;
|
|
2335
|
+
protoOf(Provider).g61 = get_scope;
|
|
2336
|
+
protoOf(Provider).p60 = get_description;
|
|
2337
|
+
protoOf(Provider).r60 = get_fullDescription;
|
|
2338
|
+
protoOf(Provider).a63 = get_supportSubTypes;
|
|
2339
|
+
protoOf(Singleton).y62 = get_argType;
|
|
2340
|
+
protoOf(Singleton).p60 = get_description;
|
|
2341
|
+
protoOf(Singleton).r60 = get_fullDescription;
|
|
2342
|
+
protoOf(Singleton).a63 = get_supportSubTypes;
|
|
2343
|
+
protoOf(DIBuilderImpl).d61 = import$default;
|
|
2344
|
+
protoOf(DIContainerImpl).c62 = factoryOrNull$default;
|
|
2345
|
+
protoOf(DIContainerImpl).a62 = factory$default;
|
|
2346
|
+
protoOf(DIContainerImpl).d62 = provider;
|
|
2347
|
+
protoOf(DIContainerImpl).x61 = provider$default;
|
|
2348
|
+
protoOf(DIContainerImpl).e62 = providerOrNull;
|
|
2349
|
+
protoOf(DIContainerImpl).y61 = providerOrNull$default;
|
|
2350
|
+
protoOf(DIImpl).l61 = get_di;
|
|
2351
|
+
protoOf(DIImpl).n61 = get_diContext;
|
|
2352
|
+
protoOf(DIImpl).o61 = get_diTrigger;
|
|
2353
|
+
protoOf(DITreeImpl).i62 = find$default;
|
|
2354
|
+
protoOf(DirectDIBaseImpl).l61 = get_di_0;
|
|
2365
2355
|
//endregion
|
|
2366
2356
|
//region block: init
|
|
2367
2357
|
Companion_instance = new Companion();
|