导航菜单

页面标题

页面副标题

Empower MX v1.29.4.340 - PopupPayload.java 源代码

正在查看: Empower MX v1.29.4.340 应用的 PopupPayload.java JAVA 源代码文件

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


package O8;

import Gf.s;
import android.content.Context;
import android.util.Base64;
import com.launchdarkly.sdk.EvaluationDetail;
import com.stripe.android.model.StripeIntent;
import com.stripe.android.model.p;
import com.stripe.android.model.w;
import dg.f;
import gg.AbstractC1670r0;
import gg.B0;
import gg.C1650h;
import gg.F0;
import gg.G;
import gg.U;
import gg.Z;
import hg.n;
import java.util.Map;
import kotlin.Metadata;
import kotlin.NoWhenBranchMatchedException;
import kotlin.Unit;
import kotlin.collections.P;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlin.text.StringsKt;
import kotlinx.serialization.KSerializer;
import kotlinx.serialization.UnknownFieldException;
import kotlinx.serialization.descriptors.SerialDescriptor;
import kotlinx.serialization.encoding.Decoder;
import kotlinx.serialization.encoding.Encoder;
import kotlinx.serialization.encoding.c;
import kotlinx.serialization.encoding.d;
import kotlinx.serialization.internal.PluginGeneratedSerialDescriptor;
import sf.x;
import x6.h;
import x8.C3043e;

@f
@Metadata(d1 = {"\u0000V\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010$\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\bF\b\u0081\b\u0018\u0000 i2\u00020\u0001:\u0006/%:?DGBw\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0002\u0012\u0006\u0010\u0006\u001a\u00020\u0005\u0012\u0006\u0010\b\u001a\u00020\u0007\u0012\b\u0010\n\u001a\u0004\u0018\u00010\t\u0012\u0006\u0010\u000b\u001a\u00020\u0002\u0012\u0006\u0010\f\u001a\u00020\u0002\u0012\u0006\u0010\r\u001a\u00020\u0002\u0012\u0006\u0010\u000e\u001a\u00020\u0002\u0012\u0006\u0010\u000f\u001a\u00020\u0002\u0012\u0006\u0010\u0011\u001a\u00020\u0010\u0012\u0012\u0010\u0013\u001a\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00100\u0012¢\u0006\u0004\b\u0014\u0010\u0015Bý\u0001\b\u0011\u0012\u0006\u0010\u0017\u001a\u00020\u0016\u0012\n\b\u0001\u0010\u0003\u001a\u0004\u0018\u00010\u0002\u0012\n\b\u0001\u0010\u0004\u001a\u0004\u0018\u00010\u0002\u0012\n\b\u0001\u0010\u0006\u001a\u0004\u0018\u00010\u0005\u0012\n\b\u0001\u0010\b\u001a\u0004\u0018\u00010\u0007\u0012\n\b\u0001\u0010\n\u001a\u0004\u0018\u00010\t\u0012\n\b\u0001\u0010\u000b\u001a\u0004\u0018\u00010\u0002\u0012\n\b\u0001\u0010\f\u001a\u0004\u0018\u00010\u0002\u0012\n\b\u0001\u0010\r\u001a\u0004\u0018\u00010\u0002\u0012\n\b\u0001\u0010\u000e\u001a\u0004\u0018\u00010\u0002\u0012\n\b\u0001\u0010\u000f\u001a\u0004\u0018\u00010\u0002\u0012\b\b\u0001\u0010\u0011\u001a\u00020\u0010\u0012\u0016\b\u0001\u0010\u0013\u001a\u0010\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u0010\u0018\u00010\u0012\u0012\n\b\u0001\u0010\u0018\u001a\u0004\u0018\u00010\u0002\u0012\n\b\u0001\u0010\u0019\u001a\u0004\u0018\u00010\u0002\u0012\u0016\b\u0001\u0010\u001a\u001a\u0010\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u0002\u0018\u00010\u0012\u0012\u0016\b\u0001\u0010\u001b\u001a\u0010\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u0002\u0018\u00010\u0012\u0012\b\u0010\u001d\u001a\u0004\u0018\u00010\u001c¢\u0006\u0004\b\u0014\u0010\u001eJ(\u0010%\u001a\u00020$2\u0006\u0010\u001f\u001a\u00020\u00002\u0006\u0010!\u001a\u00020 2\u0006\u0010#\u001a\u00020\"HÁ\u0001¢\u0006\u0004\b%\u0010&J\r\u0010'\u001a\u00020\u0002¢\u0006\u0004\b'\u0010(J\u0010\u0010)\u001a\u00020\u0002HÖ\u0001¢\u0006\u0004\b)\u0010(J\u0010\u0010*\u001a\u00020\u0016HÖ\u0001¢\u0006\u0004\b*\u0010+J\u001a\u0010-\u001a\u00020\u00102\b\u0010,\u001a\u0004\u0018\u00010\u0001HÖ\u0003¢\u0006\u0004\b-\u0010.R \u0010\u0003\u001a\u00020\u00028\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b/\u00100\u0012\u0004\b2\u00103\u001a\u0004\b1\u0010(R\"\u0010\u0004\u001a\u0004\u0018\u00010\u00028\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b'\u00100\u0012\u0004\b5\u00103\u001a\u0004\b4\u0010(R \u0010\u0006\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b%\u00106\u0012\u0004\b9\u00103\u001a\u0004\b7\u00108R \u0010\b\u001a\u00020\u00078\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b:\u0010;\u0012\u0004\b>\u00103\u001a\u0004\b<\u0010=R\"\u0010\n\u001a\u0004\u0018\u00010\t8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b?\u0010@\u0012\u0004\bC\u00103\u001a\u0004\bA\u0010BR \u0010\u000b\u001a\u00020\u00028\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\bD\u00100\u0012\u0004\bF\u00103\u001a\u0004\bE\u0010(R \u0010\f\u001a\u00020\u00028\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\bG\u00100\u0012\u0004\bI\u00103\u001a\u0004\bH\u0010(R \u0010\r\u001a\u00020\u00028\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\bJ\u00100\u0012\u0004\bL\u00103\u001a\u0004\bK\u0010(R \u0010\u000e\u001a\u00020\u00028\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\bM\u00100\u0012\u0004\bO\u00103\u001a\u0004\bN\u0010(R \u0010\u000f\u001a\u00020\u00028\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\bP\u00100\u0012\u0004\bR\u00103\u001a\u0004\bQ\u0010(R \u0010\u0011\u001a\u00020\u00108\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\bS\u0010T\u0012\u0004\bW\u00103\u001a\u0004\bU\u0010VR,\u0010\u0013\u001a\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00100\u00128\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\bX\u0010Y\u0012\u0004\b\\\u00103\u001a\u0004\bZ\u0010[R \u0010\u0018\u001a\u00020\u00028\u0006X\u0087D¢\u0006\u0012\n\u0004\b]\u00100\u0012\u0004\b_\u00103\u001a\u0004\b^\u0010(R \u0010\u0019\u001a\u00020\u00028\u0006X\u0087D¢\u0006\u0012\n\u0004\b`\u00100\u0012\u0004\bb\u00103\u001a\u0004\ba\u0010(R,\u0010\u001a\u001a\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00020\u00128\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\bc\u0010Y\u0012\u0004\be\u00103\u001a\u0004\bd\u0010[R,\u0010\u001b\u001a\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00020\u00128\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\bf\u0010Y\u0012\u0004\bh\u00103\u001a\u0004\bg\u0010[¨\u0006j"}, d2 = {"LO8/a;", "", "", "publishableKey", "stripeAccount", "LO8/a$f;", "merchantInfo", "LO8/a$d;", "customerInfo", "LO8/a$g;", "paymentInfo", "appId", "locale", "paymentUserAgent", "paymentObject", "intentMode", "", "setupFutureUsage", "", "flags", "<init>", "(Ljava/lang/String;Ljava/lang/String;LO8/a$f;LO8/a$d;LO8/a$g;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/util/Map;)V", "", "seen1", "path", "integrationType", "loggerMetadata", "experiments", "Lgg/B0;", "serializationConstructorMarker", "(ILjava/lang/String;Ljava/lang/String;LO8/a$f;LO8/a$d;LO8/a$g;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/util/Map;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Ljava/util/Map;Lgg/B0;)V", "self", "Lkotlinx/serialization/encoding/d;", "output", "Lkotlinx/serialization/descriptors/SerialDescriptor;", "serialDesc", "", "c", "(LO8/a;Lkotlinx/serialization/encoding/d;Lkotlinx/serialization/descriptors/SerialDescriptor;)V", "b", "()Ljava/lang/String;", "toString", "hashCode", "()I", "other", "equals", "(Ljava/lang/Object;)Z", "a", "Ljava/lang/String;", "getPublishableKey", "getPublishableKey$annotations", "()V", "getStripeAccount", "getStripeAccount$annotations", "LO8/a$f;", "getMerchantInfo", "()LO8/a$f;", "getMerchantInfo$annotations", "d", "LO8/a$d;", "getCustomerInfo", "()LO8/a$d;", "getCustomerInfo$annotations", "e", "LO8/a$g;", "getPaymentInfo", "()LO8/a$g;", "getPaymentInfo$annotations", "f", "getAppId", "getAppId$annotations", "g", "getLocale", "getLocale$annotations", "h", "getPaymentUserAgent", "getPaymentUserAgent$annotations", "i", "getPaymentObject", "getPaymentObject$annotations", "j", "getIntentMode", "getIntentMode$annotations", "k", "Z", "getSetupFutureUsage", "()Z", "getSetupFutureUsage$annotations", "l", "Ljava/util/Map;", "getFlags", "()Ljava/util/Map;", "getFlags$annotations", "m", "getPath", "getPath$annotations", "n", "getIntegrationType", "getIntegrationType$annotations", "o", "getLoggerMetadata", "getLoggerMetadata$annotations", "p", "getExperiments", "getExperiments$annotations", "Companion", "link_release"}, k = 1, mv = {1, 9, 0}, xi = 48)
public final class PopupPayload {

