导航菜单

页面标题

页面副标题

Crafto v9.3.3 - z0.java 源代码

正在查看: Crafto v9.3.3 应用的 z0.java JAVA 源代码文件

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


package Pa;

import android.content.Intent;
import android.net.Uri;
import com.clevertap.android.sdk.db.Column;
import com.crafto.android.data.model.MetaObject;
import com.crafto.android.ui.home.D7;
import com.crafto.android.ui.home.HomeScreenActivity;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.StringCompanionObject;
import okhttp3.ResponseBody;

public final class z0 implements Function1 {
    public final int a;
    public final Object b;

    public z0(Object obj, int i) {
        this.a = i;
        this.b = obj;
    }

    public final Object invoke(Object obj) {
        String str;
        Object obj2 = this.b;
        switch (this.a) {
            case 0:
                ResponseBody responseBody = (ResponseBody) obj;
                N0 n0 = (N0) obj2;
                Intrinsics.checkNotNullParameter(n0, "this$0");
                Intrinsics.checkNotNullParameter(responseBody, "it");
                do.a.a.c("requestOtp success %s", new Object[]{responseBody});
                n0.i.postValue(Boolean.TRUE);
                break;
            case 1:
                Uri uri = (Uri) obj;
                Q8.T t = (Q8.T) obj2;
                Intrinsics.checkNotNullParameter(t, "this$0");
                Intrinsics.checkNotNullParameter(uri, "it");
                t.X0(uri);
                break;
            case 2:
                String str2 = (String) obj;
                do.a.a.g("Viewing subscriptions on the Google Play Store", new Object[0]);
                vf.a aVar = (HomeScreenActivity) obj2;
                if (str2 != null) {
                    StringCompanionObject stringCompanionObject = StringCompanionObject.INSTANCE;
                    str = defpackage.k.c(new Object[]{str2, aVar.getPackageName()}, 2, "https://play.google.com/store/account/subscriptions?product=%s&package=%s", "format(...)");
                } else {
                    str = "https://play.google.com/store/account/subscriptions";
                }
                Intent intent = new Intent("android.intent.action.VIEW");
                intent.setData(Uri.parse(str));
                aVar.startActivity(intent);
                break;
            default:
                boolean z = D7.Q4;
                final D7 d7 = (D7) obj2;
                Intrinsics.checkNotNullParameter(d7, "this$0");
                Intrinsics.checkNotNullParameter((MetaObject) obj, Column.DATA);
                d7.x0(new Function0() {
                    public final Object invoke() {
                        boolean z2 = D7.Q4;
                        D7 d72 = D7.this;
                        Intrinsics.checkNotNullParameter(d72, "this$0");
                        d72.e2().a0();
                        do.a.a.c("uploadFilterImage Success", new Object[0]);
                        d72.b3();
                        return Unit.a;
                    }
                });
                break;
        }
        return Unit.a;
    }
}