package o; import java.util.ArrayList; import java.util.List; /* loaded from: classes3.dex */ public final class sDg extends wRi { public final Jzm c; @InterfaceC13391fZD public sDg(yRw yrw, yRw yrw2, Jzm jzm) { super(yrw, yrw2); this.c = jzm; } public final AbstractC13163fSk e(final String str, String str2) { List e = this.c.e(str); if (e == null) { Jzm jzm = this.c; YUT d = YUT.d(); d.b = str; d.c = 1; d.d = str2; AbstractC13163fSk e2 = jzm.e(d); Jzm jzm2 = this.c; YUT d2 = YUT.d(); d2.b = str; d2.c = 2; d2.d = str2; AbstractC13163fSk e3 = jzm2.e(d2); Jzm jzm3 = this.c; YUT d3 = YUT.d(); d3.b = str; d3.c = 3; d3.d = str2; AbstractC13163fSk e4 = jzm3.e(d3); Jzm jzm4 = this.c; YUT d4 = YUT.d(); d4.b = str; d4.c = 4; d4.d = str2; return e(AbstractC13163fSk.zip(e2, e3, e4, jzm4.e(d4), new fST(this, str) { // from class: o.oFW private String b; private sDg c; @Override // o.fST public final Object b(Object obj, Object obj2, Object obj3, Object obj4) { sDg sdg = this.c; String str3 = this.b; jDq jdq = (jDq) obj; jDq jdq2 = (jDq) obj2; jDq jdq3 = (jDq) obj3; jDq jdq4 = (jDq) obj4; ArrayList arrayList = new ArrayList(); if (jdq != null && jdq.h != null) { arrayList.add(jdq); } if (jdq2 != null && jdq2.h != null) { arrayList.add(jdq2); } if (jdq3 != null && jdq3.h != null) { arrayList.add(jdq3); } if (jdq4 != null && jdq4.h != null) { arrayList.add(jdq4); } if (!arrayList.isEmpty()) { sdg.c.e(str3, arrayList); } return arrayList; } { this.c = this; this.b = str; } }).take(4L)); } return e(AbstractC13163fSk.just(e)); } }