导航菜单

页面标题

页面副标题

Uptodown App Store v6.80 - O.java 源代码

正在查看: Uptodown App Store v6.80 应用的 O.java JAVA 源代码文件

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


package u2;

import W1.C0534f;
import android.content.Context;
import android.content.pm.PackageManager;
import android.os.Bundle;
import com.mbridge.msdk.MBridgeConstans;
import com.mbridge.msdk.foundation.entity.CampaignEx;
import com.mbridge.msdk.foundation.entity.RewardPlus;
import com.mbridge.msdk.newreward.function.common.MBridgeCommon;
import com.mbridge.msdk.playercommon.exoplayer2.text.ttml.TtmlNode;
import com.mbridge.msdk.playercommon.exoplayer2.upstream.DataSchemeDataSource;
import com.mbridge.msdk.playercommon.exoplayer2.util.MimeTypes;
import g2.C0949J;
import g2.C0953d;
import g2.C0955f;
import g2.C0964o;
import g2.C0967s;
import g2.C0969u;
import g2.C0972x;
import g2.S;
import h2.AbstractResultReceiverC0978d;
import java.io.ByteArrayOutputStream;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.zip.GZIPOutputStream;
import kotlin.jvm.internal.AbstractC1009g;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import v2.C1240b;

public final class O {
    public static final a b = new a(null);
    private final Context a;

    public static final class a {
        public a(AbstractC1009g abstractC1009g) {
            this();
        }

        public final byte[] a(String string) {
            kotlin.jvm.internal.m.e(string, "string");
            ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(string.length());
            GZIPOutputStream gZIPOutputStream = new GZIPOutputStream(byteArrayOutputStream);
            byte[] bytes = string.getBytes(m3.d.b);
            kotlin.jvm.internal.m.d(bytes, "getBytes(...)");
            gZIPOutputStream.write(bytes);
            gZIPOutputStream.close();
            byte[] byteArray = byteArrayOutputStream.toByteArray();
            byteArrayOutputStream.close();
            kotlin.jvm.internal.m.b(byteArray);
            return byteArray;
        }

        public final java.lang.String b(java.lang.String r7) {
            throw new UnsupportedOperationException("Method not decompiled: u2.O.a.b(java.lang.String):java.lang.String");
        }

        public final String c(Context context) {
            kotlin.jvm.internal.m.e(context, "context");
            return m3.m.w("https://www.uptodown.com/turbo?platform=android", "www", b(com.uptodown.activities.preferences.a.a.l(context)), false, 4, null);
        }

        private a() {
        }
    }

    public O(Context context) {
        kotlin.jvm.internal.m.e(context, "context");
        this.a = context;
    }

    private final JSONObject B(C0949J c0949j, String str) {
        String d = c0949j.d();
        if (d != null && d.length() != 0) {
            try {
                String d4 = c0949j.d();
                kotlin.jvm.internal.m.b(d4);
                return new JSONObject(d4);
            } catch (JSONException unused) {
                Bundle bundle = new Bundle();
                bundle.putString("type", "jsonException");
                bundle.putString("url", str);
                new z(this.a).d("apiRead", bundle);
            }
        }
        return null;
    }

    private final g2.C0949J C(java.lang.String r10, java.util.HashMap r11, java.lang.String r12) {
        throw new UnsupportedOperationException("Method not decompiled: u2.O.C(java.lang.String, java.util.HashMap, java.lang.String):g2.J");
    }

    private final C0949J D(String str, HashMap hashMap) {
        JSONObject jSONObject = new JSONObject();
        for (Map.Entry entry : hashMap.entrySet()) {
            jSONObject.put((String) entry.getKey(), entry.getValue());
        }
        C0949J a4 = new C1240b().a(jSONObject, null, this.a, str);
        a4.a(this.a);
        K1.c.a.a(str, hashMap, a4);
        return a4;
    }

    private final JSONArray K0(ArrayList arrayList) {
        O o = this;
        JSONArray jSONArray = new JSONArray();
        PackageManager packageManager = o.a.getPackageManager();
        int size = arrayList.size();
        int i = 0;
        while (i < size) {
            C1233m c1233m = new C1233m();
            kotlin.jvm.internal.m.b(packageManager);
            String o3 = ((C0953d) arrayList.get(i)).o();
            kotlin.jvm.internal.m.b(o3);
            Iterator it = c1233m.j(packageManager, o3).iterator();
            kotlin.jvm.internal.m.d(it, "iterator(...)");
            while (it.hasNext()) {
                Object next = it.next();
                kotlin.jvm.internal.m.d(next, "next(...)");
                Object obj = (String) next;
                JSONObject jSONObject = new JSONObject();
                if (((C0953d) arrayList.get(i)).c() != null) {
                    jSONObject.put(RewardPlus.NAME, ((C0953d) arrayList.get(i)).c());
                } else if (((C0953d) arrayList.get(i)).m() != null) {
                    jSONObject.put(RewardPlus.NAME, ((C0953d) arrayList.get(i)).m());
                } else if (((C0953d) arrayList.get(i)).o() != null) {
                    jSONObject.put(RewardPlus.NAME, ((C0953d) arrayList.get(i)).o());
                }
                jSONObject.put("packagename", ((C0953d) arrayList.get(i)).o());
                if (((C0953d) arrayList.get(i)).o() != null) {
                    C1233m c1233m2 = new C1233m();
                    Context context = o.a;
                    String o4 = ((C0953d) arrayList.get(i)).o();
                    kotlin.jvm.internal.m.b(o4);
                    String h = c1233m2.h(context, o4);
                    if (new C1233m().A(h)) {
                        jSONObject.put("installerPackagename", h);
                    }
                }
                jSONObject.put("versionCode", ((C0953d) arrayList.get(i)).A());
                jSONObject.put("versionName", ((C0953d) arrayList.get(i)).B());
                jSONObject.put("isSystemApp", ((C0953d) arrayList.get(i)).E());
                jSONObject.put("sha256Base", ((C0953d) arrayList.get(i)).r());
                jSONObject.put("md5Signature", obj);
                jSONObject.put("minSDKVersion", ((C0953d) arrayList.get(i)).l());
                if (((C0953d) arrayList.get(i)).x() > 0) {
                    jSONObject.put("targetSDKVersion", ((C0953d) arrayList.get(i)).x());
                }
                if (((C0953d) arrayList.get(i)).n() != null) {
                    ArrayList n = ((C0953d) arrayList.get(i)).n();
                    kotlin.jvm.internal.m.b(n);
                    if (!n.isEmpty()) {
                        JSONArray jSONArray2 = new JSONArray();
                        ArrayList n4 = ((C0953d) arrayList.get(i)).n();
                        kotlin.jvm.internal.m.b(n4);
                        Iterator it2 = n4.iterator();
                        kotlin.jvm.internal.m.d(it2, "iterator(...)");
                        while (it2.hasNext()) {
                            Object next2 = it2.next();
                            kotlin.jvm.internal.m.d(next2, "next(...)");
                            C0969u c0969u = (C0969u) next2;
                            if (c0969u.c() != null) {
                                JSONObject jSONObject2 = new JSONObject();
                                jSONObject2.put(RewardPlus.NAME, c0969u.b());
                                jSONObject2.put("sha256", c0969u.c());
                                jSONArray2.put(jSONObject2);
                            }
                        }
                        if (jSONArray2.length() > 0) {
                            jSONObject.put("obbs", jSONArray2);
                        }
                    }
                }
                if (((C0953d) arrayList.get(i)).v() != null) {
                    ArrayList v = ((C0953d) arrayList.get(i)).v();
                    kotlin.jvm.internal.m.b(v);
                    if (!v.isEmpty()) {
                        JSONArray jSONArray3 = new JSONArray();
                        ArrayList v3 = ((C0953d) arrayList.get(i)).v();
                        kotlin.jvm.internal.m.b(v3);
                        Iterator it3 = v3.iterator();
                        kotlin.jvm.internal.m.d(it3, "iterator(...)");
                        while (it3.hasNext()) {
                            Object next3 = it3.next();
                            kotlin.jvm.internal.m.d(next3, "next(...)");
                            C0969u c0969u2 = (C0969u) next3;
                            if (c0969u2.c() != null) {
                                JSONObject jSONObject3 = new JSONObject();
                                jSONObject3.put(RewardPlus.NAME, c0969u2.b());
                                jSONObject3.put("sha256", c0969u2.c());
                                jSONArray3.put(jSONObject3);
                            }
                        }
                        if (jSONArray3.length() > 0) {
                            jSONObject.put("splits", jSONArray3);
                        }
                    }
                }
                if (jSONObject.length() > 0) {
                    jSONArray.put(jSONObject);
                }
                o = this;
            }
            i++;
            o = this;
        }
        return jSONArray;
    }

