package j0;

import C0.B;
import I0.AbstractC0303l;
import I0.H;
import J0.A;
import Q0.u;
import Q0.z;
import android.graphics.Rect;
import android.view.autofill.AutofillId;
import android.view.autofill.AutofillManager;
import n.C2567B;
import n.N;
import n0.E;

/* JADX INFO: renamed from: j0.c, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C2306c extends AbstractC2313j implements n0.j {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final u f19435b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final A f19436c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final R0.b f19437d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final String f19438e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final Rect f19439f = new Rect();

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public final AutofillId f19440j;

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public final C2567B f19441k;
    public boolean l;

    public C2306c(B b5, u uVar, A a6, R0.b bVar, String str) {
        this.f19434a = b5;
        this.f19435b = uVar;
        this.f19436c = a6;
        this.f19437d = bVar;
        this.f19438e = str;
        a6.setImportantForAutofill(1);
        M0.a aVarG = A4.g.G(a6);
        AutofillId autofillIdI = aVarG != null ? G1.c.i(aVarG.f4197a) : null;
        if (autofillIdI == null) {
            throw com.google.android.recaptcha.internal.a.g("Required value was null.");
        }
        this.f19440j = autofillIdI;
        this.f19441k = new C2567B();
    }

    @Override // n0.j
    public final void b(E e6, E e7) {
        H hT;
        Q0.n nVarV;
        H hT2;
        Q0.n nVarV2;
        if (e6 != null && (hT2 = AbstractC0303l.t(e6)) != null && (nVarV2 = hT2.v()) != null) {
            z zVar = Q0.m.f5780g;
            N n6 = nVarV2.f5799a;
            if (n6.a(zVar) || n6.a(Q0.m.f5781h)) {
                ((AutofillManager) this.f19434a.f506b).notifyViewExited(this.f19436c, hT2.f2175b);
            }
        }
        if (e7 == null || (hT = AbstractC0303l.t(e7)) == null || (nVarV = hT.v()) == null) {
            return;
        }
        z zVar2 = Q0.m.f5780g;
        N n7 = nVarV.f5799a;
        if (n7.a(zVar2) || n7.a(Q0.m.f5781h)) {
            int i6 = hT.f2175b;
            this.f19437d.f6005a.l(i6, new C2304a(this, i6));
        }
    }
}
