导航菜单

页面标题

页面副标题

Cantique de Louanges v12 - s0.java 源代码

正在查看: Cantique de Louanges v12 应用的 s0.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.adcolony.sdk;

import android.app.Activity;
import android.app.Application;
import android.content.Context;
import android.os.Bundle;
import android.util.Log;
import androidx.core.app.NotificationCompat;
import com.adcolony.sdk.a1;
import com.adcolony.sdk.d;
import com.adcolony.sdk.e0;
import com.adcolony.sdk.j;
import com.adcolony.sdk.p1;
import com.adcolony.sdk.v1;
import com.applovin.mediation.AppLovinUtils;
import com.applovin.mediation.MaxReward;
import com.applovin.sdk.AppLovinEventTypes;
import com.iab.omid.library.adcolony.Omid;
import com.iab.omid.library.adcolony.adsession.Partner;
import java.io.File;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.concurrent.ScheduledExecutorService;

class s0 {
    static String Z = "https://adc3-launch.adcolony.com/v4/launch";

    private static volatile String f9599a0 = "";
    private boolean A;
    private boolean B;
    private boolean C;
    private boolean E;
    private boolean F;
    private boolean G;
    private boolean H;
    private boolean I;
    private boolean J;
    private boolean K;
    private boolean L;
    private int M;
    private Application.ActivityLifecycleCallbacks O;
    private boolean T;
    private int X;

    private o0 f9600a;

    private r1 f9601b;

    private s1 f9602c;

    private com.adcolony.sdk.a0 f9603d;

    private n1 f9604e;

    private x1 f9605f;

    private z1 f9606g;

    private w1 f9607h;

    private k0 f9608i;

    private l1 f9609j;

    private x0 f9610k;

    private com.adcolony.sdk.w f9611l;

    private d2 f9612m;

    private com.adcolony.sdk.d f9613n;

    private com.adcolony.sdk.j f9614o;

    private com.adcolony.sdk.m f9615p;

    private com.adcolony.sdk.f f9617r;

    private m0 f9618s;

    private h0 f9619t;

    private String f9622w;

    private String f9623x;

    private String f9624y;

    private HashMap f9616q = new HashMap();

    private HashMap f9620u = new HashMap();

    private HashMap f9621v = new HashMap();

    private String f9625z = MaxReward.DEFAULT_LABEL;
    private i0 D = new i0();
    private int N = 1;
    private Partner P = null;
    private h0 Q = new h0();
    private long R = 500;
    private long S = 500;
    private long U = 20000;
    private long V = 300000;
    private long W = 15000;
    private boolean Y = false;

    class a implements r0 {
        a() {
        }

        @Override
        public void a(m0 m0Var) {
            s0.this.Q(true, true);
        }
    }

    class a0 implements r0 {
        a0() {
        }

        @Override
        public void a(m0 m0Var) {
            s0.this.p0(m0Var);
        }
    }

    class b implements r0 {
        b(s0 s0Var) {
        }

        @Override
        public void a(m0 m0Var) {
            h0 q4 = com.adcolony.sdk.x.q();
            com.adcolony.sdk.x.u(q4, "crc32", h2.e(com.adcolony.sdk.x.E(m0Var.a(), "data")));
            m0Var.b(q4).e();
        }
    }

    class b0 implements r0 {
        b0() {
        }

        @Override
        public void a(m0 m0Var) {
            s0.this.r0(m0Var);
        }
    }

    class c implements r0 {
        c(s0 s0Var) {
        }

        @Override
        public void a(m0 m0Var) {
            h0 q4 = com.adcolony.sdk.x.q();
            com.adcolony.sdk.x.n(q4, "sha1", h2.D(com.adcolony.sdk.x.E(m0Var.a(), "data")));
            m0Var.b(q4).e();
        }
    }

    class d implements r0 {
        d(s0 s0Var) {
        }