    private final String L0(C0964o c0964o) {
        String jSONObject = c0964o.l().toString(2);
        kotlin.jvm.internal.m.d(jSONObject, "toString(...)");
        return jSONObject;
    }

    private final String M(HashMap hashMap) {
        StringBuilder sb = new StringBuilder();
        boolean z = true;
        for (Map.Entry entry : hashMap.entrySet()) {
            String str = (String) entry.getKey();
            String str2 = (String) entry.getValue();
            if (z) {
                z = false;
            } else {
                sb.append("&");
            }
            sb.append(URLEncoder.encode(str, com.mbridge.msdk.playercommon.exoplayer2.C.UTF8_NAME));
            sb.append("=");
            sb.append(URLEncoder.encode(str2, com.mbridge.msdk.playercommon.exoplayer2.C.UTF8_NAME));
        }
        String sb2 = sb.toString();
        kotlin.jvm.internal.m.d(sb2, "toString(...)");
        return sb2;
    }

    private final String M0(C0972x c0972x) {
        JSONObject jSONObject = new JSONObject();
        try {
            if (c0972x.c() > 0) {
                jSONObject.put("total_memory", c0972x.c());
            }
            if (c0972x.a() > 0) {
                jSONObject.put("free_memory", c0972x.a());
            }
            if (c0972x.d() > 0) {
                jSONObject.put("total_ram_memory", c0972x.d());
            }
            if (c0972x.a() > 0) {
                jSONObject.put("free_ram_memory", c0972x.b());
            }
            return jSONObject.toString(2);
        } catch (JSONException e) {
            e.printStackTrace();
            return TtmlNode.ANONYMOUS_REGION_ID;
        }
    }

    private final JSONObject O0(g2.N n) {
        JSONObject jSONObject = new JSONObject();
        jSONObject.put("lang", n.d());
        if (n.h()) {
            jSONObject.put("notifications_on", 1);
        } else {
            jSONObject.put("notifications_on", 0);
        }
        jSONObject.put("notifications_frecuency", Integer.parseInt(n.c()));
        if (n.i()) {
            jSONObject.put("only_wifi", 1);
        } else {
            jSONObject.put("only_wifi", 0);
        }
        jSONObject.put("download_updates_options", n.f());
        jSONObject.put("delete_apk", 1);
        if (n.g()) {
            jSONObject.put("install_apk_root", 1);
        } else {
            jSONObject.put("install_apk_root", 0);
        }
        jSONObject.put("versioncode", n.e());
        return jSONObject;
    }

    private final HashMap q() {
        HashMap hashMap = new HashMap();
        C0964o c0964o = new C0964o();
        c0964o.k(this.a);
        String c = c0964o.c();
        if (c != null && c.length() != 0) {
            hashMap.put("countryIsoCode", c);
        }
        return hashMap;
    }

    public final JSONObject A(C0949J responseJson, String urlEndpoint) {
        String d;
        kotlin.jvm.internal.m.e(responseJson, "responseJson");
        kotlin.jvm.internal.m.e(urlEndpoint, "urlEndpoint");
        if (!responseJson.b() && (d = responseJson.d()) != null && d.length() != 0) {
            try {
                String d4 = responseJson.d();
                kotlin.jvm.internal.m.b(d4);
                return new JSONObject(d4);
            } catch (JSONException unused) {
                Bundle bundle = new Bundle();
                bundle.putString("type", "jsonException");
                bundle.putString("url", urlEndpoint);
                new z(this.a).d("apiRead", bundle);
            }
        }
        return null;
    }

    public final C0949J A0(long j) {
        C0949J C = C(q.a.b() + "/dwn/" + j + "/native-external-update/increase", null, "POST");
        C.j(A(C, "/dwn/appID/native-external-update/increase"));
        return C;
    }

    public final C0949J B0() {
        C0949J C = C("https://adservice.google.com/getconfig/pubvendors", null, "GET");
        C.j(A(C, "adservice.google.com/getconfig/pubvendors"));
        return C;
    }

    public final C0949J C0(long j) {
        C0949J C = C(q.a.a() + "/eapi/answer/" + j + "/like", null, "POST");
        C.j(A(C, "/eapi/answer/idReply/like"));
        return C;
    }

    public final C0949J D0(long j) {
        C0949J C = C(q.a.a() + "/eapi/comment/" + j + "/like", null, "POST");
        C.j(A(C, "/eapi/comment/idReview/like"));
        return C;
    }

    public final C0949J E(int i, int i4) {
        HashMap hashMap = new HashMap();
        hashMap.put("page[limit]", String.valueOf(i));
        hashMap.put("page[offset]", String.valueOf(i4));
        C0949J C = C(q.a.a() + "/eapi/apps/latest-updates", hashMap, "GET");
        C.j(A(C, "/eapi/apps/latest-updates"));
        return C;
    }

