99.11 - Beta (99111)

This commit is contained in:
Juby210 2021-10-25 09:24:42 +02:00
parent f634a3bb3a
commit ba3cd5de2e
3462 changed files with 40385 additions and 38937 deletions

View File

@ -10,8 +10,8 @@ android {
applicationId 'com.discord'
minSdkVersion 21
targetSdkVersion 29
versionCode 98108
versionName "98.8 - Beta"
versionCode 99111
versionName "99.11 - Beta"
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="98108" android:versionName="98.8 - Beta" 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="99111" android:versionName="99.11 - Beta" android:installLocation="auto" android:compileSdkVersion="30" android:compileSdkVersionCodename="11" package="com.discord" platformBuildVersionCode="30" platformBuildVersionName="11">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="29"/>
<uses-feature android:name="android.hardware.camera" android:required="false"/>
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>

View File

@ -30,7 +30,7 @@ public class ResultReceiver implements Parcelable {
}
}
public class b extends a.AbstractBinderC0361a {
public class b extends a.AbstractBinderC0362a {
public b() {
}
@ -44,12 +44,12 @@ public class ResultReceiver implements Parcelable {
public ResultReceiver(Parcel parcel) {
w.a.b.c.a aVar;
IBinder readStrongBinder = parcel.readStrongBinder();
int i = a.AbstractBinderC0361a.a;
int i = a.AbstractBinderC0362a.a;
if (readStrongBinder == null) {
aVar = null;
} else {
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("android.support.v4.os.IResultReceiver");
aVar = (queryLocalInterface == null || !(queryLocalInterface instanceof w.a.b.c.a)) ? new a.AbstractBinderC0361a.C0362a(readStrongBinder) : (w.a.b.c.a) queryLocalInterface;
aVar = (queryLocalInterface == null || !(queryLocalInterface instanceof w.a.b.c.a)) ? new a.AbstractBinderC0362a.C0363a(readStrongBinder) : (w.a.b.c.a) queryLocalInterface;
}
this.i = aVar;
}

View File

@ -48,7 +48,7 @@ public class CustomTabsClient {
}
/* renamed from: androidx.browser.customtabs.CustomTabsClient$2 reason: invalid class name */
public class AnonymousClass2 extends a.AbstractBinderC0350a {
public class AnonymousClass2 extends a.AbstractBinderC0351a {
private Handler mHandler = new Handler(Looper.getMainLooper());
public final /* synthetic */ CustomTabsCallback val$callback;
@ -219,7 +219,7 @@ public class CustomTabsClient {
}
}
private a.AbstractBinderC0350a createCallbackWrapper(@Nullable CustomTabsCallback customTabsCallback) {
private a.AbstractBinderC0351a createCallbackWrapper(@Nullable CustomTabsCallback customTabsCallback) {
return new AnonymousClass2(customTabsCallback);
}
@ -270,7 +270,7 @@ public class CustomTabsClient {
@Nullable
private CustomTabsSession newSessionInternal(@Nullable CustomTabsCallback customTabsCallback, @Nullable PendingIntent pendingIntent) {
boolean z2;
a.AbstractBinderC0350a createCallbackWrapper = createCallbackWrapper(customTabsCallback);
a.AbstractBinderC0351a createCallbackWrapper = createCallbackWrapper(customTabsCallback);
if (pendingIntent != null) {
try {
Bundle bundle = new Bundle();

View File

@ -83,8 +83,8 @@ public class CustomTabsSessionToken {
}
}
public static class MockCallback extends a.AbstractBinderC0350a {
@Override // w.a.a.a.AbstractBinderC0350a, android.os.IInterface
public static class MockCallback extends a.AbstractBinderC0351a {
@Override // w.a.a.a.AbstractBinderC0351a, android.os.IInterface
public IBinder asBinder() {
return this;
}
@ -150,7 +150,7 @@ public class CustomTabsSessionToken {
return null;
}
if (binder != null) {
aVar = a.AbstractBinderC0350a.asInterface(binder);
aVar = a.AbstractBinderC0351a.asInterface(binder);
}
return new CustomTabsSessionToken(aVar, pendingIntent);
}

View File

@ -26,7 +26,7 @@ public abstract class PostMessageServiceConnection implements PostMessageBackend
public PostMessageServiceConnection(@NonNull CustomTabsSessionToken customTabsSessionToken) {
IBinder callbackBinder = customTabsSessionToken.getCallbackBinder();
if (callbackBinder != null) {
this.mSessionBinder = a.AbstractBinderC0350a.asInterface(callbackBinder);
this.mSessionBinder = a.AbstractBinderC0351a.asInterface(callbackBinder);
return;
}
throw new IllegalArgumentException("Provided session must have binder.");

View File

@ -15,7 +15,7 @@ public class TrustedWebActivityCallbackRemote {
@Nullable
public static TrustedWebActivityCallbackRemote fromBinder(@Nullable IBinder iBinder) {
a asInterface = iBinder == null ? null : a.AbstractBinderC0354a.asInterface(iBinder);
a asInterface = iBinder == null ? null : a.AbstractBinderC0355a.asInterface(iBinder);
if (asInterface == null) {
return null;
}

View File

@ -23,7 +23,7 @@ public final class TrustedWebActivityServiceConnection {
private final b mService;
/* renamed from: androidx.browser.trusted.TrustedWebActivityServiceConnection$1 reason: invalid class name */
public class AnonymousClass1 extends a.AbstractBinderC0354a {
public class AnonymousClass1 extends a.AbstractBinderC0355a {
public final /* synthetic */ TrustedWebActivityCallback val$callback;
public AnonymousClass1(TrustedWebActivityCallback trustedWebActivityCallback) {

View File

@ -9,7 +9,7 @@ import android.os.RemoteException;
import w.a.b.a.a;
public abstract class NotificationCompatSideChannelService extends Service {
public class NotificationSideChannelStub extends a.AbstractBinderC0357a {
public class NotificationSideChannelStub extends a.AbstractBinderC0358a {
public NotificationSideChannelStub() {
}

View File

@ -226,7 +226,7 @@ public final class NotificationManagerCompat {
private void handleServiceConnected(ComponentName componentName, IBinder iBinder) {
ListenerRecord listenerRecord = this.mRecordMap.get(componentName);
if (listenerRecord != null) {
listenerRecord.service = a.AbstractBinderC0357a.asInterface(iBinder);
listenerRecord.service = a.AbstractBinderC0358a.asInterface(iBinder);
listenerRecord.retryCount = 0;
processListenerQueue(listenerRecord);
}

View File

@ -12,7 +12,7 @@ public final class RangeKt$toClosedRange$1 implements a<T> {
@Override // c0.d0.a
public boolean contains(T t) {
return a.C0178a.contains(this, t);
return a.C0179a.contains(this, t);
}
/* JADX WARNING: Unknown variable types count: 1 */
@ -28,6 +28,6 @@ public final class RangeKt$toClosedRange$1 implements a<T> {
}
public boolean isEmpty() {
return a.C0178a.isEmpty(this);
return a.C0179a.isEmpty(this);
}
}

View File

@ -91,7 +91,7 @@ public final class a<K, T extends ChipsView.a> implements View.OnClickListener {
@Override // android.view.View.OnClickListener
public void onClick(View view) {
m.checkNotNullParameter(view, "v");
this.p.f2013z.clearFocus();
this.p.f2014z.clearFocus();
ChipsView<K, T> chipsView = this.p;
Objects.requireNonNull(chipsView);
m.checkNotNullParameter(this, "chip");

View File

@ -12,7 +12,7 @@ public final class g implements View.OnClickListener {
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
this.i.f2013z.requestFocus();
this.i.f2014z.requestFocus();
this.i.f(null);
}
}

View File

@ -19,14 +19,17 @@ public final class h3 implements ViewBinding {
@NonNull
public final CheckedSetting d;
@NonNull
public final LinearLayout e;
public final CheckedSetting e;
@NonNull
public final LinearLayout f;
public h3(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull CheckedSetting checkedSetting, @NonNull CheckedSetting checkedSetting2, @NonNull LinearLayout linearLayout2) {
public h3(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull CheckedSetting checkedSetting, @NonNull CheckedSetting checkedSetting2, @NonNull CheckedSetting checkedSetting3, @NonNull LinearLayout linearLayout2) {
this.a = linearLayout;
this.b = textView;
this.f106c = checkedSetting;
this.d = checkedSetting2;
this.e = linearLayout2;
this.e = checkedSetting3;
this.f = linearLayout2;
}
@Override // androidx.viewbinding.ViewBinding

View File

@ -19,16 +19,13 @@ public final class u2 implements ViewBinding {
public final TextView d;
@NonNull
public final TextView e;
@NonNull
public final TextView f;
public u2(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull TextView textView2, @NonNull TextView textView3, @NonNull TextView textView4, @NonNull TextView textView5) {
this.a = linearLayout;
this.b = textView;
this.f170c = textView2;
this.d = textView3;
this.e = textView4;
this.f = textView5;
this.f170c = textView3;
this.d = textView4;
this.e = textView5;
}
@Override // androidx.viewbinding.ViewBinding

View File

@ -20,13 +20,16 @@ public final class w3 implements ViewBinding {
public final TextView d;
@NonNull
public final TextView e;
@NonNull
public final ImageView f;
public w3(@NonNull View view, @NonNull ImageView imageView, @NonNull StatusView statusView, @NonNull TextView textView, @NonNull TextView textView2) {
public w3(@NonNull View view, @NonNull ImageView imageView, @NonNull StatusView statusView, @NonNull TextView textView, @NonNull TextView textView2, @NonNull ImageView imageView2) {
this.a = view;
this.b = imageView;
this.f182c = statusView;
this.d = textView;
this.e = textView2;
this.f = imageView2;
}
@Override // androidx.viewbinding.ViewBinding

View File

@ -218,7 +218,7 @@ public final class b {
m.checkNotNullParameter(objArr, "formatArgs");
m.checkNotNullParameter(renderContext, "renderContext");
Map<String, String> map = renderContext.a;
List<? extends Object> list = renderContext.f2506c;
List<? extends Object> list = renderContext.f2507c;
boolean z2 = true;
if (!map.isEmpty()) {
charSequence = a.replace(charSequence, new f(map));

View File

@ -38,7 +38,7 @@ public final class c extends Node.a<RenderContext> {
spannableStringBuilder.setSpan(obj2, length, spannableStringBuilder.length(), 33);
}
}
Hook.a aVar2 = hook != null ? hook.f2505c : null;
Hook.a aVar2 = hook != null ? hook.f2506c : null;
if (aVar2 != null) {
aVar = aVar2;
} else if (URLUtil.isValidUrl(this.a)) {

View File

@ -33,7 +33,7 @@ public final class a extends Parser<RenderContext, Node<RenderContext>, c> {
Pattern pattern5 = c.a.t.b.b.e.g;
m.checkNotNullExpressionValue(pattern5, "SimpleMarkdownRules.PATTERN_ITALICS");
addRule(new h(pattern5));
Pattern pattern6 = c.a.t.b.b.e.f244c;
Pattern pattern6 = c.a.t.b.b.e.f245c;
m.checkNotNullExpressionValue(pattern6, "SimpleMarkdownRules.PATTERN_STRIKETHRU");
addRule(new i(pattern6));
addRule(eVar.d());

View File

@ -23,7 +23,7 @@ public final class b extends o implements Function1<OverlayBubbleWrap, Boolean>
OverlayBubbleWrap overlayBubbleWrap2 = overlayBubbleWrap;
m.checkNotNullParameter(overlayBubbleWrap2, "bubbleWrap");
try {
this.this$0.f2554r.removeViewImmediate(overlayBubbleWrap2);
this.this$0.f2555r.removeViewImmediate(overlayBubbleWrap2);
this.this$0.l.invoke(overlayBubbleWrap2);
z2 = true;
} catch (IllegalArgumentException unused) {

View File

@ -77,8 +77,8 @@ public final class d implements View.OnClickListener {
overlayBubbleWrap.addOnAttachStateChangeListener(new a(this));
this.i.a(overlayBubbleWrap);
this.k.setBubbleTouchable(false);
this.i.f2554r.removeViewImmediate(this.k);
WindowManager windowManager = this.i.f2554r;
this.i.f2555r.removeViewImmediate(this.k);
WindowManager windowManager = this.i.f2555r;
OverlayBubbleWrap overlayBubbleWrap2 = this.k;
windowManager.addView(overlayBubbleWrap2, overlayBubbleWrap2.getWindowLayoutParams());
}

View File

@ -24,7 +24,7 @@ public final /* synthetic */ class a0 extends k implements Function1<Pair<? exte
Pair<? extends Map<String, ? extends EncodeQuality>, ? extends RtcConnection.State> pair2 = pair;
m.checkNotNullParameter(pair2, "p1");
RtcConnection rtcConnection = (RtcConnection) this.receiver;
if (rtcConnection.f2571a0) {
if (rtcConnection.f2572a0) {
Map map = (Map) pair2.component1();
if (m.areEqual((RtcConnection.State) pair2.component2(), RtcConnection.State.f.a)) {
rtcConnection.U.i(rtcConnection.k, "local MediaSinkWants: " + map, null);

View File

@ -42,7 +42,7 @@ public final class b0 implements MediaEngineConnection.d {
RtcConnection rtcConnection = this.a;
rtcConnection.p.succeed();
rtcConnection.q = transportInfo;
MediaEngineConnection mediaEngineConnection2 = rtcConnection.f2575w;
MediaEngineConnection mediaEngineConnection2 = rtcConnection.f2576w;
if (mediaEngineConnection2 != null) {
d dVar = new d(1000, rtcConnection.U, mediaEngineConnection2, new VoiceQuality(), rtcConnection.A, new KrispOveruseDetector(mediaEngineConnection2), 0, 64);
dVar.a.clear();
@ -54,9 +54,9 @@ public final class b0 implements MediaEngineConnection.d {
rtcConnection.n = dVar;
rtcConnection.o = false;
}
if (transportInfo.f2593c.ordinal() != 0) {
if (transportInfo.f2594c.ordinal() != 0) {
StringBuilder O = c.d.b.a.a.O("Unsupported protocol: ");
O.append(transportInfo.f2593c);
O.append(transportInfo.f2594c);
O.append('.');
RtcConnection.j(rtcConnection, true, O.toString(), null, false, 12);
} else {
@ -91,7 +91,7 @@ public final class b0 implements MediaEngineConnection.d {
m.checkNotNullParameter(mediaEngineConnection, "connection");
m.checkNotNullParameter(connectionState, "connectionState");
RtcConnection rtcConnection = this.a;
RtcConnection.StateChange stateChange = rtcConnection.f2574r;
RtcConnection.StateChange stateChange = rtcConnection.f2575r;
rtcConnection.r("Connection state change: " + connectionState);
int ordinal = connectionState.ordinal();
if (ordinal == 0) {
@ -106,10 +106,10 @@ public final class b0 implements MediaEngineConnection.d {
throw new NoWhenBranchMatchedException();
}
rtcConnection.u(state);
if (stateChange.a == RtcConnection.State.g.a && rtcConnection.f2574r.a == RtcConnection.State.h.a) {
if (stateChange.a == RtcConnection.State.g.a && rtcConnection.f2575r.a == RtcConnection.State.h.a) {
rtcConnection.q();
}
if (rtcConnection.f2574r.a == RtcConnection.State.f.a) {
if (rtcConnection.f2575r.a == RtcConnection.State.f.a) {
rtcConnection.C = Long.valueOf(rtcConnection.V.currentTimeMillis());
rtcConnection.I = true;
Map<String, Object> mutableMapOf = h0.mutableMapOf(c0.o.to("connect_count", Integer.valueOf(rtcConnection.D)));
@ -123,7 +123,7 @@ public final class b0 implements MediaEngineConnection.d {
rtcConnection.p(RtcConnection.AnalyticsEvent.VOICE_CONNECTION_SUCCESS, mutableMapOf);
MediaSinkWantsManager mediaSinkWantsManager = rtcConnection.G;
if (mediaSinkWantsManager != null) {
mediaSinkWantsManager.b(new i(mediaSinkWantsManager, rtcConnection.f2575w));
mediaSinkWantsManager.b(new i(mediaSinkWantsManager, rtcConnection.f2576w));
}
}
}

View File

@ -41,7 +41,7 @@ public final class h0 implements a.d {
public void a(String str, String str2) {
m.checkNotNullParameter(str, "audioCodec");
m.checkNotNullParameter(str2, "videoCodec");
MediaEngineConnection mediaEngineConnection = this.a.f2575w;
MediaEngineConnection mediaEngineConnection = this.a.f2576w;
if (mediaEngineConnection != null) {
mediaEngineConnection.r(str, str2);
}
@ -52,11 +52,11 @@ public final class h0 implements a.d {
RtcConnection rtcConnection = this.a;
Objects.requireNonNull(rtcConnection);
rtcConnection.r("Disconnected from RTC server. wasFatal: " + z2 + " -- code: " + num + " -- reason: " + str);
MediaEngineConnection mediaEngineConnection = rtcConnection.f2575w;
MediaEngineConnection mediaEngineConnection = rtcConnection.f2576w;
if (mediaEngineConnection != null) {
mediaEngineConnection.destroy();
}
MediaEngineConnection mediaEngineConnection2 = rtcConnection.f2575w;
MediaEngineConnection mediaEngineConnection2 = rtcConnection.f2576w;
if (mediaEngineConnection2 != null) {
mediaEngineConnection2.o(rtcConnection.M);
}
@ -67,7 +67,7 @@ public final class h0 implements a.d {
if ((num != null && num.intValue() == 1000) || z4) {
z3 = false;
}
if (!(rtcConnection.f2574r.a instanceof RtcConnection.State.d)) {
if (!(rtcConnection.f2575r.a instanceof RtcConnection.State.d)) {
rtcConnection.n(z3, str);
d dVar = rtcConnection.n;
if (dVar != null) {
@ -76,7 +76,7 @@ public final class h0 implements a.d {
rtcConnection.n = null;
rtcConnection.o = false;
}
rtcConnection.f2578z = 0;
rtcConnection.f2579z = 0;
rtcConnection.C = null;
MediaSinkWantsManager mediaSinkWantsManager = rtcConnection.G;
if (mediaSinkWantsManager != null) {
@ -93,7 +93,7 @@ public final class h0 implements a.d {
public void c(String str, List<Integer> list) {
m.checkNotNullParameter(str, "mode");
m.checkNotNullParameter(list, "secretKey");
MediaEngineConnection mediaEngineConnection = this.a.f2575w;
MediaEngineConnection mediaEngineConnection = this.a.f2576w;
if (mediaEngineConnection != null) {
mediaEngineConnection.t(str, u.toIntArray(list));
}
@ -241,7 +241,7 @@ public final class h0 implements a.d {
n nVar = cVar2.a;
int max = Math.max((int) (((double) j0Var.f212c.a) * nVar.f224c), j0Var.d);
int max2 = Math.max((int) (((double) j0Var.f212c.b) * nVar.f224c), j0Var.d);
MediaEngineConnection mediaEngineConnection = rtcConnection.f2575w;
MediaEngineConnection mediaEngineConnection = rtcConnection.f2576w;
if (mediaEngineConnection != null) {
mediaEngineConnection.m(new MediaEngineConnection.b(max, max2, nVar.a, nVar.b, nVar.d, nVar.e));
return;
@ -261,7 +261,7 @@ public final class h0 implements a.d {
r.removeFirst(rtcConnection.u);
}
if (j > ((long) 500)) {
rtcConnection.f2578z++;
rtcConnection.f2579z++;
}
double d = (double) j;
Objects.requireNonNull(RtcConnection.Quality.Companion);
@ -372,7 +372,7 @@ public final class h0 implements a.d {
return;
}
g.l(rtcConnection.M);
rtcConnection.f2575w = g;
rtcConnection.f2576w = g;
}
@Override // c.a.q.n0.a.d
@ -391,7 +391,7 @@ public final class h0 implements a.d {
public void onSpeaking(long j, int i, boolean z2) {
RtcConnection rtcConnection = this.a;
if (j != rtcConnection.S) {
MediaEngineConnection mediaEngineConnection = rtcConnection.f2575w;
MediaEngineConnection mediaEngineConnection = rtcConnection.f2576w;
if (mediaEngineConnection != null) {
mediaEngineConnection.s(j, i, null, rtcConnection.g(j), rtcConnection.h(j));
}

View File

@ -34,7 +34,7 @@ public final class j extends o implements Function0<Unit> {
Long l2 = this.$userId;
if (l2 == null) {
this.this$0.e = null;
} else if (this.this$0.f2569c.contains(l2)) {
} else if (this.this$0.f2570c.contains(l2)) {
MediaSinkWantsManager mediaSinkWantsManager2 = this.this$0;
Long l3 = this.$userId;
mediaSinkWantsManager2.e = l3;

View File

@ -19,8 +19,8 @@ public final class f extends ContentObserver {
super.onChange(z2);
DiscordAudioManager discordAudioManager = this.a;
int streamVolume = discordAudioManager.e.getStreamVolume(3);
discordAudioManager.f2583w = streamVolume;
SerializedSubject<Integer, Integer> serializedSubject = discordAudioManager.f2585y;
discordAudioManager.f2584w = streamVolume;
SerializedSubject<Integer, Integer> serializedSubject = discordAudioManager.f2586y;
serializedSubject.j.onNext(Integer.valueOf(streamVolume));
}
}

View File

@ -96,10 +96,10 @@ public final class l extends o implements Function0<Unit> {
}
if (arrayList2.isEmpty()) {
this.this$0.b.remove(Long.valueOf(this.$userId));
this.this$0.f2569c.remove(Long.valueOf(this.$userId));
this.this$0.f2570c.remove(Long.valueOf(this.$userId));
} else {
this.this$0.b.put(Long.valueOf(this.$userId), arrayList2);
this.this$0.f2569c.add(Long.valueOf(this.$userId));
this.this$0.f2570c.add(Long.valueOf(this.$userId));
}
this.this$0.d(arrayList2.isEmpty() ? n.emptyList() : c0.t.m.listOf(String.valueOf(this.$userId)));
return Unit.a;

View File

@ -218,7 +218,7 @@ public final class b extends ScreenCapturerAndroid {
if (thumbnailEmitter != null) {
synchronized (thumbnailEmitter) {
thumbnailEmitter.d.release();
thumbnailEmitter.f2596c.release();
thumbnailEmitter.f2597c.release();
JniCommon.nativeFreeByteBuffer(thumbnailEmitter.b);
thumbnailEmitter.a = RecyclerView.FOREVER_NS;
}

View File

@ -288,7 +288,7 @@ public final class e implements MediaEngineConnection {
Connection connection2 = connection;
c0.z.d.m.checkNotNullParameter(connection2, "$receiver");
connection2.setVADLeadingFramesToBuffer(this.$inputModeOptions.b);
connection2.setVADTrailingFramesToSend(this.$inputModeOptions.f2595c);
connection2.setVADTrailingFramesToSend(this.$inputModeOptions.f2596c);
connection2.setVADTriggerThreshold((float) this.$inputModeOptions.a);
connection2.setVADAutoThreshold(this.$inputModeOptions.d ? 3 : -1);
connection2.setVADUseKrisp(this.$inputModeOptions.e);
@ -473,7 +473,7 @@ public final class e implements MediaEngineConnection {
Connection connection2 = connection;
c0.z.d.m.checkNotNullParameter(connection2, "$receiver");
MediaEngineConnection.b bVar = this.$quality;
connection2.setEncodingQuality(bVar.a, bVar.b, bVar.f2594c, bVar.d, this.$frameRate);
connection2.setEncodingQuality(bVar.a, bVar.b, bVar.f2595c, bVar.d, this.$frameRate);
return Unit.a;
}
}
@ -610,7 +610,7 @@ public final class e implements MediaEngineConnection {
this.d = h0.mutableMapOf(c0.o.to(Long.valueOf(j2), Integer.valueOf(aVar.a)));
int i2 = aVar.a;
String str = aVar.b;
int i3 = aVar.f2592c;
int i3 = aVar.f2593c;
Object[] array = aVar.d.toArray(new StreamParameters[0]);
Objects.requireNonNull(array, "null cannot be cast to non-null type kotlin.Array<T>");
Connection connectToServer = discord.connectToServer(i2, j2, str, i3, (StreamParameters[]) array, new d(this));

View File

@ -418,7 +418,7 @@ public final class k implements MediaEngine {
discord2.setEchoCancellation(z2, false, new m(kVar2));
}
k kVar3 = this.this$0;
boolean z4 = voiceConfig.f2591c;
boolean z4 = voiceConfig.f2592c;
Discord discord3 = kVar3.f;
if (discord3 != null) {
discord3.setNoiseSuppression(z4);

View File

@ -38,7 +38,7 @@ public final class m implements Discord.AecConfigCallback {
MediaEngine.EchoCancellationInfo echoCancellationInfo = kVar.i;
kVar.i = null;
if (echoCancellationInfo != null) {
MediaEngine.EchoCancellationInfo echoCancellationInfo2 = new MediaEngine.EchoCancellationInfo(echoCancellationInfo.a, echoCancellationInfo.b, echoCancellationInfo.f2590c, echoCancellationInfo.d, this.$requestEnable, this.$enabled, this.$requestMobileMode, this.$previouslyEnabled, this.$previouslyMobileMode);
MediaEngine.EchoCancellationInfo echoCancellationInfo2 = new MediaEngine.EchoCancellationInfo(echoCancellationInfo.a, echoCancellationInfo.b, echoCancellationInfo.f2591c, echoCancellationInfo.d, this.$requestEnable, this.$enabled, this.$requestMobileMode, this.$previouslyEnabled, this.$previouslyMobileMode);
d.e1("MediaEngineLegacy", "onEchoCancellationUpdated: " + echoCancellationInfo2);
this.this$0.a.p.onEchoCancellationUpdated(echoCancellationInfo2);
}

View File

@ -640,7 +640,7 @@ public final class a extends WebSocketListener implements DebugPrintable {
aVar.a(1, TimeUnit.MINUTES);
SSLSocketFactory sSLSocketFactory = this.E;
if (sSLSocketFactory != null) {
h.a aVar2 = e0.e0.k.h.f2993c;
h.a aVar2 = e0.e0.k.h.f2994c;
aVar.b(sSLSocketFactory, e0.e0.k.h.a.n());
}
String G = c.d.b.a.a.G(new StringBuilder(), this.C, "?v=5");

View File

@ -98,13 +98,13 @@ public final /* synthetic */ class a extends k implements Function1<Stats, Unit>
if (booleanValue) {
krispOveruseDetector.d.f(KrispOveruseDetector.Status.CPU_OVERUSE);
} else if (longValue == 0) {
int i = krispOveruseDetector.f2568c + 1;
krispOveruseDetector.f2568c = i;
int i = krispOveruseDetector.f2569c + 1;
krispOveruseDetector.f2569c = i;
if (i > 2) {
krispOveruseDetector.d.f(KrispOveruseDetector.Status.FAILED);
}
} else {
krispOveruseDetector.f2568c = 0;
krispOveruseDetector.f2569c = 0;
}
}
krispOveruseDetector.b = stats2.getOutboundRtpAudio();

View File

@ -53,8 +53,8 @@ public final class s extends o implements Function0<Unit> {
rtcConnection.r("connecting via endpoint: " + replace$default + " token: " + str2);
try {
URI uri = new URI(v);
rtcConnection.f2576x = uri.getHost();
rtcConnection.f2577y = Integer.valueOf(uri.getPort());
rtcConnection.f2577x = uri.getHost();
rtcConnection.f2578y = Integer.valueOf(uri.getPort());
} catch (Exception e) {
rtcConnection.U.e(rtcConnection.k, "Failed to parse RTC endpoint", e, g0.mapOf(c0.o.to("endpoint", replace$default)));
}

View File

@ -77,7 +77,7 @@ public final class b extends k implements Function2<CoroutineScope, Continuation
}
String joinToString$default = u.joinToString$default(arrayList, "&", null, null, 0, null, null, 62, null);
RequestBody.Companion companion = RequestBody.Companion;
MediaType.a aVar = MediaType.f3124c;
MediaType.a aVar = MediaType.f3125c;
RequestBody a = companion.a(joinToString$default, MediaType.a.a(ShareTarget.ENCODING_TYPE_URL_ENCODED));
Request.a aVar2 = new Request.a();
m.checkParameterIsNotNull(a, "body");

View File

@ -3,7 +3,7 @@ package c.a.r;
import c.n.a.a.a;
import com.discord.samsung.SamsungConnectActivity;
/* compiled from: SamsungConnectActivity.kt */
public final class d extends a.AbstractBinderC0158a {
public final class d extends a.AbstractBinderC0159a {
public final /* synthetic */ SamsungConnectActivity a;
public d(SamsungConnectActivity samsungConnectActivity) {

View File

@ -52,7 +52,7 @@ public final class a extends Rule<R, Node<R>, S> {
if (list != null) {
List parse = parser.parse(group2, s, list);
Objects.requireNonNull(parse, "null cannot be cast to non-null type kotlin.collections.List<com.discord.simpleast.core.node.Node<R>>");
aVar = new CodeNode.a.C0290a(group2, parse);
aVar = new CodeNode.a.C0291a(group2, parse);
} else {
aVar = new CodeNode.a.b(group2);
}

View File

@ -49,7 +49,7 @@ public final class c extends Rule<R, Node<R>, S> {
public ParseSpec<R, S> parse(Matcher matcher, Parser<R, ? super Node<R>, S> parser, S s) {
m.checkNotNullParameter(matcher, "matcher");
m.checkNotNullParameter(parser, "parser");
String group = matcher.group(1);
String group = matcher.group(2);
if (group == null) {
group = "";
}

View File

@ -28,8 +28,8 @@ public final class e {
Pattern compile = Pattern.compile("^```(?:([\\w+\\-.]+?)?(\\s*\\n))?([^\\n].*?)\\n*```", 32);
m.checkNotNullExpressionValue(compile, "Pattern.compile(\"\"\"^```(…n*```\"\"\", Pattern.DOTALL)");
a = compile;
Pattern compile2 = Pattern.compile("^`([^`]*?)`", 32);
m.checkNotNullExpressionValue(compile2, "Pattern.compile(\"\"\"^`([^`]*?)`\"\"\", Pattern.DOTALL)");
Pattern compile2 = Pattern.compile("^(``?)([^`]*)\\1", 32);
m.checkNotNullExpressionValue(compile2, "Pattern.compile(\"\"\"^(``?…]*)\\1\"\"\", Pattern.DOTALL)");
b = compile2;
Pattern compile3 = Pattern.compile("^(?:\\n\\s*)+");
m.checkNotNullExpressionValue(compile3, "Pattern.compile(\"\"\"^(?:\\n\\s*)+\"\"\")");

View File

@ -8,7 +8,7 @@ import com.discord.simpleast.core.parser.Parser;
import com.discord.simpleast.core.parser.Rule;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/* compiled from: JavaScript.kt */
/* compiled from: Crystal.kt */
public final class h extends Rule<RC, Node<RC>, S> {
public final /* synthetic */ f a;
@ -24,9 +24,10 @@ public final class h extends Rule<RC, Node<RC>, S> {
m.checkNotNullParameter(parser, "parser");
String group = matcher.group(1);
String group2 = matcher.group(2);
String group3 = matcher.group(3);
m.checkNotNull(group);
m.checkNotNull(group2);
i.a aVar = new i.a(group, group2, this.a);
i.a aVar = new i.a(group, group2, group3, this.a);
m.checkNotNullParameter(aVar, "node");
return new ParseSpec<>(aVar, s);
}

View File

@ -1,92 +1,50 @@
package c.a.t.a;
import c0.z.d.m;
import com.discord.models.domain.ModelAuditLogEntry;
import com.discord.simpleast.core.node.Node;
import com.discord.simpleast.core.node.StyleNode;
import java.util.regex.Pattern;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.text.Regex;
/* compiled from: JavaScript.kt */
/* compiled from: Crystal.kt */
public final class i {
public static final String[] a = {"import|export|default|package", "class|enum", "function|super|extends|implements|arguments", "var|let|const|static|get|set|new", "return|break|continue|yield|void", "if|else|for|while|do|switch|async|await|case|try|catch|finally|delete|throw|NaN|Infinity", "of|in|instanceof|typeof", "debugger|with", "true|false|null|undefined"};
public static final String[] b = {"String|Boolean|RegExp|Number|Date|Math|JSON|Symbol|BigInt|Atomics|DataView", "Function|Promise|Generator|GeneratorFunction|AsyncFunction|AsyncGenerator|AsyncGeneratorFunction", "Array|Object|Map|Set|WeakMap|WeakSet|Int8Array|Int16Array|Int32Array|Uint8Array|Uint16Array", "Uint32Array|Uint8ClampedArray|Float32Array|Float64Array|BigInt64Array|BigUint64Array|Buffer", "ArrayBuffer|SharedArrayBuffer", "Reflect|Proxy|Intl|WebAssembly", "console|process|require|isNaN|parseInt|parseFloat|encodeURI|decodeURI|encodeURIComponent", "decodeURIComponent|this|global|globalThis|eval|isFinite|module", "setTimeout|setInterval|clearTimeout|clearInterval|setImmediate|clearImmediate", "queueMicrotask|document|window", "Error|SyntaxError|TypeError|RangeError|ReferenceError|EvalError|InternalError|URIError", "AggregateError|escape|unescape|URL|URLSearchParams|TextEncoder|TextDecoder", "AbortController|AbortSignal|EventTarget|Event|MessageChannel", "MessagePort|MessageEvent|FinalizationRegistry|WeakRef", "regeneratorRuntime"};
public static final String[] a = {"true|false|nil", "module|require|include|extend|lib", "abstract|private|protected", "annotation|class|finalize|new|initialize|allocate|self|super", "union|typeof|forall|is_a?|nil?|as?|as|responds_to?|alias|type", "property|getter|setter|struct|of", "previous_def|method|fun|enum|macro", "rescue|raise|begin|end|ensure", "if|else|elsif|then|unless|until", "for|in|of|do|when|select|with", "while|break|next|yield|case", "print|puts|return"};
public static final String[] b = {"Nil|Bool|true|false|Void|NoReturn", "Number|BigDecimal|BigRational|BigFloat|BigInt", "Int|Int8|Int16|Int32|Int64|UInt8|UInt16|UInt32|UInt64|Float|Float32|Float64", "Char|String|Symbol|Regex", "StaticArray|Array|Set|Hash|Range|Tuple|NamedTuple|Union|BitArray", "Proc|Command|Enum|Class", "Reference|Value|Struct|Object|Pointer", "Exception|ArgumentError|KeyError|TypeCastError|IndexError|RuntimeError|NilAssertionError|InvalidBigDecimalException|NotImplementedError|OverflowError", "pointerof|sizeof|instance_sizeof|offsetof|uninitialized"};
/* renamed from: c reason: collision with root package name */
public static final Pattern f240c = Pattern.compile("^/.*?/(?:\\w*)?", 32);
public static final Pattern d = Pattern.compile("^<(.*)>");
public static final Pattern e = Pattern.compile("^(?:(?://.*?(?=\\n|$))|(/\\*.*?\\*/))", 32);
public static final Pattern f = Pattern.compile("^('[\\s\\S]*?(?<!\\\\)'|\"[\\s\\S]*?(?<!\\\\)\"|`[\\s\\S]*?(?<!\\\\)`)(?=\\W|\\s|$)");
public static final i g = new i();
public static final Pattern f240c = Pattern.compile("^(#.*)");
public static final Pattern d = Pattern.compile("^@\\[(\\w+)(?:\\(.+\\))?]");
public static final Pattern e = Pattern.compile("^\"[\\s\\S]*?(?<!\\\\)\"(?=\\W|\\s|$)");
public static final Pattern f = Pattern.compile("^/.*?/[imx]?");
public static final Pattern g = Pattern.compile("^(:\"?(?:[+-/%&^|]|\\*\\*?|\\w+|(?:<(?=[<=\\s])[<=]?(?:(?<==)>)?|>(?=[>=\\s])[>=]?(?:(?<==)>)?)|\\[][?=]?|(?:!(?=[=~\\s])[=~]?|=?(?:~|==?)))(?:(?<!\\\\)\"(?=\\s|$))?)");
public static final i h = null;
/* compiled from: JavaScript.kt */
/* compiled from: Crystal.kt */
public static final class a<RC> extends Node.a<RC> {
public static final Pattern a = Pattern.compile("^(var|let|const)(\\s+[a-zA-Z_$](?:[a-zA-Z0-9_$])*)", 32);
public static final Pattern a = Pattern.compile("^(def)( +\\w+)( *\\( *(?:@\\w+ +: +\\w*)?\\w+(?: +[:=] +.*)? *\\))?(?!.+)");
public static final C0045a b = new C0045a(null);
/* compiled from: JavaScript.kt */
/* compiled from: Crystal.kt */
/* renamed from: c.a.t.a.i$a$a reason: collision with other inner class name */
public static final class C0045a {
public C0045a(DefaultConstructorMarker defaultConstructorMarker) {
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public a(String str, String str2, f<RC> fVar) {
super(new StyleNode.b(str, fVar.d), new StyleNode.b(str2, fVar.e));
m.checkNotNullParameter(str, "definition");
m.checkNotNullParameter(str2, ModelAuditLogEntry.CHANGE_KEY_NAME);
m.checkNotNullParameter(fVar, "codeStyleProviders");
}
}
/* compiled from: JavaScript.kt */
public static final class b<RC> extends Node.a<RC> {
public static final Pattern a = new Regex("^(function\\*?|static|get|set|async)(\\s+[a-zA-Z_$](?:[a-zA-Z0-9_$])*?)?( *?\\(.*?\\))", c0.g0.i.DOT_MATCHES_ALL).toPattern();
public static final a b = new a(null);
/* compiled from: JavaScript.kt */
public static final class a {
public a(DefaultConstructorMarker defaultConstructorMarker) {
}
}
/* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x002a: APUT
/* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x0034: APUT
(r0v4 com.discord.simpleast.core.node.Node[])
(1 ??[boolean, int, float, short, byte, char])
(r1v1 com.discord.simpleast.core.node.StyleNode$b)
(2 ??[int, float, short, byte, char])
(r5v1 com.discord.simpleast.core.node.StyleNode$b)
*/
/* JADX WARNING: Illegal instructions before constructor call */
public b(String str, String str2, String str3, f<RC> fVar) {
public a(String str, String str2, String str3, f<RC> fVar) {
super(r0);
m.checkNotNullParameter(str, "pre");
m.checkNotNullParameter(str3, "params");
m.checkNotNullParameter(str2, "signature");
m.checkNotNullParameter(fVar, "codeStyleProviders");
Node[] nodeArr = new Node[3];
nodeArr[0] = new StyleNode.b(str, fVar.d);
nodeArr[1] = str2 != null ? new StyleNode.b(str2, fVar.e) : null;
nodeArr[2] = new StyleNode.b(str3, fVar.h);
}
}
/* compiled from: JavaScript.kt */
public static final class c<RC> extends Node.a<RC> {
public static final Pattern a = Pattern.compile("^([{\\[,])(\\s*[a-zA-Z0-9_$]*)(:)", 32);
public static final a b = new a(null);
/* compiled from: JavaScript.kt */
public static final class a {
public a(DefaultConstructorMarker defaultConstructorMarker) {
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public c(String str, String str2, String str3, f<RC> fVar) {
super(new StyleNode.b(str, fVar.a), new StyleNode.b(str2, fVar.e), new StyleNode.b(str3, fVar.a));
m.checkNotNullParameter(str, "prefix");
m.checkNotNullParameter(str2, "property");
m.checkNotNullParameter(str3, "suffix");
m.checkNotNullParameter(fVar, "codeStyleProviders");
nodeArr[1] = new StyleNode.b(str2, fVar.e);
nodeArr[2] = str3 != null ? new StyleNode.b(str3, fVar.h) : null;
}
}
}

View File

@ -1,6 +1,6 @@
package c.a.t.a;
import c.a.t.a.i;
import c.a.t.a.k;
import c0.z.d.m;
import com.discord.simpleast.core.node.Node;
import com.discord.simpleast.core.parser.ParseSpec;
@ -13,7 +13,7 @@ public final class j extends Rule<RC, Node<RC>, S> {
public final /* synthetic */ f a;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public j(i.b.a aVar, f fVar, Pattern pattern) {
public j(k.a.C0046a aVar, f fVar, Pattern pattern) {
super(pattern);
this.a = fVar;
}
@ -24,11 +24,10 @@ public final class j extends Rule<RC, Node<RC>, S> {
m.checkNotNullParameter(parser, "parser");
String group = matcher.group(1);
String group2 = matcher.group(2);
String group3 = matcher.group(3);
m.checkNotNull(group);
m.checkNotNull(group3);
i.b bVar = new i.b(group, group2, group3, this.a);
m.checkNotNullParameter(bVar, "node");
return new ParseSpec<>(bVar, s);
m.checkNotNull(group2);
k.a aVar = new k.a(group, group2, this.a);
m.checkNotNullParameter(aVar, "node");
return new ParseSpec<>(aVar, s);
}
}

View File

@ -1,35 +1,93 @@
package c.a.t.a;
import c.a.t.a.i;
import c0.g0.i;
import c0.z.d.m;
import com.discord.models.domain.ModelAuditLogEntry;
import com.discord.simpleast.core.node.Node;
import com.discord.simpleast.core.parser.ParseSpec;
import com.discord.simpleast.core.parser.Parser;
import com.discord.simpleast.core.parser.Rule;
import java.util.regex.Matcher;
import com.discord.simpleast.core.node.StyleNode;
import java.util.regex.Pattern;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.text.Regex;
/* compiled from: JavaScript.kt */
public final class k extends Rule<RC, Node<RC>, S> {
public final /* synthetic */ f a;
public final class k {
public static final String[] a = {"import|from|export|default|package", "class|enum", "function|super|extends|implements|arguments", "var|let|const|static|get|set|new", "return|break|continue|yield|void", "if|else|for|while|do|switch|async|await|case|try|catch|finally|delete|throw|NaN|Infinity", "of|in|instanceof|typeof", "debugger|with", "true|false|null|undefined"};
public static final String[] b = {"String|Boolean|RegExp|Number|Date|Math|JSON|Symbol|BigInt|Atomics|DataView", "Function|Promise|Generator|GeneratorFunction|AsyncFunction|AsyncGenerator|AsyncGeneratorFunction", "Array|Object|Map|Set|WeakMap|WeakSet|Int8Array|Int16Array|Int32Array|Uint8Array|Uint16Array", "Uint32Array|Uint8ClampedArray|Float32Array|Float64Array|BigInt64Array|BigUint64Array|Buffer", "ArrayBuffer|SharedArrayBuffer", "Reflect|Proxy|Intl|WebAssembly", "console|process|require|isNaN|parseInt|parseFloat|encodeURI|decodeURI|encodeURIComponent", "decodeURIComponent|this|global|globalThis|eval|isFinite|module", "setTimeout|setInterval|clearTimeout|clearInterval|setImmediate|clearImmediate", "queueMicrotask|document|window", "Error|SyntaxError|TypeError|RangeError|ReferenceError|EvalError|InternalError|URIError", "AggregateError|escape|unescape|URL|URLSearchParams|TextEncoder|TextDecoder", "AbortController|AbortSignal|EventTarget|Event|MessageChannel", "MessagePort|MessageEvent|FinalizationRegistry|WeakRef", "regeneratorRuntime|performance"};
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public k(i.c.a aVar, f fVar, Pattern pattern) {
super(pattern);
this.a = fVar;
/* renamed from: c reason: collision with root package name */
public static final Pattern f241c = Pattern.compile("^/.+(?<!\\\\)/[dgimsuy]*");
public static final Pattern d = Pattern.compile("^<.*(?<!\\\\)>");
public static final Pattern e = Pattern.compile("^(?:(?://.*?(?=\\n|$))|(/\\*.*?\\*/))", 32);
public static final Pattern f = Pattern.compile("^('.*?(?<!\\\\)'|\".*?(?<!\\\\)\"|`[\\s\\S]*?(?<!\\\\)`)(?=\\W|\\s|$)");
public static final k g = null;
/* compiled from: JavaScript.kt */
public static final class a<RC> extends Node.a<RC> {
public static final Pattern a = Pattern.compile("^(var|let|const)(\\s+[a-zA-Z_$][a-zA-Z0-9_$]*)");
public static final C0046a b = new C0046a(null);
/* compiled from: JavaScript.kt */
/* renamed from: c.a.t.a.k$a$a reason: collision with other inner class name */
public static final class C0046a {
public C0046a(DefaultConstructorMarker defaultConstructorMarker) {
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public a(String str, String str2, f<RC> fVar) {
super(new StyleNode.b(str, fVar.d), new StyleNode.b(str2, fVar.e));
m.checkNotNullParameter(str, "definition");
m.checkNotNullParameter(str2, ModelAuditLogEntry.CHANGE_KEY_NAME);
m.checkNotNullParameter(fVar, "codeStyleProviders");
}
}
@Override // com.discord.simpleast.core.parser.Rule
public ParseSpec<RC, S> parse(Matcher matcher, Parser<RC, ? super Node<RC>, S> parser, S s) {
m.checkNotNullParameter(matcher, "matcher");
m.checkNotNullParameter(parser, "parser");
String group = matcher.group(1);
String group2 = matcher.group(2);
String group3 = matcher.group(3);
m.checkNotNull(group);
m.checkNotNull(group2);
m.checkNotNull(group3);
i.c cVar = new i.c(group, group2, group3, this.a);
m.checkNotNullParameter(cVar, "node");
return new ParseSpec<>(cVar, s);
/* compiled from: JavaScript.kt */
public static final class b<RC> extends Node.a<RC> {
public static final Pattern a = new Regex("^(function\\*?|static|get|set|async)(\\s+[a-zA-Z_$][a-zA-Z0-9_$]*)?(\\s*\\(.*?\\))", i.DOT_MATCHES_ALL).toPattern();
public static final a b = new a(null);
/* compiled from: JavaScript.kt */
public static final class a {
public a(DefaultConstructorMarker defaultConstructorMarker) {
}
}
/* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x002a: APUT
(r0v4 com.discord.simpleast.core.node.Node[])
(1 ??[boolean, int, float, short, byte, char])
(r1v1 com.discord.simpleast.core.node.StyleNode$b)
*/
/* JADX WARNING: Illegal instructions before constructor call */
public b(String str, String str2, String str3, f<RC> fVar) {
super(r0);
m.checkNotNullParameter(str, "pre");
m.checkNotNullParameter(str3, "params");
m.checkNotNullParameter(fVar, "codeStyleProviders");
Node[] nodeArr = new Node[3];
nodeArr[0] = new StyleNode.b(str, fVar.d);
nodeArr[1] = str2 != null ? new StyleNode.b(str2, fVar.e) : null;
nodeArr[2] = new StyleNode.b(str3, fVar.h);
}
}
/* compiled from: JavaScript.kt */
public static final class c<RC> extends Node.a<RC> {
public static final Pattern a = Pattern.compile("^([\\{\\[\\,])(\\s*[a-zA-Z0-9_$]+)(\\s*:)");
public static final a b = new a(null);
/* compiled from: JavaScript.kt */
public static final class a {
public a(DefaultConstructorMarker defaultConstructorMarker) {
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public c(String str, String str2, String str3, f<RC> fVar) {
super(new StyleNode.b(str, fVar.a), new StyleNode.b(str2, fVar.e), new StyleNode.b(str3, fVar.a));
m.checkNotNullParameter(str, "prefix");
m.checkNotNullParameter(str2, "property");
m.checkNotNullParameter(str3, "suffix");
m.checkNotNullParameter(fVar, "codeStyleProviders");
}
}
}

View File

@ -1,32 +1,34 @@
package c.a.t.a;
import c.a.t.a.m;
import c.a.t.a.k;
import c0.z.d.m;
import com.discord.simpleast.core.node.Node;
import com.discord.simpleast.core.parser.ParseSpec;
import com.discord.simpleast.core.parser.Parser;
import com.discord.simpleast.core.parser.Rule;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/* compiled from: Kotlin.kt */
/* compiled from: JavaScript.kt */
public final class l extends Rule<RC, Node<RC>, S> {
public final /* synthetic */ f a;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public l(m.a.C0046a aVar, f fVar, Pattern pattern) {
public l(k.b.a aVar, f fVar, Pattern pattern) {
super(pattern);
this.a = fVar;
}
@Override // com.discord.simpleast.core.parser.Rule
public ParseSpec<RC, S> parse(Matcher matcher, Parser<RC, ? super Node<RC>, S> parser, S s) {
c0.z.d.m.checkNotNullParameter(matcher, "matcher");
c0.z.d.m.checkNotNullParameter(parser, "parser");
m.checkNotNullParameter(matcher, "matcher");
m.checkNotNullParameter(parser, "parser");
String group = matcher.group(1);
String group2 = matcher.group(2);
c0.z.d.m.checkNotNull(group);
c0.z.d.m.checkNotNull(group2);
m.a aVar = new m.a(group, group2, this.a);
c0.z.d.m.checkNotNullParameter(aVar, "node");
return new ParseSpec<>(aVar, s);
String group3 = matcher.group(3);
m.checkNotNull(group);
m.checkNotNull(group3);
k.b bVar = new k.b(group, group2, group3, this.a);
m.checkNotNullParameter(bVar, "node");
return new ParseSpec<>(bVar, s);
}
}

View File

@ -1,72 +1,34 @@
package c.a.t.a;
import c0.g0.i;
import com.discord.models.domain.ModelAuditLogEntry;
import c.a.t.a.k;
import com.discord.simpleast.core.node.Node;
import com.discord.simpleast.core.node.StyleNode;
import com.discord.simpleast.core.parser.ParseSpec;
import com.discord.simpleast.core.parser.Parser;
import com.discord.simpleast.core.parser.Rule;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.text.Regex;
/* compiled from: Kotlin.kt */
public final class m {
public static final String[] a = {"public|private|internal|inline|lateinit|abstract|open|reified", "import|package", "class|interface|data|enum|sealed|object|typealias", "fun|override|this|super|where|constructor|init|param|delegate", "const|val|var|get|final|vararg|it", "return|break|continue|suspend", "for|while|do|if|else|when|try|catch|finally|throw", "in|out|is|as|typeof", "shr|ushr|shl|ushl", "true|false|null"};
public static final String[] b = {"true|false|Boolean|String|Char", "Int|UInt|Long|ULong|Float|Double|Byte|UByte|Short|UShort", "Self|Set|Map|MutableMap|List|MutableList|Array|Runnable|Unit", "arrayOf|listOf|mapOf|setOf|let|also|apply|run"};
/* compiled from: JavaScript.kt */
public final class m extends Rule<RC, Node<RC>, S> {
public final /* synthetic */ f a;
/* renamed from: c reason: collision with root package name */
public static final Pattern f241c = Pattern.compile("^(?:(?://.*?(?=\\n|$))|(/\\*.*?\\*/))", 32);
public static final Pattern d = Pattern.compile("^@(\\w+)");
public static final Pattern e = Pattern.compile("^\"[\\s\\S]*?(?<!\\\\)\"(?=\\W|\\s|$)");
public static final m f = null;
/* compiled from: Kotlin.kt */
public static final class a<RC> extends Node.a<RC> {
public static final Pattern a = Pattern.compile("^(val|var)(\\s+\\w+)", 32);
public static final C0046a b = new C0046a(null);
/* compiled from: Kotlin.kt */
/* renamed from: c.a.t.a.m$a$a reason: collision with other inner class name */
public static final class C0046a {
public C0046a(DefaultConstructorMarker defaultConstructorMarker) {
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public a(String str, String str2, f<RC> fVar) {
super(new StyleNode.b(str, fVar.d), new StyleNode.b(str2, fVar.e));
c0.z.d.m.checkNotNullParameter(str, "definition");
c0.z.d.m.checkNotNullParameter(str2, ModelAuditLogEntry.CHANGE_KEY_NAME);
c0.z.d.m.checkNotNullParameter(fVar, "codeStyleProviders");
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public m(k.c.a aVar, f fVar, Pattern pattern) {
super(pattern);
this.a = fVar;
}
/* compiled from: Kotlin.kt */
public static final class b<RC> extends Node.a<RC> {
public static final Pattern a = new Regex("^(fun)( *<.*>)?( \\w+)( *\\(.*?\\))", i.DOT_MATCHES_ALL).toPattern();
public static final a b = new a(null);
/* compiled from: Kotlin.kt */
public static final class a {
public a(DefaultConstructorMarker defaultConstructorMarker) {
}
}
/* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x0030: APUT
(r0v5 com.discord.simpleast.core.node.Node[])
(1 ??[boolean, int, float, short, byte, char])
(r1v1 com.discord.simpleast.core.node.StyleNode$b)
*/
/* JADX WARNING: Illegal instructions before constructor call */
public b(String str, String str2, String str3, String str4, f<RC> fVar) {
super(r0);
c0.z.d.m.checkNotNullParameter(str, "pre");
c0.z.d.m.checkNotNullParameter(str3, "signature");
c0.z.d.m.checkNotNullParameter(str4, "params");
c0.z.d.m.checkNotNullParameter(fVar, "codeStyleProviders");
Node[] nodeArr = new Node[4];
nodeArr[0] = new StyleNode.b(str, fVar.d);
nodeArr[1] = str2 != null ? new StyleNode.b(str2, fVar.g) : null;
nodeArr[2] = new StyleNode.b(str3, fVar.e);
nodeArr[3] = new StyleNode.b(str4, fVar.h);
}
@Override // com.discord.simpleast.core.parser.Rule
public ParseSpec<RC, S> parse(Matcher matcher, Parser<RC, ? super Node<RC>, S> parser, S s) {
c0.z.d.m.checkNotNullParameter(matcher, "matcher");
c0.z.d.m.checkNotNullParameter(parser, "parser");
String group = matcher.group(1);
String group2 = matcher.group(2);
String group3 = matcher.group(3);
c0.z.d.m.checkNotNull(group);
c0.z.d.m.checkNotNull(group2);
c0.z.d.m.checkNotNull(group3);
k.c cVar = new k.c(group, group2, group3, this.a);
c0.z.d.m.checkNotNullParameter(cVar, "node");
return new ParseSpec<>(cVar, s);
}
}

View File

@ -1,6 +1,7 @@
package c.a.t.a;
import c.a.t.a.m;
import c.a.t.a.o;
import c0.z.d.m;
import com.discord.simpleast.core.node.Node;
import com.discord.simpleast.core.parser.ParseSpec;
import com.discord.simpleast.core.parser.Parser;
@ -12,24 +13,21 @@ public final class n extends Rule<RC, Node<RC>, S> {
public final /* synthetic */ f a;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public n(m.b.a aVar, f fVar, Pattern pattern) {
public n(o.a.C0047a aVar, f fVar, Pattern pattern) {
super(pattern);
this.a = fVar;
}
@Override // com.discord.simpleast.core.parser.Rule
public ParseSpec<RC, S> parse(Matcher matcher, Parser<RC, ? super Node<RC>, S> parser, S s) {
c0.z.d.m.checkNotNullParameter(matcher, "matcher");
c0.z.d.m.checkNotNullParameter(parser, "parser");
m.checkNotNullParameter(matcher, "matcher");
m.checkNotNullParameter(parser, "parser");
String group = matcher.group(1);
String group2 = matcher.group(2);
String group3 = matcher.group(3);
String group4 = matcher.group(4);
c0.z.d.m.checkNotNull(group);
c0.z.d.m.checkNotNull(group3);
c0.z.d.m.checkNotNull(group4);
m.b bVar = new m.b(group, group2, group3, group4, this.a);
c0.z.d.m.checkNotNullParameter(bVar, "node");
return new ParseSpec<>(bVar, s);
m.checkNotNull(group);
m.checkNotNull(group2);
o.a aVar = new o.a(group, group2, this.a);
m.checkNotNullParameter(aVar, "node");
return new ParseSpec<>(aVar, s);
}
}

View File

@ -1,130 +1,73 @@
package c.a.t.a;
import android.text.SpannableStringBuilder;
import c0.z.d.k;
import c0.g0.i;
import c0.z.d.m;
import com.discord.models.domain.ModelAuditLogEntry;
import com.discord.simpleast.core.node.Node;
import com.discord.simpleast.core.node.StyleNode;
import java.util.Iterator;
import java.util.Objects;
import java.util.regex.Pattern;
import kotlin.Pair;
import kotlin.jvm.functions.Function1;
/* compiled from: Xml.kt */
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.text.Regex;
/* compiled from: Kotlin.kt */
public final class o {
public static final Pattern a;
public static final Pattern b;
public static final String[] a = {"public|private|internal|inline|lateinit|abstract|open|reified", "import|package", "class|interface|data|enum|sealed|object|typealias", "fun|override|this|super|where|constructor|init|param|delegate", "const|val|var|get|final|vararg|it", "return|break|continue|suspend", "for|while|do|if|else|when|try|catch|finally|throw", "in|out|is|as|typeof", "shr|ushr|shl|ushl", "true|false|null"};
public static final String[] b = {"true|false|Boolean|String|Char", "Int|UInt|Long|ULong|Float|Double|Byte|UByte|Short|UShort", "Self|Set|Map|MutableMap|List|MutableList|Array|Runnable|Unit", "arrayOf|listOf|mapOf|setOf|let|also|apply|run"};
/* renamed from: c reason: collision with root package name */
public static final o f242c = new o();
public static final Pattern f242c = Pattern.compile("^(?:(?://.*?(?=\\n|$))|(/\\*.*?\\*/))", 32);
public static final Pattern d = Pattern.compile("^@(\\w+)");
public static final Pattern e = Pattern.compile("^\"[\\s\\S]*?(?<!\\\\)\"(?=\\W|\\s|$)");
public static final o f = null;
/* compiled from: Xml.kt */
/* compiled from: Kotlin.kt */
public static final class a<RC> extends Node.a<RC> {
public final String a;
public final String b;
public static final Pattern a = Pattern.compile("^(val|var)(\\s+\\w+)", 32);
public static final C0047a b = new C0047a(null);
/* renamed from: c reason: collision with root package name */
public final f<RC> f243c;
/* compiled from: Xml.kt */
/* compiled from: Kotlin.kt */
/* renamed from: c.a.t.a.o$a$a reason: collision with other inner class name */
public static final /* synthetic */ class C0047a extends k implements Function1<RC, Iterable<?>> {
public C0047a(StyleNode.a aVar) {
super(1, aVar, StyleNode.a.class, "get", "get(Ljava/lang/Object;)Ljava/lang/Iterable;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
@Override // kotlin.jvm.functions.Function1
public Iterable<?> invoke(Object obj) {
return ((StyleNode.a) this.receiver).get(obj);
public static final class C0047a {
public C0047a(DefaultConstructorMarker defaultConstructorMarker) {
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public a(String str, String str2, f<RC> fVar) {
super(new Node[0]);
m.checkNotNullParameter(str, "opening");
super(new StyleNode.b(str, fVar.d), new StyleNode.b(str2, fVar.e));
m.checkNotNullParameter(str, "definition");
m.checkNotNullParameter(str2, ModelAuditLogEntry.CHANGE_KEY_NAME);
m.checkNotNullParameter(fVar, "codeStyleProviders");
this.a = str;
this.b = str2;
this.f243c = fVar;
}
@Override // com.discord.simpleast.core.node.Node.a, com.discord.simpleast.core.node.Node
public void render(SpannableStringBuilder spannableStringBuilder, RC rc) {
Pair pair;
m.checkNotNullParameter(spannableStringBuilder, "builder");
String str = this.a;
int length = str.length();
boolean z2 = false;
int i = 0;
while (true) {
if (i >= length) {
i = -1;
break;
}
char charAt = str.charAt(i);
if (c0.g0.a.isWhitespace(charAt) || charAt == '/') {
break;
}
i++;
}
if (i != -1) {
String str2 = this.a;
Objects.requireNonNull(str2, "null cannot be cast to non-null type java.lang.String");
String substring = str2.substring(0, i);
m.checkNotNullExpressionValue(substring, "(this as java.lang.Strin…ing(startIndex, endIndex)");
String str3 = this.a;
Objects.requireNonNull(str3, "null cannot be cast to non-null type java.lang.String");
String substring2 = str3.substring(i);
m.checkNotNullExpressionValue(substring2, "(this as java.lang.String).substring(startIndex)");
pair = c0.o.to(substring, substring2);
} else {
pair = c0.o.to(this.a, "");
}
String str4 = (String) pair.component2();
C0047a aVar = new C0047a(this.f243c.g);
int length2 = spannableStringBuilder.length();
spannableStringBuilder.append((CharSequence) ('<' + ((String) pair.component1())));
Iterator<?> it = aVar.invoke(rc).iterator();
while (it.hasNext()) {
spannableStringBuilder.setSpan(it.next(), length2, spannableStringBuilder.length(), 33);
}
int length3 = spannableStringBuilder.length();
spannableStringBuilder.append((CharSequence) (str4 + '>'));
Iterator<?> it2 = this.f243c.h.get(rc).iterator();
while (it2.hasNext()) {
spannableStringBuilder.setSpan(it2.next(), length3, spannableStringBuilder.length() - 1, 33);
}
Iterator<?> it3 = aVar.invoke(rc).iterator();
while (it3.hasNext()) {
spannableStringBuilder.setSpan(it3.next(), spannableStringBuilder.length() - 1, spannableStringBuilder.length(), 33);
}
super.render(spannableStringBuilder, rc);
String str5 = this.b;
if (str5 == null || str5.length() == 0) {
z2 = true;
}
if (!z2) {
int length4 = spannableStringBuilder.length();
StringBuilder O = c.d.b.a.a.O("</");
O.append(this.b);
O.append('>');
spannableStringBuilder.append((CharSequence) O.toString());
Iterator<?> it4 = aVar.invoke(rc).iterator();
while (it4.hasNext()) {
spannableStringBuilder.setSpan(it4.next(), length4 + 1, spannableStringBuilder.length(), 33);
}
}
}
}
static {
Pattern compile = Pattern.compile("^<!--[\\s\\S]*?-->", 32);
m.checkNotNullExpressionValue(compile, "Pattern.compile(\"\"\"^<!--…*?-->\"\"\", Pattern.DOTALL)");
a = compile;
Pattern compile2 = Pattern.compile("^<([\\s\\S]+?)(?:>(.*?)<\\/([\\s\\S]+?))?>", 32);
m.checkNotNullExpressionValue(compile2, "Pattern.compile(\n \"…?))?>\"\"\", Pattern.DOTALL)");
b = compile2;
/* compiled from: Kotlin.kt */
public static final class b<RC> extends Node.a<RC> {
public static final Pattern a = new Regex("^(fun)( *<.*>)?( \\w+)( *\\(.*?\\))", i.DOT_MATCHES_ALL).toPattern();
public static final a b = new a(null);
/* compiled from: Kotlin.kt */
public static final class a {
public a(DefaultConstructorMarker defaultConstructorMarker) {
}
}
/* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x0030: APUT
(r0v5 com.discord.simpleast.core.node.Node[])
(1 ??[boolean, int, float, short, byte, char])
(r1v1 com.discord.simpleast.core.node.StyleNode$b)
*/
/* JADX WARNING: Illegal instructions before constructor call */
public b(String str, String str2, String str3, String str4, f<RC> fVar) {
super(r0);
m.checkNotNullParameter(str, "pre");
m.checkNotNullParameter(str3, "signature");
m.checkNotNullParameter(str4, "params");
m.checkNotNullParameter(fVar, "codeStyleProviders");
Node[] nodeArr = new Node[4];
nodeArr[0] = new StyleNode.b(str, fVar.d);
nodeArr[1] = str2 != null ? new StyleNode.b(str2, fVar.g) : null;
nodeArr[2] = new StyleNode.b(str3, fVar.e);
nodeArr[3] = new StyleNode.b(str4, fVar.h);
}
}
}

View File

@ -8,12 +8,12 @@ import com.discord.simpleast.core.parser.Parser;
import com.discord.simpleast.core.parser.Rule;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/* compiled from: Xml.kt */
/* compiled from: Kotlin.kt */
public final class p extends Rule<RC, Node<RC>, S> {
public final /* synthetic */ f a;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public p(o oVar, f fVar, Pattern pattern) {
public p(o.b.a aVar, f fVar, Pattern pattern) {
super(pattern);
this.a = fVar;
}
@ -23,17 +23,14 @@ public final class p extends Rule<RC, Node<RC>, S> {
m.checkNotNullParameter(matcher, "matcher");
m.checkNotNullParameter(parser, "parser");
String group = matcher.group(1);
String group2 = matcher.group(2);
String group3 = matcher.group(3);
String group4 = matcher.group(4);
m.checkNotNull(group);
String group2 = matcher.group(3);
if (matcher.group(2) != null) {
o.a aVar = new o.a(group, group2, this.a);
int start = matcher.start(2);
int end = matcher.end(2);
m.checkNotNullParameter(aVar, "node");
return new ParseSpec<>(aVar, s, start, end);
}
o.a aVar2 = new o.a(group, group2, this.a);
m.checkNotNullParameter(aVar2, "node");
return new ParseSpec<>(aVar2, s);
m.checkNotNull(group3);
m.checkNotNull(group4);
o.b bVar = new o.b(group, group2, group3, group4, this.a);
m.checkNotNullParameter(bVar, "node");
return new ParseSpec<>(bVar, s);
}
}

View File

@ -0,0 +1,131 @@
package c.a.t.a;
import android.text.SpannableStringBuilder;
import c0.o;
import c0.z.d.k;
import c0.z.d.m;
import com.discord.simpleast.core.node.Node;
import com.discord.simpleast.core.node.StyleNode;
import java.util.Iterator;
import java.util.Objects;
import java.util.regex.Pattern;
import kotlin.Pair;
import kotlin.jvm.functions.Function1;
/* compiled from: Xml.kt */
public final class q {
public static final Pattern a;
public static final Pattern b;
/* renamed from: c reason: collision with root package name */
public static final q f243c = new q();
/* compiled from: Xml.kt */
public static final class a<RC> extends Node.a<RC> {
public final String a;
public final String b;
/* renamed from: c reason: collision with root package name */
public final f<RC> f244c;
/* compiled from: Xml.kt */
/* renamed from: c.a.t.a.q$a$a reason: collision with other inner class name */
public static final /* synthetic */ class C0048a extends k implements Function1<RC, Iterable<?>> {
public C0048a(StyleNode.a aVar) {
super(1, aVar, StyleNode.a.class, "get", "get(Ljava/lang/Object;)Ljava/lang/Iterable;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
@Override // kotlin.jvm.functions.Function1
public Iterable<?> invoke(Object obj) {
return ((StyleNode.a) this.receiver).get(obj);
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public a(String str, String str2, f<RC> fVar) {
super(new Node[0]);
m.checkNotNullParameter(str, "opening");
m.checkNotNullParameter(fVar, "codeStyleProviders");
this.a = str;
this.b = str2;
this.f244c = fVar;
}
@Override // com.discord.simpleast.core.node.Node.a, com.discord.simpleast.core.node.Node
public void render(SpannableStringBuilder spannableStringBuilder, RC rc) {
Pair pair;
m.checkNotNullParameter(spannableStringBuilder, "builder");
String str = this.a;
int length = str.length();
boolean z2 = false;
int i = 0;
while (true) {
if (i >= length) {
i = -1;
break;
}
char charAt = str.charAt(i);
if (c0.g0.a.isWhitespace(charAt) || charAt == '/') {
break;
}
i++;
}
if (i != -1) {
String str2 = this.a;
Objects.requireNonNull(str2, "null cannot be cast to non-null type java.lang.String");
String substring = str2.substring(0, i);
m.checkNotNullExpressionValue(substring, "(this as java.lang.Strin…ing(startIndex, endIndex)");
String str3 = this.a;
Objects.requireNonNull(str3, "null cannot be cast to non-null type java.lang.String");
String substring2 = str3.substring(i);
m.checkNotNullExpressionValue(substring2, "(this as java.lang.String).substring(startIndex)");
pair = o.to(substring, substring2);
} else {
pair = o.to(this.a, "");
}
String str4 = (String) pair.component2();
C0048a aVar = new C0048a(this.f244c.g);
int length2 = spannableStringBuilder.length();
spannableStringBuilder.append((CharSequence) ('<' + ((String) pair.component1())));
Iterator<?> it = aVar.invoke(rc).iterator();
while (it.hasNext()) {
spannableStringBuilder.setSpan(it.next(), length2, spannableStringBuilder.length(), 33);
}
int length3 = spannableStringBuilder.length();
spannableStringBuilder.append((CharSequence) (str4 + '>'));
Iterator<?> it2 = this.f244c.h.get(rc).iterator();
while (it2.hasNext()) {
spannableStringBuilder.setSpan(it2.next(), length3, spannableStringBuilder.length() - 1, 33);
}
Iterator<?> it3 = aVar.invoke(rc).iterator();
while (it3.hasNext()) {
spannableStringBuilder.setSpan(it3.next(), spannableStringBuilder.length() - 1, spannableStringBuilder.length(), 33);
}
super.render(spannableStringBuilder, rc);
String str5 = this.b;
if (str5 == null || str5.length() == 0) {
z2 = true;
}
if (!z2) {
int length4 = spannableStringBuilder.length();
StringBuilder O = c.d.b.a.a.O("</");
O.append(this.b);
O.append('>');
spannableStringBuilder.append((CharSequence) O.toString());
Iterator<?> it4 = aVar.invoke(rc).iterator();
while (it4.hasNext()) {
spannableStringBuilder.setSpan(it4.next(), length4 + 1, spannableStringBuilder.length(), 33);
}
}
}
}
static {
Pattern compile = Pattern.compile("^<!--[\\s\\S]*?-->", 32);
m.checkNotNullExpressionValue(compile, "Pattern.compile(\"\"\"^<!--…*?-->\"\"\", Pattern.DOTALL)");
a = compile;
Pattern compile2 = Pattern.compile("^<([\\s\\S]+?)(?:>(.*?)<\\/([\\s\\S]+?))?>", 32);
m.checkNotNullExpressionValue(compile2, "Pattern.compile(\n \"…?))?>\"\"\", Pattern.DOTALL)");
b = compile2;
}
}

View File

@ -0,0 +1,39 @@
package c.a.t.a;
import c.a.t.a.q;
import c0.z.d.m;
import com.discord.simpleast.core.node.Node;
import com.discord.simpleast.core.parser.ParseSpec;
import com.discord.simpleast.core.parser.Parser;
import com.discord.simpleast.core.parser.Rule;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/* compiled from: Xml.kt */
public final class r extends Rule<RC, Node<RC>, S> {
public final /* synthetic */ f a;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public r(q qVar, f fVar, Pattern pattern) {
super(pattern);
this.a = fVar;
}
@Override // com.discord.simpleast.core.parser.Rule
public ParseSpec<RC, S> parse(Matcher matcher, Parser<RC, ? super Node<RC>, S> parser, S s) {
m.checkNotNullParameter(matcher, "matcher");
m.checkNotNullParameter(parser, "parser");
String group = matcher.group(1);
m.checkNotNull(group);
String group2 = matcher.group(3);
if (matcher.group(2) != null) {
q.a aVar = new q.a(group, group2, this.a);
int start = matcher.start(2);
int end = matcher.end(2);
m.checkNotNullParameter(aVar, "node");
return new ParseSpec<>(aVar, s, start, end);
}
q.a aVar2 = new q.a(group, group2, this.a);
m.checkNotNullParameter(aVar2, "node");
return new ParseSpec<>(aVar2, s);
}
}

View File

@ -18,7 +18,7 @@ public final class e {
public static final Pattern b = Pattern.compile("^__([\\s\\S]+?)__(?!_)");
/* renamed from: c reason: collision with root package name */
public static final Pattern f244c = Pattern.compile("^~~(?=\\S)([\\s\\S]*?\\S)~~");
public static final Pattern f245c = Pattern.compile("^~~(?=\\S)([\\s\\S]*?\\S)~~");
public static final Pattern d = Pattern.compile("^(?:\\n *)*\\n");
public static final Pattern e = Pattern.compile("^[\\s\\S]+?(?=[^0-9A-Za-z\\s\\u00c0-\\uffff]|\\n| {2,}\\n|\\w+:\\S|$)");
public static final Pattern f = Pattern.compile("^\\\\([^0-9A-Za-z\\s])");
@ -86,7 +86,7 @@ public final class e {
Pattern pattern5 = g;
m.checkNotNullExpressionValue(pattern5, "PATTERN_ITALICS");
arrayList.add(new c(eVar2, pattern5));
Pattern pattern6 = f244c;
Pattern pattern6 = f245c;
m.checkNotNullExpressionValue(pattern6, "PATTERN_STRIKETHRU");
arrayList.add(c(pattern6, f.i));
if (z2) {

View File

@ -26,18 +26,18 @@ public final class a {
public static final Pattern b;
/* renamed from: c reason: collision with root package name */
public static final Pattern f245c;
public static final Pattern f246c;
public static final Pattern d = new Regex("^\\s*(?:(?:(.+)(?: +\\{([\\w ]*)\\}))|(.*))[ \\t]*\\n *([=\\-]){3,}[ \\t]*(?=\\n|$)").toPattern();
public static final a e = new a();
/* compiled from: MarkdownRules.kt */
/* renamed from: c.a.t.c.a$a reason: collision with other inner class name */
public static class C0048a<RC, T, S> extends b<RC, S> {
public static class C0049a<RC, T, S> extends b<RC, S> {
private final Function1<String, T> classSpanProvider;
private final List<Rule<RC, Node<RC>, S>> innerRules;
/* JADX INFO: this call moved to the top of the method (can break code semantics) */
public C0048a(Function1<? super Integer, ? extends CharacterStyle> function1, Function1<? super String, ? extends T> function12) {
public C0049a(Function1<? super Integer, ? extends CharacterStyle> function1, Function1<? super String, ? extends T> function12) {
this(function1, function12, u.plus((Collection<? extends Rule>) e.b(false, false, 2), e.h.d()));
m.checkNotNullParameter(function1, "styleSpanProvider");
m.checkNotNullParameter(function12, "classSpanProvider");
@ -47,7 +47,7 @@ public final class a {
/* JADX DEBUG: Multi-variable search result rejected for r4v0, resolved type: java.util.List<? extends com.discord.simpleast.core.parser.Rule<RC, com.discord.simpleast.core.node.Node<RC>, S>> */
/* JADX WARN: Multi-variable type inference failed */
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public C0048a(Function1<? super Integer, ? extends CharacterStyle> function1, Function1<? super String, ? extends T> function12, List<? extends Rule<RC, Node<RC>, S>> list) {
public C0049a(Function1<? super Integer, ? extends CharacterStyle> function1, Function1<? super String, ? extends T> function12, List<? extends Rule<RC, Node<RC>, S>> list) {
super(a.d, function1);
m.checkNotNullParameter(function1, "styleSpanProvider");
m.checkNotNullParameter(function12, "classSpanProvider");
@ -120,7 +120,7 @@ public final class a {
this(pattern, function1);
if ((i & 1) != 0) {
a aVar = a.e;
pattern = a.f245c;
pattern = a.f246c;
}
}
@ -189,6 +189,6 @@ public final class a {
b = compile2;
Pattern compile3 = Pattern.compile("^\\s*(.+)\\n *(=|-){3,} *(?=\\n|$)", 0);
m.checkNotNullExpressionValue(compile3, "java.util.regex.Pattern.compile(this, flags)");
f245c = compile3;
f246c = compile3;
}
}

View File

@ -10,11 +10,11 @@ public final class a {
/* compiled from: TypeTokens.kt */
/* renamed from: c.a.w.a$a reason: collision with other inner class name */
public static final class C0049a extends TypeToken<List<? extends String>> {
public static final class C0050a extends TypeToken<List<? extends String>> {
}
static {
Type type = new C0049a().getType();
Type type = new C0050a().getType();
m.checkNotNullExpressionValue(type, "object : TypeToken<List<String>>() {}.type");
a = type;
}

View File

@ -44,10 +44,10 @@ public final class b0 extends AppBottomSheet implements i {
/* compiled from: SelectorBottomSheet.kt */
/* renamed from: c.a.y.b0$a$a reason: collision with other inner class name */
public static final class C0050a extends o implements Function1<Integer, Unit> {
public static final C0050a i = new C0050a();
public static final class C0051a extends o implements Function1<Integer, Unit> {
public static final C0051a i = new C0051a();
public C0050a() {
public C0051a() {
super(1);
}
@ -68,7 +68,7 @@ public final class b0 extends AppBottomSheet implements i {
public static /* synthetic */ b0 b(a aVar, FragmentManager fragmentManager, String str, List list, boolean z2, Function1 function1, int i) {
boolean z3 = (i & 8) != 0 ? true : z2;
if ((i & 16) != 0) {
function1 = C0050a.i;
function1 = C0051a.i;
}
return aVar.a(fragmentManager, str, list, z3, function1);
}

View File

@ -21,7 +21,7 @@ public final class e0 extends SimpleRecyclerAdapter.ViewHolder<c0> {
public final DialogInterface b;
/* renamed from: c reason: collision with root package name */
public final d f246c;
public final d f247c;
/* JADX WARNING: Illegal instructions before constructor call */
public e0(i iVar, DialogInterface dialogInterface, d dVar) {
@ -33,7 +33,7 @@ public final class e0 extends SimpleRecyclerAdapter.ViewHolder<c0> {
m.checkNotNullExpressionValue(constraintLayout, "itemBinding.root");
this.a = iVar;
this.b = dialogInterface;
this.f246c = dVar;
this.f247c = dVar;
}
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@ -43,13 +43,13 @@ public final class e0 extends SimpleRecyclerAdapter.ViewHolder<c0> {
Drawable drawable;
c0 c0Var2 = c0Var;
m.checkNotNullParameter(c0Var2, "data");
MaterialTextView materialTextView = this.f246c.d;
MaterialTextView materialTextView = this.f247c.d;
m.checkNotNullExpressionValue(materialTextView, "itemBinding.selectComponentSheetItemTitle");
b.a(materialTextView, c0Var2.e());
MaterialTextView materialTextView2 = this.f246c.b;
MaterialTextView materialTextView2 = this.f247c.b;
m.checkNotNullExpressionValue(materialTextView2, "itemBinding.selectComponentSheetItemDescription");
ViewExtensions.setTextAndVisibilityBy(materialTextView2, c0Var2.a());
SimpleDraweeView simpleDraweeView = this.f246c.f81c;
SimpleDraweeView simpleDraweeView = this.f247c.f81c;
m.checkNotNullExpressionValue(simpleDraweeView, "itemBinding.selectComponentSheetItemIcon");
int i2 = 0;
if (!((c0Var2.d() == null && c0Var2.b() == null) ? false : true)) {
@ -58,20 +58,20 @@ public final class e0 extends SimpleRecyclerAdapter.ViewHolder<c0> {
simpleDraweeView.setVisibility(i2);
String d = c0Var2.d();
if (d != null) {
SimpleDraweeView simpleDraweeView2 = this.f246c.f81c;
SimpleDraweeView simpleDraweeView2 = this.f247c.f81c;
m.checkNotNullExpressionValue(simpleDraweeView2, "itemBinding.selectComponentSheetItemIcon");
MGImages.setImage$default(simpleDraweeView2, d, R.dimen.emoji_size, R.dimen.emoji_size, true, null, null, 96, null);
} else {
Integer b = c0Var2.b();
if (b != null) {
this.f246c.f81c.setImageResource(b.intValue());
this.f247c.f81c.setImageResource(b.intValue());
}
}
Integer c2 = c0Var2.c();
if (c2 != null) {
this.f246c.f81c.setColorFilter(c2.intValue());
this.f247c.f81c.setColorFilter(c2.intValue());
}
MaterialTextView materialTextView3 = this.f246c.d;
MaterialTextView materialTextView3 = this.f247c.d;
materialTextView3.setText(c0Var2.e());
Integer g = c0Var2.g();
if (g != null) {
@ -86,16 +86,16 @@ public final class e0 extends SimpleRecyclerAdapter.ViewHolder<c0> {
f.intValue();
Drawable drawable2 = ContextCompat.getDrawable(materialTextView3.getContext(), c0Var2.f().intValue());
if (drawable2 != null) {
MaterialTextView materialTextView4 = this.f246c.d;
MaterialTextView materialTextView4 = this.f247c.d;
m.checkNotNullExpressionValue(materialTextView4, "itemBinding.selectComponentSheetItemTitle");
DrawableCompat.setTint(drawable2, ColorCompat.getThemedColor(materialTextView4, (int) R.attr.colorHeaderPrimary));
drawable = drawable2;
com.discord.utilities.drawable.DrawableCompat.setCompoundDrawablesCompat$default(materialTextView3, (Drawable) null, (Drawable) null, drawable, (Drawable) null, 11, (Object) null);
this.f246c.a.setOnClickListener(new d0(this));
this.f247c.a.setOnClickListener(new d0(this));
}
}
drawable = null;
com.discord.utilities.drawable.DrawableCompat.setCompoundDrawablesCompat$default(materialTextView3, (Drawable) null, (Drawable) null, drawable, (Drawable) null, 11, (Object) null);
this.f246c.a.setOnClickListener(new d0(this));
this.f247c.a.setOnClickListener(new d0(this));
}
}

View File

@ -19,7 +19,7 @@ public final class f extends DividerItemDecoration {
public final int b;
/* renamed from: c reason: collision with root package name */
public final int f247c;
public final int f248c;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public f(Context context, int i, int i2, int i3, int i4, int i5) {
@ -30,7 +30,7 @@ public final class f extends DividerItemDecoration {
m.checkNotNullParameter(context, "context");
this.a = i2;
this.b = i3;
this.f247c = i4;
this.f248c = i4;
Drawable drawable = ContextCompat.getDrawable(context, R.drawable.drawable_divider);
if (drawable != null) {
Drawable wrap = DrawableCompat.wrap(drawable);
@ -45,7 +45,7 @@ public final class f extends DividerItemDecoration {
m.checkNotNullParameter(recyclerView, "parent");
m.checkNotNullParameter(state, "state");
int paddingLeft = recyclerView.getPaddingLeft() + this.b;
int width = (recyclerView.getWidth() - recyclerView.getPaddingRight()) - this.f247c;
int width = (recyclerView.getWidth() - recyclerView.getPaddingRight()) - this.f248c;
Drawable drawable = getDrawable();
int childCount = recyclerView.getChildCount();
for (int i = 0; i < childCount; i++) {

View File

@ -18,6 +18,6 @@ public final class h0 extends o implements Function0<Boolean> {
/* renamed from: invoke */
public Boolean mo17invoke() {
VoiceUserView voiceUserView = this.this$0;
return Boolean.valueOf(voiceUserView.l == VoiceUserView.a.RINGING && voiceUserView.f2620r);
return Boolean.valueOf(voiceUserView.l == VoiceUserView.a.RINGING && voiceUserView.f2621r);
}
}

View File

@ -12,12 +12,12 @@ public final class e implements RendererCommon.RendererEvents {
public final int b;
/* renamed from: c reason: collision with root package name */
public final int f248c;
public final int f249c;
public a(int i, int i2, int i3) {
this.a = i;
this.b = i2;
this.f248c = i3;
this.f249c = i3;
}
public boolean equals(Object obj) {
@ -28,11 +28,11 @@ public final class e implements RendererCommon.RendererEvents {
return false;
}
a aVar = (a) obj;
return this.a == aVar.a && this.b == aVar.b && this.f248c == aVar.f248c;
return this.a == aVar.a && this.b == aVar.b && this.f249c == aVar.f249c;
}
public int hashCode() {
return (((this.a * 31) + this.b) * 31) + this.f248c;
return (((this.a * 31) + this.b) * 31) + this.f249c;
}
public String toString() {
@ -41,7 +41,7 @@ public final class e implements RendererCommon.RendererEvents {
O.append(", height=");
O.append(this.b);
O.append(", rotation=");
return c.d.b.a.a.z(O, this.f248c, ")");
return c.d.b.a.a.z(O, this.f249c, ")");
}
}

View File

@ -15,7 +15,7 @@ public final class f<T, R> implements b<e.a, Point> {
if (aVar2 == null) {
return null;
}
int i2 = aVar2.f248c;
int i2 = aVar2.f249c;
return (i2 == -180 || i2 == 0 || i2 == 180) ? new Point(aVar2.a, aVar2.b) : new Point(aVar2.b, aVar2.a);
}
}

View File

@ -16,10 +16,10 @@ import rx.subjects.Subject;
public abstract class l extends OverlayDialog implements AppComponent {
/* renamed from: w reason: collision with root package name */
public final Subject<Void, Void> f249w;
public final Subject<Void, Void> f250w;
/* renamed from: x reason: collision with root package name */
public Function1<? super OverlayDialog, Unit> f250x = m.i;
public Function1<? super OverlayDialog, Unit> f251x = m.i;
/* compiled from: Animator.kt */
public static final class a implements Animator.AnimatorListener {
@ -75,7 +75,7 @@ public abstract class l extends OverlayDialog implements AppComponent {
m.checkNotNullParameter(context, "context");
PublishSubject k0 = PublishSubject.k0();
m.checkNotNullExpressionValue(k0, "PublishSubject.create()");
this.f249w = k0;
this.f250w = k0;
setOnClickListener(new k(this));
}
@ -83,7 +83,7 @@ public abstract class l extends OverlayDialog implements AppComponent {
getUnsubscribeSignal().onNext(null);
Log.i(getClass().getSimpleName(), "closing");
if (!ViewCompat.isAttachedToWindow(this)) {
this.f250x.invoke(this);
this.f251x.invoke(this);
return;
}
Animator closingAnimator = getClosingAnimator();
@ -96,12 +96,12 @@ public abstract class l extends OverlayDialog implements AppComponent {
/* JADX DEBUG: Type inference failed for r0v0. Raw type applied. Possible types: kotlin.jvm.functions.Function1<? super com.discord.overlay.views.OverlayDialog, kotlin.Unit>, kotlin.jvm.functions.Function1<com.discord.overlay.views.OverlayDialog, kotlin.Unit> */
public final Function1<OverlayDialog, Unit> getOnDialogClosed() {
return this.f250x;
return this.f251x;
}
@Override // com.discord.app.AppComponent
public Subject<Void, Void> getUnsubscribeSignal() {
return this.f249w;
return this.f250w;
}
@Override // android.view.View, android.view.ViewGroup
@ -112,6 +112,6 @@ public abstract class l extends OverlayDialog implements AppComponent {
public final void setOnDialogClosed(Function1<? super OverlayDialog, Unit> function1) {
m.checkNotNullParameter(function1, "<set-?>");
this.f250x = function1;
this.f251x = function1;
}
}

View File

@ -21,6 +21,6 @@ public final class a implements View.OnClickListener {
if (!(googlePlayInAppSku == null || (function1 = giftSelectView.j) == null)) {
function1.invoke(googlePlayInAppSku);
}
giftSelectView.i.f2203c.setOnClickListener(null);
giftSelectView.i.f2204c.setOnClickListener(null);
}
}

View File

@ -32,7 +32,7 @@ public final class o<T, R> implements b<Map<Long, ? extends StoreVoiceParticipan
for (T t : values) {
T t2 = t;
if (t2.isConnected()) {
if (ChannelUtils.y(this.i)) {
if (ChannelUtils.z(this.i)) {
VoiceState voiceState = t2.getVoiceState();
}
z2 = true;

View File

@ -28,13 +28,13 @@ import rx.subjects.Subject;
public final class w extends OverlayBubbleWrap implements AppComponent {
/* renamed from: w reason: collision with root package name */
public static final /* synthetic */ int f251w = 0;
public static final /* synthetic */ int f252w = 0;
/* renamed from: x reason: collision with root package name */
public final s0 f252x;
public final s0 f253x;
/* renamed from: y reason: collision with root package name */
public final Subject<Void, Void> f253y;
public final Subject<Void, Void> f254y;
/* compiled from: OverlayVoiceBubble.kt */
public static final class a<T, R> implements i0.k.b<Long, Observable<? extends StoreVoiceParticipants.VoiceUser>> {
@ -70,7 +70,7 @@ public final class w extends OverlayBubbleWrap implements AppComponent {
public Unit invoke(StoreVoiceParticipants.VoiceUser voiceUser) {
StoreVoiceParticipants.VoiceUser voiceUser2 = voiceUser;
w wVar = this.this$0;
int i = w.f251w;
int i = w.f252w;
if (voiceUser2 == null) {
wVar.h();
} else {
@ -91,10 +91,10 @@ public final class w extends OverlayBubbleWrap implements AppComponent {
SimpleDraweeView simpleDraweeView = (SimpleDraweeView) inflate;
s0 s0Var = new s0(simpleDraweeView, simpleDraweeView);
m.checkNotNullExpressionValue(s0Var, "OverlayVoiceBubbleBindin…rom(context), this, true)");
this.f252x = s0Var;
this.f253x = s0Var;
PublishSubject k0 = PublishSubject.k0();
m.checkNotNullExpressionValue(k0, "PublishSubject.create()");
this.f253y = k0;
this.f254y = k0;
}
@Override // com.discord.overlay.views.OverlayBubbleWrap
@ -115,14 +115,14 @@ public final class w extends OverlayBubbleWrap implements AppComponent {
}
public final SimpleDraweeView getImageView$app_productionBetaRelease() {
SimpleDraweeView simpleDraweeView = this.f252x.b;
SimpleDraweeView simpleDraweeView = this.f253x.b;
m.checkNotNullExpressionValue(simpleDraweeView, "binding.overlayBubbleIv");
return simpleDraweeView;
}
@Override // com.discord.app.AppComponent
public Subject<Void, Void> getUnsubscribeSignal() {
return this.f253y;
return this.f254y;
}
public final void h() {

View File

@ -25,7 +25,7 @@ public final class x extends o implements Function2<List<? extends WidgetGlobalS
m.checkNotNullParameter(list, "<anonymous parameter 0>");
m.checkNotNullParameter(list2, "<anonymous parameter 1>");
if (!m.areEqual(this.this$0.B, this.$searchModel$inlined.getFilter())) {
this.this$0.f254y.f.scrollToPosition(0);
this.this$0.f255y.f.scrollToPosition(0);
this.this$0.B = this.$searchModel$inlined.getFilter();
}
return Unit.a;

View File

@ -37,10 +37,10 @@ public final class z extends l implements AppComponent {
public String B;
/* renamed from: y reason: collision with root package name */
public t0 f254y;
public t0 f255y;
/* renamed from: z reason: collision with root package name */
public final WidgetGlobalSearchAdapter f255z;
public final WidgetGlobalSearchAdapter f256z;
/* compiled from: OverlayVoiceSelectorBubbleDialog.kt */
public static final class a implements View.OnClickListener {
@ -106,23 +106,23 @@ public final class z extends l implements AppComponent {
WidgetGlobalSearchModel widgetGlobalSearchModel2 = widgetGlobalSearchModel;
m.checkNotNullParameter(widgetGlobalSearchModel2, "it");
z zVar = this.this$0;
TextView textView = zVar.f254y.d;
TextView textView = zVar.f255y.d;
m.checkNotNullExpressionValue(textView, "binding.emptyResults");
int i = 8;
textView.setVisibility(widgetGlobalSearchModel2.getData().isEmpty() ? 0 : 8);
RecyclerView recyclerView = zVar.f254y.f;
RecyclerView recyclerView = zVar.f255y.f;
m.checkNotNullExpressionValue(recyclerView, "binding.resultsRv");
if (!widgetGlobalSearchModel2.getData().isEmpty()) {
i = 0;
}
recyclerView.setVisibility(i);
WidgetGlobalSearchAdapter widgetGlobalSearchAdapter = zVar.f255z;
WidgetGlobalSearchAdapter widgetGlobalSearchAdapter = zVar.f256z;
widgetGlobalSearchAdapter.setOnUpdated(new x(zVar, widgetGlobalSearchModel2));
List<WidgetGlobalSearchModel.ItemDataPayload> data = widgetGlobalSearchModel2.getData();
ArrayList arrayList = new ArrayList();
for (Object obj : data) {
Channel channel = ((WidgetGlobalSearchModel.ItemDataPayload) obj).getChannel();
if (channel != null && ChannelUtils.D(channel)) {
if (channel != null && ChannelUtils.E(channel)) {
arrayList.add(obj);
}
}
@ -139,40 +139,40 @@ public final class z extends l implements AppComponent {
getWindowLayoutParams().flags &= -9;
t0 a2 = t0.a(LayoutInflater.from(getContext()), this, true);
m.checkNotNullExpressionValue(a2, "OverlayVoiceChannelSelec…rom(context), this, true)");
this.f254y = a2;
RecyclerView recyclerView = this.f254y.f;
this.f255y = a2;
RecyclerView recyclerView = this.f255y.f;
m.checkNotNullExpressionValue(recyclerView, "binding.resultsRv");
this.f255z = new WidgetGlobalSearchAdapter(recyclerView);
this.f256z = new WidgetGlobalSearchAdapter(recyclerView);
}
@Override // c.a.y.l
public Animator getClosingAnimator() {
Animator loadAnimator = AnimatorInflater.loadAnimator(getContext(), R.animator.overlay_slide_down_fade_out);
loadAnimator.setTarget(this.f254y.f163c);
loadAnimator.setTarget(this.f255y.f163c);
m.checkNotNullExpressionValue(loadAnimator, "AnimatorInflater.loadAni…binding.dialogCard)\n }");
return loadAnimator;
}
public final void h() {
this.f254y.b.setOnClickListener(new a(this));
TextInputLayout textInputLayout = this.f254y.e;
this.f255y.b.setOnClickListener(new a(this));
TextInputLayout textInputLayout = this.f255y.e;
m.checkNotNullExpressionValue(textInputLayout, "binding.overlayChannelSearch");
ViewExtensions.setText(textInputLayout, this.B);
TextInputLayout textInputLayout2 = this.f254y.e;
TextInputLayout textInputLayout2 = this.f255y.e;
m.checkNotNullExpressionValue(textInputLayout2, "binding.overlayChannelSearch");
EditText editText = textInputLayout2.getEditText();
if (editText != null) {
editText.addTextChangedListener(new TextWatcher(null, null, new b(this), 3, null));
}
WidgetGlobalSearchAdapter widgetGlobalSearchAdapter = this.f255z;
RecyclerView recyclerView = this.f254y.f;
WidgetGlobalSearchAdapter widgetGlobalSearchAdapter = this.f256z;
RecyclerView recyclerView = this.f255y.f;
m.checkNotNullExpressionValue(recyclerView, "binding.resultsRv");
widgetGlobalSearchAdapter.setRecycler(recyclerView);
MGRecyclerAdapter.Companion.configure(this.f255z);
MGRecyclerAdapter.Companion.configure(this.f256z);
WidgetGlobalSearchModel.Companion companion = WidgetGlobalSearchModel.Companion;
Observable<String> F = this.A.F(c.i);
m.checkNotNullExpressionValue(F, "filterPublisher.map { \"!$it\" }");
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui(companion.getForNav(F), this, this.f255z), z.class, (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new d(this), 62, (Object) null);
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui(companion.getForNav(F), this, this.f256z), z.class, (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new d(this), 62, (Object) null);
}
@Override // android.view.View, android.view.ViewGroup
@ -180,7 +180,7 @@ public final class z extends l implements AppComponent {
super.onAttachedToWindow();
h();
Animator loadAnimator = AnimatorInflater.loadAnimator(getContext(), R.animator.overlay_slide_up_fade_in);
loadAnimator.setTarget(this.f254y.f163c);
loadAnimator.setTarget(this.f255y.f163c);
loadAnimator.start();
}
@ -191,7 +191,7 @@ public final class z extends l implements AppComponent {
removeAllViewsInLayout();
t0 a2 = t0.a(LayoutInflater.from(getContext()), this, true);
m.checkNotNullExpressionValue(a2, "OverlayVoiceChannelSelec…rom(context), this, true)");
this.f254y = a2;
this.f255y = a2;
h();
}
}

View File

@ -66,11 +66,11 @@ public class a extends AppCompatDialogFragment {
/* compiled from: java-style lambda group */
/* renamed from: c.b.a.a.a$a reason: collision with other inner class name */
public static final class View$OnClickListenerC0051a implements View.OnClickListener {
public static final class View$OnClickListenerC0052a implements View.OnClickListener {
public final /* synthetic */ int i;
public final /* synthetic */ Object j;
public View$OnClickListenerC0051a(int i, Object obj) {
public View$OnClickListenerC0052a(int i, Object obj) {
this.i = i;
this.j = obj;
}
@ -98,7 +98,7 @@ public class a extends AppCompatDialogFragment {
}
} else if (i == 2) {
FlexInputFragment flexInputFragment = (FlexInputFragment) ((Fragment) this.j);
FlexInputViewModel flexInputViewModel = flexInputFragment.f2924r;
FlexInputViewModel flexInputViewModel = flexInputFragment.f2925r;
if (flexInputViewModel != null) {
flexInputViewModel.onSendButtonClicked(flexInputFragment.n);
}
@ -395,14 +395,14 @@ public class a extends AppCompatDialogFragment {
m.checkNotNullParameter(layoutInflater, "inflater");
View inflate = layoutInflater.inflate(R.f.dialog_add_content_pager_with_fab, viewGroup, false);
if (inflate != null) {
inflate.setOnClickListener(new View$OnClickListenerC0051a(0, this));
inflate.setOnClickListener(new View$OnClickListenerC0052a(0, this));
this.j = (ViewPager) inflate.findViewById(R.e.content_pager);
this.k = (TabLayout) inflate.findViewById(R.e.content_tabs);
this.l = (FloatingActionButton) inflate.findViewById(R.e.action_btn);
ImageView imageView = (ImageView) inflate.findViewById(R.e.launch_btn);
this.m = imageView;
if (imageView != null) {
imageView.setOnClickListener(new View$OnClickListenerC0051a(1, this));
imageView.setOnClickListener(new View$OnClickListenerC0052a(1, this));
}
FloatingActionButton floatingActionButton = this.l;
Objects.requireNonNull(floatingActionButton, "null cannot be cast to non-null type com.google.android.material.floatingactionbutton.FloatingActionButton");
@ -418,11 +418,11 @@ public class a extends AppCompatDialogFragment {
flexInputFragment.k();
eVar.mo17invoke();
} catch (UninitializedPropertyAccessException unused) {
flexInputFragment.f2925w.add(eVar);
flexInputFragment.f2926w.add(eVar);
}
FloatingActionButton floatingActionButton2 = this.l;
if (floatingActionButton2 != null) {
floatingActionButton2.setOnClickListener(new View$OnClickListenerC0051a(2, parentFragment));
floatingActionButton2.setOnClickListener(new View$OnClickListenerC0052a(2, parentFragment));
}
this.n = flexInputFragment.b().addItemSelectionListener(this.q);
FloatingActionButton floatingActionButton3 = this.l;

View File

@ -27,7 +27,7 @@ public final class b implements TabLayout.OnTabSelectedListener {
if (position == 3) {
this.a.h(false);
Fragment parentFragment = this.a.getParentFragment();
if ((parentFragment instanceof FlexInputFragment) && (flexInputViewModel = ((FlexInputFragment) parentFragment).f2924r) != null) {
if ((parentFragment instanceof FlexInputFragment) && (flexInputViewModel = ((FlexInputFragment) parentFragment).f2925r) != null) {
flexInputViewModel.onCreateThreadSelected();
return;
}

View File

@ -21,7 +21,7 @@ public final class f implements ViewPager.OnPageChangeListener {
@Override // androidx.viewpager.widget.ViewPager.OnPageChangeListener
public void onPageSelected(int i) {
FlexInputViewModel flexInputViewModel = this.a.f2924r;
FlexInputViewModel flexInputViewModel = this.a.f2925r;
if (flexInputViewModel != null) {
flexInputViewModel.onContentDialogPageChanged(i);
}

View File

@ -15,7 +15,7 @@ public final class g implements DialogInterface.OnDismissListener {
@Override // android.content.DialogInterface.OnDismissListener
public final void onDismiss(DialogInterface dialogInterface) {
FlexInputViewModel flexInputViewModel;
if (this.i.isAdded() && !this.i.isHidden() && (flexInputViewModel = this.i.f2924r) != null) {
if (this.i.isAdded() && !this.i.isHidden() && (flexInputViewModel = this.i.f2925r) != null) {
c.c0(flexInputViewModel, false, 1, null);
}
}

View File

@ -23,7 +23,7 @@ public final class h extends o implements Function1<View, Unit> {
@Override // kotlin.jvm.functions.Function1
public Unit invoke(View view) {
m.checkNotNullParameter(view, "it");
FlexInputViewModel flexInputViewModel = this.this$0.f2924r;
FlexInputViewModel flexInputViewModel = this.this$0.f2925r;
if (flexInputViewModel != null) {
c.c0(flexInputViewModel, false, 1, null);
}

View File

@ -14,7 +14,7 @@ public final class i implements View.OnLongClickListener {
@Override // android.view.View.OnLongClickListener
public final boolean onLongClick(View view) {
FlexInputViewModel flexInputViewModel = this.i.f2924r;
FlexInputViewModel flexInputViewModel = this.i.f2925r;
if (flexInputViewModel == null) {
return false;
}

View File

@ -17,7 +17,7 @@ public final class m implements SelectionCoordinator.ItemSelectionListener<Attac
public void onItemSelected(Attachment<? extends Object> attachment) {
c0.z.d.m.checkNotNullParameter(attachment, "item");
FlexInputFragment flexInputFragment = this.a;
FlexInputViewModel flexInputViewModel = flexInputFragment.f2924r;
FlexInputViewModel flexInputViewModel = flexInputFragment.f2925r;
if (flexInputViewModel != null) {
flexInputViewModel.onAttachmentsUpdated(flexInputFragment.b().getAttachments());
}
@ -28,7 +28,7 @@ public final class m implements SelectionCoordinator.ItemSelectionListener<Attac
public void onItemUnselected(Attachment<? extends Object> attachment) {
c0.z.d.m.checkNotNullParameter(attachment, "item");
FlexInputFragment flexInputFragment = this.a;
FlexInputViewModel flexInputViewModel = flexInputFragment.f2924r;
FlexInputViewModel flexInputViewModel = flexInputFragment.f2925r;
if (flexInputViewModel != null) {
flexInputViewModel.onAttachmentsUpdated(flexInputFragment.b().getAttachments());
}

View File

@ -36,7 +36,7 @@ public final class i extends RecyclerView.Adapter<a> {
public Cursor b;
/* renamed from: c reason: collision with root package name */
public int f256c;
public int f257c;
public int d;
public int e;
public int f;
@ -51,16 +51,16 @@ public final class i extends RecyclerView.Adapter<a> {
public final AnimatorSet q;
/* renamed from: r reason: collision with root package name */
public final c f257r;
public final c f258r;
public final /* synthetic */ i s;
/* compiled from: MediaCursorAdapter.kt */
/* renamed from: c.b.a.d.i$a$a reason: collision with other inner class name */
public static final class C0052a extends o implements Function1<AnimatorSet, Unit> {
public static final class C0053a extends o implements Function1<AnimatorSet, Unit> {
public final /* synthetic */ boolean $isAnimationRequested;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public C0052a(boolean z2) {
public C0053a(boolean z2) {
super(1);
this.$isAnimationRequested = z2;
}
@ -89,7 +89,7 @@ public final class i extends RecyclerView.Adapter<a> {
this.s = iVar;
FrameLayout frameLayout = cVar.a;
m.checkNotNullExpressionValue(frameLayout, "binding.root");
this.f257r = cVar;
this.f258r = cVar;
cVar.a.setOnClickListener(this);
FrameLayout frameLayout2 = cVar.a;
m.checkNotNullExpressionValue(frameLayout2, "binding.root");
@ -109,21 +109,21 @@ public final class i extends RecyclerView.Adapter<a> {
@Override // c.b.a.d.j
public SimpleDraweeView a() {
SimpleDraweeView simpleDraweeView = this.f257r.f260c;
SimpleDraweeView simpleDraweeView = this.f258r.f261c;
m.checkNotNullExpressionValue(simpleDraweeView, "binding.contentIv");
return simpleDraweeView;
}
public final void d(boolean z2, boolean z3) {
FrameLayout frameLayout = this.f257r.a;
FrameLayout frameLayout = this.f258r.a;
m.checkNotNullExpressionValue(frameLayout, "binding.root");
frameLayout.setSelected(z2);
C0052a aVar = new C0052a(z3);
C0053a aVar = new C0053a(z3);
if (z2) {
SimpleDraweeView simpleDraweeView = this.f257r.d;
SimpleDraweeView simpleDraweeView = this.f258r.d;
m.checkNotNullExpressionValue(simpleDraweeView, "binding.itemCheckIndicator");
simpleDraweeView.setVisibility(0);
FrameLayout frameLayout2 = this.f257r.b;
FrameLayout frameLayout2 = this.f258r.b;
m.checkNotNullExpressionValue(frameLayout2, "binding.contentContainer");
if (frameLayout2.getScaleX() == 1.0f) {
aVar.a(this.p);
@ -131,10 +131,10 @@ public final class i extends RecyclerView.Adapter<a> {
}
return;
}
SimpleDraweeView simpleDraweeView2 = this.f257r.d;
SimpleDraweeView simpleDraweeView2 = this.f258r.d;
m.checkNotNullExpressionValue(simpleDraweeView2, "binding.itemCheckIndicator");
simpleDraweeView2.setVisibility(8);
FrameLayout frameLayout3 = this.f257r.b;
FrameLayout frameLayout3 = this.f258r.b;
m.checkNotNullExpressionValue(frameLayout3, "binding.contentContainer");
if (frameLayout3.getScaleX() != 1.0f) {
aVar.a(this.q);
@ -169,7 +169,7 @@ public final class i extends RecyclerView.Adapter<a> {
m.checkNotNullParameter(obj, "cookie");
if (cursor != null) {
i iVar = this.a;
iVar.f256c = cursor.getColumnIndex("_id");
iVar.f257c = cursor.getColumnIndex("_id");
iVar.d = cursor.getColumnIndex("_data");
iVar.e = cursor.getColumnIndex("_display_name");
iVar.f = cursor.getColumnIndex("media_type");
@ -201,7 +201,7 @@ public final class i extends RecyclerView.Adapter<a> {
Long l = null;
if (cursor != null) {
cursor.moveToPosition(i);
long j = cursor.getLong(this.f256c);
long j = cursor.getLong(this.f257c);
boolean z2 = cursor.getInt(this.f) == 3;
Uri withAppendedPath = z2 ? Uri.withAppendedPath(MediaStore.Video.Media.EXTERNAL_CONTENT_URI, String.valueOf(j)) : Uri.withAppendedPath(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, String.valueOf(j));
String str2 = z2 ? "vid" : "img";
@ -264,7 +264,7 @@ public final class i extends RecyclerView.Adapter<a> {
m.checkNotNullParameter(aVar2, "holder");
Media a2 = a(i);
aVar2.o = a2;
FrameLayout frameLayout = aVar2.f257r.a;
FrameLayout frameLayout = aVar2.f258r.a;
m.checkNotNullExpressionValue(frameLayout, "binding.root");
Context context = frameLayout.getContext();
int i2 = 0;
@ -276,24 +276,24 @@ public final class i extends RecyclerView.Adapter<a> {
if (a2 == null || !a2.i) {
z2 = false;
}
TextView textView = aVar2.f257r.e;
TextView textView = aVar2.f258r.e;
m.checkNotNullExpressionValue(textView, "binding.itemVideoIndicator");
if (!z2) {
i2 = 8;
}
textView.setVisibility(i2);
if (z2) {
TextView textView2 = aVar2.f257r.e;
TextView textView2 = aVar2.f258r.e;
m.checkNotNullExpressionValue(textView2, "binding.itemVideoIndicator");
Drawable background = textView2.getBackground();
m.checkNotNullExpressionValue(background, "binding.itemVideoIndicator.background");
background.setAlpha(127);
long longValue = (a2 == null || (l = a2.j) == null) ? 0 : l.longValue();
TextView textView3 = aVar2.f257r.e;
TextView textView3 = aVar2.f258r.e;
m.checkNotNullExpressionValue(textView3, "binding.itemVideoIndicator");
textView3.setText(longValue > 0 ? TimeUtils.toFriendlyStringSimple$default(TimeUtils.INSTANCE, longValue, null, null, 6, null) : context.getString(R.g.video));
}
SimpleDraweeView simpleDraweeView = aVar2.f257r.f260c;
SimpleDraweeView simpleDraweeView = aVar2.f258r.f261c;
m.checkNotNullExpressionValue(simpleDraweeView, "binding.contentIv");
simpleDraweeView.setContentDescription(context.getString(z2 ? R.g.video : R.g.image));
}

View File

@ -60,7 +60,7 @@ public abstract class j extends RecyclerView.ViewHolder {
public CancellationSignal b;
/* renamed from: c reason: collision with root package name */
public Bitmap f258c;
public Bitmap f259c;
public final ContentResolver d;
public b(ContentResolver contentResolver) {
@ -79,11 +79,11 @@ public abstract class j extends RecyclerView.ViewHolder {
cancellationSignal.cancel();
}
}
Bitmap bitmap = this.f258c;
Bitmap bitmap = this.f259c;
if (bitmap != null) {
bitmap.recycle();
}
this.f258c = null;
this.f259c = null;
}
}

View File

@ -74,8 +74,8 @@ public final class k extends c0.w.i.a.k implements Function2<CoroutineScope, Con
} else {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
bVar.f258c = (Bitmap) obj;
this.$onGenerate.invoke(this.this$0.f258c);
bVar.f259c = (Bitmap) obj;
this.$onGenerate.invoke(this.this$0.f259c);
return Unit.a;
}
}

View File

@ -19,7 +19,7 @@ public final class a implements ViewBinding {
@NonNull
/* renamed from: c reason: collision with root package name */
public final LinearLayout f259c;
public final LinearLayout f260c;
@NonNull
public final RecyclerView d;
@NonNull
@ -52,7 +52,7 @@ public final class a implements ViewBinding {
public a(@NonNull LinearLayout linearLayout, @NonNull AppCompatImageButton appCompatImageButton, @NonNull LinearLayout linearLayout2, @NonNull RecyclerView recyclerView, @NonNull TextView textView, @NonNull LinearLayout linearLayout3, @NonNull FrameLayout frameLayout, @NonNull AppCompatImageButton appCompatImageButton2, @NonNull AppCompatImageButton appCompatImageButton3, @NonNull ImageView imageView, @NonNull FrameLayout frameLayout2, @NonNull FrameLayout frameLayout3, @NonNull AppCompatImageButton appCompatImageButton4, @NonNull AppCompatImageButton appCompatImageButton5, @NonNull LinearLayout linearLayout4, @NonNull LinearLayout linearLayout5, @NonNull FrameLayout frameLayout4, @NonNull ImageView imageView2, @NonNull FlexEditText flexEditText) {
this.a = linearLayout;
this.b = appCompatImageButton;
this.f259c = linearLayout2;
this.f260c = linearLayout2;
this.d = recyclerView;
this.e = textView;
this.f = linearLayout3;

View File

@ -15,7 +15,7 @@ public final class c implements ViewBinding {
@NonNull
/* renamed from: c reason: collision with root package name */
public final SimpleDraweeView f260c;
public final SimpleDraweeView f261c;
@NonNull
public final SimpleDraweeView d;
@NonNull
@ -24,7 +24,7 @@ public final class c implements ViewBinding {
public c(@NonNull FrameLayout frameLayout, @NonNull FrameLayout frameLayout2, @NonNull SimpleDraweeView simpleDraweeView, @NonNull SimpleDraweeView simpleDraweeView2, @NonNull TextView textView) {
this.a = frameLayout;
this.b = frameLayout2;
this.f260c = simpleDraweeView;
this.f261c = simpleDraweeView;
this.d = simpleDraweeView2;
this.e = textView;
}

View File

@ -18,7 +18,7 @@ public class b implements FileManager {
public final String b;
/* renamed from: c reason: collision with root package name */
public final String f261c;
public final String f262c;
public b(Context context, String str, String str2, int i) {
String str3;
@ -37,7 +37,7 @@ public class b implements FileManager {
m.checkNotNullParameter(str4, "imageDirName");
this.a = context;
this.b = str3;
this.f261c = str4;
this.f262c = str4;
}
@Override // com.lytefast.flexinput.managers.FileManager
@ -53,7 +53,7 @@ public class b implements FileManager {
public File b() {
String format = new SimpleDateFormat("yyyyMMdd_HHmmss", Locale.getDefault()).format(new Date());
Context context = this.a;
File file = new File(context.getExternalFilesDir(Environment.DIRECTORY_PICTURES), this.f261c);
File file = new File(context.getExternalFilesDir(Environment.DIRECTORY_PICTURES), this.f262c);
file.mkdirs();
if (!file.exists()) {
file = context.getFilesDir();

View File

@ -9,10 +9,10 @@ public abstract class a {
/* compiled from: FlexInputEvent.kt */
/* renamed from: c.b.a.h.a$a reason: collision with other inner class name */
public static final class C0053a extends a {
public static final C0053a a = new C0053a();
public static final class C0054a extends a {
public static final C0054a a = new C0054a();
public C0053a() {
public C0054a() {
super(null);
}
}

View File

@ -152,12 +152,12 @@ public class d {
public final /* synthetic */ int b;
/* renamed from: c reason: collision with root package name */
public final /* synthetic */ Object f262c;
public final /* synthetic */ Object f263c;
public a(Class cls, int i, Object obj) {
this.a = cls;
this.b = i;
this.f262c = obj;
this.f263c = obj;
}
public boolean equals(Object obj) {
@ -168,7 +168,7 @@ public class d {
return false;
}
for (int i = 0; i < this.b; i++) {
Object obj2 = Array.get(this.f262c, i);
Object obj2 = Array.get(this.f263c, i);
Object obj3 = Array.get(obj, i);
if (!(obj2 == obj3 || obj2 == null || obj2.equals(obj3))) {
return false;
@ -617,7 +617,7 @@ public class d {
int i = wVar.b + I12;
if (I12 == -1 || I12 > wVar.a()) {
Log.w("CeaUtil", "Skipping remainder of malformed SEI NAL unit.");
i = wVar.f973c;
i = wVar.f974c;
} else if (I1 == 4 && I12 >= 8) {
int s = wVar.s();
int x2 = wVar.x();
@ -801,7 +801,7 @@ public class d {
function1.invoke(renderContext);
if (!(objArr.length == 0)) {
if (!(!renderContext.a.isEmpty())) {
renderContext.f2506c = k.toList(objArr);
renderContext.f2507c = k.toList(objArr);
} else {
throw new IllegalArgumentException("must provide named arguments OR formatArgs, not both.");
}
@ -1429,7 +1429,7 @@ public class d {
URL url = tresult2.b;
if (url != null) {
Z("CctTransportBackend", "Following redirect to: %s", url);
tinput = new d.a(tresult2.b, tinput2.b, tinput2.f633c);
tinput = new d.a(tresult2.b, tinput2.b, tinput2.f634c);
} else {
tinput = null;
}
@ -1553,7 +1553,7 @@ public class d {
drawable.setAlpha(i);
}
if (eVar.b) {
drawable.setColorFilter(eVar.f409c);
drawable.setColorFilter(eVar.f410c);
}
int i2 = eVar.d;
boolean z2 = false;
@ -1750,7 +1750,7 @@ public class d {
int i9 = eVar2.o;
eVar2.w();
max = Math.max(i9, eVar2.n);
f2 = eVar == null ? eVar.f459c : (float) i;
f2 = eVar == null ? eVar.f460c : (float) i;
while (((float) (max / i5)) > f2) {
eVar2.w();
i5 = eVar2.k == c.f.i.b.a ? i5 * 2 : i5 + 1;
@ -2124,10 +2124,10 @@ public class d {
} else if (index == R.a.GenericDraweeHierarchy_overlayImage) {
aVar.b(w0(context2, obtainStyledAttributes, index));
} else if (index == R.a.GenericDraweeHierarchy_roundAsCircle) {
if (aVar.f429r == null) {
aVar.f429r = new c.f.g.f.c();
if (aVar.f430r == null) {
aVar.f430r = new c.f.g.f.c();
}
aVar.f429r.b = obtainStyledAttributes.getBoolean(index, false);
aVar.f430r.b = obtainStyledAttributes.getBoolean(index, false);
} else if (index == R.a.GenericDraweeHierarchy_roundedCornerRadius) {
i7 = obtainStyledAttributes.getDimensionPixelSize(index, i7);
} else if (index == R.a.GenericDraweeHierarchy_roundTopLeft) {
@ -2153,16 +2153,16 @@ public class d {
if (index == R.a.GenericDraweeHierarchy_roundBottomEnd) {
z16 = obtainStyledAttributes.getBoolean(index, z16);
} else if (index == R.a.GenericDraweeHierarchy_roundWithOverlayColor) {
if (aVar.f429r == null) {
aVar.f429r = new c.f.g.f.c();
if (aVar.f430r == null) {
aVar.f430r = new c.f.g.f.c();
}
aVar.f429r.b(obtainStyledAttributes.getColor(index, 0));
aVar.f430r.b(obtainStyledAttributes.getColor(index, 0));
} else {
if (index == R.a.GenericDraweeHierarchy_roundingBorderWidth) {
if (aVar.f429r == null) {
aVar.f429r = new c.f.g.f.c();
if (aVar.f430r == null) {
aVar.f430r = new c.f.g.f.c();
}
c.f.g.f.c cVar = aVar.f429r;
c.f.g.f.c cVar = aVar.f430r;
float dimensionPixelSize = (float) obtainStyledAttributes.getDimensionPixelSize(index, 0);
Objects.requireNonNull(cVar);
if (dimensionPixelSize >= 0.0f) {
@ -2177,15 +2177,15 @@ public class d {
} else {
i4 = i7;
if (index == R.a.GenericDraweeHierarchy_roundingBorderColor) {
if (aVar.f429r == null) {
aVar.f429r = new c.f.g.f.c();
if (aVar.f430r == null) {
aVar.f430r = new c.f.g.f.c();
}
aVar.f429r.f = obtainStyledAttributes.getColor(index, 0);
aVar.f430r.f = obtainStyledAttributes.getColor(index, 0);
} else if (index == R.a.GenericDraweeHierarchy_roundingBorderPadding) {
if (aVar.f429r == null) {
aVar.f429r = new c.f.g.f.c();
if (aVar.f430r == null) {
aVar.f430r = new c.f.g.f.c();
}
c.f.g.f.c cVar2 = aVar.f429r;
c.f.g.f.c cVar2 = aVar.f430r;
float dimensionPixelSize2 = (float) obtainStyledAttributes.getDimensionPixelSize(index, 0);
Objects.requireNonNull(cVar2);
l(dimensionPixelSize2 >= 0.0f, "the padding cannot be < 0");
@ -2295,18 +2295,18 @@ public class d {
aVar.l = new c.f.g.e.c(aVar.l, i);
}
if (i2 > 0) {
if (aVar.f429r == null) {
aVar.f429r = new c.f.g.f.c();
if (aVar.f430r == null) {
aVar.f430r = new c.f.g.f.c();
}
c.f.g.f.c cVar3 = aVar.f429r;
c.f.g.f.c cVar3 = aVar.f430r;
float f = z4 ? (float) i2 : 0.0f;
float f2 = z5 ? (float) i2 : 0.0f;
float f3 = z3 ? (float) i2 : 0.0f;
float f4 = z2 ? (float) i2 : 0.0f;
if (cVar3.f430c == null) {
cVar3.f430c = new float[8];
if (cVar3.f431c == null) {
cVar3.f431c = new float[8];
}
float[] fArr = cVar3.f430c;
float[] fArr = cVar3.f431c;
fArr[1] = f;
fArr[0] = f;
fArr[3] = f2;
@ -2907,7 +2907,7 @@ public class d {
}
ArrayList<d.a> arrayList3 = new ArrayList<>();
int i2 = wVar2.b;
int i3 = wVar2.f973c;
int i3 = wVar2.f974c;
while (i2 < i3) {
int f2 = wVar2.f() + i2;
if (f2 > i2 && f2 <= i3) {
@ -3133,7 +3133,7 @@ public class d {
@Nullable
public static c.i.a.c.a2.h0.j v1(byte[] bArr) {
c.i.a.c.i2.w wVar = new c.i.a.c.i2.w(bArr);
if (wVar.f973c < 32) {
if (wVar.f974c < 32) {
return null;
}
wVar.D(0);
@ -3201,7 +3201,7 @@ public class d {
return null;
}
if (uuid.equals(v1.a)) {
return v1.f745c;
return v1.f746c;
}
Log.w("PsshAtomUtil", "UUID mismatch. Expected: " + uuid + ", got: " + v1.a + ".");
return null;

View File

@ -17,18 +17,18 @@ public final class d extends c {
public static final ByteString q = ByteString.h("\n\r");
/* renamed from: r reason: collision with root package name */
public static final ByteString f264r = ByteString.h("*/");
public static final ByteString f265r = ByteString.h("*/");
public final g s;
public final e t;
public int u = 0;
public long v;
/* renamed from: w reason: collision with root package name */
public int f265w;
public int f266w;
@Nullable
/* renamed from: x reason: collision with root package name */
public String f266x;
public String f267x;
public d(g gVar) {
Objects.requireNonNull(gVar, "source == null");
@ -102,7 +102,7 @@ public final class d extends c {
} else if (i2 == 8 || i2 == 12) {
T(n);
} else if (i2 == 17) {
this.t.skip((long) this.f265w);
this.t.skip((long) this.f266w);
} else if (i2 == 18) {
StringBuilder O3 = a.O("Expected a value but was ");
O3.append(w());
@ -173,7 +173,7 @@ public final class d extends c {
if (r1 != 7) goto L_0x0210;
*/
/* JADX WARNING: Code restructure failed: missing block: B:139:0x01db, code lost:
r17.f265w = r5;
r17.f266w = r5;
r15 = 17;
r17.u = 17;
*/
@ -762,13 +762,13 @@ public final class d extends c {
return (double) this.v;
}
if (i == 17) {
this.f266x = this.t.H((long) this.f265w);
this.f267x = this.t.H((long) this.f266w);
} else if (i == 9) {
this.f266x = Q(o);
this.f267x = Q(o);
} else if (i == 8) {
this.f266x = Q(n);
this.f267x = Q(n);
} else if (i == 10) {
this.f266x = R();
this.f267x = R();
} else if (i != 11) {
StringBuilder O = a.O("Expected a double but was ");
O.append(w());
@ -778,11 +778,11 @@ public final class d extends c {
}
this.u = 11;
try {
double parseDouble = Double.parseDouble(this.f266x);
double parseDouble = Double.parseDouble(this.f267x);
if (Double.isNaN(parseDouble) || Double.isInfinite(parseDouble)) {
throw new b("JSON forbids NaN and infinities: " + parseDouble + " at path " + getPath());
}
this.f266x = null;
this.f267x = null;
this.u = 0;
int[] iArr2 = this.m;
int i3 = this.j - 1;
@ -790,7 +790,7 @@ public final class d extends c {
return parseDouble;
} catch (NumberFormatException unused) {
StringBuilder O2 = a.O("Expected a double but was ");
O2.append(this.f266x);
O2.append(this.f267x);
O2.append(" at path ");
O2.append(getPath());
throw new a(O2.toString());
@ -820,10 +820,10 @@ public final class d extends c {
throw new a(O.toString());
}
if (i == 17) {
this.f266x = this.t.H((long) this.f265w);
this.f267x = this.t.H((long) this.f266w);
} else if (i == 9 || i == 8) {
String Q = i == 9 ? Q(o) : Q(n);
this.f266x = Q;
this.f267x = Q;
try {
int parseInt = Integer.parseInt(Q);
this.u = 0;
@ -842,10 +842,10 @@ public final class d extends c {
}
this.u = 11;
try {
double parseDouble = Double.parseDouble(this.f266x);
double parseDouble = Double.parseDouble(this.f267x);
int i5 = (int) parseDouble;
if (((double) i5) == parseDouble) {
this.f266x = null;
this.f267x = null;
this.u = 0;
int[] iArr3 = this.m;
int i6 = this.j - 1;
@ -853,13 +853,13 @@ public final class d extends c {
return i5;
}
StringBuilder O3 = a.O("Expected an int but was ");
O3.append(this.f266x);
O3.append(this.f267x);
O3.append(" at path ");
O3.append(getPath());
throw new a(O3.toString());
} catch (NumberFormatException unused2) {
StringBuilder O4 = a.O("Expected an int but was ");
O4.append(this.f266x);
O4.append(this.f267x);
O4.append(" at path ");
O4.append(getPath());
throw new a(O4.toString());
@ -880,7 +880,7 @@ public final class d extends c {
} else if (i == 12) {
str = Q(n);
} else if (i == 15) {
str = this.f266x;
str = this.f267x;
} else {
StringBuilder O = a.O("Expected a name but was ");
O.append(w());
@ -907,12 +907,12 @@ public final class d extends c {
} else if (i == 8) {
str = Q(n);
} else if (i == 11) {
str = this.f266x;
this.f266x = null;
str = this.f267x;
this.f267x = null;
} else if (i == 16) {
str = Long.toString(this.v);
} else if (i == 17) {
str = this.t.H((long) this.f265w);
str = this.t.H((long) this.f266w);
} else {
StringBuilder O = a.O("Expected a string but was ");
O.append(w());
@ -985,7 +985,7 @@ public final class d extends c {
return -1;
}
if (i == 15) {
return K(this.f266x, aVar);
return K(this.f267x, aVar);
}
int u0 = this.s.u0(aVar.b);
if (u0 != -1) {
@ -998,7 +998,7 @@ public final class d extends c {
int K = K(s, aVar);
if (K == -1) {
this.u = 15;
this.f266x = s;
this.f267x = s;
this.l[this.j - 1] = str;
}
return K;

View File

@ -7,5 +7,5 @@ public class n {
public static final c.a b = c.a.a("p", "k");
/* renamed from: c reason: collision with root package name */
public static final c.a f267c = c.a.a("n", "v");
public static final c.a f268c = c.a.a("n", "v");
}

View File

@ -19,7 +19,7 @@ public class q {
public static SparseArrayCompat<WeakReference<Interpolator>> b;
/* renamed from: c reason: collision with root package name */
public static c.a f268c = c.a.a("t", "s", "e", "o", "i", "h", "to", "ti");
public static c.a f269c = c.a.a("t", "s", "e", "o", "i", "h", "to", "ti");
public static <T> a<T> a(c cVar, d dVar, float f, h0<T> h0Var, boolean z2) throws IOException {
T t;
@ -40,7 +40,7 @@ public class q {
boolean z3 = false;
float f2 = 0.0f;
while (cVar.e()) {
switch (cVar.z(f268c)) {
switch (cVar.z(f269c)) {
case 0:
f2 = (float) cVar.p();
break;

View File

@ -54,15 +54,15 @@ public class r {
i2++;
a aVar2 = (a) list.get(i2);
aVar.f = Float.valueOf(aVar2.e);
if (aVar.f273c == null && (t = aVar2.b) != null) {
aVar.f273c = t;
if (aVar.f274c == null && (t = aVar2.b) != null) {
aVar.f274c = t;
if (aVar instanceof h) {
((h) aVar).e();
}
}
}
a aVar3 = (a) list.get(i);
if ((aVar3.b == null || aVar3.f273c == null) && list.size() > 1) {
if ((aVar3.b == null || aVar3.f274c == null) && list.size() > 1) {
list.remove(aVar3);
}
}

View File

@ -20,7 +20,7 @@ public class s {
public static final c.a b = c.a.a("d", "a");
/* renamed from: c reason: collision with root package name */
public static final c.a f269c = c.a.a("nm");
public static final c.a f270c = c.a.a("nm");
/* JADX DEBUG: Failed to insert an additional move for type inference into block B:226:0x0303 */
/* JADX DEBUG: Multi-variable search result rejected for r6v10, resolved type: c.c.a.y.k.d */
@ -342,7 +342,7 @@ public class s {
while (cVar.e()) {
cVar.b();
while (cVar.e()) {
if (cVar.z(f269c) != 0) {
if (cVar.z(f270c) != 0) {
cVar.B();
cVar.C();
} else {

View File

@ -21,7 +21,7 @@ public class t {
public static c.a b = c.a.a(ModelAuditLogEntry.CHANGE_KEY_ID, "layers", "w", "h", "p", "u");
/* renamed from: c reason: collision with root package name */
public static final c.a f270c = c.a.a("list");
public static final c.a f271c = c.a.a("list");
public static final c.a d = c.a.a("cm", "tm", "dr");
public static d a(c cVar) throws IOException {
@ -177,7 +177,7 @@ public class t {
f2 = f6;
cVar.b();
while (cVar.e()) {
if (cVar.z(f270c) != 0) {
if (cVar.z(f271c) != 0) {
cVar.B();
cVar.C();
} else {
@ -344,7 +344,7 @@ public class t {
dVar.m = f4;
dVar.i = arrayList3;
dVar.h = longSparseArray;
dVar.f274c = hashMap;
dVar.f275c = hashMap;
dVar.d = hashMap2;
dVar.g = sparseArrayCompat2;
dVar.e = hashMap3;

View File

@ -21,7 +21,7 @@ public class d extends a implements Choreographer.FrameCallback {
@Nullable
/* renamed from: r reason: collision with root package name */
public c.c.a.d f271r;
public c.c.a.d f272r;
@VisibleForTesting
public boolean s = false;
@ -37,7 +37,7 @@ public class d extends a implements Choreographer.FrameCallback {
@Override // android.view.Choreographer.FrameCallback
public void doFrame(long j) {
l();
c.c.a.d dVar = this.f271r;
c.c.a.d dVar = this.f272r;
if (dVar != null && this.s) {
long j2 = this.m;
long j3 = 0;
@ -77,7 +77,7 @@ public class d extends a implements Choreographer.FrameCallback {
b(k());
}
}
if (this.f271r != null) {
if (this.f272r != null) {
float f3 = this.n;
if (f3 < this.p || f3 > this.q) {
throw new IllegalStateException(String.format("Frame must be [%f,%f]. It is %f", Float.valueOf(this.p), Float.valueOf(this.q), Float.valueOf(this.n)));
@ -99,7 +99,7 @@ public class d extends a implements Choreographer.FrameCallback {
float j;
float i;
float j2;
if (this.f271r == null) {
if (this.f272r == null) {
return 0.0f;
}
if (k()) {
@ -121,7 +121,7 @@ public class d extends a implements Choreographer.FrameCallback {
@Override // android.animation.ValueAnimator, android.animation.Animator
public long getDuration() {
c.c.a.d dVar = this.f271r;
c.c.a.d dVar = this.f272r;
if (dVar == null) {
return 0;
}
@ -130,7 +130,7 @@ public class d extends a implements Choreographer.FrameCallback {
@FloatRange(from = ShadowDrawableWrapper.COS_45, to = 1.0d)
public float h() {
c.c.a.d dVar = this.f271r;
c.c.a.d dVar = this.f272r;
if (dVar == null) {
return 0.0f;
}
@ -140,7 +140,7 @@ public class d extends a implements Choreographer.FrameCallback {
}
public float i() {
c.c.a.d dVar = this.f271r;
c.c.a.d dVar = this.f272r;
if (dVar == null) {
return 0.0f;
}
@ -154,7 +154,7 @@ public class d extends a implements Choreographer.FrameCallback {
}
public float j() {
c.c.a.d dVar = this.f271r;
c.c.a.d dVar = this.f272r;
if (dVar == null) {
return 0.0f;
}
@ -189,7 +189,7 @@ public class d extends a implements Choreographer.FrameCallback {
public void o(float f, float f2) {
if (f <= f2) {
c.c.a.d dVar = this.f271r;
c.c.a.d dVar = this.f272r;
float f3 = dVar == null ? -3.4028235E38f : dVar.k;
float f4 = dVar == null ? Float.MAX_VALUE : dVar.l;
this.p = f.b(f, f3, f4);

View File

@ -17,7 +17,7 @@ public final class g {
public static final Path b = new Path();
/* renamed from: c reason: collision with root package name */
public static final Path f272c = new Path();
public static final Path f273c = new Path();
public static final float[] d = new float[4];
public static final float e = ((float) (Math.sqrt(2.0d) / 2.0d));
public static float f = -1.0f;
@ -59,12 +59,12 @@ public final class g {
path2.reset();
pathMeasure.getSegment(min, max, path2, true);
if (max > length) {
Path path3 = f272c;
Path path3 = f273c;
path3.reset();
pathMeasure.getSegment(0.0f, max % length, path3, true);
path2.addPath(path3);
} else if (min < 0.0f) {
Path path4 = f272c;
Path path4 = f273c;
path4.reset();
pathMeasure.getSegment(min + length, length, path4, true);
path2.addPath(path4);

View File

@ -14,7 +14,7 @@ public class a<T> {
@Nullable
/* renamed from: c reason: collision with root package name */
public T f273c;
public T f274c;
@Nullable
public final Interpolator d;
public final float e;
@ -40,7 +40,7 @@ public class a<T> {
this.n = null;
this.a = dVar;
this.b = t;
this.f273c = t2;
this.f274c = t2;
this.d = interpolator;
this.e = f;
this.f = f2;
@ -57,7 +57,7 @@ public class a<T> {
this.n = null;
this.a = null;
this.b = t;
this.f273c = t;
this.f274c = t;
this.d = null;
this.e = Float.MIN_VALUE;
this.f = Float.valueOf(Float.MAX_VALUE);
@ -100,7 +100,7 @@ public class a<T> {
StringBuilder O = c.d.b.a.a.O("Keyframe{startValue=");
O.append((Object) this.b);
O.append(", endValue=");
O.append((Object) this.f273c);
O.append((Object) this.f274c);
O.append(", startFrame=");
O.append(this.e);
O.append(", endFrame=");

View File

@ -17,7 +17,7 @@ public class d {
public final HashSet<String> b = new HashSet<>();
/* renamed from: c reason: collision with root package name */
public Map<String, List<e>> f274c;
public Map<String, List<e>> f275c;
public Map<String, k> d;
public Map<String, c.c.a.y.d> e;
public List<i> f;

View File

@ -31,7 +31,7 @@ public class f implements Callable<p<d>> {
Pair pair;
c cVar = new c(this.i, this.j, this.k);
a aVar = a.ZIP;
b bVar = cVar.f360c;
b bVar = cVar.f361c;
d dVar = null;
if (bVar != null) {
String str = cVar.b;

View File

@ -41,7 +41,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
@Nullable
/* renamed from: r reason: collision with root package name */
public c.c.a.x.b f275r;
public c.c.a.x.b f276r;
@Nullable
public String s;
@Nullable
@ -52,16 +52,16 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
@Nullable
/* renamed from: w reason: collision with root package name */
public c.c.a.y.m.c f276w;
public c.c.a.y.m.c f277w;
/* renamed from: x reason: collision with root package name */
public int f277x;
public int f278x;
/* renamed from: y reason: collision with root package name */
public boolean f278y;
public boolean f279y;
/* renamed from: z reason: collision with root package name */
public boolean f279z;
public boolean f280z;
/* compiled from: LottieDrawable */
public class a implements o {
@ -127,17 +127,17 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
public final /* synthetic */ Object b;
/* renamed from: c reason: collision with root package name */
public final /* synthetic */ c.c.a.c0.c f281c;
public final /* synthetic */ c.c.a.c0.c f282c;
public e(c.c.a.y.f fVar, Object obj, c.c.a.c0.c cVar) {
this.a = fVar;
this.b = obj;
this.f281c = cVar;
this.f282c = cVar;
}
@Override // c.c.a.j.o
public void a(d dVar) {
j.this.a(this.a, this.b, this.f281c);
j.this.a(this.a, this.b, this.f282c);
}
}
@ -149,7 +149,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
@Override // android.animation.ValueAnimator.AnimatorUpdateListener
public void onAnimationUpdate(ValueAnimator valueAnimator) {
j jVar = j.this;
c.c.a.y.m.c cVar = jVar.f276w;
c.c.a.y.m.c cVar = jVar.f277w;
if (cVar != null) {
cVar.o(jVar.k.h());
}
@ -194,10 +194,10 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
/* compiled from: LottieDrawable */
/* renamed from: c.c.a.j$j reason: collision with other inner class name */
public class C0054j implements o {
public class C0055j implements o {
public final /* synthetic */ float a;
public C0054j(float f) {
public C0055j(float f) {
this.a = f;
}
@ -278,7 +278,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
this.o = new ArrayList<>();
f fVar = new f();
this.p = fVar;
this.f277x = 255;
this.f278x = 255;
this.A = true;
this.B = false;
dVar.i.add(fVar);
@ -286,7 +286,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
public <T> void a(c.c.a.y.f fVar, T t, c.c.a.c0.c<T> cVar) {
List list;
c.c.a.y.m.c cVar2 = this.f276w;
c.c.a.y.m.c cVar2 = this.f277w;
if (cVar2 == null) {
this.o.add(new e(fVar, t, cVar));
return;
@ -295,7 +295,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
if (fVar == c.c.a.y.f.a) {
cVar2.g(t, cVar);
} else {
c.c.a.y.g gVar = fVar.f324c;
c.c.a.y.g gVar = fVar.f325c;
if (gVar != null) {
gVar.g(t, cVar);
} else {
@ -304,11 +304,11 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
list = Collections.emptyList();
} else {
ArrayList arrayList = new ArrayList();
this.f276w.c(fVar, 0, arrayList, new c.c.a.y.f(new String[0]));
this.f277w.c(fVar, 0, arrayList, new c.c.a.y.f(new String[0]));
list = arrayList;
}
for (int i2 = 0; i2 < list.size(); i2++) {
((c.c.a.y.f) list.get(i2)).f324c.g(t, cVar);
((c.c.a.y.f) list.get(i2)).f325c.g(t, cVar);
}
z2 = true ^ list.isEmpty();
}
@ -327,7 +327,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
Rect rect = dVar.j;
c.c.a.y.m.e eVar = new c.c.a.y.m.e(Collections.emptyList(), dVar, "__container", -1, e.a.PRE_COMP, -1, null, Collections.emptyList(), new c.c.a.y.k.l(null, null, null, null, null, null, null, null, null), 0, 0, 0, 0.0f, 0.0f, rect.width(), rect.height(), null, null, Collections.emptyList(), 1, null, false);
d dVar2 = this.j;
this.f276w = new c.c.a.y.m.c(this, eVar, dVar2.i, dVar2);
this.f277w = new c.c.a.y.m.c(this, eVar, dVar2.i, dVar2);
}
public void c() {
@ -336,10 +336,10 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
dVar.cancel();
}
this.j = null;
this.f276w = null;
this.f275r = null;
this.f277w = null;
this.f276r = null;
c.c.a.b0.d dVar2 = this.k;
dVar2.f271r = null;
dVar2.f272r = null;
dVar2.p = -2.14748365E9f;
dVar2.q = 2.14748365E9f;
invalidateSelf();
@ -350,7 +350,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
float f3;
int i2 = -1;
if (ImageView.ScaleType.FIT_XY == this.q) {
if (this.f276w != null) {
if (this.f277w != null) {
Rect bounds = getBounds();
float width = ((float) bounds.width()) / ((float) this.j.j.width());
float height = ((float) bounds.height()) / ((float) this.j.j.height());
@ -375,12 +375,12 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
}
this.i.reset();
this.i.preScale(width, height);
this.f276w.f(canvas, this.i, this.f277x);
this.f277w.f(canvas, this.i, this.f278x);
if (i2 > 0) {
canvas.restoreToCount(i2);
}
}
} else if (this.f276w != null) {
} else if (this.f277w != null) {
float f6 = this.l;
float min2 = Math.min(((float) canvas.getWidth()) / ((float) this.j.j.width()), ((float) canvas.getHeight()) / ((float) this.j.j.height()));
if (f6 > min2) {
@ -401,7 +401,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
}
this.i.reset();
this.i.preScale(min2, min2);
this.f276w.f(canvas, this.i, this.f277x);
this.f277w.f(canvas, this.i, this.f278x);
if (i2 > 0) {
canvas.restoreToCount(i2);
}
@ -438,7 +438,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
@Override // android.graphics.drawable.Drawable
public int getAlpha() {
return this.f277x;
return this.f278x;
}
@Override // android.graphics.drawable.Drawable
@ -502,7 +502,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
@MainThread
public void j() {
if (this.f276w == null) {
if (this.f277w == null) {
this.o.add(new g());
return;
}
@ -530,7 +530,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
@MainThread
public void k() {
if (this.f276w == null) {
if (this.f277w == null) {
this.o.add(new h());
return;
}
@ -576,7 +576,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
}
c.c.a.y.i d2 = dVar.d(str);
if (d2 != null) {
m((int) (d2.b + d2.f325c));
m((int) (d2.b + d2.f326c));
return;
}
throw new IllegalArgumentException(c.d.b.a.a.v("Cannot find marker with name ", str, "."));
@ -608,7 +608,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
c.c.a.y.i d2 = dVar.d(str);
if (d2 != null) {
int i2 = (int) d2.b;
p(i2, ((int) d2.f325c) + i2);
p(i2, ((int) d2.f326c) + i2);
return;
}
throw new IllegalArgumentException(c.d.b.a.a.v("Cannot find marker with name ", str, "."));
@ -647,7 +647,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
@Override // android.graphics.drawable.Drawable
public void setAlpha(@IntRange(from = 0, to = 255) int i2) {
this.f277x = i2;
this.f278x = i2;
invalidateSelf();
}
@ -672,7 +672,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
public void t(float f2) {
d dVar = this.j;
if (dVar == null) {
this.o.add(new C0054j(f2));
this.o.add(new C0055j(f2));
} else {
r((int) c.c.a.b0.f.e(dVar.k, dVar.l, f2));
}

View File

@ -9,7 +9,7 @@ public class k {
public final int b;
/* renamed from: c reason: collision with root package name */
public final String f282c;
public final String f283c;
public final String d;
@Nullable
public Bitmap e;
@ -18,7 +18,7 @@ public class k {
public k(int i, int i2, String str, String str2, String str3) {
this.a = i;
this.b = i2;
this.f282c = str;
this.f283c = str;
this.d = str2;
}
}

View File

@ -13,7 +13,7 @@ public interface o {
public static final Integer b = 2;
/* renamed from: c reason: collision with root package name */
public static final Integer f283c = 3;
public static final Integer f284c = 3;
public static final Integer d = 4;
public static final PointF e = new PointF();
public static final PointF f = new PointF();
@ -30,23 +30,23 @@ public interface o {
public static final Float q = Float.valueOf(4.0f);
/* renamed from: r reason: collision with root package name */
public static final Float f284r = Float.valueOf(5.0f);
public static final Float f285r = Float.valueOf(5.0f);
public static final Float s = Float.valueOf(6.0f);
public static final Float t = Float.valueOf(7.0f);
public static final Float u = Float.valueOf(8.0f);
public static final Float v = Float.valueOf(9.0f);
/* renamed from: w reason: collision with root package name */
public static final Float f285w = Float.valueOf(10.0f);
public static final Float f286w = Float.valueOf(10.0f);
/* renamed from: x reason: collision with root package name */
public static final Float f286x = Float.valueOf(11.0f);
public static final Float f287x = Float.valueOf(11.0f);
/* renamed from: y reason: collision with root package name */
public static final Float f287y = Float.valueOf(12.0f);
public static final Float f288y = Float.valueOf(12.0f);
/* renamed from: z reason: collision with root package name */
public static final Float f288z = Float.valueOf(12.1f);
public static final Float f289z = Float.valueOf(12.1f);
static {
Float valueOf = Float.valueOf(0.0f);

View File

@ -31,7 +31,7 @@ public class q implements Runnable {
r rVar2 = this.i;
Throwable th = pVar.b;
synchronized (rVar2) {
ArrayList arrayList = new ArrayList(rVar2.f289c);
ArrayList arrayList = new ArrayList(rVar2.f290c);
if (arrayList.isEmpty()) {
c.c("Lottie encountered an error but no failure listener was added:", th);
return;

View File

@ -17,7 +17,7 @@ public class r<T> {
public final Set<l<T>> b = new LinkedHashSet(1);
/* renamed from: c reason: collision with root package name */
public final Set<l<Throwable>> f289c = new LinkedHashSet(1);
public final Set<l<Throwable>> f290c = new LinkedHashSet(1);
public final Handler d = new Handler(Looper.getMainLooper());
@Nullable
public volatile p<T> e = null;
@ -49,7 +49,7 @@ public class r<T> {
if (!(this.e == null || this.e.b == null)) {
lVar.a(this.e.b);
}
this.f289c.add(lVar);
this.f290c.add(lVar);
return this;
}

View File

@ -11,7 +11,7 @@ public class s {
public final Set<a> b = new ArraySet();
/* renamed from: c reason: collision with root package name */
public final Map<String, e> f290c = new HashMap();
public final Map<String, e> f291c = new HashMap();
/* compiled from: PerformanceTracker */
public interface a {

View File

@ -27,7 +27,7 @@ public abstract class a implements a.b, k, e {
public final Path b = new Path();
/* renamed from: c reason: collision with root package name */
public final Path f291c = new Path();
public final Path f292c = new Path();
public final RectF d = new RectF();
public final j e;
public final c.c.a.y.m.b f;
@ -48,7 +48,7 @@ public abstract class a implements a.b, k, e {
@Nullable
public final s b;
public b(s sVar, C0055a aVar) {
public b(s sVar, C0056a aVar) {
this.b = sVar;
}
}
@ -106,7 +106,7 @@ public abstract class a implements a.b, k, e {
c cVar = list.get(size);
if (cVar instanceof s) {
s sVar2 = (s) cVar;
if (sVar2.f307c == 2) {
if (sVar2.f308c == 2) {
sVar = sVar2;
}
}
@ -119,7 +119,7 @@ public abstract class a implements a.b, k, e {
c cVar2 = list2.get(size2);
if (cVar2 instanceof s) {
s sVar3 = (s) cVar2;
if (sVar3.f307c == 2) {
if (sVar3.f308c == 2) {
if (bVar != null) {
this.g.add(bVar);
}
@ -249,15 +249,15 @@ public abstract class a implements a.b, k, e {
int size3 = bVar.a.size() - 1;
float f3 = 0.0f;
while (size3 >= 0) {
this.f291c.set(bVar.a.get(size3).getPath());
this.f291c.transform(matrix);
this.a.setPath(this.f291c, z2);
this.f292c.set(bVar.a.get(size3).getPath());
this.f292c.transform(matrix);
this.a.setPath(this.f292c, z2);
float length2 = this.a.getLength();
if (floatValue3 > length) {
float f4 = floatValue3 - length;
if (f4 < f3 + length2 && f3 < f4) {
g.a(this.f291c, floatValue2 > length ? (floatValue2 - length) / length2 : 0.0f, Math.min(f4 / length2, f2), 0.0f);
canvas.drawPath(this.f291c, this.i);
g.a(this.f292c, floatValue2 > length ? (floatValue2 - length) / length2 : 0.0f, Math.min(f4 / length2, f2), 0.0f);
canvas.drawPath(this.f292c, this.i);
f3 += length2;
size3--;
z2 = false;
@ -267,10 +267,10 @@ public abstract class a implements a.b, k, e {
float f5 = f3 + length2;
if (f5 >= floatValue2 && f3 <= floatValue3) {
if (f5 > floatValue3 || floatValue2 >= f3) {
g.a(this.f291c, floatValue2 < f3 ? 0.0f : (floatValue2 - f3) / length2, floatValue3 > f5 ? 1.0f : (floatValue3 - f3) / length2, 0.0f);
canvas.drawPath(this.f291c, this.i);
g.a(this.f292c, floatValue2 < f3 ? 0.0f : (floatValue2 - f3) / length2, floatValue3 > f5 ? 1.0f : (floatValue3 - f3) / length2, 0.0f);
canvas.drawPath(this.f292c, this.i);
} else {
canvas.drawPath(this.f291c, this.i);
canvas.drawPath(this.f292c, this.i);
}
}
f3 += length2;

View File

@ -23,7 +23,7 @@ public class d implements e, m, a.b, g {
public RectF b;
/* renamed from: c reason: collision with root package name */
public final Matrix f292c;
public final Matrix f293c;
public final Path d;
public final RectF e;
public final String f;
@ -40,7 +40,7 @@ public class d implements e, m, a.b, g {
this(jVar, bVar, r3, r4, r5, r6);
l lVar;
String str = mVar.a;
boolean z2 = mVar.f338c;
boolean z2 = mVar.f339c;
List<c.c.a.y.l.b> list = mVar.b;
ArrayList arrayList = new ArrayList(list.size());
int i = 0;
@ -68,7 +68,7 @@ public class d implements e, m, a.b, g {
public d(j jVar, b bVar, String str, boolean z2, List<c> list, @Nullable l lVar) {
this.a = new c.c.a.w.a();
this.b = new RectF();
this.f292c = new Matrix();
this.f293c = new Matrix();
this.d = new Path();
this.e = new RectF();
this.f = str;
@ -143,16 +143,16 @@ public class d implements e, m, a.b, g {
@Override // c.c.a.w.b.e
public void d(RectF rectF, Matrix matrix, boolean z2) {
this.f292c.set(matrix);
this.f293c.set(matrix);
o oVar = this.k;
if (oVar != null) {
this.f292c.preConcat(oVar.e());
this.f293c.preConcat(oVar.e());
}
this.e.set(0.0f, 0.0f, 0.0f, 0.0f);
for (int size = this.h.size() - 1; size >= 0; size--) {
c cVar = this.h.get(size);
if (cVar instanceof e) {
((e) cVar).d(this.e, this.f292c, z2);
((e) cVar).d(this.e, this.f293c, z2);
rectF.union(this.e);
}
}
@ -175,15 +175,15 @@ public class d implements e, m, a.b, g {
public void f(Canvas canvas, Matrix matrix, int i) {
boolean z2;
if (!this.g) {
this.f292c.set(matrix);
this.f293c.set(matrix);
o oVar = this.k;
if (oVar != null) {
this.f292c.preConcat(oVar.e());
this.f293c.preConcat(oVar.e());
a<Integer, Integer> aVar = this.k.j;
i = (int) ((((((float) (aVar == null ? 100 : aVar.e().intValue())) / 100.0f) * ((float) i)) / 255.0f) * 255.0f);
}
boolean z3 = false;
if (this.i.f279z) {
if (this.i.f280z) {
int i2 = 0;
int i3 = 0;
while (true) {
@ -203,7 +203,7 @@ public class d implements e, m, a.b, g {
}
if (z3) {
this.b.set(0.0f, 0.0f, 0.0f, 0.0f);
d(this.b, this.f292c, true);
d(this.b, this.f293c, true);
this.a.setAlpha(i);
c.c.a.b0.g.f(canvas, this.b, this.a, 31);
}
@ -213,7 +213,7 @@ public class d implements e, m, a.b, g {
for (int size = this.h.size() - 1; size >= 0; size--) {
c cVar = this.h.get(size);
if (cVar instanceof e) {
((e) cVar).f(canvas, this.f292c, i);
((e) cVar).f(canvas, this.f293c, i);
}
}
if (z3) {
@ -237,10 +237,10 @@ public class d implements e, m, a.b, g {
@Override // c.c.a.w.b.m
public Path getPath() {
this.f292c.reset();
this.f293c.reset();
o oVar = this.k;
if (oVar != null) {
this.f292c.set(oVar.e());
this.f293c.set(oVar.e());
}
this.d.reset();
if (this.g) {
@ -249,7 +249,7 @@ public class d implements e, m, a.b, g {
for (int size = this.h.size() - 1; size >= 0; size--) {
c cVar = this.h.get(size);
if (cVar instanceof m) {
this.d.addPath(((m) cVar).getPath(), this.f292c);
this.d.addPath(((m) cVar).getPath(), this.f293c);
}
}
return this.d;

View File

@ -15,7 +15,7 @@ public class f implements m, a.b, k {
public final String b;
/* renamed from: c reason: collision with root package name */
public final j f293c;
public final j f294c;
public final a<?, PointF> d;
public final a<?, PointF> e;
public final c.c.a.y.l.a f;
@ -24,8 +24,8 @@ public class f implements m, a.b, k {
public f(j jVar, b bVar, c.c.a.y.l.a aVar) {
this.b = aVar.a;
this.f293c = jVar;
a<PointF, PointF> a = aVar.f328c.a();
this.f294c = jVar;
a<PointF, PointF> a = aVar.f329c.a();
this.d = a;
a<PointF, PointF> a2 = aVar.b.a();
this.e = a2;
@ -39,7 +39,7 @@ public class f implements m, a.b, k {
@Override // c.c.a.w.c.a.b
public void a() {
this.h = false;
this.f293c.invalidateSelf();
this.f294c.invalidateSelf();
}
@Override // c.c.a.w.b.c
@ -48,7 +48,7 @@ public class f implements m, a.b, k {
c cVar = list.get(i);
if (cVar instanceof s) {
s sVar = (s) cVar;
if (sVar.f307c == 1) {
if (sVar.f308c == 1) {
this.g.a.add(sVar);
sVar.b.add(this);
}

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