discord-jadx/app/src/main/java/com/discord/widgets/hubs/WidgetDiscordHubEmailFlow$$...

45 lines
2.1 KiB
Java

package com.discord.widgets.hubs;
import android.os.Bundle;
import android.os.Parcelable;
import c.d.b.a.a;
import com.discord.app.AppFragment;
import d0.z.d.a0;
import d0.z.d.o;
import kotlin.jvm.functions.Function0;
/* compiled from: ArgUtils.kt */
public final class WidgetDiscordHubEmailFlow$$special$$inlined$args$1 extends o implements Function0<HubEmailArgs> {
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) */
public WidgetDiscordHubEmailFlow$$special$$inlined$args$1(AppFragment appFragment, String str) {
super(0);
this.$this_args = appFragment;
this.$argsKey = str;
}
/* JADX DEBUG: Multi-variable search result rejected for r0v3, resolved type: com.discord.widgets.hubs.HubEmailArgs */
/* JADX DEBUG: Multi-variable search result rejected for r0v7, resolved type: com.discord.widgets.hubs.HubEmailArgs */
/* JADX DEBUG: Multi-variable search result rejected for r0v9, resolved type: com.discord.widgets.hubs.HubEmailArgs */
/* JADX DEBUG: Multi-variable search result rejected for r0v10, resolved type: com.discord.widgets.hubs.HubEmailArgs */
/* JADX WARN: Multi-variable type inference failed */
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final HubEmailArgs mo1invoke() {
Parcelable parcelableExtra = this.$this_args.getMostRecentIntent().getParcelableExtra(this.$argsKey);
HubEmailArgs hubEmailArgs = parcelableExtra;
if (parcelableExtra == null) {
Bundle arguments = this.$this_args.getArguments();
hubEmailArgs = arguments != null ? arguments.getParcelable(this.$argsKey) : 0;
}
if (hubEmailArgs != 0) {
return hubEmailArgs;
}
StringBuilder L = a.L("Missing args for class type ");
L.append(a0.getOrCreateKotlinClass(HubEmailArgs.class).getSimpleName());
L.append(" + key ");
throw new IllegalStateException(a.C(L, this.$argsKey, '!'));
}
}