package com.ss.android.ugc.aweme.commercialize.views.cards;

import X.0CB;
import X.0CH;
import X.2GO;
import X.6Is;
import X.C2553Kue;
import X.C3290LFp;
import X.C3376LIx;
import X.FJL;
import X.LJ0;
import android.content.Context;
import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.aweme.feed.model.Aweme;

public class ShopAdCardAction extends AbsAdCardAction implements 6Is, 2GO {
    public int LJIIIIZZ;

    static {
        Covode.recordClassIndex(60004);
    }

    public void onStateChanged(0CH r1, 0CB r2) {
        super.onStateChanged(r1, r2);
    }

    public final void LJ() {
        super.LJ();
        if (this.LJIIIIZZ == 0) {
            C3376LIx lIx = new C3376LIx();
            lIx.LIZ("click");
            lIx.LIZIZ("card");
            lIx.LIZ(this.LIZJ);
            LIZ(lIx.LIZ());
            if (!C2553Kue.LIZ(this.LIZIZ, this.LIZJ) && !FJL.LIZ(this.LIZIZ, this.LIZJ) && !C2553Kue.LJ(this.LIZIZ, this.LIZJ, 2)) {
                C2553Kue.LIZ(this.LIZIZ, this.LIZJ, (String) null, (String) null);
            }
        }
    }

    public ShopAdCardAction(Context context, Aweme aweme, LJ0 lj0) {
        super(context, aweme, lj0);
        boolean z;
        if (C3290LFp.LJ(aweme) != null) {
            this.LJIIIIZZ = C3290LFp.LJ(aweme).getCardStyle();
        }
        if (this.LJIIIIZZ == 0) {
            z = true;
        } else {
            z = false;
        }
        this.LJFF = z;
        this.LIZ = 2131232743;
    }
}
