package com.ironsource; import com.ironsource.mediationsdk.utils.IronSourceConstants; import java.util.Map; import kotlin.TuplesKt; import kotlin.collections.MapsKt__MapsKt; import kotlin.jvm.internal.Intrinsics; import org.json.JSONObject; /* loaded from: classes2.dex */ public interface da { public static final class a { private final Map a; public a(String providerName) { Map mutableMapOf; Intrinsics.checkNotNullParameter(providerName, "providerName"); mutableMapOf = MapsKt__MapsKt.mutableMapOf(TuplesKt.to(IronSourceConstants.EVENTS_PROVIDER, providerName), TuplesKt.to(IronSourceConstants.EVENTS_DEMAND_ONLY, 1)); this.a = mutableMapOf; } public final Map a() { Map mutableMap; mutableMap = MapsKt__MapsKt.toMutableMap(this.a); return mutableMap; } public final void a(String key, Object value) { Intrinsics.checkNotNullParameter(key, "key"); Intrinsics.checkNotNullParameter(value, "value"); this.a.put(key, value); } } public static final class b implements da { private final ge a; private final a b; public b(ge eventManager, a eventBaseData) { Intrinsics.checkNotNullParameter(eventManager, "eventManager"); Intrinsics.checkNotNullParameter(eventBaseData, "eventBaseData"); this.a = eventManager; this.b = eventBaseData; } @Override // com.ironsource.da public void a(int i, qq qqVar) { Map map; Map a = this.b.a(); a.put(IronSourceConstants.EVENTS_EXT1, String.valueOf(qqVar)); map = MapsKt__MapsKt.toMap(a); this.a.a(new kb(i, new JSONObject(map))); } @Override // com.ironsource.da public void a(int i, String instanceId) { Map map; Intrinsics.checkNotNullParameter(instanceId, "instanceId"); Map a = this.b.a(); a.put("spId", instanceId); map = MapsKt__MapsKt.toMap(a); this.a.a(new kb(i, new JSONObject(map))); } } void a(int i, qq qqVar); void a(int i, String str); }