97.4 - Alpha (97204)
This commit is contained in:
parent
5edecf3eb1
commit
4dea4a9c0f
|
@ -10,8 +10,8 @@ android {
|
|||
applicationId 'com.discord'
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 29
|
||||
versionCode 97202
|
||||
versionName "97.2 - Alpha"
|
||||
versionCode 97204
|
||||
versionName "97.4 - Alpha"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="97202" android:versionName="97.2 - Alpha" 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="97204" android:versionName="97.4 - Alpha" 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"/>
|
||||
|
|
|
@ -9,6 +9,7 @@ import androidx.annotation.NonNull;
|
|||
import androidx.annotation.RequiresPermission;
|
||||
import androidx.annotation.VisibleForTesting;
|
||||
import androidx.core.content.PermissionChecker;
|
||||
import com.discord.models.domain.ModelAuditLogEntry;
|
||||
import java.util.Calendar;
|
||||
public class TwilightManager {
|
||||
private static final int SUNRISE = 6;
|
||||
|
@ -37,7 +38,7 @@ public class TwilightManager {
|
|||
public static TwilightManager getInstance(@NonNull Context context) {
|
||||
if (sInstance == null) {
|
||||
Context applicationContext = context.getApplicationContext();
|
||||
sInstance = new TwilightManager(applicationContext, (LocationManager) applicationContext.getSystemService("location"));
|
||||
sInstance = new TwilightManager(applicationContext, (LocationManager) applicationContext.getSystemService(ModelAuditLogEntry.CHANGE_KEY_LOCATION));
|
||||
}
|
||||
return sInstance;
|
||||
}
|
||||
|
|
|
@ -73,6 +73,7 @@ import androidx.appcompat.widget.ActivityChooserModel;
|
|||
import androidx.core.app.NotificationCompat;
|
||||
import androidx.core.content.res.ResourcesCompat;
|
||||
import androidx.core.os.ExecutorCompat;
|
||||
import com.discord.models.domain.ModelAuditLogEntry;
|
||||
import com.discord.utilities.analytics.ChatInputComponentTypes;
|
||||
import java.io.File;
|
||||
import java.util.HashMap;
|
||||
|
@ -265,7 +266,7 @@ public class ContextCompat {
|
|||
hashMap.put(InputMethodManager.class, "input_method");
|
||||
hashMap.put(KeyguardManager.class, "keyguard");
|
||||
hashMap.put(LayoutInflater.class, "layout_inflater");
|
||||
hashMap.put(LocationManager.class, "location");
|
||||
hashMap.put(LocationManager.class, ModelAuditLogEntry.CHANGE_KEY_LOCATION);
|
||||
hashMap.put(NfcManager.class, "nfc");
|
||||
hashMap.put(NotificationManager.class, "notification");
|
||||
hashMap.put(PowerManager.class, "power");
|
||||
|
|
|
@ -265,7 +265,7 @@ public final class f extends AppViewModel<d> {
|
|||
StoreChannels channels = companion.getChannels();
|
||||
Observable<User> observeUser = users.observeUser(j);
|
||||
Observable<Integer> observe = userRelationships.observe(j);
|
||||
Observable r = channels.observeChannel(j2).X(new d(guilds, j)).r();
|
||||
Observable r = channels.observeChannel(j2).Y(new d(guilds, j)).r();
|
||||
m.checkNotNullExpressionValue(r, "storeChannels\n … .distinctUntilChanged()");
|
||||
observable2 = Observable.i(observeUser, observe, r, e.a).r();
|
||||
m.checkNotNullExpressionValue(observable2, "Observable.combineLatest… .distinctUntilChanged()");
|
||||
|
@ -276,7 +276,7 @@ public final class f extends AppViewModel<d> {
|
|||
m.checkNotNullParameter(observable2, "storeObservable");
|
||||
this.k = j;
|
||||
this.l = api;
|
||||
this.j = PublishSubject.j0();
|
||||
this.j = PublishSubject.k0();
|
||||
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(ObservableExtensionsKt.computationLatest(observable2), this, null, 2, null), f.class, (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new b(this), 62, (Object) null);
|
||||
}
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@ import android.widget.TextView;
|
|||
import androidx.fragment.app.Fragment;
|
||||
import androidx.fragment.app.FragmentManager;
|
||||
import c.a.i.l1;
|
||||
import com.airbnb.lottie.parser.AnimatableValueParser;
|
||||
import com.discord.R;
|
||||
import com.discord.app.AppDialog;
|
||||
import com.discord.dialogs.SimpleConfirmationDialogArgs;
|
||||
|
@ -102,7 +101,7 @@ public final class d extends AppDialog {
|
|||
m.checkNotNullParameter(simpleConfirmationDialogArgs, "args");
|
||||
m.checkNotNullParameter(onClickListener, "positiveClickListener");
|
||||
d dVar = new d();
|
||||
dVar.setArguments(AnimatableValueParser.H2(simpleConfirmationDialogArgs));
|
||||
dVar.setArguments(c.c.a.a0.d.d2(simpleConfirmationDialogArgs));
|
||||
dVar.l = onClickListener;
|
||||
dVar.show(fragmentManager, a0.getOrCreateKotlinClass(d.class).toString());
|
||||
return dVar;
|
||||
|
|
|
@ -215,9 +215,9 @@ public final class a extends AppDialog {
|
|||
|
||||
public static final void g(a aVar) {
|
||||
Objects.requireNonNull(aVar);
|
||||
Observable<Long> c02 = Observable.c0(300, TimeUnit.MILLISECONDS);
|
||||
m.checkNotNullExpressionValue(c02, "Observable\n .time…S, TimeUnit.MILLISECONDS)");
|
||||
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(c02, aVar, null, 2, null), a.class, (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new b(aVar), 62, (Object) null);
|
||||
Observable<Long> d02 = Observable.d0(300, TimeUnit.MILLISECONDS);
|
||||
m.checkNotNullExpressionValue(d02, "Observable\n .time…S, TimeUnit.MILLISECONDS)");
|
||||
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(d02, aVar, null, 2, null), a.class, (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new b(aVar), 62, (Object) null);
|
||||
}
|
||||
|
||||
public static final d h(a aVar) {
|
||||
|
|
|
@ -149,6 +149,6 @@ public final class w extends AppViewModel<d> {
|
|||
m.checkNotNullParameter(observable2, "storeObservable");
|
||||
this.k = api;
|
||||
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(ObservableExtensionsKt.computationLatest(observable2), this, null, 2, null), w.class, (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new u(this), 62, (Object) null);
|
||||
this.j = PublishSubject.j0();
|
||||
this.j = PublishSubject.k0();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,6 +16,6 @@ public final class a0<T, R> implements Observable.c<T, R> {
|
|||
|
||||
@Override // j0.k.b
|
||||
public Object call(Object obj) {
|
||||
return ((Observable) obj).X(new z(this));
|
||||
return ((Observable) obj).Y(new z(this));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ import androidx.activity.result.ActivityResultLauncher;
|
|||
import androidx.fragment.app.Fragment;
|
||||
import androidx.fragment.app.FragmentManager;
|
||||
import androidx.fragment.app.FragmentTransaction;
|
||||
import com.airbnb.lottie.parser.AnimatableValueParser;
|
||||
import c.c.a.a0.d;
|
||||
import com.discord.app.AppActivity;
|
||||
import com.discord.app.AppComponent;
|
||||
import com.discord.app.AppFragment;
|
||||
|
@ -124,7 +124,7 @@ public final class j {
|
|||
if (intent2 != null) {
|
||||
intent = intent2;
|
||||
} else if (parcelable != null) {
|
||||
intent = AnimatableValueParser.J2(parcelable);
|
||||
intent = d.f2(parcelable);
|
||||
}
|
||||
AppLog appLog = AppLog.g;
|
||||
String simpleName = context.getClass().getSimpleName();
|
||||
|
@ -163,7 +163,7 @@ public final class j {
|
|||
d0.z.d.m.checkNotNullExpressionValue(instantiate, "fragment");
|
||||
Bundle bundle = (Bundle) (!(parcelable instanceof Bundle) ? null : parcelable);
|
||||
if (bundle == null) {
|
||||
bundle = AnimatableValueParser.H2(parcelable);
|
||||
bundle = d.d2(parcelable);
|
||||
}
|
||||
instantiate.setArguments(bundle);
|
||||
}
|
||||
|
@ -197,7 +197,7 @@ public final class j {
|
|||
if (intent2 != null) {
|
||||
intent = intent2;
|
||||
} else if (parcelable != null) {
|
||||
intent = AnimatableValueParser.J2(parcelable);
|
||||
intent = d.f2(parcelable);
|
||||
}
|
||||
activityResultLauncher.launch(a(context, cls, intent));
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ import rx.subjects.BehaviorSubject;
|
|||
/* compiled from: AppState.kt */
|
||||
public final class l {
|
||||
public static final ArrayList<Object> a = new ArrayList<>(4);
|
||||
public static final BehaviorSubject<Integer> b = BehaviorSubject.k0(0);
|
||||
public static final BehaviorSubject<Integer> b = BehaviorSubject.l0(0);
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public static final l f47c = new l();
|
||||
|
|
|
@ -58,7 +58,7 @@ public final class o {
|
|||
|
||||
@Override // j0.k.b
|
||||
public Object call(Object obj) {
|
||||
return ((Observable) obj).X(new s(this)).r();
|
||||
return ((Observable) obj).Y(new s(this)).r();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -78,7 +78,7 @@ public final class o {
|
|||
|
||||
@Override // j0.k.b
|
||||
public Object call(Object obj) {
|
||||
return ((Observable) obj).X(new t(this));
|
||||
return ((Observable) obj).Y(new t(this));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -15,6 +15,6 @@ public final class s<T, R> implements b<Map<K, ? extends V>, Observable<? extend
|
|||
@Override // j0.k.b
|
||||
public Object call(Object obj) {
|
||||
Map map = (Map) obj;
|
||||
return Observable.A(this.i.i).x(new p(map)).f0(q.i, new r(this, map));
|
||||
return Observable.A(this.i.i).x(new p(map)).g0(q.i, new r(this, map));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@ public final class b implements Application.ActivityLifecycleCallbacks {
|
|||
if (function1 != null) {
|
||||
function1 = new c(function1);
|
||||
}
|
||||
d.f53c = q.V(cVar, (Action1) function1);
|
||||
d.f53c = q.W(cVar, (Action1) function1);
|
||||
}
|
||||
|
||||
@Override // android.app.Application.ActivityLifecycleCallbacks
|
||||
|
|
|
@ -15,9 +15,9 @@ public final class d {
|
|||
public static final d d = new d();
|
||||
|
||||
static {
|
||||
BehaviorSubject k0 = BehaviorSubject.k0(true);
|
||||
m.checkNotNullExpressionValue(k0, "BehaviorSubject.create(isBackgrounded)");
|
||||
b = k0;
|
||||
BehaviorSubject l0 = BehaviorSubject.l0(true);
|
||||
m.checkNotNullExpressionValue(l0, "BehaviorSubject.create(isBackgrounded)");
|
||||
b = l0;
|
||||
}
|
||||
|
||||
public final Observable<Boolean> a() {
|
||||
|
|
|
@ -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.f1613z.clearFocus();
|
||||
this.p.f1614z.clearFocus();
|
||||
ChipsView<K, T> chipsView = this.p;
|
||||
Objects.requireNonNull(chipsView);
|
||||
m.checkNotNullParameter(this, "chip");
|
||||
|
|
|
@ -12,7 +12,7 @@ public final class g implements View.OnClickListener {
|
|||
|
||||
@Override // android.view.View.OnClickListener
|
||||
public final void onClick(View view) {
|
||||
this.i.f1613z.requestFocus();
|
||||
this.i.f1614z.requestFocus();
|
||||
this.i.f(null);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,7 +9,6 @@ import android.view.View;
|
|||
import android.widget.TextView;
|
||||
import androidx.annotation.StringRes;
|
||||
import androidx.fragment.app.Fragment;
|
||||
import com.airbnb.lottie.parser.AnimatableValueParser;
|
||||
import com.discord.i18n.RenderContext;
|
||||
import com.discord.simpleast.core.parser.Parser;
|
||||
import d0.z.d.m;
|
||||
|
@ -219,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.f2098c;
|
||||
List<? extends Object> list = renderContext.f2099c;
|
||||
boolean z2 = true;
|
||||
if (!map.isEmpty()) {
|
||||
charSequence = a.replace(charSequence, new f(map));
|
||||
|
@ -260,7 +259,7 @@ public final class b {
|
|||
m.checkNotNullParameter(charSequence, "$this$i18nFormat");
|
||||
m.checkNotNullParameter(objArr, "formatArgs");
|
||||
m.checkNotNullParameter(function1, "initializer");
|
||||
return f(charSequence, objArr, AnimatableValueParser.s2(function1, Arrays.copyOf(objArr, objArr.length)));
|
||||
return f(charSequence, objArr, c.c.a.a0.d.P1(function1, Arrays.copyOf(objArr, objArr.length)));
|
||||
}
|
||||
|
||||
public static /* synthetic */ CharSequence h(Context context, int i, Object[] objArr, Function1 function1, int i2) {
|
||||
|
@ -287,11 +286,11 @@ public final class b {
|
|||
m.checkNotNullParameter(textView, "$this$i18nSetText");
|
||||
m.checkNotNullParameter(objArr, "formatArgs");
|
||||
m.checkNotNullParameter(function1, "initializer");
|
||||
RenderContext s2 = AnimatableValueParser.s2(function1, Arrays.copyOf(objArr, objArr.length));
|
||||
textView.setMovementMethod(s2.g ? LinkMovementMethod.getInstance() : null);
|
||||
RenderContext P1 = c.c.a.a0.d.P1(function1, Arrays.copyOf(objArr, objArr.length));
|
||||
textView.setMovementMethod(P1.g ? LinkMovementMethod.getInstance() : null);
|
||||
String string = textView.getContext().getString(i);
|
||||
m.checkNotNullExpressionValue(string, "context.getString(stringResId)");
|
||||
textView.setText(f(string, objArr, s2));
|
||||
textView.setText(f(string, objArr, P1));
|
||||
}
|
||||
|
||||
public static /* synthetic */ void n(TextView textView, int i, Object[] objArr, Function1 function1, int i2) {
|
||||
|
@ -310,11 +309,11 @@ public final class b {
|
|||
textView.setMovementMethod(null);
|
||||
return;
|
||||
}
|
||||
RenderContext s2 = AnimatableValueParser.s2(hVar, Arrays.copyOf(objArr, objArr.length));
|
||||
if (s2.g) {
|
||||
RenderContext P1 = c.c.a.a0.d.P1(hVar, Arrays.copyOf(objArr, objArr.length));
|
||||
if (P1.g) {
|
||||
movementMethod = LinkMovementMethod.getInstance();
|
||||
}
|
||||
textView.setMovementMethod(movementMethod);
|
||||
textView.setText(f(charSequence, objArr, s2));
|
||||
textView.setText(f(charSequence, objArr, P1));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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.f2097c : null;
|
||||
Hook.a aVar2 = hook != null ? hook.f2098c : null;
|
||||
if (aVar2 != null) {
|
||||
aVar = aVar2;
|
||||
} else if (URLUtil.isValidUrl(this.a)) {
|
||||
|
|
|
@ -31,7 +31,7 @@ public final class e<T> implements Action1<k.c> {
|
|||
if (subscription != null) {
|
||||
subscription.unsubscribe();
|
||||
}
|
||||
appMediaPlayer.b = Observable.E(500, 500, TimeUnit.MILLISECONDS, appMediaPlayer.i).K().I(a.a()).V(new g(appMediaPlayer), new h(appMediaPlayer));
|
||||
appMediaPlayer.b = Observable.E(500, 500, TimeUnit.MILLISECONDS, appMediaPlayer.i).K().I(a.a()).W(new g(appMediaPlayer), new h(appMediaPlayer));
|
||||
} else if (i == 4) {
|
||||
PublishSubject<AppMediaPlayer.Event> publishSubject3 = this.i.a;
|
||||
publishSubject3.j.onNext(AppMediaPlayer.Event.e.a);
|
||||
|
|
|
@ -3,11 +3,11 @@ package c.a.p;
|
|||
import android.content.Context;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.os.Build;
|
||||
import c.c.a.a0.d;
|
||||
import c.i.a.c.h2.p;
|
||||
import c.i.a.c.i2.f0;
|
||||
import c.i.a.c.l0;
|
||||
import c.i.a.c.p1;
|
||||
import com.airbnb.lottie.parser.AnimatableValueParser;
|
||||
import com.discord.BuildConfig;
|
||||
import com.discord.app.AppLog;
|
||||
import com.discord.player.AppMediaPlayer;
|
||||
|
@ -33,19 +33,19 @@ public final class i {
|
|||
}
|
||||
j jVar = new j(new p(context, BuildConfig.APPLICATION_ID + AutocompleteViewModel.COMMAND_DISCOVER_TOKEN + str + " (Linux;Android " + Build.VERSION.RELEASE + ") ExoPlayerLib/2.13.3"), 104857600);
|
||||
k kVar = new k();
|
||||
AnimatableValueParser.D(true);
|
||||
d.D(true);
|
||||
l0.j(GuildConstantsKt.MAX_GUILD_MEMBERS_NOTIFY_ALL_MESSAGES, 0, "bufferForPlaybackMs", "0");
|
||||
l0.j(5000, 0, "bufferForPlaybackAfterRebufferMs", "0");
|
||||
l0.j(10000, GuildConstantsKt.MAX_GUILD_MEMBERS_NOTIFY_ALL_MESSAGES, "minBufferMs", "bufferForPlaybackMs");
|
||||
l0.j(10000, 5000, "minBufferMs", "bufferForPlaybackAfterRebufferMs");
|
||||
l0.j(30000, 10000, "maxBufferMs", "minBufferMs");
|
||||
AnimatableValueParser.D(true);
|
||||
d.D(true);
|
||||
l0 l0Var = new l0(new c.i.a.c.h2.m(true, 65536), 10000, 30000, GuildConstantsKt.MAX_GUILD_MEMBERS_NOTIFY_ALL_MESSAGES, 5000, -1, false, 0, false);
|
||||
m.checkNotNullExpressionValue(l0Var, "DefaultLoadControl.Build…reateDefaultLoadControl()");
|
||||
p1.b bVar = new p1.b(context);
|
||||
AnimatableValueParser.D(!bVar.q);
|
||||
d.D(!bVar.q);
|
||||
bVar.f = l0Var;
|
||||
AnimatableValueParser.D(!bVar.q);
|
||||
d.D(!bVar.q);
|
||||
bVar.q = true;
|
||||
p1 p1Var = new p1(bVar);
|
||||
m.checkNotNullExpressionValue(p1Var, "SimpleExoPlayer\n …ntrol)\n .build()");
|
||||
|
|
|
@ -12,9 +12,9 @@ import java.util.List;
|
|||
import rx.subjects.PublishSubject;
|
||||
/* compiled from: RxPlayerEventListener.kt */
|
||||
public final class k implements g1.a {
|
||||
public final PublishSubject<c> i = PublishSubject.j0();
|
||||
public final PublishSubject<a> j = PublishSubject.j0();
|
||||
public final PublishSubject<b> k = PublishSubject.j0();
|
||||
public final PublishSubject<c> i = PublishSubject.k0();
|
||||
public final PublishSubject<a> j = PublishSubject.k0();
|
||||
public final PublishSubject<b> k = PublishSubject.k0();
|
||||
|
||||
/* compiled from: RxPlayerEventListener.kt */
|
||||
public static final class a {
|
||||
|
|
|
@ -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.f2161a0) {
|
||||
if (rtcConnection.f2162a0) {
|
||||
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);
|
||||
|
|
|
@ -50,13 +50,13 @@ public final class b0 implements MediaEngineConnection.d {
|
|||
if (subscription != null && !subscription.isUnsubscribed()) {
|
||||
dVar.a();
|
||||
}
|
||||
dVar.b = Observable.D(0, dVar.f228c, TimeUnit.MILLISECONDS).V(new b(dVar), new c(dVar));
|
||||
dVar.b = Observable.D(0, dVar.f228c, TimeUnit.MILLISECONDS).W(new b(dVar), new c(dVar));
|
||||
rtcConnection.n = dVar;
|
||||
rtcConnection.o = false;
|
||||
}
|
||||
if (transportInfo.f2181c.ordinal() != 0) {
|
||||
if (transportInfo.f2182c.ordinal() != 0) {
|
||||
StringBuilder P = c.d.b.a.a.P("Unsupported protocol: ");
|
||||
P.append(transportInfo.f2181c);
|
||||
P.append(transportInfo.f2182c);
|
||||
P.append('.');
|
||||
RtcConnection.j(rtcConnection, true, P.toString(), null, false, 12);
|
||||
} else {
|
||||
|
|
|
@ -3,7 +3,7 @@ package c.a.q;
|
|||
import android.os.Handler;
|
||||
import android.os.Looper;
|
||||
import android.os.Process;
|
||||
import com.airbnb.lottie.parser.AnimatableValueParser;
|
||||
import c.c.a.a0.d;
|
||||
import d0.z.d.m;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
@ -46,7 +46,7 @@ public final class c implements ExecutorService {
|
|||
public final void a() {
|
||||
if (Process.myTid() != this.j) {
|
||||
IllegalStateException illegalStateException = new IllegalStateException("oops! not called on the MediaEngineExecutor");
|
||||
AnimatableValueParser.G1("MediaEngineExecutor", "oops! not called on the MediaEngineExecutor", illegalStateException);
|
||||
d.d1("MediaEngineExecutor", "oops! not called on the MediaEngineExecutor", illegalStateException);
|
||||
if (this.l) {
|
||||
new Handler(Looper.getMainLooper()).post(new d(illegalStateException));
|
||||
}
|
||||
|
|
|
@ -76,7 +76,7 @@ public final class h0 implements a.d {
|
|||
rtcConnection.n = null;
|
||||
rtcConnection.o = false;
|
||||
}
|
||||
rtcConnection.f2167z = 0;
|
||||
rtcConnection.f2168z = 0;
|
||||
rtcConnection.C = null;
|
||||
MediaSinkWantsManager mediaSinkWantsManager = rtcConnection.G;
|
||||
if (mediaSinkWantsManager != null) {
|
||||
|
@ -261,7 +261,7 @@ public final class h0 implements a.d {
|
|||
r.removeFirst(rtcConnection.u);
|
||||
}
|
||||
if (j > ((long) 500)) {
|
||||
rtcConnection.f2167z++;
|
||||
rtcConnection.f2168z++;
|
||||
}
|
||||
double d = (double) j;
|
||||
Objects.requireNonNull(RtcConnection.Quality.Companion);
|
||||
|
|
|
@ -6,7 +6,7 @@ import android.os.Looper;
|
|||
import android.os.PowerManager;
|
||||
import androidx.annotation.AnyThread;
|
||||
import androidx.annotation.RequiresApi;
|
||||
import com.airbnb.lottie.parser.AnimatableValueParser;
|
||||
import c.c.a.a0.d;
|
||||
import com.discord.rtcconnection.enums.ThermalStatus;
|
||||
import com.discord.utilities.debug.DebugPrintBuilder;
|
||||
import com.discord.utilities.debug.DebugPrintable;
|
||||
|
@ -60,7 +60,7 @@ public final class i0 implements PowerManager.OnThermalStatusChangedListener, Ru
|
|||
switch (thermalStatus.ordinal()) {
|
||||
case 0:
|
||||
if (k) {
|
||||
AnimatableValueParser.H1("ThermalDetector", "totally cool: no longer in thermal trouble");
|
||||
d.e1("ThermalDetector", "totally cool: no longer in thermal trouble");
|
||||
k = false;
|
||||
if (l) {
|
||||
((Handler) i.getValue()).removeCallbacks(this);
|
||||
|
@ -69,30 +69,30 @@ public final class i0 implements PowerManager.OnThermalStatusChangedListener, Ru
|
|||
}
|
||||
return;
|
||||
}
|
||||
AnimatableValueParser.I1("ThermalDetector", "totally cool: thermal status is nominal");
|
||||
d.f1("ThermalDetector", "totally cool: thermal status is nominal");
|
||||
return;
|
||||
case 1:
|
||||
case 2:
|
||||
if (k) {
|
||||
AnimatableValueParser.H1("ThermalDetector", "cooling down: thermal status = " + thermalStatus);
|
||||
d.e1("ThermalDetector", "cooling down: thermal status = " + thermalStatus);
|
||||
c();
|
||||
return;
|
||||
}
|
||||
AnimatableValueParser.I1("ThermalDetector", "pretty warm: ignoring low priority thermal status = " + thermalStatus);
|
||||
d.f1("ThermalDetector", "pretty warm: ignoring low priority thermal status = " + thermalStatus);
|
||||
return;
|
||||
case 3:
|
||||
case 4:
|
||||
case 5:
|
||||
case 6:
|
||||
if (!k) {
|
||||
AnimatableValueParser.J1("ThermalDetector", "we're starting to be in thermal trouble");
|
||||
d.g1("ThermalDetector", "we're starting to be in thermal trouble");
|
||||
k = true;
|
||||
}
|
||||
String str = "very toasty: thermal status = " + thermalStatus;
|
||||
if (thermalStatus.compareTo(ThermalStatus.Emergency) < 0) {
|
||||
AnimatableValueParser.J1("ThermalDetector", str);
|
||||
d.g1("ThermalDetector", str);
|
||||
} else {
|
||||
AnimatableValueParser.G1("ThermalDetector", str, new RuntimeException(str));
|
||||
d.d1("ThermalDetector", str, new RuntimeException(str));
|
||||
}
|
||||
c();
|
||||
return;
|
||||
|
@ -121,7 +121,7 @@ public final class i0 implements PowerManager.OnThermalStatusChangedListener, Ru
|
|||
@Override // android.os.PowerManager.OnThermalStatusChangedListener
|
||||
public synchronized void onThermalStatusChanged(int i2) {
|
||||
ThermalStatus a2 = ThermalStatus.Companion.a(i2);
|
||||
AnimatableValueParser.F1("ThermalDetector", "system update: onThermalStatusChanged( " + a2 + " )");
|
||||
d.c1("ThermalDetector", "system update: onThermalStatusChanged( " + a2 + " )");
|
||||
b(a2);
|
||||
}
|
||||
|
||||
|
@ -129,7 +129,7 @@ public final class i0 implements PowerManager.OnThermalStatusChangedListener, Ru
|
|||
public synchronized void run() {
|
||||
l = false;
|
||||
ThermalStatus a2 = a();
|
||||
AnimatableValueParser.F1("ThermalDetector", "scheduled update: current thermal status = " + a2);
|
||||
d.c1("ThermalDetector", "scheduled update: current thermal status = " + a2);
|
||||
b(a2);
|
||||
}
|
||||
|
||||
|
|
|
@ -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.f2159c.contains(l2)) {
|
||||
} else if (this.this$0.f2160c.contains(l2)) {
|
||||
MediaSinkWantsManager mediaSinkWantsManager2 = this.this$0;
|
||||
Long l3 = this.$userId;
|
||||
mediaSinkWantsManager2.e = l3;
|
||||
|
|
|
@ -7,7 +7,7 @@ import android.media.AudioManager;
|
|||
import androidx.annotation.MainThread;
|
||||
import androidx.core.os.EnvironmentCompat;
|
||||
import c.a.q.l0.a;
|
||||
import com.airbnb.lottie.parser.AnimatableValueParser;
|
||||
import c.c.a.a0.d;
|
||||
import com.discord.models.domain.ModelAuditLogEntry;
|
||||
import com.discord.rtcconnection.enums.AudioManagerBroadcastAction;
|
||||
import com.discord.rtcconnection.enums.ScoAudioState;
|
||||
|
@ -69,10 +69,10 @@ public final class a extends BroadcastReceiver {
|
|||
if (audioManagerBroadcastAction == null) {
|
||||
StringBuilder P = c.d.b.a.a.P("unable to parse AudioManagerBroadcastAction for action: ");
|
||||
P.append(intent.getAction());
|
||||
AnimatableValueParser.J1("AudioManagerBroadcastReceiver", P.toString());
|
||||
d.g1("AudioManagerBroadcastReceiver", P.toString());
|
||||
return;
|
||||
}
|
||||
AnimatableValueParser.I1("AudioManagerBroadcastReceiver", "onReceive: action = " + audioManagerBroadcastAction);
|
||||
d.f1("AudioManagerBroadcastReceiver", "onReceive: action = " + audioManagerBroadcastAction);
|
||||
try {
|
||||
h hVar = this.f214c;
|
||||
int ordinal = audioManagerBroadcastAction.ordinal();
|
||||
|
@ -114,7 +114,7 @@ public final class a extends BroadcastReceiver {
|
|||
hVar.d(context, ((AudioManager) systemService2).isSpeakerphoneOn());
|
||||
}
|
||||
} catch (Throwable th) {
|
||||
AnimatableValueParser.G1("AudioManagerBroadcastReceiver", "error handling " + audioManagerBroadcastAction, th);
|
||||
d.d1("AudioManagerBroadcastReceiver", "error handling " + audioManagerBroadcastAction, th);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ package c.a.q.k0;
|
|||
|
||||
import android.content.Context;
|
||||
import android.os.Process;
|
||||
import com.airbnb.lottie.parser.AnimatableValueParser;
|
||||
import c.c.a.a0.d;
|
||||
import d0.z.d.m;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
/* compiled from: AudioPermissions.kt */
|
||||
|
@ -30,13 +30,13 @@ public final class b {
|
|||
this.f215c = z4;
|
||||
this.d = z2;
|
||||
if (!z3) {
|
||||
AnimatableValueParser.J1("AudioPermissions", "MODIFY_AUDIO_SETTINGS permission is missing");
|
||||
d.g1("AudioPermissions", "MODIFY_AUDIO_SETTINGS permission is missing");
|
||||
}
|
||||
if (!z4) {
|
||||
AnimatableValueParser.J1("AudioPermissions", "RECORD_AUDIO permission is missing");
|
||||
d.g1("AudioPermissions", "RECORD_AUDIO permission is missing");
|
||||
}
|
||||
if (!z2) {
|
||||
AnimatableValueParser.J1("AudioPermissions", "BLUETOOTH permission is missing");
|
||||
d.g1("AudioPermissions", "BLUETOOTH permission is missing");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ import android.content.BroadcastReceiver;
|
|||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import androidx.annotation.MainThread;
|
||||
import com.airbnb.lottie.parser.AnimatableValueParser;
|
||||
import c.c.a.a0.d;
|
||||
import com.discord.rtcconnection.enums.BluetoothBroadcastAction;
|
||||
import com.discord.rtcconnection.enums.BluetoothHeadsetAudioState;
|
||||
import com.discord.rtcconnection.enums.BluetoothProfileConnectionState;
|
||||
|
@ -68,10 +68,10 @@ public final class c extends BroadcastReceiver implements BluetoothProfile.Servi
|
|||
if (bluetoothBroadcastAction == null) {
|
||||
StringBuilder P = c.d.b.a.a.P("unable to parse BluetoothBroadcastAction for action: ");
|
||||
P.append(intent.getAction());
|
||||
AnimatableValueParser.J1("BluetoothBroadcastReceiver", P.toString());
|
||||
d.g1("BluetoothBroadcastReceiver", P.toString());
|
||||
return;
|
||||
}
|
||||
AnimatableValueParser.I1("BluetoothBroadcastReceiver", "onReceive: action = " + bluetoothBroadcastAction);
|
||||
d.f1("BluetoothBroadcastReceiver", "onReceive: action = " + bluetoothBroadcastAction);
|
||||
try {
|
||||
i iVar = this.n;
|
||||
int ordinal = bluetoothBroadcastAction.ordinal();
|
||||
|
@ -80,13 +80,13 @@ public final class c extends BroadcastReceiver implements BluetoothProfile.Servi
|
|||
} else if (ordinal == 1) {
|
||||
iVar.a(context, BluetoothHeadsetAudioState.Companion.b(intent));
|
||||
} else if (ordinal != 4) {
|
||||
AnimatableValueParser.J1("BluetoothBroadcastReceiver", "unexpected " + bluetoothBroadcastAction);
|
||||
d.g1("BluetoothBroadcastReceiver", "unexpected " + bluetoothBroadcastAction);
|
||||
} else {
|
||||
m.checkNotNullParameter(intent, "$this$getBluetoothDeviceExtra");
|
||||
iVar.b((BluetoothDevice) intent.getParcelableExtra("android.bluetooth.device.extra.DEVICE"));
|
||||
}
|
||||
} catch (Throwable th) {
|
||||
AnimatableValueParser.G1("BluetoothBroadcastReceiver", "error handling " + bluetoothBroadcastAction, th);
|
||||
d.d1("BluetoothBroadcastReceiver", "error handling " + bluetoothBroadcastAction, th);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ public final class c extends BroadcastReceiver implements BluetoothProfile.Servi
|
|||
public void onServiceConnected(int i2, BluetoothProfile bluetoothProfile) {
|
||||
ThreadUtils.checkIsOnMainThread();
|
||||
if (i2 == 1 && this.k) {
|
||||
AnimatableValueParser.F1("BluetoothBroadcastReceiver", "BluetoothProfile.ServiceListener.onServiceConnected");
|
||||
d.c1("BluetoothBroadcastReceiver", "BluetoothProfile.ServiceListener.onServiceConnected");
|
||||
if (!(bluetoothProfile instanceof BluetoothHeadset)) {
|
||||
bluetoothProfile = null;
|
||||
}
|
||||
|
@ -109,7 +109,7 @@ public final class c extends BroadcastReceiver implements BluetoothProfile.Servi
|
|||
public void onServiceDisconnected(int i2) {
|
||||
ThreadUtils.checkIsOnMainThread();
|
||||
if (i2 == 1 && this.k) {
|
||||
AnimatableValueParser.F1("BluetoothBroadcastReceiver", "BluetoothProfile.ServiceListener.onServiceDisconnected");
|
||||
d.c1("BluetoothBroadcastReceiver", "BluetoothProfile.ServiceListener.onServiceDisconnected");
|
||||
this.l = null;
|
||||
this.n.c(null);
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package c.a.q.k0;
|
||||
|
||||
import android.media.AudioManager;
|
||||
import com.airbnb.lottie.parser.AnimatableValueParser;
|
||||
import c.c.a.a0.d;
|
||||
import com.discord.rtcconnection.audio.DiscordAudioManager;
|
||||
/* compiled from: DiscordAudioManager.kt */
|
||||
public final class e implements AudioManager.OnAudioFocusChangeListener {
|
||||
|
@ -13,7 +13,7 @@ public final class e implements AudioManager.OnAudioFocusChangeListener {
|
|||
|
||||
@Override // android.media.AudioManager.OnAudioFocusChangeListener
|
||||
public final void onAudioFocusChange(int i) {
|
||||
AnimatableValueParser.F1("DiscordAudioManager", "[AudioFocus] new focus: " + i);
|
||||
d.c1("DiscordAudioManager", "[AudioFocus] new focus: " + i);
|
||||
if (i == -3 || i == -2) {
|
||||
this.i.i(false);
|
||||
} else if (i == 1) {
|
||||
|
|
|
@ -20,7 +20,7 @@ public final class f extends ContentObserver {
|
|||
DiscordAudioManager discordAudioManager = this.a;
|
||||
int streamVolume = discordAudioManager.e.getStreamVolume(3);
|
||||
discordAudioManager.w = streamVolume;
|
||||
SerializedSubject<Integer, Integer> serializedSubject = discordAudioManager.f2173y;
|
||||
SerializedSubject<Integer, Integer> serializedSubject = discordAudioManager.f2174y;
|
||||
serializedSubject.j.onNext(Integer.valueOf(streamVolume));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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.f2159c.remove(Long.valueOf(this.$userId));
|
||||
this.this$0.f2160c.remove(Long.valueOf(this.$userId));
|
||||
} else {
|
||||
this.this$0.b.put(Long.valueOf(this.$userId), arrayList2);
|
||||
this.this$0.f2159c.add(Long.valueOf(this.$userId));
|
||||
this.this$0.f2160c.add(Long.valueOf(this.$userId));
|
||||
}
|
||||
this.this$0.d(arrayList2.isEmpty() ? n.emptyList() : d0.t.m.listOf(String.valueOf(this.$userId)));
|
||||
return Unit.a;
|
||||
|
|
|
@ -170,7 +170,7 @@ public final class b extends ScreenCapturerAndroid {
|
|||
if (subscription != null) {
|
||||
subscription.unsubscribe();
|
||||
}
|
||||
Observable<Long> c02 = Observable.c0(((long) this.p) / 1000000, TimeUnit.MILLISECONDS);
|
||||
Observable<Long> d02 = Observable.d0(((long) this.p) / 1000000, TimeUnit.MILLISECONDS);
|
||||
SurfaceTextureHelper surfaceTextureHelper = this.l;
|
||||
if (surfaceTextureHelper == null) {
|
||||
m.throwUninitializedPropertyAccessException("surfaceTextureHelper");
|
||||
|
@ -180,7 +180,7 @@ public final class b extends ScreenCapturerAndroid {
|
|||
Looper looper = handler.getLooper();
|
||||
AtomicReference<j0.j.b.a> atomicReference = j0.j.b.a.a;
|
||||
Objects.requireNonNull(looper, "looper == null");
|
||||
this.v = c02.W(new j0.j.b.b(looper)).V(new c(this), d.i);
|
||||
this.v = d02.X(new j0.j.b.b(looper)).W(new c(this), d.i);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -216,7 +216,7 @@ public final class b extends ScreenCapturerAndroid {
|
|||
if (thumbnailEmitter != null) {
|
||||
synchronized (thumbnailEmitter) {
|
||||
thumbnailEmitter.d.release();
|
||||
thumbnailEmitter.f2184c.release();
|
||||
thumbnailEmitter.f2185c.release();
|
||||
JniCommon.nativeFreeByteBuffer(thumbnailEmitter.b);
|
||||
thumbnailEmitter.a = RecyclerView.FOREVER_NS;
|
||||
}
|
||||
|
|
|
@ -288,7 +288,7 @@ public final class e implements MediaEngineConnection {
|
|||
Connection connection2 = connection;
|
||||
d0.z.d.m.checkNotNullParameter(connection2, "$receiver");
|
||||
connection2.setVADLeadingFramesToBuffer(this.$inputModeOptions.b);
|
||||
connection2.setVADTrailingFramesToSend(this.$inputModeOptions.f2183c);
|
||||
connection2.setVADTrailingFramesToSend(this.$inputModeOptions.f2184c);
|
||||
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;
|
||||
d0.z.d.m.checkNotNullParameter(connection2, "$receiver");
|
||||
MediaEngineConnection.b bVar = this.$quality;
|
||||
connection2.setEncodingQuality(bVar.a, bVar.b, bVar.f2182c, bVar.d, this.$frameRate);
|
||||
connection2.setEncodingQuality(bVar.a, bVar.b, bVar.f2183c, bVar.d, this.$frameRate);
|
||||
return Unit.a;
|
||||
}
|
||||
}
|
||||
|
@ -610,7 +610,7 @@ public final class e implements MediaEngineConnection {
|
|||
this.d = h0.mutableMapOf(d0.o.to(Long.valueOf(j2), Integer.valueOf(aVar.a)));
|
||||
int i2 = aVar.a;
|
||||
String str = aVar.b;
|
||||
int i3 = aVar.f2180c;
|
||||
int i3 = aVar.f2181c;
|
||||
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));
|
||||
|
|
|
@ -6,7 +6,6 @@ import androidx.annotation.AnyThread;
|
|||
import c.a.q.e0;
|
||||
import co.discord.media_engine.RtcRegion;
|
||||
import co.discord.media_engine.VideoInputDeviceDescription;
|
||||
import com.airbnb.lottie.parser.AnimatableValueParser;
|
||||
import com.discord.rtcconnection.mediaengine.MediaEngine;
|
||||
import com.discord.rtcconnection.mediaengine.MediaEngineConnection;
|
||||
import com.discord.utilities.logging.Logger;
|
||||
|
@ -391,7 +390,7 @@ public final class k implements MediaEngine {
|
|||
boolean z2;
|
||||
StringBuilder P = c.d.b.a.a.P("updateVoiceConfig: ");
|
||||
P.append(this.$voiceConfig);
|
||||
AnimatableValueParser.F1("MediaEngineLegacy", P.toString());
|
||||
c.c.a.a0.d.c1("MediaEngineLegacy", P.toString());
|
||||
MediaEngine.VoiceConfig voiceConfig = this.$voiceConfig;
|
||||
k kVar = this.this$0;
|
||||
float f = voiceConfig.a;
|
||||
|
@ -410,14 +409,14 @@ public final class k implements MediaEngine {
|
|||
z2 = gVar2.f && !gVar2.d ? true : z3;
|
||||
}
|
||||
if (z2 != z3) {
|
||||
AnimatableValueParser.F1("MediaEngineLegacy", "ignoring call to setEchoCancellation(" + z3 + "), config=" + kVar2.o);
|
||||
c.c.a.a0.d.c1("MediaEngineLegacy", "ignoring call to setEchoCancellation(" + z3 + "), config=" + kVar2.o);
|
||||
}
|
||||
Discord discord2 = kVar2.f;
|
||||
if (discord2 != null) {
|
||||
discord2.setEchoCancellation(z2, false, new m(kVar2));
|
||||
}
|
||||
k kVar3 = this.this$0;
|
||||
boolean z4 = voiceConfig.f2179c;
|
||||
boolean z4 = voiceConfig.f2180c;
|
||||
Discord discord3 = kVar3.f;
|
||||
if (discord3 != null) {
|
||||
discord3.setNoiseSuppression(z4);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package c.a.q.m0.c;
|
||||
|
||||
import com.airbnb.lottie.parser.AnimatableValueParser;
|
||||
import c.c.a.a0.d;
|
||||
import com.discord.rtcconnection.mediaengine.MediaEngine;
|
||||
import com.hammerandchisel.libdiscord.Discord;
|
||||
import d0.z.d.o;
|
||||
|
@ -38,8 +38,8 @@ 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.f2178c, echoCancellationInfo.d, this.$requestEnable, this.$enabled, this.$requestMobileMode, this.$previouslyEnabled, this.$previouslyMobileMode);
|
||||
AnimatableValueParser.H1("MediaEngineLegacy", "onEchoCancellationUpdated: " + echoCancellationInfo2);
|
||||
MediaEngine.EchoCancellationInfo echoCancellationInfo2 = new MediaEngine.EchoCancellationInfo(echoCancellationInfo.a, echoCancellationInfo.b, echoCancellationInfo.f2179c, echoCancellationInfo.d, this.$requestEnable, this.$enabled, this.$requestMobileMode, this.$previouslyEnabled, this.$previouslyMobileMode);
|
||||
d.e1("MediaEngineLegacy", "onEchoCancellationUpdated: " + echoCancellationInfo2);
|
||||
this.this$0.a.p.onEchoCancellationUpdated(echoCancellationInfo2);
|
||||
}
|
||||
return Unit.a;
|
||||
|
|
|
@ -638,7 +638,7 @@ public final class a extends WebSocketListener implements DebugPrintable {
|
|||
aVar.a(1, TimeUnit.MINUTES);
|
||||
SSLSocketFactory sSLSocketFactory = this.E;
|
||||
if (sSLSocketFactory != null) {
|
||||
h.a aVar2 = f0.e0.k.h.f2831c;
|
||||
h.a aVar2 = f0.e0.k.h.f2832c;
|
||||
aVar.b(sSLSocketFactory, f0.e0.k.h.a.n());
|
||||
}
|
||||
String H = c.d.b.a.a.H(new StringBuilder(), this.C, "?v=5");
|
||||
|
|
|
@ -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.f2158c + 1;
|
||||
krispOveruseDetector.f2158c = i;
|
||||
int i = krispOveruseDetector.f2159c + 1;
|
||||
krispOveruseDetector.f2159c = i;
|
||||
if (i > 2) {
|
||||
krispOveruseDetector.d.f(KrispOveruseDetector.Status.FAILED);
|
||||
}
|
||||
} else {
|
||||
krispOveruseDetector.f2158c = 0;
|
||||
krispOveruseDetector.f2159c = 0;
|
||||
}
|
||||
}
|
||||
krispOveruseDetector.b = stats2.getOutboundRtpAudio();
|
||||
|
|
|
@ -13,6 +13,6 @@ public final class r extends RtcConnection.b {
|
|||
@Override // com.discord.rtcconnection.RtcConnection.b, com.discord.rtcconnection.RtcConnection.c
|
||||
public void onStateChange(RtcConnection.StateChange stateChange) {
|
||||
m.checkNotNullParameter(stateChange, "stateChange");
|
||||
this.i.f2164s.onNext(stateChange);
|
||||
this.i.f2165s.onNext(stateChange);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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.f2165x = uri.getHost();
|
||||
rtcConnection.f2166y = Integer.valueOf(uri.getPort());
|
||||
rtcConnection.f2166x = uri.getHost();
|
||||
rtcConnection.f2167y = Integer.valueOf(uri.getPort());
|
||||
} catch (Exception e) {
|
||||
rtcConnection.U.e(rtcConnection.k, "Failed to parse RTC endpoint", e, g0.mapOf(d0.o.to("endpoint", replace$default)));
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ public final class w extends o implements Function0<Unit> {
|
|||
rtcConnection.B = Long.valueOf(rtcConnection.V.currentTimeMillis());
|
||||
RtcConnection rtcConnection2 = this.this$0;
|
||||
rtcConnection2.D++;
|
||||
rtcConnection2.E = rtcConnection2.T.a().b0(2, TimeUnit.SECONDS).V(new t(this), new v(this));
|
||||
rtcConnection2.E = rtcConnection2.T.a().c0(2, TimeUnit.SECONDS).W(new t(this), new v(this));
|
||||
return Unit.a;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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.f2948c;
|
||||
MediaType.a aVar = MediaType.f2949c;
|
||||
RequestBody a = companion.a(joinToString$default, MediaType.a.a(ShareTarget.ENCODING_TYPE_URL_ENCODED));
|
||||
Request.a aVar2 = new Request.a();
|
||||
m.checkParameterIsNotNull(a, "body");
|
||||
|
|
|
@ -4,7 +4,7 @@ import org.webrtc.RendererCommon;
|
|||
import rx.subjects.BehaviorSubject;
|
||||
/* compiled from: RxRendererEvents.kt */
|
||||
public final class e implements RendererCommon.RendererEvents {
|
||||
public final BehaviorSubject<a> i = BehaviorSubject.j0();
|
||||
public final BehaviorSubject<a> i = BehaviorSubject.k0();
|
||||
|
||||
/* compiled from: RxRendererEvents.kt */
|
||||
public static final class a {
|
||||
|
|
|
@ -71,9 +71,9 @@ public abstract class l extends OverlayDialog implements AppComponent {
|
|||
public l(Context context) {
|
||||
super(context);
|
||||
m.checkNotNullParameter(context, "context");
|
||||
PublishSubject j02 = PublishSubject.j0();
|
||||
m.checkNotNullExpressionValue(j02, "PublishSubject.create()");
|
||||
this.w = j02;
|
||||
PublishSubject k0 = PublishSubject.k0();
|
||||
m.checkNotNullExpressionValue(k0, "PublishSubject.create()");
|
||||
this.w = k0;
|
||||
setOnClickListener(new k(this));
|
||||
}
|
||||
|
||||
|
|
|
@ -21,6 +21,6 @@ public final class a implements View.OnClickListener {
|
|||
if (!(googlePlayInAppSku == null || (function1 = giftSelectView.j) == null)) {
|
||||
function1.invoke(googlePlayInAppSku);
|
||||
}
|
||||
giftSelectView.i.f1800c.setOnClickListener(null);
|
||||
giftSelectView.i.f1801c.setOnClickListener(null);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package c.a.y;
|
||||
|
||||
import com.airbnb.lottie.parser.AnimatableValueParser;
|
||||
import com.discord.api.channel.Channel;
|
||||
import com.discord.api.channel.ChannelUtils;
|
||||
import com.discord.api.voice.state.VoiceState;
|
||||
import com.discord.stores.StoreVoiceParticipants;
|
||||
import j0.k.b;
|
||||
|
@ -20,7 +20,7 @@ public final class o<T, R> implements b<Map<Long, ? extends StoreVoiceParticipan
|
|||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
||||
/* JADX WARNING: Code restructure failed: missing block: B:12:0x0038, code lost:
|
||||
if ((r2 != null ? com.airbnb.lottie.parser.AnimatableValueParser.H0(r2) : null) == com.discord.api.voice.state.StageRequestToSpeakState.ON_STAGE) goto L_0x003a;
|
||||
if ((r2 != null ? c.c.a.a0.d.A0(r2) : null) == com.discord.api.voice.state.StageRequestToSpeakState.ON_STAGE) goto L_0x003a;
|
||||
*/
|
||||
/* JADX WARNING: Removed duplicated region for block: B:19:0x003f A[SYNTHETIC] */
|
||||
/* JADX WARNING: Removed duplicated region for block: B:21:0x000f A[SYNTHETIC] */
|
||||
|
@ -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 (AnimatableValueParser.y1(this.i)) {
|
||||
if (ChannelUtils.x(this.i)) {
|
||||
VoiceState voiceState = t2.getVoiceState();
|
||||
}
|
||||
z2 = true;
|
||||
|
|
|
@ -90,9 +90,9 @@ public final class w extends OverlayBubbleWrap implements AppComponent {
|
|||
s0 s0Var = new s0(simpleDraweeView, simpleDraweeView);
|
||||
m.checkNotNullExpressionValue(s0Var, "OverlayVoiceBubbleBindin…rom(context), this, true)");
|
||||
this.f248x = s0Var;
|
||||
PublishSubject j02 = PublishSubject.j0();
|
||||
m.checkNotNullExpressionValue(j02, "PublishSubject.create()");
|
||||
this.f249y = j02;
|
||||
PublishSubject k0 = PublishSubject.k0();
|
||||
m.checkNotNullExpressionValue(k0, "PublishSubject.create()");
|
||||
this.f249y = k0;
|
||||
}
|
||||
|
||||
@Override // com.discord.overlay.views.OverlayBubbleWrap
|
||||
|
@ -130,9 +130,9 @@ public final class w extends OverlayBubbleWrap implements AppComponent {
|
|||
@Override // android.view.View, android.view.ViewGroup
|
||||
public void onAttachedToWindow() {
|
||||
super.onAttachedToWindow();
|
||||
Observable<R> X = StoreStream.Companion.getVoiceChannelSelected().observeSelectedVoiceChannelId().X(a.i);
|
||||
m.checkNotNullExpressionValue(X, "StoreStream\n .get…d()\n }\n }");
|
||||
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(ObservableExtensionsKt.computationLatest(X), this, null, 2, null), w.class, getContext(), (Function1) null, (Function1) null, (Function0) null, (Function0) null, new b(this), 60, (Object) null);
|
||||
Observable<R> Y = StoreStream.Companion.getVoiceChannelSelected().observeSelectedVoiceChannelId().Y(a.i);
|
||||
m.checkNotNullExpressionValue(Y, "StoreStream\n .get…d()\n }\n }");
|
||||
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(ObservableExtensionsKt.computationLatest(Y), this, null, 2, null), w.class, getContext(), (Function1) null, (Function1) null, (Function0) null, (Function0) null, new b(this), 60, (Object) null);
|
||||
}
|
||||
|
||||
@Override // com.discord.overlay.views.OverlayBubbleWrap, android.view.View
|
||||
|
|
|
@ -11,9 +11,9 @@ import android.widget.EditText;
|
|||
import android.widget.TextView;
|
||||
import androidx.recyclerview.widget.RecyclerView;
|
||||
import c.a.i.t0;
|
||||
import com.airbnb.lottie.parser.AnimatableValueParser;
|
||||
import com.discord.R;
|
||||
import com.discord.api.channel.Channel;
|
||||
import com.discord.api.channel.ChannelUtils;
|
||||
import com.discord.app.AppComponent;
|
||||
import com.discord.utilities.mg_recycler.MGRecyclerAdapter;
|
||||
import com.discord.utilities.rx.ObservableExtensionsKt;
|
||||
|
@ -33,7 +33,7 @@ import rx.Observable;
|
|||
import rx.subjects.BehaviorSubject;
|
||||
/* compiled from: OverlayVoiceSelectorBubbleDialog.kt */
|
||||
public final class z extends l implements AppComponent {
|
||||
public final BehaviorSubject<String> A = BehaviorSubject.k0("");
|
||||
public final BehaviorSubject<String> A = BehaviorSubject.l0("");
|
||||
public String B;
|
||||
|
||||
/* renamed from: y reason: collision with root package name */
|
||||
|
@ -122,7 +122,7 @@ public final class z extends l implements AppComponent {
|
|||
ArrayList arrayList = new ArrayList();
|
||||
for (Object obj : data) {
|
||||
Channel channel = ((WidgetGlobalSearchModel.ItemDataPayload) obj).getChannel();
|
||||
if (channel != null && AnimatableValueParser.E1(channel)) {
|
||||
if (channel != null && ChannelUtils.C(channel)) {
|
||||
arrayList.add(obj);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ public final /* synthetic */ class e implements b {
|
|||
if (channel == null) {
|
||||
return new j(null);
|
||||
}
|
||||
Observable h = Observable.h(StoreStream.getUsers().observeMe(), StoreStream.getGuilds().observeGuild(j), StoreStream.getPermissions().observePermissionsForChannel(j2), observable.o(300, TimeUnit.MILLISECONDS).X(new g(j, channel)).r(), new j(channel));
|
||||
Observable h = Observable.h(StoreStream.getUsers().observeMe(), StoreStream.getGuilds().observeGuild(j), StoreStream.getPermissions().observePermissionsForChannel(j2), observable.o(300, TimeUnit.MILLISECONDS).Y(new g(j, channel)).r(), new j(channel));
|
||||
m.checkNotNullExpressionValue(h, "observable");
|
||||
return ObservableExtensionsKt.computationBuffered(h).r();
|
||||
}
|
||||
|
|
|
@ -25,8 +25,8 @@ public final /* synthetic */ class h implements b {
|
|||
public final Object call(Object obj) {
|
||||
List list = this.i;
|
||||
Map map = this.j;
|
||||
Observable g02 = Observable.g0(new r(Observable.A(((Map) obj).values()).x(new l(list)).x(new m(map)).x(new k(this.k)).i, new o2(new f(map), 10)));
|
||||
Observable h02 = Observable.h0(new r(Observable.A(((Map) obj).values()).x(new l(list)).x(new m(map)).x(new k(this.k)).i, new o2(new f(map), 10)));
|
||||
l lVar = l.INSTANCE;
|
||||
return (g02 instanceof j ? Observable.g0(new n.b(((j) g02).k, lVar)) : Observable.g0(new n(g02, lVar, j0.l.e.h.i))).F(new d(map)).e0();
|
||||
return (h02 instanceof j ? Observable.h0(new n.b(((j) h02).k, lVar)) : Observable.h0(new n(h02, lVar, j0.l.e.h.i))).F(new d(map)).f0();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,6 +17,6 @@ public final /* synthetic */ class i implements b {
|
|||
@Override // j0.k.b
|
||||
public final Object call(Object obj) {
|
||||
Map map = (Map) obj;
|
||||
return StoreStream.getUsers().observeUsers(map.keySet()).X(new h(this.i, map, this.j));
|
||||
return StoreStream.getUsers().observeUsers(map.keySet()).Y(new h(this.i, map, this.j));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,6 +16,6 @@ public final /* synthetic */ class q implements b {
|
|||
@Override // j0.k.b
|
||||
public final Object call(Object obj) {
|
||||
Channel channel = (Channel) obj;
|
||||
return channel == null ? new j(null) : Observable.h(StoreStream.getGuilds().observeGuild(channel.f()), StoreStream.getUsers().observeMe(), StoreStream.getPermissions().observePermissionsForChannel(this.i), StoreStream.getGuilds().observeSortedRoles(channel.f()).X(new s(channel)), new r(channel));
|
||||
return channel == null ? new j(null) : Observable.h(StoreStream.getGuilds().observeGuild(channel.f()), StoreStream.getUsers().observeMe(), StoreStream.getPermissions().observePermissionsForChannel(this.i), StoreStream.getGuilds().observeSortedRoles(channel.f()).Y(new s(channel)), new r(channel));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,6 +15,6 @@ public final /* synthetic */ class s implements b {
|
|||
|
||||
@Override // j0.k.b
|
||||
public final Object call(Object obj) {
|
||||
return Observable.g0(new q((List) obj)).x(new t(this.i)).F(v.i).e0();
|
||||
return Observable.h0(new q((List) obj)).x(new t(this.i)).F(v.i).f0();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -58,6 +58,6 @@ public final class l extends o implements Function0<Unit> {
|
|||
@Override // kotlin.jvm.functions.Function0
|
||||
/* renamed from: invoke */
|
||||
public final void mo1invoke() {
|
||||
this.this$0.u = Observable.c0(300, TimeUnit.MILLISECONDS).I(j0.j.b.a.a()).U(new a(this));
|
||||
this.this$0.u = Observable.d0(300, TimeUnit.MILLISECONDS).I(j0.j.b.a.a()).V(new a(this));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import android.graphics.PointF;
|
||||
import c.c.a.a0.h0.c;
|
||||
import c.c.a.a0.i0.c;
|
||||
import c.c.a.b0.g;
|
||||
import c.c.a.d;
|
||||
import c.c.a.w.c.h;
|
||||
|
@ -9,7 +9,6 @@ import c.c.a.y.k.b;
|
|||
import c.c.a.y.k.e;
|
||||
import c.c.a.y.k.i;
|
||||
import c.c.a.y.k.m;
|
||||
import com.airbnb.lottie.parser.AnimatableValueParser;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
/* compiled from: AnimatablePathValueParser */
|
||||
|
@ -21,12 +20,12 @@ public class a {
|
|||
if (cVar.w() == c.b.BEGIN_ARRAY) {
|
||||
cVar.a();
|
||||
while (cVar.e()) {
|
||||
arrayList.add(new h(dVar, p.a(cVar, dVar, g.c(), u.a, cVar.w() == c.b.BEGIN_OBJECT)));
|
||||
arrayList.add(new h(dVar, q.a(cVar, dVar, g.c(), v.a, cVar.w() == c.b.BEGIN_OBJECT)));
|
||||
}
|
||||
cVar.c();
|
||||
q.b(arrayList);
|
||||
r.b(arrayList);
|
||||
} else {
|
||||
arrayList.add(new c.c.a.c0.a(o.b(cVar, g.c())));
|
||||
arrayList.add(new c.c.a.c0.a(p.b(cVar, g.c())));
|
||||
}
|
||||
return new e(arrayList);
|
||||
}
|
||||
|
@ -48,12 +47,12 @@ public class a {
|
|||
} else if (cVar.w() == bVar) {
|
||||
cVar.C();
|
||||
} else {
|
||||
bVar3 = AnimatableValueParser.T1(cVar, dVar);
|
||||
bVar3 = d.q1(cVar, dVar);
|
||||
}
|
||||
} else if (cVar.w() == bVar) {
|
||||
cVar.C();
|
||||
} else {
|
||||
bVar2 = AnimatableValueParser.T1(cVar, dVar);
|
||||
bVar2 = d.q1(cVar, dVar);
|
||||
}
|
||||
z2 = true;
|
||||
} else {
|
||||
|
|
|
@ -1,68 +1,27 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import android.graphics.PointF;
|
||||
import c.c.a.a0.h0.c;
|
||||
import c.c.a.b0.f;
|
||||
import c.c.a.y.a;
|
||||
import c.c.a.y.l.k;
|
||||
import c.c.a.a0.i0.c;
|
||||
import c.c.a.c0.d;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
/* compiled from: ShapeDataParser */
|
||||
public class a0 implements g0<k> {
|
||||
/* compiled from: ScaleXYParser */
|
||||
public class a0 implements h0<d> {
|
||||
public static final a0 a = new a0();
|
||||
public static final c.a b = c.a.a("c", "v", "i", "o");
|
||||
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
@Override // c.c.a.a0.g0
|
||||
public k a(c cVar, float f) throws IOException {
|
||||
if (cVar.w() == c.b.BEGIN_ARRAY) {
|
||||
@Override // c.c.a.a0.h0
|
||||
public d a(c cVar, float f) throws IOException {
|
||||
boolean z2 = cVar.w() == c.b.BEGIN_ARRAY;
|
||||
if (z2) {
|
||||
cVar.a();
|
||||
}
|
||||
cVar.b();
|
||||
List<PointF> list = null;
|
||||
List<PointF> list2 = null;
|
||||
List<PointF> list3 = null;
|
||||
boolean z2 = false;
|
||||
float p = (float) cVar.p();
|
||||
float p2 = (float) cVar.p();
|
||||
while (cVar.e()) {
|
||||
int z3 = cVar.z(b);
|
||||
if (z3 == 0) {
|
||||
z2 = cVar.f();
|
||||
} else if (z3 == 1) {
|
||||
list = o.c(cVar, f);
|
||||
} else if (z3 == 2) {
|
||||
list2 = o.c(cVar, f);
|
||||
} else if (z3 != 3) {
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
} else {
|
||||
list3 = o.c(cVar, f);
|
||||
}
|
||||
cVar.C();
|
||||
}
|
||||
cVar.d();
|
||||
if (cVar.w() == c.b.END_ARRAY) {
|
||||
if (z2) {
|
||||
cVar.c();
|
||||
}
|
||||
if (list == null || list2 == null || list3 == null) {
|
||||
throw new IllegalArgumentException("Shape data was missing information.");
|
||||
} else if (list.isEmpty()) {
|
||||
return new k(new PointF(), false, Collections.emptyList());
|
||||
} else {
|
||||
int size = list.size();
|
||||
PointF pointF = list.get(0);
|
||||
ArrayList arrayList = new ArrayList(size);
|
||||
for (int i = 1; i < size; i++) {
|
||||
PointF pointF2 = list.get(i);
|
||||
int i2 = i - 1;
|
||||
arrayList.add(new a(f.a(list.get(i2), list3.get(i2)), f.a(pointF2, list2.get(i)), pointF2));
|
||||
}
|
||||
if (z2) {
|
||||
PointF pointF3 = list.get(0);
|
||||
int i3 = size - 1;
|
||||
arrayList.add(new a(f.a(list.get(i3), list3.get(i3)), f.a(pointF3, list2.get(0)), pointF3));
|
||||
}
|
||||
return new k(pointF, z2, arrayList);
|
||||
}
|
||||
return new d((p / 100.0f) * f, (p2 / 100.0f) * f);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import c.c.a.a0.h0.c;
|
||||
import c.c.a.a0.i0.c;
|
||||
/* compiled from: AnimatableTextPropertiesParser */
|
||||
public class b {
|
||||
public static c.a a = c.a.a("a");
|
||||
|
|
|
@ -1,7 +1,68 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import c.c.a.a0.h0.c;
|
||||
/* compiled from: ShapeFillParser */
|
||||
public class b0 {
|
||||
public static final c.a a = c.a.a("nm", "c", "o", "fillEnabled", "r", "hd");
|
||||
import android.graphics.PointF;
|
||||
import c.c.a.a0.i0.c;
|
||||
import c.c.a.b0.f;
|
||||
import c.c.a.y.a;
|
||||
import c.c.a.y.l.k;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
/* compiled from: ShapeDataParser */
|
||||
public class b0 implements h0<k> {
|
||||
public static final b0 a = new b0();
|
||||
public static final c.a b = c.a.a("c", "v", "i", "o");
|
||||
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
@Override // c.c.a.a0.h0
|
||||
public k a(c cVar, float f) throws IOException {
|
||||
if (cVar.w() == c.b.BEGIN_ARRAY) {
|
||||
cVar.a();
|
||||
}
|
||||
cVar.b();
|
||||
List<PointF> list = null;
|
||||
List<PointF> list2 = null;
|
||||
List<PointF> list3 = null;
|
||||
boolean z2 = false;
|
||||
while (cVar.e()) {
|
||||
int z3 = cVar.z(b);
|
||||
if (z3 == 0) {
|
||||
z2 = cVar.f();
|
||||
} else if (z3 == 1) {
|
||||
list = p.c(cVar, f);
|
||||
} else if (z3 == 2) {
|
||||
list2 = p.c(cVar, f);
|
||||
} else if (z3 != 3) {
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
} else {
|
||||
list3 = p.c(cVar, f);
|
||||
}
|
||||
}
|
||||
cVar.d();
|
||||
if (cVar.w() == c.b.END_ARRAY) {
|
||||
cVar.c();
|
||||
}
|
||||
if (list == null || list2 == null || list3 == null) {
|
||||
throw new IllegalArgumentException("Shape data was missing information.");
|
||||
} else if (list.isEmpty()) {
|
||||
return new k(new PointF(), false, Collections.emptyList());
|
||||
} else {
|
||||
int size = list.size();
|
||||
PointF pointF = list.get(0);
|
||||
ArrayList arrayList = new ArrayList(size);
|
||||
for (int i = 1; i < size; i++) {
|
||||
PointF pointF2 = list.get(i);
|
||||
int i2 = i - 1;
|
||||
arrayList.add(new a(f.a(list.get(i2), list3.get(i2)), f.a(pointF2, list2.get(i)), pointF2));
|
||||
}
|
||||
if (z2) {
|
||||
PointF pointF3 = list.get(0);
|
||||
int i3 = size - 1;
|
||||
arrayList.add(new a(f.a(list.get(i3), list3.get(i3)), f.a(pointF3, list2.get(0)), pointF3));
|
||||
}
|
||||
return new k(pointF, z2, arrayList);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import android.graphics.PointF;
|
||||
import c.c.a.a0.h0.c;
|
||||
import c.c.a.a0.i0.c;
|
||||
import c.c.a.c0.a;
|
||||
import c.c.a.d;
|
||||
import c.c.a.y.k.b;
|
||||
|
@ -10,7 +10,6 @@ import c.c.a.y.k.g;
|
|||
import c.c.a.y.k.i;
|
||||
import c.c.a.y.k.l;
|
||||
import c.c.a.y.k.m;
|
||||
import com.airbnb.lottie.parser.AnimatableValueParser;
|
||||
import java.io.IOException;
|
||||
/* compiled from: AnimatableTransformParser */
|
||||
public class c {
|
||||
|
@ -32,7 +31,7 @@ public class c {
|
|||
/* JADX WARNING: Removed duplicated region for block: B:85:0x01cb */
|
||||
/* JADX WARNING: Removed duplicated region for block: B:94:0x01f0 */
|
||||
/* JADX WARNING: Removed duplicated region for block: B:96:0x01f3 */
|
||||
public static l a(c.c.a.a0.h0.c cVar, d dVar) throws IOException {
|
||||
public static l a(c.c.a.a0.i0.c cVar, d dVar) throws IOException {
|
||||
b bVar;
|
||||
g gVar;
|
||||
boolean z2;
|
||||
|
@ -41,7 +40,7 @@ public class c {
|
|||
g gVar2;
|
||||
b bVar3;
|
||||
m<PointF, PointF> mVar;
|
||||
b U1;
|
||||
b r1;
|
||||
b bVar4;
|
||||
boolean z4 = false;
|
||||
boolean z5 = cVar.w() == c.b.BEGIN_OBJECT;
|
||||
|
@ -83,20 +82,20 @@ public class c {
|
|||
case 2:
|
||||
bVar3 = bVar6;
|
||||
mVar = mVar2;
|
||||
gVar3 = new g(AnimatableValueParser.R1(cVar, dVar, z.a));
|
||||
gVar3 = new g(d.o1(cVar, dVar, a0.a));
|
||||
mVar2 = mVar;
|
||||
break;
|
||||
case 3:
|
||||
dVar.a("Lottie doesn't support 3D layers.");
|
||||
U1 = AnimatableValueParser.U1(cVar, dVar, z4);
|
||||
if (!U1.a.isEmpty()) {
|
||||
bVar4 = U1;
|
||||
r1 = d.r1(cVar, dVar, z4);
|
||||
if (!r1.a.isEmpty()) {
|
||||
bVar4 = r1;
|
||||
gVar2 = gVar3;
|
||||
bVar3 = bVar6;
|
||||
mVar = mVar2;
|
||||
U1.a.add(new a(dVar, Float.valueOf(0.0f), Float.valueOf(0.0f), null, 0.0f, Float.valueOf(dVar.l)));
|
||||
r1.a.add(new a(dVar, Float.valueOf(0.0f), Float.valueOf(0.0f), null, 0.0f, Float.valueOf(dVar.l)));
|
||||
} else {
|
||||
bVar4 = U1;
|
||||
bVar4 = r1;
|
||||
gVar2 = gVar3;
|
||||
bVar3 = bVar6;
|
||||
mVar = mVar2;
|
||||
|
@ -109,27 +108,27 @@ public class c {
|
|||
mVar2 = mVar;
|
||||
break;
|
||||
case 4:
|
||||
U1 = AnimatableValueParser.U1(cVar, dVar, z4);
|
||||
if (!U1.a.isEmpty()) {
|
||||
r1 = d.r1(cVar, dVar, z4);
|
||||
if (!r1.a.isEmpty()) {
|
||||
}
|
||||
bVar5 = bVar4;
|
||||
gVar3 = gVar2;
|
||||
mVar2 = mVar;
|
||||
break;
|
||||
case 5:
|
||||
dVar2 = AnimatableValueParser.V1(cVar, dVar);
|
||||
dVar2 = d.s1(cVar, dVar);
|
||||
continue;
|
||||
case 6:
|
||||
bVar8 = AnimatableValueParser.U1(cVar, dVar, z4);
|
||||
bVar8 = d.r1(cVar, dVar, z4);
|
||||
continue;
|
||||
case 7:
|
||||
bVar9 = AnimatableValueParser.U1(cVar, dVar, z4);
|
||||
bVar9 = d.r1(cVar, dVar, z4);
|
||||
continue;
|
||||
case 8:
|
||||
bVar7 = AnimatableValueParser.U1(cVar, dVar, z4);
|
||||
bVar7 = d.r1(cVar, dVar, z4);
|
||||
continue;
|
||||
case 9:
|
||||
bVar6 = AnimatableValueParser.U1(cVar, dVar, z4);
|
||||
bVar6 = d.r1(cVar, dVar, z4);
|
||||
continue;
|
||||
default:
|
||||
bVar3 = bVar6;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import c.c.a.a0.h0.c;
|
||||
/* compiled from: ShapeGroupParser */
|
||||
import c.c.a.a0.i0.c;
|
||||
/* compiled from: ShapeFillParser */
|
||||
public class c0 {
|
||||
public static c.a a = c.a.a("nm", "hd", "it");
|
||||
public static final c.a a = c.a.a("nm", "c", "o", "fillEnabled", "r", "hd");
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,7 +1,7 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import c.c.a.a0.h0.c;
|
||||
/* compiled from: ShapePathParser */
|
||||
import c.c.a.a0.i0.c;
|
||||
/* compiled from: ShapeGroupParser */
|
||||
public class d0 {
|
||||
public static c.a a = c.a.a("nm", "ind", "ks", "hd");
|
||||
public static c.a a = c.a.a("nm", "hd", "it");
|
||||
}
|
||||
|
|
|
@ -1,34 +1,7 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import android.graphics.Color;
|
||||
import c.c.a.a0.h0.c;
|
||||
import java.io.IOException;
|
||||
/* compiled from: ColorParser */
|
||||
public class e implements g0<Integer> {
|
||||
public static final e a = new e();
|
||||
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
@Override // c.c.a.a0.g0
|
||||
public Integer a(c cVar, float f) throws IOException {
|
||||
boolean z2 = cVar.w() == c.b.BEGIN_ARRAY;
|
||||
if (z2) {
|
||||
cVar.a();
|
||||
}
|
||||
double p = cVar.p();
|
||||
double p2 = cVar.p();
|
||||
double p3 = cVar.p();
|
||||
double p4 = cVar.p();
|
||||
if (z2) {
|
||||
cVar.c();
|
||||
}
|
||||
if (p <= 1.0d && p2 <= 1.0d && p3 <= 1.0d) {
|
||||
p *= 255.0d;
|
||||
p2 *= 255.0d;
|
||||
p3 *= 255.0d;
|
||||
if (p4 <= 1.0d) {
|
||||
p4 *= 255.0d;
|
||||
}
|
||||
}
|
||||
return Integer.valueOf(Color.argb((int) p4, (int) p, (int) p2, (int) p3));
|
||||
}
|
||||
import c.c.a.a0.i0.c;
|
||||
/* compiled from: CircleShapeParser */
|
||||
public class e {
|
||||
public static c.a a = c.a.a("nm", "p", "s", "hd", "d");
|
||||
}
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import c.c.a.a0.h0.c;
|
||||
/* compiled from: ShapeStrokeParser */
|
||||
import c.c.a.a0.i0.c;
|
||||
/* compiled from: ShapePathParser */
|
||||
public class e0 {
|
||||
public static c.a a = c.a.a("nm", "c", "w", "o", "lc", "lj", "ml", "hd", "d");
|
||||
public static final c.a b = c.a.a("n", "v");
|
||||
public static c.a a = c.a.a("nm", "ind", "ks", "hd");
|
||||
}
|
||||
|
|
|
@ -1,20 +1,34 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import c.c.a.a0.h0.c;
|
||||
/* compiled from: ContentModelParser */
|
||||
public class f {
|
||||
public static c.a a = c.a.a("ty", "d");
|
||||
import android.graphics.Color;
|
||||
import c.c.a.a0.i0.c;
|
||||
import java.io.IOException;
|
||||
/* compiled from: ColorParser */
|
||||
public class f implements h0<Integer> {
|
||||
public static final f a = new f();
|
||||
|
||||
/* JADX ERROR: JadxRuntimeException in pass: BlockProcessor
|
||||
jadx.core.utils.exceptions.JadxRuntimeException: CFG modification limit reached, blocks count: 649
|
||||
at jadx.core.dex.visitors.blocksmaker.BlockProcessor.processBlocksTree(BlockProcessor.java:72)
|
||||
at jadx.core.dex.visitors.blocksmaker.BlockProcessor.visit(BlockProcessor.java:46)
|
||||
*/
|
||||
@androidx.annotation.Nullable
|
||||
public static c.c.a.y.l.b a(c.c.a.a0.h0.c r29, c.c.a.d r30) throws java.io.IOException {
|
||||
/*
|
||||
// Method dump skipped, instructions count: 1882
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: c.c.a.a0.f.a(c.c.a.a0.h0.c, c.c.a.d):c.c.a.y.l.b");
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
@Override // c.c.a.a0.h0
|
||||
public Integer a(c cVar, float f) throws IOException {
|
||||
boolean z2 = cVar.w() == c.b.BEGIN_ARRAY;
|
||||
if (z2) {
|
||||
cVar.a();
|
||||
}
|
||||
double p = cVar.p();
|
||||
double p2 = cVar.p();
|
||||
double p3 = cVar.p();
|
||||
double p4 = cVar.p();
|
||||
if (z2) {
|
||||
cVar.c();
|
||||
}
|
||||
if (p <= 1.0d && p2 <= 1.0d && p3 <= 1.0d) {
|
||||
p *= 255.0d;
|
||||
p2 *= 255.0d;
|
||||
p3 *= 255.0d;
|
||||
if (p4 <= 1.0d) {
|
||||
p4 *= 255.0d;
|
||||
}
|
||||
}
|
||||
return Integer.valueOf(Color.argb((int) p4, (int) p, (int) p2, (int) p3));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import c.c.a.a0.h0.c;
|
||||
/* compiled from: ShapeTrimPathParser */
|
||||
import c.c.a.a0.i0.c;
|
||||
/* compiled from: ShapeStrokeParser */
|
||||
public class f0 {
|
||||
public static c.a a = c.a.a("s", "e", "o", "nm", "m", "hd");
|
||||
public static c.a a = c.a.a("nm", "c", "w", "o", "lc", "lj", "ml", "hd", "d");
|
||||
public static final c.a b = c.a.a("n", "v");
|
||||
}
|
||||
|
|
|
@ -1,77 +1,20 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import c.c.a.a0.h0.c;
|
||||
import c.c.a.y.b;
|
||||
import c.c.a.y.c;
|
||||
import java.io.IOException;
|
||||
/* compiled from: DocumentDataParser */
|
||||
public class g implements g0<c> {
|
||||
public static final g a = new g();
|
||||
public static final c.a b = c.a.a("t", "f", "s", "j", "tr", "lh", "ls", "fc", "sc", "sw", "of");
|
||||
import c.c.a.a0.i0.c;
|
||||
/* compiled from: ContentModelParser */
|
||||
public class g {
|
||||
public static c.a a = c.a.a("ty", "d");
|
||||
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
@Override // c.c.a.a0.g0
|
||||
public c.c.a.y.c a(c.c.a.a0.h0.c cVar, float f) throws IOException {
|
||||
cVar.b();
|
||||
String str = null;
|
||||
String str2 = null;
|
||||
float f2 = 0.0f;
|
||||
int i = 3;
|
||||
int i2 = 0;
|
||||
float f3 = 0.0f;
|
||||
float f4 = 0.0f;
|
||||
int i3 = 0;
|
||||
int i4 = 0;
|
||||
float f5 = 0.0f;
|
||||
boolean z2 = true;
|
||||
while (cVar.e()) {
|
||||
switch (cVar.z(b)) {
|
||||
case 0:
|
||||
str = cVar.t();
|
||||
break;
|
||||
case 1:
|
||||
str2 = cVar.t();
|
||||
break;
|
||||
case 2:
|
||||
f2 = (float) cVar.p();
|
||||
break;
|
||||
case 3:
|
||||
int r = cVar.r();
|
||||
if (r <= 2 && r >= 0) {
|
||||
i = b.com$airbnb$lottie$model$DocumentData$Justification$s$values()[r];
|
||||
break;
|
||||
} else {
|
||||
i = 3;
|
||||
break;
|
||||
}
|
||||
case 4:
|
||||
i2 = cVar.r();
|
||||
break;
|
||||
case 5:
|
||||
f3 = (float) cVar.p();
|
||||
break;
|
||||
case 6:
|
||||
f4 = (float) cVar.p();
|
||||
break;
|
||||
case 7:
|
||||
i3 = o.a(cVar);
|
||||
break;
|
||||
case 8:
|
||||
i4 = o.a(cVar);
|
||||
break;
|
||||
case 9:
|
||||
f5 = (float) cVar.p();
|
||||
break;
|
||||
case 10:
|
||||
z2 = cVar.f();
|
||||
break;
|
||||
default:
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
break;
|
||||
}
|
||||
}
|
||||
cVar.d();
|
||||
return new c.c.a.y.c(str, str2, f2, i, i2, f3, f4, i3, i4, f5, z2);
|
||||
/* JADX ERROR: JadxRuntimeException in pass: BlockProcessor
|
||||
jadx.core.utils.exceptions.JadxRuntimeException: CFG modification limit reached, blocks count: 649
|
||||
at jadx.core.dex.visitors.blocksmaker.BlockProcessor.processBlocksTree(BlockProcessor.java:72)
|
||||
at jadx.core.dex.visitors.blocksmaker.BlockProcessor.visit(BlockProcessor.java:46)
|
||||
*/
|
||||
@androidx.annotation.Nullable
|
||||
public static c.c.a.y.l.b a(c.c.a.a0.i0.c r29, c.c.a.d r30) throws java.io.IOException {
|
||||
/*
|
||||
// Method dump skipped, instructions count: 1882
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: c.c.a.a0.g.a(c.c.a.a0.i0.c, c.c.a.d):c.c.a.y.l.b");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import c.c.a.a0.h0.c;
|
||||
import java.io.IOException;
|
||||
/* compiled from: ValueParser */
|
||||
public interface g0<V> {
|
||||
V a(c cVar, float f) throws IOException;
|
||||
import c.c.a.a0.i0.c;
|
||||
/* compiled from: ShapeTrimPathParser */
|
||||
public class g0 {
|
||||
public static c.a a = c.a.a("s", "e", "o", "nm", "m", "hd");
|
||||
}
|
||||
|
|
|
@ -1,14 +1,77 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import c.c.a.a0.h0.c;
|
||||
import c.c.a.a0.i0.c;
|
||||
import c.c.a.y.b;
|
||||
import c.c.a.y.c;
|
||||
import java.io.IOException;
|
||||
/* compiled from: FloatParser */
|
||||
public class h implements g0<Float> {
|
||||
/* compiled from: DocumentDataParser */
|
||||
public class h implements h0<c> {
|
||||
public static final h a = new h();
|
||||
public static final c.a b = c.a.a("t", "f", "s", "j", "tr", "lh", "ls", "fc", "sc", "sw", "of");
|
||||
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
@Override // c.c.a.a0.g0
|
||||
public Float a(c cVar, float f) throws IOException {
|
||||
return Float.valueOf(o.d(cVar) * f);
|
||||
@Override // c.c.a.a0.h0
|
||||
public c.c.a.y.c a(c.c.a.a0.i0.c cVar, float f) throws IOException {
|
||||
cVar.b();
|
||||
String str = null;
|
||||
String str2 = null;
|
||||
float f2 = 0.0f;
|
||||
int i = 3;
|
||||
int i2 = 0;
|
||||
float f3 = 0.0f;
|
||||
float f4 = 0.0f;
|
||||
int i3 = 0;
|
||||
int i4 = 0;
|
||||
float f5 = 0.0f;
|
||||
boolean z2 = true;
|
||||
while (cVar.e()) {
|
||||
switch (cVar.z(b)) {
|
||||
case 0:
|
||||
str = cVar.t();
|
||||
break;
|
||||
case 1:
|
||||
str2 = cVar.t();
|
||||
break;
|
||||
case 2:
|
||||
f2 = (float) cVar.p();
|
||||
break;
|
||||
case 3:
|
||||
int r = cVar.r();
|
||||
if (r <= 2 && r >= 0) {
|
||||
i = b.com$airbnb$lottie$model$DocumentData$Justification$s$values()[r];
|
||||
break;
|
||||
} else {
|
||||
i = 3;
|
||||
break;
|
||||
}
|
||||
case 4:
|
||||
i2 = cVar.r();
|
||||
break;
|
||||
case 5:
|
||||
f3 = (float) cVar.p();
|
||||
break;
|
||||
case 6:
|
||||
f4 = (float) cVar.p();
|
||||
break;
|
||||
case 7:
|
||||
i3 = p.a(cVar);
|
||||
break;
|
||||
case 8:
|
||||
i4 = p.a(cVar);
|
||||
break;
|
||||
case 9:
|
||||
f5 = (float) cVar.p();
|
||||
break;
|
||||
case 10:
|
||||
z2 = cVar.f();
|
||||
break;
|
||||
default:
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
break;
|
||||
}
|
||||
}
|
||||
cVar.d();
|
||||
return new c.c.a.y.c(str, str2, f2, i, i2, f3, f4, i3, i4, f5, z2);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import c.c.a.a0.i0.c;
|
||||
import java.io.IOException;
|
||||
/* compiled from: ValueParser */
|
||||
public interface h0<V> {
|
||||
V a(c cVar, float f) throws IOException;
|
||||
}
|
|
@ -1,8 +1,14 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import c.c.a.a0.h0.c;
|
||||
/* compiled from: FontCharacterParser */
|
||||
public class i {
|
||||
public static final c.a a = c.a.a("ch", "size", "w", "style", "fFamily", "data");
|
||||
public static final c.a b = c.a.a("shapes");
|
||||
import c.c.a.a0.i0.c;
|
||||
import java.io.IOException;
|
||||
/* compiled from: FloatParser */
|
||||
public class i implements h0<Float> {
|
||||
public static final i a = new i();
|
||||
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
@Override // c.c.a.a0.h0
|
||||
public Float a(c cVar, float f) throws IOException {
|
||||
return Float.valueOf(p.d(cVar) * f);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package c.c.a.a0.h0;
|
||||
package c.c.a.a0.i0;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
/* compiled from: JsonDataException */
|
|
@ -1,4 +1,4 @@
|
|||
package c.c.a.a0.h0;
|
||||
package c.c.a.a0.i0;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
import java.io.IOException;
|
|
@ -1,4 +1,4 @@
|
|||
package c.c.a.a0.h0;
|
||||
package c.c.a.a0.i0;
|
||||
|
||||
import g0.e;
|
||||
import g0.o;
|
|
@ -1,7 +1,7 @@
|
|||
package c.c.a.a0.h0;
|
||||
package c.c.a.a0.i0;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
import c.c.a.a0.h0.c;
|
||||
import c.c.a.a0.i0.c;
|
||||
import c.d.b.a.a;
|
||||
import g0.e;
|
||||
import g0.g;
|
||||
|
@ -18,7 +18,7 @@ public final class d extends c {
|
|||
public static final ByteString r = ByteString.h("*/");
|
||||
|
||||
/* renamed from: s reason: collision with root package name */
|
||||
public final g f259s;
|
||||
public final g f260s;
|
||||
public final e t;
|
||||
public int u = 0;
|
||||
public long v;
|
||||
|
@ -26,16 +26,16 @@ public final class d extends c {
|
|||
@Nullable
|
||||
|
||||
/* renamed from: x reason: collision with root package name */
|
||||
public String f260x;
|
||||
public String f261x;
|
||||
|
||||
public d(g gVar) {
|
||||
Objects.requireNonNull(gVar, "source == null");
|
||||
this.f259s = gVar;
|
||||
this.f260s = gVar;
|
||||
this.t = gVar.g();
|
||||
x(6);
|
||||
}
|
||||
|
||||
@Override // c.c.a.a0.h0.c
|
||||
@Override // c.c.a.a0.i0.c
|
||||
public void B() throws IOException {
|
||||
int i = this.u;
|
||||
if (i == 0) {
|
||||
|
@ -58,7 +58,7 @@ public final class d extends c {
|
|||
this.l[this.j - 1] = "null";
|
||||
}
|
||||
|
||||
@Override // c.c.a.a0.h0.c
|
||||
@Override // c.c.a.a0.i0.c
|
||||
public void C() throws IOException {
|
||||
int i = 0;
|
||||
do {
|
||||
|
@ -307,7 +307,7 @@ public final class d extends c {
|
|||
boolean z3 = false;
|
||||
while (true) {
|
||||
int i6 = i5 + 1;
|
||||
if (!this.f259s.j((long) i6)) {
|
||||
if (!this.f260s.j((long) i6)) {
|
||||
break;
|
||||
}
|
||||
byte r4 = this.t.r((long) i5);
|
||||
|
@ -392,11 +392,11 @@ public final class d extends c {
|
|||
while (true) {
|
||||
if (i9 < length) {
|
||||
int i10 = i9 + 1;
|
||||
if (!this.f259s.j((long) i10) || ((r2 = this.t.r((long) i9)) != str2.charAt(i9) && r2 != str.charAt(i9))) {
|
||||
if (!this.f260s.j((long) i10) || ((r2 = this.t.r((long) i9)) != str2.charAt(i9) && r2 != str.charAt(i9))) {
|
||||
break;
|
||||
}
|
||||
i9 = i10;
|
||||
} else if (!this.f259s.j((long) (length + 1)) || !M(this.t.r((long) length))) {
|
||||
} else if (!this.f260s.j((long) (length + 1)) || !M(this.t.r((long) length))) {
|
||||
this.t.skip((long) length);
|
||||
this.u = i;
|
||||
}
|
||||
|
@ -472,14 +472,14 @@ public final class d extends c {
|
|||
int i = 0;
|
||||
while (true) {
|
||||
int i2 = i + 1;
|
||||
if (this.f259s.j((long) i2)) {
|
||||
if (this.f260s.j((long) i2)) {
|
||||
byte r2 = this.t.r((long) i);
|
||||
if (r2 == 10 || r2 == 32 || r2 == 13 || r2 == 9) {
|
||||
i = i2;
|
||||
} else {
|
||||
this.t.skip((long) (i2 - 1));
|
||||
if (r2 == 47) {
|
||||
if (!this.f259s.j(2)) {
|
||||
if (!this.f260s.j(2)) {
|
||||
return r2;
|
||||
}
|
||||
H();
|
||||
|
@ -502,7 +502,7 @@ public final class d extends c {
|
|||
public final String Q(ByteString byteString) throws IOException {
|
||||
StringBuilder sb = null;
|
||||
while (true) {
|
||||
long D = this.f259s.D(byteString);
|
||||
long D = this.f260s.D(byteString);
|
||||
if (D == -1) {
|
||||
G("Unterminated string");
|
||||
throw null;
|
||||
|
@ -526,14 +526,14 @@ public final class d extends c {
|
|||
}
|
||||
|
||||
public final String R() throws IOException {
|
||||
long D = this.f259s.D(p);
|
||||
long D = this.f260s.D(p);
|
||||
return D != -1 ? this.t.H(D) : this.t.G();
|
||||
}
|
||||
|
||||
public final char S() throws IOException {
|
||||
int i;
|
||||
int i2;
|
||||
if (this.f259s.j(1)) {
|
||||
if (this.f260s.j(1)) {
|
||||
byte readByte = this.t.readByte();
|
||||
if (readByte == 10 || readByte == 34 || readByte == 39 || readByte == 47 || readByte == 92) {
|
||||
return (char) readByte;
|
||||
|
@ -558,7 +558,7 @@ public final class d extends c {
|
|||
P.append((char) readByte);
|
||||
G(P.toString());
|
||||
throw null;
|
||||
} else if (this.f259s.j(4)) {
|
||||
} else if (this.f260s.j(4)) {
|
||||
char c2 = 0;
|
||||
for (int i3 = 0; i3 < 4; i3++) {
|
||||
byte r2 = this.t.r((long) i3);
|
||||
|
@ -595,7 +595,7 @@ public final class d extends c {
|
|||
|
||||
public final void T(ByteString byteString) throws IOException {
|
||||
while (true) {
|
||||
long D = this.f259s.D(byteString);
|
||||
long D = this.f260s.D(byteString);
|
||||
if (D == -1) {
|
||||
G("Unterminated string");
|
||||
throw null;
|
||||
|
@ -610,7 +610,7 @@ public final class d extends c {
|
|||
}
|
||||
|
||||
public final void U() throws IOException {
|
||||
long D = this.f259s.D(p);
|
||||
long D = this.f260s.D(p);
|
||||
e eVar = this.t;
|
||||
if (D == -1) {
|
||||
D = eVar.j;
|
||||
|
@ -618,7 +618,7 @@ public final class d extends c {
|
|||
eVar.skip(D);
|
||||
}
|
||||
|
||||
@Override // c.c.a.a0.h0.c
|
||||
@Override // c.c.a.a0.i0.c
|
||||
public void a() throws IOException {
|
||||
int i = this.u;
|
||||
if (i == 0) {
|
||||
|
@ -637,7 +637,7 @@ public final class d extends c {
|
|||
throw new a(P.toString());
|
||||
}
|
||||
|
||||
@Override // c.c.a.a0.h0.c
|
||||
@Override // c.c.a.a0.i0.c
|
||||
public void b() throws IOException {
|
||||
int i = this.u;
|
||||
if (i == 0) {
|
||||
|
@ -655,7 +655,7 @@ public final class d extends c {
|
|||
throw new a(P.toString());
|
||||
}
|
||||
|
||||
@Override // c.c.a.a0.h0.c
|
||||
@Override // c.c.a.a0.i0.c
|
||||
public void c() throws IOException {
|
||||
int i = this.u;
|
||||
if (i == 0) {
|
||||
|
@ -684,10 +684,10 @@ public final class d extends c {
|
|||
this.j = 1;
|
||||
e eVar = this.t;
|
||||
eVar.skip(eVar.j);
|
||||
this.f259s.close();
|
||||
this.f260s.close();
|
||||
}
|
||||
|
||||
@Override // c.c.a.a0.h0.c
|
||||
@Override // c.c.a.a0.i0.c
|
||||
public void d() throws IOException {
|
||||
int i = this.u;
|
||||
if (i == 0) {
|
||||
|
@ -710,7 +710,7 @@ public final class d extends c {
|
|||
throw new a(P.toString());
|
||||
}
|
||||
|
||||
@Override // c.c.a.a0.h0.c
|
||||
@Override // c.c.a.a0.i0.c
|
||||
public boolean e() throws IOException {
|
||||
int i = this.u;
|
||||
if (i == 0) {
|
||||
|
@ -719,7 +719,7 @@ public final class d extends c {
|
|||
return (i == 2 || i == 4 || i == 18) ? false : true;
|
||||
}
|
||||
|
||||
@Override // c.c.a.a0.h0.c
|
||||
@Override // c.c.a.a0.i0.c
|
||||
public boolean f() throws IOException {
|
||||
int i = this.u;
|
||||
if (i == 0) {
|
||||
|
@ -746,7 +746,7 @@ public final class d extends c {
|
|||
}
|
||||
}
|
||||
|
||||
@Override // c.c.a.a0.h0.c
|
||||
@Override // c.c.a.a0.i0.c
|
||||
public double p() throws IOException {
|
||||
int i = this.u;
|
||||
if (i == 0) {
|
||||
|
@ -760,13 +760,13 @@ public final class d extends c {
|
|||
return (double) this.v;
|
||||
}
|
||||
if (i == 17) {
|
||||
this.f260x = this.t.H((long) this.w);
|
||||
this.f261x = this.t.H((long) this.w);
|
||||
} else if (i == 9) {
|
||||
this.f260x = Q(o);
|
||||
this.f261x = Q(o);
|
||||
} else if (i == 8) {
|
||||
this.f260x = Q(n);
|
||||
this.f261x = Q(n);
|
||||
} else if (i == 10) {
|
||||
this.f260x = R();
|
||||
this.f261x = R();
|
||||
} else if (i != 11) {
|
||||
StringBuilder P = a.P("Expected a double but was ");
|
||||
P.append(w());
|
||||
|
@ -776,11 +776,11 @@ public final class d extends c {
|
|||
}
|
||||
this.u = 11;
|
||||
try {
|
||||
double parseDouble = Double.parseDouble(this.f260x);
|
||||
double parseDouble = Double.parseDouble(this.f261x);
|
||||
if (Double.isNaN(parseDouble) || Double.isInfinite(parseDouble)) {
|
||||
throw new b("JSON forbids NaN and infinities: " + parseDouble + " at path " + getPath());
|
||||
}
|
||||
this.f260x = null;
|
||||
this.f261x = null;
|
||||
this.u = 0;
|
||||
int[] iArr2 = this.m;
|
||||
int i3 = this.j - 1;
|
||||
|
@ -788,14 +788,14 @@ public final class d extends c {
|
|||
return parseDouble;
|
||||
} catch (NumberFormatException unused) {
|
||||
StringBuilder P2 = a.P("Expected a double but was ");
|
||||
P2.append(this.f260x);
|
||||
P2.append(this.f261x);
|
||||
P2.append(" at path ");
|
||||
P2.append(getPath());
|
||||
throw new a(P2.toString());
|
||||
}
|
||||
}
|
||||
|
||||
@Override // c.c.a.a0.h0.c
|
||||
@Override // c.c.a.a0.i0.c
|
||||
public int r() throws IOException {
|
||||
int i = this.u;
|
||||
if (i == 0) {
|
||||
|
@ -818,10 +818,10 @@ public final class d extends c {
|
|||
throw new a(P.toString());
|
||||
}
|
||||
if (i == 17) {
|
||||
this.f260x = this.t.H((long) this.w);
|
||||
this.f261x = this.t.H((long) this.w);
|
||||
} else if (i == 9 || i == 8) {
|
||||
String Q = i == 9 ? Q(o) : Q(n);
|
||||
this.f260x = Q;
|
||||
this.f261x = Q;
|
||||
try {
|
||||
int parseInt = Integer.parseInt(Q);
|
||||
this.u = 0;
|
||||
|
@ -840,10 +840,10 @@ public final class d extends c {
|
|||
}
|
||||
this.u = 11;
|
||||
try {
|
||||
double parseDouble = Double.parseDouble(this.f260x);
|
||||
double parseDouble = Double.parseDouble(this.f261x);
|
||||
int i5 = (int) parseDouble;
|
||||
if (((double) i5) == parseDouble) {
|
||||
this.f260x = null;
|
||||
this.f261x = null;
|
||||
this.u = 0;
|
||||
int[] iArr3 = this.m;
|
||||
int i6 = this.j - 1;
|
||||
|
@ -851,20 +851,20 @@ public final class d extends c {
|
|||
return i5;
|
||||
}
|
||||
StringBuilder P3 = a.P("Expected an int but was ");
|
||||
P3.append(this.f260x);
|
||||
P3.append(this.f261x);
|
||||
P3.append(" at path ");
|
||||
P3.append(getPath());
|
||||
throw new a(P3.toString());
|
||||
} catch (NumberFormatException unused2) {
|
||||
StringBuilder P4 = a.P("Expected an int but was ");
|
||||
P4.append(this.f260x);
|
||||
P4.append(this.f261x);
|
||||
P4.append(" at path ");
|
||||
P4.append(getPath());
|
||||
throw new a(P4.toString());
|
||||
}
|
||||
}
|
||||
|
||||
@Override // c.c.a.a0.h0.c
|
||||
@Override // c.c.a.a0.i0.c
|
||||
public String s() throws IOException {
|
||||
String str;
|
||||
int i = this.u;
|
||||
|
@ -878,7 +878,7 @@ public final class d extends c {
|
|||
} else if (i == 12) {
|
||||
str = Q(n);
|
||||
} else if (i == 15) {
|
||||
str = this.f260x;
|
||||
str = this.f261x;
|
||||
} else {
|
||||
StringBuilder P = a.P("Expected a name but was ");
|
||||
P.append(w());
|
||||
|
@ -891,7 +891,7 @@ public final class d extends c {
|
|||
return str;
|
||||
}
|
||||
|
||||
@Override // c.c.a.a0.h0.c
|
||||
@Override // c.c.a.a0.i0.c
|
||||
public String t() throws IOException {
|
||||
String str;
|
||||
int i = this.u;
|
||||
|
@ -905,8 +905,8 @@ public final class d extends c {
|
|||
} else if (i == 8) {
|
||||
str = Q(n);
|
||||
} else if (i == 11) {
|
||||
str = this.f260x;
|
||||
this.f260x = null;
|
||||
str = this.f261x;
|
||||
this.f261x = null;
|
||||
} else if (i == 16) {
|
||||
str = Long.toString(this.v);
|
||||
} else if (i == 17) {
|
||||
|
@ -928,12 +928,12 @@ public final class d extends c {
|
|||
@Override // java.lang.Object
|
||||
public String toString() {
|
||||
StringBuilder P = a.P("JsonReader(");
|
||||
P.append(this.f259s);
|
||||
P.append(this.f260s);
|
||||
P.append(")");
|
||||
return P.toString();
|
||||
}
|
||||
|
||||
@Override // c.c.a.a0.h0.c
|
||||
@Override // c.c.a.a0.i0.c
|
||||
public c.b w() throws IOException {
|
||||
int i = this.u;
|
||||
if (i == 0) {
|
||||
|
@ -973,7 +973,7 @@ public final class d extends c {
|
|||
}
|
||||
}
|
||||
|
||||
@Override // c.c.a.a0.h0.c
|
||||
@Override // c.c.a.a0.i0.c
|
||||
public int z(c.a aVar) throws IOException {
|
||||
int i = this.u;
|
||||
if (i == 0) {
|
||||
|
@ -983,9 +983,9 @@ public final class d extends c {
|
|||
return -1;
|
||||
}
|
||||
if (i == 15) {
|
||||
return K(this.f260x, aVar);
|
||||
return K(this.f261x, aVar);
|
||||
}
|
||||
int u0 = this.f259s.u0(aVar.b);
|
||||
int u0 = this.f260s.u0(aVar.b);
|
||||
if (u0 != -1) {
|
||||
this.u = 0;
|
||||
this.l[this.j - 1] = aVar.a[u0];
|
||||
|
@ -996,7 +996,7 @@ public final class d extends c {
|
|||
int K = K(s2, aVar);
|
||||
if (K == -1) {
|
||||
this.u = 15;
|
||||
this.f260x = s2;
|
||||
this.f261x = s2;
|
||||
this.l[this.j - 1] = str;
|
||||
}
|
||||
return K;
|
|
@ -1,7 +1,8 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import c.c.a.a0.h0.c;
|
||||
/* compiled from: FontParser */
|
||||
import c.c.a.a0.i0.c;
|
||||
/* compiled from: FontCharacterParser */
|
||||
public class j {
|
||||
public static final c.a a = c.a.a("fFamily", "fName", "fStyle", "ascent");
|
||||
public static final c.a a = c.a.a("ch", "size", "w", "style", "fFamily", "data");
|
||||
public static final c.a b = c.a.a("shapes");
|
||||
}
|
||||
|
|
|
@ -1,109 +1,7 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import android.graphics.Color;
|
||||
import android.graphics.PointF;
|
||||
import c.c.a.a0.h0.c;
|
||||
import c.c.a.b0.f;
|
||||
import c.c.a.y.l.c;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
/* compiled from: GradientColorParser */
|
||||
public class k implements g0<c> {
|
||||
public int a;
|
||||
|
||||
public k(int i) {
|
||||
this.a = i;
|
||||
}
|
||||
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
@Override // c.c.a.a0.g0
|
||||
public c a(c.c.a.a0.h0.c cVar, float f) throws IOException {
|
||||
int i;
|
||||
double d;
|
||||
ArrayList arrayList = new ArrayList();
|
||||
int i2 = 0;
|
||||
boolean z2 = cVar.w() == c.b.BEGIN_ARRAY;
|
||||
if (z2) {
|
||||
cVar.a();
|
||||
}
|
||||
while (cVar.e()) {
|
||||
arrayList.add(Float.valueOf((float) cVar.p()));
|
||||
}
|
||||
if (z2) {
|
||||
cVar.c();
|
||||
}
|
||||
if (this.a == -1) {
|
||||
this.a = arrayList.size() / 4;
|
||||
}
|
||||
int i3 = this.a;
|
||||
float[] fArr = new float[i3];
|
||||
int[] iArr = new int[i3];
|
||||
int i4 = 0;
|
||||
int i5 = 0;
|
||||
int i6 = 0;
|
||||
while (true) {
|
||||
i = this.a * 4;
|
||||
if (i4 >= i) {
|
||||
break;
|
||||
}
|
||||
int i7 = i4 / 4;
|
||||
double floatValue = (double) ((Float) arrayList.get(i4)).floatValue();
|
||||
int i8 = i4 % 4;
|
||||
if (i8 == 0) {
|
||||
fArr[i7] = (float) floatValue;
|
||||
} else if (i8 == 1) {
|
||||
i5 = (int) (floatValue * 255.0d);
|
||||
} else if (i8 == 2) {
|
||||
i6 = (int) (floatValue * 255.0d);
|
||||
} else if (i8 == 3) {
|
||||
iArr[i7] = Color.argb(255, i5, i6, (int) (floatValue * 255.0d));
|
||||
}
|
||||
i4++;
|
||||
}
|
||||
c.c.a.y.l.c cVar2 = new c.c.a.y.l.c(fArr, iArr);
|
||||
if (arrayList.size() > i) {
|
||||
int size = (arrayList.size() - i) / 2;
|
||||
double[] dArr = new double[size];
|
||||
double[] dArr2 = new double[size];
|
||||
int i9 = 0;
|
||||
while (i < arrayList.size()) {
|
||||
if (i % 2 == 0) {
|
||||
dArr[i9] = (double) ((Float) arrayList.get(i)).floatValue();
|
||||
} else {
|
||||
dArr2[i9] = (double) ((Float) arrayList.get(i)).floatValue();
|
||||
i9++;
|
||||
}
|
||||
i++;
|
||||
}
|
||||
while (true) {
|
||||
int[] iArr2 = cVar2.b;
|
||||
if (i2 >= iArr2.length) {
|
||||
break;
|
||||
}
|
||||
int i10 = iArr2[i2];
|
||||
double d2 = (double) cVar2.a[i2];
|
||||
int i11 = 1;
|
||||
while (true) {
|
||||
if (i11 >= size) {
|
||||
d = dArr2[size - 1];
|
||||
break;
|
||||
}
|
||||
int i12 = i11 - 1;
|
||||
double d3 = dArr[i12];
|
||||
double d4 = dArr[i11];
|
||||
if (dArr[i11] >= d2) {
|
||||
double d5 = dArr2[i12];
|
||||
double d6 = dArr2[i11];
|
||||
PointF pointF = f.a;
|
||||
d = ((d6 - d5) * ((d2 - d3) / (d4 - d3))) + d5;
|
||||
break;
|
||||
}
|
||||
i11++;
|
||||
}
|
||||
cVar2.b[i2] = Color.argb((int) (d * 255.0d), Color.red(i10), Color.green(i10), Color.blue(i10));
|
||||
i2++;
|
||||
}
|
||||
}
|
||||
return cVar2;
|
||||
}
|
||||
import c.c.a.a0.i0.c;
|
||||
/* compiled from: FontParser */
|
||||
public class k {
|
||||
public static final c.a a = c.a.a("fFamily", "fName", "fStyle", "ascent");
|
||||
}
|
||||
|
|
|
@ -1,8 +1,109 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import c.c.a.a0.h0.c;
|
||||
/* compiled from: GradientFillParser */
|
||||
public class l {
|
||||
public static final c.a a = c.a.a("nm", "g", "o", "t", "s", "e", "r", "hd");
|
||||
public static final c.a b = c.a.a("p", "k");
|
||||
import android.graphics.Color;
|
||||
import android.graphics.PointF;
|
||||
import c.c.a.a0.i0.c;
|
||||
import c.c.a.b0.f;
|
||||
import c.c.a.y.l.c;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
/* compiled from: GradientColorParser */
|
||||
public class l implements h0<c> {
|
||||
public int a;
|
||||
|
||||
public l(int i) {
|
||||
this.a = i;
|
||||
}
|
||||
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
@Override // c.c.a.a0.h0
|
||||
public c a(c.c.a.a0.i0.c cVar, float f) throws IOException {
|
||||
int i;
|
||||
double d;
|
||||
ArrayList arrayList = new ArrayList();
|
||||
int i2 = 0;
|
||||
boolean z2 = cVar.w() == c.b.BEGIN_ARRAY;
|
||||
if (z2) {
|
||||
cVar.a();
|
||||
}
|
||||
while (cVar.e()) {
|
||||
arrayList.add(Float.valueOf((float) cVar.p()));
|
||||
}
|
||||
if (z2) {
|
||||
cVar.c();
|
||||
}
|
||||
if (this.a == -1) {
|
||||
this.a = arrayList.size() / 4;
|
||||
}
|
||||
int i3 = this.a;
|
||||
float[] fArr = new float[i3];
|
||||
int[] iArr = new int[i3];
|
||||
int i4 = 0;
|
||||
int i5 = 0;
|
||||
int i6 = 0;
|
||||
while (true) {
|
||||
i = this.a * 4;
|
||||
if (i4 >= i) {
|
||||
break;
|
||||
}
|
||||
int i7 = i4 / 4;
|
||||
double floatValue = (double) ((Float) arrayList.get(i4)).floatValue();
|
||||
int i8 = i4 % 4;
|
||||
if (i8 == 0) {
|
||||
fArr[i7] = (float) floatValue;
|
||||
} else if (i8 == 1) {
|
||||
i5 = (int) (floatValue * 255.0d);
|
||||
} else if (i8 == 2) {
|
||||
i6 = (int) (floatValue * 255.0d);
|
||||
} else if (i8 == 3) {
|
||||
iArr[i7] = Color.argb(255, i5, i6, (int) (floatValue * 255.0d));
|
||||
}
|
||||
i4++;
|
||||
}
|
||||
c.c.a.y.l.c cVar2 = new c.c.a.y.l.c(fArr, iArr);
|
||||
if (arrayList.size() > i) {
|
||||
int size = (arrayList.size() - i) / 2;
|
||||
double[] dArr = new double[size];
|
||||
double[] dArr2 = new double[size];
|
||||
int i9 = 0;
|
||||
while (i < arrayList.size()) {
|
||||
if (i % 2 == 0) {
|
||||
dArr[i9] = (double) ((Float) arrayList.get(i)).floatValue();
|
||||
} else {
|
||||
dArr2[i9] = (double) ((Float) arrayList.get(i)).floatValue();
|
||||
i9++;
|
||||
}
|
||||
i++;
|
||||
}
|
||||
while (true) {
|
||||
int[] iArr2 = cVar2.b;
|
||||
if (i2 >= iArr2.length) {
|
||||
break;
|
||||
}
|
||||
int i10 = iArr2[i2];
|
||||
double d2 = (double) cVar2.a[i2];
|
||||
int i11 = 1;
|
||||
while (true) {
|
||||
if (i11 >= size) {
|
||||
d = dArr2[size - 1];
|
||||
break;
|
||||
}
|
||||
int i12 = i11 - 1;
|
||||
double d3 = dArr[i12];
|
||||
double d4 = dArr[i11];
|
||||
if (dArr[i11] >= d2) {
|
||||
double d5 = dArr2[i12];
|
||||
double d6 = dArr2[i11];
|
||||
PointF pointF = f.a;
|
||||
d = ((d6 - d5) * ((d2 - d3) / (d4 - d3))) + d5;
|
||||
break;
|
||||
}
|
||||
i11++;
|
||||
}
|
||||
cVar2.b[i2] = Color.argb((int) (d * 255.0d), Color.red(i10), Color.green(i10), Color.blue(i10));
|
||||
i2++;
|
||||
}
|
||||
}
|
||||
return cVar2;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,11 +1,8 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import c.c.a.a0.h0.c;
|
||||
/* compiled from: GradientStrokeParser */
|
||||
import c.c.a.a0.i0.c;
|
||||
/* compiled from: GradientFillParser */
|
||||
public class m {
|
||||
public static c.a a = c.a.a("nm", "g", "o", "t", "s", "e", "w", "lc", "lj", "ml", "hd", "d");
|
||||
public static final c.a a = c.a.a("nm", "g", "o", "t", "s", "e", "r", "hd");
|
||||
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 f261c = c.a.a("n", "v");
|
||||
}
|
||||
|
|
|
@ -1,14 +1,11 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import c.c.a.a0.h0.c;
|
||||
import java.io.IOException;
|
||||
/* compiled from: IntegerParser */
|
||||
public class n implements g0<Integer> {
|
||||
public static final n a = new n();
|
||||
import c.c.a.a0.i0.c;
|
||||
/* compiled from: GradientStrokeParser */
|
||||
public class n {
|
||||
public static c.a a = c.a.a("nm", "g", "o", "t", "s", "e", "w", "lc", "lj", "ml", "hd", "d");
|
||||
public static final c.a b = c.a.a("p", "k");
|
||||
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
@Override // c.c.a.a0.g0
|
||||
public Integer a(c cVar, float f) throws IOException {
|
||||
return Integer.valueOf(Math.round(o.d(cVar) * f));
|
||||
}
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public static final c.a f262c = c.a.a("n", "v");
|
||||
}
|
||||
|
|
|
@ -1,99 +1,14 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import android.graphics.Color;
|
||||
import android.graphics.PointF;
|
||||
import androidx.annotation.ColorInt;
|
||||
import c.c.a.a0.h0.c;
|
||||
import c.d.b.a.a;
|
||||
import c.c.a.a0.i0.c;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
/* compiled from: JsonUtils */
|
||||
public class o {
|
||||
public static final c.a a = c.a.a("x", "y");
|
||||
/* compiled from: IntegerParser */
|
||||
public class o implements h0<Integer> {
|
||||
public static final o a = new o();
|
||||
|
||||
@ColorInt
|
||||
public static int a(c cVar) throws IOException {
|
||||
cVar.a();
|
||||
int p = (int) (cVar.p() * 255.0d);
|
||||
int p2 = (int) (cVar.p() * 255.0d);
|
||||
int p3 = (int) (cVar.p() * 255.0d);
|
||||
while (cVar.e()) {
|
||||
cVar.C();
|
||||
}
|
||||
cVar.c();
|
||||
return Color.argb(255, p, p2, p3);
|
||||
}
|
||||
|
||||
public static PointF b(c cVar, float f) throws IOException {
|
||||
int ordinal = cVar.w().ordinal();
|
||||
if (ordinal == 0) {
|
||||
cVar.a();
|
||||
float p = (float) cVar.p();
|
||||
float p2 = (float) cVar.p();
|
||||
while (cVar.w() != c.b.END_ARRAY) {
|
||||
cVar.C();
|
||||
}
|
||||
cVar.c();
|
||||
return new PointF(p * f, p2 * f);
|
||||
} else if (ordinal == 2) {
|
||||
cVar.b();
|
||||
float f2 = 0.0f;
|
||||
float f3 = 0.0f;
|
||||
while (cVar.e()) {
|
||||
int z2 = cVar.z(a);
|
||||
if (z2 == 0) {
|
||||
f2 = d(cVar);
|
||||
} else if (z2 != 1) {
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
} else {
|
||||
f3 = d(cVar);
|
||||
}
|
||||
}
|
||||
cVar.d();
|
||||
return new PointF(f2 * f, f3 * f);
|
||||
} else if (ordinal == 6) {
|
||||
float p3 = (float) cVar.p();
|
||||
float p4 = (float) cVar.p();
|
||||
while (cVar.e()) {
|
||||
cVar.C();
|
||||
}
|
||||
return new PointF(p3 * f, p4 * f);
|
||||
} else {
|
||||
StringBuilder P = a.P("Unknown point starts with ");
|
||||
P.append(cVar.w());
|
||||
throw new IllegalArgumentException(P.toString());
|
||||
}
|
||||
}
|
||||
|
||||
public static List<PointF> c(c cVar, float f) throws IOException {
|
||||
ArrayList arrayList = new ArrayList();
|
||||
cVar.a();
|
||||
while (cVar.w() == c.b.BEGIN_ARRAY) {
|
||||
cVar.a();
|
||||
arrayList.add(b(cVar, f));
|
||||
cVar.c();
|
||||
}
|
||||
cVar.c();
|
||||
return arrayList;
|
||||
}
|
||||
|
||||
public static float d(c cVar) throws IOException {
|
||||
c.b w = cVar.w();
|
||||
int ordinal = w.ordinal();
|
||||
if (ordinal == 0) {
|
||||
cVar.a();
|
||||
float p = (float) cVar.p();
|
||||
while (cVar.e()) {
|
||||
cVar.C();
|
||||
}
|
||||
cVar.c();
|
||||
return p;
|
||||
} else if (ordinal == 6) {
|
||||
return (float) cVar.p();
|
||||
} else {
|
||||
throw new IllegalArgumentException("Unknown value for token of type " + w);
|
||||
}
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
@Override // c.c.a.a0.h0
|
||||
public Integer a(c cVar, float f) throws IOException {
|
||||
return Integer.valueOf(Math.round(p.d(cVar) * f));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,144 +1,99 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import android.graphics.PathMeasure;
|
||||
import android.graphics.Color;
|
||||
import android.graphics.PointF;
|
||||
import android.view.animation.Interpolator;
|
||||
import android.view.animation.LinearInterpolator;
|
||||
import androidx.collection.SparseArrayCompat;
|
||||
import androidx.core.view.animation.PathInterpolatorCompat;
|
||||
import c.c.a.a0.h0.c;
|
||||
import c.c.a.b0.f;
|
||||
import c.c.a.b0.g;
|
||||
import c.c.a.c0.a;
|
||||
import c.c.a.d;
|
||||
import androidx.annotation.ColorInt;
|
||||
import c.c.a.a0.i0.c;
|
||||
import c.d.b.a.a;
|
||||
import java.io.IOException;
|
||||
import java.lang.ref.WeakReference;
|
||||
/* compiled from: KeyframeParser */
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
/* compiled from: JsonUtils */
|
||||
public class p {
|
||||
public static final Interpolator a = new LinearInterpolator();
|
||||
public static SparseArrayCompat<WeakReference<Interpolator>> b;
|
||||
public static final c.a a = c.a.a("x", "y");
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public static c.a f262c = c.a.a("t", "s", "e", "o", "i", "h", "to", "ti");
|
||||
|
||||
public static <T> a<T> a(c cVar, d dVar, float f, g0<T> g0Var, boolean z2) throws IOException {
|
||||
T t;
|
||||
WeakReference<Interpolator> weakReference;
|
||||
Interpolator interpolator;
|
||||
if (!z2) {
|
||||
return new a<>(g0Var.a(cVar, f));
|
||||
}
|
||||
cVar.b();
|
||||
int i = 1;
|
||||
Interpolator interpolator2 = null;
|
||||
PointF pointF = null;
|
||||
PointF pointF2 = null;
|
||||
T t2 = null;
|
||||
T t3 = null;
|
||||
PointF pointF3 = null;
|
||||
PointF pointF4 = null;
|
||||
boolean z3 = false;
|
||||
float f2 = 0.0f;
|
||||
@ColorInt
|
||||
public static int a(c cVar) throws IOException {
|
||||
cVar.a();
|
||||
int p = (int) (cVar.p() * 255.0d);
|
||||
int p2 = (int) (cVar.p() * 255.0d);
|
||||
int p3 = (int) (cVar.p() * 255.0d);
|
||||
while (cVar.e()) {
|
||||
switch (cVar.z(f262c)) {
|
||||
case 0:
|
||||
f2 = (float) cVar.p();
|
||||
break;
|
||||
case 1:
|
||||
t3 = g0Var.a(cVar, f);
|
||||
continue;
|
||||
case 2:
|
||||
t2 = g0Var.a(cVar, f);
|
||||
continue;
|
||||
case 3:
|
||||
pointF = o.b(cVar, f);
|
||||
continue;
|
||||
case 4:
|
||||
pointF2 = o.b(cVar, f);
|
||||
continue;
|
||||
case 5:
|
||||
if (cVar.r() == i) {
|
||||
z3 = true;
|
||||
continue;
|
||||
} else {
|
||||
z3 = false;
|
||||
}
|
||||
case 6:
|
||||
pointF4 = o.b(cVar, f);
|
||||
continue;
|
||||
case 7:
|
||||
pointF3 = o.b(cVar, f);
|
||||
continue;
|
||||
default:
|
||||
cVar.C();
|
||||
}
|
||||
cVar.c();
|
||||
return Color.argb(255, p, p2, p3);
|
||||
}
|
||||
|
||||
public static PointF b(c cVar, float f) throws IOException {
|
||||
int ordinal = cVar.w().ordinal();
|
||||
if (ordinal == 0) {
|
||||
cVar.a();
|
||||
float p = (float) cVar.p();
|
||||
float p2 = (float) cVar.p();
|
||||
while (cVar.w() != c.b.END_ARRAY) {
|
||||
cVar.C();
|
||||
}
|
||||
cVar.c();
|
||||
return new PointF(p * f, p2 * f);
|
||||
} else if (ordinal == 2) {
|
||||
cVar.b();
|
||||
float f2 = 0.0f;
|
||||
float f3 = 0.0f;
|
||||
while (cVar.e()) {
|
||||
int z2 = cVar.z(a);
|
||||
if (z2 == 0) {
|
||||
f2 = d(cVar);
|
||||
} else if (z2 != 1) {
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
break;
|
||||
} else {
|
||||
f3 = d(cVar);
|
||||
}
|
||||
}
|
||||
i = 1;
|
||||
}
|
||||
cVar.d();
|
||||
if (z3) {
|
||||
interpolator2 = a;
|
||||
t = t3;
|
||||
cVar.d();
|
||||
return new PointF(f2 * f, f3 * f);
|
||||
} else if (ordinal == 6) {
|
||||
float p3 = (float) cVar.p();
|
||||
float p4 = (float) cVar.p();
|
||||
while (cVar.e()) {
|
||||
cVar.C();
|
||||
}
|
||||
return new PointF(p3 * f, p4 * f);
|
||||
} else {
|
||||
if (pointF == null || pointF2 == null) {
|
||||
interpolator2 = a;
|
||||
} else {
|
||||
float f3 = -f;
|
||||
pointF.x = f.b(pointF.x, f3, f);
|
||||
pointF.y = f.b(pointF.y, -100.0f, 100.0f);
|
||||
pointF2.x = f.b(pointF2.x, f3, f);
|
||||
float b2 = f.b(pointF2.y, -100.0f, 100.0f);
|
||||
pointF2.y = b2;
|
||||
float f4 = pointF.x;
|
||||
float f5 = pointF.y;
|
||||
float f6 = pointF2.x;
|
||||
PathMeasure pathMeasure = g.a;
|
||||
int i2 = f4 != 0.0f ? (int) (((float) 527) * f4) : 17;
|
||||
if (f5 != 0.0f) {
|
||||
i2 = (int) (((float) (i2 * 31)) * f5);
|
||||
}
|
||||
if (f6 != 0.0f) {
|
||||
i2 = (int) (((float) (i2 * 31)) * f6);
|
||||
}
|
||||
if (b2 != 0.0f) {
|
||||
i2 = (int) (((float) (i2 * 31)) * b2);
|
||||
}
|
||||
synchronized (p.class) {
|
||||
if (b == null) {
|
||||
b = new SparseArrayCompat<>();
|
||||
}
|
||||
weakReference = b.get(i2);
|
||||
}
|
||||
if (weakReference != null) {
|
||||
interpolator2 = weakReference.get();
|
||||
}
|
||||
if (weakReference == null || interpolator2 == null) {
|
||||
pointF.x /= f;
|
||||
pointF.y /= f;
|
||||
float f7 = pointF2.x / f;
|
||||
pointF2.x = f7;
|
||||
float f8 = pointF2.y / f;
|
||||
pointF2.y = f8;
|
||||
try {
|
||||
interpolator = PathInterpolatorCompat.create(pointF.x, pointF.y, f7, f8);
|
||||
} catch (IllegalArgumentException e) {
|
||||
interpolator = e.getMessage().equals("The Path cannot loop back on itself.") ? PathInterpolatorCompat.create(Math.min(pointF.x, 1.0f), pointF.y, Math.max(pointF2.x, 0.0f), pointF2.y) : new LinearInterpolator();
|
||||
}
|
||||
interpolator2 = interpolator;
|
||||
try {
|
||||
WeakReference<Interpolator> weakReference2 = new WeakReference<>(interpolator2);
|
||||
synchronized (p.class) {
|
||||
b.put(i2, weakReference2);
|
||||
}
|
||||
} catch (ArrayIndexOutOfBoundsException unused) {
|
||||
}
|
||||
}
|
||||
}
|
||||
t = t2;
|
||||
StringBuilder P = a.P("Unknown point starts with ");
|
||||
P.append(cVar.w());
|
||||
throw new IllegalArgumentException(P.toString());
|
||||
}
|
||||
}
|
||||
|
||||
public static List<PointF> c(c cVar, float f) throws IOException {
|
||||
ArrayList arrayList = new ArrayList();
|
||||
cVar.a();
|
||||
while (cVar.w() == c.b.BEGIN_ARRAY) {
|
||||
cVar.a();
|
||||
arrayList.add(b(cVar, f));
|
||||
cVar.c();
|
||||
}
|
||||
cVar.c();
|
||||
return arrayList;
|
||||
}
|
||||
|
||||
public static float d(c cVar) throws IOException {
|
||||
c.b w = cVar.w();
|
||||
int ordinal = w.ordinal();
|
||||
if (ordinal == 0) {
|
||||
cVar.a();
|
||||
float p = (float) cVar.p();
|
||||
while (cVar.e()) {
|
||||
cVar.C();
|
||||
}
|
||||
cVar.c();
|
||||
return p;
|
||||
} else if (ordinal == 6) {
|
||||
return (float) cVar.p();
|
||||
} else {
|
||||
throw new IllegalArgumentException("Unknown value for token of type " + w);
|
||||
}
|
||||
a<T> aVar = new a<>(dVar, t3, t, interpolator2, f2, null);
|
||||
aVar.m = pointF4;
|
||||
aVar.n = pointF3;
|
||||
return aVar;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,69 +1,144 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import c.c.a.a0.h0.c;
|
||||
import android.graphics.PathMeasure;
|
||||
import android.graphics.PointF;
|
||||
import android.view.animation.Interpolator;
|
||||
import android.view.animation.LinearInterpolator;
|
||||
import androidx.collection.SparseArrayCompat;
|
||||
import androidx.core.view.animation.PathInterpolatorCompat;
|
||||
import c.c.a.a0.i0.c;
|
||||
import c.c.a.b0.f;
|
||||
import c.c.a.b0.g;
|
||||
import c.c.a.c0.a;
|
||||
import c.c.a.d;
|
||||
import c.c.a.w.c.h;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
/* compiled from: KeyframesParser */
|
||||
import java.lang.ref.WeakReference;
|
||||
/* compiled from: KeyframeParser */
|
||||
public class q {
|
||||
public static c.a a = c.a.a("k");
|
||||
public static final Interpolator a = new LinearInterpolator();
|
||||
public static SparseArrayCompat<WeakReference<Interpolator>> b;
|
||||
|
||||
public static <T> List<a<T>> a(c cVar, d dVar, float f, g0<T> g0Var) throws IOException {
|
||||
ArrayList arrayList = new ArrayList();
|
||||
if (cVar.w() == c.b.STRING) {
|
||||
dVar.a("Lottie doesn't support expressions.");
|
||||
return arrayList;
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public static c.a f263c = 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;
|
||||
WeakReference<Interpolator> weakReference;
|
||||
Interpolator interpolator;
|
||||
if (!z2) {
|
||||
return new a<>(h0Var.a(cVar, f));
|
||||
}
|
||||
cVar.b();
|
||||
int i = 1;
|
||||
Interpolator interpolator2 = null;
|
||||
PointF pointF = null;
|
||||
PointF pointF2 = null;
|
||||
T t2 = null;
|
||||
T t3 = null;
|
||||
PointF pointF3 = null;
|
||||
PointF pointF4 = null;
|
||||
boolean z3 = false;
|
||||
float f2 = 0.0f;
|
||||
while (cVar.e()) {
|
||||
if (cVar.z(a) != 0) {
|
||||
cVar.C();
|
||||
} else if (cVar.w() == c.b.BEGIN_ARRAY) {
|
||||
cVar.a();
|
||||
if (cVar.w() == c.b.NUMBER) {
|
||||
arrayList.add(p.a(cVar, dVar, f, g0Var, false));
|
||||
} else {
|
||||
while (cVar.e()) {
|
||||
arrayList.add(p.a(cVar, dVar, f, g0Var, true));
|
||||
switch (cVar.z(f263c)) {
|
||||
case 0:
|
||||
f2 = (float) cVar.p();
|
||||
break;
|
||||
case 1:
|
||||
t3 = h0Var.a(cVar, f);
|
||||
continue;
|
||||
case 2:
|
||||
t2 = h0Var.a(cVar, f);
|
||||
continue;
|
||||
case 3:
|
||||
pointF = p.b(cVar, f);
|
||||
continue;
|
||||
case 4:
|
||||
pointF2 = p.b(cVar, f);
|
||||
continue;
|
||||
case 5:
|
||||
if (cVar.r() == i) {
|
||||
z3 = true;
|
||||
continue;
|
||||
} else {
|
||||
z3 = false;
|
||||
}
|
||||
}
|
||||
cVar.c();
|
||||
} else {
|
||||
arrayList.add(p.a(cVar, dVar, f, g0Var, false));
|
||||
case 6:
|
||||
pointF4 = p.b(cVar, f);
|
||||
continue;
|
||||
case 7:
|
||||
pointF3 = p.b(cVar, f);
|
||||
continue;
|
||||
default:
|
||||
cVar.C();
|
||||
break;
|
||||
}
|
||||
i = 1;
|
||||
}
|
||||
cVar.d();
|
||||
b(arrayList);
|
||||
return arrayList;
|
||||
}
|
||||
|
||||
public static <T> void b(List<? extends a<T>> list) {
|
||||
int i;
|
||||
T t;
|
||||
int size = list.size();
|
||||
int i2 = 0;
|
||||
while (true) {
|
||||
i = size - 1;
|
||||
if (i2 >= i) {
|
||||
break;
|
||||
}
|
||||
a aVar = (a) list.get(i2);
|
||||
i2++;
|
||||
a aVar2 = (a) list.get(i2);
|
||||
aVar.f = Float.valueOf(aVar2.e);
|
||||
if (aVar.f267c == null && (t = aVar2.b) != null) {
|
||||
aVar.f267c = t;
|
||||
if (aVar instanceof h) {
|
||||
((h) aVar).e();
|
||||
if (z3) {
|
||||
interpolator2 = a;
|
||||
t = t3;
|
||||
} else {
|
||||
if (pointF == null || pointF2 == null) {
|
||||
interpolator2 = a;
|
||||
} else {
|
||||
float f3 = -f;
|
||||
pointF.x = f.b(pointF.x, f3, f);
|
||||
pointF.y = f.b(pointF.y, -100.0f, 100.0f);
|
||||
pointF2.x = f.b(pointF2.x, f3, f);
|
||||
float b2 = f.b(pointF2.y, -100.0f, 100.0f);
|
||||
pointF2.y = b2;
|
||||
float f4 = pointF.x;
|
||||
float f5 = pointF.y;
|
||||
float f6 = pointF2.x;
|
||||
PathMeasure pathMeasure = g.a;
|
||||
int i2 = f4 != 0.0f ? (int) (((float) 527) * f4) : 17;
|
||||
if (f5 != 0.0f) {
|
||||
i2 = (int) (((float) (i2 * 31)) * f5);
|
||||
}
|
||||
if (f6 != 0.0f) {
|
||||
i2 = (int) (((float) (i2 * 31)) * f6);
|
||||
}
|
||||
if (b2 != 0.0f) {
|
||||
i2 = (int) (((float) (i2 * 31)) * b2);
|
||||
}
|
||||
synchronized (q.class) {
|
||||
if (b == null) {
|
||||
b = new SparseArrayCompat<>();
|
||||
}
|
||||
weakReference = b.get(i2);
|
||||
}
|
||||
if (weakReference != null) {
|
||||
interpolator2 = weakReference.get();
|
||||
}
|
||||
if (weakReference == null || interpolator2 == null) {
|
||||
pointF.x /= f;
|
||||
pointF.y /= f;
|
||||
float f7 = pointF2.x / f;
|
||||
pointF2.x = f7;
|
||||
float f8 = pointF2.y / f;
|
||||
pointF2.y = f8;
|
||||
try {
|
||||
interpolator = PathInterpolatorCompat.create(pointF.x, pointF.y, f7, f8);
|
||||
} catch (IllegalArgumentException e) {
|
||||
interpolator = e.getMessage().equals("The Path cannot loop back on itself.") ? PathInterpolatorCompat.create(Math.min(pointF.x, 1.0f), pointF.y, Math.max(pointF2.x, 0.0f), pointF2.y) : new LinearInterpolator();
|
||||
}
|
||||
interpolator2 = interpolator;
|
||||
try {
|
||||
WeakReference<Interpolator> weakReference2 = new WeakReference<>(interpolator2);
|
||||
synchronized (q.class) {
|
||||
b.put(i2, weakReference2);
|
||||
}
|
||||
} catch (ArrayIndexOutOfBoundsException unused) {
|
||||
}
|
||||
}
|
||||
}
|
||||
t = t2;
|
||||
}
|
||||
a aVar3 = (a) list.get(i);
|
||||
if ((aVar3.b == null || aVar3.f267c == null) && list.size() > 1) {
|
||||
list.remove(aVar3);
|
||||
}
|
||||
a<T> aVar = new a<>(dVar, t3, t, interpolator2, f2, null);
|
||||
aVar.m = pointF4;
|
||||
aVar.n = pointF3;
|
||||
return aVar;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,444 +1,69 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import android.graphics.Color;
|
||||
import c.c.a.a0.h0.c;
|
||||
import c.c.a.b0.g;
|
||||
import c.c.a.a0.i0.c;
|
||||
import c.c.a.c0.a;
|
||||
import c.c.a.d;
|
||||
import c.c.a.y.k.a;
|
||||
import c.c.a.y.k.b;
|
||||
import c.c.a.y.k.h;
|
||||
import c.c.a.y.k.j;
|
||||
import c.c.a.y.k.k;
|
||||
import c.c.a.y.k.l;
|
||||
import c.c.a.y.l.f;
|
||||
import c.c.a.y.m.e;
|
||||
import com.airbnb.lottie.parser.AnimatableValueParser;
|
||||
import c.c.a.w.c.h;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
/* compiled from: LayerParser */
|
||||
import java.util.List;
|
||||
/* compiled from: KeyframesParser */
|
||||
public class r {
|
||||
public static final c.a a = c.a.a("nm", "ind", "refId", "ty", "parent", "sw", "sh", "sc", "ks", "tt", "masksProperties", "shapes", "t", "ef", "sr", "st", "w", "h", "ip", "op", "tm", "cl", "hd");
|
||||
public static final c.a b = c.a.a("d", "a");
|
||||
public static c.a a = c.a.a("k");
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public static final c.a f263c = 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 */
|
||||
/* JADX DEBUG: Multi-variable search result rejected for r6v11, resolved type: c.c.a.y.k.d */
|
||||
/* JADX DEBUG: Multi-variable search result rejected for r6v13, resolved type: c.c.a.y.k.d */
|
||||
/* JADX DEBUG: Multi-variable search result rejected for r6v23, resolved type: c.c.a.y.k.d */
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
/* JADX WARNING: Removed duplicated region for block: B:110:0x0259 */
|
||||
/* JADX WARNING: Removed duplicated region for block: B:139:0x02b4 */
|
||||
/* JADX WARNING: Removed duplicated region for block: B:149:0x02e4 */
|
||||
/* JADX WARNING: Removed duplicated region for block: B:153:0x02fe */
|
||||
public static e a(c cVar, d dVar) throws IOException {
|
||||
ArrayList arrayList;
|
||||
ArrayList arrayList2;
|
||||
String str;
|
||||
String str2;
|
||||
long j;
|
||||
char c2;
|
||||
char c3;
|
||||
String str3;
|
||||
ArrayList arrayList3 = new ArrayList();
|
||||
ArrayList arrayList4 = new ArrayList();
|
||||
public static <T> List<a<T>> a(c cVar, d dVar, float f, h0<T> h0Var) throws IOException {
|
||||
ArrayList arrayList = new ArrayList();
|
||||
if (cVar.w() == c.b.STRING) {
|
||||
dVar.a("Lottie doesn't support expressions.");
|
||||
return arrayList;
|
||||
}
|
||||
cVar.b();
|
||||
Float valueOf = Float.valueOf(1.0f);
|
||||
Float valueOf2 = Float.valueOf(0.0f);
|
||||
int i = 1;
|
||||
boolean z2 = false;
|
||||
long j2 = -1;
|
||||
float f = 0.0f;
|
||||
String str4 = null;
|
||||
e.a aVar = null;
|
||||
String str5 = null;
|
||||
l lVar = null;
|
||||
int i2 = 0;
|
||||
int i3 = 0;
|
||||
int i4 = 0;
|
||||
float f2 = 1.0f;
|
||||
float f3 = 0.0f;
|
||||
int i5 = 0;
|
||||
int i6 = 0;
|
||||
j jVar = null;
|
||||
k kVar = null;
|
||||
int i7 = 1;
|
||||
b bVar = null;
|
||||
boolean z3 = false;
|
||||
long j3 = 0;
|
||||
String str6 = "UNSET";
|
||||
float f4 = 0.0f;
|
||||
while (cVar.e()) {
|
||||
switch (cVar.z(a)) {
|
||||
case 0:
|
||||
str2 = str4;
|
||||
str6 = cVar.t();
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 1:
|
||||
str2 = str4;
|
||||
j3 = (long) cVar.r();
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 2:
|
||||
str2 = str4;
|
||||
str5 = cVar.t();
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 3:
|
||||
str2 = str4;
|
||||
j = j3;
|
||||
int r = cVar.r();
|
||||
aVar = r < 6 ? e.a.values()[r] : e.a.UNKNOWN;
|
||||
j3 = j;
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 4:
|
||||
str2 = str4;
|
||||
j = j3;
|
||||
j2 = (long) cVar.r();
|
||||
j3 = j;
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 5:
|
||||
str2 = str4;
|
||||
i2 = (int) (g.c() * ((float) cVar.r()));
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 6:
|
||||
str2 = str4;
|
||||
i3 = (int) (g.c() * ((float) cVar.r()));
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 7:
|
||||
str2 = str4;
|
||||
i4 = Color.parseColor(cVar.t());
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 8:
|
||||
str2 = str4;
|
||||
lVar = c.a(cVar, dVar);
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 9:
|
||||
str2 = str4;
|
||||
j = j3;
|
||||
i7 = c.c.a.y.b.com$airbnb$lottie$model$layer$Layer$MatteType$s$values()[cVar.r()];
|
||||
dVar.o++;
|
||||
j3 = j;
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 10:
|
||||
str2 = str4;
|
||||
h hVar = null;
|
||||
cVar.a();
|
||||
if (cVar.z(a) != 0) {
|
||||
cVar.C();
|
||||
} else if (cVar.w() == c.b.BEGIN_ARRAY) {
|
||||
cVar.a();
|
||||
if (cVar.w() == c.b.NUMBER) {
|
||||
arrayList.add(q.a(cVar, dVar, f, h0Var, false));
|
||||
} else {
|
||||
while (cVar.e()) {
|
||||
cVar.b();
|
||||
h hVar2 = hVar;
|
||||
c.c.a.y.k.d dVar2 = hVar2;
|
||||
int i8 = 0;
|
||||
boolean z4 = false;
|
||||
while (cVar.e()) {
|
||||
String s2 = cVar.s();
|
||||
s2.hashCode();
|
||||
int hashCode = s2.hashCode();
|
||||
if (hashCode != 111) {
|
||||
if (hashCode != 3588) {
|
||||
if (hashCode != 104433) {
|
||||
if (hashCode == 3357091 && s2.equals("mode")) {
|
||||
c2 = 3;
|
||||
if (c2 == 0) {
|
||||
dVar2 = AnimatableValueParser.V1(cVar, dVar);
|
||||
} else if (c2 == 1) {
|
||||
hVar2 = new h(q.a(cVar, dVar, g.c(), a0.a));
|
||||
} else if (c2 == 2) {
|
||||
z4 = cVar.f();
|
||||
} else if (c2 != 3) {
|
||||
cVar.C();
|
||||
} else {
|
||||
String t = cVar.t();
|
||||
t.hashCode();
|
||||
int hashCode2 = t.hashCode();
|
||||
if (hashCode2 != 97) {
|
||||
if (hashCode2 != 105) {
|
||||
if (hashCode2 != 110) {
|
||||
if (hashCode2 == 115 && t.equals("s")) {
|
||||
c3 = 3;
|
||||
if (c3 != 0) {
|
||||
if (c3 == 1) {
|
||||
dVar.a("Animation contains intersect masks. They are not supported but will be treated like add masks.");
|
||||
i8 = 3;
|
||||
} else if (c3 == 2) {
|
||||
i8 = 4;
|
||||
} else if (c3 != 3) {
|
||||
c.c.a.b0.c.b("Unknown mask mode " + s2 + ". Defaulting to Add.");
|
||||
} else {
|
||||
i8 = 2;
|
||||
}
|
||||
}
|
||||
i8 = 1;
|
||||
}
|
||||
} else if (t.equals("n")) {
|
||||
c3 = 2;
|
||||
if (c3 != 0) {
|
||||
}
|
||||
i8 = 1;
|
||||
}
|
||||
} else if (t.equals("i")) {
|
||||
c3 = 1;
|
||||
if (c3 != 0) {
|
||||
}
|
||||
i8 = 1;
|
||||
}
|
||||
} else if (t.equals("a")) {
|
||||
c3 = 0;
|
||||
if (c3 != 0) {
|
||||
}
|
||||
i8 = 1;
|
||||
}
|
||||
c3 = 65535;
|
||||
if (c3 != 0) {
|
||||
}
|
||||
i8 = 1;
|
||||
}
|
||||
j3 = j3;
|
||||
dVar2 = dVar2;
|
||||
}
|
||||
} else if (s2.equals("inv")) {
|
||||
c2 = 2;
|
||||
if (c2 == 0) {
|
||||
}
|
||||
j3 = j3;
|
||||
dVar2 = dVar2;
|
||||
}
|
||||
} else if (s2.equals("pt")) {
|
||||
c2 = 1;
|
||||
if (c2 == 0) {
|
||||
}
|
||||
j3 = j3;
|
||||
dVar2 = dVar2;
|
||||
}
|
||||
} else if (s2.equals("o")) {
|
||||
c2 = 0;
|
||||
if (c2 == 0) {
|
||||
}
|
||||
j3 = j3;
|
||||
dVar2 = dVar2;
|
||||
}
|
||||
c2 = 65535;
|
||||
if (c2 == 0) {
|
||||
}
|
||||
j3 = j3;
|
||||
dVar2 = dVar2;
|
||||
}
|
||||
cVar.d();
|
||||
arrayList3.add(new f(i8, hVar2, dVar2, z4));
|
||||
j3 = j3;
|
||||
hVar = null;
|
||||
arrayList.add(q.a(cVar, dVar, f, h0Var, true));
|
||||
}
|
||||
j = j3;
|
||||
dVar.o += arrayList3.size();
|
||||
cVar.c();
|
||||
j3 = j;
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 11:
|
||||
str2 = str4;
|
||||
cVar.a();
|
||||
while (cVar.e()) {
|
||||
c.c.a.y.l.b a2 = f.a(cVar, dVar);
|
||||
if (a2 != null) {
|
||||
arrayList4.add(a2);
|
||||
}
|
||||
}
|
||||
cVar.c();
|
||||
j = j3;
|
||||
j3 = j;
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 12:
|
||||
cVar.b();
|
||||
while (cVar.e()) {
|
||||
int z5 = cVar.z(b);
|
||||
if (z5 == 0) {
|
||||
str3 = str4;
|
||||
jVar = new j(AnimatableValueParser.R1(cVar, dVar, g.a));
|
||||
} else if (z5 != i) {
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
} else {
|
||||
cVar.a();
|
||||
if (cVar.e()) {
|
||||
c.a aVar2 = b.a;
|
||||
cVar.b();
|
||||
k kVar2 = null;
|
||||
while (cVar.e()) {
|
||||
if (cVar.z(b.a) != 0) {
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
} else {
|
||||
cVar.b();
|
||||
b bVar2 = null;
|
||||
b bVar3 = null;
|
||||
a aVar3 = null;
|
||||
a aVar4 = null;
|
||||
while (cVar.e()) {
|
||||
int z6 = cVar.z(b.b);
|
||||
if (z6 == 0) {
|
||||
aVar3 = AnimatableValueParser.S1(cVar, dVar);
|
||||
} else if (z6 == i) {
|
||||
aVar4 = AnimatableValueParser.S1(cVar, dVar);
|
||||
} else if (z6 == 2) {
|
||||
bVar2 = AnimatableValueParser.T1(cVar, dVar);
|
||||
} else if (z6 != 3) {
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
} else {
|
||||
bVar3 = AnimatableValueParser.T1(cVar, dVar);
|
||||
}
|
||||
i = 1;
|
||||
}
|
||||
cVar.d();
|
||||
kVar2 = new k(aVar3, aVar4, bVar2, bVar3);
|
||||
str4 = str4;
|
||||
i = 1;
|
||||
}
|
||||
}
|
||||
str3 = str4;
|
||||
cVar.d();
|
||||
kVar = kVar2 == null ? new k(null, null, null, null) : kVar2;
|
||||
} else {
|
||||
str3 = str4;
|
||||
}
|
||||
while (cVar.e()) {
|
||||
cVar.C();
|
||||
}
|
||||
cVar.c();
|
||||
}
|
||||
str4 = str3;
|
||||
i = 1;
|
||||
}
|
||||
str2 = str4;
|
||||
cVar.d();
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 13:
|
||||
cVar.a();
|
||||
ArrayList arrayList5 = new ArrayList();
|
||||
while (cVar.e()) {
|
||||
cVar.b();
|
||||
while (cVar.e()) {
|
||||
if (cVar.z(f263c) != 0) {
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
} else {
|
||||
arrayList5.add(cVar.t());
|
||||
}
|
||||
}
|
||||
cVar.d();
|
||||
}
|
||||
cVar.c();
|
||||
dVar.a("Lottie doesn't support layer effects. If you are using them for fills, strokes, trim paths etc. then try adding them directly as contents in your shape. Found: " + arrayList5);
|
||||
str2 = str4;
|
||||
j = j3;
|
||||
j3 = j;
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 14:
|
||||
f2 = (float) cVar.p();
|
||||
str2 = str4;
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 15:
|
||||
f3 = (float) cVar.p();
|
||||
str2 = str4;
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 16:
|
||||
i5 = (int) (g.c() * ((float) cVar.r()));
|
||||
str2 = str4;
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 17:
|
||||
i6 = (int) (g.c() * ((float) cVar.r()));
|
||||
str2 = str4;
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 18:
|
||||
f = (float) cVar.p();
|
||||
str2 = str4;
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 19:
|
||||
f4 = (float) cVar.p();
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 20:
|
||||
bVar = AnimatableValueParser.U1(cVar, dVar, z2);
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 21:
|
||||
str4 = cVar.t();
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 22:
|
||||
z3 = cVar.f();
|
||||
i = 1;
|
||||
z2 = false;
|
||||
default:
|
||||
str2 = str4;
|
||||
j = j3;
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
j3 = j;
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
}
|
||||
cVar.c();
|
||||
} else {
|
||||
arrayList.add(q.a(cVar, dVar, f, h0Var, false));
|
||||
}
|
||||
}
|
||||
cVar.d();
|
||||
float f5 = f / f2;
|
||||
float f6 = f4 / f2;
|
||||
ArrayList arrayList6 = new ArrayList();
|
||||
if (f5 > 0.0f) {
|
||||
arrayList = arrayList4;
|
||||
arrayList2 = arrayList3;
|
||||
str = str4;
|
||||
arrayList6.add(new c.c.a.c0.a(dVar, valueOf2, valueOf2, null, 0.0f, Float.valueOf(f5)));
|
||||
} else {
|
||||
arrayList = arrayList4;
|
||||
arrayList2 = arrayList3;
|
||||
str = str4;
|
||||
b(arrayList);
|
||||
return arrayList;
|
||||
}
|
||||
|
||||
public static <T> void b(List<? extends a<T>> list) {
|
||||
int i;
|
||||
T t;
|
||||
int size = list.size();
|
||||
int i2 = 0;
|
||||
while (true) {
|
||||
i = size - 1;
|
||||
if (i2 >= i) {
|
||||
break;
|
||||
}
|
||||
a aVar = (a) list.get(i2);
|
||||
i2++;
|
||||
a aVar2 = (a) list.get(i2);
|
||||
aVar.f = Float.valueOf(aVar2.e);
|
||||
if (aVar.f268c == null && (t = aVar2.b) != null) {
|
||||
aVar.f268c = t;
|
||||
if (aVar instanceof h) {
|
||||
((h) aVar).e();
|
||||
}
|
||||
}
|
||||
}
|
||||
if (f6 <= 0.0f) {
|
||||
f6 = dVar.l;
|
||||
a aVar3 = (a) list.get(i);
|
||||
if ((aVar3.b == null || aVar3.f268c == null) && list.size() > 1) {
|
||||
list.remove(aVar3);
|
||||
}
|
||||
arrayList6.add(new c.c.a.c0.a(dVar, valueOf, valueOf, null, f5, Float.valueOf(f6)));
|
||||
arrayList6.add(new c.c.a.c0.a(dVar, valueOf2, valueOf2, null, f6, Float.valueOf(Float.MAX_VALUE)));
|
||||
if (str6.endsWith(".ai") || "ai".equals(str)) {
|
||||
dVar.a("Convert your Illustrator layers to shape layers.");
|
||||
}
|
||||
return new e(arrayList, dVar, str6, j3, aVar, j2, str5, arrayList2, lVar, i2, i3, i4, f2, f3, i5, i6, jVar, kVar, arrayList6, i7, bVar, z3);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,354 +1,443 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import android.graphics.Rect;
|
||||
import androidx.collection.LongSparseArray;
|
||||
import androidx.collection.SparseArrayCompat;
|
||||
import c.c.a.a0.h0.c;
|
||||
import android.graphics.Color;
|
||||
import c.c.a.a0.i0.c;
|
||||
import c.c.a.b0.g;
|
||||
import c.c.a.d;
|
||||
import c.c.a.k;
|
||||
import c.c.a.y.e;
|
||||
import c.c.a.y.i;
|
||||
import c.c.a.y.l.m;
|
||||
import c.c.a.y.k.a;
|
||||
import c.c.a.y.k.b;
|
||||
import c.c.a.y.k.h;
|
||||
import c.c.a.y.k.j;
|
||||
import c.c.a.y.k.k;
|
||||
import c.c.a.y.k.l;
|
||||
import c.c.a.y.l.f;
|
||||
import c.c.a.y.m.e;
|
||||
import com.discord.models.domain.ModelAuditLogEntry;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
/* compiled from: LottieCompositionMoshiParser */
|
||||
/* compiled from: LayerParser */
|
||||
public class s {
|
||||
public static final c.a a = c.a.a("w", "h", "ip", "op", "fr", "v", "layers", "assets", "fonts", "chars", "markers");
|
||||
public static c.a b = c.a.a(ModelAuditLogEntry.CHANGE_KEY_ID, "layers", "w", "h", "p", "u");
|
||||
public static final c.a a = c.a.a("nm", "ind", "refId", "ty", "parent", "sw", "sh", "sc", "ks", "tt", "masksProperties", "shapes", "t", "ef", "sr", "st", "w", "h", "ip", "op", "tm", "cl", "hd");
|
||||
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 f264c = c.a.a("list");
|
||||
public static final c.a d = c.a.a("cm", "tm", "dr");
|
||||
public static final c.a f264c = c.a.a("nm");
|
||||
|
||||
public static d a(c cVar) throws IOException {
|
||||
/* 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 */
|
||||
/* JADX DEBUG: Multi-variable search result rejected for r6v11, resolved type: c.c.a.y.k.d */
|
||||
/* JADX DEBUG: Multi-variable search result rejected for r6v13, resolved type: c.c.a.y.k.d */
|
||||
/* JADX DEBUG: Multi-variable search result rejected for r6v23, resolved type: c.c.a.y.k.d */
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
/* JADX WARNING: Removed duplicated region for block: B:110:0x0259 */
|
||||
/* JADX WARNING: Removed duplicated region for block: B:139:0x02b4 */
|
||||
/* JADX WARNING: Removed duplicated region for block: B:149:0x02e4 */
|
||||
/* JADX WARNING: Removed duplicated region for block: B:153:0x02fe */
|
||||
public static e a(c cVar, d dVar) throws IOException {
|
||||
ArrayList arrayList;
|
||||
SparseArrayCompat<e> sparseArrayCompat;
|
||||
ArrayList arrayList2;
|
||||
float f;
|
||||
float f2;
|
||||
float f3;
|
||||
float c2 = g.c();
|
||||
LongSparseArray<c.c.a.y.m.e> longSparseArray = new LongSparseArray<>();
|
||||
String str;
|
||||
String str2;
|
||||
long j;
|
||||
char c2;
|
||||
char c3;
|
||||
String str3;
|
||||
ArrayList arrayList3 = new ArrayList();
|
||||
HashMap hashMap = new HashMap();
|
||||
HashMap hashMap2 = new HashMap();
|
||||
HashMap hashMap3 = new HashMap();
|
||||
ArrayList arrayList4 = new ArrayList();
|
||||
SparseArrayCompat<e> sparseArrayCompat2 = new SparseArrayCompat<>();
|
||||
d dVar = new d();
|
||||
cVar.b();
|
||||
float f4 = 0.0f;
|
||||
int i = 0;
|
||||
Float valueOf = Float.valueOf(1.0f);
|
||||
Float valueOf2 = Float.valueOf(0.0f);
|
||||
int i = 1;
|
||||
boolean z2 = false;
|
||||
long j2 = -1;
|
||||
float f = 0.0f;
|
||||
String str4 = null;
|
||||
e.a aVar = null;
|
||||
String str5 = null;
|
||||
l lVar = null;
|
||||
int i2 = 0;
|
||||
float f5 = 0.0f;
|
||||
float f6 = 0.0f;
|
||||
int i3 = 0;
|
||||
int i4 = 0;
|
||||
float f2 = 1.0f;
|
||||
float f3 = 0.0f;
|
||||
int i5 = 0;
|
||||
int i6 = 0;
|
||||
j jVar = null;
|
||||
k kVar = null;
|
||||
int i7 = 1;
|
||||
b bVar = null;
|
||||
boolean z3 = false;
|
||||
long j3 = 0;
|
||||
String str6 = "UNSET";
|
||||
float f4 = 0.0f;
|
||||
while (cVar.e()) {
|
||||
switch (cVar.z(a)) {
|
||||
case 0:
|
||||
i = cVar.r();
|
||||
break;
|
||||
str2 = str4;
|
||||
str6 = cVar.t();
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 1:
|
||||
i2 = cVar.r();
|
||||
break;
|
||||
str2 = str4;
|
||||
j3 = (long) cVar.r();
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 2:
|
||||
arrayList = arrayList4;
|
||||
sparseArrayCompat = sparseArrayCompat2;
|
||||
f5 = (float) cVar.p();
|
||||
f4 = f4;
|
||||
arrayList4 = arrayList;
|
||||
sparseArrayCompat2 = sparseArrayCompat;
|
||||
str2 = str4;
|
||||
str5 = cVar.t();
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 3:
|
||||
arrayList = arrayList4;
|
||||
sparseArrayCompat = sparseArrayCompat2;
|
||||
f6 = ((float) cVar.p()) - 0.01f;
|
||||
f4 = f4;
|
||||
arrayList4 = arrayList;
|
||||
sparseArrayCompat2 = sparseArrayCompat;
|
||||
str2 = str4;
|
||||
j = j3;
|
||||
int r = cVar.r();
|
||||
aVar = r < 6 ? e.a.values()[r] : e.a.UNKNOWN;
|
||||
j3 = j;
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 4:
|
||||
arrayList = arrayList4;
|
||||
sparseArrayCompat = sparseArrayCompat2;
|
||||
f4 = (float) cVar.p();
|
||||
arrayList4 = arrayList;
|
||||
sparseArrayCompat2 = sparseArrayCompat;
|
||||
str2 = str4;
|
||||
j = j3;
|
||||
j2 = (long) cVar.r();
|
||||
j3 = j;
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 5:
|
||||
arrayList2 = arrayList4;
|
||||
sparseArrayCompat = sparseArrayCompat2;
|
||||
f = f5;
|
||||
f2 = f6;
|
||||
String[] split = cVar.t().split("\\.");
|
||||
int parseInt = Integer.parseInt(split[0]);
|
||||
boolean z2 = true;
|
||||
int parseInt2 = Integer.parseInt(split[1]);
|
||||
int parseInt3 = Integer.parseInt(split[2]);
|
||||
if (parseInt < 4 || (parseInt <= 4 && (parseInt2 < 4 || (parseInt2 <= 4 && parseInt3 < 0)))) {
|
||||
z2 = false;
|
||||
}
|
||||
if (!z2) {
|
||||
dVar.a("Lottie only supports bodymovin >= 4.4.0");
|
||||
}
|
||||
f4 = f4;
|
||||
f5 = f;
|
||||
arrayList4 = arrayList2;
|
||||
f6 = f2;
|
||||
sparseArrayCompat2 = sparseArrayCompat;
|
||||
str2 = str4;
|
||||
i2 = (int) (g.c() * ((float) cVar.r()));
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 6:
|
||||
arrayList2 = arrayList4;
|
||||
sparseArrayCompat = sparseArrayCompat2;
|
||||
f = f5;
|
||||
f2 = f6;
|
||||
cVar.a();
|
||||
int i3 = 0;
|
||||
while (cVar.e()) {
|
||||
c.c.a.y.m.e a2 = r.a(cVar, dVar);
|
||||
if (a2.e == e.a.IMAGE) {
|
||||
i3++;
|
||||
}
|
||||
arrayList3.add(a2);
|
||||
longSparseArray.put(a2.d, a2);
|
||||
if (i3 > 4) {
|
||||
c.c.a.b0.c.b("You have " + i3 + " images. Lottie should primarily be used with shapes. If you are using Adobe Illustrator, convert the Illustrator layers to shape layers.");
|
||||
}
|
||||
}
|
||||
cVar.c();
|
||||
f4 = f4;
|
||||
f5 = f;
|
||||
arrayList4 = arrayList2;
|
||||
f6 = f2;
|
||||
sparseArrayCompat2 = sparseArrayCompat;
|
||||
str2 = str4;
|
||||
i3 = (int) (g.c() * ((float) cVar.r()));
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 7:
|
||||
arrayList2 = arrayList4;
|
||||
sparseArrayCompat = sparseArrayCompat2;
|
||||
f = f5;
|
||||
f2 = f6;
|
||||
str2 = str4;
|
||||
i4 = Color.parseColor(cVar.t());
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 8:
|
||||
str2 = str4;
|
||||
lVar = c.a(cVar, dVar);
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 9:
|
||||
str2 = str4;
|
||||
j = j3;
|
||||
i7 = c.c.a.y.b.com$airbnb$lottie$model$layer$Layer$MatteType$s$values()[cVar.r()];
|
||||
dVar.o++;
|
||||
j3 = j;
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 10:
|
||||
str2 = str4;
|
||||
h hVar = null;
|
||||
cVar.a();
|
||||
while (cVar.e()) {
|
||||
ArrayList arrayList5 = new ArrayList();
|
||||
LongSparseArray longSparseArray2 = new LongSparseArray();
|
||||
cVar.b();
|
||||
String str = null;
|
||||
String str2 = null;
|
||||
String str3 = null;
|
||||
int i4 = 0;
|
||||
int i5 = 0;
|
||||
h hVar2 = hVar;
|
||||
c.c.a.y.k.d dVar2 = hVar2;
|
||||
int i8 = 0;
|
||||
boolean z4 = false;
|
||||
while (cVar.e()) {
|
||||
int z3 = cVar.z(b);
|
||||
if (z3 == 0) {
|
||||
str = cVar.t();
|
||||
} else if (z3 == 1) {
|
||||
cVar.a();
|
||||
while (cVar.e()) {
|
||||
c.c.a.y.m.e a3 = r.a(cVar, dVar);
|
||||
longSparseArray2.put(a3.d, a3);
|
||||
arrayList5.add(a3);
|
||||
String s2 = cVar.s();
|
||||
s2.hashCode();
|
||||
int hashCode = s2.hashCode();
|
||||
if (hashCode != 111) {
|
||||
if (hashCode != 3588) {
|
||||
if (hashCode != 104433) {
|
||||
if (hashCode == 3357091 && s2.equals("mode")) {
|
||||
c2 = 3;
|
||||
if (c2 == 0) {
|
||||
dVar2 = d.s1(cVar, dVar);
|
||||
} else if (c2 == 1) {
|
||||
hVar2 = new h(r.a(cVar, dVar, g.c(), b0.a));
|
||||
} else if (c2 == 2) {
|
||||
z4 = cVar.f();
|
||||
} else if (c2 != 3) {
|
||||
cVar.C();
|
||||
} else {
|
||||
String t = cVar.t();
|
||||
t.hashCode();
|
||||
int hashCode2 = t.hashCode();
|
||||
if (hashCode2 != 97) {
|
||||
if (hashCode2 != 105) {
|
||||
if (hashCode2 != 110) {
|
||||
if (hashCode2 == 115 && t.equals("s")) {
|
||||
c3 = 3;
|
||||
if (c3 != 0) {
|
||||
if (c3 == 1) {
|
||||
dVar.a("Animation contains intersect masks. They are not supported but will be treated like add masks.");
|
||||
i8 = 3;
|
||||
} else if (c3 == 2) {
|
||||
i8 = 4;
|
||||
} else if (c3 != 3) {
|
||||
c.c.a.b0.c.b("Unknown mask mode " + s2 + ". Defaulting to Add.");
|
||||
} else {
|
||||
i8 = 2;
|
||||
}
|
||||
}
|
||||
i8 = 1;
|
||||
}
|
||||
} else if (t.equals("n")) {
|
||||
c3 = 2;
|
||||
if (c3 != 0) {
|
||||
}
|
||||
i8 = 1;
|
||||
}
|
||||
} else if (t.equals("i")) {
|
||||
c3 = 1;
|
||||
if (c3 != 0) {
|
||||
}
|
||||
i8 = 1;
|
||||
}
|
||||
} else if (t.equals("a")) {
|
||||
c3 = 0;
|
||||
if (c3 != 0) {
|
||||
}
|
||||
i8 = 1;
|
||||
}
|
||||
c3 = 65535;
|
||||
if (c3 != 0) {
|
||||
}
|
||||
i8 = 1;
|
||||
}
|
||||
j3 = j3;
|
||||
dVar2 = dVar2;
|
||||
}
|
||||
} else if (s2.equals("inv")) {
|
||||
c2 = 2;
|
||||
if (c2 == 0) {
|
||||
}
|
||||
j3 = j3;
|
||||
dVar2 = dVar2;
|
||||
}
|
||||
} else if (s2.equals("pt")) {
|
||||
c2 = 1;
|
||||
if (c2 == 0) {
|
||||
}
|
||||
j3 = j3;
|
||||
dVar2 = dVar2;
|
||||
}
|
||||
cVar.c();
|
||||
} else if (z3 == 2) {
|
||||
i4 = cVar.r();
|
||||
} else if (z3 == 3) {
|
||||
i5 = cVar.r();
|
||||
} else if (z3 == 4) {
|
||||
str2 = cVar.t();
|
||||
} else if (z3 != 5) {
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
} else {
|
||||
str3 = cVar.t();
|
||||
} else if (s2.equals("o")) {
|
||||
c2 = 0;
|
||||
if (c2 == 0) {
|
||||
}
|
||||
j3 = j3;
|
||||
dVar2 = dVar2;
|
||||
}
|
||||
c2 = 65535;
|
||||
if (c2 == 0) {
|
||||
}
|
||||
j3 = j3;
|
||||
dVar2 = dVar2;
|
||||
}
|
||||
cVar.d();
|
||||
if (str2 != null) {
|
||||
hashMap2.put(str, new k(i4, i5, str, str2, str3));
|
||||
} else {
|
||||
hashMap.put(str, arrayList5);
|
||||
arrayList3.add(new f(i8, hVar2, dVar2, z4));
|
||||
j3 = j3;
|
||||
hVar = null;
|
||||
}
|
||||
j = j3;
|
||||
dVar.o += arrayList3.size();
|
||||
cVar.c();
|
||||
j3 = j;
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 11:
|
||||
str2 = str4;
|
||||
cVar.a();
|
||||
while (cVar.e()) {
|
||||
c.c.a.y.l.b a2 = g.a(cVar, dVar);
|
||||
if (a2 != null) {
|
||||
arrayList4.add(a2);
|
||||
}
|
||||
}
|
||||
cVar.c();
|
||||
f4 = f4;
|
||||
f5 = f;
|
||||
arrayList4 = arrayList2;
|
||||
f6 = f2;
|
||||
sparseArrayCompat2 = sparseArrayCompat;
|
||||
case 8:
|
||||
f = f5;
|
||||
f2 = f6;
|
||||
j = j3;
|
||||
j3 = j;
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 12:
|
||||
cVar.b();
|
||||
while (cVar.e()) {
|
||||
if (cVar.z(f264c) != 0) {
|
||||
int z5 = cVar.z(b);
|
||||
if (z5 == 0) {
|
||||
str3 = str4;
|
||||
jVar = new j(d.o1(cVar, dVar, h.a));
|
||||
} else if (z5 != i) {
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
} else {
|
||||
cVar.a();
|
||||
while (cVar.e()) {
|
||||
c.a aVar = j.a;
|
||||
if (cVar.e()) {
|
||||
c.a aVar2 = b.a;
|
||||
cVar.b();
|
||||
String str4 = null;
|
||||
String str5 = null;
|
||||
String str6 = null;
|
||||
float f7 = 0.0f;
|
||||
k kVar2 = null;
|
||||
while (cVar.e()) {
|
||||
int z4 = cVar.z(j.a);
|
||||
if (z4 != 0) {
|
||||
if (z4 == 1) {
|
||||
str5 = cVar.t();
|
||||
} else if (z4 == 2) {
|
||||
str6 = cVar.t();
|
||||
} else if (z4 != 3) {
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
} else {
|
||||
f7 = (float) cVar.p();
|
||||
}
|
||||
arrayList4 = arrayList4;
|
||||
sparseArrayCompat2 = sparseArrayCompat2;
|
||||
} else {
|
||||
str4 = cVar.t();
|
||||
arrayList4 = arrayList4;
|
||||
}
|
||||
}
|
||||
cVar.d();
|
||||
hashMap3.put(str5, new c.c.a.y.d(str4, str5, str6, f7));
|
||||
arrayList4 = arrayList4;
|
||||
}
|
||||
cVar.c();
|
||||
}
|
||||
}
|
||||
arrayList2 = arrayList4;
|
||||
sparseArrayCompat = sparseArrayCompat2;
|
||||
cVar.d();
|
||||
f4 = f4;
|
||||
f5 = f;
|
||||
arrayList4 = arrayList2;
|
||||
f6 = f2;
|
||||
sparseArrayCompat2 = sparseArrayCompat;
|
||||
case 9:
|
||||
f = f5;
|
||||
f2 = f6;
|
||||
cVar.a();
|
||||
while (cVar.e()) {
|
||||
c.a aVar2 = i.a;
|
||||
ArrayList arrayList6 = new ArrayList();
|
||||
cVar.b();
|
||||
double d2 = 0.0d;
|
||||
double d3 = 0.0d;
|
||||
String str7 = null;
|
||||
String str8 = null;
|
||||
char c3 = 0;
|
||||
while (cVar.e()) {
|
||||
int z5 = cVar.z(i.a);
|
||||
if (z5 == 0) {
|
||||
c3 = cVar.t().charAt(0);
|
||||
} else if (z5 == 1) {
|
||||
d2 = cVar.p();
|
||||
} else if (z5 == 2) {
|
||||
d3 = cVar.p();
|
||||
} else if (z5 == 3) {
|
||||
str7 = cVar.t();
|
||||
} else if (z5 == 4) {
|
||||
str8 = cVar.t();
|
||||
} else if (z5 != 5) {
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
} else {
|
||||
cVar.b();
|
||||
while (cVar.e()) {
|
||||
if (cVar.z(i.b) != 0) {
|
||||
if (cVar.z(b.a) != 0) {
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
} else {
|
||||
cVar.a();
|
||||
cVar.b();
|
||||
b bVar2 = null;
|
||||
b bVar3 = null;
|
||||
a aVar3 = null;
|
||||
a aVar4 = null;
|
||||
while (cVar.e()) {
|
||||
arrayList6.add((m) f.a(cVar, dVar));
|
||||
int z6 = cVar.z(b.b);
|
||||
if (z6 == 0) {
|
||||
aVar3 = d.p1(cVar, dVar);
|
||||
} else if (z6 == i) {
|
||||
aVar4 = d.p1(cVar, dVar);
|
||||
} else if (z6 == 2) {
|
||||
bVar2 = d.q1(cVar, dVar);
|
||||
} else if (z6 != 3) {
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
} else {
|
||||
bVar3 = d.q1(cVar, dVar);
|
||||
}
|
||||
i = 1;
|
||||
}
|
||||
cVar.c();
|
||||
cVar.d();
|
||||
kVar2 = new k(aVar3, aVar4, bVar2, bVar3);
|
||||
str4 = str4;
|
||||
i = 1;
|
||||
}
|
||||
}
|
||||
str3 = str4;
|
||||
cVar.d();
|
||||
kVar = kVar2 == null ? new k(null, null, null, null) : kVar2;
|
||||
} else {
|
||||
str3 = str4;
|
||||
}
|
||||
while (cVar.e()) {
|
||||
cVar.C();
|
||||
}
|
||||
cVar.c();
|
||||
}
|
||||
cVar.d();
|
||||
c.c.a.y.e eVar = new c.c.a.y.e(arrayList6, c3, d2, d3, str7, str8);
|
||||
sparseArrayCompat2.put(eVar.hashCode(), eVar);
|
||||
str4 = str3;
|
||||
i = 1;
|
||||
}
|
||||
cVar.c();
|
||||
arrayList2 = arrayList4;
|
||||
sparseArrayCompat = sparseArrayCompat2;
|
||||
f4 = f4;
|
||||
f5 = f;
|
||||
arrayList4 = arrayList2;
|
||||
f6 = f2;
|
||||
sparseArrayCompat2 = sparseArrayCompat;
|
||||
case 10:
|
||||
str2 = str4;
|
||||
cVar.d();
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 13:
|
||||
cVar.a();
|
||||
ArrayList arrayList5 = new ArrayList();
|
||||
while (cVar.e()) {
|
||||
cVar.b();
|
||||
String str9 = null;
|
||||
float f8 = 0.0f;
|
||||
float f9 = 0.0f;
|
||||
while (cVar.e()) {
|
||||
int z6 = cVar.z(d);
|
||||
if (z6 != 0) {
|
||||
if (z6 == 1) {
|
||||
f3 = f5;
|
||||
f8 = (float) cVar.p();
|
||||
} else if (z6 != 2) {
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
f6 = f6;
|
||||
} else {
|
||||
f3 = f5;
|
||||
f9 = (float) cVar.p();
|
||||
}
|
||||
f6 = f6;
|
||||
f5 = f3;
|
||||
if (cVar.z(f264c) != 0) {
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
} else {
|
||||
str9 = cVar.t();
|
||||
arrayList5.add(cVar.t());
|
||||
}
|
||||
}
|
||||
cVar.d();
|
||||
arrayList4.add(new i(str9, f8, f9));
|
||||
f5 = f5;
|
||||
f6 = f6;
|
||||
}
|
||||
f = f5;
|
||||
f2 = f6;
|
||||
cVar.c();
|
||||
arrayList2 = arrayList4;
|
||||
sparseArrayCompat = sparseArrayCompat2;
|
||||
f4 = f4;
|
||||
f5 = f;
|
||||
arrayList4 = arrayList2;
|
||||
f6 = f2;
|
||||
sparseArrayCompat2 = sparseArrayCompat;
|
||||
dVar.a("Lottie doesn't support layer effects. If you are using them for fills, strokes, trim paths etc. then try adding them directly as contents in your shape. Found: " + arrayList5);
|
||||
str2 = str4;
|
||||
j = j3;
|
||||
j3 = j;
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 14:
|
||||
f2 = (float) cVar.p();
|
||||
str2 = str4;
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 15:
|
||||
f3 = (float) cVar.p();
|
||||
str2 = str4;
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 16:
|
||||
i5 = (int) (g.c() * ((float) cVar.r()));
|
||||
str2 = str4;
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 17:
|
||||
i6 = (int) (g.c() * ((float) cVar.r()));
|
||||
str2 = str4;
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 18:
|
||||
f = (float) cVar.p();
|
||||
str2 = str4;
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 19:
|
||||
f4 = (float) cVar.p();
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 20:
|
||||
bVar = d.r1(cVar, dVar, z2);
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 21:
|
||||
str4 = cVar.t();
|
||||
i = 1;
|
||||
z2 = false;
|
||||
case 22:
|
||||
z3 = cVar.f();
|
||||
i = 1;
|
||||
z2 = false;
|
||||
default:
|
||||
arrayList2 = arrayList4;
|
||||
sparseArrayCompat = sparseArrayCompat2;
|
||||
f = f5;
|
||||
f2 = f6;
|
||||
str2 = str4;
|
||||
j = j3;
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
f4 = f4;
|
||||
f5 = f;
|
||||
arrayList4 = arrayList2;
|
||||
f6 = f2;
|
||||
sparseArrayCompat2 = sparseArrayCompat;
|
||||
j3 = j;
|
||||
str4 = str2;
|
||||
i = 1;
|
||||
z2 = false;
|
||||
}
|
||||
f4 = f4;
|
||||
}
|
||||
dVar.j = new Rect(0, 0, (int) (((float) i) * c2), (int) (((float) i2) * c2));
|
||||
dVar.k = f5;
|
||||
dVar.l = f6;
|
||||
dVar.m = f4;
|
||||
dVar.i = arrayList3;
|
||||
dVar.h = longSparseArray;
|
||||
dVar.f268c = hashMap;
|
||||
dVar.d = hashMap2;
|
||||
dVar.g = sparseArrayCompat2;
|
||||
dVar.e = hashMap3;
|
||||
dVar.f = arrayList4;
|
||||
return dVar;
|
||||
cVar.d();
|
||||
float f5 = f / f2;
|
||||
float f6 = f4 / f2;
|
||||
ArrayList arrayList6 = new ArrayList();
|
||||
if (f5 > 0.0f) {
|
||||
arrayList = arrayList4;
|
||||
arrayList2 = arrayList3;
|
||||
str = str4;
|
||||
arrayList6.add(new c.c.a.c0.a(dVar, valueOf2, valueOf2, null, 0.0f, Float.valueOf(f5)));
|
||||
} else {
|
||||
arrayList = arrayList4;
|
||||
arrayList2 = arrayList3;
|
||||
str = str4;
|
||||
}
|
||||
if (f6 <= 0.0f) {
|
||||
f6 = dVar.l;
|
||||
}
|
||||
arrayList6.add(new c.c.a.c0.a(dVar, valueOf, valueOf, null, f5, Float.valueOf(f6)));
|
||||
arrayList6.add(new c.c.a.c0.a(dVar, valueOf2, valueOf2, null, f6, Float.valueOf(Float.MAX_VALUE)));
|
||||
if (str6.endsWith(".ai") || "ai".equals(str)) {
|
||||
dVar.a("Convert your Illustrator layers to shape layers.");
|
||||
}
|
||||
return new e(arrayList, dVar, str6, j3, aVar, j2, str5, arrayList2, lVar, i2, i3, i4, f2, f3, i5, i6, jVar, kVar, arrayList6, i7, bVar, z3);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,354 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import c.c.a.a0.h0.c;
|
||||
/* compiled from: MergePathsParser */
|
||||
import android.graphics.Rect;
|
||||
import androidx.collection.LongSparseArray;
|
||||
import androidx.collection.SparseArrayCompat;
|
||||
import c.c.a.a0.i0.c;
|
||||
import c.c.a.b0.g;
|
||||
import c.c.a.d;
|
||||
import c.c.a.k;
|
||||
import c.c.a.y.e;
|
||||
import c.c.a.y.i;
|
||||
import c.c.a.y.l.m;
|
||||
import c.c.a.y.m.e;
|
||||
import com.discord.models.domain.ModelAuditLogEntry;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
/* compiled from: LottieCompositionMoshiParser */
|
||||
public class t {
|
||||
public static final c.a a = c.a.a("nm", "mm", "hd");
|
||||
public static final c.a a = c.a.a("w", "h", "ip", "op", "fr", "v", "layers", "assets", "fonts", "chars", "markers");
|
||||
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 f265c = c.a.a("list");
|
||||
public static final c.a d = c.a.a("cm", "tm", "dr");
|
||||
|
||||
public static d a(c cVar) throws IOException {
|
||||
ArrayList arrayList;
|
||||
SparseArrayCompat<e> sparseArrayCompat;
|
||||
ArrayList arrayList2;
|
||||
float f;
|
||||
float f2;
|
||||
float f3;
|
||||
float c2 = g.c();
|
||||
LongSparseArray<c.c.a.y.m.e> longSparseArray = new LongSparseArray<>();
|
||||
ArrayList arrayList3 = new ArrayList();
|
||||
HashMap hashMap = new HashMap();
|
||||
HashMap hashMap2 = new HashMap();
|
||||
HashMap hashMap3 = new HashMap();
|
||||
ArrayList arrayList4 = new ArrayList();
|
||||
SparseArrayCompat<e> sparseArrayCompat2 = new SparseArrayCompat<>();
|
||||
d dVar = new d();
|
||||
cVar.b();
|
||||
float f4 = 0.0f;
|
||||
int i = 0;
|
||||
int i2 = 0;
|
||||
float f5 = 0.0f;
|
||||
float f6 = 0.0f;
|
||||
while (cVar.e()) {
|
||||
switch (cVar.z(a)) {
|
||||
case 0:
|
||||
i = cVar.r();
|
||||
break;
|
||||
case 1:
|
||||
i2 = cVar.r();
|
||||
break;
|
||||
case 2:
|
||||
arrayList = arrayList4;
|
||||
sparseArrayCompat = sparseArrayCompat2;
|
||||
f5 = (float) cVar.p();
|
||||
f4 = f4;
|
||||
arrayList4 = arrayList;
|
||||
sparseArrayCompat2 = sparseArrayCompat;
|
||||
case 3:
|
||||
arrayList = arrayList4;
|
||||
sparseArrayCompat = sparseArrayCompat2;
|
||||
f6 = ((float) cVar.p()) - 0.01f;
|
||||
f4 = f4;
|
||||
arrayList4 = arrayList;
|
||||
sparseArrayCompat2 = sparseArrayCompat;
|
||||
case 4:
|
||||
arrayList = arrayList4;
|
||||
sparseArrayCompat = sparseArrayCompat2;
|
||||
f4 = (float) cVar.p();
|
||||
arrayList4 = arrayList;
|
||||
sparseArrayCompat2 = sparseArrayCompat;
|
||||
case 5:
|
||||
arrayList2 = arrayList4;
|
||||
sparseArrayCompat = sparseArrayCompat2;
|
||||
f = f5;
|
||||
f2 = f6;
|
||||
String[] split = cVar.t().split("\\.");
|
||||
int parseInt = Integer.parseInt(split[0]);
|
||||
boolean z2 = true;
|
||||
int parseInt2 = Integer.parseInt(split[1]);
|
||||
int parseInt3 = Integer.parseInt(split[2]);
|
||||
if (parseInt < 4 || (parseInt <= 4 && (parseInt2 < 4 || (parseInt2 <= 4 && parseInt3 < 0)))) {
|
||||
z2 = false;
|
||||
}
|
||||
if (!z2) {
|
||||
dVar.a("Lottie only supports bodymovin >= 4.4.0");
|
||||
}
|
||||
f4 = f4;
|
||||
f5 = f;
|
||||
arrayList4 = arrayList2;
|
||||
f6 = f2;
|
||||
sparseArrayCompat2 = sparseArrayCompat;
|
||||
case 6:
|
||||
arrayList2 = arrayList4;
|
||||
sparseArrayCompat = sparseArrayCompat2;
|
||||
f = f5;
|
||||
f2 = f6;
|
||||
cVar.a();
|
||||
int i3 = 0;
|
||||
while (cVar.e()) {
|
||||
c.c.a.y.m.e a2 = s.a(cVar, dVar);
|
||||
if (a2.e == e.a.IMAGE) {
|
||||
i3++;
|
||||
}
|
||||
arrayList3.add(a2);
|
||||
longSparseArray.put(a2.d, a2);
|
||||
if (i3 > 4) {
|
||||
c.c.a.b0.c.b("You have " + i3 + " images. Lottie should primarily be used with shapes. If you are using Adobe Illustrator, convert the Illustrator layers to shape layers.");
|
||||
}
|
||||
}
|
||||
cVar.c();
|
||||
f4 = f4;
|
||||
f5 = f;
|
||||
arrayList4 = arrayList2;
|
||||
f6 = f2;
|
||||
sparseArrayCompat2 = sparseArrayCompat;
|
||||
case 7:
|
||||
arrayList2 = arrayList4;
|
||||
sparseArrayCompat = sparseArrayCompat2;
|
||||
f = f5;
|
||||
f2 = f6;
|
||||
cVar.a();
|
||||
while (cVar.e()) {
|
||||
ArrayList arrayList5 = new ArrayList();
|
||||
LongSparseArray longSparseArray2 = new LongSparseArray();
|
||||
cVar.b();
|
||||
String str = null;
|
||||
String str2 = null;
|
||||
String str3 = null;
|
||||
int i4 = 0;
|
||||
int i5 = 0;
|
||||
while (cVar.e()) {
|
||||
int z3 = cVar.z(b);
|
||||
if (z3 == 0) {
|
||||
str = cVar.t();
|
||||
} else if (z3 == 1) {
|
||||
cVar.a();
|
||||
while (cVar.e()) {
|
||||
c.c.a.y.m.e a3 = s.a(cVar, dVar);
|
||||
longSparseArray2.put(a3.d, a3);
|
||||
arrayList5.add(a3);
|
||||
}
|
||||
cVar.c();
|
||||
} else if (z3 == 2) {
|
||||
i4 = cVar.r();
|
||||
} else if (z3 == 3) {
|
||||
i5 = cVar.r();
|
||||
} else if (z3 == 4) {
|
||||
str2 = cVar.t();
|
||||
} else if (z3 != 5) {
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
} else {
|
||||
str3 = cVar.t();
|
||||
}
|
||||
}
|
||||
cVar.d();
|
||||
if (str2 != null) {
|
||||
hashMap2.put(str, new k(i4, i5, str, str2, str3));
|
||||
} else {
|
||||
hashMap.put(str, arrayList5);
|
||||
}
|
||||
}
|
||||
cVar.c();
|
||||
f4 = f4;
|
||||
f5 = f;
|
||||
arrayList4 = arrayList2;
|
||||
f6 = f2;
|
||||
sparseArrayCompat2 = sparseArrayCompat;
|
||||
case 8:
|
||||
f = f5;
|
||||
f2 = f6;
|
||||
cVar.b();
|
||||
while (cVar.e()) {
|
||||
if (cVar.z(f265c) != 0) {
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
} else {
|
||||
cVar.a();
|
||||
while (cVar.e()) {
|
||||
c.a aVar = k.a;
|
||||
cVar.b();
|
||||
String str4 = null;
|
||||
String str5 = null;
|
||||
String str6 = null;
|
||||
float f7 = 0.0f;
|
||||
while (cVar.e()) {
|
||||
int z4 = cVar.z(k.a);
|
||||
if (z4 != 0) {
|
||||
if (z4 == 1) {
|
||||
str5 = cVar.t();
|
||||
} else if (z4 == 2) {
|
||||
str6 = cVar.t();
|
||||
} else if (z4 != 3) {
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
} else {
|
||||
f7 = (float) cVar.p();
|
||||
}
|
||||
arrayList4 = arrayList4;
|
||||
sparseArrayCompat2 = sparseArrayCompat2;
|
||||
} else {
|
||||
str4 = cVar.t();
|
||||
arrayList4 = arrayList4;
|
||||
}
|
||||
}
|
||||
cVar.d();
|
||||
hashMap3.put(str5, new c.c.a.y.d(str4, str5, str6, f7));
|
||||
arrayList4 = arrayList4;
|
||||
}
|
||||
cVar.c();
|
||||
}
|
||||
}
|
||||
arrayList2 = arrayList4;
|
||||
sparseArrayCompat = sparseArrayCompat2;
|
||||
cVar.d();
|
||||
f4 = f4;
|
||||
f5 = f;
|
||||
arrayList4 = arrayList2;
|
||||
f6 = f2;
|
||||
sparseArrayCompat2 = sparseArrayCompat;
|
||||
case 9:
|
||||
f = f5;
|
||||
f2 = f6;
|
||||
cVar.a();
|
||||
while (cVar.e()) {
|
||||
c.a aVar2 = j.a;
|
||||
ArrayList arrayList6 = new ArrayList();
|
||||
cVar.b();
|
||||
double d2 = 0.0d;
|
||||
double d3 = 0.0d;
|
||||
String str7 = null;
|
||||
String str8 = null;
|
||||
char c3 = 0;
|
||||
while (cVar.e()) {
|
||||
int z5 = cVar.z(j.a);
|
||||
if (z5 == 0) {
|
||||
c3 = cVar.t().charAt(0);
|
||||
} else if (z5 == 1) {
|
||||
d2 = cVar.p();
|
||||
} else if (z5 == 2) {
|
||||
d3 = cVar.p();
|
||||
} else if (z5 == 3) {
|
||||
str7 = cVar.t();
|
||||
} else if (z5 == 4) {
|
||||
str8 = cVar.t();
|
||||
} else if (z5 != 5) {
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
} else {
|
||||
cVar.b();
|
||||
while (cVar.e()) {
|
||||
if (cVar.z(j.b) != 0) {
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
} else {
|
||||
cVar.a();
|
||||
while (cVar.e()) {
|
||||
arrayList6.add((m) g.a(cVar, dVar));
|
||||
}
|
||||
cVar.c();
|
||||
}
|
||||
}
|
||||
cVar.d();
|
||||
}
|
||||
}
|
||||
cVar.d();
|
||||
c.c.a.y.e eVar = new c.c.a.y.e(arrayList6, c3, d2, d3, str7, str8);
|
||||
sparseArrayCompat2.put(eVar.hashCode(), eVar);
|
||||
}
|
||||
cVar.c();
|
||||
arrayList2 = arrayList4;
|
||||
sparseArrayCompat = sparseArrayCompat2;
|
||||
f4 = f4;
|
||||
f5 = f;
|
||||
arrayList4 = arrayList2;
|
||||
f6 = f2;
|
||||
sparseArrayCompat2 = sparseArrayCompat;
|
||||
case 10:
|
||||
cVar.a();
|
||||
while (cVar.e()) {
|
||||
cVar.b();
|
||||
String str9 = null;
|
||||
float f8 = 0.0f;
|
||||
float f9 = 0.0f;
|
||||
while (cVar.e()) {
|
||||
int z6 = cVar.z(d);
|
||||
if (z6 != 0) {
|
||||
if (z6 == 1) {
|
||||
f3 = f5;
|
||||
f8 = (float) cVar.p();
|
||||
} else if (z6 != 2) {
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
f6 = f6;
|
||||
} else {
|
||||
f3 = f5;
|
||||
f9 = (float) cVar.p();
|
||||
}
|
||||
f6 = f6;
|
||||
f5 = f3;
|
||||
} else {
|
||||
str9 = cVar.t();
|
||||
}
|
||||
}
|
||||
cVar.d();
|
||||
arrayList4.add(new i(str9, f8, f9));
|
||||
f5 = f5;
|
||||
f6 = f6;
|
||||
}
|
||||
f = f5;
|
||||
f2 = f6;
|
||||
cVar.c();
|
||||
arrayList2 = arrayList4;
|
||||
sparseArrayCompat = sparseArrayCompat2;
|
||||
f4 = f4;
|
||||
f5 = f;
|
||||
arrayList4 = arrayList2;
|
||||
f6 = f2;
|
||||
sparseArrayCompat2 = sparseArrayCompat;
|
||||
default:
|
||||
arrayList2 = arrayList4;
|
||||
sparseArrayCompat = sparseArrayCompat2;
|
||||
f = f5;
|
||||
f2 = f6;
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
f4 = f4;
|
||||
f5 = f;
|
||||
arrayList4 = arrayList2;
|
||||
f6 = f2;
|
||||
sparseArrayCompat2 = sparseArrayCompat;
|
||||
}
|
||||
f4 = f4;
|
||||
}
|
||||
dVar.j = new Rect(0, 0, (int) (((float) i) * c2), (int) (((float) i2) * c2));
|
||||
dVar.k = f5;
|
||||
dVar.l = f6;
|
||||
dVar.m = f4;
|
||||
dVar.i = arrayList3;
|
||||
dVar.h = longSparseArray;
|
||||
dVar.f269c = hashMap;
|
||||
dVar.d = hashMap2;
|
||||
dVar.g = sparseArrayCompat2;
|
||||
dVar.e = hashMap3;
|
||||
dVar.f = arrayList4;
|
||||
return dVar;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,15 +1,7 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import android.graphics.PointF;
|
||||
import c.c.a.a0.h0.c;
|
||||
import java.io.IOException;
|
||||
/* compiled from: PathParser */
|
||||
public class u implements g0<PointF> {
|
||||
public static final u a = new u();
|
||||
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
@Override // c.c.a.a0.g0
|
||||
public PointF a(c cVar, float f) throws IOException {
|
||||
return o.b(cVar, f);
|
||||
}
|
||||
import c.c.a.a0.i0.c;
|
||||
/* compiled from: MergePathsParser */
|
||||
public class u {
|
||||
public static final c.a a = c.a.a("nm", "mm", "hd");
|
||||
}
|
||||
|
|
|
@ -1,29 +1,15 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import android.graphics.PointF;
|
||||
import c.c.a.a0.h0.c;
|
||||
import c.c.a.a0.i0.c;
|
||||
import java.io.IOException;
|
||||
/* compiled from: PointFParser */
|
||||
public class v implements g0<PointF> {
|
||||
/* compiled from: PathParser */
|
||||
public class v implements h0<PointF> {
|
||||
public static final v a = new v();
|
||||
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
@Override // c.c.a.a0.g0
|
||||
@Override // c.c.a.a0.h0
|
||||
public PointF a(c cVar, float f) throws IOException {
|
||||
c.b w = cVar.w();
|
||||
if (w == c.b.BEGIN_ARRAY) {
|
||||
return o.b(cVar, f);
|
||||
}
|
||||
if (w == c.b.BEGIN_OBJECT) {
|
||||
return o.b(cVar, f);
|
||||
}
|
||||
if (w == c.b.NUMBER) {
|
||||
PointF pointF = new PointF(((float) cVar.p()) * f, ((float) cVar.p()) * f);
|
||||
while (cVar.e()) {
|
||||
cVar.C();
|
||||
}
|
||||
return pointF;
|
||||
}
|
||||
throw new IllegalArgumentException("Cannot convert json to point. Next token is " + w);
|
||||
return p.b(cVar, f);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,29 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import c.c.a.a0.h0.c;
|
||||
/* compiled from: PolystarShapeParser */
|
||||
public class w {
|
||||
public static final c.a a = c.a.a("nm", "sy", "pt", "p", "r", "or", "os", "ir", "is", "hd");
|
||||
import android.graphics.PointF;
|
||||
import c.c.a.a0.i0.c;
|
||||
import java.io.IOException;
|
||||
/* compiled from: PointFParser */
|
||||
public class w implements h0<PointF> {
|
||||
public static final w a = new w();
|
||||
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
@Override // c.c.a.a0.h0
|
||||
public PointF a(c cVar, float f) throws IOException {
|
||||
c.b w = cVar.w();
|
||||
if (w == c.b.BEGIN_ARRAY) {
|
||||
return p.b(cVar, f);
|
||||
}
|
||||
if (w == c.b.BEGIN_OBJECT) {
|
||||
return p.b(cVar, f);
|
||||
}
|
||||
if (w == c.b.NUMBER) {
|
||||
PointF pointF = new PointF(((float) cVar.p()) * f, ((float) cVar.p()) * f);
|
||||
while (cVar.e()) {
|
||||
cVar.C();
|
||||
}
|
||||
return pointF;
|
||||
}
|
||||
throw new IllegalArgumentException("Cannot convert json to point. Next token is " + w);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import c.c.a.a0.h0.c;
|
||||
/* compiled from: RectangleShapeParser */
|
||||
import c.c.a.a0.i0.c;
|
||||
/* compiled from: PolystarShapeParser */
|
||||
public class x {
|
||||
public static c.a a = c.a.a("nm", "p", "s", "r", "hd");
|
||||
public static final c.a a = c.a.a("nm", "sy", "pt", "p", "r", "or", "os", "ir", "is", "hd");
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import c.c.a.a0.h0.c;
|
||||
/* compiled from: RepeaterParser */
|
||||
import c.c.a.a0.i0.c;
|
||||
/* compiled from: RectangleShapeParser */
|
||||
public class y {
|
||||
public static c.a a = c.a.a("nm", "c", "o", "tr", "hd");
|
||||
public static c.a a = c.a.a("nm", "p", "s", "r", "hd");
|
||||
}
|
||||
|
|
|
@ -1,27 +1,7 @@
|
|||
package c.c.a.a0;
|
||||
|
||||
import c.c.a.a0.h0.c;
|
||||
import c.c.a.c0.d;
|
||||
import java.io.IOException;
|
||||
/* compiled from: ScaleXYParser */
|
||||
public class z implements g0<d> {
|
||||
public static final z a = new z();
|
||||
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
@Override // c.c.a.a0.g0
|
||||
public d a(c cVar, float f) throws IOException {
|
||||
boolean z2 = cVar.w() == c.b.BEGIN_ARRAY;
|
||||
if (z2) {
|
||||
cVar.a();
|
||||
}
|
||||
float p = (float) cVar.p();
|
||||
float p2 = (float) cVar.p();
|
||||
while (cVar.e()) {
|
||||
cVar.C();
|
||||
}
|
||||
if (z2) {
|
||||
cVar.c();
|
||||
}
|
||||
return new d((p / 100.0f) * f, (p2 / 100.0f) * f);
|
||||
}
|
||||
import c.c.a.a0.i0.c;
|
||||
/* compiled from: RepeaterParser */
|
||||
public class z {
|
||||
public static c.a a = c.a.a("nm", "c", "o", "tr", "hd");
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ public class d extends a implements Choreographer.FrameCallback {
|
|||
@VisibleForTesting
|
||||
|
||||
/* renamed from: s reason: collision with root package name */
|
||||
public boolean f265s = false;
|
||||
public boolean f266s = false;
|
||||
|
||||
@Override // android.animation.ValueAnimator, android.animation.Animator
|
||||
@MainThread
|
||||
|
@ -38,7 +38,7 @@ public class d extends a implements Choreographer.FrameCallback {
|
|||
public void doFrame(long j) {
|
||||
l();
|
||||
c.c.a.d dVar = this.r;
|
||||
if (dVar != null && this.f265s) {
|
||||
if (dVar != null && this.f266s) {
|
||||
long j2 = this.m;
|
||||
long j3 = 0;
|
||||
if (j2 != 0) {
|
||||
|
@ -150,7 +150,7 @@ public class d extends a implements Choreographer.FrameCallback {
|
|||
|
||||
@Override // android.animation.ValueAnimator, android.animation.Animator
|
||||
public boolean isRunning() {
|
||||
return this.f265s;
|
||||
return this.f266s;
|
||||
}
|
||||
|
||||
public float j() {
|
||||
|
@ -167,7 +167,7 @@ public class d extends a implements Choreographer.FrameCallback {
|
|||
}
|
||||
|
||||
public void l() {
|
||||
if (this.f265s) {
|
||||
if (this.f266s) {
|
||||
Choreographer.getInstance().removeFrameCallback(this);
|
||||
Choreographer.getInstance().postFrameCallback(this);
|
||||
}
|
||||
|
@ -176,7 +176,7 @@ public class d extends a implements Choreographer.FrameCallback {
|
|||
@MainThread
|
||||
public void m() {
|
||||
Choreographer.getInstance().removeFrameCallback(this);
|
||||
this.f265s = false;
|
||||
this.f266s = false;
|
||||
}
|
||||
|
||||
public void n(float f) {
|
||||
|
|
|
@ -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 f266c = new Path();
|
||||
public static final Path f267c = 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 = f266c;
|
||||
Path path3 = f267c;
|
||||
path3.reset();
|
||||
pathMeasure.getSegment(0.0f, max % length, path3, true);
|
||||
path2.addPath(path3);
|
||||
} else if (min < 0.0f) {
|
||||
Path path4 = f266c;
|
||||
Path path4 = f267c;
|
||||
path4.reset();
|
||||
pathMeasure.getSegment(min + length, length, path4, true);
|
||||
path2.addPath(path4);
|
||||
|
|
|
@ -14,7 +14,7 @@ public class a<T> {
|
|||
@Nullable
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public T f267c;
|
||||
public T f268c;
|
||||
@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.f267c = t2;
|
||||
this.f268c = 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.f267c = t;
|
||||
this.f268c = 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 P = c.d.b.a.a.P("Keyframe{startValue=");
|
||||
P.append((Object) this.b);
|
||||
P.append(", endValue=");
|
||||
P.append((Object) this.f267c);
|
||||
P.append((Object) this.f268c);
|
||||
P.append(", startFrame=");
|
||||
P.append(this.e);
|
||||
P.append(", endFrame=");
|
||||
|
|
|
@ -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>> f268c;
|
||||
public Map<String, List<e>> f269c;
|
||||
public Map<String, k> d;
|
||||
public Map<String, c.c.a.y.d> e;
|
||||
public List<i> f;
|
||||
|
|
|
@ -6,8 +6,8 @@ import android.graphics.BitmapFactory;
|
|||
import androidx.annotation.Nullable;
|
||||
import androidx.annotation.RawRes;
|
||||
import androidx.annotation.WorkerThread;
|
||||
import c.c.a.a0.h0.d;
|
||||
import c.c.a.a0.s;
|
||||
import c.c.a.a0.i0.d;
|
||||
import c.c.a.a0.t;
|
||||
import c.c.a.b0.g;
|
||||
import c.c.a.y.h;
|
||||
import com.discord.widgets.chat.input.autocomplete.AutocompleteViewModel;
|
||||
|
@ -107,16 +107,16 @@ public class e {
|
|||
n nVar = new n(inputStream, new y());
|
||||
m.checkParameterIsNotNull(nVar, "$this$buffer");
|
||||
r rVar = new r(nVar);
|
||||
String[] strArr = c.c.a.a0.h0.c.i;
|
||||
String[] strArr = c.c.a.a0.i0.c.i;
|
||||
return c(new d(rVar), str, true);
|
||||
} finally {
|
||||
g.b(inputStream);
|
||||
}
|
||||
}
|
||||
|
||||
public static p<d> c(c.c.a.a0.h0.c cVar, @Nullable String str, boolean z2) {
|
||||
public static p<d> c(c.c.a.a0.i0.c cVar, @Nullable String str, boolean z2) {
|
||||
try {
|
||||
d a2 = s.a(cVar);
|
||||
d a2 = t.a(cVar);
|
||||
if (str != null) {
|
||||
h hVar = h.a;
|
||||
Objects.requireNonNull(hVar);
|
||||
|
@ -166,7 +166,7 @@ public class e {
|
|||
n nVar = new n(zipInputStream, new y());
|
||||
m.checkParameterIsNotNull(nVar, "$this$buffer");
|
||||
r rVar = new r(nVar);
|
||||
String[] strArr = c.c.a.a0.h0.c.i;
|
||||
String[] strArr = c.c.a.a0.i0.c.i;
|
||||
dVar = c(new d(rVar), null, false).a;
|
||||
} else {
|
||||
if (!name.contains(".png")) {
|
||||
|
|
|
@ -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.f348c;
|
||||
b bVar = cVar.f349c;
|
||||
d dVar = null;
|
||||
if (bVar != null) {
|
||||
String str = cVar.b;
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue