Swiggy v4.51.1版本的 MD5 值为:5af7ec91512a0a8c1510e3f8bac20b8b
以下内容为反编译后的 MapLoadingStateUIKt.java 源代码,内容仅作参考
package in.swiggy.address.ui.map.data;
import androidx.compose.foundation.BackgroundKt;
import androidx.compose.foundation.ImageKt;
import androidx.compose.foundation.layout.BoxKt;
import androidx.compose.foundation.layout.BoxScopeInstance;
import androidx.compose.foundation.layout.SizeKt;
import androidx.compose.runtime.ComposerKt;
import androidx.compose.runtime.Updater;
import androidx.compose.runtime.i;
import androidx.compose.runtime.l1;
import androidx.compose.runtime.l2;
import androidx.compose.runtime.p;
import androidx.compose.runtime.r1;
import androidx.compose.runtime.s1;
import androidx.compose.runtime.y0;
import androidx.compose.ui.g;
import androidx.compose.ui.layout.LayoutKt;
import androidx.compose.ui.layout.c0;
import androidx.compose.ui.node.ComposeUiNode;
import coil.compose.AsyncImagePainter;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import in.swiggy.address.ui.map.LoadingStateMarkerKt;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.functions.n;
import kotlin.jvm.internal.o;
public final class MapLoadingStateUIKt {
public static final void a(g gVar, i iVar, final int i, final int i2) {
final Object obj;
int i3;
int i4;
g.a aVar;
i w = iVar.w(-1236291692);
int i5 = i2 & 1;
if (i5 != 0) {
i3 = i | 6;
obj = gVar;
} else if ((i & 14) == 0) {
obj = gVar;
if (w.n(obj)) {
i4 = 4;
} else {
i4 = 2;
}
i3 = i4 | i;
} else {
obj = gVar;
i3 = i;
}
if ((i3 & 11) == 2 && w.b()) {
w.j();
} else {
if (i5 != 0) {
aVar = g.a;
} else {
aVar = obj;
}
if (ComposerKt.K()) {
ComposerKt.V(-1236291692, i3, -1, "in.swiggy.address.ui.map.data.MapLoadingStateUI (MapLoadingStateUI.kt:23)");
}
w.H(1326522390);
Object I = w.I();
i.a aVar2 = i.a;
if (I == aVar2.a()) {
I = l2.e(Boolean.FALSE, null, 2, null);
w.C(I);
}
final y0 y0Var = (y0) I;
w.S();
g d = BackgroundKt.d(SizeKt.f(aVar, BitmapDescriptorFactory.HUE_RED, 1, null), in.swiggy.android.dls.compose.theme.e.a.a(w, in.swiggy.android.dls.compose.theme.e.b).i(), null, 2, null);
androidx.compose.ui.b e = androidx.compose.ui.b.a.e();
w.H(733328855);
c0 h = BoxKt.h(e, false, w, 6);
w.H(-1323940314);
int a = androidx.compose.runtime.g.a(w, 0);
p d2 = w.d();
ComposeUiNode.Companion companion = ComposeUiNode.h0;
Function0<ComposeUiNode> a2 = companion.a();
n<s1<ComposeUiNode>, i, Integer, Unit> c = LayoutKt.c(d);
if (!(w.x() instanceof androidx.compose.runtime.e)) {
androidx.compose.runtime.g.c();
}
w.h();
if (w.v()) {
w.O(a2);
} else {
w.e();
}
i a3 = Updater.a(w);
Updater.c(a3, h, companion.e());
Updater.c(a3, d2, companion.g());
Function2<ComposeUiNode, Integer, Unit> b = companion.b();
if (a3.v() || !o.f(a3.I(), Integer.valueOf(a))) {
a3.C(Integer.valueOf(a));
a3.c(Integer.valueOf(a), b);
}
c.invoke(s1.a(s1.b(w)), w, 0);
w.H(2058660585);
BoxScopeInstance boxScopeInstance = BoxScopeInstance.a;
w.H(-1346677099);
Object I2 = w.I();
if (I2 == aVar2.a()) {
I2 = new Function1<AsyncImagePainter.b.d, Unit>() {
{
super(1);
}
public final void a(AsyncImagePainter.b.d it) {
o.k(it, "it");
y0Var.setValue(Boolean.TRUE);
}
@Override
public Unit invoke(AsyncImagePainter.b.d dVar) {
a(dVar);
return Unit.a;
}
};
w.C(I2);
}
w.S();
g gVar2 = aVar;
ImageKt.a(coil.compose.d.b("https://media-assets.swiggy.com/swiggy/image/upload/fl_lossy,f_webp,q_auto:eco/address-revamp/loading_map_image.webp", null, null, null, null, (Function1) I2, null, null, 0, w, 196614, 478), null, null, null, androidx.compose.ui.layout.c.a.a(), BitmapDescriptorFactory.HUE_RED, null, w, 24624, 108);
w.H(1326522921);
if (((Boolean) y0Var.getValue()).booleanValue()) {
LoadingStateMarkerKt.a(null, w, 0, 1);
}
w.S();
w.S();
w.f();
w.S();
w.S();
if (ComposerKt.K()) {
ComposerKt.U();
}
obj = gVar2;
}
r1 y = w.y();
if (y != null) {
y.a(new Function2<i, Integer, Unit>() {
{
super(2);
}
public final void a(i iVar2, int i6) {
MapLoadingStateUIKt.a(g.this, iVar2, l1.a(i | 1), i2);
}
@Override
public Unit invoke(i iVar2, Integer num) {
a(iVar2, num.intValue());
return Unit.a;
}
});
}
}
}