Warkop v5.73.0版本的 MD5 值为:a4330ec2d6f5e146f59fc7622f3cdb45

以下内容为反编译后的 a.java 源代码,内容仅作参考


package com.sumsub.ff;

import co.q;
import com.google.android.gms.measurement.api.AppMeasurementSdk;
import com.inappstory.sdk.stories.api.models.Image;
import com.sumsub.ff.core.b;
import com.sumsub.ff.model.FeatureFlagsRequest;
import com.sumsub.sns.core.data.source.dynamic.b;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import kotlin.Metadata;
import org.jetbrains.annotations.NotNull;
import p029do.v;

@Metadata(d1 = {"\u0000F\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b(\bÆ\u0002\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b@\u0010AJ\u0006\u0010\u0003\u001a\u00020\u0002J \u0010\t\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0007\u001a\u00020\u00062\b\u0010\b\u001a\u0004\u0018\u00010\u0004J\u000e\u0010\t\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u0004J\u000e\u0010\t\u001a\u00020\u00022\u0006\u0010\u000b\u001a\u00020\nJ\u000f\u0010\r\u001a\u00020\fH\u0000¢\u0006\u0004\b\r\u0010\u000eR\u001a\u0010\u0014\u001a\u00020\u000f8\u0000X\u0080\u0004¢\u0006\f\n\u0004\b\u0010\u0010\u0011\u001a\u0004\b\u0012\u0010\u0013R.\u0010\u0019\u001a\u001c\u0012\u0004\u0012\u00020\u0004\u0012\u0012\u0012\u0010\u0012\u0004\u0012\u00020\u0006\u0012\u0006\u0012\u0004\u0018\u00010\u00040\u00160\u00158\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0017\u0010\u0018R\u0017\u0010\u001f\u001a\u00020\u001a8\u0006¢\u0006\f\n\u0004\b\u001b\u0010\u001c\u001a\u0004\b\u001d\u0010\u001eR\u0017\u0010\"\u001a\u00020\u001a8\u0006¢\u0006\f\n\u0004\b \u0010\u001c\u001a\u0004\b!\u0010\u001eR\u0017\u0010$\u001a\u00020\u001a8\u0006¢\u0006\f\n\u0004\b#\u0010\u001c\u001a\u0004\b#\u0010\u001eR\u0017\u0010'\u001a\u00020\u001a8\u0006¢\u0006\f\n\u0004\b%\u0010\u001c\u001a\u0004\b&\u0010\u001eR\u0017\u0010)\u001a\u00020\u001a8\u0006¢\u0006\f\n\u0004\b(\u0010\u001c\u001a\u0004\b%\u0010\u001eR\u0017\u0010+\u001a\u00020\u001a8\u0006¢\u0006\f\n\u0004\b*\u0010\u001c\u001a\u0004\b(\u0010\u001eR\u0017\u0010,\u001a\u00020\u001a8\u0006¢\u0006\f\n\u0004\b\u0012\u0010\u001c\u001a\u0004\b*\u0010\u001eR\u0017\u0010.\u001a\u00020\u001a8\u0006¢\u0006\f\n\u0004\b-\u0010\u001c\u001a\u0004\b\u0010\u0010\u001eR\u0017\u00101\u001a\u00020\u001a8\u0006¢\u0006\f\n\u0004\b/\u0010\u001c\u001a\u0004\b0\u0010\u001eR\u0017\u00103\u001a\u00020\u001a8\u0006¢\u0006\f\n\u0004\b2\u0010\u001c\u001a\u0004\b\u0017\u0010\u001eR\u0017\u00105\u001a\u00020\u001a8\u0006¢\u0006\f\n\u0004\b4\u0010\u001c\u001a\u0004\b4\u0010\u001eR\u0017\u00108\u001a\u00020\u001a8\u0006¢\u0006\f\n\u0004\b6\u0010\u001c\u001a\u0004\b7\u0010\u001eR\u0017\u00109\u001a\u00020\u001a8\u0006¢\u0006\f\n\u0004\b&\u0010\u001c\u001a\u0004\b\u001b\u0010\u001eR\u0017\u0010:\u001a\u00020\u001a8\u0006¢\u0006\f\n\u0004\b0\u0010\u001c\u001a\u0004\b \u0010\u001eR\u0017\u0010;\u001a\u00020\u001a8\u0006¢\u0006\f\n\u0004\b7\u0010\u001c\u001a\u0004\b6\u0010\u001eR\u0017\u0010<\u001a\u00020\u001a8\u0006¢\u0006\f\n\u0004\b\u001d\u0010\u001c\u001a\u0004\b\t\u0010\u001eR\u0017\u0010=\u001a\u00020\u001a8\u0006¢\u0006\f\n\u0004\b!\u0010\u001c\u001a\u0004\b2\u0010\u001eR\u0017\u0010>\u001a\u00020\u001a8\u0006¢\u0006\f\n\u0004\b\r\u0010\u001c\u001a\u0004\b-\u0010\u001eR\u0017\u0010?\u001a\u00020\u001a8\u0006¢\u0006\f\n\u0004\b\u0003\u0010\u001c\u001a\u0004\b/\u0010\u001e¨\u0006B"}, d2 = {"Lcom/sumsub/ff/a;", "", "Lco/g0;", "v", "", AppMeasurementSdk.ConditionalUserProperty.NAME, "", "isEnabled", AppMeasurementSdk.ConditionalUserProperty.VALUE, "a", "Lcom/sumsub/sns/core/data/source/dynamic/b$b;", "featureFlags", "Lcom/sumsub/ff/model/a;", "u", "()Lcom/sumsub/ff/model/a;", "Lcom/sumsub/ff/core/b;", "b", "Lcom/sumsub/ff/core/b;", "j", "()Lcom/sumsub/ff/core/b;", "manager", "Ljava/util/concurrent/ConcurrentHashMap;", "Lco/q;", "c", "Ljava/util/concurrent/ConcurrentHashMap;", "overriddenValues", "Lcom/sumsub/ff/core/a;", "d", "Lcom/sumsub/ff/core/a;", Image.TYPE_SMALL, "()Lcom/sumsub/ff/core/a;", "VideoIdentConfig", "e", "t", "VideoIdentSkipNotificationPermission", "f", "FaceDetector", "g", "p", "SkipGeolocationForm", Image.TYPE_HIGH, "FullScreenCamera", "i", "LivenessFaceDetectionDebug", "LivenessShowSettings", "k", "AllowCountryStateDropdownBecomeAutoRequired", "l", "q", "StringResourcesKeys", Image.TYPE_MEDIUM, "docDetectorMobileConfig", "n", "ShowBadPhotosDebugInfo", "o", "r", "unsatisfactoryPhotosMobileConfig", "dontLimitCountriesOnAppDataStep", "ekycMasksConfig", "skipAgreementSigning", "agreementsCount", "phoneKitV2", "msdkEnableVerificationExitPopup", "overrideVerificationUrl", "<init>", "()V", "idensic-mobile-sdk-internal-core_release"}, k = 1, mv = {1, 7, 1})
public final class a {

