导航菜单

页面标题

页面副标题

BodyTech v7.6.4 - VideoPlayerViewModel$fetchShareData$1.java 源代码

正在查看: BodyTech v7.6.4 应用的 VideoPlayerViewModel$fetchShareData$1.java JAVA 源代码文件

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


package com.fitnessmobileapps.fma.feature.video;

import com.fitnessmobileapps.fma.core.domain.WapLocationInfoEntity;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.jvm.internal.SuspendLambda;
import kotlin.jvm.functions.Function2;
import kotlinx.coroutines.CoroutineScope;

@Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0000\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\u008a@"}, d2 = {"Lkotlinx/coroutines/CoroutineScope;", "", "<anonymous>"}, k = 3, mv = {1, 8, 0})
@kotlin.coroutines.jvm.internal.c(c = "com.fitnessmobileapps.fma.feature.video.VideoPlayerViewModel$fetchShareData$1", f = "VideoPlayerViewModel.kt", l = {75}, m = "invokeSuspend")
final class VideoPlayerViewModel$fetchShareData$1 extends SuspendLambda implements Function2<CoroutineScope, Continuation<? super Unit>, Object> {
    int label;
    final VideoPlayerViewModel this$0;

    VideoPlayerViewModel$fetchShareData$1(VideoPlayerViewModel videoPlayerViewModel, Continuation<? super VideoPlayerViewModel$fetchShareData$1> continuation) {
        super(2, continuation);
        this.this$0 = videoPlayerViewModel;
    }

    @Override
    public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
        return new VideoPlayerViewModel$fetchShareData$1(this.this$0, continuation);
    }

    @Override
    public final Object invokeSuspend(Object obj) {
        Object f10;
        com.fitnessmobileapps.fma.feature.location.domain.interactor.e eVar;
        f10 = kotlin.coroutines.intrinsics.b.f();
        int i10 = this.label;
        if (i10 == 0) {
            kotlin.f.b(obj);
            eVar = this.this$0.getGymInfo;
            this.label = 1;
            obj = eVar.a(this);
            if (obj == f10) {
                return f10;
            }
        } else {
            if (i10 != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            kotlin.f.b(obj);
        }
        VideoPlayerViewModel videoPlayerViewModel = this.this$0;
        WapLocationInfoEntity wapLocationInfoEntity = (WapLocationInfoEntity) obj;
        videoPlayerViewModel.businessName = wapLocationInfoEntity.getContactInfo().getName();
        videoPlayerViewModel.shareableUrl = "https://video.mindbodyonline.com/studios/" + wapLocationInfoEntity.getSiteId() + "/videos/" + videoPlayerViewModel.videoId;
        return Unit.f33247a;
    }

    @Override
    public final Object invoke(CoroutineScope coroutineScope, Continuation<? super Unit> continuation) {
        return ((VideoPlayerViewModel$fetchShareData$1) create(coroutineScope, continuation)).invokeSuspend(Unit.f33247a);
    }
}