导航菜单

页面标题

页面副标题

Perplexity v2.48.1 - C1836j.java 源代码

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

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


package Wh;

import android.os.Parcel;
import android.os.Parcelable;
import gm.AbstractC3845i;
import gm.AbstractC3846j;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Intrinsics;

public final class C1836j implements Parcelable {
    public static final Parcelable.Creator<C1836j> CREATOR = new C1835i();

    public final String f27776w;

    public final String f27777x;

    public final String f27778y;

    public C1836j(int i10, String str, String str2) {
        this(str, (i10 & 2) != 0 ? null : str2, (String) null);
    }

    public final boolean b() {
        return !AbstractC3846j.Q(this.f27776w, "test", false);
    }

    @Override
    public final int describeContents() {
        return 0;
    }

    public final boolean e() {
        return AbstractC3845i.P(this.f27776w, "uk_", false);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof C1836j)) {
            return false;
        }
        C1836j c1836j = (C1836j) obj;
        return Intrinsics.c(this.f27776w, c1836j.f27776w) && Intrinsics.c(this.f27777x, c1836j.f27777x) && Intrinsics.c(this.f27778y, c1836j.f27778y);
    }

    public final int hashCode() {
        int hashCode = this.f27776w.hashCode() * 31;
        String str = this.f27777x;
        int hashCode2 = (hashCode + (str == null ? 0 : str.hashCode())) * 31;
        String str2 = this.f27778y;
        return hashCode2 + (str2 != null ? str2.hashCode() : 0);
    }

    public final String toString() {
        StringBuilder sb2 = new StringBuilder("Options(apiKey=");
        sb2.append(this.f27776w);
        sb2.append(", stripeAccount=");
        sb2.append(this.f27777x);
        sb2.append(", idempotencyKey=");
        return com.mapbox.common.location.e.m(this.f27778y, ")", sb2);
    }

    @Override
    public final void writeToParcel(Parcel dest, int i10) {
        Intrinsics.h(dest, "dest");
        dest.writeString(this.f27776w);
        dest.writeString(this.f27777x);
        dest.writeString(this.f27778y);
    }

    public C1836j(String apiKey, String str, String str2) {
        Intrinsics.h(apiKey, "apiKey");
        this.f27776w = apiKey;
        this.f27777x = str;
        this.f27778y = str2;
        if (AbstractC3846j.b0(apiKey)) {
            throw new IllegalArgumentException("Invalid Publishable Key: You must use a valid Stripe API key to make a Stripe API request. For more info, see https://stripe.com/docs/keys");
        }
        if (AbstractC3845i.P(apiKey, "sk_", false)) {
            throw new IllegalArgumentException("Invalid Publishable Key: You are using a secret key instead of a publishable one. For more info, see https://stripe.com/docs/keys");
        }
    }

    public C1836j(Function0 publishableKeyProvider, Function0 stripeAccountIdProvider) {
        this(4, (String) publishableKeyProvider.invoke(), (String) stripeAccountIdProvider.invoke());
        Intrinsics.h(publishableKeyProvider, "publishableKeyProvider");
        Intrinsics.h(stripeAccountIdProvider, "stripeAccountIdProvider");
    }
}