package com.vinfast.companion.core.base;

/* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
/* JADX INFO: loaded from: E:\ios\vf_dex\classes15.dex */
@kotlin.Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b6\u0018\u00002\u00020\u0001:\u0003\u0004\u0005\u0006B\t\b\u0004¢\u0006\u0004\b\u0002\u0010\u0003\u0082\u0001\u0003\u0007\b\t¨\u0006\n"}, d2 = {"Lcom/vinfast/companion/core/base/ViewModelState;", "", "<init>", "()V", "Idle", "Loading", "Error", "Lcom/vinfast/companion/core/base/ViewModelState$Error;", "Lcom/vinfast/companion/core/base/ViewModelState$Idle;", "Lcom/vinfast/companion/core/base/ViewModelState$Loading;", "core_release"}, k = 1, mv = {2, 2, 0}, xi = 48)
public abstract class ViewModelState {

    /* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
    @kotlin.Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\bÆ\u0002\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003¨\u0006\u0004"}, d2 = {"Lcom/vinfast/companion/core/base/ViewModelState$Idle;", "Lcom/vinfast/companion/core/base/ViewModelState;", "<init>", "()V", "core_release"}, k = 1, mv = {2, 2, 0}, xi = 48)
    public static final class Idle extends com.vinfast.companion.core.base.ViewModelState {
        public static final com.vinfast.companion.core.base.ViewModelState.Idle a = new com.vinfast.companion.core.base.ViewModelState.Idle();

        private Idle() {
            super(null);
        }
    }

    /* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
    @kotlin.Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0006\b\u0086\b\u0018\u00002\u00020\u0001B\u000f\u0012\u0006\u0010\u0003\u001a\u00020\u0002¢\u0006\u0004\b\u0004\u0010\u0005J\u0010\u0010\u0007\u001a\u00020\u0006HÖ\u0001¢\u0006\u0004\b\u0007\u0010\bJ\u0010\u0010\n\u001a\u00020\tHÖ\u0001¢\u0006\u0004\b\n\u0010\u000bJ\u001a\u0010\u000f\u001a\u00020\u000e2\b\u0010\r\u001a\u0004\u0018\u00010\fHÖ\u0003¢\u0006\u0004\b\u000f\u0010\u0010R\u0017\u0010\u0003\u001a\u00020\u00028\u0006¢\u0006\f\n\u0004\b\u0011\u0010\u0012\u001a\u0004\b\u0011\u0010\u0013¨\u0006\u0014"}, d2 = {"Lcom/vinfast/companion/core/base/ViewModelState$Loading;", "Lcom/vinfast/companion/core/base/ViewModelState;", "Lcom/vinfast/companion/core/base/ProgressType;", "progress", "<init>", "(Lcom/vinfast/companion/core/base/ProgressType;)V", "", "toString", "()Ljava/lang/String;", "", "hashCode", "()I", "", "other", "", "equals", "(Ljava/lang/Object;)Z", "a", "Lcom/vinfast/companion/core/base/ProgressType;", "()Lcom/vinfast/companion/core/base/ProgressType;", "core_release"}, k = 1, mv = {2, 2, 0}, xi = 48)
    public static final /* data */ class Loading extends com.vinfast.companion.core.base.ViewModelState {

        /* JADX INFO: renamed from: a, reason: from kotlin metadata and from toString */
        private final com.vinfast.companion.core.base.ProgressType progress;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public Loading(com.vinfast.companion.core.base.ProgressType progressType) {
            super(null);
            kotlin.jvm.internal.Intrinsics.l(progressType, "progress");
            this.progress = progressType;
        }

        /* JADX INFO: renamed from: a, reason: from getter */
        public final com.vinfast.companion.core.base.ProgressType getProgress() {
            return this.progress;
        }

        public boolean equals(java.lang.Object other) {
            if (this == other) {
                return true;
            }
            return (other instanceof com.vinfast.companion.core.base.ViewModelState.Loading) && kotlin.jvm.internal.Intrinsics.g(this.progress, ((com.vinfast.companion.core.base.ViewModelState.Loading) other).progress);
        }

        public int hashCode() {
            return this.progress.hashCode();
        }

        public java.lang.String toString() {
            return "Loading(progress=" + this.progress + ")";
        }
    }

    public /* synthetic */ ViewModelState(kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker) {
        this();
    }

    private ViewModelState() {
    }