    public static final Companion INSTANCE = new Companion(null);
    public static final int q = 8;
    private static final KSerializer[] r;
    private static final hg.a s;

    private final String publishableKey;

    private final String stripeAccount;

    private final MerchantInfo merchantInfo;

    private final CustomerInfo customerInfo;

    private final PaymentInfo paymentInfo;

    private final String appId;

    private final String locale;

    private final String paymentUserAgent;

    private final String paymentObject;

    private final String intentMode;

    private final boolean setupFutureUsage;

    private final Map flags;

    private final String path;

    private final String integrationType;

    private final Map loggerMetadata;

    private final Map experiments;

    public static final class C0103a implements G {
        public static final C0103a a;
        private static final PluginGeneratedSerialDescriptor b;

        static {
            C0103a c0103a = new C0103a();
            a = c0103a;
            PluginGeneratedSerialDescriptor pluginGeneratedSerialDescriptor = new PluginGeneratedSerialDescriptor("com.stripe.android.link.serialization.PopupPayload", c0103a, 16);
            pluginGeneratedSerialDescriptor.n("publishableKey", false);
            pluginGeneratedSerialDescriptor.n("stripeAccount", false);
            pluginGeneratedSerialDescriptor.n("merchantInfo", false);
            pluginGeneratedSerialDescriptor.n("customerInfo", false);
            pluginGeneratedSerialDescriptor.n("paymentInfo", false);
            pluginGeneratedSerialDescriptor.n("appId", false);
            pluginGeneratedSerialDescriptor.n("locale", false);
            pluginGeneratedSerialDescriptor.n("paymentUserAgent", false);
            pluginGeneratedSerialDescriptor.n("paymentObject", false);
            pluginGeneratedSerialDescriptor.n("intentMode", false);
            pluginGeneratedSerialDescriptor.n("setupFutureUsage", false);
            pluginGeneratedSerialDescriptor.n("flags", false);
            pluginGeneratedSerialDescriptor.n("path", true);
            pluginGeneratedSerialDescriptor.n("integrationType", true);
            pluginGeneratedSerialDescriptor.n("loggerMetadata", true);
            pluginGeneratedSerialDescriptor.n("experiments", true);
            b = pluginGeneratedSerialDescriptor;
        }

        private C0103a() {
        }

