package of;

import androidx.compose.foundation.layout.l;
import androidx.compose.foundation.layout.o;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import dn.p;
import e0.d;
import h2.e0;
import j2.g;
import java.util.List;
import kotlin.jvm.internal.t;
import kotlin.jvm.internal.v;
import l1.h;
import l1.i;
import l7.s;
import rm.n0;
import y0.d4;
import y0.f;
import y0.j;
import y0.l2;
import y0.m;
import y0.x2;
import y0.y;

/* loaded from: classes4.dex */
public abstract class a {

    /* JADX INFO: Access modifiers changed from: package-private */
    /* renamed from: of.a$a, reason: collision with other inner class name */
    /* loaded from: classes4.dex */
    public static final class C0719a extends v implements p {

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ pf.a f31426p;

        /* renamed from: q, reason: collision with root package name */
        final /* synthetic */ int f31427q;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        C0719a(pf.a aVar, int i10) {
            super(2);
            this.f31426p = aVar;
            this.f31427q = i10;
        }

        public final void a(m mVar, int i10) {
            a.a(this.f31426p, mVar, l2.a(this.f31427q | 1));
        }

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

    public static final void a(pf.a state, m mVar, int i10) {
        t.g(state, "state");
        m r10 = mVar.r(357669272);
        if (y0.p.H()) {
            y0.p.Q(357669272, i10, -1, "ca.canadapost.module.sendingexperience.detailscreen.DetailScreen (DetailScreen.kt:12)");
        }
        i i11 = l.i(o.f(i.f27362a, BitmapDescriptorFactory.HUE_RED, 1, null), n7.a.f29827a.b(r10, n7.a.f29828b).w());
        e0 a10 = d.a(e0.b.f16607a.h(), l1.c.f27332a.k(), r10, 0);
        int a11 = j.a(r10, 0);
        y D = r10.D();
        i e10 = h.e(r10, i11);
        g.a aVar = g.f23616d;
        dn.a a12 = aVar.a();
        if (!(r10.w() instanceof f)) {
            j.c();
        }
        r10.u();
        if (r10.n()) {
            r10.o(a12);
        } else {
            r10.F();
        }
        m a13 = d4.a(r10);
        d4.b(a13, a10, aVar.c());
        d4.b(a13, D, aVar.e());
        p b10 = aVar.b();
        if (a13.n() || !t.b(a13.f(), Integer.valueOf(a11))) {
            a13.I(Integer.valueOf(a11));
            a13.l(Integer.valueOf(a11), b10);
        }
        d4.b(a13, e10, aVar.d());
        e0.g gVar = e0.g.f16653a;
        List b11 = state.b();
        r10.e(-1039619000);
        if (b11 != null) {
            s.a(b11, 0, r10, 56);
        }
        r10.N();
        r10.O();
        if (y0.p.H()) {
            y0.p.P();
        }
        x2 y10 = r10.y();
        if (y10 != null) {
            y10.a(new C0719a(state, i10));
        }
    }
}
