package androidx.compose.foundation.layout;

import androidx.compose.foundation.layout.FillElement;
import androidx.compose.foundation.layout.WrapContentElement;
import androidx.compose.ui.platform.r1;
import androidx.compose.ui.platform.t1;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import kotlin.jvm.internal.t;
import kotlin.jvm.internal.v;
import l1.c;
import rm.n0;

/* loaded from: classes.dex */
public abstract class o {

    /* renamed from: a */
    private static final FillElement f1853a;

    /* renamed from: b */
    private static final FillElement f1854b;

    /* renamed from: c */
    private static final FillElement f1855c;

    /* renamed from: d */
    private static final WrapContentElement f1856d;

    /* renamed from: e */
    private static final WrapContentElement f1857e;

    /* renamed from: f */
    private static final WrapContentElement f1858f;

    /* renamed from: g */
    private static final WrapContentElement f1859g;

    /* renamed from: h */
    private static final WrapContentElement f1860h;

    /* renamed from: i */
    private static final WrapContentElement f1861i;

    /* loaded from: classes.dex */
    public static final class a extends v implements dn.l {

        /* renamed from: p */
        final /* synthetic */ float f1862p;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public a(float f10) {
            super(1);
            this.f1862p = f10;
        }

        public final void a(t1 t1Var) {
            throw null;
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            android.support.v4.media.session.b.a(obj);
            a(null);
            return n0.f34904a;
        }
    }

    /* loaded from: classes.dex */
    public static final class b extends v implements dn.l {

        /* renamed from: p */
        final /* synthetic */ float f1863p;

        /* renamed from: q */
        final /* synthetic */ float f1864q;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public b(float f10, float f11) {
            super(1);
            this.f1863p = f10;
            this.f1864q = f11;
        }

        public final void a(t1 t1Var) {
            throw null;
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            android.support.v4.media.session.b.a(obj);
            a(null);
            return n0.f34904a;
        }
    }

    /* loaded from: classes.dex */
    public static final class c extends v implements dn.l {

        /* renamed from: p */
        final /* synthetic */ float f1865p;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public c(float f10) {
            super(1);
            this.f1865p = f10;
        }

        public final void a(t1 t1Var) {
            throw null;
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            android.support.v4.media.session.b.a(obj);
            a(null);
            return n0.f34904a;
        }
    }

    /* loaded from: classes.dex */
    public static final class d extends v implements dn.l {

        /* renamed from: p */
        final /* synthetic */ float f1866p;

        /* renamed from: q */
        final /* synthetic */ float f1867q;

        /* renamed from: r */
        final /* synthetic */ float f1868r;

        /* renamed from: s */
        final /* synthetic */ float f1869s;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public d(float f10, float f11, float f12, float f13) {
            super(1);
            this.f1866p = f10;
            this.f1867q = f11;
            this.f1868r = f12;
            this.f1869s = f13;
        }

        public final void a(t1 t1Var) {
            throw null;
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            android.support.v4.media.session.b.a(obj);
            a(null);
            return n0.f34904a;
        }
    }

    /* loaded from: classes.dex */
    public static final class e extends v implements dn.l {

        /* renamed from: p */
        final /* synthetic */ float f1870p;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public e(float f10) {
            super(1);
            this.f1870p = f10;
        }

        public final void a(t1 t1Var) {
            throw null;
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            android.support.v4.media.session.b.a(obj);
            a(null);
            return n0.f34904a;
        }
    }

    /* loaded from: classes.dex */
    public static final class f extends v implements dn.l {

        /* renamed from: p */
        final /* synthetic */ float f1871p;

        /* renamed from: q */
        final /* synthetic */ float f1872q;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public f(float f10, float f11) {
            super(1);
            this.f1871p = f10;
            this.f1872q = f11;
        }

        public final void a(t1 t1Var) {
            throw null;
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            android.support.v4.media.session.b.a(obj);
            a(null);
            return n0.f34904a;
        }
    }

    /* loaded from: classes.dex */
    public static final class g extends v implements dn.l {

        /* renamed from: p */
        final /* synthetic */ float f1873p;

        /* renamed from: q */
        final /* synthetic */ float f1874q;

        /* renamed from: r */
        final /* synthetic */ float f1875r;

        /* renamed from: s */
        final /* synthetic */ float f1876s;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public g(float f10, float f11, float f12, float f13) {
            super(1);
            this.f1873p = f10;
            this.f1874q = f11;
            this.f1875r = f12;
            this.f1876s = f13;
        }

        public final void a(t1 t1Var) {
            throw null;
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            android.support.v4.media.session.b.a(obj);
            a(null);
            return n0.f34904a;
        }
    }

    /* loaded from: classes.dex */
    public static final class h extends v implements dn.l {

        /* renamed from: p */
        final /* synthetic */ float f1877p;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public h(float f10) {
            super(1);
            this.f1877p = f10;
        }

