package com.ss.android.ugc.aweme.commercialize.utils;

import X.Lnj;
import com.bytedance.covode.number.Covode;
import com.bytedance.frameworks.apm.trace.MethodCollector;
import com.ss.android.ugc.aweme.commerce_challenge_impl.service.CommerceChallengeServiceImpl;
import com.ss.android.ugc.aweme.discover.model.Challenge;
import com.ss.android.ugc.aweme.notice.api.utils.NoticeChallengePropertyUtil;

public final class NoticeChallengePropertyUtilImpl implements NoticeChallengePropertyUtil {
    static {
        Covode.recordClassIndex(59703);
    }

    public static NoticeChallengePropertyUtil LIZ() {
        MethodCollector.i(1142);
        NoticeChallengePropertyUtil noticeChallengePropertyUtil = (NoticeChallengePropertyUtil) Lnj.LIZ(NoticeChallengePropertyUtil.class, false);
        if (noticeChallengePropertyUtil != null) {
            MethodCollector.o(1142);
            return noticeChallengePropertyUtil;
        }
        Object LIZIZ = Lnj.LIZIZ(NoticeChallengePropertyUtil.class, false);
        if (LIZIZ != null) {
            NoticeChallengePropertyUtil noticeChallengePropertyUtil2 = (NoticeChallengePropertyUtil) LIZIZ;
            MethodCollector.o(1142);
            return noticeChallengePropertyUtil2;
        }
        if (Lnj.LJZI == null) {
            synchronized (NoticeChallengePropertyUtil.class) {
                try {
                    if (Lnj.LJZI == null) {
                        Lnj.LJZI = new NoticeChallengePropertyUtilImpl();
                    }
                } catch (Throwable th) {
                    MethodCollector.o(1142);
                    throw th;
                }
            }
        }
        NoticeChallengePropertyUtilImpl noticeChallengePropertyUtilImpl = (NoticeChallengePropertyUtilImpl) Lnj.LJZI;
        MethodCollector.o(1142);
        return noticeChallengePropertyUtilImpl;
    }

    public final void LIZ(Challenge challenge) {
        CommerceChallengeServiceImpl.LJ().LIZ(challenge);
    }
}
