package defpackage;

import android.os.Bundle;

/* renamed from: ᵟᵧᵽ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C3063 implements InterfaceC0066 {

    /* renamed from: ᵢˇᵭ, reason: contains not printable characters */
    public long f11723;

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public long f11724;

    /* renamed from: ᵾᵬ, reason: contains not printable characters */
    public Object f11725;

    /* renamed from: ᵿʗᵝʽ, reason: contains not printable characters */
    public Object f11726;

    public C3063(long j, int i) {
        ᵛᵾˏ.ᵿʗᵝʽ(((C1197) this.f11726) == null);
        this.f11724 = j;
        this.f11723 = j + i;
    }

    public C3063(String str, byte[] bArr, long j, long j2) {
        this.f11726 = str;
        this.f11725 = bArr;
        this.f11724 = j;
        this.f11723 = j2;
    }

    @Override // defpackage.InterfaceC0066
    /* renamed from: ˌᵜᵹᵩ */
    public void mo1137(long j) {
        long[] jArr = (long[]) ((C2720) this.f11725).f10548;
        this.f11723 = jArr[AbstractC3558.m8119(jArr, j, true)];
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public boolean m7388(long j, boolean z, boolean z2) {
        C1682 c1682 = (C1682) this.f11725;
        c1682.m6590();
        c1682.m3663();
        C4205 c4205 = (C4205) ((ᵢˇᵭ) c1682).ᵧᵾˀˈ;
        boolean zM9142 = c4205.m9142();
        C1736 c1736 = c4205.f15715;
        if (zM9142) {
            C4180 c4180 = c4205.f15717;
            C4205.m9134(c4180);
            C4550 c4550 = c4180.f15627;
            c4205.f15721.getClass();
            c4550.m9668(System.currentTimeMillis());
        }
        long j2 = j - this.f11724;
        if (!z && j2 < 1000) {
            C4205.m9132(c1736);
            c1736.f6935.m6039(Long.valueOf(j2), "Screen exposed for less than 1000 ms. Event not sent. time");
            return false;
        }
        if (!z2) {
            j2 = j - this.f11723;
            this.f11723 = j;
        }
        C4205.m9132(c1736);
        c1736.f6935.m6039(Long.valueOf(j2), "Recording user engagement, ms");
        Bundle bundle = new Bundle();
        bundle.putLong("_et", j2);
        boolean z3 = !c4205.f15726.m5345();
        C3476 c3476 = c4205.f15718;
        C4205.m9130(c3476);
        C4864.m10198(c3476.m7909(z3), bundle, true);
        if (!z2) {
            C1757 c1757 = c4205.f15724;
            C4205.m9130(c1757);
            c1757.m5008("auto", "_e", bundle);
        }
        this.f11724 = j;
        C4982 c4982 = (C4982) this.f11726;
        c4982.m11112();
        c4982.m11113(((Long) AbstractC5018.f18623.m11195(null)).longValue());
        return true;
    }

    @Override // defpackage.InterfaceC0066
    /* renamed from: ᵴᵳ */
    public long mo1138(InterfaceC1383 interfaceC1383) {
        long j = this.f11723;
        if (j < 0) {
            return -1L;
        }
        long j2 = -(j + 2);
        this.f11723 = -1L;
        return j2;
    }

    @Override // defpackage.InterfaceC0066
    /* renamed from: ᵹᵝᵶ */
    public InterfaceC5013 mo1139() {
        ᵛᵾˏ.ᵿʗᵝʽ(this.f11724 != -1);
        return new C3300((C4900) this.f11726, this.f11724, 1);
    }
}
