package com.revenuecat.purchases.ui.revenuecatui.components.style;

import androidx.compose.runtime.Immutable;
import com.revenuecat.purchases.paywalls.components.CountdownComponent;
import com.revenuecat.purchases.paywalls.components.properties.Size;
import java.util.Date;
import kotlin.jvm.internal.o;

/* JADX INFO: loaded from: classes3.dex */
@Immutable
public final class CountdownComponentStyle implements ComponentStyle {
    public static final int $stable = 0;
    private final CountdownComponent.CountFrom countFrom;
    private final StackComponentStyle countdownStackComponentStyle;
    private final Date date;
    private final StackComponentStyle endStackComponentStyle;
    private final StackComponentStyle fallbackStackComponentStyle;
    private final Size size;
    private final boolean visible;

    public CountdownComponentStyle(Date date, CountdownComponent.CountFrom countFrom, StackComponentStyle countdownStackComponentStyle, StackComponentStyle stackComponentStyle, StackComponentStyle stackComponentStyle2) {
        o.h(date, "date");
        o.h(countFrom, "countFrom");
        o.h(countdownStackComponentStyle, "countdownStackComponentStyle");
        this.date = date;
        this.countFrom = countFrom;
        this.countdownStackComponentStyle = countdownStackComponentStyle;
        this.endStackComponentStyle = stackComponentStyle;
        this.fallbackStackComponentStyle = stackComponentStyle2;
        this.visible = countdownStackComponentStyle.getVisible();
        this.size = countdownStackComponentStyle.getSize();
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof CountdownComponentStyle)) {
            return false;
        }
        CountdownComponentStyle countdownComponentStyle = (CountdownComponentStyle) obj;
        return o.c(this.date, countdownComponentStyle.date) && this.countFrom == countdownComponentStyle.countFrom && o.c(this.countdownStackComponentStyle, countdownComponentStyle.countdownStackComponentStyle) && o.c(this.endStackComponentStyle, countdownComponentStyle.endStackComponentStyle) && o.c(this.fallbackStackComponentStyle, countdownComponentStyle.fallbackStackComponentStyle);
    }

    public final /* synthetic */ CountdownComponent.CountFrom getCountFrom() {
        return this.countFrom;
    }

    public final /* synthetic */ StackComponentStyle getCountdownStackComponentStyle() {
        return this.countdownStackComponentStyle;
    }

    public final /* synthetic */ Date getDate() {
        return this.date;
    }

    public final /* synthetic */ StackComponentStyle getEndStackComponentStyle() {
        return this.endStackComponentStyle;
    }

    public final /* synthetic */ StackComponentStyle getFallbackStackComponentStyle() {
        return this.fallbackStackComponentStyle;
    }

    @Override // com.revenuecat.purchases.ui.revenuecatui.components.style.ComponentStyle
    public Size getSize() {
        return this.size;
    }

    @Override // com.revenuecat.purchases.ui.revenuecatui.components.style.ComponentStyle
    public boolean getVisible() {
        return this.visible;
    }

    public int hashCode() {
        int iHashCode = (this.countdownStackComponentStyle.hashCode() + ((this.countFrom.hashCode() + (this.date.hashCode() * 31)) * 31)) * 31;
        StackComponentStyle stackComponentStyle = this.endStackComponentStyle;
        int iHashCode2 = (iHashCode + (stackComponentStyle == null ? 0 : stackComponentStyle.hashCode())) * 31;
        StackComponentStyle stackComponentStyle2 = this.fallbackStackComponentStyle;
        return iHashCode2 + (stackComponentStyle2 != null ? stackComponentStyle2.hashCode() : 0);
    }

    public String toString() {
        return "CountdownComponentStyle(date=" + this.date + ", countFrom=" + this.countFrom + ", countdownStackComponentStyle=" + this.countdownStackComponentStyle + ", endStackComponentStyle=" + this.endStackComponentStyle + ", fallbackStackComponentStyle=" + this.fallbackStackComponentStyle + ')';
    }
}
