package u7;

import android.util.SparseIntArray;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.databinding.n;
import f8.b;

/* loaded from: classes.dex */
public class u extends t implements b.a {
    private static final n.i I = null;
    private static final SparseIntArray J = null;
    private final LinearLayout B;
    private final ConstraintLayout C;
    private final TextView D;
    private final TextView E;
    private final View.OnClickListener F;
    private final View.OnClickListener G;
    private long H;

    public u(androidx.databinding.e eVar, View view) {
        this(eVar, view, androidx.databinding.n.E(eVar, view, 5, I, J));
    }

    private boolean V(androidx.lifecycle.a0 a0Var, int i10) {
        if (i10 != h7.a.f20944a) {
            return false;
        }
        synchronized (this) {
            this.H |= 2;
        }
        return true;
    }

    private boolean W(androidx.lifecycle.a0 a0Var, int i10) {
        if (i10 != h7.a.f20944a) {
            return false;
        }
        synchronized (this) {
            this.H |= 1;
        }
        return true;
    }

    @Override // androidx.databinding.n
    public void B() {
        synchronized (this) {
            this.H = 8L;
        }
        J();
    }

    @Override // androidx.databinding.n
    protected boolean F(int i10, Object obj, int i11) {
        if (i10 == 0) {
            return W((androidx.lifecycle.a0) obj, i11);
        }
        if (i10 != 1) {
            return false;
        }
        return V((androidx.lifecycle.a0) obj, i11);
    }

    @Override // androidx.databinding.n
    public boolean Q(int i10, Object obj) {
        if (h7.a.f20948e != i10) {
            return false;
        }
        android.support.v4.media.session.b.a(obj);
        U(null);
        return true;
    }

    @Override // u7.t
    public void U(s8.s sVar) {
        synchronized (this) {
            this.H |= 4;
        }
        f(h7.a.f20948e);
        super.J();
    }

    @Override // f8.b.a
    public final void a(int i10, View view) {
    }

    @Override // androidx.databinding.n
    protected void n() {
        long j10;
        synchronized (this) {
            j10 = this.H;
            this.H = 0L;
        }
        if ((15 & j10) != 0) {
            if ((j10 & 13) != 0) {
                S(0, null);
            }
            if ((j10 & 14) != 0) {
                S(1, null);
            }
        }
        if ((14 & j10) != 0) {
            b4.e.e(this.A, null);
        }
        if ((8 & j10) != 0) {
            this.C.setOnClickListener(this.F);
            this.E.setOnClickListener(this.G);
        }
        if ((j10 & 13) != 0) {
            b4.e.e(this.D, null);
        }
    }

    @Override // androidx.databinding.n
    public boolean z() {
        synchronized (this) {
            return this.H != 0;
        }
    }

    private u(androidx.databinding.e eVar, View view, Object[] objArr) {
        super(eVar, view, 2, (TextView) objArr[2]);
        this.H = -1L;
        this.A.setTag(null);
        LinearLayout linearLayout = (LinearLayout) objArr[0];
        this.B = linearLayout;
        linearLayout.setTag(null);
        ConstraintLayout constraintLayout = (ConstraintLayout) objArr[1];
        this.C = constraintLayout;
        constraintLayout.setTag(null);
        TextView textView = (TextView) objArr[3];
        this.D = textView;
        textView.setTag(null);
        TextView textView2 = (TextView) objArr[4];
        this.E = textView2;
        textView2.setTag(null);
        P(view);
        this.F = new f8.b(this, 1);
        this.G = new f8.b(this, 2);
        B();
    }
}
