package ca.canadapost.module.customsform;

import androidx.lifecycle.g0;
import dn.l;
import kotlin.jvm.internal.n;
import kotlin.jvm.internal.t;
import rm.i;

/* loaded from: classes4.dex */
final /* synthetic */ class h implements g0, n {

    /* renamed from: a, reason: collision with root package name */
    private final /* synthetic */ l f8497a;

    /* JADX INFO: Access modifiers changed from: package-private */
    public h(l function) {
        t.g(function, "function");
        this.f8497a = function;
    }

    @Override // kotlin.jvm.internal.n
    public final i b() {
        return this.f8497a;
    }

    @Override // androidx.lifecycle.g0
    public final /* synthetic */ void d(Object obj) {
        this.f8497a.invoke(obj);
    }

    public final boolean equals(Object obj) {
        if ((obj instanceof g0) && (obj instanceof n)) {
            return t.b(b(), ((n) obj).b());
        }
        return false;
    }

    public final int hashCode() {
        return b().hashCode();
    }
}