    public final C0949J E0(ArrayList events) {
        kotlin.jvm.internal.m.e(events, "events");
        HashMap hashMap = new HashMap();
        JSONArray jSONArray = new JSONArray();
        Iterator it = events.iterator();
        kotlin.jvm.internal.m.d(it, "iterator(...)");
        while (it.hasNext()) {
            Object next = it.next();
            kotlin.jvm.internal.m.d(next, "next(...)");
            C0967s c0967s = (C0967s) next;
            if (c0967s.b() != null) {
                String b4 = c0967s.b();
                kotlin.jvm.internal.m.b(b4);
                jSONArray.put(new JSONObject(b4));
            }
        }
        hashMap.put("events", jSONArray.toString());
        C0949J C = C(q.a.a() + "/eapi/logs/event", hashMap, "POST");
        C.j(A(C, "/eapi/logs/event"));
        return C;
    }

    public final C0949J F(int i, int i4) {
        HashMap hashMap = new HashMap();
        hashMap.put("page[limit]", String.valueOf(i));
        hashMap.put("page[offset]", String.valueOf(i4));
        C0949J C = C(q.a.a() + "/eapi/apps/latest-updates-home", hashMap, "GET");
        C.j(A(C, "/eapi/apps/latest-updates-home"));
        return C;
    }

    public final C0949J F0(ArrayList errors) {
        kotlin.jvm.internal.m.e(errors, "errors");
        HashMap hashMap = new HashMap();
        JSONArray jSONArray = new JSONArray();
        Iterator it = errors.iterator();
        kotlin.jvm.internal.m.d(it, "iterator(...)");
        while (it.hasNext()) {
            Object next = it.next();
            kotlin.jvm.internal.m.d(next, "next(...)");
            C0967s c0967s = (C0967s) next;
            if (c0967s.b() != null) {
                String b4 = c0967s.b();
                kotlin.jvm.internal.m.b(b4);
                jSONArray.put(new JSONObject(b4));
            }
        }
        hashMap.put("errors", jSONArray.toString());
        C0949J C = C(q.a.a() + "/eapi/logs/error", hashMap, "POST");
        C.j(A(C, "/eapi/logs/error"));
        return C;
    }

    public final C0949J G(int i, int i4) {
        HashMap hashMap = new HashMap();
        hashMap.put("page[limit]", String.valueOf(i));
        hashMap.put("page[offset]", String.valueOf(i4));
        C0949J C = C(q.a.a() + "/eapi/my-recommended-list", hashMap, "GET");
        C.j(A(C, "/eapi/my-recommended-list"));
        return C;
    }

    public final C0949J G0(long j, String type, String from) {
        kotlin.jvm.internal.m.e(type, "type");
        kotlin.jvm.internal.m.e(from, "from");
        HashMap hashMap = new HashMap();
        hashMap.put("appID", String.valueOf(j));
        hashMap.put("type", type);
        hashMap.put("from", from);
        hashMap.putAll(q());
        C0949J C = C(q.a.a() + "/eapi/promo-track", hashMap, "POST");
        C.j(A(C, "/eapi/promo-track"));
        return C;
    }

    public final C0949J H(long j) {
        C0949J C = C(q.a.a() + "/eapi/app/" + j + "/my-comment", null, "GET");
        C.j(A(C, "/eapi/app/appID/my-comment"));
        return C;
    }

    public final C0949J H0(String email, String pass) {
        kotlin.jvm.internal.m.e(email, "email");
        kotlin.jvm.internal.m.e(pass, "pass");
        HashMap hashMap = new HashMap();
        hashMap.put("email", email);
        String f = C0534f.a.f(pass);
        kotlin.jvm.internal.m.b(f);
        hashMap.put("password", f);
        C0964o c0964o = new C0964o();
        c0964o.j(this.a);
        if (c0964o.d() != null) {
            String d = c0964o.d();
            kotlin.jvm.internal.m.b(d);
            hashMap.put("deviceIdentifier", d);
        }
        C0949J C = C(q.a.a() + "/eapi/v2/user/login", hashMap, "POST");
        if (C.b()) {
            C.j(B(C, "/eapi/v2/user/login"));
            return C;
        }
        C.j(A(C, "/eapi/v2/user/login"));
        return C;
    }

    public final C0949J I(int i, int i4) {
        HashMap hashMap = new HashMap();
        hashMap.put("page[limit]", String.valueOf(i));
        hashMap.put("page[offset]", String.valueOf(i4));
        C0949J C = C(q.a.a() + "/eapi/apps/new-releases", hashMap, "GET");
        C.j(A(C, "/eapi/apps/new-releases"));
        return C;
    }

    public final C0949J I0() {
        C0949J C = C(q.a.a() + "/eapi/main-app", null, "GET");
        C.j(A(C, "/eapi/main-app"));
        return C;
    }

    public final C0949J J(int i, int i4) {
        HashMap hashMap = new HashMap();
        hashMap.put("page[limit]", String.valueOf(i));
        hashMap.put("page[offset]", String.valueOf(i4));
        C0949J C = C(q.a.a() + "/eapi/apps/new-releases-home", hashMap, "GET");
        C.j(A(C, "/eapi/apps/new-releases-home"));
        return C;
    }

    public final C0949J J0(long j, int i, int i4) {
        C0964o c0964o = new C0964o();
        c0964o.j(this.a);
        HashMap hashMap = new HashMap();
        hashMap.put("page[limit]", String.valueOf(i));
        hashMap.put("page[offset]", String.valueOf(i4));
        C0949J C = C(q.a.a() + "/eapi/v3/app/" + j + "/device/" + c0964o.d() + "/compatible/versions", hashMap, "GET");
        C.j(A(C, "/eapi/v3/app/appID/device/identifier/compatible/versions"));
        return C;
    }

    public final C0949J K(long j, int i) {
        HashMap hashMap = new HashMap();
        hashMap.put("page", String.valueOf(i));
        C0949J C = C(q.a.a() + "/eapi/organization/" + j + "/apps", hashMap, "GET");
        C.j(A(C, "/eapi/organization/organizationId/apps"));
        return C;
    }

    public final C0949J L(long j) {
        C0949J C = C(q.a.a() + "/eapi/organization/" + j, null, "GET");
        C.j(A(C, "/eapi/organization/organizationId"));
        return C;
    }

    public final C0949J N(long j) {
        C0949J C = C(q.a.a() + "/eapi/apps/" + j + "/permissions", null, "GET");
        C.j(A(C, "/eapi/apps/appId/permissions"));
        return C;
    }

