package androidx.compose.ui.draw;

import c3.h;
import dn.l;
import j2.s0;
import kotlin.Metadata;
import kotlin.jvm.internal.k;
import kotlin.jvm.internal.t;
import kotlin.jvm.internal.v;
import rm.n0;
import s1.g0;
import s1.r1;
import s1.x;

@Metadata(d1 = {"\u0000L\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\n\n\u0002\u0018\u0002\n\u0002\b\u000b\b\u0080\b\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B/\u0012\u0006\u0010\u0017\u001a\u00020\u0012\u0012\u0006\u0010\u001d\u001a\u00020\u0018\u0012\u0006\u0010\"\u001a\u00020\u0010\u0012\u0006\u0010(\u001a\u00020#\u0012\u0006\u0010+\u001a\u00020#¢\u0006\u0004\b,\u0010-J\u0014\u0010\u0006\u001a\u000e\u0012\u0004\u0012\u00020\u0004\u0012\u0004\u0012\u00020\u00050\u0003H\u0002J\b\u0010\u0007\u001a\u00020\u0002H\u0016J\u0010\u0010\t\u001a\u00020\u00052\u0006\u0010\b\u001a\u00020\u0002H\u0016J\t\u0010\u000b\u001a\u00020\nHÖ\u0001J\t\u0010\r\u001a\u00020\fHÖ\u0001J\u0013\u0010\u0011\u001a\u00020\u00102\b\u0010\u000f\u001a\u0004\u0018\u00010\u000eHÖ\u0003R\u001d\u0010\u0017\u001a\u00020\u00128\u0006ø\u0001\u0000ø\u0001\u0001¢\u0006\f\n\u0004\b\u0013\u0010\u0014\u001a\u0004\b\u0015\u0010\u0016R\u0017\u0010\u001d\u001a\u00020\u00188\u0006¢\u0006\f\n\u0004\b\u0019\u0010\u001a\u001a\u0004\b\u001b\u0010\u001cR\u0017\u0010\"\u001a\u00020\u00108\u0006¢\u0006\f\n\u0004\b\u001e\u0010\u001f\u001a\u0004\b \u0010!R\u001d\u0010(\u001a\u00020#8\u0006ø\u0001\u0000ø\u0001\u0001¢\u0006\f\n\u0004\b$\u0010%\u001a\u0004\b&\u0010'R\u001d\u0010+\u001a\u00020#8\u0006ø\u0001\u0000ø\u0001\u0001¢\u0006\f\n\u0004\b)\u0010%\u001a\u0004\b*\u0010'\u0082\u0002\u000b\n\u0005\b¡\u001e0\u0001\n\u0002\b!¨\u0006."}, d2 = {"Landroidx/compose/ui/draw/ShadowGraphicsLayerElement;", "Lj2/s0;", "Ls1/x;", "Lkotlin/Function1;", "Landroidx/compose/ui/graphics/c;", "Lrm/n0;", "l", "k", "node", "u", "", "toString", "", "hashCode", "", "other", "", "equals", "Lc3/h;", "b", "F", "o", "()F", "elevation", "Ls1/r1;", "c", "Ls1/r1;", "q", "()Ls1/r1;", "shape", "d", "Z", "n", "()Z", "clip", "Ls1/g0;", "e", "J", "m", "()J", "ambientColor", "f", "t", "spotColor", "<init>", "(FLs1/r1;ZJJLkotlin/jvm/internal/k;)V", "ui_release"}, k = 1, mv = {1, 8, 0})
/* loaded from: classes.dex */
public final /* data */ class ShadowGraphicsLayerElement extends s0 {

    /* renamed from: b, reason: collision with root package name and from kotlin metadata and from toString */
    private final float elevation;

    /* renamed from: c, reason: collision with root package name and from kotlin metadata and from toString */
    private final r1 shape;

    /* renamed from: d, reason: collision with root package name and from kotlin metadata and from toString */
    private final boolean clip;

    /* renamed from: e, reason: collision with root package name and from kotlin metadata and from toString */
    private final long ambientColor;

    /* renamed from: f, reason: collision with root package name and from kotlin metadata and from toString */
    private final long spotColor;

    /* JADX INFO: Access modifiers changed from: package-private */
    /* loaded from: classes.dex */
    public static final class a extends v implements l {
        a() {
            super(1);
        }

        public final void a(androidx.compose.ui.graphics.c cVar) {
            cVar.o(cVar.L0(ShadowGraphicsLayerElement.this.getElevation()));
            cVar.U0(ShadowGraphicsLayerElement.this.getShape());
            cVar.F(ShadowGraphicsLayerElement.this.getClip());
            cVar.A(ShadowGraphicsLayerElement.this.getAmbientColor());
            cVar.H(ShadowGraphicsLayerElement.this.getSpotColor());
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            a((androidx.compose.ui.graphics.c) obj);
            return n0.f34904a;
        }
    }

    public /* synthetic */ ShadowGraphicsLayerElement(float f10, r1 r1Var, boolean z10, long j10, long j11, k kVar) {
        this(f10, r1Var, z10, j10, j11);
    }

    private final l l() {
        return new a();
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof ShadowGraphicsLayerElement)) {
            return false;
        }
        ShadowGraphicsLayerElement shadowGraphicsLayerElement = (ShadowGraphicsLayerElement) other;
        return h.v(this.elevation, shadowGraphicsLayerElement.elevation) && t.b(this.shape, shadowGraphicsLayerElement.shape) && this.clip == shadowGraphicsLayerElement.clip && g0.n(this.ambientColor, shadowGraphicsLayerElement.ambientColor) && g0.n(this.spotColor, shadowGraphicsLayerElement.spotColor);
    }

    public int hashCode() {
        return (((((((h.w(this.elevation) * 31) + this.shape.hashCode()) * 31) + Boolean.hashCode(this.clip)) * 31) + g0.t(this.ambientColor)) * 31) + g0.t(this.spotColor);
    }

    @Override // j2.s0
    /* renamed from: k, reason: merged with bridge method [inline-methods] */
    public x c() {
        return new x(l());
    }

    /* renamed from: m, reason: from getter */
    public final long getAmbientColor() {
        return this.ambientColor;
    }

    /* renamed from: n, reason: from getter */
    public final boolean getClip() {
        return this.clip;
    }

    /* renamed from: o, reason: from getter */
    public final float getElevation() {
        return this.elevation;
    }

    /* renamed from: q, reason: from getter */
    public final r1 getShape() {
        return this.shape;
    }

    /* renamed from: t, reason: from getter */
    public final long getSpotColor() {
        return this.spotColor;
    }

    public String toString() {
        return "ShadowGraphicsLayerElement(elevation=" + ((Object) h.x(this.elevation)) + ", shape=" + this.shape + ", clip=" + this.clip + ", ambientColor=" + ((Object) g0.u(this.ambientColor)) + ", spotColor=" + ((Object) g0.u(this.spotColor)) + ')';
    }

    @Override // j2.s0
    /* renamed from: u, reason: merged with bridge method [inline-methods] */
    public void j(x xVar) {
        xVar.j2(l());
        xVar.i2();
    }

    private ShadowGraphicsLayerElement(float f10, r1 r1Var, boolean z10, long j10, long j11) {
        this.elevation = f10;
        this.shape = r1Var;
        this.clip = z10;
        this.ambientColor = j10;
        this.spotColor = j11;
    }
}
