package com.ironsource; import com.ironsource.mediationsdk.demandOnly.p; import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.jvm.internal.Intrinsics; import org.json.JSONObject; /* loaded from: classes2.dex */ public interface o4 { public static final class a implements o4 { private final JSONObject a; /* JADX WARN: Multi-variable type inference failed */ public a() { this(null, 1, 0 == true ? 1 : 0); } public a(JSONObject jSONObject) { this.a = jSONObject; } public /* synthetic */ a(JSONObject jSONObject, int i, DefaultConstructorMarker defaultConstructorMarker) { this((i & 1) != 0 ? new JSONObject() : jSONObject); } @Override // com.ironsource.o4 public com.ironsource.mediationsdk.demandOnly.p a(String instanceId) { Intrinsics.checkNotNullParameter(instanceId, "instanceId"); JSONObject jSONObject = this.a; JSONObject optJSONObject = jSONObject != null ? jSONObject.optJSONObject(instanceId) : null; String optString = optJSONObject != null ? optJSONObject.optString("plumbus") : null; return optString != null ? new p.a(optString) : new p.b(); } } com.ironsource.mediationsdk.demandOnly.p a(String str); }