    public final ArrayList N0(C0949J res) {
        kotlin.jvm.internal.m.e(res, "res");
        ArrayList arrayList = new ArrayList();
        if (!res.b() && res.e() != null) {
            JSONObject e = res.e();
            kotlin.jvm.internal.m.b(e);
            JSONArray optJSONArray = e.optJSONArray(DataSchemeDataSource.SCHEME_DATA);
            JSONObject e4 = res.e();
            kotlin.jvm.internal.m.b(e4);
            if (e4.optInt("success") == 1 && optJSONArray != null) {
                int length = optJSONArray.length();
                for (int i = 0; i < length; i++) {
                    JSONObject optJSONObject = optJSONArray.optJSONObject(i);
                    kotlin.jvm.internal.m.d(optJSONObject, "optJSONObject(...)");
                    arrayList.add(C0955f.b.b(C0955f.f286H0, optJSONObject, null, 2, null));
                }
            }
        }
        return arrayList;
    }

    public final C0949J O(String identifier) {
        kotlin.jvm.internal.m.e(identifier, "identifier");
        C0949J C = C(q.a.a() + "/eapi/v2/virus-total-by-identifier/" + identifier + "/report", null, "GET");
        C.j(A(C, "/eapi/v2/virus-total-by-identifier/identifier/report"));
        return C;
    }

    public final C0949J P() {
        C0949J C = C(q.a.a() + "/eapi/pre-register-apps-by-user", q(), "GET");
        C.j(A(C, "/eapi/pre-register-apps-by-user"));
        return C;
    }

    public final C0949J P0(long j, String text) {
        String str;
        kotlin.jvm.internal.m.e(text, "text");
        HashMap hashMap = new HashMap();
        hashMap.put(MimeTypes.BASE_TYPE_TEXT, text);
        try {
            PackageManager packageManager = this.a.getPackageManager();
            kotlin.jvm.internal.m.d(packageManager, "getPackageManager(...)");
            String packageName = this.a.getPackageName();
            kotlin.jvm.internal.m.d(packageName, "getPackageName(...)");
            str = ' ' + W1.s.d(packageManager, packageName, 0).versionName;
        } catch (Exception e) {
            e.printStackTrace();
            str = TtmlNode.ANONYMOUS_REGION_ID;
        }
        hashMap.put("uagent", "uptodownandroid" + str);
        C0949J C = C(q.a.a() + "/eapi/comments/" + j + "/answers", hashMap, "POST");
        C.j(A(C, "/eapi/comments/idReply/answers/post"));
        return C;
    }

    public final C0949J Q(int i, int i4) {
        HashMap hashMap = new HashMap();
        hashMap.put("page[limit]", String.valueOf(i));
        hashMap.put("page[offset]", String.valueOf(i4));
        C0949J C = C(q.a.a() + "/eapi/my-profile-wishlist", hashMap, "GET");
        C.j(A(C, "/eapi/my-profile-wishlist"));
        return C;
    }

    public final C0949J Q0(long j, g2.L review) {
        String str;
        kotlin.jvm.internal.m.e(review, "review");
        HashMap hashMap = new HashMap();
        if (review.i() != null) {
            String i = review.i();
            kotlin.jvm.internal.m.b(i);
            if (i.length() > 0) {
                String i4 = review.i();
                kotlin.jvm.internal.m.b(i4);
                hashMap.put(MimeTypes.BASE_TYPE_TEXT, i4);
            }
        }
        hashMap.put(CampaignEx.JSON_KEY_STAR, String.valueOf(review.h()));
        try {
            PackageManager packageManager = this.a.getPackageManager();
            kotlin.jvm.internal.m.d(packageManager, "getPackageManager(...)");
            String packageName = this.a.getPackageName();
            kotlin.jvm.internal.m.d(packageName, "getPackageName(...)");
            str = ' ' + W1.s.d(packageManager, packageName, 0).versionName;
        } catch (Exception e) {
            e.printStackTrace();
            str = TtmlNode.ANONYMOUS_REGION_ID;
        }
        hashMap.put("uagent", "uptodownandroid" + str);
        S e4 = S.m.e(this.a);
        if ((e4 != null ? e4.g() : null) != null) {
            String g = e4.g();
            kotlin.jvm.internal.m.b(g);
            hashMap.put("id_user", g);
        }
        C0949J C = C(q.a.a() + "/eapi/apps/" + j + "/comments", hashMap, "POST");
        C.j(A(C, "/eapi/apps/appId/comments/post"));
        return C;
    }

    public final C0949J R(long j) {
        if (j == 0) {
            C0949J c0949j = new C0949J();
            c0949j.k(MBridgeCommon.CampaignState.STATE_LOAD_FAILED_RESOURCE_DOWNLOAD_ERROR);
            JSONObject jSONObject = new JSONObject();
            jSONObject.put("success", 0);
            c0949j.i(jSONObject.toString());
            return c0949j;
        }
        HashMap hashMap = new HashMap();
        C0964o c0964o = new C0964o();
        c0964o.k(this.a);
        String c = c0964o.c();
        if (c != null && c.length() != 0) {
            hashMap.put("countryIsoCode", c);
        }
        return C(q.a.a() + "/eapi/v3/apps/" + j + "/device/" + c0964o.d(), hashMap, "GET");
    }

    public final C0949J R0(String email, String email2) {
        kotlin.jvm.internal.m.e(email, "email");
        kotlin.jvm.internal.m.e(email2, "email2");
        HashMap hashMap = new HashMap();
        hashMap.put("email", email);
        hashMap.put("email2", email2);
        C0949J C = C(q.a.a() + "/eapi/user/recoverPasswordMail", hashMap, "POST");
        if (C.b()) {
            C.j(B(C, "/eapi/user/recoverPasswordMail"));
            return C;
        }
        C.j(A(C, "/eapi/user/recoverPasswordMail"));
        return C;
    }

    public final C0949J S() {
        String str = "/eapi/promo-assign/provider/1";
        C0949J C = C(q.a.a() + str, null, "GET");
        C.j(A(C, str));
        return C;
    }

    public final C0949J S0(long j, long j4, List devicesID) {
        kotlin.jvm.internal.m.e(devicesID, "devicesID");
        HashMap hashMap = new HashMap();
        hashMap.put("deviceID", String.valueOf(j4));
        hashMap.put("targetDeviceIDs", devicesID.toString());
        String str = "/eapi/app/" + j + "/remote-install";
        C0949J C = C(q.a.a() + str, hashMap, "POST");
        C.j(A(C, str));
        return C;
    }

    public final C0949J T(long j) {
        C0949J C = C(q.a.a() + "/eapi/v2/apps/" + j + "/promoted", null, "GET");
        C.j(A(C, "/eapi/v2/apps/appID/promoted"));
        return C;
    }

    public final C0949J T0(long j) {
        String str = "/eapi/app/" + j + "/recommended/delete";
        C0949J C = C(q.a.a() + str, null, "POST");
        C.j(A(C, str));
        return C;
    }

