Anti Spy v30.16.1.24版本的 MD5 值为:c71fa7f3f1aa08291411b9a5a8b2e65d
以下内容为反编译后的 FirewallActivity.java 源代码,内容仅作参考
package erfanrouhani.antispy.ui.activities;
import a9.j;
import android.animation.ObjectAnimator;
import android.content.Intent;
import android.content.SharedPreferences;
import android.net.VpnService;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CompoundButton;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.google.android.gms.internal.ads.ev0;
import com.google.android.material.appbar.AppBarLayout;
import com.google.android.material.appbar.MaterialToolbar;
import com.google.android.material.switchmaterial.SwitchMaterial;
import e1.s;
import erfanrouhani.antispy.R;
import erfanrouhani.antispy.customads.AdUnitIdSource;
import erfanrouhani.antispy.services.LocalVpnService;
import erfanrouhani.antispy.ui.activities.FirewallActivity;
import erfanrouhani.antispy.ui.activities.FirewallAppsActivity;
import erfanrouhani.antispy.ui.activities.FirewallBlockedDomainsActivity;
import erfanrouhani.antispy.ui.activities.FirewallLogsActivity;
import h.r;
import j$.util.Objects;
import o4.g;
import p8.i;
import r8.d;
import y9.y;
import z8.a;
import z8.b;
public class FirewallActivity extends r {
public static final int Y = 0;
public d Q;
public final b R = new b();
public final a S = new a();
public SharedPreferences T;
public SharedPreferences.Editor U;
public boolean V;
public s W;
public s X;
public final void G(boolean z10) {
if (!z10) {
SharedPreferences.Editor editor = this.U;
Objects.requireNonNull(this.S);
editor.putBoolean("Rt3Lkfhr8C", false).apply();
K();
}
this.Q.f18497b.setBackgroundResource(R.drawable.shape_btn_round_gradient_bk_off);
this.Q.B.setText(R.string.start);
}
public final void H(boolean z10) {
if (!z10) {
SharedPreferences.Editor editor = this.U;
Objects.requireNonNull(this.S);
editor.putBoolean("Rt3Lkfhr8C", true).apply();
K();
}
this.Q.f18497b.setBackgroundResource(R.drawable.shape_btn_round_gradient_bk_on);
this.Q.B.setText(R.string.stop);
}
public final void I(boolean z10) {
this.Q.f18509n.setEnabled(z10);
this.Q.J.setEnabled(z10);
this.Q.I.setEnabled(z10);
this.Q.f18511p.setEnabled(z10);
this.Q.N.setEnabled(z10);
this.Q.M.setEnabled(z10);
this.Q.f18512q.setEnabled(z10);
this.Q.P.setEnabled(z10);
this.Q.O.setEnabled(z10);
this.Q.f18510o.setEnabled(z10);
this.Q.L.setEnabled(z10);
this.Q.K.setEnabled(z10);
}
public final void J(boolean z10) {
this.Q.f18514s.setEnabled(z10);
this.Q.f18520y.setEnabled(z10);
this.Q.Q.setEnabled(z10);
this.Q.R.setEnabled(z10);
this.Q.f18506k.setEnabled(z10);
this.Q.f18517v.setEnabled(z10);
this.Q.G.setEnabled(z10);
this.Q.H.setEnabled(z10);
}
public final void K() {
if (i.f18097q) {
i.f18097q = false;
} else if (this.V) {
s sVar = this.X;
if (sVar.f13526a) {
sVar.f13526a = false;
return;
}
sVar.p();
this.X.n();
this.X.f13526a = true;
}
}
@Override
public final void onActivityResult(int i10, int i11, Intent intent) {
super.onActivityResult(i10, i11, intent);
if (i10 == 1 && i11 == -1) {
f0.i.g(this, new Intent(this, LocalVpnService.class));
H(false);
}
}
@Override
public final void onCreate(Bundle bundle) {
super.onCreate(bundle);
View inflate = getLayoutInflater().inflate(R.layout.activity_firewall, (ViewGroup) null, false);
int i10 = R.id.appbarlayout_firewall;
AppBarLayout appBarLayout = (AppBarLayout) y.h(R.id.appbarlayout_firewall, inflate);
if (appBarLayout != null) {
i10 = R.id.img_btn_firewall_activate_gradient;
ImageView imageView = (ImageView) y.h(R.id.img_btn_firewall_activate_gradient, inflate);
if (imageView != null) {
i10 = R.id.ly_ad_firewall;
FrameLayout frameLayout = (FrameLayout) y.h(R.id.ly_ad_firewall, inflate);
if (frameLayout != null) {
i10 = R.id.ly_firewall_apps;
LinearLayout linearLayout = (LinearLayout) y.h(R.id.ly_firewall_apps, inflate);
if (linearLayout != null) {
i10 = R.id.ly_firewall_blocked_domains;
LinearLayout linearLayout2 = (LinearLayout) y.h(R.id.ly_firewall_blocked_domains, inflate);
if (linearLayout2 != null) {
i10 = R.id.ly_firewall_delete_old_logs;
LinearLayout linearLayout3 = (LinearLayout) y.h(R.id.ly_firewall_delete_old_logs, inflate);
if (linearLayout3 != null) {
i10 = R.id.ly_firewall_dns1;
LinearLayout linearLayout4 = (LinearLayout) y.h(R.id.ly_firewall_dns1, inflate);
if (linearLayout4 != null) {
i10 = R.id.ly_firewall_dns2;
LinearLayout linearLayout5 = (LinearLayout) y.h(R.id.ly_firewall_dns2, inflate);
if (linearLayout5 != null) {
i10 = R.id.ly_firewall_ip4;
LinearLayout linearLayout6 = (LinearLayout) y.h(R.id.ly_firewall_ip4, inflate);
if (linearLayout6 != null) {
i10 = R.id.ly_firewall_ip6;
LinearLayout linearLayout7 = (LinearLayout) y.h(R.id.ly_firewall_ip6, inflate);
if (linearLayout7 != null) {
i10 = R.id.ly_firewall_lan;
LinearLayout linearLayout8 = (LinearLayout) y.h(R.id.ly_firewall_lan, inflate);
if (linearLayout8 != null) {
i10 = R.id.ly_firewall_logs;
LinearLayout linearLayout9 = (LinearLayout) y.h(R.id.ly_firewall_logs, inflate);
if (linearLayout9 != null) {
i10 = R.id.ly_firewall_socks5;
LinearLayout linearLayout10 = (LinearLayout) y.h(R.id.ly_firewall_socks5, inflate);
if (linearLayout10 != null) {
i10 = R.id.ly_firewall_socks5_address;
LinearLayout linearLayout11 = (LinearLayout) y.h(R.id.ly_firewall_socks5_address, inflate);
if (linearLayout11 != null) {
i10 = R.id.ly_firewall_socks5_password;
LinearLayout linearLayout12 = (LinearLayout) y.h(R.id.ly_firewall_socks5_password, inflate);
if (linearLayout12 != null) {
i10 = R.id.ly_firewall_socks5_port;
LinearLayout linearLayout13 = (LinearLayout) y.h(R.id.ly_firewall_socks5_port, inflate);
if (linearLayout13 != null) {
i10 = R.id.ly_firewall_socks5_username;
LinearLayout linearLayout14 = (LinearLayout) y.h(R.id.ly_firewall_socks5_username, inflate);
if (linearLayout14 != null) {
i10 = R.id.ly_firewall_subnet;
LinearLayout linearLayout15 = (LinearLayout) y.h(R.id.ly_firewall_subnet, inflate);
if (linearLayout15 != null) {
i10 = R.id.ly_firewall_tethering;
LinearLayout linearLayout16 = (LinearLayout) y.h(R.id.ly_firewall_tethering, inflate);
if (linearLayout16 != null) {
i10 = R.id.ly_firewall_use_ip6;
LinearLayout linearLayout17 = (LinearLayout) y.h(R.id.ly_firewall_use_ip6, inflate);
if (linearLayout17 != null) {
i10 = R.id.switch_firewall_delete_old_logs;
SwitchMaterial switchMaterial = (SwitchMaterial) y.h(R.id.switch_firewall_delete_old_logs, inflate);
if (switchMaterial != null) {
i10 = R.id.switch_firewall_lan;
SwitchMaterial switchMaterial2 = (SwitchMaterial) y.h(R.id.switch_firewall_lan, inflate);
if (switchMaterial2 != null) {
i10 = R.id.switch_firewall_socks5;
SwitchMaterial switchMaterial3 = (SwitchMaterial) y.h(R.id.switch_firewall_socks5, inflate);
if (switchMaterial3 != null) {
i10 = R.id.switch_firewall_subnet;
SwitchMaterial switchMaterial4 = (SwitchMaterial) y.h(R.id.switch_firewall_subnet, inflate);
if (switchMaterial4 != null) {
i10 = R.id.switch_firewall_tethering;
SwitchMaterial switchMaterial5 = (SwitchMaterial) y.h(R.id.switch_firewall_tethering, inflate);
if (switchMaterial5 != null) {
i10 = R.id.switch_firewall_use_ip6;
SwitchMaterial switchMaterial6 = (SwitchMaterial) y.h(R.id.switch_firewall_use_ip6, inflate);
if (switchMaterial6 != null) {
i10 = R.id.toolbar_firewall;
MaterialToolbar materialToolbar = (MaterialToolbar) y.h(R.id.toolbar_firewall, inflate);
if (materialToolbar != null) {
i10 = R.id.tv_btn_firewall_activate;
TextView textView = (TextView) y.h(R.id.tv_btn_firewall_activate, inflate);
if (textView != null) {
i10 = R.id.tv_firewall_delete_old_logs;
if (((TextView) y.h(R.id.tv_firewall_delete_old_logs, inflate)) != null) {
i10 = R.id.tv_firewall_dns1;
TextView textView2 = (TextView) y.h(R.id.tv_firewall_dns1, inflate);
if (textView2 != null) {
i10 = R.id.tv_firewall_dns1_text;
if (((TextView) y.h(R.id.tv_firewall_dns1_text, inflate)) != null) {
i10 = R.id.tv_firewall_dns2;
TextView textView3 = (TextView) y.h(R.id.tv_firewall_dns2, inflate);
if (textView3 != null) {
i10 = R.id.tv_firewall_dns2_text;
if (((TextView) y.h(R.id.tv_firewall_dns2_text, inflate)) != null) {
i10 = R.id.tv_firewall_ip4;
TextView textView4 = (TextView) y.h(R.id.tv_firewall_ip4, inflate);
if (textView4 != null) {
i10 = R.id.tv_firewall_ip4_text;
if (((TextView) y.h(R.id.tv_firewall_ip4_text, inflate)) != null) {
i10 = R.id.tv_firewall_ip6;
TextView textView5 = (TextView) y.h(R.id.tv_firewall_ip6, inflate);
if (textView5 != null) {
i10 = R.id.tv_firewall_ip6_text;
if (((TextView) y.h(R.id.tv_firewall_ip6_text, inflate)) != null) {
i10 = R.id.tv_firewall_lan;
TextView textView6 = (TextView) y.h(R.id.tv_firewall_lan, inflate);
if (textView6 != null) {
i10 = R.id.tv_firewall_lan_about;
TextView textView7 = (TextView) y.h(R.id.tv_firewall_lan_about, inflate);
if (textView7 != null) {
i10 = R.id.tv_firewall_socks5;
if (((TextView) y.h(R.id.tv_firewall_socks5, inflate)) != null) {
i10 = R.id.tv_firewall_socks5_about;
if (((TextView) y.h(R.id.tv_firewall_socks5_about, inflate)) != null) {
i10 = R.id.tv_firewall_socks5_address;
TextView textView8 = (TextView) y.h(R.id.tv_firewall_socks5_address, inflate);
if (textView8 != null) {
i10 = R.id.tv_firewall_socks5_address_text;
TextView textView9 = (TextView) y.h(R.id.tv_firewall_socks5_address_text, inflate);
if (textView9 != null) {
i10 = R.id.tv_firewall_socks5_password;
TextView textView10 = (TextView) y.h(R.id.tv_firewall_socks5_password, inflate);
if (textView10 != null) {
i10 = R.id.tv_firewall_socks5_password_text;
TextView textView11 = (TextView) y.h(R.id.tv_firewall_socks5_password_text, inflate);
if (textView11 != null) {
i10 = R.id.tv_firewall_socks5_port;
TextView textView12 = (TextView) y.h(R.id.tv_firewall_socks5_port, inflate);
if (textView12 != null) {
i10 = R.id.tv_firewall_socks5_port_text;
TextView textView13 = (TextView) y.h(R.id.tv_firewall_socks5_port_text, inflate);
if (textView13 != null) {
i10 = R.id.tv_firewall_socks5_username;
TextView textView14 = (TextView) y.h(R.id.tv_firewall_socks5_username, inflate);
if (textView14 != null) {
i10 = R.id.tv_firewall_socks5_username_text;
TextView textView15 = (TextView) y.h(R.id.tv_firewall_socks5_username_text, inflate);
if (textView15 != null) {
i10 = R.id.tv_firewall_subnet;
if (((TextView) y.h(R.id.tv_firewall_subnet, inflate)) != null) {
i10 = R.id.tv_firewall_subnet_about;
if (((TextView) y.h(R.id.tv_firewall_subnet_about, inflate)) != null) {
i10 = R.id.tv_firewall_tethering;
TextView textView16 = (TextView) y.h(R.id.tv_firewall_tethering, inflate);
if (textView16 != null) {
i10 = R.id.tv_firewall_tethering_about;
TextView textView17 = (TextView) y.h(R.id.tv_firewall_tethering_about, inflate);
if (textView17 != null) {
i10 = R.id.tv_firewall_use_ip6;
if (((TextView) y.h(R.id.tv_firewall_use_ip6, inflate)) != null) {
LinearLayout linearLayout18 = (LinearLayout) inflate;
this.Q = new d(linearLayout18, appBarLayout, imageView, frameLayout, linearLayout, linearLayout2, linearLayout3, linearLayout4, linearLayout5, linearLayout6, linearLayout7, linearLayout8, linearLayout9, linearLayout10, linearLayout11, linearLayout12, linearLayout13, linearLayout14, linearLayout15, linearLayout16, linearLayout17, switchMaterial, switchMaterial2, switchMaterial3, switchMaterial4, switchMaterial5, switchMaterial6, materialToolbar, textView, textView2, textView3, textView4, textView5, textView6, textView7, textView8, textView9, textView10, textView11, textView12, textView13, textView14, textView15, textView16, textView17);
setContentView(linearLayout18);
F(this.Q.A);
g D = D();
if (D != null) {
D.u(true);
D.v();
}
Objects.requireNonNull(this.S);
SharedPreferences sharedPreferences = getSharedPreferences("31VBhR66hv", 0);
this.T = sharedPreferences;
this.U = sharedPreferences.edit();
ObjectAnimator ofFloat = ObjectAnimator.ofFloat(this.Q.f18497b, View.ROTATION, 360.0f);
ofFloat.setRepeatCount(-1);
ofFloat.setRepeatMode(1);
ofFloat.setDuration(2000L);
ofFloat.start();
boolean b10 = new ev0(this).b();
this.V = b10;
if (b10) {
AdUnitIdSource adUnitIdSource = new AdUnitIdSource();
s sVar = new s(this, adUnitIdSource.getAdUnit(17));
this.X = sVar;
sVar.n();
s sVar2 = new s(this, adUnitIdSource.getAdUnit(9), this.Q.f18498c);
this.W = sVar2;
sVar2.i();
i.f18097q = false;
}
this.Q.f18496a.a(new j(this, 2));
String string = this.T.getString("YMzH9ilTI4", "");
if (!TextUtils.isEmpty(string)) {
this.Q.I.setText(string);
}
String string2 = this.T.getString("aEY0Hzqp0s", "");
if (!TextUtils.isEmpty(string2)) {
this.Q.O.setText(string2);
}
String string3 = this.T.getString("HDKqNjBjtE", "");
if (!TextUtils.isEmpty(string3)) {
this.Q.K.setText(string3);
}
this.Q.M.setText(String.valueOf(this.T.getInt("FDguxwMskM", 0)));
this.Q.E.setText(this.T.getString("8Cuw0nm79Y", "10.1.10.1"));
this.Q.F.setText(this.T.getString("sZKwwLYNn2", "fd00:1:fd00:1:fd00:1:fd00:1"));
String string4 = this.T.getString("7pOKLz2ccU", null);
if (!TextUtils.isEmpty(string4)) {
this.Q.C.setText(string4);
}
String string5 = this.T.getString("rUpHTqLETV", null);
if (!TextUtils.isEmpty(string5)) {
this.Q.D.setText(string5);
}
this.Q.f18497b.setOnClickListener(new View.OnClickListener(this) {
public final FirewallActivity f451b;
{
this.f451b = this;
}
@Override
public final void onClick(View view) {
int i11 = r2;
FirewallActivity firewallActivity = this.f451b;
switch (i11) {
case 0:
int i12 = FirewallActivity.Y;
firewallActivity.getClass();
if (z8.b.f20900k) {
z8.b.f20901l = true;
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_stop_firewall"));
firewallActivity.G(false);
} else {
Intent prepare = VpnService.prepare(firewallActivity);
if (prepare != null) {
new c9.d(firewallActivity, firewallActivity.getString(R.string.allow_vpn), firewallActivity.getString(R.string.allow_vpn_message), new k7.k(firewallActivity, 10, prepare)).show();
} else {
f0.i.g(firewallActivity, new Intent(firewallActivity, LocalVpnService.class));
firewallActivity.H(false);
}
}
return;
case 1:
int i13 = FirewallActivity.Y;
firewallActivity.getClass();
String string6 = firewallActivity.getString(R.string.socks5_password);
SharedPreferences sharedPreferences2 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string6, "", sharedPreferences2.getString("HDKqNjBjtE", ""), 2, new z(firewallActivity, 5)).show();
return;
case 2:
int i14 = FirewallActivity.Y;
firewallActivity.getClass();
String string7 = firewallActivity.getString(R.string.ip4);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string7, "10.1.10.1", firewallActivity.T.getString("8Cuw0nm79Y", "10.1.10.1"), 1, new z(firewallActivity, 7)).show();
return;
case 3:
int i15 = FirewallActivity.Y;
firewallActivity.getClass();
String string8 = firewallActivity.getString(R.string.ip6);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string8, "fd00:1:fd00:1:fd00:1:fd00:1", firewallActivity.T.getString("sZKwwLYNn2", "fd00:1:fd00:1:fd00:1:fd00:1"), 1, new z(firewallActivity, 1)).show();
return;
case 4:
int i16 = FirewallActivity.Y;
firewallActivity.getClass();
String string9 = firewallActivity.getString(R.string.dns1);
SharedPreferences sharedPreferences3 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string9, "", sharedPreferences3.getString("7pOKLz2ccU", null), 1, new z(firewallActivity, 3)).show();
return;
case 5:
int i17 = FirewallActivity.Y;
firewallActivity.getClass();
String string10 = firewallActivity.getString(R.string.dns2);
SharedPreferences sharedPreferences4 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string10, "", sharedPreferences4.getString("rUpHTqLETV", null), 1, new z(firewallActivity, 2)).show();
return;
case 6:
int i18 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallAppsActivity.class));
return;
case 7:
int i19 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallLogsActivity.class));
return;
case 8:
int i20 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallBlockedDomainsActivity.class));
return;
case 9:
SwitchMaterial switchMaterial7 = firewallActivity.Q.f18516u;
switchMaterial7.setChecked(!switchMaterial7.isChecked());
return;
case 10:
SwitchMaterial switchMaterial8 = firewallActivity.Q.f18521z;
switchMaterial8.setChecked(!switchMaterial8.isChecked());
return;
case 11:
SwitchMaterial switchMaterial9 = firewallActivity.Q.f18519x;
switchMaterial9.setChecked(!switchMaterial9.isChecked());
return;
case 12:
SwitchMaterial switchMaterial10 = firewallActivity.Q.f18520y;
switchMaterial10.setChecked(!switchMaterial10.isChecked());
return;
case 13:
SwitchMaterial switchMaterial11 = firewallActivity.Q.f18517v;
switchMaterial11.setChecked(!switchMaterial11.isChecked());
return;
case 14:
SwitchMaterial switchMaterial12 = firewallActivity.Q.f18518w;
switchMaterial12.setChecked(!switchMaterial12.isChecked());
return;
case 15:
int i21 = FirewallActivity.Y;
firewallActivity.getClass();
String string11 = firewallActivity.getString(R.string.socks5_address);
SharedPreferences sharedPreferences5 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string11, "127.0.0.1", sharedPreferences5.getString("YMzH9ilTI4", ""), 1, new z(firewallActivity, 0)).show();
return;
case 16:
int i22 = FirewallActivity.Y;
firewallActivity.getClass();
String string12 = firewallActivity.getString(R.string.socks5_port);
SharedPreferences sharedPreferences6 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string12, "1080", String.valueOf(sharedPreferences6.getInt("FDguxwMskM", 0)), 0, new z(firewallActivity, 6)).show();
return;
default:
int i23 = FirewallActivity.Y;
firewallActivity.getClass();
String string13 = firewallActivity.getString(R.string.socks5_username);
SharedPreferences sharedPreferences7 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string13, "", sharedPreferences7.getString("aEY0Hzqp0s", ""), 1, new z(firewallActivity, 4)).show();
return;
}
}
});
this.Q.f18501f.setOnClickListener(new View.OnClickListener(this) {
public final FirewallActivity f451b;
{
this.f451b = this;
}
@Override
public final void onClick(View view) {
int i11 = r2;
FirewallActivity firewallActivity = this.f451b;
switch (i11) {
case 0:
int i12 = FirewallActivity.Y;
firewallActivity.getClass();
if (z8.b.f20900k) {
z8.b.f20901l = true;
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_stop_firewall"));
firewallActivity.G(false);
} else {
Intent prepare = VpnService.prepare(firewallActivity);
if (prepare != null) {
new c9.d(firewallActivity, firewallActivity.getString(R.string.allow_vpn), firewallActivity.getString(R.string.allow_vpn_message), new k7.k(firewallActivity, 10, prepare)).show();
} else {
f0.i.g(firewallActivity, new Intent(firewallActivity, LocalVpnService.class));
firewallActivity.H(false);
}
}
return;
case 1:
int i13 = FirewallActivity.Y;
firewallActivity.getClass();
String string6 = firewallActivity.getString(R.string.socks5_password);
SharedPreferences sharedPreferences2 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string6, "", sharedPreferences2.getString("HDKqNjBjtE", ""), 2, new z(firewallActivity, 5)).show();
return;
case 2:
int i14 = FirewallActivity.Y;
firewallActivity.getClass();
String string7 = firewallActivity.getString(R.string.ip4);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string7, "10.1.10.1", firewallActivity.T.getString("8Cuw0nm79Y", "10.1.10.1"), 1, new z(firewallActivity, 7)).show();
return;
case 3:
int i15 = FirewallActivity.Y;
firewallActivity.getClass();
String string8 = firewallActivity.getString(R.string.ip6);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string8, "fd00:1:fd00:1:fd00:1:fd00:1", firewallActivity.T.getString("sZKwwLYNn2", "fd00:1:fd00:1:fd00:1:fd00:1"), 1, new z(firewallActivity, 1)).show();
return;
case 4:
int i16 = FirewallActivity.Y;
firewallActivity.getClass();
String string9 = firewallActivity.getString(R.string.dns1);
SharedPreferences sharedPreferences3 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string9, "", sharedPreferences3.getString("7pOKLz2ccU", null), 1, new z(firewallActivity, 3)).show();
return;
case 5:
int i17 = FirewallActivity.Y;
firewallActivity.getClass();
String string10 = firewallActivity.getString(R.string.dns2);
SharedPreferences sharedPreferences4 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string10, "", sharedPreferences4.getString("rUpHTqLETV", null), 1, new z(firewallActivity, 2)).show();
return;
case 6:
int i18 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallAppsActivity.class));
return;
case 7:
int i19 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallLogsActivity.class));
return;
case 8:
int i20 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallBlockedDomainsActivity.class));
return;
case 9:
SwitchMaterial switchMaterial7 = firewallActivity.Q.f18516u;
switchMaterial7.setChecked(!switchMaterial7.isChecked());
return;
case 10:
SwitchMaterial switchMaterial8 = firewallActivity.Q.f18521z;
switchMaterial8.setChecked(!switchMaterial8.isChecked());
return;
case 11:
SwitchMaterial switchMaterial9 = firewallActivity.Q.f18519x;
switchMaterial9.setChecked(!switchMaterial9.isChecked());
return;
case 12:
SwitchMaterial switchMaterial10 = firewallActivity.Q.f18520y;
switchMaterial10.setChecked(!switchMaterial10.isChecked());
return;
case 13:
SwitchMaterial switchMaterial11 = firewallActivity.Q.f18517v;
switchMaterial11.setChecked(!switchMaterial11.isChecked());
return;
case 14:
SwitchMaterial switchMaterial12 = firewallActivity.Q.f18518w;
switchMaterial12.setChecked(!switchMaterial12.isChecked());
return;
case 15:
int i21 = FirewallActivity.Y;
firewallActivity.getClass();
String string11 = firewallActivity.getString(R.string.socks5_address);
SharedPreferences sharedPreferences5 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string11, "127.0.0.1", sharedPreferences5.getString("YMzH9ilTI4", ""), 1, new z(firewallActivity, 0)).show();
return;
case 16:
int i22 = FirewallActivity.Y;
firewallActivity.getClass();
String string12 = firewallActivity.getString(R.string.socks5_port);
SharedPreferences sharedPreferences6 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string12, "1080", String.valueOf(sharedPreferences6.getInt("FDguxwMskM", 0)), 0, new z(firewallActivity, 6)).show();
return;
default:
int i23 = FirewallActivity.Y;
firewallActivity.getClass();
String string13 = firewallActivity.getString(R.string.socks5_username);
SharedPreferences sharedPreferences7 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string13, "", sharedPreferences7.getString("aEY0Hzqp0s", ""), 1, new z(firewallActivity, 4)).show();
return;
}
}
});
this.Q.f18515t.setOnClickListener(new View.OnClickListener(this) {
public final FirewallActivity f451b;
{
this.f451b = this;
}
@Override
public final void onClick(View view) {
int i11 = r2;
FirewallActivity firewallActivity = this.f451b;
switch (i11) {
case 0:
int i12 = FirewallActivity.Y;
firewallActivity.getClass();
if (z8.b.f20900k) {
z8.b.f20901l = true;
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_stop_firewall"));
firewallActivity.G(false);
} else {
Intent prepare = VpnService.prepare(firewallActivity);
if (prepare != null) {
new c9.d(firewallActivity, firewallActivity.getString(R.string.allow_vpn), firewallActivity.getString(R.string.allow_vpn_message), new k7.k(firewallActivity, 10, prepare)).show();
} else {
f0.i.g(firewallActivity, new Intent(firewallActivity, LocalVpnService.class));
firewallActivity.H(false);
}
}
return;
case 1:
int i13 = FirewallActivity.Y;
firewallActivity.getClass();
String string6 = firewallActivity.getString(R.string.socks5_password);
SharedPreferences sharedPreferences2 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string6, "", sharedPreferences2.getString("HDKqNjBjtE", ""), 2, new z(firewallActivity, 5)).show();
return;
case 2:
int i14 = FirewallActivity.Y;
firewallActivity.getClass();
String string7 = firewallActivity.getString(R.string.ip4);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string7, "10.1.10.1", firewallActivity.T.getString("8Cuw0nm79Y", "10.1.10.1"), 1, new z(firewallActivity, 7)).show();
return;
case 3:
int i15 = FirewallActivity.Y;
firewallActivity.getClass();
String string8 = firewallActivity.getString(R.string.ip6);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string8, "fd00:1:fd00:1:fd00:1:fd00:1", firewallActivity.T.getString("sZKwwLYNn2", "fd00:1:fd00:1:fd00:1:fd00:1"), 1, new z(firewallActivity, 1)).show();
return;
case 4:
int i16 = FirewallActivity.Y;
firewallActivity.getClass();
String string9 = firewallActivity.getString(R.string.dns1);
SharedPreferences sharedPreferences3 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string9, "", sharedPreferences3.getString("7pOKLz2ccU", null), 1, new z(firewallActivity, 3)).show();
return;
case 5:
int i17 = FirewallActivity.Y;
firewallActivity.getClass();
String string10 = firewallActivity.getString(R.string.dns2);
SharedPreferences sharedPreferences4 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string10, "", sharedPreferences4.getString("rUpHTqLETV", null), 1, new z(firewallActivity, 2)).show();
return;
case 6:
int i18 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallAppsActivity.class));
return;
case 7:
int i19 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallLogsActivity.class));
return;
case 8:
int i20 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallBlockedDomainsActivity.class));
return;
case 9:
SwitchMaterial switchMaterial7 = firewallActivity.Q.f18516u;
switchMaterial7.setChecked(!switchMaterial7.isChecked());
return;
case 10:
SwitchMaterial switchMaterial8 = firewallActivity.Q.f18521z;
switchMaterial8.setChecked(!switchMaterial8.isChecked());
return;
case 11:
SwitchMaterial switchMaterial9 = firewallActivity.Q.f18519x;
switchMaterial9.setChecked(!switchMaterial9.isChecked());
return;
case 12:
SwitchMaterial switchMaterial10 = firewallActivity.Q.f18520y;
switchMaterial10.setChecked(!switchMaterial10.isChecked());
return;
case 13:
SwitchMaterial switchMaterial11 = firewallActivity.Q.f18517v;
switchMaterial11.setChecked(!switchMaterial11.isChecked());
return;
case 14:
SwitchMaterial switchMaterial12 = firewallActivity.Q.f18518w;
switchMaterial12.setChecked(!switchMaterial12.isChecked());
return;
case 15:
int i21 = FirewallActivity.Y;
firewallActivity.getClass();
String string11 = firewallActivity.getString(R.string.socks5_address);
SharedPreferences sharedPreferences5 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string11, "127.0.0.1", sharedPreferences5.getString("YMzH9ilTI4", ""), 1, new z(firewallActivity, 0)).show();
return;
case 16:
int i22 = FirewallActivity.Y;
firewallActivity.getClass();
String string12 = firewallActivity.getString(R.string.socks5_port);
SharedPreferences sharedPreferences6 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string12, "1080", String.valueOf(sharedPreferences6.getInt("FDguxwMskM", 0)), 0, new z(firewallActivity, 6)).show();
return;
default:
int i23 = FirewallActivity.Y;
firewallActivity.getClass();
String string13 = firewallActivity.getString(R.string.socks5_username);
SharedPreferences sharedPreferences7 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string13, "", sharedPreferences7.getString("aEY0Hzqp0s", ""), 1, new z(firewallActivity, 4)).show();
return;
}
}
});
this.Q.f18513r.setOnClickListener(new View.OnClickListener(this) {
public final FirewallActivity f451b;
{
this.f451b = this;
}
@Override
public final void onClick(View view) {
int i11 = r2;
FirewallActivity firewallActivity = this.f451b;
switch (i11) {
case 0:
int i12 = FirewallActivity.Y;
firewallActivity.getClass();
if (z8.b.f20900k) {
z8.b.f20901l = true;
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_stop_firewall"));
firewallActivity.G(false);
} else {
Intent prepare = VpnService.prepare(firewallActivity);
if (prepare != null) {
new c9.d(firewallActivity, firewallActivity.getString(R.string.allow_vpn), firewallActivity.getString(R.string.allow_vpn_message), new k7.k(firewallActivity, 10, prepare)).show();
} else {
f0.i.g(firewallActivity, new Intent(firewallActivity, LocalVpnService.class));
firewallActivity.H(false);
}
}
return;
case 1:
int i13 = FirewallActivity.Y;
firewallActivity.getClass();
String string6 = firewallActivity.getString(R.string.socks5_password);
SharedPreferences sharedPreferences2 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string6, "", sharedPreferences2.getString("HDKqNjBjtE", ""), 2, new z(firewallActivity, 5)).show();
return;
case 2:
int i14 = FirewallActivity.Y;
firewallActivity.getClass();
String string7 = firewallActivity.getString(R.string.ip4);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string7, "10.1.10.1", firewallActivity.T.getString("8Cuw0nm79Y", "10.1.10.1"), 1, new z(firewallActivity, 7)).show();
return;
case 3:
int i15 = FirewallActivity.Y;
firewallActivity.getClass();
String string8 = firewallActivity.getString(R.string.ip6);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string8, "fd00:1:fd00:1:fd00:1:fd00:1", firewallActivity.T.getString("sZKwwLYNn2", "fd00:1:fd00:1:fd00:1:fd00:1"), 1, new z(firewallActivity, 1)).show();
return;
case 4:
int i16 = FirewallActivity.Y;
firewallActivity.getClass();
String string9 = firewallActivity.getString(R.string.dns1);
SharedPreferences sharedPreferences3 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string9, "", sharedPreferences3.getString("7pOKLz2ccU", null), 1, new z(firewallActivity, 3)).show();
return;
case 5:
int i17 = FirewallActivity.Y;
firewallActivity.getClass();
String string10 = firewallActivity.getString(R.string.dns2);
SharedPreferences sharedPreferences4 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string10, "", sharedPreferences4.getString("rUpHTqLETV", null), 1, new z(firewallActivity, 2)).show();
return;
case 6:
int i18 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallAppsActivity.class));
return;
case 7:
int i19 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallLogsActivity.class));
return;
case 8:
int i20 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallBlockedDomainsActivity.class));
return;
case 9:
SwitchMaterial switchMaterial7 = firewallActivity.Q.f18516u;
switchMaterial7.setChecked(!switchMaterial7.isChecked());
return;
case 10:
SwitchMaterial switchMaterial8 = firewallActivity.Q.f18521z;
switchMaterial8.setChecked(!switchMaterial8.isChecked());
return;
case 11:
SwitchMaterial switchMaterial9 = firewallActivity.Q.f18519x;
switchMaterial9.setChecked(!switchMaterial9.isChecked());
return;
case 12:
SwitchMaterial switchMaterial10 = firewallActivity.Q.f18520y;
switchMaterial10.setChecked(!switchMaterial10.isChecked());
return;
case 13:
SwitchMaterial switchMaterial11 = firewallActivity.Q.f18517v;
switchMaterial11.setChecked(!switchMaterial11.isChecked());
return;
case 14:
SwitchMaterial switchMaterial12 = firewallActivity.Q.f18518w;
switchMaterial12.setChecked(!switchMaterial12.isChecked());
return;
case 15:
int i21 = FirewallActivity.Y;
firewallActivity.getClass();
String string11 = firewallActivity.getString(R.string.socks5_address);
SharedPreferences sharedPreferences5 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string11, "127.0.0.1", sharedPreferences5.getString("YMzH9ilTI4", ""), 1, new z(firewallActivity, 0)).show();
return;
case 16:
int i22 = FirewallActivity.Y;
firewallActivity.getClass();
String string12 = firewallActivity.getString(R.string.socks5_port);
SharedPreferences sharedPreferences6 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string12, "1080", String.valueOf(sharedPreferences6.getInt("FDguxwMskM", 0)), 0, new z(firewallActivity, 6)).show();
return;
default:
int i23 = FirewallActivity.Y;
firewallActivity.getClass();
String string13 = firewallActivity.getString(R.string.socks5_username);
SharedPreferences sharedPreferences7 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string13, "", sharedPreferences7.getString("aEY0Hzqp0s", ""), 1, new z(firewallActivity, 4)).show();
return;
}
}
});
this.Q.f18514s.setOnClickListener(new View.OnClickListener(this) {
public final FirewallActivity f451b;
{
this.f451b = this;
}
@Override
public final void onClick(View view) {
int i11 = r2;
FirewallActivity firewallActivity = this.f451b;
switch (i11) {
case 0:
int i12 = FirewallActivity.Y;
firewallActivity.getClass();
if (z8.b.f20900k) {
z8.b.f20901l = true;
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_stop_firewall"));
firewallActivity.G(false);
} else {
Intent prepare = VpnService.prepare(firewallActivity);
if (prepare != null) {
new c9.d(firewallActivity, firewallActivity.getString(R.string.allow_vpn), firewallActivity.getString(R.string.allow_vpn_message), new k7.k(firewallActivity, 10, prepare)).show();
} else {
f0.i.g(firewallActivity, new Intent(firewallActivity, LocalVpnService.class));
firewallActivity.H(false);
}
}
return;
case 1:
int i13 = FirewallActivity.Y;
firewallActivity.getClass();
String string6 = firewallActivity.getString(R.string.socks5_password);
SharedPreferences sharedPreferences2 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string6, "", sharedPreferences2.getString("HDKqNjBjtE", ""), 2, new z(firewallActivity, 5)).show();
return;
case 2:
int i14 = FirewallActivity.Y;
firewallActivity.getClass();
String string7 = firewallActivity.getString(R.string.ip4);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string7, "10.1.10.1", firewallActivity.T.getString("8Cuw0nm79Y", "10.1.10.1"), 1, new z(firewallActivity, 7)).show();
return;
case 3:
int i15 = FirewallActivity.Y;
firewallActivity.getClass();
String string8 = firewallActivity.getString(R.string.ip6);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string8, "fd00:1:fd00:1:fd00:1:fd00:1", firewallActivity.T.getString("sZKwwLYNn2", "fd00:1:fd00:1:fd00:1:fd00:1"), 1, new z(firewallActivity, 1)).show();
return;
case 4:
int i16 = FirewallActivity.Y;
firewallActivity.getClass();
String string9 = firewallActivity.getString(R.string.dns1);
SharedPreferences sharedPreferences3 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string9, "", sharedPreferences3.getString("7pOKLz2ccU", null), 1, new z(firewallActivity, 3)).show();
return;
case 5:
int i17 = FirewallActivity.Y;
firewallActivity.getClass();
String string10 = firewallActivity.getString(R.string.dns2);
SharedPreferences sharedPreferences4 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string10, "", sharedPreferences4.getString("rUpHTqLETV", null), 1, new z(firewallActivity, 2)).show();
return;
case 6:
int i18 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallAppsActivity.class));
return;
case 7:
int i19 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallLogsActivity.class));
return;
case 8:
int i20 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallBlockedDomainsActivity.class));
return;
case 9:
SwitchMaterial switchMaterial7 = firewallActivity.Q.f18516u;
switchMaterial7.setChecked(!switchMaterial7.isChecked());
return;
case 10:
SwitchMaterial switchMaterial8 = firewallActivity.Q.f18521z;
switchMaterial8.setChecked(!switchMaterial8.isChecked());
return;
case 11:
SwitchMaterial switchMaterial9 = firewallActivity.Q.f18519x;
switchMaterial9.setChecked(!switchMaterial9.isChecked());
return;
case 12:
SwitchMaterial switchMaterial10 = firewallActivity.Q.f18520y;
switchMaterial10.setChecked(!switchMaterial10.isChecked());
return;
case 13:
SwitchMaterial switchMaterial11 = firewallActivity.Q.f18517v;
switchMaterial11.setChecked(!switchMaterial11.isChecked());
return;
case 14:
SwitchMaterial switchMaterial12 = firewallActivity.Q.f18518w;
switchMaterial12.setChecked(!switchMaterial12.isChecked());
return;
case 15:
int i21 = FirewallActivity.Y;
firewallActivity.getClass();
String string11 = firewallActivity.getString(R.string.socks5_address);
SharedPreferences sharedPreferences5 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string11, "127.0.0.1", sharedPreferences5.getString("YMzH9ilTI4", ""), 1, new z(firewallActivity, 0)).show();
return;
case 16:
int i22 = FirewallActivity.Y;
firewallActivity.getClass();
String string12 = firewallActivity.getString(R.string.socks5_port);
SharedPreferences sharedPreferences6 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string12, "1080", String.valueOf(sharedPreferences6.getInt("FDguxwMskM", 0)), 0, new z(firewallActivity, 6)).show();
return;
default:
int i23 = FirewallActivity.Y;
firewallActivity.getClass();
String string13 = firewallActivity.getString(R.string.socks5_username);
SharedPreferences sharedPreferences7 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string13, "", sharedPreferences7.getString("aEY0Hzqp0s", ""), 1, new z(firewallActivity, 4)).show();
return;
}
}
});
this.Q.f18506k.setOnClickListener(new View.OnClickListener(this) {
public final FirewallActivity f451b;
{
this.f451b = this;
}
@Override
public final void onClick(View view) {
int i11 = r2;
FirewallActivity firewallActivity = this.f451b;
switch (i11) {
case 0:
int i12 = FirewallActivity.Y;
firewallActivity.getClass();
if (z8.b.f20900k) {
z8.b.f20901l = true;
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_stop_firewall"));
firewallActivity.G(false);
} else {
Intent prepare = VpnService.prepare(firewallActivity);
if (prepare != null) {
new c9.d(firewallActivity, firewallActivity.getString(R.string.allow_vpn), firewallActivity.getString(R.string.allow_vpn_message), new k7.k(firewallActivity, 10, prepare)).show();
} else {
f0.i.g(firewallActivity, new Intent(firewallActivity, LocalVpnService.class));
firewallActivity.H(false);
}
}
return;
case 1:
int i13 = FirewallActivity.Y;
firewallActivity.getClass();
String string6 = firewallActivity.getString(R.string.socks5_password);
SharedPreferences sharedPreferences2 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string6, "", sharedPreferences2.getString("HDKqNjBjtE", ""), 2, new z(firewallActivity, 5)).show();
return;
case 2:
int i14 = FirewallActivity.Y;
firewallActivity.getClass();
String string7 = firewallActivity.getString(R.string.ip4);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string7, "10.1.10.1", firewallActivity.T.getString("8Cuw0nm79Y", "10.1.10.1"), 1, new z(firewallActivity, 7)).show();
return;
case 3:
int i15 = FirewallActivity.Y;
firewallActivity.getClass();
String string8 = firewallActivity.getString(R.string.ip6);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string8, "fd00:1:fd00:1:fd00:1:fd00:1", firewallActivity.T.getString("sZKwwLYNn2", "fd00:1:fd00:1:fd00:1:fd00:1"), 1, new z(firewallActivity, 1)).show();
return;
case 4:
int i16 = FirewallActivity.Y;
firewallActivity.getClass();
String string9 = firewallActivity.getString(R.string.dns1);
SharedPreferences sharedPreferences3 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string9, "", sharedPreferences3.getString("7pOKLz2ccU", null), 1, new z(firewallActivity, 3)).show();
return;
case 5:
int i17 = FirewallActivity.Y;
firewallActivity.getClass();
String string10 = firewallActivity.getString(R.string.dns2);
SharedPreferences sharedPreferences4 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string10, "", sharedPreferences4.getString("rUpHTqLETV", null), 1, new z(firewallActivity, 2)).show();
return;
case 6:
int i18 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallAppsActivity.class));
return;
case 7:
int i19 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallLogsActivity.class));
return;
case 8:
int i20 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallBlockedDomainsActivity.class));
return;
case 9:
SwitchMaterial switchMaterial7 = firewallActivity.Q.f18516u;
switchMaterial7.setChecked(!switchMaterial7.isChecked());
return;
case 10:
SwitchMaterial switchMaterial8 = firewallActivity.Q.f18521z;
switchMaterial8.setChecked(!switchMaterial8.isChecked());
return;
case 11:
SwitchMaterial switchMaterial9 = firewallActivity.Q.f18519x;
switchMaterial9.setChecked(!switchMaterial9.isChecked());
return;
case 12:
SwitchMaterial switchMaterial10 = firewallActivity.Q.f18520y;
switchMaterial10.setChecked(!switchMaterial10.isChecked());
return;
case 13:
SwitchMaterial switchMaterial11 = firewallActivity.Q.f18517v;
switchMaterial11.setChecked(!switchMaterial11.isChecked());
return;
case 14:
SwitchMaterial switchMaterial12 = firewallActivity.Q.f18518w;
switchMaterial12.setChecked(!switchMaterial12.isChecked());
return;
case 15:
int i21 = FirewallActivity.Y;
firewallActivity.getClass();
String string11 = firewallActivity.getString(R.string.socks5_address);
SharedPreferences sharedPreferences5 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string11, "127.0.0.1", sharedPreferences5.getString("YMzH9ilTI4", ""), 1, new z(firewallActivity, 0)).show();
return;
case 16:
int i22 = FirewallActivity.Y;
firewallActivity.getClass();
String string12 = firewallActivity.getString(R.string.socks5_port);
SharedPreferences sharedPreferences6 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string12, "1080", String.valueOf(sharedPreferences6.getInt("FDguxwMskM", 0)), 0, new z(firewallActivity, 6)).show();
return;
default:
int i23 = FirewallActivity.Y;
firewallActivity.getClass();
String string13 = firewallActivity.getString(R.string.socks5_username);
SharedPreferences sharedPreferences7 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string13, "", sharedPreferences7.getString("aEY0Hzqp0s", ""), 1, new z(firewallActivity, 4)).show();
return;
}
}
});
this.Q.f18508m.setOnClickListener(new View.OnClickListener(this) {
public final FirewallActivity f451b;
{
this.f451b = this;
}
@Override
public final void onClick(View view) {
int i11 = r2;
FirewallActivity firewallActivity = this.f451b;
switch (i11) {
case 0:
int i12 = FirewallActivity.Y;
firewallActivity.getClass();
if (z8.b.f20900k) {
z8.b.f20901l = true;
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_stop_firewall"));
firewallActivity.G(false);
} else {
Intent prepare = VpnService.prepare(firewallActivity);
if (prepare != null) {
new c9.d(firewallActivity, firewallActivity.getString(R.string.allow_vpn), firewallActivity.getString(R.string.allow_vpn_message), new k7.k(firewallActivity, 10, prepare)).show();
} else {
f0.i.g(firewallActivity, new Intent(firewallActivity, LocalVpnService.class));
firewallActivity.H(false);
}
}
return;
case 1:
int i13 = FirewallActivity.Y;
firewallActivity.getClass();
String string6 = firewallActivity.getString(R.string.socks5_password);
SharedPreferences sharedPreferences2 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string6, "", sharedPreferences2.getString("HDKqNjBjtE", ""), 2, new z(firewallActivity, 5)).show();
return;
case 2:
int i14 = FirewallActivity.Y;
firewallActivity.getClass();
String string7 = firewallActivity.getString(R.string.ip4);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string7, "10.1.10.1", firewallActivity.T.getString("8Cuw0nm79Y", "10.1.10.1"), 1, new z(firewallActivity, 7)).show();
return;
case 3:
int i15 = FirewallActivity.Y;
firewallActivity.getClass();
String string8 = firewallActivity.getString(R.string.ip6);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string8, "fd00:1:fd00:1:fd00:1:fd00:1", firewallActivity.T.getString("sZKwwLYNn2", "fd00:1:fd00:1:fd00:1:fd00:1"), 1, new z(firewallActivity, 1)).show();
return;
case 4:
int i16 = FirewallActivity.Y;
firewallActivity.getClass();
String string9 = firewallActivity.getString(R.string.dns1);
SharedPreferences sharedPreferences3 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string9, "", sharedPreferences3.getString("7pOKLz2ccU", null), 1, new z(firewallActivity, 3)).show();
return;
case 5:
int i17 = FirewallActivity.Y;
firewallActivity.getClass();
String string10 = firewallActivity.getString(R.string.dns2);
SharedPreferences sharedPreferences4 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string10, "", sharedPreferences4.getString("rUpHTqLETV", null), 1, new z(firewallActivity, 2)).show();
return;
case 6:
int i18 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallAppsActivity.class));
return;
case 7:
int i19 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallLogsActivity.class));
return;
case 8:
int i20 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallBlockedDomainsActivity.class));
return;
case 9:
SwitchMaterial switchMaterial7 = firewallActivity.Q.f18516u;
switchMaterial7.setChecked(!switchMaterial7.isChecked());
return;
case 10:
SwitchMaterial switchMaterial8 = firewallActivity.Q.f18521z;
switchMaterial8.setChecked(!switchMaterial8.isChecked());
return;
case 11:
SwitchMaterial switchMaterial9 = firewallActivity.Q.f18519x;
switchMaterial9.setChecked(!switchMaterial9.isChecked());
return;
case 12:
SwitchMaterial switchMaterial10 = firewallActivity.Q.f18520y;
switchMaterial10.setChecked(!switchMaterial10.isChecked());
return;
case 13:
SwitchMaterial switchMaterial11 = firewallActivity.Q.f18517v;
switchMaterial11.setChecked(!switchMaterial11.isChecked());
return;
case 14:
SwitchMaterial switchMaterial12 = firewallActivity.Q.f18518w;
switchMaterial12.setChecked(!switchMaterial12.isChecked());
return;
case 15:
int i21 = FirewallActivity.Y;
firewallActivity.getClass();
String string11 = firewallActivity.getString(R.string.socks5_address);
SharedPreferences sharedPreferences5 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string11, "127.0.0.1", sharedPreferences5.getString("YMzH9ilTI4", ""), 1, new z(firewallActivity, 0)).show();
return;
case 16:
int i22 = FirewallActivity.Y;
firewallActivity.getClass();
String string12 = firewallActivity.getString(R.string.socks5_port);
SharedPreferences sharedPreferences6 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string12, "1080", String.valueOf(sharedPreferences6.getInt("FDguxwMskM", 0)), 0, new z(firewallActivity, 6)).show();
return;
default:
int i23 = FirewallActivity.Y;
firewallActivity.getClass();
String string13 = firewallActivity.getString(R.string.socks5_username);
SharedPreferences sharedPreferences7 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string13, "", sharedPreferences7.getString("aEY0Hzqp0s", ""), 1, new z(firewallActivity, 4)).show();
return;
}
}
});
this.Q.f18509n.setOnClickListener(new View.OnClickListener(this) {
public final FirewallActivity f451b;
{
this.f451b = this;
}
@Override
public final void onClick(View view) {
int i11 = r2;
FirewallActivity firewallActivity = this.f451b;
switch (i11) {
case 0:
int i12 = FirewallActivity.Y;
firewallActivity.getClass();
if (z8.b.f20900k) {
z8.b.f20901l = true;
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_stop_firewall"));
firewallActivity.G(false);
} else {
Intent prepare = VpnService.prepare(firewallActivity);
if (prepare != null) {
new c9.d(firewallActivity, firewallActivity.getString(R.string.allow_vpn), firewallActivity.getString(R.string.allow_vpn_message), new k7.k(firewallActivity, 10, prepare)).show();
} else {
f0.i.g(firewallActivity, new Intent(firewallActivity, LocalVpnService.class));
firewallActivity.H(false);
}
}
return;
case 1:
int i13 = FirewallActivity.Y;
firewallActivity.getClass();
String string6 = firewallActivity.getString(R.string.socks5_password);
SharedPreferences sharedPreferences2 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string6, "", sharedPreferences2.getString("HDKqNjBjtE", ""), 2, new z(firewallActivity, 5)).show();
return;
case 2:
int i14 = FirewallActivity.Y;
firewallActivity.getClass();
String string7 = firewallActivity.getString(R.string.ip4);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string7, "10.1.10.1", firewallActivity.T.getString("8Cuw0nm79Y", "10.1.10.1"), 1, new z(firewallActivity, 7)).show();
return;
case 3:
int i15 = FirewallActivity.Y;
firewallActivity.getClass();
String string8 = firewallActivity.getString(R.string.ip6);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string8, "fd00:1:fd00:1:fd00:1:fd00:1", firewallActivity.T.getString("sZKwwLYNn2", "fd00:1:fd00:1:fd00:1:fd00:1"), 1, new z(firewallActivity, 1)).show();
return;
case 4:
int i16 = FirewallActivity.Y;
firewallActivity.getClass();
String string9 = firewallActivity.getString(R.string.dns1);
SharedPreferences sharedPreferences3 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string9, "", sharedPreferences3.getString("7pOKLz2ccU", null), 1, new z(firewallActivity, 3)).show();
return;
case 5:
int i17 = FirewallActivity.Y;
firewallActivity.getClass();
String string10 = firewallActivity.getString(R.string.dns2);
SharedPreferences sharedPreferences4 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string10, "", sharedPreferences4.getString("rUpHTqLETV", null), 1, new z(firewallActivity, 2)).show();
return;
case 6:
int i18 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallAppsActivity.class));
return;
case 7:
int i19 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallLogsActivity.class));
return;
case 8:
int i20 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallBlockedDomainsActivity.class));
return;
case 9:
SwitchMaterial switchMaterial7 = firewallActivity.Q.f18516u;
switchMaterial7.setChecked(!switchMaterial7.isChecked());
return;
case 10:
SwitchMaterial switchMaterial8 = firewallActivity.Q.f18521z;
switchMaterial8.setChecked(!switchMaterial8.isChecked());
return;
case 11:
SwitchMaterial switchMaterial9 = firewallActivity.Q.f18519x;
switchMaterial9.setChecked(!switchMaterial9.isChecked());
return;
case 12:
SwitchMaterial switchMaterial10 = firewallActivity.Q.f18520y;
switchMaterial10.setChecked(!switchMaterial10.isChecked());
return;
case 13:
SwitchMaterial switchMaterial11 = firewallActivity.Q.f18517v;
switchMaterial11.setChecked(!switchMaterial11.isChecked());
return;
case 14:
SwitchMaterial switchMaterial12 = firewallActivity.Q.f18518w;
switchMaterial12.setChecked(!switchMaterial12.isChecked());
return;
case 15:
int i21 = FirewallActivity.Y;
firewallActivity.getClass();
String string11 = firewallActivity.getString(R.string.socks5_address);
SharedPreferences sharedPreferences5 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string11, "127.0.0.1", sharedPreferences5.getString("YMzH9ilTI4", ""), 1, new z(firewallActivity, 0)).show();
return;
case 16:
int i22 = FirewallActivity.Y;
firewallActivity.getClass();
String string12 = firewallActivity.getString(R.string.socks5_port);
SharedPreferences sharedPreferences6 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string12, "1080", String.valueOf(sharedPreferences6.getInt("FDguxwMskM", 0)), 0, new z(firewallActivity, 6)).show();
return;
default:
int i23 = FirewallActivity.Y;
firewallActivity.getClass();
String string13 = firewallActivity.getString(R.string.socks5_username);
SharedPreferences sharedPreferences7 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string13, "", sharedPreferences7.getString("aEY0Hzqp0s", ""), 1, new z(firewallActivity, 4)).show();
return;
}
}
});
this.Q.f18511p.setOnClickListener(new View.OnClickListener(this) {
public final FirewallActivity f451b;
{
this.f451b = this;
}
@Override
public final void onClick(View view) {
int i11 = r2;
FirewallActivity firewallActivity = this.f451b;
switch (i11) {
case 0:
int i12 = FirewallActivity.Y;
firewallActivity.getClass();
if (z8.b.f20900k) {
z8.b.f20901l = true;
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_stop_firewall"));
firewallActivity.G(false);
} else {
Intent prepare = VpnService.prepare(firewallActivity);
if (prepare != null) {
new c9.d(firewallActivity, firewallActivity.getString(R.string.allow_vpn), firewallActivity.getString(R.string.allow_vpn_message), new k7.k(firewallActivity, 10, prepare)).show();
} else {
f0.i.g(firewallActivity, new Intent(firewallActivity, LocalVpnService.class));
firewallActivity.H(false);
}
}
return;
case 1:
int i13 = FirewallActivity.Y;
firewallActivity.getClass();
String string6 = firewallActivity.getString(R.string.socks5_password);
SharedPreferences sharedPreferences2 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string6, "", sharedPreferences2.getString("HDKqNjBjtE", ""), 2, new z(firewallActivity, 5)).show();
return;
case 2:
int i14 = FirewallActivity.Y;
firewallActivity.getClass();
String string7 = firewallActivity.getString(R.string.ip4);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string7, "10.1.10.1", firewallActivity.T.getString("8Cuw0nm79Y", "10.1.10.1"), 1, new z(firewallActivity, 7)).show();
return;
case 3:
int i15 = FirewallActivity.Y;
firewallActivity.getClass();
String string8 = firewallActivity.getString(R.string.ip6);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string8, "fd00:1:fd00:1:fd00:1:fd00:1", firewallActivity.T.getString("sZKwwLYNn2", "fd00:1:fd00:1:fd00:1:fd00:1"), 1, new z(firewallActivity, 1)).show();
return;
case 4:
int i16 = FirewallActivity.Y;
firewallActivity.getClass();
String string9 = firewallActivity.getString(R.string.dns1);
SharedPreferences sharedPreferences3 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string9, "", sharedPreferences3.getString("7pOKLz2ccU", null), 1, new z(firewallActivity, 3)).show();
return;
case 5:
int i17 = FirewallActivity.Y;
firewallActivity.getClass();
String string10 = firewallActivity.getString(R.string.dns2);
SharedPreferences sharedPreferences4 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string10, "", sharedPreferences4.getString("rUpHTqLETV", null), 1, new z(firewallActivity, 2)).show();
return;
case 6:
int i18 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallAppsActivity.class));
return;
case 7:
int i19 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallLogsActivity.class));
return;
case 8:
int i20 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallBlockedDomainsActivity.class));
return;
case 9:
SwitchMaterial switchMaterial7 = firewallActivity.Q.f18516u;
switchMaterial7.setChecked(!switchMaterial7.isChecked());
return;
case 10:
SwitchMaterial switchMaterial8 = firewallActivity.Q.f18521z;
switchMaterial8.setChecked(!switchMaterial8.isChecked());
return;
case 11:
SwitchMaterial switchMaterial9 = firewallActivity.Q.f18519x;
switchMaterial9.setChecked(!switchMaterial9.isChecked());
return;
case 12:
SwitchMaterial switchMaterial10 = firewallActivity.Q.f18520y;
switchMaterial10.setChecked(!switchMaterial10.isChecked());
return;
case 13:
SwitchMaterial switchMaterial11 = firewallActivity.Q.f18517v;
switchMaterial11.setChecked(!switchMaterial11.isChecked());
return;
case 14:
SwitchMaterial switchMaterial12 = firewallActivity.Q.f18518w;
switchMaterial12.setChecked(!switchMaterial12.isChecked());
return;
case 15:
int i21 = FirewallActivity.Y;
firewallActivity.getClass();
String string11 = firewallActivity.getString(R.string.socks5_address);
SharedPreferences sharedPreferences5 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string11, "127.0.0.1", sharedPreferences5.getString("YMzH9ilTI4", ""), 1, new z(firewallActivity, 0)).show();
return;
case 16:
int i22 = FirewallActivity.Y;
firewallActivity.getClass();
String string12 = firewallActivity.getString(R.string.socks5_port);
SharedPreferences sharedPreferences6 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string12, "1080", String.valueOf(sharedPreferences6.getInt("FDguxwMskM", 0)), 0, new z(firewallActivity, 6)).show();
return;
default:
int i23 = FirewallActivity.Y;
firewallActivity.getClass();
String string13 = firewallActivity.getString(R.string.socks5_username);
SharedPreferences sharedPreferences7 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string13, "", sharedPreferences7.getString("aEY0Hzqp0s", ""), 1, new z(firewallActivity, 4)).show();
return;
}
}
});
this.Q.f18512q.setOnClickListener(new View.OnClickListener(this) {
public final FirewallActivity f451b;
{
this.f451b = this;
}
@Override
public final void onClick(View view) {
int i11 = r2;
FirewallActivity firewallActivity = this.f451b;
switch (i11) {
case 0:
int i12 = FirewallActivity.Y;
firewallActivity.getClass();
if (z8.b.f20900k) {
z8.b.f20901l = true;
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_stop_firewall"));
firewallActivity.G(false);
} else {
Intent prepare = VpnService.prepare(firewallActivity);
if (prepare != null) {
new c9.d(firewallActivity, firewallActivity.getString(R.string.allow_vpn), firewallActivity.getString(R.string.allow_vpn_message), new k7.k(firewallActivity, 10, prepare)).show();
} else {
f0.i.g(firewallActivity, new Intent(firewallActivity, LocalVpnService.class));
firewallActivity.H(false);
}
}
return;
case 1:
int i13 = FirewallActivity.Y;
firewallActivity.getClass();
String string6 = firewallActivity.getString(R.string.socks5_password);
SharedPreferences sharedPreferences2 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string6, "", sharedPreferences2.getString("HDKqNjBjtE", ""), 2, new z(firewallActivity, 5)).show();
return;
case 2:
int i14 = FirewallActivity.Y;
firewallActivity.getClass();
String string7 = firewallActivity.getString(R.string.ip4);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string7, "10.1.10.1", firewallActivity.T.getString("8Cuw0nm79Y", "10.1.10.1"), 1, new z(firewallActivity, 7)).show();
return;
case 3:
int i15 = FirewallActivity.Y;
firewallActivity.getClass();
String string8 = firewallActivity.getString(R.string.ip6);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string8, "fd00:1:fd00:1:fd00:1:fd00:1", firewallActivity.T.getString("sZKwwLYNn2", "fd00:1:fd00:1:fd00:1:fd00:1"), 1, new z(firewallActivity, 1)).show();
return;
case 4:
int i16 = FirewallActivity.Y;
firewallActivity.getClass();
String string9 = firewallActivity.getString(R.string.dns1);
SharedPreferences sharedPreferences3 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string9, "", sharedPreferences3.getString("7pOKLz2ccU", null), 1, new z(firewallActivity, 3)).show();
return;
case 5:
int i17 = FirewallActivity.Y;
firewallActivity.getClass();
String string10 = firewallActivity.getString(R.string.dns2);
SharedPreferences sharedPreferences4 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string10, "", sharedPreferences4.getString("rUpHTqLETV", null), 1, new z(firewallActivity, 2)).show();
return;
case 6:
int i18 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallAppsActivity.class));
return;
case 7:
int i19 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallLogsActivity.class));
return;
case 8:
int i20 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallBlockedDomainsActivity.class));
return;
case 9:
SwitchMaterial switchMaterial7 = firewallActivity.Q.f18516u;
switchMaterial7.setChecked(!switchMaterial7.isChecked());
return;
case 10:
SwitchMaterial switchMaterial8 = firewallActivity.Q.f18521z;
switchMaterial8.setChecked(!switchMaterial8.isChecked());
return;
case 11:
SwitchMaterial switchMaterial9 = firewallActivity.Q.f18519x;
switchMaterial9.setChecked(!switchMaterial9.isChecked());
return;
case 12:
SwitchMaterial switchMaterial10 = firewallActivity.Q.f18520y;
switchMaterial10.setChecked(!switchMaterial10.isChecked());
return;
case 13:
SwitchMaterial switchMaterial11 = firewallActivity.Q.f18517v;
switchMaterial11.setChecked(!switchMaterial11.isChecked());
return;
case 14:
SwitchMaterial switchMaterial12 = firewallActivity.Q.f18518w;
switchMaterial12.setChecked(!switchMaterial12.isChecked());
return;
case 15:
int i21 = FirewallActivity.Y;
firewallActivity.getClass();
String string11 = firewallActivity.getString(R.string.socks5_address);
SharedPreferences sharedPreferences5 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string11, "127.0.0.1", sharedPreferences5.getString("YMzH9ilTI4", ""), 1, new z(firewallActivity, 0)).show();
return;
case 16:
int i22 = FirewallActivity.Y;
firewallActivity.getClass();
String string12 = firewallActivity.getString(R.string.socks5_port);
SharedPreferences sharedPreferences6 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string12, "1080", String.valueOf(sharedPreferences6.getInt("FDguxwMskM", 0)), 0, new z(firewallActivity, 6)).show();
return;
default:
int i23 = FirewallActivity.Y;
firewallActivity.getClass();
String string13 = firewallActivity.getString(R.string.socks5_username);
SharedPreferences sharedPreferences7 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string13, "", sharedPreferences7.getString("aEY0Hzqp0s", ""), 1, new z(firewallActivity, 4)).show();
return;
}
}
});
this.Q.f18510o.setOnClickListener(new View.OnClickListener(this) {
public final FirewallActivity f451b;
{
this.f451b = this;
}
@Override
public final void onClick(View view) {
int i11 = r2;
FirewallActivity firewallActivity = this.f451b;
switch (i11) {
case 0:
int i12 = FirewallActivity.Y;
firewallActivity.getClass();
if (z8.b.f20900k) {
z8.b.f20901l = true;
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_stop_firewall"));
firewallActivity.G(false);
} else {
Intent prepare = VpnService.prepare(firewallActivity);
if (prepare != null) {
new c9.d(firewallActivity, firewallActivity.getString(R.string.allow_vpn), firewallActivity.getString(R.string.allow_vpn_message), new k7.k(firewallActivity, 10, prepare)).show();
} else {
f0.i.g(firewallActivity, new Intent(firewallActivity, LocalVpnService.class));
firewallActivity.H(false);
}
}
return;
case 1:
int i13 = FirewallActivity.Y;
firewallActivity.getClass();
String string6 = firewallActivity.getString(R.string.socks5_password);
SharedPreferences sharedPreferences2 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string6, "", sharedPreferences2.getString("HDKqNjBjtE", ""), 2, new z(firewallActivity, 5)).show();
return;
case 2:
int i14 = FirewallActivity.Y;
firewallActivity.getClass();
String string7 = firewallActivity.getString(R.string.ip4);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string7, "10.1.10.1", firewallActivity.T.getString("8Cuw0nm79Y", "10.1.10.1"), 1, new z(firewallActivity, 7)).show();
return;
case 3:
int i15 = FirewallActivity.Y;
firewallActivity.getClass();
String string8 = firewallActivity.getString(R.string.ip6);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string8, "fd00:1:fd00:1:fd00:1:fd00:1", firewallActivity.T.getString("sZKwwLYNn2", "fd00:1:fd00:1:fd00:1:fd00:1"), 1, new z(firewallActivity, 1)).show();
return;
case 4:
int i16 = FirewallActivity.Y;
firewallActivity.getClass();
String string9 = firewallActivity.getString(R.string.dns1);
SharedPreferences sharedPreferences3 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string9, "", sharedPreferences3.getString("7pOKLz2ccU", null), 1, new z(firewallActivity, 3)).show();
return;
case 5:
int i17 = FirewallActivity.Y;
firewallActivity.getClass();
String string10 = firewallActivity.getString(R.string.dns2);
SharedPreferences sharedPreferences4 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string10, "", sharedPreferences4.getString("rUpHTqLETV", null), 1, new z(firewallActivity, 2)).show();
return;
case 6:
int i18 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallAppsActivity.class));
return;
case 7:
int i19 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallLogsActivity.class));
return;
case 8:
int i20 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallBlockedDomainsActivity.class));
return;
case 9:
SwitchMaterial switchMaterial7 = firewallActivity.Q.f18516u;
switchMaterial7.setChecked(!switchMaterial7.isChecked());
return;
case 10:
SwitchMaterial switchMaterial8 = firewallActivity.Q.f18521z;
switchMaterial8.setChecked(!switchMaterial8.isChecked());
return;
case 11:
SwitchMaterial switchMaterial9 = firewallActivity.Q.f18519x;
switchMaterial9.setChecked(!switchMaterial9.isChecked());
return;
case 12:
SwitchMaterial switchMaterial10 = firewallActivity.Q.f18520y;
switchMaterial10.setChecked(!switchMaterial10.isChecked());
return;
case 13:
SwitchMaterial switchMaterial11 = firewallActivity.Q.f18517v;
switchMaterial11.setChecked(!switchMaterial11.isChecked());
return;
case 14:
SwitchMaterial switchMaterial12 = firewallActivity.Q.f18518w;
switchMaterial12.setChecked(!switchMaterial12.isChecked());
return;
case 15:
int i21 = FirewallActivity.Y;
firewallActivity.getClass();
String string11 = firewallActivity.getString(R.string.socks5_address);
SharedPreferences sharedPreferences5 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string11, "127.0.0.1", sharedPreferences5.getString("YMzH9ilTI4", ""), 1, new z(firewallActivity, 0)).show();
return;
case 16:
int i22 = FirewallActivity.Y;
firewallActivity.getClass();
String string12 = firewallActivity.getString(R.string.socks5_port);
SharedPreferences sharedPreferences6 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string12, "1080", String.valueOf(sharedPreferences6.getInt("FDguxwMskM", 0)), 0, new z(firewallActivity, 6)).show();
return;
default:
int i23 = FirewallActivity.Y;
firewallActivity.getClass();
String string13 = firewallActivity.getString(R.string.socks5_username);
SharedPreferences sharedPreferences7 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string13, "", sharedPreferences7.getString("aEY0Hzqp0s", ""), 1, new z(firewallActivity, 4)).show();
return;
}
}
});
this.Q.f18504i.setOnClickListener(new View.OnClickListener(this) {
public final FirewallActivity f451b;
{
this.f451b = this;
}
@Override
public final void onClick(View view) {
int i11 = r2;
FirewallActivity firewallActivity = this.f451b;
switch (i11) {
case 0:
int i12 = FirewallActivity.Y;
firewallActivity.getClass();
if (z8.b.f20900k) {
z8.b.f20901l = true;
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_stop_firewall"));
firewallActivity.G(false);
} else {
Intent prepare = VpnService.prepare(firewallActivity);
if (prepare != null) {
new c9.d(firewallActivity, firewallActivity.getString(R.string.allow_vpn), firewallActivity.getString(R.string.allow_vpn_message), new k7.k(firewallActivity, 10, prepare)).show();
} else {
f0.i.g(firewallActivity, new Intent(firewallActivity, LocalVpnService.class));
firewallActivity.H(false);
}
}
return;
case 1:
int i13 = FirewallActivity.Y;
firewallActivity.getClass();
String string6 = firewallActivity.getString(R.string.socks5_password);
SharedPreferences sharedPreferences2 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string6, "", sharedPreferences2.getString("HDKqNjBjtE", ""), 2, new z(firewallActivity, 5)).show();
return;
case 2:
int i14 = FirewallActivity.Y;
firewallActivity.getClass();
String string7 = firewallActivity.getString(R.string.ip4);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string7, "10.1.10.1", firewallActivity.T.getString("8Cuw0nm79Y", "10.1.10.1"), 1, new z(firewallActivity, 7)).show();
return;
case 3:
int i15 = FirewallActivity.Y;
firewallActivity.getClass();
String string8 = firewallActivity.getString(R.string.ip6);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string8, "fd00:1:fd00:1:fd00:1:fd00:1", firewallActivity.T.getString("sZKwwLYNn2", "fd00:1:fd00:1:fd00:1:fd00:1"), 1, new z(firewallActivity, 1)).show();
return;
case 4:
int i16 = FirewallActivity.Y;
firewallActivity.getClass();
String string9 = firewallActivity.getString(R.string.dns1);
SharedPreferences sharedPreferences3 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string9, "", sharedPreferences3.getString("7pOKLz2ccU", null), 1, new z(firewallActivity, 3)).show();
return;
case 5:
int i17 = FirewallActivity.Y;
firewallActivity.getClass();
String string10 = firewallActivity.getString(R.string.dns2);
SharedPreferences sharedPreferences4 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string10, "", sharedPreferences4.getString("rUpHTqLETV", null), 1, new z(firewallActivity, 2)).show();
return;
case 6:
int i18 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallAppsActivity.class));
return;
case 7:
int i19 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallLogsActivity.class));
return;
case 8:
int i20 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallBlockedDomainsActivity.class));
return;
case 9:
SwitchMaterial switchMaterial7 = firewallActivity.Q.f18516u;
switchMaterial7.setChecked(!switchMaterial7.isChecked());
return;
case 10:
SwitchMaterial switchMaterial8 = firewallActivity.Q.f18521z;
switchMaterial8.setChecked(!switchMaterial8.isChecked());
return;
case 11:
SwitchMaterial switchMaterial9 = firewallActivity.Q.f18519x;
switchMaterial9.setChecked(!switchMaterial9.isChecked());
return;
case 12:
SwitchMaterial switchMaterial10 = firewallActivity.Q.f18520y;
switchMaterial10.setChecked(!switchMaterial10.isChecked());
return;
case 13:
SwitchMaterial switchMaterial11 = firewallActivity.Q.f18517v;
switchMaterial11.setChecked(!switchMaterial11.isChecked());
return;
case 14:
SwitchMaterial switchMaterial12 = firewallActivity.Q.f18518w;
switchMaterial12.setChecked(!switchMaterial12.isChecked());
return;
case 15:
int i21 = FirewallActivity.Y;
firewallActivity.getClass();
String string11 = firewallActivity.getString(R.string.socks5_address);
SharedPreferences sharedPreferences5 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string11, "127.0.0.1", sharedPreferences5.getString("YMzH9ilTI4", ""), 1, new z(firewallActivity, 0)).show();
return;
case 16:
int i22 = FirewallActivity.Y;
firewallActivity.getClass();
String string12 = firewallActivity.getString(R.string.socks5_port);
SharedPreferences sharedPreferences6 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string12, "1080", String.valueOf(sharedPreferences6.getInt("FDguxwMskM", 0)), 0, new z(firewallActivity, 6)).show();
return;
default:
int i23 = FirewallActivity.Y;
firewallActivity.getClass();
String string13 = firewallActivity.getString(R.string.socks5_username);
SharedPreferences sharedPreferences7 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string13, "", sharedPreferences7.getString("aEY0Hzqp0s", ""), 1, new z(firewallActivity, 4)).show();
return;
}
}
});
this.Q.f18505j.setOnClickListener(new View.OnClickListener(this) {
public final FirewallActivity f451b;
{
this.f451b = this;
}
@Override
public final void onClick(View view) {
int i11 = r2;
FirewallActivity firewallActivity = this.f451b;
switch (i11) {
case 0:
int i12 = FirewallActivity.Y;
firewallActivity.getClass();
if (z8.b.f20900k) {
z8.b.f20901l = true;
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_stop_firewall"));
firewallActivity.G(false);
} else {
Intent prepare = VpnService.prepare(firewallActivity);
if (prepare != null) {
new c9.d(firewallActivity, firewallActivity.getString(R.string.allow_vpn), firewallActivity.getString(R.string.allow_vpn_message), new k7.k(firewallActivity, 10, prepare)).show();
} else {
f0.i.g(firewallActivity, new Intent(firewallActivity, LocalVpnService.class));
firewallActivity.H(false);
}
}
return;
case 1:
int i13 = FirewallActivity.Y;
firewallActivity.getClass();
String string6 = firewallActivity.getString(R.string.socks5_password);
SharedPreferences sharedPreferences2 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string6, "", sharedPreferences2.getString("HDKqNjBjtE", ""), 2, new z(firewallActivity, 5)).show();
return;
case 2:
int i14 = FirewallActivity.Y;
firewallActivity.getClass();
String string7 = firewallActivity.getString(R.string.ip4);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string7, "10.1.10.1", firewallActivity.T.getString("8Cuw0nm79Y", "10.1.10.1"), 1, new z(firewallActivity, 7)).show();
return;
case 3:
int i15 = FirewallActivity.Y;
firewallActivity.getClass();
String string8 = firewallActivity.getString(R.string.ip6);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string8, "fd00:1:fd00:1:fd00:1:fd00:1", firewallActivity.T.getString("sZKwwLYNn2", "fd00:1:fd00:1:fd00:1:fd00:1"), 1, new z(firewallActivity, 1)).show();
return;
case 4:
int i16 = FirewallActivity.Y;
firewallActivity.getClass();
String string9 = firewallActivity.getString(R.string.dns1);
SharedPreferences sharedPreferences3 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string9, "", sharedPreferences3.getString("7pOKLz2ccU", null), 1, new z(firewallActivity, 3)).show();
return;
case 5:
int i17 = FirewallActivity.Y;
firewallActivity.getClass();
String string10 = firewallActivity.getString(R.string.dns2);
SharedPreferences sharedPreferences4 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string10, "", sharedPreferences4.getString("rUpHTqLETV", null), 1, new z(firewallActivity, 2)).show();
return;
case 6:
int i18 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallAppsActivity.class));
return;
case 7:
int i19 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallLogsActivity.class));
return;
case 8:
int i20 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallBlockedDomainsActivity.class));
return;
case 9:
SwitchMaterial switchMaterial7 = firewallActivity.Q.f18516u;
switchMaterial7.setChecked(!switchMaterial7.isChecked());
return;
case 10:
SwitchMaterial switchMaterial8 = firewallActivity.Q.f18521z;
switchMaterial8.setChecked(!switchMaterial8.isChecked());
return;
case 11:
SwitchMaterial switchMaterial9 = firewallActivity.Q.f18519x;
switchMaterial9.setChecked(!switchMaterial9.isChecked());
return;
case 12:
SwitchMaterial switchMaterial10 = firewallActivity.Q.f18520y;
switchMaterial10.setChecked(!switchMaterial10.isChecked());
return;
case 13:
SwitchMaterial switchMaterial11 = firewallActivity.Q.f18517v;
switchMaterial11.setChecked(!switchMaterial11.isChecked());
return;
case 14:
SwitchMaterial switchMaterial12 = firewallActivity.Q.f18518w;
switchMaterial12.setChecked(!switchMaterial12.isChecked());
return;
case 15:
int i21 = FirewallActivity.Y;
firewallActivity.getClass();
String string11 = firewallActivity.getString(R.string.socks5_address);
SharedPreferences sharedPreferences5 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string11, "127.0.0.1", sharedPreferences5.getString("YMzH9ilTI4", ""), 1, new z(firewallActivity, 0)).show();
return;
case 16:
int i22 = FirewallActivity.Y;
firewallActivity.getClass();
String string12 = firewallActivity.getString(R.string.socks5_port);
SharedPreferences sharedPreferences6 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string12, "1080", String.valueOf(sharedPreferences6.getInt("FDguxwMskM", 0)), 0, new z(firewallActivity, 6)).show();
return;
default:
int i23 = FirewallActivity.Y;
firewallActivity.getClass();
String string13 = firewallActivity.getString(R.string.socks5_username);
SharedPreferences sharedPreferences7 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string13, "", sharedPreferences7.getString("aEY0Hzqp0s", ""), 1, new z(firewallActivity, 4)).show();
return;
}
}
});
this.Q.f18502g.setOnClickListener(new View.OnClickListener(this) {
public final FirewallActivity f451b;
{
this.f451b = this;
}
@Override
public final void onClick(View view) {
int i11 = r2;
FirewallActivity firewallActivity = this.f451b;
switch (i11) {
case 0:
int i12 = FirewallActivity.Y;
firewallActivity.getClass();
if (z8.b.f20900k) {
z8.b.f20901l = true;
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_stop_firewall"));
firewallActivity.G(false);
} else {
Intent prepare = VpnService.prepare(firewallActivity);
if (prepare != null) {
new c9.d(firewallActivity, firewallActivity.getString(R.string.allow_vpn), firewallActivity.getString(R.string.allow_vpn_message), new k7.k(firewallActivity, 10, prepare)).show();
} else {
f0.i.g(firewallActivity, new Intent(firewallActivity, LocalVpnService.class));
firewallActivity.H(false);
}
}
return;
case 1:
int i13 = FirewallActivity.Y;
firewallActivity.getClass();
String string6 = firewallActivity.getString(R.string.socks5_password);
SharedPreferences sharedPreferences2 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string6, "", sharedPreferences2.getString("HDKqNjBjtE", ""), 2, new z(firewallActivity, 5)).show();
return;
case 2:
int i14 = FirewallActivity.Y;
firewallActivity.getClass();
String string7 = firewallActivity.getString(R.string.ip4);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string7, "10.1.10.1", firewallActivity.T.getString("8Cuw0nm79Y", "10.1.10.1"), 1, new z(firewallActivity, 7)).show();
return;
case 3:
int i15 = FirewallActivity.Y;
firewallActivity.getClass();
String string8 = firewallActivity.getString(R.string.ip6);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string8, "fd00:1:fd00:1:fd00:1:fd00:1", firewallActivity.T.getString("sZKwwLYNn2", "fd00:1:fd00:1:fd00:1:fd00:1"), 1, new z(firewallActivity, 1)).show();
return;
case 4:
int i16 = FirewallActivity.Y;
firewallActivity.getClass();
String string9 = firewallActivity.getString(R.string.dns1);
SharedPreferences sharedPreferences3 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string9, "", sharedPreferences3.getString("7pOKLz2ccU", null), 1, new z(firewallActivity, 3)).show();
return;
case 5:
int i17 = FirewallActivity.Y;
firewallActivity.getClass();
String string10 = firewallActivity.getString(R.string.dns2);
SharedPreferences sharedPreferences4 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string10, "", sharedPreferences4.getString("rUpHTqLETV", null), 1, new z(firewallActivity, 2)).show();
return;
case 6:
int i18 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallAppsActivity.class));
return;
case 7:
int i19 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallLogsActivity.class));
return;
case 8:
int i20 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallBlockedDomainsActivity.class));
return;
case 9:
SwitchMaterial switchMaterial7 = firewallActivity.Q.f18516u;
switchMaterial7.setChecked(!switchMaterial7.isChecked());
return;
case 10:
SwitchMaterial switchMaterial8 = firewallActivity.Q.f18521z;
switchMaterial8.setChecked(!switchMaterial8.isChecked());
return;
case 11:
SwitchMaterial switchMaterial9 = firewallActivity.Q.f18519x;
switchMaterial9.setChecked(!switchMaterial9.isChecked());
return;
case 12:
SwitchMaterial switchMaterial10 = firewallActivity.Q.f18520y;
switchMaterial10.setChecked(!switchMaterial10.isChecked());
return;
case 13:
SwitchMaterial switchMaterial11 = firewallActivity.Q.f18517v;
switchMaterial11.setChecked(!switchMaterial11.isChecked());
return;
case 14:
SwitchMaterial switchMaterial12 = firewallActivity.Q.f18518w;
switchMaterial12.setChecked(!switchMaterial12.isChecked());
return;
case 15:
int i21 = FirewallActivity.Y;
firewallActivity.getClass();
String string11 = firewallActivity.getString(R.string.socks5_address);
SharedPreferences sharedPreferences5 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string11, "127.0.0.1", sharedPreferences5.getString("YMzH9ilTI4", ""), 1, new z(firewallActivity, 0)).show();
return;
case 16:
int i22 = FirewallActivity.Y;
firewallActivity.getClass();
String string12 = firewallActivity.getString(R.string.socks5_port);
SharedPreferences sharedPreferences6 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string12, "1080", String.valueOf(sharedPreferences6.getInt("FDguxwMskM", 0)), 0, new z(firewallActivity, 6)).show();
return;
default:
int i23 = FirewallActivity.Y;
firewallActivity.getClass();
String string13 = firewallActivity.getString(R.string.socks5_username);
SharedPreferences sharedPreferences7 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string13, "", sharedPreferences7.getString("aEY0Hzqp0s", ""), 1, new z(firewallActivity, 4)).show();
return;
}
}
});
this.Q.f18503h.setOnClickListener(new View.OnClickListener(this) {
public final FirewallActivity f451b;
{
this.f451b = this;
}
@Override
public final void onClick(View view) {
int i11 = r2;
FirewallActivity firewallActivity = this.f451b;
switch (i11) {
case 0:
int i12 = FirewallActivity.Y;
firewallActivity.getClass();
if (z8.b.f20900k) {
z8.b.f20901l = true;
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_stop_firewall"));
firewallActivity.G(false);
} else {
Intent prepare = VpnService.prepare(firewallActivity);
if (prepare != null) {
new c9.d(firewallActivity, firewallActivity.getString(R.string.allow_vpn), firewallActivity.getString(R.string.allow_vpn_message), new k7.k(firewallActivity, 10, prepare)).show();
} else {
f0.i.g(firewallActivity, new Intent(firewallActivity, LocalVpnService.class));
firewallActivity.H(false);
}
}
return;
case 1:
int i13 = FirewallActivity.Y;
firewallActivity.getClass();
String string6 = firewallActivity.getString(R.string.socks5_password);
SharedPreferences sharedPreferences2 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string6, "", sharedPreferences2.getString("HDKqNjBjtE", ""), 2, new z(firewallActivity, 5)).show();
return;
case 2:
int i14 = FirewallActivity.Y;
firewallActivity.getClass();
String string7 = firewallActivity.getString(R.string.ip4);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string7, "10.1.10.1", firewallActivity.T.getString("8Cuw0nm79Y", "10.1.10.1"), 1, new z(firewallActivity, 7)).show();
return;
case 3:
int i15 = FirewallActivity.Y;
firewallActivity.getClass();
String string8 = firewallActivity.getString(R.string.ip6);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string8, "fd00:1:fd00:1:fd00:1:fd00:1", firewallActivity.T.getString("sZKwwLYNn2", "fd00:1:fd00:1:fd00:1:fd00:1"), 1, new z(firewallActivity, 1)).show();
return;
case 4:
int i16 = FirewallActivity.Y;
firewallActivity.getClass();
String string9 = firewallActivity.getString(R.string.dns1);
SharedPreferences sharedPreferences3 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string9, "", sharedPreferences3.getString("7pOKLz2ccU", null), 1, new z(firewallActivity, 3)).show();
return;
case 5:
int i17 = FirewallActivity.Y;
firewallActivity.getClass();
String string10 = firewallActivity.getString(R.string.dns2);
SharedPreferences sharedPreferences4 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string10, "", sharedPreferences4.getString("rUpHTqLETV", null), 1, new z(firewallActivity, 2)).show();
return;
case 6:
int i18 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallAppsActivity.class));
return;
case 7:
int i19 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallLogsActivity.class));
return;
case 8:
int i20 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallBlockedDomainsActivity.class));
return;
case 9:
SwitchMaterial switchMaterial7 = firewallActivity.Q.f18516u;
switchMaterial7.setChecked(!switchMaterial7.isChecked());
return;
case 10:
SwitchMaterial switchMaterial8 = firewallActivity.Q.f18521z;
switchMaterial8.setChecked(!switchMaterial8.isChecked());
return;
case 11:
SwitchMaterial switchMaterial9 = firewallActivity.Q.f18519x;
switchMaterial9.setChecked(!switchMaterial9.isChecked());
return;
case 12:
SwitchMaterial switchMaterial10 = firewallActivity.Q.f18520y;
switchMaterial10.setChecked(!switchMaterial10.isChecked());
return;
case 13:
SwitchMaterial switchMaterial11 = firewallActivity.Q.f18517v;
switchMaterial11.setChecked(!switchMaterial11.isChecked());
return;
case 14:
SwitchMaterial switchMaterial12 = firewallActivity.Q.f18518w;
switchMaterial12.setChecked(!switchMaterial12.isChecked());
return;
case 15:
int i21 = FirewallActivity.Y;
firewallActivity.getClass();
String string11 = firewallActivity.getString(R.string.socks5_address);
SharedPreferences sharedPreferences5 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string11, "127.0.0.1", sharedPreferences5.getString("YMzH9ilTI4", ""), 1, new z(firewallActivity, 0)).show();
return;
case 16:
int i22 = FirewallActivity.Y;
firewallActivity.getClass();
String string12 = firewallActivity.getString(R.string.socks5_port);
SharedPreferences sharedPreferences6 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string12, "1080", String.valueOf(sharedPreferences6.getInt("FDguxwMskM", 0)), 0, new z(firewallActivity, 6)).show();
return;
default:
int i23 = FirewallActivity.Y;
firewallActivity.getClass();
String string13 = firewallActivity.getString(R.string.socks5_username);
SharedPreferences sharedPreferences7 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string13, "", sharedPreferences7.getString("aEY0Hzqp0s", ""), 1, new z(firewallActivity, 4)).show();
return;
}
}
});
this.Q.f18499d.setOnClickListener(new View.OnClickListener(this) {
public final FirewallActivity f451b;
{
this.f451b = this;
}
@Override
public final void onClick(View view) {
int i11 = r2;
FirewallActivity firewallActivity = this.f451b;
switch (i11) {
case 0:
int i12 = FirewallActivity.Y;
firewallActivity.getClass();
if (z8.b.f20900k) {
z8.b.f20901l = true;
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_stop_firewall"));
firewallActivity.G(false);
} else {
Intent prepare = VpnService.prepare(firewallActivity);
if (prepare != null) {
new c9.d(firewallActivity, firewallActivity.getString(R.string.allow_vpn), firewallActivity.getString(R.string.allow_vpn_message), new k7.k(firewallActivity, 10, prepare)).show();
} else {
f0.i.g(firewallActivity, new Intent(firewallActivity, LocalVpnService.class));
firewallActivity.H(false);
}
}
return;
case 1:
int i13 = FirewallActivity.Y;
firewallActivity.getClass();
String string6 = firewallActivity.getString(R.string.socks5_password);
SharedPreferences sharedPreferences2 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string6, "", sharedPreferences2.getString("HDKqNjBjtE", ""), 2, new z(firewallActivity, 5)).show();
return;
case 2:
int i14 = FirewallActivity.Y;
firewallActivity.getClass();
String string7 = firewallActivity.getString(R.string.ip4);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string7, "10.1.10.1", firewallActivity.T.getString("8Cuw0nm79Y", "10.1.10.1"), 1, new z(firewallActivity, 7)).show();
return;
case 3:
int i15 = FirewallActivity.Y;
firewallActivity.getClass();
String string8 = firewallActivity.getString(R.string.ip6);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string8, "fd00:1:fd00:1:fd00:1:fd00:1", firewallActivity.T.getString("sZKwwLYNn2", "fd00:1:fd00:1:fd00:1:fd00:1"), 1, new z(firewallActivity, 1)).show();
return;
case 4:
int i16 = FirewallActivity.Y;
firewallActivity.getClass();
String string9 = firewallActivity.getString(R.string.dns1);
SharedPreferences sharedPreferences3 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string9, "", sharedPreferences3.getString("7pOKLz2ccU", null), 1, new z(firewallActivity, 3)).show();
return;
case 5:
int i17 = FirewallActivity.Y;
firewallActivity.getClass();
String string10 = firewallActivity.getString(R.string.dns2);
SharedPreferences sharedPreferences4 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string10, "", sharedPreferences4.getString("rUpHTqLETV", null), 1, new z(firewallActivity, 2)).show();
return;
case 6:
int i18 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallAppsActivity.class));
return;
case 7:
int i19 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallLogsActivity.class));
return;
case 8:
int i20 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallBlockedDomainsActivity.class));
return;
case 9:
SwitchMaterial switchMaterial7 = firewallActivity.Q.f18516u;
switchMaterial7.setChecked(!switchMaterial7.isChecked());
return;
case 10:
SwitchMaterial switchMaterial8 = firewallActivity.Q.f18521z;
switchMaterial8.setChecked(!switchMaterial8.isChecked());
return;
case 11:
SwitchMaterial switchMaterial9 = firewallActivity.Q.f18519x;
switchMaterial9.setChecked(!switchMaterial9.isChecked());
return;
case 12:
SwitchMaterial switchMaterial10 = firewallActivity.Q.f18520y;
switchMaterial10.setChecked(!switchMaterial10.isChecked());
return;
case 13:
SwitchMaterial switchMaterial11 = firewallActivity.Q.f18517v;
switchMaterial11.setChecked(!switchMaterial11.isChecked());
return;
case 14:
SwitchMaterial switchMaterial12 = firewallActivity.Q.f18518w;
switchMaterial12.setChecked(!switchMaterial12.isChecked());
return;
case 15:
int i21 = FirewallActivity.Y;
firewallActivity.getClass();
String string11 = firewallActivity.getString(R.string.socks5_address);
SharedPreferences sharedPreferences5 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string11, "127.0.0.1", sharedPreferences5.getString("YMzH9ilTI4", ""), 1, new z(firewallActivity, 0)).show();
return;
case 16:
int i22 = FirewallActivity.Y;
firewallActivity.getClass();
String string12 = firewallActivity.getString(R.string.socks5_port);
SharedPreferences sharedPreferences6 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string12, "1080", String.valueOf(sharedPreferences6.getInt("FDguxwMskM", 0)), 0, new z(firewallActivity, 6)).show();
return;
default:
int i23 = FirewallActivity.Y;
firewallActivity.getClass();
String string13 = firewallActivity.getString(R.string.socks5_username);
SharedPreferences sharedPreferences7 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string13, "", sharedPreferences7.getString("aEY0Hzqp0s", ""), 1, new z(firewallActivity, 4)).show();
return;
}
}
});
this.Q.f18507l.setOnClickListener(new View.OnClickListener(this) {
public final FirewallActivity f451b;
{
this.f451b = this;
}
@Override
public final void onClick(View view) {
int i11 = r2;
FirewallActivity firewallActivity = this.f451b;
switch (i11) {
case 0:
int i12 = FirewallActivity.Y;
firewallActivity.getClass();
if (z8.b.f20900k) {
z8.b.f20901l = true;
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_stop_firewall"));
firewallActivity.G(false);
} else {
Intent prepare = VpnService.prepare(firewallActivity);
if (prepare != null) {
new c9.d(firewallActivity, firewallActivity.getString(R.string.allow_vpn), firewallActivity.getString(R.string.allow_vpn_message), new k7.k(firewallActivity, 10, prepare)).show();
} else {
f0.i.g(firewallActivity, new Intent(firewallActivity, LocalVpnService.class));
firewallActivity.H(false);
}
}
return;
case 1:
int i13 = FirewallActivity.Y;
firewallActivity.getClass();
String string6 = firewallActivity.getString(R.string.socks5_password);
SharedPreferences sharedPreferences2 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string6, "", sharedPreferences2.getString("HDKqNjBjtE", ""), 2, new z(firewallActivity, 5)).show();
return;
case 2:
int i14 = FirewallActivity.Y;
firewallActivity.getClass();
String string7 = firewallActivity.getString(R.string.ip4);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string7, "10.1.10.1", firewallActivity.T.getString("8Cuw0nm79Y", "10.1.10.1"), 1, new z(firewallActivity, 7)).show();
return;
case 3:
int i15 = FirewallActivity.Y;
firewallActivity.getClass();
String string8 = firewallActivity.getString(R.string.ip6);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string8, "fd00:1:fd00:1:fd00:1:fd00:1", firewallActivity.T.getString("sZKwwLYNn2", "fd00:1:fd00:1:fd00:1:fd00:1"), 1, new z(firewallActivity, 1)).show();
return;
case 4:
int i16 = FirewallActivity.Y;
firewallActivity.getClass();
String string9 = firewallActivity.getString(R.string.dns1);
SharedPreferences sharedPreferences3 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string9, "", sharedPreferences3.getString("7pOKLz2ccU", null), 1, new z(firewallActivity, 3)).show();
return;
case 5:
int i17 = FirewallActivity.Y;
firewallActivity.getClass();
String string10 = firewallActivity.getString(R.string.dns2);
SharedPreferences sharedPreferences4 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string10, "", sharedPreferences4.getString("rUpHTqLETV", null), 1, new z(firewallActivity, 2)).show();
return;
case 6:
int i18 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallAppsActivity.class));
return;
case 7:
int i19 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallLogsActivity.class));
return;
case 8:
int i20 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallBlockedDomainsActivity.class));
return;
case 9:
SwitchMaterial switchMaterial7 = firewallActivity.Q.f18516u;
switchMaterial7.setChecked(!switchMaterial7.isChecked());
return;
case 10:
SwitchMaterial switchMaterial8 = firewallActivity.Q.f18521z;
switchMaterial8.setChecked(!switchMaterial8.isChecked());
return;
case 11:
SwitchMaterial switchMaterial9 = firewallActivity.Q.f18519x;
switchMaterial9.setChecked(!switchMaterial9.isChecked());
return;
case 12:
SwitchMaterial switchMaterial10 = firewallActivity.Q.f18520y;
switchMaterial10.setChecked(!switchMaterial10.isChecked());
return;
case 13:
SwitchMaterial switchMaterial11 = firewallActivity.Q.f18517v;
switchMaterial11.setChecked(!switchMaterial11.isChecked());
return;
case 14:
SwitchMaterial switchMaterial12 = firewallActivity.Q.f18518w;
switchMaterial12.setChecked(!switchMaterial12.isChecked());
return;
case 15:
int i21 = FirewallActivity.Y;
firewallActivity.getClass();
String string11 = firewallActivity.getString(R.string.socks5_address);
SharedPreferences sharedPreferences5 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string11, "127.0.0.1", sharedPreferences5.getString("YMzH9ilTI4", ""), 1, new z(firewallActivity, 0)).show();
return;
case 16:
int i22 = FirewallActivity.Y;
firewallActivity.getClass();
String string12 = firewallActivity.getString(R.string.socks5_port);
SharedPreferences sharedPreferences6 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string12, "1080", String.valueOf(sharedPreferences6.getInt("FDguxwMskM", 0)), 0, new z(firewallActivity, 6)).show();
return;
default:
int i23 = FirewallActivity.Y;
firewallActivity.getClass();
String string13 = firewallActivity.getString(R.string.socks5_username);
SharedPreferences sharedPreferences7 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string13, "", sharedPreferences7.getString("aEY0Hzqp0s", ""), 1, new z(firewallActivity, 4)).show();
return;
}
}
});
this.Q.f18500e.setOnClickListener(new View.OnClickListener(this) {
public final FirewallActivity f451b;
{
this.f451b = this;
}
@Override
public final void onClick(View view) {
int i11 = r2;
FirewallActivity firewallActivity = this.f451b;
switch (i11) {
case 0:
int i12 = FirewallActivity.Y;
firewallActivity.getClass();
if (z8.b.f20900k) {
z8.b.f20901l = true;
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_stop_firewall"));
firewallActivity.G(false);
} else {
Intent prepare = VpnService.prepare(firewallActivity);
if (prepare != null) {
new c9.d(firewallActivity, firewallActivity.getString(R.string.allow_vpn), firewallActivity.getString(R.string.allow_vpn_message), new k7.k(firewallActivity, 10, prepare)).show();
} else {
f0.i.g(firewallActivity, new Intent(firewallActivity, LocalVpnService.class));
firewallActivity.H(false);
}
}
return;
case 1:
int i13 = FirewallActivity.Y;
firewallActivity.getClass();
String string6 = firewallActivity.getString(R.string.socks5_password);
SharedPreferences sharedPreferences2 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string6, "", sharedPreferences2.getString("HDKqNjBjtE", ""), 2, new z(firewallActivity, 5)).show();
return;
case 2:
int i14 = FirewallActivity.Y;
firewallActivity.getClass();
String string7 = firewallActivity.getString(R.string.ip4);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string7, "10.1.10.1", firewallActivity.T.getString("8Cuw0nm79Y", "10.1.10.1"), 1, new z(firewallActivity, 7)).show();
return;
case 3:
int i15 = FirewallActivity.Y;
firewallActivity.getClass();
String string8 = firewallActivity.getString(R.string.ip6);
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string8, "fd00:1:fd00:1:fd00:1:fd00:1", firewallActivity.T.getString("sZKwwLYNn2", "fd00:1:fd00:1:fd00:1:fd00:1"), 1, new z(firewallActivity, 1)).show();
return;
case 4:
int i16 = FirewallActivity.Y;
firewallActivity.getClass();
String string9 = firewallActivity.getString(R.string.dns1);
SharedPreferences sharedPreferences3 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string9, "", sharedPreferences3.getString("7pOKLz2ccU", null), 1, new z(firewallActivity, 3)).show();
return;
case 5:
int i17 = FirewallActivity.Y;
firewallActivity.getClass();
String string10 = firewallActivity.getString(R.string.dns2);
SharedPreferences sharedPreferences4 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string10, "", sharedPreferences4.getString("rUpHTqLETV", null), 1, new z(firewallActivity, 2)).show();
return;
case 6:
int i18 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallAppsActivity.class));
return;
case 7:
int i19 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallLogsActivity.class));
return;
case 8:
int i20 = FirewallActivity.Y;
firewallActivity.getClass();
firewallActivity.startActivity(new Intent(firewallActivity, FirewallBlockedDomainsActivity.class));
return;
case 9:
SwitchMaterial switchMaterial7 = firewallActivity.Q.f18516u;
switchMaterial7.setChecked(!switchMaterial7.isChecked());
return;
case 10:
SwitchMaterial switchMaterial8 = firewallActivity.Q.f18521z;
switchMaterial8.setChecked(!switchMaterial8.isChecked());
return;
case 11:
SwitchMaterial switchMaterial9 = firewallActivity.Q.f18519x;
switchMaterial9.setChecked(!switchMaterial9.isChecked());
return;
case 12:
SwitchMaterial switchMaterial10 = firewallActivity.Q.f18520y;
switchMaterial10.setChecked(!switchMaterial10.isChecked());
return;
case 13:
SwitchMaterial switchMaterial11 = firewallActivity.Q.f18517v;
switchMaterial11.setChecked(!switchMaterial11.isChecked());
return;
case 14:
SwitchMaterial switchMaterial12 = firewallActivity.Q.f18518w;
switchMaterial12.setChecked(!switchMaterial12.isChecked());
return;
case 15:
int i21 = FirewallActivity.Y;
firewallActivity.getClass();
String string11 = firewallActivity.getString(R.string.socks5_address);
SharedPreferences sharedPreferences5 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string11, "127.0.0.1", sharedPreferences5.getString("YMzH9ilTI4", ""), 1, new z(firewallActivity, 0)).show();
return;
case 16:
int i22 = FirewallActivity.Y;
firewallActivity.getClass();
String string12 = firewallActivity.getString(R.string.socks5_port);
SharedPreferences sharedPreferences6 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string12, "1080", String.valueOf(sharedPreferences6.getInt("FDguxwMskM", 0)), 0, new z(firewallActivity, 6)).show();
return;
default:
int i23 = FirewallActivity.Y;
firewallActivity.getClass();
String string13 = firewallActivity.getString(R.string.socks5_username);
SharedPreferences sharedPreferences7 = firewallActivity.T;
Objects.requireNonNull(firewallActivity.S);
new c9.q(firewallActivity, string13, "", sharedPreferences7.getString("aEY0Hzqp0s", ""), 1, new z(firewallActivity, 4)).show();
return;
}
}
});
this.Q.f18516u.setChecked(this.T.getBoolean("9p7ob3xTQz", true));
this.Q.f18516u.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener(this) {
public final FirewallActivity f454b;
{
this.f454b = this;
}
@Override
public final void onCheckedChanged(CompoundButton compoundButton, boolean z10) {
int i11 = r2;
FirewallActivity firewallActivity = this.f454b;
switch (i11) {
case 0:
i.y(firewallActivity.S, firewallActivity.U, "9p7ob3xTQz", z10);
return;
case 1:
int i12 = FirewallActivity.Y;
firewallActivity.getClass();
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "sTFhJQlMHh", z10);
return;
case 2:
int i13 = FirewallActivity.Y;
firewallActivity.J(z10);
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "tDliaSKwvA", z10);
return;
case 3:
int i14 = FirewallActivity.Y;
firewallActivity.getClass();
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "hjK41XJH4Z", z10);
return;
case 4:
int i15 = FirewallActivity.Y;
firewallActivity.getClass();
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "KmViiULbeo", z10);
return;
default:
int i16 = FirewallActivity.Y;
firewallActivity.I(z10);
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "zwEr4tv67J", z10);
return;
}
}
});
this.Q.f18521z.setChecked(this.T.getBoolean("sTFhJQlMHh", true));
this.Q.f18521z.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener(this) {
public final FirewallActivity f454b;
{
this.f454b = this;
}
@Override
public final void onCheckedChanged(CompoundButton compoundButton, boolean z10) {
int i11 = r2;
FirewallActivity firewallActivity = this.f454b;
switch (i11) {
case 0:
i.y(firewallActivity.S, firewallActivity.U, "9p7ob3xTQz", z10);
return;
case 1:
int i12 = FirewallActivity.Y;
firewallActivity.getClass();
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "sTFhJQlMHh", z10);
return;
case 2:
int i13 = FirewallActivity.Y;
firewallActivity.J(z10);
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "tDliaSKwvA", z10);
return;
case 3:
int i14 = FirewallActivity.Y;
firewallActivity.getClass();
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "hjK41XJH4Z", z10);
return;
case 4:
int i15 = FirewallActivity.Y;
firewallActivity.getClass();
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "KmViiULbeo", z10);
return;
default:
int i16 = FirewallActivity.Y;
firewallActivity.I(z10);
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "zwEr4tv67J", z10);
return;
}
}
});
boolean z10 = this.T.getBoolean("tDliaSKwvA", false);
J(z10);
this.Q.f18519x.setChecked(z10);
this.Q.f18519x.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener(this) {
public final FirewallActivity f454b;
{
this.f454b = this;
}
@Override
public final void onCheckedChanged(CompoundButton compoundButton, boolean z102) {
int i11 = r2;
FirewallActivity firewallActivity = this.f454b;
switch (i11) {
case 0:
i.y(firewallActivity.S, firewallActivity.U, "9p7ob3xTQz", z102);
return;
case 1:
int i12 = FirewallActivity.Y;
firewallActivity.getClass();
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "sTFhJQlMHh", z102);
return;
case 2:
int i13 = FirewallActivity.Y;
firewallActivity.J(z102);
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "tDliaSKwvA", z102);
return;
case 3:
int i14 = FirewallActivity.Y;
firewallActivity.getClass();
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "hjK41XJH4Z", z102);
return;
case 4:
int i15 = FirewallActivity.Y;
firewallActivity.getClass();
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "KmViiULbeo", z102);
return;
default:
int i16 = FirewallActivity.Y;
firewallActivity.I(z102);
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "zwEr4tv67J", z102);
return;
}
}
});
this.Q.f18520y.setChecked(this.T.getBoolean("hjK41XJH4Z", false));
this.Q.f18520y.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener(this) {
public final FirewallActivity f454b;
{
this.f454b = this;
}
@Override
public final void onCheckedChanged(CompoundButton compoundButton, boolean z102) {
int i11 = r2;
FirewallActivity firewallActivity = this.f454b;
switch (i11) {
case 0:
i.y(firewallActivity.S, firewallActivity.U, "9p7ob3xTQz", z102);
return;
case 1:
int i12 = FirewallActivity.Y;
firewallActivity.getClass();
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "sTFhJQlMHh", z102);
return;
case 2:
int i13 = FirewallActivity.Y;
firewallActivity.J(z102);
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "tDliaSKwvA", z102);
return;
case 3:
int i14 = FirewallActivity.Y;
firewallActivity.getClass();
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "hjK41XJH4Z", z102);
return;
case 4:
int i15 = FirewallActivity.Y;
firewallActivity.getClass();
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "KmViiULbeo", z102);
return;
default:
int i16 = FirewallActivity.Y;
firewallActivity.I(z102);
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "zwEr4tv67J", z102);
return;
}
}
});
this.Q.f18517v.setChecked(this.T.getBoolean("KmViiULbeo", false));
this.Q.f18517v.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener(this) {
public final FirewallActivity f454b;
{
this.f454b = this;
}
@Override
public final void onCheckedChanged(CompoundButton compoundButton, boolean z102) {
int i11 = r2;
FirewallActivity firewallActivity = this.f454b;
switch (i11) {
case 0:
i.y(firewallActivity.S, firewallActivity.U, "9p7ob3xTQz", z102);
return;
case 1:
int i12 = FirewallActivity.Y;
firewallActivity.getClass();
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "sTFhJQlMHh", z102);
return;
case 2:
int i13 = FirewallActivity.Y;
firewallActivity.J(z102);
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "tDliaSKwvA", z102);
return;
case 3:
int i14 = FirewallActivity.Y;
firewallActivity.getClass();
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "hjK41XJH4Z", z102);
return;
case 4:
int i15 = FirewallActivity.Y;
firewallActivity.getClass();
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "KmViiULbeo", z102);
return;
default:
int i16 = FirewallActivity.Y;
firewallActivity.I(z102);
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "zwEr4tv67J", z102);
return;
}
}
});
boolean z11 = this.T.getBoolean("zwEr4tv67J", false);
I(z11);
this.Q.f18518w.setChecked(z11);
this.Q.f18518w.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener(this) {
public final FirewallActivity f454b;
{
this.f454b = this;
}
@Override
public final void onCheckedChanged(CompoundButton compoundButton, boolean z102) {
int i11 = r2;
FirewallActivity firewallActivity = this.f454b;
switch (i11) {
case 0:
i.y(firewallActivity.S, firewallActivity.U, "9p7ob3xTQz", z102);
return;
case 1:
int i12 = FirewallActivity.Y;
firewallActivity.getClass();
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "sTFhJQlMHh", z102);
return;
case 2:
int i13 = FirewallActivity.Y;
firewallActivity.J(z102);
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "tDliaSKwvA", z102);
return;
case 3:
int i14 = FirewallActivity.Y;
firewallActivity.getClass();
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "hjK41XJH4Z", z102);
return;
case 4:
int i15 = FirewallActivity.Y;
firewallActivity.getClass();
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "KmViiULbeo", z102);
return;
default:
int i16 = FirewallActivity.Y;
firewallActivity.I(z102);
Objects.requireNonNull(firewallActivity.R);
firewallActivity.sendBroadcast(new Intent("action_restart_firewall"));
i.y(firewallActivity.S, firewallActivity.U, "zwEr4tv67J", z102);
return;
}
}
});
return;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i10)));
}
@Override
public final void onDestroy() {
s sVar = this.W;
if (sVar != null) {
sVar.b();
}
i.f18097q = false;
super.onDestroy();
}
@Override
public final boolean onOptionsItemSelected(MenuItem menuItem) {
if (menuItem.getItemId() == 16908332) {
onBackPressed();
}
return super.onOptionsItemSelected(menuItem);
}
@Override
public final void onResume() {
super.onResume();
SharedPreferences sharedPreferences = this.T;
a aVar = this.S;
Objects.requireNonNull(aVar);
Objects.requireNonNull(aVar);
if (sharedPreferences.getBoolean("Rt3Lkfhr8C", false)) {
H(true);
} else {
G(true);
}
}
}