导航菜单

页面标题

页面副标题

klikUMKM v2.0.1 - j.java 源代码

正在查看: klikUMKM v2.0.1 应用的 j.java JAVA 源代码文件

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


package com.yx.credit.indonesia.ui.withdraw;

import androidx.lifecycle.i0;
import com.yx.credit.base.entity.NetResponse;
import java.util.Map;
import kotlin.Pair;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.internal.Ref;
import kotlinx.coroutines.b0;
import kotlinx.coroutines.f0;
import kotlinx.coroutines.q0;
import pb.r;
import qb.p0;

public final class j extends ub.i implements Function2 {
    final Function1<Object, Unit> $function;
    final String $verifyCode;
    Object L$0;
    int label;
    final o this$0;

    public static final class a extends ub.i implements Function2 {
        final Ref.ObjectRef<NetResponse<Object>> $response;
        final String $verifyCode;
        Object L$0;
        int label;

        public a(Ref.ObjectRef<NetResponse<Object>> objectRef, String str, tb.a aVar) {
            super(2, aVar);
            this.$response = objectRef;
            this.$verifyCode = str;
        }

        @Override
        public final tb.a create(Object obj, tb.a aVar) {
            return new a(this.$response, this.$verifyCode, aVar);
        }

        @Override
        public final Object invokeSuspend(Object obj) {
            Ref.ObjectRef<NetResponse<Object>> objectRef;
            T t9;
            kotlin.coroutines.intrinsics.a aVar = kotlin.coroutines.intrinsics.a.COROUTINE_SUSPENDED;
            int i10 = this.label;
            if (i10 == 0) {
                r.b(obj);
                Ref.ObjectRef<NetResponse<Object>> objectRef2 = this.$response;
                com.yx.credit.base.net.g gVar = com.yx.credit.base.net.g.a;
                Map b3 = p0.b(new Pair("kode", this.$verifyCode));
                this.L$0 = objectRef2;
                this.label = 1;
                Object a = gVar.a("https://api.klikumkm.co.id/api/indo/apply/submit/confirm", b3, Object.class, true, this);
                if (a == aVar) {
                    return aVar;
                }
                objectRef = objectRef2;
                t9 = a;
            } else {
                if (i10 != 1) {
                    throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                }
                objectRef = (Ref.ObjectRef) this.L$0;
                r.b(obj);
                t9 = obj;
            }
            objectRef.element = t9;
            return Unit.a;
        }

        @Override
        public final Object invoke(b0 b0Var, tb.a aVar) {
            return ((a) create(b0Var, aVar)).invokeSuspend(Unit.a);
        }
    }

    public j(o oVar, String str, Function1<Object, Unit> function1, tb.a aVar) {
        super(2, aVar);
        this.this$0 = oVar;
        this.$verifyCode = str;
        this.$function = function1;
    }

    @Override
    public final tb.a create(Object obj, tb.a aVar) {
        return new j(this.this$0, this.$verifyCode, this.$function, aVar);
    }

    @Override
    public final Object invokeSuspend(Object obj) {
        Ref.ObjectRef objectRef;
        kotlin.coroutines.intrinsics.a aVar = kotlin.coroutines.intrinsics.a.COROUTINE_SUSPENDED;
        int i10 = this.label;
        if (i10 == 0) {
            r.b(obj);
            Ref.ObjectRef objectRef2 = new Ref.ObjectRef();
            mc.e eVar = q0.f9859c;
            a aVar2 = new a(objectRef2, this.$verifyCode, null);
            this.L$0 = objectRef2;
            this.label = 1;
            if (f0.t(eVar, aVar2, this) == aVar) {
                return aVar;
            }
            objectRef = objectRef2;
        } else {
            if (i10 != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            objectRef = (Ref.ObjectRef) this.L$0;
            r.b(obj);
        }
        if (((NetResponse) objectRef.element).isSuccess()) {
            Object data = ((NetResponse) objectRef.element).getData();
            if (data != null) {
                this.$function.invoke(data);
            }
        } else {
            i0 i0Var = this.this$0.f7626b;
            if (i0Var != null) {
                i0Var.postValue(Boolean.FALSE);
            }
        }
        return Unit.a;
    }

    @Override
    public final Object invoke(b0 b0Var, tb.a aVar) {
        return ((j) create(b0Var, aVar)).invokeSuspend(Unit.a);
    }
}