package E4;

import P2.C0253j;
import android.text.TextUtils;
import java.util.concurrent.TimeUnit;
import java.util.regex.Pattern;

/* JADX INFO: loaded from: classes.dex */
public final class k {

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public static final long f2205b = TimeUnit.HOURS.toSeconds(1);

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public static final Pattern f2206c = Pattern.compile("\\AA[\\w-]{38}\\z");

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public static k f2207d;

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final C0253j f2208a;

    public k(C0253j c0253j) {
        this.f2208a = c0253j;
    }

    public final boolean a(F4.b bVar) {
        if (TextUtils.isEmpty(bVar.f2503c)) {
            return true;
        }
        long j8 = bVar.f2506f + bVar.f2505e;
        TimeUnit timeUnit = TimeUnit.MILLISECONDS;
        this.f2208a.getClass();
        return j8 < timeUnit.toSeconds(System.currentTimeMillis()) + f2205b;
    }
}
