70 lines
2.2 KiB
Java
70 lines
2.2 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.util.Base64;
|
||
|
import androidx.fragment.app.Fragment;
|
||
|
import com.scb.phone.view.fragment.BlankFragment;
|
||
|
import com.scb.phone.view.fragment.transferandpay.transfer.TransferHistoryFragment;
|
||
|
import com.scb.phone.view.fragment.transferandpay.transfer.TransferToOthersStep1Fragment;
|
||
|
import java.nio.charset.StandardCharsets;
|
||
|
|
||
|
/* renamed from: o.euB, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes5.dex */
|
||
|
public final class C12220euB extends MoT {
|
||
|
private static byte f = 6;
|
||
|
private static int h = 1;
|
||
|
private static int j;
|
||
|
public TransferHistoryFragment a;
|
||
|
private BlankFragment b;
|
||
|
private TransferToOthersStep1Fragment c;
|
||
|
private Context d;
|
||
|
private int[] e;
|
||
|
|
||
|
public C12220euB(yRS yrs, Context context, AbstractC1237Yr abstractC1237Yr) {
|
||
|
super(yrs);
|
||
|
this.e = new int[]{com.scb.phone.R.string.tab_transfer_to_account, com.scb.phone.R.string.auto_regen_repeat_top_up_history};
|
||
|
this.d = context;
|
||
|
this.c = TransferToOthersStep1Fragment.d("FIXED_TRANSFER", abstractC1237Yr);
|
||
|
this.a = new TransferHistoryFragment();
|
||
|
this.b = new BlankFragment();
|
||
|
}
|
||
|
|
||
|
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] ^ f);
|
||
|
}
|
||
|
objArr[0] = new String(bArr, StandardCharsets.UTF_8);
|
||
|
}
|
||
|
|
||
|
@Override // o.WYJ
|
||
|
public final int getCount() {
|
||
|
return this.e.length;
|
||
|
}
|
||
|
|
||
|
@Override // o.WYJ
|
||
|
public final CharSequence getPageTitle(int i) {
|
||
|
int i2 = 2 % 2;
|
||
|
String string = this.d.getString(this.e[i]);
|
||
|
if (!string.startsWith(",*,)")) {
|
||
|
return string;
|
||
|
}
|
||
|
int i3 = h + 65;
|
||
|
j = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
Object[] objArr = new Object[1];
|
||
|
g(string.substring(4), objArr);
|
||
|
String intern = ((String) objArr[0]).intern();
|
||
|
int i5 = h + 59;
|
||
|
j = i5 % 128;
|
||
|
int i6 = i5 % 2;
|
||
|
return intern;
|
||
|
}
|
||
|
|
||
|
@Override // o.MoT
|
||
|
public final Fragment b(int i) {
|
||
|
return i != 0 ? i != 1 ? this.b : this.a : this.c;
|
||
|
}
|
||
|
}
|