package com.ss.android.ugc.aweme.ad.feed.ibe;

import X.8Zd;
import X.8Ze;
import X.8ec;
import X.9Ft;
import X.9Fx;
import X.C3593LRg;
import X.C3594LRh;
import X.C3603LRq;
import X.C3604LRr;
import X.C3609LRw;
import X.LRZ;
import X.TSt;
import android.content.Context;
import com.bytedance.covode.number.Covode;
import com.bytedance.ies.abmock.SettingsManager;
import java.util.List;

public final class IBEPreloadTask implements 8Ze {
    static {
        Covode.recordClassIndex(52604);
    }

    public final boolean meetTrigger() {
        return true;
    }

    public final String prefix() {
        return "task_";
    }

    public final boolean serialExecute() {
        return false;
    }

    public final int targetProcess() {
        return 1;
    }

    public final List triggerOtherLegoComponents() {
        return null;
    }

    public final 9Ft triggerType() {
        return 8Zd.LIZ(this);
    }

    public final 9Fx scenesType() {
        return 9Fx.DEFAULT;
    }

    public final 8ec type() {
        return 8ec.BOOT_FINISH;
    }

    public final String key() {
        return getClass().getSimpleName();
    }

    public final void run(Context context) {
        if (context == null) {
            TSt.LIZ();
        } else if (((Boolean) C3609LRw.LIZ.getValue()).booleanValue()) {
            C3603LRq lRq = (C3603LRq) SettingsManager.LIZ().LIZ("ibe_config", C3603LRq.class, C3604LRr.LIZ);
            if (lRq == null) {
                lRq = C3604LRr.LIZ;
            }
            for (C3593LRg LIZ : lRq.LIZ) {
                LRZ.LIZJ.LIZ(LIZ, context, new C3594LRh(0, (String) null, (Integer) null, true, 6));
            }
        }
    }
}