        @Override
        public PopupPayload deserialize(Decoder decoder) {
            MerchantInfo merchantInfo;
            int i;
            Map map;
            Map map2;
            PaymentInfo paymentInfo;
            Map map3;
            CustomerInfo customerInfo;
            String str;
            boolean z;
            String str2;
            String str3;
            String str4;
            String str5;
            String str6;
            String str7;
            String str8;
            String str9;
            Intrinsics.checkNotNullParameter(decoder, "decoder");
            SerialDescriptor descriptor = getDescriptor();
            c c = decoder.c(descriptor);
            KSerializer[] kSerializerArr = PopupPayload.r;
            int i2 = 10;
            if (c.z()) {
                String v = c.v(descriptor, 0);
                String str10 = (String) c.o(descriptor, 1, F0.a, null);
                MerchantInfo merchantInfo2 = (MerchantInfo) c.u(descriptor, 2, MerchantInfo.C0106a.a, null);
                CustomerInfo customerInfo2 = (CustomerInfo) c.u(descriptor, 3, CustomerInfo.C0105a.a, null);
                PaymentInfo paymentInfo2 = (PaymentInfo) c.o(descriptor, 4, PaymentInfo.C0107a.a, null);
                String v2 = c.v(descriptor, 5);
                String v3 = c.v(descriptor, 6);
                String v10 = c.v(descriptor, 7);
                String v11 = c.v(descriptor, 8);
                String v12 = c.v(descriptor, 9);
                boolean t = c.t(descriptor, 10);
                Map map4 = (Map) c.u(descriptor, 11, kSerializerArr[11], null);
                String v13 = c.v(descriptor, 12);
                String v14 = c.v(descriptor, 13);
                Map map5 = (Map) c.u(descriptor, 14, kSerializerArr[14], null);
                map = (Map) c.u(descriptor, 15, kSerializerArr[15], null);
                map2 = map5;
                i = 65535;
                z = t;
                str7 = v12;
                str5 = v10;
                str4 = v3;
                str3 = v2;
                customerInfo = customerInfo2;
                str6 = v11;
                paymentInfo = paymentInfo2;
                str8 = v13;
                str9 = v14;
                str = str10;
                map3 = map4;
                merchantInfo = merchantInfo2;
                str2 = v;
            } else {
                int i3 = 15;
                boolean z2 = true;
                MerchantInfo merchantInfo3 = null;
                Map map6 = null;
                Map map7 = null;
                PaymentInfo paymentInfo3 = null;
                Map map8 = null;
                CustomerInfo customerInfo3 = null;
                String str11 = null;
                String str12 = null;
                String str13 = null;
                String str14 = null;
                String str15 = null;
                String str16 = null;
                String str17 = null;
                String str18 = null;
                boolean z3 = false;
                int i10 = 0;
                String str19 = null;
                while (z2) {
                    int y = c.y(descriptor);
                    switch (y) {
                        case EvaluationDetail.NO_VARIATION:
                            z2 = false;
                            i3 = 15;
                        case 0:
                            str11 = c.v(descriptor, 0);
                            i10 |= 1;
                            i3 = 15;
                            i2 = 10;
                        case 1:
                            str19 = (String) c.o(descriptor, 1, F0.a, str19);
                            i10 |= 2;
                            i3 = 15;
                            i2 = 10;
                        case 2:
                            merchantInfo3 = (MerchantInfo) c.u(descriptor, 2, MerchantInfo.C0106a.a, merchantInfo3);
                            i10 |= 4;
                            i3 = 15;
                            i2 = 10;
                        case 3:
                            customerInfo3 = (CustomerInfo) c.u(descriptor, 3, CustomerInfo.C0105a.a, customerInfo3);
                            i10 |= 8;
                            i3 = 15;
                            i2 = 10;
                        case 4:
                            paymentInfo3 = (PaymentInfo) c.o(descriptor, 4, PaymentInfo.C0107a.a, paymentInfo3);
                            i10 |= 16;
                            i3 = 15;
                            i2 = 10;
                        case 5:
                            str12 = c.v(descriptor, 5);
                            i10 |= 32;
                            i3 = 15;
                        case 6:
                            str13 = c.v(descriptor, 6);
                            i10 |= 64;
                            i3 = 15;
                        case 7:
                            str14 = c.v(descriptor, 7);
                            i10 |= 128;
                            i3 = 15;
                        case 8:
                            str15 = c.v(descriptor, 8);
                            i10 |= 256;
                            i3 = 15;
                        case 9:
                            str16 = c.v(descriptor, 9);
                            i10 |= 512;
                            i3 = 15;
                        case h.TIME_TO_RESPONSE_COMPLETED_US_FIELD_NUMBER:
                            z3 = c.t(descriptor, i2);
                            i10 |= 1024;
                            i3 = 15;
                        case h.NETWORK_CLIENT_ERROR_REASON_FIELD_NUMBER:
                            map8 = (Map) c.u(descriptor, 11, kSerializerArr[11], map8);
                            i10 |= 2048;
                            i3 = 15;
                        case h.CUSTOM_ATTRIBUTES_FIELD_NUMBER:
                            str17 = c.v(descriptor, 12);
                            i10 |= 4096;
                            i3 = 15;
                        case h.PERF_SESSIONS_FIELD_NUMBER:
                            str18 = c.v(descriptor, 13);
                            i10 |= 8192;
                            i3 = 15;
                        case 14:
                            map7 = (Map) c.u(descriptor, 14, kSerializerArr[14], map7);
                            i10 |= 16384;
                            i3 = 15;
                        case 15:
                            map6 = (Map) c.u(descriptor, i3, kSerializerArr[i3], map6);
                            i10 |= 32768;
                        default:
                            throw new UnknownFieldException(y);
                    }
                }
                merchantInfo = merchantInfo3;
                i = i10;
                map = map6;
                map2 = map7;
                paymentInfo = paymentInfo3;
                map3 = map8;
                customerInfo = customerInfo3;
                str = str19;
                z = z3;
                str2 = str11;
                str3 = str12;
                str4 = str13;
                str5 = str14;
                str6 = str15;
                str7 = str16;
                str8 = str17;
                str9 = str18;
            }
            c.b(descriptor);
            return new PopupPayload(i, str2, str, merchantInfo, customerInfo, paymentInfo, str3, str4, str5, str6, str7, z, map3, str8, str9, map2, map, null);
        }

        @Override
        public void serialize(Encoder encoder, PopupPayload popupPayload) {
            Intrinsics.checkNotNullParameter(encoder, "encoder");
            Intrinsics.checkNotNullParameter(popupPayload, "value");
            SerialDescriptor descriptor = getDescriptor();
            d c = encoder.c(descriptor);
            PopupPayload.c(popupPayload, c, descriptor);
            c.b(descriptor);
        }

        @Override
        public KSerializer[] childSerializers() {
            KSerializer[] kSerializerArr = PopupPayload.r;
            F0 f0 = F0.a;
            return new KSerializer[]{f0, eg.a.t(f0), MerchantInfo.C0106a.a, CustomerInfo.C0105a.a, eg.a.t(PaymentInfo.C0107a.a), f0, f0, f0, f0, f0, C1650h.a, kSerializerArr[11], f0, f0, kSerializerArr[14], kSerializerArr[15]};
        }

        @Override
        public SerialDescriptor getDescriptor() {
            return b;
        }

        @Override
        public KSerializer[] typeParametersSerializers() {
            return G.a.a(this);
        }
    }

