package o; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; /* loaded from: classes.dex */ public final class PRA { static { new wQZ() { // from class: o.PRA.2 @Override // o.wQZ public final /* bridge */ /* synthetic */ long[] e() { return new long[]{0, 0}; } }; new wQZ() { // from class: o.PRA.5 @Override // o.wQZ public final /* bridge */ /* synthetic */ double[] e() { return new double[]{0.0d, 0.0d}; } }; } /* JADX INFO: Add missing generic type declarations: [R, T] */ /* renamed from: o.PRA$1, reason: invalid class name */ /* loaded from: classes.dex */ public static final class AnonymousClass1 implements lRr { @Override // o.lRr public final /* synthetic */ void c(Object obj, Object obj2) { ((Collection) obj).add(obj2); } } /* JADX INFO: Add missing generic type declarations: [T] */ /* renamed from: o.PRA$8, reason: invalid class name */ /* loaded from: classes.dex */ public static final class AnonymousClass8 implements lRr, T> { @Override // o.lRr public final /* synthetic */ void c(Object obj, Object obj2) { ((List) obj).add(obj2); } } /* JADX INFO: Add missing generic type declarations: [T] */ /* renamed from: o.PRA$6, reason: invalid class name */ /* loaded from: classes.dex */ public static final class AnonymousClass6 implements lRr, T> { @Override // o.lRr public final /* synthetic */ void c(Object obj, Object obj2) { ((Set) obj).add(obj2); } } /* JADX INFO: Add missing generic type declarations: [T, M] */ /* renamed from: o.PRA$3, reason: invalid class name */ /* loaded from: classes.dex */ public static final class AnonymousClass3 implements lRr { private InterfaceC1244Ytw d; private InterfaceC1244Ytw e; public AnonymousClass3(InterfaceC1244Ytw interfaceC1244Ytw, InterfaceC1244Ytw interfaceC1244Ytw2) { this.e = interfaceC1244Ytw; this.d = interfaceC1244Ytw2; } @Override // o.lRr public final /* synthetic */ void c(Object obj, Object obj2) { Map map = (Map) obj; Object d = this.e.d(obj2); Object d2 = this.d.d(obj2); Object put = map.put(d, d2); if (put == null) { return; } map.put(d, put); throw new IllegalStateException(String.format("Duplicate key %s (attempted merging values %s and %s)", d, put, d2)); } } /* JADX INFO: Add missing generic type declarations: [T] */ /* renamed from: o.PRA$4, reason: invalid class name */ /* loaded from: classes.dex */ public static final class AnonymousClass4 implements wQZ> { @Override // o.wQZ public final /* synthetic */ Object e() { return new ArrayList(); } } /* loaded from: classes.dex */ public static final class Sts implements InterfaceC12534ezy { private final lRr a; private final wQZ d; private final InterfaceC1244Ytw e; public Sts(wQZ wqz, lRr lrr) { this(wqz, lrr, (byte) 0); } private Sts(wQZ wqz, lRr lrr, byte b) { this.d = wqz; this.a = lrr; this.e = null; } @Override // o.InterfaceC12534ezy public final wQZ c() { return this.d; } @Override // o.InterfaceC12534ezy public final InterfaceC1244Ytw d() { return this.e; } @Override // o.InterfaceC12534ezy public final lRr e() { return this.a; } } /* JADX INFO: Add missing generic type declarations: [T] */ /* renamed from: o.PRA$9, reason: invalid class name */ /* loaded from: classes.dex */ public static final class AnonymousClass9 implements wQZ> { @Override // o.wQZ public final /* synthetic */ Object e() { return new HashSet(); } } public static InterfaceC12534ezy> d(InterfaceC1244Ytw interfaceC1244Ytw) { return new Sts(new AnonymousClass10(), new AnonymousClass3(interfaceC1244Ytw, new Upr() { // from class: o.Upr.IeS.2 @Override // o.InterfaceC1244Ytw public final T d(T t) { return t; } })); } /* JADX INFO: Add missing generic type declarations: [V, K] */ /* renamed from: o.PRA$10, reason: invalid class name */ /* loaded from: classes.dex */ public static final class AnonymousClass10 implements wQZ> { @Override // o.wQZ public final /* synthetic */ Object e() { return new HashMap(); } } }