Kufar v3.2.0版本的 MD5 值为:6a4d203db1c561c7e3bcd50d23fed59f

以下内容为反编译后的 e.java 源代码,内容仅作参考


package av;

import a90.r;
import d80.q;
import java.util.List;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.internal.s;
import kotlin.ranges.IntRange;
import kotlinx.coroutines.g1;
import kotlinx.coroutines.p2;
import kotlinx.coroutines.q0;

@l80.f(c = "com.cappasity.common.repository.ModelRepositoryImpl$getByLink$1", f = "ModelRepository.kt", l = {77, 82, 84, 86}, m = "invokeSuspend")
public final class e extends l80.l implements Function2<q0, j80.d<? super Unit>, Object> {

    public int f1348b;

    public final f f1349c;

    public final String f1350d;

    public final Function1 f1351e;

    public final Function1 f1352f;

    public e(f fVar, String str, Function1 function1, Function1 function12, j80.d dVar) {
        super(2, dVar);
        this.f1349c = fVar;
        this.f1350d = str;
        this.f1351e = function1;
        this.f1352f = function12;
    }

    @Override
    public final j80.d<Unit> create(Object obj, j80.d<?> completion) {
        s.j(completion, "completion");
        return new e(this.f1349c, this.f1350d, this.f1351e, this.f1352f, completion);
    }

    @Override
    public final Object mo1invoke(q0 q0Var, j80.d<? super Unit> dVar) {
        return ((e) create(q0Var, dVar)).invokeSuspend(Unit.f82492a);
    }

    @Override
    public final Object invokeSuspend(Object obj) {
        fv.a aVar;
        Object a11;
        Object f11 = k80.c.f();
        int i11 = this.f1348b;
        try {
        } catch (wu.c e11) {
            p2 c11 = g1.c();
            d dVar = new d(e11, null, this);
            this.f1348b = 3;
            if (kotlinx.coroutines.j.g(c11, dVar, this) == f11) {
                return f11;
            }
        }
        if (i11 != 0) {
            if (i11 != 1) {
                if (i11 != 2) {
                    if (i11 != 3 && i11 != 4) {
                        throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                    }
                    q.b(obj);
                } else {
                    q.b(obj);
                }
                return Unit.f82492a;
            }
            q.b(obj);
            a11 = obj;
        } else {
            q.b(obj);
            String url = this.f1350d;
            s.j(url, "url");
            if (r.Q(url, "https://3d.cappasity.com/u/", false, 2, null)) {
                List K0 = a90.s.K0(a90.s.T0(url, new IntRange(27, url.length() - 1)), new String[]{"/"}, false, 0, 6, null);
                if (K0.size() == 2) {
                    aVar = new fv.a((String) K0.get(0), (String) K0.get(1));
                    if (aVar == null) {
                        ev.d dVar2 = this.f1349c.f1355c;
                        ev.c cVar = new ev.c(aVar.f76511a, aVar.f76512b);
                        this.f1348b = 1;
                        dVar2.getClass();
                        a11 = ev.g.a(dVar2, cVar, this);
                        if (a11 == f11) {
                            return f11;
                        }
                    } else {
                        p2 c12 = g1.c();
                        b bVar = new b(this, null);
                        this.f1348b = 4;
                        if (kotlinx.coroutines.j.g(c12, bVar, this) == f11) {
                            return f11;
                        }
                        return Unit.f82492a;
                    }
                }
            }
            aVar = null;
            if (aVar == null) {
            }
        }
        p2 c13 = g1.c();
        c cVar2 = new c((com.cappasity.obfuscated.a.c) a11, null, this);
        this.f1348b = 2;
        if (kotlinx.coroutines.j.g(c13, cVar2, this) == f11) {
            return f11;
        }
        return Unit.f82492a;
    }
}