    static final class b extends s implements Function1 {
        public static final b d = new b();

        b() {
            super(1);
        }

        public final void a(hg.c cVar) {
            Intrinsics.checkNotNullParameter(cVar, "$this$Json");
            cVar.e(true);
        }

        public Object invoke(Object obj) {
            a((hg.c) obj);
            return Unit.a;
        }
    }

    public static final class Companion {

        public class C0104a {
            public static final int[] a;

            static {
                int[] iArr = new int[StripeIntent.Usage.values().length];
                try {
                    iArr[StripeIntent.Usage.w.ordinal()] = 1;
                } catch (NoSuchFieldError unused) {
                }
                try {
                    iArr[StripeIntent.Usage.v.ordinal()] = 2;
                } catch (NoSuchFieldError unused2) {
                }
                try {
                    iArr[StripeIntent.Usage.i.ordinal()] = 3;
                } catch (NoSuchFieldError unused3) {
                }
                a = iArr;
            }
        }

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

        private final String b(Context context) {
            String country = context.getResources().getConfiguration().getLocales().get(0).getCountry();
            Intrinsics.checkNotNullExpressionValue(country, "getCountry(...)");
            return country;
        }

        private final boolean c(StripeIntent.Usage usage) {
            int i = usage == null ? -1 : C0104a.a[usage.ordinal()];
            if (i == -1 || i == 1) {
                return false;
            }
            if (i == 2 || i == 3) {
                return true;
            }
            throw new NoWhenBranchMatchedException();
        }

        private final boolean d(StripeIntent stripeIntent) {
            if (stripeIntent instanceof p) {
                return c(((p) stripeIntent).P0());
            }
            if (stripeIntent instanceof w) {
                return true;
            }
            throw new NoWhenBranchMatchedException();
        }

        private final String e(I8.d dVar) {
            return dVar.e() ? "card_payment_method" : "link_payment_method";
        }

        private final e f(StripeIntent stripeIntent) {
            if (stripeIntent instanceof p) {
                return e.e;
            }
            if (stripeIntent instanceof w) {
                return e.i;
            }
            throw new NoWhenBranchMatchedException();
        }

        private final PaymentInfo g(StripeIntent stripeIntent) {
            if (!(stripeIntent instanceof p)) {
                if (stripeIntent instanceof w) {
                    return null;
                }
                throw new NoWhenBranchMatchedException();
            }
            p pVar = (p) stripeIntent;
            String p1 = pVar.p1();
            Long c = pVar.c();
            if (p1 == null || c == null) {
                return null;
            }
            return new PaymentInfo(p1, c.longValue());
        }

        private final PopupPayload h(I8.d dVar, Context context, String str, String str2, String str3) {
            MerchantInfo merchantInfo = new MerchantInfo(dVar.d(), dVar.c());
            String b = dVar.a().b();
            String a = dVar.a().a();
            if (a == null) {
                a = b(context);
            }
            CustomerInfo customerInfo = new CustomerInfo(b, a);
            PaymentInfo g = g(dVar.j());
            String str4 = context.getApplicationInfo().packageName;
            Intrinsics.checkNotNullExpressionValue(str4, "packageName");
            return new PopupPayload(str, str2, merchantInfo, customerInfo, g, str4, b(context), str3, e(dVar), f(dVar.j()).b(), d(dVar.j()), dVar.b());
        }

        public final PopupPayload a(I8.d dVar, Context context, String str, String str2, String str3) {
            Intrinsics.checkNotNullParameter(dVar, "configuration");
            Intrinsics.checkNotNullParameter(context, "context");
            Intrinsics.checkNotNullParameter(str, "publishableKey");
            Intrinsics.checkNotNullParameter(str3, "paymentUserAgent");
            return h(dVar, context, str, str2, str3);
        }

        public final KSerializer serializer() {
            return C0103a.a;
        }

        private Companion() {
        }
    }