        public final void a(t1 t1Var) {
            throw null;
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            android.support.v4.media.session.b.a(obj);
            a(null);
            return n0.f34904a;
        }
    }

    /* loaded from: classes.dex */
    public static final class i extends v implements dn.l {

        /* renamed from: p */
        final /* synthetic */ float f1878p;

        /* renamed from: q */
        final /* synthetic */ float f1879q;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public i(float f10, float f11) {
            super(1);
            this.f1878p = f10;
            this.f1879q = f11;
        }

        public final void a(t1 t1Var) {
            throw null;
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            android.support.v4.media.session.b.a(obj);
            a(null);
            return n0.f34904a;
        }
    }

    static {
        FillElement.Companion companion = FillElement.INSTANCE;
        f1853a = companion.c(1.0f);
        f1854b = companion.a(1.0f);
        f1855c = companion.b(1.0f);
        WrapContentElement.Companion companion2 = WrapContentElement.INSTANCE;
        c.a aVar = l1.c.f27332a;
        f1856d = companion2.c(aVar.g(), false);
        f1857e = companion2.c(aVar.k(), false);
        f1858f = companion2.a(aVar.i(), false);
        f1859g = companion2.a(aVar.l(), false);
        f1860h = companion2.b(aVar.e(), false);
        f1861i = companion2.b(aVar.o(), false);
    }

    public static /* synthetic */ l1.i A(l1.i iVar, c.b bVar, boolean z10, int i10, Object obj) {
        if ((i10 & 1) != 0) {
            bVar = l1.c.f27332a.g();
        }
        if ((i10 & 2) != 0) {
            z10 = false;
        }
        return z(iVar, bVar, z10);
    }

    public static final l1.i a(l1.i iVar, float f10, float f11) {
        return iVar.f(new UnspecifiedConstraintsElement(f10, f11, null));
    }

    public static /* synthetic */ l1.i b(l1.i iVar, float f10, float f11, int i10, Object obj) {
        if ((i10 & 1) != 0) {
            f10 = c3.h.f7410q.c();
        }
        if ((i10 & 2) != 0) {
            f11 = c3.h.f7410q.c();
        }
        return a(iVar, f10, f11);
    }

    public static final l1.i c(l1.i iVar, float f10) {
        return iVar.f((f10 > 1.0f ? 1 : (f10 == 1.0f ? 0 : -1)) == 0 ? f1854b : FillElement.INSTANCE.a(f10));
    }

    public static /* synthetic */ l1.i d(l1.i iVar, float f10, int i10, Object obj) {
        if ((i10 & 1) != 0) {
            f10 = 1.0f;
        }
        return c(iVar, f10);
    }

    public static final l1.i e(l1.i iVar, float f10) {
        return iVar.f((f10 > 1.0f ? 1 : (f10 == 1.0f ? 0 : -1)) == 0 ? f1855c : FillElement.INSTANCE.b(f10));
    }

    public static /* synthetic */ l1.i f(l1.i iVar, float f10, int i10, Object obj) {
        if ((i10 & 1) != 0) {
            f10 = 1.0f;
        }
        return e(iVar, f10);
    }

    public static final l1.i g(l1.i iVar, float f10) {
        return iVar.f((f10 > 1.0f ? 1 : (f10 == 1.0f ? 0 : -1)) == 0 ? f1853a : FillElement.INSTANCE.c(f10));
    }

    public static /* synthetic */ l1.i h(l1.i iVar, float f10, int i10, Object obj) {
        if ((i10 & 1) != 0) {
            f10 = 1.0f;
        }
        return g(iVar, f10);
    }

    public static final l1.i i(l1.i iVar, float f10) {
        return iVar.f(new SizeElement(BitmapDescriptorFactory.HUE_RED, f10, BitmapDescriptorFactory.HUE_RED, f10, true, r1.b() ? new a(f10) : r1.a(), 5, null));
    }

    public static final l1.i j(l1.i iVar, float f10, float f11) {
        return iVar.f(new SizeElement(BitmapDescriptorFactory.HUE_RED, f10, BitmapDescriptorFactory.HUE_RED, f11, true, r1.b() ? new b(f10, f11) : r1.a(), 5, null));
    }

    public static /* synthetic */ l1.i k(l1.i iVar, float f10, float f11, int i10, Object obj) {
        if ((i10 & 1) != 0) {
            f10 = c3.h.f7410q.c();
        }
        if ((i10 & 2) != 0) {
            f11 = c3.h.f7410q.c();
        }
        return j(iVar, f10, f11);
    }

    public static final l1.i l(l1.i iVar, float f10) {
        return iVar.f(new SizeElement(f10, f10, f10, f10, false, r1.b() ? new c(f10) : r1.a(), null));
    }