    @NotNull
    public static final a f35933a = new a();

    @NotNull
    private static final b manager;

    @NotNull
    private static final ConcurrentHashMap<String, q<Boolean, String>> overriddenValues;

    @NotNull
    private static final com.sumsub.ff.core.a VideoIdentConfig;

    @NotNull
    private static final com.sumsub.ff.core.a VideoIdentSkipNotificationPermission;

    @NotNull
    private static final com.sumsub.ff.core.a FaceDetector;

    @NotNull
    private static final com.sumsub.ff.core.a SkipGeolocationForm;

    @NotNull
    private static final com.sumsub.ff.core.a FullScreenCamera;

    @NotNull
    private static final com.sumsub.ff.core.a LivenessFaceDetectionDebug;

    @NotNull
    private static final com.sumsub.ff.core.a LivenessShowSettings;

    @NotNull
    private static final com.sumsub.ff.core.a AllowCountryStateDropdownBecomeAutoRequired;

    @NotNull
    private static final com.sumsub.ff.core.a StringResourcesKeys;

    @NotNull
    private static final com.sumsub.ff.core.a docDetectorMobileConfig;

    @NotNull
    private static final com.sumsub.ff.core.a ShowBadPhotosDebugInfo;

    @NotNull
    private static final com.sumsub.ff.core.a unsatisfactoryPhotosMobileConfig;

    @NotNull
    private static final com.sumsub.ff.core.a dontLimitCountriesOnAppDataStep;

    @NotNull
    private static final com.sumsub.ff.core.a ekycMasksConfig;

