package defpackage;

import android.os.Bundle;
import android.text.TextUtils;
import java.util.Iterator;

/* JADX INFO: renamed from: ᵮᵟᵻ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C4239 {

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

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

    /* JADX INFO: renamed from: ᵨᵣ, reason: contains not printable characters */
    public final long f16162;

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

    /* JADX INFO: renamed from: ᵵᵽ, reason: contains not printable characters */
    public final C3590 f16164;

    /* JADX INFO: renamed from: ᵷᵺʾᵖ, reason: contains not printable characters */
    public final long f16165;

    /* JADX INFO: renamed from: ᵻˈᵦʼ, reason: contains not printable characters */
    public final long f16166;

    public C4239(C1103 c1103, String str, String str2, String str3, long j, long j2, long j3, Bundle bundle) {
        C3590 c3590;
        ᵘᵞʿⁱ.ˊᵫᵗ(str2);
        ᵘᵞʿⁱ.ˊᵫᵗ(str3);
        this.f16163 = str2;
        this.f16160 = str3;
        this.f16161 = true == TextUtils.isEmpty(str) ? null : str;
        this.f16165 = j;
        this.f16162 = j2;
        this.f16166 = j3;
        if (j3 != 0 && j3 > j) {
            C3485 c3485 = c1103.f4729;
            C1103.m3564(c3485);
            c3485.f13424.m4474(C3485.m7979(str2), "Event created with reverse previous/current timestamps. appId");
        }
        if (bundle == null || bundle.isEmpty()) {
            c3590 = new C3590(new Bundle());
        } else {
            Bundle bundle2 = new Bundle(bundle);
            Iterator<String> it = bundle2.keySet().iterator();
            while (it.hasNext()) {
                String next = it.next();
                if (next == null) {
                    C3485 c34852 = c1103.f4729;
                    C1103.m3564(c34852);
                    c34852.f13423.m4476("Param name can't be null");
                    it.remove();
                } else {
                    C3335 c3335 = c1103.f4730;
                    C1103.m3567(c3335);
                    Object objM7638 = c3335.m7638(bundle2.get(next), next);
                    if (objM7638 == null) {
                        C3485 c34853 = c1103.f4729;
                        C1103.m3564(c34853);
                        c34853.f13424.m4474(c1103.f4717.m5501(next), "Param value can't be null");
                        it.remove();
                    } else {
                        C3335 c33352 = c1103.f4730;
                        C1103.m3567(c33352);
                        c33352.m7648(bundle2, next, objM7638);
                    }
                }
            }
            c3590 = new C3590(bundle2);
        }
        this.f16164 = c3590;
    }

    public C4239(C1103 c1103, String str, String str2, String str3, long j, long j2, long j3, C3590 c3590) {
        ᵘᵞʿⁱ.ˊᵫᵗ(str2);
        ᵘᵞʿⁱ.ˊᵫᵗ(str3);
        ᵘᵞʿⁱ.ᵶᵥᵝ(c3590);
        this.f16163 = str2;
        this.f16160 = str3;
        this.f16161 = true == TextUtils.isEmpty(str) ? null : str;
        this.f16165 = j;
        this.f16162 = j2;
        this.f16166 = j3;
        if (j3 != 0 && j3 > j) {
            C3485 c3485 = c1103.f4729;
            C1103.m3564(c3485);
            c3485.f13424.m4475("Event created with reverse previous/current timestamps. appId, name", C3485.m7979(str2), C3485.m7979(str3));
        }
        this.f16164 = c3590;
    }

    public final String toString() {
        String string = this.f16164.toString();
        String str = this.f16163;
        int length = String.valueOf(str).length();
        String str2 = this.f16160;
        StringBuilder sb = new StringBuilder(length + 22 + String.valueOf(str2).length() + 10 + string.length() + 1);
        AbstractC3589.m8100(sb, "Event{appId='", str, "', name='", str2);
        return AbstractC0793.m2864(sb, "', params=", string, "}");
    }

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public final C4239 m9210(C1103 c1103, long j) {
        return new C4239(c1103, this.f16161, this.f16163, this.f16160, this.f16165, this.f16162, j, this.f16164);
    }
}
