package o; import android.content.Context; import android.os.Bundle; import android.view.View; import androidx.fragment.app.Fragment; import java.util.Iterator; import java.util.concurrent.CopyOnWriteArrayList; import o.yRS; /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.bsG, reason: case insensitive filesystem */ /* loaded from: classes.dex */ public final class C5393bsG { private final yRS b; final CopyOnWriteArrayList e = new CopyOnWriteArrayList<>(); /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.bsG$RVV */ /* loaded from: classes.dex */ public static final class RVV { final yRS.LWm a; final boolean b = false; /* JADX INFO: Access modifiers changed from: package-private */ public RVV(yRS.LWm lWm) { this.a = lWm; } } /* JADX INFO: Access modifiers changed from: package-private */ public C5393bsG(yRS yrs) { this.b = yrs; } /* JADX INFO: Access modifiers changed from: package-private */ public final void d(Fragment fragment, boolean z) { Context context = this.b.q().c; Fragment x = this.b.x(); if (x != null) { x.getParentFragmentManager().u().d(fragment, true); } Iterator it = this.e.iterator(); while (it.hasNext()) { RVV next = it.next(); if (!z || next.b) { yRS.LWm lWm = next.a; } } } /* JADX INFO: Access modifiers changed from: package-private */ public final void c(Fragment fragment, boolean z) { Context context = this.b.q().c; Fragment x = this.b.x(); if (x != null) { x.getParentFragmentManager().u().c(fragment, true); } Iterator it = this.e.iterator(); while (it.hasNext()) { RVV next = it.next(); if (!z || next.b) { yRS.LWm lWm = next.a; } } } /* JADX INFO: Access modifiers changed from: package-private */ public final void yt_(Fragment fragment, Bundle bundle, boolean z) { Fragment x = this.b.x(); if (x != null) { x.getParentFragmentManager().u().yt_(fragment, bundle, true); } Iterator it = this.e.iterator(); while (it.hasNext()) { RVV next = it.next(); if (!z || next.b) { yRS.LWm lWm = next.a; } } } /* JADX INFO: Access modifiers changed from: package-private */ public final void ys_(Fragment fragment, Bundle bundle, boolean z) { Fragment x = this.b.x(); if (x != null) { x.getParentFragmentManager().u().ys_(fragment, bundle, true); } Iterator it = this.e.iterator(); while (it.hasNext()) { RVV next = it.next(); if (!z || next.b) { yRS.LWm lWm = next.a; } } } /* JADX INFO: Access modifiers changed from: package-private */ public final void yr_(Fragment fragment, Bundle bundle, boolean z) { Fragment x = this.b.x(); if (x != null) { x.getParentFragmentManager().u().yr_(fragment, bundle, true); } Iterator it = this.e.iterator(); while (it.hasNext()) { RVV next = it.next(); if (!z || next.b) { yRS.LWm lWm = next.a; } } } /* JADX INFO: Access modifiers changed from: package-private */ public final void yv_(Fragment fragment, View view, Bundle bundle, boolean z) { Fragment x = this.b.x(); if (x != null) { x.getParentFragmentManager().u().yv_(fragment, view, bundle, true); } Iterator it = this.e.iterator(); while (it.hasNext()) { RVV next = it.next(); if (!z || next.b) { next.a.e(this.b, fragment, view); } } } /* JADX INFO: Access modifiers changed from: package-private */ public final void j(Fragment fragment, boolean z) { Fragment x = this.b.x(); if (x != null) { x.getParentFragmentManager().u().j(fragment, true); } Iterator it = this.e.iterator(); while (it.hasNext()) { RVV next = it.next(); if (!z || next.b) { yRS.LWm lWm = next.a; } } } /* JADX INFO: Access modifiers changed from: package-private */ public final void i(Fragment fragment, boolean z) { Fragment x = this.b.x(); if (x != null) { x.getParentFragmentManager().u().i(fragment, true); } Iterator it = this.e.iterator(); while (it.hasNext()) { RVV next = it.next(); if (!z || next.b) { yRS.LWm lWm = next.a; } } } /* JADX INFO: Access modifiers changed from: package-private */ public final void e(Fragment fragment, boolean z) { Fragment x = this.b.x(); if (x != null) { x.getParentFragmentManager().u().e(fragment, true); } Iterator it = this.e.iterator(); while (it.hasNext()) { RVV next = it.next(); if (!z || next.b) { yRS.LWm lWm = next.a; } } } /* JADX INFO: Access modifiers changed from: package-private */ public final void g(Fragment fragment, boolean z) { Fragment x = this.b.x(); if (x != null) { x.getParentFragmentManager().u().g(fragment, true); } Iterator it = this.e.iterator(); while (it.hasNext()) { RVV next = it.next(); if (!z || next.b) { yRS.LWm lWm = next.a; } } } /* JADX INFO: Access modifiers changed from: package-private */ public final void yu_(Fragment fragment, Bundle bundle, boolean z) { Fragment x = this.b.x(); if (x != null) { x.getParentFragmentManager().u().yu_(fragment, bundle, true); } Iterator it = this.e.iterator(); while (it.hasNext()) { RVV next = it.next(); if (!z || next.b) { yRS.LWm lWm = next.a; } } } /* JADX INFO: Access modifiers changed from: package-private */ public final void h(Fragment fragment, boolean z) { Fragment x = this.b.x(); if (x != null) { x.getParentFragmentManager().u().h(fragment, true); } Iterator it = this.e.iterator(); while (it.hasNext()) { RVV next = it.next(); if (!z || next.b) { yRS.LWm lWm = next.a; } } } /* JADX INFO: Access modifiers changed from: package-private */ public final void b(Fragment fragment, boolean z) { Fragment x = this.b.x(); if (x != null) { x.getParentFragmentManager().u().b(fragment, true); } Iterator it = this.e.iterator(); while (it.hasNext()) { RVV next = it.next(); if (!z || next.b) { yRS.LWm lWm = next.a; } } } /* JADX INFO: Access modifiers changed from: package-private */ public final void a(Fragment fragment, boolean z) { Fragment x = this.b.x(); if (x != null) { x.getParentFragmentManager().u().a(fragment, true); } Iterator it = this.e.iterator(); while (it.hasNext()) { RVV next = it.next(); if (!z || next.b) { yRS.LWm lWm = next.a; } } } }