package com.ss.android.ugc.aweme.detail.ui;

import X.C11722mC;
import X.C13322om;
import X.C32543eg;
import X.C32553eh;
import X.Spm;
import X.T3s;
import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.aweme.feed.model.Aweme;

public class DetailPageFragment$2 extends C32543eg {
    public final /* synthetic */ DetailPageFragment LIZ;

    static {
        Covode.recordClassIndex(63866);
    }

    public DetailPageFragment$2(DetailPageFragment detailPageFragment) {
        this.LIZ = detailPageFragment;
    }

    public final void LIZIZ(String str) {
        C32553eh LIZIZ;
        super.LIZIZ(str);
        T3s t3s = this.LIZ.LJIIJ.LJJJLIIL;
        C11722mC r1 = this.LIZ.LJIIJ.LJJLIIIJJI;
        if (t3s != null && r1 != null && (LIZIZ = C13322om.LIZIZ.LIZIZ(str)) != null) {
            LIZIZ.LIZ("next_video", Spm.LIZ(r1.LJ(t3s.getCurrentItem())));
        }
    }

    public final void LIZ(String str) {
        C32553eh LIZIZ;
        super.LIZ(str);
        T3s t3s = this.LIZ.LJIIJ.LJJJLIIL;
        C11722mC r1 = this.LIZ.LJIIJ.LJJLIIIJJI;
        if (t3s != null && r1 != null && (LIZIZ = C13322om.LIZIZ.LIZIZ(str)) != null) {
            int currentItem = t3s.getCurrentItem();
            Aweme LJ = r1.LJ(currentItem);
            LIZIZ.LIZ("launch_vv", Integer.toString(currentItem));
            LIZIZ.LIZ("current_video", Spm.LIZ(LJ));
            if (this.LIZ.LJIIIZ.isStoryPage()) {
                LIZIZ.LIZ("enter_from", this.LIZ.LJIIIZ.getEventType());
                LIZIZ.LIZ("extra_desc", "story_vertical_viewpager");
            }
        }
    }
}
