2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.hubs;
|
|
|
|
|
|
|
|
import android.os.Bundle;
|
2021-12-17 21:59:34 +00:00
|
|
|
import b.d.b.a.a;
|
2021-08-03 07:33:18 +00:00
|
|
|
import com.discord.app.AppFragment;
|
2021-11-02 06:38:17 +00:00
|
|
|
import d0.z.d.o;
|
2021-08-03 07:33:18 +00:00
|
|
|
import kotlin.jvm.functions.Function0;
|
|
|
|
/* compiled from: ArgUtils.kt */
|
2021-08-10 21:19:22 +00:00
|
|
|
public final class WidgetHubEmailFlow$$special$$inlined$args$1 extends o implements Function0<HubEmailArgs> {
|
2021-08-03 07:33:18 +00:00
|
|
|
public final /* synthetic */ String $argsKey;
|
|
|
|
public final /* synthetic */ AppFragment $this_args;
|
|
|
|
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
2021-08-10 21:19:22 +00:00
|
|
|
public WidgetHubEmailFlow$$special$$inlined$args$1(AppFragment appFragment, String str) {
|
2021-08-03 07:33:18 +00:00
|
|
|
super(0);
|
|
|
|
this.$this_args = appFragment;
|
|
|
|
this.$argsKey = str;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
|
|
/* JADX WARNING: Unknown variable types count: 1 */
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
|
|
/* renamed from: invoke */
|
2021-11-02 06:38:17 +00:00
|
|
|
public final HubEmailArgs mo1invoke() {
|
2021-08-03 07:33:18 +00:00
|
|
|
Bundle arguments = this.$this_args.getArguments();
|
|
|
|
Object obj = null;
|
|
|
|
Object obj2 = arguments != null ? arguments.get(this.$argsKey) : null;
|
|
|
|
if (obj2 instanceof HubEmailArgs) {
|
|
|
|
obj = obj2;
|
|
|
|
}
|
|
|
|
HubEmailArgs hubEmailArgs = (HubEmailArgs) obj;
|
|
|
|
HubEmailArgs hubEmailArgs2 = hubEmailArgs;
|
|
|
|
if (hubEmailArgs == null) {
|
|
|
|
hubEmailArgs2 = this.$this_args.getMostRecentIntent().getParcelableExtra(this.$argsKey);
|
|
|
|
}
|
|
|
|
if (hubEmailArgs2 != null) {
|
|
|
|
return hubEmailArgs2;
|
|
|
|
}
|
2021-11-05 06:48:17 +00:00
|
|
|
StringBuilder R = a.R("Missing args for class type ");
|
2021-12-17 21:59:34 +00:00
|
|
|
a.j0(HubEmailArgs.class, R, " + key ");
|
2021-11-05 06:48:17 +00:00
|
|
|
throw new IllegalStateException(a.G(R, this.$argsKey, '!'));
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
}
|