导航菜单

页面标题

页面副标题

Bhakti v5.4.0 - C0120k.java 源代码

正在查看: Bhakti v5.4.0 应用的 C0120k.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package Am;

import B0.C0202u;
import B4.AbstractC0300u0;
import B4.B1;
import B4.C0259h1;
import B4.C0261i;
import B4.C0292r1;
import B4.D2;
import B4.EnumC0246e0;
import B4.H1;
import B4.o2;
import B4.p2;
import E.C0404d;
import Ed.C0459n;
import Ed.C0468x;
import Kp.AbstractC0778p;
import M4.C0892q;
import Ml.C0;
import Np.F0;
import Np.InterfaceC1012l;
import Np.u0;
import Np.y0;
import Qn.AbstractC1147a;
import Qn.C1151e;
import S0.AbstractC1177e;
import V.C1437g0;
import Vj.AbstractC1823rf;
import android.content.Context;
import android.content.Intent;
import android.content.res.Resources;
import android.media.AudioManager;
import android.os.Build;
import android.os.Bundle;
import android.util.Log;
import androidx.appcompat.widget.AppCompatTextView;
import androidx.compose.material.ripple.RippleContainer;
import androidx.compose.material.ripple.RippleHostView;
import androidx.compose.material.ripple.RippleNode;
import androidx.fragment.app.FragmentActivity;
import androidx.lifecycle.i0;
import cm.B0;
import cm.C3113k0;
import cm.C3114l;
import cm.C3116m;
import cm.C3125q0;
import cm.P0;
import cm.R0;
import cm.t0;
import com.truecaller.android.sdk.common.TrueException;
import com.truecaller.android.sdk.legacy.TruecallerSdkScope;
import com.vlv.aravali.KukuFMApplication;
import com.vlv.aravali.base.ui.viewModelUiComponent.DrawableViewModel;
import com.vlv.aravali.base.ui.viewModelUiComponent.TextViewModel;
import com.vlv.aravali.bhakti.R;
import com.vlv.aravali.common.models.CUPart;
import com.vlv.aravali.common.models.Content;
import com.vlv.aravali.common.models.DataItem;
import com.vlv.aravali.common.models.ImageSize;
import com.vlv.aravali.common.models.OtherImages;
import com.vlv.aravali.common.models.Show;
import com.vlv.aravali.common.models.ShowLabelInfo;
import com.vlv.aravali.common.models.User;
import com.vlv.aravali.common.models.appConfigs.Config;
import com.vlv.aravali.common.models.payments.Wallet;
import com.vlv.aravali.master.ui.MasterActivity;
import com.vlv.aravali.model.ReviewViewState;
import com.vlv.aravali.network.utils.RequestResult$Success;
import com.vlv.aravali.payments.legacy.ui.activity.LegacyPaymentActivity;
import com.vlv.aravali.playerMedia3.data.db.models.EpisodeContainer;
import com.vlv.aravali.playerMedia3.ui.PlayerActivity;
import com.vlv.aravali.playerMedia3.ui.models.PlaybackState;
import com.vlv.aravali.playerMedia3.ui.viewmodels.PlayerUiState;
import com.vlv.aravali.reels.model.v1.Reel;
import com.vlv.aravali.reels.view.v1.ReelsActivity;
import com.vlv.aravali.reelsTrailer.data.ReelTrailerData;
import com.vlv.aravali.userDataCollection.data.QuestionDataListUdc;
import com.vlv.aravali.userDataCollection.data.UdcResponse;
import com.vlv.aravali.userDataCollection.viewmodel.UdcViewModel$Event$AnswerSubmittedSuccessfully;
import com.vlv.aravali.userDataCollection.viewmodel.UdcViewModel$Event$GetUdcResponseEvent;
import d0.C4013a;
import d0.C4018f;
import dm.C4106a;
import e0.g3;
import h0.InterfaceC4752a0;
import he.C4904i;
import j.AbstractC5459e;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import jn.G0;
import jn.a1;
import kotlin.Pair;
import kotlin.Unit;
import kotlin.collections.C5694v;
import kotlin.collections.C5697y;
import kotlin.collections.C5698z;
import kotlin.collections.Z;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Intrinsics;
import kp.C5717b;
import nl.AbstractC6060a;
import nl.C6061b;
import np.C6085q;
import okhttp3.HttpUrl;
import pp.InterfaceC6303c;
import qp.EnumC6418a;
import s4.C6593x;
import t5.C6768c;
import t5.C6776k;
import vj.AbstractC7140a;
import z5.AbstractC7507K;

public final class C0120k implements InterfaceC1012l {

    public final int f1459a;

    public final Object f1460b;

    public final Object f1461c;

    public C0120k(int i10, Object obj, Object obj2) {
        this.f1459a = i10;
        this.f1460b = obj;
        this.f1461c = obj2;
    }

