2021-09-30 06:24:59 +00:00
|
|
|
package com.discord.widgets.guilds.invite;
|
|
|
|
|
2021-10-15 06:18:26 +00:00
|
|
|
import c0.z.d.o;
|
2021-09-30 06:24:59 +00:00
|
|
|
import com.discord.analytics.generated.events.impression.TrackImpressionGuildAddGuildInvite;
|
|
|
|
import com.discord.analytics.generated.events.impression.TrackImpressionGuildInvite;
|
|
|
|
import com.discord.analytics.generated.traits.TrackImpressionMetadata;
|
|
|
|
import com.discord.analytics.utils.ImpressionGroups;
|
|
|
|
import com.discord.api.science.AnalyticsSchema;
|
|
|
|
import kotlin.jvm.functions.Function0;
|
|
|
|
/* compiled from: WidgetGuildInviteShareSheet.kt */
|
|
|
|
public final class WidgetGuildInviteShareSheet$loggingConfig$1 extends o implements Function0<AnalyticsSchema> {
|
|
|
|
public final /* synthetic */ WidgetGuildInviteShareSheet this$0;
|
|
|
|
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
|
|
public WidgetGuildInviteShareSheet$loggingConfig$1(WidgetGuildInviteShareSheet widgetGuildInviteShareSheet) {
|
|
|
|
super(0);
|
|
|
|
this.this$0 = widgetGuildInviteShareSheet;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
|
|
/* renamed from: invoke */
|
2021-10-15 06:18:26 +00:00
|
|
|
public final AnalyticsSchema mo17invoke() {
|
2021-09-30 06:24:59 +00:00
|
|
|
String string = WidgetGuildInviteShareSheet.access$getArgumentsOrDefault$p(this.this$0).getString("ARG_ANALYTICS_SOURCE");
|
|
|
|
if (string != null && string.hashCode() == -1756346871 && string.equals("Guild Create")) {
|
|
|
|
TrackImpressionGuildAddGuildInvite trackImpressionGuildAddGuildInvite = new TrackImpressionGuildAddGuildInvite();
|
|
|
|
trackImpressionGuildAddGuildInvite.c(new TrackImpressionMetadata(null, null, null, ImpressionGroups.GUILD_ADD_FLOW, 7));
|
|
|
|
return trackImpressionGuildAddGuildInvite;
|
|
|
|
}
|
|
|
|
return new TrackImpressionGuildInvite(Long.valueOf(WidgetGuildInviteShareSheet.access$getArgumentsOrDefault$p(this.this$0).getLong("ARG_GUILD_ID")), Long.valueOf(WidgetGuildInviteShareSheet.access$getArgumentsOrDefault$p(this.this$0).getLong("ARG_CHANNEL_ID")));
|
|
|
|
}
|
|
|
|
}
|