package y;

import c3.h;
import c3.j;
import c3.n;
import c3.r;
import r1.g;
import r1.i;
import r1.m;

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

    /* renamed from: a, reason: collision with root package name */
    private static final q1 f51365a = a(e.f51378p, f.f51379p);

    /* renamed from: b, reason: collision with root package name */
    private static final q1 f51366b = a(k.f51384p, l.f51385p);

    /* renamed from: c, reason: collision with root package name */
    private static final q1 f51367c = a(c.f51376p, d.f51377p);

    /* renamed from: d, reason: collision with root package name */
    private static final q1 f51368d = a(a.f51374p, b.f51375p);

    /* renamed from: e, reason: collision with root package name */
    private static final q1 f51369e = a(q.f51390p, r.f51391p);

    /* renamed from: f, reason: collision with root package name */
    private static final q1 f51370f = a(m.f51386p, n.f51387p);

    /* renamed from: g, reason: collision with root package name */
    private static final q1 f51371g = a(g.f51380p, h.f51381p);

    /* renamed from: h, reason: collision with root package name */
    private static final q1 f51372h = a(i.f51382p, j.f51383p);

    /* renamed from: i, reason: collision with root package name */
    private static final q1 f51373i = a(o.f51388p, p.f51389p);

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

        /* renamed from: p, reason: collision with root package name */
        public static final a f51374p = new a();

        a() {
            super(1);
        }

        public final y.n a(long j10) {
            return new y.n(c3.j.e(j10), c3.j.f(j10));
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            return a(((c3.j) obj).i());
        }
    }

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

        /* renamed from: p, reason: collision with root package name */
        public static final b f51375p = new b();

        b() {
            super(1);
        }

        public final long a(y.n nVar) {
            return c3.i.a(c3.h.t(nVar.f()), c3.h.t(nVar.g()));
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            return c3.j.a(a((y.n) obj));
        }
    }

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

        /* renamed from: p, reason: collision with root package name */
        public static final c f51376p = new c();

        c() {
            super(1);
        }

        public final y.m a(float f10) {
            return new y.m(f10);
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            return a(((c3.h) obj).y());
        }
    }

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

        /* renamed from: p, reason: collision with root package name */
        public static final d f51377p = new d();

        d() {
            super(1);
        }

        public final float a(y.m mVar) {
            return c3.h.t(mVar.f());
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            return c3.h.m(a((y.m) obj));
        }
    }

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

        /* renamed from: p, reason: collision with root package name */
        public static final e f51378p = new e();

        e() {
            super(1);
        }

        public final y.m a(float f10) {
            return new y.m(f10);
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            return a(((Number) obj).floatValue());
        }
    }

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

        /* renamed from: p, reason: collision with root package name */
        public static final f f51379p = new f();

        f() {
            super(1);
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final Float invoke(y.m mVar) {
            return Float.valueOf(mVar.f());
        }
    }

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

        /* renamed from: p, reason: collision with root package name */
        public static final g f51380p = new g();

        g() {
            super(1);
        }

        public final y.n a(long j10) {
            return new y.n(c3.n.h(j10), c3.n.i(j10));
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            return a(((c3.n) obj).n());
        }
    }

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

        /* renamed from: p, reason: collision with root package name */
        public static final h f51381p = new h();

        h() {
            super(1);
        }

        public final long a(y.n nVar) {
            return c3.o.a(Math.round(nVar.f()), Math.round(nVar.g()));
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            return c3.n.b(a((y.n) obj));
        }
    }

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

        /* renamed from: p, reason: collision with root package name */
        public static final i f51382p = new i();

        i() {
            super(1);
        }

        public final y.n a(long j10) {
            return new y.n(c3.r.g(j10), c3.r.f(j10));
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            return a(((c3.r) obj).j());
        }
    }

    /* loaded from: classes.dex */
    static final class j extends kotlin.jvm.internal.v implements dn.l {

        /* renamed from: p, reason: collision with root package name */
        public static final j f51383p = new j();

        j() {
            super(1);
        }

        public final long a(y.n nVar) {
            int d10;
            int d11;
            d10 = jn.o.d(Math.round(nVar.f()), 0);
            d11 = jn.o.d(Math.round(nVar.g()), 0);
            return c3.s.a(d10, d11);
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            return c3.r.b(a((y.n) obj));
        }
    }

    /* loaded from: classes.dex */
    static final class k extends kotlin.jvm.internal.v implements dn.l {

        /* renamed from: p, reason: collision with root package name */
        public static final k f51384p = new k();

        k() {
            super(1);
        }

        public final y.m a(int i10) {
            return new y.m(i10);
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            return a(((Number) obj).intValue());
        }
    }

    /* loaded from: classes.dex */
    static final class l extends kotlin.jvm.internal.v implements dn.l {

        /* renamed from: p, reason: collision with root package name */
        public static final l f51385p = new l();

        l() {
            super(1);
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final Integer invoke(y.m mVar) {
            return Integer.valueOf((int) mVar.f());
        }
    }

    /* loaded from: classes.dex */
    static final class m extends kotlin.jvm.internal.v implements dn.l {

        /* renamed from: p, reason: collision with root package name */
        public static final m f51386p = new m();

        m() {
            super(1);
        }

        public final y.n a(long j10) {
            return new y.n(r1.g.m(j10), r1.g.n(j10));
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            return a(((r1.g) obj).v());
        }
    }

    /* loaded from: classes.dex */
    static final class n extends kotlin.jvm.internal.v implements dn.l {

        /* renamed from: p, reason: collision with root package name */
        public static final n f51387p = new n();

        n() {
            super(1);
        }

        public final long a(y.n nVar) {
            return r1.h.a(nVar.f(), nVar.g());
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            return r1.g.d(a((y.n) obj));
        }
    }

    /* loaded from: classes.dex */
    static final class o extends kotlin.jvm.internal.v implements dn.l {

        /* renamed from: p, reason: collision with root package name */
        public static final o f51388p = new o();

        o() {
            super(1);
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final y.p invoke(r1.i iVar) {
            return new y.p(iVar.i(), iVar.l(), iVar.j(), iVar.e());
        }
    }

    /* loaded from: classes.dex */
    static final class p extends kotlin.jvm.internal.v implements dn.l {

        /* renamed from: p, reason: collision with root package name */
        public static final p f51389p = new p();

        p() {
            super(1);
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final r1.i invoke(y.p pVar) {
            return new r1.i(pVar.f(), pVar.g(), pVar.h(), pVar.i());
        }
    }

    /* loaded from: classes.dex */
    static final class q extends kotlin.jvm.internal.v implements dn.l {

        /* renamed from: p, reason: collision with root package name */
        public static final q f51390p = new q();

        q() {
            super(1);
        }

        public final y.n a(long j10) {
            return new y.n(r1.m.i(j10), r1.m.g(j10));
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            return a(((r1.m) obj).m());
        }
    }

    /* loaded from: classes.dex */
    static final class r extends kotlin.jvm.internal.v implements dn.l {

        /* renamed from: p, reason: collision with root package name */
        public static final r f51391p = new r();

        r() {
            super(1);
        }

        public final long a(y.n nVar) {
            return r1.n.a(nVar.f(), nVar.g());
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            return r1.m.c(a((y.n) obj));
        }
    }

    public static final q1 a(dn.l lVar, dn.l lVar2) {
        return new r1(lVar, lVar2);
    }

    public static final q1 b(h.a aVar) {
        return f51367c;
    }

    public static final q1 c(j.a aVar) {
        return f51368d;
    }

    public static final q1 d(n.a aVar) {
        return f51371g;
    }

    public static final q1 e(r.a aVar) {
        return f51372h;
    }

    public static final q1 f(kotlin.jvm.internal.m mVar) {
        return f51365a;
    }

    public static final q1 g(kotlin.jvm.internal.s sVar) {
        return f51366b;
    }

    public static final q1 h(g.a aVar) {
        return f51370f;
    }

    public static final q1 i(i.a aVar) {
        return f51373i;
    }

    public static final q1 j(m.a aVar) {
        return f51369e;
    }

    public static final float k(float f10, float f11, float f12) {
        return (f10 * (1 - f12)) + (f11 * f12);
    }
}
