导航菜单

页面标题

页面副标题

klikUMKM v2.0.1 - f.java 源代码

正在查看: klikUMKM v2.0.1 应用的 f.java JAVA 源代码文件

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


package m8;

import android.animation.ValueAnimator;
import android.content.Intent;
import android.graphics.Path;
import android.text.Layout;
import android.text.StaticLayout;
import android.text.TextDirectionHeuristic;
import android.text.TextPaint;
import android.text.TextUtils;
import android.util.Log;
import android.view.View;
import androidx.activity.ComponentActivity;
import com.google.android.material.internal.k0;
import com.google.android.material.internal.l0;
import com.yx.credit.base.entity.Rsp;
import com.yx.credit.base.entity.permission.PermissionDevice;
import com.yx.credit.base.entity.permission.PermissionLocation;
import com.yx.credit.base.entity.permission.PermissionReportEntity;
import com.yx.credit.indonesia.ui.delegate.DelegateActivity;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Time;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;
import java.util.WeakHashMap;
import kotlin.jvm.internal.Intrinsics;
import x2.m0;
import x2.s1;

public class f implements aa.h, p3.b, b6.b, f5.e, m4.e, i6.a, gb.c, db.h, n5.a, o1.i, k0 {

    public static boolean f10161b;

    public static Constructor f10162c;
    public final int a;

    public f(int i10) {
        this.a = i10;
    }

    public static Path e(float f8, float f10, float f11, float f12) {
        Path path = new Path();
        path.moveTo(f8, f10);
        path.lineTo(f11, f12);
        return path;
    }

    private final void f() {
    }

    private final void k() {
    }

    private final void n(eb.b bVar) {
    }

    private final void o(eb.b bVar) {
    }

    public static void p(ComponentActivity activity, float f8) {
        Intrinsics.checkNotNullParameter(activity, "activity");
        Intent intent = new Intent(activity, (Class<?>) DelegateActivity.class);
        int i10 = DelegateActivity.T;
        intent.putExtra("bundle_step", f8);
        intent.putExtra("bundle_from_source", 0);
        activity.startActivity(intent);
    }

    @Override
    public s1 a(View view, s1 s1Var, l0 l0Var) {
        l0Var.f6776d = s1Var.a() + l0Var.f6776d;
        WeakHashMap weakHashMap = m0.a;
        boolean z10 = view.getLayoutDirection() == 1;
        int b3 = s1Var.b();
        int c5 = s1Var.c();
        int i10 = l0Var.a + (z10 ? c5 : b3);
        l0Var.a = i10;
        int i11 = l0Var.f6775c;
        if (!z10) {
            b3 = c5;
        }
        int i12 = i11 + b3;
        l0Var.f6775c = i12;
        view.setPaddingRelative(i10, l0Var.f6774b, i12, l0Var.f6776d);
        return s1Var;
    }

    @Override
    public void accept(Object obj) {
        j4.d.t(new fb.d((Throwable) obj));
    }

    @Override
    public Object apply(Object obj) {
        switch (this.a) {
            case 16:
                Class cls = (Class) obj;
                return Boolean.valueOf(cls == Date.class || cls == Time.class || cls == Timestamp.class);
            default:
                if (obj == null) {
                    return null;
                }
                if (obj instanceof Date) {
                    return (Date) obj;
                }
                if (obj instanceof java.util.Date) {
                    return new Date(((java.util.Date) obj).getTime());
                }
                if (obj instanceof Calendar) {
                    return new Date(((Calendar) obj).getTimeInMillis());
                }
                long b02 = obj instanceof BigDecimal ? m4.q.b0((BigDecimal) obj) : obj instanceof Number ? ((Number) obj).longValue() : 0L;
                if (obj instanceof String) {
                    String str = (String) obj;
                    if (str.length() == 0 || "null".equals(str) || "NULL".equals(str)) {
                        return null;
                    }
                    if (m4.q.V(str)) {
                        b02 = Long.parseLong(str);
                    } else {
                        h4.g gVar = new h4.g(str);
                        if (!gVar.t0(false)) {
                            throw new com.alibaba.fastjson.d("can not cast to Timestamp, value : ".concat(str));
                        }
                        b02 = gVar.f8842n.getTime().getTime();
                    }
                }
                if (b02 > 0) {
                    return new Date(b02);
                }
                throw new com.alibaba.fastjson.d(a1.g.s(obj, "can not cast to Date, value : "));
        }
    }

    @Override
    public void b(PermissionReportEntity permissionReportEntity) {
        aa.m mVar = aa.l.a;
        if (permissionReportEntity == null) {
            return;
        }
        HashMap hashMap = new HashMap();
        hashMap.put("scene", 0);
        PermissionDevice permissionDevice = permissionReportEntity.device;
        if (permissionDevice != null) {
            hashMap.put("utdid", permissionDevice.utdid);
            hashMap.put("os", permissionReportEntity.device.os);
        }
        PermissionLocation permissionLocation = permissionReportEntity.location;
        if (permissionLocation != null) {
            hashMap.put("ip", permissionLocation.ip);
            hashMap.put("bujur", permissionReportEntity.location.longitude);
            hashMap.put("lintang", permissionReportEntity.location.latitude);
            hashMap.put("izinLokasi", Integer.valueOf(permissionReportEntity.location.positionPermission));
        }
        hashMap.put("izinAplikasi", 1);
        if (h4.h.v(permissionReportEntity.appList)) {
            hashMap.put("ekstensi1", permissionReportEntity.appList);
        }
        com.yx.credit.base.net.k.a.w("https://api.klikumkm.co.id/api/indo/user/extUserInfo", hashMap, Rsp.class, true).M(cb.b.a()).R(new p6.f(2));
    }

