package ie;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.media3.ui.PlayerView;
import org.drive_hunter.R;
import pl.droidsonroids.gif.GifImageView;
import tv.danmaku.ijk.media.player.ui.IjkVideoView;
import xyz.netfly.ui.live.tablet.CustomLivePadControl;
import xyz.netfly.ui.live.tv.CustomLiveControl;
import xyz.stream.view.VideoGestureFrameLayout;

/* JADX INFO: loaded from: classes3.dex */
public final class k implements v3.a {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final VideoGestureFrameLayout f27095a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final PlayerView f27096b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final VideoGestureFrameLayout f27097c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final TextView f27098d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final TextView f27099e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final TextView f27100f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public final TextView f27101g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public final TextView f27102h;

    /* JADX INFO: renamed from: i, reason: collision with root package name */
    public final CustomLiveControl f27103i;

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public final CustomLivePadControl f27104j;

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public final TextView f27105k;

    /* JADX INFO: renamed from: l, reason: collision with root package name */
    public final r4 f27106l;

    /* JADX INFO: renamed from: m, reason: collision with root package name */
    public final TextView f27107m;

    /* JADX INFO: renamed from: n, reason: collision with root package name */
    public final TextView f27108n;

    /* JADX INFO: renamed from: o, reason: collision with root package name */
    public final TextView f27109o;

    /* JADX INFO: renamed from: p, reason: collision with root package name */
    public final LinearLayout f27110p;

    /* JADX INFO: renamed from: q, reason: collision with root package name */
    public final TextView f27111q;

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    public final TextView f27112r;

    /* JADX INFO: renamed from: s, reason: collision with root package name */
    public final LinearLayout f27113s;

    /* JADX INFO: renamed from: t, reason: collision with root package name */
    public final TextView f27114t;

    /* JADX INFO: renamed from: u, reason: collision with root package name */
    public final LinearLayout f27115u;

    /* JADX INFO: renamed from: v, reason: collision with root package name */
    public final TextView f27116v;

    /* JADX INFO: renamed from: w, reason: collision with root package name */
    public final TextView f27117w;

    /* JADX INFO: renamed from: x, reason: collision with root package name */
    public final IjkVideoView f27118x;

    public k(VideoGestureFrameLayout videoGestureFrameLayout, PlayerView playerView, VideoGestureFrameLayout videoGestureFrameLayout2, TextView textView, TextView textView2, TextView textView3, TextView textView4, TextView textView5, CustomLiveControl customLiveControl, CustomLivePadControl customLivePadControl, TextView textView6, r4 r4Var, TextView textView7, TextView textView8, TextView textView9, LinearLayout linearLayout, TextView textView10, TextView textView11, LinearLayout linearLayout2, TextView textView12, LinearLayout linearLayout3, TextView textView13, TextView textView14, IjkVideoView ijkVideoView) {
        this.f27095a = videoGestureFrameLayout;
        this.f27096b = playerView;
        this.f27097c = videoGestureFrameLayout2;
        this.f27098d = textView;
        this.f27099e = textView2;
        this.f27100f = textView3;
        this.f27101g = textView4;
        this.f27102h = textView5;
        this.f27103i = customLiveControl;
        this.f27104j = customLivePadControl;
        this.f27105k = textView6;
        this.f27106l = r4Var;
        this.f27107m = textView7;
        this.f27108n = textView8;
        this.f27109o = textView9;
        this.f27110p = linearLayout;
        this.f27111q = textView10;
        this.f27112r = textView11;
        this.f27113s = linearLayout2;
        this.f27114t = textView12;
        this.f27115u = linearLayout3;
        this.f27116v = textView13;
        this.f27117w = textView14;
        this.f27118x = ijkVideoView;
    }