        @Override
        public void a(m0 m0Var) {
            int A = com.adcolony.sdk.x.A(m0Var.a(), "number");
            h0 q4 = com.adcolony.sdk.x.q();
            com.adcolony.sdk.x.l(q4, "uuids", h2.g(A));
            m0Var.b(q4).e();
        }
    }

    class e implements r0 {

        class a implements c2 {

            final m0 f9630a;

            a(m0 m0Var) {
                this.f9630a = m0Var;
            }

            @Override
            public void a(String str) {
                h0 q4 = com.adcolony.sdk.x.q();
                com.adcolony.sdk.x.n(q4, "advertiser_id", s0.this.H0().L());
                com.adcolony.sdk.x.w(q4, "limit_ad_tracking", s0.this.H0().a());
                this.f9630a.b(q4).e();
            }

            @Override
            public void a(Throwable th) {
                new e0.a().c("Device.query_advertiser_info").c(" failed with error: ").c(Log.getStackTraceString(th)).d(e0.f9332g);
            }
        }

        e() {
        }

        @Override
        public void a(m0 m0Var) {
            s0.this.H0().u(com.adcolony.sdk.r.a(), new a(m0Var));
        }
    }

    class f implements r0 {
        f() {
        }

        @Override
        public void a(m0 m0Var) {
            q1 c5 = s0.this.N0().c();
            s0.this.H0().H(com.adcolony.sdk.x.E(m0Var.a(), "version"));
            if (c5 != null) {
                c5.k(s0.this.H0().U());
            }
        }
    }

    class g implements r0 {
        g() {
        }

        @Override
        public void a(m0 m0Var) {
            s0.this.Q = com.adcolony.sdk.x.C(m0Var.a(), "signals");
        }
    }

    class h implements r0 {

        class a implements a2 {

            final m0 f9635a;

            a(h hVar, m0 m0Var) {
                this.f9635a = m0Var;
            }

            @Override
            public void a(a1.b bVar) {
                h0 q4 = com.adcolony.sdk.x.q();
                if (bVar != null) {
                    com.adcolony.sdk.x.m(q4, "odt", bVar.d());
                }
                this.f9635a.b(q4).e();
            }
        }

        h() {
        }

        @Override
        public void a(m0 m0Var) {
            if (s0.this.g()) {
                b1.n().h(new a(this, m0Var), s0.this.t0());
                return;
            }
            a1.b k5 = b1.n().k();
            h0 q4 = com.adcolony.sdk.x.q();
            if (k5 != null) {
                com.adcolony.sdk.x.m(q4, "odt", k5.d());
            }
            m0Var.b(q4).e();
        }
    }

    class i implements r0 {
        i(s0 s0Var) {
        }

        @Override
        public void a(m0 m0Var) {
            b1.n().c();
        }
    }

    class j implements r0 {
        j() {
        }

        @Override
        public void a(m0 m0Var) {
            s0.this.f9612m.c(m0Var);
        }
    }

    class k implements Runnable {
        k() {
        }

        @Override
        public void run() {
            Context a5 = com.adcolony.sdk.r.a();
            if (!s0.this.L && a5 != null) {
                try {
                    Omid.activate(a5.getApplicationContext());
                    s0.this.L = true;
                } catch (IllegalArgumentException unused) {
                    new e0.a().c("IllegalArgumentException when activating Omid").d(e0.f9334i);
                    s0.this.L = false;
                }
            }
            if (s0.this.L && s0.this.P == null) {
                try {
                    s0.this.P = Partner.createPartner("AdColony", "4.8.0");
                } catch (IllegalArgumentException unused2) {
                    new e0.a().c("IllegalArgumentException when creating Omid Partner").d(e0.f9334i);
                    s0.this.L = false;
                }
            }
        }
    }

    class l implements Runnable {

        class a implements p1.a {
            a() {
            }

