(function (root, factory) { if (typeof define === 'function' && define.amd) define(['exports', 'kotlin', 'Kodein-Type-kodein-type'], factory); else if (typeof exports === 'object') factory(module.exports, require('kotlin'), require('Kodein-Type-kodein-type')); else { if (typeof kotlin === 'undefined') { throw new Error("Error loading module 'Kodein-DI-kodein-di'. Its dependency 'kotlin' was not found. Please, check whether 'kotlin' is loaded prior to 'Kodein-DI-kodein-di'."); }if (typeof this['Kodein-Type-kodein-type'] === 'undefined') { throw new Error("Error loading module 'Kodein-DI-kodein-di'. Its dependency 'Kodein-Type-kodein-type' was not found. Please, check whether 'Kodein-Type-kodein-type' is loaded prior to 'Kodein-DI-kodein-di'."); }root['Kodein-DI-kodein-di'] = factory(typeof this['Kodein-DI-kodein-di'] === 'undefined' ? {} : this['Kodein-DI-kodein-di'], kotlin, this['Kodein-Type-kodein-type']); } }(this, function (_, Kotlin, $module$Kodein_Type_kodein_type) { 'use strict'; var $$importsForInline$$ = _.$$importsForInline$$ || (_.$$importsForInline$$ = {}); var Kind_CLASS = Kotlin.Kind.CLASS; var repeat = Kotlin.kotlin.text.repeat_94bcnn$; var first = Kotlin.kotlin.collections.first_2p1efm$; var filterNotNull = Kotlin.kotlin.collections.filterNotNull_m3lr2h$; var sorted = Kotlin.kotlin.collections.sorted_exjks8$; var ensureNotNull = Kotlin.ensureNotNull; var getPropertyCallableRef = Kotlin.getPropertyCallableRef; var LinkedHashMap_init = Kotlin.kotlin.collections.LinkedHashMap_init_q3lmfv$; var ArrayList_init = Kotlin.kotlin.collections.ArrayList_init_287e2$; var StringBuilder_init = Kotlin.kotlin.text.StringBuilder_init; var Kind_OBJECT = Kotlin.Kind.OBJECT; var emptySet = Kotlin.kotlin.collections.emptySet_287e2$; var to = Kotlin.kotlin.to_ujzrz7$; var minus = Kotlin.kotlin.collections.minus_q4559j$; var toSet = Kotlin.kotlin.collections.toSet_7wnvza$; var minus_0 = Kotlin.kotlin.collections.minus_khz7k3$; var Kind_INTERFACE = Kotlin.Kind.INTERFACE; var collectionSizeOrDefault = Kotlin.kotlin.collections.collectionSizeOrDefault_ba2ldo$; var mapCapacity = Kotlin.kotlin.collections.mapCapacity_za3lpa$; var coerceAtLeast = Kotlin.kotlin.ranges.coerceAtLeast_dqglrj$; var LinkedHashMap_init_0 = Kotlin.kotlin.collections.LinkedHashMap_init_bwtc7$; var ArrayList_init_0 = Kotlin.kotlin.collections.ArrayList_init_ww73n8$; var addAll = Kotlin.kotlin.collections.addAll_ipc267$; var RuntimeException_init = Kotlin.kotlin.RuntimeException_init_pdl1vj$; var RuntimeException = Kotlin.kotlin.RuntimeException; var hashCode = Kotlin.hashCode; var toString = Kotlin.toString; var TypeToken = $module$Kodein_Type_kodein_type.org.kodein.type.TypeToken; var equals = Kotlin.equals; var Unit = Kotlin.kotlin.Unit; var getCallableRef = Kotlin.getCallableRef; var Annotation = Kotlin.kotlin.Annotation; var lazy = Kotlin.kotlin.lazy_klfg04$; var defineInlineFunction = Kotlin.defineInlineFunction; var wrapFunction = Kotlin.wrapFunction; var Any = Object; var throwCCE = Kotlin.throwCCE; var joinToString = Kotlin.kotlin.collections.joinToString_fmv235$; var erasedOf = $module$Kodein_Type_kodein_type.org.kodein.type.erasedOf_issdgt$; var toList = Kotlin.kotlin.collections.toList_7wnvza$; var listOf = Kotlin.kotlin.collections.listOf_mh5how$; var emptyList = Kotlin.kotlin.collections.emptyList_287e2$; var IllegalStateException_init = Kotlin.kotlin.IllegalStateException_init_pdl1vj$; var Pair_init = Kotlin.kotlin.Pair; var asSequence = Kotlin.kotlin.collections.asSequence_7wnvza$; var map = Kotlin.kotlin.sequences.map_z5avom$; var LinkedHashSet_init = Kotlin.kotlin.collections.LinkedHashSet_init_287e2$; var MutableSet = Kotlin.kotlin.collections.MutableSet; var IllegalArgumentException_init = Kotlin.kotlin.IllegalArgumentException_init_pdl1vj$; var getKClass = Kotlin.getKClass; var Set = Kotlin.kotlin.collections.Set; var erasedComp = $module$Kodein_Type_kodein_type.org.kodein.type.erasedComp_6wtypk$; var HashSet_init = Kotlin.kotlin.collections.HashSet_init_287e2$; var HashMap_init = Kotlin.kotlin.collections.HashMap_init_q3lmfv$; var Enum = Kotlin.kotlin.Enum; var throwISE = Kotlin.throwISE; var Map = Kotlin.kotlin.collections.Map; var plus = Kotlin.kotlin.collections.plus_qloxvw$; var plus_0 = Kotlin.kotlin.collections.plus_mydzjv$; var checkIndexOverflow = Kotlin.kotlin.collections.checkIndexOverflow_za3lpa$; var asSequence_0 = Kotlin.kotlin.collections.asSequence_abgq59$; var filter = Kotlin.kotlin.sequences.filter_euau3h$; var Triple = Kotlin.kotlin.Triple; var flatMap = Kotlin.kotlin.sequences.flatMap_49vfel$; var mapNotNull = Kotlin.kotlin.sequences.mapNotNull_qpz9h9$; var toList_0 = Kotlin.kotlin.sequences.toList_veqyi0$; var getOrNull = Kotlin.kotlin.collections.getOrNull_yzln2o$; var ArrayList_init_1 = Kotlin.kotlin.collections.ArrayList_init_mqih57$; var HashMap_init_0 = Kotlin.kotlin.collections.HashMap_init_73mtqc$; var Collection = Kotlin.kotlin.collections.Collection; var throwUPAE = Kotlin.throwUPAE; DIDefinition.prototype = Object.create(DIDefining.prototype); DIDefinition.prototype.constructor = DIDefinition; CopySpecs.prototype = Object.create(SearchSpecs.prototype); CopySpecs.prototype.constructor = CopySpecs; Copy$BaseDSL.prototype = Object.create(SearchDSL.prototype); Copy$BaseDSL.prototype.constructor = Copy$BaseDSL; Copy$DSL.prototype = Object.create(Copy$BaseDSL.prototype); Copy$DSL.prototype.constructor = Copy$DSL; Copy$AllButDSL.prototype = Object.create(Copy$BaseDSL.prototype); Copy$AllButDSL.prototype.constructor = Copy$AllButDSL; DI$DependencyLoopException.prototype = Object.create(RuntimeException.prototype); DI$DependencyLoopException.prototype.constructor = DI$DependencyLoopException; DI$NotFoundException.prototype = Object.create(RuntimeException.prototype); DI$NotFoundException.prototype.constructor = DI$NotFoundException; DI$NoResultException.prototype = Object.create(RuntimeException.prototype); DI$NoResultException.prototype.constructor = DI$NoResultException; DI$OverridingException.prototype = Object.create(RuntimeException.prototype); DI$OverridingException.prototype.constructor = DI$OverridingException; StandardScopeRegistry.prototype = Object.create(ScopeRegistry.prototype); StandardScopeRegistry.prototype.constructor = StandardScopeRegistry; SetBinding.prototype = Object.create(BaseMultiBinding.prototype); DIMainBuilderImpl.prototype = Object.create(DIBuilderImpl.prototype); DIMainBuilderImpl.prototype.constructor = DIMainBuilderImpl; DIContainerBuilderImpl$OverrideMode.prototype = Object.create(Enum.prototype); DIContainerBuilderImpl$OverrideMode.prototype.constructor = DIContainerBuilderImpl$OverrideMode; DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT.prototype = Object.create(DIContainerBuilderImpl$OverrideMode.prototype); DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT.prototype.constructor = DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT; DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT.prototype = Object.create(DIContainerBuilderImpl$OverrideMode.prototype); DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT.prototype.constructor = DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT; DIContainerBuilderImpl$OverrideMode$FORBID.prototype = Object.create(DIContainerBuilderImpl$OverrideMode.prototype); DIContainerBuilderImpl$OverrideMode$FORBID.prototype.constructor = DIContainerBuilderImpl$OverrideMode$FORBID; TypeChecker$Down.prototype = Object.create(TypeChecker.prototype); TypeChecker$Down.prototype.constructor = TypeChecker$Down; TypeChecker$Up.prototype = Object.create(TypeChecker.prototype); TypeChecker$Up.prototype.constructor = TypeChecker$Up; DirectDIImpl.prototype = Object.create(DirectDIBaseImpl.prototype); DirectDIImpl.prototype.constructor = DirectDIImpl; function DIDefining(binding, fromModule) { this.binding = binding; this.fromModule = fromModule; } DIDefining.$metadata$ = {kind: Kind_CLASS, simpleName: 'DIDefining', interfaces: []}; function DIDefinition(binding, fromModule, tree) { DIDefining.call(this, binding, fromModule); this.tree = tree; } DIDefinition.$metadata$ = {kind: Kind_CLASS, simpleName: 'DIDefinition', interfaces: [DIDefining]}; function descriptionImpl$appendBindings(closure$keyBindDisp, closure$bindingDisp, closure$withOverrides) { return function ($receiver, ident, entries) { var tmp$; tmp$ = entries.iterator(); while (tmp$.hasNext()) { var element = tmp$.next(); var closure$keyBindDisp_0 = closure$keyBindDisp; var closure$bindingDisp_0 = closure$bindingDisp; var closure$withOverrides_0 = closure$withOverrides; var keyDescription = closure$keyBindDisp_0(element.key); $receiver.append_pdl1vj$(repeat(' ', ident) + keyDescription + ' { ' + closure$bindingDisp_0(first(element.value).binding) + ' }'); if (closure$withOverrides_0) { var subIdent = keyDescription.length - 4 | 0; var tmp$_0; tmp$_0 = element.value.subList_vux9f0$(1, element.value.size).iterator(); while (tmp$_0.hasNext()) { var element_0 = tmp$_0.next(); $receiver.append_pdl1vj$(repeat(' ', subIdent) + 'overrides ' + closure$bindingDisp_0(element_0.binding)); } }$receiver.append_pdl1vj$('\n'); } }; } function descriptionImpl($receiver, withOverrides, ident, keyBindDisp, bindingDisp) { var appendBindings = descriptionImpl$appendBindings(keyBindDisp, bindingDisp, withOverrides); var $receiver_0 = $receiver.entries; var destination = LinkedHashMap_init(); var tmp$; tmp$ = $receiver_0.iterator(); while (tmp$.hasNext()) { var element = tmp$.next(); var key = first(element.value).fromModule; var tmp$_0; var value = destination.get_11rb$(key); if (value == null) { var answer = ArrayList_init(); destination.put_xwzc9p$(key, answer); tmp$_0 = answer; } else { tmp$_0 = value; } var list = tmp$_0; list.add_11rb$(element); } var byModule = destination; var modules = sorted(filterNotNull(byModule.keys)); var $receiver_1 = StringBuilder_init(); var tmp$_1; if ((tmp$_1 = byModule.get_11rb$(null)) != null) { appendBindings($receiver_1, ident, tmp$_1); }var tmp$_2; tmp$_2 = modules.iterator(); while (tmp$_2.hasNext()) { var element_0 = tmp$_2.next(); $receiver_1.append_pdl1vj$(repeat(' ', ident) + 'module ' + element_0 + ' {' + '\n'); appendBindings($receiver_1, ident + 4 | 0, ensureNotNull(byModule.get_11rb$(element_0))); $receiver_1.append_pdl1vj$(repeat(' ', ident) + '}' + '\n'); } return $receiver_1.toString(); } function description($receiver, withOverrides, ident) { if (withOverrides === void 0) withOverrides = false; if (ident === void 0) ident = 8; return descriptionImpl($receiver, withOverrides, ident, getPropertyCallableRef('bindDescription', 1, function ($receiver) { return $receiver.bindDescription; }), getPropertyCallableRef('description', 1, function ($receiver) { return $receiver.description; })); } function fullDescription($receiver, withOverrides, ident) { if (withOverrides === void 0) withOverrides = false; if (ident === void 0) ident = 8; return descriptionImpl($receiver, withOverrides, ident, getPropertyCallableRef('bindFullDescription', 1, function ($receiver) { return $receiver.bindFullDescription; }), getPropertyCallableRef('fullDescription', 1, function ($receiver) { return $receiver.fullDescription; })); } function CopySpecs(all) { SearchSpecs.call(this); this.all = all; } CopySpecs.$metadata$ = {kind: Kind_CLASS, simpleName: 'CopySpecs', interfaces: [SearchSpecs]}; function Copy() { Copy$Companion_getInstance(); } function Copy$All() { Copy$All_instance = this; } Copy$All.prototype.keySet_l66p72$ = function (tree) { return tree.bindings.keys; }; Copy$All.$metadata$ = {kind: Kind_OBJECT, simpleName: 'All', interfaces: [Copy]}; var Copy$All_instance = null; function Copy$All_getInstance() { if (Copy$All_instance === null) { new Copy$All(); }return Copy$All_instance; } function Copy$None() { Copy$None_instance = this; } Copy$None.prototype.keySet_l66p72$ = function (tree) { return emptySet(); }; Copy$None.$metadata$ = {kind: Kind_OBJECT, simpleName: 'None', interfaces: [Copy]}; var Copy$None_instance = null; function Copy$None_getInstance() { if (Copy$None_instance === null) { new Copy$None(); }return Copy$None_instance; } function Copy$NonCached() { Copy$NonCached_instance = this; } Copy$NonCached.prototype.keySet_l66p72$ = function (tree) { var $receiver = tree.bindings; var destination = LinkedHashMap_init(); var tmp$; tmp$ = $receiver.entries.iterator(); while (tmp$.hasNext()) { var element = tmp$.next(); if (first(element.value).binding.copier == null) { destination.put_xwzc9p$(element.key, element.value); }} return destination.keys; }; Copy$NonCached.$metadata$ = {kind: Kind_OBJECT, simpleName: 'NonCached', interfaces: [Copy]}; var Copy$NonCached_instance = null; function Copy$NonCached_getInstance() { if (Copy$NonCached_instance === null) { new Copy$NonCached(); }return Copy$NonCached_instance; } function Copy$Companion() { Copy$Companion_instance = this; } Copy$Companion.prototype.invoke_agefms$ = function (f) { var $receiver = new Copy$DSL(); f($receiver); return $receiver; }; Copy$Companion.prototype.allBut_g0iejo$ = function (f) { var $receiver = new Copy$AllButDSL(); f($receiver); return $receiver; }; Copy$Companion.prototype.specsToKeys_yeckkp$ = function (tree, it) { var list = tree.find_f45sx$(it); if (list.isEmpty()) { throw new DI$NoResultException(it, 'No binding found that match this search: ' + it); }if (!it.all && list.size > 1) { var tmp$ = 'There were ' + list.size + ' matches for this search: ' + it + '\n'; var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(list, 10)), 16); var destination = LinkedHashMap_init_0(capacity); var tmp$_0; tmp$_0 = list.iterator(); while (tmp$_0.hasNext()) { var element = tmp$_0.next(); var pair = to(element.first, element.second); destination.put_xwzc9p$(pair.first, pair.second); } throw new DI$NoResultException(it, tmp$ + description(destination, false)); }var destination_0 = ArrayList_init_0(collectionSizeOrDefault(list, 10)); var tmp$_1; tmp$_1 = list.iterator(); while (tmp$_1.hasNext()) { var item = tmp$_1.next(); destination_0.add_11rb$(item.first); } return destination_0; }; Copy$Companion.$metadata$ = {kind: Kind_OBJECT, simpleName: 'Companion', interfaces: []}; var Copy$Companion_instance = null; function Copy$Companion_getInstance() { if (Copy$Companion_instance === null) { new Copy$Companion(); }return Copy$Companion_instance; } function Copy$BaseDSL() { SearchDSL.call(this); this.copySpecs_8be2vx$ = ArrayList_init(); this.ignoreSpecs_8be2vx$ = ArrayList_init(); this.copy = new Copy$BaseDSL$Sentence(this.copySpecs_8be2vx$); this.ignore = new Copy$BaseDSL$Sentence(this.ignoreSpecs_8be2vx$); } function Copy$BaseDSL$Sentence(specs) { this.specs_0 = specs; } Copy$BaseDSL$Sentence.prototype.the_nj1dmr$ = function (binding) { var $receiver = new CopySpecs(false); binding.apply_f45sx$($receiver); this.specs_0.add_11rb$($receiver); return $receiver; }; Copy$BaseDSL$Sentence.prototype.all_b5lpbx$ = function (spec) { var $receiver = new CopySpecs(true); spec.apply_f45sx$($receiver); this.specs_0.add_11rb$($receiver); return $receiver; }; Copy$BaseDSL$Sentence.$metadata$ = {kind: Kind_CLASS, simpleName: 'Sentence', interfaces: []}; Copy$BaseDSL.$metadata$ = {kind: Kind_CLASS, simpleName: 'BaseDSL', interfaces: [Copy, SearchDSL]}; function Copy$DSL() { Copy$BaseDSL.call(this); } Copy$DSL.prototype.keySet_l66p72$ = function (tree) { var $receiver = this.ignoreSpecs_8be2vx$; var destination = ArrayList_init(); var tmp$; tmp$ = $receiver.iterator(); while (tmp$.hasNext()) { var element = tmp$.next(); var list = Copy$Companion_getInstance().specsToKeys_yeckkp$(tree, element); addAll(destination, list); } var ignored = destination; var $receiver_0 = this.copySpecs_8be2vx$; var destination_0 = ArrayList_init(); var tmp$_0; tmp$_0 = $receiver_0.iterator(); while (tmp$_0.hasNext()) { var element_0 = tmp$_0.next(); var list_0 = Copy$Companion_getInstance().specsToKeys_yeckkp$(tree, element_0); addAll(destination_0, list_0); } return toSet(minus(destination_0, ignored)); }; Copy$DSL.$metadata$ = {kind: Kind_CLASS, simpleName: 'DSL', interfaces: [Copy$BaseDSL]}; function Copy$AllButDSL() { Copy$BaseDSL.call(this); } Copy$AllButDSL.prototype.keySet_l66p72$ = function (tree) { var $receiver = this.copySpecs_8be2vx$; var destination = ArrayList_init(); var tmp$; tmp$ = $receiver.iterator(); while (tmp$.hasNext()) { var element = tmp$.next(); var list = Copy$Companion_getInstance().specsToKeys_yeckkp$(tree, element); addAll(destination, list); } var kept = destination; var $receiver_0 = this.ignoreSpecs_8be2vx$; var destination_0 = ArrayList_init(); var tmp$_0; tmp$_0 = $receiver_0.iterator(); while (tmp$_0.hasNext()) { var element_0 = tmp$_0.next(); var list_0 = Copy$Companion_getInstance().specsToKeys_yeckkp$(tree, element_0); addAll(destination_0, list_0); } var ignored = minus(destination_0, kept); return minus_0(tree.bindings.keys, ignored); }; Copy$AllButDSL.$metadata$ = {kind: Kind_CLASS, simpleName: 'AllButDSL', interfaces: [Copy$BaseDSL]}; Copy.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'Copy', interfaces: []}; function DI() { DI$Companion_getInstance(); } function DI$DependencyLoopException(message) { RuntimeException_init(message, this); this.name = 'DI$DependencyLoopException'; } DI$DependencyLoopException.$metadata$ = {kind: Kind_CLASS, simpleName: 'DependencyLoopException', interfaces: [RuntimeException]}; function DI$NotFoundException(key, message) { RuntimeException_init(message, this); this.key = key; this.name = 'DI$NotFoundException'; } DI$NotFoundException.$metadata$ = {kind: Kind_CLASS, simpleName: 'NotFoundException', interfaces: [RuntimeException]}; function DI$NoResultException(search, message) { RuntimeException_init(message, this); this.search = search; this.name = 'DI$NoResultException'; } DI$NoResultException.$metadata$ = {kind: Kind_CLASS, simpleName: 'NoResultException', interfaces: [RuntimeException]}; function DI$OverridingException(message) { RuntimeException_init(message, this); this.name = 'DI$OverridingException'; } DI$OverridingException.$metadata$ = {kind: Kind_CLASS, simpleName: 'OverridingException', interfaces: [RuntimeException]}; Object.defineProperty(DI.prototype, 'di', {configurable: true, get: function () { return this; }}); function DI$Key(contextType, argType, type, tag) { this.contextType = contextType; this.argType = argType; this.type = type; this.tag = tag; this._hashCode_0 = 0; } DI$Key.prototype.hashCode = function () { var tmp$, tmp$_0; if (this._hashCode_0 === 0) { this._hashCode_0 = hashCode(this.contextType); this._hashCode_0 = (31 * this._hashCode_0 | 0) + hashCode(this.argType) | 0; this._hashCode_0 = 29 * hashCode(this.type) | 0; this._hashCode_0 = (23 * this._hashCode_0 | 0) + ((tmp$_0 = (tmp$ = this.tag) != null ? hashCode(tmp$) : null) != null ? tmp$_0 : 0) | 0; }return this._hashCode_0; }; DI$Key.prototype.toString = function () { return this.description; }; DI$Key.prototype.appendDescription_0 = function ($receiver, displayString) { if (this.tag != null) { $receiver.append_pdl1vj$(' tagged ' + '"' + toString(this.tag) + '"'); }if (!equals(this.contextType, TypeToken.Companion.Any)) { $receiver.append_pdl1vj$(' on context ' + displayString(this.contextType)); }if (!equals(this.argType, TypeToken.Companion.Unit)) { $receiver.append_pdl1vj$(', with argument ' + displayString(this.argType)); }}; Object.defineProperty(DI$Key.prototype, 'bindDescription', {configurable: true, get: function () { var $receiver = StringBuilder_init(); $receiver.append_pdl1vj$('bind<' + this.type.simpleDispString() + '>'); if (this.tag != null) { $receiver.append_pdl1vj$('(tag = ' + '"' + toString(this.tag) + '"' + ')'); }return $receiver.toString(); }}); Object.defineProperty(DI$Key.prototype, 'bindFullDescription', {configurable: true, get: function () { var $receiver = StringBuilder_init(); $receiver.append_pdl1vj$('bind<' + this.type.qualifiedDispString() + '>'); if (this.tag != null) { $receiver.append_pdl1vj$('(tag = ' + '"' + toString(this.tag) + '"' + ')'); }return $receiver.toString(); }}); Object.defineProperty(DI$Key.prototype, 'description', {configurable: true, get: function () { var $receiver = StringBuilder_init(); $receiver.append_pdl1vj$(this.type.simpleDispString()); this.appendDescription_0($receiver, getCallableRef('simpleDispString', function ($receiver) { return $receiver.simpleDispString(); })); return $receiver.toString(); }}); Object.defineProperty(DI$Key.prototype, 'internalDescription', {configurable: true, get: function () { return '(context: ' + this.contextType.simpleDispString() + ', arg: ' + this.argType.simpleDispString() + ', type: ' + this.type.simpleDispString() + ', tag: ' + toString(this.tag) + ')'; }}); Object.defineProperty(DI$Key.prototype, 'fullDescription', {configurable: true, get: function () { var $receiver = StringBuilder_init(); $receiver.append_pdl1vj$(this.type.qualifiedDispString()); this.appendDescription_0($receiver, getCallableRef('qualifiedDispString', function ($receiver) { return $receiver.qualifiedDispString(); })); return $receiver.toString(); }}); DI$Key.$metadata$ = {kind: Kind_CLASS, simpleName: 'Key', interfaces: []}; DI$Key.prototype.component1 = function () { return this.contextType; }; DI$Key.prototype.component2 = function () { return this.argType; }; DI$Key.prototype.component3 = function () { return this.type; }; DI$Key.prototype.component4 = function () { return this.tag; }; DI$Key.prototype.copy_x92200$ = function (contextType, argType, type, tag) { return new DI$Key(contextType === void 0 ? this.contextType : contextType, argType === void 0 ? this.argType : argType, type === void 0 ? this.type : type, tag === void 0 ? this.tag : tag); }; DI$Key.prototype.equals = function (other) { return this === other || (other !== null && (typeof other === 'object' && (Object.getPrototypeOf(this) === Object.getPrototypeOf(other) && (Kotlin.equals(this.contextType, other.contextType) && Kotlin.equals(this.argType, other.argType) && Kotlin.equals(this.type, other.type) && Kotlin.equals(this.tag, other.tag))))); }; function DI$DIDsl() { } DI$DIDsl.$metadata$ = {kind: Kind_CLASS, simpleName: 'DIDsl', interfaces: [Annotation]}; function DI$BindBuilder() { } function DI$BindBuilder$ImplWithContext(contextType) { this.contextType_sf68tc$_0 = contextType; } Object.defineProperty(DI$BindBuilder$ImplWithContext.prototype, 'contextType', {get: function () { return this.contextType_sf68tc$_0; }}); Object.defineProperty(DI$BindBuilder$ImplWithContext.prototype, 'explicitContext', {configurable: true, get: function () { return true; }}); DI$BindBuilder$ImplWithContext.$metadata$ = {kind: Kind_CLASS, simpleName: 'ImplWithContext', interfaces: [DI$BindBuilder]}; function DI$BindBuilder$WithScope() { } DI$BindBuilder$WithScope.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'WithScope', interfaces: [DI$BindBuilder]}; function DI$BindBuilder$ImplWithScope(contextType, scope) { this.contextType_5c2o2j$_0 = contextType; this.scope_p22geo$_0 = scope; } Object.defineProperty(DI$BindBuilder$ImplWithScope.prototype, 'contextType', {get: function () { return this.contextType_5c2o2j$_0; }}); Object.defineProperty(DI$BindBuilder$ImplWithScope.prototype, 'scope', {get: function () { return this.scope_p22geo$_0; }}); Object.defineProperty(DI$BindBuilder$ImplWithScope.prototype, 'explicitContext', {configurable: true, get: function () { return true; }}); DI$BindBuilder$ImplWithScope.$metadata$ = {kind: Kind_CLASS, simpleName: 'ImplWithScope', interfaces: [DI$BindBuilder$WithScope]}; DI$BindBuilder.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'BindBuilder', interfaces: []}; function DI$Builder() { } function DI$Builder$TypeBinder() { } DI$Builder$TypeBinder.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'TypeBinder', interfaces: []}; function DI$Builder$DirectBinder() { } DI$Builder$DirectBinder.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'DirectBinder', interfaces: []}; function DI$Builder$ConstantBinder() { } DI$Builder$ConstantBinder.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'ConstantBinder', interfaces: []}; DI$Builder.prototype.Bind_m0ro4c$ = function (tag, overrides, binding, callback$default) { if (tag === void 0) tag = null; if (overrides === void 0) overrides = null; callback$default ? callback$default(tag, overrides, binding) : this.Bind_m0ro4c$$default(tag, overrides, binding); }; DI$Builder.prototype.BindSet_m0ro4c$ = function (tag, overrides, binding, callback$default) { if (tag === void 0) tag = null; if (overrides === void 0) overrides = null; callback$default ? callback$default(tag, overrides, binding) : this.BindSet_m0ro4c$$default(tag, overrides, binding); }; DI$Builder.prototype.Bind_exja01$ = function (type, tag, overrides, callback$default) { if (tag === void 0) tag = null; if (overrides === void 0) overrides = null; return callback$default ? callback$default(type, tag, overrides) : this.Bind_exja01$$default(type, tag, overrides); }; DI$Builder.prototype.Bind_b6zv6g$ = function (tag, overrides, callback$default) { if (tag === void 0) tag = null; if (overrides === void 0) overrides = null; return callback$default ? callback$default(tag, overrides) : this.Bind_b6zv6g$$default(tag, overrides); }; DI$Builder.prototype.constant_obdoaf$ = function (tag, overrides, callback$default) { if (overrides === void 0) overrides = null; return callback$default ? callback$default(tag, overrides) : this.constant_obdoaf$$default(tag, overrides); }; DI$Builder.prototype.import_dwjwn5$ = function (module_0, allowOverride, callback$default) { if (allowOverride === void 0) allowOverride = false; callback$default ? callback$default(module_0, allowOverride) : this.import_dwjwn5$$default(module_0, allowOverride); }; DI$Builder.prototype.importAll_lbhl2u$ = function (modules, allowOverride, callback$default) { if (allowOverride === void 0) allowOverride = false; callback$default ? callback$default(modules, allowOverride) : this.importAll_lbhl2u$$default(modules, allowOverride); }; DI$Builder.prototype.importAll_k7it48$ = function (modules, allowOverride, callback$default) { if (allowOverride === void 0) allowOverride = false; callback$default ? callback$default(modules, allowOverride) : this.importAll_k7it48$$default(modules, allowOverride); }; DI$Builder.prototype.importOnce_dwjwn5$ = function (module_0, allowOverride, callback$default) { if (allowOverride === void 0) allowOverride = false; callback$default ? callback$default(module_0, allowOverride) : this.importOnce_dwjwn5$$default(module_0, allowOverride); }; DI$Builder.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'Builder', interfaces: [DI$BindBuilder$WithScope, DI$BindBuilder]}; function DI$MainBuilder() { } DI$MainBuilder.prototype.extend_nltjgj$ = function (di, allowOverride, copy, callback$default) { if (allowOverride === void 0) allowOverride = false; if (copy === void 0) copy = Copy$NonCached_getInstance(); callback$default ? callback$default(di, allowOverride, copy) : this.extend_nltjgj$$default(di, allowOverride, copy); }; DI$MainBuilder.prototype.extend_lto1om$ = function (directDI, allowOverride, copy, callback$default) { if (allowOverride === void 0) allowOverride = false; if (copy === void 0) copy = Copy$NonCached_getInstance(); callback$default ? callback$default(directDI, allowOverride, copy) : this.extend_lto1om$$default(directDI, allowOverride, copy); }; DI$MainBuilder.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'MainBuilder', interfaces: [DI$Builder]}; function DI$Module(name, allowSilentOverride, prefix, init) { if (allowSilentOverride === void 0) allowSilentOverride = false; if (prefix === void 0) prefix = ''; this.name = name; this.allowSilentOverride = allowSilentOverride; this.prefix = prefix; this.init = init; } DI$Module.$metadata$ = {kind: Kind_CLASS, simpleName: 'Module', interfaces: []}; function DI$DI$Module_init(allowSilentOverride, init, $this) { if (allowSilentOverride === void 0) allowSilentOverride = false; $this = $this || Object.create(DI$Module.prototype); DI$Module.call($this, '', allowSilentOverride, '', init); return $this; } DI$Module.prototype.component1 = function () { return this.name; }; DI$Module.prototype.component2 = function () { return this.allowSilentOverride; }; DI$Module.prototype.component3 = function () { return this.prefix; }; DI$Module.prototype.component4 = function () { return this.init; }; DI$Module.prototype.copy_380h3v$ = function (name, allowSilentOverride, prefix, init) { return new DI$Module(name === void 0 ? this.name : name, allowSilentOverride === void 0 ? this.allowSilentOverride : allowSilentOverride, prefix === void 0 ? this.prefix : prefix, init === void 0 ? this.init : init); }; DI$Module.prototype.toString = function () { return 'Module(name=' + Kotlin.toString(this.name) + (', allowSilentOverride=' + Kotlin.toString(this.allowSilentOverride)) + (', prefix=' + Kotlin.toString(this.prefix)) + (', init=' + Kotlin.toString(this.init)) + ')'; }; DI$Module.prototype.hashCode = function () { var result = 0; result = result * 31 + Kotlin.hashCode(this.name) | 0; result = result * 31 + Kotlin.hashCode(this.allowSilentOverride) | 0; result = result * 31 + Kotlin.hashCode(this.prefix) | 0; result = result * 31 + Kotlin.hashCode(this.init) | 0; return result; }; DI$Module.prototype.equals = function (other) { return this === other || (other !== null && (typeof other === 'object' && (Object.getPrototypeOf(this) === Object.getPrototypeOf(other) && (Kotlin.equals(this.name, other.name) && Kotlin.equals(this.allowSilentOverride, other.allowSilentOverride) && Kotlin.equals(this.prefix, other.prefix) && Kotlin.equals(this.init, other.init))))); }; function DI$Companion() { DI$Companion_instance = this; this.defaultFullDescriptionOnError = false; this.defaultFullContainerTreeOnError = false; } DI$Companion.prototype.invoke_ys71a$ = function (allowSilentOverride, init) { if (allowSilentOverride === void 0) allowSilentOverride = false; return DIImpl_init_0(allowSilentOverride, init); }; function DI$Companion$lazy$lambda(closure$allowSilentOverride, closure$init) { return function () { return DIImpl_init_0(closure$allowSilentOverride, closure$init); }; } DI$Companion.prototype.lazy_ys71a$ = function (allowSilentOverride, init) { if (allowSilentOverride === void 0) allowSilentOverride = false; return new LazyDI(DI$Companion$lazy$lambda(allowSilentOverride, init)); }; DI$Companion.prototype.direct_ys71a$ = function (allowSilentOverride, init) { if (allowSilentOverride === void 0) allowSilentOverride = false; return get_direct(DIImpl_init_0(allowSilentOverride, init)); }; DI$Companion.prototype.withDelayedCallbacks_ys71a$ = function (allowSilentOverride, init) { if (allowSilentOverride === void 0) allowSilentOverride = false; return DIImpl$Companion_getInstance().withDelayedCallbacks_ys71a$(allowSilentOverride, init); }; function DI$Companion$from$lambda(closure$modules) { return function ($receiver) { var tmp$; tmp$ = closure$modules.iterator(); while (tmp$.hasNext()) { var element = tmp$.next(); $receiver.import_dwjwn5$(element); } return Unit; }; } DI$Companion.prototype.from_gozf9$ = function (modules) { return DI$Companion_getInstance().invoke_ys71a$(void 0, DI$Companion$from$lambda(modules)); }; DI$Companion.$metadata$ = {kind: Kind_OBJECT, simpleName: 'Companion', interfaces: []}; var DI$Companion_instance = null; function DI$Companion_getInstance() { if (DI$Companion_instance === null) { new DI$Companion(); }return DI$Companion_instance; } DI.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'DI', interfaces: [DIAware]}; function DIContext() { DIContext$Companion_getInstance(); } function DIContext$Value(type, value) { this.type_880btc$_0 = type; this.value_snc23r$_0 = value; } Object.defineProperty(DIContext$Value.prototype, 'type', {get: function () { return this.type_880btc$_0; }}); Object.defineProperty(DIContext$Value.prototype, 'value', {get: function () { return this.value_snc23r$_0; }}); DIContext$Value.$metadata$ = {kind: Kind_CLASS, simpleName: 'Value', interfaces: [DIContext]}; DIContext$Value.prototype.component1 = function () { return this.type; }; DIContext$Value.prototype.component2 = function () { return this.value; }; DIContext$Value.prototype.copy_du960g$ = function (type, value) { return new DIContext$Value(type === void 0 ? this.type : type, value === void 0 ? this.value : value); }; DIContext$Value.prototype.toString = function () { return 'Value(type=' + Kotlin.toString(this.type) + (', value=' + Kotlin.toString(this.value)) + ')'; }; DIContext$Value.prototype.hashCode = function () { var result = 0; result = result * 31 + Kotlin.hashCode(this.type) | 0; result = result * 31 + Kotlin.hashCode(this.value) | 0; return result; }; DIContext$Value.prototype.equals = function (other) { return this === other || (other !== null && (typeof other === 'object' && (Object.getPrototypeOf(this) === Object.getPrototypeOf(other) && (Kotlin.equals(this.type, other.type) && Kotlin.equals(this.value, other.value))))); }; function DIContext$Lazy(type, getValue) { this.type_brgjfd$_0 = type; this.getValue = getValue; this.value_a2ifw0$_0 = lazy(this.getValue); } Object.defineProperty(DIContext$Lazy.prototype, 'type', {get: function () { return this.type_brgjfd$_0; }}); Object.defineProperty(DIContext$Lazy.prototype, 'value', {configurable: true, get: function () { return this.value_a2ifw0$_0.value; }}); DIContext$Lazy.$metadata$ = {kind: Kind_CLASS, simpleName: 'Lazy', interfaces: [DIContext]}; function DIContext$Companion() { DIContext$Companion_instance = this; } DIContext$Companion.prototype.invoke_np530x$ = function (type, value) { return new DIContext$Value(type, value); }; DIContext$Companion.prototype.invoke_ided5j$ = function (type, getValue) { return new DIContext$Lazy(type, getValue); }; DIContext$Companion.$metadata$ = {kind: Kind_OBJECT, simpleName: 'Companion', interfaces: []}; var DIContext$Companion_instance = null; function DIContext$Companion_getInstance() { if (DIContext$Companion_instance === null) { new DIContext$Companion(); }return DIContext$Companion_instance; } DIContext.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'DIContext', interfaces: []}; function Contexes() { Contexes_instance = this; this.AnyDIContext = DIContext$Companion_getInstance().invoke_np530x$(TypeToken.Companion.Any, new Any()); } Contexes.$metadata$ = {kind: Kind_OBJECT, simpleName: 'Contexes', interfaces: []}; var Contexes_instance = null; function Contexes_getInstance() { if (Contexes_instance === null) { new Contexes(); }return Contexes_instance; } function get_AnyDIContext() { return Contexes_getInstance().AnyDIContext; } function DIAware() { } Object.defineProperty(DIAware.prototype, 'diContext', {configurable: true, get: function () { return get_AnyDIContext(); }}); Object.defineProperty(DIAware.prototype, 'diTrigger', {configurable: true, get: function () { return null; }}); DIAware.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'DIAware', interfaces: []}; function Instance$lambda(this$Instance, closure$type, closure$tag) { return function (ctx, f) { var tmp$; return this$Instance.di.container.provider_ag9259$(new DI$Key(Kotlin.isType(tmp$ = ctx.type, TypeToken) ? tmp$ : throwCCE(), TypeToken.Companion.Unit, closure$type, closure$tag), ctx.value)(); }; } function Instance($receiver, type, tag) { if (tag === void 0) tag = null; return new DIProperty($receiver.diTrigger, $receiver.diContext, Instance$lambda($receiver, type, tag)); } function InstanceOrNull$lambda(this$InstanceOrNull, closure$type, closure$tag) { return function (ctx, f) { var tmp$; var tmp$_0; return (tmp$ = this$InstanceOrNull.di.container.providerOrNull_ag9259$(new DI$Key(Kotlin.isType(tmp$_0 = ctx.type, TypeToken) ? tmp$_0 : throwCCE(), TypeToken.Companion.Unit, closure$type, closure$tag), ctx.value)) != null ? tmp$() : null; }; } function InstanceOrNull($receiver, type, tag) { if (tag === void 0) tag = null; return new DIProperty($receiver.diTrigger, $receiver.diContext, InstanceOrNull$lambda($receiver, type, tag)); } function get_direct($receiver) { return new DirectDIImpl($receiver.di.container, $receiver.diContext); } function DIWrapper(_base, diContext, diTrigger) { if (diTrigger === void 0) diTrigger = null; this._base_0 = _base; this.diContext_97jwkf$_0 = diContext; this.diTrigger_rkw6dm$_0 = diTrigger; } Object.defineProperty(DIWrapper.prototype, 'diContext', {get: function () { return this.diContext_97jwkf$_0; }}); Object.defineProperty(DIWrapper.prototype, 'diTrigger', {get: function () { return this.diTrigger_rkw6dm$_0; }}); Object.defineProperty(DIWrapper.prototype, 'di', {configurable: true, get: function () { return this; }}); Object.defineProperty(DIWrapper.prototype, 'container', {configurable: true, get: function () { return this._base_0.container; }}); DIWrapper.$metadata$ = {kind: Kind_CLASS, simpleName: 'DIWrapper', interfaces: [DI]}; function DIWrapper_init(base, diContext, trigger, $this) { if (diContext === void 0) diContext = base.diContext; if (trigger === void 0) trigger = base.diTrigger; $this = $this || Object.create(DIWrapper.prototype); DIWrapper.call($this, base.di, diContext, trigger); return $this; } function On($receiver, context, trigger) { if (context === void 0) context = $receiver.diContext; if (trigger === void 0) trigger = $receiver.diTrigger; return DIWrapper_init($receiver, context, trigger); } function toProvider$lambda_0(closure$arg, this$toProvider) { return function () { return this$toProvider(closure$arg()); }; } function DIContainer() { } DIContainer.prototype.factory_dht9zw$ = function (key, context, overrideLevel, callback$default) { if (overrideLevel === void 0) overrideLevel = 0; return callback$default ? callback$default(key, context, overrideLevel) : this.factory_dht9zw$$default(key, context, overrideLevel); }; DIContainer.prototype.factoryOrNull_dht9zw$ = function (key, context, overrideLevel, callback$default) { if (overrideLevel === void 0) overrideLevel = 0; return callback$default ? callback$default(key, context, overrideLevel) : this.factoryOrNull_dht9zw$$default(key, context, overrideLevel); }; DIContainer.prototype.allFactories_dht9zw$ = function (key, context, overrideLevel, callback$default) { if (overrideLevel === void 0) overrideLevel = 0; return callback$default ? callback$default(key, context, overrideLevel) : this.allFactories_dht9zw$$default(key, context, overrideLevel); }; function DIContainer$provider$lambda() { return Unit; } DIContainer.prototype.provider_ag9259$$default = function (key, context, overrideLevel) { return toProvider$lambda_0(DIContainer$provider$lambda, this.factory_dht9zw$(key, context)); }; DIContainer.prototype.provider_ag9259$ = function (key, context, overrideLevel, callback$default) { if (overrideLevel === void 0) overrideLevel = 0; return callback$default ? callback$default(key, context, overrideLevel) : this.provider_ag9259$$default(key, context, overrideLevel); }; function DIContainer$providerOrNull$lambda() { return Unit; } DIContainer.prototype.providerOrNull_ag9259$$default = function (key, context, overrideLevel) { var tmp$; return (tmp$ = this.factoryOrNull_dht9zw$(key, context)) != null ? toProvider$lambda_0(DIContainer$providerOrNull$lambda, tmp$) : null; }; DIContainer.prototype.providerOrNull_ag9259$ = function (key, context, overrideLevel, callback$default) { if (overrideLevel === void 0) overrideLevel = 0; return callback$default ? callback$default(key, context, overrideLevel) : this.providerOrNull_ag9259$$default(key, context, overrideLevel); }; function DIContainer$allProviders$lambda$lambda() { return Unit; } DIContainer.prototype.allProviders_ag9259$$default = function (key, context, overrideLevel) { var $receiver = this.allFactories_dht9zw$(key, context); var destination = ArrayList_init_0(collectionSizeOrDefault($receiver, 10)); var tmp$; tmp$ = $receiver.iterator(); while (tmp$.hasNext()) { var item = tmp$.next(); destination.add_11rb$(toProvider$lambda_0(DIContainer$allProviders$lambda$lambda, item)); } return destination; }; DIContainer.prototype.allProviders_ag9259$ = function (key, context, overrideLevel, callback$default) { if (overrideLevel === void 0) overrideLevel = 0; return callback$default ? callback$default(key, context, overrideLevel) : this.allProviders_ag9259$$default(key, context, overrideLevel); }; function DIContainer$Builder() { } DIContainer$Builder.prototype.bind_qpmgza$ = function (key, binding, fromModule, overrides, callback$default) { if (fromModule === void 0) fromModule = null; if (overrides === void 0) overrides = null; callback$default ? callback$default(key, binding, fromModule, overrides) : this.bind_qpmgza$$default(key, binding, fromModule, overrides); }; DIContainer$Builder.prototype.extend_5tbdl8$ = function (container, allowOverride, copy, callback$default) { if (allowOverride === void 0) allowOverride = false; if (copy === void 0) copy = emptySet(); callback$default ? callback$default(container, allowOverride, copy) : this.extend_5tbdl8$$default(container, allowOverride, copy); }; DIContainer$Builder.prototype.subBuilder_dqye30$ = function (allowOverride, silentOverride, callback$default) { if (allowOverride === void 0) allowOverride = false; if (silentOverride === void 0) silentOverride = false; return callback$default ? callback$default(allowOverride, silentOverride) : this.subBuilder_dqye30$$default(allowOverride, silentOverride); }; DIContainer$Builder.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'Builder', interfaces: []}; DIContainer.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'DIContainer', interfaces: []}; function DITree() { } DITree.prototype.find_9mbcap$ = function (key, overrideLevel, all, callback$default) { if (overrideLevel === void 0) overrideLevel = 0; if (all === void 0) all = false; return callback$default ? callback$default(key, overrideLevel, all) : this.find_9mbcap$$default(key, overrideLevel, all); }; DITree.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'DITree', interfaces: []}; function DirectDIAware() { } DirectDIAware.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'DirectDIAware', interfaces: []}; function DirectDIBase() { } Object.defineProperty(DirectDIBase.prototype, 'di', {configurable: true, get: function () { return this.lazy; }}); DirectDIBase.prototype.Factory_61z0e$ = function (argType, type, tag, callback$default) { if (tag === void 0) tag = null; return callback$default ? callback$default(argType, type, tag) : this.Factory_61z0e$$default(argType, type, tag); }; DirectDIBase.prototype.FactoryOrNull_61z0e$ = function (argType, type, tag, callback$default) { if (tag === void 0) tag = null; return callback$default ? callback$default(argType, type, tag) : this.FactoryOrNull_61z0e$$default(argType, type, tag); }; DirectDIBase.prototype.Provider_ohrpre$ = function (type, tag, callback$default) { if (tag === void 0) tag = null; return callback$default ? callback$default(type, tag) : this.Provider_ohrpre$$default(type, tag); }; DirectDIBase.prototype.Provider_aqo1vk$ = function (argType, type, tag, arg, callback$default) { if (tag === void 0) tag = null; return callback$default ? callback$default(argType, type, tag, arg) : this.Provider_aqo1vk$$default(argType, type, tag, arg); }; DirectDIBase.prototype.ProviderOrNull_ohrpre$ = function (type, tag, callback$default) { if (tag === void 0) tag = null; return callback$default ? callback$default(type, tag) : this.ProviderOrNull_ohrpre$$default(type, tag); }; DirectDIBase.prototype.ProviderOrNull_aqo1vk$ = function (argType, type, tag, arg, callback$default) { if (tag === void 0) tag = null; return callback$default ? callback$default(argType, type, tag, arg) : this.ProviderOrNull_aqo1vk$$default(argType, type, tag, arg); }; DirectDIBase.prototype.Instance_ohrpre$ = function (type, tag, callback$default) { if (tag === void 0) tag = null; return callback$default ? callback$default(type, tag) : this.Instance_ohrpre$$default(type, tag); }; DirectDIBase.prototype.Instance_331fb8$ = function (argType, type, tag, arg, callback$default) { if (tag === void 0) tag = null; return callback$default ? callback$default(argType, type, tag, arg) : this.Instance_331fb8$$default(argType, type, tag, arg); }; DirectDIBase.prototype.InstanceOrNull_ohrpre$ = function (type, tag, callback$default) { if (tag === void 0) tag = null; return callback$default ? callback$default(type, tag) : this.InstanceOrNull_ohrpre$$default(type, tag); }; DirectDIBase.prototype.InstanceOrNull_331fb8$ = function (argType, type, tag, arg, callback$default) { if (tag === void 0) tag = null; return callback$default ? callback$default(argType, type, tag, arg) : this.InstanceOrNull_331fb8$$default(argType, type, tag, arg); }; DirectDIBase.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'DirectDIBase', interfaces: [DirectDIAware]}; function SearchSpecs(contextType, argType, type, tag) { if (contextType === void 0) contextType = null; if (argType === void 0) argType = null; if (type === void 0) type = null; if (tag === void 0) tag = SearchSpecs$NoDefinedTag_getInstance(); this.contextType = contextType; this.argType = argType; this.type = type; this.tag = tag; } function SearchSpecs$NoDefinedTag() { SearchSpecs$NoDefinedTag_instance = this; } SearchSpecs$NoDefinedTag.$metadata$ = {kind: Kind_OBJECT, simpleName: 'NoDefinedTag', interfaces: []}; var SearchSpecs$NoDefinedTag_instance = null; function SearchSpecs$NoDefinedTag_getInstance() { if (SearchSpecs$NoDefinedTag_instance === null) { new SearchSpecs$NoDefinedTag(); }return SearchSpecs$NoDefinedTag_instance; } SearchSpecs.prototype.toString = function () { var args = ArrayList_init(); if (this.contextType != null) { var tmp$; var element = 'contextType=' + toString((tmp$ = this.contextType) != null ? tmp$.simpleDispString() : null); args.add_11rb$(element); }if (this.argType != null) { var tmp$_0; var element_0 = 'argType=' + toString((tmp$_0 = this.argType) != null ? tmp$_0.simpleDispString() : null); args.add_11rb$(element_0); }if (this.type != null) { var tmp$_1; var element_1 = 'type=' + toString((tmp$_1 = this.type) != null ? tmp$_1.simpleDispString() : null); args.add_11rb$(element_1); }if (!equals(this.tag, SearchSpecs$NoDefinedTag_getInstance())) { var element_2 = 'tag=' + toString(this.tag); args.add_11rb$(element_2); }return '[' + joinToString(args, ', ') + ']'; }; SearchSpecs.$metadata$ = {kind: Kind_CLASS, simpleName: 'SearchSpecs', interfaces: []}; function SearchDSL() { } function SearchDSL$Spec() { SearchDSL$Spec$Companion_getInstance(); } function SearchDSL$Spec$Companion() { SearchDSL$Spec$Companion_instance = this; } function SearchDSL$Spec$Companion$invoke$ObjectLiteral(closure$f) { this.closure$f = closure$f; } SearchDSL$Spec$Companion$invoke$ObjectLiteral.prototype.apply_f45sx$ = function (specs) { this.closure$f(specs); }; SearchDSL$Spec$Companion$invoke$ObjectLiteral.$metadata$ = {kind: Kind_CLASS, interfaces: [SearchDSL$Spec]}; SearchDSL$Spec$Companion.prototype.invoke_vlu7bh$ = function (f) { return new SearchDSL$Spec$Companion$invoke$ObjectLiteral(f); }; SearchDSL$Spec$Companion.$metadata$ = {kind: Kind_OBJECT, simpleName: 'Companion', interfaces: []}; var SearchDSL$Spec$Companion_instance = null; function SearchDSL$Spec$Companion_getInstance() { if (SearchDSL$Spec$Companion_instance === null) { new SearchDSL$Spec$Companion(); }return SearchDSL$Spec$Companion_instance; } SearchDSL$Spec.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'Spec', interfaces: []}; function SearchDSL$Binding(type, tag) { if (tag === void 0) tag = null; this.type = type; this.tag = tag; } SearchDSL$Binding.prototype.apply_f45sx$ = function (specs) { specs.type = this.type; if (this.tag != null) specs.tag = this.tag; }; SearchDSL$Binding.$metadata$ = {kind: Kind_CLASS, simpleName: 'Binding', interfaces: [SearchDSL$Spec]}; SearchDSL.prototype.with_hqw29d$ = function ($receiver, spec) { spec.apply_f45sx$($receiver); return $receiver; }; SearchDSL.prototype.and_hqw29d$ = function ($receiver, spec) { spec.apply_f45sx$($receiver); return $receiver; }; function SearchDSL$Context$lambda(closure$contextType) { return function ($receiver) { $receiver.contextType = closure$contextType; return Unit; }; } SearchDSL.prototype.Context_q3o5v9$ = function (contextType) { return SearchDSL$Spec$Companion_getInstance().invoke_vlu7bh$(SearchDSL$Context$lambda(contextType)); }; function SearchDSL$Argument$lambda(closure$argumentType) { return function ($receiver) { $receiver.argType = closure$argumentType; return Unit; }; } SearchDSL.prototype.Argument_q3o5v9$ = function (argumentType) { return SearchDSL$Spec$Companion_getInstance().invoke_vlu7bh$(SearchDSL$Argument$lambda(argumentType)); }; function SearchDSL$tag$lambda(closure$tag) { return function ($receiver) { $receiver.tag = closure$tag; return Unit; }; } SearchDSL.prototype.tag_s8jyv4$ = function (tag) { return SearchDSL$Spec$Companion_getInstance().invoke_vlu7bh$(SearchDSL$tag$lambda(tag)); }; SearchDSL.$metadata$ = {kind: Kind_CLASS, simpleName: 'SearchDSL', interfaces: []}; var Typed$Companion_instance = null; function toProvider$lambda_2(closure$arg, this$toProvider) { return function () { return this$toProvider(closure$arg()); }; } function WithContext() { } WithContext.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'WithContext', interfaces: []}; function BindingDI() { } BindingDI.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'BindingDI', interfaces: [WithContext, DirectDI]}; function ErasedContext() { ErasedContext_instance = this; } Object.defineProperty(ErasedContext.prototype, 'type', {configurable: true, get: function () { return TypeToken.Companion.Any; }}); Object.defineProperty(ErasedContext.prototype, 'value', {configurable: true, get: function () { return ErasedContext_getInstance(); }}); ErasedContext.$metadata$ = {kind: Kind_OBJECT, simpleName: 'ErasedContext', interfaces: [DIContext]}; var ErasedContext_instance = null; function ErasedContext_getInstance() { if (ErasedContext_instance === null) { new ErasedContext(); }return ErasedContext_instance; } function NoArgBindingDI() { } NoArgBindingDI.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'NoArgBindingDI', interfaces: [WithContext, DirectDI]}; function NoArgBindingDIWrap(_di) { this._di_0 = _di; } function NoArgBindingDIWrap$overriddenProvider$lambda() { return Unit; } NoArgBindingDIWrap.prototype.overriddenProvider = function () { return toProvider$lambda_2(NoArgBindingDIWrap$overriddenProvider$lambda, this._di_0.overriddenFactory()); }; function NoArgBindingDIWrap$overriddenProviderOrNull$lambda() { return Unit; } NoArgBindingDIWrap.prototype.overriddenProviderOrNull = function () { var tmp$; return (tmp$ = this._di_0.overriddenFactoryOrNull()) != null ? toProvider$lambda_2(NoArgBindingDIWrap$overriddenProviderOrNull$lambda, tmp$) : null; }; NoArgBindingDIWrap.prototype.overriddenInstance = function () { return this.overriddenProvider()(); }; NoArgBindingDIWrap.prototype.overriddenInstanceOrNull = function () { var tmp$; return (tmp$ = this.overriddenProviderOrNull()) != null ? tmp$() : null; }; Object.defineProperty(NoArgBindingDIWrap.prototype, 'container', {configurable: true, get: function () { return this._di_0.container; }}); Object.defineProperty(NoArgBindingDIWrap.prototype, 'di', {configurable: true, get: function () { return this._di_0.di; }}); Object.defineProperty(NoArgBindingDIWrap.prototype, 'directDI', {configurable: true, get: function () { return this._di_0.directDI; }}); Object.defineProperty(NoArgBindingDIWrap.prototype, 'lazy', {configurable: true, get: function () { return this._di_0.lazy; }}); NoArgBindingDIWrap.prototype.Factory_61z0e$$default = function (argType, type, tag) { return this._di_0.Factory_61z0e$$default(argType, type, tag); }; NoArgBindingDIWrap.prototype.FactoryOrNull_61z0e$$default = function (argType, type, tag) { return this._di_0.FactoryOrNull_61z0e$$default(argType, type, tag); }; NoArgBindingDIWrap.prototype.Instance_ohrpre$$default = function (type, tag) { return this._di_0.Instance_ohrpre$$default(type, tag); }; NoArgBindingDIWrap.prototype.Instance_331fb8$$default = function (argType, type, tag, arg) { return this._di_0.Instance_331fb8$$default(argType, type, tag, arg); }; NoArgBindingDIWrap.prototype.InstanceOrNull_ohrpre$$default = function (type, tag) { return this._di_0.InstanceOrNull_ohrpre$$default(type, tag); }; NoArgBindingDIWrap.prototype.InstanceOrNull_331fb8$$default = function (argType, type, tag, arg) { return this._di_0.InstanceOrNull_331fb8$$default(argType, type, tag, arg); }; NoArgBindingDIWrap.prototype.On_agur4l$ = function (context) { return this._di_0.On_agur4l$(context); }; NoArgBindingDIWrap.prototype.Provider_ohrpre$$default = function (type, tag) { return this._di_0.Provider_ohrpre$$default(type, tag); }; NoArgBindingDIWrap.prototype.Provider_aqo1vk$$default = function (argType, type, tag, arg) { return this._di_0.Provider_aqo1vk$$default(argType, type, tag, arg); }; NoArgBindingDIWrap.prototype.ProviderOrNull_ohrpre$$default = function (type, tag) { return this._di_0.ProviderOrNull_ohrpre$$default(type, tag); }; NoArgBindingDIWrap.prototype.ProviderOrNull_aqo1vk$$default = function (argType, type, tag, arg) { return this._di_0.ProviderOrNull_aqo1vk$$default(argType, type, tag, arg); }; Object.defineProperty(NoArgBindingDIWrap.prototype, 'context', {configurable: true, get: function () { return this._di_0.context; }}); NoArgBindingDIWrap.$metadata$ = {kind: Kind_CLASS, simpleName: 'NoArgBindingDIWrap', interfaces: [NoArgBindingDI, WithContext, DirectDI]}; function Binding() { } Binding.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'Binding', interfaces: []}; function DIBinding() { } DIBinding.prototype.factoryFullName = function () { return this.factoryName(); }; Object.defineProperty(DIBinding.prototype, 'scope', {configurable: true, get: function () { return null; }}); Object.defineProperty(DIBinding.prototype, 'description', {configurable: true, get: function () { var tmp$; var arg = !equals(this.argType, TypeToken.Companion.Unit) ? this.argType.simpleDispString() + ' -> ' : ''; var scope = Kotlin.isType(this.scope, NoScope) ? null : this.scope; var context = (tmp$ = scope != null ? 'scoped(' + erasedOf(scope).simpleDispString() + ').' : null) != null ? tmp$ : !equals(this.contextType, TypeToken.Companion.Any) ? 'contexted<' + this.contextType.simpleDispString() + '>().' : ''; return context + this.factoryName() + ' { ' + arg + this.createdType.simpleDispString() + ' }'; }}); Object.defineProperty(DIBinding.prototype, 'fullDescription', {configurable: true, get: function () { var tmp$; var arg = !equals(this.argType, TypeToken.Companion.Unit) ? this.argType.qualifiedDispString() + ' -> ' : ''; var scope = Kotlin.isType(this.scope, NoScope) ? null : this.scope; var context = (tmp$ = scope != null ? 'scoped(' + erasedOf(scope).qualifiedDispString() + ').' : null) != null ? tmp$ : !equals(this.contextType, TypeToken.Companion.Any) ? 'contexted<' + this.contextType.qualifiedDispString() + '>().' : ''; return context + this.factoryFullName() + ' { ' + arg + this.createdType.qualifiedDispString() + ' }'; }}); function DIBinding$Copier() { DIBinding$Copier$Companion_getInstance(); } function DIBinding$Copier$Companion() { DIBinding$Copier$Companion_instance = this; } function DIBinding$Copier$Companion$invoke$ObjectLiteral(closure$f) { this.closure$f = closure$f; } DIBinding$Copier$Companion$invoke$ObjectLiteral.prototype.copy_kp8gfu$ = function (builder) { return this.closure$f(builder); }; DIBinding$Copier$Companion$invoke$ObjectLiteral.$metadata$ = {kind: Kind_CLASS, interfaces: [DIBinding$Copier]}; DIBinding$Copier$Companion.prototype.invoke_dxwymx$ = function (f) { return new DIBinding$Copier$Companion$invoke$ObjectLiteral(f); }; DIBinding$Copier$Companion.$metadata$ = {kind: Kind_OBJECT, simpleName: 'Companion', interfaces: []}; var DIBinding$Copier$Companion_instance = null; function DIBinding$Copier$Companion_getInstance() { if (DIBinding$Copier$Companion_instance === null) { new DIBinding$Copier$Companion(); }return DIBinding$Copier$Companion_instance; } DIBinding$Copier.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'Copier', interfaces: []}; Object.defineProperty(DIBinding.prototype, 'copier', {configurable: true, get: function () { return null; }}); Object.defineProperty(DIBinding.prototype, 'supportSubTypes', {configurable: true, get: function () { return false; }}); DIBinding.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'DIBinding', interfaces: [Binding]}; function NoArgDIBinding() { } Object.defineProperty(NoArgDIBinding.prototype, 'argType', {configurable: true, get: function () { return TypeToken.Companion.Unit; }}); NoArgDIBinding.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'NoArgDIBinding', interfaces: [DIBinding]}; var ExternalSource$Companion_instance = null; function Reference(current, next) { this.current = current; this.next = next; } Reference.$metadata$ = {kind: Kind_CLASS, simpleName: 'Reference', interfaces: []}; Reference.prototype.component1 = function () { return this.current; }; Reference.prototype.component2 = function () { return this.next; }; Reference.prototype.copy_wamhsy$ = function (current, next) { return new Reference(current === void 0 ? this.current : current, next === void 0 ? this.next : next); }; Reference.prototype.toString = function () { return 'Reference(current=' + Kotlin.toString(this.current) + (', next=' + Kotlin.toString(this.next)) + ')'; }; Reference.prototype.hashCode = function () { var result = 0; result = result * 31 + Kotlin.hashCode(this.current) | 0; result = result * 31 + Kotlin.hashCode(this.next) | 0; return result; }; Reference.prototype.equals = function (other) { return this === other || (other !== null && (typeof other === 'object' && (Object.getPrototypeOf(this) === Object.getPrototypeOf(other) && (Kotlin.equals(this.current, other.current) && Kotlin.equals(this.next, other.next))))); }; function RefMaker() { } RefMaker.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'RefMaker', interfaces: []}; function SingletonReference() { SingletonReference_instance = this; } function SingletonReference$make$lambda(closure$value) { return function () { return closure$value; }; } SingletonReference.prototype.make_9ce4rd$ = function (creator) { var value = creator(); return new Reference(value, SingletonReference$make$lambda(value)); }; SingletonReference.$metadata$ = {kind: Kind_OBJECT, simpleName: 'SingletonReference', interfaces: [RefMaker]}; var SingletonReference_instance = null; function SingletonReference_getInstance() { if (SingletonReference_instance === null) { new SingletonReference(); }return SingletonReference_instance; } function ScopeCloseable() { } ScopeCloseable.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'ScopeCloseable', interfaces: []}; function ScopeRegistry() { } ScopeRegistry.prototype.getOrCreate_l6dfx6$ = function (key, sync, creator, callback$default) { if (sync === void 0) sync = true; return callback$default ? callback$default(key, sync, creator) : this.getOrCreate_l6dfx6$$default(key, sync, creator); }; ScopeRegistry.prototype.close = function () { this.clear(); }; ScopeRegistry.$metadata$ = {kind: Kind_CLASS, simpleName: 'ScopeRegistry', interfaces: [ScopeCloseable]}; function StandardScopeRegistry() { ScopeRegistry.call(this); this._cache_0 = newConcurrentMap(); this._lock_0 = new Any(); } StandardScopeRegistry.prototype.getOrCreate_l6dfx6$$default = function (key, sync, creator) { var synchronizedIfNull$result; synchronizedIfNull$break: do { var tmp$; var tmp$_0; if ((tmp$ = (tmp$_0 = this._cache_0.get_11rb$(key)) != null ? tmp$_0() : null) != null) { synchronizedIfNull$result = tmp$; break synchronizedIfNull$break; }var block$result; block$break: do { var tmp$_1; var tmp$_2; if ((tmp$_1 = (tmp$_2 = this._cache_0.get_11rb$(key)) != null ? tmp$_2() : null) != null) { block$result = tmp$_1; break block$break; }var tmp$_3 = creator(); var current = tmp$_3.component1(), next = tmp$_3.component2(); this._cache_0.put_xwzc9p$(key, next); synchronizedIfNull$result = current; break synchronizedIfNull$break; } while (false); var value = block$result; synchronizedIfNull$result = value; } while (false); return synchronizedIfNull$result; }; StandardScopeRegistry.prototype.getOrNull_za3rmp$ = function (key) { return this._cache_0.get_11rb$(key); }; StandardScopeRegistry.prototype.values = function () { var $receiver = this._cache_0; var destination = ArrayList_init_0($receiver.size); var tmp$; tmp$ = $receiver.entries.iterator(); while (tmp$.hasNext()) { var item = tmp$.next(); destination.add_11rb$(new Pair_init(item.key, item.value)); } return destination; }; StandardScopeRegistry.prototype.remove_za3rmp$ = function (key) { var tmp$, tmp$_0, tmp$_1; (tmp$_1 = Kotlin.isType(tmp$_0 = (tmp$ = this._cache_0.remove_11rb$(key)) != null ? tmp$() : null, ScopeCloseable) ? tmp$_0 : null) != null ? (tmp$_1.close(), Unit) : null; }; StandardScopeRegistry.prototype.clear = function () { var refs = toList(this._cache_0.values); this._cache_0.clear(); var refs_0 = refs; var tmp$; tmp$ = refs_0.iterator(); while (tmp$.hasNext()) { var element = tmp$.next(); var tmp$_0, tmp$_1; (tmp$_1 = Kotlin.isType(tmp$_0 = element(), ScopeCloseable) ? tmp$_0 : null) != null ? (tmp$_1.close(), Unit) : null; } }; Object.defineProperty(StandardScopeRegistry.prototype, 'size', {configurable: true, get: function () { return this._cache_0.size; }}); StandardScopeRegistry.prototype.isEmpty = function () { return this._cache_0.isEmpty(); }; StandardScopeRegistry.$metadata$ = {kind: Kind_CLASS, simpleName: 'StandardScopeRegistry', interfaces: [ScopeRegistry]}; function ContextTranslator() { } ContextTranslator.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'ContextTranslator', interfaces: []}; function SimpleContextTranslator(contextType, scopeType, t) { this.contextType_7ycxqf$_0 = contextType; this.scopeType_w1u01g$_0 = scopeType; this.t_0 = t; } Object.defineProperty(SimpleContextTranslator.prototype, 'contextType', {get: function () { return this.contextType_7ycxqf$_0; }}); Object.defineProperty(SimpleContextTranslator.prototype, 'scopeType', {get: function () { return this.scopeType_w1u01g$_0; }}); SimpleContextTranslator.prototype.translate_hxpgzk$ = function (di, ctx) { return this.t_0(di, ctx); }; SimpleContextTranslator.prototype.toString = function () { return '()'; }; SimpleContextTranslator.$metadata$ = {kind: Kind_CLASS, simpleName: 'SimpleContextTranslator', interfaces: [ContextTranslator]}; function toKContext($receiver, di, ctx) { var tmp$; return (tmp$ = $receiver.translate_hxpgzk$(di, ctx)) != null ? DIContext$Companion_getInstance().invoke_np530x$($receiver.scopeType, tmp$) : null; } function CompositeContextTranslator(src, dst) { this.src = src; this.dst = dst; } Object.defineProperty(CompositeContextTranslator.prototype, 'contextType', {configurable: true, get: function () { return this.src.contextType; }}); Object.defineProperty(CompositeContextTranslator.prototype, 'scopeType', {configurable: true, get: function () { return this.dst.scopeType; }}); CompositeContextTranslator.prototype.translate_hxpgzk$ = function (di, ctx) { var tmp$; return (tmp$ = this.src.translate_hxpgzk$(di, ctx)) != null ? this.dst.translate_hxpgzk$(di, tmp$) : null; }; CompositeContextTranslator.prototype.toString = function () { return '(' + this.src + ' -> ' + this.dst + ')'; }; CompositeContextTranslator.$metadata$ = {kind: Kind_CLASS, simpleName: 'CompositeContextTranslator', interfaces: [ContextTranslator]}; function Scope() { } Scope.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'Scope', interfaces: []}; function NoScope() { this._registry_0 = new StandardScopeRegistry(); } NoScope.prototype.getRegistry_11rb$ = function (context) { return this._registry_0; }; NoScope.$metadata$ = {kind: Kind_CLASS, simpleName: 'NoScope', interfaces: [Scope]}; function BaseMultiBinding() { } BaseMultiBinding.prototype.factoryName = function () { return 'bindingSet'; }; BaseMultiBinding.$metadata$ = {kind: Kind_CLASS, simpleName: 'BaseMultiBinding', interfaces: [DIBinding]}; function SetBindingDI(_base) { this._base_0 = _base; } function SetBinding(contextType, _elementType, createdType) { BaseMultiBinding.call(this); this.contextType_oye6mj$_0 = contextType; this._elementType_0 = _elementType; this.createdType_vf379q$_0 = createdType; this.set_84his2$_0 = LinkedHashSet_init(); this.copier_lj1aum$_0 = DIBinding$Copier$Companion_getInstance().invoke_dxwymx$(SetBinding$copier$lambda(this)); } function Factory_0(contextType, argType, createdType, creator) { this.contextType_alikkm$_0 = contextType; this.argType_1bz55r$_0 = argType; this.createdType_p958nh$_0 = createdType; this.creator_0 = creator; } function ScopeKey(scopeId, arg) { this.scopeId = scopeId; this.arg = arg; } ScopeKey.$metadata$ = {kind: Kind_CLASS, simpleName: 'ScopeKey', interfaces: []}; ScopeKey.prototype.component1 = function () { return this.scopeId; }; ScopeKey.prototype.component2 = function () { return this.arg; }; ScopeKey.prototype.copy_87tcpy$ = function (scopeId, arg) { return new ScopeKey(scopeId === void 0 ? this.scopeId : scopeId, arg === void 0 ? this.arg : arg); }; ScopeKey.prototype.toString = function () { return 'ScopeKey(scopeId=' + Kotlin.toString(this.scopeId) + (', arg=' + Kotlin.toString(this.arg)) + ')'; }; ScopeKey.prototype.hashCode = function () { var result = 0; result = result * 31 + Kotlin.hashCode(this.scopeId) | 0; result = result * 31 + Kotlin.hashCode(this.arg) | 0; return result; }; ScopeKey.prototype.equals = function (other) { return this === other || (other !== null && (typeof other === 'object' && (Object.getPrototypeOf(this) === Object.getPrototypeOf(other) && (Kotlin.equals(this.scopeId, other.scopeId) && Kotlin.equals(this.arg, other.arg))))); }; function Multiton(scope, contextType, explicitContext, argType, createdType, refMaker, sync, creator) { if (refMaker === void 0) refMaker = null; if (sync === void 0) sync = true; this.scope_bsg5s9$_0 = scope; this.contextType_hs4ak4$_0 = contextType; this.explicitContext_0 = explicitContext; this.argType_hsadnx$_0 = argType; this.createdType_wfqymz$_0 = createdType; this.sync = sync; this.creator_0 = creator; this._refMaker_0 = refMaker != null ? refMaker : SingletonReference_getInstance(); this._scopeId_0 = new Any(); this.copier_5poue3$_0 = DIBinding$Copier$Companion_getInstance().invoke_dxwymx$(Multiton$copier$lambda(this)); } function Provider_1(contextType, createdType, creator) { this.contextType_vxra1v$_0 = contextType; this.createdType_ha4lz0$_0 = createdType; this.creator = creator; } Object.defineProperty(Provider_1.prototype, 'contextType', {get: function () { return this.contextType_vxra1v$_0; }}); Object.defineProperty(Provider_1.prototype, 'createdType', {get: function () { return this.createdType_ha4lz0$_0; }}); Provider_1.prototype.factoryName = function () { return 'provider'; }; function Provider$getFactory$lambda(closure$di, this$Provider) { return function (f) { return this$Provider.creator(new NoArgBindingDIWrap(closure$di)); }; } Provider_1.prototype.getFactory_igiair$ = function (key, di) { return Provider$getFactory$lambda(di, this); }; Provider_1.$metadata$ = {kind: Kind_CLASS, simpleName: 'Provider', interfaces: [NoArgDIBinding]}; function Singleton(scope, contextType, explicitContext, createdType, refMaker, sync, creator) { if (refMaker === void 0) refMaker = null; if (sync === void 0) sync = true; this.scope_ssd95m$_0 = scope; this.contextType_rdxkor$_0 = contextType; this.explicitContext_0 = explicitContext; this.createdType_cqawlw$_0 = createdType; this.sync = sync; this.creator = creator; this._refMaker_0 = refMaker != null ? refMaker : SingletonReference_getInstance(); this._scopeKey_0 = new ScopeKey(new Any(), Unit); this.copier_o00oac$_0 = DIBinding$Copier$Companion_getInstance().invoke_dxwymx$(Singleton$copier$lambda(this)); } Object.defineProperty(Singleton.prototype, 'scope', {get: function () { return this.scope_ssd95m$_0; }}); Object.defineProperty(Singleton.prototype, 'contextType', {get: function () { return this.contextType_rdxkor$_0; }}); Object.defineProperty(Singleton.prototype, 'createdType', {get: function () { return this.createdType_cqawlw$_0; }}); Singleton.prototype.factoryName_0 = function (params) { var $receiver = StringBuilder_init(); $receiver.append_pdl1vj$('singleton'); if (!params.isEmpty()) $receiver.append_pdl1vj$(joinToString(params, ', ', '(', ')')); return $receiver.toString(); }; Singleton.prototype.factoryName = function () { var params = ArrayList_init_0(2); if (!equals(this._refMaker_0, SingletonReference_getInstance())) params.add_11rb$('ref = ' + erasedOf(this._refMaker_0).simpleDispString()); return this.factoryName_0(params); }; Singleton.prototype.factoryFullName = function () { var params = ArrayList_init_0(2); if (!equals(this._refMaker_0, SingletonReference_getInstance())) params.add_11rb$('ref = ' + erasedOf(this._refMaker_0).qualifiedDispString()); return this.factoryName_0(params); }; function Singleton$getFactory$lambda$lambda$lambda(closure$bindingDi, this$Singleton) { return function () { return this$Singleton.creator(new NoArgBindingDIWrap(closure$bindingDi)); }; } function Singleton$getFactory$lambda$lambda(this$Singleton, closure$bindingDi) { return function () { return this$Singleton._refMaker_0.make_9ce4rd$(Singleton$getFactory$lambda$lambda$lambda(closure$bindingDi, this$Singleton)); }; } function Singleton$getFactory$lambda(closure$lateInitRegistry, this$Singleton, closure$bindingDi) { return function (f) { var tmp$, tmp$_0; var tmp$_1; if ((tmp$ = closure$lateInitRegistry.v) != null) tmp$_1 = tmp$; else { var $receiver = this$Singleton.scope.getRegistry_11rb$(closure$bindingDi.context); closure$lateInitRegistry.v = $receiver; tmp$_1 = $receiver; } var registry = tmp$_1; return Kotlin.isType(tmp$_0 = registry.getOrCreate_l6dfx6$(this$Singleton._scopeKey_0, this$Singleton.sync, Singleton$getFactory$lambda$lambda(this$Singleton, closure$bindingDi)), Any) ? tmp$_0 : throwCCE(); }; } Singleton.prototype.getFactory_igiair$ = function (key, di) { var lateInitRegistry = {v: null}; var bindingDi = this.explicitContext_0 ? di : di.onErasedContext(); return Singleton$getFactory$lambda(lateInitRegistry, this, bindingDi); }; Object.defineProperty(Singleton.prototype, 'copier', {configurable: true, get: function () { return this.copier_o00oac$_0; }}); function Singleton$copier$lambda(this$Singleton) { return function (it) { return new Singleton(this$Singleton.scope, this$Singleton.contextType, this$Singleton.explicitContext_0, this$Singleton.createdType, this$Singleton._refMaker_0, this$Singleton.sync, this$Singleton.creator); }; } Singleton.$metadata$ = {kind: Kind_CLASS, simpleName: 'Singleton', interfaces: [NoArgDIBinding]}; function EagerSingleton(builder, createdType, creator) { this.createdType_qwu2v6$_0 = createdType; this.creator = creator; this.contextType_c97esb$_0 = TypeToken.Companion.Any; this._instance_0 = null; this._lock_0 = new Any(); var key = new DI$Key(TypeToken.Companion.Any, TypeToken.Companion.Unit, this.createdType, null); builder.onReady_qoc8km$(EagerSingleton_init$lambda(key, this)); this.copier_bupcim$_0 = DIBinding$Copier$Companion_getInstance().invoke_dxwymx$(EagerSingleton$copier$lambda(this)); } function InstanceBinding(createdType, instance) { this.createdType_nqy6ah$_0 = createdType; this.instance = instance; this.contextType_wmj7ls$_0 = TypeToken.Companion.Any; } Object.defineProperty(InstanceBinding.prototype, 'createdType', {get: function () { return this.createdType_nqy6ah$_0; }}); InstanceBinding.prototype.factoryName = function () { return 'instance'; }; Object.defineProperty(InstanceBinding.prototype, 'contextType', {configurable: true, get: function () { return this.contextType_wmj7ls$_0; }}); function InstanceBinding$getFactory$lambda(this$InstanceBinding) { return function (f) { return this$InstanceBinding.instance; }; } InstanceBinding.prototype.getFactory_igiair$ = function (key, di) { return InstanceBinding$getFactory$lambda(this); }; Object.defineProperty(InstanceBinding.prototype, 'description', {configurable: true, get: function () { return this.factoryName() + ' ( ' + this.createdType.simpleDispString() + ' )'; }}); Object.defineProperty(InstanceBinding.prototype, 'fullDescription', {configurable: true, get: function () { return this.factoryFullName() + ' ( ' + this.createdType.qualifiedDispString() + ' )'; }}); InstanceBinding.$metadata$ = {kind: Kind_CLASS, simpleName: 'InstanceBinding', interfaces: [NoArgDIBinding]}; function DIBuilderImpl(moduleName, prefix, importedModules, containerBuilder) { this.moduleName_0 = moduleName; this.prefix_0 = prefix; this.importedModules_8be2vx$ = importedModules; this.containerBuilder_6qo8ee$_0 = containerBuilder; this.contextType_gw7d91$_0 = TypeToken.Companion.Any; } Object.defineProperty(DIBuilderImpl.prototype, 'containerBuilder', {get: function () { return this.containerBuilder_6qo8ee$_0; }}); Object.defineProperty(DIBuilderImpl.prototype, 'contextType', {configurable: true, get: function () { return this.contextType_gw7d91$_0; }}); Object.defineProperty(DIBuilderImpl.prototype, 'scope', {configurable: true, get: function () { return new NoScope(); }}); Object.defineProperty(DIBuilderImpl.prototype, 'explicitContext', {configurable: true, get: function () { return false; }}); function DIBuilderImpl$TypeBinder($outer, type, tag, overrides) { this.$outer = $outer; this.type = type; this.tag = tag; this.overrides = overrides; } Object.defineProperty(DIBuilderImpl$TypeBinder.prototype, 'containerBuilder_8be2vx$', {configurable: true, get: function () { return this.$outer.containerBuilder; }}); DIBuilderImpl$TypeBinder.prototype.with_4xqrlc$ = function (binding) { this.containerBuilder_8be2vx$.bind_qpmgza$(new DI$Key(binding.contextType, binding.argType, this.type, this.tag), binding, this.$outer.moduleName_0, this.overrides); }; DIBuilderImpl$TypeBinder.$metadata$ = {kind: Kind_CLASS, simpleName: 'TypeBinder', interfaces: [DI$Builder$TypeBinder]}; function DIBuilderImpl$DirectBinder($outer, _tag, _overrides) { this.$outer = $outer; this._tag_0 = _tag; this._overrides_0 = _overrides; } DIBuilderImpl$DirectBinder.prototype.from_4vzo0$ = function (binding) { if (equals(binding.createdType, TypeToken.Companion.Unit)) { throw IllegalArgumentException_init('Using `bind() from` with a *Unit* ' + binding.factoryName() + ' is most likely an error. If you are sure you want to bind the Unit type, please use `bind() with ' + binding.factoryName() + '`.'); }this.$outer.containerBuilder.bind_qpmgza$(new DI$Key(binding.contextType, binding.argType, binding.createdType, this._tag_0), binding, this.$outer.moduleName_0, this._overrides_0); }; DIBuilderImpl$DirectBinder.$metadata$ = {kind: Kind_CLASS, simpleName: 'DirectBinder', interfaces: [DI$Builder$DirectBinder]}; function DIBuilderImpl$ConstantBinder($outer, _tag, _overrides) { this.$outer = $outer; this._tag_0 = _tag; this._overrides_0 = _overrides; } DIBuilderImpl$ConstantBinder.prototype.With_q0tj0z$ = function (valueType, value) { this.$outer.Bind_m0ro4c$(this._tag_0, this._overrides_0, new InstanceBinding(valueType, value)); }; DIBuilderImpl$ConstantBinder.$metadata$ = {kind: Kind_CLASS, simpleName: 'ConstantBinder', interfaces: [DI$Builder$ConstantBinder]}; DIBuilderImpl.prototype.Bind_exja01$$default = function (type, tag, overrides) { return new DIBuilderImpl$TypeBinder(this, type, tag, overrides); }; DIBuilderImpl.prototype.Bind_m0ro4c$$default = function (tag, overrides, binding) { this.containerBuilder.bind_qpmgza$(new DI$Key(binding.contextType, binding.argType, binding.createdType, tag), binding, this.moduleName_0, overrides); }; DIBuilderImpl.prototype.BindSet_m0ro4c$$default = function (tag, overrides, binding) { var tmp$, tmp$_0, tmp$_1, tmp$_2, tmp$_3; var setType = Kotlin.isType(tmp$ = erasedComp(getKClass(Set), [binding.createdType]), TypeToken) ? tmp$ : throwCCE(); var setKey = new DI$Key(binding.contextType, binding.argType, setType, tag); tmp$_1 = (tmp$_0 = this.containerBuilder.bindingsMap_8be2vx$.get_11rb$(setKey)) != null ? first(tmp$_0) : null; if (tmp$_1 == null) { throw IllegalStateException_init('No set binding to ' + setKey); }var setBinding = tmp$_1; if ((Kotlin.isType(tmp$_2 = setBinding.binding, BaseMultiBinding) ? tmp$_2 : null) == null) throw IllegalStateException_init(setKey.toString() + ' is associated to a ' + setBinding.binding.factoryName() + ' while it should be associated with bindingSet'); (Kotlin.isType(tmp$_3 = setBinding.binding.set, MutableSet) ? tmp$_3 : throwCCE()).add_11rb$(binding); }; DIBuilderImpl.prototype.Bind_b6zv6g$$default = function (tag, overrides) { return new DIBuilderImpl$DirectBinder(this, tag, overrides); }; DIBuilderImpl.prototype.constant_obdoaf$$default = function (tag, overrides) { return new DIBuilderImpl$ConstantBinder(this, tag, overrides); }; DIBuilderImpl.prototype.import_dwjwn5$$default = function (module_0, allowOverride) { var moduleName = this.prefix_0 + module_0.name; if (moduleName.length > 0 && this.importedModules_8be2vx$.contains_11rb$(moduleName)) { throw IllegalStateException_init('Module ' + '"' + moduleName + '"' + ' has already been imported!'); }this.importedModules_8be2vx$.add_11rb$(moduleName); module_0.init(new DIBuilderImpl(moduleName, this.prefix_0 + module_0.prefix, this.importedModules_8be2vx$, this.containerBuilder.subBuilder_dqye30$(allowOverride, module_0.allowSilentOverride))); }; DIBuilderImpl.prototype.importAll_k7it48$$default = function (modules, allowOverride) { var tmp$; tmp$ = modules.iterator(); while (tmp$.hasNext()) { var element = tmp$.next(); this.import_dwjwn5$(element, allowOverride); } }; DIBuilderImpl.prototype.importAll_lbhl2u$$default = function (modules, allowOverride) { var tmp$; for (tmp$ = 0; tmp$ !== modules.length; ++tmp$) { var element = modules[tmp$]; this.import_dwjwn5$(element, allowOverride); } }; DIBuilderImpl.prototype.importOnce_dwjwn5$$default = function (module_0, allowOverride) { if (module_0.name.length === 0) throw IllegalStateException_init('importOnce must be given a named module.'); if (!this.importedModules_8be2vx$.contains_11rb$(module_0.name)) this.import_dwjwn5$(module_0, allowOverride); }; DIBuilderImpl.prototype.onReady_qoc8km$ = function (cb) { this.containerBuilder.onReady_qoc8km$(cb); }; DIBuilderImpl.prototype.RegisterContextTranslator_5jq22i$ = function (translator) { this.containerBuilder.registerContextTranslator_5jq22i$(translator); }; DIBuilderImpl.$metadata$ = {kind: Kind_CLASS, simpleName: 'DIBuilderImpl', interfaces: [DI$Builder]}; function DIMainBuilderImpl(allowSilentOverride) { DIBuilderImpl.call(this, null, '', HashSet_init(), new DIContainerBuilderImpl(true, allowSilentOverride, HashMap_init(), ArrayList_init(), ArrayList_init())); this.externalSources_rzg50g$_0 = ArrayList_init(); this.fullDescriptionOnError_z7lv2t$_0 = DI$Companion_getInstance().defaultFullDescriptionOnError; this.fullContainerTreeOnError_23tv82$_0 = DI$Companion_getInstance().defaultFullContainerTreeOnError; } Object.defineProperty(DIMainBuilderImpl.prototype, 'externalSources', {configurable: true, get: function () { return this.externalSources_rzg50g$_0; }}); Object.defineProperty(DIMainBuilderImpl.prototype, 'fullDescriptionOnError', {configurable: true, get: function () { return this.fullDescriptionOnError_z7lv2t$_0; }, set: function (fullDescriptionOnError) { this.fullDescriptionOnError_z7lv2t$_0 = fullDescriptionOnError; }}); Object.defineProperty(DIMainBuilderImpl.prototype, 'fullContainerTreeOnError', {configurable: true, get: function () { return this.fullContainerTreeOnError_23tv82$_0; }, set: function (fullContainerTreeOnError) { this.fullContainerTreeOnError_23tv82$_0 = fullContainerTreeOnError; }}); DIMainBuilderImpl.prototype.extend_nltjgj$$default = function (di, allowOverride, copy) { var keys = copy.keySet_l66p72$(di.container.tree); this.containerBuilder.extend_5tbdl8$(di.container, allowOverride, keys); addAll(this.externalSources, di.container.tree.externalSources); var tmp$ = this.importedModules_8be2vx$; var $receiver = this.containerBuilder.bindingsMap_8be2vx$; var destination = ArrayList_init(); var tmp$_0; tmp$_0 = $receiver.entries.iterator(); while (tmp$_0.hasNext()) { var element = tmp$_0.next(); var $receiver_0 = element.value; var destination_0 = ArrayList_init_0(collectionSizeOrDefault($receiver_0, 10)); var tmp$_1; tmp$_1 = $receiver_0.iterator(); while (tmp$_1.hasNext()) { var item = tmp$_1.next(); destination_0.add_11rb$(item.fromModule); } var list = destination_0; addAll(destination, list); } tmp$.addAll_brywnq$(filterNotNull(destination)); }; DIMainBuilderImpl.prototype.extend_lto1om$$default = function (directDI, allowOverride, copy) { var keys = copy.keySet_l66p72$(directDI.container.tree); this.containerBuilder.extend_5tbdl8$(directDI.container, allowOverride, keys); addAll(this.externalSources, directDI.container.tree.externalSources); var tmp$ = this.importedModules_8be2vx$; var $receiver = this.containerBuilder.bindingsMap_8be2vx$; var destination = ArrayList_init(); var tmp$_0; tmp$_0 = $receiver.entries.iterator(); while (tmp$_0.hasNext()) { var element = tmp$_0.next(); var $receiver_0 = element.value; var destination_0 = ArrayList_init_0(collectionSizeOrDefault($receiver_0, 10)); var tmp$_1; tmp$_1 = $receiver_0.iterator(); while (tmp$_1.hasNext()) { var item = tmp$_1.next(); destination_0.add_11rb$(item.fromModule); } var list = destination_0; addAll(destination, list); } tmp$.addAll_brywnq$(filterNotNull(destination)); }; DIMainBuilderImpl.$metadata$ = {kind: Kind_CLASS, simpleName: 'DIMainBuilderImpl', interfaces: [DI$MainBuilder, DIBuilderImpl]}; function DIContainerBuilderImpl(allowOverride, silentOverride, bindingsMap, callbacks, translators) { this.bindingsMap_8be2vx$ = bindingsMap; this.callbacks_8be2vx$ = callbacks; this.translators_8be2vx$ = translators; this._overrideMode_0 = DIContainerBuilderImpl$OverrideMode$Companion_getInstance().get_dqye30$(allowOverride, silentOverride); } function DIContainerBuilderImpl$OverrideMode(name, ordinal) { Enum.call(this); this.name$ = name; this.ordinal$ = ordinal; } function DIContainerBuilderImpl$OverrideMode_initFields() { DIContainerBuilderImpl$OverrideMode_initFields = function () { }; new DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT(); new DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT(); new DIContainerBuilderImpl$OverrideMode$FORBID(); DIContainerBuilderImpl$OverrideMode$Companion_getInstance(); } function DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT() { DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT_instance = this; DIContainerBuilderImpl$OverrideMode.call(this, 'ALLOW_SILENT', 0); } Object.defineProperty(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT.prototype, 'isAllowed', {configurable: true, get: function () { return true; }}); DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT.prototype.must_1v8dbw$ = function (overrides) { return overrides; }; DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT.$metadata$ = {kind: Kind_CLASS, simpleName: 'ALLOW_SILENT', interfaces: [DIContainerBuilderImpl$OverrideMode]}; var DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT_instance = null; function DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT_getInstance() { DIContainerBuilderImpl$OverrideMode_initFields(); return DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT_instance; } function DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT() { DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT_instance = this; DIContainerBuilderImpl$OverrideMode.call(this, 'ALLOW_EXPLICIT', 1); } Object.defineProperty(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT.prototype, 'isAllowed', {configurable: true, get: function () { return true; }}); DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT.prototype.must_1v8dbw$ = function (overrides) { return overrides != null ? overrides : false; }; DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT.$metadata$ = {kind: Kind_CLASS, simpleName: 'ALLOW_EXPLICIT', interfaces: [DIContainerBuilderImpl$OverrideMode]}; var DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT_instance = null; function DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT_getInstance() { DIContainerBuilderImpl$OverrideMode_initFields(); return DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT_instance; } function DIContainerBuilderImpl$OverrideMode$FORBID() { DIContainerBuilderImpl$OverrideMode$FORBID_instance = this; DIContainerBuilderImpl$OverrideMode.call(this, 'FORBID', 2); } Object.defineProperty(DIContainerBuilderImpl$OverrideMode$FORBID.prototype, 'isAllowed', {configurable: true, get: function () { return false; }}); DIContainerBuilderImpl$OverrideMode$FORBID.prototype.must_1v8dbw$ = function (overrides) { if (overrides != null && overrides) throw new DI$OverridingException('Overriding has been forbidden'); else return false; }; DIContainerBuilderImpl$OverrideMode$FORBID.$metadata$ = {kind: Kind_CLASS, simpleName: 'FORBID', interfaces: [DIContainerBuilderImpl$OverrideMode]}; var DIContainerBuilderImpl$OverrideMode$FORBID_instance = null; function DIContainerBuilderImpl$OverrideMode$FORBID_getInstance() { DIContainerBuilderImpl$OverrideMode_initFields(); return DIContainerBuilderImpl$OverrideMode$FORBID_instance; } function DIContainerBuilderImpl$OverrideMode$Companion() { DIContainerBuilderImpl$OverrideMode$Companion_instance = this; } DIContainerBuilderImpl$OverrideMode$Companion.prototype.get_dqye30$ = function (allow, silent) { if (!allow) return DIContainerBuilderImpl$OverrideMode$FORBID_getInstance(); if (silent) return DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT_getInstance(); return DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT_getInstance(); }; DIContainerBuilderImpl$OverrideMode$Companion.$metadata$ = {kind: Kind_OBJECT, simpleName: 'Companion', interfaces: []}; var DIContainerBuilderImpl$OverrideMode$Companion_instance = null; function DIContainerBuilderImpl$OverrideMode$Companion_getInstance() { DIContainerBuilderImpl$OverrideMode_initFields(); if (DIContainerBuilderImpl$OverrideMode$Companion_instance === null) { new DIContainerBuilderImpl$OverrideMode$Companion(); }return DIContainerBuilderImpl$OverrideMode$Companion_instance; } DIContainerBuilderImpl$OverrideMode.$metadata$ = {kind: Kind_CLASS, simpleName: 'OverrideMode', interfaces: [Enum]}; function DIContainerBuilderImpl$OverrideMode$values() { return [DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT_getInstance(), DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT_getInstance(), DIContainerBuilderImpl$OverrideMode$FORBID_getInstance()]; } DIContainerBuilderImpl$OverrideMode.values = DIContainerBuilderImpl$OverrideMode$values; function DIContainerBuilderImpl$OverrideMode$valueOf(name) { switch (name) { case 'ALLOW_SILENT': return DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT_getInstance(); case 'ALLOW_EXPLICIT': return DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT_getInstance(); case 'FORBID': return DIContainerBuilderImpl$OverrideMode$FORBID_getInstance(); default:throwISE('No enum constant org.kodein.di.internal.DIContainerBuilderImpl.OverrideMode.' + name); } } DIContainerBuilderImpl$OverrideMode.valueOf_61zpoe$ = DIContainerBuilderImpl$OverrideMode$valueOf; DIContainerBuilderImpl.prototype.checkOverrides_0 = function (key, overrides) { var mustOverride = this._overrideMode_0.must_1v8dbw$(overrides); if (mustOverride != null) { var tmp$ = mustOverride; if (tmp$) { var $receiver = this.bindingsMap_8be2vx$; var tmp$_0; tmp$ = !(Kotlin.isType(tmp$_0 = $receiver, Map) ? tmp$_0 : throwCCE()).containsKey_11rb$(key); }if (tmp$) throw new DI$OverridingException('Binding ' + key + ' must override an existing binding.'); var tmp$_1 = !mustOverride; if (tmp$_1) { var $receiver_0 = this.bindingsMap_8be2vx$; var tmp$_2; tmp$_1 = (Kotlin.isType(tmp$_2 = $receiver_0, Map) ? tmp$_2 : throwCCE()).containsKey_11rb$(key); }if (tmp$_1) throw new DI$OverridingException('Binding ' + key + ' must not override an existing binding.'); }}; DIContainerBuilderImpl.prototype.bind_qpmgza$$default = function (key, binding, fromModule, overrides) { var tmp$; this.checkOverrides_0(key, overrides); var $receiver = this.bindingsMap_8be2vx$; var tmp$_0; var value = $receiver.get_11rb$(key); if (value == null) { var answer = newLinkedList(); $receiver.put_xwzc9p$(key, answer); tmp$_0 = answer; } else { tmp$_0 = value; } var bindings = tmp$_0; bindings.add_wxm5ur$(0, new DIDefining(Kotlin.isType(tmp$ = binding, DIBinding) ? tmp$ : throwCCE(), fromModule)); }; DIContainerBuilderImpl.prototype.checkMatch_0 = function (allowOverride) { if (!this._overrideMode_0.isAllowed && allowOverride) throw new DI$OverridingException('Overriding has been forbidden'); }; DIContainerBuilderImpl.prototype.extend_5tbdl8$$default = function (container, allowOverride, copy) { this.checkMatch_0(allowOverride); var tmp$; tmp$ = container.tree.bindings.entries.iterator(); while (tmp$.hasNext()) { var element = tmp$.next(); var key = element.key; var bindings = element.value; var tmp$_0; if (!allowOverride) this.checkOverrides_0(key, null); if (copy.contains_11rb$(key)) { var $receiver = newLinkedList(); var tmp$_1; tmp$_1 = bindings.iterator(); while (tmp$_1.hasNext()) { var item = tmp$_1.next(); var tmp$_2, tmp$_3; $receiver.add_11rb$(new DIDefining((tmp$_3 = (tmp$_2 = item.binding.copier) != null ? tmp$_2.copy_kp8gfu$(this) : null) != null ? tmp$_3 : item.binding, item.fromModule)); } tmp$_0 = $receiver; } else { tmp$_0 = newLinkedList_0(bindings); } var newBindings = tmp$_0; this.bindingsMap_8be2vx$.put_xwzc9p$(key, newBindings); } addAll(this.translators_8be2vx$, container.tree.registeredTranslators); }; DIContainerBuilderImpl.prototype.subBuilder_dqye30$$default = function (allowOverride, silentOverride) { this.checkMatch_0(allowOverride); return new DIContainerBuilderImpl(allowOverride, silentOverride, this.bindingsMap_8be2vx$, this.callbacks_8be2vx$, this.translators_8be2vx$); }; DIContainerBuilderImpl.prototype.onReady_qoc8km$ = function (cb) { this.callbacks_8be2vx$.add_11rb$(cb); }; DIContainerBuilderImpl.prototype.registerContextTranslator_5jq22i$ = function (translator) { this.translators_8be2vx$.add_11rb$(translator); }; DIContainerBuilderImpl.$metadata$ = {kind: Kind_CLASS, simpleName: 'DIContainerBuilderImpl', interfaces: [DIContainer$Builder]}; function DIContainerImpl(tree, node, fullDescriptionOnError, fullContainerTreeOnError) { this.tree_81m3ko$_0 = tree; this.node_0 = node; this.fullDescriptionOnError_0 = fullDescriptionOnError; this.fullContainerTreeOnError_0 = fullContainerTreeOnError; this.initCallbacks_hsz2gg$_0 = null; ensureNeverFrozen(this); } Object.defineProperty(DIContainerImpl.prototype, 'tree', {get: function () { return this.tree_81m3ko$_0; }}); Object.defineProperty(DIContainerImpl.prototype, 'initCallbacks', {configurable: true, get: function () { return this.initCallbacks_hsz2gg$_0; }, set: function (initCallbacks) { this.initCallbacks_hsz2gg$_0 = initCallbacks; }}); function DIContainerImpl$Node(key, overrideLevel, parent, fullDescriptionOnError) { this.key_0 = key; this.overrideLevel_0 = overrideLevel; this.parent_0 = parent; this.fullDescriptionOnError_0 = fullDescriptionOnError; } DIContainerImpl$Node.prototype.check_4ow4is$ = function (searchedKey, searchedOverrideLevel) { if (!this.recursiveCheck_0(this, searchedKey, searchedOverrideLevel)) { var list = plus(this.recursiveLoop_0(this, searchedKey, searchedOverrideLevel, emptyList()), this.displayString_0(searchedKey, this.overrideLevel_0)); var sb = StringBuilder_init(); var tmp$, tmp$_0; var index = 0; tmp$ = list.iterator(); while (tmp$.hasNext()) { var item = tmp$.next(); var index_0 = checkIndexOverflow((tmp$_0 = index, index = tmp$_0 + 1 | 0, tmp$_0)); sb.append_pdl1vj$(' '); switch (index_0) { case 0: sb.append_pdl1vj$(' '); break; case 1: sb.append_pdl1vj$(' \u2554\u2569>'); break; default:sb.append_pdl1vj$(' \u2551'); sb.append_pdl1vj$(repeat(' ', index_0 - 1 | 0)); sb.append_pdl1vj$('\u255A>'); break; } sb.append_pdl1vj$(item); sb.append_pdl1vj$('\n'); } sb.append_pdl1vj$(' \u255A'); sb.append_pdl1vj$(repeat('\u2550\u2550', list.size - 1 | 0)); sb.append_pdl1vj$('\u255D'); throw new DI$DependencyLoopException('Dependency recursion:' + '\n' + sb); }}; DIContainerImpl$Node.prototype.displayString_0 = function (key, overrideLevel) { var descProp = this.fullDescriptionOnError_0 ? getPropertyCallableRef('bindFullDescription', 0, function ($receiver) { return $receiver.bindFullDescription; }.bind(null, key)) : getPropertyCallableRef('bindDescription', 0, function ($receiver) { return $receiver.bindDescription; }.bind(null, key)); return overrideLevel !== 0 ? 'overridden ' + descProp.get() : descProp.get(); }; DIContainerImpl$Node.prototype.recursiveLoop_0 = function (node, firstKey, firstOverrideLevel, tail) { var tmp$; if (node.parent_0 == null || ((firstKey != null ? firstKey.equals(node.key_0) : null) && firstOverrideLevel === node.overrideLevel_0)) tmp$ = plus_0(listOf(this.displayString_0(node.key_0, node.overrideLevel_0)), tail); else return this.recursiveLoop_0(node.parent_0, firstKey, firstOverrideLevel, plus_0(listOf(this.displayString_0(node.key_0, node.overrideLevel_0)), tail)); return tmp$; }; DIContainerImpl$Node.prototype.recursiveCheck_0 = function (node, searchedKey, searchedOverrideLevel) { var tmp$; return ((tmp$ = node.key_0) != null ? tmp$.equals(searchedKey) : null) && node.overrideLevel_0 === searchedOverrideLevel ? false : node.parent_0 == null ? true : this.recursiveCheck_0(node.parent_0, searchedKey, searchedOverrideLevel); }; DIContainerImpl$Node.$metadata$ = {kind: Kind_CLASS, simpleName: 'Node', interfaces: []}; DIContainerImpl.prototype.bindingDI_0 = function (key, context, tree, overrideLevel) { var container = new DIContainerImpl(tree, new DIContainerImpl$Node(key, overrideLevel, this.node_0, this.fullDescriptionOnError_0), this.fullDescriptionOnError_0, this.fullContainerTreeOnError_0); return new BindingDIImpl(new DirectDIImpl(container, context), key, overrideLevel); }; DIContainerImpl.prototype.factoryOrNull_dht9zw$$default = function (key, context, overrideLevel) { var it = this.tree.find_9mbcap$(key, 0); var tmp$, tmp$_0, tmp$_1, tmp$_2; if (it.size === 1) { var tmp$_3 = it.get_za3lpa$(0); var definition = tmp$_3.component2(), translator = tmp$_3.component3(); (tmp$ = this.node_0) != null ? (tmp$.check_4ow4is$(key, 0), Unit) : null; var originalContext = Kotlin.isType(tmp$_0 = DIContext$Companion_getInstance().invoke_np530x$(key.contextType, context), DIContext) ? tmp$_0 : throwCCE(); var kContext = (tmp$_1 = translator != null ? toKContext(translator, new DirectDIImpl(this, originalContext), context) : null) != null ? tmp$_1 : originalContext; Kotlin.isType(tmp$_2 = key, DI$Key) ? tmp$_2 : throwCCE(); var bindingDI = this.bindingDI_0(key, kContext, definition.tree, overrideLevel); return definition.binding.getFactory_igiair$(key, bindingDI); }var bindingDI_0 = this.bindingDI_0(key, DIContext$Companion_getInstance().invoke_np530x$(key.contextType, context), this.tree, overrideLevel); var tmp$_4; tmp$_4 = this.tree.externalSources.iterator(); while (tmp$_4.hasNext()) { var element = tmp$_4.next(); var tmp$_5; if ((tmp$_5 = element.getFactory_p8xnp6$(bindingDI_0, key)) != null) { var tmp$_6, tmp$_7; (tmp$_6 = this.node_0) != null ? (tmp$_6.check_4ow4is$(key, 0), Unit) : null; return typeof (tmp$_7 = tmp$_5) === 'function' ? tmp$_7 : throwCCE(); }} return null; }; function DIContainerImpl$factory$lambda($receiver, it) { return fullDescription($receiver, it); } function DIContainerImpl$factory$lambda_0($receiver, it) { return description($receiver, it); } DIContainerImpl.prototype.factory_dht9zw$$default = function (key, context, overrideLevel) { var tmp$, tmp$_0, tmp$_1, tmp$_2; var result = this.tree.find_9mbcap$(key, overrideLevel); if (result.size === 1) { var tmp$_3 = result.get_za3lpa$(0); var definition = tmp$_3.component2(), translator = tmp$_3.component3(); (tmp$ = this.node_0) != null ? (tmp$.check_4ow4is$(key, overrideLevel), Unit) : null; var originalContext = Kotlin.isType(tmp$_0 = DIContext$Companion_getInstance().invoke_np530x$(key.contextType, context), DIContext) ? tmp$_0 : throwCCE(); var kContext = (tmp$_1 = translator != null ? toKContext(translator, new DirectDIImpl(this, originalContext), context) : null) != null ? tmp$_1 : originalContext; Kotlin.isType(tmp$_2 = key, DI$Key) ? tmp$_2 : throwCCE(); var bindingDI = this.bindingDI_0(key, kContext, definition.tree, overrideLevel); return definition.binding.getFactory_igiair$(key, bindingDI); }var bindingDI_0 = this.bindingDI_0(key, DIContext$Companion_getInstance().invoke_np530x$(key.contextType, context), this.tree, overrideLevel); var tmp$_4; tmp$_4 = this.tree.externalSources.iterator(); while (tmp$_4.hasNext()) { var element = tmp$_4.next(); var tmp$_5; if ((tmp$_5 = element.getFactory_p8xnp6$(bindingDI_0, key)) != null) { var tmp$_6, tmp$_7; (tmp$_6 = this.node_0) != null ? (tmp$_6.check_4ow4is$(key, overrideLevel), Unit) : null; return typeof (tmp$_7 = tmp$_5) === 'function' ? tmp$_7 : throwCCE(); }} var withOverrides = overrideLevel !== 0; var descProp = this.fullDescriptionOnError_0 ? getPropertyCallableRef('fullDescription', 0, function ($receiver) { return $receiver.fullDescription; }.bind(null, key)) : getPropertyCallableRef('description', 0, function ($receiver) { return $receiver.description; }.bind(null, key)); var descFun = this.fullDescriptionOnError_0 ? DIContainerImpl$factory$lambda : DIContainerImpl$factory$lambda_0; if (result.isEmpty()) { var $receiver = StringBuilder_init(); $receiver.append_pdl1vj$('No binding found for ' + descProp.get()); if (this.fullContainerTreeOnError_0) { $receiver.append_s8itvh$(10); var forType = this.tree.find_f45sx$(new SearchSpecs(void 0, void 0, key.type)); if (!forType.isEmpty()) { var tmp$_8 = 'Available bindings for this type:' + '\n'; var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(forType, 10)), 16); var destination = LinkedHashMap_init_0(capacity); var tmp$_9; tmp$_9 = forType.iterator(); while (tmp$_9.hasNext()) { var element_0 = tmp$_9.next(); var pair = to(element_0.first, element_0.second); destination.put_xwzc9p$(pair.first, pair.second); } $receiver.append_pdl1vj$(tmp$_8 + descFun(destination, withOverrides)); }$receiver.append_pdl1vj$('Registered in this DI container:' + '\n' + descFun(this.tree.bindings, withOverrides)); }var description = $receiver.toString(); throw new DI$NotFoundException(key, description); }var capacity_0 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(result, 10)), 16); var destination_0 = LinkedHashMap_init_0(capacity_0); var tmp$_10; tmp$_10 = result.iterator(); while (tmp$_10.hasNext()) { var element_1 = tmp$_10.next(); var pair_0 = to(element_1.first, ensureNotNull(this.tree.get_6okvgm$(element_1.first)).second); destination_0.put_xwzc9p$(pair_0.first, pair_0.second); } var potentials = destination_0; var $receiver_0 = this.tree.bindings; var destination_1 = LinkedHashMap_init(); var tmp$_11; tmp$_11 = $receiver_0.entries.iterator(); while (tmp$_11.hasNext()) { var element_2 = tmp$_11.next(); var key_0 = element_2.key; if (!potentials.keys.contains_11rb$(key_0)) { destination_1.put_xwzc9p$(element_2.key, element_2.value); }} var others = destination_1; throw new DI$NotFoundException(key, potentials.size.toString() + ' bindings found that match ' + key + ':' + '\n' + descFun(potentials, withOverrides) + 'Other bindings registered in DI:' + '\n' + descFun(others, withOverrides)); }; DIContainerImpl.prototype.allFactories_dht9zw$$default = function (key, context, overrideLevel) { var result = this.tree.find_9mbcap$(key, overrideLevel, true); var destination = ArrayList_init_0(collectionSizeOrDefault(result, 10)); var tmp$; tmp$ = result.iterator(); while (tmp$.hasNext()) { var item = tmp$.next(); var tmp$_0 = destination.add_11rb$; var definition = item.component2(), translator = item.component3(); var tmp$_1, tmp$_2, tmp$_3, tmp$_4; (tmp$_1 = this.node_0) != null ? (tmp$_1.check_4ow4is$(key, overrideLevel), Unit) : null; var originalContext = Kotlin.isType(tmp$_2 = DIContext$Companion_getInstance().invoke_np530x$(key.contextType, context), DIContext) ? tmp$_2 : throwCCE(); var kContext = (tmp$_3 = translator != null ? toKContext(translator, new DirectDIImpl(this, originalContext), context) : null) != null ? tmp$_3 : originalContext; Kotlin.isType(tmp$_4 = key, DI$Key) ? tmp$_4 : throwCCE(); var bindingDI = this.bindingDI_0(key, kContext, definition.tree, overrideLevel); tmp$_0.call(destination, definition.binding.getFactory_igiair$(key, bindingDI)); } return destination; }; DIContainerImpl.$metadata$ = {kind: Kind_CLASS, simpleName: 'DIContainerImpl', interfaces: [DIContainer]}; function DIContainerImpl_init(builder, externalSources, fullDescriptionOnError, fullContainerTreeOnError, runCallbacks, $this) { $this = $this || Object.create(DIContainerImpl.prototype); DIContainerImpl.call($this, new DITreeImpl(builder.bindingsMap_8be2vx$, externalSources, builder.translators_8be2vx$), null, fullDescriptionOnError, fullContainerTreeOnError); var init = DIContainerImpl_init$lambda($this, builder); if (runCallbacks) init(); else { var lock = new Any(); $this.initCallbacks = DIContainerImpl_init$lambda_0(lock, $this, init); } return $this; } function DIContainerImpl_init$lambda(this$DIContainerImpl, closure$builder) { return function () { var direct = new DirectDIImpl(this$DIContainerImpl, get_AnyDIContext()); var tmp$; tmp$ = closure$builder.callbacks_8be2vx$.iterator(); while (tmp$.hasNext()) { var element = tmp$.next(); element(direct); } return Unit; }; } function DIContainerImpl_init$lambda_0(closure$lock, this$DIContainerImpl, closure$init) { return function () { var predicate = getPropertyCallableRef('initCallbacks', 0, function ($receiver) { return $receiver.initCallbacks; }.bind(null, this$DIContainerImpl), function ($receiver, value) { $receiver.initCallbacks = value; }.bind(null, this$DIContainerImpl)); synchronizedIfNotNull$break: do { if (predicate() == null) { break synchronizedIfNotNull$break; }block$break: do { var tmp$; tmp$ = predicate(); if (tmp$ == null) { break block$break; }var value = tmp$; var this$DIContainerImpl_0 = this$DIContainerImpl; var closure$init_0 = closure$init; this$DIContainerImpl_0.initCallbacks = null; closure$init_0(); } while (false); } while (false); return Unit; }; } function DIImpl(_container) { DIImpl$Companion_getInstance(); this._container_0 = _container; this.container_2b5i5c$_0 = lazy(DIImpl$container$lambda(this)); } function DIImpl$Companion() { DIImpl$Companion_instance = this; } DIImpl$Companion.prototype.newBuilder_0 = function (allowSilentOverride, init) { if (allowSilentOverride === void 0) allowSilentOverride = false; var $receiver = new DIMainBuilderImpl(allowSilentOverride); init($receiver); return $receiver; }; function DIImpl$Companion$withDelayedCallbacks$lambda(closure$di) { return function () { var tmp$; (tmp$ = closure$di._container_0.initCallbacks) != null ? tmp$() : null; return Unit; }; } DIImpl$Companion.prototype.withDelayedCallbacks_ys71a$ = function (allowSilentOverride, init) { if (allowSilentOverride === void 0) allowSilentOverride = false; var di = DIImpl_init(this.newBuilder_0(allowSilentOverride, init), false); return to(di, DIImpl$Companion$withDelayedCallbacks$lambda(di)); }; DIImpl$Companion.$metadata$ = {kind: Kind_OBJECT, simpleName: 'Companion', interfaces: []}; var DIImpl$Companion_instance = null; function DIImpl$Companion_getInstance() { if (DIImpl$Companion_instance === null) { new DIImpl$Companion(); }return DIImpl$Companion_instance; } Object.defineProperty(DIImpl.prototype, 'container', {configurable: true, get: function () { return this.container_2b5i5c$_0.value; }}); function DIImpl$container$lambda(this$DIImpl) { return function () { if (this$DIImpl._container_0.initCallbacks != null) throw IllegalStateException_init('DI has not been initialized'); return this$DIImpl._container_0; }; } DIImpl.$metadata$ = {kind: Kind_CLASS, simpleName: 'DIImpl', interfaces: [DI]}; function DIImpl_init(builder, runCallbacks, $this) { $this = $this || Object.create(DIImpl.prototype); DIImpl.call($this, DIContainerImpl_init(builder.containerBuilder, builder.externalSources, builder.fullDescriptionOnError, builder.fullContainerTreeOnError, runCallbacks)); return $this; } function DIImpl_init_0(allowSilentOverride, init, $this) { if (allowSilentOverride === void 0) allowSilentOverride = false; $this = $this || Object.create(DIImpl.prototype); DIImpl_init(DIImpl$Companion_getInstance().newBuilder_0(allowSilentOverride, init), true, $this); return $this; } function BindingDIImpl(directDI, key, overrideLevel) { this.directDI_km598m$_0 = directDI; this.key_0 = key; this.overrideLevel_0 = overrideLevel; } Object.defineProperty(BindingDIImpl.prototype, 'directDI', {get: function () { return this.directDI_km598m$_0; }}); BindingDIImpl.prototype.overriddenFactory = function () { var tmp$; return typeof (tmp$ = this.container.factory_dht9zw$(this.key_0, this.context, this.overrideLevel_0 + 1 | 0)) === 'function' ? tmp$ : throwCCE(); }; BindingDIImpl.prototype.overriddenFactoryOrNull = function () { var tmp$; return (tmp$ = this.container.factoryOrNull_dht9zw$(this.key_0, this.context, this.overrideLevel_0 + 1 | 0)) == null || typeof tmp$ === 'function' ? tmp$ : throwCCE(); }; Object.defineProperty(BindingDIImpl.prototype, 'context', {configurable: true, get: function () { var tmp$; return Kotlin.isType(tmp$ = this.directDI.di.diContext.value, Any) ? tmp$ : throwCCE(); }}); BindingDIImpl.prototype.onErasedContext = function () { return new BindingDIImpl(this.directDI.On_agur4l$(ErasedContext_getInstance()), this.key_0, this.overrideLevel_0); }; Object.defineProperty(BindingDIImpl.prototype, 'container', {configurable: true, get: function () { return this.directDI.container; }}); Object.defineProperty(BindingDIImpl.prototype, 'di', {configurable: true, get: function () { return this.directDI.di; }}); Object.defineProperty(BindingDIImpl.prototype, 'lazy', {configurable: true, get: function () { return this.directDI.lazy; }}); BindingDIImpl.prototype.Factory_61z0e$$default = function (argType, type, tag) { return this.directDI.Factory_61z0e$$default(argType, type, tag); }; BindingDIImpl.prototype.FactoryOrNull_61z0e$$default = function (argType, type, tag) { return this.directDI.FactoryOrNull_61z0e$$default(argType, type, tag); }; BindingDIImpl.prototype.Instance_ohrpre$$default = function (type, tag) { return this.directDI.Instance_ohrpre$$default(type, tag); }; BindingDIImpl.prototype.Instance_331fb8$$default = function (argType, type, tag, arg) { return this.directDI.Instance_331fb8$$default(argType, type, tag, arg); }; BindingDIImpl.prototype.InstanceOrNull_ohrpre$$default = function (type, tag) { return this.directDI.InstanceOrNull_ohrpre$$default(type, tag); }; BindingDIImpl.prototype.InstanceOrNull_331fb8$$default = function (argType, type, tag, arg) { return this.directDI.InstanceOrNull_331fb8$$default(argType, type, tag, arg); }; BindingDIImpl.prototype.On_agur4l$ = function (context) { return this.directDI.On_agur4l$(context); }; BindingDIImpl.prototype.Provider_ohrpre$$default = function (type, tag) { return this.directDI.Provider_ohrpre$$default(type, tag); }; BindingDIImpl.prototype.Provider_aqo1vk$$default = function (argType, type, tag, arg) { return this.directDI.Provider_aqo1vk$$default(argType, type, tag, arg); }; BindingDIImpl.prototype.ProviderOrNull_ohrpre$$default = function (type, tag) { return this.directDI.ProviderOrNull_ohrpre$$default(type, tag); }; BindingDIImpl.prototype.ProviderOrNull_aqo1vk$$default = function (argType, type, tag, arg) { return this.directDI.ProviderOrNull_aqo1vk$$default(argType, type, tag, arg); }; BindingDIImpl.$metadata$ = {kind: Kind_CLASS, simpleName: 'BindingDIImpl', interfaces: [BindingDI, DirectDI]}; function TypeChecker() { } function TypeChecker$Down(type) { TypeChecker.call(this); this.type_j6ks2f$_0 = type; this.isAny = equals(this.type, TypeToken.Companion.Any); } Object.defineProperty(TypeChecker$Down.prototype, 'type', {get: function () { return this.type_j6ks2f$_0; }}); TypeChecker$Down.prototype.check_q3o5v9$ = function (other) { return this.isAny || this.type.isAssignableFrom_q3o5v9$(other); }; TypeChecker$Down.$metadata$ = {kind: Kind_CLASS, simpleName: 'Down', interfaces: [TypeChecker]}; TypeChecker$Down.prototype.component1 = function () { return this.type; }; TypeChecker$Down.prototype.copy_q3o5v9$ = function (type) { return new TypeChecker$Down(type === void 0 ? this.type : type); }; TypeChecker$Down.prototype.toString = function () { return 'Down(type=' + Kotlin.toString(this.type) + ')'; }; TypeChecker$Down.prototype.hashCode = function () { var result = 0; result = result * 31 + Kotlin.hashCode(this.type) | 0; return result; }; TypeChecker$Down.prototype.equals = function (other) { return this === other || (other !== null && (typeof other === 'object' && (Object.getPrototypeOf(this) === Object.getPrototypeOf(other) && Kotlin.equals(this.type, other.type)))); }; function TypeChecker$Up(type) { TypeChecker.call(this); this.type_mdb90i$_0 = type; } Object.defineProperty(TypeChecker$Up.prototype, 'type', {get: function () { return this.type_mdb90i$_0; }}); TypeChecker$Up.prototype.check_q3o5v9$ = function (other) { return equals(other, TypeToken.Companion.Any) || other.isAssignableFrom_q3o5v9$(this.type); }; TypeChecker$Up.$metadata$ = {kind: Kind_CLASS, simpleName: 'Up', interfaces: [TypeChecker]}; TypeChecker$Up.prototype.component1 = function () { return this.type; }; TypeChecker$Up.prototype.copy_q3o5v9$ = function (type) { return new TypeChecker$Up(type === void 0 ? this.type : type); }; TypeChecker$Up.prototype.toString = function () { return 'Up(type=' + Kotlin.toString(this.type) + ')'; }; TypeChecker$Up.prototype.hashCode = function () { var result = 0; result = result * 31 + Kotlin.hashCode(this.type) | 0; return result; }; TypeChecker$Up.prototype.equals = function (other) { return this === other || (other !== null && (typeof other === 'object' && (Object.getPrototypeOf(this) === Object.getPrototypeOf(other) && Kotlin.equals(this.type, other.type)))); }; TypeChecker.$metadata$ = {kind: Kind_CLASS, simpleName: 'TypeChecker', interfaces: []}; function DITreeImpl(map, externalSources, registeredTranslators) { this.externalSources_f7ouoa$_0 = externalSources; this.registeredTranslators_q51es4$_0 = registeredTranslators; this._cache_0 = newConcurrentMap(); this._typeTree_0 = HashMap_init(); this.bindings_74h871$_0 = null; this.translators_0 = ArrayList_init_1(this.registeredTranslators); var tmp$, tmp$_0; var tmp$_1; tmp$_1 = map.entries.iterator(); while (tmp$_1.hasNext()) { var element = tmp$_1.next(); var key = element.key; var bindings = element.value; var destination = ArrayList_init_0(collectionSizeOrDefault(bindings, 10)); var tmp$_2; tmp$_2 = bindings.iterator(); while (tmp$_2.hasNext()) { var item = tmp$_2.next(); var tmp$_3 = destination.add_11rb$; var transform$result; if (Kotlin.isType(item, DIDefinition)) { transform$result = item; } else { transform$result = new DIDefinition(item.binding, item.fromModule, this); } tmp$_3.call(destination, transform$result); } var definitions = destination; var $receiver = this._cache_0; var value = new Triple(key, definitions, null); $receiver.put_xwzc9p$(key, value); var typeChecker = first(bindings).binding.supportSubTypes ? new TypeChecker$Down(key.type) : new TypeChecker$Up(key.type); var $receiver_0 = this._typeTree_0; var tmp$_4; var value_0 = $receiver_0.get_11rb$(typeChecker); if (value_0 == null) { var answer = HashMap_init(); $receiver_0.put_xwzc9p$(typeChecker, answer); tmp$_4 = answer; } else { tmp$_4 = value_0; } var contextTree = tmp$_4; var key_0 = new TypeChecker$Down(key.contextType); var tmp$_5; var value_1 = contextTree.get_11rb$(key_0); if (value_1 == null) { var answer_0 = HashMap_init(); contextTree.put_xwzc9p$(key_0, answer_0); tmp$_5 = answer_0; } else { tmp$_5 = value_1; } var argumentTree = tmp$_5; var key_1 = new TypeChecker$Down(key.argType); var tmp$_6; var value_2 = argumentTree.get_11rb$(key_1); if (value_2 == null) { var answer_1 = HashMap_init(); argumentTree.put_xwzc9p$(key_1, answer_1); tmp$_6 = answer_1; } else { tmp$_6 = value_2; } var tagTree = tmp$_6; var key_2 = key.tag; tagTree.put_xwzc9p$(key_2, key); } var $receiver_1 = this._cache_0; var destination_0 = LinkedHashMap_init_0(mapCapacity($receiver_1.size)); var tmp$_7; tmp$_7 = $receiver_1.entries.iterator(); while (tmp$_7.hasNext()) { var element_0 = tmp$_7.next(); destination_0.put_xwzc9p$(element_0.key, element_0.value.second); } this.bindings_74h871$_0 = HashMap_init_0(destination_0); while (true) { var added = ArrayList_init(); tmp$ = this.translators_0.iterator(); while (tmp$.hasNext()) { var src = tmp$.next(); tmp$_0 = this.translators_0.iterator(); loop_label: while (tmp$_0.hasNext()) { var dst = tmp$_0.next(); if (dst.contextType.isAssignableFrom_q3o5v9$(src.scopeType) && !equals(src.contextType, dst.scopeType)) { var $receiver_2 = this.translators_0; var none$result; none$break: do { var tmp$_8; if (Kotlin.isType($receiver_2, Collection) && $receiver_2.isEmpty()) { none$result = true; break none$break; }tmp$_8 = $receiver_2.iterator(); while (tmp$_8.hasNext()) { var element_1 = tmp$_8.next(); if (equals(element_1.contextType, src.contextType) && equals(element_1.scopeType, dst.scopeType)) { none$result = false; break none$break; }} none$result = true; } while (false); if (none$result) { var tmp$_9, tmp$_10; var element_2 = new CompositeContextTranslator(Kotlin.isType(tmp$_9 = src, ContextTranslator) ? tmp$_9 : throwCCE(), Kotlin.isType(tmp$_10 = dst, ContextTranslator) ? tmp$_10 : throwCCE()); added.add_11rb$(element_2); }}} } addAll(this.translators_0, added); if (added.isEmpty()) break; } } Object.defineProperty(DITreeImpl.prototype, 'externalSources', {get: function () { return this.externalSources_f7ouoa$_0; }}); Object.defineProperty(DITreeImpl.prototype, 'registeredTranslators', {get: function () { return this.registeredTranslators_q51es4$_0; }}); Object.defineProperty(DITreeImpl.prototype, 'bindings', {configurable: true, get: function () { return this.bindings_74h871$_0; }}); function DITreeImpl$findBySpecs$lambda(closure$specsBindType) { return function (f) { var bindType = f.key; return bindType.check_q3o5v9$(closure$specsBindType); }; } function DITreeImpl$findBySpecs$lambda$lambda(it) { return new Triple(it.key, it.value, null); } function DITreeImpl$findBySpecs$lambda_0(f) { var contextTree = f.value; return map(asSequence_0(contextTree), DITreeImpl$findBySpecs$lambda$lambda); } function DITreeImpl$findBySpecs$lambda_1(closure$specsContextType, this$DITreeImpl) { return function (triple) { var contextType = triple.component1(); if (contextType.check_q3o5v9$(closure$specsContextType)) return triple; else { var $receiver = this$DITreeImpl.translators_0; var firstOrNull$result; firstOrNull$break: do { var tmp$; tmp$ = $receiver.iterator(); while (tmp$.hasNext()) { var element = tmp$.next(); var closure$specsContextType_0 = closure$specsContextType; if (element.contextType.isAssignableFrom_q3o5v9$(closure$specsContextType_0) && contextType.check_q3o5v9$(element.scopeType)) { firstOrNull$result = element; break firstOrNull$break; }} firstOrNull$result = null; } while (false); var translator = firstOrNull$result; return translator != null ? triple.copy_1llc0w$(void 0, void 0, translator) : null; } }; } function DITreeImpl$findBySpecs$lambda$lambda_0(closure$translator) { return function (it) { return new Triple(it.key, it.value, closure$translator); }; } function DITreeImpl$findBySpecs$lambda_2(f) { var argumentTree = f.component2(), translator = f.component3(); return map(asSequence_0(argumentTree), DITreeImpl$findBySpecs$lambda$lambda_0(translator)); } function DITreeImpl$findBySpecs$lambda_3(closure$specsArgType) { return function (f) { var argType = f.component1(); return argType.check_q3o5v9$(closure$specsArgType); }; } function DITreeImpl$findBySpecs$lambda$lambda_1(closure$translator) { return function (it) { return new Triple(it.key, it.value, closure$translator); }; } function DITreeImpl$findBySpecs$lambda_4(f) { var tagTree = f.component2(), translator = f.component3(); return map(asSequence_0(tagTree), DITreeImpl$findBySpecs$lambda$lambda_1(translator)); } function DITreeImpl$findBySpecs$lambda_5(closure$specsTag) { return function (f) { var tag = f.component1(); return equals(tag, closure$specsTag); }; } function DITreeImpl$findBySpecs$lambda_6(f) { var key = f.component2(), translator = f.component3(); return to(key, translator); } DITreeImpl.prototype.findBySpecs_0 = function (specs) { var bindSeq = asSequence_0(this._typeTree_0); var specsBindType = specs.type; if (specsBindType != null && !equals(specsBindType, TypeToken.Companion.Any)) { bindSeq = filter(bindSeq, DITreeImpl$findBySpecs$lambda(specsBindType)); }var contextSeq = flatMap(bindSeq, DITreeImpl$findBySpecs$lambda_0); var specsContextType = specs.contextType; if (specsContextType != null) { contextSeq = mapNotNull(contextSeq, DITreeImpl$findBySpecs$lambda_1(specsContextType, this)); }var argSeq = flatMap(contextSeq, DITreeImpl$findBySpecs$lambda_2); var specsArgType = specs.argType; if (specsArgType != null) { argSeq = filter(argSeq, DITreeImpl$findBySpecs$lambda_3(specsArgType)); }var tagSeq = flatMap(argSeq, DITreeImpl$findBySpecs$lambda_4); var specsTag = specs.tag; if (!equals(specsTag, SearchSpecs$NoDefinedTag_getInstance())) { tagSeq = filter(tagSeq, DITreeImpl$findBySpecs$lambda_5(specsTag)); }var resultSeq = map(tagSeq, DITreeImpl$findBySpecs$lambda_6); return toList_0(resultSeq); }; DITreeImpl.prototype.find_9mbcap$$default = function (key, overrideLevel, all) { var tmp$, tmp$_0, tmp$_1, tmp$_2, tmp$_3, tmp$_4, tmp$_5; if (!all) { if ((tmp$ = this._cache_0.get_11rb$(key)) != null) { var realKey = tmp$.component1(), list = tmp$.component2(), translator = tmp$.component3(); var tmp$_6, tmp$_7, tmp$_8, tmp$_9; tmp$_6 = getOrNull(list, overrideLevel); if (tmp$_6 == null) { return emptyList(); }var definition = tmp$_6; return listOf(new Triple(Kotlin.isType(tmp$_7 = realKey, DI$Key) ? tmp$_7 : throwCCE(), Kotlin.isType(tmp$_8 = definition, DIDefinition) ? tmp$_8 : throwCCE(), (tmp$_9 = translator) == null || Kotlin.isType(tmp$_9, ContextTranslator) ? tmp$_9 : throwCCE())); }if (!equals(key.contextType, TypeToken.Companion.Any)) { var anyContextKey = key.copy_x92200$(TypeToken.Companion.Any); if ((tmp$_0 = this._cache_0.get_11rb$(anyContextKey)) != null) { block$break: do { var tmp$_10, tmp$_11, tmp$_12, tmp$_13; var realKey_0 = tmp$_0.component1(), list_0 = tmp$_0.component2(), translator_0 = tmp$_0.component3(); if (translator_0 != null && !equals(translator_0.contextType, key.contextType)) break block$break; this._cache_0.put_xwzc9p$(key, tmp$_0); tmp$_10 = getOrNull(list_0, overrideLevel); if (tmp$_10 == null) { return emptyList(); }var definition_0 = tmp$_10; return listOf(new Triple(Kotlin.isType(tmp$_11 = realKey_0, DI$Key) ? tmp$_11 : throwCCE(), Kotlin.isType(tmp$_12 = definition_0, DIDefinition) ? tmp$_12 : throwCCE(), (tmp$_13 = translator_0) == null || Kotlin.isType(tmp$_13, ContextTranslator) ? tmp$_13 : throwCCE())); } while (false); }}var $receiver = this.translators_0; var destination = ArrayList_init(); var tmp$_14; tmp$_14 = $receiver.iterator(); while (tmp$_14.hasNext()) { var element = tmp$_14.next(); if (equals(element.contextType, key.contextType)) destination.add_11rb$(element); } var $receiver_0 = this.translators_0; var destination_0 = ArrayList_init(); var tmp$_15; tmp$_15 = $receiver_0.iterator(); while (tmp$_15.hasNext()) { var element_0 = tmp$_15.next(); if (equals(element_0.contextType, TypeToken.Companion.Any)) destination_0.add_11rb$(element_0); } var applicableTranslators = plus_0(destination, destination_0); tmp$_1 = applicableTranslators.iterator(); loop_label: while (tmp$_1.hasNext()) { var translator_1 = tmp$_1.next(); var translatedKey = new DI$Key(translator_1.scopeType, key.argType, key.type, key.tag); if ((tmp$_3 = (tmp$_2 = this._cache_0.get_11rb$(translatedKey)) != null ? tmp$_2.third == null ? tmp$_2 : null : null) != null) { block$break: do { var tmp$_16, tmp$_17, tmp$_18, tmp$_19; if (tmp$_3.third != null) break block$break; var $receiver_1 = this._cache_0; var value = tmp$_3.copy_1llc0w$(void 0, void 0, translator_1); $receiver_1.put_xwzc9p$(key, value); var realKey_1 = tmp$_3.component1(), list_1 = tmp$_3.component2(); tmp$_16 = getOrNull(list_1, overrideLevel); if (tmp$_16 == null) { return emptyList(); }var definition_1 = tmp$_16; return listOf(new Triple(Kotlin.isType(tmp$_17 = realKey_1, DI$Key) ? tmp$_17 : throwCCE(), Kotlin.isType(tmp$_18 = definition_1, DIDefinition) ? tmp$_18 : throwCCE(), (tmp$_19 = translator_1) == null || Kotlin.isType(tmp$_19, ContextTranslator) ? tmp$_19 : throwCCE())); } while (false); }} }var result = this.findBySpecs_0(new SearchSpecs(key.contextType, key.argType, key.type, key.tag)); if (result.size === 1) { var tmp$_20 = first(result); var realKey_2 = tmp$_20.component1(), translator_2 = tmp$_20.component2(); tmp$_5 = (tmp$_4 = this._cache_0.get_11rb$(realKey_2)) != null ? tmp$_4.copy_1llc0w$(void 0, void 0, translator_2) : null; if (tmp$_5 == null) { throw this.notInMap_0(realKey_2, key); }this._cache_0.put_xwzc9p$(key, tmp$_5); }var destination_1 = ArrayList_init(); var tmp$_21; tmp$_21 = result.iterator(); loop_label: while (tmp$_21.hasNext()) { var element_1 = tmp$_21.next(); var tmp$_0_0; var transform$result; transform$break: do { var realKey_3 = element_1.component1(), translator_3 = element_1.component2(); var tmp$_22, tmp$_23, tmp$_24, tmp$_25, tmp$_26; tmp$_22 = this._cache_0.get_11rb$(realKey_3); if (tmp$_22 == null) { throw this.notInMap_0(realKey_3, key); }var definitions = tmp$_22.component2(); tmp$_23 = getOrNull(definitions, overrideLevel); if (tmp$_23 == null) { transform$result = null; break transform$break; }var definition_2 = tmp$_23; transform$result = new Triple(Kotlin.isType(tmp$_24 = realKey_3, DI$Key) ? tmp$_24 : throwCCE(), Kotlin.isType(tmp$_25 = definition_2, DIDefinition) ? tmp$_25 : throwCCE(), (tmp$_26 = translator_3) == null || Kotlin.isType(tmp$_26, ContextTranslator) ? tmp$_26 : throwCCE()); } while (false); if ((tmp$_0_0 = transform$result) != null) { destination_1.add_11rb$(tmp$_0_0); }} return destination_1; }; function DITreeImpl$notInMap$lambda(it) { return it.internalDescription; } DITreeImpl.prototype.notInMap_0 = function (result, request) { return IllegalStateException_init('Tree returned key ' + result.internalDescription + ' that is not in cache when searching for ' + request.internalDescription + '.' + '\n' + 'Keys in cache:' + '\n' + joinToString(this._cache_0.keys, '\n', void 0, void 0, void 0, void 0, DITreeImpl$notInMap$lambda)); }; DITreeImpl.prototype.find_f45sx$ = function (search) { var result = this.findBySpecs_0(search); var destination = ArrayList_init_0(collectionSizeOrDefault(result, 10)); var tmp$; tmp$ = result.iterator(); while (tmp$.hasNext()) { var item = tmp$.next(); var tmp$_0 = destination.add_11rb$; var key = item.component1(), translator = item.component2(); tmp$_0.call(destination, new Triple(key, ensureNotNull(this._cache_0.get_11rb$(key)).second, translator)); } return destination; }; DITreeImpl.prototype.get_6okvgm$ = function (key) { var tmp$; return (tmp$ = this._cache_0.get_11rb$(key)) == null || Kotlin.isType(tmp$, Triple) ? tmp$ : throwCCE(); }; DITreeImpl.$metadata$ = {kind: Kind_CLASS, simpleName: 'DITreeImpl', interfaces: [DITree]}; function toProvider$lambda_3(closure$arg, this$toProvider) { return function () { return this$toProvider(closure$arg()); }; } function DirectDIBaseImpl(container, context) { this.container_ek7exy$_0 = container; this.context = context; } Object.defineProperty(DirectDIBaseImpl.prototype, 'container', {get: function () { return this.container_ek7exy$_0; }}); Object.defineProperty(DirectDIBaseImpl.prototype, 'directDI', {configurable: true, get: function () { return this; }}); Object.defineProperty(DirectDIBaseImpl.prototype, 'lazy', {configurable: true, get: function () { var tmp$; return On(new DIImpl(Kotlin.isType(tmp$ = this.container, DIContainerImpl) ? tmp$ : throwCCE()), this.context); }}); DirectDIBaseImpl.prototype.On_agur4l$ = function (context) { return new DirectDIImpl(this.container, context); }; DirectDIBaseImpl.prototype.Factory_61z0e$$default = function (argType, type, tag) { var tmp$; return this.container.factory_dht9zw$(new DI$Key(Kotlin.isType(tmp$ = this.context.type, TypeToken) ? tmp$ : throwCCE(), argType, type, tag), this.context.value); }; DirectDIBaseImpl.prototype.FactoryOrNull_61z0e$$default = function (argType, type, tag) { var tmp$; return this.container.factoryOrNull_dht9zw$(new DI$Key(Kotlin.isType(tmp$ = this.context.type, TypeToken) ? tmp$ : throwCCE(), argType, type, tag), this.context.value); }; DirectDIBaseImpl.prototype.Provider_ohrpre$$default = function (type, tag) { var tmp$; return this.container.provider_ag9259$(new DI$Key(Kotlin.isType(tmp$ = this.context.type, TypeToken) ? tmp$ : throwCCE(), TypeToken.Companion.Unit, type, tag), this.context.value); }; DirectDIBaseImpl.prototype.Provider_aqo1vk$$default = function (argType, type, tag, arg) { var tmp$; return toProvider$lambda_3(arg, this.container.factory_dht9zw$(new DI$Key(Kotlin.isType(tmp$ = this.context.type, TypeToken) ? tmp$ : throwCCE(), argType, type, tag), this.context.value)); }; DirectDIBaseImpl.prototype.ProviderOrNull_ohrpre$$default = function (type, tag) { var tmp$; return this.container.providerOrNull_ag9259$(new DI$Key(Kotlin.isType(tmp$ = this.context.type, TypeToken) ? tmp$ : throwCCE(), TypeToken.Companion.Unit, type, tag), this.context.value); }; DirectDIBaseImpl.prototype.ProviderOrNull_aqo1vk$$default = function (argType, type, tag, arg) { var tmp$; var tmp$_0; return (tmp$ = this.container.factoryOrNull_dht9zw$(new DI$Key(Kotlin.isType(tmp$_0 = this.context.type, TypeToken) ? tmp$_0 : throwCCE(), argType, type, tag), this.context.value)) != null ? toProvider$lambda_3(arg, tmp$) : null; }; DirectDIBaseImpl.prototype.Instance_ohrpre$$default = function (type, tag) { var tmp$; return this.container.provider_ag9259$(new DI$Key(Kotlin.isType(tmp$ = this.context.type, TypeToken) ? tmp$ : throwCCE(), TypeToken.Companion.Unit, type, tag), this.context.value)(); }; DirectDIBaseImpl.prototype.Instance_331fb8$$default = function (argType, type, tag, arg) { var tmp$; return this.container.factory_dht9zw$(new DI$Key(Kotlin.isType(tmp$ = this.context.type, TypeToken) ? tmp$ : throwCCE(), argType, type, tag), this.context.value)(arg); }; DirectDIBaseImpl.prototype.InstanceOrNull_ohrpre$$default = function (type, tag) { var tmp$; var tmp$_0; return (tmp$ = this.container.providerOrNull_ag9259$(new DI$Key(Kotlin.isType(tmp$_0 = this.context.type, TypeToken) ? tmp$_0 : throwCCE(), TypeToken.Companion.Unit, type, tag), this.context.value)) != null ? tmp$() : null; }; DirectDIBaseImpl.prototype.InstanceOrNull_331fb8$$default = function (argType, type, tag, arg) { var tmp$; var tmp$_0; return (tmp$ = this.container.factoryOrNull_dht9zw$(new DI$Key(Kotlin.isType(tmp$_0 = this.context.type, TypeToken) ? tmp$_0 : throwCCE(), argType, type, tag), this.context.value)) != null ? tmp$(arg) : null; }; DirectDIBaseImpl.$metadata$ = {kind: Kind_CLASS, simpleName: 'DirectDIBaseImpl', interfaces: [DirectDI]}; function LateInitDI() { this._baseDI_7zn6nd$_0 = this._baseDI_7zn6nd$_0; } function LazyDI(f) { this.baseDI_vnnl4y$_0 = lazy(f); } Object.defineProperty(LazyDI.prototype, 'baseDI', {configurable: true, get: function () { return this.baseDI_vnnl4y$_0.value; }}); Object.defineProperty(LazyDI.prototype, 'container', {configurable: true, get: function () { return this.baseDI.container; }}); LazyDI.prototype.getValue_n5byny$ = function (thisRef, property) { return this; }; LazyDI.$metadata$ = {kind: Kind_CLASS, simpleName: 'LazyDI', interfaces: [DI]}; function LazyDelegate() { } LazyDelegate.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'LazyDelegate', interfaces: []}; function DIProperty(trigger, originalContext, get) { this.trigger_8be2vx$ = trigger; this.originalContext = originalContext; this.get_0 = get; } function DIProperty$provideDelegate$lambda(closure$receiver, this$DIProperty, closure$prop) { return function () { var tmp$, tmp$_0; if (closure$receiver != null && this$DIProperty.originalContext === get_AnyDIContext()) { tmp$_0 = DIContext$Companion_getInstance().invoke_np530x$(Kotlin.isType(tmp$ = erasedOf(closure$receiver), TypeToken) ? tmp$ : throwCCE(), closure$receiver); } else { tmp$_0 = this$DIProperty.originalContext; } var context = tmp$_0; return this$DIProperty.get_0(context, closure$prop.callableName); }; } DIProperty.prototype.provideDelegate_tpuvb9$ = function (receiver, prop) { var $receiver = lazy(DIProperty$provideDelegate$lambda(receiver, this, prop)); var tmp$, tmp$_0; (tmp$_0 = (tmp$ = this.trigger_8be2vx$) != null ? tmp$.properties : null) != null ? tmp$_0.add_11rb$($receiver) : null; return $receiver; }; DIProperty.$metadata$ = {kind: Kind_CLASS, simpleName: 'DIProperty', interfaces: [LazyDelegate]}; function DirectDI() { } DirectDI.$metadata$ = {kind: Kind_INTERFACE, simpleName: 'DirectDI', interfaces: [DirectDIBase]}; function DirectDIImpl(container, context) { DirectDIBaseImpl.call(this, container, context); } DirectDIImpl.$metadata$ = {kind: Kind_CLASS, simpleName: 'DirectDIImpl', interfaces: [DirectDIBaseImpl, DirectDI]}; function ensureNeverFrozen($receiver) { } function newConcurrentMap() { return HashMap_init(); } function newLinkedList() { return ArrayList_init(); } function newLinkedList_0(c) { return ArrayList_init_1(c); } var package$org = _.org || (_.org = {}); var package$kodein = package$org.kodein || (package$org.kodein = {}); var package$di = package$kodein.di || (package$kodein.di = {}); package$di.DIDefining = DIDefining; package$di.DIDefinition = DIDefinition; package$di.description_ltdpd2$ = description; package$di.fullDescription_ltdpd2$ = fullDescription; package$di.CopySpecs = CopySpecs; Object.defineProperty(Copy, 'All', {get: Copy$All_getInstance}); Object.defineProperty(Copy, 'None', {get: Copy$None_getInstance}); Object.defineProperty(Copy, 'NonCached', {get: Copy$NonCached_getInstance}); Object.defineProperty(Copy, 'Companion', {get: Copy$Companion_getInstance}); Copy$BaseDSL.Sentence = Copy$BaseDSL$Sentence; Copy.BaseDSL = Copy$BaseDSL; Copy.DSL = Copy$DSL; Copy.AllButDSL = Copy$AllButDSL; package$di.Copy = Copy; DI.DependencyLoopException = DI$DependencyLoopException; DI.NotFoundException = DI$NotFoundException; DI.NoResultException = DI$NoResultException; DI.OverridingException = DI$OverridingException; DI.Key = DI$Key; DI.DIDsl = DI$DIDsl; DI$BindBuilder.ImplWithContext = DI$BindBuilder$ImplWithContext; DI$BindBuilder.WithScope = DI$BindBuilder$WithScope; DI$BindBuilder.ImplWithScope = DI$BindBuilder$ImplWithScope; DI.BindBuilder = DI$BindBuilder; DI$Builder.TypeBinder = DI$Builder$TypeBinder; DI$Builder.DirectBinder = DI$Builder$DirectBinder; DI$Builder.ConstantBinder = DI$Builder$ConstantBinder; DI.Builder = DI$Builder; DI.MainBuilder = DI$MainBuilder; DI.Module_init_5huf8b$ = DI$DI$Module_init; DI.Module = DI$Module; Object.defineProperty(DI, 'Companion', {get: DI$Companion_getInstance}); package$di.DI = DI; DIContext.Value = DIContext$Value; DIContext.Lazy = DIContext$Lazy; Object.defineProperty(DIContext, 'Companion', {get: DIContext$Companion_getInstance}); package$di.DIContext = DIContext; $$importsForInline$$['Kodein-Type-kodein-type'] = $module$Kodein_Type_kodein_type; Object.defineProperty(package$di, 'AnyDIContext_8be2vx$', {get: get_AnyDIContext}); package$di.DIAware = DIAware; package$di.Instance_l95o76$ = Instance; package$di.InstanceOrNull_l95o76$ = InstanceOrNull; package$di.get_direct_utb36t$ = get_direct; package$di.On_e2mfxv$ = On; package$di.SearchDSL = SearchDSL; DIContainer.Builder = DIContainer$Builder; package$di.DIContainer = DIContainer; package$di.DITree = DITree; package$di.DirectDIAware = DirectDIAware; package$di.DirectDIBase = DirectDIBase; Object.defineProperty(SearchSpecs, 'NoDefinedTag', {get: SearchSpecs$NoDefinedTag_getInstance}); package$di.SearchSpecs = SearchSpecs; Object.defineProperty(SearchDSL$Spec, 'Companion', {get: SearchDSL$Spec$Companion_getInstance}); SearchDSL.Spec = SearchDSL$Spec; SearchDSL.Binding = SearchDSL$Binding; var package$bindings = package$di.bindings || (package$di.bindings = {}); package$bindings.WithContext = WithContext; package$bindings.BindingDI = BindingDI; Object.defineProperty(package$bindings, 'ErasedContext', {get: ErasedContext_getInstance}); package$bindings.NoArgBindingDI = NoArgBindingDI; package$bindings.NoArgBindingDIWrap = NoArgBindingDIWrap; package$bindings.Binding = Binding; Object.defineProperty(DIBinding$Copier, 'Companion', {get: DIBinding$Copier$Companion_getInstance}); DIBinding.Copier = DIBinding$Copier; package$bindings.DIBinding = DIBinding; package$bindings.NoArgDIBinding = NoArgDIBinding; package$bindings.Reference = Reference; package$bindings.RefMaker = RefMaker; Object.defineProperty(package$bindings, 'SingletonReference', {get: SingletonReference_getInstance}); package$bindings.ScopeCloseable = ScopeCloseable; package$bindings.ScopeRegistry = ScopeRegistry; package$bindings.StandardScopeRegistry = StandardScopeRegistry; package$bindings.ContextTranslator = ContextTranslator; package$bindings.SimpleContextTranslator = SimpleContextTranslator; package$bindings.toKContext_7e143j$ = toKContext; package$bindings.CompositeContextTranslator = CompositeContextTranslator; package$bindings.Scope = Scope; package$bindings.NoScope = NoScope; package$bindings.BaseMultiBinding = BaseMultiBinding; package$bindings.SetBinding = SetBinding; package$bindings.Factory = Factory_0; package$bindings.Multiton = Multiton; package$bindings.Provider = Provider_1; package$bindings.Singleton = Singleton; package$bindings.EagerSingleton = EagerSingleton; package$bindings.InstanceBinding = InstanceBinding; DIBuilderImpl.TypeBinder = DIBuilderImpl$TypeBinder; DIBuilderImpl.DirectBinder = DIBuilderImpl$DirectBinder; DIBuilderImpl.ConstantBinder = DIBuilderImpl$ConstantBinder; var package$internal = package$di.internal || (package$di.internal = {}); package$internal.DIBuilderImpl = DIBuilderImpl; package$internal.DIMainBuilderImpl = DIMainBuilderImpl; package$internal.DIContainerBuilderImpl = DIContainerBuilderImpl; package$internal.DIContainerImpl_init_esntqj$ = DIContainerImpl_init; package$internal.DIContainerImpl = DIContainerImpl; Object.defineProperty(DIImpl, 'Companion', {get: DIImpl$Companion_getInstance}); package$internal.DIImpl_init_ys71a$ = DIImpl_init_0; package$internal.DIImpl = DIImpl; package$internal.BindingDIImpl = BindingDIImpl; package$internal.DITreeImpl = DITreeImpl; package$internal.DirectDIBaseImpl = DirectDIBaseImpl; package$di.LateInitDI = LateInitDI; package$di.LazyDI = LazyDI; package$di.LazyDelegate = LazyDelegate; package$di.DIProperty = DIProperty; package$di.DirectDI = DirectDI; package$internal.DirectDIImpl = DirectDIImpl; package$internal.ensureNeverFrozen_irb06o$ = ensureNeverFrozen; package$internal.newConcurrentMap_3w54xu$ = newConcurrentMap; package$internal.newLinkedList_tnbmyv$ = newLinkedList; package$internal.newLinkedList_5x7s3c$ = newLinkedList_0; DI$MainBuilder.prototype.Bind_m0ro4c$ = DI$Builder.prototype.Bind_m0ro4c$; DI$MainBuilder.prototype.Bind_exja01$ = DI$Builder.prototype.Bind_exja01$; DI$MainBuilder.prototype.Bind_b6zv6g$ = DI$Builder.prototype.Bind_b6zv6g$; DI$MainBuilder.prototype.BindSet_m0ro4c$ = DI$Builder.prototype.BindSet_m0ro4c$; DI$MainBuilder.prototype.constant_obdoaf$ = DI$Builder.prototype.constant_obdoaf$; DI$MainBuilder.prototype.import_dwjwn5$ = DI$Builder.prototype.import_dwjwn5$; DI$MainBuilder.prototype.importAll_lbhl2u$ = DI$Builder.prototype.importAll_lbhl2u$; DI$MainBuilder.prototype.importAll_k7it48$ = DI$Builder.prototype.importAll_k7it48$; DI$MainBuilder.prototype.importOnce_dwjwn5$ = DI$Builder.prototype.importOnce_dwjwn5$; Object.defineProperty(DI.prototype, 'diContext', Object.getOwnPropertyDescriptor(DIAware.prototype, 'diContext')); Object.defineProperty(DI.prototype, 'diTrigger', Object.getOwnPropertyDescriptor(DIAware.prototype, 'diTrigger')); Object.defineProperty(DirectDI.prototype, 'di', Object.getOwnPropertyDescriptor(DirectDIBase.prototype, 'di')); DirectDI.prototype.Factory_61z0e$ = DirectDIBase.prototype.Factory_61z0e$; DirectDI.prototype.FactoryOrNull_61z0e$ = DirectDIBase.prototype.FactoryOrNull_61z0e$; DirectDI.prototype.Provider_ohrpre$ = DirectDIBase.prototype.Provider_ohrpre$; DirectDI.prototype.Provider_aqo1vk$ = DirectDIBase.prototype.Provider_aqo1vk$; DirectDI.prototype.ProviderOrNull_ohrpre$ = DirectDIBase.prototype.ProviderOrNull_ohrpre$; DirectDI.prototype.ProviderOrNull_aqo1vk$ = DirectDIBase.prototype.ProviderOrNull_aqo1vk$; DirectDI.prototype.Instance_ohrpre$ = DirectDIBase.prototype.Instance_ohrpre$; DirectDI.prototype.Instance_331fb8$ = DirectDIBase.prototype.Instance_331fb8$; DirectDI.prototype.InstanceOrNull_ohrpre$ = DirectDIBase.prototype.InstanceOrNull_ohrpre$; DirectDI.prototype.InstanceOrNull_331fb8$ = DirectDIBase.prototype.InstanceOrNull_331fb8$; Object.defineProperty(BindingDI.prototype, 'di', Object.getOwnPropertyDescriptor(DirectDI.prototype, 'di')); BindingDI.prototype.Factory_61z0e$ = DirectDI.prototype.Factory_61z0e$; BindingDI.prototype.FactoryOrNull_61z0e$ = DirectDI.prototype.FactoryOrNull_61z0e$; BindingDI.prototype.Provider_ohrpre$ = DirectDI.prototype.Provider_ohrpre$; BindingDI.prototype.Provider_aqo1vk$ = DirectDI.prototype.Provider_aqo1vk$; BindingDI.prototype.ProviderOrNull_ohrpre$ = DirectDI.prototype.ProviderOrNull_ohrpre$; BindingDI.prototype.ProviderOrNull_aqo1vk$ = DirectDI.prototype.ProviderOrNull_aqo1vk$; BindingDI.prototype.Instance_ohrpre$ = DirectDI.prototype.Instance_ohrpre$; BindingDI.prototype.Instance_331fb8$ = DirectDI.prototype.Instance_331fb8$; BindingDI.prototype.InstanceOrNull_ohrpre$ = DirectDI.prototype.InstanceOrNull_ohrpre$; BindingDI.prototype.InstanceOrNull_331fb8$ = DirectDI.prototype.InstanceOrNull_331fb8$; Object.defineProperty(NoArgBindingDI.prototype, 'di', Object.getOwnPropertyDescriptor(DirectDI.prototype, 'di')); NoArgBindingDI.prototype.Factory_61z0e$ = DirectDI.prototype.Factory_61z0e$; NoArgBindingDI.prototype.FactoryOrNull_61z0e$ = DirectDI.prototype.FactoryOrNull_61z0e$; NoArgBindingDI.prototype.Provider_ohrpre$ = DirectDI.prototype.Provider_ohrpre$; NoArgBindingDI.prototype.Provider_aqo1vk$ = DirectDI.prototype.Provider_aqo1vk$; NoArgBindingDI.prototype.ProviderOrNull_ohrpre$ = DirectDI.prototype.ProviderOrNull_ohrpre$; NoArgBindingDI.prototype.ProviderOrNull_aqo1vk$ = DirectDI.prototype.ProviderOrNull_aqo1vk$; NoArgBindingDI.prototype.Instance_ohrpre$ = DirectDI.prototype.Instance_ohrpre$; NoArgBindingDI.prototype.Instance_331fb8$ = DirectDI.prototype.Instance_331fb8$; NoArgBindingDI.prototype.InstanceOrNull_ohrpre$ = DirectDI.prototype.InstanceOrNull_ohrpre$; NoArgBindingDI.prototype.InstanceOrNull_331fb8$ = DirectDI.prototype.InstanceOrNull_331fb8$; NoArgBindingDIWrap.prototype.Factory_61z0e$ = NoArgBindingDI.prototype.Factory_61z0e$; NoArgBindingDIWrap.prototype.FactoryOrNull_61z0e$ = NoArgBindingDI.prototype.FactoryOrNull_61z0e$; NoArgBindingDIWrap.prototype.Provider_ohrpre$ = NoArgBindingDI.prototype.Provider_ohrpre$; NoArgBindingDIWrap.prototype.Provider_aqo1vk$ = NoArgBindingDI.prototype.Provider_aqo1vk$; NoArgBindingDIWrap.prototype.ProviderOrNull_ohrpre$ = NoArgBindingDI.prototype.ProviderOrNull_ohrpre$; NoArgBindingDIWrap.prototype.ProviderOrNull_aqo1vk$ = NoArgBindingDI.prototype.ProviderOrNull_aqo1vk$; NoArgBindingDIWrap.prototype.Instance_ohrpre$ = NoArgBindingDI.prototype.Instance_ohrpre$; NoArgBindingDIWrap.prototype.Instance_331fb8$ = NoArgBindingDI.prototype.Instance_331fb8$; NoArgBindingDIWrap.prototype.InstanceOrNull_ohrpre$ = NoArgBindingDI.prototype.InstanceOrNull_ohrpre$; NoArgBindingDIWrap.prototype.InstanceOrNull_331fb8$ = NoArgBindingDI.prototype.InstanceOrNull_331fb8$; NoArgDIBinding.prototype.factoryFullName = DIBinding.prototype.factoryFullName; Object.defineProperty(NoArgDIBinding.prototype, 'scope', Object.getOwnPropertyDescriptor(DIBinding.prototype, 'scope')); Object.defineProperty(NoArgDIBinding.prototype, 'description', Object.getOwnPropertyDescriptor(DIBinding.prototype, 'description')); Object.defineProperty(NoArgDIBinding.prototype, 'fullDescription', Object.getOwnPropertyDescriptor(DIBinding.prototype, 'fullDescription')); Object.defineProperty(NoArgDIBinding.prototype, 'copier', Object.getOwnPropertyDescriptor(DIBinding.prototype, 'copier')); Object.defineProperty(NoArgDIBinding.prototype, 'supportSubTypes', Object.getOwnPropertyDescriptor(DIBinding.prototype, 'supportSubTypes')); BaseMultiBinding.prototype.factoryFullName = DIBinding.prototype.factoryFullName; Object.defineProperty(BaseMultiBinding.prototype, 'scope', Object.getOwnPropertyDescriptor(DIBinding.prototype, 'scope')); Object.defineProperty(BaseMultiBinding.prototype, 'description', Object.getOwnPropertyDescriptor(DIBinding.prototype, 'description')); Object.defineProperty(BaseMultiBinding.prototype, 'fullDescription', Object.getOwnPropertyDescriptor(DIBinding.prototype, 'fullDescription')); Object.defineProperty(BaseMultiBinding.prototype, 'copier', Object.getOwnPropertyDescriptor(DIBinding.prototype, 'copier')); Object.defineProperty(BaseMultiBinding.prototype, 'supportSubTypes', Object.getOwnPropertyDescriptor(DIBinding.prototype, 'supportSubTypes')); SetBindingDI.prototype.Factory_61z0e$ = BindingDI.prototype.Factory_61z0e$; SetBindingDI.prototype.FactoryOrNull_61z0e$ = BindingDI.prototype.FactoryOrNull_61z0e$; SetBindingDI.prototype.Provider_ohrpre$ = BindingDI.prototype.Provider_ohrpre$; SetBindingDI.prototype.Provider_aqo1vk$ = BindingDI.prototype.Provider_aqo1vk$; SetBindingDI.prototype.ProviderOrNull_aqo1vk$ = BindingDI.prototype.ProviderOrNull_aqo1vk$; SetBindingDI.prototype.ProviderOrNull_ohrpre$ = BindingDI.prototype.ProviderOrNull_ohrpre$; SetBindingDI.prototype.Instance_ohrpre$ = BindingDI.prototype.Instance_ohrpre$; SetBindingDI.prototype.Instance_331fb8$ = BindingDI.prototype.Instance_331fb8$; SetBindingDI.prototype.InstanceOrNull_ohrpre$ = BindingDI.prototype.InstanceOrNull_ohrpre$; SetBindingDI.prototype.InstanceOrNull_331fb8$ = BindingDI.prototype.InstanceOrNull_331fb8$; Object.defineProperty(SetBinding.prototype, 'argType', Object.getOwnPropertyDescriptor(NoArgDIBinding.prototype, 'argType')); SetBinding.prototype.factoryFullName = NoArgDIBinding.prototype.factoryFullName; Object.defineProperty(SetBinding.prototype, 'scope', Object.getOwnPropertyDescriptor(NoArgDIBinding.prototype, 'scope')); Object.defineProperty(SetBinding.prototype, 'description', Object.getOwnPropertyDescriptor(NoArgDIBinding.prototype, 'description')); Object.defineProperty(SetBinding.prototype, 'fullDescription', Object.getOwnPropertyDescriptor(NoArgDIBinding.prototype, 'fullDescription')); Object.defineProperty(SetBinding.prototype, 'supportSubTypes', Object.getOwnPropertyDescriptor(NoArgDIBinding.prototype, 'supportSubTypes')); Factory_0.prototype.factoryFullName = DIBinding.prototype.factoryFullName; Object.defineProperty(Factory_0.prototype, 'scope', Object.getOwnPropertyDescriptor(DIBinding.prototype, 'scope')); Object.defineProperty(Factory_0.prototype, 'description', Object.getOwnPropertyDescriptor(DIBinding.prototype, 'description')); Object.defineProperty(Factory_0.prototype, 'fullDescription', Object.getOwnPropertyDescriptor(DIBinding.prototype, 'fullDescription')); Object.defineProperty(Factory_0.prototype, 'copier', Object.getOwnPropertyDescriptor(DIBinding.prototype, 'copier')); Object.defineProperty(Factory_0.prototype, 'supportSubTypes', Object.getOwnPropertyDescriptor(DIBinding.prototype, 'supportSubTypes')); Object.defineProperty(Multiton.prototype, 'description', Object.getOwnPropertyDescriptor(DIBinding.prototype, 'description')); Object.defineProperty(Multiton.prototype, 'fullDescription', Object.getOwnPropertyDescriptor(DIBinding.prototype, 'fullDescription')); Object.defineProperty(Multiton.prototype, 'supportSubTypes', Object.getOwnPropertyDescriptor(DIBinding.prototype, 'supportSubTypes')); Object.defineProperty(Provider_1.prototype, 'argType', Object.getOwnPropertyDescriptor(NoArgDIBinding.prototype, 'argType')); Provider_1.prototype.factoryFullName = NoArgDIBinding.prototype.factoryFullName; Object.defineProperty(Provider_1.prototype, 'scope', Object.getOwnPropertyDescriptor(NoArgDIBinding.prototype, 'scope')); Object.defineProperty(Provider_1.prototype, 'description', Object.getOwnPropertyDescriptor(NoArgDIBinding.prototype, 'description')); Object.defineProperty(Provider_1.prototype, 'fullDescription', Object.getOwnPropertyDescriptor(NoArgDIBinding.prototype, 'fullDescription')); Object.defineProperty(Provider_1.prototype, 'copier', Object.getOwnPropertyDescriptor(NoArgDIBinding.prototype, 'copier')); Object.defineProperty(Provider_1.prototype, 'supportSubTypes', Object.getOwnPropertyDescriptor(NoArgDIBinding.prototype, 'supportSubTypes')); Object.defineProperty(Singleton.prototype, 'argType', Object.getOwnPropertyDescriptor(NoArgDIBinding.prototype, 'argType')); Object.defineProperty(Singleton.prototype, 'description', Object.getOwnPropertyDescriptor(NoArgDIBinding.prototype, 'description')); Object.defineProperty(Singleton.prototype, 'fullDescription', Object.getOwnPropertyDescriptor(NoArgDIBinding.prototype, 'fullDescription')); Object.defineProperty(Singleton.prototype, 'supportSubTypes', Object.getOwnPropertyDescriptor(NoArgDIBinding.prototype, 'supportSubTypes')); Object.defineProperty(EagerSingleton.prototype, 'argType', Object.getOwnPropertyDescriptor(NoArgDIBinding.prototype, 'argType')); EagerSingleton.prototype.factoryFullName = NoArgDIBinding.prototype.factoryFullName; Object.defineProperty(EagerSingleton.prototype, 'scope', Object.getOwnPropertyDescriptor(NoArgDIBinding.prototype, 'scope')); Object.defineProperty(EagerSingleton.prototype, 'description', Object.getOwnPropertyDescriptor(NoArgDIBinding.prototype, 'description')); Object.defineProperty(EagerSingleton.prototype, 'fullDescription', Object.getOwnPropertyDescriptor(NoArgDIBinding.prototype, 'fullDescription')); Object.defineProperty(EagerSingleton.prototype, 'supportSubTypes', Object.getOwnPropertyDescriptor(NoArgDIBinding.prototype, 'supportSubTypes')); Object.defineProperty(InstanceBinding.prototype, 'argType', Object.getOwnPropertyDescriptor(NoArgDIBinding.prototype, 'argType')); InstanceBinding.prototype.factoryFullName = NoArgDIBinding.prototype.factoryFullName; Object.defineProperty(InstanceBinding.prototype, 'scope', Object.getOwnPropertyDescriptor(NoArgDIBinding.prototype, 'scope')); Object.defineProperty(InstanceBinding.prototype, 'copier', Object.getOwnPropertyDescriptor(NoArgDIBinding.prototype, 'copier')); Object.defineProperty(InstanceBinding.prototype, 'supportSubTypes', Object.getOwnPropertyDescriptor(NoArgDIBinding.prototype, 'supportSubTypes')); DIBuilderImpl.prototype.Bind_exja01$ = DI$Builder.prototype.Bind_exja01$; DIBuilderImpl.prototype.Bind_m0ro4c$ = DI$Builder.prototype.Bind_m0ro4c$; DIBuilderImpl.prototype.Bind_b6zv6g$ = DI$Builder.prototype.Bind_b6zv6g$; DIBuilderImpl.prototype.BindSet_m0ro4c$ = DI$Builder.prototype.BindSet_m0ro4c$; DIBuilderImpl.prototype.constant_obdoaf$ = DI$Builder.prototype.constant_obdoaf$; DIBuilderImpl.prototype.import_dwjwn5$ = DI$Builder.prototype.import_dwjwn5$; DIBuilderImpl.prototype.importAll_k7it48$ = DI$Builder.prototype.importAll_k7it48$; DIBuilderImpl.prototype.importAll_lbhl2u$ = DI$Builder.prototype.importAll_lbhl2u$; DIBuilderImpl.prototype.importOnce_dwjwn5$ = DI$Builder.prototype.importOnce_dwjwn5$; DIMainBuilderImpl.prototype.extend_nltjgj$ = DI$MainBuilder.prototype.extend_nltjgj$; DIMainBuilderImpl.prototype.extend_lto1om$ = DI$MainBuilder.prototype.extend_lto1om$; DIContainerBuilderImpl.prototype.bind_qpmgza$ = DIContainer$Builder.prototype.bind_qpmgza$; DIContainerBuilderImpl.prototype.extend_5tbdl8$ = DIContainer$Builder.prototype.extend_5tbdl8$; DIContainerBuilderImpl.prototype.subBuilder_dqye30$ = DIContainer$Builder.prototype.subBuilder_dqye30$; DIContainerImpl.prototype.provider_ag9259$$default = DIContainer.prototype.provider_ag9259$$default; DIContainerImpl.prototype.providerOrNull_ag9259$$default = DIContainer.prototype.providerOrNull_ag9259$$default; DIContainerImpl.prototype.allProviders_ag9259$$default = DIContainer.prototype.allProviders_ag9259$$default; DIContainerImpl.prototype.factoryOrNull_dht9zw$ = DIContainer.prototype.factoryOrNull_dht9zw$; DIContainerImpl.prototype.factory_dht9zw$ = DIContainer.prototype.factory_dht9zw$; DIContainerImpl.prototype.allFactories_dht9zw$ = DIContainer.prototype.allFactories_dht9zw$; DIContainerImpl.prototype.provider_ag9259$ = DIContainer.prototype.provider_ag9259$; DIContainerImpl.prototype.providerOrNull_ag9259$ = DIContainer.prototype.providerOrNull_ag9259$; DIContainerImpl.prototype.allProviders_ag9259$ = DIContainer.prototype.allProviders_ag9259$; Object.defineProperty(DIImpl.prototype, 'di', Object.getOwnPropertyDescriptor(DI.prototype, 'di')); Object.defineProperty(DIImpl.prototype, 'diContext', Object.getOwnPropertyDescriptor(DI.prototype, 'diContext')); Object.defineProperty(DIImpl.prototype, 'diTrigger', Object.getOwnPropertyDescriptor(DI.prototype, 'diTrigger')); BindingDIImpl.prototype.Factory_61z0e$ = DirectDI.prototype.Factory_61z0e$; BindingDIImpl.prototype.FactoryOrNull_61z0e$ = DirectDI.prototype.FactoryOrNull_61z0e$; BindingDIImpl.prototype.Provider_ohrpre$ = DirectDI.prototype.Provider_ohrpre$; BindingDIImpl.prototype.Provider_aqo1vk$ = DirectDI.prototype.Provider_aqo1vk$; BindingDIImpl.prototype.ProviderOrNull_ohrpre$ = DirectDI.prototype.ProviderOrNull_ohrpre$; BindingDIImpl.prototype.ProviderOrNull_aqo1vk$ = DirectDI.prototype.ProviderOrNull_aqo1vk$; BindingDIImpl.prototype.Instance_331fb8$ = DirectDI.prototype.Instance_331fb8$; BindingDIImpl.prototype.Instance_ohrpre$ = DirectDI.prototype.Instance_ohrpre$; BindingDIImpl.prototype.InstanceOrNull_331fb8$ = DirectDI.prototype.InstanceOrNull_331fb8$; BindingDIImpl.prototype.InstanceOrNull_ohrpre$ = DirectDI.prototype.InstanceOrNull_ohrpre$; DITreeImpl.prototype.find_9mbcap$ = DITree.prototype.find_9mbcap$; Object.defineProperty(DirectDIBaseImpl.prototype, 'di', Object.getOwnPropertyDescriptor(DirectDI.prototype, 'di')); DirectDIBaseImpl.prototype.Factory_61z0e$ = DirectDI.prototype.Factory_61z0e$; DirectDIBaseImpl.prototype.FactoryOrNull_61z0e$ = DirectDI.prototype.FactoryOrNull_61z0e$; DirectDIBaseImpl.prototype.Provider_ohrpre$ = DirectDI.prototype.Provider_ohrpre$; DirectDIBaseImpl.prototype.Provider_aqo1vk$ = DirectDI.prototype.Provider_aqo1vk$; DirectDIBaseImpl.prototype.ProviderOrNull_ohrpre$ = DirectDI.prototype.ProviderOrNull_ohrpre$; DirectDIBaseImpl.prototype.ProviderOrNull_aqo1vk$ = DirectDI.prototype.ProviderOrNull_aqo1vk$; DirectDIBaseImpl.prototype.Instance_ohrpre$ = DirectDI.prototype.Instance_ohrpre$; DirectDIBaseImpl.prototype.Instance_331fb8$ = DirectDI.prototype.Instance_331fb8$; DirectDIBaseImpl.prototype.InstanceOrNull_ohrpre$ = DirectDI.prototype.InstanceOrNull_ohrpre$; DirectDIBaseImpl.prototype.InstanceOrNull_331fb8$ = DirectDI.prototype.InstanceOrNull_331fb8$; Object.defineProperty(LateInitDI.prototype, 'di', Object.getOwnPropertyDescriptor(DI.prototype, 'di')); Object.defineProperty(LateInitDI.prototype, 'diContext', Object.getOwnPropertyDescriptor(DI.prototype, 'diContext')); Object.defineProperty(LateInitDI.prototype, 'diTrigger', Object.getOwnPropertyDescriptor(DI.prototype, 'diTrigger')); Object.defineProperty(LazyDI.prototype, 'di', Object.getOwnPropertyDescriptor(DI.prototype, 'di')); Object.defineProperty(LazyDI.prototype, 'diContext', Object.getOwnPropertyDescriptor(DI.prototype, 'diContext')); Object.defineProperty(LazyDI.prototype, 'diTrigger', Object.getOwnPropertyDescriptor(DI.prototype, 'diTrigger')); return _; })); //# sourceMappingURL=Kodein-DI-kodein-di.js.map