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

import androidx.compose.runtime.Immutable;
import androidx.compose.runtime.internal.StabilityInferred;
import com.revenuecat.purchases.ui.revenuecatui.customercenter.data.CreateSupportTicketData;
import com.revenuecat.purchases.ui.revenuecatui.customercenter.data.FeedbackSurveyData;
import com.revenuecat.purchases.ui.revenuecatui.customercenter.data.PromotionalOfferData;
import com.revenuecat.purchases.ui.revenuecatui.customercenter.data.PurchaseInformation;
import kotlin.jvm.internal.h;
import kotlin.jvm.internal.o;

/* JADX INFO: loaded from: classes3.dex */
@Immutable
public abstract class CustomerCenterDestination {
    public static final int $stable = 0;
    private final CustomerCenterAnimationType animationType;

    @StabilityInferred(parameters = 1)
    public static final class CreateSupportTicket extends CustomerCenterDestination {
        public static final int $stable = 0;
        private final CreateSupportTicketData data;
        private final String title;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public CreateSupportTicket(CreateSupportTicketData data, String title) {
            super(null);
            o.h(data, "data");
            o.h(title, "title");
            this.data = data;
            this.title = title;
        }

        public static /* synthetic */ CreateSupportTicket copy$default(CreateSupportTicket createSupportTicket, CreateSupportTicketData createSupportTicketData, String str, int i6, Object obj) {
            if ((i6 & 1) != 0) {
                createSupportTicketData = createSupportTicket.data;
            }
            if ((i6 & 2) != 0) {
                str = createSupportTicket.title;
            }
            return createSupportTicket.copy(createSupportTicketData, str);
        }

        public final CreateSupportTicketData component1() {
            return this.data;
        }

        public final String component2() {
            return this.title;
        }

        public final CreateSupportTicket copy(CreateSupportTicketData data, String title) {
            o.h(data, "data");
            o.h(title, "title");
            return new CreateSupportTicket(data, title);
        }

        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (!(obj instanceof CreateSupportTicket)) {
                return false;
            }
            CreateSupportTicket createSupportTicket = (CreateSupportTicket) obj;
            return o.c(this.data, createSupportTicket.data) && o.c(this.title, createSupportTicket.title);
        }

        public final CreateSupportTicketData getData() {
            return this.data;
        }

        @Override // com.revenuecat.purchases.ui.revenuecatui.customercenter.navigation.CustomerCenterDestination
        public String getTitle() {
            return this.title;
        }

        public int hashCode() {
            return this.title.hashCode() + (this.data.hashCode() * 31);
        }

