package u7;

import android.util.SparseIntArray;
import android.view.View;
import android.widget.FrameLayout;
import androidx.databinding.n;
import ca.canadapost.core.common.ui.CpcToolbar;
import com.google.android.material.appbar.AppBarLayout;

/* loaded from: classes.dex */
public class d extends c {
    private static final n.i E = null;
    private static final SparseIntArray F;
    private long D;

    static {
        SparseIntArray sparseIntArray = new SparseIntArray();
        F = sparseIntArray;
        sparseIntArray.put(h7.i.M0, 1);
        sparseIntArray.put(h7.i.N0, 2);
    }

    public d(androidx.databinding.e eVar, View view) {
        this(eVar, view, androidx.databinding.n.E(eVar, view, 3, E, F));
    }

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

    @Override // androidx.databinding.n
    protected boolean F(int i10, Object obj, int i11) {
        return false;
    }

    @Override // androidx.databinding.n
    public boolean Q(int i10, Object obj) {
        return true;
    }

    @Override // androidx.databinding.n
    protected void n() {
        synchronized (this) {
            this.D = 0L;
        }
    }

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

    private d(androidx.databinding.e eVar, View view, Object[] objArr) {
        super(eVar, view, 0, (AppBarLayout) objArr[0], (CpcToolbar) objArr[1], (FrameLayout) objArr[2]);
        this.D = -1L;
        this.A.setTag(null);
        P(view);
        B();
    }
}
