package com.discord.widgets.stickers; import kotlin.jvm.internal.DefaultConstructorMarker; /* compiled from: StickerPurchaseLocation.kt */ public enum StickerPurchaseLocation { EXPRESSION_PICKER("Expression Picker"), STICKER_POPOUT("Sticker Popout"), STICKER_UPSELL_POPOUT("Sticker Upsell Popout"); public static final Companion Companion = new Companion(null); private final String analyticsValue; /* compiled from: StickerPurchaseLocation.kt */ public static final class Companion { public final /* synthetic */ class WhenMappings { public static final /* synthetic */ int[] $EnumSwitchMapping$0; static { StickerPurchaseLocation.values(); int[] iArr = new int[3]; $EnumSwitchMapping$0 = iArr; iArr[StickerPurchaseLocation.STICKER_POPOUT.ordinal()] = 1; iArr[StickerPurchaseLocation.STICKER_UPSELL_POPOUT.ordinal()] = 2; } } private Companion() { } public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) { this(); } public final StickerPurchaseLocation getPopoutPurchaseLocation(boolean z2) { return z2 ? StickerPurchaseLocation.STICKER_UPSELL_POPOUT : StickerPurchaseLocation.STICKER_POPOUT; } public final StickerPurchaseLocation getSimplifiedLocation(StickerPurchaseLocation stickerPurchaseLocation) { if (stickerPurchaseLocation == null) { return stickerPurchaseLocation; } int ordinal = stickerPurchaseLocation.ordinal(); return (ordinal == 1 || ordinal == 2) ? StickerPurchaseLocation.STICKER_POPOUT : stickerPurchaseLocation; } } private StickerPurchaseLocation(String str) { this.analyticsValue = str; } public final String getAnalyticsValue() { return this.analyticsValue; } }