LINE.apk(点击下载) / d.java


package k62;

import androidx.lifecycle.c1;
import androidx.lifecycle.o0;
import com.linecorp.line.nelo.LineNelo;
import em3.p;
import em3.q;
import em3.s;
import fg3.a;
import java.util.Map;
import java.util.Objects;
import java.util.concurrent.TimeUnit;
import kk0.c;
import kotlin.Lazy;
import kotlin.LazyKt;
import kotlin.NoWhenBranchMatchedException;
import kotlin.ResultKt;
import kotlin.TuplesKt;
import kotlin.Unit;
import okhttp3.OkHttpClient;
import ql3.g0;
import um3.c0;
import um3.g;
import um3.w0;

public final class d extends c1 {

    /* renamed from: c  reason: collision with root package name */
    public static final d f100860c = null;

    /* renamed from: d  reason: collision with root package name */
    public static final Map<String, String> f100861d = g0.j(TuplesKt.to("1554102018-RryxLoLx", "https://dev-cwa.linebank.com.tw"), TuplesKt.to("1554102018-xN9rqjqr", "https://stg-cwa.linebank.com.tw"), TuplesKt.to("1554102018-rgaMVpVM", "https://uat-cwa.linebank.com.tw"), TuplesKt.to("1612609319-qJbaOpWn", "https://cwa.linebank.com.tw"));

    /* renamed from: a  reason: collision with root package name */
    public final o0<String> f100862a = new o0<>();

    /* renamed from: b  reason: collision with root package name */
    public final Lazy f100863b = LazyKt.lazy(a.f100864b);

    public static final class a extends s implements dm3.a<OkHttpClient> {

        /* renamed from: b  reason: collision with root package name */
        public static final a f100864b = new a();

        public a() {
            super(0);
        }

        /* Return type fixed from 'java.lang.Object' to match base method */
        @Override // dm3.a
        public OkHttpClient invoke() {
            OkHttpClient.Builder builder = new OkHttpClient.Builder();
            TimeUnit timeUnit = TimeUnit.SECONDS;
            return builder.connectTimeout(15, timeUnit).readTimeout(15, timeUnit).build();
        }
    }

    /* JADX WARNING: Removed duplicated region for block: B:12:0x0032  */
    /* JADX WARNING: Removed duplicated region for block: B:8:0x0024  */
    public static final Object S5(d dVar, String str, String str2, ul3.d dVar2) {
        b bVar;
        int i14;
        Objects.requireNonNull(dVar);
        if (dVar2 instanceof b) {
            bVar = (b) dVar2;
            int i15 = bVar.f100856d;
            if ((i15 & Integer.MIN_VALUE) != 0) {
                bVar.f100856d = i15 - Integer.MIN_VALUE;
                Object obj = bVar.f100854b;
                vl3.a aVar = vl3.a.COROUTINE_SUSPENDED;
                i14 = bVar.f100856d;
                if (i14 != 0) {
                    ResultKt.throwOnFailure(obj);
                    c0 c0Var = w0.f166207d;
                    c cVar = new c(str, dVar, str2, null);
                    bVar.f100856d = 1;
                    obj = g.g(c0Var, cVar, bVar);
                    if (obj == aVar) {
                        return aVar;
                    }
                } else if (i14 == 1) {
                    ResultKt.throwOnFailure(obj);
                } else {
                    throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                }
                q.e(obj, "@Suppress(\"BlockingMetho…)\n            }\n        }");
                return obj;
            }
        }
        bVar = new b(dVar, dVar2);
        Object obj2 = bVar.f100854b;
        vl3.a aVar2 = vl3.a.COROUTINE_SUSPENDED;
        i14 = bVar.f100856d;
        if (i14 != 0) {
        }
        q.e(obj2, "@Suppress(\"BlockingMetho…)\n            }\n        }");
        return obj2;
    }

    public static void T5(d dVar, String str, Throwable th4, int i14) {
        Objects.requireNonNull(dVar);
        String str2 = "error: " + str;
        p.a(3, "level");
        int i15 = a.d.$EnumSwitchMapping$0[j.q.e(3)];
        if (i15 == 1) {
            c cVar = LineNelo.f38112a;
            if (cVar != null) {
                cVar.d(c.b.INFO, null, "", str2, "FivuTwBridge");
                Unit unit = Unit.INSTANCE;
            }
        } else if (i15 == 2) {
            LineNelo.c("", str2, "FivuTwBridge", null);
        } else if (i15 == 3) {
            LineNelo.a("", str2, "FivuTwBridge", null);
        } else if (i15 == 4) {
            c cVar2 = LineNelo.f38112a;
            if (cVar2 != null) {
                cVar2.d(c.b.FATAL, null, "", str2, "FivuTwBridge");
                Unit unit2 = Unit.INSTANCE;
            }
        } else if (i15 == 5) {
            c cVar3 = LineNelo.f38112a;
            if (cVar3 != null) {
                cVar3.d(c.b.CRASH, null, "", str2, "FivuTwBridge");
                Unit unit3 = Unit.INSTANCE;
            }
        } else {
            throw new NoWhenBranchMatchedException();
        }
    }
}