package com.ironsource; import com.ironsource.mediationsdk.IronSource; import com.ironsource.x1; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import kotlin.NoWhenBranchMatchedException; import kotlin.collections.CollectionsKt__CollectionsKt; import kotlin.collections.CollectionsKt___CollectionsKt; import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.jvm.internal.Intrinsics; import kotlin.jvm.internal.SourceDebugExtension; @SourceDebugExtension({"SMAP\nEventSender.kt\nKotlin\n*S Kotlin\n*F\n+ 1 EventSender.kt\ncom/unity3d/mediation/internal/ads/tools/EventSender\n+ 2 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,50:1\n1855#2,2:51\n*S KotlinDebug\n*F\n+ 1 EventSender.kt\ncom/unity3d/mediation/internal/ads/tools/EventSender\n*L\n36#1:51,2\n*E\n"}) /* loaded from: classes2.dex */ public final class lb implements w1 { private final x1 a; private final List b; private final ug c; private final sk d; private final pt e; private final k4 f; private final j0 g; private final ut h; public lb(IronSource.AD_UNIT adFormat, x1.b level, List eventsInterfaces, m7 m7Var) { Intrinsics.checkNotNullParameter(adFormat, "adFormat"); Intrinsics.checkNotNullParameter(level, "level"); Intrinsics.checkNotNullParameter(eventsInterfaces, "eventsInterfaces"); x1 x1Var = new x1(adFormat, level, this, m7Var); this.a = x1Var; this.b = CollectionsKt___CollectionsKt.toMutableList((Collection) eventsInterfaces); ug ugVar = x1Var.f; Intrinsics.checkNotNullExpressionValue(ugVar, "wrapper.init"); this.c = ugVar; sk skVar = x1Var.g; Intrinsics.checkNotNullExpressionValue(skVar, "wrapper.load"); this.d = skVar; pt ptVar = x1Var.h; Intrinsics.checkNotNullExpressionValue(ptVar, "wrapper.token"); this.e = ptVar; k4 k4Var = x1Var.i; Intrinsics.checkNotNullExpressionValue(k4Var, "wrapper.auction"); this.f = k4Var; j0 j0Var = x1Var.j; Intrinsics.checkNotNullExpressionValue(j0Var, "wrapper.adInteraction"); this.g = j0Var; ut utVar = x1Var.k; Intrinsics.checkNotNullExpressionValue(utVar, "wrapper.troubleshoot"); this.h = utVar; } public /* synthetic */ lb(IronSource.AD_UNIT ad_unit, x1.b bVar, List list, m7 m7Var, int i, DefaultConstructorMarker defaultConstructorMarker) { this(ad_unit, bVar, (i & 4) != 0 ? CollectionsKt__CollectionsKt.emptyList() : list, (i & 8) != 0 ? null : m7Var); } public final j0 a() { return this.g; } @Override // com.ironsource.w1 public Map a(u1 event) { Intrinsics.checkNotNullParameter(event, "event"); HashMap hashMap = new HashMap(); Iterator it = this.b.iterator(); while (it.hasNext()) { Map a = ((w1) it.next()).a(event); Intrinsics.checkNotNullExpressionValue(a, "it.getEventsAdditionalDataMap(event)"); hashMap.putAll(a); } return hashMap; } public final void a(w1 eventInterface) { Intrinsics.checkNotNullParameter(eventInterface, "eventInterface"); this.b.add(eventInterface); } public final void a(boolean z) { if (z) { this.d.a(true); } else { if (z) { throw new NoWhenBranchMatchedException(); } this.d.a(); } } public final k4 b() { return this.f; } public final List c() { return this.b; } public final ug d() { return this.c; } public final sk e() { return this.d; } public final pt f() { return this.e; } public final ut g() { return this.h; } }