game_client_logic_deb 1.6.38 → 1.6.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/88b0986a7186d029-atomicfu-js-ir.js +26 -26
- package/88b0986a7186d029-atomicfu-js-ir.js.map +1 -1
- package/{KosiTypeSystem-kaverit.js → Kosi-Kaverit-kaverit.js} +115 -115
- package/Kosi-Kaverit-kaverit.js.map +1 -0
- package/{Kodein-kodein-di.js → Kosi-Kodein-kodein-di.js} +696 -605
- package/Kosi-Kodein-kodein-di.js.map +1 -0
- package/Kotlin-DateTime-library-kotlinx-datetime.js +798 -0
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -0
- package/Logic_Debertz-core.js +2576 -1968
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +12431 -11582
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +97 -44
- package/Logic_Debertz-game_client.js +4994 -4821
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +2473 -2080
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js +15 -0
- package/kotlinx-io-kotlinx-io-bytestring.js.map +1 -0
- package/kotlinx-io-kotlinx-io-core.js +1191 -0
- package/kotlinx-io-kotlinx-io-core.js.map +1 -0
- package/{kotlinx-serialization-kotlinx-serialization-core-js-ir.js → kotlinx-serialization-kotlinx-serialization-core.js} +1977 -1969
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -0
- package/{kotlinx-serialization-kotlinx-serialization-json-js-ir.js → kotlinx-serialization-kotlinx-serialization-json.js} +1693 -1493
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -0
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +2591 -2584
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
- package/{uuid-js-ir.js → uuid.js} +40 -40
- package/uuid.js.map +1 -0
- package/Kodein-kodein-di.js.map +0 -1
- package/KosiTypeSystem-kaverit.js.map +0 -1
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +0 -386
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.map +0 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +0 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +0 -1
- package/uuid-js-ir.js.map +0 -1
|
@@ -1,86 +1,86 @@
|
|
|
1
1
|
(function (root, factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
|
-
define(['exports', './kotlin-kotlin-stdlib.js', './
|
|
3
|
+
define(['exports', './kotlin-kotlin-stdlib.js', './Kosi-Kaverit-kaverit.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
|
-
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./
|
|
5
|
+
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./Kosi-Kaverit-kaverit.js'));
|
|
6
6
|
else {
|
|
7
7
|
if (typeof this['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
8
|
-
throw new Error("Error loading module 'Kodein-kodein-di'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'Kodein-kodein-di'.");
|
|
8
|
+
throw new Error("Error loading module 'Kosi-Kodein-kodein-di'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'Kosi-Kodein-kodein-di'.");
|
|
9
9
|
}
|
|
10
|
-
if (typeof this['
|
|
11
|
-
throw new Error("Error loading module 'Kodein-kodein-di'. Its dependency '
|
|
10
|
+
if (typeof this['Kosi-Kaverit-kaverit'] === 'undefined') {
|
|
11
|
+
throw new Error("Error loading module 'Kosi-Kodein-kodein-di'. Its dependency 'Kosi-Kaverit-kaverit' was not found. Please, check whether 'Kosi-Kaverit-kaverit' is loaded prior to 'Kosi-Kodein-kodein-di'.");
|
|
12
12
|
}
|
|
13
|
-
root['Kodein-kodein-di'] = factory(typeof this['Kodein-kodein-di'] === 'undefined' ? {} : this['Kodein-kodein-di'], this['kotlin-kotlin-stdlib'], this['
|
|
13
|
+
root['Kosi-Kodein-kodein-di'] = factory(typeof this['Kosi-Kodein-kodein-di'] === 'undefined' ? {} : this['Kosi-Kodein-kodein-di'], this['kotlin-kotlin-stdlib'], this['Kosi-Kaverit-kaverit']);
|
|
14
14
|
}
|
|
15
15
|
}(this, function (_, kotlin_kotlin, kotlin_org_kodein_type_kaverit) {
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
18
|
var imul = Math.imul;
|
|
19
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
20
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
21
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
19
|
+
var protoOf = kotlin_kotlin.$_$.ua;
|
|
20
|
+
var classMeta = kotlin_kotlin.$_$.r9;
|
|
21
|
+
var setMetadataFor = kotlin_kotlin.$_$.va;
|
|
22
22
|
var VOID = kotlin_kotlin.$_$.f;
|
|
23
23
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.v;
|
|
24
|
-
var first = kotlin_kotlin.$_$.
|
|
24
|
+
var first = kotlin_kotlin.$_$.r6;
|
|
25
25
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.m;
|
|
26
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
27
|
-
var filterNotNull = kotlin_kotlin.$_$.
|
|
28
|
-
var sorted = kotlin_kotlin.$_$.
|
|
26
|
+
var Unit_instance = kotlin_kotlin.$_$.y4;
|
|
27
|
+
var filterNotNull = kotlin_kotlin.$_$.o6;
|
|
28
|
+
var sorted = kotlin_kotlin.$_$.b8;
|
|
29
29
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.e1;
|
|
30
|
-
var repeat = kotlin_kotlin.$_$.
|
|
31
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
32
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
33
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
34
|
-
var toString = kotlin_kotlin.$_$.
|
|
30
|
+
var repeat = kotlin_kotlin.$_$.ec;
|
|
31
|
+
var ensureNotNull = kotlin_kotlin.$_$.ke;
|
|
32
|
+
var KProperty1 = kotlin_kotlin.$_$.lb;
|
|
33
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.y9;
|
|
34
|
+
var toString = kotlin_kotlin.$_$.ve;
|
|
35
35
|
var Companion_getInstance = kotlin_org_kodein_type_kaverit.$_$.a;
|
|
36
|
-
var equals = kotlin_kotlin.$_$.
|
|
37
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
38
|
-
var RuntimeException = kotlin_kotlin.$_$.
|
|
39
|
-
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.
|
|
40
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
41
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
42
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
43
|
-
var interfaceMeta = kotlin_kotlin.$_$.
|
|
44
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
45
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
46
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
47
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
36
|
+
var equals = kotlin_kotlin.$_$.u9;
|
|
37
|
+
var objectCreate = kotlin_kotlin.$_$.sa;
|
|
38
|
+
var RuntimeException = kotlin_kotlin.$_$.sd;
|
|
39
|
+
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.z1;
|
|
40
|
+
var captureStack = kotlin_kotlin.$_$.l9;
|
|
41
|
+
var hashCode = kotlin_kotlin.$_$.aa;
|
|
42
|
+
var THROW_CCE = kotlin_kotlin.$_$.td;
|
|
43
|
+
var interfaceMeta = kotlin_kotlin.$_$.ba;
|
|
44
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.q1;
|
|
45
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.w9;
|
|
46
|
+
var getStringHashCode = kotlin_kotlin.$_$.z9;
|
|
47
|
+
var objectMeta = kotlin_kotlin.$_$.ta;
|
|
48
48
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
49
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
50
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
49
|
+
var isInterface = kotlin_kotlin.$_$.ja;
|
|
50
|
+
var joinToString = kotlin_kotlin.$_$.a7;
|
|
51
51
|
var erasedOf = kotlin_org_kodein_type_kaverit.$_$.c;
|
|
52
52
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.l;
|
|
53
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
53
|
+
var toString_0 = kotlin_kotlin.$_$.za;
|
|
54
54
|
var HashSet_init_$Create$ = kotlin_kotlin.$_$.s;
|
|
55
55
|
var HashMap_init_$Create$ = kotlin_kotlin.$_$.p;
|
|
56
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
57
|
-
var Enum = kotlin_kotlin.$_$.
|
|
58
|
-
var Map = kotlin_kotlin.$_$.
|
|
59
|
-
var listOf = kotlin_kotlin.$_$.
|
|
60
|
-
var plus = kotlin_kotlin.$_$.
|
|
61
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
62
|
-
var plus_0 = kotlin_kotlin.$_$.
|
|
63
|
-
var checkIndexOverflow = kotlin_kotlin.$_$.
|
|
64
|
-
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.
|
|
65
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
66
|
-
var mapCapacity = kotlin_kotlin.$_$.
|
|
67
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
56
|
+
var charSequenceLength = kotlin_kotlin.$_$.p9;
|
|
57
|
+
var Enum = kotlin_kotlin.$_$.id;
|
|
58
|
+
var Map = kotlin_kotlin.$_$.h5;
|
|
59
|
+
var listOf = kotlin_kotlin.$_$.j7;
|
|
60
|
+
var plus = kotlin_kotlin.$_$.t7;
|
|
61
|
+
var emptyList = kotlin_kotlin.$_$.l6;
|
|
62
|
+
var plus_0 = kotlin_kotlin.$_$.u7;
|
|
63
|
+
var checkIndexOverflow = kotlin_kotlin.$_$.s5;
|
|
64
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.l2;
|
|
65
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.t5;
|
|
66
|
+
var mapCapacity = kotlin_kotlin.$_$.l7;
|
|
67
|
+
var coerceAtLeast = kotlin_kotlin.$_$.db;
|
|
68
68
|
var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.u;
|
|
69
|
-
var to = kotlin_kotlin.$_$.
|
|
70
|
-
var KProperty0 = kotlin_kotlin.$_$.
|
|
71
|
-
var lazy = kotlin_kotlin.$_$.
|
|
72
|
-
var asSequence = kotlin_kotlin.$_$.
|
|
73
|
-
var filter = kotlin_kotlin.$_$.
|
|
74
|
-
var flatMap = kotlin_kotlin.$_$.
|
|
75
|
-
var mapNotNull = kotlin_kotlin.$_$.
|
|
76
|
-
var map = kotlin_kotlin.$_$.
|
|
77
|
-
var toList = kotlin_kotlin.$_$.
|
|
78
|
-
var Triple = kotlin_kotlin.$_$.
|
|
69
|
+
var to = kotlin_kotlin.$_$.we;
|
|
70
|
+
var KProperty0 = kotlin_kotlin.$_$.kb;
|
|
71
|
+
var lazy = kotlin_kotlin.$_$.pe;
|
|
72
|
+
var asSequence = kotlin_kotlin.$_$.q5;
|
|
73
|
+
var filter = kotlin_kotlin.$_$.nb;
|
|
74
|
+
var flatMap = kotlin_kotlin.$_$.pb;
|
|
75
|
+
var mapNotNull = kotlin_kotlin.$_$.qb;
|
|
76
|
+
var map = kotlin_kotlin.$_$.rb;
|
|
77
|
+
var toList = kotlin_kotlin.$_$.sb;
|
|
78
|
+
var Triple = kotlin_kotlin.$_$.vd;
|
|
79
79
|
var ArrayList_init_$Create$_1 = kotlin_kotlin.$_$.n;
|
|
80
80
|
var HashMap_init_$Create$_0 = kotlin_kotlin.$_$.q;
|
|
81
|
-
var Collection = kotlin_kotlin.$_$.
|
|
82
|
-
var addAll = kotlin_kotlin.$_$.
|
|
83
|
-
var getOrNull = kotlin_kotlin.$_$.
|
|
81
|
+
var Collection = kotlin_kotlin.$_$.a5;
|
|
82
|
+
var addAll = kotlin_kotlin.$_$.m5;
|
|
83
|
+
var getOrNull = kotlin_kotlin.$_$.u6;
|
|
84
84
|
//endregion
|
|
85
85
|
//region block: pre-declaration
|
|
86
86
|
setMetadataFor(DIDefining, 'DIDefining', classMeta);
|
|
@@ -93,10 +93,10 @@
|
|
|
93
93
|
allowOverride = allowOverride === VOID ? false : allowOverride;
|
|
94
94
|
var tmp;
|
|
95
95
|
if ($super === VOID) {
|
|
96
|
-
this.
|
|
96
|
+
this.v1g(module_0, allowOverride);
|
|
97
97
|
tmp = Unit_instance;
|
|
98
98
|
} else {
|
|
99
|
-
tmp = $super.
|
|
99
|
+
tmp = $super.v1g.call(this, module_0, allowOverride);
|
|
100
100
|
}
|
|
101
101
|
return tmp;
|
|
102
102
|
}
|
|
@@ -121,26 +121,45 @@
|
|
|
121
121
|
setMetadataFor(DIWrapper, 'DIWrapper', classMeta, 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.s1h(key, context, overrideLevel) : $super.s1h.call(this, key, context, overrideLevel);
|
|
125
|
+
}
|
|
126
|
+
function factoryOrNull$default(key, context, overrideLevel, $super) {
|
|
127
|
+
overrideLevel = overrideLevel === VOID ? 0 : overrideLevel;
|
|
128
|
+
return $super === VOID ? this.u1h(key, context, overrideLevel) : $super.u1h.call(this, key, context, overrideLevel);
|
|
125
129
|
}
|
|
126
130
|
function provider(key, context, overrideLevel) {
|
|
127
131
|
// Inline function 'org.kodein.di.toProvider' call
|
|
128
|
-
var this_0 = this.
|
|
132
|
+
var this_0 = this.t1h(key, context);
|
|
129
133
|
return DIContainer$provider$lambda(this_0);
|
|
130
134
|
}
|
|
131
135
|
function provider$default(key, context, overrideLevel, $super) {
|
|
132
136
|
overrideLevel = overrideLevel === VOID ? 0 : overrideLevel;
|
|
133
|
-
return $super === VOID ? this.
|
|
137
|
+
return $super === VOID ? this.w1h(key, context, overrideLevel) : provider(key, context, overrideLevel);
|
|
138
|
+
}
|
|
139
|
+
function providerOrNull(key, context, overrideLevel) {
|
|
140
|
+
var tmp0_safe_receiver = this.v1h(key, context);
|
|
141
|
+
var tmp;
|
|
142
|
+
if (tmp0_safe_receiver == null) {
|
|
143
|
+
tmp = null;
|
|
144
|
+
} else {
|
|
145
|
+
// Inline function 'org.kodein.di.toProvider' call
|
|
146
|
+
tmp = DIContainer$providerOrNull$lambda(tmp0_safe_receiver);
|
|
147
|
+
}
|
|
148
|
+
return tmp;
|
|
149
|
+
}
|
|
150
|
+
function providerOrNull$default(key, context, overrideLevel, $super) {
|
|
151
|
+
overrideLevel = overrideLevel === VOID ? 0 : overrideLevel;
|
|
152
|
+
return $super === VOID ? this.x1h(key, context, overrideLevel) : providerOrNull(key, context, overrideLevel);
|
|
134
153
|
}
|
|
135
154
|
setMetadataFor(DIContainer, 'DIContainer', interfaceMeta);
|
|
136
155
|
function find$default(key, overrideLevel, all, $super) {
|
|
137
156
|
overrideLevel = overrideLevel === VOID ? 0 : overrideLevel;
|
|
138
157
|
all = all === VOID ? false : all;
|
|
139
|
-
return $super === VOID ? this.
|
|
158
|
+
return $super === VOID ? this.a1i(key, overrideLevel, all) : $super.a1i.call(this, key, overrideLevel, all);
|
|
140
159
|
}
|
|
141
160
|
setMetadataFor(DITree, 'DITree', interfaceMeta);
|
|
142
161
|
function get_di_0() {
|
|
143
|
-
return this.
|
|
162
|
+
return this.e1i();
|
|
144
163
|
}
|
|
145
164
|
setMetadataFor(DirectDIBase, 'DirectDIBase', interfaceMeta);
|
|
146
165
|
setMetadataFor(NoDefinedTag, 'NoDefinedTag', objectMeta);
|
|
@@ -150,19 +169,19 @@
|
|
|
150
169
|
setMetadataFor(DIBinding$Copier$Companion$invoke$1, VOID, classMeta);
|
|
151
170
|
setMetadataFor(Companion_1, 'Companion', objectMeta);
|
|
152
171
|
function factoryFullName() {
|
|
153
|
-
return this.
|
|
172
|
+
return this.p1i();
|
|
154
173
|
}
|
|
155
174
|
function get_scope() {
|
|
156
175
|
return null;
|
|
157
176
|
}
|
|
158
177
|
function get_description() {
|
|
159
|
-
var arg = !equals(this.
|
|
178
|
+
var arg = !equals(this.r1i(), Companion_getInstance().f1f_1) ? this.r1i().h1f() + ' -> ' : '';
|
|
160
179
|
var tmp;
|
|
161
|
-
var tmp_0 = this.
|
|
180
|
+
var tmp_0 = this.z1g();
|
|
162
181
|
if (tmp_0 instanceof NoScope) {
|
|
163
182
|
tmp = null;
|
|
164
183
|
} else {
|
|
165
|
-
tmp = this.
|
|
184
|
+
tmp = this.z1g();
|
|
166
185
|
}
|
|
167
186
|
var scope = tmp;
|
|
168
187
|
var tmp_1;
|
|
@@ -172,20 +191,20 @@
|
|
|
172
191
|
// Inline function 'kotlin.let' call
|
|
173
192
|
// Inline function 'kotlin.contracts.contract' call
|
|
174
193
|
// Inline function 'org.kodein.di.bindings.DIBinding.<get-description>.<anonymous>' call
|
|
175
|
-
tmp_1 = 'scoped(' + erasedOf(scope).
|
|
194
|
+
tmp_1 = 'scoped(' + erasedOf(scope).h1f() + ').';
|
|
176
195
|
}
|
|
177
196
|
var tmp1_elvis_lhs = tmp_1;
|
|
178
|
-
var context = tmp1_elvis_lhs == null ? !equals(this.
|
|
179
|
-
return context + this.
|
|
197
|
+
var context = tmp1_elvis_lhs == null ? !equals(this.x1g(), Companion_getInstance().g1f_1) ? 'contexted<' + this.x1g().h1f() + '>().' : '' : tmp1_elvis_lhs;
|
|
198
|
+
return context + this.p1i() + ' { ' + arg + this.s1i().h1f() + ' }';
|
|
180
199
|
}
|
|
181
200
|
function get_fullDescription() {
|
|
182
|
-
var arg = !equals(this.
|
|
201
|
+
var arg = !equals(this.r1i(), Companion_getInstance().f1f_1) ? this.r1i().j1f() + ' -> ' : '';
|
|
183
202
|
var tmp;
|
|
184
|
-
var tmp_0 = this.
|
|
203
|
+
var tmp_0 = this.z1g();
|
|
185
204
|
if (tmp_0 instanceof NoScope) {
|
|
186
205
|
tmp = null;
|
|
187
206
|
} else {
|
|
188
|
-
tmp = this.
|
|
207
|
+
tmp = this.z1g();
|
|
189
208
|
}
|
|
190
209
|
var scope = tmp;
|
|
191
210
|
var tmp_1;
|
|
@@ -195,18 +214,18 @@
|
|
|
195
214
|
// Inline function 'kotlin.let' call
|
|
196
215
|
// Inline function 'kotlin.contracts.contract' call
|
|
197
216
|
// Inline function 'org.kodein.di.bindings.DIBinding.<get-fullDescription>.<anonymous>' call
|
|
198
|
-
tmp_1 = 'scoped(' + erasedOf(scope).
|
|
217
|
+
tmp_1 = 'scoped(' + erasedOf(scope).j1f() + ').';
|
|
199
218
|
}
|
|
200
219
|
var tmp1_elvis_lhs = tmp_1;
|
|
201
|
-
var context = tmp1_elvis_lhs == null ? !equals(this.
|
|
202
|
-
return context + this.
|
|
220
|
+
var context = tmp1_elvis_lhs == null ? !equals(this.x1g(), Companion_getInstance().g1f_1) ? 'contexted<' + this.x1g().j1f() + '>().' : '' : tmp1_elvis_lhs;
|
|
221
|
+
return context + this.q1i() + ' { ' + arg + this.s1i().j1f() + ' }';
|
|
203
222
|
}
|
|
204
223
|
function get_supportSubTypes() {
|
|
205
224
|
return false;
|
|
206
225
|
}
|
|
207
226
|
setMetadataFor(DIBinding, 'DIBinding', interfaceMeta);
|
|
208
227
|
function get_argType() {
|
|
209
|
-
return Companion_getInstance().
|
|
228
|
+
return Companion_getInstance().f1f_1;
|
|
210
229
|
}
|
|
211
230
|
setMetadataFor(NoArgDIBinding, 'NoArgDIBinding', interfaceMeta, VOID, [DIBinding]);
|
|
212
231
|
setMetadataFor(SingletonReference, 'SingletonReference', objectMeta);
|
|
@@ -216,8 +235,8 @@
|
|
|
216
235
|
setMetadataFor(NoScope, 'NoScope', classMeta, VOID, VOID, NoScope);
|
|
217
236
|
setMetadataFor(StandardScopeRegistry, 'StandardScopeRegistry', classMeta, ScopeRegistry, VOID, StandardScopeRegistry);
|
|
218
237
|
setMetadataFor(CompositeContextTranslator, 'CompositeContextTranslator', classMeta, VOID, [ContextTranslator]);
|
|
219
|
-
setMetadataFor(Singleton, 'Singleton', classMeta, VOID, [NoArgDIBinding]);
|
|
220
238
|
setMetadataFor(Provider, 'Provider', classMeta, VOID, [NoArgDIBinding]);
|
|
239
|
+
setMetadataFor(Singleton, 'Singleton', classMeta, VOID, [NoArgDIBinding]);
|
|
221
240
|
setMetadataFor(ScopeKey, 'ScopeKey', classMeta);
|
|
222
241
|
setMetadataFor(DIBuilderImpl, 'DIBuilderImpl', classMeta, VOID, [Builder]);
|
|
223
242
|
setMetadataFor(DIMainBuilderImpl, 'DIMainBuilderImpl', classMeta, DIBuilderImpl, [DIBuilderImpl, Builder]);
|
|
@@ -243,7 +262,7 @@
|
|
|
243
262
|
//endregion
|
|
244
263
|
function DIDefinition(binding, fromModule, tree) {
|
|
245
264
|
DIDefining.call(this, binding, fromModule);
|
|
246
|
-
this.
|
|
265
|
+
this.z1f_1 = tree;
|
|
247
266
|
}
|
|
248
267
|
function description(_this__u8e3s4, withOverrides, ident) {
|
|
249
268
|
withOverrides = withOverrides === VOID ? false : withOverrides;
|
|
@@ -251,8 +270,8 @@
|
|
|
251
270
|
return descriptionImpl(_this__u8e3s4, withOverrides, ident, bindDescription$factory(), description$factory());
|
|
252
271
|
}
|
|
253
272
|
function DIDefining(binding, fromModule) {
|
|
254
|
-
this.
|
|
255
|
-
this.
|
|
273
|
+
this.a1g_1 = binding;
|
|
274
|
+
this.b1g_1 = fromModule;
|
|
256
275
|
}
|
|
257
276
|
function descriptionImpl(_this__u8e3s4, withOverrides, ident, keyBindDisp, bindingDisp) {
|
|
258
277
|
// Inline function 'kotlin.collections.groupBy' call
|
|
@@ -263,7 +282,7 @@
|
|
|
263
282
|
while (tmp0_iterator.w()) {
|
|
264
283
|
var element = tmp0_iterator.y();
|
|
265
284
|
// Inline function 'org.kodein.di.descriptionImpl.<anonymous>' call
|
|
266
|
-
var key = first(element.o2()).
|
|
285
|
+
var key = first(element.o2()).b1g_1;
|
|
267
286
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
268
287
|
var value = destination.t2(key);
|
|
269
288
|
var tmp;
|
|
@@ -316,7 +335,7 @@
|
|
|
316
335
|
var element = tmp0_iterator.y();
|
|
317
336
|
// Inline function 'org.kodein.di.descriptionImpl.appendBindings.<anonymous>' call
|
|
318
337
|
var keyDescription = $keyBindDisp(element.n2());
|
|
319
|
-
_this__u8e3s4.e5(repeat(' ', ident) + keyDescription + ' { ' + $bindingDisp(first(element.o2()).
|
|
338
|
+
_this__u8e3s4.e5(repeat(' ', ident) + keyDescription + ' { ' + $bindingDisp(first(element.o2()).a1g_1) + ' }');
|
|
320
339
|
if ($withOverrides) {
|
|
321
340
|
var subIdent = keyDescription.length - 4 | 0;
|
|
322
341
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -324,7 +343,7 @@
|
|
|
324
343
|
while (tmp0_iterator_0.w()) {
|
|
325
344
|
var element_0 = tmp0_iterator_0.y();
|
|
326
345
|
// Inline function 'org.kodein.di.descriptionImpl.appendBindings.<anonymous>.<anonymous>' call
|
|
327
|
-
_this__u8e3s4.e5(repeat(' ', subIdent) + 'overrides ' + $bindingDisp(element_0.
|
|
346
|
+
_this__u8e3s4.e5(repeat(' ', subIdent) + 'overrides ' + $bindingDisp(element_0.a1g_1));
|
|
328
347
|
}
|
|
329
348
|
}
|
|
330
349
|
_this__u8e3s4.e5('\n');
|
|
@@ -333,45 +352,45 @@
|
|
|
333
352
|
}
|
|
334
353
|
function bindDescription$factory() {
|
|
335
354
|
return getPropertyCallableRef('bindDescription', 1, KProperty1, function (receiver) {
|
|
336
|
-
return receiver.
|
|
355
|
+
return receiver.h1g();
|
|
337
356
|
}, null);
|
|
338
357
|
}
|
|
339
358
|
function description$factory() {
|
|
340
359
|
return getPropertyCallableRef('description', 1, KProperty1, function (receiver) {
|
|
341
|
-
return receiver.
|
|
360
|
+
return receiver.i1g();
|
|
342
361
|
}, null);
|
|
343
362
|
}
|
|
344
363
|
function bindFullDescription$factory() {
|
|
345
364
|
return getPropertyCallableRef('bindFullDescription', 1, KProperty1, function (receiver) {
|
|
346
|
-
return receiver.
|
|
365
|
+
return receiver.j1g();
|
|
347
366
|
}, null);
|
|
348
367
|
}
|
|
349
368
|
function fullDescription$factory() {
|
|
350
369
|
return getPropertyCallableRef('fullDescription', 1, KProperty1, function (receiver) {
|
|
351
|
-
return receiver.
|
|
370
|
+
return receiver.k1g();
|
|
352
371
|
}, null);
|
|
353
372
|
}
|
|
354
373
|
function appendDescription(_this__u8e3s4, $this, displayString) {
|
|
355
|
-
if (!($this.
|
|
356
|
-
_this__u8e3s4.e5(' tagged "' + toString($this.
|
|
374
|
+
if (!($this.f1g_1 == null)) {
|
|
375
|
+
_this__u8e3s4.e5(' tagged "' + toString($this.f1g_1) + '"');
|
|
357
376
|
}
|
|
358
|
-
if (!equals($this.
|
|
359
|
-
_this__u8e3s4.e5(' on context ' + displayString($this.
|
|
377
|
+
if (!equals($this.c1g_1, Companion_getInstance().g1f_1)) {
|
|
378
|
+
_this__u8e3s4.e5(' on context ' + displayString($this.c1g_1));
|
|
360
379
|
}
|
|
361
|
-
if (!equals($this.
|
|
362
|
-
_this__u8e3s4.e5(', with argument ' + displayString($this.
|
|
380
|
+
if (!equals($this.d1g_1, Companion_getInstance().f1f_1)) {
|
|
381
|
+
_this__u8e3s4.e5(', with argument ' + displayString($this.d1g_1));
|
|
363
382
|
}
|
|
364
383
|
}
|
|
365
384
|
function TypeToken$simpleDispString$ref() {
|
|
366
385
|
var l = function (p0) {
|
|
367
|
-
return p0.
|
|
386
|
+
return p0.h1f();
|
|
368
387
|
};
|
|
369
388
|
l.callableName = 'simpleDispString';
|
|
370
389
|
return l;
|
|
371
390
|
}
|
|
372
391
|
function TypeToken$qualifiedDispString$ref() {
|
|
373
392
|
var l = function (p0) {
|
|
374
|
-
return p0.
|
|
393
|
+
return p0.j1f();
|
|
375
394
|
};
|
|
376
395
|
l.callableName = 'qualifiedDispString';
|
|
377
396
|
return l;
|
|
@@ -380,7 +399,7 @@
|
|
|
380
399
|
allowSilentOverride = allowSilentOverride === VOID ? false : allowSilentOverride;
|
|
381
400
|
prefix = prefix === VOID ? '' : prefix;
|
|
382
401
|
Module.call($this, allowSilentOverride, prefix, init);
|
|
383
|
-
$this.
|
|
402
|
+
$this.o1g_1 = name;
|
|
384
403
|
return $this;
|
|
385
404
|
}
|
|
386
405
|
function Module_init_$Create$(name, allowSilentOverride, prefix, init) {
|
|
@@ -393,95 +412,95 @@
|
|
|
393
412
|
function NotFoundException(key, message) {
|
|
394
413
|
RuntimeException_init_$Init$(message, this);
|
|
395
414
|
captureStack(this, NotFoundException);
|
|
396
|
-
this.
|
|
415
|
+
this.p1g_1 = key;
|
|
397
416
|
}
|
|
398
417
|
function OverridingException(message) {
|
|
399
418
|
RuntimeException_init_$Init$(message, this);
|
|
400
419
|
captureStack(this, OverridingException);
|
|
401
420
|
}
|
|
402
421
|
function Key(contextType, argType, type, tag) {
|
|
403
|
-
this.
|
|
404
|
-
this.
|
|
405
|
-
this.
|
|
406
|
-
this.
|
|
407
|
-
this.
|
|
422
|
+
this.c1g_1 = contextType;
|
|
423
|
+
this.d1g_1 = argType;
|
|
424
|
+
this.e1g_1 = type;
|
|
425
|
+
this.f1g_1 = tag;
|
|
426
|
+
this.g1g_1 = 0;
|
|
408
427
|
}
|
|
409
428
|
protoOf(Key).hashCode = function () {
|
|
410
|
-
if (this.
|
|
411
|
-
this.
|
|
412
|
-
this.
|
|
413
|
-
this.
|
|
429
|
+
if (this.g1g_1 === 0) {
|
|
430
|
+
this.g1g_1 = hashCode(this.c1g_1);
|
|
431
|
+
this.g1g_1 = imul(31, this.g1g_1) + hashCode(this.d1g_1) | 0;
|
|
432
|
+
this.g1g_1 = imul(29, hashCode(this.e1g_1));
|
|
414
433
|
var tmp = this;
|
|
415
|
-
var tmp_0 = imul(23, this.
|
|
416
|
-
var tmp0_safe_receiver = this.
|
|
434
|
+
var tmp_0 = imul(23, this.g1g_1);
|
|
435
|
+
var tmp0_safe_receiver = this.f1g_1;
|
|
417
436
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
418
|
-
tmp.
|
|
437
|
+
tmp.g1g_1 = tmp_0 + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
419
438
|
}
|
|
420
|
-
return this.
|
|
439
|
+
return this.g1g_1;
|
|
421
440
|
};
|
|
422
441
|
protoOf(Key).toString = function () {
|
|
423
|
-
return this.
|
|
442
|
+
return this.i1g();
|
|
424
443
|
};
|
|
425
|
-
protoOf(Key).
|
|
444
|
+
protoOf(Key).h1g = function () {
|
|
426
445
|
// Inline function 'kotlin.text.buildString' call
|
|
427
446
|
// Inline function 'kotlin.contracts.contract' call
|
|
428
447
|
// Inline function 'kotlin.apply' call
|
|
429
448
|
var this_0 = StringBuilder_init_$Create$();
|
|
430
449
|
// Inline function 'kotlin.contracts.contract' call
|
|
431
450
|
// Inline function 'org.kodein.di.Key.<get-bindDescription>.<anonymous>' call
|
|
432
|
-
this_0.e5('bind<' + this.
|
|
433
|
-
if (!(this.
|
|
434
|
-
this_0.e5('(tag = "' + toString(this.
|
|
451
|
+
this_0.e5('bind<' + this.e1g_1.h1f() + '>');
|
|
452
|
+
if (!(this.f1g_1 == null)) {
|
|
453
|
+
this_0.e5('(tag = "' + toString(this.f1g_1) + '")');
|
|
435
454
|
}
|
|
436
455
|
return this_0.toString();
|
|
437
456
|
};
|
|
438
|
-
protoOf(Key).
|
|
457
|
+
protoOf(Key).j1g = function () {
|
|
439
458
|
// Inline function 'kotlin.text.buildString' call
|
|
440
459
|
// Inline function 'kotlin.contracts.contract' call
|
|
441
460
|
// Inline function 'kotlin.apply' call
|
|
442
461
|
var this_0 = StringBuilder_init_$Create$();
|
|
443
462
|
// Inline function 'kotlin.contracts.contract' call
|
|
444
463
|
// Inline function 'org.kodein.di.Key.<get-bindFullDescription>.<anonymous>' call
|
|
445
|
-
this_0.e5('bind<' + this.
|
|
446
|
-
if (!(this.
|
|
447
|
-
this_0.e5('(tag = "' + toString(this.
|
|
464
|
+
this_0.e5('bind<' + this.e1g_1.j1f() + '>');
|
|
465
|
+
if (!(this.f1g_1 == null)) {
|
|
466
|
+
this_0.e5('(tag = "' + toString(this.f1g_1) + '")');
|
|
448
467
|
}
|
|
449
468
|
return this_0.toString();
|
|
450
469
|
};
|
|
451
|
-
protoOf(Key).
|
|
470
|
+
protoOf(Key).i1g = function () {
|
|
452
471
|
// Inline function 'kotlin.text.buildString' call
|
|
453
472
|
// Inline function 'kotlin.contracts.contract' call
|
|
454
473
|
// Inline function 'kotlin.apply' call
|
|
455
474
|
var this_0 = StringBuilder_init_$Create$();
|
|
456
475
|
// Inline function 'kotlin.contracts.contract' call
|
|
457
476
|
// Inline function 'org.kodein.di.Key.<get-description>.<anonymous>' call
|
|
458
|
-
this_0.e5(this.
|
|
477
|
+
this_0.e5(this.e1g_1.h1f());
|
|
459
478
|
appendDescription(this_0, this, TypeToken$simpleDispString$ref());
|
|
460
479
|
return this_0.toString();
|
|
461
480
|
};
|
|
462
|
-
protoOf(Key).
|
|
463
|
-
return '(context: ' + this.
|
|
481
|
+
protoOf(Key).q1g = function () {
|
|
482
|
+
return '(context: ' + this.c1g_1.h1f() + ', arg: ' + this.d1g_1.h1f() + ', type: ' + this.e1g_1.h1f() + ', tag: ' + toString(this.f1g_1) + ')';
|
|
464
483
|
};
|
|
465
|
-
protoOf(Key).
|
|
484
|
+
protoOf(Key).k1g = function () {
|
|
466
485
|
// Inline function 'kotlin.text.buildString' call
|
|
467
486
|
// Inline function 'kotlin.contracts.contract' call
|
|
468
487
|
// Inline function 'kotlin.apply' call
|
|
469
488
|
var this_0 = StringBuilder_init_$Create$();
|
|
470
489
|
// Inline function 'kotlin.contracts.contract' call
|
|
471
490
|
// Inline function 'org.kodein.di.Key.<get-fullDescription>.<anonymous>' call
|
|
472
|
-
this_0.e5(this.
|
|
491
|
+
this_0.e5(this.e1g_1.j1f());
|
|
473
492
|
appendDescription(this_0, this, TypeToken$qualifiedDispString$ref());
|
|
474
493
|
return this_0.toString();
|
|
475
494
|
};
|
|
476
|
-
protoOf(Key).
|
|
495
|
+
protoOf(Key).r1g = function (contextType, argType, type, tag) {
|
|
477
496
|
return new Key(contextType, argType, type, tag);
|
|
478
497
|
};
|
|
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.
|
|
498
|
+
protoOf(Key).s1g = function (contextType, argType, type, tag, $super) {
|
|
499
|
+
contextType = contextType === VOID ? this.c1g_1 : contextType;
|
|
500
|
+
argType = argType === VOID ? this.d1g_1 : argType;
|
|
501
|
+
type = type === VOID ? this.e1g_1 : type;
|
|
502
|
+
tag = tag === VOID ? this.f1g_1 : tag;
|
|
503
|
+
return $super === VOID ? this.r1g(contextType, argType, type, tag) : $super.r1g.call(this, contextType, argType, type, tag);
|
|
485
504
|
};
|
|
486
505
|
protoOf(Key).equals = function (other) {
|
|
487
506
|
if (this === other)
|
|
@@ -489,13 +508,13 @@
|
|
|
489
508
|
if (!(other instanceof Key))
|
|
490
509
|
return false;
|
|
491
510
|
var tmp0_other_with_cast = other instanceof Key ? other : THROW_CCE();
|
|
492
|
-
if (!equals(this.
|
|
511
|
+
if (!equals(this.c1g_1, tmp0_other_with_cast.c1g_1))
|
|
493
512
|
return false;
|
|
494
|
-
if (!equals(this.
|
|
513
|
+
if (!equals(this.d1g_1, tmp0_other_with_cast.d1g_1))
|
|
495
514
|
return false;
|
|
496
|
-
if (!equals(this.
|
|
515
|
+
if (!equals(this.e1g_1, tmp0_other_with_cast.e1g_1))
|
|
497
516
|
return false;
|
|
498
|
-
if (!equals(this.
|
|
517
|
+
if (!equals(this.f1g_1, tmp0_other_with_cast.f1g_1))
|
|
499
518
|
return false;
|
|
500
519
|
return true;
|
|
501
520
|
};
|
|
@@ -504,13 +523,13 @@
|
|
|
504
523
|
function Module(allowSilentOverride, prefix, init) {
|
|
505
524
|
allowSilentOverride = allowSilentOverride === VOID ? false : allowSilentOverride;
|
|
506
525
|
prefix = prefix === VOID ? '' : prefix;
|
|
507
|
-
this.
|
|
508
|
-
this.
|
|
509
|
-
this.
|
|
510
|
-
this.
|
|
526
|
+
this.l1g_1 = allowSilentOverride;
|
|
527
|
+
this.m1g_1 = prefix;
|
|
528
|
+
this.n1g_1 = init;
|
|
529
|
+
this.o1g_1 = null;
|
|
511
530
|
}
|
|
512
|
-
protoOf(Module).
|
|
513
|
-
var tmp0_elvis_lhs = this.
|
|
531
|
+
protoOf(Module).g9 = function () {
|
|
532
|
+
var tmp0_elvis_lhs = this.o1g_1;
|
|
514
533
|
var tmp;
|
|
515
534
|
if (tmp0_elvis_lhs == null) {
|
|
516
535
|
throw IllegalStateException_init_$Create$('module must have a name.');
|
|
@@ -520,12 +539,12 @@
|
|
|
520
539
|
return tmp;
|
|
521
540
|
};
|
|
522
541
|
protoOf(Module).toString = function () {
|
|
523
|
-
return 'Module(allowSilentOverride=' + this.
|
|
542
|
+
return 'Module(allowSilentOverride=' + this.l1g_1 + ', prefix=' + this.m1g_1 + ', init=' + this.n1g_1 + ')';
|
|
524
543
|
};
|
|
525
544
|
protoOf(Module).hashCode = function () {
|
|
526
|
-
var result = getBooleanHashCode(this.
|
|
527
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
528
|
-
result = imul(result, 31) + hashCode(this.
|
|
545
|
+
var result = getBooleanHashCode(this.l1g_1);
|
|
546
|
+
result = imul(result, 31) + getStringHashCode(this.m1g_1) | 0;
|
|
547
|
+
result = imul(result, 31) + hashCode(this.n1g_1) | 0;
|
|
529
548
|
return result;
|
|
530
549
|
};
|
|
531
550
|
protoOf(Module).equals = function (other) {
|
|
@@ -534,24 +553,24 @@
|
|
|
534
553
|
if (!(other instanceof Module))
|
|
535
554
|
return false;
|
|
536
555
|
var tmp0_other_with_cast = other instanceof Module ? other : THROW_CCE();
|
|
537
|
-
if (!(this.
|
|
556
|
+
if (!(this.l1g_1 === tmp0_other_with_cast.l1g_1))
|
|
538
557
|
return false;
|
|
539
|
-
if (!(this.
|
|
558
|
+
if (!(this.m1g_1 === tmp0_other_with_cast.m1g_1))
|
|
540
559
|
return false;
|
|
541
|
-
if (!equals(this.
|
|
560
|
+
if (!equals(this.n1g_1, tmp0_other_with_cast.n1g_1))
|
|
542
561
|
return false;
|
|
543
562
|
return true;
|
|
544
563
|
};
|
|
545
564
|
function Companion() {
|
|
546
|
-
this.
|
|
547
|
-
this.
|
|
565
|
+
this.a1h_1 = false;
|
|
566
|
+
this.b1h_1 = false;
|
|
548
567
|
}
|
|
549
|
-
protoOf(Companion).
|
|
568
|
+
protoOf(Companion).c1h = function (allowSilentOverride, init) {
|
|
550
569
|
return DIImpl_init_$Create$(allowSilentOverride, init);
|
|
551
570
|
};
|
|
552
|
-
protoOf(Companion).
|
|
571
|
+
protoOf(Companion).d1h = function (allowSilentOverride, init, $super) {
|
|
553
572
|
allowSilentOverride = allowSilentOverride === VOID ? false : allowSilentOverride;
|
|
554
|
-
return $super === VOID ? this.
|
|
573
|
+
return $super === VOID ? this.c1h(allowSilentOverride, init) : $super.c1h.call(this, allowSilentOverride, init);
|
|
555
574
|
};
|
|
556
575
|
var Companion_instance;
|
|
557
576
|
function Companion_getInstance_0() {
|
|
@@ -560,26 +579,26 @@
|
|
|
560
579
|
function DI() {
|
|
561
580
|
}
|
|
562
581
|
function get_direct(_this__u8e3s4) {
|
|
563
|
-
return new DirectDIImpl(_this__u8e3s4.
|
|
582
|
+
return new DirectDIImpl(_this__u8e3s4.e1h().f1h(), _this__u8e3s4.g1h());
|
|
564
583
|
}
|
|
565
584
|
function DIAware() {
|
|
566
585
|
}
|
|
567
586
|
function Value(type, value) {
|
|
568
|
-
this.
|
|
569
|
-
this.
|
|
587
|
+
this.i1h_1 = type;
|
|
588
|
+
this.j1h_1 = value;
|
|
570
589
|
}
|
|
571
|
-
protoOf(Value).
|
|
572
|
-
return this.
|
|
590
|
+
protoOf(Value).k1h = function () {
|
|
591
|
+
return this.i1h_1;
|
|
573
592
|
};
|
|
574
593
|
protoOf(Value).o2 = function () {
|
|
575
|
-
return this.
|
|
594
|
+
return this.j1h_1;
|
|
576
595
|
};
|
|
577
596
|
protoOf(Value).toString = function () {
|
|
578
|
-
return 'Value(type=' + this.
|
|
597
|
+
return 'Value(type=' + this.i1h_1 + ', value=' + this.j1h_1 + ')';
|
|
579
598
|
};
|
|
580
599
|
protoOf(Value).hashCode = function () {
|
|
581
|
-
var result = hashCode(this.
|
|
582
|
-
result = imul(result, 31) + hashCode(this.
|
|
600
|
+
var result = hashCode(this.i1h_1);
|
|
601
|
+
result = imul(result, 31) + hashCode(this.j1h_1) | 0;
|
|
583
602
|
return result;
|
|
584
603
|
};
|
|
585
604
|
protoOf(Value).equals = function (other) {
|
|
@@ -588,15 +607,15 @@
|
|
|
588
607
|
if (!(other instanceof Value))
|
|
589
608
|
return false;
|
|
590
609
|
var tmp0_other_with_cast = other instanceof Value ? other : THROW_CCE();
|
|
591
|
-
if (!equals(this.
|
|
610
|
+
if (!equals(this.i1h_1, tmp0_other_with_cast.i1h_1))
|
|
592
611
|
return false;
|
|
593
|
-
if (!equals(this.
|
|
612
|
+
if (!equals(this.j1h_1, tmp0_other_with_cast.j1h_1))
|
|
594
613
|
return false;
|
|
595
614
|
return true;
|
|
596
615
|
};
|
|
597
616
|
function Companion_0() {
|
|
598
617
|
}
|
|
599
|
-
protoOf(Companion_0).
|
|
618
|
+
protoOf(Companion_0).l1h = function (type, value) {
|
|
600
619
|
return new Value(type, value);
|
|
601
620
|
};
|
|
602
621
|
var Companion_instance_0;
|
|
@@ -607,16 +626,16 @@
|
|
|
607
626
|
}
|
|
608
627
|
function Instance(_this__u8e3s4, type, tag) {
|
|
609
628
|
tag = tag === VOID ? null : tag;
|
|
610
|
-
var tmp = _this__u8e3s4.
|
|
611
|
-
var tmp_0 = _this__u8e3s4.
|
|
629
|
+
var tmp = _this__u8e3s4.h1h();
|
|
630
|
+
var tmp_0 = _this__u8e3s4.g1h();
|
|
612
631
|
return new DIProperty(tmp, tmp_0, Instance$lambda(_this__u8e3s4, type, tag));
|
|
613
632
|
}
|
|
614
633
|
function get_AnyDIContext() {
|
|
615
|
-
return Contexes_getInstance().
|
|
634
|
+
return Contexes_getInstance().m1h_1;
|
|
616
635
|
}
|
|
617
636
|
function Contexes() {
|
|
618
637
|
Contexes_instance = this;
|
|
619
|
-
this.
|
|
638
|
+
this.m1h_1 = Companion_instance_0.l1h(Companion_getInstance().g1f_1, new Object());
|
|
620
639
|
}
|
|
621
640
|
var Contexes_instance;
|
|
622
641
|
function Contexes_getInstance() {
|
|
@@ -625,14 +644,14 @@
|
|
|
625
644
|
return Contexes_instance;
|
|
626
645
|
}
|
|
627
646
|
function On(_this__u8e3s4, context, trigger) {
|
|
628
|
-
context = context === VOID ? _this__u8e3s4.
|
|
629
|
-
trigger = trigger === VOID ? _this__u8e3s4.
|
|
647
|
+
context = context === VOID ? _this__u8e3s4.g1h() : context;
|
|
648
|
+
trigger = trigger === VOID ? _this__u8e3s4.h1h() : trigger;
|
|
630
649
|
return DIWrapper_init_$Create$(_this__u8e3s4, context, trigger);
|
|
631
650
|
}
|
|
632
651
|
function DIWrapper_init_$Init$(base, diContext, trigger, $this) {
|
|
633
|
-
diContext = diContext === VOID ? base.
|
|
634
|
-
trigger = trigger === VOID ? base.
|
|
635
|
-
DIWrapper.call($this, base.
|
|
652
|
+
diContext = diContext === VOID ? base.g1h() : diContext;
|
|
653
|
+
trigger = trigger === VOID ? base.h1h() : trigger;
|
|
654
|
+
DIWrapper.call($this, base.e1h(), diContext, trigger);
|
|
636
655
|
return $this;
|
|
637
656
|
}
|
|
638
657
|
function DIWrapper_init_$Create$(base, diContext, trigger) {
|
|
@@ -640,29 +659,45 @@
|
|
|
640
659
|
}
|
|
641
660
|
function DIWrapper(_base, diContext, diTrigger) {
|
|
642
661
|
diTrigger = diTrigger === VOID ? null : diTrigger;
|
|
643
|
-
this.
|
|
644
|
-
this.
|
|
645
|
-
this.
|
|
662
|
+
this.n1h_1 = _base;
|
|
663
|
+
this.o1h_1 = diContext;
|
|
664
|
+
this.p1h_1 = diTrigger;
|
|
646
665
|
}
|
|
647
|
-
protoOf(DIWrapper).
|
|
648
|
-
return this.
|
|
666
|
+
protoOf(DIWrapper).g1h = function () {
|
|
667
|
+
return this.o1h_1;
|
|
649
668
|
};
|
|
650
|
-
protoOf(DIWrapper).
|
|
651
|
-
return this.
|
|
669
|
+
protoOf(DIWrapper).h1h = function () {
|
|
670
|
+
return this.p1h_1;
|
|
652
671
|
};
|
|
653
|
-
protoOf(DIWrapper).
|
|
672
|
+
protoOf(DIWrapper).e1h = function () {
|
|
654
673
|
return this;
|
|
655
674
|
};
|
|
656
|
-
protoOf(DIWrapper).
|
|
657
|
-
return this.
|
|
675
|
+
protoOf(DIWrapper).f1h = function () {
|
|
676
|
+
return this.n1h_1.f1h();
|
|
658
677
|
};
|
|
678
|
+
function InstanceOrNull(_this__u8e3s4, type, tag) {
|
|
679
|
+
tag = tag === VOID ? null : tag;
|
|
680
|
+
var tmp = _this__u8e3s4.h1h();
|
|
681
|
+
var tmp_0 = _this__u8e3s4.g1h();
|
|
682
|
+
return new DIProperty(tmp, tmp_0, InstanceOrNull$lambda(_this__u8e3s4, type, tag));
|
|
683
|
+
}
|
|
659
684
|
function Instance$lambda($this_Instance, $type, $tag) {
|
|
660
685
|
return function (ctx, _anonymous_parameter_1__qggqgd) {
|
|
661
|
-
var tmp = $this_Instance.
|
|
686
|
+
var tmp = $this_Instance.e1h().f1h();
|
|
687
|
+
// Inline function 'org.kodein.di.anyType' call
|
|
688
|
+
var tmp_0 = ctx.k1h();
|
|
689
|
+
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
690
|
+
return tmp.q1h(new Key(tmp$ret$0, Companion_getInstance().f1f_1, $type, $tag), ctx.o2())();
|
|
691
|
+
};
|
|
692
|
+
}
|
|
693
|
+
function InstanceOrNull$lambda($this_InstanceOrNull, $type, $tag) {
|
|
694
|
+
return function (ctx, _anonymous_parameter_1__qggqgd) {
|
|
695
|
+
var tmp = $this_InstanceOrNull.e1h().f1h();
|
|
662
696
|
// Inline function 'org.kodein.di.anyType' call
|
|
663
|
-
var tmp_0 = ctx.
|
|
697
|
+
var tmp_0 = ctx.k1h();
|
|
664
698
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
665
|
-
|
|
699
|
+
var tmp0_safe_receiver = tmp.r1h(new Key(tmp$ret$0, Companion_getInstance().f1f_1, $type, $tag), ctx.o2());
|
|
700
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver();
|
|
666
701
|
};
|
|
667
702
|
}
|
|
668
703
|
function DIContainer$provider$lambda($this) {
|
|
@@ -670,6 +705,11 @@
|
|
|
670
705
|
return $this(Unit_instance);
|
|
671
706
|
};
|
|
672
707
|
}
|
|
708
|
+
function DIContainer$providerOrNull$lambda($this) {
|
|
709
|
+
return function () {
|
|
710
|
+
return $this(Unit_instance);
|
|
711
|
+
};
|
|
712
|
+
}
|
|
673
713
|
function DIContainer() {
|
|
674
714
|
}
|
|
675
715
|
function DITree() {
|
|
@@ -687,60 +727,60 @@
|
|
|
687
727
|
argType = argType === VOID ? null : argType;
|
|
688
728
|
type = type === VOID ? null : type;
|
|
689
729
|
tag = tag === VOID ? NoDefinedTag_instance : tag;
|
|
690
|
-
this.
|
|
691
|
-
this.
|
|
692
|
-
this.
|
|
693
|
-
this.
|
|
730
|
+
this.i1i_1 = contextType;
|
|
731
|
+
this.j1i_1 = argType;
|
|
732
|
+
this.k1i_1 = type;
|
|
733
|
+
this.l1i_1 = tag;
|
|
694
734
|
}
|
|
695
735
|
protoOf(SearchSpecs).toString = function () {
|
|
696
736
|
var args = ArrayList_init_$Create$();
|
|
697
|
-
if (!(this.
|
|
737
|
+
if (!(this.i1i_1 == null)) {
|
|
698
738
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
699
|
-
var tmp0_safe_receiver = this.
|
|
700
|
-
var element = 'contextType=' + (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
739
|
+
var tmp0_safe_receiver = this.i1i_1;
|
|
740
|
+
var element = 'contextType=' + (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.h1f());
|
|
701
741
|
args.s(element);
|
|
702
742
|
}
|
|
703
|
-
if (!(this.
|
|
743
|
+
if (!(this.j1i_1 == null)) {
|
|
704
744
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
705
|
-
var tmp1_safe_receiver = this.
|
|
706
|
-
var element_0 = 'argType=' + (tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
745
|
+
var tmp1_safe_receiver = this.j1i_1;
|
|
746
|
+
var element_0 = 'argType=' + (tmp1_safe_receiver == null ? null : tmp1_safe_receiver.h1f());
|
|
707
747
|
args.s(element_0);
|
|
708
748
|
}
|
|
709
|
-
if (!(this.
|
|
749
|
+
if (!(this.k1i_1 == null)) {
|
|
710
750
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
711
|
-
var tmp2_safe_receiver = this.
|
|
712
|
-
var element_1 = 'type=' + (tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
751
|
+
var tmp2_safe_receiver = this.k1i_1;
|
|
752
|
+
var element_1 = 'type=' + (tmp2_safe_receiver == null ? null : tmp2_safe_receiver.h1f());
|
|
713
753
|
args.s(element_1);
|
|
714
754
|
}
|
|
715
|
-
if (!equals(this.
|
|
755
|
+
if (!equals(this.l1i_1, NoDefinedTag_instance)) {
|
|
716
756
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
717
|
-
var element_2 = 'tag=' + toString(this.
|
|
757
|
+
var element_2 = 'tag=' + toString(this.l1i_1);
|
|
718
758
|
args.s(element_2);
|
|
719
759
|
}
|
|
720
760
|
return '[' + joinToString(args, ', ') + ']';
|
|
721
761
|
};
|
|
722
762
|
function NoArgBindingDIWrap(_di) {
|
|
723
|
-
this.
|
|
763
|
+
this.m1i_1 = _di;
|
|
724
764
|
}
|
|
725
|
-
protoOf(NoArgBindingDIWrap).
|
|
726
|
-
return this.
|
|
765
|
+
protoOf(NoArgBindingDIWrap).e1h = function () {
|
|
766
|
+
return this.m1i_1.e1h();
|
|
727
767
|
};
|
|
728
|
-
protoOf(NoArgBindingDIWrap).
|
|
729
|
-
return this.
|
|
768
|
+
protoOf(NoArgBindingDIWrap).h1i = function () {
|
|
769
|
+
return this.m1i_1.h1i();
|
|
730
770
|
};
|
|
731
|
-
protoOf(NoArgBindingDIWrap).
|
|
732
|
-
return this.
|
|
771
|
+
protoOf(NoArgBindingDIWrap).e1i = function () {
|
|
772
|
+
return this.m1i_1.e1i();
|
|
733
773
|
};
|
|
734
|
-
protoOf(NoArgBindingDIWrap).
|
|
735
|
-
return this.
|
|
774
|
+
protoOf(NoArgBindingDIWrap).g1i = function (type, tag) {
|
|
775
|
+
return this.m1i_1.g1i(type, tag);
|
|
736
776
|
};
|
|
737
|
-
protoOf(NoArgBindingDIWrap).
|
|
738
|
-
return this.
|
|
777
|
+
protoOf(NoArgBindingDIWrap).f1i = function (context) {
|
|
778
|
+
return this.m1i_1.f1i(context);
|
|
739
779
|
};
|
|
740
780
|
function ErasedContext() {
|
|
741
781
|
}
|
|
742
|
-
protoOf(ErasedContext).
|
|
743
|
-
return Companion_getInstance().
|
|
782
|
+
protoOf(ErasedContext).k1h = function () {
|
|
783
|
+
return Companion_getInstance().g1f_1;
|
|
744
784
|
};
|
|
745
785
|
protoOf(ErasedContext).o2 = function () {
|
|
746
786
|
return ErasedContext_instance;
|
|
@@ -750,11 +790,11 @@
|
|
|
750
790
|
return ErasedContext_instance;
|
|
751
791
|
}
|
|
752
792
|
function DIBinding$Copier$Companion$invoke$1($f) {
|
|
753
|
-
this.
|
|
793
|
+
this.n1i_1 = $f;
|
|
754
794
|
}
|
|
755
795
|
function Companion_1() {
|
|
756
796
|
}
|
|
757
|
-
protoOf(Companion_1).
|
|
797
|
+
protoOf(Companion_1).o1i = function (f) {
|
|
758
798
|
return new DIBinding$Copier$Companion$invoke$1(f);
|
|
759
799
|
};
|
|
760
800
|
var Companion_instance_1;
|
|
@@ -772,7 +812,7 @@
|
|
|
772
812
|
}
|
|
773
813
|
function SingletonReference() {
|
|
774
814
|
}
|
|
775
|
-
protoOf(SingletonReference).
|
|
815
|
+
protoOf(SingletonReference).v1i = function (creator) {
|
|
776
816
|
var value = creator();
|
|
777
817
|
return new Reference(value, SingletonReference$make$lambda(value));
|
|
778
818
|
};
|
|
@@ -781,21 +821,21 @@
|
|
|
781
821
|
return SingletonReference_instance;
|
|
782
822
|
}
|
|
783
823
|
function Reference(current, next) {
|
|
784
|
-
this.
|
|
785
|
-
this.
|
|
824
|
+
this.w1i_1 = current;
|
|
825
|
+
this.x1i_1 = next;
|
|
786
826
|
}
|
|
787
|
-
protoOf(Reference).
|
|
788
|
-
return this.
|
|
827
|
+
protoOf(Reference).cd = function () {
|
|
828
|
+
return this.w1i_1;
|
|
789
829
|
};
|
|
790
|
-
protoOf(Reference).
|
|
791
|
-
return this.
|
|
830
|
+
protoOf(Reference).dd = function () {
|
|
831
|
+
return this.x1i_1;
|
|
792
832
|
};
|
|
793
833
|
protoOf(Reference).toString = function () {
|
|
794
|
-
return 'Reference(current=' + this.
|
|
834
|
+
return 'Reference(current=' + this.w1i_1 + ', next=' + this.x1i_1 + ')';
|
|
795
835
|
};
|
|
796
836
|
protoOf(Reference).hashCode = function () {
|
|
797
|
-
var result = hashCode(this.
|
|
798
|
-
result = imul(result, 31) + hashCode(this.
|
|
837
|
+
var result = hashCode(this.w1i_1);
|
|
838
|
+
result = imul(result, 31) + hashCode(this.x1i_1) | 0;
|
|
799
839
|
return result;
|
|
800
840
|
};
|
|
801
841
|
protoOf(Reference).equals = function (other) {
|
|
@@ -804,9 +844,9 @@
|
|
|
804
844
|
if (!(other instanceof Reference))
|
|
805
845
|
return false;
|
|
806
846
|
var tmp0_other_with_cast = other instanceof Reference ? other : THROW_CCE();
|
|
807
|
-
if (!equals(this.
|
|
847
|
+
if (!equals(this.w1i_1, tmp0_other_with_cast.w1i_1))
|
|
808
848
|
return false;
|
|
809
|
-
if (!equals(this.
|
|
849
|
+
if (!equals(this.x1i_1, tmp0_other_with_cast.x1i_1))
|
|
810
850
|
return false;
|
|
811
851
|
return true;
|
|
812
852
|
};
|
|
@@ -815,26 +855,26 @@
|
|
|
815
855
|
function ScopeRegistry() {
|
|
816
856
|
}
|
|
817
857
|
function NoScope() {
|
|
818
|
-
this.
|
|
858
|
+
this.b1j_1 = new StandardScopeRegistry();
|
|
819
859
|
}
|
|
820
|
-
protoOf(NoScope).
|
|
821
|
-
return this.
|
|
860
|
+
protoOf(NoScope).c1j = function (context) {
|
|
861
|
+
return this.b1j_1;
|
|
822
862
|
};
|
|
823
|
-
protoOf(NoScope).
|
|
824
|
-
return this.
|
|
863
|
+
protoOf(NoScope).d1j = function (context) {
|
|
864
|
+
return this.c1j((context == null ? true : !(context == null)) ? context : THROW_CCE());
|
|
825
865
|
};
|
|
826
866
|
function StandardScopeRegistry() {
|
|
827
867
|
ScopeRegistry.call(this);
|
|
828
|
-
this.
|
|
829
|
-
this.
|
|
868
|
+
this.e1j_1 = newConcurrentMap();
|
|
869
|
+
this.f1j_1 = new Object();
|
|
830
870
|
}
|
|
831
|
-
protoOf(StandardScopeRegistry).
|
|
871
|
+
protoOf(StandardScopeRegistry).a1j = function (key, sync, creator) {
|
|
832
872
|
var tmp$ret$2;
|
|
833
873
|
$l$block_1: {
|
|
834
874
|
// Inline function 'org.kodein.di.internal.synchronizedIfNull' call
|
|
835
|
-
sync && this.
|
|
875
|
+
sync && this.f1j_1;
|
|
836
876
|
// Inline function 'org.kodein.di.bindings.StandardScopeRegistry.getOrCreate.<anonymous>' call
|
|
837
|
-
var tmp0_safe_receiver = this.
|
|
877
|
+
var tmp0_safe_receiver = this.e1j_1.t2(key);
|
|
838
878
|
var tmp0_safe_receiver_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver();
|
|
839
879
|
if (tmp0_safe_receiver_0 == null)
|
|
840
880
|
null;
|
|
@@ -850,7 +890,7 @@
|
|
|
850
890
|
$l$block_0: {
|
|
851
891
|
// Inline function 'org.kodein.di.internal.synchronizedIfNull.<anonymous>' call
|
|
852
892
|
// Inline function 'org.kodein.di.bindings.StandardScopeRegistry.getOrCreate.<anonymous>' call
|
|
853
|
-
var tmp0_safe_receiver_1 = this.
|
|
893
|
+
var tmp0_safe_receiver_1 = this.e1j_1.t2(key);
|
|
854
894
|
var tmp0_safe_receiver_2 = tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1();
|
|
855
895
|
if (tmp0_safe_receiver_2 == null)
|
|
856
896
|
null;
|
|
@@ -862,10 +902,10 @@
|
|
|
862
902
|
}
|
|
863
903
|
// Inline function 'org.kodein.di.bindings.StandardScopeRegistry.getOrCreate.<anonymous>' call
|
|
864
904
|
var tmp0_container = creator();
|
|
865
|
-
var current = tmp0_container.
|
|
866
|
-
var next = tmp0_container.
|
|
905
|
+
var current = tmp0_container.cd();
|
|
906
|
+
var next = tmp0_container.dd();
|
|
867
907
|
// Inline function 'kotlin.collections.set' call
|
|
868
|
-
this.
|
|
908
|
+
this.e1j_1.k2(key, next);
|
|
869
909
|
tmp$ret$2 = current;
|
|
870
910
|
break $l$block_1;
|
|
871
911
|
}
|
|
@@ -876,7 +916,7 @@
|
|
|
876
916
|
return tmp$ret$2;
|
|
877
917
|
};
|
|
878
918
|
function toKContext(_this__u8e3s4, di, ctx) {
|
|
879
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
919
|
+
var tmp0_safe_receiver = _this__u8e3s4.z1i(di, ctx);
|
|
880
920
|
var tmp;
|
|
881
921
|
if (tmp0_safe_receiver == null) {
|
|
882
922
|
tmp = null;
|
|
@@ -884,22 +924,22 @@
|
|
|
884
924
|
// Inline function 'kotlin.let' call
|
|
885
925
|
// Inline function 'kotlin.contracts.contract' call
|
|
886
926
|
// Inline function 'org.kodein.di.bindings.toKContext.<anonymous>' call
|
|
887
|
-
tmp = Companion_instance_0.
|
|
927
|
+
tmp = Companion_instance_0.l1h(_this__u8e3s4.y1i(), tmp0_safe_receiver);
|
|
888
928
|
}
|
|
889
929
|
return tmp;
|
|
890
930
|
}
|
|
891
931
|
function CompositeContextTranslator(src, dst) {
|
|
892
|
-
this.
|
|
893
|
-
this.
|
|
932
|
+
this.g1j_1 = src;
|
|
933
|
+
this.h1j_1 = dst;
|
|
894
934
|
}
|
|
895
|
-
protoOf(CompositeContextTranslator).
|
|
896
|
-
return this.
|
|
935
|
+
protoOf(CompositeContextTranslator).x1g = function () {
|
|
936
|
+
return this.g1j_1.x1g();
|
|
897
937
|
};
|
|
898
|
-
protoOf(CompositeContextTranslator).
|
|
899
|
-
return this.
|
|
938
|
+
protoOf(CompositeContextTranslator).y1i = function () {
|
|
939
|
+
return this.h1j_1.y1i();
|
|
900
940
|
};
|
|
901
|
-
protoOf(CompositeContextTranslator).
|
|
902
|
-
var tmp0_safe_receiver = this.
|
|
941
|
+
protoOf(CompositeContextTranslator).z1i = function (di, ctx) {
|
|
942
|
+
var tmp0_safe_receiver = this.g1j_1.z1i(di, ctx);
|
|
903
943
|
var tmp;
|
|
904
944
|
if (tmp0_safe_receiver == null) {
|
|
905
945
|
tmp = null;
|
|
@@ -907,12 +947,37 @@
|
|
|
907
947
|
// Inline function 'kotlin.let' call
|
|
908
948
|
// Inline function 'kotlin.contracts.contract' call
|
|
909
949
|
// Inline function 'org.kodein.di.bindings.CompositeContextTranslator.translate.<anonymous>' call
|
|
910
|
-
tmp = this.
|
|
950
|
+
tmp = this.h1j_1.z1i(di, tmp0_safe_receiver);
|
|
911
951
|
}
|
|
912
952
|
return tmp;
|
|
913
953
|
};
|
|
914
954
|
protoOf(CompositeContextTranslator).toString = function () {
|
|
915
|
-
return '(' + this.
|
|
955
|
+
return '(' + this.g1j_1 + ' -> ' + this.h1j_1 + ')';
|
|
956
|
+
};
|
|
957
|
+
function Provider$getFactory$lambda(this$0, $di) {
|
|
958
|
+
return function (_anonymous_parameter_0__qggqh8) {
|
|
959
|
+
return this$0.k1j_1(new NoArgBindingDIWrap($di));
|
|
960
|
+
};
|
|
961
|
+
}
|
|
962
|
+
function Provider(contextType, createdType, creator) {
|
|
963
|
+
this.i1j_1 = contextType;
|
|
964
|
+
this.j1j_1 = createdType;
|
|
965
|
+
this.k1j_1 = creator;
|
|
966
|
+
}
|
|
967
|
+
protoOf(Provider).x1g = function () {
|
|
968
|
+
return this.i1j_1;
|
|
969
|
+
};
|
|
970
|
+
protoOf(Provider).s1i = function () {
|
|
971
|
+
return this.j1j_1;
|
|
972
|
+
};
|
|
973
|
+
protoOf(Provider).p1i = function () {
|
|
974
|
+
return 'provider';
|
|
975
|
+
};
|
|
976
|
+
protoOf(Provider).l1j = function (key, di) {
|
|
977
|
+
return Provider$getFactory$lambda(this, di);
|
|
978
|
+
};
|
|
979
|
+
protoOf(Provider).u1i = function (key, di) {
|
|
980
|
+
return this.l1j(key, di);
|
|
916
981
|
};
|
|
917
982
|
function factoryName($this, params) {
|
|
918
983
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -930,12 +995,12 @@
|
|
|
930
995
|
}
|
|
931
996
|
function Singleton$getFactory$lambda$lambda$lambda(this$0, $bindingDi) {
|
|
932
997
|
return function () {
|
|
933
|
-
return this$0.
|
|
998
|
+
return this$0.r1j_1(new NoArgBindingDIWrap($bindingDi));
|
|
934
999
|
};
|
|
935
1000
|
}
|
|
936
1001
|
function Singleton$getFactory$lambda$lambda(this$0, $bindingDi) {
|
|
937
1002
|
return function () {
|
|
938
|
-
return this$0.
|
|
1003
|
+
return this$0.s1j_1.v1i(Singleton$getFactory$lambda$lambda$lambda(this$0, $bindingDi));
|
|
939
1004
|
};
|
|
940
1005
|
}
|
|
941
1006
|
function Singleton$getFactory$lambda($lateInitRegistry, this$0, $bindingDi) {
|
|
@@ -944,7 +1009,7 @@
|
|
|
944
1009
|
var tmp;
|
|
945
1010
|
if (tmp0_elvis_lhs == null) {
|
|
946
1011
|
// Inline function 'kotlin.also' call
|
|
947
|
-
var this_0 = this$0.
|
|
1012
|
+
var this_0 = this$0.m1j_1.d1j($bindingDi.sa());
|
|
948
1013
|
// Inline function 'kotlin.contracts.contract' call
|
|
949
1014
|
// Inline function 'org.kodein.di.bindings.Singleton.getFactory.<anonymous>.<anonymous>' call
|
|
950
1015
|
$lateInitRegistry._v = this_0;
|
|
@@ -953,97 +1018,72 @@
|
|
|
953
1018
|
tmp = tmp0_elvis_lhs;
|
|
954
1019
|
}
|
|
955
1020
|
var registry = tmp;
|
|
956
|
-
var tmp_0 = registry.
|
|
1021
|
+
var tmp_0 = registry.a1j(this$0.t1j_1, this$0.q1j_1, Singleton$getFactory$lambda$lambda(this$0, $bindingDi));
|
|
957
1022
|
return !(tmp_0 == null) ? tmp_0 : THROW_CCE();
|
|
958
1023
|
};
|
|
959
1024
|
}
|
|
960
1025
|
function Singleton$copier$lambda(this$0) {
|
|
961
1026
|
return function (it) {
|
|
962
|
-
return new Singleton(this$0.
|
|
1027
|
+
return new Singleton(this$0.m1j_1, this$0.n1j_1, this$0.o1j_1, this$0.p1j_1, this$0.s1j_1, this$0.q1j_1, this$0.r1j_1);
|
|
963
1028
|
};
|
|
964
1029
|
}
|
|
965
1030
|
function Singleton(scope, contextType, explicitContext, createdType, refMaker, sync, creator) {
|
|
966
1031
|
refMaker = refMaker === VOID ? null : refMaker;
|
|
967
1032
|
sync = sync === VOID ? true : sync;
|
|
968
|
-
this.
|
|
969
|
-
this.
|
|
970
|
-
this.
|
|
971
|
-
this.
|
|
972
|
-
this.
|
|
973
|
-
this.
|
|
1033
|
+
this.m1j_1 = scope;
|
|
1034
|
+
this.n1j_1 = contextType;
|
|
1035
|
+
this.o1j_1 = explicitContext;
|
|
1036
|
+
this.p1j_1 = createdType;
|
|
1037
|
+
this.q1j_1 = sync;
|
|
1038
|
+
this.r1j_1 = creator;
|
|
974
1039
|
var tmp = this;
|
|
975
|
-
tmp.
|
|
976
|
-
this.
|
|
1040
|
+
tmp.s1j_1 = refMaker == null ? SingletonReference_instance : refMaker;
|
|
1041
|
+
this.t1j_1 = new ScopeKey(new Object(), Unit_instance);
|
|
977
1042
|
var tmp_0 = this;
|
|
978
1043
|
var tmp_1 = Companion_instance_1;
|
|
979
|
-
tmp_0.
|
|
1044
|
+
tmp_0.u1j_1 = tmp_1.o1i(Singleton$copier$lambda(this));
|
|
980
1045
|
}
|
|
981
|
-
protoOf(Singleton).
|
|
982
|
-
return this.
|
|
1046
|
+
protoOf(Singleton).z1g = function () {
|
|
1047
|
+
return this.m1j_1;
|
|
983
1048
|
};
|
|
984
|
-
protoOf(Singleton).
|
|
985
|
-
return this.
|
|
1049
|
+
protoOf(Singleton).x1g = function () {
|
|
1050
|
+
return this.n1j_1;
|
|
986
1051
|
};
|
|
987
|
-
protoOf(Singleton).
|
|
988
|
-
return this.
|
|
1052
|
+
protoOf(Singleton).s1i = function () {
|
|
1053
|
+
return this.p1j_1;
|
|
989
1054
|
};
|
|
990
|
-
protoOf(Singleton).
|
|
1055
|
+
protoOf(Singleton).p1i = function () {
|
|
991
1056
|
var params = ArrayList_init_$Create$_0(2);
|
|
992
|
-
if (!equals(this.
|
|
993
|
-
params.s('ref = ' + erasedOf(this.
|
|
1057
|
+
if (!equals(this.s1j_1, SingletonReference_instance)) {
|
|
1058
|
+
params.s('ref = ' + erasedOf(this.s1j_1).h1f());
|
|
994
1059
|
}
|
|
995
1060
|
return factoryName(this, params);
|
|
996
1061
|
};
|
|
997
|
-
protoOf(Singleton).
|
|
1062
|
+
protoOf(Singleton).q1i = function () {
|
|
998
1063
|
var params = ArrayList_init_$Create$_0(2);
|
|
999
|
-
if (!equals(this.
|
|
1000
|
-
params.s('ref = ' + erasedOf(this.
|
|
1064
|
+
if (!equals(this.s1j_1, SingletonReference_instance)) {
|
|
1065
|
+
params.s('ref = ' + erasedOf(this.s1j_1).j1f());
|
|
1001
1066
|
}
|
|
1002
1067
|
return factoryName(this, params);
|
|
1003
1068
|
};
|
|
1004
|
-
protoOf(Singleton).
|
|
1069
|
+
protoOf(Singleton).l1j = function (key, di) {
|
|
1005
1070
|
var lateInitRegistry = {_v: null};
|
|
1006
|
-
var bindingDi = this.
|
|
1071
|
+
var bindingDi = this.o1j_1 ? di : di.v1j();
|
|
1007
1072
|
return Singleton$getFactory$lambda(lateInitRegistry, this, bindingDi);
|
|
1008
1073
|
};
|
|
1009
|
-
protoOf(Singleton).
|
|
1010
|
-
return this.
|
|
1011
|
-
};
|
|
1012
|
-
function Provider$getFactory$lambda(this$0, $di) {
|
|
1013
|
-
return function (_anonymous_parameter_0__qggqh8) {
|
|
1014
|
-
return this$0.j2c_1(new NoArgBindingDIWrap($di));
|
|
1015
|
-
};
|
|
1016
|
-
}
|
|
1017
|
-
function Provider(contextType, createdType, creator) {
|
|
1018
|
-
this.h2c_1 = contextType;
|
|
1019
|
-
this.i2c_1 = createdType;
|
|
1020
|
-
this.j2c_1 = creator;
|
|
1021
|
-
}
|
|
1022
|
-
protoOf(Provider).p29 = function () {
|
|
1023
|
-
return this.h2c_1;
|
|
1024
|
-
};
|
|
1025
|
-
protoOf(Provider).g2b = function () {
|
|
1026
|
-
return this.i2c_1;
|
|
1027
|
-
};
|
|
1028
|
-
protoOf(Provider).d2b = function () {
|
|
1029
|
-
return 'provider';
|
|
1030
|
-
};
|
|
1031
|
-
protoOf(Provider).f2c = function (key, di) {
|
|
1032
|
-
return Provider$getFactory$lambda(this, di);
|
|
1033
|
-
};
|
|
1034
|
-
protoOf(Provider).i2b = function (key, di) {
|
|
1035
|
-
return this.f2c(key, di);
|
|
1074
|
+
protoOf(Singleton).u1i = function (key, di) {
|
|
1075
|
+
return this.l1j(key, di);
|
|
1036
1076
|
};
|
|
1037
1077
|
function ScopeKey(scopeId, arg) {
|
|
1038
|
-
this.
|
|
1039
|
-
this.
|
|
1078
|
+
this.w1j_1 = scopeId;
|
|
1079
|
+
this.x1j_1 = arg;
|
|
1040
1080
|
}
|
|
1041
1081
|
protoOf(ScopeKey).toString = function () {
|
|
1042
|
-
return 'ScopeKey(scopeId=' + toString_0(this.
|
|
1082
|
+
return 'ScopeKey(scopeId=' + toString_0(this.w1j_1) + ', arg=' + this.x1j_1 + ')';
|
|
1043
1083
|
};
|
|
1044
1084
|
protoOf(ScopeKey).hashCode = function () {
|
|
1045
|
-
var result = hashCode(this.
|
|
1046
|
-
result = imul(result, 31) + (this.
|
|
1085
|
+
var result = hashCode(this.w1j_1);
|
|
1086
|
+
result = imul(result, 31) + (this.x1j_1 == null ? 0 : hashCode(this.x1j_1)) | 0;
|
|
1047
1087
|
return result;
|
|
1048
1088
|
};
|
|
1049
1089
|
protoOf(ScopeKey).equals = function (other) {
|
|
@@ -1052,67 +1092,67 @@
|
|
|
1052
1092
|
if (!(other instanceof ScopeKey))
|
|
1053
1093
|
return false;
|
|
1054
1094
|
var tmp0_other_with_cast = other instanceof ScopeKey ? other : THROW_CCE();
|
|
1055
|
-
if (!equals(this.
|
|
1095
|
+
if (!equals(this.w1j_1, tmp0_other_with_cast.w1j_1))
|
|
1056
1096
|
return false;
|
|
1057
|
-
if (!equals(this.
|
|
1097
|
+
if (!equals(this.x1j_1, tmp0_other_with_cast.x1j_1))
|
|
1058
1098
|
return false;
|
|
1059
1099
|
return true;
|
|
1060
1100
|
};
|
|
1061
1101
|
function DIMainBuilderImpl(allowSilentOverride) {
|
|
1062
1102
|
DIBuilderImpl.call(this, null, '', HashSet_init_$Create$(), new DIContainerBuilderImpl(true, allowSilentOverride, HashMap_init_$Create$(), ArrayList_init_$Create$(), ArrayList_init_$Create$()));
|
|
1063
|
-
this.
|
|
1064
|
-
this.
|
|
1065
|
-
this.
|
|
1103
|
+
this.d1k_1 = ArrayList_init_$Create$();
|
|
1104
|
+
this.e1k_1 = Companion_instance.a1h_1;
|
|
1105
|
+
this.f1k_1 = Companion_instance.b1h_1;
|
|
1066
1106
|
}
|
|
1067
|
-
protoOf(DIMainBuilderImpl).
|
|
1068
|
-
return this.
|
|
1107
|
+
protoOf(DIMainBuilderImpl).z1h = function () {
|
|
1108
|
+
return this.d1k_1;
|
|
1069
1109
|
};
|
|
1070
|
-
protoOf(DIMainBuilderImpl).
|
|
1071
|
-
return this.
|
|
1110
|
+
protoOf(DIMainBuilderImpl).g1k = function () {
|
|
1111
|
+
return this.e1k_1;
|
|
1072
1112
|
};
|
|
1073
|
-
protoOf(DIMainBuilderImpl).
|
|
1074
|
-
return this.
|
|
1113
|
+
protoOf(DIMainBuilderImpl).h1k = function () {
|
|
1114
|
+
return this.f1k_1;
|
|
1075
1115
|
};
|
|
1076
1116
|
function TypeBinder($outer, type, tag, overrides) {
|
|
1077
|
-
this.
|
|
1078
|
-
this.
|
|
1079
|
-
this.
|
|
1080
|
-
this.
|
|
1117
|
+
this.q1k_1 = $outer;
|
|
1118
|
+
this.n1k_1 = type;
|
|
1119
|
+
this.o1k_1 = tag;
|
|
1120
|
+
this.p1k_1 = overrides;
|
|
1081
1121
|
}
|
|
1082
|
-
protoOf(TypeBinder).
|
|
1083
|
-
return this.
|
|
1122
|
+
protoOf(TypeBinder).t1g = function () {
|
|
1123
|
+
return this.q1k_1.t1g();
|
|
1084
1124
|
};
|
|
1085
|
-
protoOf(TypeBinder).
|
|
1086
|
-
return this.
|
|
1125
|
+
protoOf(TypeBinder).r1k = function (binding) {
|
|
1126
|
+
return this.t1g().w1k(new Key(binding.x1g(), binding.r1i(), this.n1k_1, this.o1k_1), binding, this.q1k_1.i1k_1, this.p1k_1);
|
|
1087
1127
|
};
|
|
1088
1128
|
function DIBuilderImpl(moduleName, prefix, importedModules, containerBuilder) {
|
|
1089
|
-
this.
|
|
1090
|
-
this.
|
|
1091
|
-
this.
|
|
1092
|
-
this.
|
|
1093
|
-
this.
|
|
1129
|
+
this.i1k_1 = moduleName;
|
|
1130
|
+
this.j1k_1 = prefix;
|
|
1131
|
+
this.k1k_1 = importedModules;
|
|
1132
|
+
this.l1k_1 = containerBuilder;
|
|
1133
|
+
this.m1k_1 = Companion_getInstance().g1f_1;
|
|
1094
1134
|
}
|
|
1095
|
-
protoOf(DIBuilderImpl).
|
|
1096
|
-
return this.
|
|
1135
|
+
protoOf(DIBuilderImpl).t1g = function () {
|
|
1136
|
+
return this.l1k_1;
|
|
1097
1137
|
};
|
|
1098
|
-
protoOf(DIBuilderImpl).
|
|
1099
|
-
return this.
|
|
1138
|
+
protoOf(DIBuilderImpl).x1g = function () {
|
|
1139
|
+
return this.m1k_1;
|
|
1100
1140
|
};
|
|
1101
|
-
protoOf(DIBuilderImpl).
|
|
1141
|
+
protoOf(DIBuilderImpl).z1g = function () {
|
|
1102
1142
|
return new NoScope();
|
|
1103
1143
|
};
|
|
1104
|
-
protoOf(DIBuilderImpl).
|
|
1144
|
+
protoOf(DIBuilderImpl).y1g = function () {
|
|
1105
1145
|
return false;
|
|
1106
1146
|
};
|
|
1107
|
-
protoOf(DIBuilderImpl).
|
|
1147
|
+
protoOf(DIBuilderImpl).u1g = function (type, tag, overrides) {
|
|
1108
1148
|
return new TypeBinder(this, type, tag, overrides);
|
|
1109
1149
|
};
|
|
1110
|
-
protoOf(DIBuilderImpl).
|
|
1111
|
-
var moduleName = this.
|
|
1150
|
+
protoOf(DIBuilderImpl).v1g = function (module_0, allowOverride) {
|
|
1151
|
+
var moduleName = this.j1k_1 + module_0.g9();
|
|
1112
1152
|
var tmp;
|
|
1113
1153
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
1114
1154
|
if (charSequenceLength(moduleName) > 0) {
|
|
1115
|
-
tmp = this.
|
|
1155
|
+
tmp = this.k1k_1.r(moduleName);
|
|
1116
1156
|
} else {
|
|
1117
1157
|
tmp = false;
|
|
1118
1158
|
}
|
|
@@ -1120,20 +1160,20 @@
|
|
|
1120
1160
|
throw IllegalStateException_init_$Create$('Module "' + moduleName + '" has already been imported!');
|
|
1121
1161
|
}
|
|
1122
1162
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1123
|
-
this.
|
|
1163
|
+
this.k1k_1.s(moduleName);
|
|
1124
1164
|
// Inline function 'kotlin.apply' call
|
|
1125
|
-
var this_0 = new DIBuilderImpl(moduleName, this.
|
|
1165
|
+
var this_0 = new DIBuilderImpl(moduleName, this.j1k_1 + module_0.m1g_1, this.k1k_1, this.t1g().x1k(allowOverride, module_0.l1g_1));
|
|
1126
1166
|
// Inline function 'kotlin.contracts.contract' call
|
|
1127
|
-
module_0.
|
|
1167
|
+
module_0.n1g_1(this_0);
|
|
1128
1168
|
};
|
|
1129
1169
|
function DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT() {
|
|
1130
1170
|
OverrideMode.call(this, 'ALLOW_SILENT', 0);
|
|
1131
1171
|
OverrideMode_ALLOW_SILENT_instance = this;
|
|
1132
1172
|
}
|
|
1133
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT).
|
|
1173
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT).a1l = function () {
|
|
1134
1174
|
return true;
|
|
1135
1175
|
};
|
|
1136
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT).
|
|
1176
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT).b1l = function (overrides) {
|
|
1137
1177
|
return overrides;
|
|
1138
1178
|
};
|
|
1139
1179
|
var OverrideMode_ALLOW_SILENT_instance;
|
|
@@ -1141,10 +1181,10 @@
|
|
|
1141
1181
|
OverrideMode.call(this, 'ALLOW_EXPLICIT', 1);
|
|
1142
1182
|
OverrideMode_ALLOW_EXPLICIT_instance = this;
|
|
1143
1183
|
}
|
|
1144
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT).
|
|
1184
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT).a1l = function () {
|
|
1145
1185
|
return true;
|
|
1146
1186
|
};
|
|
1147
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT).
|
|
1187
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT).b1l = function (overrides) {
|
|
1148
1188
|
return overrides == null ? false : overrides;
|
|
1149
1189
|
};
|
|
1150
1190
|
var OverrideMode_ALLOW_EXPLICIT_instance;
|
|
@@ -1152,10 +1192,10 @@
|
|
|
1152
1192
|
OverrideMode.call(this, 'FORBID', 2);
|
|
1153
1193
|
OverrideMode_FORBID_instance = this;
|
|
1154
1194
|
}
|
|
1155
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$FORBID).
|
|
1195
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$FORBID).a1l = function () {
|
|
1156
1196
|
return false;
|
|
1157
1197
|
};
|
|
1158
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$FORBID).
|
|
1198
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$FORBID).b1l = function (overrides) {
|
|
1159
1199
|
var tmp;
|
|
1160
1200
|
if (!(overrides == null) ? overrides : false) {
|
|
1161
1201
|
throw new OverridingException('Overriding has been forbidden');
|
|
@@ -1167,7 +1207,7 @@
|
|
|
1167
1207
|
var OverrideMode_FORBID_instance;
|
|
1168
1208
|
function Companion_2() {
|
|
1169
1209
|
}
|
|
1170
|
-
protoOf(Companion_2).
|
|
1210
|
+
protoOf(Companion_2).g1l = function (allow, silent) {
|
|
1171
1211
|
if (!allow)
|
|
1172
1212
|
return OverrideMode_FORBID_getInstance();
|
|
1173
1213
|
if (silent)
|
|
@@ -1191,13 +1231,13 @@
|
|
|
1191
1231
|
Enum.call(this, name, ordinal);
|
|
1192
1232
|
}
|
|
1193
1233
|
function checkOverrides($this, key, overrides) {
|
|
1194
|
-
var mustOverride = $this.
|
|
1234
|
+
var mustOverride = $this.v1k_1.b1l(overrides);
|
|
1195
1235
|
if (!(mustOverride == null)) {
|
|
1196
1236
|
var tmp;
|
|
1197
1237
|
if (mustOverride) {
|
|
1198
1238
|
// Inline function 'kotlin.collections.contains' call
|
|
1199
1239
|
// Inline function 'kotlin.collections.containsKey' call
|
|
1200
|
-
var this_0 = $this.
|
|
1240
|
+
var this_0 = $this.s1k_1;
|
|
1201
1241
|
tmp = !(isInterface(this_0, Map) ? this_0 : THROW_CCE()).r2(key);
|
|
1202
1242
|
} else {
|
|
1203
1243
|
tmp = false;
|
|
@@ -1208,7 +1248,7 @@
|
|
|
1208
1248
|
if (!mustOverride) {
|
|
1209
1249
|
// Inline function 'kotlin.collections.contains' call
|
|
1210
1250
|
// Inline function 'kotlin.collections.containsKey' call
|
|
1211
|
-
var this_1 = $this.
|
|
1251
|
+
var this_1 = $this.s1k_1;
|
|
1212
1252
|
tmp_0 = (isInterface(this_1, Map) ? this_1 : THROW_CCE()).r2(key);
|
|
1213
1253
|
} else {
|
|
1214
1254
|
tmp_0 = false;
|
|
@@ -1218,7 +1258,7 @@
|
|
|
1218
1258
|
}
|
|
1219
1259
|
}
|
|
1220
1260
|
function checkMatch($this, allowOverride) {
|
|
1221
|
-
if (!$this.
|
|
1261
|
+
if (!$this.v1k_1.a1l() ? allowOverride : false)
|
|
1222
1262
|
throw new OverridingException('Overriding has been forbidden');
|
|
1223
1263
|
}
|
|
1224
1264
|
function OverrideMode_ALLOW_SILENT_getInstance() {
|
|
@@ -1234,15 +1274,15 @@
|
|
|
1234
1274
|
return OverrideMode_FORBID_instance;
|
|
1235
1275
|
}
|
|
1236
1276
|
function DIContainerBuilderImpl(allowOverride, silentOverride, bindingsMap, callbacks, translators) {
|
|
1237
|
-
this.
|
|
1238
|
-
this.
|
|
1239
|
-
this.
|
|
1240
|
-
this.
|
|
1277
|
+
this.s1k_1 = bindingsMap;
|
|
1278
|
+
this.t1k_1 = callbacks;
|
|
1279
|
+
this.u1k_1 = translators;
|
|
1280
|
+
this.v1k_1 = Companion_instance_2.g1l(allowOverride, silentOverride);
|
|
1241
1281
|
}
|
|
1242
|
-
protoOf(DIContainerBuilderImpl).
|
|
1282
|
+
protoOf(DIContainerBuilderImpl).w1k = function (key, binding, fromModule, overrides) {
|
|
1243
1283
|
checkOverrides(this, key, overrides);
|
|
1244
1284
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1245
|
-
var this_0 = this.
|
|
1285
|
+
var this_0 = this.s1k_1;
|
|
1246
1286
|
var value = this_0.t2(key);
|
|
1247
1287
|
var tmp;
|
|
1248
1288
|
if (value == null) {
|
|
@@ -1256,12 +1296,12 @@
|
|
|
1256
1296
|
var bindings = tmp;
|
|
1257
1297
|
bindings.u1(0, new DIDefining(isInterface(binding, DIBinding) ? binding : THROW_CCE(), fromModule));
|
|
1258
1298
|
};
|
|
1259
|
-
protoOf(DIContainerBuilderImpl).
|
|
1299
|
+
protoOf(DIContainerBuilderImpl).x1k = function (allowOverride, silentOverride) {
|
|
1260
1300
|
checkMatch(this, allowOverride);
|
|
1261
|
-
return new DIContainerBuilderImpl(allowOverride, silentOverride, this.
|
|
1301
|
+
return new DIContainerBuilderImpl(allowOverride, silentOverride, this.s1k_1, this.t1k_1, this.u1k_1);
|
|
1262
1302
|
};
|
|
1263
1303
|
function displayString($this, key, overrideLevel) {
|
|
1264
|
-
var descProp = $this.
|
|
1304
|
+
var descProp = $this.m1l_1 ? bindFullDescription$factory_0(key) : bindDescription$factory_0(key);
|
|
1265
1305
|
return !(overrideLevel === 0) ? 'overridden ' + descProp.get() : descProp.get();
|
|
1266
1306
|
}
|
|
1267
1307
|
function recursiveLoop($this, node, firstKey, firstOverrideLevel, tail) {
|
|
@@ -1273,13 +1313,13 @@
|
|
|
1273
1313
|
$l$1: do {
|
|
1274
1314
|
$l$0: do {
|
|
1275
1315
|
var tmp;
|
|
1276
|
-
if (node_0.
|
|
1277
|
-
tmp = plus(listOf(displayString($this_0, node_0.
|
|
1316
|
+
if (node_0.l1l_1 == null ? true : firstKey_0.equals(node_0.j1l_1) ? firstOverrideLevel_0 === node_0.k1l_1 : false) {
|
|
1317
|
+
tmp = plus(listOf(displayString($this_0, node_0.j1l_1, node_0.k1l_1)), tail_0);
|
|
1278
1318
|
} else {
|
|
1279
1319
|
var tmp0 = $this_0;
|
|
1280
|
-
var tmp4 = plus(listOf(displayString($this_0, node_0.
|
|
1320
|
+
var tmp4 = plus(listOf(displayString($this_0, node_0.j1l_1, node_0.k1l_1)), tail_0);
|
|
1281
1321
|
$this_0 = tmp0;
|
|
1282
|
-
node_0 = node_0.
|
|
1322
|
+
node_0 = node_0.l1l_1;
|
|
1283
1323
|
firstKey_0 = firstKey_0;
|
|
1284
1324
|
firstOverrideLevel_0 = firstOverrideLevel_0;
|
|
1285
1325
|
tail_0 = tmp4;
|
|
@@ -1299,13 +1339,13 @@
|
|
|
1299
1339
|
$l$1: do {
|
|
1300
1340
|
$l$0: do {
|
|
1301
1341
|
var tmp;
|
|
1302
|
-
if (node_0.
|
|
1342
|
+
if (node_0.j1l_1.equals(searchedKey_0) ? node_0.k1l_1 === searchedOverrideLevel_0 : false) {
|
|
1303
1343
|
tmp = false;
|
|
1304
|
-
} else if (node_0.
|
|
1344
|
+
} else if (node_0.l1l_1 == null) {
|
|
1305
1345
|
tmp = true;
|
|
1306
1346
|
} else {
|
|
1307
1347
|
$this_0 = $this_0;
|
|
1308
|
-
node_0 = node_0.
|
|
1348
|
+
node_0 = node_0.l1l_1;
|
|
1309
1349
|
searchedKey_0 = searchedKey_0;
|
|
1310
1350
|
searchedOverrideLevel_0 = searchedOverrideLevel_0;
|
|
1311
1351
|
continue $l$0;
|
|
@@ -1317,14 +1357,14 @@
|
|
|
1317
1357
|
while (true);
|
|
1318
1358
|
}
|
|
1319
1359
|
function DIContainerImpl_init_$Init$(builder, externalSources, fullDescriptionOnError, fullContainerTreeOnError, runCallbacks, $this) {
|
|
1320
|
-
DIContainerImpl.call($this, new DITreeImpl(builder.
|
|
1360
|
+
DIContainerImpl.call($this, new DITreeImpl(builder.s1k_1, externalSources, builder.u1k_1), null, fullDescriptionOnError, fullContainerTreeOnError);
|
|
1321
1361
|
var init = DIContainerImpl$_init_$lambda_r6ib3j($this, builder);
|
|
1322
1362
|
if (runCallbacks)
|
|
1323
1363
|
init();
|
|
1324
1364
|
else {
|
|
1325
1365
|
var lock = new Object();
|
|
1326
1366
|
var tmp = $this;
|
|
1327
|
-
tmp.
|
|
1367
|
+
tmp.r1l_1 = DIContainerImpl$_init_$lambda_r6ib3j_0(lock, $this, init);
|
|
1328
1368
|
}
|
|
1329
1369
|
return $this;
|
|
1330
1370
|
}
|
|
@@ -1332,14 +1372,14 @@
|
|
|
1332
1372
|
return DIContainerImpl_init_$Init$(builder, externalSources, fullDescriptionOnError, fullContainerTreeOnError, runCallbacks, objectCreate(protoOf(DIContainerImpl)));
|
|
1333
1373
|
}
|
|
1334
1374
|
function Node(key, overrideLevel, parent, fullDescriptionOnError) {
|
|
1335
|
-
this.
|
|
1336
|
-
this.
|
|
1337
|
-
this.
|
|
1338
|
-
this.
|
|
1375
|
+
this.j1l_1 = key;
|
|
1376
|
+
this.k1l_1 = overrideLevel;
|
|
1377
|
+
this.l1l_1 = parent;
|
|
1378
|
+
this.m1l_1 = fullDescriptionOnError;
|
|
1339
1379
|
}
|
|
1340
|
-
protoOf(Node).
|
|
1380
|
+
protoOf(Node).s1l = function (searchedKey, searchedOverrideLevel) {
|
|
1341
1381
|
if (!recursiveCheck(this, this, searchedKey, searchedOverrideLevel)) {
|
|
1342
|
-
var list = plus_0(recursiveLoop(this, this, searchedKey, searchedOverrideLevel, emptyList()), displayString(this, searchedKey, this.
|
|
1382
|
+
var list = plus_0(recursiveLoop(this, this, searchedKey, searchedOverrideLevel, emptyList()), displayString(this, searchedKey, this.k1l_1));
|
|
1343
1383
|
var sb = StringBuilder_init_$Create$();
|
|
1344
1384
|
// Inline function 'kotlin.collections.forEachIndexed' call
|
|
1345
1385
|
var index = 0;
|
|
@@ -1374,13 +1414,13 @@
|
|
|
1374
1414
|
}
|
|
1375
1415
|
};
|
|
1376
1416
|
function bindingDI($this, key, context, tree, overrideLevel) {
|
|
1377
|
-
var container = new DIContainerImpl(tree, new Node(key, overrideLevel, $this.
|
|
1417
|
+
var container = new DIContainerImpl(tree, new Node(key, overrideLevel, $this.o1l_1, $this.p1l_1), $this.p1l_1, $this.q1l_1);
|
|
1378
1418
|
return new BindingDIImpl(new DirectDIImpl(container, context), key, overrideLevel);
|
|
1379
1419
|
}
|
|
1380
1420
|
function DIContainerImpl$_init_$lambda_r6ib3j(this$0, $builder) {
|
|
1381
1421
|
return function () {
|
|
1382
1422
|
var direct = new DirectDIImpl(this$0, get_AnyDIContext());
|
|
1383
|
-
var tmp0_iterator = $builder.
|
|
1423
|
+
var tmp0_iterator = $builder.t1k_1.v();
|
|
1384
1424
|
while (tmp0_iterator.w()) {
|
|
1385
1425
|
var element = tmp0_iterator.y();
|
|
1386
1426
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.<init>.<anonymous>.<anonymous>' call
|
|
@@ -1393,14 +1433,14 @@
|
|
|
1393
1433
|
return function () {
|
|
1394
1434
|
$l$block_1: {
|
|
1395
1435
|
// Inline function 'org.kodein.di.internal.synchronizedIfNotNull' call
|
|
1396
|
-
if (this$0.
|
|
1436
|
+
if (this$0.r1l_1 == null) {
|
|
1397
1437
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.<init>.<anonymous>.<anonymous>' call
|
|
1398
1438
|
break $l$block_1;
|
|
1399
1439
|
}
|
|
1400
1440
|
// Inline function 'org.kodein.di.internal.maySynchronized' call
|
|
1401
1441
|
$l$block_0: {
|
|
1402
1442
|
// Inline function 'org.kodein.di.internal.synchronizedIfNotNull.<anonymous>' call
|
|
1403
|
-
var tmp0_elvis_lhs = this$0.
|
|
1443
|
+
var tmp0_elvis_lhs = this$0.r1l_1;
|
|
1404
1444
|
var tmp;
|
|
1405
1445
|
if (tmp0_elvis_lhs == null) {
|
|
1406
1446
|
break $l$block_0;
|
|
@@ -1408,7 +1448,7 @@
|
|
|
1408
1448
|
tmp = tmp0_elvis_lhs;
|
|
1409
1449
|
}
|
|
1410
1450
|
var value = tmp;
|
|
1411
|
-
this$0.
|
|
1451
|
+
this$0.r1l_1 = null;
|
|
1412
1452
|
$init();
|
|
1413
1453
|
break $l$block_1;
|
|
1414
1454
|
}
|
|
@@ -1424,58 +1464,105 @@
|
|
|
1424
1464
|
return description($this$null, it);
|
|
1425
1465
|
}
|
|
1426
1466
|
function DIContainerImpl(tree, node, fullDescriptionOnError, fullContainerTreeOnError) {
|
|
1427
|
-
this.
|
|
1428
|
-
this.
|
|
1429
|
-
this.
|
|
1430
|
-
this.
|
|
1431
|
-
this.
|
|
1432
|
-
}
|
|
1433
|
-
protoOf(DIContainerImpl).
|
|
1434
|
-
|
|
1467
|
+
this.n1l_1 = tree;
|
|
1468
|
+
this.o1l_1 = node;
|
|
1469
|
+
this.p1l_1 = fullDescriptionOnError;
|
|
1470
|
+
this.q1l_1 = fullContainerTreeOnError;
|
|
1471
|
+
this.r1l_1 = null;
|
|
1472
|
+
}
|
|
1473
|
+
protoOf(DIContainerImpl).u1h = function (key, context, overrideLevel) {
|
|
1474
|
+
// Inline function 'kotlin.let' call
|
|
1475
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
1476
|
+
var it = this.n1l_1.b1i(key, 0);
|
|
1477
|
+
var tmp;
|
|
1478
|
+
if (it.n() === 1) {
|
|
1479
|
+
var tmp0_container = it.g1(0);
|
|
1480
|
+
var definition = tmp0_container.dd();
|
|
1481
|
+
var translator = tmp0_container.qh();
|
|
1482
|
+
var tmp1_safe_receiver = this.o1l_1;
|
|
1483
|
+
if (tmp1_safe_receiver == null)
|
|
1484
|
+
null;
|
|
1485
|
+
else {
|
|
1486
|
+
tmp1_safe_receiver.s1l(key, 0);
|
|
1487
|
+
}
|
|
1488
|
+
var tmp_0 = Companion_instance_0.l1h(key.c1g_1, context);
|
|
1489
|
+
var originalContext = isInterface(tmp_0, DIContext) ? tmp_0 : THROW_CCE();
|
|
1490
|
+
var tmp3_elvis_lhs = translator == null ? null : toKContext(translator, new DirectDIImpl(this, originalContext), context);
|
|
1491
|
+
var kContext = tmp3_elvis_lhs == null ? originalContext : tmp3_elvis_lhs;
|
|
1492
|
+
if (!(key instanceof Key))
|
|
1493
|
+
THROW_CCE();
|
|
1494
|
+
var bindingDI_0 = bindingDI(this, key, kContext, definition.z1f_1, overrideLevel);
|
|
1495
|
+
return definition.a1g_1.u1i(key, bindingDI_0);
|
|
1496
|
+
}
|
|
1497
|
+
var bindingDI_1 = bindingDI(this, key, Companion_instance_0.l1h(key.c1g_1, context), this.n1l_1, overrideLevel);
|
|
1498
|
+
// Inline function 'kotlin.collections.forEach' call
|
|
1499
|
+
var tmp0_iterator = this.n1l_1.z1h().v();
|
|
1500
|
+
while (tmp0_iterator.w()) {
|
|
1501
|
+
var element = tmp0_iterator.y();
|
|
1502
|
+
// Inline function 'org.kodein.di.internal.DIContainerImpl.factoryOrNull.<anonymous>' call
|
|
1503
|
+
var tmp0_safe_receiver = element.t1l(bindingDI_1, key);
|
|
1504
|
+
if (tmp0_safe_receiver == null)
|
|
1505
|
+
null;
|
|
1506
|
+
else {
|
|
1507
|
+
// Inline function 'kotlin.let' call
|
|
1508
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
1509
|
+
var tmp0_safe_receiver_0 = this.o1l_1;
|
|
1510
|
+
if (tmp0_safe_receiver_0 == null)
|
|
1511
|
+
null;
|
|
1512
|
+
else {
|
|
1513
|
+
tmp0_safe_receiver_0.s1l(key, 0);
|
|
1514
|
+
}
|
|
1515
|
+
return (!(tmp0_safe_receiver == null) ? typeof tmp0_safe_receiver === 'function' : false) ? tmp0_safe_receiver : THROW_CCE();
|
|
1516
|
+
}
|
|
1517
|
+
}
|
|
1518
|
+
return null;
|
|
1519
|
+
};
|
|
1520
|
+
protoOf(DIContainerImpl).s1h = function (key, context, overrideLevel) {
|
|
1521
|
+
var result = this.n1l_1.b1i(key, overrideLevel);
|
|
1435
1522
|
if (result.n() === 1) {
|
|
1436
1523
|
var tmp0_container = result.g1(0);
|
|
1437
|
-
var definition = tmp0_container.
|
|
1438
|
-
var translator = tmp0_container.
|
|
1439
|
-
var tmp1_safe_receiver = this.
|
|
1524
|
+
var definition = tmp0_container.dd();
|
|
1525
|
+
var translator = tmp0_container.qh();
|
|
1526
|
+
var tmp1_safe_receiver = this.o1l_1;
|
|
1440
1527
|
if (tmp1_safe_receiver == null)
|
|
1441
1528
|
null;
|
|
1442
1529
|
else {
|
|
1443
|
-
tmp1_safe_receiver.
|
|
1530
|
+
tmp1_safe_receiver.s1l(key, overrideLevel);
|
|
1444
1531
|
}
|
|
1445
|
-
var tmp = Companion_instance_0.
|
|
1532
|
+
var tmp = Companion_instance_0.l1h(key.c1g_1, context);
|
|
1446
1533
|
var originalContext = isInterface(tmp, DIContext) ? tmp : THROW_CCE();
|
|
1447
1534
|
var tmp3_elvis_lhs = translator == null ? null : toKContext(translator, new DirectDIImpl(this, originalContext), context);
|
|
1448
1535
|
var kContext = tmp3_elvis_lhs == null ? originalContext : tmp3_elvis_lhs;
|
|
1449
1536
|
if (!(key instanceof Key))
|
|
1450
1537
|
THROW_CCE();
|
|
1451
|
-
var bindingDI_0 = bindingDI(this, key, kContext, definition.
|
|
1452
|
-
return definition.
|
|
1538
|
+
var bindingDI_0 = bindingDI(this, key, kContext, definition.z1f_1, overrideLevel);
|
|
1539
|
+
return definition.a1g_1.u1i(key, bindingDI_0);
|
|
1453
1540
|
}
|
|
1454
|
-
var bindingDI_1 = bindingDI(this, key, Companion_instance_0.
|
|
1541
|
+
var bindingDI_1 = bindingDI(this, key, Companion_instance_0.l1h(key.c1g_1, context), this.n1l_1, overrideLevel);
|
|
1455
1542
|
// Inline function 'kotlin.collections.forEach' call
|
|
1456
|
-
var tmp0_iterator = this.
|
|
1543
|
+
var tmp0_iterator = this.n1l_1.z1h().v();
|
|
1457
1544
|
while (tmp0_iterator.w()) {
|
|
1458
1545
|
var element = tmp0_iterator.y();
|
|
1459
1546
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>' call
|
|
1460
|
-
var tmp0_safe_receiver = element.
|
|
1547
|
+
var tmp0_safe_receiver = element.t1l(bindingDI_1, key);
|
|
1461
1548
|
if (tmp0_safe_receiver == null)
|
|
1462
1549
|
null;
|
|
1463
1550
|
else {
|
|
1464
1551
|
// Inline function 'kotlin.let' call
|
|
1465
1552
|
// Inline function 'kotlin.contracts.contract' call
|
|
1466
|
-
var tmp0_safe_receiver_0 = this.
|
|
1553
|
+
var tmp0_safe_receiver_0 = this.o1l_1;
|
|
1467
1554
|
if (tmp0_safe_receiver_0 == null)
|
|
1468
1555
|
null;
|
|
1469
1556
|
else {
|
|
1470
|
-
tmp0_safe_receiver_0.
|
|
1557
|
+
tmp0_safe_receiver_0.s1l(key, overrideLevel);
|
|
1471
1558
|
}
|
|
1472
1559
|
return (!(tmp0_safe_receiver == null) ? typeof tmp0_safe_receiver === 'function' : false) ? tmp0_safe_receiver : THROW_CCE();
|
|
1473
1560
|
}
|
|
1474
1561
|
}
|
|
1475
1562
|
var withOverrides = !(overrideLevel === 0);
|
|
1476
|
-
var descProp = this.
|
|
1563
|
+
var descProp = this.p1l_1 ? fullDescription$factory_0(key) : description$factory_0(key);
|
|
1477
1564
|
var tmp_0;
|
|
1478
|
-
if (this.
|
|
1565
|
+
if (this.p1l_1) {
|
|
1479
1566
|
tmp_0 = DIContainerImpl$factory$lambda;
|
|
1480
1567
|
} else {
|
|
1481
1568
|
tmp_0 = DIContainerImpl$factory$lambda_0;
|
|
@@ -1489,10 +1576,10 @@
|
|
|
1489
1576
|
// Inline function 'kotlin.contracts.contract' call
|
|
1490
1577
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>' call
|
|
1491
1578
|
this_0.e5('No binding found for ' + descProp.get());
|
|
1492
|
-
if (this.
|
|
1579
|
+
if (this.q1l_1) {
|
|
1493
1580
|
// Inline function 'kotlin.text.appendLine' call
|
|
1494
1581
|
this_0.f5(_Char___init__impl__6a9atx(10));
|
|
1495
|
-
var forType = this.
|
|
1582
|
+
var forType = this.n1l_1.c1i(new SearchSpecs(VOID, VOID, key.e1g_1));
|
|
1496
1583
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1497
1584
|
if (!forType.c1()) {
|
|
1498
1585
|
// Inline function 'kotlin.collections.associate' call
|
|
@@ -1504,12 +1591,12 @@
|
|
|
1504
1591
|
var element_0 = tmp0_iterator_0.y();
|
|
1505
1592
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1506
1593
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>.<anonymous>' call
|
|
1507
|
-
var pair = to(element_0.
|
|
1508
|
-
destination.k2(pair.
|
|
1594
|
+
var pair = to(element_0.nh_1, element_0.oh_1);
|
|
1595
|
+
destination.k2(pair.ad_1, pair.bd_1);
|
|
1509
1596
|
}
|
|
1510
1597
|
this_0.e5('Available bindings for this type:\n' + descFun(destination, withOverrides));
|
|
1511
1598
|
}
|
|
1512
|
-
this_0.e5('Registered in this DI container:\n' + descFun(this.
|
|
1599
|
+
this_0.e5('Registered in this DI container:\n' + descFun(this.n1l_1.y1h(), withOverrides));
|
|
1513
1600
|
}
|
|
1514
1601
|
var description = this_0.toString();
|
|
1515
1602
|
throw new NotFoundException(key, description);
|
|
@@ -1523,13 +1610,13 @@
|
|
|
1523
1610
|
var element_1 = tmp0_iterator_1.y();
|
|
1524
1611
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1525
1612
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>' call
|
|
1526
|
-
var pair_0 = to(element_1.
|
|
1527
|
-
destination_0.k2(pair_0.
|
|
1613
|
+
var pair_0 = to(element_1.nh_1, ensureNotNull(this.n1l_1.d1i(element_1.nh_1)).oh_1);
|
|
1614
|
+
destination_0.k2(pair_0.ad_1, pair_0.bd_1);
|
|
1528
1615
|
}
|
|
1529
1616
|
var potentials = destination_0;
|
|
1530
1617
|
// Inline function 'kotlin.collections.filter' call
|
|
1531
1618
|
// Inline function 'kotlin.collections.filterTo' call
|
|
1532
|
-
var this_1 = this.
|
|
1619
|
+
var this_1 = this.n1l_1.y1h();
|
|
1533
1620
|
var destination_1 = LinkedHashMap_init_$Create$();
|
|
1534
1621
|
// Inline function 'kotlin.collections.iterator' call
|
|
1535
1622
|
var tmp0_iterator_2 = this_1.m2().v();
|
|
@@ -1547,22 +1634,22 @@
|
|
|
1547
1634
|
};
|
|
1548
1635
|
function bindFullDescription$factory_0($b0) {
|
|
1549
1636
|
return getPropertyCallableRef('bindFullDescription', 0, KProperty0, function () {
|
|
1550
|
-
return $b0.
|
|
1637
|
+
return $b0.j1g();
|
|
1551
1638
|
}, null);
|
|
1552
1639
|
}
|
|
1553
1640
|
function bindDescription$factory_0($b0) {
|
|
1554
1641
|
return getPropertyCallableRef('bindDescription', 0, KProperty0, function () {
|
|
1555
|
-
return $b0.
|
|
1642
|
+
return $b0.h1g();
|
|
1556
1643
|
}, null);
|
|
1557
1644
|
}
|
|
1558
1645
|
function fullDescription$factory_0($b0) {
|
|
1559
1646
|
return getPropertyCallableRef('fullDescription', 0, KProperty0, function () {
|
|
1560
|
-
return $b0.
|
|
1647
|
+
return $b0.k1g();
|
|
1561
1648
|
}, null);
|
|
1562
1649
|
}
|
|
1563
1650
|
function description$factory_0($b0) {
|
|
1564
1651
|
return getPropertyCallableRef('description', 0, KProperty0, function () {
|
|
1565
|
-
return $b0.
|
|
1652
|
+
return $b0.i1g();
|
|
1566
1653
|
}, null);
|
|
1567
1654
|
}
|
|
1568
1655
|
function newBuilder($this, allowSilentOverride, init) {
|
|
@@ -1573,7 +1660,7 @@
|
|
|
1573
1660
|
return this_0;
|
|
1574
1661
|
}
|
|
1575
1662
|
function DIImpl_init_$Init$(builder, runCallbacks, $this) {
|
|
1576
|
-
DIImpl.call($this, DIContainerImpl_init_$Create$(builder.
|
|
1663
|
+
DIImpl.call($this, DIContainerImpl_init_$Create$(builder.t1g(), builder.z1h(), builder.g1k(), builder.h1k(), runCallbacks));
|
|
1577
1664
|
return $this;
|
|
1578
1665
|
}
|
|
1579
1666
|
function DIImpl_init_$Init$_0(allowSilentOverride, init, $this) {
|
|
@@ -1593,79 +1680,79 @@
|
|
|
1593
1680
|
function DIImpl$container$delegate$lambda(this$0) {
|
|
1594
1681
|
return function () {
|
|
1595
1682
|
var tmp;
|
|
1596
|
-
if (!(this$0.
|
|
1683
|
+
if (!(this$0.u1l_1.r1l_1 == null)) {
|
|
1597
1684
|
throw IllegalStateException_init_$Create$('DI has not been initialized');
|
|
1598
1685
|
}
|
|
1599
|
-
return this$0.
|
|
1686
|
+
return this$0.u1l_1;
|
|
1600
1687
|
};
|
|
1601
1688
|
}
|
|
1602
1689
|
function DIImpl(_container) {
|
|
1603
|
-
this.
|
|
1690
|
+
this.u1l_1 = _container;
|
|
1604
1691
|
var tmp = this;
|
|
1605
|
-
tmp.
|
|
1692
|
+
tmp.v1l_1 = lazy(DIImpl$container$delegate$lambda(this));
|
|
1606
1693
|
}
|
|
1607
|
-
protoOf(DIImpl).
|
|
1694
|
+
protoOf(DIImpl).f1h = function () {
|
|
1608
1695
|
// Inline function 'kotlin.getValue' call
|
|
1609
|
-
var this_0 = this.
|
|
1696
|
+
var this_0 = this.v1l_1;
|
|
1610
1697
|
container$factory();
|
|
1611
1698
|
return this_0.o2();
|
|
1612
1699
|
};
|
|
1613
1700
|
function BindingDIImpl(directDI, key, overrideLevel) {
|
|
1614
|
-
this.
|
|
1615
|
-
this.
|
|
1616
|
-
this.
|
|
1701
|
+
this.w1l_1 = directDI;
|
|
1702
|
+
this.x1l_1 = key;
|
|
1703
|
+
this.y1l_1 = overrideLevel;
|
|
1617
1704
|
}
|
|
1618
|
-
protoOf(BindingDIImpl).
|
|
1619
|
-
return this.
|
|
1705
|
+
protoOf(BindingDIImpl).h1i = function () {
|
|
1706
|
+
return this.w1l_1;
|
|
1620
1707
|
};
|
|
1621
|
-
protoOf(BindingDIImpl).
|
|
1622
|
-
return this.
|
|
1708
|
+
protoOf(BindingDIImpl).e1h = function () {
|
|
1709
|
+
return this.w1l_1.e1h();
|
|
1623
1710
|
};
|
|
1624
|
-
protoOf(BindingDIImpl).
|
|
1625
|
-
return this.
|
|
1711
|
+
protoOf(BindingDIImpl).e1i = function () {
|
|
1712
|
+
return this.w1l_1.e1i();
|
|
1626
1713
|
};
|
|
1627
|
-
protoOf(BindingDIImpl).
|
|
1628
|
-
return this.
|
|
1714
|
+
protoOf(BindingDIImpl).g1i = function (type, tag) {
|
|
1715
|
+
return this.w1l_1.g1i(type, tag);
|
|
1629
1716
|
};
|
|
1630
|
-
protoOf(BindingDIImpl).
|
|
1631
|
-
return this.
|
|
1717
|
+
protoOf(BindingDIImpl).f1i = function (context) {
|
|
1718
|
+
return this.w1l_1.f1i(context);
|
|
1632
1719
|
};
|
|
1633
|
-
protoOf(BindingDIImpl).
|
|
1634
|
-
var tmp = this.
|
|
1720
|
+
protoOf(BindingDIImpl).sa = function () {
|
|
1721
|
+
var tmp = this.h1i().e1h().g1h().o2();
|
|
1635
1722
|
return !(tmp == null) ? tmp : THROW_CCE();
|
|
1636
1723
|
};
|
|
1637
|
-
protoOf(BindingDIImpl).
|
|
1638
|
-
return new BindingDIImpl(this.
|
|
1724
|
+
protoOf(BindingDIImpl).v1j = function () {
|
|
1725
|
+
return new BindingDIImpl(this.h1i().f1i(ErasedContext_instance), this.x1l_1, this.y1l_1);
|
|
1639
1726
|
};
|
|
1640
1727
|
function container$factory() {
|
|
1641
1728
|
return getPropertyCallableRef('container', 1, KProperty1, function (receiver) {
|
|
1642
|
-
return receiver.
|
|
1729
|
+
return receiver.f1h();
|
|
1643
1730
|
}, null);
|
|
1644
1731
|
}
|
|
1645
1732
|
function findBySpecs($this, specs) {
|
|
1646
|
-
var bindSeq = asSequence($this.
|
|
1647
|
-
var specsBindType = specs.
|
|
1648
|
-
if (!(specsBindType == null) ? !equals(specsBindType, Companion_getInstance().
|
|
1733
|
+
var bindSeq = asSequence($this.c1m_1);
|
|
1734
|
+
var specsBindType = specs.k1i_1;
|
|
1735
|
+
if (!(specsBindType == null) ? !equals(specsBindType, Companion_getInstance().g1f_1) : false) {
|
|
1649
1736
|
var tmp = bindSeq;
|
|
1650
1737
|
bindSeq = filter(tmp, DITreeImpl$findBySpecs$lambda(specsBindType));
|
|
1651
1738
|
}
|
|
1652
1739
|
var tmp_0 = bindSeq;
|
|
1653
1740
|
var contextSeq = flatMap(tmp_0, DITreeImpl$findBySpecs$lambda_0);
|
|
1654
|
-
var specsContextType = specs.
|
|
1741
|
+
var specsContextType = specs.i1i_1;
|
|
1655
1742
|
if (!(specsContextType == null)) {
|
|
1656
1743
|
var tmp_1 = contextSeq;
|
|
1657
1744
|
contextSeq = mapNotNull(tmp_1, DITreeImpl$findBySpecs$lambda_1(specsContextType, $this));
|
|
1658
1745
|
}
|
|
1659
1746
|
var tmp_2 = contextSeq;
|
|
1660
1747
|
var argSeq = flatMap(tmp_2, DITreeImpl$findBySpecs$lambda_2);
|
|
1661
|
-
var specsArgType = specs.
|
|
1748
|
+
var specsArgType = specs.j1i_1;
|
|
1662
1749
|
if (!(specsArgType == null)) {
|
|
1663
1750
|
var tmp_3 = argSeq;
|
|
1664
1751
|
argSeq = filter(tmp_3, DITreeImpl$findBySpecs$lambda_3(specsArgType));
|
|
1665
1752
|
}
|
|
1666
1753
|
var tmp_4 = argSeq;
|
|
1667
1754
|
var tagSeq = flatMap(tmp_4, DITreeImpl$findBySpecs$lambda_4);
|
|
1668
|
-
var specsTag = specs.
|
|
1755
|
+
var specsTag = specs.l1i_1;
|
|
1669
1756
|
if (!equals(specsTag, NoDefinedTag_instance)) {
|
|
1670
1757
|
var tmp_5 = tagSeq;
|
|
1671
1758
|
tagSeq = filter(tmp_5, DITreeImpl$findBySpecs$lambda_5(specsTag));
|
|
@@ -1675,16 +1762,16 @@
|
|
|
1675
1762
|
return toList(resultSeq);
|
|
1676
1763
|
}
|
|
1677
1764
|
function notInMap($this, result, request) {
|
|
1678
|
-
var tmp = result.
|
|
1679
|
-
var tmp_0 = request.
|
|
1680
|
-
var tmp_1 = $this.
|
|
1765
|
+
var tmp = result.q1g();
|
|
1766
|
+
var tmp_0 = request.q1g();
|
|
1767
|
+
var tmp_1 = $this.b1m_1.j2();
|
|
1681
1768
|
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));
|
|
1682
1769
|
}
|
|
1683
1770
|
function DITreeImpl$findBySpecs$lambda($specsBindType) {
|
|
1684
1771
|
return function (_name_for_destructuring_parameter_0__wldtmu) {
|
|
1685
1772
|
// Inline function 'kotlin.collections.component1' call
|
|
1686
1773
|
var bindType = _name_for_destructuring_parameter_0__wldtmu.n2();
|
|
1687
|
-
return bindType.
|
|
1774
|
+
return bindType.f1m($specsBindType);
|
|
1688
1775
|
};
|
|
1689
1776
|
}
|
|
1690
1777
|
function DITreeImpl$findBySpecs$lambda_0(_name_for_destructuring_parameter_0__wldtmu) {
|
|
@@ -1698,19 +1785,19 @@
|
|
|
1698
1785
|
}
|
|
1699
1786
|
function DITreeImpl$findBySpecs$lambda_1($specsContextType, this$0) {
|
|
1700
1787
|
return function (triple) {
|
|
1701
|
-
var contextType = triple.
|
|
1788
|
+
var contextType = triple.cd();
|
|
1702
1789
|
var tmp;
|
|
1703
|
-
if (contextType.
|
|
1790
|
+
if (contextType.f1m($specsContextType)) {
|
|
1704
1791
|
tmp = triple;
|
|
1705
1792
|
} else {
|
|
1706
1793
|
var tmp$ret$1;
|
|
1707
1794
|
$l$block: {
|
|
1708
1795
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
1709
|
-
var tmp0_iterator = this$0.
|
|
1796
|
+
var tmp0_iterator = this$0.e1m_1.v();
|
|
1710
1797
|
while (tmp0_iterator.w()) {
|
|
1711
1798
|
var element = tmp0_iterator.y();
|
|
1712
1799
|
// Inline function 'org.kodein.di.internal.DITreeImpl.findBySpecs.<anonymous>.<anonymous>' call
|
|
1713
|
-
if (element.
|
|
1800
|
+
if (element.x1g().p1f($specsContextType) ? contextType.f1m(element.y1i()) : false) {
|
|
1714
1801
|
tmp$ret$1 = element;
|
|
1715
1802
|
break $l$block;
|
|
1716
1803
|
}
|
|
@@ -1718,14 +1805,14 @@
|
|
|
1718
1805
|
tmp$ret$1 = null;
|
|
1719
1806
|
}
|
|
1720
1807
|
var translator = tmp$ret$1;
|
|
1721
|
-
tmp = !(translator == null) ? triple.
|
|
1808
|
+
tmp = !(translator == null) ? triple.sh(VOID, VOID, translator) : null;
|
|
1722
1809
|
}
|
|
1723
1810
|
return tmp;
|
|
1724
1811
|
};
|
|
1725
1812
|
}
|
|
1726
1813
|
function DITreeImpl$findBySpecs$lambda_2(_name_for_destructuring_parameter_0__wldtmu) {
|
|
1727
|
-
var argumentTree = _name_for_destructuring_parameter_0__wldtmu.
|
|
1728
|
-
var translator = _name_for_destructuring_parameter_0__wldtmu.
|
|
1814
|
+
var argumentTree = _name_for_destructuring_parameter_0__wldtmu.dd();
|
|
1815
|
+
var translator = _name_for_destructuring_parameter_0__wldtmu.qh();
|
|
1729
1816
|
var tmp = asSequence(argumentTree);
|
|
1730
1817
|
return map(tmp, DITreeImpl$findBySpecs$lambda$lambda_0(translator));
|
|
1731
1818
|
}
|
|
@@ -1736,13 +1823,13 @@
|
|
|
1736
1823
|
}
|
|
1737
1824
|
function DITreeImpl$findBySpecs$lambda_3($specsArgType) {
|
|
1738
1825
|
return function (_name_for_destructuring_parameter_0__wldtmu) {
|
|
1739
|
-
var argType = _name_for_destructuring_parameter_0__wldtmu.
|
|
1740
|
-
return argType.
|
|
1826
|
+
var argType = _name_for_destructuring_parameter_0__wldtmu.cd();
|
|
1827
|
+
return argType.f1m($specsArgType);
|
|
1741
1828
|
};
|
|
1742
1829
|
}
|
|
1743
1830
|
function DITreeImpl$findBySpecs$lambda_4(_name_for_destructuring_parameter_0__wldtmu) {
|
|
1744
|
-
var tagTree = _name_for_destructuring_parameter_0__wldtmu.
|
|
1745
|
-
var translator = _name_for_destructuring_parameter_0__wldtmu.
|
|
1831
|
+
var tagTree = _name_for_destructuring_parameter_0__wldtmu.dd();
|
|
1832
|
+
var translator = _name_for_destructuring_parameter_0__wldtmu.qh();
|
|
1746
1833
|
var tmp = asSequence(tagTree);
|
|
1747
1834
|
return map(tmp, DITreeImpl$findBySpecs$lambda$lambda_1(translator));
|
|
1748
1835
|
}
|
|
@@ -1753,24 +1840,24 @@
|
|
|
1753
1840
|
}
|
|
1754
1841
|
function DITreeImpl$findBySpecs$lambda_5($specsTag) {
|
|
1755
1842
|
return function (_name_for_destructuring_parameter_0__wldtmu) {
|
|
1756
|
-
var tag = _name_for_destructuring_parameter_0__wldtmu.
|
|
1843
|
+
var tag = _name_for_destructuring_parameter_0__wldtmu.cd();
|
|
1757
1844
|
return equals(tag, $specsTag);
|
|
1758
1845
|
};
|
|
1759
1846
|
}
|
|
1760
1847
|
function DITreeImpl$findBySpecs$lambda_6(_name_for_destructuring_parameter_0__wldtmu) {
|
|
1761
|
-
var key = _name_for_destructuring_parameter_0__wldtmu.
|
|
1762
|
-
var translator = _name_for_destructuring_parameter_0__wldtmu.
|
|
1848
|
+
var key = _name_for_destructuring_parameter_0__wldtmu.dd();
|
|
1849
|
+
var translator = _name_for_destructuring_parameter_0__wldtmu.qh();
|
|
1763
1850
|
return to(key, translator);
|
|
1764
1851
|
}
|
|
1765
1852
|
function DITreeImpl$notInMap$lambda(it) {
|
|
1766
|
-
return it.
|
|
1853
|
+
return it.q1g();
|
|
1767
1854
|
}
|
|
1768
1855
|
function DITreeImpl(map, externalSources, registeredTranslators) {
|
|
1769
|
-
this.
|
|
1770
|
-
this.
|
|
1771
|
-
this.
|
|
1772
|
-
this.
|
|
1773
|
-
this.
|
|
1856
|
+
this.z1l_1 = externalSources;
|
|
1857
|
+
this.a1m_1 = registeredTranslators;
|
|
1858
|
+
this.b1m_1 = newConcurrentMap();
|
|
1859
|
+
this.c1m_1 = HashMap_init_$Create$();
|
|
1860
|
+
this.e1m_1 = ArrayList_init_$Create$_1(this.a1m_1);
|
|
1774
1861
|
// Inline function 'kotlin.collections.forEach' call
|
|
1775
1862
|
// Inline function 'kotlin.collections.iterator' call
|
|
1776
1863
|
var tmp0_iterator = map.m2().v();
|
|
@@ -1792,19 +1879,19 @@
|
|
|
1792
1879
|
if (item instanceof DIDefinition) {
|
|
1793
1880
|
tmp = item;
|
|
1794
1881
|
} else {
|
|
1795
|
-
tmp = new DIDefinition(item.
|
|
1882
|
+
tmp = new DIDefinition(item.a1g_1, item.b1g_1, this);
|
|
1796
1883
|
}
|
|
1797
1884
|
var tmp$ret$3 = tmp;
|
|
1798
1885
|
destination.s(tmp$ret$3);
|
|
1799
1886
|
}
|
|
1800
1887
|
var definitions = destination;
|
|
1801
1888
|
// Inline function 'kotlin.collections.set' call
|
|
1802
|
-
var this_0 = this.
|
|
1889
|
+
var this_0 = this.b1m_1;
|
|
1803
1890
|
var value = new Triple(key, definitions, null);
|
|
1804
1891
|
this_0.k2(key, value);
|
|
1805
|
-
var typeChecker = first(bindings).
|
|
1892
|
+
var typeChecker = first(bindings).a1g_1.t1i() ? new Down(key.e1g_1) : new Up(key.e1g_1);
|
|
1806
1893
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1807
|
-
var this_1 = this.
|
|
1894
|
+
var this_1 = this.c1m_1;
|
|
1808
1895
|
var value_0 = this_1.t2(typeChecker);
|
|
1809
1896
|
var tmp_0;
|
|
1810
1897
|
if (value_0 == null) {
|
|
@@ -1817,7 +1904,7 @@
|
|
|
1817
1904
|
}
|
|
1818
1905
|
var contextTree = tmp_0;
|
|
1819
1906
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1820
|
-
var key_0 = new Down(key.
|
|
1907
|
+
var key_0 = new Down(key.c1g_1);
|
|
1821
1908
|
var value_1 = contextTree.t2(key_0);
|
|
1822
1909
|
var tmp_1;
|
|
1823
1910
|
if (value_1 == null) {
|
|
@@ -1830,7 +1917,7 @@
|
|
|
1830
1917
|
}
|
|
1831
1918
|
var argumentTree = tmp_1;
|
|
1832
1919
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1833
|
-
var key_1 = new Down(key.
|
|
1920
|
+
var key_1 = new Down(key.d1g_1);
|
|
1834
1921
|
var value_2 = argumentTree.t2(key_1);
|
|
1835
1922
|
var tmp_2;
|
|
1836
1923
|
if (value_2 == null) {
|
|
@@ -1843,12 +1930,12 @@
|
|
|
1843
1930
|
}
|
|
1844
1931
|
var tagTree = tmp_2;
|
|
1845
1932
|
// Inline function 'kotlin.collections.set' call
|
|
1846
|
-
var key_2 = key.
|
|
1933
|
+
var key_2 = key.f1g_1;
|
|
1847
1934
|
tagTree.k2(key_2, key);
|
|
1848
1935
|
}
|
|
1849
1936
|
var tmp_3 = this;
|
|
1850
1937
|
// Inline function 'kotlin.collections.mapValues' call
|
|
1851
|
-
var this_2 = this.
|
|
1938
|
+
var this_2 = this.b1m_1;
|
|
1852
1939
|
// Inline function 'kotlin.collections.mapValuesTo' call
|
|
1853
1940
|
var destination_0 = LinkedHashMap_init_$Create$_0(mapCapacity(this_2.n()));
|
|
1854
1941
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
@@ -1858,23 +1945,23 @@
|
|
|
1858
1945
|
// Inline function 'kotlin.collections.mapValuesTo.<anonymous>' call
|
|
1859
1946
|
var tmp_4 = element_0.n2();
|
|
1860
1947
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>' call
|
|
1861
|
-
var tmp$ret$13 = element_0.o2().
|
|
1948
|
+
var tmp$ret$13 = element_0.o2().oh_1;
|
|
1862
1949
|
destination_0.k2(tmp_4, tmp$ret$13);
|
|
1863
1950
|
}
|
|
1864
|
-
tmp_3.
|
|
1951
|
+
tmp_3.d1m_1 = HashMap_init_$Create$_0(destination_0);
|
|
1865
1952
|
$l$loop: while (true) {
|
|
1866
1953
|
var added = ArrayList_init_$Create$();
|
|
1867
|
-
var tmp0_iterator_2 = this.
|
|
1954
|
+
var tmp0_iterator_2 = this.e1m_1.v();
|
|
1868
1955
|
while (tmp0_iterator_2.w()) {
|
|
1869
1956
|
var src = tmp0_iterator_2.y();
|
|
1870
|
-
var tmp1_iterator = this.
|
|
1957
|
+
var tmp1_iterator = this.e1m_1.v();
|
|
1871
1958
|
while (tmp1_iterator.w()) {
|
|
1872
1959
|
var dst = tmp1_iterator.y();
|
|
1873
|
-
if (dst.
|
|
1960
|
+
if (dst.x1g().p1f(src.y1i()) ? !equals(src.x1g(), dst.y1i()) : false) {
|
|
1874
1961
|
var tmp$ret$17;
|
|
1875
1962
|
$l$block_0: {
|
|
1876
1963
|
// Inline function 'kotlin.collections.none' call
|
|
1877
|
-
var this_3 = this.
|
|
1964
|
+
var this_3 = this.e1m_1;
|
|
1878
1965
|
var tmp_5;
|
|
1879
1966
|
if (isInterface(this_3, Collection)) {
|
|
1880
1967
|
tmp_5 = this_3.c1();
|
|
@@ -1889,7 +1976,7 @@
|
|
|
1889
1976
|
while (tmp0_iterator_3.w()) {
|
|
1890
1977
|
var element_1 = tmp0_iterator_3.y();
|
|
1891
1978
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>' call
|
|
1892
|
-
if (equals(element_1.
|
|
1979
|
+
if (equals(element_1.x1g(), src.x1g()) ? equals(element_1.y1i(), dst.y1i()) : false) {
|
|
1893
1980
|
tmp$ret$17 = false;
|
|
1894
1981
|
break $l$block_0;
|
|
1895
1982
|
}
|
|
@@ -1906,29 +1993,29 @@
|
|
|
1906
1993
|
}
|
|
1907
1994
|
}
|
|
1908
1995
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1909
|
-
var this_4 = this.
|
|
1996
|
+
var this_4 = this.e1m_1;
|
|
1910
1997
|
addAll(this_4, added);
|
|
1911
1998
|
if (added.c1())
|
|
1912
1999
|
break $l$loop;
|
|
1913
2000
|
}
|
|
1914
2001
|
}
|
|
1915
|
-
protoOf(DITreeImpl).
|
|
1916
|
-
return this.
|
|
2002
|
+
protoOf(DITreeImpl).z1h = function () {
|
|
2003
|
+
return this.z1l_1;
|
|
1917
2004
|
};
|
|
1918
|
-
protoOf(DITreeImpl).
|
|
1919
|
-
return this.
|
|
2005
|
+
protoOf(DITreeImpl).y1h = function () {
|
|
2006
|
+
return this.d1m_1;
|
|
1920
2007
|
};
|
|
1921
|
-
protoOf(DITreeImpl).
|
|
2008
|
+
protoOf(DITreeImpl).a1i = function (key, overrideLevel, all) {
|
|
1922
2009
|
if (!all) {
|
|
1923
|
-
var tmp0_safe_receiver = this.
|
|
2010
|
+
var tmp0_safe_receiver = this.b1m_1.t2(key);
|
|
1924
2011
|
if (tmp0_safe_receiver == null)
|
|
1925
2012
|
null;
|
|
1926
2013
|
else {
|
|
1927
2014
|
// Inline function 'kotlin.let' call
|
|
1928
2015
|
// Inline function 'kotlin.contracts.contract' call
|
|
1929
|
-
var realKey = tmp0_safe_receiver.
|
|
1930
|
-
var list = tmp0_safe_receiver.
|
|
1931
|
-
var translator = tmp0_safe_receiver.
|
|
2016
|
+
var realKey = tmp0_safe_receiver.cd();
|
|
2017
|
+
var list = tmp0_safe_receiver.dd();
|
|
2018
|
+
var translator = tmp0_safe_receiver.qh();
|
|
1932
2019
|
var tmp0_elvis_lhs = getOrNull(list, overrideLevel);
|
|
1933
2020
|
var tmp;
|
|
1934
2021
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -1941,9 +2028,9 @@
|
|
|
1941
2028
|
var tmp_1 = definition instanceof DIDefinition ? definition : THROW_CCE();
|
|
1942
2029
|
return listOf(new Triple(tmp_0, tmp_1, (translator == null ? true : isInterface(translator, ContextTranslator)) ? translator : THROW_CCE()));
|
|
1943
2030
|
}
|
|
1944
|
-
if (!equals(key.
|
|
1945
|
-
var anyContextKey = key.
|
|
1946
|
-
var tmp1_safe_receiver = this.
|
|
2031
|
+
if (!equals(key.c1g_1, Companion_getInstance().g1f_1)) {
|
|
2032
|
+
var anyContextKey = key.s1g(Companion_getInstance().g1f_1);
|
|
2033
|
+
var tmp1_safe_receiver = this.b1m_1.t2(anyContextKey);
|
|
1947
2034
|
if (tmp1_safe_receiver == null)
|
|
1948
2035
|
null;
|
|
1949
2036
|
else {
|
|
@@ -1951,14 +2038,14 @@
|
|
|
1951
2038
|
// Inline function 'kotlin.contracts.contract' call
|
|
1952
2039
|
$l$block: {
|
|
1953
2040
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
1954
|
-
var realKey_0 = tmp1_safe_receiver.
|
|
1955
|
-
var list_0 = tmp1_safe_receiver.
|
|
1956
|
-
var translator_0 = tmp1_safe_receiver.
|
|
1957
|
-
if (!(translator_0 == null) ? !equals(translator_0.
|
|
2041
|
+
var realKey_0 = tmp1_safe_receiver.cd();
|
|
2042
|
+
var list_0 = tmp1_safe_receiver.dd();
|
|
2043
|
+
var translator_0 = tmp1_safe_receiver.qh();
|
|
2044
|
+
if (!(translator_0 == null) ? !equals(translator_0.x1g(), key.c1g_1) : false) {
|
|
1958
2045
|
break $l$block;
|
|
1959
2046
|
}
|
|
1960
2047
|
// Inline function 'kotlin.collections.set' call
|
|
1961
|
-
this.
|
|
2048
|
+
this.b1m_1.k2(key, tmp1_safe_receiver);
|
|
1962
2049
|
var tmp1_elvis_lhs = getOrNull(list_0, overrideLevel);
|
|
1963
2050
|
var tmp_2;
|
|
1964
2051
|
if (tmp1_elvis_lhs == null) {
|
|
@@ -1975,26 +2062,26 @@
|
|
|
1975
2062
|
}
|
|
1976
2063
|
// Inline function 'kotlin.collections.filter' call
|
|
1977
2064
|
// Inline function 'kotlin.collections.filterTo' call
|
|
1978
|
-
var this_0 = this.
|
|
2065
|
+
var this_0 = this.e1m_1;
|
|
1979
2066
|
var destination = ArrayList_init_$Create$();
|
|
1980
2067
|
var tmp0_iterator = this_0.v();
|
|
1981
2068
|
while (tmp0_iterator.w()) {
|
|
1982
2069
|
var element = tmp0_iterator.y();
|
|
1983
2070
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
1984
|
-
if (equals(element.
|
|
2071
|
+
if (equals(element.x1g(), key.c1g_1)) {
|
|
1985
2072
|
destination.s(element);
|
|
1986
2073
|
}
|
|
1987
2074
|
}
|
|
1988
2075
|
var tmp_5 = destination;
|
|
1989
2076
|
// Inline function 'kotlin.collections.filter' call
|
|
1990
2077
|
// Inline function 'kotlin.collections.filterTo' call
|
|
1991
|
-
var this_1 = this.
|
|
2078
|
+
var this_1 = this.e1m_1;
|
|
1992
2079
|
var destination_0 = ArrayList_init_$Create$();
|
|
1993
2080
|
var tmp0_iterator_0 = this_1.v();
|
|
1994
2081
|
while (tmp0_iterator_0.w()) {
|
|
1995
2082
|
var element_0 = tmp0_iterator_0.y();
|
|
1996
2083
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
1997
|
-
if (equals(element_0.
|
|
2084
|
+
if (equals(element_0.x1g(), Companion_getInstance().g1f_1)) {
|
|
1998
2085
|
destination_0.s(element_0);
|
|
1999
2086
|
}
|
|
2000
2087
|
}
|
|
@@ -2002,8 +2089,8 @@
|
|
|
2002
2089
|
var tmp2_iterator = applicableTranslators.v();
|
|
2003
2090
|
while (tmp2_iterator.w()) {
|
|
2004
2091
|
var translator_1 = tmp2_iterator.y();
|
|
2005
|
-
var translatedKey = new Key(translator_1.
|
|
2006
|
-
var tmp3_safe_receiver = this.
|
|
2092
|
+
var translatedKey = new Key(translator_1.y1i(), key.d1g_1, key.e1g_1, key.f1g_1);
|
|
2093
|
+
var tmp3_safe_receiver = this.b1m_1.t2(translatedKey);
|
|
2007
2094
|
var tmp_6;
|
|
2008
2095
|
if (tmp3_safe_receiver == null) {
|
|
2009
2096
|
tmp_6 = null;
|
|
@@ -2012,7 +2099,7 @@
|
|
|
2012
2099
|
// Inline function 'kotlin.contracts.contract' call
|
|
2013
2100
|
var tmp_7;
|
|
2014
2101
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2015
|
-
if (tmp3_safe_receiver.
|
|
2102
|
+
if (tmp3_safe_receiver.ph_1 == null) {
|
|
2016
2103
|
tmp_7 = tmp3_safe_receiver;
|
|
2017
2104
|
} else {
|
|
2018
2105
|
tmp_7 = null;
|
|
@@ -2027,15 +2114,15 @@
|
|
|
2027
2114
|
// Inline function 'kotlin.contracts.contract' call
|
|
2028
2115
|
$l$block_0: {
|
|
2029
2116
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2030
|
-
if (!(tmp4_safe_receiver.
|
|
2117
|
+
if (!(tmp4_safe_receiver.ph_1 == null)) {
|
|
2031
2118
|
break $l$block_0;
|
|
2032
2119
|
}
|
|
2033
2120
|
// Inline function 'kotlin.collections.set' call
|
|
2034
|
-
var this_2 = this.
|
|
2035
|
-
var value = tmp4_safe_receiver.
|
|
2121
|
+
var this_2 = this.b1m_1;
|
|
2122
|
+
var value = tmp4_safe_receiver.sh(VOID, VOID, translator_1);
|
|
2036
2123
|
this_2.k2(key, value);
|
|
2037
|
-
var realKey_1 = tmp4_safe_receiver.
|
|
2038
|
-
var list_1 = tmp4_safe_receiver.
|
|
2124
|
+
var realKey_1 = tmp4_safe_receiver.cd();
|
|
2125
|
+
var list_1 = tmp4_safe_receiver.dd();
|
|
2039
2126
|
var tmp1_elvis_lhs_0 = getOrNull(list_1, overrideLevel);
|
|
2040
2127
|
var tmp_8;
|
|
2041
2128
|
if (tmp1_elvis_lhs_0 == null) {
|
|
@@ -2051,15 +2138,15 @@
|
|
|
2051
2138
|
}
|
|
2052
2139
|
}
|
|
2053
2140
|
}
|
|
2054
|
-
var result = findBySpecs(this, new SearchSpecs(key.
|
|
2141
|
+
var result = findBySpecs(this, new SearchSpecs(key.c1g_1, key.d1g_1, key.e1g_1, key.f1g_1));
|
|
2055
2142
|
if (result.n() === 1) {
|
|
2056
2143
|
var tmp5_container = first(result);
|
|
2057
|
-
var realKey_2 = tmp5_container.
|
|
2058
|
-
var translator_2 = tmp5_container.
|
|
2144
|
+
var realKey_2 = tmp5_container.cd();
|
|
2145
|
+
var translator_2 = tmp5_container.dd();
|
|
2059
2146
|
// Inline function 'kotlin.collections.set' call
|
|
2060
|
-
var this_3 = this.
|
|
2061
|
-
var tmp6_safe_receiver = this.
|
|
2062
|
-
var tmp7_elvis_lhs = tmp6_safe_receiver == null ? null : tmp6_safe_receiver.
|
|
2147
|
+
var this_3 = this.b1m_1;
|
|
2148
|
+
var tmp6_safe_receiver = this.b1m_1.t2(realKey_2);
|
|
2149
|
+
var tmp7_elvis_lhs = tmp6_safe_receiver == null ? null : tmp6_safe_receiver.sh(VOID, VOID, translator_2);
|
|
2063
2150
|
var tmp_11;
|
|
2064
2151
|
if (tmp7_elvis_lhs == null) {
|
|
2065
2152
|
throw notInMap(this, realKey_2, key);
|
|
@@ -2080,16 +2167,16 @@
|
|
|
2080
2167
|
var tmp$ret$13;
|
|
2081
2168
|
$l$block_1: {
|
|
2082
2169
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2083
|
-
var realKey_3 = element_1.
|
|
2084
|
-
var translator_3 = element_1.
|
|
2085
|
-
var tmp0_elvis_lhs_0 = this.
|
|
2170
|
+
var realKey_3 = element_1.cd();
|
|
2171
|
+
var translator_3 = element_1.dd();
|
|
2172
|
+
var tmp0_elvis_lhs_0 = this.b1m_1.t2(realKey_3);
|
|
2086
2173
|
var tmp_12;
|
|
2087
2174
|
if (tmp0_elvis_lhs_0 == null) {
|
|
2088
2175
|
throw notInMap(this, realKey_3, key);
|
|
2089
2176
|
} else {
|
|
2090
2177
|
tmp_12 = tmp0_elvis_lhs_0;
|
|
2091
2178
|
}
|
|
2092
|
-
var definitions = tmp_12.
|
|
2179
|
+
var definitions = tmp_12.dd();
|
|
2093
2180
|
var tmp2_elvis_lhs = getOrNull(definitions, overrideLevel);
|
|
2094
2181
|
var tmp_13;
|
|
2095
2182
|
if (tmp2_elvis_lhs == null) {
|
|
@@ -2114,7 +2201,7 @@
|
|
|
2114
2201
|
}
|
|
2115
2202
|
return destination_1;
|
|
2116
2203
|
};
|
|
2117
|
-
protoOf(DITreeImpl).
|
|
2204
|
+
protoOf(DITreeImpl).c1i = function (search) {
|
|
2118
2205
|
var result = findBySpecs(this, search);
|
|
2119
2206
|
// Inline function 'kotlin.collections.map' call
|
|
2120
2207
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -2123,30 +2210,30 @@
|
|
|
2123
2210
|
while (tmp0_iterator.w()) {
|
|
2124
2211
|
var item = tmp0_iterator.y();
|
|
2125
2212
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2126
|
-
var key = item.
|
|
2127
|
-
var translator = item.
|
|
2128
|
-
var tmp$ret$0 = new Triple(key, ensureNotNull(this.
|
|
2213
|
+
var key = item.cd();
|
|
2214
|
+
var translator = item.dd();
|
|
2215
|
+
var tmp$ret$0 = new Triple(key, ensureNotNull(this.b1m_1.t2(key)).oh_1, translator);
|
|
2129
2216
|
destination.s(tmp$ret$0);
|
|
2130
2217
|
}
|
|
2131
2218
|
return destination;
|
|
2132
2219
|
};
|
|
2133
|
-
protoOf(DITreeImpl).
|
|
2134
|
-
var tmp = this.
|
|
2220
|
+
protoOf(DITreeImpl).d1i = function (key) {
|
|
2221
|
+
var tmp = this.b1m_1.t2(key);
|
|
2135
2222
|
return (tmp == null ? true : tmp instanceof Triple) ? tmp : THROW_CCE();
|
|
2136
2223
|
};
|
|
2137
2224
|
function Down(type) {
|
|
2138
2225
|
TypeChecker.call(this);
|
|
2139
|
-
this.
|
|
2140
|
-
this.
|
|
2226
|
+
this.g1m_1 = type;
|
|
2227
|
+
this.h1m_1 = equals(this.g1m_1, Companion_getInstance().g1f_1);
|
|
2141
2228
|
}
|
|
2142
|
-
protoOf(Down).
|
|
2143
|
-
return this.
|
|
2229
|
+
protoOf(Down).f1m = function (other) {
|
|
2230
|
+
return this.h1m_1 ? true : this.g1m_1.p1f(other);
|
|
2144
2231
|
};
|
|
2145
2232
|
protoOf(Down).toString = function () {
|
|
2146
|
-
return 'Down(type=' + this.
|
|
2233
|
+
return 'Down(type=' + this.g1m_1 + ')';
|
|
2147
2234
|
};
|
|
2148
2235
|
protoOf(Down).hashCode = function () {
|
|
2149
|
-
return hashCode(this.
|
|
2236
|
+
return hashCode(this.g1m_1);
|
|
2150
2237
|
};
|
|
2151
2238
|
protoOf(Down).equals = function (other) {
|
|
2152
2239
|
if (this === other)
|
|
@@ -2154,22 +2241,22 @@
|
|
|
2154
2241
|
if (!(other instanceof Down))
|
|
2155
2242
|
return false;
|
|
2156
2243
|
var tmp0_other_with_cast = other instanceof Down ? other : THROW_CCE();
|
|
2157
|
-
if (!equals(this.
|
|
2244
|
+
if (!equals(this.g1m_1, tmp0_other_with_cast.g1m_1))
|
|
2158
2245
|
return false;
|
|
2159
2246
|
return true;
|
|
2160
2247
|
};
|
|
2161
2248
|
function Up(type) {
|
|
2162
2249
|
TypeChecker.call(this);
|
|
2163
|
-
this.
|
|
2250
|
+
this.i1m_1 = type;
|
|
2164
2251
|
}
|
|
2165
|
-
protoOf(Up).
|
|
2166
|
-
return equals(other, Companion_getInstance().
|
|
2252
|
+
protoOf(Up).f1m = function (other) {
|
|
2253
|
+
return equals(other, Companion_getInstance().g1f_1) ? true : other.p1f(this.i1m_1);
|
|
2167
2254
|
};
|
|
2168
2255
|
protoOf(Up).toString = function () {
|
|
2169
|
-
return 'Up(type=' + this.
|
|
2256
|
+
return 'Up(type=' + this.i1m_1 + ')';
|
|
2170
2257
|
};
|
|
2171
2258
|
protoOf(Up).hashCode = function () {
|
|
2172
|
-
return hashCode(this.
|
|
2259
|
+
return hashCode(this.i1m_1);
|
|
2173
2260
|
};
|
|
2174
2261
|
protoOf(Up).equals = function (other) {
|
|
2175
2262
|
if (this === other)
|
|
@@ -2177,62 +2264,62 @@
|
|
|
2177
2264
|
if (!(other instanceof Up))
|
|
2178
2265
|
return false;
|
|
2179
2266
|
var tmp0_other_with_cast = other instanceof Up ? other : THROW_CCE();
|
|
2180
|
-
if (!equals(this.
|
|
2267
|
+
if (!equals(this.i1m_1, tmp0_other_with_cast.i1m_1))
|
|
2181
2268
|
return false;
|
|
2182
2269
|
return true;
|
|
2183
2270
|
};
|
|
2184
2271
|
function TypeChecker() {
|
|
2185
2272
|
}
|
|
2186
2273
|
function DirectDIBaseImpl(container, context) {
|
|
2187
|
-
this.
|
|
2188
|
-
this.
|
|
2274
|
+
this.j1m_1 = container;
|
|
2275
|
+
this.k1m_1 = context;
|
|
2189
2276
|
}
|
|
2190
|
-
protoOf(DirectDIBaseImpl).
|
|
2191
|
-
return this.
|
|
2277
|
+
protoOf(DirectDIBaseImpl).f1h = function () {
|
|
2278
|
+
return this.j1m_1;
|
|
2192
2279
|
};
|
|
2193
|
-
protoOf(DirectDIBaseImpl).
|
|
2280
|
+
protoOf(DirectDIBaseImpl).h1i = function () {
|
|
2194
2281
|
return this;
|
|
2195
2282
|
};
|
|
2196
|
-
protoOf(DirectDIBaseImpl).
|
|
2197
|
-
var tmp = this.
|
|
2198
|
-
return On(new DIImpl(tmp instanceof DIContainerImpl ? tmp : THROW_CCE()), this.
|
|
2283
|
+
protoOf(DirectDIBaseImpl).e1i = function () {
|
|
2284
|
+
var tmp = this.f1h();
|
|
2285
|
+
return On(new DIImpl(tmp instanceof DIContainerImpl ? tmp : THROW_CCE()), this.k1m_1);
|
|
2199
2286
|
};
|
|
2200
|
-
protoOf(DirectDIBaseImpl).
|
|
2201
|
-
return new DirectDIImpl(this.
|
|
2287
|
+
protoOf(DirectDIBaseImpl).f1i = function (context) {
|
|
2288
|
+
return new DirectDIImpl(this.f1h(), context);
|
|
2202
2289
|
};
|
|
2203
|
-
protoOf(DirectDIBaseImpl).
|
|
2204
|
-
var tmp = this.
|
|
2290
|
+
protoOf(DirectDIBaseImpl).g1i = function (type, tag) {
|
|
2291
|
+
var tmp = this.f1h();
|
|
2205
2292
|
// Inline function 'org.kodein.di.internal.anyType' call
|
|
2206
|
-
var tmp_0 = this.
|
|
2293
|
+
var tmp_0 = this.k1m_1.k1h();
|
|
2207
2294
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2208
|
-
return tmp.
|
|
2295
|
+
return tmp.q1h(new Key(tmp$ret$0, Companion_getInstance().f1f_1, type, tag), this.k1m_1.o2())();
|
|
2209
2296
|
};
|
|
2210
2297
|
function DIProperty$provideDelegate$lambda($receiver, this$0, $prop) {
|
|
2211
2298
|
return function () {
|
|
2212
2299
|
var tmp;
|
|
2213
|
-
if (!($receiver == null) ? this$0.
|
|
2300
|
+
if (!($receiver == null) ? this$0.m1m_1 === get_AnyDIContext() : false) {
|
|
2214
2301
|
var tmp_0 = Companion_instance_0;
|
|
2215
2302
|
var tmp_1 = erasedOf($receiver);
|
|
2216
|
-
tmp = tmp_0.
|
|
2303
|
+
tmp = tmp_0.l1h(isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE(), $receiver);
|
|
2217
2304
|
} else {
|
|
2218
|
-
tmp = this$0.
|
|
2305
|
+
tmp = this$0.m1m_1;
|
|
2219
2306
|
}
|
|
2220
2307
|
var context = tmp;
|
|
2221
|
-
return this$0.
|
|
2308
|
+
return this$0.n1m_1(context, $prop.callableName);
|
|
2222
2309
|
};
|
|
2223
2310
|
}
|
|
2224
2311
|
function DIProperty(trigger, originalContext, get) {
|
|
2225
|
-
this.
|
|
2226
|
-
this.
|
|
2227
|
-
this.
|
|
2312
|
+
this.l1m_1 = trigger;
|
|
2313
|
+
this.m1m_1 = originalContext;
|
|
2314
|
+
this.n1m_1 = get;
|
|
2228
2315
|
}
|
|
2229
|
-
protoOf(DIProperty).
|
|
2316
|
+
protoOf(DIProperty).o1m = function (receiver, prop) {
|
|
2230
2317
|
// Inline function 'kotlin.also' call
|
|
2231
2318
|
var this_0 = lazy(DIProperty$provideDelegate$lambda(receiver, this, prop));
|
|
2232
2319
|
// Inline function 'kotlin.contracts.contract' call
|
|
2233
2320
|
// Inline function 'org.kodein.di.DIProperty.provideDelegate.<anonymous>' call
|
|
2234
|
-
var tmp0_safe_receiver = this.
|
|
2235
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2321
|
+
var tmp0_safe_receiver = this.l1m_1;
|
|
2322
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p1m_1;
|
|
2236
2323
|
if (tmp1_safe_receiver == null)
|
|
2237
2324
|
null;
|
|
2238
2325
|
else
|
|
@@ -2249,25 +2336,28 @@
|
|
|
2249
2336
|
return ArrayList_init_$Create$();
|
|
2250
2337
|
}
|
|
2251
2338
|
//region block: post-declaration
|
|
2252
|
-
protoOf(
|
|
2253
|
-
protoOf(
|
|
2254
|
-
protoOf(
|
|
2255
|
-
protoOf(
|
|
2256
|
-
protoOf(Provider).
|
|
2257
|
-
protoOf(Provider).
|
|
2258
|
-
protoOf(
|
|
2259
|
-
protoOf(
|
|
2260
|
-
protoOf(
|
|
2261
|
-
protoOf(
|
|
2262
|
-
protoOf(DIBuilderImpl).
|
|
2263
|
-
protoOf(DIContainerImpl).
|
|
2264
|
-
protoOf(DIContainerImpl).
|
|
2265
|
-
protoOf(DIContainerImpl).
|
|
2266
|
-
protoOf(
|
|
2267
|
-
protoOf(
|
|
2268
|
-
protoOf(
|
|
2269
|
-
protoOf(
|
|
2270
|
-
protoOf(
|
|
2339
|
+
protoOf(Provider).r1i = get_argType;
|
|
2340
|
+
protoOf(Provider).q1i = factoryFullName;
|
|
2341
|
+
protoOf(Provider).z1g = get_scope;
|
|
2342
|
+
protoOf(Provider).i1g = get_description;
|
|
2343
|
+
protoOf(Provider).k1g = get_fullDescription;
|
|
2344
|
+
protoOf(Provider).t1i = get_supportSubTypes;
|
|
2345
|
+
protoOf(Singleton).r1i = get_argType;
|
|
2346
|
+
protoOf(Singleton).i1g = get_description;
|
|
2347
|
+
protoOf(Singleton).k1g = get_fullDescription;
|
|
2348
|
+
protoOf(Singleton).t1i = get_supportSubTypes;
|
|
2349
|
+
protoOf(DIBuilderImpl).w1g = import$default;
|
|
2350
|
+
protoOf(DIContainerImpl).v1h = factoryOrNull$default;
|
|
2351
|
+
protoOf(DIContainerImpl).t1h = factory$default;
|
|
2352
|
+
protoOf(DIContainerImpl).w1h = provider;
|
|
2353
|
+
protoOf(DIContainerImpl).q1h = provider$default;
|
|
2354
|
+
protoOf(DIContainerImpl).x1h = providerOrNull;
|
|
2355
|
+
protoOf(DIContainerImpl).r1h = providerOrNull$default;
|
|
2356
|
+
protoOf(DIImpl).e1h = get_di;
|
|
2357
|
+
protoOf(DIImpl).g1h = get_diContext;
|
|
2358
|
+
protoOf(DIImpl).h1h = get_diTrigger;
|
|
2359
|
+
protoOf(DITreeImpl).b1i = find$default;
|
|
2360
|
+
protoOf(DirectDIBaseImpl).e1h = get_di_0;
|
|
2271
2361
|
//endregion
|
|
2272
2362
|
//region block: init
|
|
2273
2363
|
Companion_instance = new Companion();
|
|
@@ -2285,10 +2375,11 @@
|
|
|
2285
2375
|
_.$_$.b = Companion_instance;
|
|
2286
2376
|
_.$_$.c = Provider;
|
|
2287
2377
|
_.$_$.d = Singleton;
|
|
2288
|
-
_.$_$.e =
|
|
2289
|
-
_.$_$.f =
|
|
2378
|
+
_.$_$.e = InstanceOrNull;
|
|
2379
|
+
_.$_$.f = Instance;
|
|
2380
|
+
_.$_$.g = get_direct;
|
|
2290
2381
|
//endregion
|
|
2291
2382
|
return _;
|
|
2292
2383
|
}));
|
|
2293
2384
|
|
|
2294
|
-
//# sourceMappingURL=Kodein-kodein-di.js.map
|
|
2385
|
+
//# sourceMappingURL=Kosi-Kodein-kodein-di.js.map
|