package com.revenuecat.purchases.ui.revenuecatui.customercenter.views;

import kotlin.jvm.internal.h;
import kotlin.jvm.internal.o;
import p0.C2714u;
import v.C2978G;

/* JADX INFO: loaded from: classes3.dex */
final class BadgeInfo {
    private final C2978G border;
    private final C2714u color;
    private final String text;
    private final C2714u textColor;

    public /* synthetic */ BadgeInfo(String str, C2714u c2714u, C2978G c2978g, C2714u c2714u2, h hVar) {
        this(str, c2714u, c2978g, c2714u2);
    }

    /* JADX INFO: renamed from: copy-yw5i9vo$default, reason: not valid java name */
    public static /* synthetic */ BadgeInfo m966copyyw5i9vo$default(BadgeInfo badgeInfo, String str, C2714u c2714u, C2978G c2978g, C2714u c2714u2, int i6, Object obj) {
        if ((i6 & 1) != 0) {
            str = badgeInfo.text;
        }
        if ((i6 & 2) != 0) {
            c2714u = badgeInfo.color;
        }
        if ((i6 & 4) != 0) {
            c2978g = badgeInfo.border;
        }
        if ((i6 & 8) != 0) {
            c2714u2 = badgeInfo.textColor;
        }
        return badgeInfo.m969copyyw5i9vo(str, c2714u, c2978g, c2714u2);
    }

    public final String component1() {
        return this.text;
    }

    /* JADX INFO: renamed from: component2-QN2ZGVo, reason: not valid java name */
    public final C2714u m967component2QN2ZGVo() {
        return this.color;
    }

    public final C2978G component3() {
        return this.border;
    }

    /* JADX INFO: renamed from: component4-QN2ZGVo, reason: not valid java name */
    public final C2714u m968component4QN2ZGVo() {
        return this.textColor;
    }

    /* JADX INFO: renamed from: copy-yw5i9vo, reason: not valid java name */
    public final BadgeInfo m969copyyw5i9vo(String str, C2714u c2714u, C2978G c2978g, C2714u c2714u2) {
        return new BadgeInfo(str, c2714u, c2978g, c2714u2, null);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof BadgeInfo)) {
            return false;
        }
        BadgeInfo badgeInfo = (BadgeInfo) obj;
        return o.c(this.text, badgeInfo.text) && o.c(this.color, badgeInfo.color) && o.c(this.border, badgeInfo.border) && o.c(this.textColor, badgeInfo.textColor);
    }

    public final C2978G getBorder() {
        return this.border;
    }

    /* JADX INFO: renamed from: getColor-QN2ZGVo, reason: not valid java name */
    public final C2714u m970getColorQN2ZGVo() {
        return this.color;
    }

    public final String getText() {
        return this.text;
    }

    /* JADX INFO: renamed from: getTextColor-QN2ZGVo, reason: not valid java name */
    public final C2714u m971getTextColorQN2ZGVo() {
        return this.textColor;
    }

    public int hashCode() {
        String str = this.text;
        int iHashCode = (str == null ? 0 : str.hashCode()) * 31;
        C2714u c2714u = this.color;
        int iHashCode2 = (iHashCode + (c2714u == null ? 0 : Long.hashCode(c2714u.f22947a))) * 31;
        C2978G c2978g = this.border;
        int iHashCode3 = (iHashCode2 + (c2978g == null ? 0 : c2978g.hashCode())) * 31;
        C2714u c2714u2 = this.textColor;
        return iHashCode3 + (c2714u2 != null ? Long.hashCode(c2714u2.f22947a) : 0);
    }

    public String toString() {
        return "BadgeInfo(text=" + this.text + ", color=" + this.color + ", border=" + this.border + ", textColor=" + this.textColor + ')';
    }

    private BadgeInfo(String str, C2714u c2714u, C2978G c2978g, C2714u c2714u2) {
        this.text = str;
        this.color = c2714u;
        this.border = c2978g;
        this.textColor = c2714u2;
    }

    public /* synthetic */ BadgeInfo(String str, C2714u c2714u, C2978G c2978g, C2714u c2714u2, int i6, h hVar) {
        this(str, c2714u, (i6 & 4) != 0 ? null : c2978g, (i6 & 8) != 0 ? null : c2714u2, null);
    }
}
