@doordeck/doordeck-headless-sdk 0.45.0 → 0.47.0
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/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1394 -1464
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +19 -21
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +6 -8
- package/kotlin/Stately-stately-concurrency.js +6 -8
- package/kotlin/Stately-stately-concurrent-collections.js +53 -55
- package/kotlin/Stately-stately-strict.js +0 -2
- package/kotlin/doordeck-sdk.js +11765 -11217
- package/kotlin/kotlin-kotlin-stdlib.js +1938 -1924
- package/kotlin/kotlin-kotlinx-atomicfu-runtime.js +0 -2
- package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +0 -2
- package/kotlin/kotlinx-atomicfu.js +13 -15
- package/kotlin/kotlinx-coroutines-core.js +2051 -2089
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +0 -2
- package/kotlin/kotlinx-io-kotlinx-io-core.js +559 -550
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1849 -1872
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json-io.js +0 -2
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1523 -1523
- package/kotlin/ktor-ktor-client-ktor-client-core.js +2832 -2843
- package/kotlin/ktor-ktor-client-ktor-client-js.js +0 -2
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +388 -391
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +198 -199
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-encoding.js +0 -2
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-logging.js +0 -2
- package/kotlin/ktor-ktor-http.js +833 -860
- package/kotlin/ktor-ktor-io.js +641 -653
- package/kotlin/ktor-ktor-shared-ktor-events.js +7 -10
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +7 -9
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +266 -263
- package/kotlin/ktor-ktor-shared-ktor-serialization.js +113 -111
- package/kotlin/ktor-ktor-shared-ktor-sse.js +0 -2
- package/kotlin/ktor-ktor-shared-ktor-websocket-serialization.js +0 -2
- package/kotlin/ktor-ktor-shared-ktor-websockets.js +46 -46
- package/kotlin/ktor-ktor-utils.js +590 -606
- package/kotlin/projects-core-koin-core.js +299 -316
- package/package.json +4 -3
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js.map +0 -1
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js.map +0 -1
- package/kotlin/MultiplatformSettings-multiplatform-settings.js.map +0 -1
- package/kotlin/Stately-stately-concurrency.js.map +0 -1
- package/kotlin/Stately-stately-concurrent-collections.js.map +0 -1
- package/kotlin/Stately-stately-strict.js.map +0 -1
- package/kotlin/doordeck-sdk.js.map +0 -1
- package/kotlin/kotlin-kotlin-stdlib.js.map +0 -1
- package/kotlin/kotlin-kotlinx-atomicfu-runtime.js.map +0 -1
- package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +0 -1
- package/kotlin/kotlinx-atomicfu.js.map +0 -1
- package/kotlin/kotlinx-coroutines-core.js.map +0 -1
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js.map +0 -1
- package/kotlin/kotlinx-io-kotlinx-io-core.js.map +0 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +0 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json-io.js.map +0 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +0 -1
- package/kotlin/ktor-ktor-client-ktor-client-core.js.map +0 -1
- package/kotlin/ktor-ktor-client-ktor-client-js.js.map +0 -1
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js.map +0 -1
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js.map +0 -1
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-encoding.js.map +0 -1
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-logging.js.map +0 -1
- package/kotlin/ktor-ktor-http.js.map +0 -1
- package/kotlin/ktor-ktor-io.js.map +0 -1
- package/kotlin/ktor-ktor-shared-ktor-events.js.map +0 -1
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js.map +0 -1
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js.map +0 -1
- package/kotlin/ktor-ktor-shared-ktor-serialization.js.map +0 -1
- package/kotlin/ktor-ktor-shared-ktor-sse.js.map +0 -1
- package/kotlin/ktor-ktor-shared-ktor-websocket-serialization.js.map +0 -1
- package/kotlin/ktor-ktor-shared-ktor-websockets.js.map +0 -1
- package/kotlin/ktor-ktor-utils.js.map +0 -1
- package/kotlin/projects-core-koin-core.js.map +0 -1
|
@@ -81,38 +81,36 @@
|
|
|
81
81
|
initMetadataForObject(KoinPlatformTools, 'KoinPlatformTools');
|
|
82
82
|
//endregion
|
|
83
83
|
function Koin() {
|
|
84
|
-
this.
|
|
85
|
-
this.
|
|
86
|
-
this.
|
|
87
|
-
this.
|
|
88
|
-
this.
|
|
84
|
+
this.f57_1 = new ScopeRegistry(this);
|
|
85
|
+
this.g57_1 = new InstanceRegistry(this);
|
|
86
|
+
this.h57_1 = new PropertyRegistry(this);
|
|
87
|
+
this.i57_1 = new ExtensionManager(this);
|
|
88
|
+
this.j57_1 = new EmptyLogger();
|
|
89
89
|
}
|
|
90
|
-
protoOf(Koin).
|
|
90
|
+
protoOf(Koin).k57 = function (modules, allowOverride, createEagerInstances) {
|
|
91
91
|
var flattedModules = flatten(modules);
|
|
92
|
-
this.
|
|
93
|
-
this.
|
|
92
|
+
this.g57_1.o57(flattedModules, allowOverride);
|
|
93
|
+
this.f57_1.t57(flattedModules);
|
|
94
94
|
if (createEagerInstances) {
|
|
95
|
-
this.
|
|
95
|
+
this.u57();
|
|
96
96
|
}
|
|
97
97
|
};
|
|
98
|
-
protoOf(Koin).
|
|
99
|
-
this.
|
|
98
|
+
protoOf(Koin).u57 = function () {
|
|
99
|
+
this.j57_1.w57('Create eager instances ...');
|
|
100
100
|
// Inline function 'kotlin.time.measureTime' call
|
|
101
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
102
101
|
// Inline function 'kotlin.time.measureTime' call
|
|
103
|
-
|
|
104
|
-
var mark = Monotonic_instance.ce();
|
|
102
|
+
var mark = Monotonic_instance.le();
|
|
105
103
|
// Inline function 'org.koin.core.Koin.createEagerInstances.<anonymous>' call
|
|
106
|
-
this.
|
|
104
|
+
this.g57_1.x57();
|
|
107
105
|
var duration = ValueTimeMark__elapsedNow_impl_eonqvs(mark);
|
|
108
|
-
this.
|
|
106
|
+
this.j57_1.w57('Created eager instances in ' + get_inMs(duration) + ' ms');
|
|
109
107
|
};
|
|
110
108
|
function loadModules($this, modules) {
|
|
111
|
-
$this.
|
|
109
|
+
$this.y57_1.k57(modules, $this.z57_1, false);
|
|
112
110
|
}
|
|
113
111
|
function Companion() {
|
|
114
112
|
}
|
|
115
|
-
protoOf(Companion).
|
|
113
|
+
protoOf(Companion).a58 = function () {
|
|
116
114
|
var app = new KoinApplication();
|
|
117
115
|
return app;
|
|
118
116
|
};
|
|
@@ -121,31 +119,29 @@
|
|
|
121
119
|
return Companion_instance;
|
|
122
120
|
}
|
|
123
121
|
function KoinApplication() {
|
|
124
|
-
this.
|
|
125
|
-
this.
|
|
122
|
+
this.y57_1 = new Koin();
|
|
123
|
+
this.z57_1 = true;
|
|
126
124
|
}
|
|
127
|
-
protoOf(KoinApplication).
|
|
125
|
+
protoOf(KoinApplication).b58 = function (modules) {
|
|
126
|
+
var tmp0 = this.y57_1.j57_1;
|
|
128
127
|
// Inline function 'org.koin.core.logger.Logger.isAt' call
|
|
129
|
-
var this_0 = this.l55_1.w54_1;
|
|
130
128
|
var lvl = Level_INFO_getInstance();
|
|
131
|
-
if (
|
|
129
|
+
if (tmp0.v57_1.u2(lvl) <= 0) {
|
|
132
130
|
// Inline function 'kotlin.time.measureTime' call
|
|
133
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
134
131
|
// Inline function 'kotlin.time.measureTime' call
|
|
135
|
-
|
|
136
|
-
var mark = Monotonic_instance.ce();
|
|
132
|
+
var mark = Monotonic_instance.le();
|
|
137
133
|
// Inline function 'org.koin.core.KoinApplication.modules.<anonymous>' call
|
|
138
134
|
loadModules(this, modules);
|
|
139
135
|
var duration = ValueTimeMark__elapsedNow_impl_eonqvs(mark);
|
|
140
|
-
var count = this.
|
|
141
|
-
this.
|
|
136
|
+
var count = this.y57_1.g57_1.c58();
|
|
137
|
+
this.y57_1.j57_1.d58(Level_INFO_getInstance(), 'Started ' + count + ' definitions in ' + get_inMs(duration) + ' ms');
|
|
142
138
|
} else {
|
|
143
139
|
loadModules(this, modules);
|
|
144
140
|
}
|
|
145
141
|
return this;
|
|
146
142
|
};
|
|
147
143
|
function startKoin(appDeclaration) {
|
|
148
|
-
return KoinPlatformTools_instance.
|
|
144
|
+
return KoinPlatformTools_instance.e58().f58(appDeclaration);
|
|
149
145
|
}
|
|
150
146
|
function BeanDefinition$toString$lambda(it) {
|
|
151
147
|
return getFullName(it);
|
|
@@ -160,42 +156,40 @@
|
|
|
160
156
|
tmp = secondaryTypes;
|
|
161
157
|
}
|
|
162
158
|
secondaryTypes = tmp;
|
|
163
|
-
this.
|
|
164
|
-
this.
|
|
165
|
-
this.
|
|
166
|
-
this.
|
|
167
|
-
this.
|
|
168
|
-
this.
|
|
169
|
-
this.
|
|
170
|
-
this.
|
|
159
|
+
this.g58_1 = scopeQualifier;
|
|
160
|
+
this.h58_1 = primaryType;
|
|
161
|
+
this.i58_1 = qualifier;
|
|
162
|
+
this.j58_1 = definition;
|
|
163
|
+
this.k58_1 = kind;
|
|
164
|
+
this.l58_1 = secondaryTypes;
|
|
165
|
+
this.m58_1 = new Callbacks();
|
|
166
|
+
this.n58_1 = false;
|
|
171
167
|
}
|
|
172
168
|
protoOf(BeanDefinition).toString = function () {
|
|
173
169
|
// Inline function 'kotlin.text.buildString' call
|
|
174
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
175
170
|
// Inline function 'kotlin.apply' call
|
|
176
171
|
var this_0 = StringBuilder_init_$Create$();
|
|
177
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
178
172
|
// Inline function 'org.koin.core.definition.BeanDefinition.toString.<anonymous>' call
|
|
179
|
-
this_0.
|
|
180
|
-
this_0.
|
|
181
|
-
this_0.
|
|
182
|
-
this_0.
|
|
183
|
-
this_0.
|
|
184
|
-
if (!(this.
|
|
185
|
-
this_0.
|
|
186
|
-
this_0.
|
|
173
|
+
this_0.q8(_Char___init__impl__6a9atx(91));
|
|
174
|
+
this_0.o8(this.k58_1);
|
|
175
|
+
this_0.p8(": '");
|
|
176
|
+
this_0.p8(getFullName(this.h58_1));
|
|
177
|
+
this_0.q8(_Char___init__impl__6a9atx(39));
|
|
178
|
+
if (!(this.i58_1 == null)) {
|
|
179
|
+
this_0.p8(',qualifier:');
|
|
180
|
+
this_0.o8(this.i58_1);
|
|
187
181
|
}
|
|
188
|
-
if (!equals(this.
|
|
189
|
-
this_0.
|
|
190
|
-
this_0.
|
|
182
|
+
if (!equals(this.g58_1, Companion_getInstance_2().p58_1)) {
|
|
183
|
+
this_0.p8(',scope:');
|
|
184
|
+
this_0.o8(this.g58_1);
|
|
191
185
|
}
|
|
192
186
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
193
|
-
if (!this.
|
|
194
|
-
this_0.
|
|
195
|
-
var tmp = this.
|
|
187
|
+
if (!this.l58_1.h()) {
|
|
188
|
+
this_0.p8(',binds:');
|
|
189
|
+
var tmp = this.l58_1;
|
|
196
190
|
joinTo(tmp, this_0, ',', VOID, VOID, VOID, VOID, BeanDefinition$toString$lambda);
|
|
197
191
|
}
|
|
198
|
-
this_0.
|
|
192
|
+
this_0.q8(_Char___init__impl__6a9atx(93));
|
|
199
193
|
return this_0.toString();
|
|
200
194
|
};
|
|
201
195
|
protoOf(BeanDefinition).equals = function (other) {
|
|
@@ -203,20 +197,20 @@
|
|
|
203
197
|
return true;
|
|
204
198
|
if (!(other instanceof BeanDefinition))
|
|
205
199
|
THROW_CCE();
|
|
206
|
-
if (!this.
|
|
200
|
+
if (!this.h58_1.equals(other.h58_1))
|
|
207
201
|
return false;
|
|
208
|
-
if (!equals(this.
|
|
202
|
+
if (!equals(this.i58_1, other.i58_1))
|
|
209
203
|
return false;
|
|
210
|
-
if (!equals(this.
|
|
204
|
+
if (!equals(this.g58_1, other.g58_1))
|
|
211
205
|
return false;
|
|
212
206
|
return true;
|
|
213
207
|
};
|
|
214
208
|
protoOf(BeanDefinition).hashCode = function () {
|
|
215
|
-
var tmp0_safe_receiver = this.
|
|
209
|
+
var tmp0_safe_receiver = this.i58_1;
|
|
216
210
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
217
211
|
var result = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
|
|
218
|
-
result = imul(31, result) + this.
|
|
219
|
-
result = imul(31, result) + hashCode(this.
|
|
212
|
+
result = imul(31, result) + this.h58_1.hashCode() | 0;
|
|
213
|
+
result = imul(31, result) + hashCode(this.g58_1) | 0;
|
|
220
214
|
return result;
|
|
221
215
|
};
|
|
222
216
|
var Kind_Singleton_instance;
|
|
@@ -240,13 +234,13 @@
|
|
|
240
234
|
}
|
|
241
235
|
function Callbacks(onClose) {
|
|
242
236
|
onClose = onClose === VOID ? null : onClose;
|
|
243
|
-
this.
|
|
237
|
+
this.q58_1 = onClose;
|
|
244
238
|
}
|
|
245
239
|
protoOf(Callbacks).toString = function () {
|
|
246
|
-
return 'Callbacks(onClose=' + toString(this.
|
|
240
|
+
return 'Callbacks(onClose=' + toString(this.q58_1) + ')';
|
|
247
241
|
};
|
|
248
242
|
protoOf(Callbacks).hashCode = function () {
|
|
249
|
-
return this.
|
|
243
|
+
return this.q58_1 == null ? 0 : hashCode(this.q58_1);
|
|
250
244
|
};
|
|
251
245
|
protoOf(Callbacks).equals = function (other) {
|
|
252
246
|
if (this === other)
|
|
@@ -254,20 +248,20 @@
|
|
|
254
248
|
if (!(other instanceof Callbacks))
|
|
255
249
|
return false;
|
|
256
250
|
var tmp0_other_with_cast = other instanceof Callbacks ? other : THROW_CCE();
|
|
257
|
-
if (!equals(this.
|
|
251
|
+
if (!equals(this.q58_1, tmp0_other_with_cast.q58_1))
|
|
258
252
|
return false;
|
|
259
253
|
return true;
|
|
260
254
|
};
|
|
261
255
|
function KoinDefinition(module_0, factory) {
|
|
262
|
-
this.
|
|
263
|
-
this.
|
|
256
|
+
this.r58_1 = module_0;
|
|
257
|
+
this.s58_1 = factory;
|
|
264
258
|
}
|
|
265
259
|
protoOf(KoinDefinition).toString = function () {
|
|
266
|
-
return 'KoinDefinition(module=' + toString_0(this.
|
|
260
|
+
return 'KoinDefinition(module=' + toString_0(this.r58_1) + ', factory=' + toString_0(this.s58_1) + ')';
|
|
267
261
|
};
|
|
268
262
|
protoOf(KoinDefinition).hashCode = function () {
|
|
269
|
-
var result = this.
|
|
270
|
-
result = imul(result, 31) + hashCode(this.
|
|
263
|
+
var result = this.r58_1.hashCode();
|
|
264
|
+
result = imul(result, 31) + hashCode(this.s58_1) | 0;
|
|
271
265
|
return result;
|
|
272
266
|
};
|
|
273
267
|
protoOf(KoinDefinition).equals = function (other) {
|
|
@@ -276,9 +270,9 @@
|
|
|
276
270
|
if (!(other instanceof KoinDefinition))
|
|
277
271
|
return false;
|
|
278
272
|
var tmp0_other_with_cast = other instanceof KoinDefinition ? other : THROW_CCE();
|
|
279
|
-
if (!this.
|
|
273
|
+
if (!this.r58_1.equals(tmp0_other_with_cast.r58_1))
|
|
280
274
|
return false;
|
|
281
|
-
if (!equals(this.
|
|
275
|
+
if (!equals(this.s58_1, tmp0_other_with_cast.s58_1))
|
|
282
276
|
return false;
|
|
283
277
|
return true;
|
|
284
278
|
};
|
|
@@ -303,33 +297,33 @@
|
|
|
303
297
|
captureStack(this, NoDefinitionFoundException);
|
|
304
298
|
}
|
|
305
299
|
function ExtensionManager(_koin) {
|
|
306
|
-
this.
|
|
300
|
+
this.t58_1 = _koin;
|
|
307
301
|
var tmp = this;
|
|
308
302
|
// Inline function 'kotlin.collections.hashMapOf' call
|
|
309
|
-
tmp.
|
|
303
|
+
tmp.u58_1 = HashMap_init_$Create$();
|
|
310
304
|
}
|
|
311
305
|
function Companion_0() {
|
|
312
|
-
this.
|
|
306
|
+
this.v58_1 = '\n\t';
|
|
313
307
|
}
|
|
314
308
|
var Companion_instance_0;
|
|
315
309
|
function Companion_getInstance_1() {
|
|
316
310
|
return Companion_instance_0;
|
|
317
311
|
}
|
|
318
312
|
function InstanceFactory(beanDefinition) {
|
|
319
|
-
this.
|
|
313
|
+
this.w58_1 = beanDefinition;
|
|
320
314
|
}
|
|
321
|
-
protoOf(InstanceFactory).
|
|
322
|
-
context.
|
|
315
|
+
protoOf(InstanceFactory).y58 = function (context) {
|
|
316
|
+
context.z58_1.w57("| (+) '" + this.w58_1.toString() + "'");
|
|
323
317
|
try {
|
|
324
|
-
var tmp0_elvis_lhs = context.
|
|
318
|
+
var tmp0_elvis_lhs = context.d59_1;
|
|
325
319
|
var parameters = tmp0_elvis_lhs == null ? emptyParametersHolder() : tmp0_elvis_lhs;
|
|
326
|
-
return this.
|
|
320
|
+
return this.w58_1.j58_1(context.a59_1, parameters);
|
|
327
321
|
} catch ($p) {
|
|
328
322
|
if ($p instanceof Exception) {
|
|
329
323
|
var e = $p;
|
|
330
|
-
var stack = KoinPlatformTools_instance.
|
|
331
|
-
context.
|
|
332
|
-
throw new InstanceCreationException("Could not create instance for '" + this.
|
|
324
|
+
var stack = KoinPlatformTools_instance.f59(e);
|
|
325
|
+
context.z58_1.g59("* Instance creation error : could not create instance for '" + this.w58_1.toString() + "': " + stack);
|
|
326
|
+
throw new InstanceCreationException("Could not create instance for '" + this.w58_1.toString() + "'", e);
|
|
333
327
|
} else {
|
|
334
328
|
throw $p;
|
|
335
329
|
}
|
|
@@ -338,17 +332,17 @@
|
|
|
338
332
|
function ResolutionContext(logger, scope, clazz, qualifier, parameters) {
|
|
339
333
|
qualifier = qualifier === VOID ? null : qualifier;
|
|
340
334
|
parameters = parameters === VOID ? null : parameters;
|
|
341
|
-
this.
|
|
342
|
-
this.
|
|
343
|
-
this.
|
|
344
|
-
this.
|
|
345
|
-
this.
|
|
346
|
-
this.
|
|
335
|
+
this.z58_1 = logger;
|
|
336
|
+
this.a59_1 = scope;
|
|
337
|
+
this.b59_1 = clazz;
|
|
338
|
+
this.c59_1 = qualifier;
|
|
339
|
+
this.d59_1 = parameters;
|
|
340
|
+
this.e59_1 = "t:'" + getFullName(this.b59_1) + "' - q:'" + toString(this.c59_1) + "'";
|
|
347
341
|
}
|
|
348
342
|
function NoClass() {
|
|
349
343
|
}
|
|
350
344
|
function getValue($this) {
|
|
351
|
-
var tmp0_elvis_lhs = $this.
|
|
345
|
+
var tmp0_elvis_lhs = $this.i59_1;
|
|
352
346
|
var tmp;
|
|
353
347
|
if (tmp0_elvis_lhs == null) {
|
|
354
348
|
var message = "Single instance created couldn't return value";
|
|
@@ -361,8 +355,8 @@
|
|
|
361
355
|
function SingleInstanceFactory$get$lambda(this$0, $context) {
|
|
362
356
|
return function () {
|
|
363
357
|
var tmp;
|
|
364
|
-
if (!this$0.
|
|
365
|
-
this$0.
|
|
358
|
+
if (!this$0.j59($context)) {
|
|
359
|
+
this$0.i59_1 = this$0.y58($context);
|
|
366
360
|
tmp = Unit_instance;
|
|
367
361
|
}
|
|
368
362
|
return Unit_instance;
|
|
@@ -370,47 +364,47 @@
|
|
|
370
364
|
}
|
|
371
365
|
function SingleInstanceFactory(beanDefinition) {
|
|
372
366
|
InstanceFactory.call(this, beanDefinition);
|
|
373
|
-
this.
|
|
367
|
+
this.i59_1 = null;
|
|
374
368
|
}
|
|
375
|
-
protoOf(SingleInstanceFactory).
|
|
376
|
-
return !(this.
|
|
369
|
+
protoOf(SingleInstanceFactory).j59 = function (context) {
|
|
370
|
+
return !(this.i59_1 == null);
|
|
377
371
|
};
|
|
378
|
-
protoOf(SingleInstanceFactory).
|
|
372
|
+
protoOf(SingleInstanceFactory).y58 = function (context) {
|
|
379
373
|
var tmp;
|
|
380
|
-
if (this.
|
|
381
|
-
tmp = protoOf(InstanceFactory).
|
|
374
|
+
if (this.i59_1 == null) {
|
|
375
|
+
tmp = protoOf(InstanceFactory).y58.call(this, context);
|
|
382
376
|
} else {
|
|
383
377
|
tmp = getValue(this);
|
|
384
378
|
}
|
|
385
379
|
return tmp;
|
|
386
380
|
};
|
|
387
|
-
protoOf(SingleInstanceFactory).
|
|
381
|
+
protoOf(SingleInstanceFactory).x58 = function (context) {
|
|
388
382
|
var tmp = KoinPlatformTools_instance;
|
|
389
|
-
tmp.
|
|
383
|
+
tmp.k59(this, SingleInstanceFactory$get$lambda(this, context));
|
|
390
384
|
return getValue(this);
|
|
391
385
|
};
|
|
392
386
|
function EmptyLogger() {
|
|
393
387
|
Logger.call(this, Level_NONE_getInstance());
|
|
394
388
|
}
|
|
395
|
-
protoOf(EmptyLogger).
|
|
389
|
+
protoOf(EmptyLogger).d58 = function (level, msg) {
|
|
396
390
|
};
|
|
397
391
|
function Logger(level) {
|
|
398
392
|
level = level === VOID ? Level_INFO_getInstance() : level;
|
|
399
|
-
this.
|
|
393
|
+
this.v57_1 = level;
|
|
400
394
|
}
|
|
401
|
-
protoOf(Logger).
|
|
402
|
-
this.
|
|
395
|
+
protoOf(Logger).w57 = function (msg) {
|
|
396
|
+
this.n59(Level_DEBUG_getInstance(), msg);
|
|
403
397
|
};
|
|
404
|
-
protoOf(Logger).
|
|
405
|
-
this.
|
|
398
|
+
protoOf(Logger).m59 = function (msg) {
|
|
399
|
+
this.n59(Level_WARNING_getInstance(), msg);
|
|
406
400
|
};
|
|
407
|
-
protoOf(Logger).
|
|
408
|
-
this.
|
|
401
|
+
protoOf(Logger).g59 = function (msg) {
|
|
402
|
+
this.n59(Level_ERROR_getInstance(), msg);
|
|
409
403
|
};
|
|
410
|
-
protoOf(Logger).
|
|
404
|
+
protoOf(Logger).n59 = function (lvl, msg) {
|
|
411
405
|
// Inline function 'org.koin.core.logger.Logger.isAt' call
|
|
412
|
-
if (this.
|
|
413
|
-
this.
|
|
406
|
+
if (this.v57_1.u2(lvl) <= 0) {
|
|
407
|
+
this.d58(lvl, msg);
|
|
414
408
|
}
|
|
415
409
|
};
|
|
416
410
|
var Level_DEBUG_instance;
|
|
@@ -454,52 +448,50 @@
|
|
|
454
448
|
}
|
|
455
449
|
function Module(_createdAtStart) {
|
|
456
450
|
_createdAtStart = _createdAtStart === VOID ? false : _createdAtStart;
|
|
457
|
-
this.
|
|
458
|
-
this.
|
|
459
|
-
this.
|
|
460
|
-
this.
|
|
461
|
-
this.
|
|
451
|
+
this.o59_1 = _createdAtStart;
|
|
452
|
+
this.p59_1 = generateId(KoinPlatformTools_instance);
|
|
453
|
+
this.q59_1 = LinkedHashSet_init_$Create$();
|
|
454
|
+
this.r59_1 = LinkedHashMap_init_$Create$();
|
|
455
|
+
this.s59_1 = LinkedHashSet_init_$Create$();
|
|
462
456
|
var tmp = this;
|
|
463
457
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
464
|
-
tmp.
|
|
458
|
+
tmp.t59_1 = ArrayList_init_$Create$();
|
|
465
459
|
}
|
|
466
|
-
protoOf(Module).
|
|
467
|
-
var def = instanceFactory.
|
|
460
|
+
protoOf(Module).u59 = function (instanceFactory) {
|
|
461
|
+
var def = instanceFactory.w58_1;
|
|
462
|
+
var tmp0 = def.h58_1;
|
|
463
|
+
var tmp1 = def.i58_1;
|
|
468
464
|
// Inline function 'org.koin.core.definition.indexKey' call
|
|
469
|
-
var
|
|
470
|
-
var typeQualifier = def.v55_1;
|
|
471
|
-
var scopeQualifier = def.t55_1;
|
|
465
|
+
var scopeQualifier = def.g58_1;
|
|
472
466
|
// Inline function 'kotlin.text.buildString' call
|
|
473
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
474
467
|
// Inline function 'kotlin.apply' call
|
|
475
468
|
var this_0 = StringBuilder_init_$Create$();
|
|
476
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
477
469
|
// Inline function 'org.koin.core.definition.indexKey.<anonymous>' call
|
|
478
|
-
this_0.
|
|
479
|
-
this_0.
|
|
480
|
-
var tmp1_elvis_lhs =
|
|
481
|
-
this_0.
|
|
482
|
-
this_0.
|
|
483
|
-
this_0.
|
|
470
|
+
this_0.p8(getFullName(tmp0));
|
|
471
|
+
this_0.q8(_Char___init__impl__6a9atx(58));
|
|
472
|
+
var tmp1_elvis_lhs = tmp1 == null ? null : tmp1.z();
|
|
473
|
+
this_0.p8(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
474
|
+
this_0.q8(_Char___init__impl__6a9atx(58));
|
|
475
|
+
this_0.o8(scopeQualifier);
|
|
484
476
|
var mapping = this_0.toString();
|
|
485
|
-
this.
|
|
477
|
+
this.v59(mapping, instanceFactory);
|
|
486
478
|
};
|
|
487
|
-
protoOf(Module).
|
|
488
|
-
this.
|
|
479
|
+
protoOf(Module).w59 = function (instanceFactory) {
|
|
480
|
+
this.q59_1.k(instanceFactory);
|
|
489
481
|
};
|
|
490
|
-
protoOf(Module).
|
|
482
|
+
protoOf(Module).v59 = function (mapping, factory) {
|
|
491
483
|
// Inline function 'kotlin.collections.set' call
|
|
492
|
-
this.
|
|
484
|
+
this.r59_1.n2(mapping, factory);
|
|
493
485
|
};
|
|
494
486
|
protoOf(Module).equals = function (other) {
|
|
495
487
|
if (this === other)
|
|
496
488
|
return true;
|
|
497
489
|
if (!(other instanceof Module))
|
|
498
490
|
return false;
|
|
499
|
-
return this.
|
|
491
|
+
return this.p59_1 === other.p59_1;
|
|
500
492
|
};
|
|
501
493
|
protoOf(Module).hashCode = function () {
|
|
502
|
-
return getStringHashCode(this.
|
|
494
|
+
return getStringHashCode(this.p59_1);
|
|
503
495
|
};
|
|
504
496
|
function flatten(modules) {
|
|
505
497
|
// Inline function 'kotlin.collections.linkedSetOf' call
|
|
@@ -510,11 +502,11 @@
|
|
|
510
502
|
if (!!stack.h()) {
|
|
511
503
|
break $l$loop_0;
|
|
512
504
|
}
|
|
513
|
-
var current = stack.
|
|
505
|
+
var current = stack.tf();
|
|
514
506
|
if (!flatten.k(current)) {
|
|
515
507
|
continue $l$loop_0;
|
|
516
508
|
}
|
|
517
|
-
var _iterator__ex2g4s = current.
|
|
509
|
+
var _iterator__ex2g4s = current.t59_1.p();
|
|
518
510
|
while (_iterator__ex2g4s.q()) {
|
|
519
511
|
var module_0 = _iterator__ex2g4s.r();
|
|
520
512
|
if (!flatten.x1(module_0)) {
|
|
@@ -526,17 +518,18 @@
|
|
|
526
518
|
return flatten;
|
|
527
519
|
}
|
|
528
520
|
function overrideError(factory, mapping) {
|
|
529
|
-
throw new DefinitionOverrideException('Already existing definition for ' + factory.
|
|
521
|
+
throw new DefinitionOverrideException('Already existing definition for ' + factory.w58_1.toString() + ' at ' + mapping);
|
|
530
522
|
}
|
|
531
523
|
function getFirstValue($this, clazz) {
|
|
524
|
+
var tmp0 = $this.x59_1;
|
|
532
525
|
var tmp$ret$1;
|
|
533
526
|
$l$block: {
|
|
534
527
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
535
|
-
var
|
|
536
|
-
while (
|
|
537
|
-
var element =
|
|
528
|
+
var _iterator__ex2g4s = tmp0.p();
|
|
529
|
+
while (_iterator__ex2g4s.q()) {
|
|
530
|
+
var element = _iterator__ex2g4s.r();
|
|
538
531
|
// Inline function 'org.koin.core.parameter.ParametersHolder.getFirstValue.<anonymous>' call
|
|
539
|
-
if (clazz.
|
|
532
|
+
if (clazz.fb(element)) {
|
|
540
533
|
tmp$ret$1 = element;
|
|
541
534
|
break $l$block;
|
|
542
535
|
}
|
|
@@ -548,11 +541,10 @@
|
|
|
548
541
|
}
|
|
549
542
|
function getIndexedValue($this, clazz) {
|
|
550
543
|
// Inline function 'kotlin.takeIf' call
|
|
551
|
-
var this_0 = $this.
|
|
552
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
544
|
+
var this_0 = $this.x59_1.u($this.z59_1);
|
|
553
545
|
var tmp;
|
|
554
546
|
// Inline function 'org.koin.core.parameter.ParametersHolder.getIndexedValue.<anonymous>' call
|
|
555
|
-
if (clazz.
|
|
547
|
+
if (clazz.fb(this_0)) {
|
|
556
548
|
tmp = this_0;
|
|
557
549
|
} else {
|
|
558
550
|
tmp = null;
|
|
@@ -560,7 +552,7 @@
|
|
|
560
552
|
var tmp_0 = tmp;
|
|
561
553
|
var currentValue = (tmp_0 == null ? true : !(tmp_0 == null)) ? tmp_0 : null;
|
|
562
554
|
if (!(currentValue == null)) {
|
|
563
|
-
$this.
|
|
555
|
+
$this.a5a();
|
|
564
556
|
}
|
|
565
557
|
return currentValue;
|
|
566
558
|
}
|
|
@@ -574,17 +566,17 @@
|
|
|
574
566
|
}
|
|
575
567
|
_values = tmp;
|
|
576
568
|
useIndexedValues = useIndexedValues === VOID ? null : useIndexedValues;
|
|
577
|
-
this.
|
|
578
|
-
this.
|
|
579
|
-
this.
|
|
569
|
+
this.x59_1 = _values;
|
|
570
|
+
this.y59_1 = useIndexedValues;
|
|
571
|
+
this.z59_1 = 0;
|
|
580
572
|
}
|
|
581
|
-
protoOf(ParametersHolder).
|
|
573
|
+
protoOf(ParametersHolder).b5a = function (clazz) {
|
|
582
574
|
var tmp;
|
|
583
|
-
if (this.
|
|
575
|
+
if (this.x59_1.h()) {
|
|
584
576
|
tmp = null;
|
|
585
577
|
} else {
|
|
586
578
|
var tmp_0;
|
|
587
|
-
switch (this.
|
|
579
|
+
switch (this.y59_1) {
|
|
588
580
|
case null:
|
|
589
581
|
var tmp1_elvis_lhs = getIndexedValue(this, clazz);
|
|
590
582
|
tmp_0 = tmp1_elvis_lhs == null ? getFirstValue(this, clazz) : tmp1_elvis_lhs;
|
|
@@ -600,13 +592,13 @@
|
|
|
600
592
|
}
|
|
601
593
|
return tmp;
|
|
602
594
|
};
|
|
603
|
-
protoOf(ParametersHolder).
|
|
604
|
-
if (this.
|
|
605
|
-
this.
|
|
595
|
+
protoOf(ParametersHolder).a5a = function () {
|
|
596
|
+
if (this.z59_1 < get_lastIndex(this.x59_1)) {
|
|
597
|
+
this.z59_1 = this.z59_1 + 1 | 0;
|
|
606
598
|
}
|
|
607
599
|
};
|
|
608
600
|
protoOf(ParametersHolder).toString = function () {
|
|
609
|
-
return 'DefinitionParameters' + toString_0(toList(this.
|
|
601
|
+
return 'DefinitionParameters' + toString_0(toList(this.x59_1));
|
|
610
602
|
};
|
|
611
603
|
function emptyParametersHolder() {
|
|
612
604
|
return new ParametersHolder();
|
|
@@ -615,16 +607,16 @@
|
|
|
615
607
|
return new StringQualifier(name);
|
|
616
608
|
}
|
|
617
609
|
function StringQualifier(value) {
|
|
618
|
-
this.
|
|
610
|
+
this.c5a_1 = value;
|
|
619
611
|
}
|
|
620
612
|
protoOf(StringQualifier).z = function () {
|
|
621
|
-
return this.
|
|
613
|
+
return this.c5a_1;
|
|
622
614
|
};
|
|
623
615
|
protoOf(StringQualifier).toString = function () {
|
|
624
|
-
return this.
|
|
616
|
+
return this.c5a_1;
|
|
625
617
|
};
|
|
626
618
|
protoOf(StringQualifier).hashCode = function () {
|
|
627
|
-
return getStringHashCode(this.
|
|
619
|
+
return getStringHashCode(this.c5a_1);
|
|
628
620
|
};
|
|
629
621
|
protoOf(StringQualifier).equals = function (other) {
|
|
630
622
|
if (this === other)
|
|
@@ -632,132 +624,130 @@
|
|
|
632
624
|
if (!(other instanceof StringQualifier))
|
|
633
625
|
return false;
|
|
634
626
|
var tmp0_other_with_cast = other instanceof StringQualifier ? other : THROW_CCE();
|
|
635
|
-
if (!(this.
|
|
627
|
+
if (!(this.c5a_1 === tmp0_other_with_cast.c5a_1))
|
|
636
628
|
return false;
|
|
637
629
|
return true;
|
|
638
630
|
};
|
|
639
631
|
function addAllEagerInstances($this, module_0) {
|
|
640
632
|
// Inline function 'kotlin.collections.forEach' call
|
|
641
|
-
var
|
|
642
|
-
while (
|
|
643
|
-
var element =
|
|
633
|
+
var _iterator__ex2g4s = module_0.q59_1.p();
|
|
634
|
+
while (_iterator__ex2g4s.q()) {
|
|
635
|
+
var element = _iterator__ex2g4s.r();
|
|
644
636
|
// Inline function 'org.koin.core.registry.InstanceRegistry.addAllEagerInstances.<anonymous>' call
|
|
637
|
+
var tmp0 = $this.n57_1;
|
|
645
638
|
// Inline function 'kotlin.collections.set' call
|
|
646
|
-
var
|
|
647
|
-
|
|
648
|
-
this_0.n2(key, element);
|
|
639
|
+
var key = element.w58_1.hashCode();
|
|
640
|
+
tmp0.n2(key, element);
|
|
649
641
|
}
|
|
650
642
|
}
|
|
651
643
|
function loadModule($this, module_0, allowOverride) {
|
|
652
644
|
// Inline function 'kotlin.collections.forEach' call
|
|
653
645
|
// Inline function 'kotlin.collections.iterator' call
|
|
654
|
-
var
|
|
655
|
-
while (
|
|
656
|
-
var element =
|
|
646
|
+
var _iterator__ex2g4s = module_0.r59_1.x().p();
|
|
647
|
+
while (_iterator__ex2g4s.q()) {
|
|
648
|
+
var element = _iterator__ex2g4s.r();
|
|
657
649
|
// Inline function 'org.koin.core.registry.InstanceRegistry.loadModule.<anonymous>' call
|
|
658
650
|
// Inline function 'kotlin.collections.component1' call
|
|
659
651
|
var mapping = element.y();
|
|
660
652
|
// Inline function 'kotlin.collections.component2' call
|
|
661
653
|
var factory = element.z();
|
|
662
|
-
$this.
|
|
654
|
+
$this.d5a(allowOverride, mapping, factory);
|
|
663
655
|
}
|
|
664
656
|
}
|
|
665
657
|
function createEagerInstances($this, instances) {
|
|
666
|
-
var defaultContext = new ResolutionContext($this.
|
|
658
|
+
var defaultContext = new ResolutionContext($this.l57_1.j57_1, $this.l57_1.f57_1.s57_1, getKClass(NoClass));
|
|
667
659
|
// Inline function 'kotlin.collections.forEach' call
|
|
668
|
-
var
|
|
669
|
-
while (
|
|
670
|
-
var element =
|
|
660
|
+
var _iterator__ex2g4s = instances.p();
|
|
661
|
+
while (_iterator__ex2g4s.q()) {
|
|
662
|
+
var element = _iterator__ex2g4s.r();
|
|
671
663
|
// Inline function 'org.koin.core.registry.InstanceRegistry.createEagerInstances.<anonymous>' call
|
|
672
|
-
element.
|
|
664
|
+
element.x58(defaultContext);
|
|
673
665
|
}
|
|
674
666
|
}
|
|
675
667
|
function InstanceRegistry(_koin) {
|
|
676
|
-
this.
|
|
677
|
-
this.
|
|
678
|
-
this.
|
|
668
|
+
this.l57_1 = _koin;
|
|
669
|
+
this.m57_1 = KoinPlatformTools_instance.e5a();
|
|
670
|
+
this.n57_1 = KoinPlatformTools_instance.e5a();
|
|
679
671
|
}
|
|
680
|
-
protoOf(InstanceRegistry).
|
|
672
|
+
protoOf(InstanceRegistry).o57 = function (modules, allowOverride) {
|
|
681
673
|
// Inline function 'kotlin.collections.forEach' call
|
|
682
|
-
var
|
|
683
|
-
while (
|
|
684
|
-
var element =
|
|
674
|
+
var _iterator__ex2g4s = modules.p();
|
|
675
|
+
while (_iterator__ex2g4s.q()) {
|
|
676
|
+
var element = _iterator__ex2g4s.r();
|
|
685
677
|
// Inline function 'org.koin.core.registry.InstanceRegistry.loadModules.<anonymous>' call
|
|
686
678
|
loadModule(this, element, allowOverride);
|
|
687
679
|
addAllEagerInstances(this, element);
|
|
688
680
|
}
|
|
689
681
|
};
|
|
690
|
-
protoOf(InstanceRegistry).
|
|
682
|
+
protoOf(InstanceRegistry).x57 = function () {
|
|
691
683
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
692
|
-
var this_0 = this.
|
|
684
|
+
var this_0 = this.n57_1.m2();
|
|
693
685
|
var tmp$ret$0 = copyToArray(this_0);
|
|
694
686
|
var instances = arrayListOf(tmp$ret$0.slice());
|
|
695
|
-
this.
|
|
687
|
+
this.n57_1.e2();
|
|
696
688
|
createEagerInstances(this, instances);
|
|
697
689
|
};
|
|
698
|
-
protoOf(InstanceRegistry).
|
|
699
|
-
if (this.
|
|
690
|
+
protoOf(InstanceRegistry).f5a = function (allowOverride, mapping, factory, logWarning) {
|
|
691
|
+
if (this.m57_1.k2(mapping) == null)
|
|
700
692
|
null;
|
|
701
693
|
else {
|
|
702
694
|
// Inline function 'kotlin.let' call
|
|
703
|
-
// Inline function '
|
|
695
|
+
// Inline function 'org.koin.core.registry.InstanceRegistry.saveMapping.<anonymous>' call
|
|
704
696
|
if (!allowOverride) {
|
|
705
697
|
overrideError(factory, mapping);
|
|
706
698
|
} else if (logWarning) {
|
|
707
|
-
this.
|
|
699
|
+
this.l57_1.j57_1.m59("(+) override index '" + mapping + "' -> '" + factory.w58_1.toString() + "'");
|
|
708
700
|
}
|
|
709
701
|
}
|
|
710
|
-
this.
|
|
702
|
+
this.l57_1.j57_1.w57("(+) index '" + mapping + "' -> '" + factory.w58_1.toString() + "'");
|
|
711
703
|
// Inline function 'kotlin.collections.set' call
|
|
712
|
-
this.
|
|
704
|
+
this.m57_1.n2(mapping, factory);
|
|
713
705
|
};
|
|
714
|
-
protoOf(InstanceRegistry).
|
|
706
|
+
protoOf(InstanceRegistry).d5a = function (allowOverride, mapping, factory, logWarning, $super) {
|
|
715
707
|
logWarning = logWarning === VOID ? true : logWarning;
|
|
716
708
|
var tmp;
|
|
717
709
|
if ($super === VOID) {
|
|
718
|
-
this.
|
|
710
|
+
this.f5a(allowOverride, mapping, factory, logWarning);
|
|
719
711
|
tmp = Unit_instance;
|
|
720
712
|
} else {
|
|
721
|
-
tmp = $super.
|
|
713
|
+
tmp = $super.f5a.call(this, allowOverride, mapping, factory, logWarning);
|
|
722
714
|
}
|
|
723
715
|
return tmp;
|
|
724
716
|
};
|
|
725
|
-
protoOf(InstanceRegistry).
|
|
717
|
+
protoOf(InstanceRegistry).g5a = function (clazz, qualifier, scopeQualifier) {
|
|
726
718
|
// Inline function 'org.koin.core.definition.indexKey' call
|
|
727
719
|
// Inline function 'kotlin.text.buildString' call
|
|
728
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
729
720
|
// Inline function 'kotlin.apply' call
|
|
730
721
|
var this_0 = StringBuilder_init_$Create$();
|
|
731
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
732
722
|
// Inline function 'org.koin.core.definition.indexKey.<anonymous>' call
|
|
733
|
-
this_0.
|
|
734
|
-
this_0.
|
|
723
|
+
this_0.p8(getFullName(clazz));
|
|
724
|
+
this_0.q8(_Char___init__impl__6a9atx(58));
|
|
735
725
|
var tmp1_elvis_lhs = qualifier == null ? null : qualifier.z();
|
|
736
|
-
this_0.
|
|
737
|
-
this_0.
|
|
738
|
-
this_0.
|
|
726
|
+
this_0.p8(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
727
|
+
this_0.q8(_Char___init__impl__6a9atx(58));
|
|
728
|
+
this_0.o8(scopeQualifier);
|
|
739
729
|
var indexKey = this_0.toString();
|
|
740
|
-
return this.
|
|
730
|
+
return this.m57_1.k2(indexKey);
|
|
741
731
|
};
|
|
742
|
-
protoOf(InstanceRegistry).
|
|
743
|
-
var tmp0_safe_receiver = this.
|
|
744
|
-
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
732
|
+
protoOf(InstanceRegistry).h5a = function (qualifier, clazz, scopeQualifier, instanceContext) {
|
|
733
|
+
var tmp0_safe_receiver = this.g5a(clazz, qualifier, scopeQualifier);
|
|
734
|
+
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.x58(instanceContext);
|
|
745
735
|
return (tmp == null ? true : !(tmp == null)) ? tmp : null;
|
|
746
736
|
};
|
|
747
|
-
protoOf(InstanceRegistry).
|
|
748
|
-
return this.
|
|
737
|
+
protoOf(InstanceRegistry).c58 = function () {
|
|
738
|
+
return this.m57_1.s();
|
|
749
739
|
};
|
|
750
740
|
function PropertyRegistry(_koin) {
|
|
751
|
-
this.
|
|
752
|
-
this.
|
|
741
|
+
this.i5a_1 = _koin;
|
|
742
|
+
this.j5a_1 = KoinPlatformTools_instance.e5a();
|
|
753
743
|
}
|
|
754
744
|
function loadModule_0($this, module_0) {
|
|
755
|
-
$this.
|
|
745
|
+
$this.q57_1.t(module_0.s59_1);
|
|
756
746
|
}
|
|
757
747
|
function Companion_1() {
|
|
758
748
|
Companion_instance_1 = this;
|
|
759
|
-
this.
|
|
760
|
-
this.
|
|
749
|
+
this.o58_1 = '_root_';
|
|
750
|
+
this.p58_1 = _q('_root_');
|
|
761
751
|
}
|
|
762
752
|
var Companion_instance_1;
|
|
763
753
|
function Companion_getInstance_2() {
|
|
@@ -767,22 +757,22 @@
|
|
|
767
757
|
}
|
|
768
758
|
function ScopeRegistry(_koin) {
|
|
769
759
|
Companion_getInstance_2();
|
|
770
|
-
this.
|
|
771
|
-
this.
|
|
772
|
-
this.
|
|
773
|
-
this.
|
|
774
|
-
this.
|
|
760
|
+
this.p57_1 = _koin;
|
|
761
|
+
this.q57_1 = KoinPlatformTools_instance.k5a();
|
|
762
|
+
this.r57_1 = KoinPlatformTools_instance.e5a();
|
|
763
|
+
this.s57_1 = new Scope(Companion_getInstance_2().p58_1, '_root_', true, this.p57_1);
|
|
764
|
+
this.q57_1.k(this.s57_1.l5a_1);
|
|
765
|
+
var tmp0 = this.r57_1;
|
|
766
|
+
var tmp1 = this.s57_1.m5a_1;
|
|
775
767
|
// Inline function 'kotlin.collections.set' call
|
|
776
|
-
var
|
|
777
|
-
|
|
778
|
-
var value = this.f55_1;
|
|
779
|
-
this_0.n2(key, value);
|
|
768
|
+
var value = this.s57_1;
|
|
769
|
+
tmp0.n2(tmp1, value);
|
|
780
770
|
}
|
|
781
|
-
protoOf(ScopeRegistry).
|
|
771
|
+
protoOf(ScopeRegistry).t57 = function (modules) {
|
|
782
772
|
// Inline function 'kotlin.collections.forEach' call
|
|
783
|
-
var
|
|
784
|
-
while (
|
|
785
|
-
var element =
|
|
773
|
+
var _iterator__ex2g4s = modules.p();
|
|
774
|
+
while (_iterator__ex2g4s.q()) {
|
|
775
|
+
var element = _iterator__ex2g4s.r();
|
|
786
776
|
// Inline function 'org.koin.core.registry.ScopeRegistry.loadScopes.<anonymous>' call
|
|
787
777
|
loadModule_0(this, element);
|
|
788
778
|
}
|
|
@@ -791,10 +781,10 @@
|
|
|
791
781
|
return resolveWithOptionalLogging($this, clazz, qualifier, parameters);
|
|
792
782
|
}
|
|
793
783
|
function resolveWithOptionalLogging($this, clazz, qualifier, parameters) {
|
|
784
|
+
var tmp0 = $this.o5a_1.j57_1;
|
|
794
785
|
// Inline function 'org.koin.core.logger.Logger.isAt' call
|
|
795
|
-
var this_0 = $this.b58_1.w54_1;
|
|
796
786
|
var lvl = Level_DEBUG_getInstance();
|
|
797
|
-
if (!(
|
|
787
|
+
if (!(tmp0.v57_1.u2(lvl) <= 0)) {
|
|
798
788
|
return resolveInstance($this, qualifier, clazz, parameters);
|
|
799
789
|
}
|
|
800
790
|
// Inline function 'org.koin.core.scope.Scope.logInstanceRequest' call
|
|
@@ -803,88 +793,84 @@
|
|
|
803
793
|
tmp = null;
|
|
804
794
|
} else {
|
|
805
795
|
// Inline function 'kotlin.let' call
|
|
806
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
807
796
|
// Inline function 'org.koin.core.scope.Scope.logInstanceRequest.<anonymous>' call
|
|
808
797
|
tmp = " with qualifier '" + toString(qualifier) + "'";
|
|
809
798
|
}
|
|
810
799
|
var tmp1_elvis_lhs = tmp;
|
|
811
800
|
var qualifierString = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
812
|
-
var scopeId = $this.
|
|
813
|
-
$this.
|
|
801
|
+
var scopeId = $this.n5a_1 ? '' : " - scope:'" + $this.m5a_1 + "'";
|
|
802
|
+
$this.o5a_1.j57_1.d58(Level_DEBUG_getInstance(), "|- '" + getFullName(clazz) + "'" + qualifierString + scopeId + '...');
|
|
814
803
|
// Inline function 'kotlin.time.measureTimedValue' call
|
|
815
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
816
804
|
// Inline function 'kotlin.time.measureTimedValue' call
|
|
817
|
-
|
|
818
|
-
var mark = Monotonic_instance.ce();
|
|
805
|
+
var mark = Monotonic_instance.le();
|
|
819
806
|
// Inline function 'org.koin.core.scope.Scope.resolveWithOptionalLogging.<anonymous>' call
|
|
820
807
|
var result = resolveInstance($this, qualifier, clazz, parameters);
|
|
821
808
|
var result_0 = new TimedValue(result, ValueTimeMark__elapsedNow_impl_eonqvs(mark));
|
|
822
809
|
// Inline function 'org.koin.core.scope.Scope.logInstanceDuration' call
|
|
823
|
-
var duration = result_0.
|
|
824
|
-
$this.
|
|
825
|
-
return result_0.
|
|
810
|
+
var duration = result_0.kk_1;
|
|
811
|
+
$this.o5a_1.j57_1.d58(Level_DEBUG_getInstance(), "|- '" + getFullName(clazz) + "' in " + get_inMs(duration) + ' ms');
|
|
812
|
+
return result_0.jk_1;
|
|
826
813
|
}
|
|
827
814
|
function resolveInstance($this, qualifier, clazz, parameters) {
|
|
828
815
|
// Inline function 'org.koin.core.scope.Scope.checkScopeIsOpen' call
|
|
829
|
-
if ($this.
|
|
830
|
-
throw new ClosedScopeException("Scope '" + $this.
|
|
816
|
+
if ($this.t5a_1) {
|
|
817
|
+
throw new ClosedScopeException("Scope '" + $this.m5a_1 + "' is closed");
|
|
831
818
|
}
|
|
832
|
-
var instanceContext = new ResolutionContext($this.
|
|
819
|
+
var instanceContext = new ResolutionContext($this.o5a_1.j57_1, $this, clazz, qualifier, parameters);
|
|
833
820
|
return stackParametersCall($this, parameters, instanceContext);
|
|
834
821
|
}
|
|
835
822
|
function stackParametersCall($this, parameters, instanceContext) {
|
|
836
823
|
if (parameters == null) {
|
|
837
824
|
return resolveFromContext($this, instanceContext);
|
|
838
825
|
}
|
|
826
|
+
var tmp0 = $this.o5a_1.j57_1;
|
|
839
827
|
// Inline function 'org.koin.core.logger.Logger.log' call
|
|
840
|
-
var this_0 = $this.b58_1.w54_1;
|
|
841
828
|
var lvl = Level_DEBUG_getInstance();
|
|
842
829
|
// Inline function 'org.koin.core.logger.Logger.isAt' call
|
|
843
|
-
if (
|
|
830
|
+
if (tmp0.v57_1.u2(lvl) <= 0) {
|
|
844
831
|
// Inline function 'org.koin.core.scope.Scope.stackParametersCall.<anonymous>' call
|
|
845
832
|
var tmp$ret$1 = '| >> parameters ' + toString(parameters);
|
|
846
|
-
|
|
833
|
+
tmp0.d58(lvl, tmp$ret$1);
|
|
847
834
|
}
|
|
848
835
|
var stack = onParameterOnStack($this, parameters);
|
|
849
836
|
try {
|
|
850
837
|
return resolveFromContext($this, instanceContext);
|
|
851
838
|
}finally {
|
|
852
|
-
$this.
|
|
839
|
+
$this.o5a_1.j57_1.w57('| << parameters');
|
|
853
840
|
clearParameterStack($this, stack);
|
|
854
841
|
}
|
|
855
842
|
}
|
|
856
843
|
function onParameterOnStack($this, parameters) {
|
|
857
844
|
var stack = getOrCreateParameterStack($this);
|
|
858
|
-
stack.
|
|
845
|
+
stack.pf(parameters);
|
|
859
846
|
return stack;
|
|
860
847
|
}
|
|
861
848
|
function clearParameterStack($this, stack) {
|
|
862
|
-
stack.
|
|
849
|
+
stack.sf();
|
|
863
850
|
if (stack.h()) {
|
|
864
|
-
var tmp0_safe_receiver = $this.
|
|
851
|
+
var tmp0_safe_receiver = $this.s5a_1;
|
|
865
852
|
if (tmp0_safe_receiver == null)
|
|
866
853
|
null;
|
|
867
854
|
else {
|
|
868
855
|
tmp0_safe_receiver.p4();
|
|
869
856
|
}
|
|
870
|
-
$this.
|
|
857
|
+
$this.s5a_1 = null;
|
|
871
858
|
}
|
|
872
859
|
}
|
|
873
860
|
function getOrCreateParameterStack($this) {
|
|
874
|
-
var tmp0_safe_receiver = $this.
|
|
875
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
861
|
+
var tmp0_safe_receiver = $this.s5a_1;
|
|
862
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.uv();
|
|
876
863
|
var tmp;
|
|
877
864
|
if (tmp1_elvis_lhs == null) {
|
|
878
865
|
// Inline function 'kotlin.let' call
|
|
879
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
880
866
|
// Inline function 'org.koin.core.scope.Scope.getOrCreateParameterStack.<anonymous>' call
|
|
881
867
|
var it = ArrayDeque_init_$Create$_0();
|
|
882
|
-
$this.
|
|
883
|
-
var tmp0_safe_receiver_0 = $this.
|
|
868
|
+
$this.s5a_1 = new ThreadLocalRef();
|
|
869
|
+
var tmp0_safe_receiver_0 = $this.s5a_1;
|
|
884
870
|
if (tmp0_safe_receiver_0 == null)
|
|
885
871
|
null;
|
|
886
872
|
else {
|
|
887
|
-
tmp0_safe_receiver_0.
|
|
873
|
+
tmp0_safe_receiver_0.v56(it);
|
|
888
874
|
}
|
|
889
875
|
tmp = it;
|
|
890
876
|
} else {
|
|
@@ -895,28 +881,27 @@
|
|
|
895
881
|
function resolveFromContext($this, instanceContext) {
|
|
896
882
|
// Inline function 'org.koin.core.scope.Scope.resolveFromInjectedParameters' call
|
|
897
883
|
var tmp;
|
|
898
|
-
if (instanceContext.
|
|
884
|
+
if (instanceContext.d59_1 == null) {
|
|
899
885
|
tmp = null;
|
|
900
886
|
} else {
|
|
901
|
-
$this.
|
|
902
|
-
tmp = instanceContext.
|
|
887
|
+
$this.o5a_1.j57_1.w57('|- ? ' + instanceContext.e59_1 + ' look in injected parameters');
|
|
888
|
+
tmp = instanceContext.d59_1.b5a(instanceContext.b59_1);
|
|
903
889
|
}
|
|
904
890
|
var tmp0_elvis_lhs = tmp;
|
|
905
891
|
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? resolveFromRegistry($this, instanceContext) : tmp0_elvis_lhs;
|
|
906
892
|
var tmp_0;
|
|
907
893
|
if (tmp1_elvis_lhs == null) {
|
|
908
894
|
// Inline function 'org.koin.core.scope.Scope.resolveFromStackedParameters' call
|
|
909
|
-
var tmp0_safe_receiver = $this.
|
|
910
|
-
var current = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
895
|
+
var tmp0_safe_receiver = $this.s5a_1;
|
|
896
|
+
var current = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.uv();
|
|
911
897
|
var tmp_1;
|
|
912
898
|
// Inline function 'kotlin.collections.isNullOrEmpty' call
|
|
913
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
914
899
|
if (current == null || current.h()) {
|
|
915
900
|
tmp_1 = null;
|
|
916
901
|
} else {
|
|
917
|
-
$this.
|
|
918
|
-
var parameters = current.
|
|
919
|
-
tmp_1 = parameters == null ? null : parameters.
|
|
902
|
+
$this.o5a_1.j57_1.w57('|- ? ' + instanceContext.e59_1 + ' look in stack parameters');
|
|
903
|
+
var parameters = current.of();
|
|
904
|
+
tmp_1 = parameters == null ? null : parameters.b5a(instanceContext.b59_1);
|
|
920
905
|
}
|
|
921
906
|
tmp_0 = tmp_1;
|
|
922
907
|
} else {
|
|
@@ -928,14 +913,14 @@
|
|
|
928
913
|
var tmp$ret$3;
|
|
929
914
|
$l$block: {
|
|
930
915
|
// Inline function 'org.koin.core.scope.Scope.resolveFromScopeSource' call
|
|
931
|
-
if ($this.
|
|
916
|
+
if ($this.n5a_1) {
|
|
932
917
|
tmp$ret$3 = null;
|
|
933
918
|
break $l$block;
|
|
934
919
|
}
|
|
935
|
-
$this.
|
|
920
|
+
$this.o5a_1.j57_1.w57('|- ? ' + instanceContext.e59_1 + ' look at scope source');
|
|
936
921
|
var tmp_3;
|
|
937
|
-
if (instanceContext.
|
|
938
|
-
var tmp_4 = $this.
|
|
922
|
+
if (instanceContext.b59_1.fb($this.q5a_1) && instanceContext.c59_1 == null) {
|
|
923
|
+
var tmp_4 = $this.q5a_1;
|
|
939
924
|
tmp_3 = (tmp_4 == null ? true : !(tmp_4 == null)) ? tmp_4 : null;
|
|
940
925
|
} else {
|
|
941
926
|
tmp_3 = null;
|
|
@@ -950,41 +935,41 @@
|
|
|
950
935
|
var tmp4_elvis_lhs = tmp3_elvis_lhs == null ? resolveFromParentScopes($this, instanceContext) : tmp3_elvis_lhs;
|
|
951
936
|
var tmp_5;
|
|
952
937
|
if (tmp4_elvis_lhs == null) {
|
|
953
|
-
$this.
|
|
954
|
-
var tmp0_safe_receiver_0 = instanceContext.
|
|
938
|
+
$this.o5a_1.j57_1.w57('|- << parameters');
|
|
939
|
+
var tmp0_safe_receiver_0 = instanceContext.c59_1;
|
|
955
940
|
var tmp_6;
|
|
956
941
|
if (tmp0_safe_receiver_0 == null) {
|
|
957
942
|
tmp_6 = null;
|
|
958
943
|
} else {
|
|
959
944
|
// Inline function 'kotlin.let' call
|
|
960
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
961
945
|
// Inline function 'org.koin.core.scope.Scope.throwDefinitionNotFound.<anonymous>' call
|
|
962
946
|
tmp_6 = " and qualifier '" + toString_0(tmp0_safe_receiver_0) + "'";
|
|
963
947
|
}
|
|
964
948
|
var tmp1_elvis_lhs_0 = tmp_6;
|
|
965
949
|
var qualifierString = tmp1_elvis_lhs_0 == null ? '' : tmp1_elvis_lhs_0;
|
|
966
|
-
throw new NoDefinitionFoundException("No definition found for type '" + getFullName(instanceContext.
|
|
950
|
+
throw new NoDefinitionFoundException("No definition found for type '" + getFullName(instanceContext.b59_1) + "'" + qualifierString + '. Check your Modules configuration and add missing type and/or qualifier!');
|
|
967
951
|
} else {
|
|
968
952
|
tmp_5 = tmp4_elvis_lhs;
|
|
969
953
|
}
|
|
970
954
|
return tmp_5;
|
|
971
955
|
}
|
|
972
956
|
function resolveFromRegistry($this, ctx) {
|
|
973
|
-
return $this.
|
|
957
|
+
return $this.o5a_1.g57_1.h5a(ctx.c59_1, ctx.b59_1, $this.l5a_1, ctx);
|
|
974
958
|
}
|
|
975
959
|
function resolveFromParentScopes($this, ctx) {
|
|
976
|
-
$this.
|
|
960
|
+
$this.o5a_1.j57_1.w57('|- ? ' + ctx.e59_1 + ' look in other scopes');
|
|
977
961
|
return findInOtherScope($this, ctx);
|
|
978
962
|
}
|
|
979
963
|
function findInOtherScope($this, ctx) {
|
|
964
|
+
var tmp0 = $this.p5a_1;
|
|
980
965
|
var tmp$ret$1;
|
|
981
966
|
$l$block: {
|
|
982
967
|
// Inline function 'kotlin.collections.firstNotNullOfOrNull' call
|
|
983
|
-
var
|
|
984
|
-
while (
|
|
985
|
-
var element =
|
|
968
|
+
var _iterator__ex2g4s = tmp0.p();
|
|
969
|
+
while (_iterator__ex2g4s.q()) {
|
|
970
|
+
var element = _iterator__ex2g4s.r();
|
|
986
971
|
// Inline function 'org.koin.core.scope.Scope.findInOtherScope.<anonymous>' call
|
|
987
|
-
var result = element.
|
|
972
|
+
var result = element.u5a(ctx);
|
|
988
973
|
if (!(result == null)) {
|
|
989
974
|
tmp$ret$1 = result;
|
|
990
975
|
break $l$block;
|
|
@@ -996,30 +981,30 @@
|
|
|
996
981
|
}
|
|
997
982
|
function Scope(scopeQualifier, id, isRoot, _koin) {
|
|
998
983
|
isRoot = isRoot === VOID ? false : isRoot;
|
|
999
|
-
this.
|
|
1000
|
-
this.
|
|
1001
|
-
this.
|
|
1002
|
-
this.
|
|
1003
|
-
this.
|
|
1004
|
-
this.
|
|
1005
|
-
this.
|
|
1006
|
-
this.
|
|
1007
|
-
this.
|
|
1008
|
-
}
|
|
1009
|
-
protoOf(Scope).
|
|
984
|
+
this.l5a_1 = scopeQualifier;
|
|
985
|
+
this.m5a_1 = id;
|
|
986
|
+
this.n5a_1 = isRoot;
|
|
987
|
+
this.o5a_1 = _koin;
|
|
988
|
+
this.p5a_1 = LinkedHashSet_init_$Create$();
|
|
989
|
+
this.q5a_1 = null;
|
|
990
|
+
this.r5a_1 = LinkedHashSet_init_$Create$();
|
|
991
|
+
this.s5a_1 = null;
|
|
992
|
+
this.t5a_1 = false;
|
|
993
|
+
}
|
|
994
|
+
protoOf(Scope).u5a = function (ctx) {
|
|
1010
995
|
var tmp;
|
|
1011
996
|
try {
|
|
1012
|
-
tmp = get(this, ctx.
|
|
997
|
+
tmp = get(this, ctx.b59_1, ctx.c59_1, ctx.d59_1);
|
|
1013
998
|
} catch ($p) {
|
|
1014
999
|
var tmp_0;
|
|
1015
1000
|
if ($p instanceof ClosedScopeException) {
|
|
1016
1001
|
var e = $p;
|
|
1017
|
-
this.
|
|
1002
|
+
this.o5a_1.j57_1.w57('* Scope closed - no instance found for ' + getFullName(ctx.b59_1) + ' on scope ' + this.toString());
|
|
1018
1003
|
tmp_0 = null;
|
|
1019
1004
|
} else {
|
|
1020
1005
|
if ($p instanceof NoDefinitionFoundException) {
|
|
1021
1006
|
var e_0 = $p;
|
|
1022
|
-
this.
|
|
1007
|
+
this.o5a_1.j57_1.w57("* No instance found for type '" + getFullName(ctx.b59_1) + "' on scope '" + this.toString() + "'");
|
|
1023
1008
|
tmp_0 = null;
|
|
1024
1009
|
} else {
|
|
1025
1010
|
throw $p;
|
|
@@ -1029,11 +1014,11 @@
|
|
|
1029
1014
|
}
|
|
1030
1015
|
return tmp;
|
|
1031
1016
|
};
|
|
1032
|
-
protoOf(Scope).
|
|
1017
|
+
protoOf(Scope).v5a = function (clazz, qualifier, parameters) {
|
|
1033
1018
|
return resolveWithOptionalLogging(this, clazz, qualifier, parameters == null ? null : parameters());
|
|
1034
1019
|
};
|
|
1035
1020
|
protoOf(Scope).toString = function () {
|
|
1036
|
-
return "['" + this.
|
|
1021
|
+
return "['" + this.m5a_1 + "']";
|
|
1037
1022
|
};
|
|
1038
1023
|
function get_inMs(_this__u8e3s4) {
|
|
1039
1024
|
// Inline function 'kotlin.Long.div' call
|
|
@@ -1057,7 +1042,7 @@
|
|
|
1057
1042
|
}
|
|
1058
1043
|
function saveCache(_this__u8e3s4) {
|
|
1059
1044
|
_init_properties_KClassExt_kt__5ro5b2();
|
|
1060
|
-
var name = KoinPlatformTools_instance.
|
|
1045
|
+
var name = KoinPlatformTools_instance.w5a(_this__u8e3s4);
|
|
1061
1046
|
// Inline function 'kotlin.collections.set' call
|
|
1062
1047
|
get_classNames().n2(_this__u8e3s4, name);
|
|
1063
1048
|
return name;
|
|
@@ -1066,13 +1051,13 @@
|
|
|
1066
1051
|
function _init_properties_KClassExt_kt__5ro5b2() {
|
|
1067
1052
|
if (!properties_initialized_KClassExt_kt_dizwhw) {
|
|
1068
1053
|
properties_initialized_KClassExt_kt_dizwhw = true;
|
|
1069
|
-
classNames = KoinPlatformTools_instance.
|
|
1054
|
+
classNames = KoinPlatformTools_instance.e5a();
|
|
1070
1055
|
}
|
|
1071
1056
|
}
|
|
1072
1057
|
function KoinPlatform() {
|
|
1073
1058
|
}
|
|
1074
|
-
protoOf(KoinPlatform).
|
|
1075
|
-
return KoinPlatformTools_instance.
|
|
1059
|
+
protoOf(KoinPlatform).x5a = function () {
|
|
1060
|
+
return KoinPlatformTools_instance.e58().uv();
|
|
1076
1061
|
};
|
|
1077
1062
|
var KoinPlatform_instance;
|
|
1078
1063
|
function KoinPlatform_getInstance() {
|
|
@@ -1082,19 +1067,19 @@
|
|
|
1082
1067
|
return 'KClass@' + kClass.hashCode();
|
|
1083
1068
|
}
|
|
1084
1069
|
function generateId(_this__u8e3s4) {
|
|
1085
|
-
return Companion_getInstance().
|
|
1070
|
+
return Companion_getInstance().ll().toString();
|
|
1086
1071
|
}
|
|
1087
1072
|
function register($this, koinApplication) {
|
|
1088
|
-
if (!($this.
|
|
1073
|
+
if (!($this.y5a_1 == null)) {
|
|
1089
1074
|
throw new KoinApplicationAlreadyStartedException('A Koin Application has already been started');
|
|
1090
1075
|
}
|
|
1091
|
-
$this.
|
|
1076
|
+
$this.y5a_1 = koinApplication.y57_1;
|
|
1092
1077
|
}
|
|
1093
1078
|
function GlobalContext() {
|
|
1094
|
-
this.
|
|
1079
|
+
this.y5a_1 = null;
|
|
1095
1080
|
}
|
|
1096
|
-
protoOf(GlobalContext).
|
|
1097
|
-
var tmp0_elvis_lhs = this.
|
|
1081
|
+
protoOf(GlobalContext).uv = function () {
|
|
1082
|
+
var tmp0_elvis_lhs = this.y5a_1;
|
|
1098
1083
|
var tmp;
|
|
1099
1084
|
if (tmp0_elvis_lhs == null) {
|
|
1100
1085
|
var message = 'KoinApplication has not been started';
|
|
@@ -1104,8 +1089,8 @@
|
|
|
1104
1089
|
}
|
|
1105
1090
|
return tmp;
|
|
1106
1091
|
};
|
|
1107
|
-
protoOf(GlobalContext).
|
|
1108
|
-
var koinApplication = Companion_instance.
|
|
1092
|
+
protoOf(GlobalContext).f58 = function (appDeclaration) {
|
|
1093
|
+
var koinApplication = Companion_instance.a58();
|
|
1109
1094
|
register(this, koinApplication);
|
|
1110
1095
|
appDeclaration(koinApplication);
|
|
1111
1096
|
return koinApplication;
|
|
@@ -1116,23 +1101,23 @@
|
|
|
1116
1101
|
}
|
|
1117
1102
|
function KoinPlatformTools() {
|
|
1118
1103
|
}
|
|
1119
|
-
protoOf(KoinPlatformTools).
|
|
1104
|
+
protoOf(KoinPlatformTools).f59 = function (e) {
|
|
1120
1105
|
return e.toString() + toString_0(split(Exception_init_$Create$().toString(), ['\n']));
|
|
1121
1106
|
};
|
|
1122
|
-
protoOf(KoinPlatformTools).
|
|
1123
|
-
var tmp0_elvis_lhs = kClass.
|
|
1107
|
+
protoOf(KoinPlatformTools).w5a = function (kClass) {
|
|
1108
|
+
var tmp0_elvis_lhs = kClass.eb();
|
|
1124
1109
|
return tmp0_elvis_lhs == null ? getKClassDefaultName(this, kClass) : tmp0_elvis_lhs;
|
|
1125
1110
|
};
|
|
1126
|
-
protoOf(KoinPlatformTools).
|
|
1111
|
+
protoOf(KoinPlatformTools).e58 = function () {
|
|
1127
1112
|
return GlobalContext_instance;
|
|
1128
1113
|
};
|
|
1129
|
-
protoOf(KoinPlatformTools).
|
|
1114
|
+
protoOf(KoinPlatformTools).k59 = function (lock, block) {
|
|
1130
1115
|
return block();
|
|
1131
1116
|
};
|
|
1132
|
-
protoOf(KoinPlatformTools).
|
|
1117
|
+
protoOf(KoinPlatformTools).e5a = function () {
|
|
1133
1118
|
return ConcurrentMutableMap_init_$Create$();
|
|
1134
1119
|
};
|
|
1135
|
-
protoOf(KoinPlatformTools).
|
|
1120
|
+
protoOf(KoinPlatformTools).k5a = function () {
|
|
1136
1121
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
1137
1122
|
return LinkedHashSet_init_$Create$();
|
|
1138
1123
|
};
|
|
@@ -1160,5 +1145,3 @@
|
|
|
1160
1145
|
//endregion
|
|
1161
1146
|
return _;
|
|
1162
1147
|
}(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./Stately-stately-concurrency.js'), require('./Stately-stately-concurrent-collections.js')));
|
|
1163
|
-
|
|
1164
|
-
//# sourceMappingURL=projects-core-koin-core.js.map
|