what-the-bank/sources/o/C15590guq.java

103 lines
4.4 KiB
Java

package o;
import androidx.fragment.app.FragmentActivity;
import androidx.lifecycle.LiveData;
import java.lang.ref.WeakReference;
import java.util.Arrays;
import java.util.Iterator;
import java.util.Map;
import o.C15583guj;
import o.C15589gup;
/* renamed from: o.guq, reason: case insensitive filesystem */
/* loaded from: classes6.dex */
public final class C15590guq implements InterfaceC15588guo {
final FragmentActivity a;
final AbstractC15586gum b;
final String[] c;
private final InterfaceC14894gbR<InterfaceC15577gud, C14866gag> d;
private final InterfaceC14890gbN<C14866gag> e;
private final InterfaceC14890gbN<C14866gag> g;
private final C15589gup h;
private final InterfaceC14890gbN<C14866gag> i;
/* JADX WARN: Multi-variable type inference failed */
public C15590guq(String[] strArr, FragmentActivity fragmentActivity, InterfaceC14894gbR<? super InterfaceC15577gud, C14866gag> interfaceC14894gbR, InterfaceC14890gbN<C14866gag> interfaceC14890gbN, InterfaceC14890gbN<C14866gag> interfaceC14890gbN2, InterfaceC14890gbN<C14866gag> interfaceC14890gbN3, AbstractC15586gum abstractC15586gum) {
HeN b;
C14957gcv.e(strArr, "");
C14957gcv.e(fragmentActivity, "");
C14957gcv.e(interfaceC14890gbN2, "");
C14957gcv.e(abstractC15586gum, "");
this.c = strArr;
this.a = fragmentActivity;
this.d = interfaceC14894gbR;
this.e = interfaceC14890gbN;
this.i = interfaceC14890gbN2;
this.b = abstractC15586gum;
VKL b2 = new VLM(fragmentActivity).b(C15589gup.class);
C14957gcv.c(b2, "");
C15589gup c15589gup = (C15589gup) b2;
this.h = c15589gup;
this.g = new RVV(this);
String arrays = Arrays.toString(C14875gap.a(strArr));
C14957gcv.c((Object) arrays, "");
WeakReference weakReference = new WeakReference(interfaceC14890gbN2);
WeakReference weakReference2 = new WeakReference(interfaceC14890gbN);
WeakReference weakReference3 = new WeakReference(interfaceC14890gbN3);
b = c15589gup.b();
b.d(fragmentActivity, new C15589gup.LWm(arrays, weakReference, weakReference2, weakReference3));
}
/* renamed from: o.guq$RVV */
/* loaded from: classes6.dex */
static final class RVV extends AbstractC14961gcz implements InterfaceC14890gbN<C14866gag> {
private C15590guq b;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C14866gag invoke() {
AbstractC13482fbE a = this.b.a.getSupportFragmentManager().a();
a.b(android.R.id.content, this.b.b.a(this.b.c), null, 2);
a.a();
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
RVV(C15590guq c15590guq) {
super(0);
this.b = c15590guq;
}
}
@Override // o.InterfaceC15588guo
public final void e() {
InterfaceC14894gbR<InterfaceC15577gud, C14866gag> interfaceC14894gbR;
if (this.b.e(this.a, this.c)) {
C15589gup c15589gup = this.h;
FragmentActivity fragmentActivity = this.a;
C14957gcv.e(fragmentActivity, "");
HeN<Map<String, C15585gul<gur>>> b = c15589gup.b();
LiveData.e("removeObservers");
Iterator<Map.Entry<zBc<? super Map<String, C15585gul<gur>>>, LiveData<Map<String, C15585gul<gur>>>.Sts>> it = b.b.iterator();
while (it.hasNext()) {
Map.Entry<zBc<? super Map<String, C15585gul<gur>>>, LiveData<Map<String, C15585gul<gur>>>.Sts> next = it.next();
if (next.getValue().e(fragmentActivity)) {
b.c(next.getKey());
}
}
this.i.invoke();
return;
}
FragmentActivity fragmentActivity2 = this.a;
String[] strArr = this.c;
if (C15581guh.aDf_(fragmentActivity2, (String[]) Arrays.copyOf(strArr, strArr.length)) && (interfaceC14894gbR = this.d) != null) {
C15583guj.Sts sts = C15583guj.c;
InterfaceC14890gbN<C14866gag> interfaceC14890gbN = this.e;
InterfaceC14890gbN<C14866gag> interfaceC14890gbN2 = this.g;
C14957gcv.e(interfaceC14890gbN2, "");
interfaceC14894gbR.invoke(new C15583guj(new WeakReference(interfaceC14890gbN2), interfaceC14890gbN == null ? null : new WeakReference(interfaceC14890gbN)));
return;
}
this.g.invoke();
}
}