package o;

import java.util.ArrayList;
import java.util.HashMap;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Ss0 extends C1325go0 {
    public final C70 m;

    public Ss0(C70 c70) {
        this.m = c70;
    }

    /* JADX WARN: Failed to restore switch over string. Please report as a decompilation issue */
    @Override // o.C1325go0, o.InterfaceC1991no0
    public final InterfaceC1991no0 b(String str, C2062oc0 c2062oc0, ArrayList arrayList) {
        int iHashCode = str.hashCode();
        C70 c70 = this.m;
        switch (iHashCode) {
            case 21624207:
                if (str.equals("getEventName")) {
                    AbstractC2378rs0.o0("getEventName", 0, arrayList);
                    return new C2560to0(((Kn0) c70.n).a);
                }
                break;
            case 45521504:
                if (str.equals("getTimestamp")) {
                    AbstractC2378rs0.o0("getTimestamp", 0, arrayList);
                    return new Wn0(Double.valueOf(((Kn0) c70.n).b));
                }
                break;
            case 146575578:
                if (str.equals("getParamValue")) {
                    AbstractC2378rs0.o0("getParamValue", 1, arrayList);
                    String strZzc = ((C3031ym0) c2062oc0.b).h(c2062oc0, (InterfaceC1991no0) arrayList.get(0)).zzc();
                    HashMap map = ((Kn0) c70.n).c;
                    return As0.d0(map.containsKey(strZzc) ? map.get(strZzc) : null);
                }
                break;
            case 700587132:
                if (str.equals("getParams")) {
                    AbstractC2378rs0.o0("getParams", 0, arrayList);
                    HashMap map2 = ((Kn0) c70.n).c;
                    C1325go0 c1325go0 = new C1325go0();
                    for (String str2 : map2.keySet()) {
                        c1325go0.d(str2, As0.d0(map2.get(str2)));
                    }
                    return c1325go0;
                }
                break;
            case 920706790:
                if (str.equals("setParamValue")) {
                    AbstractC2378rs0.o0("setParamValue", 2, arrayList);
                    String strZzc2 = ((C3031ym0) c2062oc0.b).h(c2062oc0, (InterfaceC1991no0) arrayList.get(0)).zzc();
                    InterfaceC1991no0 interfaceC1991no0H = ((C3031ym0) c2062oc0.b).h(c2062oc0, (InterfaceC1991no0) arrayList.get(1));
                    Kn0 kn0 = (Kn0) c70.n;
                    Object objW0 = AbstractC2378rs0.w0(interfaceC1991no0H);
                    HashMap map3 = kn0.c;
                    if (objW0 == null) {
                        map3.remove(strZzc2);
                        return interfaceC1991no0H;
                    }
                    map3.put(strZzc2, Kn0.b(strZzc2, map3.get(strZzc2), objW0));
                    return interfaceC1991no0H;
                }
                break;
            case 1570616835:
                if (str.equals("setEventName")) {
                    AbstractC2378rs0.o0("setEventName", 1, arrayList);
                    InterfaceC1991no0 interfaceC1991no0H2 = ((C3031ym0) c2062oc0.b).h(c2062oc0, (InterfaceC1991no0) arrayList.get(0));
                    if (InterfaceC1991no0.d.equals(interfaceC1991no0H2) || InterfaceC1991no0.e.equals(interfaceC1991no0H2)) {
                        throw new IllegalArgumentException("Illegal event name");
                    }
                    ((Kn0) c70.n).a = interfaceC1991no0H2.zzc();
                    return new C2560to0(interfaceC1991no0H2.zzc());
                }
                break;
        }
        return super.b(str, c2062oc0, arrayList);
    }
}
