package pc;

import ed.q;
import ed.t;
import java.util.Map;
import org.json.JSONObject;

/* JADX INFO: loaded from: classes.dex */
public final class d extends a {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final xyz.stream.utils.f f31928a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final q f31929b;

    public d(q qVar, t tVar) {
        this.f31929b = qVar;
        this.f31928a = new xyz.stream.utils.f(this, tVar, 20);
    }

    @Override // pc.e
    public final Object a(String str) {
        return this.f31929b.argument(str);
    }

    @Override // pc.e
    public final String c() {
        return this.f31929b.f25842a;
    }

    @Override // pc.a
    public final f d() {
        return this.f31928a;
    }

    @Override // pc.e
    public final boolean e() {
        Object obj = this.f31929b.f25843b;
        if (obj == null) {
            return false;
        }
        if (obj instanceof Map) {
            return ((Map) obj).containsKey("transactionId");
        }
        if (obj instanceof JSONObject) {
            return ((JSONObject) obj).has("transactionId");
        }
        throw new ClassCastException();
    }
}
