导航菜单

页面标题

页面副标题

BetterTogether v3.0.0 - c.java 源代码

正在查看: BetterTogether v3.0.0 应用的 c.java JAVA 源代码文件

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


package qd;

import android.app.Application;
import android.content.Context;
import androidx.health.platform.client.proto.z;
import com.bettertogether.cache.db.BetterTogetherDatabase;
import com.bettertogether.cache.preferences.PreferenceData;
import com.bettertogether.cache.repository.UsersRepository;
import com.bettertogether.screens.account.create.OnBoardAccountInteractor;
import com.bettertogether.screens.account.create.OnBoardAccountPresenter;
import cp.d0;
import fd.uHnv.aXauN;
import ff.m;
import ff.q;
import hf.i;
import hf.l;
import hf.o;
import if.g;
import java.util.concurrent.TimeUnit;
import ke.f;
import kk.h;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.g0;
import kotlin.jvm.internal.p;
import md.v;
import of.d;
import retrofit2.Retrofit;
import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory;
import retrofit2.converter.gson.GsonConverterFactory;
import tf.b;
import tf.n;
import wr.a0;
import wr.b0;
import xe.e;
import xe.j;
import zs.a;

public final class c extends p implements Function2 {

    public final int f769d;

    public static final c f767e = new c(0);
    public static final c i = new c(1);

    public static final c f768v = new c(2);
    public static final c w = new c(3);
    public static final c x = new c(4);
    public static final c y = new c(5);
    public static final c M = new c(6);
    public static final c N = new c(7);
    public static final c O = new c(8);
    public static final c P = new c(9);
    public static final c Q = new c(10);
    public static final c R = new c(11);
    public static final c S = new c(12);
    public static final c T = new c(13);
    public static final c U = new c(14);
    public static final c V = new c(15);
    public static final c W = new c(16);
    public static final c X = new c(17);
    public static final c Y = new c(18);
    public static final c Z = new c(19);

    public static final c f766a0 = new c(20);
    public static final c b0 = new c(21);
    public static final c c0 = new c(22);
    public static final c d0 = new c(23);
    public static final c e0 = new c(24);
    public static final c f0 = new c(25);
    public static final c g0 = new c(26);
    public static final c h0 = new c(27);
    public static final c i0 = new c(28);
    public static final c j0 = new c(29);

    public c(int i2) {
        super(2);
        this.f769d = i2;
    }

    public final b a(a aVar, ws.a aVar2) {
        int i2 = this.f769d;
        String str = aXauN.tpIrQVMRGLiBa;
        switch (i2) {
            case 1:
                Intrinsics.checkNotNullParameter(aVar, str);
                Intrinsics.checkNotNullParameter(aVar2, "it");
                break;
            default:
                Intrinsics.checkNotNullParameter(aVar, str);
                Intrinsics.checkNotNullParameter(aVar2, "it");
                break;
        }
        return new b((yd.a) aVar.a((Function0) null, g0.a(yd.a.class), (xs.a) null), (UsersRepository) aVar.a((Function0) null, g0.a(UsersRepository.class), (xs.a) null));
    }

    public final n b(a aVar, ws.a aVar2) {
        switch (this.f769d) {
        }
        return new n((tf.p) a0.g0.d(aVar, "$this$scoped", aVar2, "<name for destructuring parameter 0>", tf.p.class), (b) aVar.a((Function0) null, g0.a(b.class), (xs.a) null), (PreferenceData) aVar.a((Function0) null, g0.a(PreferenceData.class), (xs.a) null));
    }

