package com.ss.android.ugc.aweme.share.improve.pkg;

import X.0HH;
import X.2Pr;
import X.4B5;
import X.4kf;
import X.C3154JNh;
import X.C3161JNo;
import X.J7F;
import X.JNX;
import X.JOF;
import X.LsC;
import X.M12;
import X.Mk2;
import X.Mk3;
import X.PhE;
import X.PlI;
import android.content.Context;
import com.bytedance.covode.number.Covode;

public final class LiveSharePackage extends LinkDefaultSharePackage {
    public static final C3154JNh LIZ = new C3154JNh((byte) 0);

    static {
        Covode.recordClassIndex(107467);
    }

    /* JADX INFO: super call moved to the top of the method (can break code semantics) */
    public LiveSharePackage(J7F j7f) {
        super(j7f);
        M12.LIZ(j7f);
    }

    public final boolean LIZ(JOF jof, Context context, LsC<? super Boolean, 2Pr> lsC) {
        M12.LIZ(jof, context, lsC);
        4B5.LIZIZ.LIZ(jof.LIZ(), 0);
        if (jof instanceof 4kf) {
            return false;
        }
        String LIZ2 = jof.LIZ();
        if (LIZ2.hashCode() != 284397090 || !LIZ2.equals("snapchat")) {
            return false;
        }
        try {
            C3161JNo.LIZIZ(this.LJIILIIL, this.LJIIIZ, jof).LIZIZ(PhE.LIZIZ(PlI.LIZJ)).LIZ(Mk2.LIZ(Mk3.LIZ)).LJ(new JNX(this, jof, context, lsC));
            return true;
        } catch (Exception e) {
            0HH.LIZ(e);
            return true;
        }
    }
}
