package ca.canadapost.module.customsform.enhancement;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import dn.p;
import dn.q;
import e0.f;
import ib.x0;
import kotlin.Metadata;
import kotlin.jvm.internal.t;
import kotlin.jvm.internal.v;
import m7.c;
import mb.i;
import rm.n0;
import u8.b;
import x4.d;
import y0.m;

@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\n\u0010\u000bJ$\u0010\t\u001a\u00020\b2\u0006\u0010\u0003\u001a\u00020\u00022\b\u0010\u0005\u001a\u0004\u0018\u00010\u00042\b\u0010\u0007\u001a\u0004\u0018\u00010\u0006H\u0016¨\u0006\f"}, d2 = {"Lca/canadapost/module/customsform/enhancement/CustomsFormLandingHomeFragment;", "Lu8/b;", "Landroid/view/LayoutInflater;", "inflater", "Landroid/view/ViewGroup;", "container", "Landroid/os/Bundle;", "savedInstanceState", "Landroid/view/View;", "onCreateView", "<init>", "()V", "customsform_productionRelease"}, k = 1, mv = {1, 9, 0})
/* loaded from: classes4.dex */
public final class CustomsFormLandingHomeFragment extends b {

    /* loaded from: classes4.dex */
    static final class a extends v implements p {

        /* JADX INFO: Access modifiers changed from: package-private */
        /* renamed from: ca.canadapost.module.customsform.enhancement.CustomsFormLandingHomeFragment$a$a, reason: collision with other inner class name */
        /* loaded from: classes4.dex */
        public static final class C0222a extends v implements q {

            /* renamed from: p, reason: collision with root package name */
            final /* synthetic */ CustomsFormLandingHomeFragment f8446p;

            /* JADX INFO: Access modifiers changed from: package-private */
            /* renamed from: ca.canadapost.module.customsform.enhancement.CustomsFormLandingHomeFragment$a$a$a, reason: collision with other inner class name */
            /* loaded from: classes4.dex */
            public static final class C0223a extends v implements dn.a {

                /* renamed from: p, reason: collision with root package name */
                final /* synthetic */ CustomsFormLandingHomeFragment f8447p;

                /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
                C0223a(CustomsFormLandingHomeFragment customsFormLandingHomeFragment) {
                    super(0);
                    this.f8447p = customsFormLandingHomeFragment;
                }

                @Override // dn.a
                public /* bridge */ /* synthetic */ Object invoke() {
                    m74invoke();
                    return n0.f34904a;
                }

                /* renamed from: invoke, reason: collision with other method in class */
                public final void m74invoke() {
                    d.a(this.f8447p).M(x0.f23095d);
                }
            }

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            C0222a(CustomsFormLandingHomeFragment customsFormLandingHomeFragment) {
                super(3);
                this.f8446p = customsFormLandingHomeFragment;
            }

            public final void a(f CpcFullScreen, m mVar, int i10) {
                t.g(CpcFullScreen, "$this$CpcFullScreen");
                if ((i10 & 81) == 16 && mVar.v()) {
                    mVar.A();
                    return;
                }
                if (y0.p.H()) {
                    y0.p.Q(1087456336, i10, -1, "ca.canadapost.module.customsform.enhancement.CustomsFormLandingHomeFragment.onCreateView.<anonymous>.<anonymous> (CustomsFormLandingHomeFragment.kt:24)");
                }
                mVar.e(109927090);
                boolean R = mVar.R(this.f8446p);
                CustomsFormLandingHomeFragment customsFormLandingHomeFragment = this.f8446p;
                Object f10 = mVar.f();
                if (R || f10 == m.f51621a.a()) {
                    f10 = new C0223a(customsFormLandingHomeFragment);
                    mVar.I(f10);
                }
                mVar.N();
                i.a((dn.a) f10, mVar, 0, 0);
                if (y0.p.H()) {
                    y0.p.P();
                }
            }

            @Override // dn.q
            public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2, Object obj3) {
                a((f) obj, (m) obj2, ((Number) obj3).intValue());
                return n0.f34904a;
            }
        }

        a() {
            super(2);
        }

        public final void a(m mVar, int i10) {
            if ((i10 & 11) == 2 && mVar.v()) {
                mVar.A();
                return;
            }
            if (y0.p.H()) {
                y0.p.Q(-110414049, i10, -1, "ca.canadapost.module.customsform.enhancement.CustomsFormLandingHomeFragment.onCreateView.<anonymous> (CustomsFormLandingHomeFragment.kt:20)");
            }
            c.a(false, false, 0L, null, null, g1.c.b(mVar, 1087456336, true, new C0222a(CustomsFormLandingHomeFragment.this)), mVar, 196662, 28);
            if (y0.p.H()) {
                y0.p.P();
            }
        }

        @Override // dn.p
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            a((m) obj, ((Number) obj2).intValue());
            return n0.f34904a;
        }
    }

    @Override // androidx.fragment.app.f
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        t.g(inflater, "inflater");
        return k7.a.a(this, g1.c.c(-110414049, true, new a()));
    }
}
