package defpackage;

import android.os.Parcel;
import android.os.Parcelable;

/* renamed from: ᵪʽᵸⁱ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C3861 extends AbstractC4814 {
    public static final Parcelable.Creator<C3861> CREATOR = new C3782(6);

    /* renamed from: ˀᵗᵝᵭ, reason: contains not printable characters */
    public final Double f14361;

    /* renamed from: ᵡⁱᵥ, reason: contains not printable characters */
    public final String f14362;

    /* renamed from: ᵢˇᵭ, reason: contains not printable characters */
    public final String f14363;

    /* renamed from: ᵤᵙᵷ, reason: contains not printable characters */
    public final String f14364;

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public final int f14365;

    /* renamed from: ᵾᵬ, reason: contains not printable characters */
    public final Long f14366;

    /* renamed from: ᵿʗᵝʽ, reason: contains not printable characters */
    public final long f14367;

    public C3861(int i, String str, long j, Long l, Float f, String str2, String str3, Double d) {
        this.f14365 = i;
        this.f14363 = str;
        this.f14367 = j;
        this.f14366 = l;
        this.f14361 = i == 1 ? f != null ? Double.valueOf(f.doubleValue()) : null : d;
        this.f14364 = str2;
        this.f14362 = str3;
    }

    public C3861(long j, Object obj, String str, String str2) {
        ᵩʛʽ.ˏˋٴ(str);
        this.f14365 = 2;
        this.f14363 = str;
        this.f14367 = j;
        this.f14362 = str2;
        if (obj == null) {
            this.f14366 = null;
            this.f14361 = null;
            this.f14364 = null;
            return;
        }
        if (obj instanceof Long) {
            this.f14366 = (Long) obj;
            this.f14361 = null;
            this.f14364 = null;
        } else if (obj instanceof String) {
            this.f14366 = null;
            this.f14361 = null;
            this.f14364 = (String) obj;
        } else {
            if (!(obj instanceof Double)) {
                ᵹˉᵞ.ˌᵜᵹᵩ("User attribute given of un-supported type");
                throw null;
            }
            this.f14366 = null;
            this.f14361 = (Double) obj;
            this.f14364 = null;
        }
    }

    public C3861(C5428 c5428) {
        this(c5428.f20353, c5428.f20349, c5428.f20350, c5428.f20352);
    }

    @Override // android.os.Parcelable
    public final void writeToParcel(Parcel parcel, int i) {
        C3782.m8439(this, parcel);
    }

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final Object m8510() {
        Long l = this.f14366;
        if (l != null) {
            return l;
        }
        Double d = this.f14361;
        if (d != null) {
            return d;
        }
        String str = this.f14364;
        if (str != null) {
            return str;
        }
        return null;
    }
}