    public static k a(View view) {
        int i10 = R.id.ad_player;
        PlayerView playerView = (PlayerView) v3.b.findChildViewById(view, R.id.ad_player);
        if (playerView != null) {
            VideoGestureFrameLayout videoGestureFrameLayout = (VideoGestureFrameLayout) view;
            i10 = R.id.bitrateEstimate;
            TextView textView = (TextView) v3.b.findChildViewById(view, R.id.bitrateEstimate);
            if (textView != null) {
                i10 = R.id.buffer_duration;
                TextView textView2 = (TextView) v3.b.findChildViewById(view, R.id.buffer_duration);
                if (textView2 != null) {
                    i10 = R.id.buffer_position;
                    TextView textView3 = (TextView) v3.b.findChildViewById(view, R.id.buffer_position);
                    if (textView3 != null) {
                        i10 = R.id.bytesTransferred;
                        TextView textView4 = (TextView) v3.b.findChildViewById(view, R.id.bytesTransferred);
                        if (textView4 != null) {
                            i10 = R.id.current_position;
                            TextView textView5 = (TextView) v3.b.findChildViewById(view, R.id.current_position);
                            if (textView5 != null) {
                                i10 = R.id.custom_controller;
                                CustomLiveControl customLiveControl = (CustomLiveControl) v3.b.findChildViewById(view, R.id.custom_controller);
                                if (customLiveControl != null) {
                                    i10 = R.id.custom_pad_controller;
                                    CustomLivePadControl customLivePadControl = (CustomLivePadControl) v3.b.findChildViewById(view, R.id.custom_pad_controller);
                                    if (customLivePadControl != null) {
                                        i10 = R.id.elapsedMs;
                                        TextView textView6 = (TextView) v3.b.findChildViewById(view, R.id.elapsedMs);
                                        if (textView6 != null) {
                                            i10 = R.id.fl_switch_bitrate;
                                            View viewFindChildViewById = v3.b.findChildViewById(view, R.id.fl_switch_bitrate);
                                            if (viewFindChildViewById != null) {
                                                r4 r4Var = new r4((FrameLayout) viewFindChildViewById);
                                                i10 = R.id.history_bitrate;
                                                TextView textView7 = (TextView) v3.b.findChildViewById(view, R.id.history_bitrate);
                                                if (textView7 != null) {
                                                    i10 = R.id.live_bitrate;
                                                    TextView textView8 = (TextView) v3.b.findChildViewById(view, R.id.live_bitrate);
                                                    if (textView8 != null) {
                                                        i10 = R.id.live_bitrate_downloading;
                                                        TextView textView9 = (TextView) v3.b.findChildViewById(view, R.id.live_bitrate_downloading);
                                                        if (textView9 != null) {
                                                            i10 = R.id.live_error;
                                                            LinearLayout linearLayout = (LinearLayout) v3.b.findChildViewById(view, R.id.live_error);
                                                            if (linearLayout != null) {
                                                                i10 = R.id.live_error_code;
                                                                TextView textView10 = (TextView) v3.b.findChildViewById(view, R.id.live_error_code);
                                                                if (textView10 != null) {
                                                                    i10 = R.id.live_error_message;
                                                                    TextView textView11 = (TextView) v3.b.findChildViewById(view, R.id.live_error_message);
                                                                    if (textView11 != null) {
                                                                        i10 = R.id.live_loading;
                                                                        LinearLayout linearLayout2 = (LinearLayout) v3.b.findChildViewById(view, R.id.live_loading);
                                                                        if (linearLayout2 != null) {
                                                                            i10 = R.id.live_loading_image;
                                                                            if (((GifImageView) v3.b.findChildViewById(view, R.id.live_loading_image)) != null) {
                                                                                i10 = R.id.live_loading_text;
                                                                                TextView textView12 = (TextView) v3.b.findChildViewById(view, R.id.live_loading_text);
                                                                                if (textView12 != null) {
                                                                                    i10 = R.id.ll_bitrate;
                                                                                    if (((LinearLayout) v3.b.findChildViewById(view, R.id.ll_bitrate)) != null) {
                                                                                        i10 = R.id.ll_buffering_duration;
                                                                                        if (((LinearLayout) v3.b.findChildViewById(view, R.id.ll_buffering_duration)) != null) {
                                                                                            i10 = R.id.ll_buffering_position;
                                                                                            if (((LinearLayout) v3.b.findChildViewById(view, R.id.ll_buffering_position)) != null) {
                                                                                                i10 = R.id.ll_bytesTransferred;
                                                                                                if (((LinearLayout) v3.b.findChildViewById(view, R.id.ll_bytesTransferred)) != null) {
                                                                                                    i10 = R.id.ll_debug;
                                                                                                    LinearLayout linearLayout3 = (LinearLayout) v3.b.findChildViewById(view, R.id.ll_debug);
                                                                                                    if (linearLayout3 != null) {
                                                                                                        i10 = R.id.ll_downloading;
                                                                                                        if (((LinearLayout) v3.b.findChildViewById(view, R.id.ll_downloading)) != null) {
                                                                                                            i10 = R.id.ll_elapsedMs;
                                                                                                            if (((LinearLayout) v3.b.findChildViewById(view, R.id.ll_elapsedMs)) != null) {
                                                                                                                i10 = R.id.ll_history_bitrate;
                                                                                                                if (((LinearLayout) v3.b.findChildViewById(view, R.id.ll_history_bitrate)) != null) {
                                                                                                                    i10 = R.id.ll_position;
                                                                                                                    if (((LinearLayout) v3.b.findChildViewById(view, R.id.ll_position)) != null) {
                                                                                                                        i10 = R.id.next_bitrate;
                                                                                                                        TextView textView13 = (TextView) v3.b.findChildViewById(view, R.id.next_bitrate);
                                                                                                                        if (textView13 != null) {
                                                                                                                            i10 = R.id.slice_count;
                                                                                                                            TextView textView14 = (TextView) v3.b.findChildViewById(view, R.id.slice_count);
                                                                                                                            if (textView14 != null) {
                                                                                                                                i10 = R.id.video_view;
                                                                                                                                IjkVideoView ijkVideoView = (IjkVideoView) v3.b.findChildViewById(view, R.id.video_view);
                                                                                                                                if (ijkVideoView != null) {
                                                                                                                                    return new k(videoGestureFrameLayout, playerView, videoGestureFrameLayout, textView, textView2, textView3, textView4, textView5, customLiveControl, customLivePadControl, textView6, r4Var, textView7, textView8, textView9, linearLayout, textView10, textView11, linearLayout2, textView12, linearLayout3, textView13, textView14, ijkVideoView);
                                                                                                                                }
                                                                                                                            }
                                                                                                                        }
                                                                                                                    }
                                                                                                                }
                                                                                                            }
                                                                                                        }
                                                                                                    }
                                                                                                }
                                                                                            }
                                                                                        }
                                                                                    }
                                                                                }
                                                                            }
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
        throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i10)));
    }

    @NonNull
    public static k inflate(@NonNull LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, boolean z10) {
        View viewInflate = layoutInflater.inflate(R.layout.activity_live_player, viewGroup, false);
        if (z10) {
            viewGroup.addView(viewInflate);
        }
        return a(viewInflate);
    }

    @Override // v3.a
    public final View getRoot() {
        return this.f27095a;
    }
}