    public final Object invoke(Object obj, Object obj2) {
        h m;
        h m2;
        switch (this.f769d) {
            case 0:
                a aVar = (a) obj;
                return new ff.p((q) a0.g0.d(aVar, "$this$scoped", (ws.a) obj2, "<name for destructuring parameter 0>", q.class), (PreferenceData) aVar.a((Function0) null, g0.a(PreferenceData.class), (xs.a) null), (ue.c) aVar.a((Function0) null, g0.a(ue.c.class), (xs.a) null), (m) aVar.a((Function0) null, g0.a(m.class), (xs.a) null));
            case 1:
                return a((a) obj, (ws.a) obj2);
            case z.VALUES_FIELD_NUMBER:
                return b((a) obj, (ws.a) obj2);
            case 3:
                a aVar2 = (a) obj;
                Intrinsics.checkNotNullParameter(aVar2, "$this$scoped");
                Intrinsics.checkNotNullParameter((ws.a) obj2, "it");
                return new o((yd.a) aVar2.a((Function0) null, g0.a(yd.a.class), (xs.a) null));
            case z.ORIGIN_SERIES_UID_FIELD_NUMBER:
                a aVar3 = (a) obj;
                return new l((i) a0.g0.d(aVar3, "$this$scoped", (ws.a) obj2, "<name for destructuring parameter 0>", i.class), (o) aVar3.a((Function0) null, g0.a(o.class), (xs.a) null), 0);
            case z.DATA_ORIGIN_FIELD_NUMBER:
                return a((a) obj, (ws.a) obj2);
            case z.ZONE_OFFSET_SECONDS_FIELD_NUMBER:
                return b((a) obj, (ws.a) obj2);
            case z.UPDATE_TIME_MILLIS_FIELD_NUMBER:
                return new of.a((d) a0.g0.d((a) obj, "$this$scoped", (ws.a) obj2, "<name for destructuring parameter 0>", d.class));
            case 8:
                a aVar4 = (a) obj;
                Intrinsics.checkNotNullParameter(aVar4, "$this$scoped");
                Intrinsics.checkNotNullParameter((ws.a) obj2, "it");
                return new e((yd.b) aVar4.a((Function0) null, g0.a(yd.b.class), (xs.a) null), (PreferenceData) aVar4.a((Function0) null, g0.a(PreferenceData.class), (xs.a) null), (UsersRepository) aVar4.a((Function0) null, g0.a(UsersRepository.class), (xs.a) null));
            case z.START_TIME_MILLIS_FIELD_NUMBER:
                a aVar5 = (a) obj;
                return new xe.i((j) a0.g0.d(aVar5, "$this$scoped", (ws.a) obj2, "<name for destructuring parameter 0>", j.class), (e) aVar5.a((Function0) null, g0.a(e.class), (xs.a) null), (PreferenceData) aVar5.a((Function0) null, g0.a(PreferenceData.class), (xs.a) null));
            case z.END_TIME_MILLIS_FIELD_NUMBER:
                a aVar6 = (a) obj;
                Intrinsics.checkNotNullParameter(aVar6, "$this$scoped");
                Intrinsics.checkNotNullParameter((ws.a) obj2, "it");
                return new kf.b((yd.b) aVar6.a((Function0) null, g0.a(yd.b.class), (xs.a) null), (PreferenceData) aVar6.a((Function0) null, g0.a(PreferenceData.class), (xs.a) null), (UsersRepository) aVar6.a((Function0) null, g0.a(UsersRepository.class), (xs.a) null));
            case z.CLIENT_ID_FIELD_NUMBER:
                a aVar7 = (a) obj;
                return new kf.c((kf.d) a0.g0.d(aVar7, "$this$scoped", (ws.a) obj2, "<name for destructuring parameter 0>", kf.d.class), (kf.b) aVar7.a((Function0) null, g0.a(kf.b.class), (xs.a) null), (PreferenceData) aVar7.a((Function0) null, g0.a(PreferenceData.class), (xs.a) null));
            case z.CLIENT_VERSION_FIELD_NUMBER:
                a aVar8 = (a) obj;
                Intrinsics.checkNotNullParameter(aVar8, "$this$scoped");
                Intrinsics.checkNotNullParameter((ws.a) obj2, "it");
                return new g((yd.b) aVar8.a((Function0) null, g0.a(yd.b.class), (xs.a) null), (PreferenceData) aVar8.a((Function0) null, g0.a(PreferenceData.class), (xs.a) null), (UsersRepository) aVar8.a((Function0) null, g0.a(UsersRepository.class), (xs.a) null));
            case z.DEVICE_FIELD_NUMBER:
                a aVar9 = (a) obj;
                return new if.i((if.j) a0.g0.d(aVar9, "$this$scoped", (ws.a) obj2, "<name for destructuring parameter 0>", if.j.class), (g) aVar9.a((Function0) null, g0.a(g.class), (xs.a) null), (PreferenceData) aVar9.a((Function0) null, g0.a(PreferenceData.class), (xs.a) null));
            case z.ORIGIN_SAMPLE_UID_FIELD_NUMBER:
                a aVar10 = (a) obj;
                Intrinsics.checkNotNullParameter(aVar10, "$this$scoped");
                Intrinsics.checkNotNullParameter((ws.a) obj2, "it");
                return new ke.d((yd.b) aVar10.a((Function0) null, g0.a(yd.b.class), (xs.a) null), (PreferenceData) aVar10.a((Function0) null, g0.a(PreferenceData.class), (xs.a) null), (UsersRepository) aVar10.a((Function0) null, g0.a(UsersRepository.class), (xs.a) null));
            case z.SERIES_VALUES_FIELD_NUMBER:
                a aVar11 = (a) obj;
                return new f((ke.g) a0.g0.d(aVar11, "$this$scoped", (ws.a) obj2, "<name for destructuring parameter 0>", ke.g.class), (ke.d) aVar11.a((Function0) null, g0.a(ke.d.class), (xs.a) null));
            case z.MIN_FIELD_NUMBER:
                a aVar12 = (a) obj;
                Intrinsics.checkNotNullParameter(aVar12, "$this$scoped");
                Intrinsics.checkNotNullParameter((ws.a) obj2, "it");
                return new OnBoardAccountInteractor((yd.a) aVar12.a((Function0) null, g0.a(yd.a.class), (xs.a) null), (UsersRepository) aVar12.a((Function0) null, g0.a(UsersRepository.class), (xs.a) null), (PreferenceData) aVar12.a((Function0) null, g0.a(PreferenceData.class), (xs.a) null), (BetterTogetherDatabase) aVar12.a((Function0) null, g0.a(BetterTogetherDatabase.class), (xs.a) null));
            case z.MAX_FIELD_NUMBER:
                a aVar13 = (a) obj;
                return new OnBoardAccountPresenter((ae.m) a0.g0.d(aVar13, "$this$scoped", (ws.a) obj2, "<name for destructuring parameter 0>", ae.m.class), (OnBoardAccountInteractor) aVar13.a((Function0) null, g0.a(OnBoardAccountInteractor.class), (xs.a) null), (v) aVar13.a((Function0) null, g0.a(v.class), (xs.a) null));
            case z.AVG_FIELD_NUMBER:
                a aVar14 = (a) obj;
                return new ye.n((ye.o) a0.g0.d(aVar14, "$this$scoped", (ws.a) obj2, "<name for destructuring parameter 0>", ye.o.class), (sd.g) aVar14.a((Function0) null, g0.a(sd.g.class), (xs.a) null), (cf.g) aVar14.a((Function0) null, g0.a(cf.g.class), (xs.a) null), (UsersRepository) aVar14.a((Function0) null, g0.a(UsersRepository.class), (xs.a) null), (PreferenceData) aVar14.a((Function0) null, g0.a(PreferenceData.class), (xs.a) null), (yd.a) aVar14.a((Function0) null, g0.a(yd.a.class), (xs.a) null), (v) aVar14.a((Function0) null, g0.a(v.class), (xs.a) null));
            case z.START_ZONE_OFFSET_SECONDS_FIELD_NUMBER:
                Intrinsics.checkNotNullParameter((a) obj, "$this$single");
                Intrinsics.checkNotNullParameter((ws.a) obj2, "it");
                return new en.o();
            case z.END_ZONE_OFFSET_SECONDS_FIELD_NUMBER:
                a aVar15 = (a) obj;
                Intrinsics.checkNotNullParameter(aVar15, "$this$single");
                Intrinsics.checkNotNullParameter((ws.a) obj2, "it");
                wd.c cVar = (wd.c) aVar15.a((Function0) null, g0.a(wd.c.class), (xs.a) null);
                wd.a aVar16 = (wd.a) aVar15.a((Function0) null, g0.a(wd.a.class), (xs.a) null);
                Intrinsics.checkNotNullParameter(cVar, "userAgentInterceptor");
                Intrinsics.checkNotNullParameter(aVar16, "connectivityInterceptor");
                ks.c A = com.google.firebase.messaging.e.A();
                a0 a0Var = new a0();
                a0Var.a(A);
                a0Var.a(cVar);
                a0Var.a(aVar16);
                TimeUnit timeUnit = TimeUnit.SECONDS;
                Intrinsics.checkNotNullParameter(timeUnit, "unit");
                a0Var.x = xr.c.b("timeout", 120L, timeUnit);
                Intrinsics.checkNotNullParameter(timeUnit, "unit");
                a0Var.y = xr.c.b("timeout", 120L, timeUnit);
                return (yd.b) new Retrofit.Builder().baseUrl("https://api.luz2win.com").addCallAdapterFactory(RxJava2CallAdapterFactory.create()).addConverterFactory(GsonConverterFactory.create()).client(new b0(a0Var)).build().create(yd.b.class);
            case 21:
                a aVar17 = (a) obj;
                Intrinsics.checkNotNullParameter(aVar17, "$this$single");
                Intrinsics.checkNotNullParameter((ws.a) obj2, "it");
                wd.b bVar = (wd.b) aVar17.a((Function0) null, g0.a(wd.b.class), (xs.a) null);
                ks.c cVar2 = (ks.c) aVar17.a((Function0) null, g0.a(ks.c.class), (xs.a) null);
                wd.a aVar18 = (wd.a) aVar17.a((Function0) null, g0.a(wd.a.class), (xs.a) null);
                wd.c cVar3 = (wd.c) aVar17.a((Function0) null, g0.a(wd.c.class), (xs.a) null);
                ud.a aVar19 = (ud.a) aVar17.a((Function0) null, g0.a(ud.a.class), (xs.a) null);
                Intrinsics.checkNotNullParameter(bVar, "tokenInterceptor");
                Intrinsics.checkNotNullParameter(cVar2, "loggingInterceptor");
                Intrinsics.checkNotNullParameter(aVar18, "connectivityInterceptor");
                Intrinsics.checkNotNullParameter(cVar3, "userAgentInterceptor");
                Intrinsics.checkNotNullParameter(aVar19, "tokenAuthenticator");
                return (yd.a) new Retrofit.Builder().baseUrl("https://api.luz2win.com").addCallAdapterFactory(RxJava2CallAdapterFactory.create()).addConverterFactory(GsonConverterFactory.create()).client(new b0(com.google.firebase.messaging.e.q(aVar19, aVar18, bVar, cVar3, cVar2))).build().create(yd.a.class);
            case z.SUB_TYPE_DATA_LISTS_FIELD_NUMBER:
                a aVar20 = (a) obj;
                Intrinsics.checkNotNullParameter(aVar20, "$this$single");
                Intrinsics.checkNotNullParameter((ws.a) obj2, "it");
                return new wd.a((Context) aVar20.a((Function0) null, g0.a(Context.class), (xs.a) null));
            case z.RECORDING_METHOD_FIELD_NUMBER:
                Intrinsics.checkNotNullParameter((a) obj, "$this$single");
                Intrinsics.checkNotNullParameter((ws.a) obj2, "it");
                return new wd.c();
            case 24:
                a aVar21 = (a) obj;
                Intrinsics.checkNotNullParameter(aVar21, "$this$factory");
                Intrinsics.checkNotNullParameter((ws.a) obj2, "it");
                return new ud.a((Context) aVar21.a((Function0) null, g0.a(Context.class), (xs.a) null), (PreferenceData) aVar21.a((Function0) null, g0.a(PreferenceData.class), (xs.a) null), (BetterTogetherDatabase) aVar21.a((Function0) null, g0.a(BetterTogetherDatabase.class), (xs.a) null));
            case 25:
                a aVar22 = (a) obj;
                Intrinsics.checkNotNullParameter(aVar22, "$this$factory");
                Intrinsics.checkNotNullParameter((ws.a) obj2, "it");
                return new wd.b((PreferenceData) aVar22.a((Function0) null, g0.a(PreferenceData.class), (xs.a) null));
            case 26:
                Intrinsics.checkNotNullParameter((a) obj, "$this$factory");
                Intrinsics.checkNotNullParameter((ws.a) obj2, "it");
                return com.google.firebase.messaging.e.A();
            case 27:
                Intrinsics.checkNotNullParameter((a) obj, "$this$single");
                Intrinsics.checkNotNullParameter((ws.a) obj2, "it");
                return sh.g.y;
            case 28:
                a aVar23 = (a) obj;
                Intrinsics.checkNotNullParameter(aVar23, "$this$single");
                Intrinsics.checkNotNullParameter((ws.a) obj2, "it");
                Application a = dp.l.a(aVar23);
                String str = (String) h.a(dp.l.a(aVar23)).e;
                int i2 = pk.a.a;
                kk.o.g(pk.c.b);
                if (!ok.d.a()) {
                    kk.o.e(new lk.h(9), true);
                }
                lk.a.a();
                Context applicationContext = a.getApplicationContext();
                qk.a aVar24 = new qk.a(0);
                aVar24.g = d0.N("AES256_SIV");
                if (applicationContext == null) {
                    throw new IllegalArgumentException("need an Android context");
                }
                aVar24.b = applicationContext;
                aVar24.c = "__androidx_security_crypto_encrypted_prefs_key_keyset__";
                aVar24.d = "ENCRYPTED_SHARED_PREFERENCE";
                aVar24.g("android-keystore://" + str);
                qk.b a3 = aVar24.a();
                synchronized (a3) {
                    m = a3.a.m();
                }
                qk.a aVar25 = new qk.a(0);
                aVar25.g = d0.N("AES256_GCM");
                aVar25.b = applicationContext;
                aVar25.c = "__androidx_security_crypto_encrypted_prefs_value_keyset__";
                aVar25.d = "ENCRYPTED_SHARED_PREFERENCE";
                aVar25.g("android-keystore://" + str);
                qk.b a4 = aVar25.a();
                synchronized (a4) {
                    m2 = a4.a.m();
                }
                e7.b bVar2 = new e7.b(applicationContext.getSharedPreferences("ENCRYPTED_SHARED_PREFERENCE", 0), (kk.a) m2.b(kk.a.class), (kk.b) m.b(kk.b.class));
                Intrinsics.checkNotNullExpressionValue(bVar2, "create(\n            andr…heme.AES256_GCM\n        )");
                return new PreferenceData(bVar2, (en.o) aVar23.a((Function0) null, g0.a(en.o.class), (xs.a) null));
            default:
                a aVar26 = (a) obj;
                Intrinsics.checkNotNullParameter(aVar26, "$this$single");
                Intrinsics.checkNotNullParameter((ws.a) obj2, "it");
                return dp.l.a(aVar26).getSharedPreferences("rate_us_sp", 0);
        }
    }
}