package A5;

import androidx.lifecycle.InterfaceC0505j;
import androidx.lifecycle.Y;
import androidx.lifecycle.a0;
import com.martsnew.tv.ui.continuewatch.TvContinueWatchFragment;
import com.martsnew.tv.ui.episodelist.TvEpisodeListFragment;
import com.martsnew.tv.ui.forgot_password.TvForgotPasswordFragment;
import com.martsnew.tv.ui.genres.TvGenresFragment;
import com.martsnew.tv.ui.history.TvHistoryFragment;
import com.martsnew.tv.ui.login.code.TvCodeLoginFragment;
import com.martsnew.tv.ui.login.email.TvLoginFragment;
import com.martsnew.tv.ui.main.TvMainFragment;
import com.martsnew.tv.ui.movie_detail.TvMovieDetailFragment;
import com.martsnew.tv.ui.movie_list.TvMovieListFragment;
import com.martsnew.tv.ui.movies.TvMoviesFragment;
import com.martsnew.tv.ui.myboard.TvMyBoardFragment;
import com.martsnew.tv.ui.mylist.TvMyListFragment;
import com.martsnew.tv.ui.profile.TvProfileFragment;
import com.martsnew.tv.ui.register.TvRegisterFragment;
import com.martsnew.tv.ui.search.TvSearchFragment;
import com.martsnew.tv.ui.settings.TvSettingsFragment;
import com.martsnew.tv.ui.splash.TvSplashFragment;
import com.martsnew.tv.ui.tvseries.TvSeriesFragment;
import com.martsnew.tv.ui.update.TVUpdateFragment;
import com.martsnew.tv.ui.welcome.TvWelcomeFragment;
import h0.ComponentCallbacksC1023x;
import n4.u0;

/* JADX INFO: loaded from: classes.dex */
public final class h extends P6.h implements O6.a {

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    public final /* synthetic */ int f431r;

    /* JADX INFO: renamed from: s, reason: collision with root package name */
    public final /* synthetic */ Object f432s;

    /* JADX INFO: renamed from: t, reason: collision with root package name */
    public final /* synthetic */ ComponentCallbacksC1023x f433t;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ h(ComponentCallbacksC1023x componentCallbacksC1023x, A6.e eVar, int i) {
        super(0);
        this.f431r = i;
        this.f433t = componentCallbacksC1023x;
        this.f432s = eVar;
    }