    /* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
    @kotlin.Metadata(d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0005\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0000\n\u0002\b\f\b\u0086\b\u0018\u00002\u00020\u0001B%\u0012\n\b\u0002\u0010\u0003\u001a\u0004\u0018\u00010\u0002\u0012\u0006\u0010\u0004\u001a\u00020\u0002\u0012\b\b\u0002\u0010\u0006\u001a\u00020\u0005¢\u0006\u0004\b\u0007\u0010\bJ\u0010\u0010\t\u001a\u00020\u0002HÖ\u0001¢\u0006\u0004\b\t\u0010\nJ\u0010\u0010\f\u001a\u00020\u000bHÖ\u0001¢\u0006\u0004\b\f\u0010\rJ\u001a\u0010\u0010\u001a\u00020\u00052\b\u0010\u000f\u001a\u0004\u0018\u00010\u000eHÖ\u0003¢\u0006\u0004\b\u0010\u0010\u0011R\u0019\u0010\u0003\u001a\u0004\u0018\u00010\u00028\u0006¢\u0006\f\n\u0004\b\u0012\u0010\u0013\u001a\u0004\b\u0012\u0010\nR\u0017\u0010\u0004\u001a\u00020\u00028\u0006¢\u0006\f\n\u0004\b\u0014\u0010\u0013\u001a\u0004\b\u0014\u0010\nR\"\u0010\u0006\u001a\u00020\u00058\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0015\u0010\u0016\u001a\u0004\b\u0015\u0010\u0017\"\u0004\b\u0018\u0010\u0019¨\u0006\u001a"}, d2 = {"Lcom/vinfast/companion/core/base/ViewModelState$Error;", "Lcom/vinfast/companion/core/base/ViewModelState;", "", "code", "error", "", "shouldNotify", "<init>", "(Ljava/lang/String;Ljava/lang/String;Z)V", "toString", "()Ljava/lang/String;", "", "hashCode", "()I", "", "other", "equals", "(Ljava/lang/Object;)Z", "a", "Ljava/lang/String;", "b", "c", "Z", "()Z", "d", "(Z)V", "core_release"}, k = 1, mv = {2, 2, 0}, xi = 48)
    public static final /* data */ class Error extends com.vinfast.companion.core.base.ViewModelState {

        /* JADX INFO: renamed from: a, reason: from kotlin metadata and from toString */
        private final java.lang.String code;

        /* JADX INFO: renamed from: b, reason: from kotlin metadata and from toString */
        private final java.lang.String error;

        /* JADX INFO: renamed from: c, reason: from kotlin metadata and from toString */
        private boolean shouldNotify;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public Error(java.lang.String str, java.lang.String str2, boolean z) {
            super(null);
            kotlin.jvm.internal.Intrinsics.l(str2, "error");
            this.code = str;
            this.error = str2;
            this.shouldNotify = z;
        }

        /* JADX INFO: renamed from: a, reason: from getter */
        public final java.lang.String getCode() {
            return this.code;
        }

        /* JADX INFO: renamed from: b, reason: from getter */
        public final java.lang.String getError() {
            return this.error;
        }

        /* JADX INFO: renamed from: c, reason: from getter */
        public final boolean getShouldNotify() {
            return this.shouldNotify;
        }

        public final void d(boolean z) {
            this.shouldNotify = z;
        }

        public boolean equals(java.lang.Object other) {
            if (this == other) {
                return true;
            }
            if (!(other instanceof com.vinfast.companion.core.base.ViewModelState.Error)) {
                return false;
            }
            com.vinfast.companion.core.base.ViewModelState.Error error = (com.vinfast.companion.core.base.ViewModelState.Error) other;
            return kotlin.jvm.internal.Intrinsics.g(this.code, error.code) && kotlin.jvm.internal.Intrinsics.g(this.error, error.error) && this.shouldNotify == error.shouldNotify;
        }

        public int hashCode() {
            java.lang.String str = this.code;
            return ((((str == null ? 0 : str.hashCode()) * 31) + this.error.hashCode()) * 31) + java.lang.Boolean.hashCode(this.shouldNotify);
        }

        public java.lang.String toString() {
            return "Error(code=" + this.code + ", error=" + this.error + ", shouldNotify=" + this.shouldNotify + ")";
        }

        public /* synthetic */ Error(java.lang.String str, java.lang.String str2, boolean z, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker) {
            this((i & 1) != 0 ? null : str, str2, (i & 4) != 0 ? false : z);
        }
    }
}
