package com.ss.android.ugc.aweme.feed.assem.base;

import X.AnonymousClass4HR;
import X.Csm;
import X.M12;
import androidx.fragment.app.Fragment;
import com.bytedance.covode.number.Covode;
import com.bytedance.ext_power_list.AssemViewModelWithItem;
import com.ss.android.ugc.aweme.feed.model.VideoItemParams;
import org.json.JSONObject;

public abstract class FeedBaseViewModel<S extends AnonymousClass4HR> extends AssemViewModelWithItem<S, VideoItemParams> implements Csm<S, VideoItemParams> {
    public int LJI;
    public String LJII;
    public JSONObject LJIIIIZZ;
    public boolean LJIIIZ;
    public String LJIIJ;
    public Fragment LJIIJJI;
    public int LJIIL;

    static {
        Covode.recordClassIndex(77023);
    }

    public VideoItemParams LIZ(S s, VideoItemParams videoItemParams) {
        M12.LIZ(s, videoItemParams);
        return videoItemParams;
    }

    public S LIZIZ(S s, VideoItemParams videoItemParams) {
        M12.LIZ(s, videoItemParams);
        return s;
    }

    public /* synthetic */ Object LIZIZ(AnonymousClass4HR r1, Object obj) {
        VideoItemParams videoItemParams = (VideoItemParams) obj;
        LIZ(r1, videoItemParams);
        return videoItemParams;
    }

    /* renamed from: LIZJ */
    public final S LIZ(S s, VideoItemParams videoItemParams) {
        M12.LIZ(s, videoItemParams);
        if (videoItemParams != null) {
            this.LJI = videoItemParams.mPageType;
            this.LJII = videoItemParams.mEventType;
            this.LJIIIIZZ = videoItemParams.mRequestId;
            this.LJIIIZ = videoItemParams.isMyProfile;
            this.LJIIJ = videoItemParams.mEnterMethodValue;
            this.LJIIJJI = videoItemParams.fragment;
            this.LJIIL = videoItemParams.mAwemeFromPage;
        }
        return LIZIZ(s, videoItemParams);
    }
}