    /* JADX WARN: Type inference failed for: r0v1, types: [A6.e, java.lang.Object] */
    /* JADX WARN: Type inference failed for: r0v101, types: [A6.e, java.lang.Object] */
    /* JADX WARN: Type inference failed for: r0v11, types: [A6.e, java.lang.Object] */
    /* JADX WARN: Type inference failed for: r0v111, types: [A6.e, java.lang.Object] */
    /* JADX WARN: Type inference failed for: r0v121, types: [A6.e, java.lang.Object] */
    /* JADX WARN: Type inference failed for: r0v131, types: [A6.e, java.lang.Object] */
    /* JADX WARN: Type inference failed for: r0v141, types: [A6.e, java.lang.Object] */
    /* JADX WARN: Type inference failed for: r0v151, types: [A6.e, java.lang.Object] */
    /* JADX WARN: Type inference failed for: r0v161, types: [A6.e, java.lang.Object] */
    /* JADX WARN: Type inference failed for: r0v171, types: [A6.e, java.lang.Object] */
    /* JADX WARN: Type inference failed for: r0v181, types: [A6.e, java.lang.Object] */
    /* JADX WARN: Type inference failed for: r0v191, types: [A6.e, java.lang.Object] */
    /* JADX WARN: Type inference failed for: r0v201, types: [A6.e, java.lang.Object] */
    /* JADX WARN: Type inference failed for: r0v21, types: [A6.e, java.lang.Object] */
    /* JADX WARN: Type inference failed for: r0v211, types: [A6.e, java.lang.Object] */
    /* JADX WARN: Type inference failed for: r0v221, types: [A6.e, java.lang.Object] */
    /* JADX WARN: Type inference failed for: r0v231, types: [A6.e, java.lang.Object] */
    /* JADX WARN: Type inference failed for: r0v241, types: [A6.e, java.lang.Object] */
    /* JADX WARN: Type inference failed for: r0v31, types: [A6.e, java.lang.Object] */
    /* JADX WARN: Type inference failed for: r0v41, types: [A6.e, java.lang.Object] */
    /* JADX WARN: Type inference failed for: r0v51, types: [A6.e, java.lang.Object] */
    /* JADX WARN: Type inference failed for: r0v61, types: [A6.e, java.lang.Object] */
    /* JADX WARN: Type inference failed for: r0v71, types: [A6.e, java.lang.Object] */
    /* JADX WARN: Type inference failed for: r0v81, types: [A6.e, java.lang.Object] */
    /* JADX WARN: Type inference failed for: r0v91, types: [A6.e, java.lang.Object] */
    @Override // O6.a
    public final Object a() {
        Y yH;
        Y yH2;
        Y yH3;
        Y yH4;
        Y yH5;
        Y yH6;
        Y yH7;
        Y yH8;
        Y yH9;
        Y yH10;
        Y yH11;
        Y yH12;
        Y yH13;
        Y yH14;
        Y yH15;
        Y yH16;
        Y yH17;
        Y yH18;
        Y yH19;
        Y yH20;
        Y yH21;
        Y yH22;
        Y yH23;
        Y yH24;
        Y yH25;
        switch (this.f431r) {
            case u0.f15495q /* 0 */:
                a0 a0Var = (a0) this.f432s.getValue();
                InterfaceC0505j interfaceC0505j = a0Var instanceof InterfaceC0505j ? (InterfaceC0505j) a0Var : null;
                return (interfaceC0505j == null || (yH = interfaceC0505j.H()) == null) ? ((i) this.f433t).H() : yH;
            case 1:
                a0 a0Var2 = (a0) this.f432s.getValue();
                InterfaceC0505j interfaceC0505j2 = a0Var2 instanceof InterfaceC0505j ? (InterfaceC0505j) a0Var2 : null;
                return (interfaceC0505j2 == null || (yH2 = interfaceC0505j2.H()) == null) ? ((B5.h) this.f433t).H() : yH2;
            case 2:
                a0 a0Var3 = (a0) this.f432s.getValue();
                InterfaceC0505j interfaceC0505j3 = a0Var3 instanceof InterfaceC0505j ? (InterfaceC0505j) a0Var3 : null;
                return (interfaceC0505j3 == null || (yH3 = interfaceC0505j3.H()) == null) ? ((TvContinueWatchFragment) this.f433t).H() : yH3;
            case 3:
                a0 a0Var4 = (a0) this.f432s.getValue();
                InterfaceC0505j interfaceC0505j4 = a0Var4 instanceof InterfaceC0505j ? (InterfaceC0505j) a0Var4 : null;
                return (interfaceC0505j4 == null || (yH4 = interfaceC0505j4.H()) == null) ? ((TvEpisodeListFragment) this.f433t).H() : yH4;
            case 4:
                a0 a0Var5 = (a0) this.f432s.getValue();
                InterfaceC0505j interfaceC0505j5 = a0Var5 instanceof InterfaceC0505j ? (InterfaceC0505j) a0Var5 : null;
                return (interfaceC0505j5 == null || (yH5 = interfaceC0505j5.H()) == null) ? ((TvForgotPasswordFragment) this.f433t).H() : yH5;
            case 5:
                a0 a0Var6 = (a0) this.f432s.getValue();
                InterfaceC0505j interfaceC0505j6 = a0Var6 instanceof InterfaceC0505j ? (InterfaceC0505j) a0Var6 : null;
                return (interfaceC0505j6 == null || (yH6 = interfaceC0505j6.H()) == null) ? ((F5.g) this.f433t).H() : yH6;
            case Z.g.STRING_SET_FIELD_NUMBER /* 6 */:
                a0 a0Var7 = (a0) this.f432s.getValue();
                InterfaceC0505j interfaceC0505j7 = a0Var7 instanceof InterfaceC0505j ? (InterfaceC0505j) a0Var7 : null;
                return (interfaceC0505j7 == null || (yH7 = interfaceC0505j7.H()) == null) ? ((TvGenresFragment) this.f433t).H() : yH7;
            case Z.g.DOUBLE_FIELD_NUMBER /* 7 */:
                a0 a0Var8 = (a0) this.f432s.getValue();
                InterfaceC0505j interfaceC0505j8 = a0Var8 instanceof InterfaceC0505j ? (InterfaceC0505j) a0Var8 : null;
                return (interfaceC0505j8 == null || (yH8 = interfaceC0505j8.H()) == null) ? ((TvHistoryFragment) this.f433t).H() : yH8;
            case Z.g.BYTES_FIELD_NUMBER /* 8 */:
                a0 a0Var9 = (a0) this.f432s.getValue();
                InterfaceC0505j interfaceC0505j9 = a0Var9 instanceof InterfaceC0505j ? (InterfaceC0505j) a0Var9 : null;
                return (interfaceC0505j9 == null || (yH9 = interfaceC0505j9.H()) == null) ? ((TvCodeLoginFragment) this.f433t).H() : yH9;
            case 9:
                a0 a0Var10 = (a0) this.f432s.getValue();
                InterfaceC0505j interfaceC0505j10 = a0Var10 instanceof InterfaceC0505j ? (InterfaceC0505j) a0Var10 : null;
                return (interfaceC0505j10 == null || (yH10 = interfaceC0505j10.H()) == null) ? ((TvLoginFragment) this.f433t).H() : yH10;
            case 10:
                a0 a0Var11 = (a0) this.f432s.getValue();
                InterfaceC0505j interfaceC0505j11 = a0Var11 instanceof InterfaceC0505j ? (InterfaceC0505j) a0Var11 : null;
                return (interfaceC0505j11 == null || (yH11 = interfaceC0505j11.H()) == null) ? ((TvMainFragment) this.f433t).H() : yH11;
            case 11:
                a0 a0Var12 = (a0) this.f432s.getValue();
                InterfaceC0505j interfaceC0505j12 = a0Var12 instanceof InterfaceC0505j ? (InterfaceC0505j) a0Var12 : null;
                return (interfaceC0505j12 == null || (yH12 = interfaceC0505j12.H()) == null) ? ((L5.i) this.f433t).H() : yH12;
            case 12:
                a0 a0Var13 = (a0) this.f432s.getValue();
                InterfaceC0505j interfaceC0505j13 = a0Var13 instanceof InterfaceC0505j ? (InterfaceC0505j) a0Var13 : null;
                return (interfaceC0505j13 == null || (yH13 = interfaceC0505j13.H()) == null) ? ((TvMovieDetailFragment) this.f433t).H() : yH13;
            case 13:
                a0 a0Var14 = (a0) this.f432s.getValue();
                InterfaceC0505j interfaceC0505j14 = a0Var14 instanceof InterfaceC0505j ? (InterfaceC0505j) a0Var14 : null;
                return (interfaceC0505j14 == null || (yH14 = interfaceC0505j14.H()) == null) ? ((TvMovieListFragment) this.f433t).H() : yH14;
            case 14:
                a0 a0Var15 = (a0) this.f432s.getValue();
                InterfaceC0505j interfaceC0505j15 = a0Var15 instanceof InterfaceC0505j ? (InterfaceC0505j) a0Var15 : null;
                return (interfaceC0505j15 == null || (yH15 = interfaceC0505j15.H()) == null) ? ((TvMoviesFragment) this.f433t).H() : yH15;
            case 15:
                a0 a0Var16 = (a0) this.f432s.getValue();
                InterfaceC0505j interfaceC0505j16 = a0Var16 instanceof InterfaceC0505j ? (InterfaceC0505j) a0Var16 : null;
                return (interfaceC0505j16 == null || (yH16 = interfaceC0505j16.H()) == null) ? ((TvMyBoardFragment) this.f433t).H() : yH16;
            case 16:
                a0 a0Var17 = (a0) this.f432s.getValue();
                InterfaceC0505j interfaceC0505j17 = a0Var17 instanceof InterfaceC0505j ? (InterfaceC0505j) a0Var17 : null;
                return (interfaceC0505j17 == null || (yH17 = interfaceC0505j17.H()) == null) ? ((TvMyListFragment) this.f433t).H() : yH17;
            case 17:
                a0 a0Var18 = (a0) this.f432s.getValue();
                InterfaceC0505j interfaceC0505j18 = a0Var18 instanceof InterfaceC0505j ? (InterfaceC0505j) a0Var18 : null;
                return (interfaceC0505j18 == null || (yH18 = interfaceC0505j18.H()) == null) ? ((TvProfileFragment) this.f433t).H() : yH18;
            case 18:
                a0 a0Var19 = (a0) this.f432s.getValue();
                InterfaceC0505j interfaceC0505j19 = a0Var19 instanceof InterfaceC0505j ? (InterfaceC0505j) a0Var19 : null;
                return (interfaceC0505j19 == null || (yH19 = interfaceC0505j19.H()) == null) ? ((TvRegisterFragment) this.f433t).H() : yH19;
            case 19:
                a0 a0Var20 = (a0) this.f432s.getValue();
                InterfaceC0505j interfaceC0505j20 = a0Var20 instanceof InterfaceC0505j ? (InterfaceC0505j) a0Var20 : null;
                return (interfaceC0505j20 == null || (yH20 = interfaceC0505j20.H()) == null) ? ((TvSearchFragment) this.f433t).H() : yH20;
            case 20:
                a0 a0Var21 = (a0) this.f432s.getValue();
                InterfaceC0505j interfaceC0505j21 = a0Var21 instanceof InterfaceC0505j ? (InterfaceC0505j) a0Var21 : null;
                return (interfaceC0505j21 == null || (yH21 = interfaceC0505j21.H()) == null) ? ((TvSettingsFragment) this.f433t).H() : yH21;
            case 21:
                a0 a0Var22 = (a0) this.f432s.getValue();
                InterfaceC0505j interfaceC0505j22 = a0Var22 instanceof InterfaceC0505j ? (InterfaceC0505j) a0Var22 : null;
                return (interfaceC0505j22 == null || (yH22 = interfaceC0505j22.H()) == null) ? ((TvSplashFragment) this.f433t).H() : yH22;
            case 22:
                a0 a0Var23 = (a0) this.f432s.getValue();
                InterfaceC0505j interfaceC0505j23 = a0Var23 instanceof InterfaceC0505j ? (InterfaceC0505j) a0Var23 : null;
                return (interfaceC0505j23 == null || (yH23 = interfaceC0505j23.H()) == null) ? ((TvSeriesFragment) this.f433t).H() : yH23;
            case 23:
                a0 a0Var24 = (a0) this.f432s.getValue();
                InterfaceC0505j interfaceC0505j24 = a0Var24 instanceof InterfaceC0505j ? (InterfaceC0505j) a0Var24 : null;
                return (interfaceC0505j24 == null || (yH24 = interfaceC0505j24.H()) == null) ? ((TVUpdateFragment) this.f433t).H() : yH24;
            default:
                a0 a0Var25 = (a0) this.f432s.getValue();
                InterfaceC0505j interfaceC0505j25 = a0Var25 instanceof InterfaceC0505j ? (InterfaceC0505j) a0Var25 : null;
                return (interfaceC0505j25 == null || (yH25 = interfaceC0505j25.H()) == null) ? ((TvWelcomeFragment) this.f433t).H() : yH25;
        }
    }
}
