package com.unity3d.services.core.di; import c9.a; import c9.l; import com.google.android.gms.ads.RequestConfiguration; import com.unity3d.services.core.domain.ISDKDispatchers; import com.unity3d.services.core.domain.task.InitializeSDK; import com.unity3d.services.core.domain.task.InitializeStateComplete; import com.unity3d.services.core.domain.task.InitializeStateConfig; import com.unity3d.services.core.domain.task.InitializeStateConfigWithLoader; import com.unity3d.services.core.domain.task.InitializeStateCreate; import com.unity3d.services.core.domain.task.InitializeStateCreateWithRemote; import com.unity3d.services.core.domain.task.InitializeStateError; import com.unity3d.services.core.domain.task.InitializeStateInitModules; import com.unity3d.services.core.domain.task.InitializeStateLoadCache; import com.unity3d.services.core.domain.task.InitializeStateLoadConfigFile; import com.unity3d.services.core.domain.task.InitializeStateLoadWeb; import com.unity3d.services.core.domain.task.InitializeStateNetworkError; import com.unity3d.services.core.domain.task.InitializeStateReset; import d9.j; import d9.k; import d9.r; import k9.h0; import k9.k0; import s8.g; import s8.i; import s8.v; /* loaded from: classes2.dex */ final class ServiceProvider$initialize$1 extends k implements l { public static final ServiceProvider$initialize$1 INSTANCE = new ServiceProvider$initialize$1(); /* renamed from: com.unity3d.services.core.di.ServiceProvider$initialize$1$1, reason: invalid class name */ static final class AnonymousClass1 extends k implements a { public static final AnonymousClass1 INSTANCE = new AnonymousClass1(); AnonymousClass1() { super(0); } @Override // c9.a public final ISDKDispatchers invoke() { ISDKDispatchers provideSDKDispatchers; provideSDKDispatchers = ServiceProvider.INSTANCE.provideSDKDispatchers(); return provideSDKDispatchers; } } /* renamed from: com.unity3d.services.core.di.ServiceProvider$initialize$1$10, reason: invalid class name */ static final class AnonymousClass10 extends k implements a { final /* synthetic */ ServicesRegistry $this_registry; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ AnonymousClass10(ServicesRegistry servicesRegistry) { super(0); this.$this_registry = servicesRegistry; } @Override // c9.a public final InitializeStateConfig invoke() { return new InitializeStateConfig((ISDKDispatchers) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(ISDKDispatchers.class))), (InitializeStateConfigWithLoader) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(InitializeStateConfigWithLoader.class)))); } } /* renamed from: com.unity3d.services.core.di.ServiceProvider$initialize$1$11, reason: invalid class name */ static final class AnonymousClass11 extends k implements a { final /* synthetic */ ServicesRegistry $this_registry; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ AnonymousClass11(ServicesRegistry servicesRegistry) { super(0); this.$this_registry = servicesRegistry; } @Override // c9.a public final InitializeStateCreate invoke() { return new InitializeStateCreate((ISDKDispatchers) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(ISDKDispatchers.class)))); } } /* renamed from: com.unity3d.services.core.di.ServiceProvider$initialize$1$12, reason: invalid class name */ static final class AnonymousClass12 extends k implements a { final /* synthetic */ ServicesRegistry $this_registry; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ AnonymousClass12(ServicesRegistry servicesRegistry) { super(0); this.$this_registry = servicesRegistry; } @Override // c9.a public final InitializeStateLoadCache invoke() { return new InitializeStateLoadCache((ISDKDispatchers) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(ISDKDispatchers.class)))); } } /* renamed from: com.unity3d.services.core.di.ServiceProvider$initialize$1$13, reason: invalid class name */ static final class AnonymousClass13 extends k implements a { final /* synthetic */ ServicesRegistry $this_registry; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ AnonymousClass13(ServicesRegistry servicesRegistry) { super(0); this.$this_registry = servicesRegistry; } @Override // c9.a public final InitializeStateCreateWithRemote invoke() { return new InitializeStateCreateWithRemote((ISDKDispatchers) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(ISDKDispatchers.class)))); } } /* renamed from: com.unity3d.services.core.di.ServiceProvider$initialize$1$14, reason: invalid class name */ static final class AnonymousClass14 extends k implements a { final /* synthetic */ ServicesRegistry $this_registry; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ AnonymousClass14(ServicesRegistry servicesRegistry) { super(0); this.$this_registry = servicesRegistry; } @Override // c9.a public final InitializeStateLoadWeb invoke() { return new InitializeStateLoadWeb((ISDKDispatchers) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(ISDKDispatchers.class))), (InitializeStateNetworkError) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(InitializeStateNetworkError.class)))); } } /* renamed from: com.unity3d.services.core.di.ServiceProvider$initialize$1$15, reason: invalid class name */ static final class AnonymousClass15 extends k implements a { final /* synthetic */ ServicesRegistry $this_registry; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ AnonymousClass15(ServicesRegistry servicesRegistry) { super(0); this.$this_registry = servicesRegistry; } @Override // c9.a public final InitializeStateComplete invoke() { return new InitializeStateComplete((ISDKDispatchers) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(ISDKDispatchers.class)))); } } /* renamed from: com.unity3d.services.core.di.ServiceProvider$initialize$1$16, reason: invalid class name */ static final class AnonymousClass16 extends k implements a { final /* synthetic */ ServicesRegistry $this_registry; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ AnonymousClass16(ServicesRegistry servicesRegistry) { super(0); this.$this_registry = servicesRegistry; } @Override // c9.a public final InitializeSDK invoke() { return new InitializeSDK((ISDKDispatchers) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(ISDKDispatchers.class))), (InitializeStateLoadConfigFile) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(InitializeStateLoadConfigFile.class))), (InitializeStateReset) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(InitializeStateReset.class))), (InitializeStateError) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(InitializeStateError.class))), (InitializeStateInitModules) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(InitializeStateInitModules.class))), (InitializeStateConfig) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(InitializeStateConfig.class))), (InitializeStateCreate) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(InitializeStateCreate.class))), (InitializeStateLoadCache) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(InitializeStateLoadCache.class))), (InitializeStateCreateWithRemote) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(InitializeStateCreateWithRemote.class))), (InitializeStateLoadWeb) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(InitializeStateLoadWeb.class))), (InitializeStateComplete) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(InitializeStateComplete.class)))); } } /* renamed from: com.unity3d.services.core.di.ServiceProvider$initialize$1$2, reason: invalid class name */ static final class AnonymousClass2 extends k implements a { final /* synthetic */ ServicesRegistry $this_registry; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ AnonymousClass2(ServicesRegistry servicesRegistry) { super(0); this.$this_registry = servicesRegistry; } @Override // c9.a public final h0 invoke() { h0 provideSDKErrorHandler; provideSDKErrorHandler = ServiceProvider.INSTANCE.provideSDKErrorHandler((ISDKDispatchers) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(ISDKDispatchers.class)))); return provideSDKErrorHandler; } } /* renamed from: com.unity3d.services.core.di.ServiceProvider$initialize$1$3, reason: invalid class name */ static final class AnonymousClass3 extends k implements a { final /* synthetic */ ServicesRegistry $this_registry; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ AnonymousClass3(ServicesRegistry servicesRegistry) { super(0); this.$this_registry = servicesRegistry; } @Override // c9.a public final k0 invoke() { k0 provideSDKScope; provideSDKScope = ServiceProvider.INSTANCE.provideSDKScope((ISDKDispatchers) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(ISDKDispatchers.class))), (h0) this.$this_registry.resolveService(new ServiceKey(ServiceProvider.NAMED_SDK, r.a(h0.class)))); return provideSDKScope; } } /* renamed from: com.unity3d.services.core.di.ServiceProvider$initialize$1$4, reason: invalid class name */ static final class AnonymousClass4 extends k implements a { final /* synthetic */ ServicesRegistry $this_registry; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ AnonymousClass4(ServicesRegistry servicesRegistry) { super(0); this.$this_registry = servicesRegistry; } @Override // c9.a public final InitializeStateNetworkError invoke() { return new InitializeStateNetworkError((ISDKDispatchers) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(ISDKDispatchers.class)))); } } /* renamed from: com.unity3d.services.core.di.ServiceProvider$initialize$1$5, reason: invalid class name */ static final class AnonymousClass5 extends k implements a { final /* synthetic */ ServicesRegistry $this_registry; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ AnonymousClass5(ServicesRegistry servicesRegistry) { super(0); this.$this_registry = servicesRegistry; } @Override // c9.a public final InitializeStateLoadConfigFile invoke() { return new InitializeStateLoadConfigFile((ISDKDispatchers) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(ISDKDispatchers.class)))); } } /* renamed from: com.unity3d.services.core.di.ServiceProvider$initialize$1$6, reason: invalid class name */ static final class AnonymousClass6 extends k implements a { final /* synthetic */ ServicesRegistry $this_registry; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ AnonymousClass6(ServicesRegistry servicesRegistry) { super(0); this.$this_registry = servicesRegistry; } @Override // c9.a public final InitializeStateReset invoke() { return new InitializeStateReset((ISDKDispatchers) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(ISDKDispatchers.class)))); } } /* renamed from: com.unity3d.services.core.di.ServiceProvider$initialize$1$7, reason: invalid class name */ static final class AnonymousClass7 extends k implements a { final /* synthetic */ ServicesRegistry $this_registry; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ AnonymousClass7(ServicesRegistry servicesRegistry) { super(0); this.$this_registry = servicesRegistry; } @Override // c9.a public final InitializeStateError invoke() { return new InitializeStateError((ISDKDispatchers) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(ISDKDispatchers.class)))); } } /* renamed from: com.unity3d.services.core.di.ServiceProvider$initialize$1$8, reason: invalid class name */ static final class AnonymousClass8 extends k implements a { final /* synthetic */ ServicesRegistry $this_registry; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ AnonymousClass8(ServicesRegistry servicesRegistry) { super(0); this.$this_registry = servicesRegistry; } @Override // c9.a public final InitializeStateInitModules invoke() { return new InitializeStateInitModules((ISDKDispatchers) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(ISDKDispatchers.class)))); } } /* renamed from: com.unity3d.services.core.di.ServiceProvider$initialize$1$9, reason: invalid class name */ static final class AnonymousClass9 extends k implements a { final /* synthetic */ ServicesRegistry $this_registry; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ AnonymousClass9(ServicesRegistry servicesRegistry) { super(0); this.$this_registry = servicesRegistry; } @Override // c9.a public final InitializeStateConfigWithLoader invoke() { return new InitializeStateConfigWithLoader((ISDKDispatchers) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(ISDKDispatchers.class))), (InitializeStateNetworkError) this.$this_registry.resolveService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(InitializeStateNetworkError.class)))); } } ServiceProvider$initialize$1() { super(1); } @Override // c9.l public /* bridge */ /* synthetic */ Object invoke(Object obj) { invoke((ServicesRegistry) obj); return v.f14109a; } public final void invoke(ServicesRegistry servicesRegistry) { g a10; g a11; g a12; g a13; g a14; g a15; g a16; g a17; g a18; g a19; g a20; g a21; g a22; g a23; g a24; j.e(servicesRegistry, "$receiver"); AnonymousClass1 anonymousClass1 = AnonymousClass1.INSTANCE; ServiceKey serviceKey = new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(ISDKDispatchers.class)); a10 = i.a(anonymousClass1); servicesRegistry.updateService(serviceKey, a10); AnonymousClass2 anonymousClass2 = new AnonymousClass2(servicesRegistry); ServiceKey serviceKey2 = new ServiceKey(ServiceProvider.NAMED_SDK, r.a(h0.class)); a11 = i.a(anonymousClass2); servicesRegistry.updateService(serviceKey2, a11); AnonymousClass3 anonymousClass3 = new AnonymousClass3(servicesRegistry); ServiceKey serviceKey3 = new ServiceKey(ServiceProvider.NAMED_SDK, r.a(k0.class)); a12 = i.a(anonymousClass3); servicesRegistry.updateService(serviceKey3, a12); servicesRegistry.updateService(new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(InitializeStateNetworkError.class)), ServiceFactoryKt.factoryOf(new AnonymousClass4(servicesRegistry))); AnonymousClass5 anonymousClass5 = new AnonymousClass5(servicesRegistry); ServiceKey serviceKey4 = new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(InitializeStateLoadConfigFile.class)); a13 = i.a(anonymousClass5); servicesRegistry.updateService(serviceKey4, a13); AnonymousClass6 anonymousClass6 = new AnonymousClass6(servicesRegistry); ServiceKey serviceKey5 = new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(InitializeStateReset.class)); a14 = i.a(anonymousClass6); servicesRegistry.updateService(serviceKey5, a14); AnonymousClass7 anonymousClass7 = new AnonymousClass7(servicesRegistry); ServiceKey serviceKey6 = new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(InitializeStateError.class)); a15 = i.a(anonymousClass7); servicesRegistry.updateService(serviceKey6, a15); AnonymousClass8 anonymousClass8 = new AnonymousClass8(servicesRegistry); ServiceKey serviceKey7 = new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(InitializeStateInitModules.class)); a16 = i.a(anonymousClass8); servicesRegistry.updateService(serviceKey7, a16); AnonymousClass9 anonymousClass9 = new AnonymousClass9(servicesRegistry); ServiceKey serviceKey8 = new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(InitializeStateConfigWithLoader.class)); a17 = i.a(anonymousClass9); servicesRegistry.updateService(serviceKey8, a17); AnonymousClass10 anonymousClass10 = new AnonymousClass10(servicesRegistry); ServiceKey serviceKey9 = new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(InitializeStateConfig.class)); a18 = i.a(anonymousClass10); servicesRegistry.updateService(serviceKey9, a18); AnonymousClass11 anonymousClass11 = new AnonymousClass11(servicesRegistry); ServiceKey serviceKey10 = new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(InitializeStateCreate.class)); a19 = i.a(anonymousClass11); servicesRegistry.updateService(serviceKey10, a19); AnonymousClass12 anonymousClass12 = new AnonymousClass12(servicesRegistry); ServiceKey serviceKey11 = new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(InitializeStateLoadCache.class)); a20 = i.a(anonymousClass12); servicesRegistry.updateService(serviceKey11, a20); AnonymousClass13 anonymousClass13 = new AnonymousClass13(servicesRegistry); ServiceKey serviceKey12 = new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(InitializeStateCreateWithRemote.class)); a21 = i.a(anonymousClass13); servicesRegistry.updateService(serviceKey12, a21); AnonymousClass14 anonymousClass14 = new AnonymousClass14(servicesRegistry); ServiceKey serviceKey13 = new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(InitializeStateLoadWeb.class)); a22 = i.a(anonymousClass14); servicesRegistry.updateService(serviceKey13, a22); AnonymousClass15 anonymousClass15 = new AnonymousClass15(servicesRegistry); ServiceKey serviceKey14 = new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(InitializeStateComplete.class)); a23 = i.a(anonymousClass15); servicesRegistry.updateService(serviceKey14, a23); AnonymousClass16 anonymousClass16 = new AnonymousClass16(servicesRegistry); ServiceKey serviceKey15 = new ServiceKey(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r.a(InitializeSDK.class)); a24 = i.a(anonymousClass16); servicesRegistry.updateService(serviceKey15, a24); } }