    public final C0949J U(int i, int i4, int i5) {
        HashMap hashMap = new HashMap();
        hashMap.put("page[limit]", String.valueOf(i4));
        hashMap.put("page[offset]", String.valueOf(i5));
        String str = "/eapi/categories/" + i + "/apps/news";
        C0949J C = C(q.a.a() + str, hashMap, "GET");
        C.j(A(C, str));
        return C;
    }

    public final C0949J U0(C0964o device, boolean z) {
        kotlin.jvm.internal.m.e(device, "device");
        JSONObject l = device.l();
        String str = q.a.c() + "/eapi/v2/tracker/device";
        HashMap hashMap = new HashMap();
        hashMap.put("device", l.toString());
        return z ? D(str, hashMap) : C(str, hashMap, "POST");
    }

    public final C0949J V(String userID, int i, int i4) {
        kotlin.jvm.internal.m.e(userID, "userID");
        HashMap hashMap = new HashMap();
        hashMap.put("page[limit]", String.valueOf(i));
        hashMap.put("page[offset]", String.valueOf(i4));
        C0949J C = C(q.a.a() + "/eapi/user/" + userID + "/recommended-list", hashMap, "GET");
        StringBuilder sb = new StringBuilder();
        sb.append("/eapi/user/");
        sb.append(userID);
        sb.append("/recommended-list");
        C.j(A(C, sb.toString()));
        return C;
    }

    public final C0949J V0(ArrayList apps, String identifier, boolean z) {
        kotlin.jvm.internal.m.e(apps, "apps");
        kotlin.jvm.internal.m.e(identifier, "identifier");
        String str = q.a.c() + "/eapi/v3/tracker/apps/save";
        JSONArray K02 = K0(apps);
        HashMap hashMap = new HashMap();
        hashMap.put("identifier", identifier);
        hashMap.put("apps", K02.toString());
        hashMap.put("app_version", "680");
        return z ? D(str, hashMap) : C(str, hashMap, "POST");
    }

    public final C0949J W(long j) {
        C0964o c0964o = new C0964o();
        c0964o.j(this.a);
        String str = "/eapi/app/" + j + "/my-devices/" + c0964o.d();
        C0949J C = C(q.a.a() + str, null, "GET");
        C.j(A(C, str));
        return C;
    }

    public final C0949J W0(String text, int i, int i4) {
        String str;
        kotlin.jvm.internal.m.e(text, "text");
        HashMap hashMap = new HashMap();
        hashMap.put("page[limit]", String.valueOf(i));
        hashMap.put("page[offset]", String.valueOf(i4));
        String str2 = null;
        try {
            String g = new m3.j("\\n").g(text, " ");
            int length = g.length() - 1;
            int i5 = 0;
            boolean z = false;
            while (i5 <= length) {
                boolean z3 = kotlin.jvm.internal.m.g(g.charAt(!z ? i5 : length), 32) <= 0;
                if (z) {
                    if (!z3) {
                        break;
                    }
                    length--;
                } else if (z3) {
                    i5++;
                } else {
                    z = true;
                }
            }
            str2 = g.subSequence(i5, length + 1).toString();
            str = URLEncoder.encode(str2, com.mbridge.msdk.playercommon.exoplayer2.C.UTF8_NAME);
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
            str = str2;
        }
        C0949J C = C(q.a.a() + "/eapi/v2/apps/search/" + str, hashMap, "GET");
        C.j(A(C, "/eapi/v2/apps/search"));
        return C;
    }

    public final C0949J X(String identifier) {
        kotlin.jvm.internal.m.e(identifier, "identifier");
        C0949J C = C(q.a.a() + "/eapi/my-remote-apps/" + identifier, null, "GET");
        C.j(A(C, "/eapi/my-remote-apps/identifier"));
        return C;
    }

    public final C0949J X0(C0964o device, g2.N settingsUTD) {
        kotlin.jvm.internal.m.e(device, "device");
        kotlin.jvm.internal.m.e(settingsUTD, "settingsUTD");
        HashMap hashMap = new HashMap();
        hashMap.put("device", L0(device));
        JSONObject O02 = O0(settingsUTD);
        if (O02 != null) {
            hashMap.put("settings", O02.toString());
        }
        C0949J C = C(q.a.c() + "/eapi/v2/tracker/identifier/" + device.d() + "/settings", hashMap, "POST");
        C.j(A(C, "/eapi/v2/tracker/identifier/identifier/settings"));
        return C;
    }

    public final C0949J Y(long j, int i, int i4) {
        HashMap hashMap = new HashMap();
        hashMap.put("page[limit]", String.valueOf(i));
        hashMap.put("page[offset]", String.valueOf(i4));
        C0949J C = C(q.a.a() + "/eapi/comments/" + j + "/answers", hashMap, "GET");
        C.j(A(C, "/eapi/comments/idReview/answers"));
        return C;
    }

    public final C0949J Y0(String email, String suggestion, C0964o device, C0972x memory) {
        kotlin.jvm.internal.m.e(email, "email");
        kotlin.jvm.internal.m.e(suggestion, "suggestion");
        kotlin.jvm.internal.m.e(device, "device");
        kotlin.jvm.internal.m.e(memory, "memory");
        HashMap hashMap = new HashMap();
        hashMap.put("email", email);
        hashMap.put("msg", suggestion);
        hashMap.put("device", L0(device));
        hashMap.put("memory", M0(memory));
        C0949J C = C(q.a.a() + "/eapi/nativeapp/sendsuggestion", hashMap, "POST");
        C.j(A(C, "/eapi/nativeapp/sendsuggestion"));
        return C;
    }

    public final C0949J Z(long j, int i, int i4, String ordination) {
        kotlin.jvm.internal.m.e(ordination, "ordination");
        HashMap hashMap = new HashMap();
        hashMap.put("page[limit]", String.valueOf(i));
        hashMap.put("page[offset]", String.valueOf(i4));
        hashMap.put("order", ordination);
        C0949J C = C(q.a.a() + "/eapi/apps/" + j + "/comments", hashMap, "GET");
        C.j(A(C, "/eapi/apps/appId/comments"));
        return C;
    }

    public final C0949J Z0() {
        C0949J C = C(q.a.a() + "/eapi/my-recommended-list/private", null, "POST");
        C.j(A(C, "/eapi/my-recommended-list/private"));
        return C;
    }

    public final C0949J a(long j) {
        C0949J C = C(q.a.a() + "/eapi/app/" + j + "/pre-register/add", q(), "POST");
        C.j(A(C, "/eapi/app/appID/pre-register/add"));
        return C;
    }

