Kufar v3.2.0版本的 MD5 值为:6a4d203db1c561c7e3bcd50d23fed59f
以下内容为反编译后的 a.java 源代码,内容仅作参考
package mh;
import by.kufar.promo.backend.entities.Promo;
import by.kufar.promo.backend.entities.PromoText;
import by.kufar.sharedmodels.entity.ActionData;
import by.kufar.sharedmodels.entity.LocalizedValue;
import com.rudderstack.android.sdk.core.MessageType;
import com.tapjoy.TJAdUnitConstants;
import d80.u;
import e80.m0;
import e80.t;
import java.util.List;
import k6.g;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.s;
import kotlinx.coroutines.flow.i;
import kotlinx.coroutines.flow.n0;
import kotlinx.coroutines.flow.p0;
import kotlinx.coroutines.flow.z;
@Metadata(d1 = {"\u0000>\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0006\n\u0002\u0010\b\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0005\b\u0007\u0018\u00002\u00020\u0001:\u0001\u000bB\t\b\u0007¢\u0006\u0004\b\u001e\u0010\u001fJ!\u0010\u0006\u001a\u00020\u00052\f\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00030\u0002H\u0086@ø\u0001\u0000¢\u0006\u0004\b\u0006\u0010\u0007J\u0013\u0010\b\u001a\u00020\u0005H\u0086@ø\u0001\u0000¢\u0006\u0004\b\b\u0010\tJ\u0013\u0010\n\u001a\u00020\u0005H\u0086@ø\u0001\u0000¢\u0006\u0004\b\n\u0010\tJ\u0013\u0010\u000b\u001a\u00020\u0005H\u0086@ø\u0001\u0000¢\u0006\u0004\b\u000b\u0010\tR\u0016\u0010\u000e\u001a\u00020\f8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u000b\u0010\rR\u001e\u0010\u0011\u001a\n\u0012\u0004\u0012\u00020\u0003\u0018\u00010\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u000f\u0010\u0010R\u001a\u0010\u0016\u001a\b\u0012\u0004\u0012\u00020\u00130\u00128\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0014\u0010\u0015R\u001d\u0010\u001a\u001a\b\u0012\u0004\u0012\u00020\u00130\u00178\u0006¢\u0006\f\n\u0004\b\u0006\u0010\u0018\u001a\u0004\b\u000f\u0010\u0019R\u0011\u0010\u001d\u001a\u00020\u001b8F¢\u0006\u0006\u001a\u0004\b\u0014\u0010\u001c\u0082\u0002\u0004\n\u0002\b\u0019¨\u0006 "}, d2 = {"Lmh/a;", "", "", "Lby/kufar/promo/backend/entities/Promo;", "newValues", "", "d", "(Ljava/util/List;Lj80/d;)Ljava/lang/Object;", "e", "(Lj80/d;)Ljava/lang/Object;", "f", "a", "", "I", "position", "b", "Ljava/util/List;", TJAdUnitConstants.String.USAGE_TRACKER_VALUES, "Lkotlinx/coroutines/flow/z;", "Lmh/a$a;", "c", "Lkotlinx/coroutines/flow/z;", "_changes", "Lkotlinx/coroutines/flow/n0;", "Lkotlinx/coroutines/flow/n0;", "()Lkotlinx/coroutines/flow/n0;", "changes", "", "()Z", "isInitialized", "<init>", "()V", "promo_googleRelease"}, k = 1, mv = {1, 9, 0})
public final class a {
public int position;
public List<Promo> values;
public final z<AbstractC1359a> _changes;
public final n0<AbstractC1359a> changes;
@Metadata(d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b6\u0018\u00002\u00020\u0001:\u0002\u0004\u0005B\t\b\u0004¢\u0006\u0004\b\u0002\u0010\u0003\u0082\u0001\u0002\u0006\u0007¨\u0006\b"}, d2 = {"Lmh/a$a;", "", "<init>", "()V", "a", "b", "Lmh/a$a$a;", "Lmh/a$a$b;", "promo_googleRelease"}, k = 1, mv = {1, 9, 0})
public static abstract class AbstractC1359a {
@Metadata(d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\b\n\u0002\b\u0006\u0018\u00002\u00020\u0001B\u001d\u0012\f\u0010\b\u001a\b\u0012\u0004\u0012\u00020\u00030\u0002\u0012\u0006\u0010\f\u001a\u00020\t¢\u0006\u0004\b\r\u0010\u000eR\u001d\u0010\b\u001a\b\u0012\u0004\u0012\u00020\u00030\u00028\u0006¢\u0006\f\n\u0004\b\u0004\u0010\u0005\u001a\u0004\b\u0006\u0010\u0007R\u0017\u0010\f\u001a\u00020\t8\u0006¢\u0006\f\n\u0004\b\u0006\u0010\n\u001a\u0004\b\u0004\u0010\u000b¨\u0006\u000f"}, d2 = {"Lmh/a$a$a;", "Lmh/a$a;", "", "Lby/kufar/promo/backend/entities/Promo;", "a", "Ljava/util/List;", "b", "()Ljava/util/List;", TJAdUnitConstants.String.USAGE_TRACKER_VALUES, "", "I", "()I", "position", "<init>", "(Ljava/util/List;I)V", "promo_googleRelease"}, k = 1, mv = {1, 9, 0})
public static final class C1360a extends AbstractC1359a {
public final List<Promo> values;
public final int position;
public C1360a(List<Promo> values, int i11) {
super(null);
s.j(values, "values");
this.values = values;
this.position = i11;
}
public final int getPosition() {
return this.position;
}
public final List<Promo> b() {
return this.values;
}
}
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\bÆ\u0002\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003¨\u0006\u0004"}, d2 = {"Lmh/a$a$b;", "Lmh/a$a;", "<init>", "()V", "promo_googleRelease"}, k = 1, mv = {1, 9, 0})
public static final class b extends AbstractC1359a {
public static final b f85533a = new b();
public b() {
super(null);
}
}
public AbstractC1359a() {
}
public AbstractC1359a(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
}
public a() {
z<AbstractC1359a> a11 = p0.a(AbstractC1359a.b.f85533a);
this._changes = a11;
this.changes = i.c(a11);
}
public final Object a(j80.d<? super Unit> dVar) {
Object emit;
this.position = 0;
List<Promo> list = this.values;
if (list != null && (emit = this._changes.emit(new AbstractC1359a.C1360a(list, 0), dVar)) == k80.c.f()) {
return emit;
}
return Unit.f82492a;
}
public final n0<AbstractC1359a> b() {
return this.changes;
}
public final boolean c() {
if (this.values != null) {
return true;
}
return false;
}
public final Object d(List<Promo> list, j80.d<? super Unit> dVar) {
this.values = list;
Object emit = this._changes.emit(new AbstractC1359a.C1360a(list, this.position), dVar);
if (emit == k80.c.f()) {
return emit;
}
return Unit.f82492a;
}
public final Object e(j80.d<? super Unit> dVar) {
PromoText promoText = new PromoText(new LocalizedValue("Увайдзіце ў профіль, каб...", "Войдите в профиль, чтобы..."), null, 2, null);
PromoText promoText2 = new PromoText(new LocalizedValue("Падаваць аб'явы, захоўваць у Абранае, атрымліваць і адпраўляць паведамленні", "Подавать объявления, сохранять в Избранное, получать и отправлять сообщения"), null, 2, null);
List e11 = e80.s.e(Promo.AccountType.NOT_AUTHORIZED);
PromoText promoText3 = new PromoText(new LocalizedValue("Зрабіце вашыя аб'явы яскравей!", "Сделайте свои объявления ярче!"), null, 2, null);
PromoText promoText4 = new PromoText(new LocalizedValue("Паднімайце іх, вылучайце або замацоўвайце ў VIP", "Поднимайте их, выделяйте или закрепляйте в VIP"), null, 2, null);
PromoText promoText5 = new PromoText(new LocalizedValue("Даведацца падрабязней", "Узнать подробнее"), null, 2, null);
ActionData actionData = new ActionData("open_url", m0.e(u.a("url", g.f81786a.m())));
Promo.AccountType accountType = Promo.AccountType.PRIVATE;
List<Promo> p11 = t.p(new Promo("login_register", null, promoText, promoText2, null, null, false, new ActionData("open_screen", m0.e(u.a(MessageType.SCREEN, "signup"))), e11, 114, null), new Promo("buy_vas", null, promoText3, promoText4, promoText5, null, false, actionData, t.p(Promo.AccountType.COMPANY, accountType), 34, null), new Promo("buy_installment", null, new PromoText(new LocalizedValue("Пакупайце з Куфар Растэрміноўкай", "Покупайте с Куфар Рассрочкой"), null, 2, null), new PromoText(new LocalizedValue("Забірайце тавар зараз - плаціце потым!", "Забирайте товар сейчас - платите потом!"), null, 2, null), new PromoText(new LocalizedValue("Даведацца падрабязней", "Узнать подробнее"), null, 2, null), null, false, new ActionData("open_url", m0.e(u.a("url", "https://rassrochka.kufar.by/buyers.html?utm_source=Android&utm_medium=InstallmentBuyerPromoBlock&utm_campaign=ProdPromoBlock072020"))), e80.s.e(accountType), 98, null));
this.values = p11;
z<AbstractC1359a> zVar = this._changes;
s.g(p11);
Object emit = zVar.emit(new AbstractC1359a.C1360a(p11, this.position), dVar);
if (emit == k80.c.f()) {
return emit;
}
return Unit.f82492a;
}
public final Object f(j80.d<? super Unit> dVar) {
Object emit;
int i11 = this.position + 1;
this.position = i11;
List<Promo> list = this.values;
if (list != null && (emit = this._changes.emit(new AbstractC1359a.C1360a(list, i11), dVar)) == k80.c.f()) {
return emit;
}
return Unit.f82492a;
}
}