            @Override
            public void a(p1 p1Var, m0 m0Var, Map map) {
                s0.this.G(p1Var);
            }
        }

        l() {
        }

        @Override
        public void run() {
            h0 q4 = com.adcolony.sdk.x.q();
            com.adcolony.sdk.x.n(q4, "url", s0.Z);
            com.adcolony.sdk.x.n(q4, "content_type", "application/json");
            com.adcolony.sdk.x.n(q4, AppLovinEventTypes.USER_VIEWED_CONTENT, s0.this.H0().Z().toString());
            com.adcolony.sdk.x.n(q4, "url", s0.Z);
            if (s0.this.Y) {
                h0 q5 = com.adcolony.sdk.x.q();
                com.adcolony.sdk.x.n(q5, "request", "la-req-01");
                com.adcolony.sdk.x.n(q5, "response", "la-res-01");
                com.adcolony.sdk.x.m(q4, "dictionaries_mapping", q5);
            }
            s0.this.f9601b.e(new p1(new m0("WebServices.post", 0, q4), new a()));
        }
    }

    class m implements v1.c {
        m(s0 s0Var) {
        }

        @Override
        public void a() {
            b1.n().o();
        }
    }

    class n implements Runnable {

        final Context f9640a;

        final m0 f9641b;

        n(Context context, m0 m0Var) {
            this.f9640a = context;
            this.f9641b = m0Var;
        }

        @Override
        public void run() {
            q0 W = q0.W(this.f9640a.getApplicationContext(), this.f9641b);
            s0.this.f9621v.put(Integer.valueOf(W.getAdc3ModuleId()), W);
        }
    }

    class o implements Runnable {
        o() {
        }

        @Override
        public void run() {
            if (com.adcolony.sdk.r.h().Y0().q()) {
                s0.this.k();
            }
        }
    }

    class p implements p1.a {
        p() {
        }

        @Override
        public void a(p1 p1Var, m0 m0Var, Map map) {
            s0.this.n();
        }
    }

    class q implements Runnable {
        q() {
        }

        @Override
        public void run() {
            s0.this.l();
        }
    }

    class r implements j.f {
        r() {
        }

        @Override
        public void a() {
            s0.this.S();
        }
    }

    class s implements d.c {
        s() {
        }

        @Override
        public void a() {
            s0.this.S();
        }
    }

    class t implements a2 {
        t(s0 s0Var) {
        }

        @Override
        public void a(z0 z0Var) {
            b1.n().e(z0Var);
        }
    }

    class u implements Runnable {

        final m0 f9648a;

        u(m0 m0Var) {
            this.f9648a = m0Var;
        }

        @Override
        public void run() {
            s0.this.f9615p.a(new com.adcolony.sdk.l(this.f9648a));
        }
    }

    class v implements Application.ActivityLifecycleCallbacks {

        private final Set f9650a = new HashSet();

        v() {
        }

        @Override
        public void onActivityCreated(Activity activity, Bundle bundle) {
            if (!s0.this.f9602c.q()) {
                s0.this.f9602c.k(true);
            }
            com.adcolony.sdk.r.c(activity);
        }

        @Override
        public void onActivityDestroyed(Activity activity) {
        }

        @Override
        public void onActivityPaused(Activity activity) {
            com.adcolony.sdk.r.f9579d = false;
            s0.this.f9602c.m(false);
        }

