正在查看: Kredinesia v8.3.1 应用的 e.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Kredinesia v8.3.1 应用的 e.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package H2;
import com.facebook.FacebookException;
import java.util.Arrays;
import java.util.Locale;
import org.json.JSONException;
import org.json.JSONObject;
import y2.C2048b;
public final class e implements j2.q {
public final int a;
public final k f1043b;
public e(k kVar, int i4) {
this.a = i4;
this.f1043b = kVar;
}
@Override
public final void onCompleted(j2.x xVar) {
switch (this.a) {
case 0:
k this$0 = this.f1043b;
kotlin.jvm.internal.i.f(this$0, "this$0");
if (!this$0.f1061b1.get()) {
j2.k kVar = xVar.f11496c;
if (kVar != null) {
int i4 = kVar.f11473c;
if (i4 != 1349174 && i4 != 1349172) {
if (i4 != 1349152) {
if (i4 != 1349173) {
FacebookException facebookException = kVar.f11471T;
if (facebookException == null) {
facebookException = new FacebookException();
}
this$0.a0(facebookException);
break;
} else {
this$0.Z();
break;
}
} else {
i iVar = this$0.f1064e1;
if (iVar != null) {
C2048b c2048b = C2048b.a;
C2048b.a(iVar.f1054b);
}
r rVar = this$0.f1067h1;
if (rVar == null) {
this$0.Z();
break;
} else {
this$0.f0(rVar);
break;
}
}
} else {
this$0.d0();
break;
}
} else {
try {
JSONObject jSONObject = xVar.f11495b;
if (jSONObject == null) {
jSONObject = new JSONObject();
}
String string = jSONObject.getString("access_token");
kotlin.jvm.internal.i.e(string, "resultObject.getString(\"access_token\")");
this$0.b0(string, jSONObject.getLong("expires_in"), Long.valueOf(jSONObject.optLong("data_access_expiration_time")));
break;
} catch (JSONException e10) {
this$0.a0(new FacebookException(e10));
return;
}
}
}
break;
default:
k this$02 = this.f1043b;
kotlin.jvm.internal.i.f(this$02, "this$0");
if (!this$02.f1065f1) {
j2.k kVar2 = xVar.f11496c;
if (kVar2 != null) {
FacebookException facebookException2 = kVar2.f11471T;
if (facebookException2 == null) {
facebookException2 = new FacebookException();
}
this$02.a0(facebookException2);
break;
} else {
JSONObject jSONObject2 = xVar.f11495b;
if (jSONObject2 == null) {
jSONObject2 = new JSONObject();
}
i iVar2 = new i();
try {
String string2 = jSONObject2.getString("user_code");
iVar2.f1054b = string2;
iVar2.a = String.format(Locale.ENGLISH, "https://facebook.com/device?user_code=%1$s&qr=1", Arrays.copyOf(new Object[]{string2}, 1));
iVar2.f1055c = jSONObject2.getString("code");
iVar2.f1056d = jSONObject2.getLong("interval");
this$02.e0(iVar2);
break;
} catch (JSONException e11) {
this$02.a0(new FacebookException(e11));
}
}
}
break;
}
}
}