    @Metadata(d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0002\b\u0004\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0007\n\u0002\u0010\u000b\n\u0002\b\u000b\b\u0087\b\u0018\u0000 #2\u00020\u0001:\u0002\u0012 B\u001b\u0012\b\u0010\u0003\u001a\u0004\u0018\u00010\u0002\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0002¢\u0006\u0004\b\u0005\u0010\u0006B3\b\u0011\u0012\u0006\u0010\b\u001a\u00020\u0007\u0012\n\b\u0001\u0010\u0003\u001a\u0004\u0018\u00010\u0002\u0012\n\b\u0001\u0010\u0004\u001a\u0004\u0018\u00010\u0002\u0012\b\u0010\n\u001a\u0004\u0018\u00010\t¢\u0006\u0004\b\u0005\u0010\u000bJ(\u0010\u0012\u001a\u00020\u00112\u0006\u0010\f\u001a\u00020\u00002\u0006\u0010\u000e\u001a\u00020\r2\u0006\u0010\u0010\u001a\u00020\u000fHÁ\u0001¢\u0006\u0004\b\u0012\u0010\u0013J\u0010\u0010\u0014\u001a\u00020\u0002HÖ\u0001¢\u0006\u0004\b\u0014\u0010\u0015J\u0010\u0010\u0016\u001a\u00020\u0007HÖ\u0001¢\u0006\u0004\b\u0016\u0010\u0017J\u001a\u0010\u001a\u001a\u00020\u00192\b\u0010\u0018\u001a\u0004\u0018\u00010\u0001HÖ\u0003¢\u0006\u0004\b\u001a\u0010\u001bR\"\u0010\u0003\u001a\u0004\u0018\u00010\u00028\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u0012\u0010\u001c\u0012\u0004\b\u001e\u0010\u001f\u001a\u0004\b\u001d\u0010\u0015R\"\u0010\u0004\u001a\u0004\u0018\u00010\u00028\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b \u0010\u001c\u0012\u0004\b\"\u0010\u001f\u001a\u0004\b!\u0010\u0015¨\u0006$"}, d2 = {"LO8/a$d;", "", "", "email", "country", "<init>", "(Ljava/lang/String;Ljava/lang/String;)V", "", "seen1", "Lgg/B0;", "serializationConstructorMarker", "(ILjava/lang/String;Ljava/lang/String;Lgg/B0;)V", "self", "Lkotlinx/serialization/encoding/d;", "output", "Lkotlinx/serialization/descriptors/SerialDescriptor;", "serialDesc", "", "a", "(LO8/a$d;Lkotlinx/serialization/encoding/d;Lkotlinx/serialization/descriptors/SerialDescriptor;)V", "toString", "()Ljava/lang/String;", "hashCode", "()I", "other", "", "equals", "(Ljava/lang/Object;)Z", "Ljava/lang/String;", "getEmail", "getEmail$annotations", "()V", "b", "getCountry", "getCountry$annotations", "Companion", "link_release"}, k = 1, mv = {1, 9, 0}, xi = 48)
    @f
    public static final class CustomerInfo {

        public static final Companion INSTANCE = new Companion(null);

        private final String email;

        private final String country;

        public static final class C0105a implements G {
            public static final C0105a a;
            private static final PluginGeneratedSerialDescriptor b;

            static {
                C0105a c0105a = new C0105a();
                a = c0105a;
                PluginGeneratedSerialDescriptor pluginGeneratedSerialDescriptor = new PluginGeneratedSerialDescriptor("com.stripe.android.link.serialization.PopupPayload.CustomerInfo", c0105a, 2);
                pluginGeneratedSerialDescriptor.n("email", false);
                pluginGeneratedSerialDescriptor.n("country", false);
                b = pluginGeneratedSerialDescriptor;
            }

            private C0105a() {
            }

            @Override
            public CustomerInfo deserialize(Decoder decoder) {
                String str;
                int i;
                String str2;
                Intrinsics.checkNotNullParameter(decoder, "decoder");
                SerialDescriptor descriptor = getDescriptor();
                c c = decoder.c(descriptor);
                B0 b0 = null;
                if (c.z()) {
                    F0 f0 = F0.a;
                    str2 = (String) c.o(descriptor, 0, f0, null);
                    str = (String) c.o(descriptor, 1, f0, null);
                    i = 3;
                } else {
                    boolean z = true;
                    int i2 = 0;
                    str = null;
                    String str3 = null;
                    while (z) {
                        int y = c.y(descriptor);
                        if (y == -1) {
                            z = false;
                        } else if (y == 0) {
                            str3 = (String) c.o(descriptor, 0, F0.a, str3);
                            i2 |= 1;
                        } else {
                            if (y != 1) {
                                throw new UnknownFieldException(y);
                            }
                            str = (String) c.o(descriptor, 1, F0.a, str);
                            i2 |= 2;
                        }
                    }
                    i = i2;
                    str2 = str3;
                }
                c.b(descriptor);
                return new CustomerInfo(i, str2, str, b0);
            }

            @Override
            public void serialize(Encoder encoder, CustomerInfo customerInfo) {
                Intrinsics.checkNotNullParameter(encoder, "encoder");
                Intrinsics.checkNotNullParameter(customerInfo, "value");
                SerialDescriptor descriptor = getDescriptor();
                d c = encoder.c(descriptor);
                CustomerInfo.a(customerInfo, c, descriptor);
                c.b(descriptor);
            }

            @Override
            public KSerializer[] childSerializers() {
                F0 f0 = F0.a;
                return new KSerializer[]{eg.a.t(f0), eg.a.t(f0)};
            }

            @Override
            public SerialDescriptor getDescriptor() {
                return b;
            }

            @Override
            public KSerializer[] typeParametersSerializers() {
                return G.a.a(this);
            }
        }

        public static final class Companion {
            public Companion(DefaultConstructorMarker defaultConstructorMarker) {
                this();
            }

            public final KSerializer serializer() {
                return C0105a.a;
            }

            private Companion() {
            }
        }

        public CustomerInfo(int i, String str, String str2, B0 b0) {
            if (3 != (i & 3)) {
                AbstractC1670r0.a(i, 3, C0105a.a.getDescriptor());
            }
            this.email = str;
            this.country = str2;
        }

        public static final void a(CustomerInfo self, d output, SerialDescriptor serialDesc) {
            F0 f0 = F0.a;
            output.x(serialDesc, 0, f0, self.email);
            output.x(serialDesc, 1, f0, self.country);
        }

        public boolean equals(Object other) {
            if (this == other) {
                return true;
            }
            if (!(other instanceof CustomerInfo)) {
                return false;
            }
            CustomerInfo customerInfo = (CustomerInfo) other;
            return Intrinsics.d(this.email, customerInfo.email) && Intrinsics.d(this.country, customerInfo.country);
        }

        public int hashCode() {
            String str = this.email;
            int hashCode = (str == null ? 0 : str.hashCode()) * 31;
            String str2 = this.country;
            return hashCode + (str2 != null ? str2.hashCode() : 0);
        }

        public String toString() {
            return "CustomerInfo(email=" + this.email + ", country=" + this.country + ")";
        }

        public CustomerInfo(String str, String str2) {
            this.email = str;
            this.country = str2;
        }
    }

    public static final class e {
        public static final e e = new e("Payment", 0, "payment");
        public static final e i = new e("Setup", 1, "setup");
        private static final e[] v;
        private static final xf.a w;
        private final String d;

        static {
            e[] a = a();
            v = a;
            w = xf.b.a(a);
        }

        private e(String str, int i2, String str2) {
            this.d = str2;
        }

        private static final e[] a() {
            return new e[]{e, i};
        }

        public static e valueOf(String str) {
            return (e) Enum.valueOf(e.class, str);
        }

        public static e[] values() {
            return (e[]) v.clone();
        }

        public final String b() {
            return this.d;
        }
    }

    @Metadata(d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0002\b\u0004\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0007\n\u0002\u0010\u000b\n\u0002\b\u000b\b\u0087\b\u0018\u0000 #2\u00020\u0001:\u0002\u0012 B\u0019\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0002¢\u0006\u0004\b\u0005\u0010\u0006B3\b\u0011\u0012\u0006\u0010\b\u001a\u00020\u0007\u0012\n\b\u0001\u0010\u0003\u001a\u0004\u0018\u00010\u0002\u0012\n\b\u0001\u0010\u0004\u001a\u0004\u0018\u00010\u0002\u0012\b\u0010\n\u001a\u0004\u0018\u00010\t¢\u0006\u0004\b\u0005\u0010\u000bJ(\u0010\u0012\u001a\u00020\u00112\u0006\u0010\f\u001a\u00020\u00002\u0006\u0010\u000e\u001a\u00020\r2\u0006\u0010\u0010\u001a\u00020\u000fHÁ\u0001¢\u0006\u0004\b\u0012\u0010\u0013J\u0010\u0010\u0014\u001a\u00020\u0002HÖ\u0001¢\u0006\u0004\b\u0014\u0010\u0015J\u0010\u0010\u0016\u001a\u00020\u0007HÖ\u0001¢\u0006\u0004\b\u0016\u0010\u0017J\u001a\u0010\u001a\u001a\u00020\u00192\b\u0010\u0018\u001a\u0004\u0018\u00010\u0001HÖ\u0003¢\u0006\u0004\b\u001a\u0010\u001bR \u0010\u0003\u001a\u00020\u00028\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u0012\u0010\u001c\u0012\u0004\b\u001e\u0010\u001f\u001a\u0004\b\u001d\u0010\u0015R\"\u0010\u0004\u001a\u0004\u0018\u00010\u00028\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b \u0010\u001c\u0012\u0004\b\"\u0010\u001f\u001a\u0004\b!\u0010\u0015¨\u0006$"}, d2 = {"LO8/a$f;", "", "", "businessName", "country", "<init>", "(Ljava/lang/String;Ljava/lang/String;)V", "", "seen1", "Lgg/B0;", "serializationConstructorMarker", "(ILjava/lang/String;Ljava/lang/String;Lgg/B0;)V", "self", "Lkotlinx/serialization/encoding/d;", "output", "Lkotlinx/serialization/descriptors/SerialDescriptor;", "serialDesc", "", "a", "(LO8/a$f;Lkotlinx/serialization/encoding/d;Lkotlinx/serialization/descriptors/SerialDescriptor;)V", "toString", "()Ljava/lang/String;", "hashCode", "()I", "other", "", "equals", "(Ljava/lang/Object;)Z", "Ljava/lang/String;", "getBusinessName", "getBusinessName$annotations", "()V", "b", "getCountry", "getCountry$annotations", "Companion", "link_release"}, k = 1, mv = {1, 9, 0}, xi = 48)
    @f
    public static final class MerchantInfo {

        public static final Companion INSTANCE = new Companion(null);

        private final String businessName;

        private final String country;

        public static final class C0106a implements G {
            public static final C0106a a;
            private static final PluginGeneratedSerialDescriptor b;

            static {
                C0106a c0106a = new C0106a();
                a = c0106a;
                PluginGeneratedSerialDescriptor pluginGeneratedSerialDescriptor = new PluginGeneratedSerialDescriptor("com.stripe.android.link.serialization.PopupPayload.MerchantInfo", c0106a, 2);
                pluginGeneratedSerialDescriptor.n("businessName", false);
                pluginGeneratedSerialDescriptor.n("country", false);
                b = pluginGeneratedSerialDescriptor;
            }

            private C0106a() {
            }

            @Override
            public MerchantInfo deserialize(Decoder decoder) {
                String str;
                String str2;
                int i;
                Intrinsics.checkNotNullParameter(decoder, "decoder");
                SerialDescriptor descriptor = getDescriptor();
                c c = decoder.c(descriptor);
                B0 b0 = null;
                if (c.z()) {
                    str = c.v(descriptor, 0);
                    str2 = (String) c.o(descriptor, 1, F0.a, null);
                    i = 3;
                } else {
                    boolean z = true;
                    int i2 = 0;
                    str = null;
                    String str3 = null;
                    while (z) {
                        int y = c.y(descriptor);
                        if (y == -1) {
                            z = false;
                        } else if (y == 0) {
                            str = c.v(descriptor, 0);
                            i2 |= 1;
                        } else {
                            if (y != 1) {
                                throw new UnknownFieldException(y);
                            }
                            str3 = (String) c.o(descriptor, 1, F0.a, str3);
                            i2 |= 2;
                        }
                    }
                    str2 = str3;
                    i = i2;
                }
                c.b(descriptor);
                return new MerchantInfo(i, str, str2, b0);
            }

            @Override
            public void serialize(Encoder encoder, MerchantInfo merchantInfo) {
                Intrinsics.checkNotNullParameter(encoder, "encoder");
                Intrinsics.checkNotNullParameter(merchantInfo, "value");
                SerialDescriptor descriptor = getDescriptor();
                d c = encoder.c(descriptor);
                MerchantInfo.a(merchantInfo, c, descriptor);
                c.b(descriptor);
            }

            @Override
            public KSerializer[] childSerializers() {
                F0 f0 = F0.a;
                return new KSerializer[]{f0, eg.a.t(f0)};
            }

            @Override
            public SerialDescriptor getDescriptor() {
                return b;
            }

            @Override
            public KSerializer[] typeParametersSerializers() {
                return G.a.a(this);
            }
        }

        public static final class Companion {
            public Companion(DefaultConstructorMarker defaultConstructorMarker) {
                this();
            }

            public final KSerializer serializer() {
                return C0106a.a;
            }

            private Companion() {
            }
        }

        public MerchantInfo(int i, String str, String str2, B0 b0) {
            if (3 != (i & 3)) {
                AbstractC1670r0.a(i, 3, C0106a.a.getDescriptor());
            }
            this.businessName = str;
            this.country = str2;
        }

        public static final void a(MerchantInfo self, d output, SerialDescriptor serialDesc) {
            output.s(serialDesc, 0, self.businessName);
            output.x(serialDesc, 1, F0.a, self.country);
        }

        public boolean equals(Object other) {
            if (this == other) {
                return true;
            }
            if (!(other instanceof MerchantInfo)) {
                return false;
            }
            MerchantInfo merchantInfo = (MerchantInfo) other;
            return Intrinsics.d(this.businessName, merchantInfo.businessName) && Intrinsics.d(this.country, merchantInfo.country);
        }

        public int hashCode() {
            int hashCode = this.businessName.hashCode() * 31;
            String str = this.country;
            return hashCode + (str == null ? 0 : str.hashCode());
        }

        public String toString() {
            return "MerchantInfo(businessName=" + this.businessName + ", country=" + this.country + ")";
        }

        public MerchantInfo(String str, String str2) {
            Intrinsics.checkNotNullParameter(str, "businessName");
            this.businessName = str;
            this.country = str2;
        }
    }

    @Metadata(d1 = {"\u0000@\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\t\n\u0002\b\u0003\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0007\n\u0002\u0010\u000b\n\u0002\b\r\b\u0087\b\u0018\u0000 &2\u00020\u0001:\u0002\u0013!B\u0017\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\u0006\u0010\u0005\u001a\u00020\u0004¢\u0006\u0004\b\u0006\u0010\u0007B1\b\u0011\u0012\u0006\u0010\t\u001a\u00020\b\u0012\n\b\u0001\u0010\u0003\u001a\u0004\u0018\u00010\u0002\u0012\b\b\u0001\u0010\u0005\u001a\u00020\u0004\u0012\b\u0010\u000b\u001a\u0004\u0018\u00010\n¢\u0006\u0004\b\u0006\u0010\fJ(\u0010\u0013\u001a\u00020\u00122\u0006\u0010\r\u001a\u00020\u00002\u0006\u0010\u000f\u001a\u00020\u000e2\u0006\u0010\u0011\u001a\u00020\u0010HÁ\u0001¢\u0006\u0004\b\u0013\u0010\u0014J\u0010\u0010\u0015\u001a\u00020\u0002HÖ\u0001¢\u0006\u0004\b\u0015\u0010\u0016J\u0010\u0010\u0017\u001a\u00020\bHÖ\u0001¢\u0006\u0004\b\u0017\u0010\u0018J\u001a\u0010\u001b\u001a\u00020\u001a2\b\u0010\u0019\u001a\u0004\u0018\u00010\u0001HÖ\u0003¢\u0006\u0004\b\u001b\u0010\u001cR \u0010\u0003\u001a\u00020\u00028\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u0013\u0010\u001d\u0012\u0004\b\u001f\u0010 \u001a\u0004\b\u001e\u0010\u0016R \u0010\u0005\u001a\u00020\u00048\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b!\u0010\"\u0012\u0004\b%\u0010 \u001a\u0004\b#\u0010$¨\u0006'"}, d2 = {"LO8/a$g;", "", "", "currency", "", "amount", "<init>", "(Ljava/lang/String;J)V", "", "seen1", "Lgg/B0;", "serializationConstructorMarker", "(ILjava/lang/String;JLgg/B0;)V", "self", "Lkotlinx/serialization/encoding/d;", "output", "Lkotlinx/serialization/descriptors/SerialDescriptor;", "serialDesc", "", "a", "(LO8/a$g;Lkotlinx/serialization/encoding/d;Lkotlinx/serialization/descriptors/SerialDescriptor;)V", "toString", "()Ljava/lang/String;", "hashCode", "()I", "other", "", "equals", "(Ljava/lang/Object;)Z", "Ljava/lang/String;", "getCurrency", "getCurrency$annotations", "()V", "b", "J", "getAmount", "()J", "getAmount$annotations", "Companion", "link_release"}, k = 1, mv = {1, 9, 0}, xi = 48)
    @f
    public static final class PaymentInfo {

        public static final Companion INSTANCE = new Companion(null);

        private final String currency;

        private final long amount;

        public static final class C0107a implements G {
            public static final C0107a a;
            private static final PluginGeneratedSerialDescriptor b;

            static {
                C0107a c0107a = new C0107a();
                a = c0107a;
                PluginGeneratedSerialDescriptor pluginGeneratedSerialDescriptor = new PluginGeneratedSerialDescriptor("com.stripe.android.link.serialization.PopupPayload.PaymentInfo", c0107a, 2);
                pluginGeneratedSerialDescriptor.n("currency", false);
                pluginGeneratedSerialDescriptor.n("amount", false);
                b = pluginGeneratedSerialDescriptor;
            }

            private C0107a() {
            }

            @Override
            public PaymentInfo deserialize(Decoder decoder) {
                String str;
                long j;
                int i;
                Intrinsics.checkNotNullParameter(decoder, "decoder");
                SerialDescriptor descriptor = getDescriptor();
                c c = decoder.c(descriptor);
                if (c.z()) {
                    str = c.v(descriptor, 0);
                    j = c.h(descriptor, 1);
                    i = 3;
                } else {
                    String str2 = null;
                    long j2 = 0;
                    boolean z = true;
                    int i2 = 0;
                    while (z) {
                        int y = c.y(descriptor);
                        if (y == -1) {
                            z = false;
                        } else if (y == 0) {
                            str2 = c.v(descriptor, 0);
                            i2 |= 1;
                        } else {
                            if (y != 1) {
                                throw new UnknownFieldException(y);
                            }
                            j2 = c.h(descriptor, 1);
                            i2 |= 2;
                        }
                    }
                    str = str2;
                    j = j2;
                    i = i2;
                }
                c.b(descriptor);
                return new PaymentInfo(i, str, j, null);
            }

            @Override
            public void serialize(Encoder encoder, PaymentInfo paymentInfo) {
                Intrinsics.checkNotNullParameter(encoder, "encoder");
                Intrinsics.checkNotNullParameter(paymentInfo, "value");
                SerialDescriptor descriptor = getDescriptor();
                d c = encoder.c(descriptor);
                PaymentInfo.a(paymentInfo, c, descriptor);
                c.b(descriptor);
            }

            @Override
            public KSerializer[] childSerializers() {
                return new KSerializer[]{F0.a, Z.a};
            }

            @Override
            public SerialDescriptor getDescriptor() {
                return b;
            }

            @Override
            public KSerializer[] typeParametersSerializers() {
                return G.a.a(this);
            }
        }

        public static final class Companion {
            public Companion(DefaultConstructorMarker defaultConstructorMarker) {
                this();
            }

            public final KSerializer serializer() {
                return C0107a.a;
            }

            private Companion() {
            }
        }

        public PaymentInfo(int i, String str, long j, B0 b0) {
            if (3 != (i & 3)) {
                AbstractC1670r0.a(i, 3, C0107a.a.getDescriptor());
            }
            this.currency = str;
            this.amount = j;
        }

        public static final void a(PaymentInfo self, d output, SerialDescriptor serialDesc) {
            output.s(serialDesc, 0, self.currency);
            output.D(serialDesc, 1, self.amount);
        }

        public boolean equals(Object other) {
            if (this == other) {
                return true;
            }
            if (!(other instanceof PaymentInfo)) {
                return false;
            }
            PaymentInfo paymentInfo = (PaymentInfo) other;
            return Intrinsics.d(this.currency, paymentInfo.currency) && this.amount == paymentInfo.amount;
        }

        public int hashCode() {
            return (this.currency.hashCode() * 31) + Long.hashCode(this.amount);
        }

        public String toString() {
            return "PaymentInfo(currency=" + this.currency + ", amount=" + this.amount + ")";
        }

        public PaymentInfo(String str, long j) {
            Intrinsics.checkNotNullParameter(str, "currency");
            this.currency = str;
            this.amount = j;
        }
    }

    static {
        F0 f0 = F0.a;
        r = new KSerializer[]{null, null, null, null, null, null, null, null, null, null, null, new U(f0, C1650h.a), null, null, new U(f0, f0), new U(f0, f0)};
        s = n.b(null, b.d, 1, null);
    }

    public PopupPayload(int i, String str, String str2, MerchantInfo merchantInfo, CustomerInfo customerInfo, PaymentInfo paymentInfo, String str3, String str4, String str5, String str6, String str7, boolean z, Map map, String str8, String str9, Map map2, Map map3, B0 b0) {
        if (4095 != (i & 4095)) {
            AbstractC1670r0.a(i, 4095, C0103a.a.getDescriptor());
        }
        this.publishableKey = str;
        this.stripeAccount = str2;
        this.merchantInfo = merchantInfo;
        this.customerInfo = customerInfo;
        this.paymentInfo = paymentInfo;
        this.appId = str3;
        this.locale = str4;
        this.paymentUserAgent = str5;
        this.paymentObject = str6;
        this.intentMode = str7;
        this.setupFutureUsage = z;
        this.flags = map;
        this.path = (i & 4096) == 0 ? "mobile_pay" : str8;
        this.integrationType = (i & 8192) == 0 ? "mobile" : str9;
        this.loggerMetadata = (i & 16384) == 0 ? P.g(x.a("mobile_session_id", C3043e.g.a().toString())) : map2;
        this.experiments = (i & 32768) == 0 ? P.i() : map3;
    }

    public static final void c(PopupPayload self, d output, SerialDescriptor serialDesc) {
        KSerializer[] kSerializerArr = r;
        output.s(serialDesc, 0, self.publishableKey);
        output.x(serialDesc, 1, F0.a, self.stripeAccount);
        output.q(serialDesc, 2, MerchantInfo.C0106a.a, self.merchantInfo);
        output.q(serialDesc, 3, CustomerInfo.C0105a.a, self.customerInfo);
        output.x(serialDesc, 4, PaymentInfo.C0107a.a, self.paymentInfo);
        output.s(serialDesc, 5, self.appId);
        output.s(serialDesc, 6, self.locale);
        output.s(serialDesc, 7, self.paymentUserAgent);
        output.s(serialDesc, 8, self.paymentObject);
        output.s(serialDesc, 9, self.intentMode);
        output.r(serialDesc, 10, self.setupFutureUsage);
        output.q(serialDesc, 11, kSerializerArr[11], self.flags);
        if (output.w(serialDesc, 12) || !Intrinsics.d(self.path, "mobile_pay")) {
            output.s(serialDesc, 12, self.path);
        }
        if (output.w(serialDesc, 13) || !Intrinsics.d(self.integrationType, "mobile")) {
            output.s(serialDesc, 13, self.integrationType);
        }
        if (output.w(serialDesc, 14) || !Intrinsics.d(self.loggerMetadata, P.g(x.a("mobile_session_id", C3043e.g.a().toString())))) {
            output.q(serialDesc, 14, kSerializerArr[14], self.loggerMetadata);
        }
        if (!output.w(serialDesc, 15) && Intrinsics.d(self.experiments, P.i())) {
            return;
        }
        output.q(serialDesc, 15, kSerializerArr[15], self.experiments);
    }

    public final String b() {
        return "https://checkout.link.com/#" + Base64.encodeToString(StringsKt.v(s.b(INSTANCE.serializer(), this)), 2);
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof PopupPayload)) {
            return false;
        }
        PopupPayload popupPayload = (PopupPayload) other;
        return Intrinsics.d(this.publishableKey, popupPayload.publishableKey) && Intrinsics.d(this.stripeAccount, popupPayload.stripeAccount) && Intrinsics.d(this.merchantInfo, popupPayload.merchantInfo) && Intrinsics.d(this.customerInfo, popupPayload.customerInfo) && Intrinsics.d(this.paymentInfo, popupPayload.paymentInfo) && Intrinsics.d(this.appId, popupPayload.appId) && Intrinsics.d(this.locale, popupPayload.locale) && Intrinsics.d(this.paymentUserAgent, popupPayload.paymentUserAgent) && Intrinsics.d(this.paymentObject, popupPayload.paymentObject) && Intrinsics.d(this.intentMode, popupPayload.intentMode) && this.setupFutureUsage == popupPayload.setupFutureUsage && Intrinsics.d(this.flags, popupPayload.flags);
    }

