game_client_logic_deb 1.5.5 → 1.6.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/88b0986a7186d029-atomicfu-js-ir.js +46 -64
- package/88b0986a7186d029-atomicfu-js-ir.js.map +1 -1
- package/Kodein-kodein-di.js +688 -907
- package/Kodein-kodein-di.js.map +1 -1
- package/KosiTypeSystem-kaverit.js +91 -125
- package/KosiTypeSystem-kaverit.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +103 -106
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.map +1 -1
- package/Logic_Debertz-core.js +2046 -2080
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +14067 -16980
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +29 -27
- package/Logic_Debertz-game_client.js +4984 -5796
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js +1634 -3022
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/{kotlin-kotlinx-atomicfu-runtime-js-ir.js → kotlin-kotlinx-atomicfu-runtime.js} +2 -2
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +15 -0
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +2184 -2597
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1637 -1963
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +2913 -3933
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +3 -2
- package/uuid-js-ir.js +34 -49
- package/uuid-js-ir.js.map +1 -1
- /package/{kotlin-kotlinx-atomicfu-runtime-js-ir.js.map → kotlin-kotlinx-atomicfu-runtime.js.map} +0 -0
package/Kodein-kodein-di.js
CHANGED
|
@@ -16,72 +16,71 @@
|
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
18
|
var imul = Math.imul;
|
|
19
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
20
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
21
|
-
var VOID = kotlin_kotlin.$_$.
|
|
22
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
23
|
-
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.
|
|
24
|
-
var first = kotlin_kotlin.$_$.
|
|
25
|
-
var
|
|
26
|
-
var
|
|
27
|
-
var
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var repeat = kotlin_kotlin.$_$.
|
|
31
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
32
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
33
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
34
|
-
var toString = kotlin_kotlin.$_$.
|
|
19
|
+
var protoOf = kotlin_kotlin.$_$.fa;
|
|
20
|
+
var classMeta = kotlin_kotlin.$_$.c9;
|
|
21
|
+
var VOID = kotlin_kotlin.$_$.yd;
|
|
22
|
+
var setMetadataFor = kotlin_kotlin.$_$.ga;
|
|
23
|
+
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.u;
|
|
24
|
+
var first = kotlin_kotlin.$_$.i6;
|
|
25
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
|
|
26
|
+
var filterNotNull = kotlin_kotlin.$_$.f6;
|
|
27
|
+
var sorted = kotlin_kotlin.$_$.o7;
|
|
28
|
+
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.d1;
|
|
29
|
+
var Unit_getInstance = kotlin_kotlin.$_$.r4;
|
|
30
|
+
var repeat = kotlin_kotlin.$_$.kb;
|
|
31
|
+
var ensureNotNull = kotlin_kotlin.$_$.ld;
|
|
32
|
+
var KProperty1 = kotlin_kotlin.$_$.ua;
|
|
33
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.i9;
|
|
34
|
+
var toString = kotlin_kotlin.$_$.wd;
|
|
35
35
|
var Companion_getInstance = kotlin_org_kodein_type_kaverit.$_$.a;
|
|
36
|
-
var equals = kotlin_kotlin.$_$.
|
|
37
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
38
|
-
var RuntimeException = kotlin_kotlin.$_$.
|
|
39
|
-
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.
|
|
40
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
41
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
42
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
43
|
-
var interfaceMeta = kotlin_kotlin.$_$.
|
|
44
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
45
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
46
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
36
|
+
var equals = kotlin_kotlin.$_$.f9;
|
|
37
|
+
var objectCreate = kotlin_kotlin.$_$.da;
|
|
38
|
+
var RuntimeException = kotlin_kotlin.$_$.tc;
|
|
39
|
+
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.t1;
|
|
40
|
+
var captureStack = kotlin_kotlin.$_$.x8;
|
|
41
|
+
var hashCode = kotlin_kotlin.$_$.k9;
|
|
42
|
+
var THROW_CCE = kotlin_kotlin.$_$.uc;
|
|
43
|
+
var interfaceMeta = kotlin_kotlin.$_$.l9;
|
|
44
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.n1;
|
|
45
|
+
var getStringHashCode = kotlin_kotlin.$_$.j9;
|
|
46
|
+
var objectMeta = kotlin_kotlin.$_$.ea;
|
|
47
47
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
48
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
49
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
48
|
+
var isInterface = kotlin_kotlin.$_$.t9;
|
|
49
|
+
var joinToString = kotlin_kotlin.$_$.r6;
|
|
50
50
|
var erasedOf = kotlin_org_kodein_type_kaverit.$_$.c;
|
|
51
|
-
var isObject = kotlin_kotlin.$_$.
|
|
52
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
53
|
-
var toString_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 Map = kotlin_kotlin.$_$.
|
|
59
|
-
var listOf = kotlin_kotlin.$_$.
|
|
60
|
-
var plus = kotlin_kotlin.$_$.
|
|
61
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
62
|
-
var plus_0 = kotlin_kotlin.$_$.
|
|
63
|
-
var checkIndexOverflow = kotlin_kotlin.$_$.
|
|
64
|
-
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.
|
|
65
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
66
|
-
var mapCapacity = kotlin_kotlin.$_$.
|
|
67
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
68
|
-
var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
69
|
-
var to = kotlin_kotlin.$_$.
|
|
70
|
-
var KProperty0 = kotlin_kotlin.$_$.
|
|
71
|
-
var
|
|
72
|
-
var
|
|
73
|
-
var
|
|
74
|
-
var
|
|
75
|
-
var
|
|
76
|
-
var
|
|
77
|
-
var
|
|
78
|
-
var
|
|
79
|
-
var
|
|
80
|
-
var
|
|
81
|
-
var
|
|
82
|
-
var
|
|
83
|
-
var
|
|
84
|
-
var getOrNull = kotlin_kotlin.$_$.g6;
|
|
51
|
+
var isObject = kotlin_kotlin.$_$.v9;
|
|
52
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.k;
|
|
53
|
+
var toString_0 = kotlin_kotlin.$_$.ka;
|
|
54
|
+
var HashSet_init_$Create$ = kotlin_kotlin.$_$.r;
|
|
55
|
+
var HashMap_init_$Create$ = kotlin_kotlin.$_$.o;
|
|
56
|
+
var charSequenceLength = kotlin_kotlin.$_$.a9;
|
|
57
|
+
var Enum = kotlin_kotlin.$_$.jc;
|
|
58
|
+
var Map = kotlin_kotlin.$_$.a5;
|
|
59
|
+
var listOf = kotlin_kotlin.$_$.y6;
|
|
60
|
+
var plus = kotlin_kotlin.$_$.g7;
|
|
61
|
+
var emptyList = kotlin_kotlin.$_$.c6;
|
|
62
|
+
var plus_0 = kotlin_kotlin.$_$.h7;
|
|
63
|
+
var checkIndexOverflow = kotlin_kotlin.$_$.j5;
|
|
64
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.e2;
|
|
65
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.k5;
|
|
66
|
+
var mapCapacity = kotlin_kotlin.$_$.a7;
|
|
67
|
+
var coerceAtLeast = kotlin_kotlin.$_$.na;
|
|
68
|
+
var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.t;
|
|
69
|
+
var to = kotlin_kotlin.$_$.xd;
|
|
70
|
+
var KProperty0 = kotlin_kotlin.$_$.ta;
|
|
71
|
+
var lazy = kotlin_kotlin.$_$.qd;
|
|
72
|
+
var asSequence = kotlin_kotlin.$_$.h5;
|
|
73
|
+
var filter = kotlin_kotlin.$_$.wa;
|
|
74
|
+
var flatMap = kotlin_kotlin.$_$.ya;
|
|
75
|
+
var mapNotNull = kotlin_kotlin.$_$.za;
|
|
76
|
+
var map = kotlin_kotlin.$_$.ab;
|
|
77
|
+
var toList = kotlin_kotlin.$_$.bb;
|
|
78
|
+
var Triple = kotlin_kotlin.$_$.wc;
|
|
79
|
+
var ArrayList_init_$Create$_1 = kotlin_kotlin.$_$.m;
|
|
80
|
+
var HashMap_init_$Create$_0 = kotlin_kotlin.$_$.p;
|
|
81
|
+
var Collection = kotlin_kotlin.$_$.t4;
|
|
82
|
+
var addAll = kotlin_kotlin.$_$.f5;
|
|
83
|
+
var getOrNull = kotlin_kotlin.$_$.l6;
|
|
85
84
|
//endregion
|
|
86
85
|
//region block: pre-declaration
|
|
87
86
|
setMetadataFor(DIDefining, 'DIDefining', classMeta);
|
|
@@ -94,10 +93,10 @@
|
|
|
94
93
|
allowOverride = allowOverride === VOID ? false : allowOverride;
|
|
95
94
|
var tmp;
|
|
96
95
|
if ($super === VOID) {
|
|
97
|
-
this.
|
|
96
|
+
this.k28(module_0, allowOverride);
|
|
98
97
|
tmp = Unit_getInstance();
|
|
99
98
|
} else {
|
|
100
|
-
tmp = $super.
|
|
99
|
+
tmp = $super.k28.call(this, module_0, allowOverride);
|
|
101
100
|
}
|
|
102
101
|
return tmp;
|
|
103
102
|
}
|
|
@@ -122,28 +121,28 @@
|
|
|
122
121
|
setMetadataFor(DIWrapper, 'DIWrapper', classMeta, VOID, [DI]);
|
|
123
122
|
function factory$default(key, context, overrideLevel, $super) {
|
|
124
123
|
overrideLevel = overrideLevel === VOID ? 0 : overrideLevel;
|
|
125
|
-
return $super === VOID ? this.
|
|
124
|
+
return $super === VOID ? this.d29(key, context, overrideLevel) : $super.d29.call(this, key, context, overrideLevel);
|
|
126
125
|
}
|
|
127
126
|
function provider(key, context, overrideLevel) {
|
|
128
127
|
var tmp$ret$0;
|
|
129
128
|
// Inline function 'org.kodein.di.toProvider' call
|
|
130
|
-
var tmp0_toProvider = this.
|
|
129
|
+
var tmp0_toProvider = this.e29(key, context);
|
|
131
130
|
tmp$ret$0 = DIContainer$provider$lambda(tmp0_toProvider);
|
|
132
131
|
return tmp$ret$0;
|
|
133
132
|
}
|
|
134
133
|
function provider$default(key, context, overrideLevel, $super) {
|
|
135
134
|
overrideLevel = overrideLevel === VOID ? 0 : overrideLevel;
|
|
136
|
-
return $super === VOID ? this.
|
|
135
|
+
return $super === VOID ? this.f29(key, context, overrideLevel) : provider(key, context, overrideLevel);
|
|
137
136
|
}
|
|
138
137
|
setMetadataFor(DIContainer, 'DIContainer', interfaceMeta);
|
|
139
138
|
function find$default(key, overrideLevel, all, $super) {
|
|
140
139
|
overrideLevel = overrideLevel === VOID ? 0 : overrideLevel;
|
|
141
140
|
all = all === VOID ? false : all;
|
|
142
|
-
return $super === VOID ? this.
|
|
141
|
+
return $super === VOID ? this.i29(key, overrideLevel, all) : $super.i29.call(this, key, overrideLevel, all);
|
|
143
142
|
}
|
|
144
143
|
setMetadataFor(DITree, 'DITree', interfaceMeta);
|
|
145
144
|
function get_di_0() {
|
|
146
|
-
return this.
|
|
145
|
+
return this.m29();
|
|
147
146
|
}
|
|
148
147
|
setMetadataFor(DirectDIBase, 'DirectDIBase', interfaceMeta);
|
|
149
148
|
setMetadataFor(NoDefinedTag, 'NoDefinedTag', objectMeta);
|
|
@@ -153,19 +152,19 @@
|
|
|
153
152
|
setMetadataFor(DIBinding$Copier$Companion$invoke$1, VOID, classMeta);
|
|
154
153
|
setMetadataFor(Companion_1, 'Companion', objectMeta);
|
|
155
154
|
function factoryFullName() {
|
|
156
|
-
return this.
|
|
155
|
+
return this.x29();
|
|
157
156
|
}
|
|
158
157
|
function get_scope() {
|
|
159
158
|
return null;
|
|
160
159
|
}
|
|
161
160
|
function get_description() {
|
|
162
|
-
var arg = !equals(this.
|
|
161
|
+
var arg = !equals(this.b2a(), Companion_getInstance().h27_1) ? this.b2a().w26() + ' -> ' : '';
|
|
163
162
|
var tmp;
|
|
164
|
-
var tmp_0 = this.
|
|
163
|
+
var tmp_0 = this.z29();
|
|
165
164
|
if (tmp_0 instanceof NoScope) {
|
|
166
165
|
tmp = null;
|
|
167
166
|
} else {
|
|
168
|
-
tmp = this.
|
|
167
|
+
tmp = this.z29();
|
|
169
168
|
}
|
|
170
169
|
var scope = tmp;
|
|
171
170
|
var tmp0_safe_receiver = scope;
|
|
@@ -178,22 +177,22 @@
|
|
|
178
177
|
// Inline function 'kotlin.contracts.contract' call
|
|
179
178
|
var tmp$ret$0;
|
|
180
179
|
// Inline function 'org.kodein.di.bindings.DIBinding.<get-description>.<anonymous>' call
|
|
181
|
-
tmp$ret$0 = 'scoped(' + erasedOf(tmp0_safe_receiver).
|
|
180
|
+
tmp$ret$0 = 'scoped(' + erasedOf(tmp0_safe_receiver).w26() + ').';
|
|
182
181
|
tmp$ret$1 = tmp$ret$0;
|
|
183
182
|
tmp_1 = tmp$ret$1;
|
|
184
183
|
}
|
|
185
184
|
var tmp1_elvis_lhs = tmp_1;
|
|
186
|
-
var context = tmp1_elvis_lhs == null ? !equals(this.
|
|
187
|
-
return context + this.
|
|
185
|
+
var context = tmp1_elvis_lhs == null ? !equals(this.a2a(), Companion_getInstance().i27_1) ? 'contexted<' + this.a2a().w26() + '>().' : '' : tmp1_elvis_lhs;
|
|
186
|
+
return context + this.x29() + ' { ' + arg + this.c2a().w26() + ' }';
|
|
188
187
|
}
|
|
189
188
|
function get_fullDescription() {
|
|
190
|
-
var arg = !equals(this.
|
|
189
|
+
var arg = !equals(this.b2a(), Companion_getInstance().h27_1) ? this.b2a().y26() + ' -> ' : '';
|
|
191
190
|
var tmp;
|
|
192
|
-
var tmp_0 = this.
|
|
191
|
+
var tmp_0 = this.z29();
|
|
193
192
|
if (tmp_0 instanceof NoScope) {
|
|
194
193
|
tmp = null;
|
|
195
194
|
} else {
|
|
196
|
-
tmp = this.
|
|
195
|
+
tmp = this.z29();
|
|
197
196
|
}
|
|
198
197
|
var scope = tmp;
|
|
199
198
|
var tmp0_safe_receiver = scope;
|
|
@@ -206,28 +205,28 @@
|
|
|
206
205
|
// Inline function 'kotlin.contracts.contract' call
|
|
207
206
|
var tmp$ret$0;
|
|
208
207
|
// Inline function 'org.kodein.di.bindings.DIBinding.<get-fullDescription>.<anonymous>' call
|
|
209
|
-
tmp$ret$0 = 'scoped(' + erasedOf(tmp0_safe_receiver).
|
|
208
|
+
tmp$ret$0 = 'scoped(' + erasedOf(tmp0_safe_receiver).y26() + ').';
|
|
210
209
|
tmp$ret$1 = tmp$ret$0;
|
|
211
210
|
tmp_1 = tmp$ret$1;
|
|
212
211
|
}
|
|
213
212
|
var tmp1_elvis_lhs = tmp_1;
|
|
214
|
-
var context = tmp1_elvis_lhs == null ? !equals(this.
|
|
215
|
-
return context + this.
|
|
213
|
+
var context = tmp1_elvis_lhs == null ? !equals(this.a2a(), Companion_getInstance().i27_1) ? 'contexted<' + this.a2a().y26() + '>().' : '' : tmp1_elvis_lhs;
|
|
214
|
+
return context + this.y29() + ' { ' + arg + this.c2a().y26() + ' }';
|
|
216
215
|
}
|
|
217
216
|
function get_supportSubTypes() {
|
|
218
217
|
return false;
|
|
219
218
|
}
|
|
220
219
|
setMetadataFor(DIBinding, 'DIBinding', interfaceMeta);
|
|
221
220
|
function get_argType() {
|
|
222
|
-
return Companion_getInstance().
|
|
221
|
+
return Companion_getInstance().h27_1;
|
|
223
222
|
}
|
|
224
223
|
setMetadataFor(NoArgDIBinding, 'NoArgDIBinding', interfaceMeta, VOID, [DIBinding]);
|
|
225
224
|
setMetadataFor(SingletonReference, 'SingletonReference', objectMeta);
|
|
226
225
|
setMetadataFor(Reference, 'Reference', classMeta);
|
|
227
226
|
setMetadataFor(ContextTranslator, 'ContextTranslator', interfaceMeta);
|
|
228
227
|
setMetadataFor(ScopeRegistry, 'ScopeRegistry', classMeta);
|
|
229
|
-
setMetadataFor(StandardScopeRegistry, 'StandardScopeRegistry', classMeta, ScopeRegistry);
|
|
230
228
|
setMetadataFor(NoScope, 'NoScope', classMeta);
|
|
229
|
+
setMetadataFor(StandardScopeRegistry, 'StandardScopeRegistry', classMeta, ScopeRegistry);
|
|
231
230
|
setMetadataFor(CompositeContextTranslator, 'CompositeContextTranslator', classMeta, VOID, [ContextTranslator]);
|
|
232
231
|
setMetadataFor(Singleton, 'Singleton', classMeta, VOID, [NoArgDIBinding]);
|
|
233
232
|
setMetadataFor(Provider, 'Provider', classMeta, VOID, [NoArgDIBinding]);
|
|
@@ -256,7 +255,7 @@
|
|
|
256
255
|
//endregion
|
|
257
256
|
function DIDefinition(binding, fromModule, tree) {
|
|
258
257
|
DIDefining.call(this, binding, fromModule);
|
|
259
|
-
this.
|
|
258
|
+
this.p27_1 = tree;
|
|
260
259
|
}
|
|
261
260
|
function description(_this__u8e3s4, withOverrides, ident) {
|
|
262
261
|
withOverrides = withOverrides === VOID ? false : withOverrides;
|
|
@@ -264,75 +263,59 @@
|
|
|
264
263
|
return descriptionImpl(_this__u8e3s4, withOverrides, ident, bindDescription$factory(), description$factory());
|
|
265
264
|
}
|
|
266
265
|
function DIDefining(binding, fromModule) {
|
|
267
|
-
this.
|
|
268
|
-
this.
|
|
266
|
+
this.q27_1 = binding;
|
|
267
|
+
this.r27_1 = fromModule;
|
|
269
268
|
}
|
|
270
269
|
function descriptionImpl(_this__u8e3s4, withOverrides, ident, keyBindDisp, bindingDisp) {
|
|
271
|
-
var tmp$ret$4;
|
|
272
270
|
// Inline function 'kotlin.collections.groupBy' call
|
|
273
|
-
var
|
|
274
|
-
var tmp$ret$3;
|
|
271
|
+
var tmp0_groupBy = _this__u8e3s4.o();
|
|
275
272
|
// Inline function 'kotlin.collections.groupByTo' call
|
|
276
273
|
var tmp0_groupByTo = LinkedHashMap_init_$Create$();
|
|
277
|
-
var tmp0_iterator =
|
|
274
|
+
var tmp0_iterator = tmp0_groupBy.f();
|
|
278
275
|
while (tmp0_iterator.g()) {
|
|
279
276
|
var element = tmp0_iterator.h();
|
|
280
|
-
var tmp$ret$0;
|
|
281
277
|
// Inline function 'org.kodein.di.descriptionImpl.<anonymous>' call
|
|
282
|
-
|
|
283
|
-
var key = tmp$ret$0;
|
|
284
|
-
var tmp$ret$2;
|
|
278
|
+
var key = first(element.j1()).r27_1;
|
|
285
279
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
286
280
|
var value = tmp0_groupByTo.t1(key);
|
|
287
281
|
var tmp;
|
|
288
282
|
if (value == null) {
|
|
289
|
-
var tmp$ret$1;
|
|
290
283
|
// Inline function 'kotlin.collections.groupByTo.<anonymous>' call
|
|
291
|
-
|
|
292
|
-
var answer = tmp$ret$1;
|
|
284
|
+
var answer = ArrayList_init_$Create$();
|
|
293
285
|
tmp0_groupByTo.v3(key, answer);
|
|
294
286
|
tmp = answer;
|
|
295
287
|
} else {
|
|
296
288
|
tmp = value;
|
|
297
289
|
}
|
|
298
|
-
|
|
299
|
-
var list = tmp$ret$2;
|
|
290
|
+
var list = tmp;
|
|
300
291
|
list.a(element);
|
|
301
292
|
}
|
|
302
|
-
|
|
303
|
-
tmp$ret$4 = tmp$ret$3;
|
|
304
|
-
var byModule = tmp$ret$4;
|
|
293
|
+
var byModule = tmp0_groupByTo;
|
|
305
294
|
var modules = sorted(filterNotNull(byModule.u1()));
|
|
306
|
-
var tmp$ret$7;
|
|
307
295
|
// Inline function 'kotlin.text.buildString' call
|
|
308
296
|
// Inline function 'kotlin.contracts.contract' call
|
|
309
|
-
var tmp$ret$6;
|
|
310
297
|
// Inline function 'kotlin.apply' call
|
|
311
|
-
var
|
|
298
|
+
var tmp0_apply = StringBuilder_init_$Create$();
|
|
312
299
|
// Inline function 'kotlin.contracts.contract' call
|
|
313
300
|
// Inline function 'org.kodein.di.descriptionImpl.<anonymous>' call
|
|
314
301
|
var tmp0_safe_receiver = byModule.t1(null);
|
|
315
302
|
if (tmp0_safe_receiver == null)
|
|
316
303
|
null;
|
|
317
304
|
else {
|
|
318
|
-
var tmp$ret$5;
|
|
319
305
|
// Inline function 'kotlin.let' call
|
|
320
306
|
// Inline function 'kotlin.contracts.contract' call
|
|
321
|
-
descriptionImpl$appendBindings(
|
|
322
|
-
tmp$ret$5 = Unit_getInstance();
|
|
307
|
+
descriptionImpl$appendBindings(tmp0_apply, keyBindDisp, bindingDisp, withOverrides, ident, tmp0_safe_receiver);
|
|
323
308
|
}
|
|
324
309
|
// Inline function 'kotlin.collections.forEach' call
|
|
325
310
|
var tmp0_iterator_0 = modules.f();
|
|
326
311
|
while (tmp0_iterator_0.g()) {
|
|
327
312
|
var element_0 = tmp0_iterator_0.h();
|
|
328
313
|
// Inline function 'org.kodein.di.descriptionImpl.<anonymous>.<anonymous>' call
|
|
329
|
-
|
|
330
|
-
descriptionImpl$appendBindings(
|
|
331
|
-
|
|
314
|
+
tmp0_apply.f8(repeat(' ', ident) + 'module ' + element_0 + ' {\n');
|
|
315
|
+
descriptionImpl$appendBindings(tmp0_apply, keyBindDisp, bindingDisp, withOverrides, ident + 4 | 0, ensureNotNull(byModule.t1(element_0)));
|
|
316
|
+
tmp0_apply.f8(repeat(' ', ident) + '}\n');
|
|
332
317
|
}
|
|
333
|
-
|
|
334
|
-
tmp$ret$7 = tmp$ret$6.toString();
|
|
335
|
-
return tmp$ret$7;
|
|
318
|
+
return tmp0_apply.toString();
|
|
336
319
|
}
|
|
337
320
|
function fullDescription(_this__u8e3s4, withOverrides, ident) {
|
|
338
321
|
withOverrides = withOverrides === VOID ? false : withOverrides;
|
|
@@ -345,16 +328,15 @@
|
|
|
345
328
|
var element = tmp0_iterator.h();
|
|
346
329
|
// Inline function 'org.kodein.di.descriptionImpl.appendBindings.<anonymous>' call
|
|
347
330
|
var keyDescription = $keyBindDisp(element.h1());
|
|
348
|
-
_this__u8e3s4.f8(repeat(' ', ident) + keyDescription + ' { ' + $bindingDisp(first(element.j1()).
|
|
331
|
+
_this__u8e3s4.f8(repeat(' ', ident) + keyDescription + ' { ' + $bindingDisp(first(element.j1()).q27_1) + ' }');
|
|
349
332
|
if ($withOverrides) {
|
|
350
333
|
var subIdent = keyDescription.length - 4 | 0;
|
|
351
334
|
// Inline function 'kotlin.collections.forEach' call
|
|
352
|
-
var
|
|
353
|
-
var tmp0_iterator_0 = tmp0_forEach.f();
|
|
335
|
+
var tmp0_iterator_0 = element.j1().v2(1, element.j1().i()).f();
|
|
354
336
|
while (tmp0_iterator_0.g()) {
|
|
355
337
|
var element_0 = tmp0_iterator_0.h();
|
|
356
338
|
// Inline function 'org.kodein.di.descriptionImpl.appendBindings.<anonymous>.<anonymous>' call
|
|
357
|
-
_this__u8e3s4.f8(repeat(' ', subIdent) + 'overrides ' + $bindingDisp(element_0.
|
|
339
|
+
_this__u8e3s4.f8(repeat(' ', subIdent) + 'overrides ' + $bindingDisp(element_0.q27_1));
|
|
358
340
|
}
|
|
359
341
|
}
|
|
360
342
|
_this__u8e3s4.f8('\n');
|
|
@@ -363,45 +345,45 @@
|
|
|
363
345
|
}
|
|
364
346
|
function bindDescription$factory() {
|
|
365
347
|
return getPropertyCallableRef('bindDescription', 1, KProperty1, function (receiver) {
|
|
366
|
-
return receiver.
|
|
348
|
+
return receiver.x27();
|
|
367
349
|
}, null);
|
|
368
350
|
}
|
|
369
351
|
function description$factory() {
|
|
370
352
|
return getPropertyCallableRef('description', 1, KProperty1, function (receiver) {
|
|
371
|
-
return receiver.
|
|
353
|
+
return receiver.y27();
|
|
372
354
|
}, null);
|
|
373
355
|
}
|
|
374
356
|
function bindFullDescription$factory() {
|
|
375
357
|
return getPropertyCallableRef('bindFullDescription', 1, KProperty1, function (receiver) {
|
|
376
|
-
return receiver.
|
|
358
|
+
return receiver.z27();
|
|
377
359
|
}, null);
|
|
378
360
|
}
|
|
379
361
|
function fullDescription$factory() {
|
|
380
362
|
return getPropertyCallableRef('fullDescription', 1, KProperty1, function (receiver) {
|
|
381
|
-
return receiver.
|
|
363
|
+
return receiver.a28();
|
|
382
364
|
}, null);
|
|
383
365
|
}
|
|
384
366
|
function appendDescription(_this__u8e3s4, $this, displayString) {
|
|
385
|
-
if (!($this.
|
|
386
|
-
_this__u8e3s4.f8(' tagged "' + toString($this.
|
|
367
|
+
if (!($this.v27_1 == null)) {
|
|
368
|
+
_this__u8e3s4.f8(' tagged "' + toString($this.v27_1) + '"');
|
|
387
369
|
}
|
|
388
|
-
if (!equals($this.
|
|
389
|
-
_this__u8e3s4.f8(' on context ' + displayString($this.
|
|
370
|
+
if (!equals($this.s27_1, Companion_getInstance().i27_1)) {
|
|
371
|
+
_this__u8e3s4.f8(' on context ' + displayString($this.s27_1));
|
|
390
372
|
}
|
|
391
|
-
if (!equals($this.
|
|
392
|
-
_this__u8e3s4.f8(', with argument ' + displayString($this.
|
|
373
|
+
if (!equals($this.t27_1, Companion_getInstance().h27_1)) {
|
|
374
|
+
_this__u8e3s4.f8(', with argument ' + displayString($this.t27_1));
|
|
393
375
|
}
|
|
394
376
|
}
|
|
395
377
|
function TypeToken$simpleDispString$ref() {
|
|
396
378
|
var l = function (p0) {
|
|
397
|
-
return p0.
|
|
379
|
+
return p0.w26();
|
|
398
380
|
};
|
|
399
381
|
l.callableName = 'simpleDispString';
|
|
400
382
|
return l;
|
|
401
383
|
}
|
|
402
384
|
function TypeToken$qualifiedDispString$ref() {
|
|
403
385
|
var l = function (p0) {
|
|
404
|
-
return p0.
|
|
386
|
+
return p0.y26();
|
|
405
387
|
};
|
|
406
388
|
l.callableName = 'qualifiedDispString';
|
|
407
389
|
return l;
|
|
@@ -410,7 +392,7 @@
|
|
|
410
392
|
allowSilentOverride = allowSilentOverride === VOID ? false : allowSilentOverride;
|
|
411
393
|
prefix = prefix === VOID ? '' : prefix;
|
|
412
394
|
Module.call($this, allowSilentOverride, prefix, init);
|
|
413
|
-
$this.
|
|
395
|
+
$this.e28_1 = name;
|
|
414
396
|
return $this;
|
|
415
397
|
}
|
|
416
398
|
function Module_init_$Create$(name, allowSilentOverride, prefix, init) {
|
|
@@ -423,111 +405,95 @@
|
|
|
423
405
|
function NotFoundException(key, message) {
|
|
424
406
|
RuntimeException_init_$Init$(message, this);
|
|
425
407
|
captureStack(this, NotFoundException);
|
|
426
|
-
this.
|
|
408
|
+
this.f28_1 = key;
|
|
427
409
|
}
|
|
428
410
|
function OverridingException(message) {
|
|
429
411
|
RuntimeException_init_$Init$(message, this);
|
|
430
412
|
captureStack(this, OverridingException);
|
|
431
413
|
}
|
|
432
414
|
function Key(contextType, argType, type, tag) {
|
|
433
|
-
this.
|
|
434
|
-
this.
|
|
435
|
-
this.
|
|
436
|
-
this.
|
|
437
|
-
this.
|
|
415
|
+
this.s27_1 = contextType;
|
|
416
|
+
this.t27_1 = argType;
|
|
417
|
+
this.u27_1 = type;
|
|
418
|
+
this.v27_1 = tag;
|
|
419
|
+
this.w27_1 = 0;
|
|
438
420
|
}
|
|
439
421
|
protoOf(Key).hashCode = function () {
|
|
440
|
-
if (this.
|
|
441
|
-
this.
|
|
442
|
-
this.
|
|
443
|
-
this.
|
|
422
|
+
if (this.w27_1 === 0) {
|
|
423
|
+
this.w27_1 = hashCode(this.s27_1);
|
|
424
|
+
this.w27_1 = imul(31, this.w27_1) + hashCode(this.t27_1) | 0;
|
|
425
|
+
this.w27_1 = imul(29, hashCode(this.u27_1));
|
|
444
426
|
var tmp = this;
|
|
445
|
-
var tmp_0 = imul(23, this.
|
|
446
|
-
var tmp0_safe_receiver = this.
|
|
427
|
+
var tmp_0 = imul(23, this.w27_1);
|
|
428
|
+
var tmp0_safe_receiver = this.v27_1;
|
|
447
429
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
448
|
-
tmp.
|
|
430
|
+
tmp.w27_1 = tmp_0 + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
449
431
|
}
|
|
450
|
-
return this.
|
|
432
|
+
return this.w27_1;
|
|
451
433
|
};
|
|
452
434
|
protoOf(Key).toString = function () {
|
|
453
|
-
return this.
|
|
435
|
+
return this.y27();
|
|
454
436
|
};
|
|
455
|
-
protoOf(Key).
|
|
456
|
-
var tmp$ret$1;
|
|
437
|
+
protoOf(Key).x27 = function () {
|
|
457
438
|
// Inline function 'kotlin.text.buildString' call
|
|
458
439
|
// Inline function 'kotlin.contracts.contract' call
|
|
459
|
-
var tmp$ret$0;
|
|
460
440
|
// Inline function 'kotlin.apply' call
|
|
461
441
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
462
442
|
// Inline function 'kotlin.contracts.contract' call
|
|
463
443
|
// Inline function 'org.kodein.di.Key.<get-bindDescription>.<anonymous>' call
|
|
464
|
-
tmp0_apply.f8('bind<' + this.
|
|
465
|
-
if (!(this.
|
|
466
|
-
tmp0_apply.f8('(tag = "' + toString(this.
|
|
444
|
+
tmp0_apply.f8('bind<' + this.u27_1.w26() + '>');
|
|
445
|
+
if (!(this.v27_1 == null)) {
|
|
446
|
+
tmp0_apply.f8('(tag = "' + toString(this.v27_1) + '")');
|
|
467
447
|
}
|
|
468
|
-
|
|
469
|
-
tmp$ret$1 = tmp$ret$0.toString();
|
|
470
|
-
return tmp$ret$1;
|
|
448
|
+
return tmp0_apply.toString();
|
|
471
449
|
};
|
|
472
|
-
protoOf(Key).
|
|
473
|
-
var tmp$ret$1;
|
|
450
|
+
protoOf(Key).z27 = function () {
|
|
474
451
|
// Inline function 'kotlin.text.buildString' call
|
|
475
452
|
// Inline function 'kotlin.contracts.contract' call
|
|
476
|
-
var tmp$ret$0;
|
|
477
453
|
// Inline function 'kotlin.apply' call
|
|
478
454
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
479
455
|
// Inline function 'kotlin.contracts.contract' call
|
|
480
456
|
// Inline function 'org.kodein.di.Key.<get-bindFullDescription>.<anonymous>' call
|
|
481
|
-
tmp0_apply.f8('bind<' + this.
|
|
482
|
-
if (!(this.
|
|
483
|
-
tmp0_apply.f8('(tag = "' + toString(this.
|
|
457
|
+
tmp0_apply.f8('bind<' + this.u27_1.y26() + '>');
|
|
458
|
+
if (!(this.v27_1 == null)) {
|
|
459
|
+
tmp0_apply.f8('(tag = "' + toString(this.v27_1) + '")');
|
|
484
460
|
}
|
|
485
|
-
|
|
486
|
-
tmp$ret$1 = tmp$ret$0.toString();
|
|
487
|
-
return tmp$ret$1;
|
|
461
|
+
return tmp0_apply.toString();
|
|
488
462
|
};
|
|
489
|
-
protoOf(Key).
|
|
490
|
-
var tmp$ret$1;
|
|
463
|
+
protoOf(Key).y27 = function () {
|
|
491
464
|
// Inline function 'kotlin.text.buildString' call
|
|
492
465
|
// Inline function 'kotlin.contracts.contract' call
|
|
493
|
-
var tmp$ret$0;
|
|
494
466
|
// Inline function 'kotlin.apply' call
|
|
495
467
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
496
468
|
// Inline function 'kotlin.contracts.contract' call
|
|
497
469
|
// Inline function 'org.kodein.di.Key.<get-description>.<anonymous>' call
|
|
498
|
-
tmp0_apply.f8(this.
|
|
470
|
+
tmp0_apply.f8(this.u27_1.w26());
|
|
499
471
|
appendDescription(tmp0_apply, this, TypeToken$simpleDispString$ref());
|
|
500
|
-
|
|
501
|
-
tmp$ret$1 = tmp$ret$0.toString();
|
|
502
|
-
return tmp$ret$1;
|
|
472
|
+
return tmp0_apply.toString();
|
|
503
473
|
};
|
|
504
|
-
protoOf(Key).
|
|
505
|
-
return '(context: ' + this.
|
|
474
|
+
protoOf(Key).g28 = function () {
|
|
475
|
+
return '(context: ' + this.s27_1.w26() + ', arg: ' + this.t27_1.w26() + ', type: ' + this.u27_1.w26() + ', tag: ' + toString(this.v27_1) + ')';
|
|
506
476
|
};
|
|
507
|
-
protoOf(Key).
|
|
508
|
-
var tmp$ret$1;
|
|
477
|
+
protoOf(Key).a28 = function () {
|
|
509
478
|
// Inline function 'kotlin.text.buildString' call
|
|
510
479
|
// Inline function 'kotlin.contracts.contract' call
|
|
511
|
-
var tmp$ret$0;
|
|
512
480
|
// Inline function 'kotlin.apply' call
|
|
513
481
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
514
482
|
// Inline function 'kotlin.contracts.contract' call
|
|
515
483
|
// Inline function 'org.kodein.di.Key.<get-fullDescription>.<anonymous>' call
|
|
516
|
-
tmp0_apply.f8(this.
|
|
484
|
+
tmp0_apply.f8(this.u27_1.y26());
|
|
517
485
|
appendDescription(tmp0_apply, this, TypeToken$qualifiedDispString$ref());
|
|
518
|
-
|
|
519
|
-
tmp$ret$1 = tmp$ret$0.toString();
|
|
520
|
-
return tmp$ret$1;
|
|
486
|
+
return tmp0_apply.toString();
|
|
521
487
|
};
|
|
522
|
-
protoOf(Key).
|
|
488
|
+
protoOf(Key).h28 = function (contextType, argType, type, tag) {
|
|
523
489
|
return new Key(contextType, argType, type, tag);
|
|
524
490
|
};
|
|
525
|
-
protoOf(Key).
|
|
526
|
-
contextType = contextType === VOID ? this.
|
|
527
|
-
argType = argType === VOID ? this.
|
|
528
|
-
type = type === VOID ? this.
|
|
529
|
-
tag = tag === VOID ? this.
|
|
530
|
-
return $super === VOID ? this.
|
|
491
|
+
protoOf(Key).i28 = function (contextType, argType, type, tag, $super) {
|
|
492
|
+
contextType = contextType === VOID ? this.s27_1 : contextType;
|
|
493
|
+
argType = argType === VOID ? this.t27_1 : argType;
|
|
494
|
+
type = type === VOID ? this.u27_1 : type;
|
|
495
|
+
tag = tag === VOID ? this.v27_1 : tag;
|
|
496
|
+
return $super === VOID ? this.h28(contextType, argType, type, tag) : $super.h28.call(this, contextType, argType, type, tag);
|
|
531
497
|
};
|
|
532
498
|
protoOf(Key).equals = function (other) {
|
|
533
499
|
if (this === other)
|
|
@@ -535,13 +501,13 @@
|
|
|
535
501
|
if (!(other instanceof Key))
|
|
536
502
|
return false;
|
|
537
503
|
var tmp0_other_with_cast = other instanceof Key ? other : THROW_CCE();
|
|
538
|
-
if (!equals(this.
|
|
504
|
+
if (!equals(this.s27_1, tmp0_other_with_cast.s27_1))
|
|
539
505
|
return false;
|
|
540
|
-
if (!equals(this.
|
|
506
|
+
if (!equals(this.t27_1, tmp0_other_with_cast.t27_1))
|
|
541
507
|
return false;
|
|
542
|
-
if (!equals(this.
|
|
508
|
+
if (!equals(this.u27_1, tmp0_other_with_cast.u27_1))
|
|
543
509
|
return false;
|
|
544
|
-
if (!equals(this.
|
|
510
|
+
if (!equals(this.v27_1, tmp0_other_with_cast.v27_1))
|
|
545
511
|
return false;
|
|
546
512
|
return true;
|
|
547
513
|
};
|
|
@@ -550,13 +516,13 @@
|
|
|
550
516
|
function Module(allowSilentOverride, prefix, init) {
|
|
551
517
|
allowSilentOverride = allowSilentOverride === VOID ? false : allowSilentOverride;
|
|
552
518
|
prefix = prefix === VOID ? '' : prefix;
|
|
553
|
-
this.
|
|
554
|
-
this.
|
|
555
|
-
this.
|
|
556
|
-
this.
|
|
519
|
+
this.b28_1 = allowSilentOverride;
|
|
520
|
+
this.c28_1 = prefix;
|
|
521
|
+
this.d28_1 = init;
|
|
522
|
+
this.e28_1 = null;
|
|
557
523
|
}
|
|
558
|
-
protoOf(Module).
|
|
559
|
-
var tmp0_elvis_lhs = this.
|
|
524
|
+
protoOf(Module).ug = function () {
|
|
525
|
+
var tmp0_elvis_lhs = this.e28_1;
|
|
560
526
|
var tmp;
|
|
561
527
|
if (tmp0_elvis_lhs == null) {
|
|
562
528
|
throw IllegalStateException_init_$Create$('module must have a name.');
|
|
@@ -566,12 +532,12 @@
|
|
|
566
532
|
return tmp;
|
|
567
533
|
};
|
|
568
534
|
protoOf(Module).toString = function () {
|
|
569
|
-
return 'Module(allowSilentOverride=' + this.
|
|
535
|
+
return 'Module(allowSilentOverride=' + this.b28_1 + ', prefix=' + this.c28_1 + ', init=' + this.d28_1 + ')';
|
|
570
536
|
};
|
|
571
537
|
protoOf(Module).hashCode = function () {
|
|
572
|
-
var result = this.
|
|
573
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
574
|
-
result = imul(result, 31) + hashCode(this.
|
|
538
|
+
var result = this.b28_1 | 0;
|
|
539
|
+
result = imul(result, 31) + getStringHashCode(this.c28_1) | 0;
|
|
540
|
+
result = imul(result, 31) + hashCode(this.d28_1) | 0;
|
|
575
541
|
return result;
|
|
576
542
|
};
|
|
577
543
|
protoOf(Module).equals = function (other) {
|
|
@@ -580,25 +546,25 @@
|
|
|
580
546
|
if (!(other instanceof Module))
|
|
581
547
|
return false;
|
|
582
548
|
var tmp0_other_with_cast = other instanceof Module ? other : THROW_CCE();
|
|
583
|
-
if (!(this.
|
|
549
|
+
if (!(this.b28_1 === tmp0_other_with_cast.b28_1))
|
|
584
550
|
return false;
|
|
585
|
-
if (!(this.
|
|
551
|
+
if (!(this.c28_1 === tmp0_other_with_cast.c28_1))
|
|
586
552
|
return false;
|
|
587
|
-
if (!equals(this.
|
|
553
|
+
if (!equals(this.d28_1, tmp0_other_with_cast.d28_1))
|
|
588
554
|
return false;
|
|
589
555
|
return true;
|
|
590
556
|
};
|
|
591
557
|
function Companion() {
|
|
592
558
|
Companion_instance = this;
|
|
593
|
-
this.
|
|
594
|
-
this.
|
|
559
|
+
this.m28_1 = false;
|
|
560
|
+
this.n28_1 = false;
|
|
595
561
|
}
|
|
596
|
-
protoOf(Companion).
|
|
562
|
+
protoOf(Companion).o28 = function (allowSilentOverride, init) {
|
|
597
563
|
return DIImpl_init_$Create$(allowSilentOverride, init);
|
|
598
564
|
};
|
|
599
|
-
protoOf(Companion).
|
|
565
|
+
protoOf(Companion).p28 = function (allowSilentOverride, init, $super) {
|
|
600
566
|
allowSilentOverride = allowSilentOverride === VOID ? false : allowSilentOverride;
|
|
601
|
-
return $super === VOID ? this.
|
|
567
|
+
return $super === VOID ? this.o28(allowSilentOverride, init) : $super.o28.call(this, allowSilentOverride, init);
|
|
602
568
|
};
|
|
603
569
|
var Companion_instance;
|
|
604
570
|
function Companion_getInstance_0() {
|
|
@@ -609,26 +575,26 @@
|
|
|
609
575
|
function DI() {
|
|
610
576
|
}
|
|
611
577
|
function get_direct(_this__u8e3s4) {
|
|
612
|
-
return new DirectDIImpl(_this__u8e3s4.
|
|
578
|
+
return new DirectDIImpl(_this__u8e3s4.q28().r28(), _this__u8e3s4.s28());
|
|
613
579
|
}
|
|
614
580
|
function DIAware() {
|
|
615
581
|
}
|
|
616
582
|
function Value(type, value) {
|
|
617
|
-
this.
|
|
618
|
-
this.
|
|
583
|
+
this.u28_1 = type;
|
|
584
|
+
this.v28_1 = value;
|
|
619
585
|
}
|
|
620
|
-
protoOf(Value).
|
|
621
|
-
return this.
|
|
586
|
+
protoOf(Value).w28 = function () {
|
|
587
|
+
return this.u28_1;
|
|
622
588
|
};
|
|
623
589
|
protoOf(Value).j1 = function () {
|
|
624
|
-
return this.
|
|
590
|
+
return this.v28_1;
|
|
625
591
|
};
|
|
626
592
|
protoOf(Value).toString = function () {
|
|
627
|
-
return 'Value(type=' + this.
|
|
593
|
+
return 'Value(type=' + this.u28_1 + ', value=' + this.v28_1 + ')';
|
|
628
594
|
};
|
|
629
595
|
protoOf(Value).hashCode = function () {
|
|
630
|
-
var result = hashCode(this.
|
|
631
|
-
result = imul(result, 31) + hashCode(this.
|
|
596
|
+
var result = hashCode(this.u28_1);
|
|
597
|
+
result = imul(result, 31) + hashCode(this.v28_1) | 0;
|
|
632
598
|
return result;
|
|
633
599
|
};
|
|
634
600
|
protoOf(Value).equals = function (other) {
|
|
@@ -637,16 +603,16 @@
|
|
|
637
603
|
if (!(other instanceof Value))
|
|
638
604
|
return false;
|
|
639
605
|
var tmp0_other_with_cast = other instanceof Value ? other : THROW_CCE();
|
|
640
|
-
if (!equals(this.
|
|
606
|
+
if (!equals(this.u28_1, tmp0_other_with_cast.u28_1))
|
|
641
607
|
return false;
|
|
642
|
-
if (!equals(this.
|
|
608
|
+
if (!equals(this.v28_1, tmp0_other_with_cast.v28_1))
|
|
643
609
|
return false;
|
|
644
610
|
return true;
|
|
645
611
|
};
|
|
646
612
|
function Companion_0() {
|
|
647
613
|
Companion_instance_0 = this;
|
|
648
614
|
}
|
|
649
|
-
protoOf(Companion_0).
|
|
615
|
+
protoOf(Companion_0).x28 = function (type, value) {
|
|
650
616
|
return new Value(type, value);
|
|
651
617
|
};
|
|
652
618
|
var Companion_instance_0;
|
|
@@ -659,16 +625,16 @@
|
|
|
659
625
|
}
|
|
660
626
|
function Instance(_this__u8e3s4, type, tag) {
|
|
661
627
|
tag = tag === VOID ? null : tag;
|
|
662
|
-
var tmp = _this__u8e3s4.
|
|
663
|
-
var tmp_0 = _this__u8e3s4.
|
|
628
|
+
var tmp = _this__u8e3s4.t28();
|
|
629
|
+
var tmp_0 = _this__u8e3s4.s28();
|
|
664
630
|
return new DIProperty(tmp, tmp_0, Instance$lambda(_this__u8e3s4, type, tag));
|
|
665
631
|
}
|
|
666
632
|
function get_AnyDIContext() {
|
|
667
|
-
return Contexes_getInstance().
|
|
633
|
+
return Contexes_getInstance().y28_1;
|
|
668
634
|
}
|
|
669
635
|
function Contexes() {
|
|
670
636
|
Contexes_instance = this;
|
|
671
|
-
this.
|
|
637
|
+
this.y28_1 = Companion_getInstance_1().x28(Companion_getInstance().i27_1, new Object());
|
|
672
638
|
}
|
|
673
639
|
var Contexes_instance;
|
|
674
640
|
function Contexes_getInstance() {
|
|
@@ -677,14 +643,14 @@
|
|
|
677
643
|
return Contexes_instance;
|
|
678
644
|
}
|
|
679
645
|
function On(_this__u8e3s4, context, trigger) {
|
|
680
|
-
context = context === VOID ? _this__u8e3s4.
|
|
681
|
-
trigger = trigger === VOID ? _this__u8e3s4.
|
|
646
|
+
context = context === VOID ? _this__u8e3s4.s28() : context;
|
|
647
|
+
trigger = trigger === VOID ? _this__u8e3s4.t28() : trigger;
|
|
682
648
|
return DIWrapper_init_$Create$(_this__u8e3s4, context, trigger);
|
|
683
649
|
}
|
|
684
650
|
function DIWrapper_init_$Init$(base, diContext, trigger, $this) {
|
|
685
|
-
diContext = diContext === VOID ? base.
|
|
686
|
-
trigger = trigger === VOID ? base.
|
|
687
|
-
DIWrapper.call($this, base.
|
|
651
|
+
diContext = diContext === VOID ? base.s28() : diContext;
|
|
652
|
+
trigger = trigger === VOID ? base.t28() : trigger;
|
|
653
|
+
DIWrapper.call($this, base.q28(), diContext, trigger);
|
|
688
654
|
return $this;
|
|
689
655
|
}
|
|
690
656
|
function DIWrapper_init_$Create$(base, diContext, trigger) {
|
|
@@ -692,30 +658,30 @@
|
|
|
692
658
|
}
|
|
693
659
|
function DIWrapper(_base, diContext, diTrigger) {
|
|
694
660
|
diTrigger = diTrigger === VOID ? null : diTrigger;
|
|
695
|
-
this.
|
|
696
|
-
this.
|
|
697
|
-
this.
|
|
661
|
+
this.z28_1 = _base;
|
|
662
|
+
this.a29_1 = diContext;
|
|
663
|
+
this.b29_1 = diTrigger;
|
|
698
664
|
}
|
|
699
|
-
protoOf(DIWrapper).
|
|
700
|
-
return this.
|
|
665
|
+
protoOf(DIWrapper).s28 = function () {
|
|
666
|
+
return this.a29_1;
|
|
701
667
|
};
|
|
702
|
-
protoOf(DIWrapper).
|
|
703
|
-
return this.
|
|
668
|
+
protoOf(DIWrapper).t28 = function () {
|
|
669
|
+
return this.b29_1;
|
|
704
670
|
};
|
|
705
|
-
protoOf(DIWrapper).
|
|
671
|
+
protoOf(DIWrapper).q28 = function () {
|
|
706
672
|
return this;
|
|
707
673
|
};
|
|
708
|
-
protoOf(DIWrapper).
|
|
709
|
-
return this.
|
|
674
|
+
protoOf(DIWrapper).r28 = function () {
|
|
675
|
+
return this.z28_1.r28();
|
|
710
676
|
};
|
|
711
677
|
function Instance$lambda($this_Instance, $type, $tag) {
|
|
712
678
|
return function (ctx, _anonymous_parameter_1__qggqgd) {
|
|
713
|
-
var tmp = $this_Instance.
|
|
679
|
+
var tmp = $this_Instance.q28().r28();
|
|
714
680
|
var tmp$ret$0;
|
|
715
681
|
// Inline function 'org.kodein.di.anyType' call
|
|
716
|
-
var tmp_0 = ctx.
|
|
682
|
+
var tmp_0 = ctx.w28();
|
|
717
683
|
tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
718
|
-
return tmp.
|
|
684
|
+
return tmp.c29(new Key(tmp$ret$0, Companion_getInstance().h27_1, $type, $tag), ctx.j1())();
|
|
719
685
|
};
|
|
720
686
|
}
|
|
721
687
|
function DIContainer$provider$lambda($tmp0_toProvider) {
|
|
@@ -743,61 +709,61 @@
|
|
|
743
709
|
argType = argType === VOID ? null : argType;
|
|
744
710
|
type = type === VOID ? null : type;
|
|
745
711
|
tag = tag === VOID ? NoDefinedTag_getInstance() : tag;
|
|
746
|
-
this.
|
|
747
|
-
this.
|
|
748
|
-
this.
|
|
749
|
-
this.
|
|
712
|
+
this.n29_1 = contextType;
|
|
713
|
+
this.o29_1 = argType;
|
|
714
|
+
this.p29_1 = type;
|
|
715
|
+
this.q29_1 = tag;
|
|
750
716
|
}
|
|
751
717
|
protoOf(SearchSpecs).toString = function () {
|
|
752
718
|
var args = ArrayList_init_$Create$();
|
|
753
|
-
if (!(this.
|
|
719
|
+
if (!(this.n29_1 == null)) {
|
|
754
720
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
755
|
-
var tmp0_safe_receiver = this.
|
|
756
|
-
var tmp0_plusAssign = 'contextType=' + (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
721
|
+
var tmp0_safe_receiver = this.n29_1;
|
|
722
|
+
var tmp0_plusAssign = 'contextType=' + (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w26());
|
|
757
723
|
args.a(tmp0_plusAssign);
|
|
758
724
|
}
|
|
759
|
-
if (!(this.
|
|
725
|
+
if (!(this.o29_1 == null)) {
|
|
760
726
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
761
|
-
var tmp1_safe_receiver = this.
|
|
762
|
-
var tmp1_plusAssign = 'argType=' + (tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
727
|
+
var tmp1_safe_receiver = this.o29_1;
|
|
728
|
+
var tmp1_plusAssign = 'argType=' + (tmp1_safe_receiver == null ? null : tmp1_safe_receiver.w26());
|
|
763
729
|
args.a(tmp1_plusAssign);
|
|
764
730
|
}
|
|
765
|
-
if (!(this.
|
|
731
|
+
if (!(this.p29_1 == null)) {
|
|
766
732
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
767
|
-
var tmp2_safe_receiver = this.
|
|
768
|
-
var tmp2_plusAssign = 'type=' + (tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
733
|
+
var tmp2_safe_receiver = this.p29_1;
|
|
734
|
+
var tmp2_plusAssign = 'type=' + (tmp2_safe_receiver == null ? null : tmp2_safe_receiver.w26());
|
|
769
735
|
args.a(tmp2_plusAssign);
|
|
770
736
|
}
|
|
771
|
-
if (!equals(this.
|
|
737
|
+
if (!equals(this.q29_1, NoDefinedTag_getInstance())) {
|
|
772
738
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
773
|
-
var tmp3_plusAssign = 'tag=' + toString(this.
|
|
739
|
+
var tmp3_plusAssign = 'tag=' + toString(this.q29_1);
|
|
774
740
|
args.a(tmp3_plusAssign);
|
|
775
741
|
}
|
|
776
742
|
return '[' + joinToString(args, ', ') + ']';
|
|
777
743
|
};
|
|
778
744
|
function NoArgBindingDIWrap(_di) {
|
|
779
|
-
this.
|
|
745
|
+
this.r29_1 = _di;
|
|
780
746
|
}
|
|
781
|
-
protoOf(NoArgBindingDIWrap).
|
|
782
|
-
return this.
|
|
747
|
+
protoOf(NoArgBindingDIWrap).q28 = function () {
|
|
748
|
+
return this.r29_1.q28();
|
|
783
749
|
};
|
|
784
|
-
protoOf(NoArgBindingDIWrap).
|
|
785
|
-
return this.
|
|
750
|
+
protoOf(NoArgBindingDIWrap).s29 = function () {
|
|
751
|
+
return this.r29_1.s29();
|
|
786
752
|
};
|
|
787
|
-
protoOf(NoArgBindingDIWrap).
|
|
788
|
-
return this.
|
|
753
|
+
protoOf(NoArgBindingDIWrap).m29 = function () {
|
|
754
|
+
return this.r29_1.m29();
|
|
789
755
|
};
|
|
790
|
-
protoOf(NoArgBindingDIWrap).
|
|
791
|
-
return this.
|
|
756
|
+
protoOf(NoArgBindingDIWrap).t29 = function (type, tag) {
|
|
757
|
+
return this.r29_1.t29(type, tag);
|
|
792
758
|
};
|
|
793
|
-
protoOf(NoArgBindingDIWrap).
|
|
794
|
-
return this.
|
|
759
|
+
protoOf(NoArgBindingDIWrap).u29 = function (context) {
|
|
760
|
+
return this.r29_1.u29(context);
|
|
795
761
|
};
|
|
796
762
|
function ErasedContext() {
|
|
797
763
|
ErasedContext_instance = this;
|
|
798
764
|
}
|
|
799
|
-
protoOf(ErasedContext).
|
|
800
|
-
return Companion_getInstance().
|
|
765
|
+
protoOf(ErasedContext).w28 = function () {
|
|
766
|
+
return Companion_getInstance().i27_1;
|
|
801
767
|
};
|
|
802
768
|
protoOf(ErasedContext).j1 = function () {
|
|
803
769
|
return ErasedContext_getInstance();
|
|
@@ -809,12 +775,12 @@
|
|
|
809
775
|
return ErasedContext_instance;
|
|
810
776
|
}
|
|
811
777
|
function DIBinding$Copier$Companion$invoke$1($f) {
|
|
812
|
-
this.
|
|
778
|
+
this.v29_1 = $f;
|
|
813
779
|
}
|
|
814
780
|
function Companion_1() {
|
|
815
781
|
Companion_instance_1 = this;
|
|
816
782
|
}
|
|
817
|
-
protoOf(Companion_1).
|
|
783
|
+
protoOf(Companion_1).w29 = function (f) {
|
|
818
784
|
return new DIBinding$Copier$Companion$invoke$1(f);
|
|
819
785
|
};
|
|
820
786
|
var Companion_instance_1;
|
|
@@ -835,7 +801,7 @@
|
|
|
835
801
|
function SingletonReference() {
|
|
836
802
|
SingletonReference_instance = this;
|
|
837
803
|
}
|
|
838
|
-
protoOf(SingletonReference).
|
|
804
|
+
protoOf(SingletonReference).f2a = function (creator) {
|
|
839
805
|
var value = creator();
|
|
840
806
|
return new Reference(value, SingletonReference$make$lambda(value));
|
|
841
807
|
};
|
|
@@ -846,21 +812,21 @@
|
|
|
846
812
|
return SingletonReference_instance;
|
|
847
813
|
}
|
|
848
814
|
function Reference(current, next) {
|
|
849
|
-
this.
|
|
850
|
-
this.
|
|
815
|
+
this.g2a_1 = current;
|
|
816
|
+
this.h2a_1 = next;
|
|
851
817
|
}
|
|
852
818
|
protoOf(Reference).t3 = function () {
|
|
853
|
-
return this.
|
|
819
|
+
return this.g2a_1;
|
|
854
820
|
};
|
|
855
821
|
protoOf(Reference).u3 = function () {
|
|
856
|
-
return this.
|
|
822
|
+
return this.h2a_1;
|
|
857
823
|
};
|
|
858
824
|
protoOf(Reference).toString = function () {
|
|
859
|
-
return 'Reference(current=' + this.
|
|
825
|
+
return 'Reference(current=' + this.g2a_1 + ', next=' + this.h2a_1 + ')';
|
|
860
826
|
};
|
|
861
827
|
protoOf(Reference).hashCode = function () {
|
|
862
|
-
var result = hashCode(this.
|
|
863
|
-
result = imul(result, 31) + hashCode(this.
|
|
828
|
+
var result = hashCode(this.g2a_1);
|
|
829
|
+
result = imul(result, 31) + hashCode(this.h2a_1) | 0;
|
|
864
830
|
return result;
|
|
865
831
|
};
|
|
866
832
|
protoOf(Reference).equals = function (other) {
|
|
@@ -869,9 +835,9 @@
|
|
|
869
835
|
if (!(other instanceof Reference))
|
|
870
836
|
return false;
|
|
871
837
|
var tmp0_other_with_cast = other instanceof Reference ? other : THROW_CCE();
|
|
872
|
-
if (!equals(this.
|
|
838
|
+
if (!equals(this.g2a_1, tmp0_other_with_cast.g2a_1))
|
|
873
839
|
return false;
|
|
874
|
-
if (!equals(this.
|
|
840
|
+
if (!equals(this.h2a_1, tmp0_other_with_cast.h2a_1))
|
|
875
841
|
return false;
|
|
876
842
|
return true;
|
|
877
843
|
};
|
|
@@ -879,157 +845,128 @@
|
|
|
879
845
|
}
|
|
880
846
|
function ScopeRegistry() {
|
|
881
847
|
}
|
|
848
|
+
function NoScope() {
|
|
849
|
+
this.l2a_1 = new StandardScopeRegistry();
|
|
850
|
+
}
|
|
851
|
+
protoOf(NoScope).m2a = function (context) {
|
|
852
|
+
return this.l2a_1;
|
|
853
|
+
};
|
|
854
|
+
protoOf(NoScope).n2a = function (context) {
|
|
855
|
+
return this.m2a((context == null ? true : isObject(context)) ? context : THROW_CCE());
|
|
856
|
+
};
|
|
882
857
|
function StandardScopeRegistry() {
|
|
883
858
|
ScopeRegistry.call(this);
|
|
884
|
-
this.
|
|
885
|
-
this.
|
|
859
|
+
this.o2a_1 = newConcurrentMap();
|
|
860
|
+
this.p2a_1 = new Object();
|
|
886
861
|
}
|
|
887
|
-
protoOf(StandardScopeRegistry).
|
|
862
|
+
protoOf(StandardScopeRegistry).k2a = function (key, sync, creator) {
|
|
888
863
|
var tmp$ret$2;
|
|
889
864
|
$l$block_1: {
|
|
890
865
|
// Inline function 'org.kodein.di.internal.synchronizedIfNull' call
|
|
891
|
-
|
|
892
|
-
var tmp$ret$0;
|
|
866
|
+
sync && this.p2a_1;
|
|
893
867
|
// Inline function 'org.kodein.di.bindings.StandardScopeRegistry.getOrCreate.<anonymous>' call
|
|
894
|
-
var tmp0_safe_receiver = this.
|
|
895
|
-
|
|
896
|
-
var tmp0_safe_receiver_0 = tmp$ret$0;
|
|
868
|
+
var tmp0_safe_receiver = this.o2a_1.t1(key);
|
|
869
|
+
var tmp0_safe_receiver_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver();
|
|
897
870
|
if (tmp0_safe_receiver_0 == null)
|
|
898
871
|
null;
|
|
899
872
|
else {
|
|
900
|
-
var tmp$ret$3;
|
|
901
873
|
// Inline function 'kotlin.let' call
|
|
902
874
|
// Inline function 'kotlin.contracts.contract' call
|
|
903
|
-
var tmp$ret$1;
|
|
904
875
|
// Inline function 'org.kodein.di.bindings.StandardScopeRegistry.getOrCreate.<anonymous>' call
|
|
905
|
-
tmp$ret$
|
|
906
|
-
tmp$ret$2 = tmp$ret$1;
|
|
876
|
+
tmp$ret$2 = tmp0_safe_receiver_0;
|
|
907
877
|
break $l$block_1;
|
|
908
878
|
}
|
|
909
|
-
var tmp$ret$8;
|
|
910
879
|
// Inline function 'org.kodein.di.internal.maySynchronized' call
|
|
911
880
|
var tmp$ret$5;
|
|
912
881
|
$l$block_0: {
|
|
913
882
|
// Inline function 'org.kodein.di.internal.synchronizedIfNull.<anonymous>' call
|
|
914
|
-
var tmp$ret$4;
|
|
915
883
|
// Inline function 'org.kodein.di.bindings.StandardScopeRegistry.getOrCreate.<anonymous>' call
|
|
916
|
-
var tmp0_safe_receiver_1 = this.
|
|
917
|
-
|
|
918
|
-
var tmp0_safe_receiver_2 = tmp$ret$4;
|
|
884
|
+
var tmp0_safe_receiver_1 = this.o2a_1.t1(key);
|
|
885
|
+
var tmp0_safe_receiver_2 = tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1();
|
|
919
886
|
if (tmp0_safe_receiver_2 == null)
|
|
920
887
|
null;
|
|
921
888
|
else {
|
|
922
|
-
var tmp$ret$6;
|
|
923
889
|
// Inline function 'kotlin.let' call
|
|
924
890
|
// Inline function 'kotlin.contracts.contract' call
|
|
925
891
|
tmp$ret$5 = tmp0_safe_receiver_2;
|
|
926
892
|
break $l$block_0;
|
|
927
893
|
}
|
|
928
|
-
var tmp$ret$7;
|
|
929
894
|
// Inline function 'org.kodein.di.bindings.StandardScopeRegistry.getOrCreate.<anonymous>' call
|
|
930
895
|
var tmp0_container = creator();
|
|
931
896
|
var current = tmp0_container.t3();
|
|
932
897
|
var next = tmp0_container.u3();
|
|
933
898
|
// Inline function 'kotlin.collections.set' call
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
tmp$ret$7 = current;
|
|
937
|
-
tmp$ret$2 = tmp$ret$7;
|
|
899
|
+
this.o2a_1.v3(key, next);
|
|
900
|
+
tmp$ret$2 = current;
|
|
938
901
|
break $l$block_1;
|
|
939
902
|
}
|
|
940
|
-
|
|
941
|
-
var value = tmp$ret$8;
|
|
942
|
-
var tmp$ret$9;
|
|
903
|
+
var value = tmp$ret$5;
|
|
943
904
|
// Inline function 'org.kodein.di.bindings.StandardScopeRegistry.getOrCreate.<anonymous>' call
|
|
944
|
-
tmp$ret$
|
|
945
|
-
tmp$ret$2 = tmp$ret$9;
|
|
905
|
+
tmp$ret$2 = value;
|
|
946
906
|
}
|
|
947
907
|
return tmp$ret$2;
|
|
948
908
|
};
|
|
949
|
-
function NoScope() {
|
|
950
|
-
this.j2a_1 = new StandardScopeRegistry();
|
|
951
|
-
}
|
|
952
|
-
protoOf(NoScope).k2a = function (context) {
|
|
953
|
-
return this.j2a_1;
|
|
954
|
-
};
|
|
955
|
-
protoOf(NoScope).l2a = function (context) {
|
|
956
|
-
return this.k2a((context == null ? true : isObject(context)) ? context : THROW_CCE());
|
|
957
|
-
};
|
|
958
909
|
function toKContext(_this__u8e3s4, di, ctx) {
|
|
959
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
910
|
+
var tmp0_safe_receiver = _this__u8e3s4.j2a(di, ctx);
|
|
960
911
|
var tmp;
|
|
961
912
|
if (tmp0_safe_receiver == null) {
|
|
962
913
|
tmp = null;
|
|
963
914
|
} else {
|
|
964
|
-
var tmp$ret$1;
|
|
965
915
|
// Inline function 'kotlin.let' call
|
|
966
916
|
// Inline function 'kotlin.contracts.contract' call
|
|
967
|
-
var tmp$ret$0;
|
|
968
917
|
// Inline function 'org.kodein.di.bindings.toKContext.<anonymous>' call
|
|
969
|
-
tmp
|
|
970
|
-
tmp$ret$1 = tmp$ret$0;
|
|
971
|
-
tmp = tmp$ret$1;
|
|
918
|
+
tmp = Companion_getInstance_1().x28(_this__u8e3s4.i2a(), tmp0_safe_receiver);
|
|
972
919
|
}
|
|
973
920
|
return tmp;
|
|
974
921
|
}
|
|
975
922
|
function CompositeContextTranslator(src, dst) {
|
|
976
|
-
this.
|
|
977
|
-
this.
|
|
923
|
+
this.q2a_1 = src;
|
|
924
|
+
this.r2a_1 = dst;
|
|
978
925
|
}
|
|
979
|
-
protoOf(CompositeContextTranslator).
|
|
980
|
-
return this.
|
|
926
|
+
protoOf(CompositeContextTranslator).a2a = function () {
|
|
927
|
+
return this.q2a_1.a2a();
|
|
981
928
|
};
|
|
982
|
-
protoOf(CompositeContextTranslator).
|
|
983
|
-
return this.
|
|
929
|
+
protoOf(CompositeContextTranslator).i2a = function () {
|
|
930
|
+
return this.r2a_1.i2a();
|
|
984
931
|
};
|
|
985
|
-
protoOf(CompositeContextTranslator).
|
|
986
|
-
var tmp0_safe_receiver = this.
|
|
932
|
+
protoOf(CompositeContextTranslator).j2a = function (di, ctx) {
|
|
933
|
+
var tmp0_safe_receiver = this.q2a_1.j2a(di, ctx);
|
|
987
934
|
var tmp;
|
|
988
935
|
if (tmp0_safe_receiver == null) {
|
|
989
936
|
tmp = null;
|
|
990
937
|
} else {
|
|
991
|
-
var tmp$ret$1;
|
|
992
938
|
// Inline function 'kotlin.let' call
|
|
993
939
|
// Inline function 'kotlin.contracts.contract' call
|
|
994
|
-
var tmp$ret$0;
|
|
995
940
|
// Inline function 'org.kodein.di.bindings.CompositeContextTranslator.translate.<anonymous>' call
|
|
996
|
-
tmp
|
|
997
|
-
tmp$ret$1 = tmp$ret$0;
|
|
998
|
-
tmp = tmp$ret$1;
|
|
941
|
+
tmp = this.r2a_1.j2a(di, tmp0_safe_receiver);
|
|
999
942
|
}
|
|
1000
943
|
return tmp;
|
|
1001
944
|
};
|
|
1002
945
|
protoOf(CompositeContextTranslator).toString = function () {
|
|
1003
|
-
return '(' + this.
|
|
946
|
+
return '(' + this.q2a_1 + ' -> ' + this.r2a_1 + ')';
|
|
1004
947
|
};
|
|
1005
948
|
function factoryName($this, params) {
|
|
1006
|
-
var tmp$ret$2;
|
|
1007
949
|
// Inline function 'kotlin.text.buildString' call
|
|
1008
950
|
// Inline function 'kotlin.contracts.contract' call
|
|
1009
|
-
var tmp$ret$1;
|
|
1010
951
|
// Inline function 'kotlin.apply' call
|
|
1011
952
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
1012
953
|
// Inline function 'kotlin.contracts.contract' call
|
|
1013
954
|
// Inline function 'org.kodein.di.bindings.Singleton.factoryName.<anonymous>' call
|
|
1014
955
|
tmp0_apply.f8('singleton');
|
|
1015
|
-
var tmp$ret$0;
|
|
1016
956
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1017
|
-
|
|
1018
|
-
if (tmp$ret$0) {
|
|
957
|
+
if (!params.l()) {
|
|
1019
958
|
tmp0_apply.f8(joinToString(params, ', ', '(', ')'));
|
|
1020
959
|
}
|
|
1021
|
-
|
|
1022
|
-
tmp$ret$2 = tmp$ret$1.toString();
|
|
1023
|
-
return tmp$ret$2;
|
|
960
|
+
return tmp0_apply.toString();
|
|
1024
961
|
}
|
|
1025
962
|
function Singleton$getFactory$lambda$lambda$lambda(this$0, $bindingDi) {
|
|
1026
963
|
return function () {
|
|
1027
|
-
return this$0.
|
|
964
|
+
return this$0.x2a_1(new NoArgBindingDIWrap($bindingDi));
|
|
1028
965
|
};
|
|
1029
966
|
}
|
|
1030
967
|
function Singleton$getFactory$lambda$lambda(this$0, $bindingDi) {
|
|
1031
968
|
return function () {
|
|
1032
|
-
return this$0.
|
|
969
|
+
return this$0.y2a_1.f2a(Singleton$getFactory$lambda$lambda$lambda(this$0, $bindingDi));
|
|
1033
970
|
};
|
|
1034
971
|
}
|
|
1035
972
|
function Singleton$getFactory$lambda($lateInitRegistry, this$0, $bindingDi) {
|
|
@@ -1039,7 +976,7 @@
|
|
|
1039
976
|
if (tmp0_elvis_lhs == null) {
|
|
1040
977
|
var tmp$ret$0;
|
|
1041
978
|
// Inline function 'kotlin.also' call
|
|
1042
|
-
var tmp0_also = this$0.
|
|
979
|
+
var tmp0_also = this$0.s2a_1.n2a($bindingDi.t4());
|
|
1043
980
|
// Inline function 'kotlin.contracts.contract' call
|
|
1044
981
|
// Inline function 'org.kodein.di.bindings.Singleton.getFactory.<anonymous>.<anonymous>' call
|
|
1045
982
|
$lateInitRegistry._v = tmp0_also;
|
|
@@ -1049,98 +986,97 @@
|
|
|
1049
986
|
tmp = tmp0_elvis_lhs;
|
|
1050
987
|
}
|
|
1051
988
|
var registry = tmp;
|
|
1052
|
-
var tmp_0 = registry.
|
|
989
|
+
var tmp_0 = registry.k2a(this$0.z2a_1, this$0.w2a_1, Singleton$getFactory$lambda$lambda(this$0, $bindingDi));
|
|
1053
990
|
return isObject(tmp_0) ? tmp_0 : THROW_CCE();
|
|
1054
991
|
};
|
|
1055
992
|
}
|
|
1056
993
|
function Singleton$copier$lambda(this$0) {
|
|
1057
994
|
return function (it) {
|
|
1058
|
-
return new Singleton(this$0.
|
|
995
|
+
return new Singleton(this$0.s2a_1, this$0.t2a_1, this$0.u2a_1, this$0.v2a_1, this$0.y2a_1, this$0.w2a_1, this$0.x2a_1);
|
|
1059
996
|
};
|
|
1060
997
|
}
|
|
1061
998
|
function Singleton(scope, contextType, explicitContext, createdType, refMaker, sync, creator) {
|
|
1062
999
|
refMaker = refMaker === VOID ? null : refMaker;
|
|
1063
1000
|
sync = sync === VOID ? true : sync;
|
|
1064
|
-
this.
|
|
1065
|
-
this.
|
|
1066
|
-
this.
|
|
1067
|
-
this.
|
|
1068
|
-
this.
|
|
1069
|
-
this.
|
|
1001
|
+
this.s2a_1 = scope;
|
|
1002
|
+
this.t2a_1 = contextType;
|
|
1003
|
+
this.u2a_1 = explicitContext;
|
|
1004
|
+
this.v2a_1 = createdType;
|
|
1005
|
+
this.w2a_1 = sync;
|
|
1006
|
+
this.x2a_1 = creator;
|
|
1070
1007
|
var tmp = this;
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
this.v2a_1 = new ScopeKey(new Object(), Unit_getInstance());
|
|
1008
|
+
tmp.y2a_1 = refMaker == null ? SingletonReference_getInstance() : refMaker;
|
|
1009
|
+
this.z2a_1 = new ScopeKey(new Object(), Unit_getInstance());
|
|
1074
1010
|
var tmp_0 = this;
|
|
1075
1011
|
var tmp_1 = Companion_getInstance_2();
|
|
1076
|
-
tmp_0.
|
|
1012
|
+
tmp_0.a2b_1 = tmp_1.w29(Singleton$copier$lambda(this));
|
|
1077
1013
|
}
|
|
1078
|
-
protoOf(Singleton).
|
|
1079
|
-
return this.
|
|
1014
|
+
protoOf(Singleton).z29 = function () {
|
|
1015
|
+
return this.s2a_1;
|
|
1080
1016
|
};
|
|
1081
|
-
protoOf(Singleton).
|
|
1082
|
-
return this.
|
|
1017
|
+
protoOf(Singleton).a2a = function () {
|
|
1018
|
+
return this.t2a_1;
|
|
1083
1019
|
};
|
|
1084
|
-
protoOf(Singleton).
|
|
1085
|
-
return this.
|
|
1020
|
+
protoOf(Singleton).c2a = function () {
|
|
1021
|
+
return this.v2a_1;
|
|
1086
1022
|
};
|
|
1087
|
-
protoOf(Singleton).
|
|
1023
|
+
protoOf(Singleton).x29 = function () {
|
|
1088
1024
|
var params = ArrayList_init_$Create$_0(2);
|
|
1089
|
-
if (!equals(this.
|
|
1090
|
-
params.a('ref = ' + erasedOf(this.
|
|
1025
|
+
if (!equals(this.y2a_1, SingletonReference_getInstance())) {
|
|
1026
|
+
params.a('ref = ' + erasedOf(this.y2a_1).w26());
|
|
1091
1027
|
}
|
|
1092
1028
|
return factoryName(this, params);
|
|
1093
1029
|
};
|
|
1094
|
-
protoOf(Singleton).
|
|
1030
|
+
protoOf(Singleton).y29 = function () {
|
|
1095
1031
|
var params = ArrayList_init_$Create$_0(2);
|
|
1096
|
-
if (!equals(this.
|
|
1097
|
-
params.a('ref = ' + erasedOf(this.
|
|
1032
|
+
if (!equals(this.y2a_1, SingletonReference_getInstance())) {
|
|
1033
|
+
params.a('ref = ' + erasedOf(this.y2a_1).y26());
|
|
1098
1034
|
}
|
|
1099
1035
|
return factoryName(this, params);
|
|
1100
1036
|
};
|
|
1101
|
-
protoOf(Singleton).
|
|
1037
|
+
protoOf(Singleton).b2b = function (key, di) {
|
|
1102
1038
|
var lateInitRegistry = {_v: null};
|
|
1103
|
-
var bindingDi = this.
|
|
1039
|
+
var bindingDi = this.u2a_1 ? di : di.c2b();
|
|
1104
1040
|
return Singleton$getFactory$lambda(lateInitRegistry, this, bindingDi);
|
|
1105
1041
|
};
|
|
1106
|
-
protoOf(Singleton).
|
|
1107
|
-
return this.
|
|
1042
|
+
protoOf(Singleton).e2a = function (key, di) {
|
|
1043
|
+
return this.b2b(key, di);
|
|
1108
1044
|
};
|
|
1109
1045
|
function Provider$getFactory$lambda(this$0, $di) {
|
|
1110
1046
|
return function (_anonymous_parameter_0__qggqh8) {
|
|
1111
|
-
return this$0.
|
|
1047
|
+
return this$0.f2b_1(new NoArgBindingDIWrap($di));
|
|
1112
1048
|
};
|
|
1113
1049
|
}
|
|
1114
1050
|
function Provider(contextType, createdType, creator) {
|
|
1115
|
-
this.
|
|
1116
|
-
this.
|
|
1117
|
-
this.
|
|
1051
|
+
this.d2b_1 = contextType;
|
|
1052
|
+
this.e2b_1 = createdType;
|
|
1053
|
+
this.f2b_1 = creator;
|
|
1118
1054
|
}
|
|
1119
|
-
protoOf(Provider).
|
|
1120
|
-
return this.
|
|
1055
|
+
protoOf(Provider).a2a = function () {
|
|
1056
|
+
return this.d2b_1;
|
|
1121
1057
|
};
|
|
1122
|
-
protoOf(Provider).
|
|
1123
|
-
return this.
|
|
1058
|
+
protoOf(Provider).c2a = function () {
|
|
1059
|
+
return this.e2b_1;
|
|
1124
1060
|
};
|
|
1125
|
-
protoOf(Provider).
|
|
1061
|
+
protoOf(Provider).x29 = function () {
|
|
1126
1062
|
return 'provider';
|
|
1127
1063
|
};
|
|
1128
|
-
protoOf(Provider).
|
|
1064
|
+
protoOf(Provider).b2b = function (key, di) {
|
|
1129
1065
|
return Provider$getFactory$lambda(this, di);
|
|
1130
1066
|
};
|
|
1131
|
-
protoOf(Provider).
|
|
1132
|
-
return this.
|
|
1067
|
+
protoOf(Provider).e2a = function (key, di) {
|
|
1068
|
+
return this.b2b(key, di);
|
|
1133
1069
|
};
|
|
1134
1070
|
function ScopeKey(scopeId, arg) {
|
|
1135
|
-
this.
|
|
1136
|
-
this.
|
|
1071
|
+
this.g2b_1 = scopeId;
|
|
1072
|
+
this.h2b_1 = arg;
|
|
1137
1073
|
}
|
|
1138
1074
|
protoOf(ScopeKey).toString = function () {
|
|
1139
|
-
return 'ScopeKey(scopeId=' + toString_0(this.
|
|
1075
|
+
return 'ScopeKey(scopeId=' + toString_0(this.g2b_1) + ', arg=' + this.h2b_1 + ')';
|
|
1140
1076
|
};
|
|
1141
1077
|
protoOf(ScopeKey).hashCode = function () {
|
|
1142
|
-
var result = hashCode(this.
|
|
1143
|
-
result = imul(result, 31) + (this.
|
|
1078
|
+
var result = hashCode(this.g2b_1);
|
|
1079
|
+
result = imul(result, 31) + (this.h2b_1 == null ? 0 : hashCode(this.h2b_1)) | 0;
|
|
1144
1080
|
return result;
|
|
1145
1081
|
};
|
|
1146
1082
|
protoOf(ScopeKey).equals = function (other) {
|
|
@@ -1149,95 +1085,88 @@
|
|
|
1149
1085
|
if (!(other instanceof ScopeKey))
|
|
1150
1086
|
return false;
|
|
1151
1087
|
var tmp0_other_with_cast = other instanceof ScopeKey ? other : THROW_CCE();
|
|
1152
|
-
if (!equals(this.
|
|
1088
|
+
if (!equals(this.g2b_1, tmp0_other_with_cast.g2b_1))
|
|
1153
1089
|
return false;
|
|
1154
|
-
if (!equals(this.
|
|
1090
|
+
if (!equals(this.h2b_1, tmp0_other_with_cast.h2b_1))
|
|
1155
1091
|
return false;
|
|
1156
1092
|
return true;
|
|
1157
1093
|
};
|
|
1158
1094
|
function DIMainBuilderImpl(allowSilentOverride) {
|
|
1159
1095
|
DIBuilderImpl.call(this, null, '', HashSet_init_$Create$(), new DIContainerBuilderImpl(true, allowSilentOverride, HashMap_init_$Create$(), ArrayList_init_$Create$(), ArrayList_init_$Create$()));
|
|
1160
|
-
this.
|
|
1161
|
-
this.
|
|
1162
|
-
this.
|
|
1096
|
+
this.n2b_1 = ArrayList_init_$Create$();
|
|
1097
|
+
this.o2b_1 = Companion_getInstance_0().m28_1;
|
|
1098
|
+
this.p2b_1 = Companion_getInstance_0().n28_1;
|
|
1163
1099
|
}
|
|
1164
|
-
protoOf(DIMainBuilderImpl).
|
|
1165
|
-
return this.
|
|
1100
|
+
protoOf(DIMainBuilderImpl).h29 = function () {
|
|
1101
|
+
return this.n2b_1;
|
|
1166
1102
|
};
|
|
1167
|
-
protoOf(DIMainBuilderImpl).
|
|
1168
|
-
return this.
|
|
1103
|
+
protoOf(DIMainBuilderImpl).q2b = function () {
|
|
1104
|
+
return this.o2b_1;
|
|
1169
1105
|
};
|
|
1170
|
-
protoOf(DIMainBuilderImpl).
|
|
1171
|
-
return this.
|
|
1106
|
+
protoOf(DIMainBuilderImpl).r2b = function () {
|
|
1107
|
+
return this.p2b_1;
|
|
1172
1108
|
};
|
|
1173
1109
|
function TypeBinder($outer, type, tag, overrides) {
|
|
1174
|
-
this.
|
|
1175
|
-
this.
|
|
1176
|
-
this.
|
|
1177
|
-
this.
|
|
1110
|
+
this.c2c_1 = $outer;
|
|
1111
|
+
this.z2b_1 = type;
|
|
1112
|
+
this.a2c_1 = tag;
|
|
1113
|
+
this.b2c_1 = overrides;
|
|
1178
1114
|
}
|
|
1179
|
-
protoOf(TypeBinder).
|
|
1180
|
-
return this.
|
|
1115
|
+
protoOf(TypeBinder).x2b = function () {
|
|
1116
|
+
return this.c2c_1.x2b();
|
|
1181
1117
|
};
|
|
1182
|
-
protoOf(TypeBinder).
|
|
1183
|
-
return this.
|
|
1118
|
+
protoOf(TypeBinder).d2c = function (binding) {
|
|
1119
|
+
return this.x2b().i2c(new Key(binding.a2a(), binding.b2a(), this.z2b_1, this.a2c_1), binding, this.c2c_1.s2b_1, this.b2c_1);
|
|
1184
1120
|
};
|
|
1185
1121
|
function DIBuilderImpl(moduleName, prefix, importedModules, containerBuilder) {
|
|
1186
|
-
this.
|
|
1187
|
-
this.
|
|
1188
|
-
this.
|
|
1189
|
-
this.
|
|
1190
|
-
this.
|
|
1122
|
+
this.s2b_1 = moduleName;
|
|
1123
|
+
this.t2b_1 = prefix;
|
|
1124
|
+
this.u2b_1 = importedModules;
|
|
1125
|
+
this.v2b_1 = containerBuilder;
|
|
1126
|
+
this.w2b_1 = Companion_getInstance().i27_1;
|
|
1191
1127
|
}
|
|
1192
|
-
protoOf(DIBuilderImpl).
|
|
1193
|
-
return this.
|
|
1128
|
+
protoOf(DIBuilderImpl).x2b = function () {
|
|
1129
|
+
return this.v2b_1;
|
|
1194
1130
|
};
|
|
1195
|
-
protoOf(DIBuilderImpl).
|
|
1196
|
-
return this.
|
|
1131
|
+
protoOf(DIBuilderImpl).a2a = function () {
|
|
1132
|
+
return this.w2b_1;
|
|
1197
1133
|
};
|
|
1198
|
-
protoOf(DIBuilderImpl).
|
|
1134
|
+
protoOf(DIBuilderImpl).z29 = function () {
|
|
1199
1135
|
return new NoScope();
|
|
1200
1136
|
};
|
|
1201
|
-
protoOf(DIBuilderImpl).
|
|
1137
|
+
protoOf(DIBuilderImpl).y2b = function () {
|
|
1202
1138
|
return false;
|
|
1203
1139
|
};
|
|
1204
|
-
protoOf(DIBuilderImpl).
|
|
1140
|
+
protoOf(DIBuilderImpl).j28 = function (type, tag, overrides) {
|
|
1205
1141
|
return new TypeBinder(this, type, tag, overrides);
|
|
1206
1142
|
};
|
|
1207
|
-
protoOf(DIBuilderImpl).
|
|
1208
|
-
var moduleName = this.
|
|
1143
|
+
protoOf(DIBuilderImpl).k28 = function (module_0, allowOverride) {
|
|
1144
|
+
var moduleName = this.t2b_1 + module_0.ug();
|
|
1209
1145
|
var tmp;
|
|
1210
|
-
var tmp$ret$0;
|
|
1211
1146
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
tmp = this.q2b_1.y(moduleName);
|
|
1147
|
+
if (charSequenceLength(moduleName) > 0) {
|
|
1148
|
+
tmp = this.u2b_1.y(moduleName);
|
|
1215
1149
|
} else {
|
|
1216
1150
|
tmp = false;
|
|
1217
1151
|
}
|
|
1218
1152
|
if (tmp) {
|
|
1219
1153
|
throw IllegalStateException_init_$Create$('Module "' + moduleName + '" has already been imported!');
|
|
1220
1154
|
}
|
|
1221
|
-
var tmp0_this = this;
|
|
1222
1155
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1223
|
-
|
|
1224
|
-
tmp0_plusAssign.a(moduleName);
|
|
1225
|
-
var tmp$ret$1;
|
|
1156
|
+
this.u2b_1.a(moduleName);
|
|
1226
1157
|
// Inline function 'kotlin.apply' call
|
|
1227
|
-
var tmp1_apply = new DIBuilderImpl(moduleName, this.
|
|
1228
|
-
var tmp2_apply = module_0.z27_1;
|
|
1158
|
+
var tmp1_apply = new DIBuilderImpl(moduleName, this.t2b_1 + module_0.c28_1, this.u2b_1, this.x2b().j2c(allowOverride, module_0.b28_1));
|
|
1229
1159
|
// Inline function 'kotlin.contracts.contract' call
|
|
1230
|
-
|
|
1231
|
-
tmp$ret$1 = tmp1_apply;
|
|
1160
|
+
module_0.d28_1(tmp1_apply);
|
|
1232
1161
|
};
|
|
1233
1162
|
function DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT() {
|
|
1234
1163
|
OverrideMode.call(this, 'ALLOW_SILENT', 0);
|
|
1235
1164
|
OverrideMode_ALLOW_SILENT_instance = this;
|
|
1236
1165
|
}
|
|
1237
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT).
|
|
1166
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT).m2c = function () {
|
|
1238
1167
|
return true;
|
|
1239
1168
|
};
|
|
1240
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT).
|
|
1169
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT).n2c = function (overrides) {
|
|
1241
1170
|
return overrides;
|
|
1242
1171
|
};
|
|
1243
1172
|
var OverrideMode_ALLOW_SILENT_instance;
|
|
@@ -1245,22 +1174,21 @@
|
|
|
1245
1174
|
OverrideMode.call(this, 'ALLOW_EXPLICIT', 1);
|
|
1246
1175
|
OverrideMode_ALLOW_EXPLICIT_instance = this;
|
|
1247
1176
|
}
|
|
1248
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT).
|
|
1177
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT).m2c = function () {
|
|
1249
1178
|
return true;
|
|
1250
1179
|
};
|
|
1251
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT).
|
|
1252
|
-
|
|
1253
|
-
return tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
1180
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT).n2c = function (overrides) {
|
|
1181
|
+
return overrides == null ? false : overrides;
|
|
1254
1182
|
};
|
|
1255
1183
|
var OverrideMode_ALLOW_EXPLICIT_instance;
|
|
1256
1184
|
function DIContainerBuilderImpl$OverrideMode$FORBID() {
|
|
1257
1185
|
OverrideMode.call(this, 'FORBID', 2);
|
|
1258
1186
|
OverrideMode_FORBID_instance = this;
|
|
1259
1187
|
}
|
|
1260
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$FORBID).
|
|
1188
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$FORBID).m2c = function () {
|
|
1261
1189
|
return false;
|
|
1262
1190
|
};
|
|
1263
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$FORBID).
|
|
1191
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$FORBID).n2c = function (overrides) {
|
|
1264
1192
|
var tmp;
|
|
1265
1193
|
if (!(overrides == null) ? overrides : false) {
|
|
1266
1194
|
throw new OverridingException('Overriding has been forbidden');
|
|
@@ -1273,7 +1201,7 @@
|
|
|
1273
1201
|
function Companion_2() {
|
|
1274
1202
|
Companion_instance_2 = this;
|
|
1275
1203
|
}
|
|
1276
|
-
protoOf(Companion_2).
|
|
1204
|
+
protoOf(Companion_2).s2c = function (allow, silent) {
|
|
1277
1205
|
if (!allow)
|
|
1278
1206
|
return OverrideMode_FORBID_getInstance();
|
|
1279
1207
|
if (silent)
|
|
@@ -1301,18 +1229,14 @@
|
|
|
1301
1229
|
Enum.call(this, name, ordinal);
|
|
1302
1230
|
}
|
|
1303
1231
|
function checkOverrides($this, key, overrides) {
|
|
1304
|
-
var mustOverride = $this.
|
|
1232
|
+
var mustOverride = $this.h2c_1.n2c(overrides);
|
|
1305
1233
|
if (!(mustOverride == null)) {
|
|
1306
1234
|
var tmp;
|
|
1307
1235
|
if (mustOverride) {
|
|
1308
|
-
var tmp$ret$1;
|
|
1309
1236
|
// Inline function 'kotlin.collections.contains' call
|
|
1310
|
-
var tmp0_contains = $this.
|
|
1311
|
-
var tmp$ret$0;
|
|
1237
|
+
var tmp0_contains = $this.e2c_1;
|
|
1312
1238
|
// Inline function 'kotlin.collections.containsKey' call
|
|
1313
|
-
tmp
|
|
1314
|
-
tmp$ret$1 = tmp$ret$0;
|
|
1315
|
-
tmp = !tmp$ret$1;
|
|
1239
|
+
tmp = !(isInterface(tmp0_contains, Map) ? tmp0_contains : THROW_CCE()).q1(key);
|
|
1316
1240
|
} else {
|
|
1317
1241
|
tmp = false;
|
|
1318
1242
|
}
|
|
@@ -1320,14 +1244,10 @@
|
|
|
1320
1244
|
throw new OverridingException('Binding ' + key + ' must override an existing binding.');
|
|
1321
1245
|
var tmp_0;
|
|
1322
1246
|
if (!mustOverride) {
|
|
1323
|
-
var tmp$ret$3;
|
|
1324
1247
|
// Inline function 'kotlin.collections.contains' call
|
|
1325
|
-
var tmp1_contains = $this.
|
|
1326
|
-
var tmp$ret$2;
|
|
1248
|
+
var tmp1_contains = $this.e2c_1;
|
|
1327
1249
|
// Inline function 'kotlin.collections.containsKey' call
|
|
1328
|
-
|
|
1329
|
-
tmp$ret$3 = tmp$ret$2;
|
|
1330
|
-
tmp_0 = tmp$ret$3;
|
|
1250
|
+
tmp_0 = (isInterface(tmp1_contains, Map) ? tmp1_contains : THROW_CCE()).q1(key);
|
|
1331
1251
|
} else {
|
|
1332
1252
|
tmp_0 = false;
|
|
1333
1253
|
}
|
|
@@ -1336,7 +1256,7 @@
|
|
|
1336
1256
|
}
|
|
1337
1257
|
}
|
|
1338
1258
|
function checkMatch($this, allowOverride) {
|
|
1339
|
-
if (!$this.
|
|
1259
|
+
if (!$this.h2c_1.m2c() ? allowOverride : false)
|
|
1340
1260
|
throw new OverridingException('Overriding has been forbidden');
|
|
1341
1261
|
}
|
|
1342
1262
|
function OverrideMode_ALLOW_SILENT_getInstance() {
|
|
@@ -1352,38 +1272,34 @@
|
|
|
1352
1272
|
return OverrideMode_FORBID_instance;
|
|
1353
1273
|
}
|
|
1354
1274
|
function DIContainerBuilderImpl(allowOverride, silentOverride, bindingsMap, callbacks, translators) {
|
|
1355
|
-
this.
|
|
1356
|
-
this.
|
|
1357
|
-
this.
|
|
1358
|
-
this.
|
|
1275
|
+
this.e2c_1 = bindingsMap;
|
|
1276
|
+
this.f2c_1 = callbacks;
|
|
1277
|
+
this.g2c_1 = translators;
|
|
1278
|
+
this.h2c_1 = Companion_getInstance_3().s2c(allowOverride, silentOverride);
|
|
1359
1279
|
}
|
|
1360
|
-
protoOf(DIContainerBuilderImpl).
|
|
1280
|
+
protoOf(DIContainerBuilderImpl).i2c = function (key, binding, fromModule, overrides) {
|
|
1361
1281
|
checkOverrides(this, key, overrides);
|
|
1362
|
-
var tmp$ret$1;
|
|
1363
1282
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1364
|
-
var tmp0_getOrPut = this.
|
|
1283
|
+
var tmp0_getOrPut = this.e2c_1;
|
|
1365
1284
|
var value = tmp0_getOrPut.t1(key);
|
|
1366
1285
|
var tmp;
|
|
1367
1286
|
if (value == null) {
|
|
1368
|
-
var tmp$ret$0;
|
|
1369
1287
|
// Inline function 'org.kodein.di.internal.DIContainerBuilderImpl.bind.<anonymous>' call
|
|
1370
|
-
|
|
1371
|
-
var answer = tmp$ret$0;
|
|
1288
|
+
var answer = newLinkedList();
|
|
1372
1289
|
tmp0_getOrPut.v3(key, answer);
|
|
1373
1290
|
tmp = answer;
|
|
1374
1291
|
} else {
|
|
1375
1292
|
tmp = value;
|
|
1376
1293
|
}
|
|
1377
|
-
|
|
1378
|
-
var bindings = tmp$ret$1;
|
|
1294
|
+
var bindings = tmp;
|
|
1379
1295
|
bindings.k2(0, new DIDefining(isInterface(binding, DIBinding) ? binding : THROW_CCE(), fromModule));
|
|
1380
1296
|
};
|
|
1381
|
-
protoOf(DIContainerBuilderImpl).
|
|
1297
|
+
protoOf(DIContainerBuilderImpl).j2c = function (allowOverride, silentOverride) {
|
|
1382
1298
|
checkMatch(this, allowOverride);
|
|
1383
|
-
return new DIContainerBuilderImpl(allowOverride, silentOverride, this.
|
|
1299
|
+
return new DIContainerBuilderImpl(allowOverride, silentOverride, this.e2c_1, this.f2c_1, this.g2c_1);
|
|
1384
1300
|
};
|
|
1385
1301
|
function displayString($this, key, overrideLevel) {
|
|
1386
|
-
var descProp = $this.
|
|
1302
|
+
var descProp = $this.y2c_1 ? bindFullDescription$factory_0(key) : bindDescription$factory_0(key);
|
|
1387
1303
|
return !(overrideLevel === 0) ? 'overridden ' + descProp.get() : descProp.get();
|
|
1388
1304
|
}
|
|
1389
1305
|
function recursiveLoop($this, node, firstKey, firstOverrideLevel, tail) {
|
|
@@ -1395,18 +1311,15 @@
|
|
|
1395
1311
|
$l$1: do {
|
|
1396
1312
|
$l$0: do {
|
|
1397
1313
|
var tmp;
|
|
1398
|
-
if (node_0.
|
|
1399
|
-
tmp = plus(listOf(displayString($this_0, node_0.
|
|
1314
|
+
if (node_0.x2c_1 == null ? true : firstKey_0.equals(node_0.v2c_1) ? firstOverrideLevel_0 === node_0.w2c_1 : false) {
|
|
1315
|
+
tmp = plus(listOf(displayString($this_0, node_0.v2c_1, node_0.w2c_1)), tail_0);
|
|
1400
1316
|
} else {
|
|
1401
1317
|
var tmp0 = $this_0;
|
|
1402
|
-
var
|
|
1403
|
-
var tmp2 = firstKey_0;
|
|
1404
|
-
var tmp3 = firstOverrideLevel_0;
|
|
1405
|
-
var tmp4 = plus(listOf(displayString($this_0, node_0.r2c_1, node_0.s2c_1)), tail_0);
|
|
1318
|
+
var tmp4 = plus(listOf(displayString($this_0, node_0.v2c_1, node_0.w2c_1)), tail_0);
|
|
1406
1319
|
$this_0 = tmp0;
|
|
1407
|
-
node_0 =
|
|
1408
|
-
firstKey_0 =
|
|
1409
|
-
firstOverrideLevel_0 =
|
|
1320
|
+
node_0 = node_0.x2c_1;
|
|
1321
|
+
firstKey_0 = firstKey_0;
|
|
1322
|
+
firstOverrideLevel_0 = firstOverrideLevel_0;
|
|
1410
1323
|
tail_0 = tmp4;
|
|
1411
1324
|
continue $l$0;
|
|
1412
1325
|
}
|
|
@@ -1424,19 +1337,15 @@
|
|
|
1424
1337
|
$l$1: do {
|
|
1425
1338
|
$l$0: do {
|
|
1426
1339
|
var tmp;
|
|
1427
|
-
if (node_0.
|
|
1340
|
+
if (node_0.v2c_1.equals(searchedKey_0) ? node_0.w2c_1 === searchedOverrideLevel_0 : false) {
|
|
1428
1341
|
tmp = false;
|
|
1429
|
-
} else if (node_0.
|
|
1342
|
+
} else if (node_0.x2c_1 == null) {
|
|
1430
1343
|
tmp = true;
|
|
1431
1344
|
} else {
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
$this_0 = tmp0;
|
|
1437
|
-
node_0 = tmp1;
|
|
1438
|
-
searchedKey_0 = tmp2;
|
|
1439
|
-
searchedOverrideLevel_0 = tmp3;
|
|
1345
|
+
$this_0 = $this_0;
|
|
1346
|
+
node_0 = node_0.x2c_1;
|
|
1347
|
+
searchedKey_0 = searchedKey_0;
|
|
1348
|
+
searchedOverrideLevel_0 = searchedOverrideLevel_0;
|
|
1440
1349
|
continue $l$0;
|
|
1441
1350
|
}
|
|
1442
1351
|
return tmp;
|
|
@@ -1446,14 +1355,14 @@
|
|
|
1446
1355
|
while (true);
|
|
1447
1356
|
}
|
|
1448
1357
|
function DIContainerImpl_init_$Init$(builder, externalSources, fullDescriptionOnError, fullContainerTreeOnError, runCallbacks, $this) {
|
|
1449
|
-
DIContainerImpl.call($this, new DITreeImpl(builder.
|
|
1358
|
+
DIContainerImpl.call($this, new DITreeImpl(builder.e2c_1, externalSources, builder.g2c_1), null, fullDescriptionOnError, fullContainerTreeOnError);
|
|
1450
1359
|
var init = DIContainerImpl$_init_$lambda_r6ib3j($this, builder);
|
|
1451
1360
|
if (runCallbacks)
|
|
1452
1361
|
init();
|
|
1453
1362
|
else {
|
|
1454
1363
|
var lock = new Object();
|
|
1455
1364
|
var tmp = $this;
|
|
1456
|
-
tmp.
|
|
1365
|
+
tmp.d2d_1 = DIContainerImpl$_init_$lambda_r6ib3j_0($this, init);
|
|
1457
1366
|
}
|
|
1458
1367
|
return $this;
|
|
1459
1368
|
}
|
|
@@ -1461,14 +1370,14 @@
|
|
|
1461
1370
|
return DIContainerImpl_init_$Init$(builder, externalSources, fullDescriptionOnError, fullContainerTreeOnError, runCallbacks, objectCreate(protoOf(DIContainerImpl)));
|
|
1462
1371
|
}
|
|
1463
1372
|
function Node(key, overrideLevel, parent, fullDescriptionOnError) {
|
|
1464
|
-
this.
|
|
1465
|
-
this.
|
|
1466
|
-
this.
|
|
1467
|
-
this.
|
|
1373
|
+
this.v2c_1 = key;
|
|
1374
|
+
this.w2c_1 = overrideLevel;
|
|
1375
|
+
this.x2c_1 = parent;
|
|
1376
|
+
this.y2c_1 = fullDescriptionOnError;
|
|
1468
1377
|
}
|
|
1469
|
-
protoOf(Node).
|
|
1378
|
+
protoOf(Node).e2d = function (searchedKey, searchedOverrideLevel) {
|
|
1470
1379
|
if (!recursiveCheck(this, this, searchedKey, searchedOverrideLevel)) {
|
|
1471
|
-
var list = plus_0(recursiveLoop(this, this, searchedKey, searchedOverrideLevel, emptyList()), displayString(this, searchedKey, this.
|
|
1380
|
+
var list = plus_0(recursiveLoop(this, this, searchedKey, searchedOverrideLevel, emptyList()), displayString(this, searchedKey, this.w2c_1));
|
|
1472
1381
|
var sb = StringBuilder_init_$Create$();
|
|
1473
1382
|
// Inline function 'kotlin.collections.forEachIndexed' call
|
|
1474
1383
|
var index = 0;
|
|
@@ -1478,25 +1387,19 @@
|
|
|
1478
1387
|
// Inline function 'org.kodein.di.internal.Node.check.<anonymous>' call
|
|
1479
1388
|
var tmp1 = index;
|
|
1480
1389
|
index = tmp1 + 1 | 0;
|
|
1481
|
-
var
|
|
1390
|
+
var tmp0_anonymous = checkIndexOverflow(tmp1);
|
|
1482
1391
|
sb.f8(' ');
|
|
1483
|
-
|
|
1484
|
-
switch (tmp0_subject) {
|
|
1392
|
+
switch (tmp0_anonymous) {
|
|
1485
1393
|
case 0:
|
|
1486
1394
|
sb.f8(' ');
|
|
1487
|
-
;
|
|
1488
1395
|
break;
|
|
1489
1396
|
case 1:
|
|
1490
1397
|
sb.f8(' \u2554\u2569>');
|
|
1491
|
-
;
|
|
1492
1398
|
break;
|
|
1493
1399
|
default:
|
|
1494
1400
|
sb.f8(' \u2551');
|
|
1495
|
-
;
|
|
1496
|
-
sb.f8(repeat(' ', tmp0__anonymous__q1qw7t - 1 | 0));
|
|
1497
|
-
;
|
|
1401
|
+
sb.f8(repeat(' ', tmp0_anonymous - 1 | 0));
|
|
1498
1402
|
sb.f8('\u255A>');
|
|
1499
|
-
;
|
|
1500
1403
|
break;
|
|
1501
1404
|
}
|
|
1502
1405
|
sb.f8(item);
|
|
@@ -1509,13 +1412,13 @@
|
|
|
1509
1412
|
}
|
|
1510
1413
|
};
|
|
1511
1414
|
function bindingDI($this, key, context, tree, overrideLevel) {
|
|
1512
|
-
var container = new DIContainerImpl(tree, new Node(key, overrideLevel, $this.
|
|
1415
|
+
var container = new DIContainerImpl(tree, new Node(key, overrideLevel, $this.a2d_1, $this.b2d_1), $this.b2d_1, $this.c2d_1);
|
|
1513
1416
|
return new BindingDIImpl(new DirectDIImpl(container, context), key, overrideLevel);
|
|
1514
1417
|
}
|
|
1515
1418
|
function DIContainerImpl$_init_$lambda_r6ib3j(this$0, $builder) {
|
|
1516
1419
|
return function () {
|
|
1517
1420
|
var direct = new DirectDIImpl(this$0, get_AnyDIContext());
|
|
1518
|
-
var tmp0_forEach = $builder.
|
|
1421
|
+
var tmp0_forEach = $builder.f2c_1;
|
|
1519
1422
|
var tmp0_iterator = tmp0_forEach.f();
|
|
1520
1423
|
while (tmp0_iterator.g()) {
|
|
1521
1424
|
var element = tmp0_iterator.h();
|
|
@@ -1527,40 +1430,43 @@
|
|
|
1527
1430
|
}
|
|
1528
1431
|
function DIContainerImpl$_init_$lambda_r6ib3j_0(this$0, $init) {
|
|
1529
1432
|
return function () {
|
|
1530
|
-
var tmp$ret$
|
|
1433
|
+
var tmp$ret$2;
|
|
1531
1434
|
$l$block_1: {
|
|
1532
1435
|
// Inline function 'org.kodein.di.internal.synchronizedIfNotNull' call
|
|
1533
|
-
var
|
|
1534
|
-
|
|
1535
|
-
|
|
1436
|
+
var tmp$ret$0;
|
|
1437
|
+
tmp$ret$0 = this$0.d2d_1;
|
|
1438
|
+
if (tmp$ret$0 == null) {
|
|
1439
|
+
var tmp$ret$1;
|
|
1536
1440
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.<init>.<anonymous>.<anonymous>' call
|
|
1537
|
-
tmp$ret$
|
|
1538
|
-
tmp$ret$
|
|
1441
|
+
tmp$ret$1 = Unit_getInstance();
|
|
1442
|
+
tmp$ret$2 = tmp$ret$1;
|
|
1539
1443
|
break $l$block_1;
|
|
1540
1444
|
}
|
|
1541
|
-
var tmp$ret$
|
|
1445
|
+
var tmp$ret$5;
|
|
1542
1446
|
// Inline function 'org.kodein.di.internal.maySynchronized' call
|
|
1543
|
-
var tmp$ret$
|
|
1447
|
+
var tmp$ret$4;
|
|
1544
1448
|
$l$block_0: {
|
|
1545
1449
|
// Inline function 'org.kodein.di.internal.synchronizedIfNotNull.<anonymous>' call
|
|
1546
|
-
var
|
|
1450
|
+
var tmp$ret$3;
|
|
1451
|
+
tmp$ret$3 = this$0.d2d_1;
|
|
1452
|
+
var tmp0_elvis_lhs = tmp$ret$3;
|
|
1547
1453
|
var tmp;
|
|
1548
1454
|
if (tmp0_elvis_lhs == null) {
|
|
1549
|
-
tmp$ret$
|
|
1455
|
+
tmp$ret$4 = Unit_getInstance();
|
|
1550
1456
|
break $l$block_0;
|
|
1551
1457
|
} else {
|
|
1552
1458
|
tmp = tmp0_elvis_lhs;
|
|
1553
1459
|
}
|
|
1554
1460
|
var value = tmp;
|
|
1555
|
-
this$0.
|
|
1556
|
-
tmp$ret$
|
|
1461
|
+
this$0.d2d_1 = null;
|
|
1462
|
+
tmp$ret$2 = $init();
|
|
1557
1463
|
break $l$block_1;
|
|
1558
1464
|
}
|
|
1559
|
-
tmp$ret$
|
|
1560
|
-
var tmp$ret$
|
|
1465
|
+
tmp$ret$5 = tmp$ret$4;
|
|
1466
|
+
var tmp$ret$6;
|
|
1561
1467
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.<init>.<anonymous>.<anonymous>' call
|
|
1562
|
-
tmp$ret$
|
|
1563
|
-
tmp$ret$
|
|
1468
|
+
tmp$ret$6 = Unit_getInstance();
|
|
1469
|
+
tmp$ret$2 = tmp$ret$6;
|
|
1564
1470
|
}
|
|
1565
1471
|
return Unit_getInstance();
|
|
1566
1472
|
};
|
|
@@ -1572,200 +1478,156 @@
|
|
|
1572
1478
|
return description($this$null, it);
|
|
1573
1479
|
}
|
|
1574
1480
|
function DIContainerImpl(tree, node, fullDescriptionOnError, fullContainerTreeOnError) {
|
|
1575
|
-
this.
|
|
1576
|
-
this.
|
|
1577
|
-
this.
|
|
1578
|
-
this.
|
|
1579
|
-
this.
|
|
1580
|
-
}
|
|
1581
|
-
protoOf(DIContainerImpl).
|
|
1582
|
-
var result = this.
|
|
1481
|
+
this.z2c_1 = tree;
|
|
1482
|
+
this.a2d_1 = node;
|
|
1483
|
+
this.b2d_1 = fullDescriptionOnError;
|
|
1484
|
+
this.c2d_1 = fullContainerTreeOnError;
|
|
1485
|
+
this.d2d_1 = null;
|
|
1486
|
+
}
|
|
1487
|
+
protoOf(DIContainerImpl).d29 = function (key, context, overrideLevel) {
|
|
1488
|
+
var result = this.z2c_1.j29(key, overrideLevel);
|
|
1583
1489
|
if (result.i() === 1) {
|
|
1584
1490
|
var tmp0_container = result.k(0);
|
|
1585
1491
|
var definition = tmp0_container.u3();
|
|
1586
1492
|
var translator = tmp0_container.d9();
|
|
1587
|
-
var tmp1_safe_receiver = this.
|
|
1493
|
+
var tmp1_safe_receiver = this.a2d_1;
|
|
1588
1494
|
if (tmp1_safe_receiver == null)
|
|
1589
1495
|
null;
|
|
1590
1496
|
else {
|
|
1591
|
-
tmp1_safe_receiver.
|
|
1497
|
+
tmp1_safe_receiver.e2d(key, overrideLevel);
|
|
1592
1498
|
}
|
|
1593
|
-
var tmp = Companion_getInstance_1().
|
|
1499
|
+
var tmp = Companion_getInstance_1().x28(key.s27_1, context);
|
|
1594
1500
|
var originalContext = isInterface(tmp, DIContext) ? tmp : THROW_CCE();
|
|
1595
|
-
var
|
|
1596
|
-
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : toKContext(tmp2_safe_receiver, new DirectDIImpl(this, originalContext), context);
|
|
1501
|
+
var tmp3_elvis_lhs = translator == null ? null : toKContext(translator, new DirectDIImpl(this, originalContext), context);
|
|
1597
1502
|
var kContext = tmp3_elvis_lhs == null ? originalContext : tmp3_elvis_lhs;
|
|
1598
|
-
if (key instanceof Key)
|
|
1599
|
-
key;
|
|
1600
|
-
else
|
|
1503
|
+
if (!(key instanceof Key))
|
|
1601
1504
|
THROW_CCE();
|
|
1602
|
-
var bindingDI_0 = bindingDI(this, key, kContext, definition.
|
|
1603
|
-
return definition.
|
|
1505
|
+
var bindingDI_0 = bindingDI(this, key, kContext, definition.p27_1, overrideLevel);
|
|
1506
|
+
return definition.q27_1.e2a(key, bindingDI_0);
|
|
1604
1507
|
}
|
|
1605
|
-
var bindingDI_1 = bindingDI(this, key, Companion_getInstance_1().
|
|
1508
|
+
var bindingDI_1 = bindingDI(this, key, Companion_getInstance_1().x28(key.s27_1, context), this.z2c_1, overrideLevel);
|
|
1606
1509
|
// Inline function 'kotlin.collections.forEach' call
|
|
1607
|
-
var
|
|
1608
|
-
var tmp0_iterator = tmp0_forEach.f();
|
|
1510
|
+
var tmp0_iterator = this.z2c_1.h29().f();
|
|
1609
1511
|
while (tmp0_iterator.g()) {
|
|
1610
1512
|
var element = tmp0_iterator.h();
|
|
1611
1513
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>' call
|
|
1612
|
-
var tmp0_safe_receiver = element.
|
|
1514
|
+
var tmp0_safe_receiver = element.f2d(bindingDI_1, key);
|
|
1613
1515
|
if (tmp0_safe_receiver == null)
|
|
1614
1516
|
null;
|
|
1615
1517
|
else {
|
|
1616
|
-
var tmp$ret$0;
|
|
1617
1518
|
// Inline function 'kotlin.let' call
|
|
1618
1519
|
// Inline function 'kotlin.contracts.contract' call
|
|
1619
|
-
var tmp0_safe_receiver_0 = this.
|
|
1520
|
+
var tmp0_safe_receiver_0 = this.a2d_1;
|
|
1620
1521
|
if (tmp0_safe_receiver_0 == null)
|
|
1621
1522
|
null;
|
|
1622
1523
|
else {
|
|
1623
|
-
tmp0_safe_receiver_0.
|
|
1524
|
+
tmp0_safe_receiver_0.e2d(key, overrideLevel);
|
|
1624
1525
|
}
|
|
1625
1526
|
return (!(tmp0_safe_receiver == null) ? typeof tmp0_safe_receiver === 'function' : false) ? tmp0_safe_receiver : THROW_CCE();
|
|
1626
1527
|
}
|
|
1627
1528
|
}
|
|
1628
1529
|
var withOverrides = !(overrideLevel === 0);
|
|
1629
|
-
var descProp = this.
|
|
1530
|
+
var descProp = this.b2d_1 ? fullDescription$factory_0(key) : description$factory_0(key);
|
|
1630
1531
|
var tmp_0;
|
|
1631
|
-
if (this.
|
|
1532
|
+
if (this.b2d_1) {
|
|
1632
1533
|
tmp_0 = DIContainerImpl$factory$lambda;
|
|
1633
1534
|
} else {
|
|
1634
1535
|
tmp_0 = DIContainerImpl$factory$lambda_0;
|
|
1635
1536
|
}
|
|
1636
1537
|
var descFun = tmp_0;
|
|
1637
1538
|
if (result.l()) {
|
|
1638
|
-
var tmp$ret$7;
|
|
1639
1539
|
// Inline function 'kotlin.text.buildString' call
|
|
1640
1540
|
// Inline function 'kotlin.contracts.contract' call
|
|
1641
|
-
var tmp$ret$6;
|
|
1642
1541
|
// Inline function 'kotlin.apply' call
|
|
1643
|
-
var
|
|
1542
|
+
var tmp0_apply = StringBuilder_init_$Create$();
|
|
1644
1543
|
// Inline function 'kotlin.contracts.contract' call
|
|
1645
1544
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>' call
|
|
1646
|
-
|
|
1647
|
-
if (this.
|
|
1648
|
-
var tmp$ret$1;
|
|
1545
|
+
tmp0_apply.f8('No binding found for ' + descProp.get());
|
|
1546
|
+
if (this.c2d_1) {
|
|
1649
1547
|
// Inline function 'kotlin.text.appendLine' call
|
|
1650
|
-
|
|
1651
|
-
var forType = this.
|
|
1652
|
-
var tmp$ret$2;
|
|
1548
|
+
tmp0_apply.j7(_Char___init__impl__6a9atx(10));
|
|
1549
|
+
var forType = this.z2c_1.k29(new SearchSpecs(VOID, VOID, key.u27_1));
|
|
1653
1550
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1654
|
-
|
|
1655
|
-
if (tmp$ret$2) {
|
|
1656
|
-
var tmp$ret$5;
|
|
1551
|
+
if (!forType.l()) {
|
|
1657
1552
|
// Inline function 'kotlin.collections.associate' call
|
|
1658
1553
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(forType, 10)), 16);
|
|
1659
|
-
var tmp$ret$4;
|
|
1660
1554
|
// Inline function 'kotlin.collections.associateTo' call
|
|
1661
|
-
var
|
|
1555
|
+
var tmp0_associateTo = LinkedHashMap_init_$Create$_0(capacity);
|
|
1662
1556
|
var tmp0_iterator_0 = forType.f();
|
|
1663
1557
|
while (tmp0_iterator_0.g()) {
|
|
1664
1558
|
var element_0 = tmp0_iterator_0.h();
|
|
1665
1559
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1666
|
-
var tmp$ret$3;
|
|
1667
1560
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>.<anonymous>' call
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
tmp1_associateTo.v3(tmp0_plusAssign.r3_1, tmp0_plusAssign.s3_1);
|
|
1561
|
+
var tmp0_plusAssign = to(element_0.a9_1, element_0.b9_1);
|
|
1562
|
+
tmp0_associateTo.v3(tmp0_plusAssign.r3_1, tmp0_plusAssign.s3_1);
|
|
1671
1563
|
}
|
|
1672
|
-
|
|
1673
|
-
tmp$ret$5 = tmp$ret$4;
|
|
1674
|
-
tmp1_apply.f8('Available bindings for this type:\n' + descFun(tmp$ret$5, withOverrides));
|
|
1564
|
+
tmp0_apply.f8('Available bindings for this type:\n' + descFun(tmp0_associateTo, withOverrides));
|
|
1675
1565
|
}
|
|
1676
|
-
|
|
1566
|
+
tmp0_apply.f8('Registered in this DI container:\n' + descFun(this.z2c_1.g29(), withOverrides));
|
|
1677
1567
|
}
|
|
1678
|
-
|
|
1679
|
-
tmp$ret$7 = tmp$ret$6.toString();
|
|
1680
|
-
var description = tmp$ret$7;
|
|
1568
|
+
var description = tmp0_apply.toString();
|
|
1681
1569
|
throw new NotFoundException(key, description);
|
|
1682
1570
|
}
|
|
1683
|
-
var tmp$ret$10;
|
|
1684
1571
|
// Inline function 'kotlin.collections.associate' call
|
|
1685
1572
|
var capacity_0 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(result, 10)), 16);
|
|
1686
|
-
var tmp$ret$9;
|
|
1687
1573
|
// Inline function 'kotlin.collections.associateTo' call
|
|
1688
|
-
var
|
|
1574
|
+
var tmp0_associateTo_0 = LinkedHashMap_init_$Create$_0(capacity_0);
|
|
1689
1575
|
var tmp0_iterator_1 = result.f();
|
|
1690
1576
|
while (tmp0_iterator_1.g()) {
|
|
1691
1577
|
var element_1 = tmp0_iterator_1.h();
|
|
1692
1578
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1693
|
-
var tmp$ret$8;
|
|
1694
1579
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>' call
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
tmp3_associateTo.v3(tmp2_plusAssign.r3_1, tmp2_plusAssign.s3_1);
|
|
1580
|
+
var tmp0_plusAssign_0 = to(element_1.a9_1, ensureNotNull(this.z2c_1.l29(element_1.a9_1)).b9_1);
|
|
1581
|
+
tmp0_associateTo_0.v3(tmp0_plusAssign_0.r3_1, tmp0_plusAssign_0.s3_1);
|
|
1698
1582
|
}
|
|
1699
|
-
|
|
1700
|
-
tmp$ret$10 = tmp$ret$9;
|
|
1701
|
-
var potentials = tmp$ret$10;
|
|
1702
|
-
var tmp$ret$15;
|
|
1583
|
+
var potentials = tmp0_associateTo_0;
|
|
1703
1584
|
// Inline function 'kotlin.collections.filter' call
|
|
1704
|
-
var
|
|
1705
|
-
var tmp$ret$14;
|
|
1585
|
+
var tmp1_filter = this.z2c_1.g29();
|
|
1706
1586
|
// Inline function 'kotlin.collections.filterTo' call
|
|
1707
|
-
var
|
|
1708
|
-
var tmp$ret$11;
|
|
1587
|
+
var tmp0_filterTo = LinkedHashMap_init_$Create$();
|
|
1709
1588
|
// Inline function 'kotlin.collections.iterator' call
|
|
1710
|
-
|
|
1711
|
-
var tmp0_iterator_2 = tmp$ret$11;
|
|
1589
|
+
var tmp0_iterator_2 = tmp1_filter.o().f();
|
|
1712
1590
|
while (tmp0_iterator_2.g()) {
|
|
1713
1591
|
var element_2 = tmp0_iterator_2.h();
|
|
1714
|
-
var tmp$ret$13;
|
|
1715
1592
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>' call
|
|
1716
|
-
var tmp$ret$12;
|
|
1717
1593
|
// Inline function 'kotlin.collections.component1' call
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
if (tmp$ret$13) {
|
|
1722
|
-
tmp4_filterTo.v3(element_2.h1(), element_2.j1());
|
|
1594
|
+
var key_0 = element_2.h1();
|
|
1595
|
+
if (!potentials.u1().y(key_0)) {
|
|
1596
|
+
tmp0_filterTo.v3(element_2.h1(), element_2.j1());
|
|
1723
1597
|
}
|
|
1724
1598
|
}
|
|
1725
|
-
|
|
1726
|
-
tmp$ret$15 = tmp$ret$14;
|
|
1727
|
-
var others = tmp$ret$15;
|
|
1599
|
+
var others = tmp0_filterTo;
|
|
1728
1600
|
throw new NotFoundException(key, '' + potentials.i() + ' bindings found that match ' + key + ':\n' + descFun(potentials, withOverrides) + 'Other bindings registered in DI:\n' + descFun(others, withOverrides));
|
|
1729
1601
|
};
|
|
1730
1602
|
function bindFullDescription$factory_0($b0) {
|
|
1731
1603
|
return getPropertyCallableRef('bindFullDescription', 0, KProperty0, function () {
|
|
1732
|
-
return $b0.
|
|
1604
|
+
return $b0.z27();
|
|
1733
1605
|
}, null);
|
|
1734
1606
|
}
|
|
1735
1607
|
function bindDescription$factory_0($b0) {
|
|
1736
1608
|
return getPropertyCallableRef('bindDescription', 0, KProperty0, function () {
|
|
1737
|
-
return $b0.
|
|
1609
|
+
return $b0.x27();
|
|
1738
1610
|
}, null);
|
|
1739
1611
|
}
|
|
1740
1612
|
function fullDescription$factory_0($b0) {
|
|
1741
1613
|
return getPropertyCallableRef('fullDescription', 0, KProperty0, function () {
|
|
1742
|
-
return $b0.
|
|
1614
|
+
return $b0.a28();
|
|
1743
1615
|
}, null);
|
|
1744
1616
|
}
|
|
1745
1617
|
function description$factory_0($b0) {
|
|
1746
1618
|
return getPropertyCallableRef('description', 0, KProperty0, function () {
|
|
1747
|
-
return $b0.
|
|
1619
|
+
return $b0.y27();
|
|
1748
1620
|
}, null);
|
|
1749
1621
|
}
|
|
1750
|
-
function initCallbacks$factory($b0) {
|
|
1751
|
-
return getPropertyCallableRef('initCallbacks', 0, KMutableProperty0, function () {
|
|
1752
|
-
return $b0.z2c_1;
|
|
1753
|
-
}, function (value) {
|
|
1754
|
-
$b0.z2c_1 = value;
|
|
1755
|
-
return Unit_getInstance();
|
|
1756
|
-
});
|
|
1757
|
-
}
|
|
1758
1622
|
function newBuilder($this, allowSilentOverride, init) {
|
|
1759
|
-
var tmp$ret$0;
|
|
1760
1623
|
// Inline function 'kotlin.apply' call
|
|
1761
1624
|
var tmp0_apply = new DIMainBuilderImpl(allowSilentOverride);
|
|
1762
1625
|
// Inline function 'kotlin.contracts.contract' call
|
|
1763
1626
|
init(tmp0_apply);
|
|
1764
|
-
|
|
1765
|
-
return tmp$ret$0;
|
|
1627
|
+
return tmp0_apply;
|
|
1766
1628
|
}
|
|
1767
1629
|
function DIImpl_init_$Init$(builder, runCallbacks, $this) {
|
|
1768
|
-
DIImpl.call($this, DIContainerImpl_init_$Create$(builder.
|
|
1630
|
+
DIImpl.call($this, DIContainerImpl_init_$Create$(builder.x2b(), builder.h29(), builder.q2b(), builder.r2b(), runCallbacks));
|
|
1769
1631
|
return $this;
|
|
1770
1632
|
}
|
|
1771
1633
|
function DIImpl_init_$Init$_0(allowSilentOverride, init, $this) {
|
|
@@ -1788,81 +1650,79 @@
|
|
|
1788
1650
|
function DIImpl$container$delegate$lambda(this$0) {
|
|
1789
1651
|
return function () {
|
|
1790
1652
|
var tmp;
|
|
1791
|
-
if (!(this$0.
|
|
1653
|
+
if (!(this$0.g2d_1.d2d_1 == null)) {
|
|
1792
1654
|
throw IllegalStateException_init_$Create$('DI has not been initialized');
|
|
1793
1655
|
}
|
|
1794
|
-
return this$0.
|
|
1656
|
+
return this$0.g2d_1;
|
|
1795
1657
|
};
|
|
1796
1658
|
}
|
|
1797
1659
|
function DIImpl(_container) {
|
|
1798
1660
|
Companion_getInstance_4();
|
|
1799
|
-
this.
|
|
1661
|
+
this.g2d_1 = _container;
|
|
1800
1662
|
var tmp = this;
|
|
1801
|
-
tmp.
|
|
1663
|
+
tmp.h2d_1 = lazy(DIImpl$container$delegate$lambda(this));
|
|
1802
1664
|
}
|
|
1803
|
-
protoOf(DIImpl).
|
|
1804
|
-
var tmp$ret$0;
|
|
1665
|
+
protoOf(DIImpl).r28 = function () {
|
|
1805
1666
|
// Inline function 'kotlin.getValue' call
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
return tmp$ret$0;
|
|
1667
|
+
container$factory();
|
|
1668
|
+
return this.h2d_1.j1();
|
|
1809
1669
|
};
|
|
1810
1670
|
function BindingDIImpl(directDI, key, overrideLevel) {
|
|
1811
|
-
this.
|
|
1812
|
-
this.
|
|
1813
|
-
this.
|
|
1671
|
+
this.i2d_1 = directDI;
|
|
1672
|
+
this.j2d_1 = key;
|
|
1673
|
+
this.k2d_1 = overrideLevel;
|
|
1814
1674
|
}
|
|
1815
|
-
protoOf(BindingDIImpl).
|
|
1816
|
-
return this.
|
|
1675
|
+
protoOf(BindingDIImpl).s29 = function () {
|
|
1676
|
+
return this.i2d_1;
|
|
1817
1677
|
};
|
|
1818
|
-
protoOf(BindingDIImpl).
|
|
1819
|
-
return this.
|
|
1678
|
+
protoOf(BindingDIImpl).q28 = function () {
|
|
1679
|
+
return this.i2d_1.q28();
|
|
1820
1680
|
};
|
|
1821
|
-
protoOf(BindingDIImpl).
|
|
1822
|
-
return this.
|
|
1681
|
+
protoOf(BindingDIImpl).m29 = function () {
|
|
1682
|
+
return this.i2d_1.m29();
|
|
1823
1683
|
};
|
|
1824
|
-
protoOf(BindingDIImpl).
|
|
1825
|
-
return this.
|
|
1684
|
+
protoOf(BindingDIImpl).t29 = function (type, tag) {
|
|
1685
|
+
return this.i2d_1.t29(type, tag);
|
|
1826
1686
|
};
|
|
1827
|
-
protoOf(BindingDIImpl).
|
|
1828
|
-
return this.
|
|
1687
|
+
protoOf(BindingDIImpl).u29 = function (context) {
|
|
1688
|
+
return this.i2d_1.u29(context);
|
|
1829
1689
|
};
|
|
1830
1690
|
protoOf(BindingDIImpl).t4 = function () {
|
|
1831
|
-
var tmp = this.
|
|
1691
|
+
var tmp = this.s29().q28().s28().j1();
|
|
1832
1692
|
return isObject(tmp) ? tmp : THROW_CCE();
|
|
1833
1693
|
};
|
|
1834
|
-
protoOf(BindingDIImpl).
|
|
1835
|
-
return new BindingDIImpl(this.
|
|
1694
|
+
protoOf(BindingDIImpl).c2b = function () {
|
|
1695
|
+
return new BindingDIImpl(this.s29().u29(ErasedContext_getInstance()), this.j2d_1, this.k2d_1);
|
|
1836
1696
|
};
|
|
1837
1697
|
function container$factory() {
|
|
1838
1698
|
return getPropertyCallableRef('container', 1, KProperty1, function (receiver) {
|
|
1839
|
-
return receiver.
|
|
1699
|
+
return receiver.r28();
|
|
1840
1700
|
}, null);
|
|
1841
1701
|
}
|
|
1842
1702
|
function findBySpecs($this, specs) {
|
|
1843
|
-
var bindSeq = asSequence($this.
|
|
1844
|
-
var specsBindType = specs.
|
|
1845
|
-
if (!(specsBindType == null) ? !equals(specsBindType, Companion_getInstance().
|
|
1703
|
+
var bindSeq = asSequence($this.o2d_1);
|
|
1704
|
+
var specsBindType = specs.p29_1;
|
|
1705
|
+
if (!(specsBindType == null) ? !equals(specsBindType, Companion_getInstance().i27_1) : false) {
|
|
1846
1706
|
var tmp = bindSeq;
|
|
1847
1707
|
bindSeq = filter(tmp, DITreeImpl$findBySpecs$lambda(specsBindType));
|
|
1848
1708
|
}
|
|
1849
1709
|
var tmp_0 = bindSeq;
|
|
1850
1710
|
var contextSeq = flatMap(tmp_0, DITreeImpl$findBySpecs$lambda_0);
|
|
1851
|
-
var specsContextType = specs.
|
|
1711
|
+
var specsContextType = specs.n29_1;
|
|
1852
1712
|
if (!(specsContextType == null)) {
|
|
1853
1713
|
var tmp_1 = contextSeq;
|
|
1854
1714
|
contextSeq = mapNotNull(tmp_1, DITreeImpl$findBySpecs$lambda_1(specsContextType, $this));
|
|
1855
1715
|
}
|
|
1856
1716
|
var tmp_2 = contextSeq;
|
|
1857
1717
|
var argSeq = flatMap(tmp_2, DITreeImpl$findBySpecs$lambda_2);
|
|
1858
|
-
var specsArgType = specs.
|
|
1718
|
+
var specsArgType = specs.o29_1;
|
|
1859
1719
|
if (!(specsArgType == null)) {
|
|
1860
1720
|
var tmp_3 = argSeq;
|
|
1861
1721
|
argSeq = filter(tmp_3, DITreeImpl$findBySpecs$lambda_3(specsArgType));
|
|
1862
1722
|
}
|
|
1863
1723
|
var tmp_4 = argSeq;
|
|
1864
1724
|
var tagSeq = flatMap(tmp_4, DITreeImpl$findBySpecs$lambda_4);
|
|
1865
|
-
var specsTag = specs.
|
|
1725
|
+
var specsTag = specs.q29_1;
|
|
1866
1726
|
if (!equals(specsTag, NoDefinedTag_getInstance())) {
|
|
1867
1727
|
var tmp_5 = tagSeq;
|
|
1868
1728
|
tagSeq = filter(tmp_5, DITreeImpl$findBySpecs$lambda_5(specsTag));
|
|
@@ -1872,9 +1732,9 @@
|
|
|
1872
1732
|
return toList(resultSeq);
|
|
1873
1733
|
}
|
|
1874
1734
|
function notInMap($this, result, request) {
|
|
1875
|
-
var tmp = result.
|
|
1876
|
-
var tmp_0 = request.
|
|
1877
|
-
var tmp_1 = $this.
|
|
1735
|
+
var tmp = result.g28();
|
|
1736
|
+
var tmp_0 = request.g28();
|
|
1737
|
+
var tmp_1 = $this.n2d_1.u1();
|
|
1878
1738
|
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));
|
|
1879
1739
|
}
|
|
1880
1740
|
function DITreeImpl$findBySpecs$lambda($specsBindType) {
|
|
@@ -1883,14 +1743,12 @@
|
|
|
1883
1743
|
// Inline function 'kotlin.collections.component1' call
|
|
1884
1744
|
tmp$ret$0 = _name_for_destructuring_parameter_0__wldtmu.h1();
|
|
1885
1745
|
var bindType = tmp$ret$0;
|
|
1886
|
-
return bindType.
|
|
1746
|
+
return bindType.r2d($specsBindType);
|
|
1887
1747
|
};
|
|
1888
1748
|
}
|
|
1889
1749
|
function DITreeImpl$findBySpecs$lambda_0(_name_for_destructuring_parameter_0__wldtmu) {
|
|
1890
|
-
var tmp$ret$0;
|
|
1891
1750
|
// Inline function 'kotlin.collections.component2' call
|
|
1892
|
-
|
|
1893
|
-
var contextTree = tmp$ret$0;
|
|
1751
|
+
var contextTree = _name_for_destructuring_parameter_0__wldtmu.j1();
|
|
1894
1752
|
var tmp = asSequence(contextTree);
|
|
1895
1753
|
return map(tmp, DITreeImpl$findBySpecs$lambda$lambda);
|
|
1896
1754
|
}
|
|
@@ -1902,19 +1760,19 @@
|
|
|
1902
1760
|
var tmp0_container = triple;
|
|
1903
1761
|
var contextType = tmp0_container.t3();
|
|
1904
1762
|
var tmp;
|
|
1905
|
-
if (contextType.
|
|
1763
|
+
if (contextType.r2d($specsContextType)) {
|
|
1906
1764
|
tmp = triple;
|
|
1907
1765
|
} else {
|
|
1908
1766
|
var tmp$ret$1;
|
|
1909
1767
|
$l$block: {
|
|
1910
1768
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
1911
|
-
var tmp0_firstOrNull = this$0.
|
|
1769
|
+
var tmp0_firstOrNull = this$0.q2d_1;
|
|
1912
1770
|
var tmp0_iterator = tmp0_firstOrNull.f();
|
|
1913
1771
|
while (tmp0_iterator.g()) {
|
|
1914
1772
|
var element = tmp0_iterator.h();
|
|
1915
1773
|
var tmp$ret$0;
|
|
1916
1774
|
// Inline function 'org.kodein.di.internal.DITreeImpl.findBySpecs.<anonymous>.<anonymous>' call
|
|
1917
|
-
tmp$ret$0 = element.
|
|
1775
|
+
tmp$ret$0 = element.a2a().e27($specsContextType) ? contextType.r2d(element.i2a()) : false;
|
|
1918
1776
|
if (tmp$ret$0) {
|
|
1919
1777
|
tmp$ret$1 = element;
|
|
1920
1778
|
break $l$block;
|
|
@@ -1942,7 +1800,7 @@
|
|
|
1942
1800
|
function DITreeImpl$findBySpecs$lambda_3($specsArgType) {
|
|
1943
1801
|
return function (_name_for_destructuring_parameter_0__wldtmu) {
|
|
1944
1802
|
var argType = _name_for_destructuring_parameter_0__wldtmu.t3();
|
|
1945
|
-
return argType.
|
|
1803
|
+
return argType.r2d($specsArgType);
|
|
1946
1804
|
};
|
|
1947
1805
|
}
|
|
1948
1806
|
function DITreeImpl$findBySpecs$lambda_4(_name_for_destructuring_parameter_0__wldtmu) {
|
|
@@ -1968,33 +1826,25 @@
|
|
|
1968
1826
|
return to(key, translator);
|
|
1969
1827
|
}
|
|
1970
1828
|
function DITreeImpl$notInMap$lambda(it) {
|
|
1971
|
-
return it.
|
|
1829
|
+
return it.g28();
|
|
1972
1830
|
}
|
|
1973
1831
|
function DITreeImpl(map, externalSources, registeredTranslators) {
|
|
1974
|
-
this.
|
|
1975
|
-
this.
|
|
1976
|
-
this.
|
|
1977
|
-
this.
|
|
1978
|
-
this.
|
|
1832
|
+
this.l2d_1 = externalSources;
|
|
1833
|
+
this.m2d_1 = registeredTranslators;
|
|
1834
|
+
this.n2d_1 = newConcurrentMap();
|
|
1835
|
+
this.o2d_1 = HashMap_init_$Create$();
|
|
1836
|
+
this.q2d_1 = ArrayList_init_$Create$_1(this.m2d_1);
|
|
1979
1837
|
// Inline function 'kotlin.collections.forEach' call
|
|
1980
|
-
var tmp$ret$0;
|
|
1981
1838
|
// Inline function 'kotlin.collections.iterator' call
|
|
1982
|
-
|
|
1983
|
-
var tmp0_iterator = tmp$ret$0;
|
|
1839
|
+
var tmp0_iterator = map.o().f();
|
|
1984
1840
|
while (tmp0_iterator.g()) {
|
|
1985
1841
|
var element = tmp0_iterator.h();
|
|
1986
1842
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>' call
|
|
1987
|
-
var tmp$ret$1;
|
|
1988
1843
|
// Inline function 'kotlin.collections.component1' call
|
|
1989
|
-
|
|
1990
|
-
var key = tmp$ret$1;
|
|
1991
|
-
var tmp$ret$2;
|
|
1844
|
+
var key = element.h1();
|
|
1992
1845
|
// Inline function 'kotlin.collections.component2' call
|
|
1993
|
-
|
|
1994
|
-
var bindings = tmp$ret$2;
|
|
1995
|
-
var tmp$ret$5;
|
|
1846
|
+
var bindings = element.j1();
|
|
1996
1847
|
// Inline function 'kotlin.collections.map' call
|
|
1997
|
-
var tmp$ret$4;
|
|
1998
1848
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1999
1849
|
var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(bindings, 10));
|
|
2000
1850
|
var tmp0_iterator_0 = bindings.f();
|
|
@@ -2002,121 +1852,97 @@
|
|
|
2002
1852
|
var item = tmp0_iterator_0.h();
|
|
2003
1853
|
var tmp$ret$3;
|
|
2004
1854
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
|
|
2005
|
-
var tmp0_subject = item;
|
|
2006
1855
|
var tmp;
|
|
2007
|
-
if (
|
|
1856
|
+
if (item instanceof DIDefinition) {
|
|
2008
1857
|
tmp = item;
|
|
2009
1858
|
} else {
|
|
2010
|
-
tmp = new DIDefinition(item.
|
|
1859
|
+
tmp = new DIDefinition(item.q27_1, item.r27_1, this);
|
|
2011
1860
|
}
|
|
2012
1861
|
tmp$ret$3 = tmp;
|
|
2013
1862
|
tmp0_mapTo.a(tmp$ret$3);
|
|
2014
1863
|
}
|
|
2015
|
-
|
|
2016
|
-
tmp$ret$5 = tmp$ret$4;
|
|
2017
|
-
var definitions = tmp$ret$5;
|
|
1864
|
+
var definitions = tmp0_mapTo;
|
|
2018
1865
|
// Inline function 'kotlin.collections.set' call
|
|
2019
|
-
var
|
|
2020
|
-
var
|
|
2021
|
-
|
|
2022
|
-
var typeChecker = first(bindings).
|
|
2023
|
-
var tmp$ret$7;
|
|
1866
|
+
var tmp0_set = this.n2d_1;
|
|
1867
|
+
var tmp1_set = new Triple(key, definitions, null);
|
|
1868
|
+
tmp0_set.v3(key, tmp1_set);
|
|
1869
|
+
var typeChecker = first(bindings).q27_1.d2a() ? new Down(key.u27_1) : new Up(key.u27_1);
|
|
2024
1870
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
2025
|
-
var
|
|
2026
|
-
var value =
|
|
1871
|
+
var tmp2_getOrPut = this.o2d_1;
|
|
1872
|
+
var value = tmp2_getOrPut.t1(typeChecker);
|
|
2027
1873
|
var tmp_0;
|
|
2028
1874
|
if (value == null) {
|
|
2029
|
-
var tmp$ret$6;
|
|
2030
1875
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
tmp3_getOrPut.v3(typeChecker, answer);
|
|
1876
|
+
var answer = HashMap_init_$Create$();
|
|
1877
|
+
tmp2_getOrPut.v3(typeChecker, answer);
|
|
2034
1878
|
tmp_0 = answer;
|
|
2035
1879
|
} else {
|
|
2036
1880
|
tmp_0 = value;
|
|
2037
1881
|
}
|
|
2038
|
-
|
|
2039
|
-
var contextTree = tmp$ret$7;
|
|
2040
|
-
var tmp$ret$9;
|
|
1882
|
+
var contextTree = tmp_0;
|
|
2041
1883
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
2042
|
-
var
|
|
2043
|
-
var value_0 = contextTree.t1(
|
|
1884
|
+
var tmp3_getOrPut = new Down(key.s27_1);
|
|
1885
|
+
var value_0 = contextTree.t1(tmp3_getOrPut);
|
|
2044
1886
|
var tmp_1;
|
|
2045
1887
|
if (value_0 == null) {
|
|
2046
|
-
var tmp$ret$8;
|
|
2047
1888
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
contextTree.v3(tmp4_getOrPut, answer_0);
|
|
1889
|
+
var answer_0 = HashMap_init_$Create$();
|
|
1890
|
+
contextTree.v3(tmp3_getOrPut, answer_0);
|
|
2051
1891
|
tmp_1 = answer_0;
|
|
2052
1892
|
} else {
|
|
2053
1893
|
tmp_1 = value_0;
|
|
2054
1894
|
}
|
|
2055
|
-
|
|
2056
|
-
var argumentTree = tmp$ret$9;
|
|
2057
|
-
var tmp$ret$11;
|
|
1895
|
+
var argumentTree = tmp_1;
|
|
2058
1896
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
2059
|
-
var
|
|
2060
|
-
var value_1 = argumentTree.t1(
|
|
1897
|
+
var tmp4_getOrPut = new Down(key.t27_1);
|
|
1898
|
+
var value_1 = argumentTree.t1(tmp4_getOrPut);
|
|
2061
1899
|
var tmp_2;
|
|
2062
1900
|
if (value_1 == null) {
|
|
2063
|
-
var tmp$ret$10;
|
|
2064
1901
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
argumentTree.v3(tmp5_getOrPut, answer_1);
|
|
1902
|
+
var answer_1 = HashMap_init_$Create$();
|
|
1903
|
+
argumentTree.v3(tmp4_getOrPut, answer_1);
|
|
2068
1904
|
tmp_2 = answer_1;
|
|
2069
1905
|
} else {
|
|
2070
1906
|
tmp_2 = value_1;
|
|
2071
1907
|
}
|
|
2072
|
-
|
|
2073
|
-
var tagTree = tmp$ret$11;
|
|
1908
|
+
var tagTree = tmp_2;
|
|
2074
1909
|
// Inline function 'kotlin.collections.set' call
|
|
2075
|
-
var
|
|
2076
|
-
tagTree.v3(
|
|
1910
|
+
var tmp5_set = key.v27_1;
|
|
1911
|
+
tagTree.v3(tmp5_set, key);
|
|
2077
1912
|
}
|
|
2078
1913
|
var tmp_3 = this;
|
|
2079
|
-
var tmp$ret$16;
|
|
2080
1914
|
// Inline function 'kotlin.collections.mapValues' call
|
|
2081
|
-
var
|
|
2082
|
-
var tmp$ret$15;
|
|
1915
|
+
var tmp0_mapValues = this.n2d_1;
|
|
2083
1916
|
// Inline function 'kotlin.collections.mapValuesTo' call
|
|
2084
|
-
var
|
|
2085
|
-
var tmp$ret$14;
|
|
1917
|
+
var tmp0_mapValuesTo = LinkedHashMap_init_$Create$_0(mapCapacity(tmp0_mapValues.i()));
|
|
2086
1918
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
2087
|
-
var
|
|
2088
|
-
var tmp0_iterator_1 = tmp0_associateByTo.f();
|
|
1919
|
+
var tmp0_iterator_1 = tmp0_mapValues.o().f();
|
|
2089
1920
|
while (tmp0_iterator_1.g()) {
|
|
2090
1921
|
var element_0 = tmp0_iterator_1.h();
|
|
2091
|
-
var tmp$ret$12;
|
|
2092
1922
|
// Inline function 'kotlin.collections.mapValuesTo.<anonymous>' call
|
|
2093
|
-
|
|
2094
|
-
var tmp_4 = tmp$ret$12;
|
|
1923
|
+
var tmp_4 = element_0.h1();
|
|
2095
1924
|
var tmp$ret$13;
|
|
2096
1925
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>' call
|
|
2097
1926
|
tmp$ret$13 = element_0.j1().b9_1;
|
|
2098
|
-
|
|
1927
|
+
tmp0_mapValuesTo.v3(tmp_4, tmp$ret$13);
|
|
2099
1928
|
}
|
|
2100
|
-
|
|
2101
|
-
tmp$ret$15 = tmp$ret$14;
|
|
2102
|
-
tmp$ret$16 = tmp$ret$15;
|
|
2103
|
-
tmp_3.l2d_1 = HashMap_init_$Create$_0(tmp$ret$16);
|
|
1929
|
+
tmp_3.p2d_1 = HashMap_init_$Create$_0(tmp0_mapValuesTo);
|
|
2104
1930
|
$l$loop: while (true) {
|
|
2105
1931
|
var added = ArrayList_init_$Create$();
|
|
2106
|
-
var tmp0_iterator_2 = this.
|
|
1932
|
+
var tmp0_iterator_2 = this.q2d_1.f();
|
|
2107
1933
|
while (tmp0_iterator_2.g()) {
|
|
2108
1934
|
var src = tmp0_iterator_2.h();
|
|
2109
|
-
var tmp1_iterator = this.
|
|
1935
|
+
var tmp1_iterator = this.q2d_1.f();
|
|
2110
1936
|
while (tmp1_iterator.g()) {
|
|
2111
1937
|
var dst = tmp1_iterator.h();
|
|
2112
|
-
if (dst.
|
|
1938
|
+
if (dst.a2a().e27(src.i2a()) ? !equals(src.a2a(), dst.i2a()) : false) {
|
|
2113
1939
|
var tmp$ret$17;
|
|
2114
1940
|
$l$block_0: {
|
|
2115
1941
|
// Inline function 'kotlin.collections.none' call
|
|
2116
|
-
var
|
|
1942
|
+
var tmp1_none = this.q2d_1;
|
|
2117
1943
|
var tmp_5;
|
|
2118
|
-
if (isInterface(
|
|
2119
|
-
tmp_5 =
|
|
1944
|
+
if (isInterface(tmp1_none, Collection)) {
|
|
1945
|
+
tmp_5 = tmp1_none.l();
|
|
2120
1946
|
} else {
|
|
2121
1947
|
tmp_5 = false;
|
|
2122
1948
|
}
|
|
@@ -2124,13 +1950,11 @@
|
|
|
2124
1950
|
tmp$ret$17 = true;
|
|
2125
1951
|
break $l$block_0;
|
|
2126
1952
|
}
|
|
2127
|
-
var tmp0_iterator_3 =
|
|
1953
|
+
var tmp0_iterator_3 = tmp1_none.f();
|
|
2128
1954
|
while (tmp0_iterator_3.g()) {
|
|
2129
1955
|
var element_1 = tmp0_iterator_3.h();
|
|
2130
|
-
var tmp$ret$18;
|
|
2131
1956
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>' call
|
|
2132
|
-
|
|
2133
|
-
if (tmp$ret$18) {
|
|
1957
|
+
if (equals(element_1.a2a(), src.a2a()) ? equals(element_1.i2a(), dst.i2a()) : false) {
|
|
2134
1958
|
tmp$ret$17 = false;
|
|
2135
1959
|
break $l$block_0;
|
|
2136
1960
|
}
|
|
@@ -2140,33 +1964,31 @@
|
|
|
2140
1964
|
if (tmp$ret$17) {
|
|
2141
1965
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
2142
1966
|
var tmp_6 = isInterface(src, ContextTranslator) ? src : THROW_CCE();
|
|
2143
|
-
var
|
|
2144
|
-
added.a(
|
|
1967
|
+
var tmp2_plusAssign = new CompositeContextTranslator(tmp_6, isInterface(dst, ContextTranslator) ? dst : THROW_CCE());
|
|
1968
|
+
added.a(tmp2_plusAssign);
|
|
2145
1969
|
}
|
|
2146
1970
|
}
|
|
2147
1971
|
}
|
|
2148
1972
|
}
|
|
2149
|
-
var tmp2_this = this;
|
|
2150
1973
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
2151
|
-
var
|
|
2152
|
-
addAll(
|
|
1974
|
+
var tmp3_plusAssign = this.q2d_1;
|
|
1975
|
+
addAll(tmp3_plusAssign, added);
|
|
2153
1976
|
if (added.l())
|
|
2154
1977
|
break $l$loop;
|
|
2155
1978
|
}
|
|
2156
1979
|
}
|
|
2157
|
-
protoOf(DITreeImpl).
|
|
2158
|
-
return this.h2d_1;
|
|
2159
|
-
};
|
|
2160
|
-
protoOf(DITreeImpl).c29 = function () {
|
|
1980
|
+
protoOf(DITreeImpl).h29 = function () {
|
|
2161
1981
|
return this.l2d_1;
|
|
2162
1982
|
};
|
|
2163
|
-
protoOf(DITreeImpl).
|
|
1983
|
+
protoOf(DITreeImpl).g29 = function () {
|
|
1984
|
+
return this.p2d_1;
|
|
1985
|
+
};
|
|
1986
|
+
protoOf(DITreeImpl).i29 = function (key, overrideLevel, all) {
|
|
2164
1987
|
if (!all) {
|
|
2165
|
-
var tmp0_safe_receiver = this.
|
|
1988
|
+
var tmp0_safe_receiver = this.n2d_1.t1(key);
|
|
2166
1989
|
if (tmp0_safe_receiver == null)
|
|
2167
1990
|
null;
|
|
2168
1991
|
else {
|
|
2169
|
-
var tmp$ret$0;
|
|
2170
1992
|
// Inline function 'kotlin.let' call
|
|
2171
1993
|
// Inline function 'kotlin.contracts.contract' call
|
|
2172
1994
|
var realKey = tmp0_safe_receiver.t3();
|
|
@@ -2184,29 +2006,24 @@
|
|
|
2184
2006
|
var tmp_1 = definition instanceof DIDefinition ? definition : THROW_CCE();
|
|
2185
2007
|
return listOf(new Triple(tmp_0, tmp_1, (translator == null ? true : isInterface(translator, ContextTranslator)) ? translator : THROW_CCE()));
|
|
2186
2008
|
}
|
|
2187
|
-
if (!equals(key.
|
|
2188
|
-
var anyContextKey = key.
|
|
2189
|
-
var tmp1_safe_receiver = this.
|
|
2009
|
+
if (!equals(key.s27_1, Companion_getInstance().i27_1)) {
|
|
2010
|
+
var anyContextKey = key.i28(Companion_getInstance().i27_1);
|
|
2011
|
+
var tmp1_safe_receiver = this.n2d_1.t1(anyContextKey);
|
|
2190
2012
|
if (tmp1_safe_receiver == null)
|
|
2191
2013
|
null;
|
|
2192
2014
|
else {
|
|
2193
|
-
var tmp$ret$2;
|
|
2194
2015
|
// Inline function 'kotlin.let' call
|
|
2195
2016
|
// Inline function 'kotlin.contracts.contract' call
|
|
2196
|
-
var tmp$ret$1;
|
|
2197
2017
|
$l$block: {
|
|
2198
2018
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2199
|
-
var
|
|
2200
|
-
var
|
|
2201
|
-
var
|
|
2202
|
-
|
|
2203
|
-
if (!(translator_0 == null) ? !equals(translator_0.w29(), key.o27_1) : false) {
|
|
2204
|
-
tmp$ret$1 = Unit_getInstance();
|
|
2019
|
+
var realKey_0 = tmp1_safe_receiver.t3();
|
|
2020
|
+
var list_0 = tmp1_safe_receiver.u3();
|
|
2021
|
+
var translator_0 = tmp1_safe_receiver.d9();
|
|
2022
|
+
if (!(translator_0 == null) ? !equals(translator_0.a2a(), key.s27_1) : false) {
|
|
2205
2023
|
break $l$block;
|
|
2206
2024
|
}
|
|
2207
2025
|
// Inline function 'kotlin.collections.set' call
|
|
2208
|
-
|
|
2209
|
-
tmp0_set.v3(key, tmp1_safe_receiver);
|
|
2026
|
+
this.n2d_1.v3(key, tmp1_safe_receiver);
|
|
2210
2027
|
var tmp1_elvis_lhs = getOrNull(list_0, overrideLevel);
|
|
2211
2028
|
var tmp_2;
|
|
2212
2029
|
if (tmp1_elvis_lhs == null) {
|
|
@@ -2219,92 +2036,71 @@
|
|
|
2219
2036
|
var tmp_4 = definition_0 instanceof DIDefinition ? definition_0 : THROW_CCE();
|
|
2220
2037
|
return listOf(new Triple(tmp_3, tmp_4, (translator_0 == null ? true : isInterface(translator_0, ContextTranslator)) ? translator_0 : THROW_CCE()));
|
|
2221
2038
|
}
|
|
2222
|
-
tmp$ret$2 = tmp$ret$1;
|
|
2223
2039
|
}
|
|
2224
2040
|
}
|
|
2225
|
-
var tmp$ret$5;
|
|
2226
2041
|
// Inline function 'kotlin.collections.filter' call
|
|
2227
|
-
var
|
|
2228
|
-
var tmp$ret$4;
|
|
2042
|
+
var tmp0_filter = this.q2d_1;
|
|
2229
2043
|
// Inline function 'kotlin.collections.filterTo' call
|
|
2230
2044
|
var tmp0_filterTo = ArrayList_init_$Create$();
|
|
2231
|
-
var tmp0_iterator =
|
|
2045
|
+
var tmp0_iterator = tmp0_filter.f();
|
|
2232
2046
|
while (tmp0_iterator.g()) {
|
|
2233
2047
|
var element = tmp0_iterator.h();
|
|
2234
|
-
var tmp$ret$3;
|
|
2235
2048
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2236
|
-
|
|
2237
|
-
if (tmp$ret$3) {
|
|
2049
|
+
if (equals(element.a2a(), key.s27_1)) {
|
|
2238
2050
|
tmp0_filterTo.a(element);
|
|
2239
2051
|
}
|
|
2240
2052
|
}
|
|
2241
|
-
|
|
2242
|
-
tmp$ret$5 = tmp$ret$4;
|
|
2243
|
-
var tmp_5 = tmp$ret$5;
|
|
2244
|
-
var tmp$ret$8;
|
|
2053
|
+
var tmp_5 = tmp0_filterTo;
|
|
2245
2054
|
// Inline function 'kotlin.collections.filter' call
|
|
2246
|
-
var
|
|
2247
|
-
var tmp$ret$7;
|
|
2055
|
+
var tmp1_filter = this.q2d_1;
|
|
2248
2056
|
// Inline function 'kotlin.collections.filterTo' call
|
|
2249
|
-
var
|
|
2250
|
-
var tmp0_iterator_0 =
|
|
2057
|
+
var tmp0_filterTo_0 = ArrayList_init_$Create$();
|
|
2058
|
+
var tmp0_iterator_0 = tmp1_filter.f();
|
|
2251
2059
|
while (tmp0_iterator_0.g()) {
|
|
2252
2060
|
var element_0 = tmp0_iterator_0.h();
|
|
2253
|
-
var tmp$ret$6;
|
|
2254
2061
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
tmp2_filterTo.a(element_0);
|
|
2062
|
+
if (equals(element_0.a2a(), Companion_getInstance().i27_1)) {
|
|
2063
|
+
tmp0_filterTo_0.a(element_0);
|
|
2258
2064
|
}
|
|
2259
2065
|
}
|
|
2260
|
-
|
|
2261
|
-
tmp$ret$8 = tmp$ret$7;
|
|
2262
|
-
var applicableTranslators = plus(tmp_5, tmp$ret$8);
|
|
2066
|
+
var applicableTranslators = plus(tmp_5, tmp0_filterTo_0);
|
|
2263
2067
|
var tmp2_iterator = applicableTranslators.f();
|
|
2264
2068
|
while (tmp2_iterator.g()) {
|
|
2265
2069
|
var translator_1 = tmp2_iterator.h();
|
|
2266
|
-
var translatedKey = new Key(translator_1.
|
|
2267
|
-
var tmp3_safe_receiver = this.
|
|
2070
|
+
var translatedKey = new Key(translator_1.i2a(), key.t27_1, key.u27_1, key.v27_1);
|
|
2071
|
+
var tmp3_safe_receiver = this.n2d_1.t1(translatedKey);
|
|
2268
2072
|
var tmp_6;
|
|
2269
2073
|
if (tmp3_safe_receiver == null) {
|
|
2270
2074
|
tmp_6 = null;
|
|
2271
2075
|
} else {
|
|
2272
|
-
var tmp$ret$10;
|
|
2273
2076
|
// Inline function 'kotlin.takeIf' call
|
|
2274
2077
|
// Inline function 'kotlin.contracts.contract' call
|
|
2275
2078
|
var tmp_7;
|
|
2276
|
-
var tmp$ret$9;
|
|
2277
2079
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2278
|
-
|
|
2279
|
-
if (tmp$ret$9) {
|
|
2080
|
+
if (tmp3_safe_receiver.c9_1 == null) {
|
|
2280
2081
|
tmp_7 = tmp3_safe_receiver;
|
|
2281
2082
|
} else {
|
|
2282
2083
|
tmp_7 = null;
|
|
2283
2084
|
}
|
|
2284
|
-
|
|
2285
|
-
tmp_6 = tmp$ret$10;
|
|
2085
|
+
tmp_6 = tmp_7;
|
|
2286
2086
|
}
|
|
2287
2087
|
var tmp4_safe_receiver = tmp_6;
|
|
2288
2088
|
if (tmp4_safe_receiver == null)
|
|
2289
2089
|
null;
|
|
2290
2090
|
else {
|
|
2291
|
-
var tmp$ret$12;
|
|
2292
2091
|
// Inline function 'kotlin.let' call
|
|
2293
2092
|
// Inline function 'kotlin.contracts.contract' call
|
|
2294
|
-
var tmp$ret$11;
|
|
2295
2093
|
$l$block_0: {
|
|
2296
2094
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2297
2095
|
if (!(tmp4_safe_receiver.c9_1 == null)) {
|
|
2298
|
-
tmp$ret$11 = Unit_getInstance();
|
|
2299
2096
|
break $l$block_0;
|
|
2300
2097
|
}
|
|
2301
2098
|
// Inline function 'kotlin.collections.set' call
|
|
2302
|
-
var
|
|
2099
|
+
var tmp0_set = this.n2d_1;
|
|
2303
2100
|
var tmp1_set = tmp4_safe_receiver.f9(VOID, VOID, translator_1);
|
|
2304
|
-
|
|
2305
|
-
var
|
|
2306
|
-
var
|
|
2307
|
-
var list_1 = tmp0_container_0.u3();
|
|
2101
|
+
tmp0_set.v3(key, tmp1_set);
|
|
2102
|
+
var realKey_1 = tmp4_safe_receiver.t3();
|
|
2103
|
+
var list_1 = tmp4_safe_receiver.u3();
|
|
2308
2104
|
var tmp1_elvis_lhs_0 = getOrNull(list_1, overrideLevel);
|
|
2309
2105
|
var tmp_8;
|
|
2310
2106
|
if (tmp1_elvis_lhs_0 == null) {
|
|
@@ -2317,18 +2113,17 @@
|
|
|
2317
2113
|
var tmp_10 = definition_1 instanceof DIDefinition ? definition_1 : THROW_CCE();
|
|
2318
2114
|
return listOf(new Triple(tmp_9, tmp_10, isInterface(translator_1, ContextTranslator) ? translator_1 : THROW_CCE()));
|
|
2319
2115
|
}
|
|
2320
|
-
tmp$ret$12 = tmp$ret$11;
|
|
2321
2116
|
}
|
|
2322
2117
|
}
|
|
2323
2118
|
}
|
|
2324
|
-
var result = findBySpecs(this, new SearchSpecs(key.
|
|
2119
|
+
var result = findBySpecs(this, new SearchSpecs(key.s27_1, key.t27_1, key.u27_1, key.v27_1));
|
|
2325
2120
|
if (result.i() === 1) {
|
|
2326
2121
|
var tmp5_container = first(result);
|
|
2327
2122
|
var realKey_2 = tmp5_container.t3();
|
|
2328
2123
|
var translator_2 = tmp5_container.u3();
|
|
2329
2124
|
// Inline function 'kotlin.collections.set' call
|
|
2330
|
-
var
|
|
2331
|
-
var tmp6_safe_receiver = this.
|
|
2125
|
+
var tmp2_set = this.n2d_1;
|
|
2126
|
+
var tmp6_safe_receiver = this.n2d_1.t1(realKey_2);
|
|
2332
2127
|
var tmp7_elvis_lhs = tmp6_safe_receiver == null ? null : tmp6_safe_receiver.f9(VOID, VOID, translator_2);
|
|
2333
2128
|
var tmp_11;
|
|
2334
2129
|
if (tmp7_elvis_lhs == null) {
|
|
@@ -2336,14 +2131,12 @@
|
|
|
2336
2131
|
} else {
|
|
2337
2132
|
tmp_11 = tmp7_elvis_lhs;
|
|
2338
2133
|
}
|
|
2339
|
-
var
|
|
2340
|
-
|
|
2134
|
+
var tmp3_set = tmp_11;
|
|
2135
|
+
tmp2_set.v3(key, tmp3_set);
|
|
2341
2136
|
}
|
|
2342
|
-
var tmp$ret$16;
|
|
2343
2137
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
2344
|
-
var tmp$ret$15;
|
|
2345
2138
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
2346
|
-
var
|
|
2139
|
+
var tmp0_mapNotNullTo = ArrayList_init_$Create$();
|
|
2347
2140
|
// Inline function 'kotlin.collections.forEach' call
|
|
2348
2141
|
var tmp0_iterator_1 = result.f();
|
|
2349
2142
|
while (tmp0_iterator_1.g()) {
|
|
@@ -2354,15 +2147,14 @@
|
|
|
2354
2147
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2355
2148
|
var realKey_3 = element_1.t3();
|
|
2356
2149
|
var translator_3 = element_1.u3();
|
|
2357
|
-
var tmp0_elvis_lhs_0 = this.
|
|
2150
|
+
var tmp0_elvis_lhs_0 = this.n2d_1.t1(realKey_3);
|
|
2358
2151
|
var tmp_12;
|
|
2359
2152
|
if (tmp0_elvis_lhs_0 == null) {
|
|
2360
2153
|
throw notInMap(this, realKey_3, key);
|
|
2361
2154
|
} else {
|
|
2362
2155
|
tmp_12 = tmp0_elvis_lhs_0;
|
|
2363
2156
|
}
|
|
2364
|
-
var
|
|
2365
|
-
var definitions = tmp1_container.u3();
|
|
2157
|
+
var definitions = tmp_12.u3();
|
|
2366
2158
|
var tmp2_elvis_lhs = getOrNull(definitions, overrideLevel);
|
|
2367
2159
|
var tmp_13;
|
|
2368
2160
|
if (tmp2_elvis_lhs == null) {
|
|
@@ -2380,22 +2172,16 @@
|
|
|
2380
2172
|
if (tmp0_safe_receiver_0 == null)
|
|
2381
2173
|
null;
|
|
2382
2174
|
else {
|
|
2383
|
-
var tmp$ret$14;
|
|
2384
2175
|
// Inline function 'kotlin.let' call
|
|
2385
2176
|
// Inline function 'kotlin.contracts.contract' call
|
|
2386
|
-
|
|
2387
|
-
tmp$ret$14 = Unit_getInstance();
|
|
2177
|
+
tmp0_mapNotNullTo.a(tmp0_safe_receiver_0);
|
|
2388
2178
|
}
|
|
2389
2179
|
}
|
|
2390
|
-
|
|
2391
|
-
tmp$ret$16 = tmp$ret$15;
|
|
2392
|
-
return tmp$ret$16;
|
|
2180
|
+
return tmp0_mapNotNullTo;
|
|
2393
2181
|
};
|
|
2394
|
-
protoOf(DITreeImpl).
|
|
2182
|
+
protoOf(DITreeImpl).k29 = function (search) {
|
|
2395
2183
|
var result = findBySpecs(this, search);
|
|
2396
|
-
var tmp$ret$2;
|
|
2397
2184
|
// Inline function 'kotlin.collections.map' call
|
|
2398
|
-
var tmp$ret$1;
|
|
2399
2185
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2400
2186
|
var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(result, 10));
|
|
2401
2187
|
var tmp0_iterator = result.f();
|
|
@@ -2405,30 +2191,28 @@
|
|
|
2405
2191
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2406
2192
|
var key = item.t3();
|
|
2407
2193
|
var translator = item.u3();
|
|
2408
|
-
tmp$ret$0 = new Triple(key, ensureNotNull(this.
|
|
2194
|
+
tmp$ret$0 = new Triple(key, ensureNotNull(this.n2d_1.t1(key)).b9_1, translator);
|
|
2409
2195
|
tmp0_mapTo.a(tmp$ret$0);
|
|
2410
2196
|
}
|
|
2411
|
-
|
|
2412
|
-
tmp$ret$2 = tmp$ret$1;
|
|
2413
|
-
return tmp$ret$2;
|
|
2197
|
+
return tmp0_mapTo;
|
|
2414
2198
|
};
|
|
2415
|
-
protoOf(DITreeImpl).
|
|
2416
|
-
var tmp = this.
|
|
2199
|
+
protoOf(DITreeImpl).l29 = function (key) {
|
|
2200
|
+
var tmp = this.n2d_1.t1(key);
|
|
2417
2201
|
return (tmp == null ? true : tmp instanceof Triple) ? tmp : THROW_CCE();
|
|
2418
2202
|
};
|
|
2419
2203
|
function Down(type) {
|
|
2420
2204
|
TypeChecker.call(this);
|
|
2421
|
-
this.
|
|
2422
|
-
this.
|
|
2205
|
+
this.s2d_1 = type;
|
|
2206
|
+
this.t2d_1 = equals(this.s2d_1, Companion_getInstance().i27_1);
|
|
2423
2207
|
}
|
|
2424
|
-
protoOf(Down).
|
|
2425
|
-
return this.
|
|
2208
|
+
protoOf(Down).r2d = function (other) {
|
|
2209
|
+
return this.t2d_1 ? true : this.s2d_1.e27(other);
|
|
2426
2210
|
};
|
|
2427
2211
|
protoOf(Down).toString = function () {
|
|
2428
|
-
return 'Down(type=' + this.
|
|
2212
|
+
return 'Down(type=' + this.s2d_1 + ')';
|
|
2429
2213
|
};
|
|
2430
2214
|
protoOf(Down).hashCode = function () {
|
|
2431
|
-
return hashCode(this.
|
|
2215
|
+
return hashCode(this.s2d_1);
|
|
2432
2216
|
};
|
|
2433
2217
|
protoOf(Down).equals = function (other) {
|
|
2434
2218
|
if (this === other)
|
|
@@ -2436,22 +2220,22 @@
|
|
|
2436
2220
|
if (!(other instanceof Down))
|
|
2437
2221
|
return false;
|
|
2438
2222
|
var tmp0_other_with_cast = other instanceof Down ? other : THROW_CCE();
|
|
2439
|
-
if (!equals(this.
|
|
2223
|
+
if (!equals(this.s2d_1, tmp0_other_with_cast.s2d_1))
|
|
2440
2224
|
return false;
|
|
2441
2225
|
return true;
|
|
2442
2226
|
};
|
|
2443
2227
|
function Up(type) {
|
|
2444
2228
|
TypeChecker.call(this);
|
|
2445
|
-
this.
|
|
2229
|
+
this.u2d_1 = type;
|
|
2446
2230
|
}
|
|
2447
|
-
protoOf(Up).
|
|
2448
|
-
return equals(other, Companion_getInstance().
|
|
2231
|
+
protoOf(Up).r2d = function (other) {
|
|
2232
|
+
return equals(other, Companion_getInstance().i27_1) ? true : other.e27(this.u2d_1);
|
|
2449
2233
|
};
|
|
2450
2234
|
protoOf(Up).toString = function () {
|
|
2451
|
-
return 'Up(type=' + this.
|
|
2235
|
+
return 'Up(type=' + this.u2d_1 + ')';
|
|
2452
2236
|
};
|
|
2453
2237
|
protoOf(Up).hashCode = function () {
|
|
2454
|
-
return hashCode(this.
|
|
2238
|
+
return hashCode(this.u2d_1);
|
|
2455
2239
|
};
|
|
2456
2240
|
protoOf(Up).equals = function (other) {
|
|
2457
2241
|
if (this === other)
|
|
@@ -2459,71 +2243,68 @@
|
|
|
2459
2243
|
if (!(other instanceof Up))
|
|
2460
2244
|
return false;
|
|
2461
2245
|
var tmp0_other_with_cast = other instanceof Up ? other : THROW_CCE();
|
|
2462
|
-
if (!equals(this.
|
|
2246
|
+
if (!equals(this.u2d_1, tmp0_other_with_cast.u2d_1))
|
|
2463
2247
|
return false;
|
|
2464
2248
|
return true;
|
|
2465
2249
|
};
|
|
2466
2250
|
function TypeChecker() {
|
|
2467
2251
|
}
|
|
2468
2252
|
function DirectDIBaseImpl(container, context) {
|
|
2469
|
-
this.
|
|
2470
|
-
this.
|
|
2253
|
+
this.v2d_1 = container;
|
|
2254
|
+
this.w2d_1 = context;
|
|
2471
2255
|
}
|
|
2472
|
-
protoOf(DirectDIBaseImpl).
|
|
2473
|
-
return this.
|
|
2256
|
+
protoOf(DirectDIBaseImpl).r28 = function () {
|
|
2257
|
+
return this.v2d_1;
|
|
2474
2258
|
};
|
|
2475
|
-
protoOf(DirectDIBaseImpl).
|
|
2259
|
+
protoOf(DirectDIBaseImpl).s29 = function () {
|
|
2476
2260
|
return this;
|
|
2477
2261
|
};
|
|
2478
|
-
protoOf(DirectDIBaseImpl).
|
|
2479
|
-
var tmp = this.
|
|
2480
|
-
return On(new DIImpl(tmp instanceof DIContainerImpl ? tmp : THROW_CCE()), this.
|
|
2262
|
+
protoOf(DirectDIBaseImpl).m29 = function () {
|
|
2263
|
+
var tmp = this.r28();
|
|
2264
|
+
return On(new DIImpl(tmp instanceof DIContainerImpl ? tmp : THROW_CCE()), this.w2d_1);
|
|
2481
2265
|
};
|
|
2482
|
-
protoOf(DirectDIBaseImpl).
|
|
2483
|
-
return new DirectDIImpl(this.
|
|
2266
|
+
protoOf(DirectDIBaseImpl).u29 = function (context) {
|
|
2267
|
+
return new DirectDIImpl(this.r28(), context);
|
|
2484
2268
|
};
|
|
2485
|
-
protoOf(DirectDIBaseImpl).
|
|
2486
|
-
var tmp = this.
|
|
2269
|
+
protoOf(DirectDIBaseImpl).t29 = function (type, tag) {
|
|
2270
|
+
var tmp = this.r28();
|
|
2487
2271
|
var tmp$ret$0;
|
|
2488
2272
|
// Inline function 'org.kodein.di.internal.anyType' call
|
|
2489
|
-
var
|
|
2490
|
-
var tmp_0 = tmp0__get_anyType__cravgl.s28();
|
|
2273
|
+
var tmp_0 = this.w2d_1.w28();
|
|
2491
2274
|
tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2492
|
-
return tmp.
|
|
2275
|
+
return tmp.c29(new Key(tmp$ret$0, Companion_getInstance().h27_1, type, tag), this.w2d_1.j1())();
|
|
2493
2276
|
};
|
|
2494
2277
|
function DIProperty$provideDelegate$lambda($receiver, this$0, $prop) {
|
|
2495
2278
|
return function () {
|
|
2496
2279
|
var tmp;
|
|
2497
|
-
if (!($receiver == null) ? this$0.
|
|
2280
|
+
if (!($receiver == null) ? this$0.y2d_1 === get_AnyDIContext() : false) {
|
|
2498
2281
|
var tmp_0 = Companion_getInstance_1();
|
|
2499
2282
|
var tmp_1 = erasedOf($receiver);
|
|
2500
|
-
tmp = tmp_0.
|
|
2283
|
+
tmp = tmp_0.x28(isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE(), $receiver);
|
|
2501
2284
|
} else {
|
|
2502
|
-
tmp = this$0.
|
|
2285
|
+
tmp = this$0.y2d_1;
|
|
2503
2286
|
}
|
|
2504
2287
|
var context = tmp;
|
|
2505
|
-
return this$0.
|
|
2288
|
+
return this$0.z2d_1(context, $prop.callableName);
|
|
2506
2289
|
};
|
|
2507
2290
|
}
|
|
2508
2291
|
function DIProperty(trigger, originalContext, get) {
|
|
2509
|
-
this.
|
|
2510
|
-
this.
|
|
2511
|
-
this.
|
|
2292
|
+
this.x2d_1 = trigger;
|
|
2293
|
+
this.y2d_1 = originalContext;
|
|
2294
|
+
this.z2d_1 = get;
|
|
2512
2295
|
}
|
|
2513
|
-
protoOf(DIProperty).
|
|
2514
|
-
var tmp$ret$0;
|
|
2296
|
+
protoOf(DIProperty).a2e = function (receiver, prop) {
|
|
2515
2297
|
// Inline function 'kotlin.also' call
|
|
2516
2298
|
var tmp0_also = lazy(DIProperty$provideDelegate$lambda(receiver, this, prop));
|
|
2517
2299
|
// Inline function 'kotlin.contracts.contract' call
|
|
2518
2300
|
// Inline function 'org.kodein.di.DIProperty.provideDelegate.<anonymous>' call
|
|
2519
|
-
var tmp0_safe_receiver = this.
|
|
2520
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2301
|
+
var tmp0_safe_receiver = this.x2d_1;
|
|
2302
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b2e_1;
|
|
2521
2303
|
if (tmp1_safe_receiver == null)
|
|
2522
2304
|
null;
|
|
2523
2305
|
else
|
|
2524
2306
|
tmp1_safe_receiver.a(tmp0_also);
|
|
2525
|
-
|
|
2526
|
-
return tmp$ret$0;
|
|
2307
|
+
return tmp0_also;
|
|
2527
2308
|
};
|
|
2528
2309
|
function DirectDIImpl(container, context) {
|
|
2529
2310
|
DirectDIBaseImpl.call(this, container, context);
|
|
@@ -2535,27 +2316,27 @@
|
|
|
2535
2316
|
return ArrayList_init_$Create$();
|
|
2536
2317
|
}
|
|
2537
2318
|
//region block: post-declaration
|
|
2538
|
-
protoOf(Singleton).
|
|
2539
|
-
protoOf(Singleton).
|
|
2540
|
-
protoOf(Singleton).
|
|
2541
|
-
protoOf(Singleton).
|
|
2542
|
-
protoOf(Provider).
|
|
2543
|
-
protoOf(Provider).
|
|
2544
|
-
protoOf(Provider).
|
|
2545
|
-
protoOf(Provider).
|
|
2546
|
-
protoOf(Provider).
|
|
2547
|
-
protoOf(Provider).
|
|
2548
|
-
protoOf(DIBuilderImpl).
|
|
2549
|
-
protoOf(DIMainBuilderImpl).
|
|
2550
|
-
protoOf(DIContainerImpl).
|
|
2551
|
-
protoOf(DIContainerImpl).
|
|
2552
|
-
protoOf(DIContainerImpl).
|
|
2553
|
-
protoOf(DIImpl).
|
|
2554
|
-
protoOf(DIImpl).
|
|
2555
|
-
protoOf(DIImpl).
|
|
2556
|
-
protoOf(DITreeImpl).
|
|
2557
|
-
protoOf(DirectDIBaseImpl).
|
|
2558
|
-
protoOf(DirectDIImpl).
|
|
2319
|
+
protoOf(Singleton).b2a = get_argType;
|
|
2320
|
+
protoOf(Singleton).y27 = get_description;
|
|
2321
|
+
protoOf(Singleton).a28 = get_fullDescription;
|
|
2322
|
+
protoOf(Singleton).d2a = get_supportSubTypes;
|
|
2323
|
+
protoOf(Provider).b2a = get_argType;
|
|
2324
|
+
protoOf(Provider).y29 = factoryFullName;
|
|
2325
|
+
protoOf(Provider).z29 = get_scope;
|
|
2326
|
+
protoOf(Provider).y27 = get_description;
|
|
2327
|
+
protoOf(Provider).a28 = get_fullDescription;
|
|
2328
|
+
protoOf(Provider).d2a = get_supportSubTypes;
|
|
2329
|
+
protoOf(DIBuilderImpl).l28 = import$default;
|
|
2330
|
+
protoOf(DIMainBuilderImpl).l28 = import$default;
|
|
2331
|
+
protoOf(DIContainerImpl).e29 = factory$default;
|
|
2332
|
+
protoOf(DIContainerImpl).f29 = provider;
|
|
2333
|
+
protoOf(DIContainerImpl).c29 = provider$default;
|
|
2334
|
+
protoOf(DIImpl).q28 = get_di;
|
|
2335
|
+
protoOf(DIImpl).s28 = get_diContext;
|
|
2336
|
+
protoOf(DIImpl).t28 = get_diTrigger;
|
|
2337
|
+
protoOf(DITreeImpl).j29 = find$default;
|
|
2338
|
+
protoOf(DirectDIBaseImpl).q28 = get_di_0;
|
|
2339
|
+
protoOf(DirectDIImpl).q28 = get_di_0;
|
|
2559
2340
|
//endregion
|
|
2560
2341
|
//region block: exports
|
|
2561
2342
|
_.$_$ = _.$_$ || {};
|