    @NotNull
    private static final com.sumsub.ff.core.a skipAgreementSigning;

    @NotNull
    private static final com.sumsub.ff.core.a agreementsCount;

    @NotNull
    private static final com.sumsub.ff.core.a phoneKitV2;

    @NotNull
    private static final com.sumsub.ff.core.a msdkEnableVerificationExitPopup;

    @NotNull
    private static final com.sumsub.ff.core.a overrideVerificationUrl;

    static {
        b bVar = new b();
        manager = bVar;
        overriddenValues = new ConcurrentHashMap<>();
        VideoIdentConfig = bVar.a("androidVideoIdentConfig", "Video ident config.\n\nPreferred video encoding codec used in VI.\nKey: 'codec'. Values: h264 or vp8", "{\"codec\":\"vp8\"}");
        VideoIdentSkipNotificationPermission = b.b(bVar, "videoIdentSkipNotificationPermission", "Disables notification permission request for Android 13 or later", null, 4, null);
        FaceDetector = bVar.a("androidFaceDetector", "Face detector config in liveness step.\n\nEnable or disable MLKit face detector.\nKey: 'mlkit'. Values: 'true' or 'false'.\n\nAddition delay between frames in liveness.\nKey: 'frameDelay'. Values: any reasonable integer.", "{\"mlkit\":\"true\", \"frameDelay\":500}");
        SkipGeolocationForm = b.b(bVar, "skipGeolocationForm", "Skip address confirmation form", null, 4, null);
        FullScreenCamera = b.b(bVar, "livenessFullscreenCamera", "Full-screen camera in liveness check (transparent status bar)", null, 4, null);
        LivenessFaceDetectionDebug = b.b(bVar, "enableFaceDetectionDebug", "Draw a box around face during liveness", null, 4, null);
        LivenessShowSettings = b.b(bVar, "enableFaceShowSettings", "Display a dialog asking for edit settings, in order to change the brightness to full during liveness to highlight the face", null, 4, null);
        AllowCountryStateDropdownBecomeAutoRequired = b.a(bVar, "makeCountryStateDropdownRequiredIfNeeded", "On the Applicant Data screen, set the State (StateOfBirth) field required if the corresponding field (Country or CountryOfBirth) is required and there is a list of states for the selected country", null, 4, null);
        StringResourcesKeys = b.b(bVar, "stringResourcesKeys", "Show string key instead of empty value, or show only keys (value = key)", null, 4, null);
        docDetectorMobileConfig = bVar.b("docDetectorMobileConfig", "Json configuration for doc detector model ....", "{\n  \"android\":{\n    \"enabled\": false,\n    \"model\": \"autocapture_v1.tflite\",\n    \"threshold\": 0.5,\n    \"allow_cache\": true\n  }\n}");
        ShowBadPhotosDebugInfo = b.b(bVar, "showBadPhotosDebugInfo", "Show technical info on screen after analyzing photo quality)", null, 4, null);
        unsatisfactoryPhotosMobileConfig = bVar.a("unsatisfactoryPhotosMobileConfig", "Config for unsatisfactory photos detector in document capture.                ", "{\n  \"android_v127\":{\n    \"enabled\":false,\n    \"model\":\"unsatisfactory_photos_v2.tflite\",\n    \"high_quality_threshold\":0.75,\n    \"low_quality_threshold\":0.2,\n    \"execution_timeout_ms\":3000,\n    \"allow_cache\":true,\n    \"max_blocked_attempts\": 1,\n    \"allowed_steps\":[\n      \"IDENTITY\",\n      \"IDENTITY2\",\n      \"IDENTITY3\",\n      \"IDENTITY4\"\n    ]\n  }\n}");
        dontLimitCountriesOnAppDataStep = b.a(bVar, "dontLimitCountriesOnAppDataStep", "Don't limit country field list on applicant data step", null, 4, null);
        ekycMasksConfig = b.b(bVar, "ekycTestMasks", "Ekyc masks configuration", null, 4, null);
        skipAgreementSigning = b.a(bVar, "msdkSkipAgreementSigning", "Don't show agreement selector screen if multiple agreements available, or skip signing the agreement on status screen if only one agreement available.", null, 4, null);
        agreementsCount = b.b(bVar, "agreementsCount", "Specify agreements count for the agreement selector screen. Random countries with random agreements will be generated.", null, 4, null);
        phoneKitV2 = b.b(bVar, "phoneInputTestMasks", "Enables masks in phone input fields", null, 4, null);
        msdkEnableVerificationExitPopup = b.a(bVar, "msdkEnableVerificationExitPopup", "Show confirmation dialog on closing VideoIdent flow and close the SDK", null, 4, null);
        overrideVerificationUrl = bVar.a("overrideVerificationUrl", "Override base URL and access token to emulate verificationUrl and accessToken on msdkInit", "{\n    \"verificationUrl\": \"http://dev-in.sumsub.com/\",\n    \"accessToken\" : \"AAA\"\n}");
    }

