package K;

import androidx.compose.runtime.State;
import h3.AbstractC2190s4;
import o0.C2631b;
import p0.C2714u;
import p0.InterfaceC2687E;
import q.C2786l0;
import r0.InterfaceC2866e;
import w4.C3137A;

/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class H0 implements J4.c {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ int f3655a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ State f3656b;

    public /* synthetic */ H0(State state, int i6) {
        this.f3655a = i6;
        this.f3656b = state;
    }

    @Override // J4.c
    public final Object invoke(Object obj) {
        C3137A c3137a = C3137A.f25453a;
        State state = this.f3656b;
        switch (this.f3655a) {
            case 0:
                ((J4.c) state.getValue()).invoke((C2631b) obj);
                return c3137a;
            case 1:
                InterfaceC2687E graphicsLayer = (InterfaceC2687E) obj;
                kotlin.jvm.internal.o.h(graphicsLayer, "$this$graphicsLayer");
                p0.U u6 = (p0.U) graphicsLayer;
                u6.w(((Number) state.getValue()).floatValue());
                u6.z(((Number) state.getValue()).floatValue());
                u6.J(p0.c0.f22905b);
                return c3137a;
            case 2:
                C2786l0 c2786l0 = M2.T0.f4553a;
                J4.a aVar = (J4.a) state.getValue();
                if (aVar != null) {
                    aVar.invoke();
                }
                return c3137a;
            case 3:
                C2786l0 c2786l02 = M2.T0.f4553a;
                ((J4.a) state.getValue()).invoke();
                return c3137a;
            case 4:
                InterfaceC2687E graphicsLayer2 = (InterfaceC2687E) obj;
                kotlin.jvm.internal.o.h(graphicsLayer2, "$this$graphicsLayer");
                p0.U u7 = (p0.U) graphicsLayer2;
                u7.w(((Number) state.getValue()).floatValue());
                u7.z(((Number) state.getValue()).floatValue());
                return c3137a;
            case 5:
                InterfaceC2687E graphicsLayer3 = (InterfaceC2687E) obj;
                kotlin.jvm.internal.o.h(graphicsLayer3, "$this$graphicsLayer");
                ((p0.U) graphicsLayer3).d(((Number) state.getValue()).floatValue());
                return c3137a;
            case 6:
                InterfaceC2866e interfaceC2866e = (InterfaceC2866e) obj;
                long j4 = ((C2714u) state.getValue()).f22947a;
                if (!C2714u.d(j4, C2714u.f22945m)) {
                    InterfaceC2866e.C(interfaceC2866e, j4, 0L, 0L, 0.0f, 126);
                }
                return c3137a;
            case 7:
                InterfaceC2687E graphicsLayer4 = (InterfaceC2687E) obj;
                kotlin.jvm.internal.o.h(graphicsLayer4, "$this$graphicsLayer");
                p0.U u8 = (p0.U) graphicsLayer4;
                u8.w(((Number) state.getValue()).floatValue());
                u8.z(((Number) state.getValue()).floatValue());
                return c3137a;
            case 8:
                InterfaceC2687E graphicsLayer5 = (InterfaceC2687E) obj;
                kotlin.jvm.internal.o.h(graphicsLayer5, "$this$graphicsLayer");
                p0.U u9 = (p0.U) graphicsLayer5;
                u9.w(((Number) state.getValue()).floatValue());
                u9.z(((Number) state.getValue()).floatValue());
                return c3137a;
            case 9:
                InterfaceC2687E graphicsLayer6 = (InterfaceC2687E) obj;
                kotlin.jvm.internal.o.h(graphicsLayer6, "$this$graphicsLayer");
                p0.U u10 = (p0.U) graphicsLayer6;
                u10.d(L4.a.u(((Number) state.getValue()).floatValue(), 0.0f, 1.0f));
                u10.r((1.0f - ((Number) state.getValue()).floatValue()) * (-8.0f));
                return c3137a;
            case 10:
                InterfaceC2687E graphicsLayer7 = (InterfaceC2687E) obj;
                kotlin.jvm.internal.o.h(graphicsLayer7, "$this$graphicsLayer");
                float f6 = AbstractC2190s4.f18484a;
                ((p0.U) graphicsLayer7).d(((Number) state.getValue()).floatValue());
                return c3137a;
            case 11:
                InterfaceC2687E graphicsLayer8 = (InterfaceC2687E) obj;
                kotlin.jvm.internal.o.h(graphicsLayer8, "$this$graphicsLayer");
                ((p0.U) graphicsLayer8).d(((Number) state.getValue()).floatValue());
                return c3137a;
            case 12:
                InterfaceC2687E graphicsLayer9 = (InterfaceC2687E) obj;
                kotlin.jvm.internal.o.h(graphicsLayer9, "$this$graphicsLayer");
                ((p0.U) graphicsLayer9).d(((Number) state.getValue()).floatValue());
                return c3137a;
            case 13:
                Float f7 = (Float) obj;
                f7.getClass();
                ((J4.c) state.getValue()).invoke(f7);
                return c3137a;
            default:
                Float f8 = (Float) obj;
                f8.getClass();
                return Float.valueOf(((Number) ((J4.c) state.getValue()).invoke(f8)).floatValue());
        }
    }
}