        @Override
        public void onActivityResumed(Activity activity) {
            ScheduledExecutorService scheduledExecutorService;
            this.f9650a.add(Integer.valueOf(activity.hashCode()));
            com.adcolony.sdk.r.f9579d = true;
            com.adcolony.sdk.r.c(activity);
            q1 c5 = s0.this.N0().c();
            Context a5 = com.adcolony.sdk.r.a();
            if (a5 == null || !s0.this.f9602c.o() || !(a5 instanceof com.adcolony.sdk.s) || ((com.adcolony.sdk.s) a5).f9592d) {
                com.adcolony.sdk.r.c(activity);
                if (s0.this.f9618s != null) {
                    if (!Objects.equals(com.adcolony.sdk.x.E(s0.this.f9618s.a(), "m_origin"), MaxReward.DEFAULT_LABEL)) {
                        s0.this.f9618s.b(s0.this.f9618s.a()).e();
                    }
                    s0.this.f9618s = null;
                }
                s0.this.B = false;
                s0.this.f9602c.r(false);
                if (s0.this.E && !s0.this.f9602c.q()) {
                    s0.this.f9602c.k(true);
                }
                s0.this.f9602c.m(true);
                s0.this.f9604e.i();
                if (c5 == null || (scheduledExecutorService = c5.f9569b) == null || scheduledExecutorService.isShutdown() || c5.f9569b.isTerminated()) {
                    com.adcolony.sdk.a.f(activity, com.adcolony.sdk.r.h().f9617r);
                }
            }
        }

        @Override
        public void onActivitySaveInstanceState(Activity activity, Bundle bundle) {
        }

        @Override
        public void onActivityStarted(Activity activity) {
            s0.this.f9602c.n(true);
        }

        @Override
        public void onActivityStopped(Activity activity) {
            this.f9650a.remove(Integer.valueOf(activity.hashCode()));
            if (this.f9650a.isEmpty()) {
                s0.this.f9602c.n(false);
            }
        }
    }

    class w implements r0 {
        w() {
        }

        @Override
        public void a(m0 m0Var) {
            s0.this.d0(m0Var);
        }
    }

    class x implements r0 {
        x() {
        }

        @Override
        public void a(m0 m0Var) {
            s0.this.E(m0Var);
        }
    }

    class y implements r0 {
        y() {
        }

        @Override
        public void a(m0 m0Var) {
            q1 c5 = s0.this.N0().c();
            s0.this.D.b(true);
            if (s0.this.J) {
                h0 q4 = com.adcolony.sdk.x.q();
                h0 q5 = com.adcolony.sdk.x.q();
                com.adcolony.sdk.x.n(q5, "app_version", h2.J());
                com.adcolony.sdk.x.m(q4, "app_bundle_info", q5);
                new m0("AdColony.on_update", 1, q4).e();
                s0.this.J = false;
            }
            if (s0.this.K) {
                new m0("AdColony.on_install", 1).e();
            }
            h0 a5 = m0Var.a();
            if (c5 != null) {
                c5.l(com.adcolony.sdk.x.E(a5, "app_session_id"));
            }
            if (com.adcolony.sdk.i.b()) {
                com.adcolony.sdk.i.c();
            }
            Integer D = a5.D("base_download_threads");
            if (D != null) {
                s0.this.f9601b.d(D.intValue());
            }
            Integer D2 = a5.D("concurrent_requests");
            if (D2 != null) {
                s0.this.f9601b.g(D2.intValue());
            }
            Integer D3 = a5.D("threads_keep_alive_time");
            if (D3 != null) {
                s0.this.f9601b.h(D3.intValue());
            }
            double C = a5.C("thread_pool_scaling_factor");
            if (!Double.isNaN(C)) {
                s0.this.f9601b.c(C);
            }
            s0.this.f9612m.f();
            s0.this.m();
        }
    }

    class z implements r0 {
        z() {
        }

        @Override
        public void a(m0 m0Var) {
            s0.this.V(m0Var);
        }
    }

    s0() {
    }

    public void E(m0 m0Var) {
        H(com.adcolony.sdk.x.A(m0Var.a(), "id"));
    }

