package m0;

import I0.AbstractC0300j0;
import I0.AbstractC0303l;
import I0.Z;
import J0.L0;
import androidx.compose.runtime.internal.StabilityInferred;
import i0.AbstractC2254r;
import p0.C2708n;
import p0.C2714u;
import q.AbstractC2761L;

/* JADX INFO: loaded from: classes.dex */
@StabilityInferred(parameters = 1)
public final class p extends Z {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final float f20400a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final J.f f20401b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final boolean f20402c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final long f20403d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final long f20404e;

    public p(float f6, J.f fVar, boolean z6, long j4, long j6) {
        this.f20400a = f6;
        this.f20401b = fVar;
        this.f20402c = z6;
        this.f20403d = j4;
        this.f20404e = j6;
    }

    @Override // I0.Z
    public final AbstractC2254r create() {
        return new C2708n(new C0.Z(this, 22));
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof p)) {
            return false;
        }
        p pVar = (p) obj;
        return h1.f.c(this.f20400a, pVar.f20400a) && kotlin.jvm.internal.o.c(this.f20401b, pVar.f20401b) && this.f20402c == pVar.f20402c && C2714u.d(this.f20403d, pVar.f20403d) && C2714u.d(this.f20404e, pVar.f20404e);
    }

    public final int hashCode() {
        int iF = com.google.android.recaptcha.internal.a.f((this.f20401b.hashCode() + (Float.hashCode(this.f20400a) * 31)) * 31, 31, this.f20402c);
        int i6 = C2714u.f22946n;
        return Long.hashCode(this.f20404e) + com.google.android.recaptcha.internal.a.e(iF, 31, this.f20403d);
    }

    @Override // I0.Z
    public final void inspectableProperties(L0 l02) {
        l02.f2894a = "shadow";
        h1.f fVar = new h1.f(this.f20400a);
        H4.f fVar2 = l02.f2896c;
        fVar2.c(fVar, "elevation");
        fVar2.c(this.f20401b, "shape");
        fVar2.c(Boolean.valueOf(this.f20402c), "clip");
        fVar2.c(new C2714u(this.f20403d), "ambientColor");
        fVar2.c(new C2714u(this.f20404e), "spotColor");
    }

    public final String toString() {
        StringBuilder sb = new StringBuilder("ShadowGraphicsLayerElement(elevation=");
        AbstractC2761L.k(this.f20400a, sb, ", shape=");
        sb.append(this.f20401b);
        sb.append(", clip=");
        sb.append(this.f20402c);
        sb.append(", ambientColor=");
        AbstractC2761L.n(this.f20403d, ", spotColor=", sb);
        sb.append((Object) C2714u.j(this.f20404e));
        sb.append(')');
        return sb.toString();
    }

    @Override // I0.Z
    public final void update(AbstractC2254r abstractC2254r) throws Throwable {
        AbstractC0300j0 abstractC0300j0;
        C2708n c2708n = (C2708n) abstractC2254r;
        C0.Z z6 = new C0.Z(this, 22);
        c2708n.f22928a = z6;
        if (c2708n.getNode().isAttached() && (abstractC0300j0 = AbstractC0303l.r(c2708n, 2).f2422s) != null) {
            abstractC0300j0.t1(true, z6);
        }
    }
}