    private a() {
    }

    @NotNull
    public final com.sumsub.ff.core.a a() {
        return agreementsCount;
    }

    @NotNull
    public final com.sumsub.ff.core.a b() {
        return AllowCountryStateDropdownBecomeAutoRequired;
    }

    @NotNull
    public final com.sumsub.ff.core.a c() {
        return docDetectorMobileConfig;
    }

    @NotNull
    public final com.sumsub.ff.core.a d() {
        return dontLimitCountriesOnAppDataStep;
    }

    @NotNull
    public final com.sumsub.ff.core.a e() {
        return ekycMasksConfig;
    }

    @NotNull
    public final com.sumsub.ff.core.a f() {
        return FaceDetector;
    }

    @NotNull
    public final com.sumsub.ff.core.a g() {
        return FullScreenCamera;
    }

    @NotNull
    public final com.sumsub.ff.core.a h() {
        return LivenessFaceDetectionDebug;
    }

    @NotNull
    public final com.sumsub.ff.core.a i() {
        return LivenessShowSettings;
    }

    @NotNull
    public final b j() {
        return manager;
    }

    @NotNull
    public final com.sumsub.ff.core.a k() {
        return msdkEnableVerificationExitPopup;
    }

    @NotNull
    public final com.sumsub.ff.core.a l() {
        return overrideVerificationUrl;
    }

    @NotNull
    public final com.sumsub.ff.core.a m() {
        return phoneKitV2;
    }

    @NotNull
    public final com.sumsub.ff.core.a n() {
        return ShowBadPhotosDebugInfo;
    }

    @NotNull
    public final com.sumsub.ff.core.a o() {
        return skipAgreementSigning;
    }

    @NotNull
    public final com.sumsub.ff.core.a p() {
        return SkipGeolocationForm;
    }

    @NotNull
    public final com.sumsub.ff.core.a q() {
        return StringResourcesKeys;
    }

    @NotNull
    public final com.sumsub.ff.core.a r() {
        return unsatisfactoryPhotosMobileConfig;
    }

    @NotNull
    public final FeatureFlagsRequest u() {
        int v15;
        Collection<com.sumsub.ff.core.a> b15 = manager.b();
        v15 = v.v(b15, 10);
        ArrayList arrayList = new ArrayList(v15);
        Iterator<T> it = b15.iterator();
        while (it.hasNext()) {
            arrayList.add(((com.sumsub.ff.core.a) it.next()).getCom.google.android.gms.measurement.api.AppMeasurementSdk.ConditionalUserProperty.NAME java.lang.String());
        }
        return new FeatureFlagsRequest(arrayList);
    }

    public final void v() {
        manager.c();
        Iterator<T> it = overriddenValues.entrySet().iterator();
        while (it.hasNext()) {
            Map.Entry entry = (Map.Entry) it.next();
            com.sumsub.ff.core.a a15 = manager.a((String) entry.getKey());
            if (a15 != null) {
                a15.b(((Boolean) ((q) entry.getValue()).c()).booleanValue(), (String) ((q) entry.getValue()).d());
            }
        }
    }

    public final void a(@NotNull String str, boolean z15, String str2) {
        overriddenValues.put(str, new q<>(Boolean.valueOf(z15), str2));
        com.sumsub.ff.core.a a15 = manager.a(str);
        if (a15 != null) {
            a15.b(z15, str2);
        }
    }

    public final void a(@NotNull String str) {
        overriddenValues.remove(str);
        com.sumsub.ff.core.a a15 = manager.a(str);
        if (a15 != null) {
            a15.a();
        }
    }

    public final void a(@NotNull b.C1153b c1153b) {
        manager.a(c1153b);
    }
}