package com.ss.android.ugc.aweme.commerce.tools.sticker;

import X.0CB;
import X.0CH;
import X.1oX;
import X.6Is;
import X.C2464NFb;
import X.C2609NKq;
import X.C2610NKr;
import X.IFh;
import X.M12;
import X.NBS;
import X.NFV;
import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.aweme.shortvideo.SafeHandler;
import com.ss.android.ugc.aweme.shortvideo.ShortVideoContext;
import com.ss.android.ugc.effectmanager.effect.model.Effect;

public final class IBEStickerHandler extends NFV implements 6Is, C2464NFb {
    public static final C2610NKr LIZJ = new C2610NKr((byte) 0);
    public Effect LIZ;
    public ShortVideoContext LIZIZ;
    public SafeHandler LIZLLL;
    public final 1oX LJ;

    static {
        Covode.recordClassIndex(58108);
    }

    public final boolean LIZ(NBS nbs) {
        M12.LIZ(nbs);
        return true;
    }

    public final void onStateChanged(0CH r1, 0CB r2) {
    }

    public final void LIZ() {
        ShortVideoContext shortVideoContext = this.LIZIZ;
        if (shortVideoContext != null) {
            shortVideoContext.LLILII = null;
        }
        this.LIZ = null;
    }

    public final void LIZ(IFh iFh, NBS nbs) {
        M12.LIZ(iFh, nbs);
        this.LIZ = nbs.LIZ;
    }

    public IBEStickerHandler(1oX r2, ShortVideoContext shortVideoContext) {
        M12.LIZ(r2);
        this.LJ = r2;
        this.LIZIZ = shortVideoContext;
        this.LIZLLL = new SafeHandler(r2);
    }

    public final void LIZ(int i, int i2, int i3, String str) {
        this.LIZLLL.post(new C2609NKq(this, i, str));
    }
}
