raspberry_games_engine_helpers 1.8.342 → 1.8.346
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kosi-Kaverit-kaverit.js +105 -117
- package/Kosi-Kaverit-kaverit.js.map +1 -1
- package/Kosi-Kodein-kodein-di.js +881 -887
- package/Kosi-Kodein-kodein-di.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime.js +4592 -3613
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Logic_Debertz-core.js +1260 -1256
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.d.ts +855 -155
- package/Logic_Debertz-engine.js +11438 -11547
- package/Logic_Debertz-engine.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +3343 -3040
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -1
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +45 -56
- package/kotlinx-io-kotlinx-io-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +2338 -2380
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1967 -1981
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js.map +1 -1
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-client-js.js.map +1 -1
- package/ktor-ktor-client-logging.js.map +1 -1
- package/ktor-ktor-events.js.map +1 -1
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx.js.map +1 -1
- package/ktor-ktor-serialization.js.map +1 -1
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websocket-serialization.js.map +1 -1
- package/ktor-ktor-websockets.js.map +1 -1
- package/package.json +1 -2
- package/raspberry-cardgame-lib-core.js +56 -60
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-logger.js +136 -107
- package/raspberry-cardgame-lib-logger.js.map +1 -1
- package/raspberry-cardgame-lib-random.js +79 -78
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/secure-random-secure-random.js.map +1 -1
- package/uuid.js.map +1 -1
- package/kotlin-kotlinx-atomicfu-runtime.js +0 -15
- package/kotlin-kotlinx-atomicfu-runtime.js.map +0 -1
package/Kosi-Kodein-kodein-di.js
CHANGED
|
@@ -16,71 +16,71 @@
|
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
18
|
var imul = Math.imul;
|
|
19
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
20
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
19
|
+
var protoOf = kotlin_kotlin.$_$.m9;
|
|
20
|
+
var initMetadataForClass = kotlin_kotlin.$_$.p8;
|
|
21
21
|
var VOID = kotlin_kotlin.$_$.f;
|
|
22
|
-
var
|
|
23
|
-
var
|
|
24
|
-
var
|
|
25
|
-
var
|
|
26
|
-
var
|
|
27
|
-
var
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
var
|
|
22
|
+
var KProperty1 = kotlin_kotlin.$_$.ba;
|
|
23
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.m8;
|
|
24
|
+
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.s;
|
|
25
|
+
var first = kotlin_kotlin.$_$.x5;
|
|
26
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
|
|
27
|
+
var Unit_instance = kotlin_kotlin.$_$.e4;
|
|
28
|
+
var filterNotNull = kotlin_kotlin.$_$.u5;
|
|
29
|
+
var sorted = kotlin_kotlin.$_$.f7;
|
|
30
|
+
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.x;
|
|
31
|
+
var repeat = kotlin_kotlin.$_$.ta;
|
|
32
|
+
var ensureNotNull = kotlin_kotlin.$_$.xc;
|
|
33
33
|
var toString = kotlin_kotlin.$_$.id;
|
|
34
34
|
var Companion_getInstance = kotlin_org_kodein_type_kaverit.$_$.a;
|
|
35
|
-
var equals = kotlin_kotlin.$_$.
|
|
36
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
37
|
-
var RuntimeException = kotlin_kotlin.$_$.
|
|
38
|
-
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.
|
|
39
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
40
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
41
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
42
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
43
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
44
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
45
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
46
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
47
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
48
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
35
|
+
var equals = kotlin_kotlin.$_$.j8;
|
|
36
|
+
var objectCreate = kotlin_kotlin.$_$.l9;
|
|
37
|
+
var RuntimeException = kotlin_kotlin.$_$.hc;
|
|
38
|
+
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.j1;
|
|
39
|
+
var captureStack = kotlin_kotlin.$_$.a8;
|
|
40
|
+
var hashCode = kotlin_kotlin.$_$.o8;
|
|
41
|
+
var THROW_CCE = kotlin_kotlin.$_$.ic;
|
|
42
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.s8;
|
|
43
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.f1;
|
|
44
|
+
var toString_0 = kotlin_kotlin.$_$.p9;
|
|
45
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.k8;
|
|
46
|
+
var getStringHashCode = kotlin_kotlin.$_$.n8;
|
|
47
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.q8;
|
|
48
|
+
var initMetadataForObject = kotlin_kotlin.$_$.u8;
|
|
49
49
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
50
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
51
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
50
|
+
var isInterface = kotlin_kotlin.$_$.c9;
|
|
51
|
+
var joinToString = kotlin_kotlin.$_$.g6;
|
|
52
52
|
var erasedOf = kotlin_org_kodein_type_kaverit.$_$.c;
|
|
53
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
54
|
-
var HashSet_init_$Create$ = kotlin_kotlin.$_$.
|
|
55
|
-
var HashMap_init_$Create$ = kotlin_kotlin.$_$.
|
|
56
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
57
|
-
var Enum = kotlin_kotlin.$_$.
|
|
58
|
-
var KtMap = kotlin_kotlin.$_$.
|
|
59
|
-
var
|
|
60
|
-
var
|
|
61
|
-
var
|
|
62
|
-
var
|
|
63
|
-
var
|
|
64
|
-
var
|
|
65
|
-
var
|
|
66
|
-
var
|
|
67
|
-
var
|
|
68
|
-
var
|
|
53
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.i;
|
|
54
|
+
var HashSet_init_$Create$ = kotlin_kotlin.$_$.p;
|
|
55
|
+
var HashMap_init_$Create$ = kotlin_kotlin.$_$.m;
|
|
56
|
+
var charSequenceLength = kotlin_kotlin.$_$.f8;
|
|
57
|
+
var Enum = kotlin_kotlin.$_$.bc;
|
|
58
|
+
var KtMap = kotlin_kotlin.$_$.n4;
|
|
59
|
+
var KProperty0 = kotlin_kotlin.$_$.aa;
|
|
60
|
+
var listOf = kotlin_kotlin.$_$.p6;
|
|
61
|
+
var plus = kotlin_kotlin.$_$.w6;
|
|
62
|
+
var emptyList = kotlin_kotlin.$_$.r5;
|
|
63
|
+
var plus_0 = kotlin_kotlin.$_$.x6;
|
|
64
|
+
var checkIndexOverflow = kotlin_kotlin.$_$.z4;
|
|
65
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.s1;
|
|
66
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.a5;
|
|
67
|
+
var mapCapacity = kotlin_kotlin.$_$.r6;
|
|
68
|
+
var coerceAtLeast = kotlin_kotlin.$_$.t9;
|
|
69
|
+
var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.r;
|
|
69
70
|
var to = kotlin_kotlin.$_$.jd;
|
|
70
|
-
var
|
|
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 getOrNull = kotlin_kotlin.$_$.g6;
|
|
71
|
+
var lazy = kotlin_kotlin.$_$.cd;
|
|
72
|
+
var asSequence = kotlin_kotlin.$_$.v4;
|
|
73
|
+
var filter = kotlin_kotlin.$_$.da;
|
|
74
|
+
var flatMap = kotlin_kotlin.$_$.fa;
|
|
75
|
+
var mapNotNull = kotlin_kotlin.$_$.ga;
|
|
76
|
+
var map = kotlin_kotlin.$_$.ha;
|
|
77
|
+
var toList = kotlin_kotlin.$_$.ia;
|
|
78
|
+
var Triple = kotlin_kotlin.$_$.kc;
|
|
79
|
+
var ArrayList_init_$Create$_1 = kotlin_kotlin.$_$.k;
|
|
80
|
+
var HashMap_init_$Create$_0 = kotlin_kotlin.$_$.n;
|
|
81
|
+
var Collection = kotlin_kotlin.$_$.g4;
|
|
82
|
+
var addAll = kotlin_kotlin.$_$.s4;
|
|
83
|
+
var getOrNull = kotlin_kotlin.$_$.b6;
|
|
84
84
|
//endregion
|
|
85
85
|
//region block: pre-declaration
|
|
86
86
|
initMetadataForClass(DIDefining, 'DIDefining');
|
|
@@ -93,10 +93,10 @@
|
|
|
93
93
|
allowOverride = allowOverride === VOID ? false : allowOverride;
|
|
94
94
|
var tmp;
|
|
95
95
|
if ($super === VOID) {
|
|
96
|
-
this.
|
|
96
|
+
this.f22(module_0, allowOverride);
|
|
97
97
|
tmp = Unit_instance;
|
|
98
98
|
} else {
|
|
99
|
-
tmp = $super.
|
|
99
|
+
tmp = $super.f22.call(this, module_0, allowOverride);
|
|
100
100
|
}
|
|
101
101
|
return tmp;
|
|
102
102
|
}
|
|
@@ -121,26 +121,26 @@
|
|
|
121
121
|
initMetadataForClass(DIWrapper, 'DIWrapper', VOID, VOID, [DI]);
|
|
122
122
|
function factory$default(key, context, overrideLevel, $super) {
|
|
123
123
|
overrideLevel = overrideLevel === VOID ? 0 : overrideLevel;
|
|
124
|
-
return $super === VOID ? this.
|
|
124
|
+
return $super === VOID ? this.b23(key, context, overrideLevel) : $super.b23.call(this, key, context, overrideLevel);
|
|
125
125
|
}
|
|
126
126
|
function provider(key, context, overrideLevel) {
|
|
127
127
|
// Inline function 'org.kodein.di.toProvider' call
|
|
128
|
-
var this_0 = this.
|
|
128
|
+
var this_0 = this.c23(key, context);
|
|
129
129
|
return DIContainer$provider$lambda(this_0);
|
|
130
130
|
}
|
|
131
131
|
function provider$default(key, context, overrideLevel, $super) {
|
|
132
132
|
overrideLevel = overrideLevel === VOID ? 0 : overrideLevel;
|
|
133
|
-
return $super === VOID ? this.
|
|
133
|
+
return $super === VOID ? this.d23(key, context, overrideLevel) : provider(key, context, overrideLevel);
|
|
134
134
|
}
|
|
135
135
|
initMetadataForInterface(DIContainer, 'DIContainer');
|
|
136
136
|
function find$default(key, overrideLevel, all, $super) {
|
|
137
137
|
overrideLevel = overrideLevel === VOID ? 0 : overrideLevel;
|
|
138
138
|
all = all === VOID ? false : all;
|
|
139
|
-
return $super === VOID ? this.
|
|
139
|
+
return $super === VOID ? this.g23(key, overrideLevel, all) : $super.g23.call(this, key, overrideLevel, all);
|
|
140
140
|
}
|
|
141
141
|
initMetadataForInterface(DITree, 'DITree');
|
|
142
142
|
function get_di_0() {
|
|
143
|
-
return this.
|
|
143
|
+
return this.k23();
|
|
144
144
|
}
|
|
145
145
|
initMetadataForInterface(DirectDIBase, 'DirectDIBase');
|
|
146
146
|
initMetadataForObject(NoDefinedTag, 'NoDefinedTag');
|
|
@@ -150,19 +150,19 @@
|
|
|
150
150
|
initMetadataForClass(DIBinding$Copier$Companion$invoke$1);
|
|
151
151
|
initMetadataForCompanion(Companion_1);
|
|
152
152
|
function factoryFullName() {
|
|
153
|
-
return this.
|
|
153
|
+
return this.v23();
|
|
154
154
|
}
|
|
155
155
|
function get_scope() {
|
|
156
156
|
return null;
|
|
157
157
|
}
|
|
158
158
|
function get_description() {
|
|
159
|
-
var arg = !equals(this.
|
|
159
|
+
var arg = !equals(this.x23(), Companion_getInstance().p20_1) ? this.x23().r20() + ' -> ' : '';
|
|
160
160
|
var tmp;
|
|
161
|
-
var tmp_0 = this.
|
|
161
|
+
var tmp_0 = this.j22();
|
|
162
162
|
if (tmp_0 instanceof NoScope) {
|
|
163
163
|
tmp = null;
|
|
164
164
|
} else {
|
|
165
|
-
tmp = this.
|
|
165
|
+
tmp = this.j22();
|
|
166
166
|
}
|
|
167
167
|
var scope = tmp;
|
|
168
168
|
var tmp_1;
|
|
@@ -170,22 +170,20 @@
|
|
|
170
170
|
tmp_1 = null;
|
|
171
171
|
} else {
|
|
172
172
|
// Inline function 'kotlin.let' call
|
|
173
|
-
|
|
174
|
-
// Inline function 'org.kodein.di.bindings.DIBinding.<get-description>.<anonymous>' call
|
|
175
|
-
tmp_1 = 'scoped(' + erasedOf(scope).h1y() + ').';
|
|
173
|
+
tmp_1 = 'scoped(' + erasedOf(scope).r20() + ').';
|
|
176
174
|
}
|
|
177
|
-
var
|
|
178
|
-
var context =
|
|
179
|
-
return context + this.
|
|
175
|
+
var tmp1_elvis_lhs = tmp_1;
|
|
176
|
+
var context = tmp1_elvis_lhs == null ? !equals(this.h22(), Companion_getInstance().q20_1) ? 'contexted<' + this.h22().r20() + '>().' : '' : tmp1_elvis_lhs;
|
|
177
|
+
return context + this.v23() + ' { ' + arg + this.y23().r20() + ' }';
|
|
180
178
|
}
|
|
181
179
|
function get_fullDescription() {
|
|
182
|
-
var arg = !equals(this.
|
|
180
|
+
var arg = !equals(this.x23(), Companion_getInstance().p20_1) ? this.x23().t20() + ' -> ' : '';
|
|
183
181
|
var tmp;
|
|
184
|
-
var tmp_0 = this.
|
|
182
|
+
var tmp_0 = this.j22();
|
|
185
183
|
if (tmp_0 instanceof NoScope) {
|
|
186
184
|
tmp = null;
|
|
187
185
|
} else {
|
|
188
|
-
tmp = this.
|
|
186
|
+
tmp = this.j22();
|
|
189
187
|
}
|
|
190
188
|
var scope = tmp;
|
|
191
189
|
var tmp_1;
|
|
@@ -193,20 +191,18 @@
|
|
|
193
191
|
tmp_1 = null;
|
|
194
192
|
} else {
|
|
195
193
|
// Inline function 'kotlin.let' call
|
|
196
|
-
|
|
197
|
-
// Inline function 'org.kodein.di.bindings.DIBinding.<get-fullDescription>.<anonymous>' call
|
|
198
|
-
tmp_1 = 'scoped(' + erasedOf(scope).j1y() + ').';
|
|
194
|
+
tmp_1 = 'scoped(' + erasedOf(scope).t20() + ').';
|
|
199
195
|
}
|
|
200
|
-
var
|
|
201
|
-
var context =
|
|
202
|
-
return context + this.
|
|
196
|
+
var tmp1_elvis_lhs = tmp_1;
|
|
197
|
+
var context = tmp1_elvis_lhs == null ? !equals(this.h22(), Companion_getInstance().q20_1) ? 'contexted<' + this.h22().t20() + '>().' : '' : tmp1_elvis_lhs;
|
|
198
|
+
return context + this.w23() + ' { ' + arg + this.y23().t20() + ' }';
|
|
203
199
|
}
|
|
204
200
|
function get_supportSubTypes() {
|
|
205
201
|
return false;
|
|
206
202
|
}
|
|
207
203
|
initMetadataForInterface(DIBinding, 'DIBinding');
|
|
208
204
|
function get_argType() {
|
|
209
|
-
return Companion_getInstance().
|
|
205
|
+
return Companion_getInstance().p20_1;
|
|
210
206
|
}
|
|
211
207
|
initMetadataForInterface(NoArgDIBinding, 'NoArgDIBinding', VOID, VOID, [DIBinding]);
|
|
212
208
|
initMetadataForObject(SingletonReference, 'SingletonReference');
|
|
@@ -243,32 +239,33 @@
|
|
|
243
239
|
//endregion
|
|
244
240
|
function DIDefinition(binding, fromModule, tree) {
|
|
245
241
|
DIDefining.call(this, binding, fromModule);
|
|
246
|
-
this.
|
|
242
|
+
this.j21_1 = tree;
|
|
247
243
|
}
|
|
248
244
|
function description(_this__u8e3s4, withOverrides, ident) {
|
|
249
245
|
withOverrides = withOverrides === VOID ? false : withOverrides;
|
|
250
246
|
ident = ident === VOID ? 8 : ident;
|
|
251
|
-
|
|
247
|
+
var tmp = KProperty1;
|
|
248
|
+
var tmp_0 = getPropertyCallableRef('bindDescription', 1, tmp, DI$Key$_get_bindDescription_$ref_ua6e71(), null);
|
|
249
|
+
var tmp_1 = KProperty1;
|
|
250
|
+
return descriptionImpl(_this__u8e3s4, withOverrides, ident, tmp_0, getPropertyCallableRef('description', 1, tmp_1, DIBinding$_get_description_$ref_vam140(), null));
|
|
252
251
|
}
|
|
253
252
|
function DIDefining(binding, fromModule) {
|
|
254
|
-
this.
|
|
255
|
-
this.
|
|
253
|
+
this.k21_1 = binding;
|
|
254
|
+
this.l21_1 = fromModule;
|
|
256
255
|
}
|
|
257
256
|
function descriptionImpl(_this__u8e3s4, withOverrides, ident, keyBindDisp, bindingDisp) {
|
|
258
257
|
// Inline function 'kotlin.collections.groupBy' call
|
|
258
|
+
var tmp0 = _this__u8e3s4.s();
|
|
259
259
|
// Inline function 'kotlin.collections.groupByTo' call
|
|
260
|
-
var this_0 = _this__u8e3s4.s();
|
|
261
260
|
var destination = LinkedHashMap_init_$Create$();
|
|
262
|
-
var
|
|
263
|
-
while (
|
|
264
|
-
var element =
|
|
265
|
-
|
|
266
|
-
var key = first(element.a2()).b1z_1;
|
|
261
|
+
var _iterator__ex2g4s = tmp0.j();
|
|
262
|
+
while (_iterator__ex2g4s.k()) {
|
|
263
|
+
var element = _iterator__ex2g4s.l();
|
|
264
|
+
var key = first(element.a2()).l21_1;
|
|
267
265
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
268
266
|
var value = destination.d2(key);
|
|
269
267
|
var tmp;
|
|
270
268
|
if (value == null) {
|
|
271
|
-
// Inline function 'kotlin.collections.groupByTo.<anonymous>' call
|
|
272
269
|
var answer = ArrayList_init_$Create$();
|
|
273
270
|
destination.g2(key, answer);
|
|
274
271
|
tmp = answer;
|
|
@@ -281,97 +278,94 @@
|
|
|
281
278
|
var byModule = destination;
|
|
282
279
|
var modules = sorted(filterNotNull(byModule.e2()));
|
|
283
280
|
// Inline function 'kotlin.text.buildString' call
|
|
284
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
285
281
|
// Inline function 'kotlin.apply' call
|
|
286
|
-
var
|
|
287
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
288
|
-
// Inline function 'org.kodein.di.descriptionImpl.<anonymous>' call
|
|
282
|
+
var this_0 = StringBuilder_init_$Create$();
|
|
289
283
|
var tmp0_safe_receiver = byModule.d2(null);
|
|
290
284
|
if (tmp0_safe_receiver == null)
|
|
291
285
|
null;
|
|
292
286
|
else {
|
|
293
287
|
// Inline function 'kotlin.let' call
|
|
294
|
-
|
|
295
|
-
descriptionImpl$appendBindings(this_1, keyBindDisp, bindingDisp, withOverrides, ident, tmp0_safe_receiver);
|
|
288
|
+
descriptionImpl$appendBindings(this_0, keyBindDisp, bindingDisp, withOverrides, ident, tmp0_safe_receiver);
|
|
296
289
|
}
|
|
297
290
|
// Inline function 'kotlin.collections.forEach' call
|
|
298
|
-
var
|
|
299
|
-
while (
|
|
300
|
-
var element_0 =
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
this_1.f8(repeat(' ', ident) + '}\n');
|
|
291
|
+
var _iterator__ex2g4s_0 = modules.j();
|
|
292
|
+
while (_iterator__ex2g4s_0.k()) {
|
|
293
|
+
var element_0 = _iterator__ex2g4s_0.l();
|
|
294
|
+
this_0.i8(repeat(' ', ident) + 'module ' + element_0 + ' {\n');
|
|
295
|
+
descriptionImpl$appendBindings(this_0, keyBindDisp, bindingDisp, withOverrides, ident + 4 | 0, ensureNotNull(byModule.d2(element_0)));
|
|
296
|
+
this_0.i8(repeat(' ', ident) + '}\n');
|
|
305
297
|
}
|
|
306
|
-
return
|
|
298
|
+
return this_0.toString();
|
|
307
299
|
}
|
|
308
300
|
function fullDescription(_this__u8e3s4, withOverrides, ident) {
|
|
309
301
|
withOverrides = withOverrides === VOID ? false : withOverrides;
|
|
310
302
|
ident = ident === VOID ? 8 : ident;
|
|
311
|
-
|
|
303
|
+
var tmp = KProperty1;
|
|
304
|
+
var tmp_0 = getPropertyCallableRef('bindFullDescription', 1, tmp, DI$Key$_get_bindFullDescription_$ref_x9pxcc(), null);
|
|
305
|
+
var tmp_1 = KProperty1;
|
|
306
|
+
return descriptionImpl(_this__u8e3s4, withOverrides, ident, tmp_0, getPropertyCallableRef('fullDescription', 1, tmp_1, DIBinding$_get_fullDescription_$ref_12omkv(), null));
|
|
312
307
|
}
|
|
313
308
|
function descriptionImpl$appendBindings(_this__u8e3s4, $keyBindDisp, $bindingDisp, $withOverrides, ident, entries) {
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
309
|
+
// Inline function 'kotlin.collections.forEach' call
|
|
310
|
+
var _iterator__ex2g4s = entries.j();
|
|
311
|
+
while (_iterator__ex2g4s.k()) {
|
|
312
|
+
var element = _iterator__ex2g4s.l();
|
|
318
313
|
var keyDescription = $keyBindDisp(element.z1());
|
|
319
|
-
_this__u8e3s4.
|
|
314
|
+
_this__u8e3s4.i8(repeat(' ', ident) + keyDescription + ' { ' + $bindingDisp(first(element.a2()).k21_1) + ' }');
|
|
320
315
|
if ($withOverrides) {
|
|
321
316
|
var subIdent = keyDescription.length - 4 | 0;
|
|
322
317
|
// Inline function 'kotlin.collections.forEach' call
|
|
323
|
-
var
|
|
324
|
-
while (
|
|
325
|
-
var element_0 =
|
|
326
|
-
|
|
327
|
-
_this__u8e3s4.f8(repeat(' ', subIdent) + 'overrides ' + $bindingDisp(element_0.a1z_1));
|
|
318
|
+
var _iterator__ex2g4s_0 = element.a2().v1(1, element.a2().m()).j();
|
|
319
|
+
while (_iterator__ex2g4s_0.k()) {
|
|
320
|
+
var element_0 = _iterator__ex2g4s_0.l();
|
|
321
|
+
_this__u8e3s4.i8(repeat(' ', subIdent) + 'overrides ' + $bindingDisp(element_0.k21_1));
|
|
328
322
|
}
|
|
329
323
|
}
|
|
330
|
-
_this__u8e3s4.
|
|
324
|
+
_this__u8e3s4.i8('\n');
|
|
331
325
|
}
|
|
332
326
|
return Unit_instance;
|
|
333
327
|
}
|
|
334
|
-
function
|
|
335
|
-
return
|
|
336
|
-
return
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
function
|
|
340
|
-
return
|
|
341
|
-
return
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
function
|
|
345
|
-
return
|
|
346
|
-
return
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
function
|
|
350
|
-
return
|
|
351
|
-
return
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
function appendDescription(
|
|
355
|
-
if (!($this.
|
|
356
|
-
_this__u8e3s4.
|
|
328
|
+
function DI$Key$_get_bindDescription_$ref_ua6e71() {
|
|
329
|
+
return function (p0) {
|
|
330
|
+
return p0.r21();
|
|
331
|
+
};
|
|
332
|
+
}
|
|
333
|
+
function DIBinding$_get_description_$ref_vam140() {
|
|
334
|
+
return function (p0) {
|
|
335
|
+
return p0.s21();
|
|
336
|
+
};
|
|
337
|
+
}
|
|
338
|
+
function DI$Key$_get_bindFullDescription_$ref_x9pxcc() {
|
|
339
|
+
return function (p0) {
|
|
340
|
+
return p0.t21();
|
|
341
|
+
};
|
|
342
|
+
}
|
|
343
|
+
function DIBinding$_get_fullDescription_$ref_12omkv() {
|
|
344
|
+
return function (p0) {
|
|
345
|
+
return p0.u21();
|
|
346
|
+
};
|
|
347
|
+
}
|
|
348
|
+
function appendDescription($this, _this__u8e3s4, displayString) {
|
|
349
|
+
if (!($this.p21_1 == null)) {
|
|
350
|
+
_this__u8e3s4.i8(' tagged "' + toString($this.p21_1) + '"');
|
|
357
351
|
}
|
|
358
|
-
if (!equals($this.
|
|
359
|
-
_this__u8e3s4.
|
|
352
|
+
if (!equals($this.m21_1, Companion_getInstance().q20_1)) {
|
|
353
|
+
_this__u8e3s4.i8(' on context ' + displayString($this.m21_1));
|
|
360
354
|
}
|
|
361
|
-
if (!equals($this.
|
|
362
|
-
_this__u8e3s4.
|
|
355
|
+
if (!equals($this.n21_1, Companion_getInstance().p20_1)) {
|
|
356
|
+
_this__u8e3s4.i8(', with argument ' + displayString($this.n21_1));
|
|
363
357
|
}
|
|
364
358
|
}
|
|
365
359
|
function TypeToken$simpleDispString$ref() {
|
|
366
360
|
var l = function (p0) {
|
|
367
|
-
return p0.
|
|
361
|
+
return p0.r20();
|
|
368
362
|
};
|
|
369
363
|
l.callableName = 'simpleDispString';
|
|
370
364
|
return l;
|
|
371
365
|
}
|
|
372
366
|
function TypeToken$qualifiedDispString$ref() {
|
|
373
367
|
var l = function (p0) {
|
|
374
|
-
return p0.
|
|
368
|
+
return p0.t20();
|
|
375
369
|
};
|
|
376
370
|
l.callableName = 'qualifiedDispString';
|
|
377
371
|
return l;
|
|
@@ -380,7 +374,7 @@
|
|
|
380
374
|
allowSilentOverride = allowSilentOverride === VOID ? false : allowSilentOverride;
|
|
381
375
|
prefix = prefix === VOID ? '' : prefix;
|
|
382
376
|
Module.call($this, allowSilentOverride, prefix, init);
|
|
383
|
-
$this.
|
|
377
|
+
$this.y21_1 = name;
|
|
384
378
|
return $this;
|
|
385
379
|
}
|
|
386
380
|
function Module_init_$Create$(name, allowSilentOverride, prefix, init) {
|
|
@@ -393,95 +387,83 @@
|
|
|
393
387
|
function NotFoundException(key, message) {
|
|
394
388
|
RuntimeException_init_$Init$(message, this);
|
|
395
389
|
captureStack(this, NotFoundException);
|
|
396
|
-
this.
|
|
390
|
+
this.z21_1 = key;
|
|
397
391
|
}
|
|
398
392
|
function OverridingException(message) {
|
|
399
393
|
RuntimeException_init_$Init$(message, this);
|
|
400
394
|
captureStack(this, OverridingException);
|
|
401
395
|
}
|
|
402
396
|
function Key(contextType, argType, type, tag) {
|
|
403
|
-
this.
|
|
404
|
-
this.
|
|
405
|
-
this.
|
|
406
|
-
this.
|
|
407
|
-
this.
|
|
397
|
+
this.m21_1 = contextType;
|
|
398
|
+
this.n21_1 = argType;
|
|
399
|
+
this.o21_1 = type;
|
|
400
|
+
this.p21_1 = tag;
|
|
401
|
+
this.q21_1 = 0;
|
|
408
402
|
}
|
|
409
403
|
protoOf(Key).hashCode = function () {
|
|
410
|
-
if (this.
|
|
411
|
-
this.
|
|
412
|
-
this.
|
|
413
|
-
this.
|
|
404
|
+
if (this.q21_1 === 0) {
|
|
405
|
+
this.q21_1 = hashCode(this.m21_1);
|
|
406
|
+
this.q21_1 = imul(31, this.q21_1) + hashCode(this.n21_1) | 0;
|
|
407
|
+
this.q21_1 = imul(29, hashCode(this.o21_1));
|
|
414
408
|
var tmp = this;
|
|
415
|
-
var tmp_0 = imul(23, this.
|
|
416
|
-
var
|
|
417
|
-
var
|
|
418
|
-
tmp.
|
|
409
|
+
var tmp_0 = imul(23, this.q21_1);
|
|
410
|
+
var tmp0_safe_receiver = this.p21_1;
|
|
411
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
412
|
+
tmp.q21_1 = tmp_0 + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
419
413
|
}
|
|
420
|
-
return this.
|
|
414
|
+
return this.q21_1;
|
|
421
415
|
};
|
|
422
416
|
protoOf(Key).toString = function () {
|
|
423
|
-
return this.
|
|
417
|
+
return this.s21();
|
|
424
418
|
};
|
|
425
|
-
protoOf(Key).
|
|
419
|
+
protoOf(Key).r21 = function () {
|
|
426
420
|
// Inline function 'kotlin.text.buildString' call
|
|
427
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
428
421
|
// Inline function 'kotlin.apply' call
|
|
429
422
|
var this_0 = StringBuilder_init_$Create$();
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
if (!(this.f1z_1 == null)) {
|
|
434
|
-
this_0.f8('(tag = "' + toString(this.f1z_1) + '")');
|
|
423
|
+
this_0.i8('bind<' + this.o21_1.r20() + '>');
|
|
424
|
+
if (!(this.p21_1 == null)) {
|
|
425
|
+
this_0.i8('(tag = "' + toString(this.p21_1) + '")');
|
|
435
426
|
}
|
|
436
427
|
return this_0.toString();
|
|
437
428
|
};
|
|
438
|
-
protoOf(Key).
|
|
429
|
+
protoOf(Key).t21 = function () {
|
|
439
430
|
// Inline function 'kotlin.text.buildString' call
|
|
440
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
441
431
|
// Inline function 'kotlin.apply' call
|
|
442
432
|
var this_0 = StringBuilder_init_$Create$();
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
if (!(this.f1z_1 == null)) {
|
|
447
|
-
this_0.f8('(tag = "' + toString(this.f1z_1) + '")');
|
|
433
|
+
this_0.i8('bind<' + this.o21_1.t20() + '>');
|
|
434
|
+
if (!(this.p21_1 == null)) {
|
|
435
|
+
this_0.i8('(tag = "' + toString(this.p21_1) + '")');
|
|
448
436
|
}
|
|
449
437
|
return this_0.toString();
|
|
450
438
|
};
|
|
451
|
-
protoOf(Key).
|
|
439
|
+
protoOf(Key).s21 = function () {
|
|
452
440
|
// Inline function 'kotlin.text.buildString' call
|
|
453
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
454
441
|
// Inline function 'kotlin.apply' call
|
|
455
442
|
var this_0 = StringBuilder_init_$Create$();
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
this_0.f8(this.e1z_1.h1y());
|
|
459
|
-
appendDescription(this_0, this, TypeToken$simpleDispString$ref());
|
|
443
|
+
this_0.i8(this.o21_1.r20());
|
|
444
|
+
appendDescription(this, this_0, TypeToken$simpleDispString$ref());
|
|
460
445
|
return this_0.toString();
|
|
461
446
|
};
|
|
462
|
-
protoOf(Key).
|
|
463
|
-
return '(context: ' + this.
|
|
447
|
+
protoOf(Key).a22 = function () {
|
|
448
|
+
return '(context: ' + this.m21_1.r20() + ', arg: ' + this.n21_1.r20() + ', type: ' + this.o21_1.r20() + ', tag: ' + toString(this.p21_1) + ')';
|
|
464
449
|
};
|
|
465
|
-
protoOf(Key).
|
|
450
|
+
protoOf(Key).u21 = function () {
|
|
466
451
|
// Inline function 'kotlin.text.buildString' call
|
|
467
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
468
452
|
// Inline function 'kotlin.apply' call
|
|
469
453
|
var this_0 = StringBuilder_init_$Create$();
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
this_0.f8(this.e1z_1.j1y());
|
|
473
|
-
appendDescription(this_0, this, TypeToken$qualifiedDispString$ref());
|
|
454
|
+
this_0.i8(this.o21_1.t20());
|
|
455
|
+
appendDescription(this, this_0, TypeToken$qualifiedDispString$ref());
|
|
474
456
|
return this_0.toString();
|
|
475
457
|
};
|
|
476
|
-
protoOf(Key).
|
|
458
|
+
protoOf(Key).b22 = function (contextType, argType, type, tag) {
|
|
477
459
|
return new Key(contextType, argType, type, tag);
|
|
478
460
|
};
|
|
479
|
-
protoOf(Key).
|
|
480
|
-
contextType = contextType === VOID ? this.
|
|
481
|
-
argType = argType === VOID ? this.
|
|
482
|
-
type = type === VOID ? this.
|
|
483
|
-
tag = tag === VOID ? this.
|
|
484
|
-
return $super === VOID ? this.
|
|
461
|
+
protoOf(Key).c22 = function (contextType, argType, type, tag, $super) {
|
|
462
|
+
contextType = contextType === VOID ? this.m21_1 : contextType;
|
|
463
|
+
argType = argType === VOID ? this.n21_1 : argType;
|
|
464
|
+
type = type === VOID ? this.o21_1 : type;
|
|
465
|
+
tag = tag === VOID ? this.p21_1 : tag;
|
|
466
|
+
return $super === VOID ? this.b22(contextType, argType, type, tag) : $super.b22.call(this, contextType, argType, type, tag);
|
|
485
467
|
};
|
|
486
468
|
protoOf(Key).equals = function (other) {
|
|
487
469
|
if (this === other)
|
|
@@ -489,13 +471,13 @@
|
|
|
489
471
|
if (!(other instanceof Key))
|
|
490
472
|
return false;
|
|
491
473
|
var tmp0_other_with_cast = other instanceof Key ? other : THROW_CCE();
|
|
492
|
-
if (!equals(this.
|
|
474
|
+
if (!equals(this.m21_1, tmp0_other_with_cast.m21_1))
|
|
493
475
|
return false;
|
|
494
|
-
if (!equals(this.
|
|
476
|
+
if (!equals(this.n21_1, tmp0_other_with_cast.n21_1))
|
|
495
477
|
return false;
|
|
496
|
-
if (!equals(this.
|
|
478
|
+
if (!equals(this.o21_1, tmp0_other_with_cast.o21_1))
|
|
497
479
|
return false;
|
|
498
|
-
if (!equals(this.
|
|
480
|
+
if (!equals(this.p21_1, tmp0_other_with_cast.p21_1))
|
|
499
481
|
return false;
|
|
500
482
|
return true;
|
|
501
483
|
};
|
|
@@ -504,13 +486,13 @@
|
|
|
504
486
|
function Module(allowSilentOverride, prefix, init) {
|
|
505
487
|
allowSilentOverride = allowSilentOverride === VOID ? false : allowSilentOverride;
|
|
506
488
|
prefix = prefix === VOID ? '' : prefix;
|
|
507
|
-
this.
|
|
508
|
-
this.
|
|
509
|
-
this.
|
|
510
|
-
this.
|
|
489
|
+
this.v21_1 = allowSilentOverride;
|
|
490
|
+
this.w21_1 = prefix;
|
|
491
|
+
this.x21_1 = init;
|
|
492
|
+
this.y21_1 = null;
|
|
511
493
|
}
|
|
512
494
|
protoOf(Module).k2 = function () {
|
|
513
|
-
var tmp0_elvis_lhs = this.
|
|
495
|
+
var tmp0_elvis_lhs = this.y21_1;
|
|
514
496
|
var tmp;
|
|
515
497
|
if (tmp0_elvis_lhs == null) {
|
|
516
498
|
throw IllegalStateException_init_$Create$('module must have a name.');
|
|
@@ -520,12 +502,12 @@
|
|
|
520
502
|
return tmp;
|
|
521
503
|
};
|
|
522
504
|
protoOf(Module).toString = function () {
|
|
523
|
-
return 'Module(allowSilentOverride=' + this.
|
|
505
|
+
return 'Module(allowSilentOverride=' + this.v21_1 + ', prefix=' + this.w21_1 + ', init=' + toString_0(this.x21_1) + ')';
|
|
524
506
|
};
|
|
525
507
|
protoOf(Module).hashCode = function () {
|
|
526
|
-
var result = getBooleanHashCode(this.
|
|
527
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
528
|
-
result = imul(result, 31) + hashCode(this.
|
|
508
|
+
var result = getBooleanHashCode(this.v21_1);
|
|
509
|
+
result = imul(result, 31) + getStringHashCode(this.w21_1) | 0;
|
|
510
|
+
result = imul(result, 31) + hashCode(this.x21_1) | 0;
|
|
529
511
|
return result;
|
|
530
512
|
};
|
|
531
513
|
protoOf(Module).equals = function (other) {
|
|
@@ -534,24 +516,24 @@
|
|
|
534
516
|
if (!(other instanceof Module))
|
|
535
517
|
return false;
|
|
536
518
|
var tmp0_other_with_cast = other instanceof Module ? other : THROW_CCE();
|
|
537
|
-
if (!(this.
|
|
519
|
+
if (!(this.v21_1 === tmp0_other_with_cast.v21_1))
|
|
538
520
|
return false;
|
|
539
|
-
if (!(this.
|
|
521
|
+
if (!(this.w21_1 === tmp0_other_with_cast.w21_1))
|
|
540
522
|
return false;
|
|
541
|
-
if (!equals(this.
|
|
523
|
+
if (!equals(this.x21_1, tmp0_other_with_cast.x21_1))
|
|
542
524
|
return false;
|
|
543
525
|
return true;
|
|
544
526
|
};
|
|
545
527
|
function Companion() {
|
|
546
|
-
this.
|
|
547
|
-
this.
|
|
528
|
+
this.k22_1 = false;
|
|
529
|
+
this.l22_1 = false;
|
|
548
530
|
}
|
|
549
|
-
protoOf(Companion).
|
|
531
|
+
protoOf(Companion).m22 = function (allowSilentOverride, init) {
|
|
550
532
|
return DIImpl_init_$Create$(allowSilentOverride, init);
|
|
551
533
|
};
|
|
552
|
-
protoOf(Companion).
|
|
534
|
+
protoOf(Companion).n22 = function (allowSilentOverride, init, $super) {
|
|
553
535
|
allowSilentOverride = allowSilentOverride === VOID ? false : allowSilentOverride;
|
|
554
|
-
return $super === VOID ? this.
|
|
536
|
+
return $super === VOID ? this.m22(allowSilentOverride, init) : $super.m22.call(this, allowSilentOverride, init);
|
|
555
537
|
};
|
|
556
538
|
var Companion_instance;
|
|
557
539
|
function Companion_getInstance_0() {
|
|
@@ -563,26 +545,26 @@
|
|
|
563
545
|
}
|
|
564
546
|
function Instance(_this__u8e3s4, type, tag) {
|
|
565
547
|
tag = tag === VOID ? null : tag;
|
|
566
|
-
var tmp = _this__u8e3s4.
|
|
567
|
-
var tmp_0 = _this__u8e3s4.
|
|
548
|
+
var tmp = _this__u8e3s4.r22();
|
|
549
|
+
var tmp_0 = _this__u8e3s4.q22();
|
|
568
550
|
return new DIProperty(tmp, tmp_0, Instance$lambda(_this__u8e3s4, type, tag));
|
|
569
551
|
}
|
|
570
552
|
function Value(type, value) {
|
|
571
|
-
this.
|
|
572
|
-
this.
|
|
553
|
+
this.s22_1 = type;
|
|
554
|
+
this.t22_1 = value;
|
|
573
555
|
}
|
|
574
|
-
protoOf(Value).
|
|
575
|
-
return this.
|
|
556
|
+
protoOf(Value).u22 = function () {
|
|
557
|
+
return this.s22_1;
|
|
576
558
|
};
|
|
577
559
|
protoOf(Value).a2 = function () {
|
|
578
|
-
return this.
|
|
560
|
+
return this.t22_1;
|
|
579
561
|
};
|
|
580
562
|
protoOf(Value).toString = function () {
|
|
581
|
-
return 'Value(type=' + toString_0(this.
|
|
563
|
+
return 'Value(type=' + toString_0(this.s22_1) + ', value=' + toString_0(this.t22_1) + ')';
|
|
582
564
|
};
|
|
583
565
|
protoOf(Value).hashCode = function () {
|
|
584
|
-
var result = hashCode(this.
|
|
585
|
-
result = imul(result, 31) + hashCode(this.
|
|
566
|
+
var result = hashCode(this.s22_1);
|
|
567
|
+
result = imul(result, 31) + hashCode(this.t22_1) | 0;
|
|
586
568
|
return result;
|
|
587
569
|
};
|
|
588
570
|
protoOf(Value).equals = function (other) {
|
|
@@ -591,15 +573,15 @@
|
|
|
591
573
|
if (!(other instanceof Value))
|
|
592
574
|
return false;
|
|
593
575
|
var tmp0_other_with_cast = other instanceof Value ? other : THROW_CCE();
|
|
594
|
-
if (!equals(this.
|
|
576
|
+
if (!equals(this.s22_1, tmp0_other_with_cast.s22_1))
|
|
595
577
|
return false;
|
|
596
|
-
if (!equals(this.
|
|
578
|
+
if (!equals(this.t22_1, tmp0_other_with_cast.t22_1))
|
|
597
579
|
return false;
|
|
598
580
|
return true;
|
|
599
581
|
};
|
|
600
582
|
function Companion_0() {
|
|
601
583
|
}
|
|
602
|
-
protoOf(Companion_0).
|
|
584
|
+
protoOf(Companion_0).v22 = function (type, value) {
|
|
603
585
|
return new Value(type, value);
|
|
604
586
|
};
|
|
605
587
|
var Companion_instance_0;
|
|
@@ -609,11 +591,11 @@
|
|
|
609
591
|
function DIContext() {
|
|
610
592
|
}
|
|
611
593
|
function get_AnyDIContext() {
|
|
612
|
-
return Contexes_getInstance().
|
|
594
|
+
return Contexes_getInstance().w22_1;
|
|
613
595
|
}
|
|
614
596
|
function Contexes() {
|
|
615
597
|
Contexes_instance = this;
|
|
616
|
-
this.
|
|
598
|
+
this.w22_1 = Companion_instance_0.v22(Companion_getInstance().q20_1, new Object());
|
|
617
599
|
}
|
|
618
600
|
var Contexes_instance;
|
|
619
601
|
function Contexes_getInstance() {
|
|
@@ -622,14 +604,14 @@
|
|
|
622
604
|
return Contexes_instance;
|
|
623
605
|
}
|
|
624
606
|
function On(_this__u8e3s4, context, trigger) {
|
|
625
|
-
context = context === VOID ? _this__u8e3s4.
|
|
626
|
-
trigger = trigger === VOID ? _this__u8e3s4.
|
|
607
|
+
context = context === VOID ? _this__u8e3s4.q22() : context;
|
|
608
|
+
trigger = trigger === VOID ? _this__u8e3s4.r22() : trigger;
|
|
627
609
|
return DIWrapper_init_$Create$(_this__u8e3s4, context, trigger);
|
|
628
610
|
}
|
|
629
611
|
function DIWrapper_init_$Init$(base, diContext, trigger, $this) {
|
|
630
|
-
diContext = diContext === VOID ? base.
|
|
631
|
-
trigger = trigger === VOID ? base.
|
|
632
|
-
DIWrapper.call($this, base.
|
|
612
|
+
diContext = diContext === VOID ? base.q22() : diContext;
|
|
613
|
+
trigger = trigger === VOID ? base.r22() : trigger;
|
|
614
|
+
DIWrapper.call($this, base.o22(), diContext, trigger);
|
|
633
615
|
return $this;
|
|
634
616
|
}
|
|
635
617
|
function DIWrapper_init_$Create$(base, diContext, trigger) {
|
|
@@ -637,34 +619,33 @@
|
|
|
637
619
|
}
|
|
638
620
|
function DIWrapper(_base, diContext, diTrigger) {
|
|
639
621
|
diTrigger = diTrigger === VOID ? null : diTrigger;
|
|
640
|
-
this.
|
|
641
|
-
this.
|
|
642
|
-
this.
|
|
622
|
+
this.x22_1 = _base;
|
|
623
|
+
this.y22_1 = diContext;
|
|
624
|
+
this.z22_1 = diTrigger;
|
|
643
625
|
}
|
|
644
|
-
protoOf(DIWrapper).
|
|
645
|
-
return this.
|
|
626
|
+
protoOf(DIWrapper).q22 = function () {
|
|
627
|
+
return this.y22_1;
|
|
646
628
|
};
|
|
647
|
-
protoOf(DIWrapper).
|
|
648
|
-
return this.
|
|
629
|
+
protoOf(DIWrapper).r22 = function () {
|
|
630
|
+
return this.z22_1;
|
|
649
631
|
};
|
|
650
|
-
protoOf(DIWrapper).
|
|
632
|
+
protoOf(DIWrapper).o22 = function () {
|
|
651
633
|
return this;
|
|
652
634
|
};
|
|
653
|
-
protoOf(DIWrapper).
|
|
654
|
-
return this.
|
|
635
|
+
protoOf(DIWrapper).p22 = function () {
|
|
636
|
+
return this.x22_1.p22();
|
|
655
637
|
};
|
|
656
638
|
function Instance$lambda($this_Instance, $type, $tag) {
|
|
657
639
|
return function (ctx, _unused_var__etf5q3) {
|
|
658
|
-
var tmp = $this_Instance.
|
|
640
|
+
var tmp = $this_Instance.o22().p22();
|
|
659
641
|
// Inline function 'org.kodein.di.anyType' call
|
|
660
|
-
var tmp_0 = ctx.
|
|
642
|
+
var tmp_0 = ctx.u22();
|
|
661
643
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
662
|
-
return tmp.
|
|
644
|
+
return tmp.a23(new Key(tmp$ret$0, Companion_getInstance().p20_1, $type, $tag), ctx.a2())();
|
|
663
645
|
};
|
|
664
646
|
}
|
|
665
647
|
function DIContainer$provider$lambda($this) {
|
|
666
648
|
return function () {
|
|
667
|
-
// Inline function 'org.kodein.di.DIContainer.provider.<anonymous>' call
|
|
668
649
|
return $this(Unit_instance);
|
|
669
650
|
};
|
|
670
651
|
}
|
|
@@ -685,60 +666,60 @@
|
|
|
685
666
|
argType = argType === VOID ? null : argType;
|
|
686
667
|
type = type === VOID ? null : type;
|
|
687
668
|
tag = tag === VOID ? NoDefinedTag_instance : tag;
|
|
688
|
-
this.
|
|
689
|
-
this.
|
|
690
|
-
this.
|
|
691
|
-
this.
|
|
669
|
+
this.o23_1 = contextType;
|
|
670
|
+
this.p23_1 = argType;
|
|
671
|
+
this.q23_1 = type;
|
|
672
|
+
this.r23_1 = tag;
|
|
692
673
|
}
|
|
693
674
|
protoOf(SearchSpecs).toString = function () {
|
|
694
675
|
var args = ArrayList_init_$Create$();
|
|
695
|
-
if (!(this.
|
|
676
|
+
if (!(this.o23_1 == null)) {
|
|
677
|
+
var tmp0_safe_receiver = this.o23_1;
|
|
696
678
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
697
|
-
var
|
|
698
|
-
var element = 'contextType=' + (tmp9_safe_receiver == null ? null : tmp9_safe_receiver.h1y());
|
|
679
|
+
var element = 'contextType=' + (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.r20());
|
|
699
680
|
args.e(element);
|
|
700
681
|
}
|
|
701
|
-
if (!(this.
|
|
682
|
+
if (!(this.p23_1 == null)) {
|
|
683
|
+
var tmp1_safe_receiver = this.p23_1;
|
|
702
684
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
703
|
-
var
|
|
704
|
-
var element_0 = 'argType=' + (tmp10_safe_receiver == null ? null : tmp10_safe_receiver.h1y());
|
|
685
|
+
var element_0 = 'argType=' + (tmp1_safe_receiver == null ? null : tmp1_safe_receiver.r20());
|
|
705
686
|
args.e(element_0);
|
|
706
687
|
}
|
|
707
|
-
if (!(this.
|
|
688
|
+
if (!(this.q23_1 == null)) {
|
|
689
|
+
var tmp2_safe_receiver = this.q23_1;
|
|
708
690
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
709
|
-
var
|
|
710
|
-
var element_1 = 'type=' + (tmp11_safe_receiver == null ? null : tmp11_safe_receiver.h1y());
|
|
691
|
+
var element_1 = 'type=' + (tmp2_safe_receiver == null ? null : tmp2_safe_receiver.r20());
|
|
711
692
|
args.e(element_1);
|
|
712
693
|
}
|
|
713
|
-
if (!equals(this.
|
|
694
|
+
if (!equals(this.r23_1, NoDefinedTag_instance)) {
|
|
714
695
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
715
|
-
var element_2 = 'tag=' + toString(this.
|
|
696
|
+
var element_2 = 'tag=' + toString(this.r23_1);
|
|
716
697
|
args.e(element_2);
|
|
717
698
|
}
|
|
718
699
|
return '[' + joinToString(args, ', ') + ']';
|
|
719
700
|
};
|
|
720
701
|
function NoArgBindingDIWrap(_di) {
|
|
721
|
-
this.
|
|
702
|
+
this.s23_1 = _di;
|
|
722
703
|
}
|
|
723
|
-
protoOf(NoArgBindingDIWrap).
|
|
724
|
-
return this.
|
|
704
|
+
protoOf(NoArgBindingDIWrap).k23 = function () {
|
|
705
|
+
return this.s23_1.k23();
|
|
725
706
|
};
|
|
726
|
-
protoOf(NoArgBindingDIWrap).
|
|
727
|
-
return this.
|
|
707
|
+
protoOf(NoArgBindingDIWrap).o22 = function () {
|
|
708
|
+
return this.s23_1.o22();
|
|
728
709
|
};
|
|
729
|
-
protoOf(NoArgBindingDIWrap).
|
|
730
|
-
return this.
|
|
710
|
+
protoOf(NoArgBindingDIWrap).l23 = function (context) {
|
|
711
|
+
return this.s23_1.l23(context);
|
|
731
712
|
};
|
|
732
|
-
protoOf(NoArgBindingDIWrap).
|
|
733
|
-
return this.
|
|
713
|
+
protoOf(NoArgBindingDIWrap).m23 = function (type, tag) {
|
|
714
|
+
return this.s23_1.m23(type, tag);
|
|
734
715
|
};
|
|
735
|
-
protoOf(NoArgBindingDIWrap).
|
|
736
|
-
return this.
|
|
716
|
+
protoOf(NoArgBindingDIWrap).n23 = function () {
|
|
717
|
+
return this.s23_1.n23();
|
|
737
718
|
};
|
|
738
719
|
function ErasedContext() {
|
|
739
720
|
}
|
|
740
|
-
protoOf(ErasedContext).
|
|
741
|
-
return Companion_getInstance().
|
|
721
|
+
protoOf(ErasedContext).u22 = function () {
|
|
722
|
+
return Companion_getInstance().q20_1;
|
|
742
723
|
};
|
|
743
724
|
protoOf(ErasedContext).a2 = function () {
|
|
744
725
|
return ErasedContext_instance;
|
|
@@ -748,11 +729,11 @@
|
|
|
748
729
|
return ErasedContext_instance;
|
|
749
730
|
}
|
|
750
731
|
function DIBinding$Copier$Companion$invoke$1($f) {
|
|
751
|
-
this.
|
|
732
|
+
this.t23_1 = $f;
|
|
752
733
|
}
|
|
753
734
|
function Companion_1() {
|
|
754
735
|
}
|
|
755
|
-
protoOf(Companion_1).
|
|
736
|
+
protoOf(Companion_1).u23 = function (f) {
|
|
756
737
|
return new DIBinding$Copier$Companion$invoke$1(f);
|
|
757
738
|
};
|
|
758
739
|
var Companion_instance_1;
|
|
@@ -770,7 +751,7 @@
|
|
|
770
751
|
}
|
|
771
752
|
function SingletonReference() {
|
|
772
753
|
}
|
|
773
|
-
protoOf(SingletonReference).
|
|
754
|
+
protoOf(SingletonReference).b24 = function (creator) {
|
|
774
755
|
var value = creator();
|
|
775
756
|
return new Reference(value, SingletonReference$make$lambda(value));
|
|
776
757
|
};
|
|
@@ -779,21 +760,21 @@
|
|
|
779
760
|
return SingletonReference_instance;
|
|
780
761
|
}
|
|
781
762
|
function Reference(current, next) {
|
|
782
|
-
this.
|
|
783
|
-
this.
|
|
763
|
+
this.c24_1 = current;
|
|
764
|
+
this.d24_1 = next;
|
|
784
765
|
}
|
|
785
|
-
protoOf(Reference).
|
|
786
|
-
return this.
|
|
766
|
+
protoOf(Reference).nd = function () {
|
|
767
|
+
return this.c24_1;
|
|
787
768
|
};
|
|
788
|
-
protoOf(Reference).
|
|
789
|
-
return this.
|
|
769
|
+
protoOf(Reference).od = function () {
|
|
770
|
+
return this.d24_1;
|
|
790
771
|
};
|
|
791
772
|
protoOf(Reference).toString = function () {
|
|
792
|
-
return 'Reference(current=' + toString_0(this.
|
|
773
|
+
return 'Reference(current=' + toString_0(this.c24_1) + ', next=' + toString_0(this.d24_1) + ')';
|
|
793
774
|
};
|
|
794
775
|
protoOf(Reference).hashCode = function () {
|
|
795
|
-
var result = hashCode(this.
|
|
796
|
-
result = imul(result, 31) + hashCode(this.
|
|
776
|
+
var result = hashCode(this.c24_1);
|
|
777
|
+
result = imul(result, 31) + hashCode(this.d24_1) | 0;
|
|
797
778
|
return result;
|
|
798
779
|
};
|
|
799
780
|
protoOf(Reference).equals = function (other) {
|
|
@@ -802,9 +783,9 @@
|
|
|
802
783
|
if (!(other instanceof Reference))
|
|
803
784
|
return false;
|
|
804
785
|
var tmp0_other_with_cast = other instanceof Reference ? other : THROW_CCE();
|
|
805
|
-
if (!equals(this.
|
|
786
|
+
if (!equals(this.c24_1, tmp0_other_with_cast.c24_1))
|
|
806
787
|
return false;
|
|
807
|
-
if (!equals(this.
|
|
788
|
+
if (!equals(this.d24_1, tmp0_other_with_cast.d24_1))
|
|
808
789
|
return false;
|
|
809
790
|
return true;
|
|
810
791
|
};
|
|
@@ -813,127 +794,138 @@
|
|
|
813
794
|
function ScopeRegistry() {
|
|
814
795
|
}
|
|
815
796
|
function NoScope() {
|
|
816
|
-
this.
|
|
797
|
+
this.h24_1 = new StandardScopeRegistry();
|
|
817
798
|
}
|
|
818
|
-
protoOf(NoScope).
|
|
819
|
-
return this.
|
|
799
|
+
protoOf(NoScope).i24 = function (context) {
|
|
800
|
+
return this.h24_1;
|
|
820
801
|
};
|
|
821
|
-
protoOf(NoScope).
|
|
822
|
-
return this.
|
|
802
|
+
protoOf(NoScope).j24 = function (context) {
|
|
803
|
+
return this.i24((context == null ? true : !(context == null)) ? context : THROW_CCE());
|
|
823
804
|
};
|
|
824
805
|
function StandardScopeRegistry() {
|
|
825
806
|
ScopeRegistry.call(this);
|
|
826
|
-
this.
|
|
827
|
-
this.
|
|
807
|
+
this.k24_1 = newConcurrentMap();
|
|
808
|
+
this.l24_1 = new Object();
|
|
828
809
|
}
|
|
829
|
-
protoOf(StandardScopeRegistry).
|
|
810
|
+
protoOf(StandardScopeRegistry).g24 = function (key, sync, creator) {
|
|
811
|
+
var tmp0 = sync ? this.l24_1 : null;
|
|
830
812
|
var tmp$ret$2;
|
|
831
|
-
$l$
|
|
813
|
+
$l$block_3: {
|
|
832
814
|
// Inline function 'org.kodein.di.internal.synchronizedIfNull' call
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
var tmp60_safe_receiver = tmp16_safe_receiver == null ? null : tmp16_safe_receiver();
|
|
837
|
-
if (tmp60_safe_receiver == null)
|
|
815
|
+
var tmp0_safe_receiver = this.k24_1.d2(key);
|
|
816
|
+
var tmp0_safe_receiver_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver();
|
|
817
|
+
if (tmp0_safe_receiver_0 == null)
|
|
838
818
|
null;
|
|
839
819
|
else {
|
|
840
820
|
// Inline function 'kotlin.let' call
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
tmp$ret$2 = tmp60_safe_receiver;
|
|
844
|
-
break $l$block_1;
|
|
821
|
+
tmp$ret$2 = tmp0_safe_receiver_0;
|
|
822
|
+
break $l$block_3;
|
|
845
823
|
}
|
|
846
824
|
// Inline function 'org.kodein.di.internal.maySynchronized' call
|
|
847
|
-
var tmp
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
825
|
+
var tmp;
|
|
826
|
+
if (tmp0 == null) {
|
|
827
|
+
var tmp$ret$5;
|
|
828
|
+
$l$block_0: {
|
|
829
|
+
var tmp0_safe_receiver_1 = this.k24_1.d2(key);
|
|
830
|
+
var tmp0_safe_receiver_2 = tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1();
|
|
831
|
+
if (tmp0_safe_receiver_2 == null)
|
|
832
|
+
null;
|
|
833
|
+
else {
|
|
834
|
+
// Inline function 'kotlin.let' call
|
|
835
|
+
tmp$ret$5 = tmp0_safe_receiver_2;
|
|
836
|
+
break $l$block_0;
|
|
837
|
+
}
|
|
838
|
+
var _destruct__k2r9zo = creator();
|
|
839
|
+
var current = _destruct__k2r9zo.nd();
|
|
840
|
+
var next = _destruct__k2r9zo.od();
|
|
841
|
+
// Inline function 'kotlin.collections.set' call
|
|
842
|
+
this.k24_1.g2(key, next);
|
|
843
|
+
tmp$ret$2 = current;
|
|
844
|
+
break $l$block_3;
|
|
860
845
|
}
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
var
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
846
|
+
tmp = tmp$ret$5;
|
|
847
|
+
} else {
|
|
848
|
+
// Inline function 'kotlinx.atomicfu.locks.synchronized' call
|
|
849
|
+
var tmp$ret$10;
|
|
850
|
+
$l$block_2: {
|
|
851
|
+
var tmp0_safe_receiver_3 = this.k24_1.d2(key);
|
|
852
|
+
var tmp0_safe_receiver_4 = tmp0_safe_receiver_3 == null ? null : tmp0_safe_receiver_3();
|
|
853
|
+
if (tmp0_safe_receiver_4 == null)
|
|
854
|
+
null;
|
|
855
|
+
else {
|
|
856
|
+
// Inline function 'kotlin.let' call
|
|
857
|
+
tmp$ret$10 = tmp0_safe_receiver_4;
|
|
858
|
+
break $l$block_2;
|
|
859
|
+
}
|
|
860
|
+
var _destruct__k2r9zo_0 = creator();
|
|
861
|
+
var current_0 = _destruct__k2r9zo_0.nd();
|
|
862
|
+
var next_0 = _destruct__k2r9zo_0.od();
|
|
863
|
+
// Inline function 'kotlin.collections.set' call
|
|
864
|
+
this.k24_1.g2(key, next_0);
|
|
865
|
+
tmp$ret$2 = current_0;
|
|
866
|
+
break $l$block_3;
|
|
867
|
+
}
|
|
868
|
+
tmp = tmp$ret$10;
|
|
869
869
|
}
|
|
870
|
-
var value = tmp
|
|
871
|
-
// Inline function 'org.kodein.di.bindings.StandardScopeRegistry.getOrCreate.<anonymous>' call
|
|
870
|
+
var value = tmp;
|
|
872
871
|
tmp$ret$2 = value;
|
|
873
872
|
}
|
|
874
873
|
return tmp$ret$2;
|
|
875
874
|
};
|
|
876
875
|
function toKContext(_this__u8e3s4, di, ctx) {
|
|
877
|
-
var
|
|
876
|
+
var tmp0_safe_receiver = _this__u8e3s4.f24(di, ctx);
|
|
878
877
|
var tmp;
|
|
879
|
-
if (
|
|
878
|
+
if (tmp0_safe_receiver == null) {
|
|
880
879
|
tmp = null;
|
|
881
880
|
} else {
|
|
882
881
|
// Inline function 'kotlin.let' call
|
|
883
|
-
|
|
884
|
-
// Inline function 'org.kodein.di.bindings.toKContext.<anonymous>' call
|
|
885
|
-
tmp = Companion_instance_0.l20(_this__u8e3s4.u21(), tmp30_safe_receiver);
|
|
882
|
+
tmp = Companion_instance_0.v22(_this__u8e3s4.e24(), tmp0_safe_receiver);
|
|
886
883
|
}
|
|
887
884
|
return tmp;
|
|
888
885
|
}
|
|
889
886
|
function CompositeContextTranslator(src, dst) {
|
|
890
|
-
this.
|
|
891
|
-
this.
|
|
887
|
+
this.m24_1 = src;
|
|
888
|
+
this.n24_1 = dst;
|
|
892
889
|
}
|
|
893
|
-
protoOf(CompositeContextTranslator).
|
|
894
|
-
return this.
|
|
890
|
+
protoOf(CompositeContextTranslator).h22 = function () {
|
|
891
|
+
return this.m24_1.h22();
|
|
895
892
|
};
|
|
896
|
-
protoOf(CompositeContextTranslator).
|
|
897
|
-
return this.
|
|
893
|
+
protoOf(CompositeContextTranslator).e24 = function () {
|
|
894
|
+
return this.n24_1.e24();
|
|
898
895
|
};
|
|
899
|
-
protoOf(CompositeContextTranslator).
|
|
900
|
-
var
|
|
896
|
+
protoOf(CompositeContextTranslator).f24 = function (di, ctx) {
|
|
897
|
+
var tmp0_safe_receiver = this.m24_1.f24(di, ctx);
|
|
901
898
|
var tmp;
|
|
902
|
-
if (
|
|
899
|
+
if (tmp0_safe_receiver == null) {
|
|
903
900
|
tmp = null;
|
|
904
901
|
} else {
|
|
905
902
|
// Inline function 'kotlin.let' call
|
|
906
|
-
|
|
907
|
-
// Inline function 'org.kodein.di.bindings.CompositeContextTranslator.translate.<anonymous>' call
|
|
908
|
-
tmp = this.d22_1.v21(di, tmp31_safe_receiver);
|
|
903
|
+
tmp = this.n24_1.f24(di, tmp0_safe_receiver);
|
|
909
904
|
}
|
|
910
905
|
return tmp;
|
|
911
906
|
};
|
|
912
907
|
protoOf(CompositeContextTranslator).toString = function () {
|
|
913
|
-
return '(' + toString_0(this.
|
|
908
|
+
return '(' + toString_0(this.m24_1) + ' -> ' + toString_0(this.n24_1) + ')';
|
|
914
909
|
};
|
|
915
910
|
function factoryName($this, params) {
|
|
916
911
|
// Inline function 'kotlin.text.buildString' call
|
|
917
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
918
912
|
// Inline function 'kotlin.apply' call
|
|
919
913
|
var this_0 = StringBuilder_init_$Create$();
|
|
920
|
-
|
|
921
|
-
// Inline function 'org.kodein.di.bindings.Singleton.factoryName.<anonymous>' call
|
|
922
|
-
this_0.f8('singleton');
|
|
914
|
+
this_0.i8('singleton');
|
|
923
915
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
924
916
|
if (!params.p()) {
|
|
925
|
-
this_0.
|
|
917
|
+
this_0.i8(joinToString(params, ', ', '(', ')'));
|
|
926
918
|
}
|
|
927
919
|
return this_0.toString();
|
|
928
920
|
}
|
|
929
921
|
function Singleton$getFactory$lambda$lambda$lambda(this$0, $bindingDi) {
|
|
930
922
|
return function () {
|
|
931
|
-
return this$0.
|
|
923
|
+
return this$0.t24_1(new NoArgBindingDIWrap($bindingDi));
|
|
932
924
|
};
|
|
933
925
|
}
|
|
934
926
|
function Singleton$getFactory$lambda$lambda(this$0, $bindingDi) {
|
|
935
927
|
return function () {
|
|
936
|
-
return this$0.
|
|
928
|
+
return this$0.u24_1.b24(Singleton$getFactory$lambda$lambda$lambda(this$0, $bindingDi));
|
|
937
929
|
};
|
|
938
930
|
}
|
|
939
931
|
function Singleton$getFactory$lambda($lateInitRegistry, this$0, $bindingDi) {
|
|
@@ -942,106 +934,104 @@
|
|
|
942
934
|
var tmp;
|
|
943
935
|
if (tmp0_elvis_lhs == null) {
|
|
944
936
|
// Inline function 'kotlin.also' call
|
|
945
|
-
var this_0 = this$0.
|
|
946
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
947
|
-
// Inline function 'org.kodein.di.bindings.Singleton.getFactory.<anonymous>.<anonymous>' call
|
|
937
|
+
var this_0 = this$0.o24_1.j24($bindingDi.w8());
|
|
948
938
|
$lateInitRegistry._v = this_0;
|
|
949
939
|
tmp = this_0;
|
|
950
940
|
} else {
|
|
951
941
|
tmp = tmp0_elvis_lhs;
|
|
952
942
|
}
|
|
953
943
|
var registry = tmp;
|
|
954
|
-
var tmp_0 = registry.
|
|
944
|
+
var tmp_0 = registry.g24(this$0.v24_1, this$0.s24_1, Singleton$getFactory$lambda$lambda(this$0, $bindingDi));
|
|
955
945
|
return !(tmp_0 == null) ? tmp_0 : THROW_CCE();
|
|
956
946
|
};
|
|
957
947
|
}
|
|
958
948
|
function Singleton$copier$lambda(this$0) {
|
|
959
949
|
return function (it) {
|
|
960
|
-
return new Singleton(this$0.
|
|
950
|
+
return new Singleton(this$0.o24_1, this$0.p24_1, this$0.q24_1, this$0.r24_1, this$0.u24_1, this$0.s24_1, this$0.t24_1);
|
|
961
951
|
};
|
|
962
952
|
}
|
|
963
953
|
function Singleton(scope, contextType, explicitContext, createdType, refMaker, sync, creator) {
|
|
964
954
|
refMaker = refMaker === VOID ? null : refMaker;
|
|
965
955
|
sync = sync === VOID ? true : sync;
|
|
966
|
-
this.
|
|
967
|
-
this.
|
|
968
|
-
this.
|
|
969
|
-
this.
|
|
970
|
-
this.
|
|
971
|
-
this.
|
|
956
|
+
this.o24_1 = scope;
|
|
957
|
+
this.p24_1 = contextType;
|
|
958
|
+
this.q24_1 = explicitContext;
|
|
959
|
+
this.r24_1 = createdType;
|
|
960
|
+
this.s24_1 = sync;
|
|
961
|
+
this.t24_1 = creator;
|
|
972
962
|
var tmp = this;
|
|
973
|
-
tmp.
|
|
974
|
-
this.
|
|
963
|
+
tmp.u24_1 = refMaker == null ? SingletonReference_instance : refMaker;
|
|
964
|
+
this.v24_1 = new ScopeKey(new Object(), Unit_instance);
|
|
975
965
|
var tmp_0 = this;
|
|
976
966
|
var tmp_1 = Companion_instance_1;
|
|
977
|
-
tmp_0.
|
|
967
|
+
tmp_0.w24_1 = tmp_1.u23(Singleton$copier$lambda(this));
|
|
978
968
|
}
|
|
979
|
-
protoOf(Singleton).
|
|
980
|
-
return this.
|
|
969
|
+
protoOf(Singleton).j22 = function () {
|
|
970
|
+
return this.o24_1;
|
|
981
971
|
};
|
|
982
|
-
protoOf(Singleton).
|
|
983
|
-
return this.
|
|
972
|
+
protoOf(Singleton).h22 = function () {
|
|
973
|
+
return this.p24_1;
|
|
984
974
|
};
|
|
985
|
-
protoOf(Singleton).
|
|
986
|
-
return this.
|
|
975
|
+
protoOf(Singleton).y23 = function () {
|
|
976
|
+
return this.r24_1;
|
|
987
977
|
};
|
|
988
|
-
protoOf(Singleton).
|
|
978
|
+
protoOf(Singleton).v23 = function () {
|
|
989
979
|
var params = ArrayList_init_$Create$_0(2);
|
|
990
|
-
if (!equals(this.
|
|
991
|
-
params.e('ref = ' + erasedOf(this.
|
|
980
|
+
if (!equals(this.u24_1, SingletonReference_instance)) {
|
|
981
|
+
params.e('ref = ' + erasedOf(this.u24_1).r20());
|
|
992
982
|
}
|
|
993
983
|
return factoryName(this, params);
|
|
994
984
|
};
|
|
995
|
-
protoOf(Singleton).
|
|
985
|
+
protoOf(Singleton).w23 = function () {
|
|
996
986
|
var params = ArrayList_init_$Create$_0(2);
|
|
997
|
-
if (!equals(this.
|
|
998
|
-
params.e('ref = ' + erasedOf(this.
|
|
987
|
+
if (!equals(this.u24_1, SingletonReference_instance)) {
|
|
988
|
+
params.e('ref = ' + erasedOf(this.u24_1).t20());
|
|
999
989
|
}
|
|
1000
990
|
return factoryName(this, params);
|
|
1001
991
|
};
|
|
1002
|
-
protoOf(Singleton).
|
|
992
|
+
protoOf(Singleton).x24 = function (key, di) {
|
|
1003
993
|
var lateInitRegistry = {_v: null};
|
|
1004
|
-
var bindingDi = this.
|
|
994
|
+
var bindingDi = this.q24_1 ? di : di.y24();
|
|
1005
995
|
return Singleton$getFactory$lambda(lateInitRegistry, this, bindingDi);
|
|
1006
996
|
};
|
|
1007
|
-
protoOf(Singleton).
|
|
1008
|
-
return this.
|
|
997
|
+
protoOf(Singleton).a24 = function (key, di) {
|
|
998
|
+
return this.x24(key, di);
|
|
1009
999
|
};
|
|
1010
1000
|
function Provider$getFactory$lambda(this$0, $di) {
|
|
1011
1001
|
return function (_unused_var__etf5q3) {
|
|
1012
|
-
return this$0.
|
|
1002
|
+
return this$0.b25_1(new NoArgBindingDIWrap($di));
|
|
1013
1003
|
};
|
|
1014
1004
|
}
|
|
1015
1005
|
function Provider(contextType, createdType, creator) {
|
|
1016
|
-
this.
|
|
1017
|
-
this.
|
|
1018
|
-
this.
|
|
1006
|
+
this.z24_1 = contextType;
|
|
1007
|
+
this.a25_1 = createdType;
|
|
1008
|
+
this.b25_1 = creator;
|
|
1019
1009
|
}
|
|
1020
|
-
protoOf(Provider).
|
|
1021
|
-
return this.
|
|
1010
|
+
protoOf(Provider).h22 = function () {
|
|
1011
|
+
return this.z24_1;
|
|
1022
1012
|
};
|
|
1023
|
-
protoOf(Provider).
|
|
1024
|
-
return this.
|
|
1013
|
+
protoOf(Provider).y23 = function () {
|
|
1014
|
+
return this.a25_1;
|
|
1025
1015
|
};
|
|
1026
|
-
protoOf(Provider).
|
|
1016
|
+
protoOf(Provider).v23 = function () {
|
|
1027
1017
|
return 'provider';
|
|
1028
1018
|
};
|
|
1029
|
-
protoOf(Provider).
|
|
1019
|
+
protoOf(Provider).x24 = function (key, di) {
|
|
1030
1020
|
return Provider$getFactory$lambda(this, di);
|
|
1031
1021
|
};
|
|
1032
|
-
protoOf(Provider).
|
|
1033
|
-
return this.
|
|
1022
|
+
protoOf(Provider).a24 = function (key, di) {
|
|
1023
|
+
return this.x24(key, di);
|
|
1034
1024
|
};
|
|
1035
1025
|
function ScopeKey(scopeId, arg) {
|
|
1036
|
-
this.
|
|
1037
|
-
this.
|
|
1026
|
+
this.c25_1 = scopeId;
|
|
1027
|
+
this.d25_1 = arg;
|
|
1038
1028
|
}
|
|
1039
1029
|
protoOf(ScopeKey).toString = function () {
|
|
1040
|
-
return 'ScopeKey(scopeId=' + toString_0(this.
|
|
1030
|
+
return 'ScopeKey(scopeId=' + toString_0(this.c25_1) + ', arg=' + toString(this.d25_1) + ')';
|
|
1041
1031
|
};
|
|
1042
1032
|
protoOf(ScopeKey).hashCode = function () {
|
|
1043
|
-
var result = hashCode(this.
|
|
1044
|
-
result = imul(result, 31) + (this.
|
|
1033
|
+
var result = hashCode(this.c25_1);
|
|
1034
|
+
result = imul(result, 31) + (this.d25_1 == null ? 0 : hashCode(this.d25_1)) | 0;
|
|
1045
1035
|
return result;
|
|
1046
1036
|
};
|
|
1047
1037
|
protoOf(ScopeKey).equals = function (other) {
|
|
@@ -1050,67 +1040,67 @@
|
|
|
1050
1040
|
if (!(other instanceof ScopeKey))
|
|
1051
1041
|
return false;
|
|
1052
1042
|
var tmp0_other_with_cast = other instanceof ScopeKey ? other : THROW_CCE();
|
|
1053
|
-
if (!equals(this.
|
|
1043
|
+
if (!equals(this.c25_1, tmp0_other_with_cast.c25_1))
|
|
1054
1044
|
return false;
|
|
1055
|
-
if (!equals(this.
|
|
1045
|
+
if (!equals(this.d25_1, tmp0_other_with_cast.d25_1))
|
|
1056
1046
|
return false;
|
|
1057
1047
|
return true;
|
|
1058
1048
|
};
|
|
1059
1049
|
function DIMainBuilderImpl(allowSilentOverride) {
|
|
1060
1050
|
DIBuilderImpl.call(this, null, '', HashSet_init_$Create$(), new DIContainerBuilderImpl(true, allowSilentOverride, HashMap_init_$Create$(), ArrayList_init_$Create$(), ArrayList_init_$Create$()));
|
|
1061
|
-
this.
|
|
1062
|
-
this.
|
|
1063
|
-
this.
|
|
1051
|
+
this.j25_1 = ArrayList_init_$Create$();
|
|
1052
|
+
this.k25_1 = Companion_instance.k22_1;
|
|
1053
|
+
this.l25_1 = Companion_instance.l22_1;
|
|
1064
1054
|
}
|
|
1065
|
-
protoOf(DIMainBuilderImpl).
|
|
1066
|
-
return this.
|
|
1055
|
+
protoOf(DIMainBuilderImpl).f23 = function () {
|
|
1056
|
+
return this.j25_1;
|
|
1067
1057
|
};
|
|
1068
|
-
protoOf(DIMainBuilderImpl).
|
|
1069
|
-
return this.
|
|
1058
|
+
protoOf(DIMainBuilderImpl).m25 = function () {
|
|
1059
|
+
return this.k25_1;
|
|
1070
1060
|
};
|
|
1071
|
-
protoOf(DIMainBuilderImpl).
|
|
1072
|
-
return this.
|
|
1061
|
+
protoOf(DIMainBuilderImpl).n25 = function () {
|
|
1062
|
+
return this.l25_1;
|
|
1073
1063
|
};
|
|
1074
1064
|
function TypeBinder($outer, type, tag, overrides) {
|
|
1075
|
-
this.
|
|
1076
|
-
this.
|
|
1077
|
-
this.
|
|
1078
|
-
this.
|
|
1065
|
+
this.w25_1 = $outer;
|
|
1066
|
+
this.t25_1 = type;
|
|
1067
|
+
this.u25_1 = tag;
|
|
1068
|
+
this.v25_1 = overrides;
|
|
1079
1069
|
}
|
|
1080
|
-
protoOf(TypeBinder).
|
|
1081
|
-
return this.
|
|
1070
|
+
protoOf(TypeBinder).x25 = function () {
|
|
1071
|
+
return this.w25_1.d22();
|
|
1082
1072
|
};
|
|
1083
|
-
protoOf(TypeBinder).
|
|
1084
|
-
return this.
|
|
1073
|
+
protoOf(TypeBinder).y25 = function (binding) {
|
|
1074
|
+
return this.x25().d26(new Key(binding.h22(), binding.x23(), this.t25_1, this.u25_1), binding, this.w25_1.o25_1, this.v25_1);
|
|
1085
1075
|
};
|
|
1086
1076
|
function DIBuilderImpl(moduleName, prefix, importedModules, containerBuilder) {
|
|
1087
|
-
this.
|
|
1088
|
-
this.
|
|
1089
|
-
this.
|
|
1090
|
-
this.
|
|
1091
|
-
this.
|
|
1077
|
+
this.o25_1 = moduleName;
|
|
1078
|
+
this.p25_1 = prefix;
|
|
1079
|
+
this.q25_1 = importedModules;
|
|
1080
|
+
this.r25_1 = containerBuilder;
|
|
1081
|
+
this.s25_1 = Companion_getInstance().q20_1;
|
|
1092
1082
|
}
|
|
1093
|
-
protoOf(DIBuilderImpl).
|
|
1094
|
-
return this.
|
|
1083
|
+
protoOf(DIBuilderImpl).d22 = function () {
|
|
1084
|
+
return this.r25_1;
|
|
1095
1085
|
};
|
|
1096
|
-
protoOf(DIBuilderImpl).
|
|
1097
|
-
return this.
|
|
1086
|
+
protoOf(DIBuilderImpl).h22 = function () {
|
|
1087
|
+
return this.s25_1;
|
|
1098
1088
|
};
|
|
1099
|
-
protoOf(DIBuilderImpl).
|
|
1089
|
+
protoOf(DIBuilderImpl).j22 = function () {
|
|
1100
1090
|
return new NoScope();
|
|
1101
1091
|
};
|
|
1102
|
-
protoOf(DIBuilderImpl).
|
|
1092
|
+
protoOf(DIBuilderImpl).i22 = function () {
|
|
1103
1093
|
return false;
|
|
1104
1094
|
};
|
|
1105
|
-
protoOf(DIBuilderImpl).
|
|
1095
|
+
protoOf(DIBuilderImpl).e22 = function (type, tag, overrides) {
|
|
1106
1096
|
return new TypeBinder(this, type, tag, overrides);
|
|
1107
1097
|
};
|
|
1108
|
-
protoOf(DIBuilderImpl).
|
|
1109
|
-
var moduleName = this.
|
|
1098
|
+
protoOf(DIBuilderImpl).f22 = function (module_0, allowOverride) {
|
|
1099
|
+
var moduleName = this.p25_1 + module_0.k2();
|
|
1110
1100
|
var tmp;
|
|
1111
1101
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
1112
1102
|
if (charSequenceLength(moduleName) > 0) {
|
|
1113
|
-
tmp = this.
|
|
1103
|
+
tmp = this.q25_1.q1(moduleName);
|
|
1114
1104
|
} else {
|
|
1115
1105
|
tmp = false;
|
|
1116
1106
|
}
|
|
@@ -1118,20 +1108,19 @@
|
|
|
1118
1108
|
throw IllegalStateException_init_$Create$('Module "' + moduleName + '" has already been imported!');
|
|
1119
1109
|
}
|
|
1120
1110
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1121
|
-
this.
|
|
1111
|
+
this.q25_1.e(moduleName);
|
|
1112
|
+
var tmp0 = new DIBuilderImpl(moduleName, this.p25_1 + module_0.w21_1, this.q25_1, this.d22().e26(allowOverride, module_0.v21_1));
|
|
1122
1113
|
// Inline function 'kotlin.apply' call
|
|
1123
|
-
|
|
1124
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1125
|
-
module_0.n1z_1(this_0);
|
|
1114
|
+
module_0.x21_1(tmp0);
|
|
1126
1115
|
};
|
|
1127
1116
|
function DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT() {
|
|
1128
1117
|
OverrideMode.call(this, 'ALLOW_SILENT', 0);
|
|
1129
1118
|
OverrideMode_ALLOW_SILENT_instance = this;
|
|
1130
1119
|
}
|
|
1131
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT).
|
|
1120
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT).h26 = function () {
|
|
1132
1121
|
return true;
|
|
1133
1122
|
};
|
|
1134
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT).
|
|
1123
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT).i26 = function (overrides) {
|
|
1135
1124
|
return overrides;
|
|
1136
1125
|
};
|
|
1137
1126
|
var OverrideMode_ALLOW_SILENT_instance;
|
|
@@ -1139,10 +1128,10 @@
|
|
|
1139
1128
|
OverrideMode.call(this, 'ALLOW_EXPLICIT', 1);
|
|
1140
1129
|
OverrideMode_ALLOW_EXPLICIT_instance = this;
|
|
1141
1130
|
}
|
|
1142
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT).
|
|
1131
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT).h26 = function () {
|
|
1143
1132
|
return true;
|
|
1144
1133
|
};
|
|
1145
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT).
|
|
1134
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT).i26 = function (overrides) {
|
|
1146
1135
|
return overrides == null ? false : overrides;
|
|
1147
1136
|
};
|
|
1148
1137
|
var OverrideMode_ALLOW_EXPLICIT_instance;
|
|
@@ -1150,10 +1139,10 @@
|
|
|
1150
1139
|
OverrideMode.call(this, 'FORBID', 2);
|
|
1151
1140
|
OverrideMode_FORBID_instance = this;
|
|
1152
1141
|
}
|
|
1153
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$FORBID).
|
|
1142
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$FORBID).h26 = function () {
|
|
1154
1143
|
return false;
|
|
1155
1144
|
};
|
|
1156
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$FORBID).
|
|
1145
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$FORBID).i26 = function (overrides) {
|
|
1157
1146
|
var tmp;
|
|
1158
1147
|
if (!(overrides == null) && overrides) {
|
|
1159
1148
|
throw new OverridingException('Overriding has been forbidden');
|
|
@@ -1165,7 +1154,7 @@
|
|
|
1165
1154
|
var OverrideMode_FORBID_instance;
|
|
1166
1155
|
function Companion_2() {
|
|
1167
1156
|
}
|
|
1168
|
-
protoOf(Companion_2).
|
|
1157
|
+
protoOf(Companion_2).n26 = function (allow, silent) {
|
|
1169
1158
|
if (!allow)
|
|
1170
1159
|
return OverrideMode_FORBID_getInstance();
|
|
1171
1160
|
if (silent)
|
|
@@ -1189,13 +1178,13 @@
|
|
|
1189
1178
|
Enum.call(this, name, ordinal);
|
|
1190
1179
|
}
|
|
1191
1180
|
function checkOverrides($this, key, overrides) {
|
|
1192
|
-
var mustOverride = $this.
|
|
1181
|
+
var mustOverride = $this.c26_1.i26(overrides);
|
|
1193
1182
|
if (!(mustOverride == null)) {
|
|
1194
1183
|
var tmp;
|
|
1195
1184
|
if (mustOverride) {
|
|
1196
1185
|
// Inline function 'kotlin.collections.contains' call
|
|
1197
1186
|
// Inline function 'kotlin.collections.containsKey' call
|
|
1198
|
-
var this_0 = $this.
|
|
1187
|
+
var this_0 = $this.z25_1;
|
|
1199
1188
|
tmp = !(isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).b2(key);
|
|
1200
1189
|
} else {
|
|
1201
1190
|
tmp = false;
|
|
@@ -1206,7 +1195,7 @@
|
|
|
1206
1195
|
if (!mustOverride) {
|
|
1207
1196
|
// Inline function 'kotlin.collections.contains' call
|
|
1208
1197
|
// Inline function 'kotlin.collections.containsKey' call
|
|
1209
|
-
var this_1 = $this.
|
|
1198
|
+
var this_1 = $this.z25_1;
|
|
1210
1199
|
tmp_0 = (isInterface(this_1, KtMap) ? this_1 : THROW_CCE()).b2(key);
|
|
1211
1200
|
} else {
|
|
1212
1201
|
tmp_0 = false;
|
|
@@ -1216,7 +1205,7 @@
|
|
|
1216
1205
|
}
|
|
1217
1206
|
}
|
|
1218
1207
|
function checkMatch($this, allowOverride) {
|
|
1219
|
-
if (!$this.
|
|
1208
|
+
if (!$this.c26_1.h26() && allowOverride)
|
|
1220
1209
|
throw new OverridingException('Overriding has been forbidden');
|
|
1221
1210
|
}
|
|
1222
1211
|
function OverrideMode_ALLOW_SILENT_getInstance() {
|
|
@@ -1232,19 +1221,18 @@
|
|
|
1232
1221
|
return OverrideMode_FORBID_instance;
|
|
1233
1222
|
}
|
|
1234
1223
|
function DIContainerBuilderImpl(allowOverride, silentOverride, bindingsMap, callbacks, translators) {
|
|
1235
|
-
this.
|
|
1236
|
-
this.
|
|
1237
|
-
this.
|
|
1238
|
-
this.
|
|
1224
|
+
this.z25_1 = bindingsMap;
|
|
1225
|
+
this.a26_1 = callbacks;
|
|
1226
|
+
this.b26_1 = translators;
|
|
1227
|
+
this.c26_1 = Companion_instance_2.n26(allowOverride, silentOverride);
|
|
1239
1228
|
}
|
|
1240
|
-
protoOf(DIContainerBuilderImpl).
|
|
1229
|
+
protoOf(DIContainerBuilderImpl).d26 = function (key, binding, fromModule, overrides) {
|
|
1241
1230
|
checkOverrides(this, key, overrides);
|
|
1242
1231
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1243
|
-
var this_0 = this.
|
|
1232
|
+
var this_0 = this.z25_1;
|
|
1244
1233
|
var value = this_0.d2(key);
|
|
1245
1234
|
var tmp;
|
|
1246
1235
|
if (value == null) {
|
|
1247
|
-
// Inline function 'org.kodein.di.internal.DIContainerBuilderImpl.bind.<anonymous>' call
|
|
1248
1236
|
var answer = newLinkedList();
|
|
1249
1237
|
this_0.g2(key, answer);
|
|
1250
1238
|
tmp = answer;
|
|
@@ -1254,12 +1242,20 @@
|
|
|
1254
1242
|
var bindings = tmp;
|
|
1255
1243
|
bindings.x1(0, new DIDefining(isInterface(binding, DIBinding) ? binding : THROW_CCE(), fromModule));
|
|
1256
1244
|
};
|
|
1257
|
-
protoOf(DIContainerBuilderImpl).
|
|
1245
|
+
protoOf(DIContainerBuilderImpl).e26 = function (allowOverride, silentOverride) {
|
|
1258
1246
|
checkMatch(this, allowOverride);
|
|
1259
|
-
return new DIContainerBuilderImpl(allowOverride, silentOverride, this.
|
|
1247
|
+
return new DIContainerBuilderImpl(allowOverride, silentOverride, this.z25_1, this.a26_1, this.b26_1);
|
|
1260
1248
|
};
|
|
1261
1249
|
function displayString($this, key, overrideLevel) {
|
|
1262
|
-
var
|
|
1250
|
+
var tmp;
|
|
1251
|
+
if ($this.t26_1) {
|
|
1252
|
+
var tmp_0 = KProperty0;
|
|
1253
|
+
tmp = getPropertyCallableRef('bindFullDescription', 0, tmp_0, DI$Key$_get_bindFullDescription_$ref_x9pxcc_0(key), null);
|
|
1254
|
+
} else {
|
|
1255
|
+
var tmp_1 = KProperty0;
|
|
1256
|
+
tmp = getPropertyCallableRef('bindDescription', 0, tmp_1, DI$Key$_get_bindDescription_$ref_ua6e71_0(key), null);
|
|
1257
|
+
}
|
|
1258
|
+
var descProp = tmp;
|
|
1263
1259
|
return !(overrideLevel === 0) ? 'overridden ' + descProp.get() : descProp.get();
|
|
1264
1260
|
}
|
|
1265
1261
|
function recursiveLoop($this, node, firstKey, firstOverrideLevel, tail) {
|
|
@@ -1271,15 +1267,18 @@
|
|
|
1271
1267
|
$l$1: do {
|
|
1272
1268
|
$l$0: do {
|
|
1273
1269
|
var tmp;
|
|
1274
|
-
if (node_0.
|
|
1275
|
-
tmp = plus(listOf(displayString($this_0, node_0.
|
|
1270
|
+
if (node_0.s26_1 == null || (firstKey_0.equals(node_0.q26_1) && firstOverrideLevel_0 === node_0.r26_1)) {
|
|
1271
|
+
tmp = plus(listOf(displayString($this_0, node_0.q26_1, node_0.r26_1)), tail_0);
|
|
1276
1272
|
} else {
|
|
1277
1273
|
var tmp0 = $this_0;
|
|
1278
|
-
var
|
|
1274
|
+
var tmp1 = node_0.s26_1;
|
|
1275
|
+
var tmp2 = firstKey_0;
|
|
1276
|
+
var tmp3 = firstOverrideLevel_0;
|
|
1277
|
+
var tmp4 = plus(listOf(displayString($this_0, node_0.q26_1, node_0.r26_1)), tail_0);
|
|
1279
1278
|
$this_0 = tmp0;
|
|
1280
|
-
node_0 =
|
|
1281
|
-
firstKey_0 =
|
|
1282
|
-
firstOverrideLevel_0 =
|
|
1279
|
+
node_0 = tmp1;
|
|
1280
|
+
firstKey_0 = tmp2;
|
|
1281
|
+
firstOverrideLevel_0 = tmp3;
|
|
1283
1282
|
tail_0 = tmp4;
|
|
1284
1283
|
continue $l$0;
|
|
1285
1284
|
}
|
|
@@ -1297,15 +1296,19 @@
|
|
|
1297
1296
|
$l$1: do {
|
|
1298
1297
|
$l$0: do {
|
|
1299
1298
|
var tmp;
|
|
1300
|
-
if (node_0.
|
|
1299
|
+
if (node_0.q26_1.equals(searchedKey_0) && node_0.r26_1 === searchedOverrideLevel_0) {
|
|
1301
1300
|
tmp = false;
|
|
1302
|
-
} else if (node_0.
|
|
1301
|
+
} else if (node_0.s26_1 == null) {
|
|
1303
1302
|
tmp = true;
|
|
1304
1303
|
} else {
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1304
|
+
var tmp0 = $this_0;
|
|
1305
|
+
var tmp1 = node_0.s26_1;
|
|
1306
|
+
var tmp2 = searchedKey_0;
|
|
1307
|
+
var tmp3 = searchedOverrideLevel_0;
|
|
1308
|
+
$this_0 = tmp0;
|
|
1309
|
+
node_0 = tmp1;
|
|
1310
|
+
searchedKey_0 = tmp2;
|
|
1311
|
+
searchedOverrideLevel_0 = tmp3;
|
|
1309
1312
|
continue $l$0;
|
|
1310
1313
|
}
|
|
1311
1314
|
return tmp;
|
|
@@ -1314,15 +1317,25 @@
|
|
|
1314
1317
|
}
|
|
1315
1318
|
while (true);
|
|
1316
1319
|
}
|
|
1320
|
+
function DI$Key$_get_bindFullDescription_$ref_x9pxcc_0(p0) {
|
|
1321
|
+
return function () {
|
|
1322
|
+
return p0.t21();
|
|
1323
|
+
};
|
|
1324
|
+
}
|
|
1325
|
+
function DI$Key$_get_bindDescription_$ref_ua6e71_0(p0) {
|
|
1326
|
+
return function () {
|
|
1327
|
+
return p0.r21();
|
|
1328
|
+
};
|
|
1329
|
+
}
|
|
1317
1330
|
function DIContainerImpl_init_$Init$(builder, externalSources, fullDescriptionOnError, fullContainerTreeOnError, runCallbacks, $this) {
|
|
1318
|
-
DIContainerImpl.call($this, new DITreeImpl(builder.
|
|
1331
|
+
DIContainerImpl.call($this, new DITreeImpl(builder.z25_1, externalSources, builder.b26_1), null, fullDescriptionOnError, fullContainerTreeOnError);
|
|
1319
1332
|
var init = DIContainerImpl$_init_$lambda_r6ib3j($this, builder);
|
|
1320
1333
|
if (runCallbacks)
|
|
1321
1334
|
init();
|
|
1322
1335
|
else {
|
|
1323
1336
|
var lock = new Object();
|
|
1324
1337
|
var tmp = $this;
|
|
1325
|
-
tmp.
|
|
1338
|
+
tmp.y26_1 = DIContainerImpl$_init_$lambda_r6ib3j_0(lock, $this, init);
|
|
1326
1339
|
}
|
|
1327
1340
|
return $this;
|
|
1328
1341
|
}
|
|
@@ -1330,58 +1343,57 @@
|
|
|
1330
1343
|
return DIContainerImpl_init_$Init$(builder, externalSources, fullDescriptionOnError, fullContainerTreeOnError, runCallbacks, objectCreate(protoOf(DIContainerImpl)));
|
|
1331
1344
|
}
|
|
1332
1345
|
function Node(key, overrideLevel, parent, fullDescriptionOnError) {
|
|
1333
|
-
this.
|
|
1334
|
-
this.
|
|
1335
|
-
this.
|
|
1336
|
-
this.
|
|
1346
|
+
this.q26_1 = key;
|
|
1347
|
+
this.r26_1 = overrideLevel;
|
|
1348
|
+
this.s26_1 = parent;
|
|
1349
|
+
this.t26_1 = fullDescriptionOnError;
|
|
1337
1350
|
}
|
|
1338
|
-
protoOf(Node).
|
|
1351
|
+
protoOf(Node).z26 = function (searchedKey, searchedOverrideLevel) {
|
|
1339
1352
|
if (!recursiveCheck(this, this, searchedKey, searchedOverrideLevel)) {
|
|
1340
|
-
var list = plus_0(recursiveLoop(this, this, searchedKey, searchedOverrideLevel, emptyList()), displayString(this, searchedKey, this.
|
|
1353
|
+
var list = plus_0(recursiveLoop(this, this, searchedKey, searchedOverrideLevel, emptyList()), displayString(this, searchedKey, this.r26_1));
|
|
1341
1354
|
var sb = StringBuilder_init_$Create$();
|
|
1342
1355
|
// Inline function 'kotlin.collections.forEachIndexed' call
|
|
1343
1356
|
var index = 0;
|
|
1344
|
-
var
|
|
1345
|
-
while (
|
|
1346
|
-
var item =
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
sb.f8(' ');
|
|
1357
|
+
var _iterator__ex2g4s = list.j();
|
|
1358
|
+
while (_iterator__ex2g4s.k()) {
|
|
1359
|
+
var item = _iterator__ex2g4s.l();
|
|
1360
|
+
var _unary__edvuaz = index;
|
|
1361
|
+
index = _unary__edvuaz + 1 | 0;
|
|
1362
|
+
var index_0 = checkIndexOverflow(_unary__edvuaz);
|
|
1363
|
+
sb.i8(' ');
|
|
1352
1364
|
switch (index_0) {
|
|
1353
1365
|
case 0:
|
|
1354
|
-
sb.
|
|
1366
|
+
sb.i8(' ');
|
|
1355
1367
|
break;
|
|
1356
1368
|
case 1:
|
|
1357
|
-
sb.
|
|
1369
|
+
sb.i8(' \u2554\u2569>');
|
|
1358
1370
|
break;
|
|
1359
1371
|
default:
|
|
1360
|
-
sb.
|
|
1361
|
-
sb.
|
|
1362
|
-
sb.
|
|
1372
|
+
sb.i8(' \u2551');
|
|
1373
|
+
sb.i8(repeat(' ', index_0 - 1 | 0));
|
|
1374
|
+
sb.i8('\u255A>');
|
|
1363
1375
|
break;
|
|
1364
1376
|
}
|
|
1365
|
-
sb.
|
|
1366
|
-
sb.
|
|
1377
|
+
sb.i8(item);
|
|
1378
|
+
sb.i8('\n');
|
|
1367
1379
|
}
|
|
1368
|
-
sb.
|
|
1369
|
-
sb.
|
|
1370
|
-
sb.
|
|
1380
|
+
sb.i8(' \u255A');
|
|
1381
|
+
sb.i8(repeat('\u2550\u2550', list.m() - 1 | 0));
|
|
1382
|
+
sb.i8('\u255D');
|
|
1371
1383
|
throw new DependencyLoopException('Dependency recursion:\n' + sb.toString());
|
|
1372
1384
|
}
|
|
1373
1385
|
};
|
|
1374
1386
|
function bindingDI($this, key, context, tree, overrideLevel) {
|
|
1375
|
-
var container = new DIContainerImpl(tree, new Node(key, overrideLevel, $this.
|
|
1387
|
+
var container = new DIContainerImpl(tree, new Node(key, overrideLevel, $this.v26_1, $this.w26_1), $this.w26_1, $this.x26_1);
|
|
1376
1388
|
return new BindingDIImpl(createDirectDI(container, context), key, overrideLevel);
|
|
1377
1389
|
}
|
|
1378
1390
|
function DIContainerImpl$_init_$lambda_r6ib3j(this$0, $builder) {
|
|
1379
1391
|
return function () {
|
|
1380
1392
|
var direct = createDirectDI(this$0, get_AnyDIContext());
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1393
|
+
// Inline function 'kotlin.collections.forEach' call
|
|
1394
|
+
var _iterator__ex2g4s = $builder.a26_1.j();
|
|
1395
|
+
while (_iterator__ex2g4s.k()) {
|
|
1396
|
+
var element = _iterator__ex2g4s.l();
|
|
1385
1397
|
element(direct);
|
|
1386
1398
|
}
|
|
1387
1399
|
return Unit_instance;
|
|
@@ -1389,32 +1401,57 @@
|
|
|
1389
1401
|
}
|
|
1390
1402
|
function DIContainerImpl$_init_$lambda_r6ib3j_0($lock, this$0, $init) {
|
|
1391
1403
|
return function () {
|
|
1392
|
-
$
|
|
1404
|
+
var tmp0 = $lock;
|
|
1405
|
+
$l$block_3: {
|
|
1393
1406
|
// Inline function 'org.kodein.di.internal.synchronizedIfNotNull' call
|
|
1394
|
-
if (this$0.
|
|
1395
|
-
|
|
1396
|
-
break $l$block_1;
|
|
1407
|
+
if (this$0.y26_1 == null) {
|
|
1408
|
+
break $l$block_3;
|
|
1397
1409
|
}
|
|
1398
1410
|
// Inline function 'org.kodein.di.internal.maySynchronized' call
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1411
|
+
if (tmp0 == null) {
|
|
1412
|
+
$l$block_0: {
|
|
1413
|
+
var tmp0_elvis_lhs = this$0.y26_1;
|
|
1414
|
+
var tmp;
|
|
1415
|
+
if (tmp0_elvis_lhs == null) {
|
|
1416
|
+
break $l$block_0;
|
|
1417
|
+
} else {
|
|
1418
|
+
tmp = tmp0_elvis_lhs;
|
|
1419
|
+
}
|
|
1420
|
+
var value = tmp;
|
|
1421
|
+
this$0.y26_1 = null;
|
|
1422
|
+
$init();
|
|
1423
|
+
break $l$block_3;
|
|
1424
|
+
}
|
|
1425
|
+
} else {
|
|
1426
|
+
// Inline function 'kotlinx.atomicfu.locks.synchronized' call
|
|
1427
|
+
$l$block_2: {
|
|
1428
|
+
var tmp0_elvis_lhs_0 = this$0.y26_1;
|
|
1429
|
+
var tmp_0;
|
|
1430
|
+
if (tmp0_elvis_lhs_0 == null) {
|
|
1431
|
+
break $l$block_2;
|
|
1432
|
+
} else {
|
|
1433
|
+
tmp_0 = tmp0_elvis_lhs_0;
|
|
1434
|
+
}
|
|
1435
|
+
var value_0 = tmp_0;
|
|
1436
|
+
this$0.y26_1 = null;
|
|
1437
|
+
$init();
|
|
1438
|
+
break $l$block_3;
|
|
1407
1439
|
}
|
|
1408
|
-
var value = tmp;
|
|
1409
|
-
this$0.o24_1 = null;
|
|
1410
|
-
$init();
|
|
1411
|
-
break $l$block_1;
|
|
1412
1440
|
}
|
|
1413
|
-
// Inline function 'org.kodein.di.internal.DIContainerImpl.<init>.<anonymous>.<anonymous>' call
|
|
1414
1441
|
}
|
|
1415
1442
|
return Unit_instance;
|
|
1416
1443
|
};
|
|
1417
1444
|
}
|
|
1445
|
+
function DI$Key$_get_fullDescription_$ref_ncsvgx(p0) {
|
|
1446
|
+
return function () {
|
|
1447
|
+
return p0.u21();
|
|
1448
|
+
};
|
|
1449
|
+
}
|
|
1450
|
+
function DI$Key$_get_description_$ref_pfaykg(p0) {
|
|
1451
|
+
return function () {
|
|
1452
|
+
return p0.s21();
|
|
1453
|
+
};
|
|
1454
|
+
}
|
|
1418
1455
|
function DIContainerImpl$factory$lambda(_this__u8e3s4, it) {
|
|
1419
1456
|
return fullDescription(_this__u8e3s4, it);
|
|
1420
1457
|
}
|
|
@@ -1422,92 +1459,94 @@
|
|
|
1422
1459
|
return description(_this__u8e3s4, it);
|
|
1423
1460
|
}
|
|
1424
1461
|
function DIContainerImpl(tree, node, fullDescriptionOnError, fullContainerTreeOnError) {
|
|
1425
|
-
this.
|
|
1426
|
-
this.
|
|
1427
|
-
this.
|
|
1428
|
-
this.
|
|
1429
|
-
this.
|
|
1430
|
-
}
|
|
1431
|
-
protoOf(DIContainerImpl).
|
|
1432
|
-
var result = this.
|
|
1462
|
+
this.u26_1 = tree;
|
|
1463
|
+
this.v26_1 = node;
|
|
1464
|
+
this.w26_1 = fullDescriptionOnError;
|
|
1465
|
+
this.x26_1 = fullContainerTreeOnError;
|
|
1466
|
+
this.y26_1 = null;
|
|
1467
|
+
}
|
|
1468
|
+
protoOf(DIContainerImpl).b23 = function (key, context, overrideLevel) {
|
|
1469
|
+
var result = this.u26_1.h23(key, overrideLevel);
|
|
1433
1470
|
if (result.m() === 1) {
|
|
1434
1471
|
var _destruct__k2r9zo = result.o(0);
|
|
1435
|
-
var definition = _destruct__k2r9zo.
|
|
1436
|
-
var translator = _destruct__k2r9zo.
|
|
1437
|
-
var
|
|
1438
|
-
if (
|
|
1472
|
+
var definition = _destruct__k2r9zo.od();
|
|
1473
|
+
var translator = _destruct__k2r9zo.zi();
|
|
1474
|
+
var tmp0_safe_receiver = this.v26_1;
|
|
1475
|
+
if (tmp0_safe_receiver == null)
|
|
1439
1476
|
null;
|
|
1440
1477
|
else {
|
|
1441
|
-
|
|
1478
|
+
tmp0_safe_receiver.z26(key, overrideLevel);
|
|
1442
1479
|
}
|
|
1443
|
-
var tmp = Companion_instance_0.
|
|
1480
|
+
var tmp = Companion_instance_0.v22(key.m21_1, context);
|
|
1444
1481
|
var originalContext = isInterface(tmp, DIContext) ? tmp : THROW_CCE();
|
|
1445
|
-
var
|
|
1446
|
-
var kContext =
|
|
1482
|
+
var tmp2_elvis_lhs = translator == null ? null : toKContext(translator, createDirectDI(this, originalContext), context);
|
|
1483
|
+
var kContext = tmp2_elvis_lhs == null ? originalContext : tmp2_elvis_lhs;
|
|
1447
1484
|
if (!(key instanceof Key))
|
|
1448
1485
|
THROW_CCE();
|
|
1449
|
-
var bindingDI_0 = bindingDI(this, key, kContext, definition.
|
|
1450
|
-
return definition.
|
|
1486
|
+
var bindingDI_0 = bindingDI(this, key, kContext, definition.j21_1, overrideLevel);
|
|
1487
|
+
return definition.k21_1.a24(key, bindingDI_0);
|
|
1451
1488
|
}
|
|
1452
|
-
var bindingDI_1 = bindingDI(this, key, Companion_instance_0.
|
|
1489
|
+
var bindingDI_1 = bindingDI(this, key, Companion_instance_0.v22(key.m21_1, context), this.u26_1, overrideLevel);
|
|
1453
1490
|
// Inline function 'kotlin.collections.forEach' call
|
|
1454
|
-
var
|
|
1455
|
-
while (
|
|
1456
|
-
var element =
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
if (tmp46_safe_receiver == null)
|
|
1491
|
+
var _iterator__ex2g4s = this.u26_1.f23().j();
|
|
1492
|
+
while (_iterator__ex2g4s.k()) {
|
|
1493
|
+
var element = _iterator__ex2g4s.l();
|
|
1494
|
+
var tmp0_safe_receiver_0 = element.a27(bindingDI_1, key);
|
|
1495
|
+
if (tmp0_safe_receiver_0 == null)
|
|
1460
1496
|
null;
|
|
1461
1497
|
else {
|
|
1462
1498
|
// Inline function 'kotlin.let' call
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
if (tmp47_safe_receiver == null)
|
|
1499
|
+
var tmp0_safe_receiver_1 = this.v26_1;
|
|
1500
|
+
if (tmp0_safe_receiver_1 == null)
|
|
1466
1501
|
null;
|
|
1467
1502
|
else {
|
|
1468
|
-
|
|
1503
|
+
tmp0_safe_receiver_1.z26(key, overrideLevel);
|
|
1469
1504
|
}
|
|
1470
|
-
return
|
|
1505
|
+
return typeof tmp0_safe_receiver_0 === 'function' ? tmp0_safe_receiver_0 : THROW_CCE();
|
|
1471
1506
|
}
|
|
1472
1507
|
}
|
|
1473
1508
|
var withOverrides = !(overrideLevel === 0);
|
|
1474
|
-
var descProp = this.m24_1 ? fullDescription$factory_0(key) : description$factory_0(key);
|
|
1475
1509
|
var tmp_0;
|
|
1476
|
-
if (this.
|
|
1477
|
-
|
|
1510
|
+
if (this.w26_1) {
|
|
1511
|
+
var tmp_1 = KProperty0;
|
|
1512
|
+
tmp_0 = getPropertyCallableRef('fullDescription', 0, tmp_1, DI$Key$_get_fullDescription_$ref_ncsvgx(key), null);
|
|
1513
|
+
} else {
|
|
1514
|
+
var tmp_2 = KProperty0;
|
|
1515
|
+
tmp_0 = getPropertyCallableRef('description', 0, tmp_2, DI$Key$_get_description_$ref_pfaykg(key), null);
|
|
1516
|
+
}
|
|
1517
|
+
var descProp = tmp_0;
|
|
1518
|
+
var tmp_3;
|
|
1519
|
+
if (this.w26_1) {
|
|
1520
|
+
tmp_3 = DIContainerImpl$factory$lambda;
|
|
1478
1521
|
} else {
|
|
1479
|
-
|
|
1522
|
+
tmp_3 = DIContainerImpl$factory$lambda_0;
|
|
1480
1523
|
}
|
|
1481
|
-
var descFun =
|
|
1524
|
+
var descFun = tmp_3;
|
|
1482
1525
|
if (result.p()) {
|
|
1483
1526
|
// Inline function 'kotlin.text.buildString' call
|
|
1484
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1485
1527
|
// Inline function 'kotlin.apply' call
|
|
1486
1528
|
var this_0 = StringBuilder_init_$Create$();
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
this_0.f8('No binding found for ' + descProp.get());
|
|
1490
|
-
if (this.n24_1) {
|
|
1529
|
+
this_0.i8('No binding found for ' + descProp.get());
|
|
1530
|
+
if (this.x26_1) {
|
|
1491
1531
|
// Inline function 'kotlin.text.appendLine' call
|
|
1492
|
-
this_0.
|
|
1493
|
-
var forType = this.
|
|
1532
|
+
this_0.j8(_Char___init__impl__6a9atx(10));
|
|
1533
|
+
var forType = this.u26_1.i23(new SearchSpecs(VOID, VOID, key.o21_1));
|
|
1494
1534
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1495
1535
|
if (!forType.p()) {
|
|
1496
1536
|
// Inline function 'kotlin.collections.associate' call
|
|
1497
1537
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(forType, 10)), 16);
|
|
1498
1538
|
// Inline function 'kotlin.collections.associateTo' call
|
|
1499
1539
|
var destination = LinkedHashMap_init_$Create$_0(capacity);
|
|
1500
|
-
var
|
|
1501
|
-
while (
|
|
1502
|
-
var element_0 =
|
|
1540
|
+
var _iterator__ex2g4s_0 = forType.j();
|
|
1541
|
+
while (_iterator__ex2g4s_0.k()) {
|
|
1542
|
+
var element_0 = _iterator__ex2g4s_0.l();
|
|
1503
1543
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
destination.g2(pair.xc_1, pair.yc_1);
|
|
1544
|
+
var pair = to(element_0.wi_1, element_0.xi_1);
|
|
1545
|
+
destination.g2(pair.ld_1, pair.md_1);
|
|
1507
1546
|
}
|
|
1508
|
-
this_0.
|
|
1547
|
+
this_0.i8('Available bindings for this type:\n' + descFun(destination, withOverrides));
|
|
1509
1548
|
}
|
|
1510
|
-
this_0.
|
|
1549
|
+
this_0.i8('Registered in this DI container:\n' + descFun(this.u26_1.e23(), withOverrides));
|
|
1511
1550
|
}
|
|
1512
1551
|
var description = this_0.toString();
|
|
1513
1552
|
throw new NotFoundException(key, description);
|
|
@@ -1516,62 +1555,39 @@
|
|
|
1516
1555
|
var capacity_0 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(result, 10)), 16);
|
|
1517
1556
|
// Inline function 'kotlin.collections.associateTo' call
|
|
1518
1557
|
var destination_0 = LinkedHashMap_init_$Create$_0(capacity_0);
|
|
1519
|
-
var
|
|
1520
|
-
while (
|
|
1521
|
-
var element_1 =
|
|
1558
|
+
var _iterator__ex2g4s_1 = result.j();
|
|
1559
|
+
while (_iterator__ex2g4s_1.k()) {
|
|
1560
|
+
var element_1 = _iterator__ex2g4s_1.l();
|
|
1522
1561
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
destination_0.g2(pair_0.xc_1, pair_0.yc_1);
|
|
1562
|
+
var pair_0 = to(element_1.wi_1, ensureNotNull(this.u26_1.j23(element_1.wi_1)).xi_1);
|
|
1563
|
+
destination_0.g2(pair_0.ld_1, pair_0.md_1);
|
|
1526
1564
|
}
|
|
1527
1565
|
var potentials = destination_0;
|
|
1528
1566
|
// Inline function 'kotlin.collections.filter' call
|
|
1567
|
+
var tmp0 = this.u26_1.e23();
|
|
1529
1568
|
// Inline function 'kotlin.collections.filterTo' call
|
|
1530
|
-
var this_1 = this.k24_1.u20();
|
|
1531
1569
|
var destination_1 = LinkedHashMap_init_$Create$();
|
|
1532
1570
|
// Inline function 'kotlin.collections.iterator' call
|
|
1533
|
-
var
|
|
1534
|
-
while (
|
|
1535
|
-
var element_2 =
|
|
1536
|
-
// Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>' call
|
|
1571
|
+
var _iterator__ex2g4s_2 = tmp0.s().j();
|
|
1572
|
+
while (_iterator__ex2g4s_2.k()) {
|
|
1573
|
+
var element_2 = _iterator__ex2g4s_2.l();
|
|
1537
1574
|
// Inline function 'kotlin.collections.component1' call
|
|
1538
1575
|
var key_0 = element_2.z1();
|
|
1539
|
-
if (!potentials.e2().
|
|
1576
|
+
if (!potentials.e2().q1(key_0)) {
|
|
1540
1577
|
destination_1.g2(element_2.z1(), element_2.a2());
|
|
1541
1578
|
}
|
|
1542
1579
|
}
|
|
1543
1580
|
var others = destination_1;
|
|
1544
1581
|
throw new NotFoundException(key, '' + potentials.m() + ' bindings found that match ' + key.toString() + ':\n' + descFun(potentials, withOverrides) + 'Other bindings registered in DI:\n' + descFun(others, withOverrides));
|
|
1545
1582
|
};
|
|
1546
|
-
function bindFullDescription$factory_0($b0) {
|
|
1547
|
-
return getPropertyCallableRef('bindFullDescription', 0, KProperty0, function () {
|
|
1548
|
-
return $b0.j1z();
|
|
1549
|
-
}, null);
|
|
1550
|
-
}
|
|
1551
|
-
function bindDescription$factory_0($b0) {
|
|
1552
|
-
return getPropertyCallableRef('bindDescription', 0, KProperty0, function () {
|
|
1553
|
-
return $b0.h1z();
|
|
1554
|
-
}, null);
|
|
1555
|
-
}
|
|
1556
|
-
function fullDescription$factory_0($b0) {
|
|
1557
|
-
return getPropertyCallableRef('fullDescription', 0, KProperty0, function () {
|
|
1558
|
-
return $b0.k1z();
|
|
1559
|
-
}, null);
|
|
1560
|
-
}
|
|
1561
|
-
function description$factory_0($b0) {
|
|
1562
|
-
return getPropertyCallableRef('description', 0, KProperty0, function () {
|
|
1563
|
-
return $b0.i1z();
|
|
1564
|
-
}, null);
|
|
1565
|
-
}
|
|
1566
1583
|
function newBuilder($this, allowSilentOverride, init) {
|
|
1567
1584
|
// Inline function 'kotlin.apply' call
|
|
1568
1585
|
var this_0 = new DIMainBuilderImpl(allowSilentOverride);
|
|
1569
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1570
1586
|
init(this_0);
|
|
1571
1587
|
return this_0;
|
|
1572
1588
|
}
|
|
1573
1589
|
function DIImpl_init_$Init$(builder, runCallbacks, $this) {
|
|
1574
|
-
DIImpl.call($this, DIContainerImpl_init_$Create$(builder.
|
|
1590
|
+
DIImpl.call($this, DIContainerImpl_init_$Create$(builder.d22(), builder.f23(), builder.m25(), builder.n25(), runCallbacks));
|
|
1575
1591
|
return $this;
|
|
1576
1592
|
}
|
|
1577
1593
|
function DIImpl_init_$Init$_0(allowSilentOverride, init, $this) {
|
|
@@ -1591,79 +1607,80 @@
|
|
|
1591
1607
|
function DIImpl$container$delegate$lambda(this$0) {
|
|
1592
1608
|
return function () {
|
|
1593
1609
|
var tmp;
|
|
1594
|
-
if (!(this$0.
|
|
1610
|
+
if (!(this$0.b27_1.y26_1 == null)) {
|
|
1595
1611
|
throw IllegalStateException_init_$Create$('DI has not been initialized');
|
|
1596
1612
|
}
|
|
1597
|
-
return this$0.
|
|
1613
|
+
return this$0.b27_1;
|
|
1614
|
+
};
|
|
1615
|
+
}
|
|
1616
|
+
function DIImpl$_get_container_$ref_luzrb4() {
|
|
1617
|
+
return function (p0) {
|
|
1618
|
+
return p0.p22();
|
|
1598
1619
|
};
|
|
1599
1620
|
}
|
|
1600
1621
|
function DIImpl(_container) {
|
|
1601
|
-
this.
|
|
1622
|
+
this.b27_1 = _container;
|
|
1602
1623
|
var tmp = this;
|
|
1603
|
-
tmp.
|
|
1624
|
+
tmp.c27_1 = lazy(DIImpl$container$delegate$lambda(this));
|
|
1604
1625
|
}
|
|
1605
|
-
protoOf(DIImpl).
|
|
1626
|
+
protoOf(DIImpl).p22 = function () {
|
|
1627
|
+
var tmp0 = this.c27_1;
|
|
1628
|
+
var tmp = KProperty1;
|
|
1606
1629
|
// Inline function 'kotlin.getValue' call
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
return this_0.a2();
|
|
1630
|
+
getPropertyCallableRef('container', 1, tmp, DIImpl$_get_container_$ref_luzrb4(), null);
|
|
1631
|
+
return tmp0.a2();
|
|
1610
1632
|
};
|
|
1611
1633
|
function BindingDIImpl(directDI, key, overrideLevel) {
|
|
1612
|
-
this.
|
|
1613
|
-
this.
|
|
1614
|
-
this.
|
|
1634
|
+
this.d27_1 = directDI;
|
|
1635
|
+
this.e27_1 = key;
|
|
1636
|
+
this.f27_1 = overrideLevel;
|
|
1615
1637
|
}
|
|
1616
|
-
protoOf(BindingDIImpl).
|
|
1617
|
-
return this.
|
|
1638
|
+
protoOf(BindingDIImpl).n23 = function () {
|
|
1639
|
+
return this.d27_1;
|
|
1618
1640
|
};
|
|
1619
|
-
protoOf(BindingDIImpl).
|
|
1620
|
-
|
|
1641
|
+
protoOf(BindingDIImpl).w8 = function () {
|
|
1642
|
+
var tmp = this.n23().o22().q22().a2();
|
|
1643
|
+
return !(tmp == null) ? tmp : THROW_CCE();
|
|
1621
1644
|
};
|
|
1622
|
-
protoOf(BindingDIImpl).
|
|
1623
|
-
return this.
|
|
1645
|
+
protoOf(BindingDIImpl).y24 = function () {
|
|
1646
|
+
return new BindingDIImpl(this.n23().l23(ErasedContext_instance), this.e27_1, this.f27_1);
|
|
1624
1647
|
};
|
|
1625
|
-
protoOf(BindingDIImpl).
|
|
1626
|
-
return this.
|
|
1648
|
+
protoOf(BindingDIImpl).k23 = function () {
|
|
1649
|
+
return this.d27_1.k23();
|
|
1627
1650
|
};
|
|
1628
|
-
protoOf(BindingDIImpl).
|
|
1629
|
-
return this.
|
|
1651
|
+
protoOf(BindingDIImpl).o22 = function () {
|
|
1652
|
+
return this.d27_1.o22();
|
|
1630
1653
|
};
|
|
1631
|
-
protoOf(BindingDIImpl).
|
|
1632
|
-
|
|
1633
|
-
return !(tmp == null) ? tmp : THROW_CCE();
|
|
1654
|
+
protoOf(BindingDIImpl).l23 = function (context) {
|
|
1655
|
+
return this.d27_1.l23(context);
|
|
1634
1656
|
};
|
|
1635
|
-
protoOf(BindingDIImpl).
|
|
1636
|
-
return
|
|
1657
|
+
protoOf(BindingDIImpl).m23 = function (type, tag) {
|
|
1658
|
+
return this.d27_1.m23(type, tag);
|
|
1637
1659
|
};
|
|
1638
|
-
function container$factory() {
|
|
1639
|
-
return getPropertyCallableRef('container', 1, KProperty1, function (receiver) {
|
|
1640
|
-
return receiver.f20();
|
|
1641
|
-
}, null);
|
|
1642
|
-
}
|
|
1643
1660
|
function findBySpecs($this, specs) {
|
|
1644
|
-
var bindSeq = asSequence($this.
|
|
1645
|
-
var specsBindType = specs.
|
|
1646
|
-
if (!(specsBindType == null) && !equals(specsBindType, Companion_getInstance().
|
|
1661
|
+
var bindSeq = asSequence($this.j27_1);
|
|
1662
|
+
var specsBindType = specs.q23_1;
|
|
1663
|
+
if (!(specsBindType == null) && !equals(specsBindType, Companion_getInstance().q20_1)) {
|
|
1647
1664
|
var tmp = bindSeq;
|
|
1648
1665
|
bindSeq = filter(tmp, DITreeImpl$findBySpecs$lambda(specsBindType));
|
|
1649
1666
|
}
|
|
1650
1667
|
var tmp_0 = bindSeq;
|
|
1651
1668
|
var contextSeq = flatMap(tmp_0, DITreeImpl$findBySpecs$lambda_0);
|
|
1652
|
-
var specsContextType = specs.
|
|
1669
|
+
var specsContextType = specs.o23_1;
|
|
1653
1670
|
if (!(specsContextType == null)) {
|
|
1654
1671
|
var tmp_1 = contextSeq;
|
|
1655
1672
|
contextSeq = mapNotNull(tmp_1, DITreeImpl$findBySpecs$lambda_1(specsContextType, $this));
|
|
1656
1673
|
}
|
|
1657
1674
|
var tmp_2 = contextSeq;
|
|
1658
1675
|
var argSeq = flatMap(tmp_2, DITreeImpl$findBySpecs$lambda_2);
|
|
1659
|
-
var specsArgType = specs.
|
|
1676
|
+
var specsArgType = specs.p23_1;
|
|
1660
1677
|
if (!(specsArgType == null)) {
|
|
1661
1678
|
var tmp_3 = argSeq;
|
|
1662
1679
|
argSeq = filter(tmp_3, DITreeImpl$findBySpecs$lambda_3(specsArgType));
|
|
1663
1680
|
}
|
|
1664
1681
|
var tmp_4 = argSeq;
|
|
1665
1682
|
var tagSeq = flatMap(tmp_4, DITreeImpl$findBySpecs$lambda_4);
|
|
1666
|
-
var specsTag = specs.
|
|
1683
|
+
var specsTag = specs.r23_1;
|
|
1667
1684
|
if (!equals(specsTag, NoDefinedTag_instance)) {
|
|
1668
1685
|
var tmp_5 = tagSeq;
|
|
1669
1686
|
tagSeq = filter(tmp_5, DITreeImpl$findBySpecs$lambda_5(specsTag));
|
|
@@ -1673,16 +1690,16 @@
|
|
|
1673
1690
|
return toList(resultSeq);
|
|
1674
1691
|
}
|
|
1675
1692
|
function notInMap($this, result, request) {
|
|
1676
|
-
var tmp = result.
|
|
1677
|
-
var tmp_0 = request.
|
|
1678
|
-
var tmp_1 = $this.
|
|
1693
|
+
var tmp = result.a22();
|
|
1694
|
+
var tmp_0 = request.a22();
|
|
1695
|
+
var tmp_1 = $this.i27_1.e2();
|
|
1679
1696
|
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));
|
|
1680
1697
|
}
|
|
1681
1698
|
function DITreeImpl$findBySpecs$lambda($specsBindType) {
|
|
1682
1699
|
return function (_destruct__k2r9zo) {
|
|
1683
1700
|
// Inline function 'kotlin.collections.component1' call
|
|
1684
1701
|
var bindType = _destruct__k2r9zo.z1();
|
|
1685
|
-
return bindType.
|
|
1702
|
+
return bindType.m27($specsBindType);
|
|
1686
1703
|
};
|
|
1687
1704
|
}
|
|
1688
1705
|
function DITreeImpl$findBySpecs$lambda_0(_destruct__k2r9zo) {
|
|
@@ -1696,19 +1713,19 @@
|
|
|
1696
1713
|
}
|
|
1697
1714
|
function DITreeImpl$findBySpecs$lambda_1($specsContextType, this$0) {
|
|
1698
1715
|
return function (triple) {
|
|
1699
|
-
var contextType = triple.
|
|
1716
|
+
var contextType = triple.nd();
|
|
1700
1717
|
var tmp;
|
|
1701
|
-
if (contextType.
|
|
1718
|
+
if (contextType.m27($specsContextType)) {
|
|
1702
1719
|
tmp = triple;
|
|
1703
1720
|
} else {
|
|
1721
|
+
var tmp0 = this$0.l27_1;
|
|
1704
1722
|
var tmp$ret$1;
|
|
1705
1723
|
$l$block: {
|
|
1706
1724
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
1707
|
-
var
|
|
1708
|
-
while (
|
|
1709
|
-
var element =
|
|
1710
|
-
|
|
1711
|
-
if (element.x1z().p1y($specsContextType) && contextType.c25(element.u21())) {
|
|
1725
|
+
var _iterator__ex2g4s = tmp0.j();
|
|
1726
|
+
while (_iterator__ex2g4s.k()) {
|
|
1727
|
+
var element = _iterator__ex2g4s.l();
|
|
1728
|
+
if (element.h22().z20($specsContextType) && contextType.m27(element.e24())) {
|
|
1712
1729
|
tmp$ret$1 = element;
|
|
1713
1730
|
break $l$block;
|
|
1714
1731
|
}
|
|
@@ -1716,14 +1733,14 @@
|
|
|
1716
1733
|
tmp$ret$1 = null;
|
|
1717
1734
|
}
|
|
1718
1735
|
var translator = tmp$ret$1;
|
|
1719
|
-
tmp = !(translator == null) ? triple.
|
|
1736
|
+
tmp = !(translator == null) ? triple.bj(VOID, VOID, translator) : null;
|
|
1720
1737
|
}
|
|
1721
1738
|
return tmp;
|
|
1722
1739
|
};
|
|
1723
1740
|
}
|
|
1724
1741
|
function DITreeImpl$findBySpecs$lambda_2(_destruct__k2r9zo) {
|
|
1725
|
-
var argumentTree = _destruct__k2r9zo.
|
|
1726
|
-
var translator = _destruct__k2r9zo.
|
|
1742
|
+
var argumentTree = _destruct__k2r9zo.od();
|
|
1743
|
+
var translator = _destruct__k2r9zo.zi();
|
|
1727
1744
|
var tmp = asSequence(argumentTree);
|
|
1728
1745
|
return map(tmp, DITreeImpl$findBySpecs$lambda$lambda_0(translator));
|
|
1729
1746
|
}
|
|
@@ -1734,13 +1751,13 @@
|
|
|
1734
1751
|
}
|
|
1735
1752
|
function DITreeImpl$findBySpecs$lambda_3($specsArgType) {
|
|
1736
1753
|
return function (_destruct__k2r9zo) {
|
|
1737
|
-
var argType = _destruct__k2r9zo.
|
|
1738
|
-
return argType.
|
|
1754
|
+
var argType = _destruct__k2r9zo.nd();
|
|
1755
|
+
return argType.m27($specsArgType);
|
|
1739
1756
|
};
|
|
1740
1757
|
}
|
|
1741
1758
|
function DITreeImpl$findBySpecs$lambda_4(_destruct__k2r9zo) {
|
|
1742
|
-
var tagTree = _destruct__k2r9zo.
|
|
1743
|
-
var translator = _destruct__k2r9zo.
|
|
1759
|
+
var tagTree = _destruct__k2r9zo.od();
|
|
1760
|
+
var translator = _destruct__k2r9zo.zi();
|
|
1744
1761
|
var tmp = asSequence(tagTree);
|
|
1745
1762
|
return map(tmp, DITreeImpl$findBySpecs$lambda$lambda_1(translator));
|
|
1746
1763
|
}
|
|
@@ -1751,30 +1768,29 @@
|
|
|
1751
1768
|
}
|
|
1752
1769
|
function DITreeImpl$findBySpecs$lambda_5($specsTag) {
|
|
1753
1770
|
return function (_destruct__k2r9zo) {
|
|
1754
|
-
var tag = _destruct__k2r9zo.
|
|
1771
|
+
var tag = _destruct__k2r9zo.nd();
|
|
1755
1772
|
return equals(tag, $specsTag);
|
|
1756
1773
|
};
|
|
1757
1774
|
}
|
|
1758
1775
|
function DITreeImpl$findBySpecs$lambda_6(_destruct__k2r9zo) {
|
|
1759
|
-
var key = _destruct__k2r9zo.
|
|
1760
|
-
var translator = _destruct__k2r9zo.
|
|
1776
|
+
var key = _destruct__k2r9zo.od();
|
|
1777
|
+
var translator = _destruct__k2r9zo.zi();
|
|
1761
1778
|
return to(key, translator);
|
|
1762
1779
|
}
|
|
1763
1780
|
function DITreeImpl$notInMap$lambda(it) {
|
|
1764
|
-
return it.
|
|
1781
|
+
return it.a22();
|
|
1765
1782
|
}
|
|
1766
1783
|
function DITreeImpl(map, externalSources, registeredTranslators) {
|
|
1767
|
-
this.
|
|
1768
|
-
this.
|
|
1769
|
-
this.
|
|
1770
|
-
this.
|
|
1771
|
-
this.
|
|
1784
|
+
this.g27_1 = externalSources;
|
|
1785
|
+
this.h27_1 = registeredTranslators;
|
|
1786
|
+
this.i27_1 = newConcurrentMap();
|
|
1787
|
+
this.j27_1 = HashMap_init_$Create$();
|
|
1788
|
+
this.l27_1 = ArrayList_init_$Create$_1(this.h27_1);
|
|
1772
1789
|
// Inline function 'kotlin.collections.forEach' call
|
|
1773
1790
|
// Inline function 'kotlin.collections.iterator' call
|
|
1774
|
-
var
|
|
1775
|
-
while (
|
|
1776
|
-
var element =
|
|
1777
|
-
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>' call
|
|
1791
|
+
var _iterator__ex2g4s = map.s().j();
|
|
1792
|
+
while (_iterator__ex2g4s.k()) {
|
|
1793
|
+
var element = _iterator__ex2g4s.l();
|
|
1778
1794
|
// Inline function 'kotlin.collections.component1' call
|
|
1779
1795
|
var key = element.z1();
|
|
1780
1796
|
// Inline function 'kotlin.collections.component2' call
|
|
@@ -1782,44 +1798,41 @@
|
|
|
1782
1798
|
// Inline function 'kotlin.collections.map' call
|
|
1783
1799
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1784
1800
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(bindings, 10));
|
|
1785
|
-
var
|
|
1786
|
-
while (
|
|
1787
|
-
var item =
|
|
1788
|
-
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
|
|
1801
|
+
var _iterator__ex2g4s_0 = bindings.j();
|
|
1802
|
+
while (_iterator__ex2g4s_0.k()) {
|
|
1803
|
+
var item = _iterator__ex2g4s_0.l();
|
|
1789
1804
|
var tmp;
|
|
1790
1805
|
if (item instanceof DIDefinition) {
|
|
1791
1806
|
tmp = item;
|
|
1792
1807
|
} else {
|
|
1793
|
-
tmp = new DIDefinition(item.
|
|
1808
|
+
tmp = new DIDefinition(item.k21_1, item.l21_1, this);
|
|
1794
1809
|
}
|
|
1795
1810
|
var tmp$ret$3 = tmp;
|
|
1796
1811
|
destination.e(tmp$ret$3);
|
|
1797
1812
|
}
|
|
1798
1813
|
var definitions = destination;
|
|
1814
|
+
var tmp0 = this.i27_1;
|
|
1799
1815
|
// Inline function 'kotlin.collections.set' call
|
|
1800
|
-
var this_0 = this.y24_1;
|
|
1801
1816
|
var value = new Triple(key, definitions, null);
|
|
1802
|
-
|
|
1803
|
-
var typeChecker = first(bindings).
|
|
1817
|
+
tmp0.g2(key, value);
|
|
1818
|
+
var typeChecker = first(bindings).k21_1.z23() ? new Down(key.o21_1) : new Up(key.o21_1);
|
|
1804
1819
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1805
|
-
var
|
|
1806
|
-
var value_0 =
|
|
1820
|
+
var this_0 = this.j27_1;
|
|
1821
|
+
var value_0 = this_0.d2(typeChecker);
|
|
1807
1822
|
var tmp_0;
|
|
1808
1823
|
if (value_0 == null) {
|
|
1809
|
-
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
|
|
1810
1824
|
var answer = HashMap_init_$Create$();
|
|
1811
|
-
|
|
1825
|
+
this_0.g2(typeChecker, answer);
|
|
1812
1826
|
tmp_0 = answer;
|
|
1813
1827
|
} else {
|
|
1814
1828
|
tmp_0 = value_0;
|
|
1815
1829
|
}
|
|
1816
1830
|
var contextTree = tmp_0;
|
|
1817
1831
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1818
|
-
var key_0 = new Down(key.
|
|
1832
|
+
var key_0 = new Down(key.m21_1);
|
|
1819
1833
|
var value_1 = contextTree.d2(key_0);
|
|
1820
1834
|
var tmp_1;
|
|
1821
1835
|
if (value_1 == null) {
|
|
1822
|
-
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
|
|
1823
1836
|
var answer_0 = HashMap_init_$Create$();
|
|
1824
1837
|
contextTree.g2(key_0, answer_0);
|
|
1825
1838
|
tmp_1 = answer_0;
|
|
@@ -1828,11 +1841,10 @@
|
|
|
1828
1841
|
}
|
|
1829
1842
|
var argumentTree = tmp_1;
|
|
1830
1843
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1831
|
-
var key_1 = new Down(key.
|
|
1844
|
+
var key_1 = new Down(key.n21_1);
|
|
1832
1845
|
var value_2 = argumentTree.d2(key_1);
|
|
1833
1846
|
var tmp_2;
|
|
1834
1847
|
if (value_2 == null) {
|
|
1835
|
-
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
|
|
1836
1848
|
var answer_1 = HashMap_init_$Create$();
|
|
1837
1849
|
argumentTree.g2(key_1, answer_1);
|
|
1838
1850
|
tmp_2 = answer_1;
|
|
@@ -1841,62 +1853,59 @@
|
|
|
1841
1853
|
}
|
|
1842
1854
|
var tagTree = tmp_2;
|
|
1843
1855
|
// Inline function 'kotlin.collections.set' call
|
|
1844
|
-
var key_2 = key.
|
|
1856
|
+
var key_2 = key.p21_1;
|
|
1845
1857
|
tagTree.g2(key_2, key);
|
|
1846
1858
|
}
|
|
1847
1859
|
var tmp_3 = this;
|
|
1848
1860
|
// Inline function 'kotlin.collections.mapValues' call
|
|
1849
|
-
var
|
|
1861
|
+
var this_1 = this.i27_1;
|
|
1850
1862
|
// Inline function 'kotlin.collections.mapValuesTo' call
|
|
1851
|
-
var destination_0 = LinkedHashMap_init_$Create$_0(mapCapacity(
|
|
1863
|
+
var destination_0 = LinkedHashMap_init_$Create$_0(mapCapacity(this_1.m()));
|
|
1852
1864
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
1853
|
-
var
|
|
1854
|
-
while (
|
|
1855
|
-
var element_0 =
|
|
1856
|
-
// Inline function 'kotlin.collections.mapValuesTo.<anonymous>' call
|
|
1865
|
+
var _iterator__ex2g4s_1 = this_1.s().j();
|
|
1866
|
+
while (_iterator__ex2g4s_1.k()) {
|
|
1867
|
+
var element_0 = _iterator__ex2g4s_1.l();
|
|
1857
1868
|
var tmp_4 = element_0.z1();
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
destination_0.g2(tmp_4, tmp$ret$13);
|
|
1869
|
+
var tmp$ret$17 = element_0.a2().xi_1;
|
|
1870
|
+
destination_0.g2(tmp_4, tmp$ret$17);
|
|
1861
1871
|
}
|
|
1862
|
-
tmp_3.
|
|
1872
|
+
tmp_3.k27_1 = HashMap_init_$Create$_0(destination_0);
|
|
1863
1873
|
$l$loop: while (true) {
|
|
1864
1874
|
var added = ArrayList_init_$Create$();
|
|
1865
|
-
var
|
|
1866
|
-
while (
|
|
1867
|
-
var src =
|
|
1868
|
-
var
|
|
1869
|
-
while (
|
|
1870
|
-
var dst =
|
|
1871
|
-
if (dst.
|
|
1872
|
-
var
|
|
1875
|
+
var _iterator__ex2g4s_2 = this.l27_1.j();
|
|
1876
|
+
while (_iterator__ex2g4s_2.k()) {
|
|
1877
|
+
var src = _iterator__ex2g4s_2.l();
|
|
1878
|
+
var _iterator__ex2g4s_3 = this.l27_1.j();
|
|
1879
|
+
while (_iterator__ex2g4s_3.k()) {
|
|
1880
|
+
var dst = _iterator__ex2g4s_3.l();
|
|
1881
|
+
if (dst.h22().z20(src.e24()) && !equals(src.h22(), dst.e24())) {
|
|
1882
|
+
var tmp0_0 = this.l27_1;
|
|
1883
|
+
var tmp$ret$21;
|
|
1873
1884
|
$l$block_0: {
|
|
1874
1885
|
// Inline function 'kotlin.collections.none' call
|
|
1875
|
-
var this_3 = this.b25_1;
|
|
1876
1886
|
var tmp_5;
|
|
1877
|
-
if (isInterface(
|
|
1878
|
-
tmp_5 =
|
|
1887
|
+
if (isInterface(tmp0_0, Collection)) {
|
|
1888
|
+
tmp_5 = tmp0_0.p();
|
|
1879
1889
|
} else {
|
|
1880
1890
|
tmp_5 = false;
|
|
1881
1891
|
}
|
|
1882
1892
|
if (tmp_5) {
|
|
1883
|
-
tmp$ret$
|
|
1893
|
+
tmp$ret$21 = true;
|
|
1884
1894
|
break $l$block_0;
|
|
1885
1895
|
}
|
|
1886
|
-
var
|
|
1887
|
-
while (
|
|
1888
|
-
var element_1 =
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
tmp$ret$17 = false;
|
|
1896
|
+
var _iterator__ex2g4s_4 = tmp0_0.j();
|
|
1897
|
+
while (_iterator__ex2g4s_4.k()) {
|
|
1898
|
+
var element_1 = _iterator__ex2g4s_4.l();
|
|
1899
|
+
if (equals(element_1.h22(), src.h22()) && equals(element_1.e24(), dst.e24())) {
|
|
1900
|
+
tmp$ret$21 = false;
|
|
1892
1901
|
break $l$block_0;
|
|
1893
1902
|
}
|
|
1894
1903
|
}
|
|
1895
|
-
tmp$ret$
|
|
1904
|
+
tmp$ret$21 = true;
|
|
1896
1905
|
}
|
|
1897
|
-
if (tmp$ret$
|
|
1898
|
-
// Inline function 'kotlin.collections.plusAssign' call
|
|
1906
|
+
if (tmp$ret$21) {
|
|
1899
1907
|
var tmp_6 = isInterface(src, ContextTranslator) ? src : THROW_CCE();
|
|
1908
|
+
// Inline function 'kotlin.collections.plusAssign' call
|
|
1900
1909
|
var element_2 = new CompositeContextTranslator(tmp_6, isInterface(dst, ContextTranslator) ? dst : THROW_CCE());
|
|
1901
1910
|
added.e(element_2);
|
|
1902
1911
|
}
|
|
@@ -1904,29 +1913,28 @@
|
|
|
1904
1913
|
}
|
|
1905
1914
|
}
|
|
1906
1915
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1907
|
-
var
|
|
1908
|
-
addAll(
|
|
1916
|
+
var this_2 = this.l27_1;
|
|
1917
|
+
addAll(this_2, added);
|
|
1909
1918
|
if (added.p())
|
|
1910
1919
|
break $l$loop;
|
|
1911
1920
|
}
|
|
1912
1921
|
}
|
|
1913
|
-
protoOf(DITreeImpl).
|
|
1914
|
-
return this.
|
|
1922
|
+
protoOf(DITreeImpl).f23 = function () {
|
|
1923
|
+
return this.g27_1;
|
|
1915
1924
|
};
|
|
1916
|
-
protoOf(DITreeImpl).
|
|
1917
|
-
return this.
|
|
1925
|
+
protoOf(DITreeImpl).e23 = function () {
|
|
1926
|
+
return this.k27_1;
|
|
1918
1927
|
};
|
|
1919
|
-
protoOf(DITreeImpl).
|
|
1928
|
+
protoOf(DITreeImpl).g23 = function (key, overrideLevel, all) {
|
|
1920
1929
|
if (!all) {
|
|
1921
|
-
var
|
|
1922
|
-
if (
|
|
1930
|
+
var tmp0_safe_receiver = this.i27_1.d2(key);
|
|
1931
|
+
if (tmp0_safe_receiver == null)
|
|
1923
1932
|
null;
|
|
1924
1933
|
else {
|
|
1925
1934
|
// Inline function 'kotlin.let' call
|
|
1926
|
-
|
|
1927
|
-
var
|
|
1928
|
-
var
|
|
1929
|
-
var translator = tmp52_safe_receiver.dh();
|
|
1935
|
+
var realKey = tmp0_safe_receiver.nd();
|
|
1936
|
+
var list = tmp0_safe_receiver.od();
|
|
1937
|
+
var translator = tmp0_safe_receiver.zi();
|
|
1930
1938
|
var tmp0_elvis_lhs = getOrNull(list, overrideLevel);
|
|
1931
1939
|
var tmp;
|
|
1932
1940
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -1939,24 +1947,22 @@
|
|
|
1939
1947
|
var tmp_1 = definition instanceof DIDefinition ? definition : THROW_CCE();
|
|
1940
1948
|
return listOf(new Triple(tmp_0, tmp_1, (translator == null ? true : isInterface(translator, ContextTranslator)) ? translator : THROW_CCE()));
|
|
1941
1949
|
}
|
|
1942
|
-
if (!equals(key.
|
|
1943
|
-
var anyContextKey = key.
|
|
1944
|
-
var
|
|
1945
|
-
if (
|
|
1950
|
+
if (!equals(key.m21_1, Companion_getInstance().q20_1)) {
|
|
1951
|
+
var anyContextKey = key.c22(Companion_getInstance().q20_1);
|
|
1952
|
+
var tmp1_safe_receiver = this.i27_1.d2(anyContextKey);
|
|
1953
|
+
if (tmp1_safe_receiver == null)
|
|
1946
1954
|
null;
|
|
1947
1955
|
else {
|
|
1948
1956
|
// Inline function 'kotlin.let' call
|
|
1949
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1950
1957
|
$l$block: {
|
|
1951
|
-
|
|
1952
|
-
var
|
|
1953
|
-
var
|
|
1954
|
-
|
|
1955
|
-
if (!(translator_0 == null) && !equals(translator_0.x1z(), key.c1z_1)) {
|
|
1958
|
+
var realKey_0 = tmp1_safe_receiver.nd();
|
|
1959
|
+
var list_0 = tmp1_safe_receiver.od();
|
|
1960
|
+
var translator_0 = tmp1_safe_receiver.zi();
|
|
1961
|
+
if (!(translator_0 == null) && !equals(translator_0.h22(), key.m21_1)) {
|
|
1956
1962
|
break $l$block;
|
|
1957
1963
|
}
|
|
1958
1964
|
// Inline function 'kotlin.collections.set' call
|
|
1959
|
-
this.
|
|
1965
|
+
this.i27_1.g2(key, tmp1_safe_receiver);
|
|
1960
1966
|
var tmp0_elvis_lhs_0 = getOrNull(list_0, overrideLevel);
|
|
1961
1967
|
var tmp_2;
|
|
1962
1968
|
if (tmp0_elvis_lhs_0 == null) {
|
|
@@ -1972,68 +1978,62 @@
|
|
|
1972
1978
|
}
|
|
1973
1979
|
}
|
|
1974
1980
|
// Inline function 'kotlin.collections.filter' call
|
|
1981
|
+
var tmp0 = this.l27_1;
|
|
1975
1982
|
// Inline function 'kotlin.collections.filterTo' call
|
|
1976
|
-
var this_0 = this.b25_1;
|
|
1977
1983
|
var destination = ArrayList_init_$Create$();
|
|
1978
|
-
var
|
|
1979
|
-
while (
|
|
1980
|
-
var element =
|
|
1981
|
-
|
|
1982
|
-
if (equals(element.x1z(), key.c1z_1)) {
|
|
1984
|
+
var _iterator__ex2g4s = tmp0.j();
|
|
1985
|
+
while (_iterator__ex2g4s.k()) {
|
|
1986
|
+
var element = _iterator__ex2g4s.l();
|
|
1987
|
+
if (equals(element.h22(), key.m21_1)) {
|
|
1983
1988
|
destination.e(element);
|
|
1984
1989
|
}
|
|
1985
1990
|
}
|
|
1986
1991
|
var tmp_5 = destination;
|
|
1987
1992
|
// Inline function 'kotlin.collections.filter' call
|
|
1993
|
+
var tmp0_0 = this.l27_1;
|
|
1988
1994
|
// Inline function 'kotlin.collections.filterTo' call
|
|
1989
|
-
var this_1 = this.b25_1;
|
|
1990
1995
|
var destination_0 = ArrayList_init_$Create$();
|
|
1991
|
-
var
|
|
1992
|
-
while (
|
|
1993
|
-
var element_0 =
|
|
1994
|
-
|
|
1995
|
-
if (equals(element_0.x1z(), Companion_getInstance().g1y_1)) {
|
|
1996
|
+
var _iterator__ex2g4s_0 = tmp0_0.j();
|
|
1997
|
+
while (_iterator__ex2g4s_0.k()) {
|
|
1998
|
+
var element_0 = _iterator__ex2g4s_0.l();
|
|
1999
|
+
if (equals(element_0.h22(), Companion_getInstance().q20_1)) {
|
|
1996
2000
|
destination_0.e(element_0);
|
|
1997
2001
|
}
|
|
1998
2002
|
}
|
|
1999
2003
|
var applicableTranslators = plus(tmp_5, destination_0);
|
|
2000
|
-
var
|
|
2001
|
-
while (
|
|
2002
|
-
var translator_1 =
|
|
2003
|
-
var translatedKey = new Key(translator_1.
|
|
2004
|
-
var
|
|
2004
|
+
var _iterator__ex2g4s_1 = applicableTranslators.j();
|
|
2005
|
+
while (_iterator__ex2g4s_1.k()) {
|
|
2006
|
+
var translator_1 = _iterator__ex2g4s_1.l();
|
|
2007
|
+
var translatedKey = new Key(translator_1.e24(), key.n21_1, key.o21_1, key.p21_1);
|
|
2008
|
+
var tmp2_safe_receiver = this.i27_1.d2(translatedKey);
|
|
2005
2009
|
var tmp_6;
|
|
2006
|
-
if (
|
|
2010
|
+
if (tmp2_safe_receiver == null) {
|
|
2007
2011
|
tmp_6 = null;
|
|
2008
2012
|
} else {
|
|
2009
2013
|
// Inline function 'kotlin.takeIf' call
|
|
2010
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
2011
2014
|
var tmp_7;
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
tmp_7 = tmp54_safe_receiver;
|
|
2015
|
+
if (tmp2_safe_receiver.yi_1 == null) {
|
|
2016
|
+
tmp_7 = tmp2_safe_receiver;
|
|
2015
2017
|
} else {
|
|
2016
2018
|
tmp_7 = null;
|
|
2017
2019
|
}
|
|
2018
2020
|
tmp_6 = tmp_7;
|
|
2019
2021
|
}
|
|
2020
|
-
var
|
|
2021
|
-
if (
|
|
2022
|
+
var tmp3_safe_receiver = tmp_6;
|
|
2023
|
+
if (tmp3_safe_receiver == null)
|
|
2022
2024
|
null;
|
|
2023
2025
|
else {
|
|
2024
2026
|
// Inline function 'kotlin.let' call
|
|
2025
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
2026
2027
|
$l$block_0: {
|
|
2027
|
-
|
|
2028
|
-
if (!(tmp55_safe_receiver.ch_1 == null)) {
|
|
2028
|
+
if (!(tmp3_safe_receiver.yi_1 == null)) {
|
|
2029
2029
|
break $l$block_0;
|
|
2030
2030
|
}
|
|
2031
|
+
var tmp0_1 = this.i27_1;
|
|
2031
2032
|
// Inline function 'kotlin.collections.set' call
|
|
2032
|
-
var
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
var
|
|
2036
|
-
var list_1 = tmp55_safe_receiver.ad();
|
|
2033
|
+
var value = tmp3_safe_receiver.bj(VOID, VOID, translator_1);
|
|
2034
|
+
tmp0_1.g2(key, value);
|
|
2035
|
+
var realKey_1 = tmp3_safe_receiver.nd();
|
|
2036
|
+
var list_1 = tmp3_safe_receiver.od();
|
|
2037
2037
|
var tmp0_elvis_lhs_1 = getOrNull(list_1, overrideLevel);
|
|
2038
2038
|
var tmp_8;
|
|
2039
2039
|
if (tmp0_elvis_lhs_1 == null) {
|
|
@@ -2049,49 +2049,47 @@
|
|
|
2049
2049
|
}
|
|
2050
2050
|
}
|
|
2051
2051
|
}
|
|
2052
|
-
var result = findBySpecs(this, new SearchSpecs(key.
|
|
2052
|
+
var result = findBySpecs(this, new SearchSpecs(key.m21_1, key.n21_1, key.o21_1, key.p21_1));
|
|
2053
2053
|
if (result.m() === 1) {
|
|
2054
2054
|
var _destruct__k2r9zo = first(result);
|
|
2055
|
-
var realKey_2 = _destruct__k2r9zo.
|
|
2056
|
-
var translator_2 = _destruct__k2r9zo.
|
|
2057
|
-
|
|
2058
|
-
var
|
|
2059
|
-
var
|
|
2060
|
-
var tmp0_elvis_lhs_2 = tmp56_safe_receiver == null ? null : tmp56_safe_receiver.fh(VOID, VOID, translator_2);
|
|
2055
|
+
var realKey_2 = _destruct__k2r9zo.nd();
|
|
2056
|
+
var translator_2 = _destruct__k2r9zo.od();
|
|
2057
|
+
var tmp0_2 = this.i27_1;
|
|
2058
|
+
var tmp4_safe_receiver = this.i27_1.d2(realKey_2);
|
|
2059
|
+
var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.bj(VOID, VOID, translator_2);
|
|
2061
2060
|
var tmp_11;
|
|
2062
|
-
if (
|
|
2061
|
+
if (tmp5_elvis_lhs == null) {
|
|
2063
2062
|
throw notInMap(this, realKey_2, key);
|
|
2064
2063
|
} else {
|
|
2065
|
-
tmp_11 =
|
|
2064
|
+
tmp_11 = tmp5_elvis_lhs;
|
|
2066
2065
|
}
|
|
2066
|
+
// Inline function 'kotlin.collections.set' call
|
|
2067
2067
|
var value_0 = tmp_11;
|
|
2068
|
-
|
|
2068
|
+
tmp0_2.g2(key, value_0);
|
|
2069
2069
|
}
|
|
2070
2070
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
2071
2071
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
2072
2072
|
var destination_1 = ArrayList_init_$Create$();
|
|
2073
2073
|
// Inline function 'kotlin.collections.forEach' call
|
|
2074
|
-
var
|
|
2075
|
-
while (
|
|
2076
|
-
var element_1 =
|
|
2077
|
-
|
|
2078
|
-
var tmp$ret$13;
|
|
2074
|
+
var _iterator__ex2g4s_2 = result.j();
|
|
2075
|
+
while (_iterator__ex2g4s_2.k()) {
|
|
2076
|
+
var element_1 = _iterator__ex2g4s_2.l();
|
|
2077
|
+
var tmp$ret$16;
|
|
2079
2078
|
$l$block_1: {
|
|
2080
|
-
|
|
2081
|
-
var
|
|
2082
|
-
var
|
|
2083
|
-
var tmp0_elvis_lhs_3 = this.y24_1.d2(realKey_3);
|
|
2079
|
+
var realKey_3 = element_1.nd();
|
|
2080
|
+
var translator_3 = element_1.od();
|
|
2081
|
+
var tmp0_elvis_lhs_2 = this.i27_1.d2(realKey_3);
|
|
2084
2082
|
var tmp_12;
|
|
2085
|
-
if (
|
|
2083
|
+
if (tmp0_elvis_lhs_2 == null) {
|
|
2086
2084
|
throw notInMap(this, realKey_3, key);
|
|
2087
2085
|
} else {
|
|
2088
|
-
tmp_12 =
|
|
2086
|
+
tmp_12 = tmp0_elvis_lhs_2;
|
|
2089
2087
|
}
|
|
2090
|
-
var definitions = tmp_12.
|
|
2088
|
+
var definitions = tmp_12.od();
|
|
2091
2089
|
var tmp1_elvis_lhs = getOrNull(definitions, overrideLevel);
|
|
2092
2090
|
var tmp_13;
|
|
2093
2091
|
if (tmp1_elvis_lhs == null) {
|
|
2094
|
-
tmp$ret$
|
|
2092
|
+
tmp$ret$16 = null;
|
|
2095
2093
|
break $l$block_1;
|
|
2096
2094
|
} else {
|
|
2097
2095
|
tmp_13 = tmp1_elvis_lhs;
|
|
@@ -2099,52 +2097,50 @@
|
|
|
2099
2097
|
var definition_2 = tmp_13;
|
|
2100
2098
|
var tmp_14 = realKey_3 instanceof Key ? realKey_3 : THROW_CCE();
|
|
2101
2099
|
var tmp_15 = definition_2 instanceof DIDefinition ? definition_2 : THROW_CCE();
|
|
2102
|
-
tmp$ret$
|
|
2100
|
+
tmp$ret$16 = new Triple(tmp_14, tmp_15, (translator_3 == null ? true : isInterface(translator_3, ContextTranslator)) ? translator_3 : THROW_CCE());
|
|
2103
2101
|
}
|
|
2104
|
-
var
|
|
2105
|
-
if (
|
|
2102
|
+
var tmp0_safe_receiver_0 = tmp$ret$16;
|
|
2103
|
+
if (tmp0_safe_receiver_0 == null)
|
|
2106
2104
|
null;
|
|
2107
2105
|
else {
|
|
2108
2106
|
// Inline function 'kotlin.let' call
|
|
2109
|
-
|
|
2110
|
-
destination_1.e(tmp0_safe_receiver);
|
|
2107
|
+
destination_1.e(tmp0_safe_receiver_0);
|
|
2111
2108
|
}
|
|
2112
2109
|
}
|
|
2113
2110
|
return destination_1;
|
|
2114
2111
|
};
|
|
2115
|
-
protoOf(DITreeImpl).
|
|
2112
|
+
protoOf(DITreeImpl).i23 = function (search) {
|
|
2116
2113
|
var result = findBySpecs(this, search);
|
|
2117
2114
|
// Inline function 'kotlin.collections.map' call
|
|
2118
2115
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2119
2116
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(result, 10));
|
|
2120
|
-
var
|
|
2121
|
-
while (
|
|
2122
|
-
var item =
|
|
2123
|
-
|
|
2124
|
-
var
|
|
2125
|
-
var
|
|
2126
|
-
var tmp$ret$0 = new Triple(key, ensureNotNull(this.y24_1.d2(key)).bh_1, translator);
|
|
2117
|
+
var _iterator__ex2g4s = result.j();
|
|
2118
|
+
while (_iterator__ex2g4s.k()) {
|
|
2119
|
+
var item = _iterator__ex2g4s.l();
|
|
2120
|
+
var key = item.nd();
|
|
2121
|
+
var translator = item.od();
|
|
2122
|
+
var tmp$ret$0 = new Triple(key, ensureNotNull(this.i27_1.d2(key)).xi_1, translator);
|
|
2127
2123
|
destination.e(tmp$ret$0);
|
|
2128
2124
|
}
|
|
2129
2125
|
return destination;
|
|
2130
2126
|
};
|
|
2131
|
-
protoOf(DITreeImpl).
|
|
2132
|
-
var tmp = this.
|
|
2127
|
+
protoOf(DITreeImpl).j23 = function (key) {
|
|
2128
|
+
var tmp = this.i27_1.d2(key);
|
|
2133
2129
|
return (tmp == null ? true : tmp instanceof Triple) ? tmp : THROW_CCE();
|
|
2134
2130
|
};
|
|
2135
2131
|
function Down(type) {
|
|
2136
2132
|
TypeChecker.call(this);
|
|
2137
|
-
this.
|
|
2138
|
-
this.
|
|
2133
|
+
this.n27_1 = type;
|
|
2134
|
+
this.o27_1 = equals(this.n27_1, Companion_getInstance().q20_1);
|
|
2139
2135
|
}
|
|
2140
|
-
protoOf(Down).
|
|
2141
|
-
return this.
|
|
2136
|
+
protoOf(Down).m27 = function (other) {
|
|
2137
|
+
return this.o27_1 || this.n27_1.z20(other);
|
|
2142
2138
|
};
|
|
2143
2139
|
protoOf(Down).toString = function () {
|
|
2144
|
-
return 'Down(type=' + toString_0(this.
|
|
2140
|
+
return 'Down(type=' + toString_0(this.n27_1) + ')';
|
|
2145
2141
|
};
|
|
2146
2142
|
protoOf(Down).hashCode = function () {
|
|
2147
|
-
return hashCode(this.
|
|
2143
|
+
return hashCode(this.n27_1);
|
|
2148
2144
|
};
|
|
2149
2145
|
protoOf(Down).equals = function (other) {
|
|
2150
2146
|
if (this === other)
|
|
@@ -2152,22 +2148,22 @@
|
|
|
2152
2148
|
if (!(other instanceof Down))
|
|
2153
2149
|
return false;
|
|
2154
2150
|
var tmp0_other_with_cast = other instanceof Down ? other : THROW_CCE();
|
|
2155
|
-
if (!equals(this.
|
|
2151
|
+
if (!equals(this.n27_1, tmp0_other_with_cast.n27_1))
|
|
2156
2152
|
return false;
|
|
2157
2153
|
return true;
|
|
2158
2154
|
};
|
|
2159
2155
|
function Up(type) {
|
|
2160
2156
|
TypeChecker.call(this);
|
|
2161
|
-
this.
|
|
2157
|
+
this.p27_1 = type;
|
|
2162
2158
|
}
|
|
2163
|
-
protoOf(Up).
|
|
2164
|
-
return equals(other, Companion_getInstance().
|
|
2159
|
+
protoOf(Up).m27 = function (other) {
|
|
2160
|
+
return equals(other, Companion_getInstance().q20_1) || other.z20(this.p27_1);
|
|
2165
2161
|
};
|
|
2166
2162
|
protoOf(Up).toString = function () {
|
|
2167
|
-
return 'Up(type=' + toString_0(this.
|
|
2163
|
+
return 'Up(type=' + toString_0(this.p27_1) + ')';
|
|
2168
2164
|
};
|
|
2169
2165
|
protoOf(Up).hashCode = function () {
|
|
2170
|
-
return hashCode(this.
|
|
2166
|
+
return hashCode(this.p27_1);
|
|
2171
2167
|
};
|
|
2172
2168
|
protoOf(Up).equals = function (other) {
|
|
2173
2169
|
if (this === other)
|
|
@@ -2175,66 +2171,64 @@
|
|
|
2175
2171
|
if (!(other instanceof Up))
|
|
2176
2172
|
return false;
|
|
2177
2173
|
var tmp0_other_with_cast = other instanceof Up ? other : THROW_CCE();
|
|
2178
|
-
if (!equals(this.
|
|
2174
|
+
if (!equals(this.p27_1, tmp0_other_with_cast.p27_1))
|
|
2179
2175
|
return false;
|
|
2180
2176
|
return true;
|
|
2181
2177
|
};
|
|
2182
2178
|
function TypeChecker() {
|
|
2183
2179
|
}
|
|
2184
2180
|
function DirectDIBaseImpl(container, context) {
|
|
2185
|
-
this.
|
|
2186
|
-
this.
|
|
2181
|
+
this.q27_1 = container;
|
|
2182
|
+
this.r27_1 = context;
|
|
2187
2183
|
}
|
|
2188
|
-
protoOf(DirectDIBaseImpl).
|
|
2189
|
-
return this.
|
|
2184
|
+
protoOf(DirectDIBaseImpl).p22 = function () {
|
|
2185
|
+
return this.q27_1;
|
|
2190
2186
|
};
|
|
2191
|
-
protoOf(DirectDIBaseImpl).
|
|
2187
|
+
protoOf(DirectDIBaseImpl).n23 = function () {
|
|
2192
2188
|
return this;
|
|
2193
2189
|
};
|
|
2194
|
-
protoOf(DirectDIBaseImpl).
|
|
2195
|
-
var tmp = this.
|
|
2196
|
-
return On(new DIImpl(tmp instanceof DIContainerImpl ? tmp : THROW_CCE()), this.
|
|
2190
|
+
protoOf(DirectDIBaseImpl).k23 = function () {
|
|
2191
|
+
var tmp = this.p22();
|
|
2192
|
+
return On(new DIImpl(tmp instanceof DIContainerImpl ? tmp : THROW_CCE()), this.r27_1);
|
|
2197
2193
|
};
|
|
2198
|
-
protoOf(DirectDIBaseImpl).
|
|
2199
|
-
return createDirectDI(this.
|
|
2194
|
+
protoOf(DirectDIBaseImpl).l23 = function (context) {
|
|
2195
|
+
return createDirectDI(this.p22(), context);
|
|
2200
2196
|
};
|
|
2201
|
-
protoOf(DirectDIBaseImpl).
|
|
2202
|
-
var tmp = this.
|
|
2197
|
+
protoOf(DirectDIBaseImpl).m23 = function (type, tag) {
|
|
2198
|
+
var tmp = this.p22();
|
|
2203
2199
|
// Inline function 'org.kodein.di.internal.anyType' call
|
|
2204
|
-
var tmp_0 = this.
|
|
2200
|
+
var tmp_0 = this.r27_1.u22();
|
|
2205
2201
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2206
|
-
return tmp.
|
|
2202
|
+
return tmp.a23(new Key(tmp$ret$0, Companion_getInstance().p20_1, type, tag), this.r27_1.a2())();
|
|
2207
2203
|
};
|
|
2208
2204
|
function DIProperty$provideDelegate$lambda($receiver, this$0, $prop) {
|
|
2209
2205
|
return function () {
|
|
2210
2206
|
var tmp;
|
|
2211
|
-
if (!($receiver == null) && this$0.
|
|
2207
|
+
if (!($receiver == null) && this$0.t27_1 === get_AnyDIContext()) {
|
|
2212
2208
|
var tmp_0 = Companion_instance_0;
|
|
2213
2209
|
var tmp_1 = erasedOf($receiver);
|
|
2214
|
-
tmp = tmp_0.
|
|
2210
|
+
tmp = tmp_0.v22(isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE(), $receiver);
|
|
2215
2211
|
} else {
|
|
2216
|
-
tmp = this$0.
|
|
2212
|
+
tmp = this$0.t27_1;
|
|
2217
2213
|
}
|
|
2218
2214
|
var context = tmp;
|
|
2219
|
-
return this$0.
|
|
2215
|
+
return this$0.u27_1(context, $prop.callableName);
|
|
2220
2216
|
};
|
|
2221
2217
|
}
|
|
2222
2218
|
function DIProperty(trigger, originalContext, get) {
|
|
2223
|
-
this.
|
|
2224
|
-
this.
|
|
2225
|
-
this.
|
|
2219
|
+
this.s27_1 = trigger;
|
|
2220
|
+
this.t27_1 = originalContext;
|
|
2221
|
+
this.u27_1 = get;
|
|
2226
2222
|
}
|
|
2227
|
-
protoOf(DIProperty).
|
|
2223
|
+
protoOf(DIProperty).v27 = function (receiver, prop) {
|
|
2228
2224
|
// Inline function 'kotlin.also' call
|
|
2229
2225
|
var this_0 = lazy(DIProperty$provideDelegate$lambda(receiver, this, prop));
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
var tmp63_safe_receiver = tmp62_safe_receiver == null ? null : tmp62_safe_receiver.m25_1;
|
|
2234
|
-
if (tmp63_safe_receiver == null)
|
|
2226
|
+
var tmp0_safe_receiver = this.s27_1;
|
|
2227
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w27_1;
|
|
2228
|
+
if (tmp1_safe_receiver == null)
|
|
2235
2229
|
null;
|
|
2236
2230
|
else
|
|
2237
|
-
|
|
2231
|
+
tmp1_safe_receiver.e(this_0);
|
|
2238
2232
|
return this_0;
|
|
2239
2233
|
};
|
|
2240
2234
|
function createDirectDI(container, context) {
|
|
@@ -2250,25 +2244,25 @@
|
|
|
2250
2244
|
return ArrayList_init_$Create$();
|
|
2251
2245
|
}
|
|
2252
2246
|
//region block: post-declaration
|
|
2253
|
-
protoOf(Singleton).
|
|
2254
|
-
protoOf(Singleton).
|
|
2255
|
-
protoOf(Singleton).
|
|
2256
|
-
protoOf(Singleton).
|
|
2257
|
-
protoOf(Provider).
|
|
2258
|
-
protoOf(Provider).
|
|
2259
|
-
protoOf(Provider).
|
|
2260
|
-
protoOf(Provider).
|
|
2261
|
-
protoOf(Provider).
|
|
2262
|
-
protoOf(Provider).
|
|
2263
|
-
protoOf(DIBuilderImpl).
|
|
2264
|
-
protoOf(DIContainerImpl).
|
|
2265
|
-
protoOf(DIContainerImpl).
|
|
2266
|
-
protoOf(DIContainerImpl).
|
|
2267
|
-
protoOf(DIImpl).
|
|
2268
|
-
protoOf(DIImpl).
|
|
2269
|
-
protoOf(DIImpl).
|
|
2270
|
-
protoOf(DITreeImpl).
|
|
2271
|
-
protoOf(DirectDIBaseImpl).
|
|
2247
|
+
protoOf(Singleton).x23 = get_argType;
|
|
2248
|
+
protoOf(Singleton).s21 = get_description;
|
|
2249
|
+
protoOf(Singleton).u21 = get_fullDescription;
|
|
2250
|
+
protoOf(Singleton).z23 = get_supportSubTypes;
|
|
2251
|
+
protoOf(Provider).x23 = get_argType;
|
|
2252
|
+
protoOf(Provider).w23 = factoryFullName;
|
|
2253
|
+
protoOf(Provider).j22 = get_scope;
|
|
2254
|
+
protoOf(Provider).s21 = get_description;
|
|
2255
|
+
protoOf(Provider).u21 = get_fullDescription;
|
|
2256
|
+
protoOf(Provider).z23 = get_supportSubTypes;
|
|
2257
|
+
protoOf(DIBuilderImpl).g22 = import$default;
|
|
2258
|
+
protoOf(DIContainerImpl).c23 = factory$default;
|
|
2259
|
+
protoOf(DIContainerImpl).d23 = provider;
|
|
2260
|
+
protoOf(DIContainerImpl).a23 = provider$default;
|
|
2261
|
+
protoOf(DIImpl).o22 = get_di;
|
|
2262
|
+
protoOf(DIImpl).q22 = get_diContext;
|
|
2263
|
+
protoOf(DIImpl).r22 = get_diTrigger;
|
|
2264
|
+
protoOf(DITreeImpl).h23 = find$default;
|
|
2265
|
+
protoOf(DirectDIBaseImpl).o22 = get_di_0;
|
|
2272
2266
|
//endregion
|
|
2273
2267
|
//region block: init
|
|
2274
2268
|
Companion_instance = new Companion();
|