package com.revenuecat.purchases.paywalls.components.properties;

import androidx.compose.runtime.Immutable;
import com.revenuecat.purchases.InternalRevenueCatAPI;
import g5.a;
import i5.g;
import j5.b;
import k5.P;
import k5.a0;
import kotlin.jvm.internal.h;
import kotlin.jvm.internal.o;
import w4.InterfaceC3141c;

/* JADX INFO: loaded from: classes3.dex */
@Immutable
@InternalRevenueCatAPI
public final class Shadow {
    public static final Companion Companion = new Companion(null);
    private final ColorScheme color;
    private final double radius;

    /* JADX INFO: renamed from: x, reason: collision with root package name */
    private final double f14437x;

    /* JADX INFO: renamed from: y, reason: collision with root package name */
    private final double f14438y;

    public static final class Companion {
        public /* synthetic */ Companion(h hVar) {
            this();
        }

        public final a serializer() {
            return Shadow$$serializer.INSTANCE;
        }

        private Companion() {
        }
    }

    @InterfaceC3141c
    public /* synthetic */ Shadow(int i6, ColorScheme colorScheme, double d6, double d7, double d8, a0 a0Var) {
        if (15 != (i6 & 15)) {
            P.h(i6, 15, Shadow$$serializer.INSTANCE.getDescriptor());
            throw null;
        }
        this.color = colorScheme;
        this.radius = d6;
        this.f14437x = d7;
        this.f14438y = d8;
    }

    public static final /* synthetic */ void write$Self$purchases_defaultsBc8Release(Shadow shadow, b bVar, g gVar) {
        bVar.z(gVar, 0, ColorScheme$$serializer.INSTANCE, shadow.color);
        bVar.r(gVar, 1, shadow.radius);
        bVar.r(gVar, 2, shadow.f14437x);
        bVar.r(gVar, 3, shadow.f14438y);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof Shadow)) {
            return false;
        }
        Shadow shadow = (Shadow) obj;
        return o.c(this.color, shadow.color) && Double.compare(this.radius, shadow.radius) == 0 && Double.compare(this.f14437x, shadow.f14437x) == 0 && Double.compare(this.f14438y, shadow.f14438y) == 0;
    }

    public final /* synthetic */ ColorScheme getColor() {
        return this.color;
    }

    public final /* synthetic */ double getRadius() {
        return this.radius;
    }

    public final /* synthetic */ double getX() {
        return this.f14437x;
    }

    public final /* synthetic */ double getY() {
        return this.f14438y;
    }

    public int hashCode() {
        return Double.hashCode(this.f14438y) + ((Double.hashCode(this.f14437x) + ((Double.hashCode(this.radius) + (this.color.hashCode() * 31)) * 31)) * 31);
    }

    public String toString() {
        return "Shadow(color=" + this.color + ", radius=" + this.radius + ", x=" + this.f14437x + ", y=" + this.f14438y + ')';
    }

    public Shadow(ColorScheme color, double d6, double d7, double d8) {
        o.h(color, "color");
        this.color = color;
        this.radius = d6;
        this.f14437x = d7;
        this.f14438y = d8;
    }
}
