77 lines
2.4 KiB
Java
77 lines
2.4 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.res.Resources;
|
||
|
import android.util.Base64;
|
||
|
import androidx.fragment.app.Fragment;
|
||
|
import com.scb.phone.view.fragment.closeaccount.CloseAccountSelectionOtherFragment;
|
||
|
import com.scb.phone.view.fragment.closeaccount.CloseAccountSelectionOwnFragment;
|
||
|
import java.nio.charset.StandardCharsets;
|
||
|
import java.util.Arrays;
|
||
|
import java.util.List;
|
||
|
|
||
|
/* renamed from: o.eso, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes5.dex */
|
||
|
public final class C12153eso extends MoT {
|
||
|
private static byte e = 6;
|
||
|
private static int f = 1;
|
||
|
private static int j;
|
||
|
private CloseAccountSelectionOtherFragment a;
|
||
|
private List<Integer> b;
|
||
|
private Resources c;
|
||
|
private CloseAccountSelectionOwnFragment d;
|
||
|
|
||
|
public C12153eso(yRS yrs, Resources resources) {
|
||
|
super(yrs);
|
||
|
this.b = Arrays.asList(Integer.valueOf(com.scb.phone.R.string.tab_transfer_to_me), Integer.valueOf(com.scb.phone.R.string.tab_transfer_to_others));
|
||
|
this.c = resources;
|
||
|
this.d = CloseAccountSelectionOwnFragment.d();
|
||
|
this.a = CloseAccountSelectionOtherFragment.d();
|
||
|
}
|
||
|
|
||
|
private void g(String str, Object[] objArr) {
|
||
|
byte[] decode = Base64.decode(str, 0);
|
||
|
byte[] bArr = new byte[decode.length];
|
||
|
for (int i = 0; i < decode.length; i++) {
|
||
|
bArr[i] = (byte) (decode[(decode.length - i) - 1] ^ e);
|
||
|
}
|
||
|
objArr[0] = new String(bArr, StandardCharsets.UTF_8);
|
||
|
}
|
||
|
|
||
|
@Override // o.WYJ
|
||
|
public final int getCount() {
|
||
|
return this.b.size();
|
||
|
}
|
||
|
|
||
|
@Override // o.WYJ
|
||
|
public final CharSequence getPageTitle(int i) {
|
||
|
int i2 = 2 % 2;
|
||
|
int i3 = f + 27;
|
||
|
j = i3 % 128;
|
||
|
if (i3 % 2 != 0) {
|
||
|
this.c.getString(this.b.get(i).intValue()).startsWith(",*,)");
|
||
|
Object obj = null;
|
||
|
obj.hashCode();
|
||
|
throw null;
|
||
|
}
|
||
|
String string = this.c.getString(this.b.get(i).intValue());
|
||
|
if (!string.startsWith(",*,)")) {
|
||
|
return string;
|
||
|
}
|
||
|
int i4 = f + 91;
|
||
|
j = i4 % 128;
|
||
|
int i5 = i4 % 2;
|
||
|
Object[] objArr = new Object[1];
|
||
|
g(string.substring(4), objArr);
|
||
|
String intern = ((String) objArr[0]).intern();
|
||
|
int i6 = j + 49;
|
||
|
f = i6 % 128;
|
||
|
int i7 = i6 % 2;
|
||
|
return intern;
|
||
|
}
|
||
|
|
||
|
@Override // o.MoT
|
||
|
public final Fragment b(int i) {
|
||
|
return i != 1 ? this.d : this.a;
|
||
|
}
|
||
|
}
|