    public void G(p1 p1Var) {
        if (!p1Var.f9522n) {
            s();
            return;
        }
        h0 g5 = com.adcolony.sdk.x.g(p1Var.f9521m, "Parsing launch response");
        com.adcolony.sdk.x.n(g5, "sdkVersion", H0().i());
        com.adcolony.sdk.x.G(g5, this.f9607h.c() + "026ae9c9824b3e483fa6c71fa88f57ae27816141");
        if (!c0(g5)) {
            if (this.F) {
                return;
            }
            new e0.a().c("Incomplete or disabled launch server response. ").c("Disabling AdColony until next launch.").d(e0.f9333h);
            X(true);
            return;
        }
        if (I(g5)) {
            h0 q4 = com.adcolony.sdk.x.q();
            com.adcolony.sdk.x.n(q4, "url", this.f9622w);
            com.adcolony.sdk.x.n(q4, "filepath", this.f9607h.c() + "7bf3a1e7bbd31e612eda3310c2cdb8075c43c6b5");
            this.f9601b.e(new p1(new m0("WebServices.download", 0, q4), new p()));
        }
        this.f9619t = g5;
    }

    private boolean I(h0 h0Var) {
        if (!this.F) {
            return true;
        }
        h0 h0Var2 = this.f9619t;
        if (h0Var2 != null && com.adcolony.sdk.x.E(com.adcolony.sdk.x.C(h0Var2, "controller"), "sha1").equals(com.adcolony.sdk.x.E(com.adcolony.sdk.x.C(h0Var, "controller"), "sha1"))) {
            return false;
        }
        new e0.a().c("Controller sha1 does not match, downloading new controller.").d(e0.f9332g);
        return true;
    }

    private boolean O(String str) {
        Context a5 = com.adcolony.sdk.r.a();
        if (a5 == null) {
            return false;
        }
        File file = new File(a5.getFilesDir().getAbsolutePath() + "/adc3/7bf3a1e7bbd31e612eda3310c2cdb8075c43c6b5");
        if (file.exists()) {
            return h2.t(str, file);
        }
        return false;
    }

    private boolean P(boolean z4) {
        return Q(z4, false);
    }

    public boolean Q(boolean z4, boolean z5) {
        if (!com.adcolony.sdk.r.j()) {
            return false;
        }
        this.I = z5;
        this.F = z4;
        if (z4 && !z5) {
            if (!l()) {
                return false;
            }
            this.I = true;
        }
        k();
        return true;
    }

    public void S() {
        int i5 = this.X - 1;
        this.X = i5;
        if (i5 == 0) {
            p();
        }
    }

    private void U(h0 h0Var) {
        if (!u0.H) {
            h0 C = com.adcolony.sdk.x.C(h0Var, "logging");
            k0.f9399h = com.adcolony.sdk.x.a(C, "send_level", 1);
            k0.f9397f = com.adcolony.sdk.x.t(C, "log_private");
            k0.f9398g = com.adcolony.sdk.x.a(C, "print_level", 3);
            this.f9608i.n(com.adcolony.sdk.x.d(C, "modules"));
            this.f9608i.p(com.adcolony.sdk.x.B(C, "included_fields"));
        }
        h0 C2 = com.adcolony.sdk.x.C(h0Var, "metadata");
        H0().v(C2);
        Y0().b(com.adcolony.sdk.x.A(C2, "session_timeout"));
        f9599a0 = com.adcolony.sdk.x.E(h0Var, "pie");
        this.f9625z = com.adcolony.sdk.x.E(com.adcolony.sdk.x.C(h0Var, "controller"), "version");
        this.R = com.adcolony.sdk.x.b(C2, "signals_timeout", this.R);
        this.S = com.adcolony.sdk.x.b(C2, "calculate_odt_timeout", this.S);
        this.T = com.adcolony.sdk.x.o(C2, "async_odt_query", this.T);
        this.U = com.adcolony.sdk.x.b(C2, "ad_request_timeout", this.U);
        this.V = com.adcolony.sdk.x.b(C2, "controller_heartbeat_interval", this.V);
        this.W = com.adcolony.sdk.x.b(C2, "controller_heartbeat_timeout", this.W);
        this.Y = com.adcolony.sdk.x.o(C2, "enable_compression", false);
        v1.b().c(C2.I("odt_config"), new t(this));
    }

