导航菜单

页面标题

页面副标题

BodyTech v7.6.4 - r.java 源代码

正在查看: BodyTech v7.6.4 应用的 r.java JAVA 源代码文件

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


package bi;

import ai.WeChat;
import android.net.Uri;
import androidx.compose.runtime.internal.StabilityInferred;
import com.stripe.android.model.MicrodepositType;
import com.stripe.android.model.StripeIntent;
import com.stripe.android.view.BecsDebitAccountNumberEditText;
import io.ktor.http.LinkHeader;
import java.util.Iterator;
import kotlin.Metadata;
import kotlin.NoWhenBranchMatchedException;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlinx.coroutines.scheduling.WorkQueueKt;
import org.json.JSONObject;

@StabilityInferred(parameters = 1)
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0012\b\u0000\u0018\u0000 \u00052\b\u0012\u0004\u0012\u00020\u00020\u0001:\u000e\b\u0005\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014B\u0007¢\u0006\u0004\b\u0006\u0010\u0007J\u0012\u0010\u0005\u001a\u0004\u0018\u00010\u00022\u0006\u0010\u0004\u001a\u00020\u0003H\u0016¨\u0006\u0015"}, d2 = {"Lbi/r;", "Lcom/stripe/android/core/model/parsers/a;", "Lcom/stripe/android/model/StripeIntent$a;", "Lorg/json/JSONObject;", "json", "b", "<init>", "()V", "a", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "payments-core_release"}, k = 1, mv = {1, 9, 0})
public final class r implements com.stripe.android.core.model.parsers.a<StripeIntent.a> {
    private static final d b = new d(null);

    @StabilityInferred(parameters = 1)
    @Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\b\u0000\u0018\u0000 \u00052\b\u0012\u0004\u0012\u00020\u00020\u0001:\u0001\bB\u0007¢\u0006\u0004\b\u0006\u0010\u0007J\u0010\u0010\u0005\u001a\u00020\u00022\u0006\u0010\u0004\u001a\u00020\u0003H\u0016¨\u0006\t"}, d2 = {"Lbi/r$a;", "Lcom/stripe/android/core/model/parsers/a;", "Lcom/stripe/android/model/StripeIntent$a$a;", "Lorg/json/JSONObject;", "json", "b", "<init>", "()V", "a", "payments-core_release"}, k = 1, mv = {1, 9, 0})
    public static final class a implements com.stripe.android.core.model.parsers.a<StripeIntent.a.AlipayRedirect> {
        private static final C0009a b = new C0009a(null);

        @Metadata(d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0002\b\u0007\b\u0082\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0007\u0010\bR\u0014\u0010\u0003\u001a\u00020\u00028\u0006X\u0086T¢\u0006\u0006\n\u0004\b\u0003\u0010\u0004R\u0014\u0010\u0005\u001a\u00020\u00028\u0006X\u0086T¢\u0006\u0006\n\u0004\b\u0005\u0010\u0004R\u0014\u0010\u0006\u001a\u00020\u00028\u0006X\u0086T¢\u0006\u0006\n\u0004\b\u0006\u0010\u0004¨\u0006\t"}, d2 = {"Lbi/r$a$a;", "", "", "FIELD_NATIVE_DATA", "Ljava/lang/String;", "FIELD_RETURN_URL", "FIELD_URL", "<init>", "()V", "payments-core_release"}, k = 1, mv = {1, 9, 0})
        private static final class C0009a {
            private C0009a() {
            }

            public C0009a(DefaultConstructorMarker defaultConstructorMarker) {
                this();
            }
        }

        @Override
        public StripeIntent.a.AlipayRedirect a(JSONObject json) {
            kotlin.jvm.internal.r.i(json, "json");
            String string = json.getString("native_data");
            kotlin.jvm.internal.r.h(string, "getString(...)");
            String string2 = json.getString("url");
            kotlin.jvm.internal.r.h(string2, "getString(...)");
            return new StripeIntent.a.AlipayRedirect(string, string2, ph.a.l(json, "return_url"));
        }
    }

