그늘 v4.6.9版本的 MD5 值为:45bd3dac9e441bb87fea09c92b437adc
以下内容为反编译后的 a.java 源代码,内容仅作参考
package b4;
import a1.i;
import android.app.Activity;
import android.content.ComponentName;
import android.content.Context;
import android.content.pm.PackageManager;
import android.content.pm.ServiceInfo;
import android.content.res.Resources;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.graphics.Bitmap;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.Build;
import android.os.Bundle;
import android.os.NetworkOnMainThreadException;
import android.os.PowerManager;
import android.os.Trace;
import android.text.TextUtils;
import android.util.Log;
import android.util.TypedValue;
import android.view.View;
import androidx.appcompat.widget.d;
import androidx.constraintlayout.widget.R;
import com.bumptech.glide.load.Key;
import com.google.gson.internal.o;
import com.huawei.agconnect.core.ServiceDiscovery;
import com.meizu.cloud.pushsdk.notification.model.TimeDisplaySetting;
import com.wind.imlib.WindClient;
import e2.d0;
import e2.p;
import fk.b0;
import fk.s;
import i0.c;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.ByteArrayOutputStream;
import java.io.Closeable;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.lang.reflect.TypeVariable;
import java.nio.charset.Charset;
import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKeyException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.security.SecureRandom;
import java.text.SimpleDateFormat;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.zip.Deflater;
import javax.crypto.BadPaddingException;
import javax.crypto.Cipher;
import javax.crypto.IllegalBlockSizeException;
import javax.crypto.Mac;
import javax.crypto.NoSuchPaddingException;
import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.SecretKeySpec;
import ph.a1;
import ph.b3;
import ph.b6;
import ph.d7;
import ph.g5;
import ph.l6;
import ph.m5;
import ph.m6;
import ph.s2;
import ph.s5;
import ph.t2;
import ph.u0;
import ph.v5;
import ph.w5;
import ph.x5;
import ph.y4;
import qe.e;
import qe.f;
import qe.w0;
import rb.m;
public class a implements o, c, d4.c, ih.c, nl.b, x.c {
public static String f702a = "https://ulogs.umeng.com";
public static String f703b = "https://ulogs.umengcloud.com";
public static HashMap f713p;
public static a q;
public static boolean f718v;
public static final ja.c f704c = new ja.c("REMOVED_TASK", 4);
public static final ja.c f705d = new ja.c("CLOSED_EMPTY", 4);
public static final ja.c f706e = new ja.c("COMPLETING_ALREADY", 4);
public static final ja.c f707f = new ja.c("COMPLETING_WAITING_CHILDREN", 4);
public static final ja.c f708g = new ja.c("COMPLETING_RETRY", 4);
public static final ja.c f709h = new ja.c("TOO_LATE_TO_CANCEL", 4);
public static final ja.c f710m = new ja.c("SEALED", 4);
public static final b0 f711n = new b0();
public static final int[] f712o = {2130969475, 2130969476, 2130969477, 2130969478, 2130969479, 2130969480, 2130969481, 2130969482, 2130969483, 2130969484, 2130969485, 2130969486, 2130969487, 2130969488, 2130969489, 2130969490, 2130969491, 2130969492};
public static final ja.c f714r = new ja.c("NULL", 4);
public static final byte[] f715s = {-79, 79, -56, 37, -87, 41, 96, 13, -122, 58, 2, -122, 67, 33, -72, Byte.MIN_VALUE, 16, 79, -45, 92, 75, 40, 54, -50, 19, 34, -15, 102, 32, 39, 53, 25, -55, 37, -62, -23, 28, 47, -88, -105, -123, -86, -97, -105, 26, -96, 0, -52, -105, -80, 3, 116, 69, 64, 36, 15, 103, 74, -78, -62, 31, 81, 68, 50, -102, -60, 73, 21, -111, -80, 40, 124, 41, 118, -83, 84, -33, -104, -89, 37, -38, -122, 12, -3, 48, -28, -14, -24, 2, -36, 89, -64, -120, 66, -100, -96, -103, 96, 12, 40, Byte.MIN_VALUE, -105, 49, 26, -33, 65, -16, -125, 96, 69, 20, -86, 80, 34, -110, -93, 28, 34, 64, 80, -54, 4, 65, 65, 0, 0, 96, -127, 24, 65, 74, 66, 9, 4, -64, 1, -120, 5, 16, 20, 71, 34, 9, 17, 48, Byte.MIN_VALUE, 40, 52, -62, -14, Byte.MIN_VALUE, -125, Byte.MIN_VALUE, 41, -64, 62, -108, 35, -115, -115, 1, 9, 16, 48, 24, 16, -112, 45, -25, -71, 29, 8, -87, 105, 87, -101, -95, -4, -104, -102, 78, 100, -8, -114, 19, 89, -4, -46, 2, 21, 93, 3, -30, 16, 23, -58, 12, 80, 30, 73, 1, -126, 10, -47, 98, 47, -103, -114, 12, -120, -116, 112, 112, 89, -121, -83, -84, 38, 10, Byte.MIN_VALUE, 2, -55, 12, 65, 67, -103, 115, 4, 12, -53, -127, 118, 114, -8, 32, 67, -87, 57, 26, 21, 118, -112, -97, 16, -113, 38, 93, 12, -90, 43, 104, 84, 78, 70, 32, -24, -64, 8, 97, 1, 22, -103, 114, 24, -121, -52, 72, -26, 10, 92, -117, -56, -88, -127, 16, 69, 40, 64, -46, 12, 5, 57, -125, -114, 77, 34, 28, -47, 82, -25, -20, -103, -97, -101, 24, 0, 59, 32, 9, 72, -23, 81, 34, 66, 2, 24, -112, -124, -87, 33, -64, -80, -64, -96, 2, -109, 74, 74, -46, 41, 4, 34, -127, -126, -120, -104, 65, 10, -64, 88, -73, -59, 86, 122, 0, 112, -96, 18, -28, -48, -125, 56, -95, Byte.MIN_VALUE, -16, 80, 72, 56, -46, -40, 51, -86, 39, -52, -23, 50, 16, 103, -70, 32, 16, -124, -88, 69, 76, 40, 0, 66, 86, -28, 97, -79, -78, -122, -13, 32, 10, 126, -68, 46, 1, 37, -60, -51, 107, 76, 10, 72, -109, -3, 87, 6, 0, 26, 71, 65, 9, 50, -46, -57, -49, 2, -61, -6, -39, 96, -5, 0, 93, 53, -96, 90, 40, 16, -96, 13, 76, 7, -89, -127, 32, -46, 17, -93, -31, 99, -31, 114, 67, 8, 77, 69, -20, 125, -123, -38, -70, -89, -77, -126, 42, 5, 26, 35, 84, 15, 22, -116, 20, -97, -126, -114, -99, 46, 1, 67, -120, 107, 106, -48, -119, -80, 14, -38, 82, -125, 64, -31, -112, 75, 25, 2, 29, 8, -82, -94, 42, 76, -104, -30, 48, 2, 100, Byte.MIN_VALUE, -36, -92, -69, 126, 9, -26, -68, 77, 19, 27, -126, 1, -99, 102, 82, -127, -44, 93, -91, 121, -60, -76, -64, 69, 66, -120, -19, 37, 37, -103, 67, -106, -79, 61, -72, 10, 91, 0, 13, -119, 0, 0, 1, 53, 86, -111, 18, 33, -65, 99, 64, Byte.MAX_VALUE, 5, 73, 34, 114, 2, -63, -5, 0, -124, -37, 38, 70, 69, -40, 39, 32, Byte.MIN_VALUE, 64, 64, 121, -2, 64, 51, 7, -53, -94, 5, -94, 6, -20, 49, 8, 93, 97, -121, 53, -11, 87, -116, 14, 14, -31, -112, 96, -114, 81, -109, -117, 28, 22, 120, -61, 88, -48, 2, -93, -31, 22, 37, -51, 97, 88, 0, -120, 34, 24, 121, -47, 44, 0, 28, -57, -104, -117, 18, 36, 7, -35, 96, -101, -19, 106, 2, -64, 50, -88, 115, 66, 54, 65, -64, -117, 4, 68, 92, 41, 57, 83, -96, 6, 32, 91, 0, -61, -120, -10, 2, 1, 65, -88, 39, 4, -15, -36, -112, -109, -80, 24, 35, 77, 66, -7, 46, -63, Byte.MIN_VALUE, -14, 17, 81, 24, 0, 104, 10, 32, -94, 120, 98, -120, 8, 75, -12, 72, -62, 6, 110, 36, 67, 14, -74, 96, 1, 25, -31, 41, -111, -56, 82, 68, 43, -126, 72, 50, 122, -7, -76, 35, 16, 94, -59, -120, 115, 82, -75, -125, -123, 46, 85, -75, 46, 16, 1, 41, -80, -12, -124, 16, -20, 36, 82, 0, -127, -117, 72, -30, 80, 36, 72, 22, 15, -124, -54, -70, 32, 100, 49, 52, -127, 72, -127, 16, 33, 20, 1, 42, 98, 81, 29, -29, 73, 80, -47, 70, -34, 47, -75, 8, -120, 75, -47, 33, 63, 84, -89, -119, 32, -6, -74, 11, -23, -125, 80, -91, -76, 62, -20, 29, 62, 31, 23, -41, 65, 7, 13, 34, 24, 68, -62, -79, -37, -125, 27, -56, 112, 47, -119, 21, 7, 57, 24, 15, -28, 6, 98, -83, -74, 92, -94, 66, 25, 24, 85, 13, 34, 117, -23, 12, 98, 46, 120, 6, 36, -40, 111, 26, 0, -30, -110, 49, 3, 47, 22, -85, -106, -112, 36, -88, -40, 71, -105, 7, -66, 96, 33, 28, 58, 56, -92, -92, -80, 77, 48, 2, 0, -96, 24, -107, -2, -120, 67, 33, -28, 24, 66, 32, 104, 77, 95, 77, 23, 52};
public static final byte[] f716t = {104, 68, -109, -6, 33, 86, 0, 78, Byte.MAX_VALUE, 24, 33, 86, -127, 21, 111, -59, 92, 40, 40, -117, -1, -15, 39, 39, 3, 19, 103, 49, 70, 49, 37, 69, 3, -84, 69, 110, -84, 100, 19, 25, 41, -118, 96, 99, -3, -122, -127, -122, 87, 105, 43, 32, -81, -113, -120, 0, 78, 58, 80, -120, -120, -87, -117, -12, 90, 104, 104, -49, 0, -118, -118, 75, -64, 104, 0, -123, 84, 124, 121, 82, -90, -122, -10, -20, -2, 121, 104, 37, 37, 104, 106, 0, -57, -118, -6, 103, 85, 88, 92, 69, 0, 0, 41, 0, 39, -127, -47, -126, 0, 39, 0, 0, -68, -75, 0, 17, 85, 100, 90, 30, -50, 93, 0, 0, 0, 0, -4, -123, 107, 93, -75, -81, 104, -115, -90, 0, 111, -124, 39, 39, 80, 41, 111, -98, 111, 114, 121, -6, 84, -120, 49, 54, 98, 98, 99, 90, 99, -6, 99, -127, 70, 79, -110, 57, -123, 111, 104, 32, 118, -51, 0, 88, -120, 68, -84, 118, -120, 103, 0, 20, 110, 90, 58, -85, 76, 80, 12, 12, -127, 0, 79, 104, 37, 12, -90, 68, 120, -121, -7, 40, 6, Byte.MAX_VALUE, -121, -122, 19, 13, 49, 88, 24, -74, 0, 25, -112, 39, 57, Byte.MAX_VALUE, 90, 87, 87, 30, 119, 69, 12, -4, 93, 96, 63, 57, -80, 104, 34, 33, 22, 33, 104, -51, -62, 12, -126, 34, 101, -4, -122, -15, 78, 84, -125, -126, 102, 87, 25, 12, 79, 86, 63, 84, -122, -6, -18, 111, 66, 75, 81, 104, 91, -110, 104, -127, 2, 84, -127, 90, 82, 94, -121, 11, 36, 90, 60, -122, 110, Byte.MIN_VALUE, 126, 111, 53, 114, 24, 80, 43, 35, 99, 87, 33, 33, -74, 25, 98, 91, 80, -120, 38, 96, -46, 20, 102, -40, -40, 90, 8, 95, -80, -121, 37, 4, 49, 13, 49, -126, -15, 104, 49, 2, -124, 65, 112, -68, 58, -120, 21, 4, 14, 34, 48, 80, 63, -120, -105, 110, 101, 64, 126, 115, 14, 75, 35, 111, 104, 88, -105, 101, -34, 69, -40, 96, -117, 109, 76, -4, 0, -113, 0, -18, 123, 115, -91, 88, 96, 101, 7, 82, -55, -126, -49, 19, -127, 118, Byte.MIN_VALUE, 107, 5, 66, -123, 48, 104, 39, 92, 37, 75, -111, -123, 92, -94, 104, 38, -102, 106, -87, 106, 39, -60, -120, 95, 110, 3, -76, -52, 80, -74, 70, 30, 38, 98, 100, -121, 104, 17, -125, 86, -126, 116, -72, 0, -123, -125, 27, -2, -101, 31, -34, -32, -121, 84, 120, -119, 37, -125, 55, 40, 0, -72, -117, 41, 68, 37, 75, 20, -48, 114, 15, 73, 111, 85, 51, 77, 3, 95, -99, -103, 84, -114, 104, 90, -92, -109, -2, -87, 109, Byte.MAX_VALUE, -120, 87, 24, -22, 52, 90, 85, -87, -59, -10, 10, 111, 49, 86, 91, 94, 111, 64, 35, 40, 0, 100, -84, -87, -94, 49, -125, 94, 90, 115, -117, 89, -22, -125, 16, 64, 85, 87, 99, 3, 11, 111, 91, 14, 38, 33, -123, 19, 117, 102, 53, -86, 78, -94, 25, -111, 96, 105, 11, 65, 41, 41, -62, 60, 59, -115, 45, 92, -16, 60, 120, 104, -6, 64, 93, -120, -122, 95, 33, -122, 84, -123, -105, -116, -111, -117, -4, -40, -74, -113, 83, -73, 50, -88, Byte.MAX_VALUE, 70, -112, 12, 84, -117, -49, 23, -125, 125, 103, -123, 30, 1, 0, 107, 37, -4, 100, -29, -122, 46, -126, -122, 80, 111, 19, 21, 64, 80, -14, 100, 87, 60, 83, 77, 90, 35, 38, -111, 63, -105, 30, 68, 11, 103, 125, 102, 126, 3, 100, 110, -125, 95, 124, 31, 90, 14, -123, -111, -59, -127, 104, 90, 98, 49, 73, 27, -125, -24, 70, 70, 11, 115, -77, -122, 80, 86, 33, -98, 51, 38, 52, 86, 90, 112, 15, -87, 17, 114, 101, -69, 9, 65, 60, 114, -122, 85, 32, -4, -115, 25, 41, 24, 11, 89, 109, 102, 57, 56, 79, 82, 19, -126, 57, 116, 60, 0, 18, 41, -28, 117, -89, 53, 109, 119, -111, -16, 50, 5, 43, 111, 125, -109, 33, -3, -3, 38, 30, 112, Byte.MAX_VALUE, 1, 100, 63, 85, -77, 11, -13, -121, -85, -76, -67, -4, 87, 3, 107, 70, -117, 88, 32, -2, -119, 73, -106, -7, 85, -91, 33, 106, -83, -6, 62, 32, 80, Byte.MAX_VALUE, 83, 126, 43, 67, 58, -123, -118, 29, 86, 87, -115, 77, -123, -125, 69, -81, 20, 102, 87, 52, 87, -124, -56, 103, -121, -126, -2, -15, 87, -121, 2, 23, 104, -114, -32, 32, 104, 59, -120, 96, -101, -125, 41, 58, -123, 30, 116, 0, 18, 3, 17, 58, 40, 31, -93, -40, -121, -4, -61, 84, -42, 2, -40, 33, -82, -89, -72, -99, 10, 72, 16, 117, -123, 49, 110, 114, 0, 36, -87, 63, 80, -78, 41, 32, 9, 41, 126, -87, -73, 117, -28, 60, 100, -89, -47, 80, 84, 114, 117, 112, 93, 39, Byte.MIN_VALUE, 93, 87, 106, 74, -108, 74, -59, 71, 33, 80, 74, 80, -121, 71, 49, 100, 100, 39, 39, 59, -4, 71, 86, -65, 91, 71, 7, -120, -87, -99, 17, 79, -44, 5, -84, 111, 6, 100, -79, 85, 0, -93, 100, 65, 105, 92, 19, -6, -117, 65, -112, 0, 101, -125, 40, -127, 104, -127, 32, -119, -65, 8, -44, 112, -65, 94, 8, 27, -119, 27, 116, 103, -119, -65, -121, -65, 101, 95, -59, -60, 15, 106, 90, -111, -114, -32, 104, -60, 39, 105, -61, -122, -107, 112, -55, -104, 0, 90, 90, -60, 19, 70, 58, 94, 87, 19, 121, 39, -115, 121, -99, 103, -88, -21, 90, -56, 70, 87, -82, 86, -125, -120, 41, -63, 33, -6, 102, -114, 50, -120, -84, 1, 66, -80, 70, 93, -125, 106, 50, 2, -87, 25, -55, -114, 53, 49, 76, -121, -81, -81, -34, 85, 72, -127, 83, 83, 83, 87, -117, 41, 0,
87, 0, 0, 90, 87, -10, 87, -112, 125, -112, 93, 62, -10, 4, 93, -101, 71, 5, 41, -127, 59, 112, 112, 119, 60, 66, 60, 12, 12, 44, 86, -1, 104, -127, -111, -4, 54, 41, 81, -127, 58, 92, 122, 78, -115, -87, 113, -82, -79, 120, 94, 44, 90, 41, 4, -117, 32, -56, -80, -122, -21, 17, -122, -122, 10, -87, 32, 17, 32, -120, 103, 98, 60, 44, -98, -103, 76, 80, -123, 42, 5, 30, 48, -108, -122, 107, 48, 107, -112, 76, -127, 64, -120, -77, -73, 120, 112, 55, 97, -108, -95, -4, 30, 43, 103, -125, 55, -87, 64, 85, -8, 32, -6, 44, -112, 94, 78, 20, -127, 76, 1, 100, -113, -125, -127, 20, 100, -117, Byte.MIN_VALUE, 38, -125, 76, 73, 84, 103, 90, 38, -125, 96, 124, -112, 44, -116, 32, 72, -76, -87, 89, 32, -13, -104, -123, 103, -2, -115, 122, 124, -113, -85, -117, -15, -79, 107, -123, 107, -125, -125, 60, Byte.MIN_VALUE, -127, -125, 104, -125, -123, 32, 52, -53, -87, -120, -87, 99, 5, 8, 100, -126, 84, -68, -82, -120, -106, 90, -123, 70, -120, -30, -122, 4, 34, 104, -120, -53, -87, -120, -91, -91, -116, -104, 101, 76, 89, -52, -99, -122, -82, 115, 39, -108, -120, 114, 20, -56, 38, -92, 109, 109, -59, -108, 98, -116, 1, -76, 21, -61, -94, -90, -112, -59, 70, 95, 95, -111, 84, 104, 98, 82, 38, -91, -51, -76, -13, 39, -127, 0, -3, -123, 5, 88, 104, -2, 83, -116, 69, -117, 58, 90, -68, 98, 98, -72, -87, 35, 9, 5, 10, 34, 114, -118, 10, 101, 84, 114, 0, 0, 92, 92, 10, 49, 0, 93, -16, -117, 61, 96, -7, 3, -19, 90, 100, 56, -118, 2, 14, 122, 11, -46, 38, 84, -118, 104, 115, -124, -110, -124, -99, 121, 86, 4, 83, 107, -1, 25, -99, 85, 121, 111, 107, -98, 126, 58, -98, -85, -85, 53, 72, -118, 4, 85, -15, 4, 104, 3, 100, 15, -40, 4, 39, 91, -4, -39, 22, -109, 38, 84, 126, 8, 39, 85, 78, 122, 90, 78, 11, -109, -113, 90, 58, -68, -48, 58, -127, 20, 43, 21, -99, 15, 21, 126, -113, -76, 110, -76, 85, 103, 83, 90, -122, -122, 80, 4, 2, -123, -65, 106, 80, 34, -127, 6, -75, 39, -116, 90, 95, -121, 6, 84, -127, 77, 1, 85, 0, 33, 112, 77, 68, -87, -127, 3, -87, 99, 99, 100, 35, -123, 124, -20, 0, -108, 99, -123, 27, -20, 64, -87, 35, 120, 68, -107, 55, 85, 112, 27, 112, 88, 100, -87, -115, 30, 65, 41, -118, 0, 5, 107, 100, 49, -87, 33, -93, -87, 100, 100, 112, 49, 49, -81, 3, 4, 4, 0, -89, 72, 87, -117, 24, 24, 24, 24, 24, 2, 57, 110, 30, -127, 110, 45, 83, 40, 104, 6, 82, 21, 39, 41, -115, 4, 40, 15, 95, -126, -21, 51, -127, 111, 51, 67, 19, 49, -104, 102, -117, -80, 103, 61, -104, -123, -123, Byte.MIN_VALUE, 6, 68, -108, 58, 38, 39, 110, 3, -9, 103, 114, 49, 59, 38, -90, 66, -127, 0, 119, -57, 111, -66, 38, 96, 96, 102, -112, 115, -127, 66, 54, 69, -55, 120, -87, 71, 88, 124, 115, 103, -72, 1, -69, -24, 97, 104, -114, 40, -81, 74, 106, 85, 14, 0, 0, -122, -8, 89, 6, 75, 86, 77, 112, 68, 113, 47, -6, 121, -123, 106, 84, 84, 34, -50, 47, 85, 45, 71, 81, 120, -24, 84, 95, 99, -114, -72, 77, 96, -63, 57, -6, 37, 84, 95, 90, -123, 119, 38, 38, -50, 74, -70, 104, 57, -24, -87, 11, 112, 109, 0, -3, 84, 77, 39, 5, -17, 81, -40, -52, -80, 8, 110, 63, -121, 39, -121, 126, -80, 104, -6, -10, -112, 103, 48, 80, 95, 115, -46, 86, -18, 104, 89, 37, 121, -55, 56, 4, -117, 93, 115, 75, 76, -8, -19, 17, 90, 14, 115, 115, 115, 111, -118, 109, 90, 56, -121, 76, -113, 102, -113, -105, 21, -78, 70, -34, 124, 49, 87, Byte.MIN_VALUE, -6, 80, 77, 106, 124, 85, 104, -82, -112, -57, -60, -123, 102, -127, -121, 96, 43, 117, 89, -108, 126, -102, 123, 61, 87, 77, 96, 94, 109, 100, -91, 104, 2, -11, 37, 69, 119, 93, 76, 76, 110, 116, 110, 63, -22, 88, 2, 98, -99, 99, 56, 89, 14, 126, 0, 122, 0, -101, 76, 0, -127, -32, -52, 108, 114, 112, -78, -8, -66, 96, 77, 38, 34, -87, -50, -109, 115, -103, 89, 87, -91, 11, -127, 124, -84, 6, -60, -90, 54, 89, 21, 112, 118, 99, 48, 96, 110, 100, 102, 102, 7, 112, 56, 46, 104, 2, -126, 71, 87, 105, -87, 85, 60, -105, -54, 35, 84, 119, 99, 71, -6, 63, 0, -69, 0, 100, 71, 0, -91, -84, 56, 119, 124, 0, 101, -127, -105, 83, 87, 106, 121, -6, 40, 80, 42, 33, 80, -87, -3, 3, -122, 108, -39, 111, 65, -94, 30, 85, 75, 121, 2, -121, -31, -107, -113, -113, 33, 63, 118, -81, 1, 89, 88, 74, 84, 81, 53, -122, 121, -6, -6, 61, 58, 58, 78, -112, 14, 53, 47, 115, 99, -6, -127, 85, -84, 87, -15, 30, -95, 120, 1, 103, -23, -127, 27, -117, -36, 109, -73, 100, 63, 5, 59, 20, 68, -92, 89, 0, 60, 38, 64, 3, -118, 58, -113, 109, 80, -48, 32, 111, -127, -95, -122, 120, 112, 67, -121, 31, -101, 11, 111, 106, 117, 102, 83, -59, 121, 114, 43, 126, 124, 124, 85, 115, -127, -98, -122, 80, 30, 95, 125, 72, -36, 96, -84, 111, 25, 38, -2, 100, 58, -17, 39, -87, 108, 124, 80, -58, 107, -17, 0, -98, 85, 111, -122, -77, -103, 26, Byte.MIN_VALUE, 64, 102, 115, 1, 94, -3, 27, 109, 52, 119, 90, 2, 56, -69, 30,
111, -108, 56, 25, 36, 17, 51, 100, -127, -20, 84, -4, 39, 96, -112, -122, -73, 82, 76, 49, 38, 114, 56, -126, 111, 56, 0, -36, 115, 0, 23, -41, 96, -50, 64, 2, 0, 69, 14, 5, 5, -85, 53, -127, -53, 51, 51, 59, 63, -6, -123, 39, -123, -112, 59, 24, 26, -126, 0, 89, -13, -77, 91, 102, 89, 121, 126, 109, -24, 87, 120, 33, 95, -9, 61, -69, -69, 121, -89, 72, 91, 60, 103, 13, 107, 0, -123, -60, 89, 122, -68, 8, -105, -16, -91, 89, -127, -120, 34, -98, -107, 89, 49, 114, 90, -83, -2, 85, 95, 32, 58, 116, 98, 84, -106, -21, 38, -98, 24, 117, 51, 58, 111, 74, 37, -123, 103, 85, -6, 114, -85, 95, 62, 126, 106, -7, -115, 0, 98, -36, -76, 49, 100, 107, 56, 126, -25, -121, -121, -32, 126, 126, -6, 77, 119, 104, 39, -123, 112, 2, 109, 97, -101, 111, -17, 60, 91, 91, 75, 59, 0, 23, -15, -15, 106, -107, -34, 63, 112, 57, Byte.MIN_VALUE, 17, 114, 86, 100, 76, -15, 40, -127, -121, 114, 64, 33, 0, 0, 22, 64, -76, 126, 10, 110, -36, 106, 121, -53, 125, -127, -87, -79, 0, -47, 89, -53, 100, -87, -76, -78, -53, 58, 36, -11, -15, 88, Byte.MIN_VALUE, -53, 85, 76, -103, 100, 32, 107, 9, 65, -95, 57, 89, -123, 47, 124, Byte.MIN_VALUE, -117, -36, 89, 22, -87, 32, 31, -87, 104, -73, -47, 117, 52, 85, 0, -125, 115, -120, -93, -36, -47, 0, 0, 80, 126, 106, 3, 49, -35, -125, 126, 91, 106, -48, 72, 72, 75, -110, 112, -119, -14, 114, 49, 121, 126, 112, 77, 109, -97, 49, 80, 71, 80, -74, 109, -114, 14, -80, 102, 109, 58, 109, 71, 110, 109, 106, Byte.MAX_VALUE, -7, 111, 112, 112, -74, 5, 111, 1, 109, 45, 80, 112, 5, -103, -7, 112, 112, 77, 71, 71, 71, 72, -71, 126, 104, 112, -75, -75, 71, 99, 71, 68, 38, 100, -76, 0, 99, 116, 80, 96, 111, 84, 107, -15, 104, 63, -4, -4, -125, -113, 59, -5, 0, 0, -99, 33, -6, -36, -53, -127, -126, -123, -123, 8, 98, 70, 0, 86, -114, -106, 75, 84, 86, 12, 59, -111, 123, -105, -106, 14, 92, 63, -120, -127, -101, 63, -120, -125, 59, -87, 6, 84, 86, -115, -9, -21, 60, -97, 4, 59, -123, 75, 93, -10, 65, 76, -40, 58, -15, -119, 101, 88, 5, -79, 3, -51, -108, 101, 97, 6, 38, 35, -80, -120, 90, 121, -123, 45, -95, -78, -78, -76, 5, 0, -19, 0, 92, 69, -127, -108, -76, 48, 38, -89, 92, 106, 120, 74, Byte.MIN_VALUE, 90, 106, 102, 76, 76, 107, 30, 101, 106, 82, 101, 112, 67, 90, -107, 33, 40, 77, 0, 65, 119, 99, -102, 56, 0, 59, -112, 0, -46, 3, 92, 87, 124, 9, -18, 6, 104, 106, 112, 95, 45, 28, 99, 2, -16, 84, 6, 109, -114, -126, 63, -68, -92, 96, 37, 32, -121, -127, -82, -82, -7, 37, 0, 21, 39, 98, 109, -119, 103, -39, 63, 111, 21, 84, -116, 54, -15, 37, 78, -117, -74, -124, -105, -122, 70, 57, 59, 3, 23, 41, 13, -111, -123, 76, 104, -123, 104, -18, -127, -114, -6, 26, -117, -40, -103, -108, 60, -97, -40, -125, 74, -121, 94, 111, 77, -16, 102, 71, -88, 0, 99, -4, 0, 3, 36, 76, -46, 71, 37, 106, Byte.MAX_VALUE, 14, -85, 109, 67, -117, 120, 10, 10, 111, 63, -65, -122, 18, 77, 99, -111, -111, 111, 125, 77, 102, 100, 10, -127, -63, 33, 72, 75, 3, 87, -122, -122, -125, 118, 94, 43, -125, 0, -89, 94, 125, -88, 73, 78, 96, -127, -127, -101, 107, 57, 37, 109, -112, 52, 52, 39, -60, 57, 82, 37, 71, 60, -2, -122, -87, -16, 9, 23, 118, 74, 65, 84, 37, 98, 96, -125, 2, 100, 100, -111, 65, 112, 81, 90, -79, 0, -92, 33, -16, 13, 36, -76, -76, -24, -4, -63, -53, -117, 45, 41, -77, 38, -67, 16, -120, 27, 41, 63, Byte.MAX_VALUE, -111, 109, 65, 36, -123, -127, 109, -3, -121, 63, 33, -51, 53, 100, 57, 123, -6, -3, -84, 0, -115, -2, 123, 95, 32, 32, 6, -7, -101, 70, 83, 6, -53, 75, 75, -106, -107, 38, 76, 76, 59, 62, -51, 86, 125, 59, 56, 103, 41, 0, 5, -3, -127, -2, -107, 104, -15, 14, 65, -124, 103, 109, 97, 59, -93, -117, 123, 59, 9, -4, 96, -93, -60, 115, -112, 99, 60, 114, 18, 0, -89, -99, -76, 100, 59, 80, 123, -78, -78, 19, -87, -81, 9, 32, 98, 100, -89, 6, 0, 39, 12, 0, -116, -116, 38, 104, -68, -2, -120, -116, 121, 121, -97, 104, 121, 95, -97, 40, -66, -106, 40, 104, -123, 102, 41, 88, 87, 11, 0, 15, 54, 7, -80, 90, -105, 86, 93, 0, -46, 86, -98, 85, 77, 112, -65, 52, 76, 76, 103, 1, 0, 101, 101, -6, -61, -61, 106, Byte.MIN_VALUE, 36, 56, 120, 65, 58, 90, 104, 102, 101, 113, 95, 39, 12, 58, 70, 100, 14, 104, -102, -126, 76, 0, -99, 114, -126, 6, 79, -85, 124, 63, 100, -19, -116, -6, -49, 87, 90, 86, 65, 0, -98, -110, 124, -6, -112, 35, 12, 104, -124, 61, -116, 12, 85, 125, 85, 66, 54, 13, 65, 5, 35, 82, -21, 5, 84, 5, -124, -85, 76, 114, -124, 39, 86, Byte.MIN_VALUE, 11, -85, 35, -27, -30, 68, -49, -4, -125, 57, -118, -48, 30, 114, 87, 83, -127, 48, 17, 85, 79, 119, -116, 90, -69, 58, 12, 90, -120, 100, 90, 81, -122, -23, 72, -127, -106, -122, 102, -121, 114, -58, -18, 38, 113, -116, -33, 100, -50, 91, 86, 14, 111, 75, 87, 112, 84, 84, 111, 107, 72, 6, -40, -121, -121, Byte.MIN_VALUE, 56, -49, 112, 70, 96, -123,
77, -63, -53, -6, 14, 37, -1, 77, 115, 95, 82, -124, -40, 8, -51, 90, -80, -112, -112, 39, 8, 32, 101, -4, -122, 102, 49, 92, 80, -112, -117, 32, -11, 12, 102, 69, -124, 41, -127, 92, 33, -96, -116, -123, 101, -91, -125, -125, 104, -39, -123, -127, -127, 87, 118, 106, -114, -102, 100, -55, -82, -18, 100, 110, 100, 30, 87, 106, 38, 107, 5, -112, 50, 80, 119, 76, -77, 99, 10, -123, -75, -10, 87, 34, -87, 37, 90, -66, 0, 56, -51, 80, -108, -94, 47, 68, -38, -106, -48, 111, -50, -18, 54, -116, 37, -123, 112, 63, -116, 77, -11, 73, 87, -59, 84, 100, 84, 85, 100, 111, 49, 111, 76, -87, 87, -117, 4, 45, -6, 87, -115, 70, 33, -76, 2, 77, 77, -77, -59, 49, -8, -117, -9, 23, -80, 78, 16, 89, 41, -6, 126, 90, 83, 19, 59, 85, 0, -122, 65, -40, 5, -120, Byte.MAX_VALUE, -120, -4, 65, 92, 121, 78, -94, 14, 106, 40, 47, 90, -120, -74, 100, -93, -97, 106, 99, 0, -87, 65, 87, 0, 122, 107, 32, 37, 68, 101, 102, 84, -48, 47, -126, 70, 95, 111, 80, 64, 16, -63, 58, 18, 0, 0, 84, -4, 46, -65, 90, -122, 73, 85, -122, -63, 125, -59, 3, 107, 96, 0, 80, -63, 112, -125, 3, 64, 90, 75, -85, -65, 8, 49, -14, 80, 76, -118, 121, 5, 0, 10, 95, 70, 107, -110, 102, -15, 85, 112, 107, 15, 17, 38, -79, -63, -21, 5, -69, 101, -98, 0, -126, 26, -125, 112, 30, 109, -55, 107, -127, 52, -37, 87, 61, -20, -92, -37, 10, 2, -15, -11, 104, -13, 111, -89, 96, -67, 104, Byte.MAX_VALUE, -110, 109, -40, -87, 63, 107, 100, -121, -117, 33, 27, 112, -43, -91, -53, -127, 121, 121, 5, -43, -3, 0, 14, 102, 84, -2, 75, 126, -65, 87, 87, -53, -83, -85, 122, 107, 62, -123, 95, 0, 122, 85, 126, 10, 85, 100, 32, -123, -63, 83, 83, 87, 104, 80, 32, 83, 39, 14, 32, 54, -3, -85, 124, 0, -37, 70, 104, 24, 2, -38, -34, -69, 66, 40, -121, 48, 111, -11, 0, 95, -49, 100, 58, 107, 24, -37, 0, 107, -59, 0, -69, 37, 92, -40, 72, -79, 112, -93, 100, 45, -80, -123, -38, -93, 87, 107, 45, 43, 5, -60, -87, -75, 100, -120, -93, -112, -122, -115, -115, -105, 114, -112, -112, 54, 55, 90, 11, -112, 89, 91, -61, 49, 58, 10, -127, 102, -30, 97, 0, 32, 111, -75, 55, -46, -57, 49, -125, 41, 32, 99, -112, -40, 90, -112, -87, 97, 20, 17, -49, -36, -36, 107, -75, -59, -34, 15, 57, 107, 125, 2, 111, 40, 3, 71, 50, 78, 16, 102, 119, 104, -120, -114, -60, 104, 59, 119, -111, 105, -121, 68, 78, 104, 10, 39, 39, 39, 37, -108, 96, 39, 110, 124, 104, 66, 39, 87, 100, 37, 7, 100, 89, 116, 124, 10, 111, 100, 89, -126, 37, 36, 15, 125, -60, -104, -100, 18, 52, 23, 117, -127, 112, -127, 106, -60, -104, 1, 115, -125, -125, 90, -34, 19, 124, -63, 0, 112, 111, 39, -34, -121, -34, -123, 111, 10, -100, -34, 0, -53, 30, -117, 103, 0, 121, 84, -83, 39, -34, 125, 37, 80, 90, -100, 126, -83, -114, 124, 104, 104, 10, 0, 39, 10, 87, 54, 74, 49, 98, 60, -72, 74, 40, -9, 87, -117, 90, 35, -108, -124, -124, -117, 80, -106, 98, 41, 74, 60, 89, -127, 34, 80, 80, 80, 91, -125, 41, 36, 33, 33, 112, 91, 33, -83, 87, 87, 0, 79, 79, 110, -83, -83, 102, -66, 79, 79, 79, 91, 102, 76, -98, -122, -118, 93, 102, 93, 93, 93, 93, 39, 106, 38, -109, -40, -121, 80, -37, -117, -15, 29, 85, 14, -117, -122, 65, 4, 64, -122, 84, 66, 39, 39, -10, -127, 90, 36, 85, -40, 126, 85, 0, -67, 77, -77, -10, 64, 85, 41, 90, 71, -72, -72, 85, 29, -72, -117, 90, -117, -115, -83, -115, 41, 85, 35, 74, -40, 32, 76, 87, -87, 77, 0, 0, -78, 104, -6, 12, 84, 112, 37, 111, 41, 54, -6, 0, 113, 8, 102, 4, 99, 84, -122, 77, -127, -4, 86, 78, -6, 28, -4, -6, 30, -122, 4, 94, 87, 5, -93, 60, 6, 125, -105, 101, -117, 94, -108, 101, 97, 20, -87, 66, 4, 100, 90, 94, -126, -80, 75, -18, 110, 57, -99, 113, 4, 121, -9, -56, 3, 66, -80, 38, 0, 70, 0, -98, 94, -65, 69, 97, 104, 0, 115, -108, -73, 77, 90, 98, 67, -76, -92, 80, 92, 5, 69, 104, -51, 39, 3, 80, 121, -123, -60, -87, -127, 69, -98, 110, 0, 86, -87, 102, -123, -124, -75, -123, 77, 77, 111, 103, 21, -2, 7, 87, 87, -46, -87, 110, 87, 119, 60, 37, 37, 71, 99, -114, 114, 86, 106, 84, -92, -111, -91, -94, 87, 6, -105, 39, 39, 57, 0, 122, -117, -94, -6, -56, -97, -97, -109, 102, 53, 99, 99, 94, -74, -74, -88, -115, 76, 37, 109, 106, 70, 112, -124, 80, 102, -15, 100, 50, -122, 13, -109, -115, 70, 126, 102, 106, -112, 120, 125, 111, 80, 101, 87, 3, 75, 64, 104, -123, 39, 116, 102, 77, -120, -111, -72, 100, -63, 93, -127, -127, 124, 68, 38, -63, -4, 84, 111, -111, -93, -122, 100, 100, 80, -111, 30, 54, 15, -108, 0, 111, -6, -77, 71, 74, 85, 82, 25, 59, 15, -122, 2, -79, 84, 50, -2, -112, 80, 13, 65, 55, -4, 109, -36, 55, -127, 0, 0, 50, -111, -124, -83, 0, 32, 63, 28, 68, 71, -77, Byte.MAX_VALUE, 126, 126, 5, 26, 4, -3, -107, -107, 60, 60, 85, 111, 20, -78, 88, 29, 20, 0, -123, 100, -91, 126, -81, -83, -83, -121, 62, 76, -106,
-123, 107, 102, -2, 102, -115, 126, 104, 97, -46, 103, 103, 104, 77, 87, -127, 90, -108, 54, 63, 5, -107, 0, 104, 15, 60, -80, 115, 111, 113, 106, 0, -122, -87, 54, -78, -78, 65, 107, 85, -117, 32, 107, -98, 100, 80, -46, 5, 34, 52, -75, 65, 65, -36, 100, 100, 100, -46, 100, 43, 107, 43, -121, 125, -120, 98, 34, 34, -82, 100, -105, -2, -117, 100, 0, 84, 0, 0, 30, 3, 3, -127, 104, 49, 6, -123, Byte.MIN_VALUE, 88, 104, -121, 98, -116, 0, 98, -121, 90, 115, 14, 39, 21, 68, 43, 83, -36, 39, 86, -23, -123, 85, 121, 58, 80, Byte.MAX_VALUE, 60, 57, -69, -18, -23, 67, 90, -85, -123, -121, 20, -123, 63, -53, 104, 104, -10, -5, -116, 17, 43, 57, -125, 46, -2, -125, 39, 7, 85, 9, 57, 107, 40, -10, Byte.MAX_VALUE, 30, 78, 57, 80, 33, 30, -6, 120, 109, -65, 72, 120, -125, 95, -60, 80, 83, 90, 104, 9, -10, 0, 100, -21, 125, 60, -60, -126, 63, 126, -122, 28, -67, -51, 16, 109, 120, -51, 9, Byte.MAX_VALUE, -119, 32, 90, -123, 121, 83, 44, 14, 14, 0, -60, -2, 58, 86, -61, 9, 40, -57, 41, -122, 87, -93, 93, -10, -39, -125, 19, 19, 92, 93, 102, 124, 110, 110, -127, 106, -15, 68, 120, 106, -116, -53, 1, 14, 0, 75, 44, 107, 99, 7, -122, 95, -76, 84, 0, -103, 107, 63, -19, 65, 99, -58, 99, 48, 90, 69, -20, 85, 88, 104, -123, 66, -123, 94, 72, -105, 89, 71, 107, -103, -20, 68, 110, 21, 19, 37, -94, 14, -127, 3, 41, -110, 109, 75, 50, 41, 1, 111, 111, -58, 51, 27, 88, 85, -118, 115, 126, -79, 30, -85, -92, 51, -125, -8, 1, -118, -118, 0, 5, -96, -77, 106, -83, 57, -76, 104, 41, 32, 71, 49, 91, -58, 33, 84, 85, 106, 0, 104, 14, -3, 90, -81, -81, -83, -76, 0, 107, 87, 68, 109, -87, 68, 106, 98, 100, 68, 63, -9, -125, 126, -49, 126, 100, -39, -112, 15, 104, -6, -32, 86, -117, 100, 104, 118, 14, 104, 104, 80, 24, 39, 80, 39, 39, 100, 66, 106, 121, 90, 119, 84, 73, 38, -3, 6, 37, 63, Byte.MAX_VALUE, -115, 61, 90, 63, -60, 87, 121, 34, -30, -120, -125, 104, -60, 5, 78, 34, 21, 96, -120, 66, Byte.MAX_VALUE, -124, -3, 13, 58, -3, 14, 14, 35, 58, -125, 101, 0, 82, 14, -104, 0, 17, 89, 58, -99, -3, 119, -60, -96, 78, -115, -127, -127, 107, 59, -76, -76, 72, 126, -123, 126, 126, 104, 104, 104, 104, Byte.MIN_VALUE, Byte.MIN_VALUE, 32, 92, Byte.MAX_VALUE, 69, 100, 100, 111, 38, 23, 16, 66, 18, -16, 109, -13, Byte.MAX_VALUE, 107, 38, 38, -113, 75, -127, -20, -122, 104, 79, 35, 14, 63, -80, 90, 79, -124, 51, 79, -120, 57, 85, 98, 117, 101, 123, -72, 120, 79, 37, -123, 95, -120, 71, 49, 0, -94, 49, 61, -22, 85, 0, -6, 33, -123, 49, -121, -94, 111, 90, -122, -125, 38, -126, 15, 125, 90, 98, 80, -20, 102, 80, 85, -124, -13, 38, 61, -124, -123, 17, 61, 39, 35, -123, 80, -123, 126, -63, -78, 88, 10, 4, 91, 91, 14, 104, -90, 12, 60, 68, 92, -127, 12, 12, 32, 59, 62, 62, 93, -6, 57, 54, -123, 79, -66, 85, 83, 107, 65, -56, -56, -122, 39, 84, -127, 84, 85, 103, 110, 78, -111, -122, -101, 111, 15, -123, 38, 53, 36, 58, 74, -4, -39, Byte.MAX_VALUE, 93, -33, 79, 87, 91, -110, 121, -112, 86, 123, 58, 50, 84, -24, 33, 44, -117, 104, 10, 34, -56, -15, -105, 122, 101, -104, 8, -30, -46, -124, -23, 21, 67, 121, 121, -117, 56, -85, 49, -121, 63, 57, 104, 71, 110, 90, -127, -16, 92, 112, -40, 104, 90, 85, 14, 110, -1, 96, -111, 19, 125, 95, 41, -15, 85, 85, 59, 0, -111, 74, 0, 0, 104, 38, -43, 98, 39, 85, -91, 118, -99, -52, -123, 90, -85, 66, 125, 67, 114, -105, 107, 118, 85, 89, 41, 23, 121, 3, 101, 126, 126, 38, -126, 104, 93, 104, -81, 126, -112, 95, 38, 88, -27, 117, 79, -108, 70, 65, 100, 5, 85, -5, 113, -16, -107, 61, 126, 77, 0, 69, 100, -112, 27, -46, 114, -66, 109, 109, -116, -66, -97, -2, 113, 111, 111, -122, 85, -127, -81, 64, 112, 114, -1, 64, 21, 104, -4, 126, 85, 11, -67, 104, 118, 50, 5, 37, -98, 84, 84, 110, -87, -84, 124, 49, 104, 113, -87, -35, -46, 77, 6, 96, -4, 84, -56, 49, 85, 11, 61, 53, 33, -62, -87, -127, 105, 105, 92, 60, -6, -105, 65, -74, 85, -111, -97, -40, 1, 40, 75, 109, 32, -120, 78, 112, -121, -127, -81, 111, Byte.MIN_VALUE, 115, 5, 100, 64, 64, -36, 79, 47, 121, Byte.MAX_VALUE, 85, 33, 91, 80, 126, 77, 19, -111, -125, 109, 65, -117, 24, 37, 61, 11, -1, 24, 58, 105, 76, -46, 114, 88, -115, 67, 125, 46, 2, 11, 92, 27, 15, Byte.MAX_VALUE, -111, 64, -2, 40, 11, 96, 80, 96, -4, 80, 111, 111, 14, 96, 124, -56, 14, 104, -59, 109, -112, 59, 106, 77, 36, -52, -5, -108, 111, 2, -1, 100, -28, 93, 114, -111, 23, -88, 86, 0, -98, -98, 6, 100, 114, 52, 52, -6, 102, 50, 125, 0, 102, -117, 44, 57, 90, -112, -124, 109, 26, 55, 37, 20, -112, 112, 90, Byte.MAX_VALUE, 109, 101, -87, 26, 61, 106, 48, 95, -4, 58, 125, 114, 37, -55, 0, 35, 49, -13, -53, -51, 109, 38, 24, 24, 24, 53, -56, -40, Byte.MAX_VALUE, 69, 5, 45, -67, 105, 6, 119, -118, 126, -112, -85, -24, 50, -121, 106, -72, 33, 80, 72, -67, -4, -127, 109, 1, -110, 63, -123, -72, -116, -6, -6, 111, -10, -83, -111, 110, 44, -123, 69, 37, -6,
4, -16, 11, 17, 46, -123, 123, 38, -85, -10, -98, 126, -2, 37, 106, 106, 85, 85, 58, 59, 76, 74, 74, 52, -115, 27, 89, 83, 86, -91, -91, 39, 112, -6, 87, -56, -120, -83, 84, 24, -115, 40, 87, 59, 38, -15, 104, 41, 87, -46, 58, 59, -120, 50, 112, -123, 80, 124, 70, 0, 0, 4, 26, -107, 90, 107, 5, -65, 104, -81, 27, -114, 123, -62, -93, 2, -81, 100, 103, 86, 38, 111, 106, 57, -61, 2, -61, 74, -6, -53, -93, -62, 40, -123, -28, -28, 100, 101, 20, -123, 92, -99, 110, 90, -79, -57, 37, 0, 32, -61, -93, 123, 96, 9, 32, -127, -117, 124, 35, 104, -85, -48, -60, 60, -115, 94, 94, -116, 96, 113, 84, -125, 95, 41, 15, 85, 37, 83, -122, 96, -125, -3, Byte.MIN_VALUE, -3, 126, 70, -6, -126, 67, 23, -126, -127, 39, -111, -127, -98, 92, 62, 126, 44, 96, -125, -122, 111, -125, 100, -76, 85, 126, 85, 85, 47, 57, 4, 121, 121, 121, 77, 39, -87, -65, 121, -87, 84, 56, 15, 65, -119, 33, 104, 104, 32, 121, 85, 100, 40, 40, 23, 124, 3, -90, -7, 6, 56, 13, 90, 0, 116, 75, Byte.MAX_VALUE, 66, -110, 111, -103, 112, 37, 30, 38, 102, -104, 84, 75, -4, -123, 30, -96, -62, 26, 101, -33, 8, 35, 10, 85, -4, 8, -126, 111, 90, 5, 85, -15, -123, -112, 77, 75, Byte.MIN_VALUE, 37, -127, 100, -99, 15, 34, -117, 81, 121, 113, -115, 6, 0, -125, -124, 114, 78, -50, 104, 41, -119, -8, 70, 71, -110, -127, -8, 90, -19, 6, 5, 120, 72, -104, -74, -3, 0, 121, 10, 19, -123, -16, 59, -7, -15, 58, 102, -125, 124, 101, 10, 115, -40, 104, 63, 38, -15, 115, -53, -53, 36, 99, 40, 4, -56, 41, -126, 90, 124, -120, 58, 31, -51, -39, -95, 90, -19, 8, -22, -81, -50, 104, -4, -117, 75, 6, 75, 75, 5, -117, -113, -21, Byte.MIN_VALUE, 7, 7, 63, -40, -117, -96, -78, -125, -5, 109, -93, -34, 20, 120, -4, 117, -96, 39, -122, -124, -35, 100, 100, 5, 44, 74, 117, -109, 38, 90, 27, 126, -11, -118, 39, -50, 20, 38, 103, -123, -96, 76, 76, -123, -1, 3, -32, -125, 96, -123, -102, 70, 17, 66, -82, 124, -72, 67, 76, -115, 0, -117, -123, -75, 99, 83, 57, 90, -46, 59, -123, -124, -127, 126, 87, 0, 2, 75, -28, 55, 20, 99, 64, -125, 37, 56, 56, -106, -63, -78, -117, -16, -125, 104, 68, 32, -28, 78, 90, 30, 87, -123, 84, -114, -118, 69, -97, Byte.MIN_VALUE, 71, -113, -8, -72, 6, 112, 34, -36, -116, 35, 41, 103, -115, 21, 124, 21, -114, 104, 125, -72, 51, 75, -91, 55, 9, -125, 124, 60, 0, 78, 0, -16, 35, -82, -56, -62, 90, 7, -117, 60, 83, 2, -116, 113, -111, 36, 45, -122, 71, 12, -50, -39, -28, -109, 83, 85, 87, 37, 65, 26, -74, 1, 94, 76, 40, 66, -8, 63, Byte.MAX_VALUE, 108, -127, 61, -5, -6, -22, 41, -4, -80, 103, 99, -115, -124, -84, 103, 104, Byte.MIN_VALUE, 32, 68, -71, 23, 59, 35, 19, -122, 64, -105, 73, 100, 55, -110, -117, 65, -4, -107, 7, 40, -122, -76, 104, 0, 0, -123, 58, 0, 32, 26, 105, -16, 112, -28, -125, -124, -118, -125, 111, 100, -98, -48, 119, 16, -15, 80, 23, -110, 96, -58, 64, -36, 30, 39, -111, -125, 104, 47, 118, 15, 101, 124, 100, 117, 3, 95, 99, 83, -108, 42, -127, 64, -95, -95, 37, -112, -118, -118, 71, -122, 126, 99, 39, 48, 35, 90, 112, -4, 103, 30, 124, 11, 102, 0, 0, -93, 81, 0, 32, 96, -77, -111, 99, -123, 101, 0, 109, 6, 40, 42, 126, 55, 55, 20, 41, 15, 9, 55, 26, -108, 102, 60, -123, -30, 90, -125, 51, 3, 95, 87, 48, 25, -121, -57, 77, 45, -28, 32, 57, -122, 60, -21, 8, 56, -87, 61, 121, -123, 76, 86, -4, 81, -3, 36, -125, 77, 90, -28, 5, 30, 124, 96, 84, 79, 35, 100, 35, 41, 7, 102, 18, 51, 59, 30, 32, 56, -83, 39, 44, 109, 19, 87, 43, 63, -6, 0, 125, -85, 37, 38, 105, -76, -73, -77, -111, 92, 121, 124, 44, 60, 122, 53, -49, -53, -124, 107, 107, -123, 5, -123, 38, -67, 32, -104, 41, 56, 72, Byte.MIN_VALUE, -53, -53, -127, 32, -106, 16, -124, 106, 101, -4, -83, -127, 107, -115, -12, -12, -91, 75, 87, 18, -98, 117, 104, 87, 37, 37, 22, -46, 118, 49, 112, 125, 56, -106, -39, -81, -124, 126, -116, -123, -127, 26, 58, 58, 35, 20, 35, -115, 89, -83, 12, 90, -2, 20, 55, -113, -117, 75, -7, 0, 75, -39, 0, 90, -76, -123, 52, 57, 112, -2, -119, -125, 93, 109, -89, -96, -76, 32, -113, 120, -7, 47, -127, 59, 27, 26, 1, -120, 124, -122, 0, -101, 58, 90, 96, -15, 20, 5, -117, 103, 0, 0, 51, -60, -127, 58, -113, 60, 92, -93, 22, -117, 103, 17, 103, 103, -40, Byte.MIN_VALUE, -127, 18, -34, 96, -123, -122, -96, -53, -125, 90, -82, 59, 7, 51, -76, -71, 10, -123, -21, 101, -89, 22, 41, 117, -39, 87, -114, Byte.MIN_VALUE, -71, -95, 112, 107, -76, -78, -4, -4, 117, -4, -93, 24, 107, -63, 9, 32, 0, 52, 90, 35, -73, -114, -60, -87, 117, -75, 59, -108, -87, 65, 76, 59, -123, -115, -93, -87, -47, -123, 107, 107, -6, 91, -9, -9, 40, -109, 110, 92, 92, 100, 93, 8, 84, -124, 20, 65, -104, -56, 84, 102, 96, 27, 89, -60, 41, 96, 63, 95, -123, -56, 36, -118, 37, 76, 111, 38, 5, 7, 95, -123, 76, -85, -36, 14, 33, 65, 76, 104, 93, 24, -108, 100, 75, -6, 71, 89, 76, -123, -120, 101, 86, Byte.MAX_VALUE,
41, 2, -2, 2, -124, 63, -125, 90, 41, -83, 4, 93, 85, -123, 0, -2, -113, 104, -85, 14, -87, 97, 89, 81, 97, -6, -6, 125, 18, -115, 125, -92, 85, 8, 8, -93, 111, -93, 80, 71, 38, -83, -126, 121, 90, -126, 111, -125, -123, 83, 66, 71, -121, 38, 106, 90, -3, 126, 4, -113, 126, 73, -113, 49, 91, -113, -113, 0, -81, -113, 41, 73, -120, 84, 90, 113, 84, 39, -18, 110, 0, -20, -6, 126, -65, -72, -18, -15, -79, 90, 84, 96, -120, -120, -40, -109, Byte.MIN_VALUE, 104, -79, 34, -125, 0, 104, -6, -123, 83, -13, 83, 126, 104, 54, 111, 84, -127, -127, -127, Byte.MIN_VALUE, 14, 58, -118, -123, 119, 90, 66, 98, 95, 91, -95, 93, 112, 58, 63, 95, 32, 39, -99, 101, 39, 79, -56, -56, 74, 46, 84, 114, 11, 4, 120, 8, -122, -97, 38, 121, 84, 114, 107, 33, 96, -55, Byte.MAX_VALUE, 86, 0, 121, 104, 85, 91, 100, 120, 84, 59, 37, -117, 101, 117, 19, 92, 107, 96, -18, -125, -80, 46, 114, -63, -105, -53, 15, 95, Byte.MAX_VALUE, Byte.MIN_VALUE, -111, 39, 39, 111, 85, 67, -65, -40, 33, 81, 70, 2, 19, 4, -121, -78, 87, -99, 66, 34, 39, 125, 125, 96, -98, 95, -123, -121, -123, -121, 33, 69, 119, 100, 92, 88, 31, 89, 103, 114, 126, 112, 112, -114, 78, 87, -97, -121, 85, 38, 38, 21, -127, -127, 84, 112, 126, 114, 36, 78, 65, -113, -107, -121, -7, -120, 85, 32, 104, 85, 1, -6, -120, 107, -125, 104, -123, 3, 78, -81, -84, 33, 79, 89, 117, 0, 96, 99, 104, 86, 114, 126, 90, -56, -98, 115, 107, 72, 80, 41, 1, -65, -48, -125, -29, 3, 101, 46, 102, 56, -7, -55, -123, -112, 95, 82, 33, -6, 114, 100, -87, 2, -127, 107, -62, 117, 90, 114, -51, -53, 49, -40, Byte.MAX_VALUE, 126, 10, 112, 96, 43, -83, 87, 58, -120, -12, -81, 74, 85, 104, -127, -99, 57, 103, 103, -87, 59, 69, 89, 85, 0, Byte.MIN_VALUE, 114, 104, 88, 92, 28, -123, 10, -120, 0, 2, 103, 17, 41, -61, 98, 102, -7, -87, 36, -99, 67, 0, 100, Byte.MIN_VALUE, -76, 85, 15, -78, -47, -73, -75, 31, 60, 100, 41, 113, 113, 4, 103, 99, -118, 121, 115, 41, 26, 26, 38, -67, 29, 29, 64, -107, 24, 95, 126, 106, -1, 86, -15, 113, 110, 18, -16, 8, 90, -80, 85, 4, 0, -27, 66, 48, -125, -92, -92, -116, -55, 125, 79, 74, 34, -127, -6, 107, -111, 79, 69, -92, 0, -61, -78, -51, 62, 80, -53, 12, 124, -120, 41, 0, -120, 12, 6, -9, 76, 76, 60, -87, 3, -127, -118, 14, 94, 68, 48, 30, 0, 115, 5, -4, 111, 93, 84, 30, 32, 98, 83, 84, -112, -87, 92, 23, 54, 12, 34, -127, 63, Byte.MAX_VALUE, -66, 38, 104, 102, 100, 72, 104, -6, 41, 94, 66, 0, 0, 0, -94, 32, -66, 101, -69, -58, 49, 112, 113, 85, 11, -122, 70, 95, 102, 87, 41, 46, -23, 41, 122, 91, 40, -120, 40, 50, 8, 50, -127, 113, 114, 101, -127, -65, -15, 14, 79, 4, 84, 86, 104, 90, -48, 85, 121, 99, 71, 98, -125, 102, -81, 19, 77, -63, Byte.MIN_VALUE, 109, -123, -111, 114, 0, 71, 41, 119, 0, -87, -76, -125, 37, 50, -3, 87, -48, 89, 87, -103, -10, 58, 85, -123, 104, 89, -126, -126, 101, 10, -53, 104, 103, 25, 39, -36, 14, 75, 104, -80, 19, -40, -95, 115, 8, 83, -122, 57, 48, 101, 90, 20, -52, 93, -6, 8, 16, -65, Byte.MIN_VALUE, 50, -127, 86, 110, 37, -117, 75, -105, -48, -34, 109, 63, -123, 124, 30, 58, 102, 0, -118, 5, 90, -125, 20, 76, -108, -49, -120, 14, -79, 31, 124, 49, -120, -18, 39, 104, 30, 102, 37, -118, 39, -123, -79, -63, 0, 15, 124, 0, 16, 126, -123, -78, 70, -76, 0, -87, -93, 109, 41, 98, 44, -6, -125, -6, -87, 38, 88, -125, -87, 52, 103, -111, 19, 12, 89, 20, 12, 19, -112, 40, 104, 48, 95, -120, -125, -107, 80, 80, 111, 82, 100, -109, -91, 126, -87, 0, 101, 115, 98, -123, 38, 96, 116, -75, 82, -122, 118, 107, 61, 106, 80, -99, 17, 3, 3, -116, 104, -113, -103, -123, 2, 69, 25, 25, 124, -122, -118, 97, 76, -115, 111, 117, 0, 107, 0, 0, 126, 99, 10, -125, 59, -6, -2, 122, 107, -124, -116, 98, 56, 56, -125, 11, 68, -96, -120, 20, 12, 90, 19, 69, -115, 85, -92, -79, 87, -6, 81, -114, 93, 51, -84, 3, 68, 110, -63, 9, -78, -16, -116, 63, 96, 71, 119, 5, 102, 14, 63, 112, -112, -123, 12, 11, 99, -125, 124, 78, -28, -126, 66, -127, 89, -72, -100, 34, 28, 86, 50, -61, 84, -87, -87, 71, 28, 107, 56, -117, 64, 90, -97, -113, 41, 32, 83, 80, -120, -87, 19, 0, 0, 61, -123, -94, -85, -125, -113, -80, -87, -6, 19, -74, 49, -4, -59, -6, -6, 23, 108, 32, 61, 85, -22, 9, -8, Byte.MAX_VALUE, -111, 37, 119, -127, -87, -16, 111, 111, 102, Byte.MAX_VALUE, 70, 60, 94, 79, 63, 85, 83, 37, 126, -6, 112, 100, 111, 5, 104, 28, 12, 45, -88, -6, -113, 90, -108, -94, -110, -110, Byte.MIN_VALUE, 105, 86, 86, 36, 2, -36, 78, 109, -76, 114, -122, 104, 40, -117, -117, 37, -105, -84, -3, -123, -115, 99, -117, 11, -123, -113, -112, 18, -16, 68, 41, 32, 0, 0, -125, 107, 85, 72, -4, 0, -98, 0, -73, -123, 0, 0, 0, 0, -16, 32, 0, 75, 28, 76, 103, 90, 80, 80, 73, -126, -111, -125, 104, 37, 85, 100, 100, 43, 126, 46, 111, 115, 124, 83, 15, 14, 102, Byte.MIN_VALUE, 95, 21, 101, -95, 100, 12, Byte.MAX_VALUE, -98, -122, -98, 49, 87, 90, 75, -127, -125
};
public static final ja.c f717u = new ja.c("CONDITION_FALSE", 4);
public static final char[] f719w = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '+', '/'};
public static final char[] f720x = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '-', '_'};
public static final String[] f721y = {"id", TimeDisplaySetting.TIME_DISPLAY_SETTING, "du", "$st_fl", "ds", "pn", "_$sp"};
public static final int[] f722z = {2130969882, 2130969883, 2130969884};
public static final int[] A = {2130969885, 2130969886, 2130969887, 2130969888, 2130969889, 2130969890, 2130969891, 2130969892, 2130969893, 2130969894, 2130969895, 2130969896, 2130969897};
public static final int[] B = {2130969613, 2130969614, 2130969927};
public static final int[] C = {2130969135};
public static final int[] D = {2130968865, 2130968866, 2130968867, 2130968868, R.attr.duration, 2130969695};
public static final int[] E = {2130969152, 2130969827};
public static final int[] F = {2130969641};
public static final int[] G = {2130969188, 2130969189};
public static final int[] H = {2130968628, 2130968687, 2130968714, 2130968715, 2130968799, 2130968989, 2130969615, 2130969616, 2130969617, 2130969618, 2130969619, 2130969660, 2130969661};
public static final int[] I = {2130968750, 2130968751, 2130968752, 2130968753, 2130968754, 2130968755};
public static final int[] J = {2130969644, 2130969645, 2130969646, 2130969647, 2130969648, 2130969649, 2130969650};
public static final int[] K = {2130968865, 2130968866, 2130968867, 2130968868, R.attr.duration, 2130969695};
public static final int[] L = {2130968699, 2130968711, 2130968712, 2130968767, 2130968768, 2130968769, 2130968770, 2130969146};
public static final int[] M = {2130968733, 2130968734, 2130968892, 2130969095, 2130969270, 2130969580};
public a() {
}
public static void A(Closeable closeable) {
if (closeable != null) {
try {
closeable.close();
} catch (IOException unused) {
}
}
}
public static void B(File file, String str) {
FileOutputStream fileOutputStream = null;
try {
FileOutputStream fileOutputStream2 = new FileOutputStream(file);
try {
fileOutputStream2.write(str.getBytes(Key.STRING_CHARSET_NAME));
fileOutputStream2.flush();
A(fileOutputStream2);
} catch (FileNotFoundException | IOException unused) {
fileOutputStream = fileOutputStream2;
A(fileOutputStream);
} catch (Throwable th2) {
th = th2;
fileOutputStream = fileOutputStream2;
A(fileOutputStream);
throw th;
}
} catch (FileNotFoundException | IOException unused2) {
} catch (Throwable th3) {
th = th3;
}
}
public static byte[] C(byte[] bArr) {
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
Deflater deflater = new Deflater();
deflater.setInput(bArr);
deflater.finish();
byte[] bArr2 = new byte[1024];
while (!deflater.finished()) {
byteArrayOutputStream.write(bArr2, 0, deflater.deflate(bArr2));
}
byte[] byteArray = byteArrayOutputStream.toByteArray();
deflater.end();
try {
byteArrayOutputStream.close();
} catch (IOException unused) {
}
return byteArray;
}
public static String D(Context context, String str) {
String str2 = "";
if (TextUtils.isEmpty(str)) {
return "";
}
byte[] o10 = b5.a.o(context);
if (!TextUtils.isEmpty(str) && str.length() >= 32 && o10.length > 0) {
try {
SecretKeySpec secretKeySpec = new SecretKeySpec(o10, "AES");
Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding");
String j10 = j(str);
String E2 = E(str);
if (!TextUtils.isEmpty(j10) && !TextUtils.isEmpty(E2)) {
cipher.init(2, secretKeySpec, new IvParameterSpec(b5.a.p(j10)));
str2 = new String(cipher.doFinal(b5.a.p(E2)), Key.STRING_CHARSET_NAME);
}
t6.a.e("AesCbc", "iv or enData is null");
} catch (UnsupportedEncodingException | IllegalArgumentException | InvalidAlgorithmParameterException | InvalidKeyException | NoSuchAlgorithmException | BadPaddingException | IllegalBlockSizeException | NoSuchPaddingException unused) {
t6.a.b("AesCbc", "aes cbc decrypter data error");
}
}
return str2;
}
public static String E(String str) {
if (TextUtils.isEmpty(str)) {
return "";
}
StringBuffer stringBuffer = new StringBuffer();
if (str.length() >= 48) {
stringBuffer.append((CharSequence) str, 0, 6);
stringBuffer.append((CharSequence) str, 12, 16);
stringBuffer.append((CharSequence) str, 26, 32);
stringBuffer.append(str.substring(48));
}
return stringBuffer.toString();
}
public static void F(String str, Object... objArr) {
Log.w("OpenInstall", String.format(str, objArr));
}
public static boolean G(Context context) {
NetworkInfo networkInfo = null;
try {
ConnectivityManager connectivityManager = (ConnectivityManager) context.getSystemService("connectivity");
if (connectivityManager != null) {
networkInfo = connectivityManager.getActiveNetworkInfo();
}
} catch (Exception e10) {
e10.printStackTrace();
}
if (networkInfo != null && networkInfo.isConnected() && networkInfo.getType() == 1) {
return true;
}
return false;
}
public static boolean H(String str) {
File[] listFiles;
if (!TextUtils.isEmpty(str) && !str.contains("../")) {
String str2 = File.separator;
if (!str.endsWith(str2)) {
str = i.f(str, str2);
}
File file = new File(str);
if (file.exists() && file.isDirectory()) {
boolean z10 = true;
for (File file2 : file.listFiles()) {
boolean isFile = file2.isFile();
String absolutePath = file2.getAbsolutePath();
if (isFile) {
if (!TextUtils.isEmpty(absolutePath) && !absolutePath.contains("../")) {
File file3 = new File(absolutePath);
if (file3.isFile() && file3.exists()) {
z10 = file3.delete();
if (z10) {
break;
}
}
}
z10 = false;
if (z10) {
}
} else {
z10 = H(absolutePath);
if (!z10) {
break;
}
}
}
if (!z10) {
return false;
}
return file.delete();
}
}
return false;
}
public static void I(String str) {
if (d0.f6754a >= 18) {
Trace.beginSection(str);
}
}
public static void J(boolean z10) {
if (z10) {
return;
}
throw new IllegalArgumentException();
}
public static void K(Closeable closeable) {
if (closeable != null) {
try {
closeable.close();
} catch (IOException unused) {
t6.a.b("IOUtils", "An exception occurred while closing the 'Closeable' object.");
}
}
}
public static float L(float f10, float f11, float f12, float f13) {
double d7 = 0.0f - f10;
double d10 = 0.0f - f11;
float hypot = (float) Math.hypot(d7, d10);
double d11 = f12 - f10;
float hypot2 = (float) Math.hypot(d11, d10);
double d12 = f13 - f11;
float hypot3 = (float) Math.hypot(d11, d12);
float hypot4 = (float) Math.hypot(d7, d12);
if (hypot <= hypot2 || hypot <= hypot3 || hypot <= hypot4) {
if (hypot2 > hypot3 && hypot2 > hypot4) {
return hypot2;
}
if (hypot3 > hypot4) {
return hypot3;
}
return hypot4;
}
return hypot;
}
public static final float M(int i, View dp) {
kotlin.jvm.internal.i.g(dp, "$this$dp");
Resources resources = dp.getResources();
kotlin.jvm.internal.i.b(resources, "resources");
return TypedValue.applyDimension(1, i, resources.getDisplayMetrics());
}
public static int N(int i) {
return (int) TypedValue.applyDimension(1, i, Resources.getSystem().getDisplayMetrics());
}
public static void O() {
if (d0.f6754a >= 18) {
Trace.endSection();
}
}
public static void P(String str) {
for (String str2 : f713p.keySet()) {
if (!str2.equals(str)) {
((Activity) f713p.get(str2)).finish();
}
}
}
public static a Q() {
if (q == null) {
q = new a(2);
}
if (f713p == null) {
f713p = new HashMap();
}
return q;
}
public static String R(String str) {
try {
Class<?> cls = Class.forName("android.os.SystemProperties");
return (String) cls.getMethod("get", String.class, String.class).invoke(cls, str, "");
} catch (Exception e10) {
e10.printStackTrace();
return "";
}
}
public static String S(long j10) {
Calendar calendar = Calendar.getInstance();
Calendar calendar2 = Calendar.getInstance();
calendar2.setTimeInMillis(j10);
int i = calendar.get(1);
int i10 = calendar.get(2);
int i11 = calendar.get(5);
int i12 = calendar.get(11);
int i13 = calendar.get(12);
int i14 = calendar2.get(1);
int i15 = calendar2.get(2);
int i16 = calendar2.get(5);
int i17 = calendar2.get(11);
int i18 = calendar2.get(12);
if (i - i14 > 0) {
return "很久以前";
}
int i19 = i10 - i15;
if (i19 > 0) {
return d.e(i19, "月前");
}
int i20 = i11 - i16;
if (i20 > 0) {
return d.e(i20, "天前");
}
int i21 = i12 - i17;
if (i21 > 0) {
return d.e(i21, "小时前");
}
int i22 = i13 - i18;
if (i22 > 0) {
return d.e(i22, "分前");
}
return "刚刚";
}
public static String T(long j10) {
Calendar calendar = Calendar.getInstance();
Calendar calendar2 = Calendar.getInstance();
calendar2.setTimeInMillis(j10);
int i = calendar.get(1);
int i10 = calendar.get(2);
int i11 = calendar.get(5);
int i12 = calendar.get(11);
int i13 = calendar.get(12);
int i14 = calendar2.get(1);
int i15 = calendar2.get(2);
int i16 = calendar2.get(5);
int i17 = calendar2.get(11);
int i18 = calendar2.get(12);
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
if (i - i14 > 0) {
return simpleDateFormat.format(new Date(j10));
}
if (i10 - i15 > 0) {
return simpleDateFormat.format(new Date(j10));
}
int i19 = i11 - i16;
if (i19 > 7) {
return simpleDateFormat.format(new Date(j10));
}
if (i19 > 0) {
return d.e(i19, "天前");
}
int i20 = i12 - i17;
if (i20 > 0) {
return d.e(i20, "小时前");
}
int i21 = i13 - i18;
if (i21 > 0) {
return d.e(i21, "分前");
}
return "刚刚";
}
public static boolean U() {
String str;
boolean z10;
String str2 = "";
if (!(!TextUtils.isEmpty(R("ro.build.version.emui")))) {
str = "";
} else {
str = R("ro.build.version.emui");
}
if (str.contains("EmotionUI_3.0")) {
return true;
}
if (!TextUtils.isEmpty(R("ro.build.version.emui"))) {
str2 = R("ro.build.version.emui");
}
if (!"EmotionUI 3".equals(str2) && !str2.contains("EmotionUI_3.1")) {
z10 = false;
} else {
z10 = true;
}
if (z10) {
return true;
}
return false;
}
public static boolean V() {
String str;
int intValue;
if (R("ro.build.display.id").toLowerCase().contains("flyme")) {
str = R("ro.build.display.id");
} else {
str = "";
}
if (!str.isEmpty()) {
try {
if (str.toLowerCase().contains("os")) {
intValue = Integer.valueOf(str.substring(9, 10)).intValue();
} else {
intValue = Integer.valueOf(str.substring(6, 7)).intValue();
}
if (intValue >= 4) {
return true;
}
} catch (NumberFormatException unused) {
}
}
return false;
}
public static boolean W() {
boolean isIgnoringBatteryOptimizations;
PowerManager powerManager = (PowerManager) WindClient.c().getSystemService("power");
if (powerManager != null) {
isIgnoringBatteryOptimizations = powerManager.isIgnoringBatteryOptimizations(WindClient.c().getPackageName());
return isIgnoringBatteryOptimizations;
}
return false;
}
public static boolean X() {
String str;
if (!TextUtils.isEmpty(R("ro.miui.ui.version.name"))) {
str = R("ro.miui.ui.version.name");
} else {
str = "";
}
if (!str.isEmpty()) {
try {
if (Integer.valueOf(str.substring(1)).intValue() >= 6) {
return true;
}
} catch (NumberFormatException unused) {
}
}
return false;
}
public static boolean Y(SQLiteDatabase sQLiteDatabase, ye.b bVar) {
boolean z10;
Exception e10;
Cursor cursor;
int i;
Object obj = bVar.f15906a;
Object obj2 = bVar.f15907b;
String str = (String) obj;
Cursor cursor2 = null;
if (str != null && sQLiteDatabase != null) {
try {
if (sQLiteDatabase.isOpen()) {
try {
cursor = sQLiteDatabase.rawQuery("SELECT COUNT(*) FROM sqlite_master WHERE type = ? AND name = ?", new String[]{"table", str});
try {
} catch (Exception e11) {
e10 = e11;
wf.d.l0(e10);
if (cursor != null) {
cursor.close();
}
i = 0;
str = cursor;
if (i > 0) {
}
z10 = false;
if (!z10) {
}
}
} catch (Exception e12) {
e10 = e12;
cursor = null;
} catch (Throwable th2) {
th = th2;
if (cursor2 != null) {
cursor2.close();
}
throw th;
}
if (cursor.moveToFirst()) {
i = cursor.getInt(0);
if (i > 0) {
z10 = true;
if (!z10) {
return true;
}
Cursor rawQuery = sQLiteDatabase.rawQuery("select * from " + ((String) bVar.f15906a), null);
if (rawQuery == null) {
return false;
}
try {
int size = ((List) obj2).size();
if (size != rawQuery.getColumnCount()) {
return true;
}
for (int i10 = 0; i10 < size; i10++) {
String columnName = rawQuery.getColumnName(i10);
int size2 = ((List) obj2).size();
int i11 = 0;
while (true) {
if (i11 < size2) {
if (((za.c) ((List) obj2).get(i11)).f16389a.equals(columnName)) {
break;
}
i11++;
} else {
i11 = -1;
break;
}
}
if (i11 == -1) {
return true;
}
}
return false;
} finally {
rawQuery.close();
}
}
}
}
} catch (Throwable th3) {
th = th3;
cursor2 = str;
}
}
z10 = false;
if (!z10) {
}
}
public static String a0(String str) {
return i.g("https://developer.umeng.com/docs/66632/detail/", str, "?um_channel=sdk");
}
public static String b0() {
StringBuilder sb2 = new StringBuilder();
for (int i = 0; i < 8; i++) {
sb2.append(new Random().nextInt(10));
}
return sb2.toString();
}
public static String c0() {
StringBuilder sb2 = new StringBuilder();
for (int i = 0; i < 2; i++) {
sb2.append("0123456789abcdefghijklmnopqrstuvwxyz".charAt(new Random().nextInt(36)));
}
return sb2.toString();
}
public static long d0(p pVar, int i, int i10) {
boolean z10;
boolean z11;
pVar.x(i);
if (pVar.f6825c - pVar.f6824b < 5) {
return -9223372036854775807L;
}
int b10 = pVar.b();
if ((8388608 & b10) != 0 || ((2096896 & b10) >> 8) != i10) {
return -9223372036854775807L;
}
if ((b10 & 32) != 0) {
z10 = true;
} else {
z10 = false;
}
if (z10 && pVar.m() >= 7 && pVar.f6825c - pVar.f6824b >= 7) {
if ((pVar.m() & 16) == 16) {
z11 = true;
} else {
z11 = false;
}
if (z11) {
byte[] bArr = new byte[6];
pVar.a(bArr, 0, 6);
return ((bArr[0] & 255) << 25) | ((bArr[1] & 255) << 17) | ((bArr[2] & 255) << 9) | ((bArr[3] & 255) << 1) | ((bArr[4] & 255) >> 7);
}
}
return -9223372036854775807L;
}
public static List e0() {
return Arrays.asList("aHR0cHM6Ly80Ny4xMDYuMTA2LjIxMjoxMDExMi9sb2dzL2dldWExem0yaw==", "aHR0cHM6Ly8xMTQuMTMyLjQ3LjU1OjEwMTEyL2xvZ3MvZ2V1YTF6bTJr", "aHR0cHM6Ly80Ny4xMDYuMjIuMjQ1OjEwMTEyL2xvZ3MvZ2V1YTF6bTJr", "aHR0cHM6Ly8xMDEuMzMuMjM5LjE5NzoxMDExMi9sb2dzL2dldWExem0yaw==", "aHR0cHM6Ly9hc2tsYXNoZGJmandlamtzZGdqZy4wODZ0NzA2NWdnLmNvbToyMDk2L2xvZ3MvZ2V1YTF6bTJr");
}
public static Class g(Type type) {
if (type instanceof Class) {
return (Class) type;
}
if (type instanceof ParameterizedType) {
return (Class) ((ParameterizedType) type).getRawType();
}
if (type instanceof TypeVariable) {
TypeVariable typeVariable = (TypeVariable) type;
if (typeVariable.getBounds().length == 0) {
return Object.class;
}
return g(typeVariable.getBounds()[0]);
}
throw new IllegalArgumentException("not supported: " + type.getClass());
}
public static String g0(String str, String str2) {
String str3;
try {
Class<?> cls = Class.forName("android.os.SystemProperties");
str3 = (String) cls.getMethod("get", String.class, String.class).invoke(cls, str, str2);
} catch (Exception e10) {
e10.toString();
str3 = null;
}
if (str3 == null) {
return "";
}
return str3;
}
public static String i(Context context, String str) {
if (TextUtils.isEmpty(str)) {
return "";
}
byte[] o10 = b5.a.o(context);
if (TextUtils.isEmpty(str) || o10.length <= 0) {
return "";
}
try {
SecretKeySpec secretKeySpec = new SecretKeySpec(o10, "AES");
Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding");
byte[] bArr = new byte[16];
new SecureRandom().nextBytes(bArr);
cipher.init(1, secretKeySpec, new IvParameterSpec(bArr));
return k(b5.a.m(bArr), b5.a.m(cipher.doFinal(str.getBytes(Key.STRING_CHARSET_NAME))));
} catch (UnsupportedEncodingException | IllegalArgumentException | InvalidAlgorithmParameterException | InvalidKeyException | NoSuchAlgorithmException | BadPaddingException | IllegalBlockSizeException | NoSuchPaddingException unused) {
t6.a.b("AesCbc", "aes cbc encrypter data error");
return "";
}
}
public static String j(String str) {
if (TextUtils.isEmpty(str)) {
return "";
}
StringBuffer stringBuffer = new StringBuffer();
if (str.length() >= 48) {
stringBuffer.append((CharSequence) str, 6, 12);
stringBuffer.append((CharSequence) str, 16, 26);
stringBuffer.append((CharSequence) str, 32, 48);
}
return stringBuffer.toString();
}
public static String k(String str, String str2) {
if (!TextUtils.isEmpty(str) && !TextUtils.isEmpty(str2)) {
StringBuffer stringBuffer = new StringBuffer();
if (str2.length() >= 16 && str.length() >= 16) {
stringBuffer.append((CharSequence) str2, 0, 6);
stringBuffer.append((CharSequence) str, 0, 6);
stringBuffer.append((CharSequence) str2, 6, 10);
stringBuffer.append((CharSequence) str, 6, 16);
stringBuffer.append((CharSequence) str2, 10, 16);
stringBuffer.append(str.substring(16));
stringBuffer.append(str2.substring(16));
}
return stringBuffer.toString();
}
return "";
}
public static String l(lh.c cVar) {
return cVar.f9801a + "#" + cVar.f9802b + "#" + cVar.f9803c + "#" + cVar.f9799h;
}
public static String m(byte[] bArr) {
char[] cArr = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'};
char[] cArr2 = new char[bArr.length * 2];
int i = 0;
for (byte b10 : bArr) {
int i10 = i + 1;
cArr2[i] = cArr[(b10 >>> 4) & 15];
i = i10 + 1;
cArr2[i10] = cArr[b10 & 15];
}
return String.valueOf(cArr2);
}
public static HashMap n(String str) {
HashMap hashMap = new HashMap();
if (!TextUtils.isEmpty(str) && new File(str).exists()) {
BufferedReader bufferedReader = 0;
try {
try {
BufferedReader bufferedReader2 = new BufferedReader(new FileReader(str));
while (true) {
try {
String readLine = bufferedReader2.readLine();
if (readLine == null) {
break;
}
String[] split = readLine.split("%%%");
bufferedReader = split.length;
if (bufferedReader >= 2) {
bufferedReader = 0;
bufferedReader = 0;
if (!TextUtils.isEmpty(split[0]) && !TextUtils.isEmpty(split[1])) {
bufferedReader = split[0];
hashMap.put(bufferedReader, split[1]);
}
}
} catch (Exception e10) {
e = e10;
bufferedReader = bufferedReader2;
kh.b.h(e);
ke.c.x(bufferedReader);
return hashMap;
} catch (Throwable th2) {
th = th2;
bufferedReader = bufferedReader2;
ke.c.x(bufferedReader);
throw th;
}
}
ke.c.x(bufferedReader2);
} catch (Throwable th3) {
th = th3;
}
} catch (Exception e11) {
e = e11;
}
return hashMap;
}
return hashMap;
}
public static lh.c o(String str) {
String[] split;
lh.c cVar = null;
try {
if (TextUtils.isEmpty(str)) {
split = null;
} else {
split = str.split("#");
}
if (split == null || split.length < 4 || TextUtils.isEmpty(split[0]) || TextUtils.isEmpty(split[1]) || TextUtils.isEmpty(split[2]) || TextUtils.isEmpty(split[3])) {
return null;
}
lh.c cVar2 = new lh.c();
try {
cVar2.f9801a = Integer.parseInt(split[0]);
cVar2.f9802b = split[1];
cVar2.f9803c = Integer.parseInt(split[2]);
cVar2.f9799h = Integer.parseInt(split[3]);
return cVar2;
} catch (Exception unused) {
cVar = cVar2;
kh.b.n("parse per key error");
return cVar;
}
} catch (Exception unused2) {
}
}
public static d7 p(pb.b bVar) {
d7 d7Var;
d7 b10;
d7 d7Var2;
d7 d7Var3;
d7 b11;
int i = bVar.f11176c;
m mVar = null;
try {
if (i != 0) {
if (i != 1) {
try {
if (i != 2) {
return new d7(new qb.a());
}
try {
try {
mVar = tb.a.d(bVar);
} catch (Exception e10) {
qb.a aVar = new qb.a(e10);
boolean z10 = e10 instanceof NetworkOnMainThreadException;
aVar.f12659b = 0;
d7Var3 = new d7(aVar);
}
} catch (qb.a e11) {
e11.f12659b = 0;
e11.f12658a = e11.getMessage();
d7Var3 = new d7(e11);
}
if (bVar.f11178e == 4) {
b11 = new d7();
b11.f11466a = mVar;
} else {
int i10 = mVar.f13436b;
if (i10 >= 400) {
qb.a aVar2 = new qb.a(mVar);
wb.a.b(aVar2, bVar, i10);
d7Var3 = new d7(aVar2);
d7Var3.f11466a = mVar;
u0.y(mVar, bVar);
return d7Var3;
}
b11 = bVar.b(mVar);
b11.f11466a = mVar;
}
u0.y(mVar, bVar);
return b11;
} catch (Throwable th2) {
u0.y(null, bVar);
throw th2;
}
}
try {
m c4 = tb.a.c(bVar);
int i11 = c4.f13436b;
if (i11 >= 400) {
qb.a aVar3 = new qb.a(c4);
wb.a.b(aVar3, bVar, i11);
d7Var2 = new d7(aVar3);
} else {
d7Var2 = new d7();
}
d7Var2.f11466a = c4;
return d7Var2;
} catch (qb.a e12) {
qb.a aVar4 = new qb.a(e12);
aVar4.f12659b = 0;
aVar4.f12658a = aVar4.getMessage();
return new d7(aVar4);
} catch (Exception e13) {
qb.a aVar5 = new qb.a(e13);
boolean z11 = e13 instanceof NetworkOnMainThreadException;
aVar5.f12659b = 0;
return new d7(aVar5);
}
}
try {
try {
mVar = tb.a.a(bVar);
} catch (qb.a e14) {
qb.a aVar6 = new qb.a(e14);
aVar6.f12659b = 0;
aVar6.f12658a = aVar6.getMessage();
d7Var = new d7(aVar6);
}
} catch (Exception e15) {
qb.a aVar7 = new qb.a(e15);
boolean z12 = e15 instanceof NetworkOnMainThreadException;
aVar7.f12659b = 0;
d7Var = new d7(aVar7);
}
if (bVar.f11178e == 4) {
b10 = new d7();
b10.f11466a = mVar;
} else {
int i12 = mVar.f13436b;
if (i12 >= 400) {
qb.a aVar8 = new qb.a(mVar);
wb.a.b(aVar8, bVar, i12);
d7Var = new d7(aVar8);
d7Var.f11466a = mVar;
u0.y(mVar, bVar);
return d7Var;
}
b10 = bVar.b(mVar);
b10.f11466a = mVar;
}
u0.y(mVar, bVar);
return b10;
} catch (Throwable th3) {
u0.y(null, bVar);
throw th3;
}
}
public static w0 q(Context context) {
String str = Build.BRAND;
if (TextUtils.isEmpty(str)) {
return null;
}
if (!str.equalsIgnoreCase("huawei") && !str.equalsIgnoreCase("honor") && !str.equalsIgnoreCase("华为")) {
if (!str.equalsIgnoreCase("xiaomi") && !str.equalsIgnoreCase("redmi") && !str.equalsIgnoreCase("meitu") && !str.equalsIgnoreCase("小米")) {
if (str.equalsIgnoreCase("vivo")) {
return new s();
}
if (!str.equalsIgnoreCase("oppo") && !str.equalsIgnoreCase("oneplus")) {
if (!str.equalsIgnoreCase("lenovo") && !str.equalsIgnoreCase("zuk")) {
if (Build.MANUFACTURER.equalsIgnoreCase("SAMSUNG")) {
return new f();
}
Object obj = kf.c.f9513a;
boolean z10 = false;
if (context != null) {
try {
context.getPackageManager().getPackageInfo("com.coolpad.deviceidsupport", 1);
z10 = true;
} catch (Throwable unused) {
}
}
if (!z10) {
return null;
}
return new qe.c();
}
return new com.google.gson.internal.b();
}
return new e();
}
return new ke.c();
}
return new qe.d();
}
public static void r(int i, int i10, Context context, String str) {
int i11;
ConnectivityManager connectivityManager;
int i12;
if (i > 0 && i10 > 0) {
int i13 = -1;
if (y4.f12374b == -1) {
try {
connectivityManager = (ConnectivityManager) context.getSystemService("connectivity");
} catch (Exception unused) {
}
if (connectivityManager != null) {
NetworkInfo activeNetworkInfo = connectivityManager.getActiveNetworkInfo();
if (activeNetworkInfo != null) {
i11 = activeNetworkInfo.getType();
y4.f12374b = i11;
}
}
i11 = -1;
y4.f12374b = i11;
}
int i14 = y4.f12374b;
if (-1 != i14) {
if (i14 == 0) {
i12 = 13;
} else {
i12 = 11;
}
i13 = (i10 * i12) / 10;
}
if (i != s2.a(m5.UploadTinyData)) {
t2 b10 = t2.b(context.getApplicationContext());
long j10 = i13;
b10.getClass();
if (i >= 0 && j10 >= 0) {
lh.c cVar = new lh.c();
cVar.f9801a = 1000;
cVar.f9803c = 1000;
cVar.f9802b = "P100000";
cVar.f9799h = i;
cVar.i = 1L;
cVar.f9800j = j10;
cVar.f9806f = str;
cVar.f9807g = "5_3_0-C";
b10.h(cVar);
}
}
}
}
public static void s(String str, Context context, x5 x5Var, int i) {
g5 g5Var;
int i10;
if (context != null && (g5Var = x5Var.f12329a) != null) {
int i11 = g5Var.f11578a;
if (i11 > 0) {
i10 = i11 + 1000;
} else {
i10 = -1;
}
if (i <= 0) {
byte[] c4 = l6.c(x5Var);
if (c4 != null) {
i = c4.length;
} else {
i = 0;
}
}
r(i10, i, context, str);
}
}
public static void t(String str, Context context, m6 m6Var, g5 g5Var, int i) {
int i10;
String str2;
int i11 = a1.f11295a[g5Var.ordinal()];
int i12 = -1;
int i13 = g5Var.f11578a;
switch (i11) {
case 1:
case 2:
case 3:
case 4:
case 5:
case 6:
case 7:
case 8:
case 9:
case 10:
if (i13 > 0) {
i10 = i13 + 1000;
i12 = i10;
break;
}
break;
case 11:
if (i13 > 0) {
i10 = i13 + 1000;
} else {
i10 = -1;
}
if (m6Var != null) {
try {
if (m6Var instanceof s5) {
String str3 = ((s5) m6Var).f12099e;
if (!TextUtils.isEmpty(str3) && s2.a(s2.e(str3)) != -1) {
i12 = s2.a(s2.e(str3));
break;
}
} else if (m6Var instanceof b6) {
String str4 = ((b6) m6Var).f11338e;
if (!TextUtils.isEmpty(str4)) {
if (s2.a(s2.e(str4)) != -1) {
i10 = s2.a(s2.e(str4));
}
break;
}
}
} catch (Exception unused) {
i12 = i10;
kh.b.p("PERF_ERROR : parse Notification type error");
break;
}
}
i12 = i10;
break;
case 12:
if (i13 > 0) {
i10 = i13 + 1000;
} else {
i10 = -1;
}
if (m6Var != null) {
try {
if (m6Var instanceof w5) {
str2 = ((w5) m6Var).f12270d;
if (!TextUtils.isEmpty(str2)) {
break;
}
} else if (m6Var instanceof v5) {
str2 = ((v5) m6Var).f12224d;
if (!TextUtils.isEmpty(str2)) {
break;
}
}
i12 = b3.a(str2);
break;
} catch (Exception unused2) {
kh.b.p("PERF_ERROR : parse Command type error");
}
}
i12 = i10;
break;
}
r(i12, i, context, str);
}
public static void u(String str, String str2) {
String[] list;
File file;
try {
new File(str2).mkdirs();
for (String str3 : new File(str).list()) {
String str4 = File.separator;
if (str.endsWith(str4)) {
file = new File(str + str3);
} else {
file = new File(str + str4 + str3);
}
if (file.isFile()) {
FileInputStream fileInputStream = new FileInputStream(file);
FileOutputStream fileOutputStream = new FileOutputStream(str2 + "/" + file.getName());
byte[] bArr = new byte[5120];
while (true) {
int read = fileInputStream.read(bArr);
if (read == -1) {
break;
}
fileOutputStream.write(bArr, 0, read);
}
fileOutputStream.flush();
fileOutputStream.close();
fileInputStream.close();
} else if (file.isDirectory()) {
u(str + "/" + str3, str2 + "/" + str3);
}
}
} catch (Exception e10) {
e10.printStackTrace();
}
}
public static void v(String str, HashMap hashMap) {
BufferedWriter bufferedWriter;
Exception e10;
if (!TextUtils.isEmpty(str) && hashMap.size() != 0) {
File file = new File(str);
if (file.exists()) {
file.delete();
}
BufferedWriter bufferedWriter2 = null;
try {
bufferedWriter = new BufferedWriter(new FileWriter(file));
try {
try {
for (String str2 : hashMap.keySet()) {
bufferedWriter.write(str2 + "%%%" + ((String) hashMap.get(str2)));
bufferedWriter.newLine();
}
} catch (Exception e11) {
e10 = e11;
kh.b.h(e10);
ke.c.x(bufferedWriter);
}
} catch (Throwable th2) {
th = th2;
bufferedWriter2 = bufferedWriter;
ke.c.x(bufferedWriter2);
throw th;
}
} catch (Exception e12) {
bufferedWriter = null;
e10 = e12;
} catch (Throwable th3) {
th = th3;
ke.c.x(bufferedWriter2);
throw th;
}
ke.c.x(bufferedWriter);
}
}
public static void w(String str, Object... objArr) {
Log.d("OpenInstall", String.format(str, objArr));
}
public static void x(HashMap hashMap, String str, long j10, long j11) {
StringBuilder sb2;
String str2 = (String) hashMap.get(str);
if (TextUtils.isEmpty(str2)) {
sb2 = new StringBuilder();
} else {
long[] y10 = y(str2);
if (y10 != null) {
long j12 = y10[0];
if (j12 > 0) {
long j13 = y10[1];
if (j13 >= 0) {
j10 += j12;
j11 += j13;
sb2 = new StringBuilder();
}
}
}
sb2 = new StringBuilder();
}
sb2.append(j10);
sb2.append("#");
sb2.append(j11);
hashMap.put(str, sb2.toString());
}
public static long[] y(String str) {
long[] jArr = new long[2];
try {
String[] split = str.split("#");
if (split.length >= 2) {
jArr[0] = Long.parseLong(split[0].trim());
jArr[1] = Long.parseLong(split[1].trim());
}
return jArr;
} catch (Exception e10) {
kh.b.h(e10);
return null;
}
}
public static String z(InputStream inputStream) {
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
try {
byte[] bArr = new byte[1024];
while (true) {
int read = inputStream.read(bArr);
if (read != -1) {
byteArrayOutputStream.write(bArr, 0, read);
} else {
return byteArrayOutputStream.toString(Key.STRING_CHARSET_NAME);
}
}
} finally {
A(byteArrayOutputStream);
}
}
public boolean Z() {
return true;
}
@Override
public void a(Bitmap bitmap, Bitmap bitmap2) {
}
@Override
public boolean apply(String str) {
if (!TextUtils.isEmpty(str) && !str.toLowerCase().endsWith(".gif")) {
return true;
}
return false;
}
@Override
public boolean b(Context context, Bitmap bitmap, float f10) {
return false;
}
@Override
public String c(String str, String str2) {
if (!TextUtils.isEmpty(str) && !TextUtils.isEmpty(str2)) {
try {
return d(str, str2.getBytes(Key.STRING_CHARSET_NAME));
} catch (UnsupportedEncodingException unused) {
return "";
}
}
return "";
}
@Override
public String d(String str, byte[] bArr) {
if (bArr != null && bArr.length != 0) {
SecretKeySpec secretKeySpec = new SecretKeySpec(str.getBytes(Charset.forName(Key.STRING_CHARSET_NAME)), "HmacSHA256");
try {
Mac mac = Mac.getInstance(secretKeySpec.getAlgorithm());
mac.init(secretKeySpec);
return b5.a.s(mac.doFinal(bArr));
} catch (InvalidKeyException | NoSuchAlgorithmException unused) {
}
}
return "";
}
@Override
public String e(String str) {
String str2;
int lastIndexOf = str.lastIndexOf(46);
int lastIndexOf2 = str.lastIndexOf(47);
if (lastIndexOf != -1 && lastIndexOf > lastIndexOf2 && lastIndexOf + 2 + 4 > str.length()) {
str2 = str.substring(lastIndexOf + 1, str.length());
} else {
str2 = "";
}
try {
byte[] digest = MessageDigest.getInstance("MD5").digest(str.getBytes());
StringBuffer stringBuffer = new StringBuffer();
int length = digest.length;
for (int i = 0; i < length; i++) {
stringBuffer.append(String.format("%02x", Byte.valueOf(digest[i])));
}
String stringBuffer2 = stringBuffer.toString();
if (!TextUtils.isEmpty(str2)) {
return d.h(stringBuffer2, ".", str2);
}
return stringBuffer2;
} catch (NoSuchAlgorithmException e10) {
throw new IllegalStateException(e10);
}
}
@Override
public String f(String str, String str2) {
return "";
}
public boolean f0(boolean z10) {
throw null;
}
@Override
public Object h() {
return new ArrayDeque();
}
@Override
public void release() {
}
public a(int i) {
}
public a(Context context) {
ServiceInfo serviceInfo;
Bundle bundle;
Iterator it2;
Iterator it3;
a4.b bVar;
Class<?> cls;
ArrayList arrayList = new ArrayList();
PackageManager packageManager = context.getPackageManager();
if (packageManager != null) {
try {
serviceInfo = packageManager.getServiceInfo(new ComponentName(context, ServiceDiscovery.class), 128);
} catch (PackageManager.NameNotFoundException e10) {
Log.e("ServiceRegistrarParser", "get ServiceDiscovery exception." + e10.getLocalizedMessage());
}
if (serviceInfo == null) {
Log.e("ServiceRegistrarParser", "Can not found ServiceDiscovery service.");
} else {
bundle = serviceInfo.metaData;
if (bundle != null) {
HashMap hashMap = new HashMap();
for (String str : bundle.keySet()) {
if ("com.huawei.agconnect.core.ServiceRegistrar".equals(bundle.getString(str))) {
String[] split = str.split(":");
if (split.length == 2) {
try {
hashMap.put(split[0], Integer.valueOf(split[1]));
} catch (NumberFormatException e11) {
Log.e("ServiceRegistrarParser", "registrar configuration format error:" + e11.getMessage());
}
} else if (split.length == 1) {
hashMap.put(split[0], 1000);
} else {
Log.e("ServiceRegistrarParser", "registrar configuration error, ".concat(str));
}
}
}
ArrayList arrayList2 = new ArrayList(hashMap.entrySet());
Collections.sort(arrayList2, new b());
Iterator it4 = arrayList2.iterator();
while (it4.hasNext()) {
arrayList.add(((Map.Entry) it4.next()).getKey());
}
}
ArrayList arrayList3 = new ArrayList();
it2 = arrayList.iterator();
while (it2.hasNext()) {
String str2 = (String) it2.next();
try {
cls = Class.forName(str2);
} catch (ClassNotFoundException e12) {
Log.e("ServiceRegistrarParser", "Can not found service class, " + e12.getMessage());
} catch (Exception e13) {
Log.e("ServiceRegistrarParser", "instantiate service class exception " + e13.getLocalizedMessage());
}
if (a4.b.class.isAssignableFrom(cls)) {
bVar = (a4.b) Class.forName(str2).newInstance();
if (bVar == null) {
}
} else {
Log.e("ServiceRegistrarParser", cls + " must extends from ServiceRegistrar.");
bVar = null;
if (bVar == null) {
bVar.initialize();
List a10 = bVar.a();
if (a10 != null) {
arrayList3.addAll(a10);
}
}
}
}
HashMap hashMap2 = new HashMap();
new HashMap();
it3 = arrayList3.iterator();
while (it3.hasNext()) {
a4.a aVar = (a4.a) it3.next();
aVar.getClass();
hashMap2.put(null, aVar);
}
}
}
bundle = null;
if (bundle != null) {
}
ArrayList arrayList32 = new ArrayList();
it2 = arrayList.iterator();
while (it2.hasNext()) {
}
HashMap hashMap22 = new HashMap();
new HashMap();
it3 = arrayList32.iterator();
while (it3.hasNext()) {
}
}
public a(boolean z10, byte[] bArr, int i, boolean z11) {
}
}