    private final Object b(Object obj, InterfaceC6303c interfaceC6303c) {
        C3113k0 episodeQueueViewModel;
        Object value;
        PlayerUiState copy;
        Object value2;
        PlayerUiState copy2;
        Wallet wallet;
        Integer totalCoins;
        PlayerUiState copy3;
        Integer id2;
        Object obj2;
        boolean isPlayLocked;
        F0 f02;
        Object obj3;
        Show show;
        String str;
        ImageSize imageSizes;
        String size_200;
        String str2;
        PlayerUiState copy4;
        ShowLabelInfo showLabelInfo;
        ShowLabelInfo showLabelInfo2;
        ShowLabelInfo showLabelInfo3;
        Boolean isCoinedBased;
        Show copy5;
        Integer id3;
        String premiumVideoUrl;
        String title;
        boolean z10;
        Content content;
        boolean z11;
        boolean z12;
        Show show2;
        String image;
        String str3;
        ImageSize imageSizes2;
        String size_2002;
        String str4;
        ShowLabelInfo showLabelInfo4;
        ShowLabelInfo showLabelInfo5;
        ShowLabelInfo showLabelInfo6;
        Boolean isCoinedBased2;
        Show copy6;
        Integer id4;
        String premiumVideoUrl2;
        PlaybackState playbackState = (PlaybackState) obj;
        PlayerActivity playerActivity = (PlayerActivity) this.f1460b;
        episodeQueueViewModel = playerActivity.getEpisodeQueueViewModel();
        episodeQueueViewModel.e(playbackState);
        Show playingShow = playbackState.getPlayingShow();
        CUPart playingEpisode = playbackState.getPlayingEpisode();
        if (playingShow != null && playingShow.isReel()) {
            Intent intent = new Intent(playerActivity, (Class<?>) ReelsActivity.class);
            Bundle extras = intent.getExtras();
            if (extras != null) {
                extras.putAll(playerActivity.getIntent().getExtras());
            }
            intent.setFlags(603979776);
            playerActivity.startActivity(intent);
            playerActivity.finish();
        }
        R0 viewModel = playerActivity.getViewModel();
        int i10 = -1;
        if (playingEpisode != null) {
            Iterator it = ((Iterable) viewModel.f40343h.getValue()).iterator();
            while (true) {
                if (!it.hasNext()) {
                    obj2 = null;
                    break;
                }
                obj2 = it.next();
                if (Intrinsics.c(((Pair) obj2).f60918a, playingShow != null ? playingShow.getSlug() : null)) {
                    break;
                }
            }
            Pair pair = (Pair) obj2;
            while (true) {
                F0 f03 = viewModel.f40347j0;
                Object value3 = f03.getValue();
                PlayerUiState playerUiState = (PlayerUiState) value3;
                Integer id5 = playingEpisode.getId();
                if (id5 != null && id5.intValue() == i10) {
                    Integer id6 = playingEpisode.getId();
                    int intValue = id6 != null ? id6.intValue() : 0;
                    Show show3 = playingEpisode.getShow();
                    String str5 = (show3 == null || (title = show3.getTitle()) == null) ? HttpUrl.FRAGMENT_ENCODE_SET : title;
                    int index = playingEpisode.getIndex();
                    Integer nComments = playingEpisode.getNComments();
                    int intValue2 = nComments != null ? nComments.intValue() : 0;
                    Content content2 = playingEpisode.getContent();
                    boolean z13 = content2 != null && content2.isVideo();
                    isPlayLocked = playingEpisode.isPlayLocked();
                    Content content3 = playingEpisode.getContent();
                    boolean z14 = (content3 == null || (premiumVideoUrl = content3.getPremiumVideoUrl()) == null || premiumVideoUrl.length() == 0) ? false : true;
                    Integer id7 = playingEpisode.getId();
                    boolean z15 = id7 != null && id7.intValue() == i10;
                    int intValue3 = (playingShow == null || (id3 = playingShow.getId()) == null) ? 0 : id3.intValue();
                    if (pair == null) {
                        f02 = f03;
                        obj3 = value3;
                        show = playingShow;
                    } else if (playingShow != null) {
                        obj3 = value3;
                        f02 = f03;
                        copy5 = playingShow.copy((r150 & 1) != 0 ? playingShow.f46040id : null, (r150 & 2) != 0 ? playingShow.slug : null, (r150 & 4) != 0 ? playingShow.title : null, (r150 & 8) != 0 ? playingShow.uri : null, (r150 & 16) != 0 ? playingShow.image : null, (r150 & 32) != 0 ? playingShow.language : null, (r150 & 64) != 0 ? playingShow.imageTags : null, (r150 & 128) != 0 ? playingShow.imageSizes : null, (r150 & 256) != 0 ? playingShow.publishedOn : null, (r150 & 512) != 0 ? playingShow.createdOn : null, (r150 & 1024) != 0 ? playingShow.lang : null, (r150 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playingShow.author : null, (r150 & TruecallerSdkScope.FOOTER_TYPE_LATER) != 0 ? playingShow.status : null, (r150 & 8192) != 0 ? playingShow.description : null, (r150 & 16384) != 0 ? playingShow.nContentUnits : null, (r150 & 32768) != 0 ? playingShow.nComments : null, (r150 & 65536) != 0 ? playingShow.contentType : null, (r150 & 131072) != 0 ? playingShow.subcontentTypes : null, (r150 & 262144) != 0 ? playingShow.genres : null, (r150 & 524288) != 0 ? playingShow.genre : null, (r150 & 1048576) != 0 ? playingShow.genreList : null, (r150 & 2097152) != 0 ? playingShow.verified : null, (r150 & 4194304) != 0 ? playingShow.credits : null, (r150 & 8388608) != 0 ? playingShow.type : null, (r150 & 16777216) != 0 ? playingShow.contributions : null, (r150 & 33554432) != 0 ? playingShow.isAdded : (Boolean) pair.f60919b, (r150 & 67108864) != 0 ? playingShow.shareMediaUrl : null, (r150 & 134217728) != 0 ? playingShow.cuDownloaded : null, (r150 & 268435456) != 0 ? playingShow.episodesDownloaded : null, (r150 & 536870912) != 0 ? playingShow.isSelf : null, (r150 & 1073741824) != 0 ? playingShow.isReverse : false, (r150 & Integer.MIN_VALUE) != 0 ? playingShow.pageNo : 0, (r151 & 1) != 0 ? playingShow.currentSeasonNo : 0, (r151 & 2) != 0 ? playingShow.hasMore : false, (r151 & 4) != 0 ? playingShow.nListens : null, (r151 & 8) != 0 ? playingShow.nReads : null, (r151 & 16) != 0 ? playingShow.resumeEpisode : null, (r151 & 32) != 0 ? playingShow.titleSecondary : null, (r151 & 64) != 0 ? playingShow.deepLink : null, (r151 & 128) != 0 ? playingShow.poweredBy : null, (r151 & 256) != 0 ? playingShow.coverType : null, (r151 & 512) != 0 ? playingShow.sharingText : null, (r151 & 1024) != 0 ? playingShow.newUnits : null, (r151 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playingShow.shareImageUrl : null, (r151 & TruecallerSdkScope.FOOTER_TYPE_LATER) != 0 ? playingShow.seoIndex : false, (r151 & 8192) != 0 ? playingShow.updatedOn : null, (r151 & 16384) != 0 ? playingShow.source : null, (r151 & 32768) != 0 ? playingShow.nEpisodes : 0, (r151 & 65536) != 0 ? playingShow.nSeasons : 0, (r151 & 131072) != 0 ? playingShow.nChapters : 0, (r151 & 262144) != 0 ? playingShow.nReviews : null, (r151 & 524288) != 0 ? playingShow.overallRating : null, (r151 & 1048576) != 0 ? playingShow.canDownloadAll : null, (r151 & 2097152) != 0 ? playingShow.mediaSize : null, (r151 & 4194304) != 0 ? playingShow.episodes : null, (r151 & 8388608) != 0 ? playingShow.isDownloaded : null, (r151 & 16777216) != 0 ? playingShow.trailer : null, (r151 & 33554432) != 0 ? playingShow.labels : null, (r151 & 67108864) != 0 ? playingShow.isTop10 : null, (r151 & 134217728) != 0 ? playingShow.completionStatus : null, (r151 & 268435456) != 0 ? playingShow.isDownloadedAll : null, (r151 & 536870912) != 0 ? playingShow.isIndependent : false, (r151 & 1073741824) != 0 ? playingShow.hashTags : null, (r151 & Integer.MIN_VALUE) != 0 ? playingShow.isDefaultCover : false, (r152 & 1) != 0 ? playingShow.sharingTextV2 : null, (r152 & 2) != 0 ? playingShow.isPremium : null, (r152 & 4) != 0 ? playingShow.rssUrl : null, (r152 & 8) != 0 ? playingShow.highlightText : null, (r152 & 16) != 0 ? playingShow.isAdEnabled : false, (r152 & 32) != 0 ? playingShow.isFictional : false, (r152 & 64) != 0 ? playingShow.searchMeta : null, (r152 & 128) != 0 ? playingShow.otherImages : null, (r152 & 256) != 0 ? playingShow.metaData : null, (r152 & 512) != 0 ? playingShow.isDailyUnlockEnabled : null, (r152 & 1024) != 0 ? playingShow.thumbnailColor : null, (r152 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playingShow.lastReadChapter : null, (r152 & TruecallerSdkScope.FOOTER_TYPE_LATER) != 0 ? playingShow.durationS : null, (r152 & 8192) != 0 ? playingShow.historyId : null, (r152 & 16384) != 0 ? playingShow.timestamp : null, (r152 & 32768) != 0 ? playingShow.paywallImage : null, (r152 & 65536) != 0 ? playingShow.lastUnlockedEpisodeIndex : null, (r152 & 131072) != 0 ? playingShow.firstLockedEpisodeTitle : null, (r152 & 262144) != 0 ? playingShow.isPlayLocked : false, (r152 & 524288) != 0 ? playingShow.infographicsDataArray : null, (r152 & 1048576) != 0 ? playingShow.insightsDataArray : null, (r152 & 2097152) != 0 ? playingShow.socialProofing : null, (r152 & 4194304) != 0 ? playingShow.review : null, (r152 & 8388608) != 0 ? playingShow.availableLanguages : null, (r152 & 16777216) != 0 ? playingShow.renewalNudge : null, (r152 & 33554432) != 0 ? playingShow.contentSource : null, (r152 & 67108864) != 0 ? playingShow.isRadio : null, (r152 & 134217728) != 0 ? playingShow.physicalBookData : null, (r152 & 268435456) != 0 ? playingShow.stickerText : null, (r152 & 536870912) != 0 ? playingShow.pinnedReview : null, (r152 & 1073741824) != 0 ? playingShow.tags : null, (r152 & Integer.MIN_VALUE) != 0 ? playingShow.transitionAudio : null, (r153 & 1) != 0 ? playingShow.isCoinedBased : null, (r153 & 2) != 0 ? playingShow.showLabelInfo : null, (r153 & 4) != 0 ? playingShow.snippet : null, (r153 & 8) != 0 ? playingShow.match : null, (r153 & 16) != 0 ? playingShow.isAddedLibrary : null, (r153 & 32) != 0 ? playingShow.isEncrypted : null, (r153 & 64) != 0 ? playingShow.autoPlay : false, (r153 & 128) != 0 ? playingShow.isCoinPremium : null, (r153 & 256) != 0 ? playingShow.coinsToUnlock : null, (r153 & 512) != 0 ? playingShow.showUnlockedNudgeText : null, (r153 & 1024) != 0 ? playingShow.unlockOffer : null, (r153 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playingShow.monetizationType : null, (r153 & TruecallerSdkScope.FOOTER_TYPE_LATER) != 0 ? playingShow.realEstateBanner : null, (r153 & 8192) != 0 ? playingShow.isReel : false, (r153 & 16384) != 0 ? playingShow.course : null, (r153 & 32768) != 0 ? playingShow.showChatBotUrl : null, (r153 & 65536) != 0 ? playingShow.isCommentsExposureEnabled : null, (r153 & 131072) != 0 ? playingShow.episodeUpdateFrequencyText : null, (r153 & 262144) != 0 ? playingShow.hideDownloadAllIcon : null, (r153 & 524288) != 0 ? playingShow.isReverseOrder : false, (r153 & 1048576) != 0 ? playingShow.userRating : null, (r153 & 2097152) != 0 ? playingShow.userReview : null, (r153 & 4194304) != 0 ? playingShow.reminder : null, (r153 & 8388608) != 0 ? playingShow.isShowPageSkip : null, (r153 & 16777216) != 0 ? playingShow.isServedMlt : null, (r153 & 33554432) != 0 ? playingShow.isAdultContent : false, (r153 & 67108864) != 0 ? playingShow.mltHls : null, (r153 & 134217728) != 0 ? playingShow.premiumBtnCtaText : null, (r153 & 268435456) != 0 ? playingShow.showType : null);
                        show = copy5;
                    } else {
                        f02 = f03;
                        obj3 = value3;
                        show = null;
                    }
                    int nEpisodes = playingShow != null ? playingShow.getNEpisodes() : 0;
                    String image2 = playingEpisode.getImage();
                    if (image2 == null) {
                        ImageSize imageSizes3 = playingEpisode.getImageSizes();
                        image2 = imageSizes3 != null ? imageSizes3.getSize_300() : null;
                        if (image2 == null) {
                            str = HttpUrl.FRAGMENT_ENCODE_SET;
                            imageSizes = playingEpisode.getImageSizes();
                            if (imageSizes != null || (size_200 = imageSizes.getSize_100()) == null) {
                                ImageSize imageSizes4 = playingEpisode.getImageSizes();
                                size_200 = imageSizes4 == null ? imageSizes4.getSize_200() : null;
                                if (size_200 == null && (size_200 = playingEpisode.getImage()) == null) {
                                    str2 = HttpUrl.FRAGMENT_ENCODE_SET;
                                    boolean booleanValue = (playingShow != null || (isCoinedBased = playingShow.isCoinedBased()) == null) ? false : isCoinedBased.booleanValue();
                                    Config config = C1151e.f18010f;
                                    String showTag = (config != null || !config.isCoinBasedMonetization() || playingShow == null || (showLabelInfo3 = playingShow.getShowLabelInfo()) == null) ? null : showLabelInfo3.getShowTag();
                                    Config config2 = C1151e.f18010f;
                                    String bgColor = (config2 != null || !config2.isCoinBasedMonetization() || playingShow == null || (showLabelInfo2 = playingShow.getShowLabelInfo()) == null) ? null : showLabelInfo2.getBgColor();
                                    Config config3 = C1151e.f18010f;
                                    copy4 = playerUiState.copy((r62 & 1) != 0 ? playerUiState.showId : intValue3, (r62 & 2) != 0 ? playerUiState.show : show, (r62 & 4) != 0 ? playerUiState.episode : playingEpisode, (r62 & 8) != 0 ? playerUiState.episodeId : intValue, (r62 & 16) != 0 ? playerUiState.episodeTitle : str5, (r62 & 32) != 0 ? playerUiState.episodeIndex : index, (r62 & 64) != 0 ? playerUiState.playingState : null, (r62 & 128) != 0 ? playerUiState.thumbnailImageUrl : str, (r62 & 256) != 0 ? playerUiState.gradientImageUrl : str2, (r62 & 512) != 0 ? playerUiState.paywallImage : null, (r62 & 1024) != 0 ? playerUiState.isPlayLocked : isPlayLocked, (r62 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playerUiState.isVideoEpisode : z13, (r62 & TruecallerSdkScope.FOOTER_TYPE_LATER) != 0 ? playerUiState.isVideoPaywall : z14, (r62 & 8192) != 0 ? playerUiState.isFullScreenMode : false, (r62 & 16384) != 0 ? playerUiState.headPhoneConnectionState : null, (r62 & 32768) != 0 ? playerUiState.nComments : intValue2, (r62 & 65536) != 0 ? playerUiState.comment : null, (r62 & 131072) != 0 ? playerUiState.commentErrorMessage : null, (r62 & 262144) != 0 ? playerUiState.isUserPremium : false, (r62 & 524288) != 0 ? playerUiState.showAudioQualitySelector : false, (r62 & 1048576) != 0 ? playerUiState.availableAudioQualities : null, (r62 & 2097152) != 0 ? playerUiState.showUnlockFab : false, (r62 & 4194304) != 0 ? playerUiState.showUpsellFab : false, (r62 & 8388608) != 0 ? playerUiState.sleepTimerSlug : null, (r62 & 16777216) != 0 ? playerUiState.infographicIndicatorImage : null, (r62 & 33554432) != 0 ? playerUiState.infographicThumbnailImage : null, (r62 & 67108864) != 0 ? playerUiState.hasInfographicsAndInsights : false, (r62 & 134217728) != 0 ? playerUiState.infographicType : null, (r62 & 268435456) != 0 ? playerUiState.infographicId : null, (r62 & 536870912) != 0 ? playerUiState.showSubtitles : false, (r62 & 1073741824) != 0 ? playerUiState.isTransitionAudio : z15, (r62 & Integer.MIN_VALUE) != 0 ? playerUiState.isEpisodeCoinBased : false, (r63 & 1) != 0 ? playerUiState.isShowCoinBased : booleanValue, (r63 & 2) != 0 ? playerUiState.isPlayerAd : false, (r63 & 4) != 0 ? playerUiState.showTag : showTag, (r63 & 8) != 0 ? playerUiState.showTagBg : bgColor, (r63 & 16) != 0 ? playerUiState.showTagColor : (config3 != null || !config3.isCoinBasedMonetization() || playingShow == null || (showLabelInfo = playingShow.getShowLabelInfo()) == null) ? null : showLabelInfo.getTextColor(), (r63 & 32) != 0 ? playerUiState.nEpisodes : nEpisodes, (r63 & 64) != 0 ? playerUiState.settingsData : null, (r63 & 128) != 0 ? playerUiState.isVideoFullScreenDefault : false, (r63 & 256) != 0 ? playerUiState.showHeadphoneNudge : false, (r63 & 512) != 0 ? playerUiState.commentNudgeMessage : null, (r63 & 1024) != 0 ? playerUiState.showBackgroundPlayEnabledNudge : false, (r63 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playerUiState.isPlayPauseButtonIsInPauseState : false);
                                }
                            }
                            str2 = size_200;
                            if (playingShow != null) {
                            }
                            Config config4 = C1151e.f18010f;
                            if (config4 != null) {
                            }
                            Config config22 = C1151e.f18010f;
                            if (config22 != null) {
                            }
                            Config config32 = C1151e.f18010f;
                            copy4 = playerUiState.copy((r62 & 1) != 0 ? playerUiState.showId : intValue3, (r62 & 2) != 0 ? playerUiState.show : show, (r62 & 4) != 0 ? playerUiState.episode : playingEpisode, (r62 & 8) != 0 ? playerUiState.episodeId : intValue, (r62 & 16) != 0 ? playerUiState.episodeTitle : str5, (r62 & 32) != 0 ? playerUiState.episodeIndex : index, (r62 & 64) != 0 ? playerUiState.playingState : null, (r62 & 128) != 0 ? playerUiState.thumbnailImageUrl : str, (r62 & 256) != 0 ? playerUiState.gradientImageUrl : str2, (r62 & 512) != 0 ? playerUiState.paywallImage : null, (r62 & 1024) != 0 ? playerUiState.isPlayLocked : isPlayLocked, (r62 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playerUiState.isVideoEpisode : z13, (r62 & TruecallerSdkScope.FOOTER_TYPE_LATER) != 0 ? playerUiState.isVideoPaywall : z14, (r62 & 8192) != 0 ? playerUiState.isFullScreenMode : false, (r62 & 16384) != 0 ? playerUiState.headPhoneConnectionState : null, (r62 & 32768) != 0 ? playerUiState.nComments : intValue2, (r62 & 65536) != 0 ? playerUiState.comment : null, (r62 & 131072) != 0 ? playerUiState.commentErrorMessage : null, (r62 & 262144) != 0 ? playerUiState.isUserPremium : false, (r62 & 524288) != 0 ? playerUiState.showAudioQualitySelector : false, (r62 & 1048576) != 0 ? playerUiState.availableAudioQualities : null, (r62 & 2097152) != 0 ? playerUiState.showUnlockFab : false, (r62 & 4194304) != 0 ? playerUiState.showUpsellFab : false, (r62 & 8388608) != 0 ? playerUiState.sleepTimerSlug : null, (r62 & 16777216) != 0 ? playerUiState.infographicIndicatorImage : null, (r62 & 33554432) != 0 ? playerUiState.infographicThumbnailImage : null, (r62 & 67108864) != 0 ? playerUiState.hasInfographicsAndInsights : false, (r62 & 134217728) != 0 ? playerUiState.infographicType : null, (r62 & 268435456) != 0 ? playerUiState.infographicId : null, (r62 & 536870912) != 0 ? playerUiState.showSubtitles : false, (r62 & 1073741824) != 0 ? playerUiState.isTransitionAudio : z15, (r62 & Integer.MIN_VALUE) != 0 ? playerUiState.isEpisodeCoinBased : false, (r63 & 1) != 0 ? playerUiState.isShowCoinBased : booleanValue, (r63 & 2) != 0 ? playerUiState.isPlayerAd : false, (r63 & 4) != 0 ? playerUiState.showTag : showTag, (r63 & 8) != 0 ? playerUiState.showTagBg : bgColor, (r63 & 16) != 0 ? playerUiState.showTagColor : (config32 != null || !config32.isCoinBasedMonetization() || playingShow == null || (showLabelInfo = playingShow.getShowLabelInfo()) == null) ? null : showLabelInfo.getTextColor(), (r63 & 32) != 0 ? playerUiState.nEpisodes : nEpisodes, (r63 & 64) != 0 ? playerUiState.settingsData : null, (r63 & 128) != 0 ? playerUiState.isVideoFullScreenDefault : false, (r63 & 256) != 0 ? playerUiState.showHeadphoneNudge : false, (r63 & 512) != 0 ? playerUiState.commentNudgeMessage : null, (r63 & 1024) != 0 ? playerUiState.showBackgroundPlayEnabledNudge : false, (r63 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playerUiState.isPlayPauseButtonIsInPauseState : false);
                        }
                    }
                    str = image2;
                    imageSizes = playingEpisode.getImageSizes();
                    if (imageSizes != null) {
                    }
                    ImageSize imageSizes42 = playingEpisode.getImageSizes();
                    if (imageSizes42 == null) {
                    }
                    if (size_200 == null) {
                        str2 = HttpUrl.FRAGMENT_ENCODE_SET;
                        if (playingShow != null) {
                        }
                        Config config42 = C1151e.f18010f;
                        if (config42 != null) {
                        }
                        Config config222 = C1151e.f18010f;
                        if (config222 != null) {
                        }
                        Config config322 = C1151e.f18010f;
                        copy4 = playerUiState.copy((r62 & 1) != 0 ? playerUiState.showId : intValue3, (r62 & 2) != 0 ? playerUiState.show : show, (r62 & 4) != 0 ? playerUiState.episode : playingEpisode, (r62 & 8) != 0 ? playerUiState.episodeId : intValue, (r62 & 16) != 0 ? playerUiState.episodeTitle : str5, (r62 & 32) != 0 ? playerUiState.episodeIndex : index, (r62 & 64) != 0 ? playerUiState.playingState : null, (r62 & 128) != 0 ? playerUiState.thumbnailImageUrl : str, (r62 & 256) != 0 ? playerUiState.gradientImageUrl : str2, (r62 & 512) != 0 ? playerUiState.paywallImage : null, (r62 & 1024) != 0 ? playerUiState.isPlayLocked : isPlayLocked, (r62 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playerUiState.isVideoEpisode : z13, (r62 & TruecallerSdkScope.FOOTER_TYPE_LATER) != 0 ? playerUiState.isVideoPaywall : z14, (r62 & 8192) != 0 ? playerUiState.isFullScreenMode : false, (r62 & 16384) != 0 ? playerUiState.headPhoneConnectionState : null, (r62 & 32768) != 0 ? playerUiState.nComments : intValue2, (r62 & 65536) != 0 ? playerUiState.comment : null, (r62 & 131072) != 0 ? playerUiState.commentErrorMessage : null, (r62 & 262144) != 0 ? playerUiState.isUserPremium : false, (r62 & 524288) != 0 ? playerUiState.showAudioQualitySelector : false, (r62 & 1048576) != 0 ? playerUiState.availableAudioQualities : null, (r62 & 2097152) != 0 ? playerUiState.showUnlockFab : false, (r62 & 4194304) != 0 ? playerUiState.showUpsellFab : false, (r62 & 8388608) != 0 ? playerUiState.sleepTimerSlug : null, (r62 & 16777216) != 0 ? playerUiState.infographicIndicatorImage : null, (r62 & 33554432) != 0 ? playerUiState.infographicThumbnailImage : null, (r62 & 67108864) != 0 ? playerUiState.hasInfographicsAndInsights : false, (r62 & 134217728) != 0 ? playerUiState.infographicType : null, (r62 & 268435456) != 0 ? playerUiState.infographicId : null, (r62 & 536870912) != 0 ? playerUiState.showSubtitles : false, (r62 & 1073741824) != 0 ? playerUiState.isTransitionAudio : z15, (r62 & Integer.MIN_VALUE) != 0 ? playerUiState.isEpisodeCoinBased : false, (r63 & 1) != 0 ? playerUiState.isShowCoinBased : booleanValue, (r63 & 2) != 0 ? playerUiState.isPlayerAd : false, (r63 & 4) != 0 ? playerUiState.showTag : showTag, (r63 & 8) != 0 ? playerUiState.showTagBg : bgColor, (r63 & 16) != 0 ? playerUiState.showTagColor : (config322 != null || !config322.isCoinBasedMonetization() || playingShow == null || (showLabelInfo = playingShow.getShowLabelInfo()) == null) ? null : showLabelInfo.getTextColor(), (r63 & 32) != 0 ? playerUiState.nEpisodes : nEpisodes, (r63 & 64) != 0 ? playerUiState.settingsData : null, (r63 & 128) != 0 ? playerUiState.isVideoFullScreenDefault : false, (r63 & 256) != 0 ? playerUiState.showHeadphoneNudge : false, (r63 & 512) != 0 ? playerUiState.commentNudgeMessage : null, (r63 & 1024) != 0 ? playerUiState.showBackgroundPlayEnabledNudge : false, (r63 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playerUiState.isPlayPauseButtonIsInPauseState : false);
                    }
                    str2 = size_200;
                    if (playingShow != null) {
                    }
                    Config config422 = C1151e.f18010f;
                    if (config422 != null) {
                    }
                    Config config2222 = C1151e.f18010f;
                    if (config2222 != null) {
                    }
                    Config config3222 = C1151e.f18010f;
                    copy4 = playerUiState.copy((r62 & 1) != 0 ? playerUiState.showId : intValue3, (r62 & 2) != 0 ? playerUiState.show : show, (r62 & 4) != 0 ? playerUiState.episode : playingEpisode, (r62 & 8) != 0 ? playerUiState.episodeId : intValue, (r62 & 16) != 0 ? playerUiState.episodeTitle : str5, (r62 & 32) != 0 ? playerUiState.episodeIndex : index, (r62 & 64) != 0 ? playerUiState.playingState : null, (r62 & 128) != 0 ? playerUiState.thumbnailImageUrl : str, (r62 & 256) != 0 ? playerUiState.gradientImageUrl : str2, (r62 & 512) != 0 ? playerUiState.paywallImage : null, (r62 & 1024) != 0 ? playerUiState.isPlayLocked : isPlayLocked, (r62 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playerUiState.isVideoEpisode : z13, (r62 & TruecallerSdkScope.FOOTER_TYPE_LATER) != 0 ? playerUiState.isVideoPaywall : z14, (r62 & 8192) != 0 ? playerUiState.isFullScreenMode : false, (r62 & 16384) != 0 ? playerUiState.headPhoneConnectionState : null, (r62 & 32768) != 0 ? playerUiState.nComments : intValue2, (r62 & 65536) != 0 ? playerUiState.comment : null, (r62 & 131072) != 0 ? playerUiState.commentErrorMessage : null, (r62 & 262144) != 0 ? playerUiState.isUserPremium : false, (r62 & 524288) != 0 ? playerUiState.showAudioQualitySelector : false, (r62 & 1048576) != 0 ? playerUiState.availableAudioQualities : null, (r62 & 2097152) != 0 ? playerUiState.showUnlockFab : false, (r62 & 4194304) != 0 ? playerUiState.showUpsellFab : false, (r62 & 8388608) != 0 ? playerUiState.sleepTimerSlug : null, (r62 & 16777216) != 0 ? playerUiState.infographicIndicatorImage : null, (r62 & 33554432) != 0 ? playerUiState.infographicThumbnailImage : null, (r62 & 67108864) != 0 ? playerUiState.hasInfographicsAndInsights : false, (r62 & 134217728) != 0 ? playerUiState.infographicType : null, (r62 & 268435456) != 0 ? playerUiState.infographicId : null, (r62 & 536870912) != 0 ? playerUiState.showSubtitles : false, (r62 & 1073741824) != 0 ? playerUiState.isTransitionAudio : z15, (r62 & Integer.MIN_VALUE) != 0 ? playerUiState.isEpisodeCoinBased : false, (r63 & 1) != 0 ? playerUiState.isShowCoinBased : booleanValue, (r63 & 2) != 0 ? playerUiState.isPlayerAd : false, (r63 & 4) != 0 ? playerUiState.showTag : showTag, (r63 & 8) != 0 ? playerUiState.showTagBg : bgColor, (r63 & 16) != 0 ? playerUiState.showTagColor : (config3222 != null || !config3222.isCoinBasedMonetization() || playingShow == null || (showLabelInfo = playingShow.getShowLabelInfo()) == null) ? null : showLabelInfo.getTextColor(), (r63 & 32) != 0 ? playerUiState.nEpisodes : nEpisodes, (r63 & 64) != 0 ? playerUiState.settingsData : null, (r63 & 128) != 0 ? playerUiState.isVideoFullScreenDefault : false, (r63 & 256) != 0 ? playerUiState.showHeadphoneNudge : false, (r63 & 512) != 0 ? playerUiState.commentNudgeMessage : null, (r63 & 1024) != 0 ? playerUiState.showBackgroundPlayEnabledNudge : false, (r63 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playerUiState.isPlayPauseButtonIsInPauseState : false);
                } else {
                    f02 = f03;
                    obj3 = value3;
                    Integer id8 = playingEpisode.getId();
                    int intValue4 = id8 != null ? id8.intValue() : 0;
                    String title2 = playingEpisode.getTitle();
                    String str6 = title2 == null ? HttpUrl.FRAGMENT_ENCODE_SET : title2;
                    int index2 = playingEpisode.getIndex();
                    Integer nComments2 = playingEpisode.getNComments();
                    int intValue5 = nComments2 != null ? nComments2.intValue() : 0;
                    Config config5 = C1151e.f18010f;
                    if (config5 != null && config5.isCoinBasedMonetization()) {
                        if (playingShow != null ? Intrinsics.c(playingShow.isCoinedBased(), Boolean.TRUE) : false) {
                        }
                    }
                    Content content4 = playingEpisode.getContent();
                    if (content4 != null && content4.isVideo()) {
                        z10 = true;
                        boolean isPlayLocked2 = playingEpisode.isPlayLocked();
                        content = playingEpisode.getContent();
                        if (content != null && (premiumVideoUrl2 = content.getPremiumVideoUrl()) != null) {
                            if (!(premiumVideoUrl2.length() != 0)) {
                                z11 = true;
                                if (playingEpisode.isPlayLocked()) {
                                    Integer coinsToUnlock = playingEpisode.getCoinsToUnlock();
                                    if ((coinsToUnlock != null ? coinsToUnlock.intValue() : 0) > 0) {
                                        z12 = true;
                                        Boolean isPlayerAd = playingEpisode.isPlayerAd();
                                        boolean booleanValue2 = isPlayerAd == null ? isPlayerAd.booleanValue() : false;
                                        int intValue6 = (playingShow != null || (id4 = playingShow.getId()) == null) ? 0 : id4.intValue();
                                        if (pair != null) {
                                            show2 = playingShow;
                                        } else if (playingShow != null) {
                                            copy6 = playingShow.copy((r150 & 1) != 0 ? playingShow.f46040id : null, (r150 & 2) != 0 ? playingShow.slug : null, (r150 & 4) != 0 ? playingShow.title : null, (r150 & 8) != 0 ? playingShow.uri : null, (r150 & 16) != 0 ? playingShow.image : null, (r150 & 32) != 0 ? playingShow.language : null, (r150 & 64) != 0 ? playingShow.imageTags : null, (r150 & 128) != 0 ? playingShow.imageSizes : null, (r150 & 256) != 0 ? playingShow.publishedOn : null, (r150 & 512) != 0 ? playingShow.createdOn : null, (r150 & 1024) != 0 ? playingShow.lang : null, (r150 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playingShow.author : null, (r150 & TruecallerSdkScope.FOOTER_TYPE_LATER) != 0 ? playingShow.status : null, (r150 & 8192) != 0 ? playingShow.description : null, (r150 & 16384) != 0 ? playingShow.nContentUnits : null, (r150 & 32768) != 0 ? playingShow.nComments : null, (r150 & 65536) != 0 ? playingShow.contentType : null, (r150 & 131072) != 0 ? playingShow.subcontentTypes : null, (r150 & 262144) != 0 ? playingShow.genres : null, (r150 & 524288) != 0 ? playingShow.genre : null, (r150 & 1048576) != 0 ? playingShow.genreList : null, (r150 & 2097152) != 0 ? playingShow.verified : null, (r150 & 4194304) != 0 ? playingShow.credits : null, (r150 & 8388608) != 0 ? playingShow.type : null, (r150 & 16777216) != 0 ? playingShow.contributions : null, (r150 & 33554432) != 0 ? playingShow.isAdded : (Boolean) pair.f60919b, (r150 & 67108864) != 0 ? playingShow.shareMediaUrl : null, (r150 & 134217728) != 0 ? playingShow.cuDownloaded : null, (r150 & 268435456) != 0 ? playingShow.episodesDownloaded : null, (r150 & 536870912) != 0 ? playingShow.isSelf : null, (r150 & 1073741824) != 0 ? playingShow.isReverse : false, (r150 & Integer.MIN_VALUE) != 0 ? playingShow.pageNo : 0, (r151 & 1) != 0 ? playingShow.currentSeasonNo : 0, (r151 & 2) != 0 ? playingShow.hasMore : false, (r151 & 4) != 0 ? playingShow.nListens : null, (r151 & 8) != 0 ? playingShow.nReads : null, (r151 & 16) != 0 ? playingShow.resumeEpisode : null, (r151 & 32) != 0 ? playingShow.titleSecondary : null, (r151 & 64) != 0 ? playingShow.deepLink : null, (r151 & 128) != 0 ? playingShow.poweredBy : null, (r151 & 256) != 0 ? playingShow.coverType : null, (r151 & 512) != 0 ? playingShow.sharingText : null, (r151 & 1024) != 0 ? playingShow.newUnits : null, (r151 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playingShow.shareImageUrl : null, (r151 & TruecallerSdkScope.FOOTER_TYPE_LATER) != 0 ? playingShow.seoIndex : false, (r151 & 8192) != 0 ? playingShow.updatedOn : null, (r151 & 16384) != 0 ? playingShow.source : null, (r151 & 32768) != 0 ? playingShow.nEpisodes : 0, (r151 & 65536) != 0 ? playingShow.nSeasons : 0, (r151 & 131072) != 0 ? playingShow.nChapters : 0, (r151 & 262144) != 0 ? playingShow.nReviews : null, (r151 & 524288) != 0 ? playingShow.overallRating : null, (r151 & 1048576) != 0 ? playingShow.canDownloadAll : null, (r151 & 2097152) != 0 ? playingShow.mediaSize : null, (r151 & 4194304) != 0 ? playingShow.episodes : null, (r151 & 8388608) != 0 ? playingShow.isDownloaded : null, (r151 & 16777216) != 0 ? playingShow.trailer : null, (r151 & 33554432) != 0 ? playingShow.labels : null, (r151 & 67108864) != 0 ? playingShow.isTop10 : null, (r151 & 134217728) != 0 ? playingShow.completionStatus : null, (r151 & 268435456) != 0 ? playingShow.isDownloadedAll : null, (r151 & 536870912) != 0 ? playingShow.isIndependent : false, (r151 & 1073741824) != 0 ? playingShow.hashTags : null, (r151 & Integer.MIN_VALUE) != 0 ? playingShow.isDefaultCover : false, (r152 & 1) != 0 ? playingShow.sharingTextV2 : null, (r152 & 2) != 0 ? playingShow.isPremium : null, (r152 & 4) != 0 ? playingShow.rssUrl : null, (r152 & 8) != 0 ? playingShow.highlightText : null, (r152 & 16) != 0 ? playingShow.isAdEnabled : false, (r152 & 32) != 0 ? playingShow.isFictional : false, (r152 & 64) != 0 ? playingShow.searchMeta : null, (r152 & 128) != 0 ? playingShow.otherImages : null, (r152 & 256) != 0 ? playingShow.metaData : null, (r152 & 512) != 0 ? playingShow.isDailyUnlockEnabled : null, (r152 & 1024) != 0 ? playingShow.thumbnailColor : null, (r152 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playingShow.lastReadChapter : null, (r152 & TruecallerSdkScope.FOOTER_TYPE_LATER) != 0 ? playingShow.durationS : null, (r152 & 8192) != 0 ? playingShow.historyId : null, (r152 & 16384) != 0 ? playingShow.timestamp : null, (r152 & 32768) != 0 ? playingShow.paywallImage : null, (r152 & 65536) != 0 ? playingShow.lastUnlockedEpisodeIndex : null, (r152 & 131072) != 0 ? playingShow.firstLockedEpisodeTitle : null, (r152 & 262144) != 0 ? playingShow.isPlayLocked : false, (r152 & 524288) != 0 ? playingShow.infographicsDataArray : null, (r152 & 1048576) != 0 ? playingShow.insightsDataArray : null, (r152 & 2097152) != 0 ? playingShow.socialProofing : null, (r152 & 4194304) != 0 ? playingShow.review : null, (r152 & 8388608) != 0 ? playingShow.availableLanguages : null, (r152 & 16777216) != 0 ? playingShow.renewalNudge : null, (r152 & 33554432) != 0 ? playingShow.contentSource : null, (r152 & 67108864) != 0 ? playingShow.isRadio : null, (r152 & 134217728) != 0 ? playingShow.physicalBookData : null, (r152 & 268435456) != 0 ? playingShow.stickerText : null, (r152 & 536870912) != 0 ? playingShow.pinnedReview : null, (r152 & 1073741824) != 0 ? playingShow.tags : null, (r152 & Integer.MIN_VALUE) != 0 ? playingShow.transitionAudio : null, (r153 & 1) != 0 ? playingShow.isCoinedBased : null, (r153 & 2) != 0 ? playingShow.showLabelInfo : null, (r153 & 4) != 0 ? playingShow.snippet : null, (r153 & 8) != 0 ? playingShow.match : null, (r153 & 16) != 0 ? playingShow.isAddedLibrary : null, (r153 & 32) != 0 ? playingShow.isEncrypted : null, (r153 & 64) != 0 ? playingShow.autoPlay : false, (r153 & 128) != 0 ? playingShow.isCoinPremium : null, (r153 & 256) != 0 ? playingShow.coinsToUnlock : null, (r153 & 512) != 0 ? playingShow.showUnlockedNudgeText : null, (r153 & 1024) != 0 ? playingShow.unlockOffer : null, (r153 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playingShow.monetizationType : null, (r153 & TruecallerSdkScope.FOOTER_TYPE_LATER) != 0 ? playingShow.realEstateBanner : null, (r153 & 8192) != 0 ? playingShow.isReel : false, (r153 & 16384) != 0 ? playingShow.course : null, (r153 & 32768) != 0 ? playingShow.showChatBotUrl : null, (r153 & 65536) != 0 ? playingShow.isCommentsExposureEnabled : null, (r153 & 131072) != 0 ? playingShow.episodeUpdateFrequencyText : null, (r153 & 262144) != 0 ? playingShow.hideDownloadAllIcon : null, (r153 & 524288) != 0 ? playingShow.isReverseOrder : false, (r153 & 1048576) != 0 ? playingShow.userRating : null, (r153 & 2097152) != 0 ? playingShow.userReview : null, (r153 & 4194304) != 0 ? playingShow.reminder : null, (r153 & 8388608) != 0 ? playingShow.isShowPageSkip : null, (r153 & 16777216) != 0 ? playingShow.isServedMlt : null, (r153 & 33554432) != 0 ? playingShow.isAdultContent : false, (r153 & 67108864) != 0 ? playingShow.mltHls : null, (r153 & 134217728) != 0 ? playingShow.premiumBtnCtaText : null, (r153 & 268435456) != 0 ? playingShow.showType : null);
                                            show2 = copy6;
                                        } else {
                                            show2 = null;
                                        }
                                        int nEpisodes2 = playingShow == null ? playingShow.getNEpisodes() : 0;
                                        image = playingEpisode.getImage();
                                        if (image == null) {
                                            ImageSize imageSizes5 = playingEpisode.getImageSizes();
                                            image = imageSizes5 != null ? imageSizes5.getSize_300() : null;
                                            if (image == null) {
                                                str3 = HttpUrl.FRAGMENT_ENCODE_SET;
                                                imageSizes2 = playingEpisode.getImageSizes();
                                                if (imageSizes2 != null || (size_2002 = imageSizes2.getSize_100()) == null) {
                                                    ImageSize imageSizes6 = playingEpisode.getImageSizes();
                                                    size_2002 = imageSizes6 != null ? imageSizes6.getSize_200() : null;
                                                    if (size_2002 == null && (size_2002 = playingEpisode.getImage()) == null) {
                                                        str4 = HttpUrl.FRAGMENT_ENCODE_SET;
                                                        boolean booleanValue3 = (playingShow != null || (isCoinedBased2 = playingShow.isCoinedBased()) == null) ? false : isCoinedBased2.booleanValue();
                                                        Config config6 = C1151e.f18010f;
                                                        String showTag2 = ((config6 == null && config6.isCoinBasedMonetization()) || playingShow == null || (showLabelInfo6 = playingShow.getShowLabelInfo()) == null) ? null : showLabelInfo6.getShowTag();
                                                        Config config7 = C1151e.f18010f;
                                                        String bgColor2 = ((config7 == null && config7.isCoinBasedMonetization()) || playingShow == null || (showLabelInfo5 = playingShow.getShowLabelInfo()) == null) ? null : showLabelInfo5.getBgColor();
                                                        Config config8 = C1151e.f18010f;
                                                        copy4 = playerUiState.copy((r62 & 1) != 0 ? playerUiState.showId : intValue6, (r62 & 2) != 0 ? playerUiState.show : show2, (r62 & 4) != 0 ? playerUiState.episode : playingEpisode, (r62 & 8) != 0 ? playerUiState.episodeId : intValue4, (r62 & 16) != 0 ? playerUiState.episodeTitle : str6, (r62 & 32) != 0 ? playerUiState.episodeIndex : index2, (r62 & 64) != 0 ? playerUiState.playingState : null, (r62 & 128) != 0 ? playerUiState.thumbnailImageUrl : str3, (r62 & 256) != 0 ? playerUiState.gradientImageUrl : str4, (r62 & 512) != 0 ? playerUiState.paywallImage : null, (r62 & 1024) != 0 ? playerUiState.isPlayLocked : isPlayLocked2, (r62 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playerUiState.isVideoEpisode : z10, (r62 & TruecallerSdkScope.FOOTER_TYPE_LATER) != 0 ? playerUiState.isVideoPaywall : z11, (r62 & 8192) != 0 ? playerUiState.isFullScreenMode : false, (r62 & 16384) != 0 ? playerUiState.headPhoneConnectionState : null, (r62 & 32768) != 0 ? playerUiState.nComments : intValue5, (r62 & 65536) != 0 ? playerUiState.comment : null, (r62 & 131072) != 0 ? playerUiState.commentErrorMessage : null, (r62 & 262144) != 0 ? playerUiState.isUserPremium : false, (r62 & 524288) != 0 ? playerUiState.showAudioQualitySelector : false, (r62 & 1048576) != 0 ? playerUiState.availableAudioQualities : null, (r62 & 2097152) != 0 ? playerUiState.showUnlockFab : false, (r62 & 4194304) != 0 ? playerUiState.showUpsellFab : false, (r62 & 8388608) != 0 ? playerUiState.sleepTimerSlug : null, (r62 & 16777216) != 0 ? playerUiState.infographicIndicatorImage : null, (r62 & 33554432) != 0 ? playerUiState.infographicThumbnailImage : null, (r62 & 67108864) != 0 ? playerUiState.hasInfographicsAndInsights : false, (r62 & 134217728) != 0 ? playerUiState.infographicType : null, (r62 & 268435456) != 0 ? playerUiState.infographicId : null, (r62 & 536870912) != 0 ? playerUiState.showSubtitles : false, (r62 & 1073741824) != 0 ? playerUiState.isTransitionAudio : false, (r62 & Integer.MIN_VALUE) != 0 ? playerUiState.isEpisodeCoinBased : z12, (r63 & 1) != 0 ? playerUiState.isShowCoinBased : booleanValue3, (r63 & 2) != 0 ? playerUiState.isPlayerAd : booleanValue2, (r63 & 4) != 0 ? playerUiState.showTag : showTag2, (r63 & 8) != 0 ? playerUiState.showTagBg : bgColor2, (r63 & 16) != 0 ? playerUiState.showTagColor : ((config8 == null && config8.isCoinBasedMonetization()) || playingShow == null || (showLabelInfo4 = playingShow.getShowLabelInfo()) == null) ? null : showLabelInfo4.getTextColor(), (r63 & 32) != 0 ? playerUiState.nEpisodes : nEpisodes2, (r63 & 64) != 0 ? playerUiState.settingsData : null, (r63 & 128) != 0 ? playerUiState.isVideoFullScreenDefault : false, (r63 & 256) != 0 ? playerUiState.showHeadphoneNudge : false, (r63 & 512) != 0 ? playerUiState.commentNudgeMessage : null, (r63 & 1024) != 0 ? playerUiState.showBackgroundPlayEnabledNudge : false, (r63 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playerUiState.isPlayPauseButtonIsInPauseState : false);
                                                    }
                                                }
                                                str4 = size_2002;
                                                if (playingShow != null) {
                                                }
                                                Config config62 = C1151e.f18010f;
                                                if (config62 == null && config62.isCoinBasedMonetization()) {
                                                }
                                                Config config72 = C1151e.f18010f;
                                                if (config72 == null && config72.isCoinBasedMonetization()) {
                                                }
                                                Config config82 = C1151e.f18010f;
                                                copy4 = playerUiState.copy((r62 & 1) != 0 ? playerUiState.showId : intValue6, (r62 & 2) != 0 ? playerUiState.show : show2, (r62 & 4) != 0 ? playerUiState.episode : playingEpisode, (r62 & 8) != 0 ? playerUiState.episodeId : intValue4, (r62 & 16) != 0 ? playerUiState.episodeTitle : str6, (r62 & 32) != 0 ? playerUiState.episodeIndex : index2, (r62 & 64) != 0 ? playerUiState.playingState : null, (r62 & 128) != 0 ? playerUiState.thumbnailImageUrl : str3, (r62 & 256) != 0 ? playerUiState.gradientImageUrl : str4, (r62 & 512) != 0 ? playerUiState.paywallImage : null, (r62 & 1024) != 0 ? playerUiState.isPlayLocked : isPlayLocked2, (r62 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playerUiState.isVideoEpisode : z10, (r62 & TruecallerSdkScope.FOOTER_TYPE_LATER) != 0 ? playerUiState.isVideoPaywall : z11, (r62 & 8192) != 0 ? playerUiState.isFullScreenMode : false, (r62 & 16384) != 0 ? playerUiState.headPhoneConnectionState : null, (r62 & 32768) != 0 ? playerUiState.nComments : intValue5, (r62 & 65536) != 0 ? playerUiState.comment : null, (r62 & 131072) != 0 ? playerUiState.commentErrorMessage : null, (r62 & 262144) != 0 ? playerUiState.isUserPremium : false, (r62 & 524288) != 0 ? playerUiState.showAudioQualitySelector : false, (r62 & 1048576) != 0 ? playerUiState.availableAudioQualities : null, (r62 & 2097152) != 0 ? playerUiState.showUnlockFab : false, (r62 & 4194304) != 0 ? playerUiState.showUpsellFab : false, (r62 & 8388608) != 0 ? playerUiState.sleepTimerSlug : null, (r62 & 16777216) != 0 ? playerUiState.infographicIndicatorImage : null, (r62 & 33554432) != 0 ? playerUiState.infographicThumbnailImage : null, (r62 & 67108864) != 0 ? playerUiState.hasInfographicsAndInsights : false, (r62 & 134217728) != 0 ? playerUiState.infographicType : null, (r62 & 268435456) != 0 ? playerUiState.infographicId : null, (r62 & 536870912) != 0 ? playerUiState.showSubtitles : false, (r62 & 1073741824) != 0 ? playerUiState.isTransitionAudio : false, (r62 & Integer.MIN_VALUE) != 0 ? playerUiState.isEpisodeCoinBased : z12, (r63 & 1) != 0 ? playerUiState.isShowCoinBased : booleanValue3, (r63 & 2) != 0 ? playerUiState.isPlayerAd : booleanValue2, (r63 & 4) != 0 ? playerUiState.showTag : showTag2, (r63 & 8) != 0 ? playerUiState.showTagBg : bgColor2, (r63 & 16) != 0 ? playerUiState.showTagColor : ((config82 == null && config82.isCoinBasedMonetization()) || playingShow == null || (showLabelInfo4 = playingShow.getShowLabelInfo()) == null) ? null : showLabelInfo4.getTextColor(), (r63 & 32) != 0 ? playerUiState.nEpisodes : nEpisodes2, (r63 & 64) != 0 ? playerUiState.settingsData : null, (r63 & 128) != 0 ? playerUiState.isVideoFullScreenDefault : false, (r63 & 256) != 0 ? playerUiState.showHeadphoneNudge : false, (r63 & 512) != 0 ? playerUiState.commentNudgeMessage : null, (r63 & 1024) != 0 ? playerUiState.showBackgroundPlayEnabledNudge : false, (r63 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playerUiState.isPlayPauseButtonIsInPauseState : false);
                                            }
                                        }
                                        str3 = image;
                                        imageSizes2 = playingEpisode.getImageSizes();
                                        if (imageSizes2 != null) {
                                        }
                                        ImageSize imageSizes62 = playingEpisode.getImageSizes();
                                        if (imageSizes62 != null) {
                                        }
                                        if (size_2002 == null) {
                                            str4 = HttpUrl.FRAGMENT_ENCODE_SET;
                                            if (playingShow != null) {
                                            }
                                            Config config622 = C1151e.f18010f;
                                            if (config622 == null && config622.isCoinBasedMonetization()) {
                                            }
                                            Config config722 = C1151e.f18010f;
                                            if (config722 == null && config722.isCoinBasedMonetization()) {
                                            }
                                            Config config822 = C1151e.f18010f;
                                            copy4 = playerUiState.copy((r62 & 1) != 0 ? playerUiState.showId : intValue6, (r62 & 2) != 0 ? playerUiState.show : show2, (r62 & 4) != 0 ? playerUiState.episode : playingEpisode, (r62 & 8) != 0 ? playerUiState.episodeId : intValue4, (r62 & 16) != 0 ? playerUiState.episodeTitle : str6, (r62 & 32) != 0 ? playerUiState.episodeIndex : index2, (r62 & 64) != 0 ? playerUiState.playingState : null, (r62 & 128) != 0 ? playerUiState.thumbnailImageUrl : str3, (r62 & 256) != 0 ? playerUiState.gradientImageUrl : str4, (r62 & 512) != 0 ? playerUiState.paywallImage : null, (r62 & 1024) != 0 ? playerUiState.isPlayLocked : isPlayLocked2, (r62 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playerUiState.isVideoEpisode : z10, (r62 & TruecallerSdkScope.FOOTER_TYPE_LATER) != 0 ? playerUiState.isVideoPaywall : z11, (r62 & 8192) != 0 ? playerUiState.isFullScreenMode : false, (r62 & 16384) != 0 ? playerUiState.headPhoneConnectionState : null, (r62 & 32768) != 0 ? playerUiState.nComments : intValue5, (r62 & 65536) != 0 ? playerUiState.comment : null, (r62 & 131072) != 0 ? playerUiState.commentErrorMessage : null, (r62 & 262144) != 0 ? playerUiState.isUserPremium : false, (r62 & 524288) != 0 ? playerUiState.showAudioQualitySelector : false, (r62 & 1048576) != 0 ? playerUiState.availableAudioQualities : null, (r62 & 2097152) != 0 ? playerUiState.showUnlockFab : false, (r62 & 4194304) != 0 ? playerUiState.showUpsellFab : false, (r62 & 8388608) != 0 ? playerUiState.sleepTimerSlug : null, (r62 & 16777216) != 0 ? playerUiState.infographicIndicatorImage : null, (r62 & 33554432) != 0 ? playerUiState.infographicThumbnailImage : null, (r62 & 67108864) != 0 ? playerUiState.hasInfographicsAndInsights : false, (r62 & 134217728) != 0 ? playerUiState.infographicType : null, (r62 & 268435456) != 0 ? playerUiState.infographicId : null, (r62 & 536870912) != 0 ? playerUiState.showSubtitles : false, (r62 & 1073741824) != 0 ? playerUiState.isTransitionAudio : false, (r62 & Integer.MIN_VALUE) != 0 ? playerUiState.isEpisodeCoinBased : z12, (r63 & 1) != 0 ? playerUiState.isShowCoinBased : booleanValue3, (r63 & 2) != 0 ? playerUiState.isPlayerAd : booleanValue2, (r63 & 4) != 0 ? playerUiState.showTag : showTag2, (r63 & 8) != 0 ? playerUiState.showTagBg : bgColor2, (r63 & 16) != 0 ? playerUiState.showTagColor : ((config822 == null && config822.isCoinBasedMonetization()) || playingShow == null || (showLabelInfo4 = playingShow.getShowLabelInfo()) == null) ? null : showLabelInfo4.getTextColor(), (r63 & 32) != 0 ? playerUiState.nEpisodes : nEpisodes2, (r63 & 64) != 0 ? playerUiState.settingsData : null, (r63 & 128) != 0 ? playerUiState.isVideoFullScreenDefault : false, (r63 & 256) != 0 ? playerUiState.showHeadphoneNudge : false, (r63 & 512) != 0 ? playerUiState.commentNudgeMessage : null, (r63 & 1024) != 0 ? playerUiState.showBackgroundPlayEnabledNudge : false, (r63 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playerUiState.isPlayPauseButtonIsInPauseState : false);
                                        }
                                        str4 = size_2002;
                                        if (playingShow != null) {
                                        }
                                        Config config6222 = C1151e.f18010f;
                                        if (config6222 == null && config6222.isCoinBasedMonetization()) {
                                        }
                                        Config config7222 = C1151e.f18010f;
                                        if (config7222 == null && config7222.isCoinBasedMonetization()) {
                                        }
                                        Config config8222 = C1151e.f18010f;
                                        copy4 = playerUiState.copy((r62 & 1) != 0 ? playerUiState.showId : intValue6, (r62 & 2) != 0 ? playerUiState.show : show2, (r62 & 4) != 0 ? playerUiState.episode : playingEpisode, (r62 & 8) != 0 ? playerUiState.episodeId : intValue4, (r62 & 16) != 0 ? playerUiState.episodeTitle : str6, (r62 & 32) != 0 ? playerUiState.episodeIndex : index2, (r62 & 64) != 0 ? playerUiState.playingState : null, (r62 & 128) != 0 ? playerUiState.thumbnailImageUrl : str3, (r62 & 256) != 0 ? playerUiState.gradientImageUrl : str4, (r62 & 512) != 0 ? playerUiState.paywallImage : null, (r62 & 1024) != 0 ? playerUiState.isPlayLocked : isPlayLocked2, (r62 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playerUiState.isVideoEpisode : z10, (r62 & TruecallerSdkScope.FOOTER_TYPE_LATER) != 0 ? playerUiState.isVideoPaywall : z11, (r62 & 8192) != 0 ? playerUiState.isFullScreenMode : false, (r62 & 16384) != 0 ? playerUiState.headPhoneConnectionState : null, (r62 & 32768) != 0 ? playerUiState.nComments : intValue5, (r62 & 65536) != 0 ? playerUiState.comment : null, (r62 & 131072) != 0 ? playerUiState.commentErrorMessage : null, (r62 & 262144) != 0 ? playerUiState.isUserPremium : false, (r62 & 524288) != 0 ? playerUiState.showAudioQualitySelector : false, (r62 & 1048576) != 0 ? playerUiState.availableAudioQualities : null, (r62 & 2097152) != 0 ? playerUiState.showUnlockFab : false, (r62 & 4194304) != 0 ? playerUiState.showUpsellFab : false, (r62 & 8388608) != 0 ? playerUiState.sleepTimerSlug : null, (r62 & 16777216) != 0 ? playerUiState.infographicIndicatorImage : null, (r62 & 33554432) != 0 ? playerUiState.infographicThumbnailImage : null, (r62 & 67108864) != 0 ? playerUiState.hasInfographicsAndInsights : false, (r62 & 134217728) != 0 ? playerUiState.infographicType : null, (r62 & 268435456) != 0 ? playerUiState.infographicId : null, (r62 & 536870912) != 0 ? playerUiState.showSubtitles : false, (r62 & 1073741824) != 0 ? playerUiState.isTransitionAudio : false, (r62 & Integer.MIN_VALUE) != 0 ? playerUiState.isEpisodeCoinBased : z12, (r63 & 1) != 0 ? playerUiState.isShowCoinBased : booleanValue3, (r63 & 2) != 0 ? playerUiState.isPlayerAd : booleanValue2, (r63 & 4) != 0 ? playerUiState.showTag : showTag2, (r63 & 8) != 0 ? playerUiState.showTagBg : bgColor2, (r63 & 16) != 0 ? playerUiState.showTagColor : ((config8222 == null && config8222.isCoinBasedMonetization()) || playingShow == null || (showLabelInfo4 = playingShow.getShowLabelInfo()) == null) ? null : showLabelInfo4.getTextColor(), (r63 & 32) != 0 ? playerUiState.nEpisodes : nEpisodes2, (r63 & 64) != 0 ? playerUiState.settingsData : null, (r63 & 128) != 0 ? playerUiState.isVideoFullScreenDefault : false, (r63 & 256) != 0 ? playerUiState.showHeadphoneNudge : false, (r63 & 512) != 0 ? playerUiState.commentNudgeMessage : null, (r63 & 1024) != 0 ? playerUiState.showBackgroundPlayEnabledNudge : false, (r63 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playerUiState.isPlayPauseButtonIsInPauseState : false);
                                    }
                                }
                                z12 = false;
                                Boolean isPlayerAd2 = playingEpisode.isPlayerAd();
                                if (isPlayerAd2 == null) {
                                }
                                if (playingShow != null) {
                                }
                                if (pair != null) {
                                }
                                if (playingShow == null) {
                                }
                                image = playingEpisode.getImage();
                                if (image == null) {
                                }
                                str3 = image;
                                imageSizes2 = playingEpisode.getImageSizes();
                                if (imageSizes2 != null) {
                                }
                                ImageSize imageSizes622 = playingEpisode.getImageSizes();
                                if (imageSizes622 != null) {
                                }
                                if (size_2002 == null) {
                                }
                                str4 = size_2002;
                                if (playingShow != null) {
                                }
                                Config config62222 = C1151e.f18010f;
                                if (config62222 == null && config62222.isCoinBasedMonetization()) {
                                }
                                Config config72222 = C1151e.f18010f;
                                if (config72222 == null && config72222.isCoinBasedMonetization()) {
                                }
                                Config config82222 = C1151e.f18010f;
                                copy4 = playerUiState.copy((r62 & 1) != 0 ? playerUiState.showId : intValue6, (r62 & 2) != 0 ? playerUiState.show : show2, (r62 & 4) != 0 ? playerUiState.episode : playingEpisode, (r62 & 8) != 0 ? playerUiState.episodeId : intValue4, (r62 & 16) != 0 ? playerUiState.episodeTitle : str6, (r62 & 32) != 0 ? playerUiState.episodeIndex : index2, (r62 & 64) != 0 ? playerUiState.playingState : null, (r62 & 128) != 0 ? playerUiState.thumbnailImageUrl : str3, (r62 & 256) != 0 ? playerUiState.gradientImageUrl : str4, (r62 & 512) != 0 ? playerUiState.paywallImage : null, (r62 & 1024) != 0 ? playerUiState.isPlayLocked : isPlayLocked2, (r62 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playerUiState.isVideoEpisode : z10, (r62 & TruecallerSdkScope.FOOTER_TYPE_LATER) != 0 ? playerUiState.isVideoPaywall : z11, (r62 & 8192) != 0 ? playerUiState.isFullScreenMode : false, (r62 & 16384) != 0 ? playerUiState.headPhoneConnectionState : null, (r62 & 32768) != 0 ? playerUiState.nComments : intValue5, (r62 & 65536) != 0 ? playerUiState.comment : null, (r62 & 131072) != 0 ? playerUiState.commentErrorMessage : null, (r62 & 262144) != 0 ? playerUiState.isUserPremium : false, (r62 & 524288) != 0 ? playerUiState.showAudioQualitySelector : false, (r62 & 1048576) != 0 ? playerUiState.availableAudioQualities : null, (r62 & 2097152) != 0 ? playerUiState.showUnlockFab : false, (r62 & 4194304) != 0 ? playerUiState.showUpsellFab : false, (r62 & 8388608) != 0 ? playerUiState.sleepTimerSlug : null, (r62 & 16777216) != 0 ? playerUiState.infographicIndicatorImage : null, (r62 & 33554432) != 0 ? playerUiState.infographicThumbnailImage : null, (r62 & 67108864) != 0 ? playerUiState.hasInfographicsAndInsights : false, (r62 & 134217728) != 0 ? playerUiState.infographicType : null, (r62 & 268435456) != 0 ? playerUiState.infographicId : null, (r62 & 536870912) != 0 ? playerUiState.showSubtitles : false, (r62 & 1073741824) != 0 ? playerUiState.isTransitionAudio : false, (r62 & Integer.MIN_VALUE) != 0 ? playerUiState.isEpisodeCoinBased : z12, (r63 & 1) != 0 ? playerUiState.isShowCoinBased : booleanValue3, (r63 & 2) != 0 ? playerUiState.isPlayerAd : booleanValue2, (r63 & 4) != 0 ? playerUiState.showTag : showTag2, (r63 & 8) != 0 ? playerUiState.showTagBg : bgColor2, (r63 & 16) != 0 ? playerUiState.showTagColor : ((config82222 == null && config82222.isCoinBasedMonetization()) || playingShow == null || (showLabelInfo4 = playingShow.getShowLabelInfo()) == null) ? null : showLabelInfo4.getTextColor(), (r63 & 32) != 0 ? playerUiState.nEpisodes : nEpisodes2, (r63 & 64) != 0 ? playerUiState.settingsData : null, (r63 & 128) != 0 ? playerUiState.isVideoFullScreenDefault : false, (r63 & 256) != 0 ? playerUiState.showHeadphoneNudge : false, (r63 & 512) != 0 ? playerUiState.commentNudgeMessage : null, (r63 & 1024) != 0 ? playerUiState.showBackgroundPlayEnabledNudge : false, (r63 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playerUiState.isPlayPauseButtonIsInPauseState : false);
                            }
                        }
                        z11 = false;
                        if (playingEpisode.isPlayLocked()) {
                        }
                        z12 = false;
                        Boolean isPlayerAd22 = playingEpisode.isPlayerAd();
                        if (isPlayerAd22 == null) {
                        }
                        if (playingShow != null) {
                        }
                        if (pair != null) {
                        }
                        if (playingShow == null) {
                        }
                        image = playingEpisode.getImage();
                        if (image == null) {
                        }
                        str3 = image;
                        imageSizes2 = playingEpisode.getImageSizes();
                        if (imageSizes2 != null) {
                        }
                        ImageSize imageSizes6222 = playingEpisode.getImageSizes();
                        if (imageSizes6222 != null) {
                        }
                        if (size_2002 == null) {
                        }
                        str4 = size_2002;
                        if (playingShow != null) {
                        }
                        Config config622222 = C1151e.f18010f;
                        if (config622222 == null && config622222.isCoinBasedMonetization()) {
                        }
                        Config config722222 = C1151e.f18010f;
                        if (config722222 == null && config722222.isCoinBasedMonetization()) {
                        }
                        Config config822222 = C1151e.f18010f;
                        copy4 = playerUiState.copy((r62 & 1) != 0 ? playerUiState.showId : intValue6, (r62 & 2) != 0 ? playerUiState.show : show2, (r62 & 4) != 0 ? playerUiState.episode : playingEpisode, (r62 & 8) != 0 ? playerUiState.episodeId : intValue4, (r62 & 16) != 0 ? playerUiState.episodeTitle : str6, (r62 & 32) != 0 ? playerUiState.episodeIndex : index2, (r62 & 64) != 0 ? playerUiState.playingState : null, (r62 & 128) != 0 ? playerUiState.thumbnailImageUrl : str3, (r62 & 256) != 0 ? playerUiState.gradientImageUrl : str4, (r62 & 512) != 0 ? playerUiState.paywallImage : null, (r62 & 1024) != 0 ? playerUiState.isPlayLocked : isPlayLocked2, (r62 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playerUiState.isVideoEpisode : z10, (r62 & TruecallerSdkScope.FOOTER_TYPE_LATER) != 0 ? playerUiState.isVideoPaywall : z11, (r62 & 8192) != 0 ? playerUiState.isFullScreenMode : false, (r62 & 16384) != 0 ? playerUiState.headPhoneConnectionState : null, (r62 & 32768) != 0 ? playerUiState.nComments : intValue5, (r62 & 65536) != 0 ? playerUiState.comment : null, (r62 & 131072) != 0 ? playerUiState.commentErrorMessage : null, (r62 & 262144) != 0 ? playerUiState.isUserPremium : false, (r62 & 524288) != 0 ? playerUiState.showAudioQualitySelector : false, (r62 & 1048576) != 0 ? playerUiState.availableAudioQualities : null, (r62 & 2097152) != 0 ? playerUiState.showUnlockFab : false, (r62 & 4194304) != 0 ? playerUiState.showUpsellFab : false, (r62 & 8388608) != 0 ? playerUiState.sleepTimerSlug : null, (r62 & 16777216) != 0 ? playerUiState.infographicIndicatorImage : null, (r62 & 33554432) != 0 ? playerUiState.infographicThumbnailImage : null, (r62 & 67108864) != 0 ? playerUiState.hasInfographicsAndInsights : false, (r62 & 134217728) != 0 ? playerUiState.infographicType : null, (r62 & 268435456) != 0 ? playerUiState.infographicId : null, (r62 & 536870912) != 0 ? playerUiState.showSubtitles : false, (r62 & 1073741824) != 0 ? playerUiState.isTransitionAudio : false, (r62 & Integer.MIN_VALUE) != 0 ? playerUiState.isEpisodeCoinBased : z12, (r63 & 1) != 0 ? playerUiState.isShowCoinBased : booleanValue3, (r63 & 2) != 0 ? playerUiState.isPlayerAd : booleanValue2, (r63 & 4) != 0 ? playerUiState.showTag : showTag2, (r63 & 8) != 0 ? playerUiState.showTagBg : bgColor2, (r63 & 16) != 0 ? playerUiState.showTagColor : ((config822222 == null && config822222.isCoinBasedMonetization()) || playingShow == null || (showLabelInfo4 = playingShow.getShowLabelInfo()) == null) ? null : showLabelInfo4.getTextColor(), (r63 & 32) != 0 ? playerUiState.nEpisodes : nEpisodes2, (r63 & 64) != 0 ? playerUiState.settingsData : null, (r63 & 128) != 0 ? playerUiState.isVideoFullScreenDefault : false, (r63 & 256) != 0 ? playerUiState.showHeadphoneNudge : false, (r63 & 512) != 0 ? playerUiState.commentNudgeMessage : null, (r63 & 1024) != 0 ? playerUiState.showBackgroundPlayEnabledNudge : false, (r63 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playerUiState.isPlayPauseButtonIsInPauseState : false);
                    }
                    z10 = false;
                    boolean isPlayLocked22 = playingEpisode.isPlayLocked();
                    content = playingEpisode.getContent();
                    if (content != null) {
                        if (!(premiumVideoUrl2.length() != 0)) {
                        }
                    }
                    z11 = false;
                    if (playingEpisode.isPlayLocked()) {
                    }
                    z12 = false;
                    Boolean isPlayerAd222 = playingEpisode.isPlayerAd();
                    if (isPlayerAd222 == null) {
                    }
                    if (playingShow != null) {
                    }
                    if (pair != null) {
                    }
                    if (playingShow == null) {
                    }
                    image = playingEpisode.getImage();
                    if (image == null) {
                    }
                    str3 = image;
                    imageSizes2 = playingEpisode.getImageSizes();
                    if (imageSizes2 != null) {
                    }
                    ImageSize imageSizes62222 = playingEpisode.getImageSizes();
                    if (imageSizes62222 != null) {
                    }
                    if (size_2002 == null) {
                    }
                    str4 = size_2002;
                    if (playingShow != null) {
                    }
                    Config config6222222 = C1151e.f18010f;
                    if (config6222222 == null && config6222222.isCoinBasedMonetization()) {
                    }
                    Config config7222222 = C1151e.f18010f;
                    if (config7222222 == null && config7222222.isCoinBasedMonetization()) {
                    }
                    Config config8222222 = C1151e.f18010f;
                    copy4 = playerUiState.copy((r62 & 1) != 0 ? playerUiState.showId : intValue6, (r62 & 2) != 0 ? playerUiState.show : show2, (r62 & 4) != 0 ? playerUiState.episode : playingEpisode, (r62 & 8) != 0 ? playerUiState.episodeId : intValue4, (r62 & 16) != 0 ? playerUiState.episodeTitle : str6, (r62 & 32) != 0 ? playerUiState.episodeIndex : index2, (r62 & 64) != 0 ? playerUiState.playingState : null, (r62 & 128) != 0 ? playerUiState.thumbnailImageUrl : str3, (r62 & 256) != 0 ? playerUiState.gradientImageUrl : str4, (r62 & 512) != 0 ? playerUiState.paywallImage : null, (r62 & 1024) != 0 ? playerUiState.isPlayLocked : isPlayLocked22, (r62 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playerUiState.isVideoEpisode : z10, (r62 & TruecallerSdkScope.FOOTER_TYPE_LATER) != 0 ? playerUiState.isVideoPaywall : z11, (r62 & 8192) != 0 ? playerUiState.isFullScreenMode : false, (r62 & 16384) != 0 ? playerUiState.headPhoneConnectionState : null, (r62 & 32768) != 0 ? playerUiState.nComments : intValue5, (r62 & 65536) != 0 ? playerUiState.comment : null, (r62 & 131072) != 0 ? playerUiState.commentErrorMessage : null, (r62 & 262144) != 0 ? playerUiState.isUserPremium : false, (r62 & 524288) != 0 ? playerUiState.showAudioQualitySelector : false, (r62 & 1048576) != 0 ? playerUiState.availableAudioQualities : null, (r62 & 2097152) != 0 ? playerUiState.showUnlockFab : false, (r62 & 4194304) != 0 ? playerUiState.showUpsellFab : false, (r62 & 8388608) != 0 ? playerUiState.sleepTimerSlug : null, (r62 & 16777216) != 0 ? playerUiState.infographicIndicatorImage : null, (r62 & 33554432) != 0 ? playerUiState.infographicThumbnailImage : null, (r62 & 67108864) != 0 ? playerUiState.hasInfographicsAndInsights : false, (r62 & 134217728) != 0 ? playerUiState.infographicType : null, (r62 & 268435456) != 0 ? playerUiState.infographicId : null, (r62 & 536870912) != 0 ? playerUiState.showSubtitles : false, (r62 & 1073741824) != 0 ? playerUiState.isTransitionAudio : false, (r62 & Integer.MIN_VALUE) != 0 ? playerUiState.isEpisodeCoinBased : z12, (r63 & 1) != 0 ? playerUiState.isShowCoinBased : booleanValue3, (r63 & 2) != 0 ? playerUiState.isPlayerAd : booleanValue2, (r63 & 4) != 0 ? playerUiState.showTag : showTag2, (r63 & 8) != 0 ? playerUiState.showTagBg : bgColor2, (r63 & 16) != 0 ? playerUiState.showTagColor : ((config8222222 == null && config8222222.isCoinBasedMonetization()) || playingShow == null || (showLabelInfo4 = playingShow.getShowLabelInfo()) == null) ? null : showLabelInfo4.getTextColor(), (r63 & 32) != 0 ? playerUiState.nEpisodes : nEpisodes2, (r63 & 64) != 0 ? playerUiState.settingsData : null, (r63 & 128) != 0 ? playerUiState.isVideoFullScreenDefault : false, (r63 & 256) != 0 ? playerUiState.showHeadphoneNudge : false, (r63 & 512) != 0 ? playerUiState.commentNudgeMessage : null, (r63 & 1024) != 0 ? playerUiState.showBackgroundPlayEnabledNudge : false, (r63 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? playerUiState.isPlayPauseButtonIsInPauseState : false);
                }
                if (f02.l(obj3, copy4)) {
                    break;
                }
                i10 = -1;
            }
            Unit unit = Unit.f60920a;
        } else {
            viewModel.getClass();
        }
        R0 viewModel2 = playerActivity.getViewModel();
        viewModel2.getClass();
        if (playingShow != null && playingEpisode != null) {
            AbstractC0778p.w(i0.k(viewModel2), null, null, new P0(viewModel2, playingEpisode, playingShow, null), 3);
        }
        R0 viewModel3 = playerActivity.getViewModel();
        viewModel3.getClass();
        V2.a k10 = i0.k(viewModel3);
        Sp.f fVar = Kp.V.f12364a;
        AbstractC0778p.w(k10, Sp.e.f20223c, null, new t0(viewModel3, playingEpisode, playingShow, null), 2);
        R0 viewModel4 = playerActivity.getViewModel();
        viewModel4.getClass();
        AbstractC0778p.w(i0.k(viewModel4), null, null, new B0(playingEpisode, viewModel4, null), 3);
        R0 viewModel5 = playerActivity.getViewModel();
        viewModel5.getClass();
        Ai.p pVar = KukuFMApplication.f45447x;
        User t10 = io.sentry.config.d.t(pVar);
        if ((t10 == null || !t10.isPremium()) && playingShow != null && !Intrinsics.c(playingShow.isCoinedBased(), Boolean.TRUE)) {
            String string = pVar.B().h().f70752a.f20982a.getString("previous_show_in_autoplay", null);
            if ((AbstractC7140a.d(string) ? null : (Show) new com.google.gson.d().c(Show.class, string)) == null || !Pk.j.a("sell_show_in_autoplay_d0")) {
                int nEpisodes3 = playingShow.getNEpisodes();
                F0 f04 = viewModel5.f40347j0;
                if (nEpisodes3 > 1) {
                    do {
                        value2 = f04.getValue();
                        copy2 = r12.copy((r62 & 1) != 0 ? r12.showId : 0, (r62 & 2) != 0 ? r12.show : null, (r62 & 4) != 0 ? r12.episode : null, (r62 & 8) != 0 ? r12.episodeId : 0, (r62 & 16) != 0 ? r12.episodeTitle : null, (r62 & 32) != 0 ? r12.episodeIndex : 0, (r62 & 64) != 0 ? r12.playingState : null, (r62 & 128) != 0 ? r12.thumbnailImageUrl : null, (r62 & 256) != 0 ? r12.gradientImageUrl : null, (r62 & 512) != 0 ? r12.paywallImage : null, (r62 & 1024) != 0 ? r12.isPlayLocked : false, (r62 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? r12.isVideoEpisode : false, (r62 & TruecallerSdkScope.FOOTER_TYPE_LATER) != 0 ? r12.isVideoPaywall : false, (r62 & 8192) != 0 ? r12.isFullScreenMode : false, (r62 & 16384) != 0 ? r12.headPhoneConnectionState : null, (r62 & 32768) != 0 ? r12.nComments : 0, (r62 & 65536) != 0 ? r12.comment : null, (r62 & 131072) != 0 ? r12.commentErrorMessage : null, (r62 & 262144) != 0 ? r12.isUserPremium : false, (r62 & 524288) != 0 ? r12.showAudioQualitySelector : false, (r62 & 1048576) != 0 ? r12.availableAudioQualities : null, (r62 & 2097152) != 0 ? r12.showUnlockFab : true, (r62 & 4194304) != 0 ? r12.showUpsellFab : false, (r62 & 8388608) != 0 ? r12.sleepTimerSlug : null, (r62 & 16777216) != 0 ? r12.infographicIndicatorImage : null, (r62 & 33554432) != 0 ? r12.infographicThumbnailImage : null, (r62 & 67108864) != 0 ? r12.hasInfographicsAndInsights : false, (r62 & 134217728) != 0 ? r12.infographicType : null, (r62 & 268435456) != 0 ? r12.infographicId : null, (r62 & 536870912) != 0 ? r12.showSubtitles : false, (r62 & 1073741824) != 0 ? r12.isTransitionAudio : false, (r62 & Integer.MIN_VALUE) != 0 ? r12.isEpisodeCoinBased : false, (r63 & 1) != 0 ? r12.isShowCoinBased : false, (r63 & 2) != 0 ? r12.isPlayerAd : false, (r63 & 4) != 0 ? r12.showTag : null, (r63 & 8) != 0 ? r12.showTagBg : null, (r63 & 16) != 0 ? r12.showTagColor : null, (r63 & 32) != 0 ? r12.nEpisodes : 0, (r63 & 64) != 0 ? r12.settingsData : null, (r63 & 128) != 0 ? r12.isVideoFullScreenDefault : false, (r63 & 256) != 0 ? r12.showHeadphoneNudge : false, (r63 & 512) != 0 ? r12.commentNudgeMessage : null, (r63 & 1024) != 0 ? r12.showBackgroundPlayEnabledNudge : false, (r63 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? ((PlayerUiState) value2).isPlayPauseButtonIsInPauseState : false);
                    } while (!f04.l(value2, copy2));
                } else {
                    do {
                        value = f04.getValue();
                        copy = r12.copy((r62 & 1) != 0 ? r12.showId : 0, (r62 & 2) != 0 ? r12.show : null, (r62 & 4) != 0 ? r12.episode : null, (r62 & 8) != 0 ? r12.episodeId : 0, (r62 & 16) != 0 ? r12.episodeTitle : null, (r62 & 32) != 0 ? r12.episodeIndex : 0, (r62 & 64) != 0 ? r12.playingState : null, (r62 & 128) != 0 ? r12.thumbnailImageUrl : null, (r62 & 256) != 0 ? r12.gradientImageUrl : null, (r62 & 512) != 0 ? r12.paywallImage : null, (r62 & 1024) != 0 ? r12.isPlayLocked : false, (r62 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? r12.isVideoEpisode : false, (r62 & TruecallerSdkScope.FOOTER_TYPE_LATER) != 0 ? r12.isVideoPaywall : false, (r62 & 8192) != 0 ? r12.isFullScreenMode : false, (r62 & 16384) != 0 ? r12.headPhoneConnectionState : null, (r62 & 32768) != 0 ? r12.nComments : 0, (r62 & 65536) != 0 ? r12.comment : null, (r62 & 131072) != 0 ? r12.commentErrorMessage : null, (r62 & 262144) != 0 ? r12.isUserPremium : false, (r62 & 524288) != 0 ? r12.showAudioQualitySelector : false, (r62 & 1048576) != 0 ? r12.availableAudioQualities : null, (r62 & 2097152) != 0 ? r12.showUnlockFab : false, (r62 & 4194304) != 0 ? r12.showUpsellFab : false, (r62 & 8388608) != 0 ? r12.sleepTimerSlug : null, (r62 & 16777216) != 0 ? r12.infographicIndicatorImage : null, (r62 & 33554432) != 0 ? r12.infographicThumbnailImage : null, (r62 & 67108864) != 0 ? r12.hasInfographicsAndInsights : false, (r62 & 134217728) != 0 ? r12.infographicType : null, (r62 & 268435456) != 0 ? r12.infographicId : null, (r62 & 536870912) != 0 ? r12.showSubtitles : false, (r62 & 1073741824) != 0 ? r12.isTransitionAudio : false, (r62 & Integer.MIN_VALUE) != 0 ? r12.isEpisodeCoinBased : false, (r63 & 1) != 0 ? r12.isShowCoinBased : false, (r63 & 2) != 0 ? r12.isPlayerAd : false, (r63 & 4) != 0 ? r12.showTag : null, (r63 & 8) != 0 ? r12.showTagBg : null, (r63 & 16) != 0 ? r12.showTagColor : null, (r63 & 32) != 0 ? r12.nEpisodes : 0, (r63 & 64) != 0 ? r12.settingsData : null, (r63 & 128) != 0 ? r12.isVideoFullScreenDefault : false, (r63 & 256) != 0 ? r12.showHeadphoneNudge : false, (r63 & 512) != 0 ? r12.commentNudgeMessage : null, (r63 & 1024) != 0 ? r12.showBackgroundPlayEnabledNudge : false, (r63 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? ((PlayerUiState) value).isPlayPauseButtonIsInPauseState : false);
                    } while (!f04.l(value, copy));
                }
            }
        }
        R0 viewModel6 = playerActivity.getViewModel();
        viewModel6.getClass();
        Config config9 = C1151e.f18010f;
        if (config9 != null && config9.isCoinBasedMonetization()) {
            if (playingShow != null ? Intrinsics.c(playingShow.isCoinedBased(), Boolean.TRUE) : false) {
                if ((playingEpisode != null && playingEpisode.isPlayLocked()) && playingEpisode.getUnlockingFailed()) {
                    AbstractC0778p.w(i0.k(viewModel6), null, null, new C3125q0(viewModel6, playingEpisode, playingShow, null), 3);
                }
            }
        }
        if ((playingEpisode == null || (id2 = playingEpisode.getId()) == null || id2.intValue() != -1) ? false : true) {
            Bi.k r4 = io.sentry.config.d.r(KukuFMApplication.f45447x, "player_next_show_cue_viewed");
            r4.c(playingEpisode.getId(), "episode_id");
            r4.c(playingShow != null ? playingShow.getId() : null, "show_id");
            r4.d();
        } else {
            if (playingEpisode != null && playingEpisode.isPlayLocked()) {
                Config config10 = C1151e.f18010f;
                if (config10 != null && config10.isCoinBasedMonetization()) {
                    Integer coinsToUnlock2 = playingEpisode.getCoinsToUnlock();
                    if ((coinsToUnlock2 != null ? coinsToUnlock2.intValue() : 0) > 0 && playingEpisode.getUnlockingFailed()) {
                        Ai.p pVar2 = KukuFMApplication.f45447x;
                        Bi.k r10 = io.sentry.config.d.r(pVar2, "coin_low_wallet_balance_paywall_viewed");
                        r10.c(playingEpisode.getId(), "episode_id");
                        r10.c(playingShow != null ? playingShow.getId() : null, "show_id");
                        User z16 = pVar2.B().h().z();
                        r10.c(new Integer((z16 == null || (wallet = z16.getWallet()) == null || (totalCoins = wallet.getTotalCoins()) == null) ? 0 : totalCoins.intValue()), "coin_balance");
                        r10.g(false);
                    }
                }
                if (playingShow != null ? Intrinsics.c(playingShow.isCoinedBased(), Boolean.FALSE) : false) {
                    Bi.k r11 = io.sentry.config.d.r(KukuFMApplication.f45447x, "player_paywall_viewed");
                    r11.c(playingEpisode.getId(), "episode_id");
                    r11.c(playingShow.getId(), "show_id");
                    r11.d();
                }
            }
        }
        if (Pk.j.a("restrict_screen_recording")) {
            boolean isPlaying = playbackState.isPlaying();
            AudioManager audioManager = (AudioManager) this.f1461c;
            if (isPlaying) {
                audioManager.setMicrophoneMute(true);
                playerActivity.getWindow().setFlags(8192, 8192);
            } else {
                audioManager.setMicrophoneMute(false);
                playerActivity.getWindow().clearFlags(8192);
            }
        }
        if (C5697y.l(new Integer(1), new Integer(4)).contains(new Integer(playbackState.getPlaybackState()))) {
            C6593x controller = playerActivity.getController();
            if (controller != null && controller.f68516c.isConnected()) {
                PlayerActivity.dismiss$default(playerActivity, null, 1, null);
                return Unit.f60920a;
            }
        }
        R0 viewModel7 = playerActivity.getViewModel();
        viewModel7.getClass();
        Intrinsics.checkNotNullParameter(playbackState, "playbackState");
        while (true) {
            F0 f05 = viewModel7.f40347j0;
            Object value4 = f05.getValue();
            PlaybackState playbackState2 = playbackState;
            copy3 = r4.copy((r62 & 1) != 0 ? r4.showId : 0, (r62 & 2) != 0 ? r4.show : null, (r62 & 4) != 0 ? r4.episode : null, (r62 & 8) != 0 ? r4.episodeId : 0, (r62 & 16) != 0 ? r4.episodeTitle : null, (r62 & 32) != 0 ? r4.episodeIndex : 0, (r62 & 64) != 0 ? r4.playingState : playbackState, (r62 & 128) != 0 ? r4.thumbnailImageUrl : null, (r62 & 256) != 0 ? r4.gradientImageUrl : null, (r62 & 512) != 0 ? r4.paywallImage : null, (r62 & 1024) != 0 ? r4.isPlayLocked : false, (r62 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? r4.isVideoEpisode : false, (r62 & TruecallerSdkScope.FOOTER_TYPE_LATER) != 0 ? r4.isVideoPaywall : false, (r62 & 8192) != 0 ? r4.isFullScreenMode : false, (r62 & 16384) != 0 ? r4.headPhoneConnectionState : null, (r62 & 32768) != 0 ? r4.nComments : 0, (r62 & 65536) != 0 ? r4.comment : null, (r62 & 131072) != 0 ? r4.commentErrorMessage : null, (r62 & 262144) != 0 ? r4.isUserPremium : false, (r62 & 524288) != 0 ? r4.showAudioQualitySelector : false, (r62 & 1048576) != 0 ? r4.availableAudioQualities : null, (r62 & 2097152) != 0 ? r4.showUnlockFab : false, (r62 & 4194304) != 0 ? r4.showUpsellFab : false, (r62 & 8388608) != 0 ? r4.sleepTimerSlug : null, (r62 & 16777216) != 0 ? r4.infographicIndicatorImage : null, (r62 & 33554432) != 0 ? r4.infographicThumbnailImage : null, (r62 & 67108864) != 0 ? r4.hasInfographicsAndInsights : false, (r62 & 134217728) != 0 ? r4.infographicType : null, (r62 & 268435456) != 0 ? r4.infographicId : null, (r62 & 536870912) != 0 ? r4.showSubtitles : false, (r62 & 1073741824) != 0 ? r4.isTransitionAudio : false, (r62 & Integer.MIN_VALUE) != 0 ? r4.isEpisodeCoinBased : false, (r63 & 1) != 0 ? r4.isShowCoinBased : false, (r63 & 2) != 0 ? r4.isPlayerAd : false, (r63 & 4) != 0 ? r4.showTag : null, (r63 & 8) != 0 ? r4.showTagBg : null, (r63 & 16) != 0 ? r4.showTagColor : null, (r63 & 32) != 0 ? r4.nEpisodes : 0, (r63 & 64) != 0 ? r4.settingsData : null, (r63 & 128) != 0 ? r4.isVideoFullScreenDefault : false, (r63 & 256) != 0 ? r4.showHeadphoneNudge : false, (r63 & 512) != 0 ? r4.commentNudgeMessage : null, (r63 & 1024) != 0 ? r4.showBackgroundPlayEnabledNudge : false, (r63 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? ((PlayerUiState) value4).isPlayPauseButtonIsInPauseState : false);
            if (f05.l(value4, copy3)) {
                break;
            }
            playbackState = playbackState2;
        }
        return Unit.f60920a;
    }

    private final Object e(Object obj, InterfaceC6303c interfaceC6303c) {
        J.k kVar = (J.k) obj;
        boolean z10 = kVar instanceof J.n;
        C4013a c4013a = (C4013a) this.f1460b;
        if (z10) {
            J.n nVar = (J.n) kVar;
            RippleContainer rippleContainer = c4013a.f50071h;
            if (rippleContainer == null) {
                rippleContainer = android.support.v4.media.session.h.i(c4013a.f50070g);
                c4013a.f50071h = rippleContainer;
                Intrinsics.e(rippleContainer);
            }
            RippleHostView a2 = rippleContainer.a(c4013a);
            a2.b(nVar, c4013a.f50066c, c4013a.f50074k, c4013a.f50075p, ((C0202u) c4013a.f50068e.getValue()).f2039a, ((C4018f) c4013a.f50069f.getValue()).f50090d, c4013a.f50076r);
            c4013a.f50072i.setValue(a2);
        } else if (kVar instanceof J.o) {
            J.n nVar2 = ((J.o) kVar).f10933a;
            RippleHostView rippleHostView = (RippleHostView) c4013a.f50072i.getValue();
            if (rippleHostView != null) {
                rippleHostView.d();
            }
        } else if (kVar instanceof J.m) {
            J.n nVar3 = ((J.m) kVar).f10931a;
            RippleHostView rippleHostView2 = (RippleHostView) c4013a.f50072i.getValue();
            if (rippleHostView2 != null) {
                rippleHostView2.d();
            }
        } else {
            c4013a.f50065b.D(kVar, (Kp.H) this.f1461c);
        }
        return Unit.f60920a;
    }

    private final Object g(Object obj, InterfaceC6303c interfaceC6303c) {
        J.k kVar = (J.k) obj;
        boolean z10 = kVar instanceof J.n;
        kotlin.jvm.internal.G g5 = (kotlin.jvm.internal.G) this.f1460b;
        if (z10) {
            g5.f60980a++;
        } else if (kVar instanceof J.o) {
            g5.f60980a--;
        } else if (kVar instanceof J.m) {
            g5.f60980a--;
        }
        boolean z11 = g5.f60980a > 0;
        g3 g3Var = (g3) this.f1461c;
        if (g3Var.f51746x != z11) {
            g3Var.f51746x = z11;
            AbstractC1177e.p(g3Var);
        }
        return Unit.f60920a;
    }

    private final Object h(Object obj, InterfaceC6303c interfaceC6303c) {
        ArrayList arrayList;
        if (((ol.g) obj) instanceof RequestResult$Success) {
            F0 f02 = ((G0) this.f1460b).f60144w;
            List list = (List) f02.getValue();
            if (list != null) {
                List<DataItem> list2 = list;
                arrayList = new ArrayList(C5698z.q(list2, 10));
                for (DataItem dataItem : list2) {
                    if (Intrinsics.c(dataItem.getId(), ((DataItem) this.f1461c).getId())) {
                        dataItem = dataItem.copy((r26 & 1) != 0 ? dataItem.f46033id : null, (r26 & 2) != 0 ? dataItem.title : null, (r26 & 4) != 0 ? dataItem.slug : null, (r26 & 8) != 0 ? dataItem.selected : false, (r26 & 16) != 0 ? dataItem.nFollowers : null, (r26 & 32) != 0 ? dataItem.contributionType : null, (r26 & 64) != 0 ? dataItem.avatar : null, (r26 & 128) != 0 ? dataItem.name : null, (r26 & 256) != 0 ? dataItem.onlyName : null, (r26 & 512) != 0 ? dataItem.isFollowed : !r6.isFollowed(), (r26 & 1024) != 0 ? dataItem.badgeType : null, (r26 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? dataItem.subtitle : null);
                    }
                    arrayList.add(dataItem);
                }
            } else {
                arrayList = null;
            }
            f02.m(arrayList);
        }
        return Unit.f60920a;
    }

    private final Object i(Object obj, InterfaceC6303c interfaceC6303c) {
        if (((ol.g) obj) instanceof RequestResult$Success) {
            Bi.k r4 = io.sentry.config.d.r(KukuFMApplication.f45447x, "review_upvote_success");
            Show show = (Show) ((a1) this.f1460b).f60244e.getValue();
            String str = null;
            Object[] objArr = 0;
            r4.c(show != null ? show.getId() : null, "show_id");
            r4.d();
            ReviewViewState reviewViewState = (ReviewViewState) this.f1461c;
            reviewViewState.setUpvoted(!reviewViewState.getUpvoted());
            if (reviewViewState.getUpvoted()) {
                reviewViewState.setUpvoteDrawable(new DrawableViewModel(R.drawable.ic_upvote_true));
                reviewViewState.setUpvoteNum(reviewViewState.getUpvoteNum() + 1);
                reviewViewState.setUpvoteText(new TextViewModel(R.string.upvote_num, String.valueOf(reviewViewState.getUpvoteNum())));
            } else {
                reviewViewState.setUpvoteDrawable(new DrawableViewModel(R.drawable.ic_upvote_false));
                reviewViewState.setUpvoteNum(reviewViewState.getUpvoteNum() - 1);
                if (reviewViewState.getUpvoteNum() > 0) {
                    reviewViewState.setUpvoteText(new TextViewModel(R.string.upvote_num, String.valueOf(reviewViewState.getUpvoteNum())));
                } else {
                    reviewViewState.setUpvoteText(new TextViewModel(R.string.upvote, str, 2, objArr == true ? 1 : 0));
                }
            }
            C5717b c5717b = AbstractC6060a.f63692a;
            AbstractC6060a.b(new C6061b(ij.i.RELOAD_UPVOTE_REPLIES, new Object[0]));
        }
        return Unit.f60920a;
    }

    private final Object j(Object obj, InterfaceC6303c interfaceC6303c) {
        vm.e eVar;
        EnumC6418a enumC6418a;
        int i10;
        int i11;
        List list;
        InterfaceC1012l interfaceC1012l;
        Show show;
        ArrayList arrayList;
        Iterator it;
        String str;
        String str2;
        Integer nListens;
        Integer id2;
        if (interfaceC6303c instanceof vm.e) {
            eVar = (vm.e) interfaceC6303c;
            int i12 = eVar.f71588b;
            if ((i12 & Integer.MIN_VALUE) != 0) {
                eVar.f71588b = i12 - Integer.MIN_VALUE;
                Object obj2 = eVar.f71587a;
                enumC6418a = EnumC6418a.COROUTINE_SUSPENDED;
                i10 = eVar.f71588b;
                i11 = 1;
                if (i10 != 0) {
                    AbstractC7507K.w(obj2);
                    list = (List) obj;
                    C0 c0 = ((vm.f) this.f1461c).f71592f;
                    interfaceC1012l = (InterfaceC1012l) this.f1460b;
                    eVar.f71589c = interfaceC1012l;
                    eVar.f71591e = list;
                    eVar.f71588b = 1;
                    obj2 = c0.n(eVar);
                    if (obj2 == enumC6418a) {
                        return enumC6418a;
                    }
                } else {
                    if (i10 != 1) {
                        if (i10 != 2) {
                            throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                        }
                        AbstractC7507K.w(obj2);
                        return Unit.f60920a;
                    }
                    list = eVar.f71591e;
                    interfaceC1012l = eVar.f71589c;
                    AbstractC7507K.w(obj2);
                }
                show = (Show) obj2;
                List list2 = list;
                arrayList = new ArrayList(C5698z.q(list2, 10));
                it = list2.iterator();
                while (true) {
                    if (it.hasNext()) {
                        break;
                    }
                    CUPart cuPart = ((EpisodeContainer) it.next()).getCuPart();
                    Intrinsics.checkNotNullParameter(cuPart, "<this>");
                    Content content = cuPart.getContent();
                    if (content != null) {
                        str = content.getAudioLocalUrl();
                        if (str == null) {
                            if (cuPart.isPlayLocked()) {
                                Config config = C1151e.f18010f;
                                if (config != null && config.isCoinBasedMonetization() == i11) {
                                    Integer coinsToUnlock = cuPart.getCoinsToUnlock();
                                    if ((coinsToUnlock != null ? coinsToUnlock.intValue() : 0) > 0 && !cuPart.getUnlockingFailed()) {
                                        str = content.getVideoDashUrl();
                                        if (str == null && (str = content.getDashUrl()) == null && (str = content.getVideoHlsUrl()) == null && (str = content.getVideoUrl()) == null && (str = content.getHlsUrl()) == null) {
                                            str = content.getUrl();
                                        }
                                    }
                                }
                                Integer id3 = cuPart.getId();
                                if (id3 != null && id3.intValue() == -1 ? (str = cuPart.getTransitionAudioUrl()) == null : !((str = content.getPremiumVideoUrl()) != null || (str = content.getPremiumAudioUrl()) != null)) {
                                    str = HttpUrl.FRAGMENT_ENCODE_SET;
                                }
                            } else {
                                str = content.getVideoDashUrl();
                                if (str == null && (str = content.getDashUrl()) == null && (str = content.getVideoHlsUrl()) == null && (str = content.getVideoUrl()) == null && (str = content.getHlsUrl()) == null) {
                                    str = content.getUrl();
                                }
                            }
                        }
                    } else {
                        str = null;
                    }
                    Integer id4 = cuPart.getId();
                    int intValue = id4 != null ? id4.intValue() : 0;
                    int intValue2 = (show == null || (id2 = show.getId()) == null) ? 0 : id2.intValue();
                    boolean isPlayLocked = cuPart.isPlayLocked();
                    String title = cuPart.getTitle();
                    String str3 = title == null ? HttpUrl.FRAGMENT_ENCODE_SET : title;
                    String videoThumbnail = cuPart.getVideoThumbnail();
                    if (videoThumbnail == null) {
                        OtherImages otherImages = cuPart.getOtherImages();
                        videoThumbnail = otherImages != null ? otherImages.getReelImage() : null;
                        if (videoThumbnail == null && (videoThumbnail = cuPart.getImage()) == null) {
                            ImageSize imageSizes = cuPart.getImageSizes();
                            str2 = imageSizes != null ? imageSizes.getSize_300() : null;
                            if (str2 == null) {
                                str2 = HttpUrl.FRAGMENT_ENCODE_SET;
                            }
                            Integer seekPosition = cuPart.getSeekPosition();
                            float g5 = Fp.p.g((seekPosition == null ? seekPosition.intValue() : 0) / (cuPart.getDurationS() == null ? r12.intValue() : i11), 0.0f, 1.0f);
                            long intValue3 = 1000 * (cuPart.getDurationS() == null ? r11.intValue() : 0);
                            boolean unlockingFailed = cuPart.getUnlockingFailed();
                            if (show != null || (r11 = show.getPaywallImage()) == null) {
                                String str4 = "https://images.cdn.kukufm.com/f:webp/https://s3.ap-south-1.amazonaws.com/kukufm/bg_images/Group_63178_1715939911.png";
                            }
                            String str5 = str4;
                            Integer nComments = cuPart.getNComments();
                            arrayList.add(new Reel(intValue, str, intValue2, isPlayLocked, str3, str2, cuPart, g5, intValue3, unlockingFailed, str5, nComments == null ? nComments.intValue() : 0, !cuPart.isCoinedBased() ? cuPart.isPlayLocked() && cuPart.getUnlockingFailed() : cuPart.isPlayLocked(), (show != null || (nListens = show.getNListens()) == null) ? 0 : nListens.intValue()));
                            i11 = 1;
                        }
                    }
                    str2 = videoThumbnail;
                    Integer seekPosition2 = cuPart.getSeekPosition();
                    float g52 = Fp.p.g((seekPosition2 == null ? seekPosition2.intValue() : 0) / (cuPart.getDurationS() == null ? r12.intValue() : i11), 0.0f, 1.0f);
                    long intValue32 = 1000 * (cuPart.getDurationS() == null ? r11.intValue() : 0);
                    boolean unlockingFailed2 = cuPart.getUnlockingFailed();
                    if (show != null) {
                    }
                    String str42 = "https://images.cdn.kukufm.com/f:webp/https://s3.ap-south-1.amazonaws.com/kukufm/bg_images/Group_63178_1715939911.png";
                    String str52 = str42;
                    Integer nComments2 = cuPart.getNComments();
                    arrayList.add(new Reel(intValue, str, intValue2, isPlayLocked, str3, str2, cuPart, g52, intValue32, unlockingFailed2, str52, nComments2 == null ? nComments2.intValue() : 0, !cuPart.isCoinedBased() ? cuPart.isPlayLocked() && cuPart.getUnlockingFailed() : cuPart.isPlayLocked(), (show != null || (nListens = show.getNListens()) == null) ? 0 : nListens.intValue()));
                    i11 = 1;
                }
                eVar.f71589c = null;
                eVar.f71591e = null;
                eVar.f71588b = 2;
                if (interfaceC1012l.f(arrayList, eVar) == enumC6418a) {
                    return enumC6418a;
                }
                return Unit.f60920a;
            }
        }
        eVar = new vm.e(this, interfaceC6303c);
        Object obj22 = eVar.f71587a;
        enumC6418a = EnumC6418a.COROUTINE_SUSPENDED;
        i10 = eVar.f71588b;
        i11 = 1;
        if (i10 != 0) {
        }
        show = (Show) obj22;
        List list22 = list;
        arrayList = new ArrayList(C5698z.q(list22, 10));
        it = list22.iterator();
        while (true) {
            if (it.hasNext()) {
            }
            arrayList.add(new Reel(intValue, str, intValue2, isPlayLocked, str3, str2, cuPart, g52, intValue32, unlockingFailed2, str52, nComments2 == null ? nComments2.intValue() : 0, !cuPart.isCoinedBased() ? cuPart.isPlayLocked() && cuPart.getUnlockingFailed() : cuPart.isPlayLocked(), (show != null || (nListens = show.getNListens()) == null) ? 0 : nListens.intValue()));
            i11 = 1;
        }
        eVar.f71589c = null;
        eVar.f71591e = null;
        eVar.f71588b = 2;
        if (interfaceC1012l.f(arrayList, eVar) == enumC6418a) {
        }
        return Unit.f60920a;
    }

    public Object a(int i10, InterfaceC6303c interfaceC6303c) {
        y0 y0Var;
        int i11;
        if (interfaceC6303c instanceof y0) {
            y0Var = (y0) interfaceC6303c;
            int i12 = y0Var.f16013c;
            if ((i12 & Integer.MIN_VALUE) != 0) {
                y0Var.f16013c = i12 - Integer.MIN_VALUE;
                Object obj = y0Var.f16011a;
                EnumC6418a enumC6418a = EnumC6418a.COROUTINE_SUSPENDED;
                i11 = y0Var.f16013c;
                if (i11 != 0) {
                    AbstractC7507K.w(obj);
                    if (i10 > 0) {
                        kotlin.jvm.internal.E e4 = (kotlin.jvm.internal.E) this.f1460b;
                        if (!e4.f60978a) {
                            e4.f60978a = true;
                            u0 u0Var = u0.START;
                            y0Var.f16013c = 1;
                            if (((InterfaceC1012l) this.f1461c).f(u0Var, y0Var) == enumC6418a) {
                                return enumC6418a;
                            }
                        }
                    }
                    return Unit.f60920a;
                }
                if (i11 != 1) {
                    throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                }
                AbstractC7507K.w(obj);
                return Unit.f60920a;
            }
        }
        y0Var = new y0(this, interfaceC6303c);
        Object obj2 = y0Var.f16011a;
        EnumC6418a enumC6418a2 = EnumC6418a.COROUTINE_SUSPENDED;
        i11 = y0Var.f16013c;
        if (i11 != 0) {
        }
        return Unit.f60920a;
    }

    @Override
    public final Object f(Object obj, InterfaceC6303c interfaceC6303c) {
        boolean z10;
        Dm.h reelsViewModel;
        CUPart playingEpisode;
        CUPart playingEpisode2;
        Show playingShow;
        C3113k0 episodeQueueViewModel;
        CUPart playingEpisode3;
        Show playingShow2;
        Config config;
        boolean z11;
        boolean z12;
        Boolean valueOf;
        Content content;
        ImageSize imageSizes;
        String size_200;
        Content content2;
        Content content3;
        C6593x controller;
        InterfaceC6303c interfaceC6303c2;
        p2 p2Var;
        Object obj2;
        EnumC6418a enumC6418a;
        int i10;
        InterfaceC1012l interfaceC1012l;
        InterfaceC1012l interfaceC1012l2;
        Ed.z zVar;
        int i11;
        Im.a aVar;
        int i12;
        C0892q c0892q;
        int i13;
        Np.C c10;
        int i14;
        C0120k c0120k;
        Pn.e viewModel;
        InterfaceC4752a0 interfaceC4752a0;
        InterfaceC4752a0 interfaceC4752a02;
        Integer coinCredited;
        int i15;
        Y4.a aVar2;
        int i16;
        Object obj3;
        Yj.l lVar;
        int i17;
        int[] iArr;
        C3116m mBottomPlayerViewModel;
        C3116m mBottomPlayerViewModel2;
        CUPart episode;
        C3116m mBottomPlayerViewModel3;
        String str;
        String str2;
        C3116m mBottomPlayerViewModel4;
        boolean z13;
        boolean z14;
        C3116m mBottomPlayerViewModel5;
        C3116m mBottomPlayerViewModel6;
        C3116m mBottomPlayerViewModel7;
        String str3;
        boolean z15;
        String userName;
        xk.b bVar;
        int i18;
        Object obj4 = this.f1461c;
        Object obj5 = this.f1460b;
        switch (this.f1459a) {
            case 0:
                PlaybackState playbackState = (PlaybackState) obj;
                ReelsActivity reelsActivity = (ReelsActivity) obj5;
                if (playbackState.getPlaybackState() == 1 && (controller = reelsActivity.getController()) != null && controller.f68516c.isConnected()) {
                    reelsActivity.moveTaskToBack(true);
                    ReelsActivity.dismiss$default(reelsActivity, null, 1, null);
                    return Unit.f60920a;
                }
                if (Pk.j.a("restrict_screen_recording")) {
                    AudioManager audioManager = (AudioManager) obj4;
                    if (!playbackState.isPlaying()) {
                        z10 = false;
                        audioManager.setMicrophoneMute(false);
                        reelsActivity.getWindow().clearFlags(8192);
                        reelsViewModel = reelsActivity.getReelsViewModel();
                        reelsViewModel.getClass();
                        Intrinsics.checkNotNullParameter(playbackState, "playbackState");
                        F0 f02 = reelsViewModel.f5221i;
                        f02.getClass();
                        f02.n(null, playbackState);
                        playingEpisode = playbackState.getPlayingEpisode();
                        if (playingEpisode != null || !playingEpisode.isCoinedBased()) {
                            playingEpisode2 = playbackState.getPlayingEpisode();
                            if (playingEpisode2 != null && playingEpisode2.isPlayLocked()) {
                                reelsViewModel.e(playbackState.getPlayingEpisode(), playbackState.getPlayingShow());
                            }
                        } else if (playbackState.getPlayingEpisode().isPlayLocked() && playbackState.getPlayingEpisode().getUnlockingFailed()) {
                            reelsViewModel.e(playbackState.getPlayingEpisode(), playbackState.getPlayingShow());
                        }
                        playingShow = playbackState.getPlayingShow();
                        if (playingShow != null && !playingShow.isReel()) {
                            playingEpisode3 = playbackState.getPlayingEpisode();
                            playingShow2 = playbackState.getPlayingShow();
                            Intent intent = new Intent(reelsActivity, (Class<?>) PlayerActivity.class);
                            intent.setFlags(603979776);
                            CUPart cUPart = playingEpisode3 != null ? (CUPart) reelsActivity.getPlayingEpisodeFlow().getValue() : playingEpisode3;
                            intent.putExtra("is_play_locked", cUPart == null ? Boolean.valueOf(cUPart.isPlayLocked()) : null);
                            config = C1151e.f18010f;
                            if (config != null && config.isCoinBasedMonetization()) {
                                if (playingShow2 == null ? Intrinsics.c(playingShow2.isCoinedBased(), Boolean.TRUE) : z10) {
                                    z11 = true;
                                    if (z11 || playingEpisode3 == null) {
                                        z12 = true;
                                    } else {
                                        z12 = true;
                                        if (playingEpisode3.isPlayLocked()) {
                                            valueOf = Boolean.FALSE;
                                            intent.putExtra("is_video_episode", valueOf);
                                            intent.putExtra("show_id", playingShow2.getId());
                                            CUPart cUPart2 = playingEpisode3 != null ? (CUPart) reelsActivity.getPlayingEpisodeFlow().getValue() : playingEpisode3;
                                            intent.putExtra("episode_id", cUPart2 == null ? cUPart2.getId() : null);
                                            String subtitleUrl = (playingEpisode3 != null || (content3 = playingEpisode3.getContent()) == null) ? null : content3.getSubtitleUrl();
                                            intent.putExtra("subtitles_shown", (subtitleUrl != null || subtitleUrl.length() == 0 || (content2 = playingEpisode3.getContent()) == null || content2.isVideo()) ? z10 : z12);
                                            imageSizes = playingShow2.getImageSizes();
                                            if (imageSizes != null || (size_200 = imageSizes.getSize_100()) == null) {
                                                ImageSize imageSizes2 = playingShow2.getImageSizes();
                                                size_200 = imageSizes2 == null ? imageSizes2.getSize_200() : null;
                                                if (size_200 == null && (size_200 = playingShow2.getImage()) == null) {
                                                    size_200 = HttpUrl.FRAGMENT_ENCODE_SET;
                                                }
                                            }
                                            intent.putExtra("image_url", size_200);
                                            if (playingEpisode3 == null) {
                                                playingEpisode3 = (CUPart) reelsActivity.getPlayingEpisodeFlow().getValue();
                                            }
                                            intent.putExtra("is_video_fullscreen_default", playingEpisode3 == null ? Boolean.valueOf(playingEpisode3.isVideoPlayerFullScreen()) : null);
                                            reelsActivity.startActivity(intent);
                                            reelsActivity.finish();
                                        }
                                    }
                                    CUPart cUPart3 = playingEpisode3 == null ? (CUPart) reelsActivity.getPlayingEpisodeFlow().getValue() : playingEpisode3;
                                    valueOf = (cUPart3 != null || (content = cUPart3.getContent()) == null) ? null : Boolean.valueOf(content.isVideo());
                                    intent.putExtra("is_video_episode", valueOf);
                                    intent.putExtra("show_id", playingShow2.getId());
                                    if (playingEpisode3 != null) {
                                    }
                                    intent.putExtra("episode_id", cUPart2 == null ? cUPart2.getId() : null);
                                    if (playingEpisode3 != null) {
                                    }
                                    intent.putExtra("subtitles_shown", (subtitleUrl != null || subtitleUrl.length() == 0 || (content2 = playingEpisode3.getContent()) == null || content2.isVideo()) ? z10 : z12);
                                    imageSizes = playingShow2.getImageSizes();
                                    if (imageSizes != null) {
                                    }
                                    ImageSize imageSizes22 = playingShow2.getImageSizes();
                                    if (imageSizes22 == null) {
                                    }
                                    if (size_200 == null) {
                                        size_200 = HttpUrl.FRAGMENT_ENCODE_SET;
                                    }
                                    intent.putExtra("image_url", size_200);
                                    if (playingEpisode3 == null) {
                                    }
                                    intent.putExtra("is_video_fullscreen_default", playingEpisode3 == null ? Boolean.valueOf(playingEpisode3.isVideoPlayerFullScreen()) : null);
                                    reelsActivity.startActivity(intent);
                                    reelsActivity.finish();
                                }
                            }
                            z11 = z10;
                            if (z11) {
                            }
                            z12 = true;
                            if (playingEpisode3 == null) {
                            }
                            if (cUPart3 != null) {
                            }
                            intent.putExtra("is_video_episode", valueOf);
                            intent.putExtra("show_id", playingShow2.getId());
                            if (playingEpisode3 != null) {
                            }
                            intent.putExtra("episode_id", cUPart2 == null ? cUPart2.getId() : null);
                            if (playingEpisode3 != null) {
                            }
                            intent.putExtra("subtitles_shown", (subtitleUrl != null || subtitleUrl.length() == 0 || (content2 = playingEpisode3.getContent()) == null || content2.isVideo()) ? z10 : z12);
                            imageSizes = playingShow2.getImageSizes();
                            if (imageSizes != null) {
                            }
                            ImageSize imageSizes222 = playingShow2.getImageSizes();
                            if (imageSizes222 == null) {
                            }
                            if (size_200 == null) {
                            }
                            intent.putExtra("image_url", size_200);
                            if (playingEpisode3 == null) {
                            }
                            intent.putExtra("is_video_fullscreen_default", playingEpisode3 == null ? Boolean.valueOf(playingEpisode3.isVideoPlayerFullScreen()) : null);
                            reelsActivity.startActivity(intent);
                            reelsActivity.finish();
                        }
                        episodeQueueViewModel = reelsActivity.getEpisodeQueueViewModel();
                        episodeQueueViewModel.e(playbackState);
                        return Unit.f60920a;
                    }
                    audioManager.setMicrophoneMute(true);
                    reelsActivity.getWindow().setFlags(8192, 8192);
                }
                z10 = false;
                reelsViewModel = reelsActivity.getReelsViewModel();
                reelsViewModel.getClass();
                Intrinsics.checkNotNullParameter(playbackState, "playbackState");
                F0 f022 = reelsViewModel.f5221i;
                f022.getClass();
                f022.n(null, playbackState);
                playingEpisode = playbackState.getPlayingEpisode();
                if (playingEpisode != null) {
                }
                playingEpisode2 = playbackState.getPlayingEpisode();
                if (playingEpisode2 != null) {
                    reelsViewModel.e(playbackState.getPlayingEpisode(), playbackState.getPlayingShow());
                }
                playingShow = playbackState.getPlayingShow();
                if (playingShow != null) {
                    playingEpisode3 = playbackState.getPlayingEpisode();
                    playingShow2 = playbackState.getPlayingShow();
                    Intent intent2 = new Intent(reelsActivity, (Class<?>) PlayerActivity.class);
                    intent2.setFlags(603979776);
                    if (playingEpisode3 != null) {
                    }
                    intent2.putExtra("is_play_locked", cUPart == null ? Boolean.valueOf(cUPart.isPlayLocked()) : null);
                    config = C1151e.f18010f;
                    if (config != null) {
                        if (playingShow2 == null ? Intrinsics.c(playingShow2.isCoinedBased(), Boolean.TRUE) : z10) {
                        }
                    }
                    z11 = z10;
                    if (z11) {
                    }
                    z12 = true;
                    if (playingEpisode3 == null) {
                    }
                    if (cUPart3 != null) {
                    }
                    intent2.putExtra("is_video_episode", valueOf);
                    intent2.putExtra("show_id", playingShow2.getId());
                    if (playingEpisode3 != null) {
                    }
                    intent2.putExtra("episode_id", cUPart2 == null ? cUPart2.getId() : null);
                    if (playingEpisode3 != null) {
                    }
                    intent2.putExtra("subtitles_shown", (subtitleUrl != null || subtitleUrl.length() == 0 || (content2 = playingEpisode3.getContent()) == null || content2.isVideo()) ? z10 : z12);
                    imageSizes = playingShow2.getImageSizes();
                    if (imageSizes != null) {
                    }
                    ImageSize imageSizes2222 = playingShow2.getImageSizes();
                    if (imageSizes2222 == null) {
                    }
                    if (size_200 == null) {
                    }
                    intent2.putExtra("image_url", size_200);
                    if (playingEpisode3 == null) {
                    }
                    intent2.putExtra("is_video_fullscreen_default", playingEpisode3 == null ? Boolean.valueOf(playingEpisode3.isVideoPlayerFullScreen()) : null);
                    reelsActivity.startActivity(intent2);
                    reelsActivity.finish();
                }
                episodeQueueViewModel = reelsActivity.getEpisodeQueueViewModel();
                episodeQueueViewModel.e(playbackState);
                return Unit.f60920a;
            case 1:
                Object b2 = C0259h1.b((C0259h1) obj5, (EnumC0246e0) obj4, (B4.S) obj, interfaceC6303c);
                return b2 == EnumC6418a.COROUTINE_SUSPENDED ? b2 : Unit.f60920a;
            case 2:
                AbstractC0300u0 abstractC0300u0 = (AbstractC0300u0) obj;
                if (Build.ID != null && Log.isLoggable("Paging", 2)) {
                    String message = "Collected " + abstractC0300u0;
                    Intrinsics.checkNotNullParameter(message, "message");
                    interfaceC6303c2 = null;
                    Log.v("Paging", message, null);
                } else {
                    interfaceC6303c2 = null;
                }
                C0261i c0261i = (C0261i) obj5;
                Object C2 = AbstractC0778p.C(c0261i.f2804a, new B1(abstractC0300u0, c0261i, (C0292r1) obj4, interfaceC6303c2), interfaceC6303c);
                return C2 == EnumC6418a.COROUTINE_SUSPENDED ? C2 : Unit.f60920a;
            case 3:
                if (interfaceC6303c instanceof p2) {
                    p2Var = (p2) interfaceC6303c;
                    int i19 = p2Var.f2977b;
                    if ((i19 & Integer.MIN_VALUE) != 0) {
                        p2Var.f2977b = i19 - Integer.MIN_VALUE;
                        obj2 = p2Var.f2976a;
                        enumC6418a = EnumC6418a.COROUTINE_SUSPENDED;
                        i10 = p2Var.f2977b;
                        if (i10 != 0) {
                            AbstractC7507K.w(obj2);
                            InterfaceC1012l interfaceC1012l3 = (InterfaceC1012l) obj5;
                            p2Var.f2978c = interfaceC1012l3;
                            p2Var.f2977b = 1;
                            Object a2 = ((o2) obj4).a((AbstractC0300u0) obj, p2Var);
                            if (a2 == enumC6418a) {
                                return enumC6418a;
                            }
                            interfaceC1012l = null;
                            obj2 = a2;
                            interfaceC1012l2 = interfaceC1012l3;
                        } else {
                            if (i10 != 1) {
                                if (i10 != 2) {
                                    throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                                }
                                AbstractC7507K.w(obj2);
                                return Unit.f60920a;
                            }
                            interfaceC1012l2 = p2Var.f2978c;
                            AbstractC7507K.w(obj2);
                            interfaceC1012l = null;
                        }
                        p2Var.f2978c = interfaceC1012l;
                        p2Var.f2977b = 2;
                        if (interfaceC1012l2.f(obj2, p2Var) == enumC6418a) {
                            return enumC6418a;
                        }
                        return Unit.f60920a;
                    }
                }
                p2Var = new p2(this, interfaceC6303c);
                obj2 = p2Var.f2976a;
                enumC6418a = EnumC6418a.COROUTINE_SUSPENDED;
                i10 = p2Var.f2977b;
                if (i10 != 0) {
                }
                p2Var.f2978c = interfaceC1012l;
                p2Var.f2977b = 2;
                if (interfaceC1012l2.f(obj2, p2Var) == enumC6418a) {
                }
                return Unit.f60920a;
            case 4:
                ((E5.i) obj5).d((I5.s) obj4, (E5.c) obj);
                return Unit.f60920a;
            case 5:
                if (interfaceC6303c instanceof Ed.z) {
                    zVar = (Ed.z) interfaceC6303c;
                    int i20 = zVar.f6316b;
                    if ((i20 & Integer.MIN_VALUE) != 0) {
                        zVar.f6316b = i20 - Integer.MIN_VALUE;
                        Object obj6 = zVar.f6315a;
                        EnumC6418a enumC6418a2 = EnumC6418a.COROUTINE_SUSPENDED;
                        i11 = zVar.f6316b;
                        if (i11 != 0) {
                            AbstractC7507K.w(obj6);
                            C0468x c0468x = Ed.C.f6176e;
                            ((Ed.C) obj4).getClass();
                            C0459n c0459n = new C0459n((String) ((E2.h) obj).b(Ed.y.f6314a));
                            zVar.f6316b = 1;
                            if (((InterfaceC1012l) obj5).f(c0459n, zVar) == enumC6418a2) {
                                return enumC6418a2;
                            }
                        } else {
                            if (i11 != 1) {
                                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                            }
                            AbstractC7507K.w(obj6);
                        }
                        return Unit.f60920a;
                    }
                }
                zVar = new Ed.z(this, interfaceC6303c);
                Object obj62 = zVar.f6315a;
                EnumC6418a enumC6418a22 = EnumC6418a.COROUTINE_SUSPENDED;
                i11 = zVar.f6316b;
                if (i11 != 0) {
                }
                return Unit.f60920a;
            case 6:
                if (interfaceC6303c instanceof Im.a) {
                    aVar = (Im.a) interfaceC6303c;
                    int i21 = aVar.f10896b;
                    if ((i21 & Integer.MIN_VALUE) != 0) {
                        aVar.f10896b = i21 - Integer.MIN_VALUE;
                        Object obj7 = aVar.f10895a;
                        EnumC6418a enumC6418a3 = EnumC6418a.COROUTINE_SUSPENDED;
                        i12 = aVar.f10896b;
                        if (i12 != 0) {
                            AbstractC7507K.w(obj7);
                            C0292r1 c0292r1 = (C0292r1) obj;
                            D2 terminalSeparatorType = D2.FULLY_COMPLETE;
                            Intrinsics.checkNotNullParameter(c0292r1, "<this>");
                            Intrinsics.checkNotNullParameter(terminalSeparatorType, "terminalSeparatorType");
                            ReelTrailerData item = (ReelTrailerData) obj4;
                            Intrinsics.checkNotNullParameter(item, "item");
                            C0292r1 h10 = B4.Q.h(c0292r1, terminalSeparatorType, new H1(1, item, (InterfaceC6303c) null));
                            aVar.f10896b = 1;
                            if (((InterfaceC1012l) obj5).f(h10, aVar) == enumC6418a3) {
                                return enumC6418a3;
                            }
                        } else {
                            if (i12 != 1) {
                                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                            }
                            AbstractC7507K.w(obj7);
                        }
                        return Unit.f60920a;
                    }
                }
                aVar = new Im.a(this, interfaceC6303c);
                Object obj72 = aVar.f10895a;
                EnumC6418a enumC6418a32 = EnumC6418a.COROUTINE_SUSPENDED;
                i12 = aVar.f10896b;
                if (i12 != 0) {
                }
                return Unit.f60920a;
            case 7:
                if (interfaceC6303c instanceof C0892q) {
                    c0892q = (C0892q) interfaceC6303c;
                    int i22 = c0892q.f13807b;
                    if ((i22 & Integer.MIN_VALUE) != 0) {
                        c0892q.f13807b = i22 - Integer.MIN_VALUE;
                        Object obj8 = c0892q.f13806a;
                        EnumC6418a enumC6418a4 = EnumC6418a.COROUTINE_SUSPENDED;
                        i13 = c0892q.f13807b;
                        if (i13 != 0) {
                            AbstractC7507K.w(obj8);
                            Set set = (Set) obj;
                            C6085q c6085q = new C6085q();
                            for (String str4 : (String[]) obj4) {
                                Iterator it = set.iterator();
                                while (it.hasNext()) {
                                    if (kotlin.text.y.h(str4, (String) it.next(), true)) {
                                        c6085q.add(str4);
                                    }
                                }
                            }
                            C6085q a10 = Z.a(c6085q);
                            C6085q c6085q2 = a10.f63783a.isEmpty() ? null : a10;
                            if (c6085q2 != null) {
                                c0892q.f13807b = 1;
                                if (((InterfaceC1012l) obj5).f(c6085q2, c0892q) == enumC6418a4) {
                                    return enumC6418a4;
                                }
                            }
                        } else {
                            if (i13 != 1) {
                                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                            }
                            AbstractC7507K.w(obj8);
                        }
                        return Unit.f60920a;
                    }
                }
                c0892q = new C0892q(this, interfaceC6303c);
                Object obj82 = c0892q.f13806a;
                EnumC6418a enumC6418a42 = EnumC6418a.COROUTINE_SUSPENDED;
                i13 = c0892q.f13807b;
                if (i13 != 0) {
                }
                return Unit.f60920a;
            case 8:
                if (interfaceC6303c instanceof Np.C) {
                    c10 = (Np.C) interfaceC6303c;
                    int i23 = c10.f15771d;
                    if ((i23 & Integer.MIN_VALUE) != 0) {
                        c10.f15771d = i23 - Integer.MIN_VALUE;
                        Object obj9 = c10.f15769b;
                        EnumC6418a enumC6418a5 = EnumC6418a.COROUTINE_SUSPENDED;
                        i14 = c10.f15771d;
                        if (i14 != 0) {
                            AbstractC7507K.w(obj9);
                            try {
                                c10.f15768a = this;
                                c10.f15771d = 1;
                                if (((InterfaceC1012l) obj5).f(obj, c10) == enumC6418a5) {
                                    return enumC6418a5;
                                }
                            } catch (Throwable th2) {
                                th = th2;
                                c0120k = this;
                                ((kotlin.jvm.internal.I) c0120k.f1461c).f60982a = th;
                                throw th;
                            }
                        } else {
                            if (i14 != 1) {
                                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                            }
                            c0120k = c10.f15768a;
                            try {
                                AbstractC7507K.w(obj9);
                            } catch (Throwable th3) {
                                th = th3;
                                ((kotlin.jvm.internal.I) c0120k.f1461c).f60982a = th;
                                throw th;
                            }
                        }
                        return Unit.f60920a;
                    }
                }
                c10 = new Np.C(this, interfaceC6303c);
                Object obj92 = c10.f15769b;
                EnumC6418a enumC6418a52 = EnumC6418a.COROUTINE_SUSPENDED;
                i14 = c10.f15771d;
                if (i14 != 0) {
                }
                return Unit.f60920a;
            case 9:
                return a(((Number) obj).intValue(), interfaceC6303c);
            case 10:
                Pn.b bVar2 = (Pn.b) obj;
                InterfaceC4752a0 interfaceC4752a03 = (InterfaceC4752a0) obj5;
                On.u uVar = (On.u) obj4;
                if (bVar2 instanceof UdcViewModel$Event$GetUdcResponseEvent) {
                    interfaceC4752a03.setValue(Boolean.TRUE);
                    UdcViewModel$Event$GetUdcResponseEvent udcViewModel$Event$GetUdcResponseEvent = (UdcViewModel$Event$GetUdcResponseEvent) bVar2;
                    uVar.udcDataQuestion = udcViewModel$Event$GetUdcResponseEvent.getUdcDataQuestion();
                    interfaceC4752a02 = uVar.udcDataQuestionState;
                    interfaceC4752a02.setValue(udcViewModel$Event$GetUdcResponseEvent.getUdcDataQuestion());
                    if (AbstractC1147a.f17994b.h() == 0) {
                        QuestionDataListUdc questionList = udcViewModel$Event$GetUdcResponseEvent.getUdcDataQuestion().getQuestionList();
                        AbstractC1147a.c((questionList == null || (coinCredited = questionList.getCoinCredited()) == null) ? 0 : coinCredited.intValue());
                    }
                } else if (bVar2 instanceof UdcViewModel$Event$AnswerSubmittedSuccessfully) {
                    uVar.setLoading(false);
                    UdcViewModel$Event$AnswerSubmittedSuccessfully udcViewModel$Event$AnswerSubmittedSuccessfully = (UdcViewModel$Event$AnswerSubmittedSuccessfully) bVar2;
                    Integer totalCoins = udcViewModel$Event$AnswerSubmittedSuccessfully.getUdcDataQuestion().getTotalCoins();
                    uVar.totalCoinsEarned = totalCoins != null ? totalCoins.intValue() : 0;
                    Integer totalCoinsForUdc = udcViewModel$Event$AnswerSubmittedSuccessfully.getUdcDataQuestion().getTotalCoinsForUdc();
                    uVar.totalCoinsForUdc = totalCoinsForUdc != null ? totalCoinsForUdc.intValue() : 0;
                    viewModel = uVar.getViewModel();
                    viewModel.getClass();
                    if (Pn.e.j()) {
                        AbstractC1147a.b(AbstractC1147a.f17994b.h() + 1);
                        if (kotlin.text.y.h(udcViewModel$Event$AnswerSubmittedSuccessfully.getUdcDataQuestion().getStatus(), "failed", false)) {
                            Context requireContext = uVar.requireContext();
                            Intrinsics.checkNotNullExpressionValue(requireContext, "requireContext(...)");
                            String message2 = udcViewModel$Event$AnswerSubmittedSuccessfully.getUdcDataQuestion().getMessage();
                            if (message2 == null) {
                                message2 = TrueException.TYPE_UNKNOWN_MESSAGE;
                            }
                            uVar.showToast(requireContext, message2);
                            uVar.dismiss();
                        } else {
                            uVar.showAllAnsweredUdcBottomSheet();
                        }
                    } else if (udcViewModel$Event$AnswerSubmittedSuccessfully.getUdcDataQuestion().getShow() != null) {
                        interfaceC4752a03.setValue(Boolean.FALSE);
                        uVar.setShowRewardComposable(true);
                        uVar.setCurrentShow(udcViewModel$Event$AnswerSubmittedSuccessfully.getUdcDataQuestion().getShow());
                        androidx.lifecycle.G viewLifecycleOwner = uVar.getViewLifecycleOwner();
                        Intrinsics.checkNotNullExpressionValue(viewLifecycleOwner, "getViewLifecycleOwner(...)");
                        AbstractC0778p.w(i0.i(viewLifecycleOwner), null, null, new On.q(uVar, bVar2, null), 3);
                    }
                    if (udcViewModel$Event$AnswerSubmittedSuccessfully.getUdcDataQuestion().getNextQuestion() != null) {
                        interfaceC4752a0 = uVar.udcDataQuestionState;
                        interfaceC4752a0.setValue(udcViewModel$Event$AnswerSubmittedSuccessfully.getUdcDataQuestion());
                        UdcResponse udcResponse = AbstractC1147a.f17993a;
                        if (udcResponse != null) {
                            udcResponse.setQuestionList(udcViewModel$Event$AnswerSubmittedSuccessfully.getUdcDataQuestion().getNextQuestion());
                        }
                        udcViewModel$Event$AnswerSubmittedSuccessfully.getUdcDataQuestion().setQuestionList(udcViewModel$Event$AnswerSubmittedSuccessfully.getUdcDataQuestion().getNextQuestion());
                        interfaceC4752a03.setValue(Boolean.TRUE);
                        int h11 = AbstractC1147a.f17996d.h();
                        Integer coinCredited2 = udcViewModel$Event$AnswerSubmittedSuccessfully.getUdcDataQuestion().getNextQuestion().getCoinCredited();
                        AbstractC1147a.c(h11 + (coinCredited2 != null ? coinCredited2.intValue() : 0));
                        AbstractC1147a.b(AbstractC1147a.f17994b.h() + 1);
                    }
                } else {
                    Context requireContext2 = uVar.requireContext();
                    Intrinsics.checkNotNullExpressionValue(requireContext2, "requireContext(...)");
                    uVar.showToast(requireContext2, " Submission failed! Please try again later ");
                    uVar.setLoading(false);
                }
                return Unit.f60920a;
            case 11:
                J.k kVar = (J.k) obj;
                B.L l10 = (B.L) obj5;
                if (kVar instanceof J.i ? true : kVar instanceof J.f ? true : kVar instanceof J.n) {
                    l10.a(kVar);
                } else if (kVar instanceof J.j) {
                    l10.k(((J.j) kVar).f10929a);
                } else if (kVar instanceof J.g) {
                    l10.k(((J.g) kVar).f10925a);
                } else if (kVar instanceof J.o) {
                    l10.k(((J.o) kVar).f10933a);
                } else if (kVar instanceof J.m) {
                    l10.k(((J.m) kVar).f10931a);
                }
                Object[] objArr = l10.f1777a;
                int i24 = l10.f1778b;
                int i25 = 0;
                int i26 = 0;
                while (true) {
                    C1437g0 c1437g0 = (C1437g0) obj4;
                    if (i26 >= i24) {
                        c1437g0.f21960b.i(i25);
                        return Unit.f60920a;
                    }
                    J.k kVar2 = (J.k) objArr[i26];
                    if (kVar2 instanceof J.i) {
                        c1437g0.getClass();
                        i25 |= 2;
                        i15 = 1;
                    } else if (kVar2 instanceof J.f) {
                        c1437g0.getClass();
                        i15 = 1;
                        i25 |= 1;
                    } else {
                        i15 = 1;
                        if (kVar2 instanceof J.n) {
                            c1437g0.getClass();
                            i25 |= 4;
                        }
                    }
                    i26 += i15;
                }
            case 12:
                return b(obj, interfaceC6303c);
            case 13:
                if (interfaceC6303c instanceof Y4.a) {
                    aVar2 = (Y4.a) interfaceC6303c;
                    int i27 = aVar2.f30312b;
                    if ((i27 & Integer.MIN_VALUE) != 0) {
                        aVar2.f30312b = i27 - Integer.MIN_VALUE;
                        Object obj10 = aVar2.f30311a;
                        EnumC6418a enumC6418a6 = EnumC6418a.COROUTINE_SUSPENDED;
                        i16 = aVar2.f30312b;
                        if (i16 != 0) {
                            AbstractC7507K.w(obj10);
                            ((Y4.c) obj4).getClass();
                            Iterator it2 = ((Iterable) ((C6776k) obj).f69432a).iterator();
                            while (true) {
                                if (it2.hasNext()) {
                                    obj3 = it2.next();
                                    if (((C6768c) obj3) instanceof C6768c) {
                                    }
                                } else {
                                    obj3 = null;
                                }
                            }
                            C6768c c6768c = obj3 instanceof C6768c ? (C6768c) obj3 : null;
                            if (c6768c != null) {
                                aVar2.f30312b = 1;
                                if (((InterfaceC1012l) obj5).f(c6768c, aVar2) == enumC6418a6) {
                                    return enumC6418a6;
                                }
                            }
                        } else {
                            if (i16 != 1) {
                                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                            }
                            AbstractC7507K.w(obj10);
                        }
                        return Unit.f60920a;
                    }
                }
                aVar2 = new Y4.a(this, interfaceC6303c);
                Object obj102 = aVar2.f30311a;
                EnumC6418a enumC6418a62 = EnumC6418a.COROUTINE_SUSPENDED;
                i16 = aVar2.f30312b;
                if (i16 != 0) {
                }
                return Unit.f60920a;
            case 14:
                if (interfaceC6303c instanceof Yj.l) {
                    lVar = (Yj.l) interfaceC6303c;
                    int i28 = lVar.f30508b;
                    if ((i28 & Integer.MIN_VALUE) != 0) {
                        lVar.f30508b = i28 - Integer.MIN_VALUE;
                        Object obj11 = lVar.f30507a;
                        EnumC6418a enumC6418a7 = EnumC6418a.COROUTINE_SUSPENDED;
                        i17 = lVar.f30508b;
                        if (i17 != 0) {
                            AbstractC7507K.w(obj11);
                            C0292r1 j10 = B4.Q.j((C0292r1) obj, new Yj.m((Yj.n) obj4, null));
                            lVar.f30508b = 1;
                            if (((InterfaceC1012l) obj5).f(j10, lVar) == enumC6418a7) {
                                return enumC6418a7;
                            }
                        } else {
                            if (i17 != 1) {
                                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                            }
                            AbstractC7507K.w(obj11);
                        }
                        return Unit.f60920a;
                    }
                }
                lVar = new Yj.l(this, interfaceC6303c);
                Object obj112 = lVar.f30507a;
                EnumC6418a enumC6418a72 = EnumC6418a.COROUTINE_SUSPENDED;
                i17 = lVar.f30508b;
                if (i17 != 0) {
                }
                return Unit.f60920a;
            case 15:
                long j11 = ((A0.b) obj).f17a;
                C0404d c0404d = (C0404d) obj5;
                if ((((A0.b) c0404d.d()).f17a & 9223372034707292159L) == 9205357640488583168L || (j11 & 9223372034707292159L) == 9205357640488583168L || Float.intBitsToFloat((int) (((A0.b) c0404d.d()).f17a & 4294967295L)) == Float.intBitsToFloat((int) (j11 & 4294967295L))) {
                    Object e4 = c0404d.e(new A0.b(j11), interfaceC6303c);
                    return e4 == EnumC6418a.COROUTINE_SUSPENDED ? e4 : Unit.f60920a;
                }
                AbstractC0778p.w((Kp.H) obj4, null, null, new Z.A(c0404d, j11, null), 3);
                return Unit.f60920a;
            case 16:
                Pair pair = (Pair) obj;
                PlaybackState playbackState2 = (PlaybackState) pair.f60918a;
                int intValue = ((Number) pair.f60919b).intValue();
                xq.d.f72771a.a(AbstractC5459e.d(playbackState2.getPlaybackState(), "playbackStateFlow: "), new Object[0]);
                MasterActivity masterActivity = (MasterActivity) obj5;
                if (Pk.j.a("restrict_screen_recording")) {
                    AudioManager audioManager2 = (AudioManager) obj4;
                    if (playbackState2.isPlaying()) {
                        audioManager2.setMicrophoneMute(true);
                        masterActivity.getWindow().setFlags(8192, 8192);
                    } else {
                        audioManager2.setMicrophoneMute(false);
                        masterActivity.getWindow().clearFlags(8192);
                    }
                }
                iArr = masterActivity.mMiniPlayerNotVisibleIds;
                if (C5694v.u(intValue, iArr) || C5697y.l(new Integer(4), new Integer(1)).contains(new Integer(playbackState2.getPlaybackState()))) {
                    masterActivity.hideBottomPlayer2();
                } else {
                    masterActivity.showBottomPlayer2();
                    mBottomPlayerViewModel7 = masterActivity.getMBottomPlayerViewModel();
                    Show show = (Show) masterActivity.getPlayingShowFlow().getValue();
                    mBottomPlayerViewModel7.getClass();
                    Intrinsics.checkNotNullParameter(playbackState2, "playbackState");
                    int playbackState3 = playbackState2.getPlaybackState();
                    C4106a c4106a = mBottomPlayerViewModel7.f40463b;
                    if (playbackState3 != 1) {
                        if (playbackState3 == 2) {
                            ij.j jVar = ij.j.VISIBLE;
                            c4106a.d(jVar);
                            c4106a.f(jVar);
                            c4106a.e(ij.j.GONE);
                            c4106a.g(new DrawableViewModel(R.drawable.ic_play_round_new));
                        } else if (playbackState3 == 3) {
                            ij.j jVar2 = ij.j.GONE;
                            c4106a.d(jVar2);
                            if (playbackState2.isPlaying()) {
                                ij.j jVar3 = ij.j.VISIBLE;
                                c4106a.f(jVar3);
                                c4106a.e(jVar2);
                                c4106a.g(new DrawableViewModel(R.drawable.ic_pause_round_new));
                                if (show != null ? Intrinsics.c(show.isRadio(), Boolean.TRUE) : false) {
                                    c4106a.e(jVar3);
                                    c4106a.f(jVar2);
                                } else {
                                    c4106a.e(jVar2);
                                    c4106a.f(jVar3);
                                }
                            } else {
                                c4106a.f(jVar2);
                                if (!C1151e.f18024u) {
                                    jVar2 = ij.j.VISIBLE;
                                }
                                c4106a.e(jVar2);
                                c4106a.g(new DrawableViewModel(R.drawable.ic_play_round_new));
                            }
                        }
                    }
                    ij.j jVar4 = ij.j.GONE;
                    c4106a.d(jVar4);
                    c4106a.f(jVar4);
                    if (!C1151e.f18024u) {
                        jVar4 = ij.j.VISIBLE;
                    }
                    c4106a.e(jVar4);
                    c4106a.g(new DrawableViewModel(R.drawable.ic_play_round_new));
                }
                if (intValue == R.id.show_page_fragment_v2) {
                    masterActivity.hideBottomNavAndRelatedElements();
                } else {
                    masterActivity.showBottomNavAndRelatedElements();
                }
                if (intValue == R.id.show_page_fragment_v2) {
                    mBottomPlayerViewModel5 = masterActivity.getMBottomPlayerViewModel();
                    C4106a c4106a2 = mBottomPlayerViewModel5.f40463b;
                    ij.j jVar5 = ij.j.VISIBLE;
                    c4106a2.getClass();
                    Intrinsics.checkNotNullParameter(jVar5, "<set-?>");
                    Gp.j[] jVarArr = C4106a.f50713y;
                    c4106a2.f50728w.b(c4106a2, jVarArr[14], jVar5);
                    mBottomPlayerViewModel6 = masterActivity.getMBottomPlayerViewModel();
                    C4106a c4106a3 = mBottomPlayerViewModel6.f40463b;
                    ij.j jVar6 = ij.j.GONE;
                    c4106a3.getClass();
                    Intrinsics.checkNotNullParameter(jVar6, "<set-?>");
                    c4106a3.f50729x.b(c4106a3, jVarArr[15], jVar6);
                } else {
                    mBottomPlayerViewModel = masterActivity.getMBottomPlayerViewModel();
                    C4106a c4106a4 = mBottomPlayerViewModel.f40463b;
                    ij.j jVar7 = ij.j.GONE;
                    c4106a4.getClass();
                    Intrinsics.checkNotNullParameter(jVar7, "<set-?>");
                    Gp.j[] jVarArr2 = C4106a.f50713y;
                    c4106a4.f50728w.b(c4106a4, jVarArr2[14], jVar7);
                    mBottomPlayerViewModel2 = masterActivity.getMBottomPlayerViewModel();
                    C4106a c4106a5 = mBottomPlayerViewModel2.f40463b;
                    ij.j jVar8 = ij.j.VISIBLE;
                    c4106a5.getClass();
                    Intrinsics.checkNotNullParameter(jVar8, "<set-?>");
                    c4106a5.f50729x.b(c4106a5, jVarArr2[15], jVar8);
                }
                Show show2 = playbackState2.getPlayingShow();
                if (show2 != null && (episode = playbackState2.getPlayingEpisode()) != null) {
                    mBottomPlayerViewModel3 = masterActivity.getMBottomPlayerViewModel();
                    String partText = masterActivity.getResources().getString(R.string.part);
                    Intrinsics.checkNotNullExpressionValue(partText, "getString(...)");
                    Integer id2 = episode.getId();
                    if (id2 != null && id2.intValue() == -1) {
                        Resources resources = masterActivity.getResources();
                        Show show3 = episode.getShow();
                        str = resources.getString(R.string.next_show_show_name, show3 != null ? show3.getTitle() : null);
                    } else {
                        str = null;
                    }
                    mBottomPlayerViewModel3.getClass();
                    Intrinsics.checkNotNullParameter(episode, "episode");
                    Intrinsics.checkNotNullParameter(show2, "show");
                    Intrinsics.checkNotNullParameter(partText, "partText");
                    String imageLocalUrl = episode.getImageLocalUrl();
                    if (imageLocalUrl == null) {
                        ImageSize imageSizes3 = episode.getImageSizes();
                        imageLocalUrl = imageSizes3 != null ? imageSizes3.getSize_300() : null;
                        if (imageLocalUrl == null) {
                            imageLocalUrl = episode.getImage();
                        }
                    }
                    C4106a c4106a6 = mBottomPlayerViewModel3.f40463b;
                    c4106a6.getClass();
                    Gp.j[] jVarArr3 = C4106a.f50713y;
                    c4106a6.f50714a.b(c4106a6, jVarArr3[0], imageLocalUrl);
                    Integer id3 = episode.getId();
                    c4106a6.f50715b.b(c4106a6, jVarArr3[1], (id3 != null && id3.intValue() == -1) ? str == null ? episode.getTitle() : str : episode.getTitle());
                    int seasonIndex = episode.getSeasonEpisodeCount() > 0 ? episode.getSeasonIndex() : episode.getIndex();
                    Integer valueOf2 = Integer.valueOf(seasonIndex);
                    if (seasonIndex > show2.getNEpisodes()) {
                        valueOf2 = null;
                    }
                    int intValue2 = valueOf2 != null ? valueOf2.intValue() : show2.getNEpisodes();
                    Boolean isRadio = show2.isRadio();
                    Boolean bool = Boolean.TRUE;
                    String str5 = Intrinsics.c(isRadio, bool) ? "Radio" : partText + " " + intValue2;
                    Boolean isRadio2 = show2.isRadio();
                    String str6 = str5;
                    Boolean bool2 = Boolean.FALSE;
                    if (Intrinsics.c(isRadio2, bool2)) {
                        str2 = partText + " " + intValue2 + "/" + (episode.getSeasonEpisodeCount() > 0 ? episode.getSeasonEpisodeCount() : show2.getNEpisodes());
                    } else {
                        str2 = str6;
                    }
                    boolean z16 = !episode.isPlayLocked();
                    boolean c11 = Intrinsics.c(show2.isRadio(), bool);
                    Ri.d dVar = c4106a6.f50727v;
                    Ri.d dVar2 = c4106a6.f50726r;
                    String str7 = str2;
                    Ri.d dVar3 = c4106a6.f50725p;
                    if (c11) {
                        dVar3.b(c4106a6, jVarArr3[11], bool2);
                        dVar2.b(c4106a6, jVarArr3[12], bool2);
                        dVar.b(c4106a6, jVarArr3[13], bool2);
                    } else {
                        dVar3.b(c4106a6, jVarArr3[11], Boolean.valueOf(z16));
                        dVar2.b(c4106a6, jVarArr3[12], Boolean.valueOf(z16));
                        dVar.b(c4106a6, jVarArr3[13], bool);
                    }
                    Integer id4 = episode.getId();
                    if (id4 == null || id4.intValue() != -1 || str == null) {
                        str = str7;
                    }
                    c4106a6.f50716c.b(c4106a6, jVarArr3[2], str);
                    ij.j jVar9 = ij.j.GONE;
                    Intrinsics.checkNotNullParameter(jVar9, "<set-?>");
                    c4106a6.f50724k.b(c4106a6, jVarArr3[10], jVar9);
                    mBottomPlayerViewModel4 = masterActivity.getMBottomPlayerViewModel();
                    mBottomPlayerViewModel4.getClass();
                    Intrinsics.checkNotNullParameter(show2, "show");
                    Intrinsics.checkNotNullParameter(episode, "episode");
                    V2.a k10 = i0.k(mBottomPlayerViewModel4);
                    Sp.f fVar = Kp.V.f12364a;
                    AbstractC0778p.w(k10, Sp.e.f20223c, null, new C3114l(episode, show2, mBottomPlayerViewModel4, null), 2);
                    Config config2 = C1151e.f18010f;
                    if (config2 != null && config2.isCoinBasedMonetization()) {
                        if (!Intrinsics.c(show2.isCoinedBased(), bool)) {
                            if (episode.isCoinedBased()) {
                                z14 = true;
                                break;
                            } else {
                                z14 = false;
                                break;
                            }
                        }
                        z13 = true;
                        if (z13) {
                            masterActivity.showHideDiscountRibbon(false);
                        }
                        masterActivity.setTotalEpisodes(new Integer(show2.getNEpisodes()));
                        masterActivity.setCurrentEpisodeIndex(new Integer(episode.getIndex()));
                        if (episode.isPlayLocked()) {
                            masterActivity.hideRibbonExtraData();
                        } else {
                            masterActivity.showRibbonExtraData();
                        }
                    }
                    z13 = false;
                    if (z13) {
                    }
                    masterActivity.setTotalEpisodes(new Integer(show2.getNEpisodes()));
                    masterActivity.setCurrentEpisodeIndex(new Integer(episode.getIndex()));
                    if (episode.isPlayLocked()) {
                    }
                }
                return Unit.f60920a;
            case 17:
                boolean booleanValue = ((Boolean) obj).booleanValue();
                com.vlv.aravali.payments.legacy.ui.fragment.F f10 = (com.vlv.aravali.payments.legacy.ui.fragment.F) obj5;
                str3 = f10.status;
                if (str3 == null) {
                    Intrinsics.m("status");
                    throw null;
                }
                if (Intrinsics.c(str3, "payment_success") && booleanValue) {
                    if (f10.getActivity() instanceof LegacyPaymentActivity) {
                        FragmentActivity activity = f10.getActivity();
                        Intrinsics.f(activity, "null cannot be cast to non-null type com.vlv.aravali.payments.legacy.ui.activity.LegacyPaymentActivity");
                        String string = f10.getString(R.string.kuku_fm_premium);
                        Intrinsics.checkNotNullExpressionValue(string, "getString(...)");
                        ((LegacyPaymentActivity) activity).setToolbarText(string);
                    }
                    z15 = f10.isGamificationEnabled;
                    if (!z15 || f10.getChildFragmentManager().p0()) {
                        User t10 = io.sentry.config.d.t(KukuFMApplication.f45447x);
                        if (t10 != null && (userName = t10.getUserName()) != null && userName.length() != 0) {
                            AppCompatTextView appCompatTextView = ((AbstractC1823rf) obj4).f27405r0;
                            String userName2 = t10.getUserName();
                            if (userName2 == null) {
                                userName2 = "-";
                            }
                            appCompatTextView.setText(userName2);
                            if (!t10.isPhoneVerified()) {
                                f10.showPhoneVerificationDialog();
                            }
                        }
                    } else {
                        f10.showGoalIntroductionBottomSheet();
                    }
                }
                return Unit.f60920a;
            case 18:
                return e(obj, interfaceC6303c);
            case 19:
                J.k kVar3 = (J.k) obj;
                RippleNode rippleNode = (RippleNode) obj5;
                if (!(kVar3 instanceof J.p)) {
                    C4904i c4904i = rippleNode.f33112H;
                    if (c4904i == null) {
                        c4904i = new C4904i((Function0) rippleNode.f33120y, rippleNode.f33118w);
                        AbstractC1177e.o(rippleNode);
                        rippleNode.f33112H = c4904i;
                    }
                    c4904i.D(kVar3, (Kp.H) obj4);
                } else if (rippleNode.f33115Q) {
                    rippleNode.F0((J.p) kVar3);
                } else {
                    rippleNode.f33116X.a(kVar3);
                }
                return Unit.f60920a;
            case 20:
                return g(obj, interfaceC6303c);
            case 21:
                return h(obj, interfaceC6303c);
            case 22:
                return i(obj, interfaceC6303c);
            case 23:
                return j(obj, interfaceC6303c);
            default:
                if (interfaceC6303c instanceof xk.b) {
                    bVar = (xk.b) interfaceC6303c;
                    int i29 = bVar.f72698b;
                    if ((i29 & Integer.MIN_VALUE) != 0) {
                        bVar.f72698b = i29 - Integer.MIN_VALUE;
                        Object obj12 = bVar.f72697a;
                        EnumC6418a enumC6418a8 = EnumC6418a.COROUTINE_SUSPENDED;
                        i18 = bVar.f72698b;
                        if (i18 != 0) {
                            AbstractC7507K.w(obj12);
                            C0292r1 j12 = B4.Q.j((C0292r1) obj, new xk.a((xk.n) obj4, null));
                            bVar.f72698b = 1;
                            if (((InterfaceC1012l) obj5).f(j12, bVar) == enumC6418a8) {
                                return enumC6418a8;
                            }
                        } else {
                            if (i18 != 1) {
                                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                            }
                            AbstractC7507K.w(obj12);
                        }
                        return Unit.f60920a;
                    }
                }
                bVar = new xk.b(this, interfaceC6303c);
                Object obj122 = bVar.f72697a;
                EnumC6418a enumC6418a82 = EnumC6418a.COROUTINE_SUSPENDED;
                i18 = bVar.f72698b;
                if (i18 != 0) {
                }
                return Unit.f60920a;
        }
    }

    public C0120k(AudioManager audioManager, MasterActivity masterActivity) {
        this.f1459a = 16;
        this.f1461c = audioManager;
        this.f1460b = masterActivity;
    }
}