Picsart v24.6版本的 MD5 值为:21a61631d94e54da68d2ad9268b8b9d9
以下内容为反编译后的 i.java 源代码,内容仅作参考
package com.picsart.pinterest;
import androidx.recyclerview.widget.RecyclerView;
import com.picsart.pinterest.PinterestActions;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.coroutines.intrinsics.CoroutineSingletons;
import kotlin.coroutines.jvm.internal.ContinuationImpl;
import kotlin.jvm.internal.Intrinsics;
import kotlinx.coroutines.flow.StateFlowImpl;
import org.jetbrains.annotations.NotNull;
public final class i implements myobfuscated.yd1.c<myobfuscated.rd1.a, ShareToPinterestFragmentState> {
@NotNull
public final myobfuscated.y81.a a;
public i(@NotNull myobfuscated.y81.a authDataProvider) {
Intrinsics.checkNotNullParameter(authDataProvider, "authDataProvider");
this.a = authDataProvider;
}
@Override
@NotNull
public final myobfuscated.sn2.e a(@NotNull final kotlinx.coroutines.flow.f actions, @NotNull StateFlowImpl state) {
Intrinsics.checkNotNullParameter(actions, "actions");
Intrinsics.checkNotNullParameter(state, "state");
final ?? r3 = new myobfuscated.sn2.e<Object>() {
public static final class AnonymousClass2<T> implements myobfuscated.sn2.f {
public final myobfuscated.sn2.f a;
@Metadata(k = 3, mv = {1, 9, 0}, xi = 48)
@myobfuscated.ok2.d(c = "com.picsart.pinterest.PinterestAuthFlowUseCase$bind$$inlined$filterIsInstance$1$2", f = "PinterestAuthFlowUseCase.kt", l = {224}, m = "emit")
public static final class AnonymousClass1 extends ContinuationImpl {
Object L$0;
Object L$1;
int label;
Object result;
public AnonymousClass1(myobfuscated.mk2.c cVar) {
super(cVar);
}
@Override
public final Object invokeSuspend(@NotNull Object obj) {
this.result = obj;
this.label |= RecyclerView.UNDEFINED_DURATION;
return AnonymousClass2.this.emit(null, this);
}
}
public AnonymousClass2(myobfuscated.sn2.f fVar) {
this.a = fVar;
}
@Override
public final Object emit(Object obj, @NotNull myobfuscated.mk2.c cVar) {
AnonymousClass1 anonymousClass1;
int i;
if (cVar instanceof AnonymousClass1) {
anonymousClass1 = (AnonymousClass1) cVar;
int i2 = anonymousClass1.label;
if ((i2 & RecyclerView.UNDEFINED_DURATION) != 0) {
anonymousClass1.label = i2 - RecyclerView.UNDEFINED_DURATION;
Object obj2 = anonymousClass1.result;
CoroutineSingletons coroutineSingletons = CoroutineSingletons.COROUTINE_SUSPENDED;
i = anonymousClass1.label;
if (i != 0) {
myobfuscated.ik2.i.b(obj2);
if (obj instanceof PinterestActions.d) {
anonymousClass1.label = 1;
if (this.a.emit(obj, anonymousClass1) == coroutineSingletons) {
return coroutineSingletons;
}
}
} else if (i != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
} else {
myobfuscated.ik2.i.b(obj2);
}
return Unit.a;
}
}
anonymousClass1 = new AnonymousClass1(cVar);
Object obj22 = anonymousClass1.result;
CoroutineSingletons coroutineSingletons2 = CoroutineSingletons.COROUTINE_SUSPENDED;
i = anonymousClass1.label;
if (i != 0) {
}
return Unit.a;
}
}
@Override
public final Object b(@NotNull myobfuscated.sn2.f<? super Object> fVar, @NotNull myobfuscated.mk2.c cVar) {
Object b = actions.b(new AnonymousClass2(fVar), cVar);
return b == CoroutineSingletons.COROUTINE_SUSPENDED ? b : Unit.a;
}
};
return new myobfuscated.sn2.e<PinterestActions.o>() {
public static final class AnonymousClass2<T> implements myobfuscated.sn2.f {
public final myobfuscated.sn2.f a;
public final i b;
@Metadata(k = 3, mv = {1, 9, 0}, xi = 48)
@myobfuscated.ok2.d(c = "com.picsart.pinterest.PinterestAuthFlowUseCase$bind$$inlined$map$1$2", f = "PinterestAuthFlowUseCase.kt", l = {223}, m = "emit")
public static final class AnonymousClass1 extends ContinuationImpl {
Object L$0;
int label;
Object result;
public AnonymousClass1(myobfuscated.mk2.c cVar) {
super(cVar);
}
@Override
public final Object invokeSuspend(@NotNull Object obj) {
this.result = obj;
this.label |= RecyclerView.UNDEFINED_DURATION;
return AnonymousClass2.this.emit(null, this);
}
}
public AnonymousClass2(myobfuscated.sn2.f fVar, i iVar) {
this.a = fVar;
this.b = iVar;
}
@Override
public final Object emit(Object obj, @NotNull myobfuscated.mk2.c cVar) {
AnonymousClass1 anonymousClass1;
int i;
if (cVar instanceof AnonymousClass1) {
anonymousClass1 = (AnonymousClass1) cVar;
int i2 = anonymousClass1.label;
if ((i2 & RecyclerView.UNDEFINED_DURATION) != 0) {
anonymousClass1.label = i2 - RecyclerView.UNDEFINED_DURATION;
Object obj2 = anonymousClass1.result;
CoroutineSingletons coroutineSingletons = CoroutineSingletons.COROUTINE_SUSPENDED;
i = anonymousClass1.label;
if (i != 0) {
myobfuscated.ik2.i.b(obj2);
PinterestActions.d dVar = (PinterestActions.d) obj;
i iVar = this.b;
String d = iVar.a.d();
iVar.a.a();
PinterestActions.o oVar = new PinterestActions.o(d, "https://api.picsart.com/hooks/pinterest_oauth");
anonymousClass1.label = 1;
if (this.a.emit(oVar, anonymousClass1) == coroutineSingletons) {
return coroutineSingletons;
}
} else if (i != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
} else {
myobfuscated.ik2.i.b(obj2);
}
return Unit.a;
}
}
anonymousClass1 = new AnonymousClass1(cVar);
Object obj22 = anonymousClass1.result;
CoroutineSingletons coroutineSingletons2 = CoroutineSingletons.COROUTINE_SUSPENDED;
i = anonymousClass1.label;
if (i != 0) {
}
return Unit.a;
}
}
@Override
public final Object b(@NotNull myobfuscated.sn2.f<? super PinterestActions.o> fVar, @NotNull myobfuscated.mk2.c cVar) {
Object b = r3.b(new AnonymousClass2(fVar, this), cVar);
return b == CoroutineSingletons.COROUTINE_SUSPENDED ? b : Unit.a;
}
};
}
}