package com.ss.android.ugc.aweme.comment.viewmodel;

import X.2HN;
import X.5Am;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.aweme.comment.model.GifEmoji;
import java.util.Objects;

public final class GifEmojiState implements 5Am {
    public final GifEmoji gifEmoji;

    static {
        Covode.recordClassIndex(57625);
    }

    public GifEmojiState() {
        this((GifEmoji) null, 1, (2HN) null);
    }

    public static /* synthetic */ GifEmojiState copy$default(GifEmojiState gifEmojiState, GifEmoji gifEmoji2, int i, Object obj) {
        if ((i & 1) != 0) {
            gifEmoji2 = gifEmojiState.gifEmoji;
        }
        return gifEmojiState.copy(gifEmoji2);
    }

    private Object[] getObjects() {
        return new Object[]{this.gifEmoji};
    }

    public final GifEmojiState copy(GifEmoji gifEmoji2) {
        M12.LIZ(gifEmoji2);
        return new GifEmojiState(gifEmoji2);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof GifEmojiState)) {
            return false;
        }
        return M12.LIZ(((GifEmojiState) obj).getObjects(), getObjects());
    }

    public final int hashCode() {
        return Objects.hash(getObjects());
    }

    public final String toString() {
        return M12.LIZ("GifEmojiState:%s", getObjects());
    }

    public final GifEmoji getGifEmoji() {
        return this.gifEmoji;
    }

    public GifEmojiState(GifEmoji gifEmoji2) {
        M12.LIZ(gifEmoji2);
        this.gifEmoji = gifEmoji2;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ GifEmojiState(GifEmoji gifEmoji2, int i, 2HN r4) {
        this((i & 1) != 0 ? new GifEmoji() : gifEmoji2);
    }
}
