117.14 - Stable (117014)

This commit is contained in:
Juby210 2022-03-08 21:11:21 +00:00
parent 723ec75981
commit 8f4a250ae6
567 changed files with 16306 additions and 14498 deletions

View File

@ -10,8 +10,8 @@ android {
applicationId 'com.discord'
minSdkVersion 21
targetSdkVersion 30
versionCode 116006
versionName "116.6 - Stable"
versionCode 117014
versionName "117.14 - Stable"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="116006" android:versionName="116.6 - Stable" android:installLocation="auto" android:compileSdkVersion="30" android:compileSdkVersionCodename="11" package="com.discord" platformBuildVersionCode="30" platformBuildVersionName="11">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="117014" android:versionName="117.14 - Stable" android:installLocation="auto" android:compileSdkVersion="30" android:compileSdkVersionCodename="11" package="com.discord" platformBuildVersionCode="30" platformBuildVersionName="11">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="30"/>
<uses-feature android:name="android.hardware.camera" android:required="false"/>
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>

File diff suppressed because one or more lines are too long

View File

@ -46,7 +46,7 @@ public final class a extends AppDialog {
/* compiled from: java-style lambda group */
/* renamed from: b.a.a.a.a$a reason: collision with other inner class name */
/* loaded from: classes2.dex */
/* loaded from: classes.dex */
public static final class View$OnClickListenerC0007a implements View.OnClickListener {
public final /* synthetic */ int j;
public final /* synthetic */ Object k;

View File

@ -35,7 +35,7 @@ public final class a extends AppDialog {
/* compiled from: java-style lambda group */
/* renamed from: b.a.a.b.a$a reason: collision with other inner class name */
/* loaded from: classes2.dex */
/* loaded from: classes.dex */
public static final class View$OnClickListenerC0013a implements View.OnClickListener {
public final /* synthetic */ int j;
public final /* synthetic */ Object k;

View File

@ -35,7 +35,7 @@ public final class b extends AppDialog {
public final FragmentViewBindingDelegate q = FragmentViewBindingDelegateKt.viewBinding$default(this, c.j, null, 2, null);
/* compiled from: java-style lambda group */
/* loaded from: classes3.dex */
/* loaded from: classes.dex */
public static final class a implements View.OnClickListener {
public final /* synthetic */ int j;
public final /* synthetic */ Object k;

View File

@ -38,7 +38,7 @@ public final class c extends AppDialog {
public Function0<Unit> m;
/* compiled from: java-style lambda group */
/* loaded from: classes3.dex */
/* loaded from: classes.dex */
public static final class a implements View.OnClickListener {
public final /* synthetic */ int j;
public final /* synthetic */ Object k;

View File

@ -46,7 +46,7 @@ public final class a extends AppDialog {
/* compiled from: java-style lambda group */
/* renamed from: b.a.a.d.a$a reason: collision with other inner class name */
/* loaded from: classes3.dex */
/* loaded from: classes2.dex */
public static final class View$OnClickListenerC0017a implements View.OnClickListener {
public final /* synthetic */ int j;
public final /* synthetic */ Object k;

View File

@ -33,7 +33,7 @@ public final class e extends AppDialog {
public final FragmentViewBindingDelegate n = FragmentViewBindingDelegateKt.viewBinding$default(this, d.j, null, 2, null);
/* compiled from: java-style lambda group */
/* loaded from: classes3.dex */
/* loaded from: classes2.dex */
public static final class a implements View.OnClickListener {
public final /* synthetic */ int j;
public final /* synthetic */ Object k;

View File

@ -43,7 +43,7 @@ public final class a extends AppDialog {
/* compiled from: java-style lambda group */
/* renamed from: b.a.a.f.a.a$a reason: collision with other inner class name */
/* loaded from: classes3.dex */
/* loaded from: classes2.dex */
public static final class View$OnClickListenerC0020a implements View.OnClickListener {
public final /* synthetic */ int j;
public final /* synthetic */ Object k;

View File

@ -153,7 +153,7 @@ public class d {
public static Boolean f;
/* compiled from: ArrayBuilders.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public static class a {
public final /* synthetic */ Class a;

View File

@ -2,7 +2,7 @@ package b.g.a.c.i0;
import java.lang.annotation.Annotation;
/* compiled from: Annotations.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public interface a {
<A extends Annotation> A a(Class<A> cls);

View File

@ -3,7 +3,7 @@ package b.g.a.c.i0;
import java.util.Iterator;
import java.util.NoSuchElementException;
/* compiled from: ArrayIterator.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public class b<T> implements Iterator<T>, Iterable<T> {
public final T[] j;
public int k = 0;

View File

@ -4,7 +4,7 @@ import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
/* compiled from: ByteBufferBackedInputStream.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public class c extends InputStream {
public final ByteBuffer j;

View File

@ -21,7 +21,7 @@ import java.util.EnumSet;
import java.util.Iterator;
import java.util.List;
/* compiled from: ClassUtil.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public final class d {
public static final Annotation[] a = new Annotation[0];
@ -30,7 +30,7 @@ public final class d {
public static final Iterator<?> c = Collections.emptyIterator();
/* compiled from: ClassUtil.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public static final class a {
public final Constructor<?> a;
@ -55,7 +55,7 @@ public final class d {
}
/* compiled from: ClassUtil.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public static class b {
public static final b a = new b();

View File

@ -3,11 +3,11 @@ package b.g.a.c.i0;
import b.g.a.c.h0.n;
import b.g.a.c.j;
/* compiled from: Converter.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public interface e<IN, OUT> {
/* compiled from: Converter.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public static abstract class a implements e<Object, Object> {
}

View File

@ -7,7 +7,7 @@ import b.g.a.c.z.l;
import java.io.Serializable;
import java.lang.annotation.Annotation;
/* compiled from: EnumValues.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public final class f implements Serializable {
private static final long serialVersionUID = 1;
private final Class<Enum<?>> _enumClass;

View File

@ -4,7 +4,7 @@ import java.io.Serializable;
import java.util.Collections;
import java.util.Set;
/* compiled from: IgnorePropertiesUtil.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public final class g implements Serializable {
private static final long serialVersionUID = 1;
private final Set<String> _toIgnore;

View File

@ -6,7 +6,7 @@ import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.concurrent.ConcurrentHashMap;
/* compiled from: LRUMap.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public class h<K, V> implements j<K, V>, Serializable {
private static final long serialVersionUID = 1;
public final transient int j;

View File

@ -1,5 +1,5 @@
package b.g.a.c.i0;
/* compiled from: LinkedNode.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public final class i<T> {
}

View File

@ -1,6 +1,6 @@
package b.g.a.c.i0;
/* compiled from: LookupCache.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public interface j<K, V> {
V get(Object obj);

View File

@ -2,7 +2,7 @@ package b.g.a.c.i0;
import b.d.b.a.a;
/* compiled from: NameTransformer.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public final class k extends n {
public final /* synthetic */ String k;
public final /* synthetic */ String l;

View File

@ -2,7 +2,7 @@ package b.g.a.c.i0;
import b.d.b.a.a;
/* compiled from: NameTransformer.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public final class l extends n {
public final /* synthetic */ String k;

View File

@ -2,7 +2,7 @@ package b.g.a.c.i0;
import b.d.b.a.a;
/* compiled from: NameTransformer.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public final class m extends n {
public final /* synthetic */ String k;

View File

@ -2,12 +2,12 @@ package b.g.a.c.i0;
import java.io.Serializable;
/* compiled from: NameTransformer.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public abstract class n {
public static final n j = new b();
/* compiled from: NameTransformer.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public static class a extends n implements Serializable {
private static final long serialVersionUID = 1;
public final n _t1;
@ -34,7 +34,7 @@ public abstract class n {
}
/* compiled from: NameTransformer.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public static final class b extends n implements Serializable {
private static final long serialVersionUID = 1;

View File

@ -2,6 +2,6 @@ package b.g.a.c.i0;
import b.g.a.c.m;
/* compiled from: RawValue.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public class o implements m {
}

View File

@ -4,7 +4,7 @@ import b.g.a.c.h0.b;
import b.g.a.c.t;
import java.io.Serializable;
/* compiled from: RootNameLookup.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public class p implements Serializable {
private static final long serialVersionUID = 1;
public transient h<b, t> j = new h<>(20, 200);

View File

@ -11,7 +11,7 @@ import b.g.a.c.t;
import b.g.a.c.z.l;
import java.util.Objects;
/* compiled from: SimpleBeanPropertyDefinition.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public class q extends s {
public final b k;
public final i l;

View File

@ -17,7 +17,7 @@ import java.util.TimeZone;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/* compiled from: StdDateFormat.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public class r extends DateFormat {
public static final Pattern j = Pattern.compile("\\d\\d\\d\\d[-]\\d\\d[-]\\d\\d");
public static final Pattern k;

View File

@ -12,12 +12,12 @@ import java.io.InputStream;
import java.math.BigDecimal;
import java.math.BigInteger;
/* compiled from: TokenBuffer.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public class s extends d {
public int m;
/* compiled from: TokenBuffer.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public static final class a extends b {
public int n = -1;
public t o = new t();

View File

@ -3,7 +3,7 @@ package b.g.a.c.i0;
import b.g.a.b.e;
import b.g.a.b.g;
/* compiled from: TokenBufferReadContext.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public class t extends g {
public final g c = null;
public final e d = e.j;

View File

@ -3,7 +3,7 @@ package b.g.a.c.i0;
import b.d.b.a.a;
import b.g.a.c.j;
/* compiled from: TypeKey.java */
/* loaded from: classes2.dex */
/* loaded from: classes3.dex */
public class u {
public int a;

View File

@ -16,6 +16,7 @@ public final class TrackExternalDynamicLinkReceived implements AnalyticsSchema,
private final CharSequence guildTemplateCode = null;
private final Boolean isBackgrounded = null;
private final CharSequence linkType = null;
private final CharSequence deeplinkSource = null;
private final transient String analyticsSchemaTypeName = "external_dynamic_link_received";
@Override // com.discord.api.science.AnalyticsSchema
@ -31,7 +32,7 @@ public final class TrackExternalDynamicLinkReceived implements AnalyticsSchema,
return false;
}
TrackExternalDynamicLinkReceived trackExternalDynamicLinkReceived = (TrackExternalDynamicLinkReceived) obj;
return m.areEqual(this.fingerprint, trackExternalDynamicLinkReceived.fingerprint) && m.areEqual(this.attemptId, trackExternalDynamicLinkReceived.attemptId) && m.areEqual(this.hasAuthToken, trackExternalDynamicLinkReceived.hasAuthToken) && m.areEqual(this.inviteCode, trackExternalDynamicLinkReceived.inviteCode) && m.areEqual(this.guildTemplateCode, trackExternalDynamicLinkReceived.guildTemplateCode) && m.areEqual(this.isBackgrounded, trackExternalDynamicLinkReceived.isBackgrounded) && m.areEqual(this.linkType, trackExternalDynamicLinkReceived.linkType);
return m.areEqual(this.fingerprint, trackExternalDynamicLinkReceived.fingerprint) && m.areEqual(this.attemptId, trackExternalDynamicLinkReceived.attemptId) && m.areEqual(this.hasAuthToken, trackExternalDynamicLinkReceived.hasAuthToken) && m.areEqual(this.inviteCode, trackExternalDynamicLinkReceived.inviteCode) && m.areEqual(this.guildTemplateCode, trackExternalDynamicLinkReceived.guildTemplateCode) && m.areEqual(this.isBackgrounded, trackExternalDynamicLinkReceived.isBackgrounded) && m.areEqual(this.linkType, trackExternalDynamicLinkReceived.linkType) && m.areEqual(this.deeplinkSource, trackExternalDynamicLinkReceived.deeplinkSource);
}
public int hashCode() {
@ -49,10 +50,12 @@ public final class TrackExternalDynamicLinkReceived implements AnalyticsSchema,
Boolean bool2 = this.isBackgrounded;
int hashCode6 = (hashCode5 + (bool2 != null ? bool2.hashCode() : 0)) * 31;
CharSequence charSequence4 = this.linkType;
if (charSequence4 != null) {
i = charSequence4.hashCode();
int hashCode7 = (hashCode6 + (charSequence4 != null ? charSequence4.hashCode() : 0)) * 31;
CharSequence charSequence5 = this.deeplinkSource;
if (charSequence5 != null) {
i = charSequence5.hashCode();
}
return hashCode6 + i;
return hashCode7 + i;
}
public String toString() {
@ -69,6 +72,8 @@ public final class TrackExternalDynamicLinkReceived implements AnalyticsSchema,
R.append(", isBackgrounded=");
R.append(this.isBackgrounded);
R.append(", linkType=");
return a.D(R, this.linkType, ")");
R.append(this.linkType);
R.append(", deeplinkSource=");
return a.D(R, this.deeplinkSource, ")");
}
}

View File

@ -10,6 +10,7 @@ import d0.z.d.m;
public final class TrackMobileWebHandoffFailure implements AnalyticsSchema, TrackBaseReceiver {
private TrackBase trackBase;
private final CharSequence reason = null;
private final Long fingerprint = null;
private final transient String analyticsSchemaTypeName = "mobile_web_handoff_failure";
@Override // com.discord.api.science.AnalyticsSchema
@ -18,21 +19,31 @@ public final class TrackMobileWebHandoffFailure implements AnalyticsSchema, Trac
}
public boolean equals(Object obj) {
if (this != obj) {
return (obj instanceof TrackMobileWebHandoffFailure) && m.areEqual(this.reason, ((TrackMobileWebHandoffFailure) obj).reason);
if (this == obj) {
return true;
}
return true;
if (!(obj instanceof TrackMobileWebHandoffFailure)) {
return false;
}
TrackMobileWebHandoffFailure trackMobileWebHandoffFailure = (TrackMobileWebHandoffFailure) obj;
return m.areEqual(this.reason, trackMobileWebHandoffFailure.reason) && m.areEqual(this.fingerprint, trackMobileWebHandoffFailure.fingerprint);
}
public int hashCode() {
CharSequence charSequence = this.reason;
if (charSequence != null) {
return charSequence.hashCode();
int i = 0;
int hashCode = (charSequence != null ? charSequence.hashCode() : 0) * 31;
Long l = this.fingerprint;
if (l != null) {
i = l.hashCode();
}
return 0;
return hashCode + i;
}
public String toString() {
return a.D(a.R("TrackMobileWebHandoffFailure(reason="), this.reason, ")");
StringBuilder R = a.R("TrackMobileWebHandoffFailure(reason=");
R.append(this.reason);
R.append(", fingerprint=");
return a.F(R, this.fingerprint, ")");
}
}

View File

@ -0,0 +1,44 @@
package com.discord.analytics.generated.events;
import b.d.b.a.a;
import com.discord.analytics.generated.traits.TrackBase;
import com.discord.analytics.generated.traits.TrackBaseReceiver;
import com.discord.analytics.generated.traits.TrackLocationMetadata;
import com.discord.analytics.generated.traits.TrackLocationMetadataReceiver;
import com.discord.analytics.generated.traits.TrackSourceMetadata;
import com.discord.analytics.generated.traits.TrackSourceMetadataReceiver;
import com.discord.api.science.AnalyticsSchema;
import d0.z.d.m;
/* compiled from: TrackPremiumEducationViewed.kt */
/* loaded from: classes.dex */
public final class TrackPremiumEducationViewed implements AnalyticsSchema, TrackBaseReceiver, TrackLocationMetadataReceiver, TrackSourceMetadataReceiver {
private TrackBase trackBase;
private TrackLocationMetadata trackLocationMetadata;
private TrackSourceMetadata trackSourceMetadata;
private final CharSequence type = null;
private final transient String analyticsSchemaTypeName = "premium_education_viewed";
@Override // com.discord.api.science.AnalyticsSchema
public String b() {
return this.analyticsSchemaTypeName;
}
public boolean equals(Object obj) {
if (this != obj) {
return (obj instanceof TrackPremiumEducationViewed) && m.areEqual(this.type, ((TrackPremiumEducationViewed) obj).type);
}
return true;
}
public int hashCode() {
CharSequence charSequence = this.type;
if (charSequence != null) {
return charSequence.hashCode();
}
return 0;
}
public String toString() {
return a.D(a.R("TrackPremiumEducationViewed(type="), this.type, ")");
}
}

View File

@ -0,0 +1,7 @@
package com.discord.analytics.generated.events;
import com.discord.api.science.AnalyticsSchema;
/* compiled from: TrackPremiumEducationViewed.kt */
/* loaded from: classes.dex */
public interface TrackPremiumEducationViewedReceiver extends AnalyticsSchema {
}

View File

@ -0,0 +1,47 @@
package com.discord.analytics.generated.events;
import b.d.b.a.a;
import com.discord.analytics.generated.traits.TrackBase;
import com.discord.analytics.generated.traits.TrackBaseReceiver;
import com.discord.analytics.generated.traits.TrackChannel;
import com.discord.analytics.generated.traits.TrackChannelReceiver;
import com.discord.analytics.generated.traits.TrackGuild;
import com.discord.analytics.generated.traits.TrackGuildReceiver;
import com.discord.analytics.generated.traits.TrackOverlayClientMetadata;
import com.discord.analytics.generated.traits.TrackOverlayClientMetadataReceiver;
import com.discord.api.science.AnalyticsSchema;
import d0.z.d.m;
/* compiled from: TrackTextInVoiceOpened.kt */
/* loaded from: classes.dex */
public final class TrackTextInVoiceOpened implements AnalyticsSchema, TrackBaseReceiver, TrackGuildReceiver, TrackChannelReceiver, TrackOverlayClientMetadataReceiver {
private TrackBase trackBase;
private TrackChannel trackChannel;
private TrackGuild trackGuild;
private TrackOverlayClientMetadata trackOverlayClientMetadata;
private final Boolean channelIsNsfw = null;
private final transient String analyticsSchemaTypeName = "text_in_voice_opened";
@Override // com.discord.api.science.AnalyticsSchema
public String b() {
return this.analyticsSchemaTypeName;
}
public boolean equals(Object obj) {
if (this != obj) {
return (obj instanceof TrackTextInVoiceOpened) && m.areEqual(this.channelIsNsfw, ((TrackTextInVoiceOpened) obj).channelIsNsfw);
}
return true;
}
public int hashCode() {
Boolean bool = this.channelIsNsfw;
if (bool != null) {
return bool.hashCode();
}
return 0;
}
public String toString() {
return a.C(a.R("TrackTextInVoiceOpened(channelIsNsfw="), this.channelIsNsfw, ")");
}
}

View File

@ -0,0 +1,7 @@
package com.discord.analytics.generated.events;
import com.discord.api.science.AnalyticsSchema;
/* compiled from: TrackTextInVoiceOpened.kt */
/* loaded from: classes.dex */
public interface TrackTextInVoiceOpenedReceiver extends AnalyticsSchema {
}

View File

@ -0,0 +1,122 @@
package com.discord.analytics.generated.events.activity_internal;
import b.d.b.a.a;
import com.discord.analytics.generated.traits.TrackActivityInternalMetadata;
import com.discord.analytics.generated.traits.TrackActivityInternalMetadataReceiver;
import com.discord.analytics.generated.traits.TrackBase;
import com.discord.analytics.generated.traits.TrackBaseReceiver;
import com.discord.api.science.AnalyticsSchema;
import d0.z.d.m;
/* compiled from: TrackActivityInternalActionPoker.kt */
/* loaded from: classes.dex */
public final class TrackActivityInternalActionPoker implements AnalyticsSchema, TrackBaseReceiver, TrackActivityInternalMetadataReceiver {
private TrackActivityInternalMetadata trackActivityInternalMetadata;
private TrackBase trackBase;
private final CharSequence actionName = null;
private final Long numBots = null;
private final Long numPlayers = null;
private final Long numSpectators = null;
private final CharSequence phase = null;
private final Long turnDurationS = null;
private final CharSequence betAction = null;
private final Long betAmount = null;
private final Long winnings = null;
private final Long startingWallet = null;
private final Long currentWallet = null;
private final Long potSize = null;
private final Long tableRank = null;
private final CharSequence cosmeticType = null;
private final CharSequence cosmeticId = null;
private final Boolean cosmeticLocked = null;
private final transient String analyticsSchemaTypeName = "activity_internal_action_poker";
@Override // com.discord.api.science.AnalyticsSchema
public String b() {
return this.analyticsSchemaTypeName;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof TrackActivityInternalActionPoker)) {
return false;
}
TrackActivityInternalActionPoker trackActivityInternalActionPoker = (TrackActivityInternalActionPoker) obj;
return m.areEqual(this.actionName, trackActivityInternalActionPoker.actionName) && m.areEqual(this.numBots, trackActivityInternalActionPoker.numBots) && m.areEqual(this.numPlayers, trackActivityInternalActionPoker.numPlayers) && m.areEqual(this.numSpectators, trackActivityInternalActionPoker.numSpectators) && m.areEqual(this.phase, trackActivityInternalActionPoker.phase) && m.areEqual(this.turnDurationS, trackActivityInternalActionPoker.turnDurationS) && m.areEqual(this.betAction, trackActivityInternalActionPoker.betAction) && m.areEqual(this.betAmount, trackActivityInternalActionPoker.betAmount) && m.areEqual(this.winnings, trackActivityInternalActionPoker.winnings) && m.areEqual(this.startingWallet, trackActivityInternalActionPoker.startingWallet) && m.areEqual(this.currentWallet, trackActivityInternalActionPoker.currentWallet) && m.areEqual(this.potSize, trackActivityInternalActionPoker.potSize) && m.areEqual(this.tableRank, trackActivityInternalActionPoker.tableRank) && m.areEqual(this.cosmeticType, trackActivityInternalActionPoker.cosmeticType) && m.areEqual(this.cosmeticId, trackActivityInternalActionPoker.cosmeticId) && m.areEqual(this.cosmeticLocked, trackActivityInternalActionPoker.cosmeticLocked);
}
public int hashCode() {
CharSequence charSequence = this.actionName;
int i = 0;
int hashCode = (charSequence != null ? charSequence.hashCode() : 0) * 31;
Long l = this.numBots;
int hashCode2 = (hashCode + (l != null ? l.hashCode() : 0)) * 31;
Long l2 = this.numPlayers;
int hashCode3 = (hashCode2 + (l2 != null ? l2.hashCode() : 0)) * 31;
Long l3 = this.numSpectators;
int hashCode4 = (hashCode3 + (l3 != null ? l3.hashCode() : 0)) * 31;
CharSequence charSequence2 = this.phase;
int hashCode5 = (hashCode4 + (charSequence2 != null ? charSequence2.hashCode() : 0)) * 31;
Long l4 = this.turnDurationS;
int hashCode6 = (hashCode5 + (l4 != null ? l4.hashCode() : 0)) * 31;
CharSequence charSequence3 = this.betAction;
int hashCode7 = (hashCode6 + (charSequence3 != null ? charSequence3.hashCode() : 0)) * 31;
Long l5 = this.betAmount;
int hashCode8 = (hashCode7 + (l5 != null ? l5.hashCode() : 0)) * 31;
Long l6 = this.winnings;
int hashCode9 = (hashCode8 + (l6 != null ? l6.hashCode() : 0)) * 31;
Long l7 = this.startingWallet;
int hashCode10 = (hashCode9 + (l7 != null ? l7.hashCode() : 0)) * 31;
Long l8 = this.currentWallet;
int hashCode11 = (hashCode10 + (l8 != null ? l8.hashCode() : 0)) * 31;
Long l9 = this.potSize;
int hashCode12 = (hashCode11 + (l9 != null ? l9.hashCode() : 0)) * 31;
Long l10 = this.tableRank;
int hashCode13 = (hashCode12 + (l10 != null ? l10.hashCode() : 0)) * 31;
CharSequence charSequence4 = this.cosmeticType;
int hashCode14 = (hashCode13 + (charSequence4 != null ? charSequence4.hashCode() : 0)) * 31;
CharSequence charSequence5 = this.cosmeticId;
int hashCode15 = (hashCode14 + (charSequence5 != null ? charSequence5.hashCode() : 0)) * 31;
Boolean bool = this.cosmeticLocked;
if (bool != null) {
i = bool.hashCode();
}
return hashCode15 + i;
}
public String toString() {
StringBuilder R = a.R("TrackActivityInternalActionPoker(actionName=");
R.append(this.actionName);
R.append(", numBots=");
R.append(this.numBots);
R.append(", numPlayers=");
R.append(this.numPlayers);
R.append(", numSpectators=");
R.append(this.numSpectators);
R.append(", phase=");
R.append(this.phase);
R.append(", turnDurationS=");
R.append(this.turnDurationS);
R.append(", betAction=");
R.append(this.betAction);
R.append(", betAmount=");
R.append(this.betAmount);
R.append(", winnings=");
R.append(this.winnings);
R.append(", startingWallet=");
R.append(this.startingWallet);
R.append(", currentWallet=");
R.append(this.currentWallet);
R.append(", potSize=");
R.append(this.potSize);
R.append(", tableRank=");
R.append(this.tableRank);
R.append(", cosmeticType=");
R.append(this.cosmeticType);
R.append(", cosmeticId=");
R.append(this.cosmeticId);
R.append(", cosmeticLocked=");
return a.C(R, this.cosmeticLocked, ")");
}
}

View File

@ -0,0 +1,7 @@
package com.discord.analytics.generated.events.activity_internal;
import com.discord.api.science.AnalyticsSchema;
/* compiled from: TrackActivityInternalActionPoker.kt */
/* loaded from: classes.dex */
public interface TrackActivityInternalActionPokerReceiver extends AnalyticsSchema {
}

View File

@ -0,0 +1,94 @@
package com.discord.analytics.generated.events.activity_internal;
import b.d.b.a.a;
import com.discord.analytics.generated.traits.TrackActivityInternalMetadata;
import com.discord.analytics.generated.traits.TrackActivityInternalMetadataReceiver;
import com.discord.analytics.generated.traits.TrackBase;
import com.discord.analytics.generated.traits.TrackBaseReceiver;
import com.discord.api.science.AnalyticsSchema;
import d0.z.d.m;
/* compiled from: TrackActivityInternalLocalSettingUpdated.kt */
/* loaded from: classes.dex */
public final class TrackActivityInternalLocalSettingUpdated implements AnalyticsSchema, TrackBaseReceiver, TrackActivityInternalMetadataReceiver {
private TrackActivityInternalMetadata trackActivityInternalMetadata;
private TrackBase trackBase;
private final CharSequence settingName = null;
private final CharSequence phase = null;
private final CharSequence valueStr = null;
private final CharSequence prevValueStr = null;
private final Boolean valueBool = null;
private final Boolean prevValueBool = null;
private final Long valueInt = null;
private final Long prevValueInt = null;
private final Float valueFloat = null;
private final Float prevValueFloat = null;
private final transient String analyticsSchemaTypeName = "activity_internal_local_setting_updated";
@Override // com.discord.api.science.AnalyticsSchema
public String b() {
return this.analyticsSchemaTypeName;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof TrackActivityInternalLocalSettingUpdated)) {
return false;
}
TrackActivityInternalLocalSettingUpdated trackActivityInternalLocalSettingUpdated = (TrackActivityInternalLocalSettingUpdated) obj;
return m.areEqual(this.settingName, trackActivityInternalLocalSettingUpdated.settingName) && m.areEqual(this.phase, trackActivityInternalLocalSettingUpdated.phase) && m.areEqual(this.valueStr, trackActivityInternalLocalSettingUpdated.valueStr) && m.areEqual(this.prevValueStr, trackActivityInternalLocalSettingUpdated.prevValueStr) && m.areEqual(this.valueBool, trackActivityInternalLocalSettingUpdated.valueBool) && m.areEqual(this.prevValueBool, trackActivityInternalLocalSettingUpdated.prevValueBool) && m.areEqual(this.valueInt, trackActivityInternalLocalSettingUpdated.valueInt) && m.areEqual(this.prevValueInt, trackActivityInternalLocalSettingUpdated.prevValueInt) && m.areEqual(this.valueFloat, trackActivityInternalLocalSettingUpdated.valueFloat) && m.areEqual(this.prevValueFloat, trackActivityInternalLocalSettingUpdated.prevValueFloat);
}
public int hashCode() {
CharSequence charSequence = this.settingName;
int i = 0;
int hashCode = (charSequence != null ? charSequence.hashCode() : 0) * 31;
CharSequence charSequence2 = this.phase;
int hashCode2 = (hashCode + (charSequence2 != null ? charSequence2.hashCode() : 0)) * 31;
CharSequence charSequence3 = this.valueStr;
int hashCode3 = (hashCode2 + (charSequence3 != null ? charSequence3.hashCode() : 0)) * 31;
CharSequence charSequence4 = this.prevValueStr;
int hashCode4 = (hashCode3 + (charSequence4 != null ? charSequence4.hashCode() : 0)) * 31;
Boolean bool = this.valueBool;
int hashCode5 = (hashCode4 + (bool != null ? bool.hashCode() : 0)) * 31;
Boolean bool2 = this.prevValueBool;
int hashCode6 = (hashCode5 + (bool2 != null ? bool2.hashCode() : 0)) * 31;
Long l = this.valueInt;
int hashCode7 = (hashCode6 + (l != null ? l.hashCode() : 0)) * 31;
Long l2 = this.prevValueInt;
int hashCode8 = (hashCode7 + (l2 != null ? l2.hashCode() : 0)) * 31;
Float f = this.valueFloat;
int hashCode9 = (hashCode8 + (f != null ? f.hashCode() : 0)) * 31;
Float f2 = this.prevValueFloat;
if (f2 != null) {
i = f2.hashCode();
}
return hashCode9 + i;
}
public String toString() {
StringBuilder R = a.R("TrackActivityInternalLocalSettingUpdated(settingName=");
R.append(this.settingName);
R.append(", phase=");
R.append(this.phase);
R.append(", valueStr=");
R.append(this.valueStr);
R.append(", prevValueStr=");
R.append(this.prevValueStr);
R.append(", valueBool=");
R.append(this.valueBool);
R.append(", prevValueBool=");
R.append(this.prevValueBool);
R.append(", valueInt=");
R.append(this.valueInt);
R.append(", prevValueInt=");
R.append(this.prevValueInt);
R.append(", valueFloat=");
R.append(this.valueFloat);
R.append(", prevValueFloat=");
R.append(this.prevValueFloat);
R.append(")");
return R.toString();
}
}

View File

@ -0,0 +1,7 @@
package com.discord.analytics.generated.events.activity_internal;
import com.discord.api.science.AnalyticsSchema;
/* compiled from: TrackActivityInternalLocalSettingUpdated.kt */
/* loaded from: classes.dex */
public interface TrackActivityInternalLocalSettingUpdatedReceiver extends AnalyticsSchema {
}

View File

@ -0,0 +1,57 @@
package com.discord.analytics.generated.events.activity_internal;
import b.d.b.a.a;
import com.discord.analytics.generated.traits.TrackActivityInternalMetadata;
import com.discord.analytics.generated.traits.TrackActivityInternalMetadataReceiver;
import com.discord.analytics.generated.traits.TrackBase;
import com.discord.analytics.generated.traits.TrackBaseReceiver;
import com.discord.api.science.AnalyticsSchema;
import d0.z.d.m;
/* compiled from: TrackActivityInternalMenuInteraction.kt */
/* loaded from: classes.dex */
public final class TrackActivityInternalMenuInteraction implements AnalyticsSchema, TrackBaseReceiver, TrackActivityInternalMetadataReceiver {
private TrackActivityInternalMetadata trackActivityInternalMetadata;
private TrackBase trackBase;
private final CharSequence menuName = null;
private final CharSequence interactionType = null;
private final CharSequence phase = null;
private final transient String analyticsSchemaTypeName = "activity_internal_menu_interaction";
@Override // com.discord.api.science.AnalyticsSchema
public String b() {
return this.analyticsSchemaTypeName;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof TrackActivityInternalMenuInteraction)) {
return false;
}
TrackActivityInternalMenuInteraction trackActivityInternalMenuInteraction = (TrackActivityInternalMenuInteraction) obj;
return m.areEqual(this.menuName, trackActivityInternalMenuInteraction.menuName) && m.areEqual(this.interactionType, trackActivityInternalMenuInteraction.interactionType) && m.areEqual(this.phase, trackActivityInternalMenuInteraction.phase);
}
public int hashCode() {
CharSequence charSequence = this.menuName;
int i = 0;
int hashCode = (charSequence != null ? charSequence.hashCode() : 0) * 31;
CharSequence charSequence2 = this.interactionType;
int hashCode2 = (hashCode + (charSequence2 != null ? charSequence2.hashCode() : 0)) * 31;
CharSequence charSequence3 = this.phase;
if (charSequence3 != null) {
i = charSequence3.hashCode();
}
return hashCode2 + i;
}
public String toString() {
StringBuilder R = a.R("TrackActivityInternalMenuInteraction(menuName=");
R.append(this.menuName);
R.append(", interactionType=");
R.append(this.interactionType);
R.append(", phase=");
return a.D(R, this.phase, ")");
}
}

View File

@ -0,0 +1,7 @@
package com.discord.analytics.generated.events.activity_internal;
import com.discord.api.science.AnalyticsSchema;
/* compiled from: TrackActivityInternalMenuInteraction.kt */
/* loaded from: classes.dex */
public interface TrackActivityInternalMenuInteractionReceiver extends AnalyticsSchema {
}

View File

@ -30,5 +30,6 @@ public enum GuildFeature {
ANIMATED_BANNER,
TEXT_IN_VOICE_ENABLED,
HAS_DIRECTORY_ENTRY,
EXPOSED_TO_BOOSTING_TIERS_EXPERIMENT
BOOSTING_TIERS_EXPERIMENT_SMALL_GUILD,
BOOSTING_TIERS_EXPERIMENT_MEDIUM_GUILD
}

View File

@ -5,11 +5,13 @@ import b.d.b.a.a;
import com.discord.api.channel.Channel;
import com.discord.api.channel.ChannelUtils;
import com.discord.api.message.Message;
import com.discord.api.permission.Permission;
import com.discord.models.domain.ModelNotificationSettings;
import com.discord.models.guild.Guild;
import com.discord.models.member.GuildMember;
import com.discord.models.user.User;
import com.discord.stores.StoreThreadsJoined;
import com.discord.utilities.permissions.PermissionUtils;
import com.discord.utilities.threads.ThreadUtils;
import d0.t.n;
import d0.z.d.m;
@ -24,9 +26,9 @@ public final class NotificationTextUtils {
private NotificationTextUtils() {
}
private final boolean isNotificationAllowed(ModelNotificationSettings modelNotificationSettings, User user, Collection<Long> collection, Message message, Guild guild, Channel channel) {
private final boolean isNotificationAllowed(ModelNotificationSettings modelNotificationSettings, User user, Collection<Long> collection, Message message, Guild guild, Channel channel, Long l, long j) {
if (modelNotificationSettings.isMobilePush() && !isGuildOrCategoryOrChannelMuted(modelNotificationSettings, channel)) {
return shouldNotifyForLevel(channelMessageNotificationLevel(modelNotificationSettings, channel, guild), user, collection, message, modelNotificationSettings.isSuppressEveryone(), modelNotificationSettings.isSuppressRoles());
return shouldNotifyForLevel(channelMessageNotificationLevel(modelNotificationSettings, channel, guild), user, collection, message, channel, l, j, modelNotificationSettings.isSuppressEveryone(), modelNotificationSettings.isSuppressRoles());
}
return false;
}
@ -90,6 +92,60 @@ public final class NotificationTextUtils {
return true;
}
/* JADX WARN: Code restructure failed: missing block: B:19:0x0040, code lost:
if (r8 != true) goto L_0x0042;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
*/
private final boolean messageContainsMention(User user, Collection<Long> collection, Message message, boolean z2, boolean z3) {
List<Long> s2;
boolean z4;
boolean z5;
boolean z6;
if (!m.areEqual(message.r(), Boolean.TRUE) || z2) {
List<com.discord.api.user.User> t = message.t();
if (t != null) {
if (!t.isEmpty()) {
for (com.discord.api.user.User user2 : t) {
if (user2.getId() == user.getId()) {
z6 = true;
continue;
} else {
z6 = false;
continue;
}
if (z6) {
z5 = true;
break;
}
}
}
z5 = false;
}
if (z3 || (s2 = message.s()) == null) {
return false;
}
if (!s2.isEmpty()) {
for (Number number : s2) {
if (collection.contains(Long.valueOf(number.longValue()))) {
z4 = true;
break;
}
}
}
z4 = false;
if (!z4) {
return false;
}
}
return true;
}
public static /* synthetic */ boolean messageContainsMention$default(NotificationTextUtils notificationTextUtils, User user, Collection collection, Message message, boolean z2, boolean z3, int i, Object obj) {
return notificationTextUtils.messageContainsMention(user, collection, message, (i & 8) != 0 ? false : z2, (i & 16) != 0 ? false : z3);
}
private final Integer messageNotifications(ModelNotificationSettings modelNotificationSettings, long j) {
ModelNotificationSettings.ChannelOverride channelOverride = modelNotificationSettings.getChannelOverride(j);
if (channelOverride == null) {
@ -102,66 +158,28 @@ public final class NotificationTextUtils {
return null;
}
/* JADX WARN: Code restructure failed: missing block: B:32:0x0066, code lost:
if (r8 != true) goto L_0x0068;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
*/
private final boolean shouldNotifyForLevel(Integer num, User user, Collection<Long> collection, Message message, boolean z2, boolean z3) {
List<Long> s2;
boolean z4;
boolean z5;
boolean z6;
private final boolean shouldNotifyForLevel(Integer num, User user, Collection<Long> collection, Message message, Channel channel, Long l, long j, boolean z2, boolean z3) {
if (ChannelUtils.E(channel) && !PermissionUtils.can(Permission.CONNECT, l)) {
return false;
}
int i = ModelNotificationSettings.FREQUENCY_ALL;
if (num == null || num.intValue() != i) {
int i2 = ModelNotificationSettings.FREQUENCY_NOTHING;
int i2 = ModelNotificationSettings.FREQUENCY_MENTIONS;
if (num != null && num.intValue() == i2) {
return messageContainsMention(user, collection, message, z2, z3);
}
int i3 = ModelNotificationSettings.FREQUENCY_NOTHING;
if (num != null && num.intValue() == i3) {
return false;
}
int i3 = ModelNotificationSettings.FREQUENCY_MENTIONS;
if (num != null && num.intValue() == i3 && (!m.areEqual(message.r(), Boolean.TRUE) || z2)) {
List<com.discord.api.user.User> t = message.t();
if (t != null) {
if (!t.isEmpty()) {
for (com.discord.api.user.User user2 : t) {
if (user2.getId() == user.getId()) {
z6 = true;
continue;
} else {
z6 = false;
continue;
}
if (z6) {
z5 = true;
break;
}
}
}
z5 = false;
}
if (z3 || (s2 = message.s()) == null) {
return false;
}
if (!s2.isEmpty()) {
for (Number number : s2) {
if (collection.contains(Long.valueOf(number.longValue()))) {
z4 = true;
break;
}
}
}
z4 = false;
if (!z4) {
return false;
}
}
} else if (ChannelUtils.E(channel) && j != channel.h() && !messageContainsMention(user, collection, message, z2, z3)) {
return false;
}
return true;
}
public static /* synthetic */ boolean shouldNotifyForLevel$default(NotificationTextUtils notificationTextUtils, Integer num, User user, Collection collection, Message message, boolean z2, boolean z3, int i, Object obj) {
return notificationTextUtils.shouldNotifyForLevel(num, user, collection, message, (i & 16) != 0 ? false : z2, (i & 32) != 0 ? false : z3);
public static /* synthetic */ boolean shouldNotifyForLevel$default(NotificationTextUtils notificationTextUtils, Integer num, User user, Collection collection, Message message, Channel channel, Long l, long j, boolean z2, boolean z3, int i, Object obj) {
return notificationTextUtils.shouldNotifyForLevel(num, user, collection, message, channel, l, j, (i & 128) != 0 ? false : z2, (i & 256) != 0 ? false : z3);
}
public final Integer channelMessageNotificationLevel(ModelNotificationSettings modelNotificationSettings, Channel channel, Guild guild) {
@ -203,7 +221,7 @@ public final class NotificationTextUtils {
return channelOverride2 != null && channelOverride2.isMuted();
}
public final boolean shouldNotifyInAppPopup(User user, Message message, Channel channel, Map<Long, Integer> map, Channel channel2, Guild guild, Map<Long, ? extends Map<Long, GuildMember>> map2, Map<Long, ? extends ModelNotificationSettings> map3, Map<Long, StoreThreadsJoined.JoinedThread> map4) {
public final boolean shouldNotifyInAppPopup(User user, Message message, Channel channel, Map<Long, Integer> map, Channel channel2, Guild guild, Map<Long, ? extends Map<Long, GuildMember>> map2, Map<Long, ? extends ModelNotificationSettings> map3, Map<Long, StoreThreadsJoined.JoinedThread> map4, long j, Long l) {
com.discord.api.user.User e;
List<Long> list;
m.checkNotNullParameter(user, "me");
@ -231,11 +249,11 @@ public final class NotificationTextUtils {
return isThreadNotificationAllowed(user, list, message, (StoreThreadsJoined.JoinedThread) a.c(channel, map4), modelNotificationSettings, guild, channel, channel2);
}
if (modelNotificationSettings != null) {
return isNotificationAllowed(modelNotificationSettings, user, list, message, guild, channel);
return isNotificationAllowed(modelNotificationSettings, user, list, message, guild, channel, l, j);
}
if (guild != null) {
num = Integer.valueOf(guild.getDefaultMessageNotifications());
}
return shouldNotifyForLevel$default(this, num, user, list, message, false, false, 48, null);
return shouldNotifyForLevel$default(this, num, user, list, message, channel, l, j, false, false, 384, null);
}
}

View File

@ -24,6 +24,7 @@ import com.discord.utilities.persister.Persister;
import com.discord.utilities.rest.RestAPI;
import com.discord.utilities.rx.ObservableExtensionsKt;
import com.google.firebase.crashlytics.FirebaseCrashlytics;
import d0.g0.t;
import d0.z.d.m;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
@ -39,7 +40,9 @@ public final class StoreAuthentication extends Store {
private static final String CACHE_KEY_FINGERPRINT = "STORE_AUTHED_FINGERPRINT";
private static final String CACHE_KEY_LOGIN = "STORE_AUTHED_LOGIN";
private static final String CACHE_KEY_TOKEN = "STORE_AUTHED_TOKEN";
private static final String CACHE_KEY_TOKEN_RNA = "token";
public static final Companion Companion = new Companion(null);
private static final String SHARED_PREFS_NAME_RNA = "CacheStore";
private Boolean _isConsentRequired;
private BehaviorSubject<String> ageGateError;
private String authToken;
@ -138,6 +141,10 @@ public final class StoreAuthentication extends Store {
return companion.getDeviceEmail(context);
}
public static final /* synthetic */ String access$getRnaAuthToken(Companion companion, Context context) {
return companion.getRnaAuthToken(context);
}
@SuppressLint({"MissingPermission"})
private final String getDeviceEmail(Context context) {
Account account;
@ -166,6 +173,14 @@ public final class StoreAuthentication extends Store {
}
return null;
}
private final String getRnaAuthToken(Context context) {
String string = context.getSharedPreferences(StoreAuthentication.SHARED_PREFS_NAME_RNA, 0).getString(StoreAuthentication.CACHE_KEY_TOKEN_RNA, null);
if (string != null) {
return t.replace$default(string, "\"", "", false, 4, (Object) null);
}
return null;
}
}
public StoreAuthentication(StoreStream storeStream, Dispatcher dispatcher) {
@ -255,7 +270,7 @@ public final class StoreAuthentication extends Store {
}
public final Observable<Void> authorizeIP(String str) {
m.checkNotNullParameter(str, "token");
m.checkNotNullParameter(str, CACHE_KEY_TOKEN_RNA);
return RestCallStateKt.logNetworkAction(ObservableExtensionsKt.restSubscribeOn$default(RestAPI.Companion.getApi().authorizeIP(new RestAPIParams.AuthorizeIP(str)), false, 1, null), StoreAuthentication$authorizeIP$1.INSTANCE);
}
@ -359,6 +374,9 @@ public final class StoreAuthentication extends Store {
setFingerprint(string, false);
}
String string2 = getPrefs().getString(CACHE_KEY_TOKEN, null);
if (string2 == null) {
string2 = Companion.access$getRnaAuthToken(Companion, context);
}
this.authToken = string2;
setAuthed(string2);
handleAgeGateError(null);

View File

@ -154,7 +154,7 @@ public final class StoreNotifications extends Store {
f.H0(f.c(k0.a), null, null, new StoreNotifications$handleChannelSelected$1(j, null), 3, null);
}
/* JADX WARN: Removed duplicated region for block: B:31:0x00ce */
/* JADX WARN: Removed duplicated region for block: B:31:0x00d2 */
/* JADX WARN: Removed duplicated region for block: B:43:? A[RETURN, SYNTHETIC] */
@StoreThread
/*
@ -181,7 +181,7 @@ public final class StoreNotifications extends Store {
} else {
channel = null;
if (channel == null) {
if (NotificationTextUtils.INSTANCE.shouldNotifyInAppPopup(this.stream.getUsers$app_productionGoogleRelease().getMeInternal$app_productionGoogleRelease(), message, channel, linkedHashMap, map != null ? map.get(Long.valueOf(channel.r())) : null, (Guild) a.u0(channel, this.stream.getGuilds$app_productionGoogleRelease().getGuildsInternal$app_productionGoogleRelease()), this.stream.getGuilds$app_productionGoogleRelease().getGuildMembersComputedInternal$app_productionGoogleRelease(), this.stream.getGuildSettings$app_productionGoogleRelease().getGuildSettingsInternal$app_productionGoogleRelease(), this.stream.getThreadsJoined$app_productionGoogleRelease().getAllJoinedThreadsInternal$app_productionGoogleRelease())) {
if (NotificationTextUtils.INSTANCE.shouldNotifyInAppPopup(this.stream.getUsers$app_productionGoogleRelease().getMeInternal$app_productionGoogleRelease(), message, channel, linkedHashMap, map != null ? map.get(Long.valueOf(channel.r())) : null, (Guild) a.u0(channel, this.stream.getGuilds$app_productionGoogleRelease().getGuildsInternal$app_productionGoogleRelease()), this.stream.getGuilds$app_productionGoogleRelease().getGuildMembersComputedInternal$app_productionGoogleRelease(), this.stream.getGuildSettings$app_productionGoogleRelease().getGuildSettingsInternal$app_productionGoogleRelease(), this.stream.getThreadsJoined$app_productionGoogleRelease().getAllJoinedThreadsInternal$app_productionGoogleRelease(), this.stream.getVoiceChannelSelected$app_productionGoogleRelease().getSelectedVoiceChannelId(), (Long) a.c(channel, this.stream.getPermissions$app_productionGoogleRelease().getPermissionsByChannel()))) {
displayPopup(new Message(message), channel);
return;
}

View File

@ -12,7 +12,7 @@ import d0.t.u;
import d0.z.d.m;
import java.util.ArrayList;
/* compiled from: ColorPickerUtils.kt */
/* loaded from: classes.dex */
/* loaded from: classes2.dex */
public final class ColorPickerUtils {
public static final ColorPickerUtils INSTANCE = new ColorPickerUtils();

View File

@ -13,7 +13,7 @@ import kotlin.jvm.functions.Function2;
import kotlinx.coroutines.CoroutineScope;
/* compiled from: RepresentativeColors.kt */
@e(c = "com.discord.utilities.colors.RepresentativeColors$getRepresentativeColorAsync$2", f = "RepresentativeColors.kt", l = {}, m = "invokeSuspend")
/* loaded from: classes.dex */
/* loaded from: classes2.dex */
public final class RepresentativeColors$getRepresentativeColorAsync$2 extends k implements Function2<CoroutineScope, Continuation<? super RepresentativeColors.RepresentativeColorResult>, Object> {
public final /* synthetic */ Bitmap $bitmap;
public int label;

View File

@ -20,7 +20,7 @@ import kotlin.jvm.functions.Function2;
import kotlinx.coroutines.CoroutineScope;
/* compiled from: RepresentativeColors.kt */
@e(c = "com.discord.utilities.colors.RepresentativeColors$handleBitmap$1", f = "RepresentativeColors.kt", l = {59}, m = "invokeSuspend")
/* loaded from: classes.dex */
/* loaded from: classes2.dex */
public final class RepresentativeColors$handleBitmap$1 extends k implements Function2<CoroutineScope, Continuation<? super Unit>, Object> {
public final /* synthetic */ Bitmap $bitmap;
public final /* synthetic */ Object $id;

View File

@ -3,7 +3,7 @@ package com.discord.utilities.colors;
import j0.k.b;
import java.util.Map;
/* compiled from: RepresentativeColors.kt */
/* loaded from: classes.dex */
/* loaded from: classes2.dex */
public final class RepresentativeColors$observeRepresentativeColor$1<T, R> implements b<Map<T, ? extends Integer>, Integer> {
public final /* synthetic */ Object $id;

View File

@ -22,7 +22,7 @@ import s.a.a.n;
import s.a.k0;
import s.a.x0;
/* compiled from: RepresentativeColors.kt */
/* loaded from: classes.dex */
/* loaded from: classes2.dex */
public final class RepresentativeColors<T> {
private final HashMap<T, Integer> representativeColors = new HashMap<>();
private final BehaviorSubject<Map<T, Integer>> representativeColorsSubject = BehaviorSubject.k0();
@ -30,7 +30,7 @@ public final class RepresentativeColors<T> {
private static final int BLURPLE = Color.parseColor("#5865f2");
/* compiled from: RepresentativeColors.kt */
/* loaded from: classes.dex */
/* loaded from: classes2.dex */
public static final class Companion {
private Companion() {
}
@ -41,16 +41,16 @@ public final class RepresentativeColors<T> {
}
/* compiled from: RepresentativeColors.kt */
/* loaded from: classes.dex */
/* loaded from: classes2.dex */
public static final class NoSwatchesFoundException extends RuntimeException {
}
/* compiled from: RepresentativeColors.kt */
/* loaded from: classes.dex */
/* loaded from: classes2.dex */
public static abstract class RepresentativeColorResult {
/* compiled from: RepresentativeColors.kt */
/* loaded from: classes.dex */
/* loaded from: classes2.dex */
public static final class Failure extends RepresentativeColorResult {
private final Exception exception;
@ -105,7 +105,7 @@ public final class RepresentativeColors<T> {
}
/* compiled from: RepresentativeColors.kt */
/* loaded from: classes.dex */
/* loaded from: classes2.dex */
public static final class Success extends RepresentativeColorResult {
private final int color;

View File

@ -3,7 +3,7 @@ package com.discord.utilities.colors;
import com.discord.models.user.User;
import d0.z.d.m;
/* compiled from: RepresentativeColors.kt */
/* loaded from: classes.dex */
/* loaded from: classes2.dex */
public final class RepresentativeColorsKt {
private static final RepresentativeColors<String> UserRepresentativeColors = new RepresentativeColors<>();
private static final RepresentativeColors<String> GuildMemberRepresentativeColors = new RepresentativeColors<>();

View File

@ -6,7 +6,7 @@ import com.discord.api.connectedaccounts.ConnectedIntegrationAccount;
import com.discord.api.connectedaccounts.ConnectedIntegrationGuild;
import d0.z.d.m;
/* compiled from: ConnectedAccountIntegrationUtils.kt */
/* loaded from: classes.dex */
/* loaded from: classes2.dex */
public final class ConnectedAccountIntegrationUtilsKt {
public static final String TWITCH_URL_PREFIX = "twitch.tv/";
public static final String TYPE_TWITCH = "twitch";

View File

@ -5,7 +5,7 @@ import d0.t.n0;
import d0.z.d.m;
import java.util.Set;
/* compiled from: ContactsFetcher.kt */
/* loaded from: classes.dex */
/* loaded from: classes2.dex */
public final class ContactsFetcher {
private final Context context;

View File

@ -10,7 +10,7 @@ import d0.z.d.m;
import java.util.HashSet;
import java.util.Set;
/* compiled from: ContactsProviderUtils.kt */
/* loaded from: classes.dex */
/* loaded from: classes2.dex */
public final class ContactsProviderUtils {
private static final String CONTACTS_PERMISSION = "android.permission.READ_CONTACTS";
public static final ContactsProviderUtils INSTANCE = new ContactsProviderUtils();

View File

@ -8,7 +8,7 @@ import d0.z.d.m;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: ContextExtensions.kt */
/* loaded from: classes.dex */
/* loaded from: classes2.dex */
public final class ContextExtensionsKt {
public static final void useAttrs(Context context, AttributeSet attributeSet, @StyleableRes int[] iArr, Function1<? super TypedArray, Unit> function1) {
m.checkNotNullParameter(context, "$this$useAttrs");

View File

@ -13,7 +13,7 @@ import kotlinx.coroutines.Job;
import s.a.a.n;
import s.a.k0;
/* compiled from: AppCoroutineScope.kt */
/* loaded from: classes.dex */
/* loaded from: classes2.dex */
public final class AppCoroutineScopeKt {
public static final Job appLaunch(CoroutineScope coroutineScope, Class<?> cls, CoroutineContext coroutineContext, CoroutineStart coroutineStart, Function2<? super CoroutineScope, ? super Continuation<? super Unit>, ? extends Object> function2) {
m.checkNotNullParameter(coroutineScope, "$this$appLaunch");

View File

@ -5,13 +5,13 @@ import d0.z.d.m;
import kotlin.coroutines.CoroutineContext;
import kotlin.jvm.functions.Function2;
/* compiled from: AppCoroutineScope.kt */
/* loaded from: classes.dex */
/* loaded from: classes2.dex */
public final class AppErrorTag implements CoroutineContext.Element {
private final String errorTag;
private final CoroutineContext.Key<AppErrorTag> key = Key.INSTANCE;
/* compiled from: AppCoroutineScope.kt */
/* loaded from: classes.dex */
/* loaded from: classes2.dex */
public static final class Key implements CoroutineContext.Key<AppErrorTag> {
public static final Key INSTANCE = new Key();

View File

@ -24,7 +24,7 @@ import s.a.k0;
import s.a.l1;
/* compiled from: RxCoroutineExtensions.kt */
@e(c = "com.discord.utilities.coroutines.RxCoroutineExtensionsKt$appAwaitSingle$2", f = "RxCoroutineExtensions.kt", l = {35, 40}, m = "invokeSuspend")
/* loaded from: classes.dex */
/* loaded from: classes2.dex */
public final class RxCoroutineExtensionsKt$appAwaitSingle$2 extends k implements Function2<CoroutineScope, Continuation<? super T>, Object> {
public final /* synthetic */ Context $context;
public final /* synthetic */ Boolean $suppressToast;
@ -36,7 +36,7 @@ public final class RxCoroutineExtensionsKt$appAwaitSingle$2 extends k implements
/* compiled from: RxCoroutineExtensions.kt */
@e(c = "com.discord.utilities.coroutines.RxCoroutineExtensionsKt$appAwaitSingle$2$1", f = "RxCoroutineExtensions.kt", l = {}, m = "invokeSuspend")
/* renamed from: com.discord.utilities.coroutines.RxCoroutineExtensionsKt$appAwaitSingle$2$1 reason: invalid class name */
/* loaded from: classes.dex */
/* loaded from: classes2.dex */
public static final class AnonymousClass1 extends k implements Function2<CoroutineScope, Continuation<? super Unit>, Object> {
public final /* synthetic */ Throwable $e;
public final /* synthetic */ Ref$ObjectRef $errorTag;

View File

@ -6,7 +6,7 @@ import d0.z.d.m;
import kotlin.coroutines.Continuation;
import rx.Observable;
/* compiled from: RxCoroutineExtensions.kt */
/* loaded from: classes.dex */
/* loaded from: classes2.dex */
public final class RxCoroutineExtensionsKt {
public static final <T> Object appAwaitFirst(Observable<T> observable, Context context, Continuation<? super T> continuation) {
Observable<T> y2 = observable.y();

View File

@ -409,7 +409,7 @@ public final class NotificationData {
}
}
this.guildId = j5;
if (m.areEqual(str, TYPE_MESSAGE_CREATE) && (channel.A() == 0 || channel.A() == 3 || channel.A() == 10 || channel.A() == 11 || channel.A() == 12)) {
if (m.areEqual(str, TYPE_MESSAGE_CREATE) && (channel.A() == 0 || channel.A() == 2 || channel.A() == 3 || channel.A() == 10 || channel.A() == 11 || channel.A() == 12)) {
z2 = true;
}
this.isGroupConversation = z2;
@ -567,7 +567,7 @@ public final class NotificationData {
if (A == 1) {
return getIconUrlForUser();
}
if (A != 5) {
if (!(A == 2 || A == 5)) {
switch (A) {
case 10:
case 11:
@ -717,30 +717,35 @@ public final class NotificationData {
}
int A = this.channel.A();
if (A != 0) {
if (A == 1 || A == 3) {
if (this.messageActivityType == MessageActivityType.JOIN) {
return b.h(context, R.string.notification_message_create_dm_activity_join, new Object[]{this.userUsername, this.messageApplicationName}, null, 4);
}
Sticker sticker = this.sticker;
if (sticker != null) {
return b.h(context, R.string.sticker_notification_body, new Object[]{sticker.h()}, null, 4);
}
String str5 = this.messageContent;
if (str5 != null) {
charSequence = b.l(str5, new Object[0], null, 2);
break;
}
return null;
} else if (A != 5) {
switch (A) {
case 10:
case 11:
case 12:
break;
default:
return str2;
if (A != 1) {
if (A != 2) {
if (A != 3) {
if (A != 5) {
switch (A) {
case 10:
case 11:
case 12:
break;
default:
return str2;
}
}
}
}
}
if (this.messageActivityType == MessageActivityType.JOIN) {
return b.h(context, R.string.notification_message_create_dm_activity_join, new Object[]{this.userUsername, this.messageApplicationName}, null, 4);
}
Sticker sticker = this.sticker;
if (sticker != null) {
return b.h(context, R.string.sticker_notification_body, new Object[]{sticker.h()}, null, 4);
}
String str5 = this.messageContent;
if (str5 != null) {
charSequence = b.l(str5, new Object[0], null, 2);
break;
}
return null;
}
if (this.messageType == 7) {
return b.h(context, MessageUtils.INSTANCE.getSystemMessageUserJoin(context, this.messageId), new Object[]{this.userUsername}, null, 4);
@ -795,19 +800,17 @@ public final class NotificationData {
return null;
}
int A = this.channel.A();
if (A != 0) {
if (!(A == 0 || A == 5 || A == 2)) {
if (A == 3) {
return ChannelUtils.e(this.channel, context, false, 2);
}
if (A != 5) {
switch (A) {
case 10:
case 11:
case 12:
break;
default:
return null;
}
switch (A) {
case 10:
case 11:
case 12:
break;
default:
return null;
}
}
return b.l(this.guildName + " _" + ChannelUtils.e(this.channel, context, false, 2) + '_', new Object[0], null, 2);
@ -1299,9 +1302,10 @@ public final class NotificationData {
if (str == null) {
return str3;
}
} else if (A == 3) {
return ChannelUtils.e(this.channel, context, false, 2);
} else {
} else if (A != 2) {
if (A == 3) {
return ChannelUtils.e(this.channel, context, false, 2);
}
if (A != 5) {
switch (A) {
case 10:

View File

@ -1,15 +1,11 @@
package com.discord.utilities.guilds;
import com.discord.utilities.premium.GuildBoostTierAmounts;
/* compiled from: GuildConstants.kt */
/* loaded from: classes2.dex */
public final class GuildConstantsKt {
public static final int FILE_SIZE_STANDARD_8MB = 8;
public static final int GLOBAL_SEARCH_LARGE_GUILD_THRESHOLD = 200;
public static final int GUILD_TIER_1_BOOSTS = 2;
public static final int GUILD_TIER_1_BOOSTS_EXP = 2;
public static final int GUILD_TIER_2_BOOSTS = 7;
public static final int GUILD_TIER_2_BOOSTS_EXP = 3;
public static final int GUILD_TIER_3_BOOSTS = 14;
public static final int GUILD_TIER_3_BOOSTS_EXP = 4;
public static final int INVITE_LARGE_GUILD_THRESHOLD = 200;
public static final int MAX_GUILD_MEMBERS_NOTIFY_ALL_MESSAGES = 2500;
public static final int PREMIUM_TIER_1_FILE_SIZE_50MB = 50;
@ -17,4 +13,19 @@ public final class GuildConstantsKt {
public static final int SYSTEM_CHANNEL_FLAG_SUPPRESS_BOOST = 2;
public static final int SYSTEM_CHANNEL_FLAG_SUPPRESS_JOIN = 1;
public static final int SYSTEM_CHANNEL_FLAG_SUPPRESS_JOIN_REPLIES = 8;
private static final GuildBoostTierAmounts GUILD_BOOST_TIER_AMOUNTS = new GuildBoostTierAmounts(2, 7, 14);
private static final GuildBoostTierAmounts GUILD_BOOST_TIER_AMOUNTS_EXP_SMALL_GUILDS = new GuildBoostTierAmounts(2, 3, 4);
private static final GuildBoostTierAmounts GUILD_BOOST_TIER_AMOUNTS_EXP_MEDIUM_GUILDS = new GuildBoostTierAmounts(2, 7, 10);
public static final GuildBoostTierAmounts getGUILD_BOOST_TIER_AMOUNTS() {
return GUILD_BOOST_TIER_AMOUNTS;
}
public static final GuildBoostTierAmounts getGUILD_BOOST_TIER_AMOUNTS_EXP_MEDIUM_GUILDS() {
return GUILD_BOOST_TIER_AMOUNTS_EXP_MEDIUM_GUILDS;
}
public static final GuildBoostTierAmounts getGUILD_BOOST_TIER_AMOUNTS_EXP_SMALL_GUILDS() {
return GUILD_BOOST_TIER_AMOUNTS_EXP_SMALL_GUILDS;
}
}

View File

@ -0,0 +1,81 @@
package com.discord.utilities.premium;
import b.d.b.a.a;
/* compiled from: GuildBoostTierAmounts.kt */
/* loaded from: classes2.dex */
public final class GuildBoostTierAmounts {
private final int tier1Boosts;
private final int tier2Boosts;
private final int tier3Boosts;
public GuildBoostTierAmounts(int i, int i2, int i3) {
this.tier1Boosts = i;
this.tier2Boosts = i2;
this.tier3Boosts = i3;
}
public static /* synthetic */ GuildBoostTierAmounts copy$default(GuildBoostTierAmounts guildBoostTierAmounts, int i, int i2, int i3, int i4, Object obj) {
if ((i4 & 1) != 0) {
i = guildBoostTierAmounts.tier1Boosts;
}
if ((i4 & 2) != 0) {
i2 = guildBoostTierAmounts.tier2Boosts;
}
if ((i4 & 4) != 0) {
i3 = guildBoostTierAmounts.tier3Boosts;
}
return guildBoostTierAmounts.copy(i, i2, i3);
}
public final int component1() {
return this.tier1Boosts;
}
public final int component2() {
return this.tier2Boosts;
}
public final int component3() {
return this.tier3Boosts;
}
public final GuildBoostTierAmounts copy(int i, int i2, int i3) {
return new GuildBoostTierAmounts(i, i2, i3);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof GuildBoostTierAmounts)) {
return false;
}
GuildBoostTierAmounts guildBoostTierAmounts = (GuildBoostTierAmounts) obj;
return this.tier1Boosts == guildBoostTierAmounts.tier1Boosts && this.tier2Boosts == guildBoostTierAmounts.tier2Boosts && this.tier3Boosts == guildBoostTierAmounts.tier3Boosts;
}
public final int getTier1Boosts() {
return this.tier1Boosts;
}
public final int getTier2Boosts() {
return this.tier2Boosts;
}
public final int getTier3Boosts() {
return this.tier3Boosts;
}
public int hashCode() {
return (((this.tier1Boosts * 31) + this.tier2Boosts) * 31) + this.tier3Boosts;
}
public String toString() {
StringBuilder R = a.R("GuildBoostTierAmounts(tier1Boosts=");
R.append(this.tier1Boosts);
R.append(", tier2Boosts=");
R.append(this.tier2Boosts);
R.append(", tier3Boosts=");
return a.A(R, this.tier3Boosts, ")");
}
}

View File

@ -11,6 +11,7 @@ import com.discord.stores.StoreGuildBoost;
import com.discord.stores.StoreGuilds;
import com.discord.stores.StoreStream;
import com.discord.utilities.analytics.Traits;
import com.discord.utilities.guilds.GuildConstantsKt;
import com.discord.utilities.logging.Logger;
import com.discord.utilities.rest.RestAPI;
import d0.t.u;
@ -70,6 +71,19 @@ public final class GuildBoostUtils {
return guildBoostUtils.getBoostTier(j, i, storeExperiments, storeGuilds);
}
private final GuildBoostTierAmounts getBoostTierAmounts(long j, StoreExperiments storeExperiments, StoreGuilds storeGuilds) {
Experiment guildExperiment = storeExperiments.getGuildExperiment("2022-03_boosting_tiers_small_guilds", j, true);
Experiment guildExperiment2 = storeExperiments.getGuildExperiment("2022-03_boosting_tiers_medium_guilds", j, true);
Guild guild = storeGuilds.getGuild(j);
boolean z2 = false;
boolean z3 = guild != null && guild.hasFeature(GuildFeature.BOOSTING_TIERS_EXPERIMENT_SMALL_GUILD);
Guild guild2 = storeGuilds.getGuild(j);
if (guild2 != null && guild2.hasFeature(GuildFeature.BOOSTING_TIERS_EXPERIMENT_MEDIUM_GUILD)) {
z2 = true;
}
return (!z3 || guildExperiment == null || guildExperiment.getBucket() != 1) ? (!z2 || guildExperiment2 == null || guildExperiment2.getBucket() != 1) ? GuildConstantsKt.getGUILD_BOOST_TIER_AMOUNTS() : GuildConstantsKt.getGUILD_BOOST_TIER_AMOUNTS_EXP_MEDIUM_GUILDS() : GuildConstantsKt.getGUILD_BOOST_TIER_AMOUNTS_EXP_SMALL_GUILDS();
}
public static /* synthetic */ int getBoostsRequiredForTier$default(GuildBoostUtils guildBoostUtils, long j, int i, StoreExperiments storeExperiments, StoreGuilds storeGuilds, int i2, Object obj) {
if ((i2 & 4) != 0) {
storeExperiments = StoreStream.Companion.getExperiments();
@ -80,21 +94,30 @@ public final class GuildBoostUtils {
return guildBoostUtils.getBoostsRequiredForTier(j, i, storeExperiments, storeGuilds);
}
private final int getCurrentTierSubs(boolean z2, int i) {
private final int getCurrentTierSubs(GuildBoostTierAmounts guildBoostTierAmounts, int i) {
if (i == 1) {
return 2;
return guildBoostTierAmounts.getTier1Boosts();
}
if (i == 2) {
return z2 ? 3 : 7;
return guildBoostTierAmounts.getTier2Boosts();
}
if (i != 3) {
return 0;
}
return z2 ? 4 : 14;
return guildBoostTierAmounts.getTier3Boosts();
}
private final int getNextTierSubs(boolean z2, int i) {
return i != 1 ? i != 2 ? i != 3 ? 2 : 0 : z2 ? 4 : 14 : z2 ? 3 : 7;
private final int getNextTierSubs(GuildBoostTierAmounts guildBoostTierAmounts, int i) {
if (i == 1) {
return guildBoostTierAmounts.getTier2Boosts();
}
if (i == 2) {
return guildBoostTierAmounts.getTier3Boosts();
}
if (i != 3) {
return guildBoostTierAmounts.getTier1Boosts();
}
return 0;
}
private final Observable<ModifyGuildBoostSlotResult> modifyGuildBoostSlot(RestAPI restAPI, long j, ModelSubscription modelSubscription, boolean z2, StoreGuildBoost storeGuildBoost) {
@ -146,34 +169,24 @@ public final class GuildBoostUtils {
}
public final int calculatePercentToNextTier(long j, int i, int i2, StoreExperiments storeExperiments, StoreGuilds storeGuilds) {
Guild guild;
m.checkNotNullParameter(storeExperiments, "storeExperiments");
m.checkNotNullParameter(storeGuilds, "storeGuilds");
if (i >= 3) {
return 100;
}
boolean z2 = true;
Experiment guildExperiment = storeExperiments.getGuildExperiment("2022-02_boosting_tiers", j, true);
if (guildExperiment == null || guildExperiment.getBucket() != 1 || (guild = storeGuilds.getGuild(j)) == null || !guild.hasFeature(GuildFeature.EXPOSED_TO_BOOSTING_TIERS_EXPERIMENT)) {
z2 = false;
}
return d0.a0.a.roundToInt(((i2 - getCurrentTierSubs(z2, i)) / getNextTierSubs(z2, i)) * 100);
GuildBoostTierAmounts boostTierAmounts = getBoostTierAmounts(j, storeExperiments, storeGuilds);
return d0.a0.a.roundToInt(((i2 - getCurrentTierSubs(boostTierAmounts, i)) / getNextTierSubs(boostTierAmounts, i)) * 100);
}
public final int calculateTotalProgress(long j, int i, int i2, StoreExperiments storeExperiments, StoreGuilds storeGuilds) {
Guild guild;
m.checkNotNullParameter(storeExperiments, "storeExperiments");
m.checkNotNullParameter(storeGuilds, "storeGuilds");
if (i >= 3) {
return 100;
}
boolean z2 = true;
Experiment guildExperiment = storeExperiments.getGuildExperiment("2022-02_boosting_tiers", j, true);
if (guildExperiment == null || guildExperiment.getBucket() != 1 || (guild = storeGuilds.getGuild(j)) == null || !guild.hasFeature(GuildFeature.EXPOSED_TO_BOOSTING_TIERS_EXPERIMENT)) {
z2 = false;
}
int nextTierSubs = getNextTierSubs(z2, i);
int currentTierSubs = getCurrentTierSubs(z2, i);
GuildBoostTierAmounts boostTierAmounts = getBoostTierAmounts(j, storeExperiments, storeGuilds);
int nextTierSubs = getNextTierSubs(boostTierAmounts, i);
int currentTierSubs = getCurrentTierSubs(boostTierAmounts, i);
return d0.a0.a.roundToInt((((i2 - currentTierSubs) / (nextTierSubs - currentTierSubs)) * 33.3f) + (i * 33.3f));
}
@ -185,44 +198,32 @@ public final class GuildBoostUtils {
}
public final int getBoostTier(long j, int i, StoreExperiments storeExperiments, StoreGuilds storeGuilds) {
Guild guild;
m.checkNotNullParameter(storeExperiments, "storeExperiments");
m.checkNotNullParameter(storeGuilds, "storeGuilds");
Experiment guildExperiment = storeExperiments.getGuildExperiment("2022-02_boosting_tiers", j, true);
if (guildExperiment != null && guildExperiment.getBucket() == 1 && (guild = storeGuilds.getGuild(j)) != null && guild.hasFeature(GuildFeature.EXPOSED_TO_BOOSTING_TIERS_EXPERIMENT)) {
if (i >= 4) {
return 3;
}
if (i >= 3) {
return 2;
}
return i >= 2 ? 1 : 0;
} else if (i >= 14) {
GuildBoostTierAmounts boostTierAmounts = getBoostTierAmounts(j, storeExperiments, storeGuilds);
if (i >= boostTierAmounts.getTier3Boosts()) {
return 3;
} else {
if (i >= 7) {
return 2;
}
return i >= 2 ? 1 : 0;
}
if (i >= boostTierAmounts.getTier2Boosts()) {
return 2;
}
return i >= boostTierAmounts.getTier1Boosts() ? 1 : 0;
}
public final int getBoostsRequiredForTier(long j, int i, StoreExperiments storeExperiments, StoreGuilds storeGuilds) {
Guild guild;
m.checkNotNullParameter(storeExperiments, "storeExperiments");
m.checkNotNullParameter(storeGuilds, "storeGuilds");
Experiment guildExperiment = storeExperiments.getGuildExperiment("2022-02_boosting_tiers", j, true);
boolean z2 = guildExperiment != null && guildExperiment.getBucket() == 1 && (guild = storeGuilds.getGuild(j)) != null && guild.hasFeature(GuildFeature.EXPOSED_TO_BOOSTING_TIERS_EXPERIMENT);
GuildBoostTierAmounts boostTierAmounts = getBoostTierAmounts(j, storeExperiments, storeGuilds);
if (i == 1) {
return 2;
return boostTierAmounts.getTier1Boosts();
}
if (i == 2) {
return z2 ? 3 : 7;
return boostTierAmounts.getTier2Boosts();
}
if (i != 3) {
return 0;
}
return z2 ? 4 : 14;
return boostTierAmounts.getTier3Boosts();
}
public final Observable<ModifyGuildBoostSlotResult> uncancelGuildBoostSlot(RestAPI restAPI, long j, ModelSubscription modelSubscription, StoreGuildBoost storeGuildBoost) {

View File

@ -71,7 +71,7 @@ public final class CheckedSetting extends RelativeLayout implements Checkable {
}
/* compiled from: java-style lambda group */
/* loaded from: classes3.dex */
/* loaded from: classes2.dex */
public static final class a implements View.OnClickListener {
public final /* synthetic */ int j;
public final /* synthetic */ Object k;

View File

@ -20,11 +20,11 @@ public final class WidgetThreadBrowser$updateMenu$1<T1, T2> implements Action2<M
public final void call(MenuItem menuItem, Context context) {
m.checkNotNullExpressionValue(menuItem, "menuItem");
switch (menuItem.getItemId()) {
case R.id.menu_thread_browser_create_thread /* 2131364348 */:
case R.id.menu_thread_browser_create_thread /* 2131364349 */:
ChannelSelector.openCreateThread$default(ChannelSelector.Companion.getInstance(), WidgetThreadBrowser.access$getGuildId$p(this.this$0), WidgetThreadBrowser.access$getChannelId$p(this.this$0), null, "Thread Browser Toolbar", 4, null);
this.this$0.requireAppActivity().finish();
return;
case R.id.menu_thread_browser_filters /* 2131364349 */:
case R.id.menu_thread_browser_filters /* 2131364350 */:
WidgetThreadBrowserFilterSheet.Companion companion = WidgetThreadBrowserFilterSheet.Companion;
FragmentManager parentFragmentManager = this.this$0.getParentFragmentManager();
m.checkNotNullExpressionValue(parentFragmentManager, "parentFragmentManager");

View File

@ -16,7 +16,8 @@ public final class DirectoryEntryViewHolder$bind$$inlined$apply$lambda$2 impleme
}
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
/* renamed from: onClick */
public final void m242onClick(View view) {
this.$listener$inlined.onGoToGuildClicked(this.$data$inlined.e().h());
}
}

View File

@ -108,16 +108,16 @@ public final class WidgetMedia$onViewBoundOrOnResume$1<T1, T2> implements Action
public final void call(MenuItem menuItem, Context context) {
m.checkNotNullExpressionValue(menuItem, "menuItem");
switch (menuItem.getItemId()) {
case R.id.menu_media_browser /* 2131364327 */:
case R.id.menu_media_browser /* 2131364328 */:
m.checkNotNullExpressionValue(context, "context");
String uri = this.$sourceUri.toString();
m.checkNotNullExpressionValue(uri, "sourceUri.toString()");
UriHandler.handleOrUntrusted$default(context, uri, null, 4, null);
return;
case R.id.menu_media_download /* 2131364328 */:
case R.id.menu_media_download /* 2131364329 */:
this.this$0.requestMediaDownload(new AnonymousClass1(context));
return;
case R.id.menu_media_share /* 2131364329 */:
case R.id.menu_media_share /* 2131364330 */:
m.checkNotNullExpressionValue(context, "context");
String uri2 = this.$sourceUri.toString();
m.checkNotNullExpressionValue(uri2, "sourceUri.toString()");

View File

@ -62,8 +62,8 @@ public final class WidgetNoticeDialog extends AppDialog {
private static final String ARG_OK_TEXT = "ok_text";
private static final String ARG_STACK_TRACE_CALLER_FRAME = "stack_trace_caller_frame";
private static final String ARG_THEME_ID = "theme_id";
public static final int CANCEL_BUTTON = 2131364478;
public static final int OK_BUTTON = 2131364483;
public static final int CANCEL_BUTTON = 2131364479;
public static final int OK_BUTTON = 2131364484;
public static final int ON_SHOW = 0;
private final FragmentViewBindingDelegate binding$delegate = FragmentViewBindingDelegateKt.viewBinding$default(this, WidgetNoticeDialog$binding$2.INSTANCE, null, 2, null);
private Map<Integer, ? extends Function1<? super View, Unit>> listenerMap;

View File

@ -41,13 +41,13 @@ public final class WidgetServerSettingsChannels$configureUI$1<T1, T2> implements
public final void call(MenuItem menuItem, Context context) {
m.checkNotNullExpressionValue(menuItem, "menuItem");
switch (menuItem.getItemId()) {
case R.id.menu_sort_channel /* 2131364345 */:
case R.id.menu_sort_channel /* 2131364346 */:
WidgetServerSettingsChannelsSortActions.Companion companion = WidgetServerSettingsChannelsSortActions.Companion;
FragmentManager childFragmentManager = this.this$0.getChildFragmentManager();
m.checkNotNullExpressionValue(childFragmentManager, "childFragmentManager");
companion.show(childFragmentManager, new AnonymousClass1());
return;
case R.id.menu_sort_done /* 2131364346 */:
case R.id.menu_sort_done /* 2131364347 */:
WidgetServerSettingsChannels.access$getChannelSortTypeSubject$p(this.this$0).onNext(-1);
return;
default:

View File

@ -600,138 +600,138 @@ public final class WidgetServerSettingsEditRole extends AppFragment {
for (CheckedSetting checkedSetting : n.listOf((Object[]) new CheckedSetting[]{getBinding().g, getBinding().h, getBinding().i, getBinding().j, getBinding().m, getBinding().r, getBinding().u, getBinding().v, getBinding().f2357y, getBinding().C, getBinding().f2358z, getBinding().w, getBinding().A, getBinding().B, getBinding().G, getBinding().D, getBinding().E, getBinding().I, getBinding().J, getBinding().O, getBinding().P, getBinding().o, getBinding().n, getBinding().Q, getBinding().R, getBinding().S, getBinding().T, getBinding().f, getBinding().U, getBinding().W, getBinding().f2351a0, getBinding().f2354c0, getBinding().Z, getBinding().X, getBinding().Y, getBinding().f2353b0, getBinding().H, getBinding().V, getBinding().K, getBinding().f2356x})) {
m.checkNotNullExpressionValue(checkedSetting, "setting");
switch (checkedSetting.getId()) {
case R.id.role_settings_add_reactions /* 2131364886 */:
case R.id.role_settings_add_reactions /* 2131364887 */:
j = 64;
break;
case R.id.role_settings_administrator /* 2131364887 */:
case R.id.role_settings_administrator /* 2131364888 */:
j = 8;
break;
case R.id.role_settings_attach_files /* 2131364888 */:
case R.id.role_settings_attach_files /* 2131364889 */:
j = Permission.ATTACH_FILES;
break;
case R.id.role_settings_ban_members /* 2131364889 */:
case R.id.role_settings_ban_members /* 2131364890 */:
j = 4;
break;
case R.id.role_settings_change_nickname /* 2131364890 */:
case R.id.role_settings_change_nickname /* 2131364891 */:
j = Permission.CHANGE_NICKNAME;
break;
case R.id.role_settings_color_disabled_overlay /* 2131364891 */:
case R.id.role_settings_color_selector_container /* 2131364892 */:
case R.id.role_settings_current_color_display /* 2131364896 */:
case R.id.role_settings_edit_name_disabled_overlay /* 2131364897 */:
case R.id.role_settings_hoist_checkedsetting /* 2131364899 */:
case R.id.role_settings_icon_container /* 2131364900 */:
case R.id.role_settings_mentionable_checkedsetting /* 2131364912 */:
case R.id.role_settings_overview_scroll /* 2131364914 */:
case R.id.role_settings_role_icon /* 2131364919 */:
case R.id.role_settings_role_icon_divider /* 2131364920 */:
case R.id.role_settings_role_icon_header /* 2131364921 */:
case R.id.role_settings_color_disabled_overlay /* 2131364892 */:
case R.id.role_settings_color_selector_container /* 2131364893 */:
case R.id.role_settings_current_color_display /* 2131364897 */:
case R.id.role_settings_edit_name_disabled_overlay /* 2131364898 */:
case R.id.role_settings_hoist_checkedsetting /* 2131364900 */:
case R.id.role_settings_icon_container /* 2131364901 */:
case R.id.role_settings_mentionable_checkedsetting /* 2131364913 */:
case R.id.role_settings_overview_scroll /* 2131364915 */:
case R.id.role_settings_role_icon /* 2131364920 */:
case R.id.role_settings_role_icon_divider /* 2131364921 */:
case R.id.role_settings_role_icon_header /* 2131364922 */:
default:
j = 0;
break;
case R.id.role_settings_create_instant_invite /* 2131364893 */:
case R.id.role_settings_create_instant_invite /* 2131364894 */:
j = 1;
break;
case R.id.role_settings_create_private_threads /* 2131364894 */:
case R.id.role_settings_create_private_threads /* 2131364895 */:
j = Permission.CREATE_PRIVATE_THREADS;
break;
case R.id.role_settings_create_public_threads /* 2131364895 */:
case R.id.role_settings_create_public_threads /* 2131364896 */:
j = Permission.CREATE_PUBLIC_THREADS;
break;
case R.id.role_settings_embed_links /* 2131364898 */:
case R.id.role_settings_embed_links /* 2131364899 */:
j = Permission.EMBED_LINKS;
break;
case R.id.role_settings_kick_members /* 2131364901 */:
case R.id.role_settings_kick_members /* 2131364902 */:
j = 2;
break;
case R.id.role_settings_manage_channels /* 2131364902 */:
case R.id.role_settings_manage_channels /* 2131364903 */:
j = 16;
break;
case R.id.role_settings_manage_emojis_and_stickers /* 2131364903 */:
case R.id.role_settings_manage_emojis_and_stickers /* 2131364904 */:
j = Permission.MANAGE_EMOJIS_AND_STICKERS;
break;
case R.id.role_settings_manage_events /* 2131364904 */:
case R.id.role_settings_manage_events /* 2131364905 */:
j = Permission.MANAGE_EVENTS;
break;
case R.id.role_settings_manage_messages /* 2131364905 */:
case R.id.role_settings_manage_messages /* 2131364906 */:
j = Permission.MANAGE_MESSAGES;
break;
case R.id.role_settings_manage_nicknames /* 2131364906 */:
case R.id.role_settings_manage_nicknames /* 2131364907 */:
j = Permission.MANAGE_NICKNAMES;
break;
case R.id.role_settings_manage_roles /* 2131364907 */:
case R.id.role_settings_manage_roles /* 2131364908 */:
j = Permission.MANAGE_ROLES;
break;
case R.id.role_settings_manage_server /* 2131364908 */:
case R.id.role_settings_manage_server /* 2131364909 */:
j = 32;
break;
case R.id.role_settings_manage_threads /* 2131364909 */:
case R.id.role_settings_manage_threads /* 2131364910 */:
j = Permission.MANAGE_THREADS;
break;
case R.id.role_settings_manage_webhooks /* 2131364910 */:
case R.id.role_settings_manage_webhooks /* 2131364911 */:
j = Permission.MANAGE_WEBHOOKS;
break;
case R.id.role_settings_mention_everyone /* 2131364911 */:
case R.id.role_settings_mention_everyone /* 2131364912 */:
j = Permission.MENTION_EVERYONE;
break;
case R.id.role_settings_moderate_member /* 2131364913 */:
case R.id.role_settings_moderate_member /* 2131364914 */:
j = Permission.MODERATE_MEMBERS;
break;
case R.id.role_settings_priority_speaker /* 2131364915 */:
case R.id.role_settings_priority_speaker /* 2131364916 */:
j = 256;
break;
case R.id.role_settings_read_message_history /* 2131364916 */:
case R.id.role_settings_read_message_history /* 2131364917 */:
j = Permission.READ_MESSAGE_HISTORY;
break;
case R.id.role_settings_read_messages /* 2131364917 */:
case R.id.role_settings_read_messages /* 2131364918 */:
j = Permission.VIEW_CHANNEL;
break;
case R.id.role_settings_request_to_speak /* 2131364918 */:
case R.id.role_settings_request_to_speak /* 2131364919 */:
j = Permission.REQUEST_TO_SPEAK;
break;
case R.id.role_settings_send_messages /* 2131364922 */:
case R.id.role_settings_send_messages /* 2131364923 */:
j = Permission.SEND_MESSAGES;
break;
case R.id.role_settings_send_messages_in_threads /* 2131364923 */:
case R.id.role_settings_send_messages_in_threads /* 2131364924 */:
j = Permission.SEND_MESSAGES_IN_THREADS;
break;
case R.id.role_settings_send_tts_messages /* 2131364924 */:
case R.id.role_settings_send_tts_messages /* 2131364925 */:
j = Permission.SEND_TTS_MESSAGES;
break;
case R.id.role_settings_use_application_commands /* 2131364925 */:
case R.id.role_settings_use_application_commands /* 2131364926 */:
j = Permission.USE_APPLICATION_COMMANDS;
break;
case R.id.role_settings_use_external_emojis /* 2131364926 */:
case R.id.role_settings_use_external_emojis /* 2131364927 */:
j = Permission.USE_EXTERNAL_EMOJIS;
break;
case R.id.role_settings_use_external_stickers /* 2131364927 */:
case R.id.role_settings_use_external_stickers /* 2131364928 */:
j = Permission.USE_EXTERNAL_STICKERS;
break;
case R.id.role_settings_view_audit_log /* 2131364928 */:
case R.id.role_settings_view_audit_log /* 2131364929 */:
j = 128;
break;
case R.id.role_settings_view_guild_analytics /* 2131364929 */:
case R.id.role_settings_view_guild_analytics /* 2131364930 */:
j = Permission.VIEW_GUILD_ANALYTICS;
break;
case R.id.role_settings_voice_connect /* 2131364930 */:
case R.id.role_settings_voice_connect /* 2131364931 */:
j = Permission.CONNECT;
break;
case R.id.role_settings_voice_deafen_members /* 2131364931 */:
case R.id.role_settings_voice_deafen_members /* 2131364932 */:
j = Permission.DEAFEN_MEMBERS;
break;
case R.id.role_settings_voice_move_members /* 2131364932 */:
case R.id.role_settings_voice_move_members /* 2131364933 */:
j = Permission.MOVE_MEMBERS;
break;
case R.id.role_settings_voice_mute_members /* 2131364933 */:
case R.id.role_settings_voice_mute_members /* 2131364934 */:
j = Permission.MUTE_MEMBERS;
break;
case R.id.role_settings_voice_speak /* 2131364934 */:
case R.id.role_settings_voice_speak /* 2131364935 */:
j = Permission.SPEAK;
break;
case R.id.role_settings_voice_use_voice_activity /* 2131364935 */:
case R.id.role_settings_voice_use_voice_activity /* 2131364936 */:
j = Permission.USE_VAD;
break;
case R.id.role_settings_voice_video /* 2131364936 */:
case R.id.role_settings_voice_video /* 2131364937 */:
j = 512;
break;
}

View File

@ -18,12 +18,12 @@ public final class WidgetSettings$configureToolbar$1<T1, T2> implements Action2<
public final void call(MenuItem menuItem, Context context) {
m.checkNotNullExpressionValue(menuItem, "menuItem");
switch (menuItem.getItemId()) {
case R.id.menu_settings_debugging /* 2131364340 */:
case R.id.menu_settings_debugging /* 2131364341 */:
WidgetDebugging.Companion companion = WidgetDebugging.Companion;
m.checkNotNullExpressionValue(context, "context");
companion.launch(context);
return;
case R.id.menu_settings_log_out /* 2131364341 */:
case R.id.menu_settings_log_out /* 2131364342 */:
WidgetSettings widgetSettings = this.this$0;
m.checkNotNullExpressionValue(context, "context");
WidgetSettings.access$showLogoutDialog(widgetSettings, context);

View File

@ -347,7 +347,7 @@ public final class WidgetSettings extends AppFragment implements OnTabSelectedLi
TextView textView = binding.f;
m.checkNotNullExpressionValue(textView, "appInfoHeader");
String string = getString(R.string.app_information);
textView.setText(string + " - 116.6 - Stable (116006)");
textView.setText(string + " - 117.14 - Stable (117014)");
binding.B.setOnClickListener(new WidgetSettings$onViewBound$$inlined$with$lambda$3(this));
binding.u.setOnClickListener(WidgetSettings$onViewBound$1$5.INSTANCE);
binding.q.setOnClickListener(WidgetSettings$onViewBound$1$6.INSTANCE);

View File

@ -610,9 +610,9 @@ public final class WidgetSettingsPremium extends AppFragment {
}
int ordinal = premiumSubscription.getPlanType().getInterval().ordinal();
if (ordinal == 0) {
i = R.string.billing_payment_premium_legalese_monthly;
i = R.string.billing_payment_premium_terms_legalese_monthly;
} else if (ordinal == 1) {
i = R.string.billing_payment_premium_legalese_yearly;
i = R.string.billing_payment_premium_terms_legalese_yearly;
} else {
throw new NoWhenBranchMatchedException();
}
@ -625,7 +625,7 @@ public final class WidgetSettingsPremium extends AppFragment {
textView2.setVisibility(0);
TextView textView3 = getBinding().j;
m.checkNotNullExpressionValue(textView3, "binding.premiumSettingsLegalese");
b.n(textView3, i, new Object[]{b.k(this, R.string.terms_of_service_url, new Object[0], null, 4), b.k(this, R.string.privacy_policy_url, new Object[0], null, 4), googleSubscriptionRenewalPrice}, null, 4);
b.n(textView3, i, new Object[]{b.k(this, R.string.terms_of_service_url, new Object[0], null, 4), b.k(this, R.string.paid_services_terms_url, new Object[0], null, 4), b.k(this, R.string.privacy_policy_url, new Object[0], null, 4), googleSubscriptionRenewalPrice}, null, 4);
TextView textView4 = getBinding().j;
m.checkNotNullExpressionValue(textView4, "binding.premiumSettingsLegalese");
textView4.setMovementMethod(LinkMovementMethod.getInstance());

View File

@ -1,60 +1,27 @@
package com.discord.widgets.voice.fullscreen;
import android.view.Menu;
import android.content.Context;
import android.view.MenuItem;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.core.view.ViewKt;
import com.discord.R;
import com.discord.utilities.channel.ChannelInviteLaunchUtils;
import com.discord.widgets.voice.fullscreen.WidgetCallPreviewFullscreenViewModel;
import d0.z.d.m;
import rx.functions.Action1;
import rx.functions.Action2;
/* compiled from: WidgetCallPreviewFullscreen.kt */
/* loaded from: classes2.dex */
public final class WidgetCallPreviewFullscreen$configureActionBar$2<T> implements Action1<Menu> {
public final class WidgetCallPreviewFullscreen$configureActionBar$2<T1, T2> implements Action2<MenuItem, Context> {
public final /* synthetic */ WidgetCallPreviewFullscreenViewModel.ViewState $viewState;
public final /* synthetic */ WidgetCallPreviewFullscreen this$0;
/* compiled from: WidgetCallPreviewFullscreen.kt */
/* renamed from: com.discord.widgets.voice.fullscreen.WidgetCallPreviewFullscreen$configureActionBar$2$1 reason: invalid class name */
/* loaded from: classes2.dex */
public static final class AnonymousClass1 implements View.OnClickListener {
public AnonymousClass1() {
}
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
WidgetCallPreviewFullscreen.access$transitionActivity(WidgetCallPreviewFullscreen$configureActionBar$2.this.this$0);
WidgetCallPreviewFullscreen.access$getViewModel$p(WidgetCallPreviewFullscreen$configureActionBar$2.this.this$0).onTextInVoiceTapped();
}
}
public WidgetCallPreviewFullscreen$configureActionBar$2(WidgetCallPreviewFullscreen widgetCallPreviewFullscreen, WidgetCallPreviewFullscreenViewModel.ViewState viewState) {
this.this$0 = widgetCallPreviewFullscreen;
this.$viewState = viewState;
}
public final void call(Menu menu) {
MenuItem findItem = menu.findItem(R.id.menu_text_in_voice);
boolean z2 = this.$viewState.getTextInVoiceEnabled() && this.$viewState.isConnectEnabled();
m.checkNotNullExpressionValue(findItem, "textInVoiceMenuItem");
findItem.setVisible(z2);
if (z2) {
View actionView = findItem.getActionView();
ImageView imageView = null;
TextView textView = actionView != null ? (TextView) actionView.findViewById(R.id.text_in_voice_count) : null;
View actionView2 = findItem.getActionView();
if (actionView2 != null) {
imageView = (ImageView) actionView2.findViewById(R.id.text_in_voice_icon);
}
if (textView != null) {
ViewKt.setVisible(textView, false);
}
if (imageView != null) {
imageView.setImageResource(R.drawable.ic_text_in_voice);
}
findItem.getActionView().setOnClickListener(new AnonymousClass1());
public final void call(MenuItem menuItem, Context context) {
m.checkNotNullExpressionValue(menuItem, "menuItem");
if (menuItem.getItemId() == R.id.menu_invite) {
ChannelInviteLaunchUtils.inviteToChannel$default(ChannelInviteLaunchUtils.INSTANCE, this.this$0, this.$viewState.getVoiceChannel(), "Fullscreen Voice Channel Preview", null, null, 24, null);
}
}
}

View File

@ -0,0 +1,60 @@
package com.discord.widgets.voice.fullscreen;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.core.view.ViewKt;
import com.discord.R;
import com.discord.widgets.voice.fullscreen.WidgetCallPreviewFullscreenViewModel;
import d0.z.d.m;
import rx.functions.Action1;
/* compiled from: WidgetCallPreviewFullscreen.kt */
/* loaded from: classes2.dex */
public final class WidgetCallPreviewFullscreen$configureActionBar$3<T> implements Action1<Menu> {
public final /* synthetic */ WidgetCallPreviewFullscreenViewModel.ViewState $viewState;
public final /* synthetic */ WidgetCallPreviewFullscreen this$0;
/* compiled from: WidgetCallPreviewFullscreen.kt */
/* renamed from: com.discord.widgets.voice.fullscreen.WidgetCallPreviewFullscreen$configureActionBar$3$1 reason: invalid class name */
/* loaded from: classes2.dex */
public static final class AnonymousClass1 implements View.OnClickListener {
public AnonymousClass1() {
}
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
WidgetCallPreviewFullscreen.access$transitionActivity(WidgetCallPreviewFullscreen$configureActionBar$3.this.this$0);
WidgetCallPreviewFullscreen.access$getViewModel$p(WidgetCallPreviewFullscreen$configureActionBar$3.this.this$0).onTextInVoiceTapped();
}
}
public WidgetCallPreviewFullscreen$configureActionBar$3(WidgetCallPreviewFullscreen widgetCallPreviewFullscreen, WidgetCallPreviewFullscreenViewModel.ViewState viewState) {
this.this$0 = widgetCallPreviewFullscreen;
this.$viewState = viewState;
}
public final void call(Menu menu) {
MenuItem findItem = menu.findItem(R.id.menu_text_in_voice);
boolean z2 = this.$viewState.getTextInVoiceEnabled() && this.$viewState.isConnectEnabled();
m.checkNotNullExpressionValue(findItem, "textInVoiceMenuItem");
findItem.setVisible(z2);
if (z2) {
View actionView = findItem.getActionView();
ImageView imageView = null;
TextView textView = actionView != null ? (TextView) actionView.findViewById(R.id.text_in_voice_count) : null;
View actionView2 = findItem.getActionView();
if (actionView2 != null) {
imageView = (ImageView) actionView2.findViewById(R.id.text_in_voice_icon);
}
if (textView != null) {
ViewKt.setVisible(textView, false);
}
if (imageView != null) {
imageView.setImageResource(R.drawable.ic_text_in_voice);
}
findItem.getActionView().setOnClickListener(new AnonymousClass1());
}
}
}

View File

@ -151,7 +151,7 @@ public final class WidgetCallPreviewFullscreen extends AppFragment {
m.checkNotNullExpressionValue(toolbar, "binding.actionBarToolbar");
toolbar.setNavigationIcon(ContextCompat.getDrawable(requireContext(), z2 ? R.drawable.ic_call_toolbar_stage_minimize_cutout : R.drawable.ic_call_toolbar_stage_minimize));
getBinding().f2234b.setNavigationOnClickListener(new WidgetCallPreviewFullscreen$configureActionBar$1(this));
setActionBarOptionsMenu(R.menu.menu_call_preview_fullscreen, null, new WidgetCallPreviewFullscreen$configureActionBar$2(this, viewState));
setActionBarOptionsMenu(R.menu.menu_call_preview_fullscreen, new WidgetCallPreviewFullscreen$configureActionBar$2(this, viewState), new WidgetCallPreviewFullscreen$configureActionBar$3(this, viewState));
int color = ColorCompat.getColor(this, (int) R.color.transparent);
String titleText = viewState.getTitleText();
if (titleText == null) {

View File

@ -7,51 +7,55 @@ import com.discord.stores.StoreChannelsSelected;
import com.discord.stores.StoreMentions;
import com.discord.stores.StoreStream;
import com.discord.stores.StoreUser;
import com.discord.stores.StoreVoiceChannelSelected;
import com.discord.widgets.chat.list.TextInVoiceFeatureFlag;
import com.discord.widgets.voice.fullscreen.WidgetCallPreviewFullscreenViewModel;
import com.discord.widgets.voice.model.CallModel;
import d0.z.d.m;
import j0.k.b;
import rx.Observable;
import rx.functions.Func5;
import rx.functions.Func6;
/* compiled from: WidgetCallPreviewFullscreenViewModel.kt */
/* loaded from: classes2.dex */
public final class WidgetCallPreviewFullscreenViewModel$Companion$observeStoreState$1<T, R> implements b<Channel, Observable<? extends WidgetCallPreviewFullscreenViewModel.StoreState>> {
public final /* synthetic */ StoreChannelsSelected $storeChannelsSelected;
public final /* synthetic */ StoreMentions $storeMentions;
public final /* synthetic */ StoreUser $storeUser;
public final /* synthetic */ StoreVoiceChannelSelected $storeVoiceChannelSelected;
public final /* synthetic */ long $voiceChannelId;
/* compiled from: WidgetCallPreviewFullscreenViewModel.kt */
/* renamed from: com.discord.widgets.voice.fullscreen.WidgetCallPreviewFullscreenViewModel$Companion$observeStoreState$1$1 reason: invalid class name */
/* loaded from: classes2.dex */
public static final class AnonymousClass1<T1, T2, T3, T4, T5, R> implements Func5<MeUser, Channel, Boolean, Integer, CallModel, WidgetCallPreviewFullscreenViewModel.StoreState> {
public static final class AnonymousClass1<T1, T2, T3, T4, T5, T6, R> implements Func6<MeUser, Channel, Boolean, Integer, CallModel, Channel, WidgetCallPreviewFullscreenViewModel.StoreState> {
public final /* synthetic */ Channel $voiceChannel;
public AnonymousClass1(Channel channel) {
this.$voiceChannel = channel;
}
public final WidgetCallPreviewFullscreenViewModel.StoreState call(MeUser meUser, Channel channel, Boolean bool, Integer num, CallModel callModel) {
public final WidgetCallPreviewFullscreenViewModel.StoreState call(MeUser meUser, Channel channel, Boolean bool, Integer num, CallModel callModel, Channel channel2) {
if (callModel == null || this.$voiceChannel == null || channel == null) {
return WidgetCallPreviewFullscreenViewModel.StoreState.Invalid.INSTANCE;
}
boolean z2 = !StoreStream.Companion.getGuildsNsfw().isGuildNsfwGateAgreed(this.$voiceChannel.f());
boolean o = this.$voiceChannel.o();
NsfwAllowance nsfwAllowance = meUser != null ? meUser.getNsfwAllowance() : null;
Channel channel2 = this.$voiceChannel;
long id2 = meUser.getId();
Channel channel3 = this.$voiceChannel;
m.checkNotNullExpressionValue(bool, "isTextInVoiceEnabled");
boolean booleanValue = bool.booleanValue();
m.checkNotNullExpressionValue(num, "totalMentionsCount");
return new WidgetCallPreviewFullscreenViewModel.StoreState.Valid(channel2, channel, booleanValue, num.intValue(), z2, o, nsfwAllowance, callModel);
return new WidgetCallPreviewFullscreenViewModel.StoreState.Valid(id2, channel3, channel, booleanValue, num.intValue(), z2, o, nsfwAllowance, callModel, channel2);
}
}
public WidgetCallPreviewFullscreenViewModel$Companion$observeStoreState$1(StoreUser storeUser, StoreChannelsSelected storeChannelsSelected, StoreMentions storeMentions, long j) {
public WidgetCallPreviewFullscreenViewModel$Companion$observeStoreState$1(StoreUser storeUser, StoreChannelsSelected storeChannelsSelected, StoreMentions storeMentions, long j, StoreVoiceChannelSelected storeVoiceChannelSelected) {
this.$storeUser = storeUser;
this.$storeChannelsSelected = storeChannelsSelected;
this.$storeMentions = storeMentions;
this.$voiceChannelId = j;
this.$storeVoiceChannelSelected = storeVoiceChannelSelected;
}
public final Observable<? extends WidgetCallPreviewFullscreenViewModel.StoreState> call(Channel channel) {
@ -62,6 +66,6 @@ public final class WidgetCallPreviewFullscreenViewModel$Companion$observeStoreSt
if (channel != null) {
l = Long.valueOf(channel.f());
}
return Observable.g(observeMe$default, observeSelectedChannel, instance.observeEnabled(l), this.$storeMentions.observeTotalMentions(), CallModel.Companion.get(this.$voiceChannelId), new AnonymousClass1(channel));
return Observable.f(observeMe$default, observeSelectedChannel, instance.observeEnabled(l), this.$storeMentions.observeTotalMentions(), CallModel.Companion.get(this.$voiceChannelId), this.$storeVoiceChannelSelected.observeSelectedChannel(), new AnonymousClass1(channel));
}
}

View File

@ -92,12 +92,12 @@ public final class WidgetCallPreviewFullscreenViewModel extends AppViewModel<Vie
this();
}
public static final /* synthetic */ Observable access$observeStoreState(Companion companion, long j, StoreUser storeUser, StoreChannels storeChannels, StoreChannelsSelected storeChannelsSelected, StoreMentions storeMentions) {
return companion.observeStoreState(j, storeUser, storeChannels, storeChannelsSelected, storeMentions);
public static final /* synthetic */ Observable access$observeStoreState(Companion companion, long j, StoreUser storeUser, StoreChannels storeChannels, StoreChannelsSelected storeChannelsSelected, StoreMentions storeMentions, StoreVoiceChannelSelected storeVoiceChannelSelected) {
return companion.observeStoreState(j, storeUser, storeChannels, storeChannelsSelected, storeMentions, storeVoiceChannelSelected);
}
private final Observable<StoreState> observeStoreState(long j, StoreUser storeUser, StoreChannels storeChannels, StoreChannelsSelected storeChannelsSelected, StoreMentions storeMentions) {
Observable Y = storeChannels.observeChannel(j).Y(new WidgetCallPreviewFullscreenViewModel$Companion$observeStoreState$1(storeUser, storeChannelsSelected, storeMentions, j));
private final Observable<StoreState> observeStoreState(long j, StoreUser storeUser, StoreChannels storeChannels, StoreChannelsSelected storeChannelsSelected, StoreMentions storeMentions, StoreVoiceChannelSelected storeVoiceChannelSelected) {
Observable Y = storeChannels.observeChannel(j).Y(new WidgetCallPreviewFullscreenViewModel$Companion$observeStoreState$1(storeUser, storeChannelsSelected, storeMentions, j, storeVoiceChannelSelected));
m.checkNotNullExpressionValue(Y, "storeChannels.observeCha… }\n }\n }");
return Y;
}
@ -345,15 +345,18 @@ public final class WidgetCallPreviewFullscreenViewModel extends AppViewModel<Vie
private final boolean isTextInVoiceEnabled;
private final NsfwAllowance nsfwAllowed;
private final Channel selectedTextChannel;
private final Channel selectedVoiceChannel;
private final int totalMentionsCount;
private final long userId;
private final Channel voiceChannel;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public Valid(Channel channel, Channel channel2, boolean z2, int i, boolean z3, boolean z4, NsfwAllowance nsfwAllowance, CallModel callModel) {
public Valid(long j, Channel channel, Channel channel2, boolean z2, int i, boolean z3, boolean z4, NsfwAllowance nsfwAllowance, CallModel callModel, Channel channel3) {
super(null);
m.checkNotNullParameter(channel, "voiceChannel");
m.checkNotNullParameter(channel2, "selectedTextChannel");
m.checkNotNullParameter(callModel, "callModel");
this.userId = j;
this.voiceChannel = channel;
this.selectedTextChannel = channel2;
this.isTextInVoiceEnabled = z2;
@ -362,49 +365,58 @@ public final class WidgetCallPreviewFullscreenViewModel extends AppViewModel<Vie
this.isChannelNsfw = z4;
this.nsfwAllowed = nsfwAllowance;
this.callModel = callModel;
this.selectedVoiceChannel = channel3;
}
public static /* synthetic */ Valid copy$default(Valid valid, Channel channel, Channel channel2, boolean z2, int i, boolean z3, boolean z4, NsfwAllowance nsfwAllowance, CallModel callModel, int i2, Object obj) {
return valid.copy((i2 & 1) != 0 ? valid.voiceChannel : channel, (i2 & 2) != 0 ? valid.selectedTextChannel : channel2, (i2 & 4) != 0 ? valid.isTextInVoiceEnabled : z2, (i2 & 8) != 0 ? valid.totalMentionsCount : i, (i2 & 16) != 0 ? valid.isNsfwUnconsented : z3, (i2 & 32) != 0 ? valid.isChannelNsfw : z4, (i2 & 64) != 0 ? valid.nsfwAllowed : nsfwAllowance, (i2 & 128) != 0 ? valid.callModel : callModel);
public static /* synthetic */ Valid copy$default(Valid valid, long j, Channel channel, Channel channel2, boolean z2, int i, boolean z3, boolean z4, NsfwAllowance nsfwAllowance, CallModel callModel, Channel channel3, int i2, Object obj) {
return valid.copy((i2 & 1) != 0 ? valid.userId : j, (i2 & 2) != 0 ? valid.voiceChannel : channel, (i2 & 4) != 0 ? valid.selectedTextChannel : channel2, (i2 & 8) != 0 ? valid.isTextInVoiceEnabled : z2, (i2 & 16) != 0 ? valid.totalMentionsCount : i, (i2 & 32) != 0 ? valid.isNsfwUnconsented : z3, (i2 & 64) != 0 ? valid.isChannelNsfw : z4, (i2 & 128) != 0 ? valid.nsfwAllowed : nsfwAllowance, (i2 & 256) != 0 ? valid.callModel : callModel, (i2 & 512) != 0 ? valid.selectedVoiceChannel : channel3);
}
public final Channel component1() {
return this.voiceChannel;
public final long component1() {
return this.userId;
}
public final Channel component10() {
return this.selectedVoiceChannel;
}
public final Channel component2() {
return this.voiceChannel;
}
public final Channel component3() {
return this.selectedTextChannel;
}
public final boolean component3() {
public final boolean component4() {
return this.isTextInVoiceEnabled;
}
public final int component4() {
public final int component5() {
return this.totalMentionsCount;
}
public final boolean component5() {
public final boolean component6() {
return this.isNsfwUnconsented;
}
public final boolean component6() {
public final boolean component7() {
return this.isChannelNsfw;
}
public final NsfwAllowance component7() {
public final NsfwAllowance component8() {
return this.nsfwAllowed;
}
public final CallModel component8() {
public final CallModel component9() {
return this.callModel;
}
public final Valid copy(Channel channel, Channel channel2, boolean z2, int i, boolean z3, boolean z4, NsfwAllowance nsfwAllowance, CallModel callModel) {
public final Valid copy(long j, Channel channel, Channel channel2, boolean z2, int i, boolean z3, boolean z4, NsfwAllowance nsfwAllowance, CallModel callModel, Channel channel3) {
m.checkNotNullParameter(channel, "voiceChannel");
m.checkNotNullParameter(channel2, "selectedTextChannel");
m.checkNotNullParameter(callModel, "callModel");
return new Valid(channel, channel2, z2, i, z3, z4, nsfwAllowance, callModel);
return new Valid(j, channel, channel2, z2, i, z3, z4, nsfwAllowance, callModel, channel3);
}
public boolean equals(Object obj) {
@ -415,7 +427,7 @@ public final class WidgetCallPreviewFullscreenViewModel extends AppViewModel<Vie
return false;
}
Valid valid = (Valid) obj;
return m.areEqual(this.voiceChannel, valid.voiceChannel) && m.areEqual(this.selectedTextChannel, valid.selectedTextChannel) && this.isTextInVoiceEnabled == valid.isTextInVoiceEnabled && this.totalMentionsCount == valid.totalMentionsCount && this.isNsfwUnconsented == valid.isNsfwUnconsented && this.isChannelNsfw == valid.isChannelNsfw && m.areEqual(this.nsfwAllowed, valid.nsfwAllowed) && m.areEqual(this.callModel, valid.callModel);
return this.userId == valid.userId && m.areEqual(this.voiceChannel, valid.voiceChannel) && m.areEqual(this.selectedTextChannel, valid.selectedTextChannel) && this.isTextInVoiceEnabled == valid.isTextInVoiceEnabled && this.totalMentionsCount == valid.totalMentionsCount && this.isNsfwUnconsented == valid.isNsfwUnconsented && this.isChannelNsfw == valid.isChannelNsfw && m.areEqual(this.nsfwAllowed, valid.nsfwAllowed) && m.areEqual(this.callModel, valid.callModel) && m.areEqual(this.selectedVoiceChannel, valid.selectedVoiceChannel);
}
public final CallModel getCallModel() {
@ -430,18 +442,27 @@ public final class WidgetCallPreviewFullscreenViewModel extends AppViewModel<Vie
return this.selectedTextChannel;
}
public final Channel getSelectedVoiceChannel() {
return this.selectedVoiceChannel;
}
public final int getTotalMentionsCount() {
return this.totalMentionsCount;
}
public final long getUserId() {
return this.userId;
}
public final Channel getVoiceChannel() {
return this.voiceChannel;
}
public int hashCode() {
int a = b.a(this.userId) * 31;
Channel channel = this.voiceChannel;
int i = 0;
int hashCode = (channel != null ? channel.hashCode() : 0) * 31;
int hashCode = (a + (channel != null ? channel.hashCode() : 0)) * 31;
Channel channel2 = this.selectedTextChannel;
int hashCode2 = (hashCode + (channel2 != null ? channel2.hashCode() : 0)) * 31;
boolean z2 = this.isTextInVoiceEnabled;
@ -469,10 +490,12 @@ public final class WidgetCallPreviewFullscreenViewModel extends AppViewModel<Vie
NsfwAllowance nsfwAllowance = this.nsfwAllowed;
int hashCode3 = (i11 + (nsfwAllowance != null ? nsfwAllowance.hashCode() : 0)) * 31;
CallModel callModel = this.callModel;
if (callModel != null) {
i = callModel.hashCode();
int hashCode4 = (hashCode3 + (callModel != null ? callModel.hashCode() : 0)) * 31;
Channel channel3 = this.selectedVoiceChannel;
if (channel3 != null) {
i = channel3.hashCode();
}
return hashCode3 + i;
return hashCode4 + i;
}
public final boolean isChannelNsfw() {
@ -488,7 +511,9 @@ public final class WidgetCallPreviewFullscreenViewModel extends AppViewModel<Vie
}
public String toString() {
StringBuilder R = a.R("Valid(voiceChannel=");
StringBuilder R = a.R("Valid(userId=");
R.append(this.userId);
R.append(", voiceChannel=");
R.append(this.voiceChannel);
R.append(", selectedTextChannel=");
R.append(this.selectedTextChannel);
@ -504,6 +529,8 @@ public final class WidgetCallPreviewFullscreenViewModel extends AppViewModel<Vie
R.append(this.nsfwAllowed);
R.append(", callModel=");
R.append(this.callModel);
R.append(", selectedVoiceChannel=");
R.append(this.selectedVoiceChannel);
R.append(")");
return R.toString();
}
@ -763,7 +790,7 @@ public final class WidgetCallPreviewFullscreenViewModel extends AppViewModel<Vie
Code decompiled incorrectly, please refer to instructions dump.
*/
public /* synthetic */ WidgetCallPreviewFullscreenViewModel(long j, StoreChannels storeChannels, StoreMentions storeMentions, StoreNavigation storeNavigation, StoreUserSettings storeUserSettings, StoreVoiceChannelSelected storeVoiceChannelSelected, StoreChannelsSelected storeChannelsSelected, StoreApplicationStreamPreviews storeApplicationStreamPreviews, StoreApplication storeApplication, StoreUser storeUser, Observable observable, StoreMediaSettings storeMediaSettings, int i, DefaultConstructorMarker defaultConstructorMarker) {
this(j, r5, r6, r7, r8, r9, r10, r11, r12, r13, (i & 1024) != 0 ? Companion.access$observeStoreState(Companion, j, r13, r5, r10, r6) : observable, (i & 2048) != 0 ? StoreStream.Companion.getMediaSettings() : storeMediaSettings);
this(j, r5, r6, r7, r8, r9, r10, r11, r12, r13, (i & 1024) != 0 ? Companion.access$observeStoreState(Companion, j, r13, r5, r10, r6, r9) : observable, (i & 2048) != 0 ? StoreStream.Companion.getMediaSettings() : storeMediaSettings);
StoreChannels channels = (i & 2) != 0 ? StoreStream.Companion.getChannels() : storeChannels;
StoreMentions mentions = (i & 4) != 0 ? StoreStream.Companion.getMentions() : storeMentions;
StoreNavigation navigation = (i & 8) != 0 ? StoreStream.Companion.getNavigation() : storeNavigation;
@ -787,6 +814,15 @@ public final class WidgetCallPreviewFullscreenViewModel extends AppViewModel<Vie
Map<Long, EmbeddedActivity> embeddedActivitiesForChannel = valid.getCallModel().getEmbeddedActivitiesForChannel();
StoreApplicationStreaming.ActiveApplicationStream activeStream = valid.getCallModel().getActiveStream();
List<CallParticipantsAdapter.ListItem> createConnectedListItems = ParticipantsListItemGenerator.Companion.createConnectedListItems(valid.getCallModel().getParticipants(), (activeStream == null || (stream = activeStream.getStream()) == null) ? null : stream.getEncodedStreamKey(), valid.getVoiceChannel(), valid.getCallModel(), u.toList(embeddedActivitiesForChannel.values()), valid.getCallModel().getApplications());
Channel selectedVoiceChannel = valid.getSelectedVoiceChannel();
if (selectedVoiceChannel != null) {
long h = selectedVoiceChannel.h();
long j = this.voiceChannelId;
if (h == j) {
this.eventSubject.k.onNext(new Event.LaunchVideoCall(j, null));
return;
}
}
for (Long l : embeddedActivitiesForChannel.keySet()) {
this.storeApplication.fetchIfNonexisting(l.longValue());
}

View File

@ -10,7 +10,7 @@ import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
/* loaded from: com.discord-116006.apk:com/zwitserloot/cmdreader/CmdReader.SCL.lombok */
/* loaded from: com.discord-117014.apk:com/zwitserloot/cmdreader/CmdReader.SCL.lombok */
public class CmdReader<T> {
private final Class<T> settingsDescriptor;
private final List<ParseItem> items = Collections.unmodifiableList(init());
@ -19,7 +19,7 @@ public class CmdReader<T> {
private static final int SCREEN_WIDTH = 72;
/* renamed from: com.zwitserloot.cmdreader.CmdReader$1State reason: invalid class name */
/* loaded from: com.discord-116006.apk:com/zwitserloot/cmdreader/CmdReader$1State.SCL.lombok */
/* loaded from: com.discord-117014.apk:com/zwitserloot/cmdreader/CmdReader$1State.SCL.lombok */
class C1State {
List<ParseItem> used = new ArrayList();
final /* synthetic */ Object val$obj;

View File

@ -8,7 +8,7 @@ import java.lang.annotation.Target;
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
/* loaded from: com.discord-116006.apk:com/zwitserloot/cmdreader/Description.SCL.lombok */
/* loaded from: com.discord-117014.apk:com/zwitserloot/cmdreader/Description.SCL.lombok */
public @interface Description {
String value();
}

View File

@ -8,7 +8,7 @@ import java.lang.annotation.Target;
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
/* loaded from: com.discord-116006.apk:com/zwitserloot/cmdreader/Excludes.SCL.lombok */
/* loaded from: com.discord-117014.apk:com/zwitserloot/cmdreader/Excludes.SCL.lombok */
public @interface Excludes {
String[] value();
}

View File

@ -8,7 +8,7 @@ import java.lang.annotation.Target;
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
/* loaded from: com.discord-116006.apk:com/zwitserloot/cmdreader/FullName.SCL.lombok */
/* loaded from: com.discord-117014.apk:com/zwitserloot/cmdreader/FullName.SCL.lombok */
public @interface FullName {
String value() default "";
}

View File

@ -1,5 +1,5 @@
package com.zwitserloot.cmdreader;
/* loaded from: com.discord-116006.apk:com/zwitserloot/cmdreader/InvalidCommandLineException.SCL.lombok */
/* loaded from: com.discord-117014.apk:com/zwitserloot/cmdreader/InvalidCommandLineException.SCL.lombok */
public class InvalidCommandLineException extends Exception {
private static final long serialVersionUID = 20080509;

View File

@ -8,7 +8,7 @@ import java.lang.annotation.Target;
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
/* loaded from: com.discord-116006.apk:com/zwitserloot/cmdreader/Mandatory.SCL.lombok */
/* loaded from: com.discord-117014.apk:com/zwitserloot/cmdreader/Mandatory.SCL.lombok */
public @interface Mandatory {
String[] onlyIf() default {};

View File

@ -18,7 +18,7 @@ import java.util.List;
import java.util.Map;
import java.util.Queue;
import java.util.Set;
/* loaded from: com.discord-116006.apk:com/zwitserloot/cmdreader/ParseItem.SCL.lombok */
/* loaded from: com.discord-117014.apk:com/zwitserloot/cmdreader/ParseItem.SCL.lombok */
class ParseItem {
private final Field field;
private final boolean isCollection;

View File

@ -8,7 +8,7 @@ import java.lang.annotation.Target;
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
/* loaded from: com.discord-116006.apk:com/zwitserloot/cmdreader/Requires.SCL.lombok */
/* loaded from: com.discord-117014.apk:com/zwitserloot/cmdreader/Requires.SCL.lombok */
public @interface Requires {
String[] value();
}

View File

@ -8,6 +8,6 @@ import java.lang.annotation.Target;
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
/* loaded from: com.discord-116006.apk:com/zwitserloot/cmdreader/Sequential.SCL.lombok */
/* loaded from: com.discord-117014.apk:com/zwitserloot/cmdreader/Sequential.SCL.lombok */
public @interface Sequential {
}

View File

@ -8,7 +8,7 @@ import java.lang.annotation.Target;
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
/* loaded from: com.discord-116006.apk:com/zwitserloot/cmdreader/Shorthand.SCL.lombok */
/* loaded from: com.discord-117014.apk:com/zwitserloot/cmdreader/Shorthand.SCL.lombok */
public @interface Shorthand {
String[] value() default {};
}

View File

@ -4,7 +4,7 @@ import android.view.View;
import com.discord.views.TernaryCheckBox;
/* compiled from: java-style lambda group */
/* renamed from: c reason: default package */
/* loaded from: classes3.dex */
/* loaded from: classes.dex */
public final class c implements View.OnClickListener {
public final /* synthetic */ int j;
public final /* synthetic */ Object k;

View File

@ -3,7 +3,7 @@ package defpackage;
import android.view.View;
/* compiled from: java-style lambda group */
/* renamed from: d reason: default package */
/* loaded from: classes3.dex */
/* loaded from: classes2.dex */
public final class d implements View.OnClickListener {
public static final d j = new d(0);
public static final d k = new d(1);

View File

@ -5,7 +5,7 @@ import com.lytefast.flexinput.adapters.AttachmentPreviewAdapter;
import com.lytefast.flexinput.model.Attachment;
/* compiled from: java-style lambda group */
/* renamed from: e reason: default package */
/* loaded from: classes3.dex */
/* loaded from: classes2.dex */
public final class e implements View.OnClickListener {
public final /* synthetic */ int j;
public final /* synthetic */ Object k;

View File

@ -5,7 +5,7 @@ import kotlin.jvm.internal.Intrinsics;
import kotlinx.coroutines.debug.internal.DebugProbesImpl;
import org.jetbrains.annotations.NotNull;
/* compiled from: DebugProbes.kt */
/* loaded from: com.discord-116006.apk:DebugProbesKt.bin */
/* loaded from: com.discord-117014.apk:DebugProbesKt.bin */
public final class DebugProbesKt {
@NotNull
public static final <T> Continuation<T> probeCoroutineCreated(@NotNull Continuation<? super T> continuation) {

View File

@ -5,11 +5,11 @@ import org.objectweb.asm.ClassVisitor;
import org.objectweb.asm.MethodVisitor;
import org.objectweb.asm.Opcodes;
import org.objectweb.asm.commons.JSRInlinerAdapter;
/* loaded from: com.discord-116006.apk:lombok/bytecode/AsmUtil.SCL.lombok */
/* loaded from: com.discord-117014.apk:lombok/bytecode/AsmUtil.SCL.lombok */
class AsmUtil {
/* renamed from: lombok.bytecode.AsmUtil$1 reason: invalid class name */
/* loaded from: com.discord-116006.apk:lombok/bytecode/AsmUtil$1.SCL.lombok */
/* loaded from: com.discord-117014.apk:lombok/bytecode/AsmUtil$1.SCL.lombok */
class AnonymousClass1 extends ClassVisitor {
AnonymousClass1(int i, ClassVisitor classVisitor) {
super(i, classVisitor);

View File

@ -3,7 +3,7 @@ package lombok.bytecode;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/* loaded from: com.discord-116006.apk:lombok/bytecode/ClassFileMetaData.SCL.lombok */
/* loaded from: com.discord-117014.apk:lombok/bytecode/ClassFileMetaData.SCL.lombok */
public class ClassFileMetaData {
private static final byte UTF8 = 1;
private static final byte INTEGER = 3;

View File

@ -2,7 +2,7 @@ package lombok.bytecode;
import org.objectweb.asm.ClassReader;
import org.objectweb.asm.ClassWriter;
/* loaded from: com.discord-116006.apk:lombok/bytecode/FixedClassWriter.SCL.lombok */
/* loaded from: com.discord-117014.apk:lombok/bytecode/FixedClassWriter.SCL.lombok */
class FixedClassWriter extends ClassWriter {
FixedClassWriter(ClassReader classReader, int i) {
super(classReader, i);

View File

@ -11,10 +11,10 @@ import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import lombok.core.LombokApp;
/* loaded from: com.discord-116006.apk:lombok/bytecode/PoolConstantsApp.SCL.lombok */
/* loaded from: com.discord-117014.apk:lombok/bytecode/PoolConstantsApp.SCL.lombok */
public class PoolConstantsApp extends LombokApp {
/* loaded from: com.discord-116006.apk:lombok/bytecode/PoolConstantsApp$CmdArgs.SCL.lombok */
/* loaded from: com.discord-117014.apk:lombok/bytecode/PoolConstantsApp$CmdArgs.SCL.lombok */
public static class CmdArgs {
@Mandatory
@Description("paths to class files to be printed. If a directory is named, all files (recursively) in that directory will be printed.")

View File

@ -18,10 +18,10 @@ import java.util.List;
import lombok.core.DiagnosticsReceiver;
import lombok.core.LombokApp;
import lombok.core.PostCompiler;
/* loaded from: com.discord-116006.apk:lombok/bytecode/PostCompilerApp.SCL.lombok */
/* loaded from: com.discord-117014.apk:lombok/bytecode/PostCompilerApp.SCL.lombok */
public class PostCompilerApp extends LombokApp {
/* loaded from: com.discord-116006.apk:lombok/bytecode/PostCompilerApp$CmdArgs.SCL.lombok */
/* loaded from: com.discord-117014.apk:lombok/bytecode/PostCompilerApp$CmdArgs.SCL.lombok */
public static class CmdArgs {
@Mandatory
@Description("paths to class files to be converted. If a directory is named, all files (recursively) in that directory will be converted.")

Some files were not shown because too many files have changed in this diff Show More