    public final C0949J a0(long j, int i, int i4) {
        HashMap hashMap = new HashMap();
        hashMap.put("page[limit]", String.valueOf(i));
        hashMap.put("page[offset]", String.valueOf(i4));
        C0949J C = C(q.a.a() + "/eapi/apps/" + j + "/comments-with-text", hashMap, "GET");
        C.j(A(C, "/eapi/apps/appId/comments-with-text"));
        return C;
    }

    public final C0949J a1() {
        C0949J C = C(q.a.a() + "/eapi/my-recommended-list/public", null, "POST");
        C.j(A(C, "/eapi/my-recommended-list/public"));
        return C;
    }

    public final C0949J b(long j) {
        String str = "/eapi/app/" + j + "/recommended/add";
        C0949J C = C(q.a.a() + str, null, "POST");
        C.j(A(C, str));
        return C;
    }

    public final C0949J b0(long j) {
        C0949J C = C(q.a.a() + "/eapi/app/" + j + "/screenshots", null, "GET");
        C.j(A(C, "/eapi/app/appId/screenshots"));
        return C;
    }

    public final C0949J b1(long j) {
        HashMap hashMap = new HashMap();
        hashMap.put("avatarID", String.valueOf(j));
        C0949J C = C(q.a.a() + "/eapi/user/avatar", hashMap, "POST");
        C.j(A(C, "/eapi/user/avatar"));
        return C;
    }

    public final C0949J c(long j) {
        C0949J C = C(q.a.a() + "/eapi/app/" + j + "/alternatives", null, "GET");
        C.j(A(C, "/eapi/app/appID/alternatives"));
        return C;
    }

    public final C0949J c0(String identifier) {
        kotlin.jvm.internal.m.e(identifier, "identifier");
        return C(q.a.c() + "/eapi/v2/tracker/device/" + identifier + "/status", null, "GET");
    }

    public final C0949J c1(String name, String pass, String email) {
        kotlin.jvm.internal.m.e(name, "name");
        kotlin.jvm.internal.m.e(pass, "pass");
        kotlin.jvm.internal.m.e(email, "email");
        HashMap hashMap = new HashMap();
        hashMap.put("username", name);
        String f = C0534f.a.f(pass);
        kotlin.jvm.internal.m.b(f);
        hashMap.put("password", f);
        hashMap.put("email", email);
        hashMap.put("terms", "1");
        C0949J C = C(q.a.a() + "/eapi/user/signup", hashMap, "POST");
        if (C.b()) {
            C.j(B(C, "/eapi/user/signup"));
            return C;
        }
        C.j(A(C, "/eapi/user/signup"));
        return C;
    }

    public final C0949J d() {
        C0949J C = C(q.a.a() + "/eapi/event-log/version", null, "GET");
        C.j(A(C, "/eapi/event-log/version"));
        return C;
    }

    public final C0949J d0(String userID) {
        kotlin.jvm.internal.m.e(userID, "userID");
        C0949J C = C(q.a.a() + "/eapi/turbosubscription/get-url-portal/" + userID + '/', null, "GET");
        C.j(A(C, "/eapi/turbosubscription/get-url-portal/userID/"));
        return C;
    }

    public final C0949J d1(String accessToken, String provider) {
        kotlin.jvm.internal.m.e(accessToken, "accessToken");
        kotlin.jvm.internal.m.e(provider, "provider");
        HashMap hashMap = new HashMap();
        hashMap.put("provider", provider);
        hashMap.put("accessToken", accessToken);
        C0964o c0964o = new C0964o();
        c0964o.j(this.a);
        if (c0964o.d() != null) {
            String d = c0964o.d();
            kotlin.jvm.internal.m.b(d);
            hashMap.put("deviceIdentifier", d);
        }
        C0949J C = C(q.a.a() + "/eapi/user/usertokenSignup", hashMap, "POST");
        if (C.b()) {
            C.j(B(C, "/eapi/user/usertokenSignup"));
            return C;
        }
        C.j(A(C, "/eapi/user/usertokenSignup"));
        return C;
    }

    public final C0949J e(long j) {
        C0949J C = C(q.a.a() + "/eapi/app/" + j + "/pre-register/cancel", q(), "POST");
        C.j(A(C, "/eapi/app/appID/pre-register/cancel"));
        return C;
    }

    public final C0949J e0(int i, int i4) {
        HashMap hashMap = new HashMap();
        hashMap.put("page[limit]", String.valueOf(i));
        hashMap.put("page[offset]", String.valueOf(i4));
        C0949J C = C(q.a.a() + "/eapi/v2/app/top-platform", hashMap, "GET");
        C.j(A(C, "/eapi/v2/app/top-platform"));
        return C;
    }

    public final C0949J e1(long j, int i, int i4) {
        HashMap hashMap = new HashMap();
        hashMap.put("page[limit]", String.valueOf(i));
        hashMap.put("page[offset]", String.valueOf(i4));
        C0949J C = C(q.a.a() + "/eapi/" + j + "/similar", hashMap, "GET");
        C.j(A(C, "/eapi/appID/similar"));
        return C;
    }

    public final C0949J f(String password, String repeatPassword) {
        kotlin.jvm.internal.m.e(password, "password");
        kotlin.jvm.internal.m.e(repeatPassword, "repeatPassword");
        HashMap hashMap = new HashMap();
        hashMap.put("password1", password);
        hashMap.put("password2", repeatPassword);
        C0949J C = C(q.a.a() + "/eapi/user/set-new-password", hashMap, "POST");
        if (C.b()) {
            C.j(B(C, "/eapi/user/set-new-password"));
            return C;
        }
        C.j(A(C, "/eapi/user/set-new-password"));
        return C;
    }

    public final C0949J f0(int i, int i4, int i5) {
        HashMap hashMap = new HashMap();
        hashMap.put("page[limit]", String.valueOf(i4));
        hashMap.put("page[offset]", String.valueOf(i5));
        String str = "/eapi/category/" + i + "/apps/top";
        C0949J C = C(q.a.a() + str, hashMap, "GET");
        C.j(A(C, str));
        return C;
    }

    public final C0949J f1(String deviceID) {
        kotlin.jvm.internal.m.e(deviceID, "deviceID");
        C0949J C = C(q.a.a() + "/eapi/user-data/device/" + deviceID + "/unlink", null, "POST");
        C.j(A(C, "/eapi/user-data/device/deviceID/unlink"));
        return C;
    }

    public final C0949J g(String username, int i) {
        kotlin.jvm.internal.m.e(username, "username");
        HashMap hashMap = new HashMap();
        hashMap.put("newUsername", username);
        hashMap.put("usernameFormatID", String.valueOf(i));
        C0949J C = C(q.a.a() + "/eapi/user/change-username", hashMap, "POST");
        if (C.b()) {
            C.j(B(C, "/eapi/user/change-username"));
            return C;
        }
        C.j(A(C, "/eapi/user/change-username"));
        return C;
    }