    @StabilityInferred(parameters = 1)
    @Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\b\u0000\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\u0007¢\u0006\u0004\b\u0006\u0010\u0007J\u0010\u0010\u0005\u001a\u00020\u00022\u0006\u0010\u0004\u001a\u00020\u0003H\u0016¨\u0006\b"}, d2 = {"Lbi/r$b;", "Lcom/stripe/android/core/model/parsers/a;", "Lcom/stripe/android/model/StripeIntent$a$b;", "Lorg/json/JSONObject;", "json", "b", "<init>", "()V", "payments-core_release"}, k = 1, mv = {1, 9, 0})
    public static final class b implements com.stripe.android.core.model.parsers.a<StripeIntent.a.b> {
        @Override
        public StripeIntent.a.b a(JSONObject json) {
            kotlin.jvm.internal.r.i(json, "json");
            return StripeIntent.a.b.c;
        }
    }

    @StabilityInferred(parameters = 1)
    @Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\b\u0000\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\u0007¢\u0006\u0004\b\u0006\u0010\u0007J\u0010\u0010\u0005\u001a\u00020\u00022\u0006\u0010\u0004\u001a\u00020\u0003H\u0016¨\u0006\b"}, d2 = {"Lbi/r$c;", "Lcom/stripe/android/core/model/parsers/a;", "Lcom/stripe/android/model/StripeIntent$a$c;", "Lorg/json/JSONObject;", "json", "b", "<init>", "()V", "payments-core_release"}, k = 1, mv = {1, 9, 0})
    public static final class c implements com.stripe.android.core.model.parsers.a<StripeIntent.a.CashAppRedirect> {
        @Override
        public StripeIntent.a.CashAppRedirect a(JSONObject json) {
            kotlin.jvm.internal.r.i(json, "json");
            String optString = json.optString("mobile_auth_url");
            kotlin.jvm.internal.r.h(optString, "optString(...)");
            return new StripeIntent.a.CashAppRedirect(optString);
        }
    }

