39 lines
1.7 KiB
Java
39 lines
1.7 KiB
Java
package com.discord.widgets.guildscheduledevent;
|
|
|
|
import android.os.Bundle;
|
|
import b.d.b.a.a;
|
|
import com.discord.app.AppBottomSheet;
|
|
import d0.z.d.o;
|
|
import kotlin.jvm.functions.Function0;
|
|
/* compiled from: ArgUtils.kt */
|
|
/* loaded from: classes2.dex */
|
|
public final class WidgetGuildScheduledEventDetailsExtrasBottomSheet$$special$$inlined$args$1 extends o implements Function0<GuildScheduledEventDetailsArgs> {
|
|
public final /* synthetic */ String $argsKey;
|
|
public final /* synthetic */ AppBottomSheet $this_args;
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public WidgetGuildScheduledEventDetailsExtrasBottomSheet$$special$$inlined$args$1(AppBottomSheet appBottomSheet, String str) {
|
|
super(0);
|
|
this.$this_args = appBottomSheet;
|
|
this.$argsKey = str;
|
|
}
|
|
|
|
/* JADX WARN: Can't rename method to resolve collision */
|
|
@Override // kotlin.jvm.functions.Function0
|
|
public final GuildScheduledEventDetailsArgs invoke() {
|
|
Bundle arguments = this.$this_args.getArguments();
|
|
GuildScheduledEventDetailsArgs guildScheduledEventDetailsArgs = null;
|
|
Object obj = arguments != null ? arguments.get(this.$argsKey) : null;
|
|
if (obj instanceof GuildScheduledEventDetailsArgs) {
|
|
guildScheduledEventDetailsArgs = obj;
|
|
}
|
|
GuildScheduledEventDetailsArgs guildScheduledEventDetailsArgs2 = guildScheduledEventDetailsArgs;
|
|
if (guildScheduledEventDetailsArgs2 != null) {
|
|
return guildScheduledEventDetailsArgs2;
|
|
}
|
|
StringBuilder R = a.R("Missing args for class type ");
|
|
a.j0(GuildScheduledEventDetailsArgs.class, R, " + key ");
|
|
throw new IllegalStateException(a.G(R, this.$argsKey, '!'));
|
|
}
|
|
}
|