    public static final l1.i m(l1.i iVar, float f10, float f11, float f12, float f13) {
        return iVar.f(new SizeElement(f10, f11, f12, f13, false, r1.b() ? new d(f10, f11, f12, f13) : r1.a(), null));
    }

    public static /* synthetic */ l1.i n(l1.i iVar, float f10, float f11, float f12, float f13, int i10, Object obj) {
        if ((i10 & 1) != 0) {
            f10 = c3.h.f7410q.c();
        }
        if ((i10 & 2) != 0) {
            f11 = c3.h.f7410q.c();
        }
        if ((i10 & 4) != 0) {
            f12 = c3.h.f7410q.c();
        }
        if ((i10 & 8) != 0) {
            f13 = c3.h.f7410q.c();
        }
        return m(iVar, f10, f11, f12, f13);
    }

    public static final l1.i o(l1.i iVar, float f10) {
        return iVar.f(new SizeElement(f10, f10, f10, f10, true, r1.b() ? new e(f10) : r1.a(), null));
    }

    public static final l1.i p(l1.i iVar, float f10, float f11) {
        return iVar.f(new SizeElement(f10, f11, f10, f11, true, r1.b() ? new f(f10, f11) : r1.a(), null));
    }

    public static final l1.i q(l1.i iVar, float f10, float f11, float f12, float f13) {
        return iVar.f(new SizeElement(f10, f11, f12, f13, true, r1.b() ? new g(f10, f11, f12, f13) : r1.a(), null));
    }

    public static /* synthetic */ l1.i r(l1.i iVar, float f10, float f11, float f12, float f13, int i10, Object obj) {
        if ((i10 & 1) != 0) {
            f10 = c3.h.f7410q.c();
        }
        if ((i10 & 2) != 0) {
            f11 = c3.h.f7410q.c();
        }
        if ((i10 & 4) != 0) {
            f12 = c3.h.f7410q.c();
        }
        if ((i10 & 8) != 0) {
            f13 = c3.h.f7410q.c();
        }
        return q(iVar, f10, f11, f12, f13);
    }

    public static final l1.i s(l1.i iVar, float f10) {
        return iVar.f(new SizeElement(f10, BitmapDescriptorFactory.HUE_RED, f10, BitmapDescriptorFactory.HUE_RED, true, r1.b() ? new h(f10) : r1.a(), 10, null));
    }

    public static final l1.i t(l1.i iVar, float f10, float f11) {
        return iVar.f(new SizeElement(f10, BitmapDescriptorFactory.HUE_RED, f11, BitmapDescriptorFactory.HUE_RED, true, r1.b() ? new i(f10, f11) : r1.a(), 10, null));
    }

    public static /* synthetic */ l1.i u(l1.i iVar, float f10, float f11, int i10, Object obj) {
        if ((i10 & 1) != 0) {
            f10 = c3.h.f7410q.c();
        }
        if ((i10 & 2) != 0) {
            f11 = c3.h.f7410q.c();
        }
        return t(iVar, f10, f11);
    }

    public static final l1.i v(l1.i iVar, c.InterfaceC0608c interfaceC0608c, boolean z10) {
        c.a aVar = l1.c.f27332a;
        return iVar.f((!t.b(interfaceC0608c, aVar.i()) || z10) ? (!t.b(interfaceC0608c, aVar.l()) || z10) ? WrapContentElement.INSTANCE.a(interfaceC0608c, z10) : f1859g : f1858f);
    }

    public static /* synthetic */ l1.i w(l1.i iVar, c.InterfaceC0608c interfaceC0608c, boolean z10, int i10, Object obj) {
        if ((i10 & 1) != 0) {
            interfaceC0608c = l1.c.f27332a.i();
        }
        if ((i10 & 2) != 0) {
            z10 = false;
        }
        return v(iVar, interfaceC0608c, z10);
    }

    public static final l1.i x(l1.i iVar, l1.c cVar, boolean z10) {
        c.a aVar = l1.c.f27332a;
        return iVar.f((!t.b(cVar, aVar.e()) || z10) ? (!t.b(cVar, aVar.o()) || z10) ? WrapContentElement.INSTANCE.b(cVar, z10) : f1861i : f1860h);
    }

    public static /* synthetic */ l1.i y(l1.i iVar, l1.c cVar, boolean z10, int i10, Object obj) {
        if ((i10 & 1) != 0) {
            cVar = l1.c.f27332a.e();
        }
        if ((i10 & 2) != 0) {
            z10 = false;
        }
        return x(iVar, cVar, z10);
    }

    public static final l1.i z(l1.i iVar, c.b bVar, boolean z10) {
        c.a aVar = l1.c.f27332a;
        return iVar.f((!t.b(bVar, aVar.g()) || z10) ? (!t.b(bVar, aVar.k()) || z10) ? WrapContentElement.INSTANCE.c(bVar, z10) : f1857e : f1856d);
    }
}