    public final C0949J g0(int i, int i4, int i5) {
        HashMap hashMap = new HashMap();
        hashMap.put("page[limit]", String.valueOf(i4));
        hashMap.put("page[offset]", String.valueOf(i5));
        String str = "/eapi/v2/leaf-category/" + i + "/apps/top";
        C0949J C = C(q.a.a() + str, hashMap, "GET");
        C.j(A(C, str));
        return C;
    }

    public final C0949J g1(String deviceID, String newName) {
        kotlin.jvm.internal.m.e(deviceID, "deviceID");
        kotlin.jvm.internal.m.e(newName, "newName");
        HashMap hashMap = new HashMap();
        hashMap.put(RewardPlus.NAME, newName);
        C0949J C = C(q.a.a() + "/eapi/user-data/device/" + deviceID + "/update-name", hashMap, "POST");
        C.j(A(C, "/eapi/user-data/device/deviceID/update-name"));
        return C;
    }

    public final boolean h(C0949J res) {
        long j;
        JSONObject jSONObject;
        kotlin.jvm.internal.m.e(res, "res");
        if (!res.b()) {
            String d = res.d();
            return !(d == null || d.length() == 0);
        }
        if (res.f() == 503) {
            String d4 = res.d();
            if (d4 != null && d4.length() != 0) {
                try {
                    String d5 = res.d();
                    kotlin.jvm.internal.m.b(d5);
                    jSONObject = new JSONObject(d5);
                } catch (Exception e) {
                    e.printStackTrace();
                }
                if (!jSONObject.isNull("seconds")) {
                    j = jSONObject.optLong("seconds");
                    com.uptodown.activities.preferences.a.a.f1(this.a, j);
                    v a4 = v.v.a(this.a);
                    a4.a();
                    a4.Q();
                    a4.i();
                }
            }
            j = 7200;
            com.uptodown.activities.preferences.a.a.f1(this.a, j);
            v a42 = v.v.a(this.a);
            a42.a();
            a42.Q();
            a42.i();
        }
        return false;
    }

    public final C0949J h0(int i, int i4, int i5) {
        HashMap hashMap = new HashMap();
        hashMap.put("page[limit]", String.valueOf(i4));
        hashMap.put("page[offset]", String.valueOf(i5));
        String str = "/eapi/floating-category/" + i + "/apps";
        C0949J C = C(q.a.a() + str, hashMap, "GET");
        C.j(A(C, str));
        return C;
    }

    public final C0949J h1(long j) {
        C0949J C = C(q.a.a() + "/eapi/app/" + j + "/wishlist/add", null, "POST");
        C.j(A(C, "/eapi/app/appID/wishlist/add"));
        return C;
    }

    public final C0949J i(long j) {
        C0949J C = C(q.a.a() + "/eapi/app/" + j + "/pre-registered", q(), "GET");
        C.j(A(C, "/eapi/app/appID/pre-registered"));
        return C;
    }

    public final C0949J i0(int i, int i4, int i5) {
        HashMap hashMap = new HashMap();
        hashMap.put("page[limit]", String.valueOf(i4));
        hashMap.put("page[offset]", String.valueOf(i5));
        String str = "/eapi/floating-category/" + i + "/apps-list";
        C0949J C = C(q.a.a() + str, hashMap, "GET");
        C.j(A(C, str));
        return C;
    }

    public final C0949J i1(long j) {
        C0949J C = C(q.a.a() + "/eapi/app/" + j + "/wishlist/delete", null, "POST");
        C.j(A(C, "/eapi/app/appID/wishlist/delete"));
        return C;
    }

    public final C0949J j(ArrayList categories, int i, int i4) {
        kotlin.jvm.internal.m.e(categories, "categories");
        HashMap hashMap = new HashMap();
        hashMap.put("page[limit]", String.valueOf(i));
        hashMap.put("page[offset]", String.valueOf(i4));
        hashMap.put("categoryIDs", categories.toString());
        C0949J C = C(q.a.a() + "/eapi/floating-category/additional/apps", hashMap, "POST");
        C.j(A(C, "/eapi/floating-category/additional/apps"));
        return C;
    }

    public final C0949J j0() {
        C0964o c0964o = new C0964o();
        c0964o.j(this.a);
        C0949J C = C(q.a.c() + "/eapi/androidtracker/device-apps-installed/" + c0964o.d(), null, "GET");
        C.j(A(C, "/eapi/androidtracker/device-apps-installed"));
        return C;
    }

    public final C0949J k(long j) {
        C0949J C = C(q.a.a() + "/eapi/v2/app/" + j + "/abis", null, "GET");
        C.j(A(C, "/eapi/v2/app/appId/abis"));
        return C;
    }

    public final C0949J k0(String identifier) {
        kotlin.jvm.internal.m.e(identifier, "identifier");
        return C(q.a.c() + "/eapi/v3/tracker/updates/" + identifier, null, "GET");
    }

    public final C0949J l(String packagename) {
        kotlin.jvm.internal.m.e(packagename, "packagename");
        C0949J C = C(q.a.a() + "/eapi/apps/byPackagename/" + packagename, null, "GET");
        C.j(A(C, "/eapi/apps/byPackagename"));
        return C;
    }

    public final C0949J l0(String fileId, int i, String appId) {
        kotlin.jvm.internal.m.e(fileId, "fileId");
        kotlin.jvm.internal.m.e(appId, "appId");
        HashMap hashMap = new HashMap();
        hashMap.put("update", String.valueOf(i));
        return C(q.a.a() + "/eapi/apps/" + appId + "/file/" + fileId + "/downloadUrl", hashMap, "GET");
    }

    public final C0949J m(String downloadURL) {
        kotlin.jvm.internal.m.e(downloadURL, "downloadURL");
        HashMap hashMap = new HashMap();
        hashMap.put("downloadURL", downloadURL);
        return C(q.a.a() + "/eapi/app/get-by-download-url", hashMap, "GET");
    }

    public final C0949J m0(String fileId, int i, String appId) {
        kotlin.jvm.internal.m.e(fileId, "fileId");
        kotlin.jvm.internal.m.e(appId, "appId");
        HashMap hashMap = new HashMap();
        hashMap.put("update", String.valueOf(i));
        return C(q.a.a() + "/eapi/apps/" + appId + "/file/" + fileId + "/resumeDownloadURL", hashMap, "GET");
    }

    public final C0949J n(long j) {
        C0949J C = C(q.a.a() + "/eapi/v2/app/" + j + "/languages", null, "GET");
        C.j(A(C, "/eapi/v2/app/appId/languages"));
        return C;
    }