    public void V(m0 m0Var) {
        h0 d5 = this.f9617r.d();
        com.adcolony.sdk.x.n(d5, "app_id", this.f9617r.b());
        h0 q4 = com.adcolony.sdk.x.q();
        com.adcolony.sdk.x.m(q4, "options", d5);
        m0Var.b(q4).e();
    }

    private boolean c0(h0 h0Var) {
        if (h0Var == null) {
            return false;
        }
        try {
            try {
                h0 C = com.adcolony.sdk.x.C(h0Var, "controller");
                this.f9622w = com.adcolony.sdk.x.E(C, "url");
                this.f9623x = com.adcolony.sdk.x.E(C, "sha1");
                this.f9624y = com.adcolony.sdk.x.E(h0Var, NotificationCompat.CATEGORY_STATUS);
                U(h0Var);
                if (com.adcolony.sdk.i.b()) {
                    com.adcolony.sdk.i.c();
                }
            } catch (Exception unused) {
            }
        } catch (Exception unused2) {
            new File(this.f9607h.c() + "026ae9c9824b3e483fa6c71fa88f57ae27816141").delete();
        }
        if (!this.f9624y.equals("disable") || u0.H) {
            if ((!this.f9622w.equals(MaxReward.DEFAULT_LABEL) && !this.f9624y.equals(MaxReward.DEFAULT_LABEL)) || u0.H) {
                return true;
            }
            new e0.a().c("Missing controller status or URL. Disabling AdColony until next ").c("launch.").d(e0.f9334i);
            return false;
        }
        try {
            new File(this.f9607h.c() + "7bf3a1e7bbd31e612eda3310c2cdb8075c43c6b5").delete();
        } catch (Exception unused3) {
        }
        new e0.a().c("Launch server response with disabled status. Disabling AdColony ").c("until next launch.").d(e0.f9332g);
        com.adcolony.sdk.a.t();
        return false;
    }

    public boolean d0(m0 m0Var) {
        Context a5 = com.adcolony.sdk.r.a();
        if (a5 == null) {
            return false;
        }
        try {
            int E = m0Var.a().E("id");
            if (E > 0) {
                H(E);
            }
            h2.G(new n(a5, m0Var));
            return true;
        } catch (RuntimeException e5) {
            new e0.a().c(e5.toString() + ": during WebView initialization.").c(" Disabling AdColony.").d(e0.f9333h);
            com.adcolony.sdk.a.t();
            return false;
        }
    }

    public void k() {
        new Thread(new l()).start();
    }

    public boolean l() {
        this.f9600a.d();
        return true;
    }

    public void m() {
        h0 q4 = com.adcolony.sdk.x.q();
        com.adcolony.sdk.x.n(q4, "type", "AdColony.on_configuration_completed");
        f0 f0Var = new f0();
        Iterator it = c().keySet().iterator();
        while (it.hasNext()) {
            f0Var.g((String) it.next());
        }
        h0 q5 = com.adcolony.sdk.x.q();
        com.adcolony.sdk.x.l(q5, "zone_ids", f0Var);
        com.adcolony.sdk.x.m(q4, "message", q5);
        new m0("CustomMessage.controller_send", 0, q4).e();
    }

    public void n() {
        if (!O(this.f9623x) && !u0.H) {
            new e0.a().c("Downloaded controller sha1 does not match, retrying.").d(e0.f9331f);
            s();
            return;
        }
        if (!this.F && !this.I) {
            h2.G(new q());
        }
        if (this.F && this.I) {
            q();
        }
    }

    private void o() {
        Context a5 = com.adcolony.sdk.r.a();
        if (a5 == null || this.O != null) {
            return;
        }
        this.O = new v();
        (a5 instanceof Application ? (Application) a5 : ((Activity) a5).getApplication()).registerActivityLifecycleCallbacks(this.O);
    }