    public boolean c() {
        return this instanceof g;
    }

    public void d(float f8, float f10, float f11, y yVar) {
        yVar.d(f8, 0.0f);
    }

    @Override
    public Object g() {
        return new ArrayList();
    }

    @Override
    public Object get() {
        f fVar = new f(17);
        HashMap hashMap = new HashMap();
        w5.d dVar = w5.d.DEFAULT;
        Set set = Collections.EMPTY_SET;
        if (set == null) {
            throw new NullPointerException("Null flags");
        }
        hashMap.put(dVar, new f6.b(30000L, 86400000L, set));
        w5.d dVar2 = w5.d.HIGHEST;
        if (set == null) {
            throw new NullPointerException("Null flags");
        }
        hashMap.put(dVar2, new f6.b(1000L, 86400000L, set));
        w5.d dVar3 = w5.d.VERY_LOW;
        if (set == null) {
            throw new NullPointerException("Null flags");
        }
        Set unmodifiableSet = Collections.unmodifiableSet(new HashSet(Arrays.asList(f6.d.DEVICE_IDLE)));
        if (unmodifiableSet == null) {
            throw new NullPointerException("Null flags");
        }
        hashMap.put(dVar3, new f6.b(86400000L, 86400000L, unmodifiableSet));
        if (hashMap.keySet().size() < w5.d.values().length) {
            throw new IllegalStateException("Not all priorities have been configured");
        }
        new HashMap();
        return new f6.a(fVar, hashMap);
    }

    @Override
    public long h() {
        return System.currentTimeMillis();
    }

    @Override
    public StaticLayout i(o1.j jVar) {
        char c5;
        char c10;
        Constructor constructor;
        StaticLayout staticLayout = null;
        if (f10161b) {
            constructor = f10162c;
            c5 = 11;
            c10 = '\n';
        } else {
            f10161b = true;
            c5 = 11;
            c10 = '\n';
            try {
                Class cls = Integer.TYPE;
                Class cls2 = Float.TYPE;
                f10162c = StaticLayout.class.getConstructor(CharSequence.class, cls, cls, TextPaint.class, cls, Layout.Alignment.class, TextDirectionHeuristic.class, cls2, cls2, Boolean.TYPE, TextUtils.TruncateAt.class, cls, cls);
            } catch (NoSuchMethodException unused) {
                f10162c = null;
                Log.e("StaticLayoutFactory", "unable to collect necessary constructor.");
            }
            constructor = f10162c;
        }
        if (constructor != null) {
            try {
                CharSequence charSequence = jVar.a;
                Integer valueOf = Integer.valueOf(jVar.f10341b);
                TextPaint textPaint = jVar.f10342c;
                Integer valueOf2 = Integer.valueOf(jVar.f10343d);
                Layout.Alignment alignment = jVar.f10345f;
                TextDirectionHeuristic textDirectionHeuristic = jVar.f10344e;
                Float valueOf3 = Float.valueOf(1.0f);
                Float valueOf4 = Float.valueOf(0.0f);
                Boolean valueOf5 = Boolean.valueOf(jVar.f10350k);
                TextUtils.TruncateAt truncateAt = jVar.f10347h;
                Integer valueOf6 = Integer.valueOf(jVar.f10348i);
                Integer valueOf7 = Integer.valueOf(jVar.f10346g);
                Object[] objArr = new Object[13];
                objArr[0] = charSequence;
                objArr[1] = 0;
                objArr[2] = valueOf;
                objArr[3] = textPaint;
                objArr[4] = valueOf2;
                objArr[5] = alignment;
                objArr[6] = textDirectionHeuristic;
                objArr[7] = valueOf3;
                objArr[8] = valueOf4;
                objArr[9] = valueOf5;
                objArr[c10] = truncateAt;
                objArr[c5] = valueOf6;
                objArr[12] = valueOf7;
                staticLayout = (StaticLayout) constructor.newInstance(objArr);
            } catch (IllegalAccessException unused2) {
                f10162c = null;
                Log.e("StaticLayoutFactory", "unable to call constructor");
            } catch (InstantiationException unused3) {
                f10162c = null;
                Log.e("StaticLayoutFactory", "unable to call constructor");
            } catch (InvocationTargetException unused4) {
                f10162c = null;
                Log.e("StaticLayoutFactory", "unable to call constructor");
            }
        }
        return staticLayout != null ? staticLayout : new StaticLayout(jVar.a, 0, jVar.f10341b, jVar.f10342c, jVar.f10343d, jVar.f10345f, 1.0f, 0.0f, jVar.f10350k, jVar.f10347h, jVar.f10348i);
    }

    @Override
    public boolean j(StaticLayout staticLayout) {
        return false;
    }

    @Override
    public void onComplete() {
        int i10 = this.a;
    }

    @Override
    public void onError(Throwable th) {
        int i10 = this.a;
    }

    @Override
    public void onNext(Object obj) {
        switch (this.a) {
            case 20:
                Rsp rsp = (Rsp) obj;
                if (rsp != null) {
                    rsp.isSuccess();
                    break;
                }
                break;
            default:
                break;
        }
    }

    @Override
    public void onSubscribe(eb.b bVar) {
        int i10 = this.a;
    }

    public f(int[] iArr, ValueAnimator valueAnimator) {
        this.a = 9;
    }

    private final void l(Throwable th) {
    }

    private final void m(Throwable th) {
    }
}