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