    public final C0949J n0(String packagename, String md5signature) {
        kotlin.jvm.internal.m.e(packagename, "packagename");
        kotlin.jvm.internal.m.e(md5signature, "md5signature");
        HashMap hashMap = new HashMap();
        JSONObject jSONObject = new JSONObject();
        jSONObject.put("packagename", packagename);
        jSONObject.put("md5Signature", md5signature);
        hashMap.put(MBridgeConstans.DYNAMIC_VIEW_WX_APP, jSONObject.toString());
        C0949J C = C(q.a.a() + "/eapi/nativeapp/getappurlbypackagenamemd5signature", hashMap, "POST");
        C.j(A(C, "/eapi/nativeapp/getappurlbypackagenamemd5signature"));
        return C;
    }

    public final C0949J o() {
        return C(q.a.a() + "/eapi/categories/parents", new HashMap(), "GET");
    }

    public final C0949J o0() {
        C0949J C = C(q.a.a() + "/eapi/v2/user/avatars", null, "GET");
        C.j(A(C, "/eapi/v2/user/avatars"));
        return C;
    }

    public final C0949J p(int i) {
        String str = "/eapi/v2/categories/" + i + "/leaf-categories";
        C0949J C = C(q.a.a() + str, null, "GET");
        C.j(A(C, str));
        return C;
    }

    public final C0949J p0(String userID, int i, int i4) {
        kotlin.jvm.internal.m.e(userID, "userID");
        HashMap hashMap = new HashMap();
        hashMap.put("page[limit]", String.valueOf(i));
        hashMap.put("page[offset]", String.valueOf(i4));
        C0949J C = C(q.a.a() + "/eapi/user/" + userID + "/comments", hashMap, "GET");
        C.j(A(C, "/eapi/user/userID/comments"));
        return C;
    }

    public final C0949J q0() {
        HashMap hashMap = new HashMap();
        C0964o c0964o = new C0964o();
        c0964o.j(this.a);
        if (c0964o.d() != null) {
            String d = c0964o.d();
            kotlin.jvm.internal.m.b(d);
            hashMap.put("deviceIdentifier", d);
        }
        return C(q.a.a() + "/eapi/user/getUpdatedData", hashMap, "GET");
    }

    public final C0949J r(int i, int i4, int i5) {
        HashMap hashMap = new HashMap();
        hashMap.put("page[limit]", String.valueOf(i4));
        hashMap.put("page[offset]", String.valueOf(i5));
        String str = "/eapi/floating-category/" + i + "/data-and-apps-list";
        C0949J C = C(q.a.a() + str, hashMap, "GET");
        C.j(A(C, str));
        return C;
    }

    public final C0949J r0(String userID) {
        kotlin.jvm.internal.m.e(userID, "userID");
        C0949J C = C(q.a.a() + "/eapi/profile/" + userID + "/data", null, "GET");
        C.j(A(C, "/eapi/profile/userID/data"));
        return C;
    }

    public final C0949J s(String identifier) {
        kotlin.jvm.internal.m.e(identifier, "identifier");
        return C(q.a.c() + "/eapi/v2/tracker/device/" + identifier, null, "GET");
    }

    public final C0949J s0(String deviceID) {
        kotlin.jvm.internal.m.e(deviceID, "deviceID");
        C0949J C = C(q.a.a() + "/eapi/user-data/device/" + deviceID, null, "GET");
        C.j(A(C, "/eapi/user-data/device"));
        return C;
    }

    public final C0949J t(long j) {
        C0949J C = C(q.a.a() + "/eapi/faq/" + j, null, "GET");
        C.j(A(C, "/eapi/faq/appId"));
        return C;
    }

    public final C0949J t0() {
        C0949J C = C(q.a.a() + "/eapi/user-data/devices", null, "GET");
        C.j(A(C, "/eapi/user-data/devices"));
        return C;
    }

    public final C0949J u(int i) {
        String str = "/eapi/category/" + i + "/features";
        C0949J C = C(q.a.a() + str, new HashMap(), "GET");
        C.j(A(C, str));
        return C;
    }

    public final C0949J u0() {
        C0949J C = C(q.a.a() + "/eapi/user/username-formats", null, "GET");
        C.j(A(C, "/eapi/user/username-formats"));
        return C;
    }

    public final C0949J v(String identifier) {
        kotlin.jvm.internal.m.e(identifier, "identifier");
        return C(q.a.c() + "/eapi/v2/tracker/app-to-upload/" + identifier, null, "GET");
    }

    public final C0949J v0(long j) {
        C0949J C = C(q.a.a() + "/eapi/apps/" + j + "/video", null, "GET");
        C.j(A(C, "/eapi/apps/appId/video"));
        return C;
    }

    public final C0949J w(long j) {
        C0949J C = C(q.a.a() + "/eapi/floating-categories/app/" + j, null, "GET");
        C.j(A(C, "/eapi/floating-categories/app"));
        return C;
    }

    public final C0949J w0(String fileId) {
        kotlin.jvm.internal.m.e(fileId, "fileId");
        C0949J C = C(q.a.a() + "/eapi/v2/virus-total/" + fileId + "/report", null, "GET");
        C.j(A(C, "/eapi/v2/virus-total/fileId/report"));
        return C;
    }

    public final C0949J x(int i) {
        String str = "/eapi/floating-category-related/" + i;
        C0949J C = C(q.a.a() + str, null, "GET");
        C.j(A(C, str));
        return C;
    }

    public final C0949J x0(String sha256) {
        kotlin.jvm.internal.m.e(sha256, "sha256");
        C0949J C = C(q.a.a() + "/eapi/v2/virus-total-by-sha256/" + sha256 + "/report", null, "GET");
        C.j(A(C, "/eapi/v2/virus-total-by-sha256/sha256/report"));
        return C;
    }

    public final C0949J y() {
        C0949J C = C(q.a.a() + "/eapi/home", null, "GET");
        C.j(A(C, "/eapi/home"));
        return C;
    }

    public final C0949J y0(int i, int i4) {
        HashMap hashMap = new HashMap();
        hashMap.put("page[limit]", String.valueOf(i));
        hashMap.put("page[offset]", String.valueOf(i4));
        C0949J C = C(q.a.a() + "/eapi/my-wishlist", hashMap, "GET");
        C.j(A(C, "/eapi/my-wishlist"));
        return C;
    }

    public final C0949J z() {
        C0949J C = C(q.a.a() + "/eapi/home/features", null, "GET");
        C.j(A(C, "/eapi/home/features"));
        return C;
    }

    public final C0949J z0(long j) {
        C0949J C = C(q.a.b() + "/dwn/" + j + "/native-external/increase", null, "POST");
        C.j(A(C, "/dwn/appID/native-external/increase"));
        return C;
    }

    public O(Context context, AbstractResultReceiverC0978d abstractResultReceiverC0978d) {
        this(context);
        kotlin.jvm.internal.m.e(context, "context");
    }
}