导航菜单

页面标题

页面副标题

Perplexity v2.48.1 - C0533h.java 源代码

正在查看: Perplexity v2.48.1 应用的 C0533h.java JAVA 源代码文件

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


package Wh;

import Lm.j0;
import Ui.C0507f;
import gm.AbstractC0834i;
import gm.AbstractC0835j;
import java.io.OutputStream;
import java.lang.annotation.Annotation;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.TreeMap;
import java.util.UUID;
import kotlin.Pair;
import kotlin.collections.MapsKt;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Reflection;
import kotlin.jvm.internal.SourceDebugExtension;
import kotlin.ranges.IntRange;
import kotlin.text.Charsets;

@Hm.g
@SourceDebugExtension
public final class C0533h extends U {
    public static final C0531f Companion = new C0531f();
    public static final Hm.a[] l;
    public final String a;
    public final String b;
    public final String c;
    public final double d;
    public final Mm.m e;
    public final String f;
    public final Map g;
    public final S h;
    public final T i;
    public final Iterable j;
    public final String k;

    static {
        j0 j0Var = j0.a;
        l = new Hm.a[]{null, null, null, null, null, null, new Lm.G(j0Var, j0Var), Lm.V.e("com.stripe.android.core.networking.StripeRequest.Method", S.values()), Lm.V.e("com.stripe.android.core.networking.StripeRequest.MimeType", T.values()), new Hm.c(Reflection.a.b(Iterable.class), new Annotation[0]), null};
    }

    public C0533h(int i, String str, String str2, String str3, double d, Mm.m mVar, String str4, Map map, S s, T t, Iterable iterable, String str5) {
        if (31 != (i & 31)) {
            Lm.V.h(i, 31, C0530e.a.getDescriptor());
            throw null;
        }
        this.a = str;
        this.b = str2;
        this.c = str3;
        this.d = d;
        this.e = mVar;
        if ((i & 32) == 0) {
            this.f = h();
        } else {
            this.f = str4;
        }
        if ((i & 64) == 0) {
            T t2 = T.x;
            this.g = MapsKt.g0(new Pair("Content-Type", e.q.k("application/x-www-form-urlencoded; charset=", Charsets.b.name())), new Pair("origin", str3), new Pair("User-Agent", "Stripe/v1 android/21.11.1"));
        } else {
            this.g = map;
        }
        if ((i & 128) == 0) {
            this.h = S.y;
        } else {
            this.h = s;
        }
        if ((i & 256) == 0) {
            this.i = T.x;
        } else {
            this.i = t;
        }
        if ((i & 512) == 0) {
            this.j = new IntRange(429, 429, 1);
        } else {
            this.j = iterable;
        }
        if ((i & 1024) == 0) {
            this.k = "https://r.stripe.com/0";
        } else {
            this.k = str5;
        }
    }

    public static String i(int i, Map map) {
        String str;
        StringBuilder sb = new StringBuilder("{\n");
        N6.a aVar = new N6.a(7);
        Intrinsics.h(map, "<this>");
        TreeMap treeMap = new TreeMap((Comparator) aVar);
        treeMap.putAll(map);
        boolean z = true;
        for (Map.Entry entry : treeMap.entrySet()) {
            Object key = entry.getKey();
            Object value = entry.getValue();
            if (value instanceof Map) {
                str = i(i + 1, (Map) value);
            } else if (value == null) {
                str = "";
            } else {
                str = "\"" + value + "\"";
            }
            if (!AbstractC0835j.b0(str)) {
                if (z) {
                    sb.append(AbstractC0834i.L(i, "  "));
                    sb.append("  \"" + key + "\": " + str);
                    z = false;
                } else {
                    sb.append(",\n");
                    sb.append(AbstractC0834i.L(i, "  "));
                    sb.append("  \"" + key + "\": " + str);
                }
            }
        }
        sb.append('\n');
        sb.append(AbstractC0834i.L(i, "  "));
        sb.append("}");
        String sb2 = sb.toString();
        Intrinsics.g(sb2, "toString(...)");
        return sb2;
    }

    @Override
    public final Map a() {
        return this.g;
    }

    @Override
    public final S b() {
        return this.h;
    }

    @Override
    public final Iterable d() {
        return this.j;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof C0533h)) {
            return false;
        }
        C0533h c0533h = (C0533h) obj;
        return Intrinsics.c(this.a, c0533h.a) && Intrinsics.c(this.b, c0533h.b) && Intrinsics.c(this.c, c0533h.c) && Double.compare(this.d, c0533h.d) == 0 && Intrinsics.c(this.e, c0533h.e);
    }

    @Override
    public final String f() {
        return this.k;
    }

    @Override
    public final void g(OutputStream outputStream) {
        byte[] bytes = this.f.getBytes(Charsets.b);
        Intrinsics.g(bytes, "getBytes(...)");
        outputStream.write(bytes);
        outputStream.flush();
    }

    public final String h() {
        LinkedHashMap k0 = MapsKt.k0(x.g(this.e), MapsKt.g0(new Pair("client_id", this.b), new Pair("created", Double.valueOf(this.d)), new Pair("event_name", this.a), new Pair("event_id", UUID.randomUUID().toString())));
        ArrayList arrayList = new ArrayList();
        for (Map.Entry entry : x.a(k0).entrySet()) {
            String str = (String) entry.getKey();
            Object value = entry.getValue();
            if (value instanceof Map) {
                arrayList.add(new C0532g(str, i(0, (Map) value)));
            } else {
                arrayList.add(new C0532g(str, value.toString()));
            }
        }
        return bl.f.M0(arrayList, "&", null, null, new C0507f(13), 30);
    }

    public final int hashCode() {
        return this.e.hashCode() + u2.a.c(com.mapbox.common.location.e.e(com.mapbox.common.location.e.e(this.a.hashCode() * 31, this.b, 31), this.c, 31), 31, this.d);
    }

    public final String toString() {
        return "AnalyticsRequestV2(eventName=" + this.a + ", clientId=" + this.b + ", origin=" + this.c + ", created=" + this.d + ", params=" + this.e + ")";
    }

    public C0533h(String str, String str2, String str3, double d, Mm.m mVar) {
        this.a = str;
        this.b = str2;
        this.c = str3;
        this.d = d;
        this.e = mVar;
        this.f = h();
        T t = T.x;
        this.g = MapsKt.g0(new Pair("Content-Type", e.q.k("application/x-www-form-urlencoded; charset=", Charsets.b.name())), new Pair("origin", str3), new Pair("User-Agent", "Stripe/v1 android/21.11.1"));
        this.h = S.y;
        this.i = t;
        this.j = new IntRange(429, 429, 1);
        this.k = "https://r.stripe.com/0";
    }
}