package com.vinfast.companion.core.managers;

/* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
/* JADX INFO: loaded from: E:\ios\vf_dex\classes15.dex */
@kotlin.Metadata(d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\b\n\u0002\u0010\u000e\n\u0002\b\u0007\n\u0002\u0010\u0006\n\u0002\b\t\b\u0086\u0081\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003R\u0011\u0010\t\u001a\u00020\n8F¢\u0006\u0006\u001a\u0004\b\u000b\u0010\fR\u0011\u0010\r\u001a\u00020\n8F¢\u0006\u0006\u001a\u0004\b\u000e\u0010\fR\u0011\u0010\u000f\u001a\u00020\n8F¢\u0006\u0006\u001a\u0004\b\u0010\u0010\fR\u0011\u0010\u0011\u001a\u00020\u00128F¢\u0006\u0006\u001a\u0004\b\u0013\u0010\u0014R\u0011\u0010\u0015\u001a\u00020\u00128F¢\u0006\u0006\u001a\u0004\b\u0016\u0010\u0014R\u0011\u0010\u0017\u001a\u00020\u00128F¢\u0006\u0006\u001a\u0004\b\u0018\u0010\u0014R\u0011\u0010\u0019\u001a\u00020\n8F¢\u0006\u0006\u001a\u0004\b\u001a\u0010\fj\u0002\b\u0004j\u0002\b\u0005j\u0002\b\u0006j\u0002\b\u0007j\u0002\b\b¨\u0006\u001b"}, d2 = {"Lcom/vinfast/companion/core/managers/MarketEnum;", "", "<init>", "(Ljava/lang/String;I)V", "vinFastVN", "vinFastUS", "vinFastEU", "vinFastCA", "vinFastAS", "consentCode", "", "getConsentCode", "()Ljava/lang/String;", "defaultCountryTag", "getDefaultCountryTag", "sOTACode", "getSOTACode", "distance", "", "getDistance", "()D", "summonSafetyRadiusInMeters", "getSummonSafetyRadiusInMeters", "remoteParkingSafetyRadiusInMeters", "getRemoteParkingSafetyRadiusInMeters", "currencyCode", "getCurrencyCode", "core_release"}, k = 1, mv = {2, 2, 0}, xi = 48)
public enum MarketEnum {
    vinFastVN,
    vinFastUS,
    vinFastEU,
    vinFastCA,
    vinFastAS;

    private static final /* synthetic */ kotlin.enums.EnumEntries $ENTRIES = kotlin.enums.EnumEntriesKt.a(values());

    /* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
    @kotlin.Metadata(k = 3, mv = {2, 2, 0}, xi = 48)
    public static final /* synthetic */ class WhenMappings {
        public static final /* synthetic */ int[] a;

        static {
            int[] iArr = new int[com.vinfast.companion.core.managers.MarketEnum.values().length];
            try {
                iArr[com.vinfast.companion.core.managers.MarketEnum.vinFastVN.ordinal()] = 1;
            } catch (java.lang.NoSuchFieldError unused) {
            }
            try {
                iArr[com.vinfast.companion.core.managers.MarketEnum.vinFastUS.ordinal()] = 2;
            } catch (java.lang.NoSuchFieldError unused2) {
            }
            try {
                iArr[com.vinfast.companion.core.managers.MarketEnum.vinFastEU.ordinal()] = 3;
            } catch (java.lang.NoSuchFieldError unused3) {
            }
            try {
                iArr[com.vinfast.companion.core.managers.MarketEnum.vinFastCA.ordinal()] = 4;
            } catch (java.lang.NoSuchFieldError unused4) {
            }
            try {
                iArr[com.vinfast.companion.core.managers.MarketEnum.vinFastAS.ordinal()] = 5;
            } catch (java.lang.NoSuchFieldError unused5) {
            }
            a = iArr;
        }
    }

    @org.jetbrains.annotations.NotNull
    public static kotlin.enums.EnumEntries<com.vinfast.companion.core.managers.MarketEnum> getEntries() {
        return $ENTRIES;
    }

    /* JADX INFO: Thrown type has an unknown type hierarchy: kotlin.NoWhenBranchMatchedException */
    @org.jetbrains.annotations.NotNull
    public final java.lang.String getConsentCode() throws kotlin.NoWhenBranchMatchedException {
        int i = com.vinfast.companion.core.managers.MarketEnum.WhenMappings.a[ordinal()];
        if (i == 1) {
            return "VN";
        }
        if (i == 2) {
            return "US";
        }
        if (i == 3) {
            return "EU";
        }
        if (i == 4) {
            return "CA";
        }
        if (i == 5) {
            return "AS";
        }
        throw new kotlin.NoWhenBranchMatchedException();
    }

    /* JADX INFO: Thrown type has an unknown type hierarchy: kotlin.NoWhenBranchMatchedException */
    @org.jetbrains.annotations.NotNull
    public final java.lang.String getCurrencyCode() throws kotlin.NoWhenBranchMatchedException {
        int i = com.vinfast.companion.core.managers.MarketEnum.WhenMappings.a[ordinal()];
        if (i == 1) {
            return "VND";
        }
        if (i == 2) {
            return "USD";
        }
        if (i == 3) {
            return "EUR";
        }
        if (i == 4) {
            return "CAD";
        }
        if (i == 5) {
            return "USD";
        }
        throw new kotlin.NoWhenBranchMatchedException();
    }

    /* JADX INFO: Thrown type has an unknown type hierarchy: kotlin.NoWhenBranchMatchedException */
    @org.jetbrains.annotations.NotNull
    public final java.lang.String getDefaultCountryTag() throws kotlin.NoWhenBranchMatchedException {
        int i = com.vinfast.companion.core.managers.MarketEnum.WhenMappings.a[ordinal()];
        if (i == 1) {
            java.lang.String country = com.vinfast.companion.core.utils.localehelper.Locales.a.N1().getCountry();
            kotlin.jvm.internal.Intrinsics.k(country, "getCountry(...)");
            return country;
        }
        if (i == 2) {
            java.lang.String country2 = com.vinfast.companion.core.utils.localehelper.Locales.a.w1().getCountry();
            kotlin.jvm.internal.Intrinsics.k(country2, "getCountry(...)");
            return country2;
        }
        if (i == 3) {
            java.lang.String country3 = com.vinfast.companion.core.utils.localehelper.Locales.a.A1().getCountry();
            kotlin.jvm.internal.Intrinsics.k(country3, "getCountry(...)");
            return country3;
        }
        if (i == 4) {
            java.lang.String country4 = com.vinfast.companion.core.utils.localehelper.Locales.a.z1().getCountry();
            kotlin.jvm.internal.Intrinsics.k(country4, "getCountry(...)");
            return country4;
        }
        if (i != 5) {
            throw new kotlin.NoWhenBranchMatchedException();
        }
        java.lang.String country5 = com.vinfast.companion.core.utils.localehelper.Locales.a.H1().getCountry();
        kotlin.jvm.internal.Intrinsics.k(country5, "getCountry(...)");
        return country5;
    }

    public final double getDistance() {
        int i = com.vinfast.companion.core.managers.MarketEnum.WhenMappings.a[ordinal()];
        if (i != 1) {
            return i != 3 ? 20000.0d : 5000.0d;
        }
        return 100000.0d;
    }

    public final double getRemoteParkingSafetyRadiusInMeters() {
        return com.vinfast.companion.core.managers.MarketEnum.WhenMappings.a[ordinal()] == 3 ? 6.0d : 15.0d;
    }

    /* JADX INFO: Thrown type has an unknown type hierarchy: kotlin.NoWhenBranchMatchedException */
    @org.jetbrains.annotations.NotNull
    public final java.lang.String getSOTACode() throws kotlin.NoWhenBranchMatchedException {
        int i = com.vinfast.companion.core.managers.MarketEnum.WhenMappings.a[ordinal()];
        if (i == 1) {
            return "VNM";
        }
        if (i == 2) {
            return "USA";
        }
        if (i == 3) {
            return "EUR";
        }
        if (i == 4) {
            return "CAN";
        }
        if (i == 5) {
            return "AS";
        }
        throw new kotlin.NoWhenBranchMatchedException();
    }

    public final double getSummonSafetyRadiusInMeters() {
        return com.vinfast.companion.core.managers.MarketEnum.WhenMappings.a[ordinal()] == 3 ? 6.0d : 65.0d;
    }
}