    public void r0(m0 m0Var) {
        com.adcolony.sdk.o oVar;
        if (this.C) {
            return;
        }
        String E = com.adcolony.sdk.x.E(m0Var.a(), AppLovinUtils.ServerParameterKeys.ZONE_ID);
        if (this.f9620u.containsKey(E)) {
            oVar = (com.adcolony.sdk.o) this.f9620u.get(E);
        } else {
            com.adcolony.sdk.o oVar2 = new com.adcolony.sdk.o(E);
            this.f9620u.put(E, oVar2);
            oVar = oVar2;
        }
        oVar.e(m0Var);
    }

    private void s() {
        if (!com.adcolony.sdk.r.h().Y0().q()) {
            new e0.a().c("Max launch server download attempts hit, or AdColony is no longer").c(" active.").d(e0.f9332g);
            return;
        }
        int i5 = this.M + 1;
        this.M = i5;
        this.N = Math.min(this.N * i5, 120);
        h2.r(new o(), this.N * 1000);
    }

    void A(com.adcolony.sdk.f r5, boolean r6) {
        throw new UnsupportedOperationException("Method not decompiled: com.adcolony.sdk.s0.A(com.adcolony.sdk.f, boolean):void");
    }

    void B(com.adcolony.sdk.j jVar) {
        this.f9614o = jVar;
    }

    com.adcolony.sdk.d B0() {
        return this.f9613n;
    }

    void C(com.adcolony.sdk.m mVar) {
        this.f9615p = mVar;
    }

    void D(com.adcolony.sdk.w wVar) {
        this.f9611l = wVar;
    }

    com.adcolony.sdk.w D0() {
        return this.f9611l;
    }

    HashMap F0() {
        return this.f9616q;
    }

    boolean H(int i5) {
        this.f9621v.remove(Integer.valueOf(i5));
        return this.f9600a.o(i5);
    }

    l1 H0() {
        if (this.f9609j == null) {
            l1 l1Var = new l1();
            this.f9609j = l1Var;
            l1Var.m();
        }
        return this.f9609j;
    }

    boolean J(t0 t0Var) {
        this.f9621v.remove(Integer.valueOf(t0Var.getAdc3ModuleId()));
        return this.f9600a.p(t0Var);
    }

    n1 K0() {
        if (this.f9604e == null) {
            this.f9604e = new n1();
        }
        return this.f9604e;
    }

    x1 L0() {
        if (this.f9605f == null) {
            x1 x1Var = new x1();
            this.f9605f = x1Var;
            x1Var.m();
        }
        return this.f9605f;
    }

    k0 N0() {
        if (this.f9608i == null) {
            k0 k0Var = new k0();
            this.f9608i = k0Var;
            k0Var.o();
        }
        return this.f9608i;
    }

    o0 P0() {
        if (this.f9600a == null) {
            o0 o0Var = new o0();
            this.f9600a = o0Var;
            o0Var.d();
        }
        return this.f9600a;
    }

    x0 R0() {
        if (this.f9610k == null) {
            this.f9610k = new x0();
        }
        return this.f9610k;
    }

    void T(com.adcolony.sdk.f fVar) {
        this.f9617r = fVar;
    }

    Partner T0() {
        return this.P;
    }

    com.adcolony.sdk.f V0() {
        if (this.f9617r == null) {
            this.f9617r = new com.adcolony.sdk.f();
        }
        return this.f9617r;
    }

    String W0() {
        return f9599a0;
    }

    void X(boolean z4) {
        this.D.b(false);
        this.C = z4;
    }

    com.adcolony.sdk.m X0() {
        return this.f9615p;
    }

    s1 Y0() {
        if (this.f9602c == null) {
            s1 s1Var = new s1();
            this.f9602c = s1Var;
            s1Var.l();
        }
        return this.f9602c;
    }

