package defpackage;

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

/* renamed from: ᵮːᵻ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C4198 extends AbstractC2620 {

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

    /* renamed from: ᵾᵬ, reason: contains not printable characters */
    public long f15685;

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

    public C4198(C4205 c4205) {
        super(c4205);
        this.f15686 = new C1200(0);
        this.f15684 = new C1200(0);
    }

    /* renamed from: ˎˑː, reason: contains not printable characters */
    public final void m9117(long j) {
        C3476 c3476 = ((C4205) ((ᵢˇᵭ) this).ᵧᵾˀˈ).f15718;
        C4205.m9130(c3476);
        C5465 c5465M7909 = c3476.m7909(false);
        C1200 c1200 = this.f15684;
        Iterator it = ((C4225) c1200.keySet()).iterator();
        while (it.hasNext()) {
            String str = (String) it.next();
            m9120(str, j - ((Long) c1200.get(str)).longValue(), c5465M7909);
        }
        if (!c1200.isEmpty()) {
            m9121(j - this.f15685, c5465M7909);
        }
        m9122(j);
    }

    /* renamed from: ˑᵥˁ, reason: contains not printable characters */
    public final void m9118(long j, String str) {
        C4205 c4205 = (C4205) ((ᵢˇᵭ) this).ᵧᵾˀˈ;
        if (str == null || str.length() == 0) {
            C1736 c1736 = c4205.f15715;
            C4205.m9132(c1736);
            c1736.f6937.m6038("Ad unit id must be a non-empty string");
        } else {
            C1325 c1325 = c4205.f15698;
            C4205.m9132(c1325);
            c1325.m4043(new RunnableC2538(this, str, j, 1));
        }
    }

    /* renamed from: ᵡˎ, reason: contains not printable characters */
    public final void m9119(long j, String str) {
        C4205 c4205 = (C4205) ((ᵢˇᵭ) this).ᵧᵾˀˈ;
        if (str == null || str.length() == 0) {
            C1736 c1736 = c4205.f15715;
            C4205.m9132(c1736);
            c1736.f6937.m6038("Ad unit id must be a non-empty string");
        } else {
            C1325 c1325 = c4205.f15698;
            C4205.m9132(c1325);
            c1325.m4043(new RunnableC2538(this, str, j, 0));
        }
    }

    /* renamed from: ᵧـˌᵎ, reason: contains not printable characters */
    public final void m9120(String str, long j, C5465 c5465) {
        C4205 c4205 = (C4205) ((ᵢˇᵭ) this).ᵧᵾˀˈ;
        if (c5465 == null) {
            C1736 c1736 = c4205.f15715;
            C4205.m9132(c1736);
            c1736.f6935.m6038("Not logging ad unit exposure. No active activity");
        } else {
            if (j < 1000) {
                C1736 c17362 = c4205.f15715;
                C4205.m9132(c17362);
                c17362.f6935.m6039(Long.valueOf(j), "Not logging ad unit exposure. Less than 1000 ms. exposure");
                return;
            }
            Bundle bundle = new Bundle();
            bundle.putString("_ai", str);
            bundle.putLong("_xt", j);
            C4864.m10198(c5465, bundle, true);
            C1757 c1757 = c4205.f15724;
            C4205.m9130(c1757);
            c1757.m5008("am", "_xu", bundle);
        }
    }

    /* renamed from: ᵮᵠـˌ, reason: contains not printable characters */
    public final void m9121(long j, C5465 c5465) {
        C4205 c4205 = (C4205) ((ᵢˇᵭ) this).ᵧᵾˀˈ;
        if (c5465 == null) {
            C1736 c1736 = c4205.f15715;
            C4205.m9132(c1736);
            c1736.f6935.m6038("Not logging ad exposure. No active activity");
        } else if (j < 1000) {
            C1736 c17362 = c4205.f15715;
            C4205.m9132(c17362);
            c17362.f6935.m6039(Long.valueOf(j), "Not logging ad exposure. Less than 1000 ms. exposure");
        } else {
            Bundle bundle = new Bundle();
            bundle.putLong("_xt", j);
            C4864.m10198(c5465, bundle, true);
            C1757 c1757 = c4205.f15724;
            C4205.m9130(c1757);
            c1757.m5008("am", "_xa", bundle);
        }
    }

    /* renamed from: ᵺʙ, reason: contains not printable characters */
    public final void m9122(long j) {
        C1200 c1200 = this.f15684;
        Iterator it = ((C4225) c1200.keySet()).iterator();
        while (it.hasNext()) {
            c1200.put((String) it.next(), Long.valueOf(j));
        }
        if (c1200.isEmpty()) {
            return;
        }
        this.f15685 = j;
    }
}
