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


package z52;

import em3.q;
import fn.g;
import hq3.a0;
import java.util.concurrent.TimeUnit;
import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;
import tv2.e0;

public final class b {

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

    /* renamed from: b  reason: collision with root package name */
    public static f f197768b;

    /* renamed from: c  reason: collision with root package name */
    public static final HttpLoggingInterceptor f197769c = new HttpLoggingInterceptor(g.f72550a);

    public /* synthetic */ class a {
        public static final /* synthetic */ int[] $EnumSwitchMapping$0;

        static {
            int[] iArr = new int[jz2.b.values().length];
            iArr[jz2.b.BETA.ordinal()] = 1;
            iArr[jz2.b.RC.ordinal()] = 2;
            iArr[jz2.b.RELEASE.ordinal()] = 3;
            $EnumSwitchMapping$0 = iArr;
        }
    }

    public final void a(String str) {
        q.f(str, "channelAccessToken");
        HttpLoggingInterceptor httpLoggingInterceptor = f197769c;
        httpLoggingInterceptor.level(HttpLoggingInterceptor.Level.NONE);
        OkHttpClient.Builder builder = new OkHttpClient.Builder();
        TimeUnit timeUnit = TimeUnit.SECONDS;
        OkHttpClient build = builder.connectTimeout(5, timeUnit).readTimeout(70, timeUnit).addInterceptor(new c(str)).addInterceptor(httpLoggingInterceptor).build();
        a0.b bVar = new a0.b();
        d62.a aVar = d62.a.f62806a;
        int i14 = a.$EnumSwitchMapping$0[d62.a.f62807b.ordinal()];
        bVar.b(i14 != 1 ? i14 != 2 ? i14 != 3 ? "" : "https://kyc-web-pay.line-apps.com" : "https://kyc-web-pay.line-apps-rc.com:20142" : "https://kyc-web-pay.line-apps-beta.com:15443");
        bVar.d(build);
        bVar.f83690d.add(new lq3.a(new e0(new e0.a()), false, false, false));
        f197768b = (f) bVar.c().b(f.class);
    }
}