    @Metadata(d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0002\b\u0005\b\u0082\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0005\u0010\u0006R\u0014\u0010\u0003\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u0003\u0010\u0004¨\u0006\u0007"}, d2 = {"Lbi/r$d;", "", "", "FIELD_NEXT_ACTION_TYPE", "Ljava/lang/String;", "<init>", "()V", "payments-core_release"}, k = 1, mv = {1, 9, 0})
    private static final class d {
        private d() {
        }

        public d(DefaultConstructorMarker defaultConstructorMarker) {
            this();
        }
    }

    @Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\b\u0002\u0018\u0000 \u00052\b\u0012\u0004\u0012\u00020\u00020\u0001:\u0001\bB\u0007¢\u0006\u0004\b\u0006\u0010\u0007J\u0010\u0010\u0005\u001a\u00020\u00022\u0006\u0010\u0004\u001a\u00020\u0003H\u0016¨\u0006\t"}, d2 = {"Lbi/r$e;", "Lcom/stripe/android/core/model/parsers/a;", "Lcom/stripe/android/model/StripeIntent$a$d;", "Lorg/json/JSONObject;", "json", "b", "<init>", "()V", "a", "payments-core_release"}, k = 1, mv = {1, 9, 0})
    private static final class e implements com.stripe.android.core.model.parsers.a<StripeIntent.a.DisplayBoletoDetails> {
        private static final a b = new a(null);

        @Metadata(d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0002\b\u0005\b\u0082\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0005\u0010\u0006R\u0014\u0010\u0003\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u0003\u0010\u0004¨\u0006\u0007"}, d2 = {"Lbi/r$e$a;", "", "", "FIELD_HOSTED_VOUCHER_URL", "Ljava/lang/String;", "<init>", "()V", "payments-core_release"}, k = 1, mv = {1, 9, 0})
        private static final class a {
            private a() {
            }

            public a(DefaultConstructorMarker defaultConstructorMarker) {
                this();
            }
        }

        @Override
        public StripeIntent.a.DisplayBoletoDetails a(JSONObject json) {
            kotlin.jvm.internal.r.i(json, "json");
            return new StripeIntent.a.DisplayBoletoDetails(ph.a.l(json, "hosted_voucher_url"));
        }
    }

    @Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\b\u0002\u0018\u0000 \u00052\b\u0012\u0004\u0012\u00020\u00020\u0001:\u0001\bB\u0007¢\u0006\u0004\b\u0006\u0010\u0007J\u0010\u0010\u0005\u001a\u00020\u00022\u0006\u0010\u0004\u001a\u00020\u0003H\u0016¨\u0006\t"}, d2 = {"Lbi/r$f;", "Lcom/stripe/android/core/model/parsers/a;", "Lcom/stripe/android/model/StripeIntent$a$e;", "Lorg/json/JSONObject;", "json", "b", "<init>", "()V", "a", "payments-core_release"}, k = 1, mv = {1, 9, 0})
    private static final class f implements com.stripe.android.core.model.parsers.a<StripeIntent.a.DisplayKonbiniDetails> {
        private static final a b = new a(null);

        @Metadata(d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0002\b\u0005\b\u0082\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0005\u0010\u0006R\u0014\u0010\u0003\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u0003\u0010\u0004¨\u0006\u0007"}, d2 = {"Lbi/r$f$a;", "", "", "FIELD_HOSTED_VOUCHER_URL", "Ljava/lang/String;", "<init>", "()V", "payments-core_release"}, k = 1, mv = {1, 9, 0})
        private static final class a {
            private a() {
            }

            public a(DefaultConstructorMarker defaultConstructorMarker) {
                this();
            }
        }

        @Override
        public StripeIntent.a.DisplayKonbiniDetails a(JSONObject json) {
            kotlin.jvm.internal.r.i(json, "json");
            return new StripeIntent.a.DisplayKonbiniDetails(ph.a.l(json, "hosted_voucher_url"));
        }
    }

    @Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\b\u0002\u0018\u0000 \u00052\b\u0012\u0004\u0012\u00020\u00020\u0001:\u0001\bB\u0007¢\u0006\u0004\b\u0006\u0010\u0007J\u0010\u0010\u0005\u001a\u00020\u00022\u0006\u0010\u0004\u001a\u00020\u0003H\u0016¨\u0006\t"}, d2 = {"Lbi/r$g;", "Lcom/stripe/android/core/model/parsers/a;", "Lcom/stripe/android/model/StripeIntent$a$f;", "Lorg/json/JSONObject;", "json", "b", "<init>", "()V", "a", "payments-core_release"}, k = 1, mv = {1, 9, 0})
    private static final class g implements com.stripe.android.core.model.parsers.a<StripeIntent.a.DisplayMultibancoDetails> {
        private static final a b = new a(null);

        @Metadata(d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0002\b\u0005\b\u0082\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0005\u0010\u0006R\u0014\u0010\u0003\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u0003\u0010\u0004¨\u0006\u0007"}, d2 = {"Lbi/r$g$a;", "", "", "FIELD_HOSTED_VOUCHER_URL", "Ljava/lang/String;", "<init>", "()V", "payments-core_release"}, k = 1, mv = {1, 9, 0})
        private static final class a {
            private a() {
            }

            public a(DefaultConstructorMarker defaultConstructorMarker) {
                this();
            }
        }

        @Override
        public StripeIntent.a.DisplayMultibancoDetails a(JSONObject json) {
            kotlin.jvm.internal.r.i(json, "json");
            return new StripeIntent.a.DisplayMultibancoDetails(ph.a.l(json, "hosted_voucher_url"));
        }
    }

    @Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\b\u0002\u0018\u0000 \u00052\b\u0012\u0004\u0012\u00020\u00020\u0001:\u0001\bB\u0007¢\u0006\u0004\b\u0006\u0010\u0007J\u0010\u0010\u0005\u001a\u00020\u00022\u0006\u0010\u0004\u001a\u00020\u0003H\u0016¨\u0006\t"}, d2 = {"Lbi/r$h;", "Lcom/stripe/android/core/model/parsers/a;", "Lcom/stripe/android/model/StripeIntent$a$g;", "Lorg/json/JSONObject;", "json", "b", "<init>", "()V", "a", "payments-core_release"}, k = 1, mv = {1, 9, 0})
    private static final class h implements com.stripe.android.core.model.parsers.a<StripeIntent.a.DisplayOxxoDetails> {
        private static final a b = new a(null);

        @Metadata(d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0002\b\u0007\b\u0082\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0007\u0010\bR\u0014\u0010\u0003\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u0003\u0010\u0004R\u0014\u0010\u0005\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u0005\u0010\u0004R\u0014\u0010\u0006\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u0006\u0010\u0004¨\u0006\t"}, d2 = {"Lbi/r$h$a;", "", "", "FIELD_EXPIRES_AFTER", "Ljava/lang/String;", "FIELD_HOSTED_VOUCHER_URL", "FIELD_NUMBER", "<init>", "()V", "payments-core_release"}, k = 1, mv = {1, 9, 0})
        private static final class a {
            private a() {
            }

            public a(DefaultConstructorMarker defaultConstructorMarker) {
                this();
            }
        }

        @Override
        public StripeIntent.a.DisplayOxxoDetails a(JSONObject json) {
            kotlin.jvm.internal.r.i(json, "json");
            return new StripeIntent.a.DisplayOxxoDetails(json.optInt("expires_after"), ph.a.l(json, "number"), ph.a.l(json, "hosted_voucher_url"));
        }
    }

    @StabilityInferred(parameters = 1)
    @Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\b\u0000\u0018\u0000 \u00052\b\u0012\u0004\u0012\u00020\u00020\u0001:\u0001\bB\u0007¢\u0006\u0004\b\u0006\u0010\u0007J\u0012\u0010\u0005\u001a\u0004\u0018\u00010\u00022\u0006\u0010\u0004\u001a\u00020\u0003H\u0016¨\u0006\t"}, d2 = {"Lbi/r$i;", "Lcom/stripe/android/core/model/parsers/a;", "Lcom/stripe/android/model/StripeIntent$a$i;", "Lorg/json/JSONObject;", "json", "b", "<init>", "()V", "a", "payments-core_release"}, k = 1, mv = {1, 9, 0})
    public static final class i implements com.stripe.android.core.model.parsers.a<StripeIntent.a.RedirectToUrl> {
        private static final a b = new a(null);

        @Metadata(d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0002\b\u0006\b\u0082\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0006\u0010\u0007R\u0014\u0010\u0003\u001a\u00020\u00028\u0006X\u0086T¢\u0006\u0006\n\u0004\b\u0003\u0010\u0004R\u0014\u0010\u0005\u001a\u00020\u00028\u0006X\u0086T¢\u0006\u0006\n\u0004\b\u0005\u0010\u0004¨\u0006\b"}, d2 = {"Lbi/r$i$a;", "", "", "FIELD_RETURN_URL", "Ljava/lang/String;", "FIELD_URL", "<init>", "()V", "payments-core_release"}, k = 1, mv = {1, 9, 0})
        private static final class a {
            private a() {
            }

            public a(DefaultConstructorMarker defaultConstructorMarker) {
                this();
            }
        }

        @Override
        public StripeIntent.a.RedirectToUrl a(JSONObject json) {
            kotlin.jvm.internal.r.i(json, "json");
            if (!json.has("url")) {
                return null;
            }
            Uri parse = Uri.parse(json.getString("url"));
            kotlin.jvm.internal.r.h(parse, "parse(...)");
            return new StripeIntent.a.RedirectToUrl(parse, json.optString("return_url"));
        }
    }

    @Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\b\u0002\u0018\u0000 \u00072\b\u0012\u0004\u0012\u00020\u00020\u0001:\u0001\nB\u0007¢\u0006\u0004\b\b\u0010\tJ\u0010\u0010\u0006\u001a\u00020\u00052\u0006\u0010\u0004\u001a\u00020\u0003H\u0002J\u0012\u0010\u0007\u001a\u0004\u0018\u00010\u00022\u0006\u0010\u0004\u001a\u00020\u0003H\u0016¨\u0006\u000b"}, d2 = {"Lbi/r$j;", "Lcom/stripe/android/core/model/parsers/a;", "Lcom/stripe/android/model/StripeIntent$a$j;", "Lorg/json/JSONObject;", "json", "Lcom/stripe/android/model/StripeIntent$a$j$b$b;", "c", "b", "<init>", "()V", "a", "payments-core_release"}, k = 1, mv = {1, 9, 0})
    private static final class j implements com.stripe.android.core.model.parsers.a<StripeIntent.a.j> {
        private static final a b = new a(null);

        @Metadata(d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0002\b\u0012\b\u0082\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0012\u0010\u0013R\u0014\u0010\u0003\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u0003\u0010\u0004R\u0014\u0010\u0005\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u0005\u0010\u0004R\u0014\u0010\u0006\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u0006\u0010\u0004R\u0014\u0010\u0007\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u0007\u0010\u0004R\u0014\u0010\b\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\b\u0010\u0004R\u0014\u0010\t\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\t\u0010\u0004R\u0014\u0010\n\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\n\u0010\u0004R\u0014\u0010\u000b\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u000b\u0010\u0004R\u0014\u0010\f\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\f\u0010\u0004R\u0014\u0010\r\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\r\u0010\u0004R\u0014\u0010\u000e\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u000e\u0010\u0004R\u0014\u0010\u000f\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u000f\u0010\u0004R\u0014\u0010\u0010\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u0010\u0010\u0004R\u0014\u0010\u0011\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u0011\u0010\u0004¨\u0006\u0014"}, d2 = {"Lbi/r$j$a;", "", "", "FIELD_CERTIFICATE", "Ljava/lang/String;", "FIELD_DIRECTORY_SERVER_ENCRYPTION", "FIELD_DIRECTORY_SERVER_ID", "FIELD_DIRECTORY_SERVER_NAME", "FIELD_KEY_ID", "FIELD_PUBLISHABLE_KEY", "FIELD_ROOT_CAS", "FIELD_SERVER_TRANSACTION_ID", "FIELD_STRIPE_JS", "FIELD_THREE_D_SECURE_2_INTENT", "FIELD_THREE_D_SECURE_2_SOURCE", "FIELD_TYPE", "TYPE_3DS1", "TYPE_3DS2", "<init>", "()V", "payments-core_release"}, k = 1, mv = {1, 9, 0})
        private static final class a {
            private a() {
            }

            public a(DefaultConstructorMarker defaultConstructorMarker) {
                this();
            }
        }

        private final com.stripe.android.model.StripeIntent.a.j.Use3DS2.DirectoryServerEncryption c(org.json.JSONObject r6) {
            throw new UnsupportedOperationException("Method not decompiled: bi.r.j.c(org.json.JSONObject):com.stripe.android.model.StripeIntent$a$j$b$b");
        }

        @Override
        public StripeIntent.a.j a(JSONObject json) {
            kotlin.jvm.internal.r.i(json, "json");
            String l = ph.a.l(json, LinkHeader.Parameters.Type);
            if (kotlin.jvm.internal.r.d(l, "three_d_secure_redirect")) {
                String optString = json.optString("stripe_js");
                kotlin.jvm.internal.r.h(optString, "optString(...)");
                return new StripeIntent.a.j.Use3DS1(optString);
            }
            if (!kotlin.jvm.internal.r.d(l, "stripe_3ds2_fingerprint")) {
                return null;
            }
            String optString2 = json.optString("three_d_secure_2_source");
            kotlin.jvm.internal.r.h(optString2, "optString(...)");
            String optString3 = json.optString("directory_server_name");
            kotlin.jvm.internal.r.h(optString3, "optString(...)");
            String optString4 = json.optString("server_transaction_id");
            kotlin.jvm.internal.r.h(optString4, "optString(...)");
            JSONObject optJSONObject = json.optJSONObject("directory_server_encryption");
            if (optJSONObject == null) {
                optJSONObject = new JSONObject();
            }
            return new StripeIntent.a.j.Use3DS2(optString2, optString3, optString4, c(optJSONObject), ph.a.l(json, "three_d_secure_2_intent"), ph.a.l(json, "publishable_key"));
        }
    }

    @StabilityInferred(parameters = 1)
    @Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\b\u0000\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\u0007¢\u0006\u0004\b\u0006\u0010\u0007J\u0010\u0010\u0005\u001a\u00020\u00022\u0006\u0010\u0004\u001a\u00020\u0003H\u0016¨\u0006\b"}, d2 = {"Lbi/r$k;", "Lcom/stripe/android/core/model/parsers/a;", "Lcom/stripe/android/model/StripeIntent$a$k;", "Lorg/json/JSONObject;", "json", "b", "<init>", "()V", "payments-core_release"}, k = 1, mv = {1, 9, 0})
    public static final class k implements com.stripe.android.core.model.parsers.a<StripeIntent.a.SwishRedirect> {
        @Override
        public StripeIntent.a.SwishRedirect a(JSONObject json) {
            kotlin.jvm.internal.r.i(json, "json");
            String optString = json.optString("mobile_auth_url");
            kotlin.jvm.internal.r.h(optString, "optString(...)");
            return new StripeIntent.a.SwishRedirect(optString);
        }
    }

    @StabilityInferred(parameters = 1)
    @Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\b\u0000\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\u0007¢\u0006\u0004\b\u0006\u0010\u0007J\u0010\u0010\u0005\u001a\u00020\u00022\u0006\u0010\u0004\u001a\u00020\u0003H\u0016¨\u0006\b"}, d2 = {"Lbi/r$l;", "Lcom/stripe/android/core/model/parsers/a;", "Lcom/stripe/android/model/StripeIntent$a$l;", "Lorg/json/JSONObject;", "json", "b", "<init>", "()V", "payments-core_release"}, k = 1, mv = {1, 9, 0})
    public static final class l implements com.stripe.android.core.model.parsers.a<StripeIntent.a.l> {
        @Override
        public StripeIntent.a.l a(JSONObject json) {
            kotlin.jvm.internal.r.i(json, "json");
            return StripeIntent.a.l.c;
        }
    }

    @StabilityInferred(parameters = 1)
    @Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\b\u0000\u0018\u0000 \u00072\b\u0012\u0004\u0012\u00020\u00020\u0001:\u0001\nB\u0007¢\u0006\u0004\b\b\u0010\tJ\u0010\u0010\u0006\u001a\u00020\u00052\u0006\u0010\u0004\u001a\u00020\u0003H\u0002J\u0010\u0010\u0007\u001a\u00020\u00022\u0006\u0010\u0004\u001a\u00020\u0003H\u0016¨\u0006\u000b"}, d2 = {"Lbi/r$m;", "Lcom/stripe/android/core/model/parsers/a;", "Lcom/stripe/android/model/StripeIntent$a$m;", "Lorg/json/JSONObject;", "json", "Lcom/stripe/android/model/MicrodepositType;", "c", "b", "<init>", "()V", "a", "payments-core_release"}, k = 1, mv = {1, 9, 0})
    public static final class m implements com.stripe.android.core.model.parsers.a<StripeIntent.a.VerifyWithMicrodeposits> {
        private static final a b = new a(null);

        @Metadata(d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0002\b\u0007\b\u0082\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0007\u0010\bR\u0014\u0010\u0003\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u0003\u0010\u0004R\u0014\u0010\u0005\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u0005\u0010\u0004R\u0014\u0010\u0006\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u0006\u0010\u0004¨\u0006\t"}, d2 = {"Lbi/r$m$a;", "", "", "ARRIVAL_DATE", "Ljava/lang/String;", "HOSTED_VERIFICATION_URL", "MICRODEPOSIT_TYPE", "<init>", "()V", "payments-core_release"}, k = 1, mv = {1, 9, 0})
        private static final class a {
            private a() {
            }

            public a(DefaultConstructorMarker defaultConstructorMarker) {
                this();
            }
        }

        private final MicrodepositType c(JSONObject json) {
            Object obj;
            Iterator<E> it = MicrodepositType.c().iterator();
            while (true) {
                if (!it.hasNext()) {
                    obj = null;
                    break;
                }
                obj = it.next();
                if (kotlin.jvm.internal.r.d(((MicrodepositType) obj).getValue(), json.optString("microdeposit_type"))) {
                    break;
                }
            }
            MicrodepositType microdepositType = (MicrodepositType) obj;
            return microdepositType == null ? MicrodepositType.e : microdepositType;
        }

        @Override
        public StripeIntent.a.VerifyWithMicrodeposits a(JSONObject json) {
            kotlin.jvm.internal.r.i(json, "json");
            long optLong = json.optLong("arrival_date");
            String optString = json.optString("hosted_verification_url");
            kotlin.jvm.internal.r.h(optString, "optString(...)");
            return new StripeIntent.a.VerifyWithMicrodeposits(optLong, optString, c(json));
        }
    }

    @StabilityInferred(parameters = 1)
    @Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\b\u0000\u0018\u0000 \u00052\b\u0012\u0004\u0012\u00020\u00020\u0001:\u0001\bB\u0007¢\u0006\u0004\b\u0006\u0010\u0007J\u0010\u0010\u0005\u001a\u00020\u00022\u0006\u0010\u0004\u001a\u00020\u0003H\u0016¨\u0006\t"}, d2 = {"Lbi/r$n;", "Lcom/stripe/android/core/model/parsers/a;", "Lcom/stripe/android/model/StripeIntent$a$n;", "Lorg/json/JSONObject;", "json", "b", "<init>", "()V", "a", "payments-core_release"}, k = 1, mv = {1, 9, 0})
    public static final class n implements com.stripe.android.core.model.parsers.a<StripeIntent.a.WeChatPayRedirect> {
        private static final a b = new a(null);

        @Metadata(d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0002\b\u000b\b\u0082\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u000b\u0010\fR\u0014\u0010\u0003\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u0003\u0010\u0004R\u0014\u0010\u0005\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u0005\u0010\u0004R\u0014\u0010\u0006\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u0006\u0010\u0004R\u0014\u0010\u0007\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u0007\u0010\u0004R\u0014\u0010\b\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\b\u0010\u0004R\u0014\u0010\t\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\t\u0010\u0004R\u0014\u0010\n\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\n\u0010\u0004¨\u0006\r"}, d2 = {"Lbi/r$n$a;", "", "", "APP_ID", "Ljava/lang/String;", "NONCE_STR", "PACKAGE", "PARTNER_ID", "PREPAY_ID", "SIGN", "TIMESTAMP", "<init>", "()V", "payments-core_release"}, k = 1, mv = {1, 9, 0})
        private static final class a {
            private a() {
            }

            public a(DefaultConstructorMarker defaultConstructorMarker) {
                this();
            }
        }

        @Override
        public StripeIntent.a.WeChatPayRedirect a(JSONObject json) {
            kotlin.jvm.internal.r.i(json, "json");
            return new StripeIntent.a.WeChatPayRedirect(new WeChat(null, json.optString("app_id"), json.optString("nonce_str"), json.optString("package"), json.optString("partner_id"), json.optString("prepay_id"), json.optString("sign"), json.optString("timestamp"), null, 257, null));
        }
    }

    @Metadata(k = WorkQueueKt.STEAL_ANY, mv = {1, 9, 0}, xi = 48)
    public class o {
        public static final int[] a;

        static {
            int[] iArr = new int[StripeIntent.NextActionType.values().length];
            try {
                iArr[StripeIntent.NextActionType.k.ordinal()] = 1;
            } catch (NoSuchFieldError unused) {
            }
            try {
                iArr[StripeIntent.NextActionType.w.ordinal()] = 2;
            } catch (NoSuchFieldError unused2) {
            }
            try {
                iArr[StripeIntent.NextActionType.x.ordinal()] = 3;
            } catch (NoSuchFieldError unused3) {
            }
            try {
                iArr[StripeIntent.NextActionType.y.ordinal()] = 4;
            } catch (NoSuchFieldError unused4) {
            }
            try {
                iArr[StripeIntent.NextActionType.d.ordinal()] = 5;
            } catch (NoSuchFieldError unused5) {
            }
            try {
                iArr[StripeIntent.NextActionType.e.ordinal()] = 6;
            } catch (NoSuchFieldError unused6) {
            }
            try {
                iArr[StripeIntent.NextActionType.n.ordinal()] = 7;
            } catch (NoSuchFieldError unused7) {
            }
            try {
                iArr[StripeIntent.NextActionType.p.ordinal()] = 8;
            } catch (NoSuchFieldError unused8) {
            }
            try {
                iArr[StripeIntent.NextActionType.q.ordinal()] = 9;
            } catch (NoSuchFieldError unused9) {
            }
            try {
                iArr[StripeIntent.NextActionType.r.ordinal()] = 10;
            } catch (NoSuchFieldError unused10) {
            }
            try {
                iArr[StripeIntent.NextActionType.t.ordinal()] = 11;
            } catch (NoSuchFieldError unused11) {
            }
            try {
                iArr[StripeIntent.NextActionType.v.ordinal()] = 12;
            } catch (NoSuchFieldError unused12) {
            }
            try {
                iArr[StripeIntent.NextActionType.z.ordinal()] = 13;
            } catch (NoSuchFieldError unused13) {
            }
            a = iArr;
        }
    }

    @Override
    public StripeIntent.a a(JSONObject json) {
        com.stripe.android.core.model.parsers.a hVar;
        kotlin.jvm.internal.r.i(json, "json");
        StripeIntent.NextActionType a2 = StripeIntent.NextActionType.INSTANCE.a(json.optString(LinkHeader.Parameters.Type));
        switch (a2 == null ? -1 : o.a[a2.ordinal()]) {
            case -1:
                return null;
            case 0:
            default:
                throw new NoWhenBranchMatchedException();
            case 1:
                hVar = new h();
                break;
            case 2:
                hVar = new e();
                break;
            case WorkQueueKt.STEAL_ANY:
                hVar = new f();
                break;
            case 4:
                hVar = new g();
                break;
            case BecsDebitAccountNumberEditText.DEFAULT_MIN_LENGTH:
                hVar = new i();
                break;
            case 6:
                hVar = new j();
                break;
            case WorkQueueKt.BUFFER_CAPACITY_BASE:
                hVar = new a();
                break;
            case 8:
                hVar = new b();
                break;
            case 9:
                hVar = new n();
                break;
            case 10:
                hVar = new m();
                break;
            case 11:
                hVar = new l();
                break;
            case 12:
                hVar = new c();
                break;
            case 13:
                hVar = new k();
                break;
        }
        JSONObject optJSONObject = json.optJSONObject(a2.getCode());
        if (optJSONObject == null) {
            optJSONObject = new JSONObject();
        }
        return (StripeIntent.a) hVar.a(optJSONObject);
    }
}