    public int hashCode() {
        int hashCode = this.publishableKey.hashCode() * 31;
        String str = this.stripeAccount;
        int hashCode2 = (((((hashCode + (str == null ? 0 : str.hashCode())) * 31) + this.merchantInfo.hashCode()) * 31) + this.customerInfo.hashCode()) * 31;
        PaymentInfo paymentInfo = this.paymentInfo;
        return ((((((((((((((hashCode2 + (paymentInfo != null ? paymentInfo.hashCode() : 0)) * 31) + this.appId.hashCode()) * 31) + this.locale.hashCode()) * 31) + this.paymentUserAgent.hashCode()) * 31) + this.paymentObject.hashCode()) * 31) + this.intentMode.hashCode()) * 31) + Boolean.hashCode(this.setupFutureUsage)) * 31) + this.flags.hashCode();
    }

    public String toString() {
        return "PopupPayload(publishableKey=" + this.publishableKey + ", stripeAccount=" + this.stripeAccount + ", merchantInfo=" + this.merchantInfo + ", customerInfo=" + this.customerInfo + ", paymentInfo=" + this.paymentInfo + ", appId=" + this.appId + ", locale=" + this.locale + ", paymentUserAgent=" + this.paymentUserAgent + ", paymentObject=" + this.paymentObject + ", intentMode=" + this.intentMode + ", setupFutureUsage=" + this.setupFutureUsage + ", flags=" + this.flags + ")";
    }

