package com.ss.android.ugc.aweme.shortvideo.edit.infosticker.interact.donation;

import X.1Bn;
import X.2HN;
import X.7he;
import X.AnonymousClass5LC;
import X.C03505Am;
import X.C34966Xm;
import X.C34976Xn;
import X.C34986Xo;
import X.Crj;
import com.bytedance.covode.number.Covode;
import com.bytedance.jedi.arch.BaseJediViewModel;
import kotlin.h.b.n;

public final class EditDonationStickerViewModel extends BaseJediViewModel<EditDonationStickerState> {
    public 1Bn<Boolean> LIZ;
    public final Crj LIZIZ = 7he.LIZ(C34986Xo.LIZ);

    static {
        Covode.recordClassIndex(109862);
    }

    public final 1Bn<Float> LIZIZ() {
        return (1Bn) this.LIZIZ.getValue();
    }

    public final void LIZJ() {
        LIZJ(C34966Xm.LIZ);
    }

    public final /* synthetic */ C03505Am dU_() {
        return new EditDonationStickerState((AnonymousClass5LC) null, false, 3, (2HN) null);
    }

    public final void LIZ(float f) {
        LIZIZ().setValue(Float.valueOf(f));
    }

    public final void LIZ(boolean z) {
        LIZJ(new C34976Xn(z));
        1Bn<Boolean> r2 = this.LIZ;
        if (r2 != null && (!n.LIZ(r2.getValue(), Boolean.valueOf(z)))) {
            r2.setValue(Boolean.valueOf(z));
        }
    }
}