    com.adcolony.sdk.a0 Z() {
        if (this.f9603d == null) {
            com.adcolony.sdk.a0 a0Var = new com.adcolony.sdk.a0();
            this.f9603d = a0Var;
            a0Var.K();
        }
        return this.f9603d;
    }

    long Z0() {
        return this.R;
    }

    z1 a() {
        if (this.f9606g == null) {
            z1 z1Var = new z1();
            this.f9606g = z1Var;
            z1Var.a();
        }
        return this.f9606g;
    }

    w1 a1() {
        if (this.f9607h == null) {
            w1 w1Var = new w1();
            this.f9607h = w1Var;
            w1Var.k();
        }
        return this.f9607h;
    }

    HashMap b() {
        return this.f9621v;
    }

    void b0(boolean z4) {
        this.B = z4;
    }

    HashMap c() {
        return this.f9620u;
    }

    boolean d() {
        return this.f9617r != null;
    }

    boolean e() {
        return this.B;
    }

    boolean f() {
        return this.C;
    }

    boolean g() {
        return this.T;
    }

    long g0() {
        return this.U;
    }

    boolean h() {
        return this.Y;
    }

    boolean i() {
        return this.D.c();
    }

    void i0(m0 m0Var) {
        this.f9618s = m0Var;
    }

    boolean j() {
        return this.A;
    }

    void k0(boolean z4) {
        this.E = z4;
    }

    h0 l0() {
        return this.Q;
    }

    void o0(boolean z4) {
        this.A = z4;
    }

    void p() {
        this.D.b(false);
        this.f9603d.p();
        Object j5 = this.f9617r.j("force_ad_id");
        if ((j5 instanceof String) && !((String) j5).isEmpty()) {
            r();
        }
        com.adcolony.sdk.a.f(com.adcolony.sdk.r.a(), this.f9617r);
        t();
        this.f9620u.clear();
        this.f9600a.d();
    }

    boolean p0(m0 m0Var) {
        if (this.f9615p == null) {
            return false;
        }
        h2.G(new u(m0Var));
        return true;
    }

    void q() {
        this.X = 0;
        for (com.adcolony.sdk.j jVar : this.f9603d.E().values()) {
            if (jVar.J()) {
                this.X++;
                jVar.f(new r());
            }
        }
        for (com.adcolony.sdk.d dVar : this.f9603d.w().values()) {
            this.X++;
            dVar.setOnDestroyListenerOrCall(new s());
        }
        if (this.X == 0) {
            p();
        }
    }

    String q0() {
        return this.f9625z;
    }

    void r() {
        synchronized (this.f9603d.E()) {
            Iterator it = this.f9603d.E().values().iterator();
            while (it.hasNext()) {
                ((com.adcolony.sdk.j) it.next()).M();
            }
            this.f9603d.E().clear();
        }
    }

    void t() {
        H(1);
        Iterator it = this.f9621v.values().iterator();
        while (it.hasNext()) {
            this.f9600a.p((t0) it.next());
        }
        this.f9621v.clear();
    }

    long t0() {
        return this.S;
    }

    long v0() {
        return this.V;
    }

    void w() {
        this.f9603d.c();
        p();
    }

    void x(long j5) {
        this.D.a(j5);
    }

    long x0() {
        return this.W;
    }

    void y(com.adcolony.sdk.d dVar) {
        this.f9613n = dVar;
    }

    void z(com.adcolony.sdk.f fVar) {
        this.D.b(false);
        this.f9603d.p();
        r();
        com.adcolony.sdk.a.f(com.adcolony.sdk.r.a(), fVar);
        t();
        this.f9620u.clear();
        this.f9617r = fVar;
        this.f9600a.d();
        Q(true, true);
    }

    com.adcolony.sdk.j z0() {
        return this.f9614o;
    }
}