    public PopupPayload(String str, String str2, MerchantInfo merchantInfo, CustomerInfo customerInfo, PaymentInfo paymentInfo, String str3, String str4, String str5, String str6, String str7, boolean z, Map map) {
        Intrinsics.checkNotNullParameter(str, "publishableKey");
        Intrinsics.checkNotNullParameter(merchantInfo, "merchantInfo");
        Intrinsics.checkNotNullParameter(customerInfo, "customerInfo");
        Intrinsics.checkNotNullParameter(str3, "appId");
        Intrinsics.checkNotNullParameter(str4, "locale");
        Intrinsics.checkNotNullParameter(str5, "paymentUserAgent");
        Intrinsics.checkNotNullParameter(str6, "paymentObject");
        Intrinsics.checkNotNullParameter(str7, "intentMode");
        Intrinsics.checkNotNullParameter(map, "flags");
        this.publishableKey = str;
        this.stripeAccount = str2;
        this.merchantInfo = merchantInfo;
        this.customerInfo = customerInfo;
        this.paymentInfo = paymentInfo;
        this.appId = str3;
        this.locale = str4;
        this.paymentUserAgent = str5;
        this.paymentObject = str6;
        this.intentMode = str7;
        this.setupFutureUsage = z;
        this.flags = map;
        this.path = "mobile_pay";
        this.integrationType = "mobile";
        this.loggerMetadata = P.g(x.a("mobile_session_id", C3043e.g.a().toString()));
        this.experiments = P.i();
    }
}