package com.ss.android.ugc.aweme.shortvideo.ui.viewmodel;

import X.1iq;
import X.2HN;
import X.3ya;
import X.AnonymousClass5M6;
import X.C03505Am;
import X.C43156m9;
import X.C43226mG;
import X.C43236mH;
import X.FRX;
import com.bytedance.covode.number.Covode;
import com.bytedance.jedi.arch.BaseJediViewModel;
import com.ss.android.ugc.aweme.shortvideo.model.AddToPlaylistItemStatus;
import java.util.ArrayList;
import java.util.List;
import kotlin.h.b.n;

public final class VideoPublishViewModel extends BaseJediViewModel<VideoPublishState> {
    public List<3ya> LIZ = new ArrayList();
    public FRX LIZIZ;
    public AddToPlaylistItemStatus LIZJ;
    public 1iq<Boolean> LIZLLL = new 1iq<>(false);

    static {
        Covode.recordClassIndex(113410);
    }

    public final /* synthetic */ C03505Am dU_() {
        return new VideoPublishState((AnonymousClass5M6) null, (AnonymousClass5M6) null, 3, (2HN) null);
    }

    public final AddToPlaylistItemStatus LIZIZ() {
        AddToPlaylistItemStatus addToPlaylistItemStatus = this.LIZJ;
        if (addToPlaylistItemStatus == null) {
            n.LIZ("");
        }
        return addToPlaylistItemStatus;
    }

    public final FRX LIZJ() {
        FRX frx = this.LIZIZ;
        if (frx == null) {
            n.LIZ("");
        }
        return frx;
    }

    public final void LIZ(boolean z, boolean z2) {
        if (C43156m9.LIZ()) {
            LIZLLL(new C43226mG(z, z2));
        } else {
            LIZJ(new C43236mH(z, z2));
        }
    }
}