        public String toString() {
            StringBuilder sb = new StringBuilder("CreateSupportTicket(data=");
            sb.append(this.data);
            sb.append(", title=");
            return Z0.o.r(sb, this.title, ')');
        }
    }

    @StabilityInferred(parameters = 1)
    public static final class FeedbackSurvey extends CustomerCenterDestination {
        public static final int $stable = 0;
        private final FeedbackSurveyData data;
        private final String title;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public FeedbackSurvey(FeedbackSurveyData data, String title) {
            super(null);
            o.h(data, "data");
            o.h(title, "title");
            this.data = data;
            this.title = title;
        }

        public static /* synthetic */ FeedbackSurvey copy$default(FeedbackSurvey feedbackSurvey, FeedbackSurveyData feedbackSurveyData, String str, int i6, Object obj) {
            if ((i6 & 1) != 0) {
                feedbackSurveyData = feedbackSurvey.data;
            }
            if ((i6 & 2) != 0) {
                str = feedbackSurvey.title;
            }
            return feedbackSurvey.copy(feedbackSurveyData, str);
        }

        public final FeedbackSurveyData component1() {
            return this.data;
        }

        public final String component2() {
            return this.title;
        }

        public final FeedbackSurvey copy(FeedbackSurveyData data, String title) {
            o.h(data, "data");
            o.h(title, "title");
            return new FeedbackSurvey(data, title);
        }

        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (!(obj instanceof FeedbackSurvey)) {
                return false;
            }
            FeedbackSurvey feedbackSurvey = (FeedbackSurvey) obj;
            return o.c(this.data, feedbackSurvey.data) && o.c(this.title, feedbackSurvey.title);
        }

        public final FeedbackSurveyData getData() {
            return this.data;
        }

        @Override // com.revenuecat.purchases.ui.revenuecatui.customercenter.navigation.CustomerCenterDestination
        public String getTitle() {
            return this.title;
        }

        public int hashCode() {
            return this.title.hashCode() + (this.data.hashCode() * 31);
        }

        public String toString() {
            StringBuilder sb = new StringBuilder("FeedbackSurvey(data=");
            sb.append(this.data);
            sb.append(", title=");
            return Z0.o.r(sb, this.title, ')');
        }
    }

    @StabilityInferred(parameters = 1)
    public static final class Main extends CustomerCenterDestination {
        public static final int $stable = 0;
        private final String managementScreenTitle;
        private final boolean showingActivePurchasesScreen;
        private final String title;

        public Main(boolean z6, String str) {
            super(null);
            this.showingActivePurchasesScreen = z6;
            this.managementScreenTitle = str;
            this.title = z6 ? str : null;
        }

        private final boolean component1() {
            return this.showingActivePurchasesScreen;
        }

        private final String component2() {
            return this.managementScreenTitle;
        }

        public static /* synthetic */ Main copy$default(Main main, boolean z6, String str, int i6, Object obj) {
            if ((i6 & 1) != 0) {
                z6 = main.showingActivePurchasesScreen;
            }
            if ((i6 & 2) != 0) {
                str = main.managementScreenTitle;
            }
            return main.copy(z6, str);
        }

        public final Main copy(boolean z6, String str) {
            return new Main(z6, str);
        }

        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (!(obj instanceof Main)) {
                return false;
            }
            Main main = (Main) obj;
            return this.showingActivePurchasesScreen == main.showingActivePurchasesScreen && o.c(this.managementScreenTitle, main.managementScreenTitle);
        }

        @Override // com.revenuecat.purchases.ui.revenuecatui.customercenter.navigation.CustomerCenterDestination
        public String getTitle() {
            return this.title;
        }

        public int hashCode() {
            int iHashCode = Boolean.hashCode(this.showingActivePurchasesScreen) * 31;
            String str = this.managementScreenTitle;
            return iHashCode + (str == null ? 0 : str.hashCode());
        }

        public String toString() {
            StringBuilder sb = new StringBuilder("Main(showingActivePurchasesScreen=");
            sb.append(this.showingActivePurchasesScreen);
            sb.append(", managementScreenTitle=");
            return Z0.o.r(sb, this.managementScreenTitle, ')');
        }
    }

    @StabilityInferred(parameters = 1)
    public static final class PromotionalOffer extends CustomerCenterDestination {
        public static final int $stable = 0;
        private final PromotionalOfferData data;
        private final PurchaseInformation purchaseInformation;
        private final String title;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public PromotionalOffer(PromotionalOfferData data, PurchaseInformation purchaseInformation) {
            super(null);
            o.h(data, "data");
            this.data = data;
            this.purchaseInformation = purchaseInformation;
        }

        public static /* synthetic */ PromotionalOffer copy$default(PromotionalOffer promotionalOffer, PromotionalOfferData promotionalOfferData, PurchaseInformation purchaseInformation, int i6, Object obj) {
            if ((i6 & 1) != 0) {
                promotionalOfferData = promotionalOffer.data;
            }
            if ((i6 & 2) != 0) {
                purchaseInformation = promotionalOffer.purchaseInformation;
            }
            return promotionalOffer.copy(promotionalOfferData, purchaseInformation);
        }

        public final PromotionalOfferData component1() {
            return this.data;
        }

        public final PurchaseInformation component2() {
            return this.purchaseInformation;
        }

        public final PromotionalOffer copy(PromotionalOfferData data, PurchaseInformation purchaseInformation) {
            o.h(data, "data");
            return new PromotionalOffer(data, purchaseInformation);
        }

        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (!(obj instanceof PromotionalOffer)) {
                return false;
            }
            PromotionalOffer promotionalOffer = (PromotionalOffer) obj;
            return o.c(this.data, promotionalOffer.data) && o.c(this.purchaseInformation, promotionalOffer.purchaseInformation);
        }

        public final PromotionalOfferData getData() {
            return this.data;
        }

        public final PurchaseInformation getPurchaseInformation() {
            return this.purchaseInformation;
        }

        @Override // com.revenuecat.purchases.ui.revenuecatui.customercenter.navigation.CustomerCenterDestination
        public String getTitle() {
            return this.title;
        }

        public int hashCode() {
            int iHashCode = this.data.hashCode() * 31;
            PurchaseInformation purchaseInformation = this.purchaseInformation;
            return iHashCode + (purchaseInformation == null ? 0 : purchaseInformation.hashCode());
        }

        public String toString() {
            return "PromotionalOffer(data=" + this.data + ", purchaseInformation=" + this.purchaseInformation + ')';
        }
    }

    @StabilityInferred(parameters = 1)
    public static final class SelectedPurchaseDetail extends CustomerCenterDestination {
        public static final int $stable = 0;
        private final PurchaseInformation purchaseInformation;
        private final String title;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public SelectedPurchaseDetail(PurchaseInformation purchaseInformation, String title) {
            super(null);
            o.h(purchaseInformation, "purchaseInformation");
            o.h(title, "title");
            this.purchaseInformation = purchaseInformation;
            this.title = title;
        }

        public static /* synthetic */ SelectedPurchaseDetail copy$default(SelectedPurchaseDetail selectedPurchaseDetail, PurchaseInformation purchaseInformation, String str, int i6, Object obj) {
            if ((i6 & 1) != 0) {
                purchaseInformation = selectedPurchaseDetail.purchaseInformation;
            }
            if ((i6 & 2) != 0) {
                str = selectedPurchaseDetail.title;
            }
            return selectedPurchaseDetail.copy(purchaseInformation, str);
        }

        public final PurchaseInformation component1() {
            return this.purchaseInformation;
        }

        public final String component2() {
            return this.title;
        }

        public final SelectedPurchaseDetail copy(PurchaseInformation purchaseInformation, String title) {
            o.h(purchaseInformation, "purchaseInformation");
            o.h(title, "title");
            return new SelectedPurchaseDetail(purchaseInformation, title);
        }

        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (!(obj instanceof SelectedPurchaseDetail)) {
                return false;
            }
            SelectedPurchaseDetail selectedPurchaseDetail = (SelectedPurchaseDetail) obj;
            return o.c(this.purchaseInformation, selectedPurchaseDetail.purchaseInformation) && o.c(this.title, selectedPurchaseDetail.title);
        }

        public final PurchaseInformation getPurchaseInformation() {
            return this.purchaseInformation;
        }

        @Override // com.revenuecat.purchases.ui.revenuecatui.customercenter.navigation.CustomerCenterDestination
        public String getTitle() {
            return this.title;
        }

        public int hashCode() {
            return this.title.hashCode() + (this.purchaseInformation.hashCode() * 31);
        }

        public String toString() {
            StringBuilder sb = new StringBuilder("SelectedPurchaseDetail(purchaseInformation=");
            sb.append(this.purchaseInformation);
            sb.append(", title=");
            return Z0.o.r(sb, this.title, ')');
        }
    }

    @StabilityInferred(parameters = 1)
    public static final class VirtualCurrencyBalances extends CustomerCenterDestination {
        public static final int $stable = 0;
        private final String title;

        public VirtualCurrencyBalances(String str) {
            super(null);
            this.title = str;
        }

        public static /* synthetic */ VirtualCurrencyBalances copy$default(VirtualCurrencyBalances virtualCurrencyBalances, String str, int i6, Object obj) {
            if ((i6 & 1) != 0) {
                str = virtualCurrencyBalances.title;
            }
            return virtualCurrencyBalances.copy(str);
        }

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

        public final VirtualCurrencyBalances copy(String str) {
            return new VirtualCurrencyBalances(str);
        }

        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            return (obj instanceof VirtualCurrencyBalances) && o.c(this.title, ((VirtualCurrencyBalances) obj).title);
        }

        @Override // com.revenuecat.purchases.ui.revenuecatui.customercenter.navigation.CustomerCenterDestination
        public String getTitle() {
            return this.title;
        }

        public int hashCode() {
            String str = this.title;
            if (str == null) {
                return 0;
            }
            return str.hashCode();
        }

        public String toString() {
            return Z0.o.r(new StringBuilder("VirtualCurrencyBalances(title="), this.title, ')');
        }
    }

    public /* synthetic */ CustomerCenterDestination(h hVar) {
        this();
    }

    public final CustomerCenterAnimationType getAnimationType() {
        return this.animationType;
    }

    public abstract String getTitle();

    private CustomerCenterDestination() {
        this.animationType = CustomerCenterAnimationType.SLIDE_HORIZONTAL;
    }
}
