package defpackage;

import java.util.HashMap;

/* JADX INFO: renamed from: ᵞᵗˁ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C3003 {

    /* JADX INFO: renamed from: ᵷᵺʾᵖ, reason: contains not printable characters */
    public static final AbstractC5291 f11563 = AbstractC5291.m10885(3, "_syn", "_err", "_el");

    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public final long f11564;

    /* JADX INFO: renamed from: ːˏᵟᵯ, reason: contains not printable characters */
    public final HashMap f11565;

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public String f11566;

    public C3003(String str, long j, HashMap map) {
        this.f11566 = str;
        this.f11564 = j;
        HashMap map2 = new HashMap();
        this.f11565 = map2;
        if (map != null) {
            map2.putAll(map);
        }
    }

    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public static Object m7085(String str, Object obj, Object obj2) {
        if (f11563.contains(str) && (obj2 instanceof Double)) {
            return Long.valueOf(Math.round(((Double) obj2).doubleValue()));
        }
        if (str.startsWith("_")) {
            if (!(obj instanceof String) && obj != null) {
                return obj;
            }
        } else if (!(obj instanceof Double)) {
            if (obj instanceof Long) {
                return Long.valueOf(Math.round(((Double) obj2).doubleValue()));
            }
            if (obj instanceof String) {
                return obj2.toString();
            }
        }
        return obj2;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof C3003)) {
            return false;
        }
        C3003 c3003 = (C3003) obj;
        if (this.f11564 == c3003.f11564 && this.f11566.equals(c3003.f11566)) {
            return this.f11565.equals(c3003.f11565);
        }
        return false;
    }

    public final int hashCode() {
        int iHashCode = this.f11566.hashCode() * 31;
        long j = this.f11564;
        return this.f11565.hashCode() + ((iHashCode + ((int) (j ^ (j >>> 32)))) * 31);
    }

    public final String toString() {
        String str = this.f11566;
        String string = this.f11565.toString();
        int length = String.valueOf(str).length();
        long j = this.f11564;
        StringBuilder sb = new StringBuilder(length + 25 + String.valueOf(j).length() + 9 + string.length() + 1);
        sb.append("Event{name='");
        sb.append(str);
        sb.append("', timestamp=");
        AbstractC3653.m8233(sb, j, ", params=", string);
        sb.append("}");
        return sb.toString();
    }

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters and merged with bridge method [inline-methods] */
    public final C3003 clone() {
        return new C3003(this.f11566, this.f11564, new HashMap(this.f11565));
    }
}
