导航菜单

页面标题

页面副标题

Namma Yatri v3.3.7 - C0388a.java 源代码

正在查看: Namma Yatri v3.3.7 应用的 C0388a.java JAVA 源代码文件

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


package com.microsoft.clarity.k;

import com.microsoft.clarity.i.C0377c;
import com.microsoft.clarity.models.observers.NetworkConnectedEvent;
import com.microsoft.clarity.models.observers.NetworkDisconnectedEvent;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;
import jd.InterfaceC1001a;

public final class C0388a extends kotlin.jvm.internal.n implements InterfaceC1001a {
    public final C0391d a;

    public C0388a(C0391d c0391d) {
        super(0);
        this.a = c0391d;
    }

    @Override
    public final Object invoke() {
        boolean z;
        boolean z2;
        C0390c task;
        boolean z3;
        C0391d c0391d = this.a;
        synchronized (c0391d.i) {
            try {
                if (!c0391d.c) {
                    LinkedHashMap linkedHashMap = ((n) c0391d.a).c;
                    if (!linkedHashMap.isEmpty()) {
                        Iterator it = linkedHashMap.entrySet().iterator();
                        while (it.hasNext()) {
                            if (((Map.Entry) it.next()).getValue() == EnumC0394g.ON_RESUME) {
                                z = true;
                                break;
                            }
                        }
                    }
                }
                if (c0391d.f == null) {
                    c0391d.f = Long.valueOf(System.currentTimeMillis());
                } else {
                    long currentTimeMillis = System.currentTimeMillis();
                    Long l = c0391d.f;
                    kotlin.jvm.internal.m.f(l);
                    if (currentTimeMillis - l.longValue() > c0391d.j) {
                        C0389b c0389b = c0391d.h;
                        if (c0389b != null) {
                            c0389b.cancel();
                        }
                        c0391d.h = null;
                        c0391d.g = false;
                    }
                }
                z = false;
                Vc.D d = Vc.D.a;
            } catch (Throwable th) {
                throw th;
            }
        }
        if (z) {
            C0391d c0391d2 = this.a;
            int i = c0391d2.d;
            if (1 <= i) {
                int i2 = 1;
                while (true) {
                    kotlin.jvm.internal.A a = new kotlin.jvm.internal.A();
                    try {
                        URLConnection openConnection = new URL("http://www.microsoft.com/").openConnection();
                        kotlin.jvm.internal.m.g(openConnection, "null cannot be cast to non-null type java.net.HttpURLConnection");
                        HttpURLConnection httpURLConnection = (HttpURLConnection) openConnection;
                        a.a = httpURLConnection;
                        httpURLConnection.setConnectTimeout(1000);
                        ((HttpURLConnection) a.a).connect();
                        z3 = ((HttpURLConnection) a.a).getResponseCode() == 200;
                        task = new C0390c(a);
                        kotlin.jvm.internal.m.i(task, "task");
                    } catch (Exception unused) {
                        task = new C0390c(a);
                        kotlin.jvm.internal.m.i(task, "task");
                        z3 = false;
                    } catch (Throwable th2) {
                        C0390c task2 = new C0390c(a);
                        kotlin.jvm.internal.m.i(task2, "task");
                        try {
                            task2.invoke();
                        } catch (Exception unused2) {
                        }
                        throw th2;
                    }
                    try {
                        task.invoke();
                    } catch (Exception unused3) {
                    }
                    if (!z3) {
                        if (i2 == i) {
                            break;
                        }
                        i2++;
                    } else {
                        z2 = true;
                        break;
                    }
                }
            }
            z2 = false;
            if (!c0391d2.c) {
                Iterator it2 = c0391d2.b.iterator();
                while (it2.hasNext()) {
                    C0377c c0377c = (C0377c) it2.next();
                    if (z2) {
                        NetworkConnectedEvent event = new NetworkConnectedEvent(System.currentTimeMillis());
                        c0377c.getClass();
                        kotlin.jvm.internal.m.i(event, "event");
                        c0377c.a.i.h = true;
                    } else {
                        NetworkDisconnectedEvent event2 = new NetworkDisconnectedEvent(System.currentTimeMillis());
                        c0377c.getClass();
                        kotlin.jvm.internal.m.i(event2, "event");
                        c0377c.a.o.add(event2);
                        c0377c.a.i.h = false;
                    }
                }
            }
        }
        return Vc.D.a;
    }
}