mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-30 11:02:31 -06:00
675 lines
53 KiB
Java
675 lines
53 KiB
Java
|
package androidx.compose.material3;
|
|||
|
|
|||
|
import androidx.compose.foundation.BackgroundKt;
|
|||
|
import androidx.compose.foundation.BorderKt;
|
|||
|
import androidx.compose.foundation.BorderStroke;
|
|||
|
import androidx.compose.foundation.ClickableKt;
|
|||
|
import androidx.compose.foundation.interaction.InteractionSourceKt;
|
|||
|
import androidx.compose.foundation.interaction.MutableInteractionSource;
|
|||
|
import androidx.compose.foundation.layout.BoxKt;
|
|||
|
import androidx.compose.foundation.layout.BoxScopeInstance;
|
|||
|
import androidx.compose.foundation.selection.SelectableKt;
|
|||
|
import androidx.compose.foundation.selection.ToggleableKt;
|
|||
|
import androidx.compose.material.ripple.RippleKt;
|
|||
|
import androidx.compose.runtime.Applier;
|
|||
|
import androidx.compose.runtime.ComposablesKt;
|
|||
|
import androidx.compose.runtime.Composer;
|
|||
|
import androidx.compose.runtime.ComposerKt;
|
|||
|
import androidx.compose.runtime.CompositionLocalKt;
|
|||
|
import androidx.compose.runtime.ProvidableCompositionLocal;
|
|||
|
import androidx.compose.runtime.ProvidedValue;
|
|||
|
import androidx.compose.runtime.SkippableUpdater;
|
|||
|
import androidx.compose.runtime.Updater;
|
|||
|
import androidx.compose.runtime.internal.ComposableLambdaKt;
|
|||
|
import androidx.compose.ui.Alignment;
|
|||
|
import androidx.compose.ui.Modifier;
|
|||
|
import androidx.compose.ui.draw.ClipKt;
|
|||
|
import androidx.compose.ui.draw.ShadowKt;
|
|||
|
import androidx.compose.ui.graphics.Color;
|
|||
|
import androidx.compose.ui.graphics.RectangleShapeKt;
|
|||
|
import androidx.compose.ui.graphics.Shape;
|
|||
|
import androidx.compose.ui.input.pointer.PointerInputScope;
|
|||
|
import androidx.compose.ui.input.pointer.SuspendingPointerInputFilterKt;
|
|||
|
import androidx.compose.ui.layout.LayoutKt;
|
|||
|
import androidx.compose.ui.layout.MeasurePolicy;
|
|||
|
import androidx.compose.ui.node.ComposeUiNode;
|
|||
|
import androidx.compose.ui.platform.CompositionLocalsKt;
|
|||
|
import androidx.compose.ui.platform.ViewConfiguration;
|
|||
|
import androidx.compose.ui.semantics.SemanticsModifierKt;
|
|||
|
import androidx.compose.ui.semantics.SemanticsPropertiesKt;
|
|||
|
import androidx.compose.ui.semantics.SemanticsPropertyReceiver;
|
|||
|
import androidx.compose.ui.unit.Density;
|
|||
|
import androidx.compose.ui.unit.Dp;
|
|||
|
import androidx.compose.ui.unit.LayoutDirection;
|
|||
|
import kotlin.Metadata;
|
|||
|
import kotlin.ResultKt;
|
|||
|
import kotlin.Unit;
|
|||
|
import kotlin.coroutines.Continuation;
|
|||
|
import kotlin.coroutines.intrinsics.IntrinsicsKt;
|
|||
|
import kotlin.coroutines.jvm.internal.DebugMetadata;
|
|||
|
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
|||
|
import kotlin.jvm.functions.Function0;
|
|||
|
import kotlin.jvm.functions.Function1;
|
|||
|
import kotlin.jvm.functions.Function2;
|
|||
|
import kotlin.jvm.functions.Function3;
|
|||
|
import kotlin.jvm.internal.Intrinsics;
|
|||
|
|
|||
|
/* compiled from: Surface.kt */
|
|||
|
@Metadata(d1 = {"\u0000P\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0018\u0002\n\u0002\b\n\u001a\u0092\u0001\u0010\u0005\u001a\u00020\u00062\f\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\u00060\b2\b\b\u0002\u0010\t\u001a\u00020\n2\b\b\u0002\u0010\u000b\u001a\u00020\f2\b\b\u0002\u0010\r\u001a\u00020\u000e2\b\b\u0002\u0010\u000f\u001a\u00020\u00102\b\b\u0002\u0010\u0011\u001a\u00020\u00102\b\b\u0002\u0010\u0012\u001a\u00020\u00022\b\b\u0002\u0010\u0013\u001a\u00020\u00022\n\b\u0002\u0010\u0014\u001a\u0004\u0018\u00010\u00152\b\b\u0002\u0010\u0016\u001a\u00020\u00172\u0011\u0010\u0018\u001a\r\u0012\u0004\u0012\u00020\u00060\b¢\u0006\u0002\b\u0019H\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b\u001a\u0010\u001b\u001ap\u0010\u0005\u001a\u00020\u00062\b\b\u0002\u0010\t\u001a\u00020\n2\b\b\u0002\u0010\r\u001a\u00020\u000e2\b\b\u0002\u0010\u000f\u001a\u00020\u00102\b\b\u0002\u0010\u0011\u001a\u00020\u00102\b\b\u0002\u0010\u0012\u001a\u00020\u00022\b\b\u0002\u0010\u0013\u001a\u00020\u00022\n\b\u0002\u0010\u0014\u001a\u0004\u0018\u00010\u00152\u0011\u0010\u0018\u001a\r\u0012\u0004\u0012\u00020\u00060\b¢\u0006\u0002\b\u0019H\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b\u001c\u0010\u001d\u001a\u009a\u0001\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u001e\u001a\u00020\f2\f\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\u00060\b2\b\b\u0002\u0010\t\u001a\u00020\n2\b\b\u0002\u0010\u000b\u001a\u00020\f2\b\b\u0002\u0010\r\u001a\u00020\u000e2\b\b\u0002\u0010\u000f\u001a\u00020\u00102\b\b\u0002\u0010\u0011\u001a\u00020\u00102\b\b\u0002\u0010\u0012\u001a\u00020\u00022\b\b\u0002\u0010\u0013\u001a\u00020\u00022\n\b\u0002\u0010\u0014\u001a\u0004\u0018\u00010\u00152\b\b\u0002\u0010\u0016\u001a\u00020\u00172\u0011\u0010\u0018\u001a\r\u0012\u0004\u0012\u00020\u00060\b¢\u0006\u0002\b\u0019H\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b\u001f\u0010 \u001a \u0001\u0010\u0005\u001a\u00020\u00062\u0006\u0010!\u001a\u00020\f2\u0012\u0010\"\u001a\u000e\u0012\u0004\u0012\u00020\f\u0012\u0004\u0012\u00020\u00060#2\b\b\u0002\u0010\t\u001a\u00020\n2\b\b\u0002\u0010\u000b\u001a\u00020\f2\b\b\u0002\u0010\r\u001a\u00020\u000e2\b\b\u0002\u0010\u000f\u001a\u00020\u00102\b\b\u0002\u0010\u0011\u001a\u00020\u00102\b\b\u0002\u0010\u0012\u001a\u00020\u00022\b\b\u0002\u0010\u0013\u001a\u00020\u00022\n\b\u0002\u0010\u0014\u001a\u0004\u0018\u00010\u00152\b\b\u0002\u0010\u0016\u001a\u00020\u00172\u0011\u0010\u0018\u001a\r\u0012\u0004\u0012\u00020\u00060\b¢\u0006\u0002\b\u0019H\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b\u001f\u0010$\u001a%\u0010%\u001a\u00020\u00102\u0006\u0010\u000f\u001a\u00020\u00102\u0006\u0010&\u001a\u00020\u0002H\u0003ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b'\u0010(\u001a;\u0010)\u001a\u00020\n*\u00020\n2\u0006\u0010\r\u001a\u00020\u000e2\u0006\u0010*\u001a\u00020\u00102\b\u0010\u0014\u001a\u0004\u0018\u00010\u00152\u0006\u0010\u0013\u001a\u00020\u0002H\u0002ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b+\u0010,\"\u001a\u0010\u0000\u001a\b\u0012\u0004\u0012\u00020\u00020\u0001ø\u0001\u0000¢\u0006\b\n\u0000\u001a\u0004\b\u0003\u0010\u0004\u0082\u0002\u000b\n\u0002\b\u0019\n\u0005\b¡\u001e0\u0001¨\u0006-"}, d2 = {"LocalAbsoluteTonalElevation", "Landroidx/compose/runtime/ProvidableCompositionLocal;", "Landroidx/compose/ui/unit/Dp;", "getLocalAbsoluteTonalElevation", "()Landroidx/compose/runtime/ProvidableCompositionLocal;", "Surface", "", "onClick", "Lkotlin/Function0;", "modifier", "Landroidx/compose/ui/Modifier;", "enabled", "", "shape", "Landroidx/compose/ui/graphics/Shape;", "color", "Landroidx/compose/ui/graphics/Color;", "contentColor", "tonalElevation", "shadowElevation", "border", "Landroidx/compose/foundation/BorderStroke;", "interactionSource", "Landroidx/compose/foundation/interaction/MutableInteractionSource;", "content",
|
|||
|
/* loaded from: classes.dex */
|
|||
|
public final class SurfaceKt {
|
|||
|
private static final ProvidableCompositionLocal<Dp> LocalAbsoluteTonalElevation = CompositionLocalKt.compositionLocalOf$default(null, new Function0<Dp>() { // from class: androidx.compose.material3.SurfaceKt$LocalAbsoluteTonalElevation$1
|
|||
|
@Override // kotlin.jvm.functions.Function0
|
|||
|
public /* bridge */ /* synthetic */ Dp invoke() {
|
|||
|
return Dp.m4881boximpl(m1492invokeD9Ej5fM());
|
|||
|
}
|
|||
|
|
|||
|
/* renamed from: invoke-D9Ej5fM, reason: not valid java name */
|
|||
|
public final float m1492invokeD9Ej5fM() {
|
|||
|
return Dp.m4883constructorimpl(0);
|
|||
|
}
|
|||
|
}, 1, null);
|
|||
|
|
|||
|
public static final ProvidableCompositionLocal<Dp> getLocalAbsoluteTonalElevation() {
|
|||
|
return LocalAbsoluteTonalElevation;
|
|||
|
}
|
|||
|
|
|||
|
/* renamed from: Surface-T9BRK9s, reason: not valid java name */
|
|||
|
public static final void m1484SurfaceT9BRK9s(Modifier modifier, Shape shape, long j, long j2, float f, float f2, BorderStroke borderStroke, final Function2<? super Composer, ? super Integer, Unit> content, Composer composer, final int i, int i2) {
|
|||
|
Intrinsics.checkNotNullParameter(content, "content");
|
|||
|
composer.startReplaceableGroup(-513881741);
|
|||
|
ComposerKt.sourceInformation(composer, "C(Surface)P(4,6,1:c#ui.graphics.Color,3:c#ui.graphics.Color,7:c#ui.unit.Dp,5:c#ui.unit.Dp)102@5102L11,103@5149L22,*109@5366L7,110@5395L784:Surface.kt#uh7d8r");
|
|||
|
final Modifier.Companion companion = (i2 & 1) != 0 ? Modifier.INSTANCE : modifier;
|
|||
|
final Shape rectangleShape = (i2 & 2) != 0 ? RectangleShapeKt.getRectangleShape() : shape;
|
|||
|
final long m1068getSurface0d7_KjU = (i2 & 4) != 0 ? MaterialTheme.INSTANCE.getColorScheme(composer, 6).m1068getSurface0d7_KjU() : j;
|
|||
|
long m1104contentColorForek8zF_U = (i2 & 8) != 0 ? ColorSchemeKt.m1104contentColorForek8zF_U(m1068getSurface0d7_KjU, composer, (i >> 6) & 14) : j2;
|
|||
|
float m4883constructorimpl = (i2 & 16) != 0 ? Dp.m4883constructorimpl(0) : f;
|
|||
|
float m4883constructorimpl2 = (i2 & 32) != 0 ? Dp.m4883constructorimpl(0) : f2;
|
|||
|
BorderStroke borderStroke2 = (i2 & 64) != 0 ? null : borderStroke;
|
|||
|
if (ComposerKt.isTraceInProgress()) {
|
|||
|
ComposerKt.traceEventStart(-513881741, i, -1, "androidx.compose.material3.Surface (Surface.kt:99)");
|
|||
|
}
|
|||
|
ProvidableCompositionLocal<Dp> providableCompositionLocal = LocalAbsoluteTonalElevation;
|
|||
|
ComposerKt.sourceInformationMarkerStart(composer, 2023513938, "CC:CompositionLocal.kt#9igjgp");
|
|||
|
Object consume = composer.consume(providableCompositionLocal);
|
|||
|
ComposerKt.sourceInformationMarkerEnd(composer);
|
|||
|
final float m4883constructorimpl3 = Dp.m4883constructorimpl(((Dp) consume).m4897unboximpl() + m4883constructorimpl);
|
|||
|
ProvidedValue[] providedValueArr = {ContentColorKt.getLocalContentColor().provides(Color.m2629boximpl(m1104contentColorForek8zF_U)), providableCompositionLocal.provides(Dp.m4881boximpl(m4883constructorimpl3))};
|
|||
|
final BorderStroke borderStroke3 = borderStroke2;
|
|||
|
final float f3 = m4883constructorimpl2;
|
|||
|
CompositionLocalKt.CompositionLocalProvider((ProvidedValue<?>[]) providedValueArr, ComposableLambdaKt.composableLambda(composer, -70914509, true, new Function2<Composer, Integer, Unit>() { // from class: androidx.compose.material3.SurfaceKt$Surface$1
|
|||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|||
|
/* JADX WARN: Multi-variable type inference failed */
|
|||
|
{
|
|||
|
super(2);
|
|||
|
}
|
|||
|
|
|||
|
@Override // kotlin.jvm.functions.Function2
|
|||
|
public /* bridge */ /* synthetic */ Unit invoke(Composer composer2, Integer num) {
|
|||
|
invoke(composer2, num.intValue());
|
|||
|
return Unit.INSTANCE;
|
|||
|
}
|
|||
|
|
|||
|
public final void invoke(Composer composer2, int i3) {
|
|||
|
long m1491surfaceColorAtElevationCLU3JFs;
|
|||
|
Modifier m1490surface8ww4TTg;
|
|||
|
ComposerKt.sourceInformation(composer2, "C118@5685L139,114@5549L624:Surface.kt#uh7d8r");
|
|||
|
if ((i3 & 11) != 2 || !composer2.getSkipping()) {
|
|||
|
if (ComposerKt.isTraceInProgress()) {
|
|||
|
ComposerKt.traceEventStart(-70914509, i3, -1, "androidx.compose.material3.Surface.<anonymous> (Surface.kt:113)");
|
|||
|
}
|
|||
|
Modifier modifier2 = Modifier.this;
|
|||
|
Shape shape2 = rectangleShape;
|
|||
|
m1491surfaceColorAtElevationCLU3JFs = SurfaceKt.m1491surfaceColorAtElevationCLU3JFs(m1068getSurface0d7_KjU, m4883constructorimpl3, composer2, (i >> 6) & 14);
|
|||
|
m1490surface8ww4TTg = SurfaceKt.m1490surface8ww4TTg(modifier2, shape2, m1491surfaceColorAtElevationCLU3JFs, borderStroke3, f3);
|
|||
|
Modifier pointerInput = SuspendingPointerInputFilterKt.pointerInput(SemanticsModifierKt.semantics(m1490surface8ww4TTg, false, new Function1<SemanticsPropertyReceiver, Unit>() { // from class: androidx.compose.material3.SurfaceKt$Surface$1.1
|
|||
|
@Override // kotlin.jvm.functions.Function1
|
|||
|
public /* bridge */ /* synthetic */ Unit invoke(SemanticsPropertyReceiver semanticsPropertyReceiver) {
|
|||
|
invoke2(semanticsPropertyReceiver);
|
|||
|
return Unit.INSTANCE;
|
|||
|
}
|
|||
|
|
|||
|
/* renamed from: invoke, reason: avoid collision after fix types in other method */
|
|||
|
public final void invoke2(SemanticsPropertyReceiver semantics) {
|
|||
|
Intrinsics.checkNotNullParameter(semantics, "$this$semantics");
|
|||
|
SemanticsPropertiesKt.setContainer(semantics, true);
|
|||
|
}
|
|||
|
}), Unit.INSTANCE, new AnonymousClass2(null));
|
|||
|
Function2<Composer, Integer, Unit> function2 = content;
|
|||
|
int i4 = i;
|
|||
|
composer2.startReplaceableGroup(733328855);
|
|||
|
ComposerKt.sourceInformation(composer2, "CC(Box)P(2,1,3)70@3267L67,71@3339L130:Box.kt#2w3rfo");
|
|||
|
MeasurePolicy rememberBoxMeasurePolicy = BoxKt.rememberBoxMeasurePolicy(Alignment.INSTANCE.getTopStart(), true, composer2, 48);
|
|||
|
composer2.startReplaceableGroup(-1323940314);
|
|||
|
ComposerKt.sourceInformation(composer2, "C(Layout)P(!1,2)74@2915L7,75@2970L7,76@3029L7,77@3041L460:Layout.kt#80mrfh");
|
|||
|
ProvidableCompositionLocal<Density> localDensity = CompositionLocalsKt.getLocalDensity();
|
|||
|
ComposerKt.sourceInformationMarkerStart(composer2, 2023513938, "C:CompositionLocal.kt#9igjgp");
|
|||
|
Object consume2 = composer2.consume(localDensity);
|
|||
|
ComposerKt.sourceInformationMarkerEnd(composer2);
|
|||
|
Density density = (Density) consume2;
|
|||
|
ProvidableCompositionLocal<LayoutDirection> localLayoutDirection = CompositionLocalsKt.getLocalLayoutDirection();
|
|||
|
ComposerKt.sourceInformationMarkerStart(composer2, 2023513938, "C:CompositionLocal.kt#9igjgp");
|
|||
|
Object consume3 = composer2.consume(localLayoutDirection);
|
|||
|
ComposerKt.sourceInformationMarkerEnd(composer2);
|
|||
|
LayoutDirection layoutDirection = (LayoutDirection) consume3;
|
|||
|
ProvidableCompositionLocal<ViewConfiguration> localViewConfiguration = CompositionLocalsKt.getLocalViewConfiguration();
|
|||
|
ComposerKt.sourceInformationMarkerStart(composer2, 2023513938, "C:CompositionLocal.kt#9igjgp");
|
|||
|
Object consume4 = composer2.consume(localViewConfiguration);
|
|||
|
ComposerKt.sourceInformationMarkerEnd(composer2);
|
|||
|
ViewConfiguration viewConfiguration = (ViewConfiguration) consume4;
|
|||
|
Function0<ComposeUiNode> constructor = ComposeUiNode.INSTANCE.getConstructor();
|
|||
|
Function3<SkippableUpdater<ComposeUiNode>, Composer, Integer, Unit> materializerOf = LayoutKt.materializerOf(pointerInput);
|
|||
|
if (!(composer2.getApplier() instanceof Applier)) {
|
|||
|
ComposablesKt.invalidApplier();
|
|||
|
}
|
|||
|
composer2.startReusableNode();
|
|||
|
if (composer2.getInserting()) {
|
|||
|
composer2.createNode(constructor);
|
|||
|
} else {
|
|||
|
composer2.useNode();
|
|||
|
}
|
|||
|
composer2.disableReusing();
|
|||
|
Composer m2273constructorimpl = Updater.m2273constructorimpl(composer2);
|
|||
|
Updater.m2280setimpl(m2273constructorimpl, rememberBoxMeasurePolicy, ComposeUiNode.INSTANCE.getSetMeasurePolicy());
|
|||
|
Updater.m2280setimpl(m2273constructorimpl, density, ComposeUiNode.INSTANCE.getSetDensity());
|
|||
|
Updater.m2280setimpl(m2273constructorimpl, layoutDirection, ComposeUiNode.INSTANCE.getSetLayoutDirection());
|
|||
|
Updater.m2280setimpl(m2273constructorimpl, viewConfiguration, ComposeUiNode.INSTANCE.getSetViewConfiguration());
|
|||
|
composer2.enableReusing();
|
|||
|
materializerOf.invoke(SkippableUpdater.m2264boximpl(SkippableUpdater.m2265constructorimpl(composer2)), composer2, 0);
|
|||
|
composer2.startReplaceableGroup(2058660585);
|
|||
|
ComposerKt.sourceInformationMarkerStart(composer2, -1253629305, "C72@3384L9:Box.kt#2w3rfo");
|
|||
|
BoxScopeInstance boxScopeInstance = BoxScopeInstance.INSTANCE;
|
|||
|
ComposerKt.sourceInformationMarkerStart(composer2, -1301758814, "C131@6154L9:Surface.kt#uh7d8r");
|
|||
|
function2.invoke(composer2, Integer.valueOf((i4 >> 21) & 14));
|
|||
|
ComposerKt.sourceInformationMarkerEnd(composer2);
|
|||
|
ComposerKt.sourceInformationMarkerEnd(composer2);
|
|||
|
composer2.endReplaceableGroup();
|
|||
|
composer2.endNode();
|
|||
|
composer2.endReplaceableGroup();
|
|||
|
composer2.endReplaceableGroup();
|
|||
|
if (ComposerKt.isTraceInProgress()) {
|
|||
|
ComposerKt.traceEventEnd();
|
|||
|
return;
|
|||
|
}
|
|||
|
return;
|
|||
|
}
|
|||
|
composer2.skipToGroupEnd();
|
|||
|
}
|
|||
|
|
|||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|||
|
/* compiled from: Surface.kt */
|
|||
|
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
|
|||
|
@DebugMetadata(c = "androidx.compose.material3.SurfaceKt$Surface$1$2", f = "Surface.kt", i = {}, l = {}, m = "invokeSuspend", n = {}, s = {})
|
|||
|
/* renamed from: androidx.compose.material3.SurfaceKt$Surface$1$2, reason: invalid class name */
|
|||
|
/* loaded from: classes.dex */
|
|||
|
public static final class AnonymousClass2 extends SuspendLambda implements Function2<PointerInputScope, Continuation<? super Unit>, Object> {
|
|||
|
int label;
|
|||
|
|
|||
|
AnonymousClass2(Continuation<? super AnonymousClass2> continuation) {
|
|||
|
super(2, continuation);
|
|||
|
}
|
|||
|
|
|||
|
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
|||
|
public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
|
|||
|
return new AnonymousClass2(continuation);
|
|||
|
}
|
|||
|
|
|||
|
@Override // kotlin.jvm.functions.Function2
|
|||
|
public final Object invoke(PointerInputScope pointerInputScope, Continuation<? super Unit> continuation) {
|
|||
|
return ((AnonymousClass2) create(pointerInputScope, continuation)).invokeSuspend(Unit.INSTANCE);
|
|||
|
}
|
|||
|
|
|||
|
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
|||
|
public final Object invokeSuspend(Object obj) {
|
|||
|
IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
|||
|
if (this.label == 0) {
|
|||
|
ResultKt.throwOnFailure(obj);
|
|||
|
return Unit.INSTANCE;
|
|||
|
}
|
|||
|
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
|||
|
}
|
|||
|
}
|
|||
|
}), composer, 56);
|
|||
|
if (ComposerKt.isTraceInProgress()) {
|
|||
|
ComposerKt.traceEventEnd();
|
|||
|
}
|
|||
|
composer.endReplaceableGroup();
|
|||
|
}
|
|||
|
|
|||
|
/* renamed from: Surface-o_FOJdg, reason: not valid java name */
|
|||
|
public static final void m1487Surfaceo_FOJdg(final Function0<Unit> onClick, Modifier modifier, boolean z, Shape shape, long j, long j2, float f, float f2, BorderStroke borderStroke, MutableInteractionSource mutableInteractionSource, final Function2<? super Composer, ? super Integer, Unit> content, Composer composer, final int i, final int i2, int i3) {
|
|||
|
MutableInteractionSource mutableInteractionSource2;
|
|||
|
Intrinsics.checkNotNullParameter(onClick, "onClick");
|
|||
|
Intrinsics.checkNotNullParameter(content, "content");
|
|||
|
composer.startReplaceableGroup(-789752804);
|
|||
|
ComposerKt.sourceInformation(composer, "C(Surface)P(7,6,4,9,1:c#ui.graphics.Color,3:c#ui.graphics.Color,10:c#ui.unit.Dp,8:c#ui.unit.Dp!1,5)206@10475L11,207@10522L22,211@10693L39,*214@10830L7,215@10859L917:Surface.kt#uh7d8r");
|
|||
|
Modifier.Companion companion = (i3 & 2) != 0 ? Modifier.INSTANCE : modifier;
|
|||
|
final boolean z2 = (i3 & 4) != 0 ? true : z;
|
|||
|
Shape rectangleShape = (i3 & 8) != 0 ? RectangleShapeKt.getRectangleShape() : shape;
|
|||
|
long m1068getSurface0d7_KjU = (i3 & 16) != 0 ? MaterialTheme.INSTANCE.getColorScheme(composer, 6).m1068getSurface0d7_KjU() : j;
|
|||
|
long m1104contentColorForek8zF_U = (i3 & 32) != 0 ? ColorSchemeKt.m1104contentColorForek8zF_U(m1068getSurface0d7_KjU, composer, (i >> 12) & 14) : j2;
|
|||
|
float m4883constructorimpl = (i3 & 64) != 0 ? Dp.m4883constructorimpl(0) : f;
|
|||
|
float m4883constructorimpl2 = (i3 & 128) != 0 ? Dp.m4883constructorimpl(0) : f2;
|
|||
|
BorderStroke borderStroke2 = (i3 & 256) != 0 ? null : borderStroke;
|
|||
|
if ((i3 & 512) != 0) {
|
|||
|
composer.startReplaceableGroup(-492369756);
|
|||
|
ComposerKt.sourceInformation(composer, "CC(remember):Composables.kt#9igjgp");
|
|||
|
Object rememberedValue = composer.rememberedValue();
|
|||
|
if (rememberedValue == Composer.INSTANCE.getEmpty()) {
|
|||
|
rememberedValue = InteractionSourceKt.MutableInteractionSource();
|
|||
|
composer.updateRememberedValue(rememberedValue);
|
|||
|
}
|
|||
|
composer.endReplaceableGroup();
|
|||
|
mutableInteractionSource2 = (MutableInteractionSource) rememberedValue;
|
|||
|
} else {
|
|||
|
mutableInteractionSource2 = mutableInteractionSource;
|
|||
|
}
|
|||
|
if (ComposerKt.isTraceInProgress()) {
|
|||
|
ComposerKt.traceEventStart(-789752804, i, i2, "androidx.compose.material3.Surface (Surface.kt:201)");
|
|||
|
}
|
|||
|
ProvidableCompositionLocal<Dp> providableCompositionLocal = LocalAbsoluteTonalElevation;
|
|||
|
ComposerKt.sourceInformationMarkerStart(composer, 2023513938, "CC:CompositionLocal.kt#9igjgp");
|
|||
|
Object consume = composer.consume(providableCompositionLocal);
|
|||
|
ComposerKt.sourceInformationMarkerEnd(composer);
|
|||
|
final float m4883constructorimpl3 = Dp.m4883constructorimpl(((Dp) consume).m4897unboximpl() + m4883constructorimpl);
|
|||
|
ProvidedValue[] providedValueArr = {ContentColorKt.getLocalContentColor().provides(Color.m2629boximpl(m1104contentColorForek8zF_U)), providableCompositionLocal.provides(Dp.m4881boximpl(m4883constructorimpl3))};
|
|||
|
final Modifier modifier2 = companion;
|
|||
|
final Shape shape2 = rectangleShape;
|
|||
|
final long j3 = m1068getSurface0d7_KjU;
|
|||
|
final BorderStroke borderStroke3 = borderStroke2;
|
|||
|
final float f3 = m4883constructorimpl2;
|
|||
|
final MutableInteractionSource mutableInteractionSource3 = mutableInteractionSource2;
|
|||
|
CompositionLocalKt.CompositionLocalProvider((ProvidedValue<?>[]) providedValueArr, ComposableLambdaKt.composableLambda(composer, 1279702876, true, new Function2<Composer, Integer, Unit>() { // from class: androidx.compose.material3.SurfaceKt$Surface$3
|
|||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|||
|
/* JADX WARN: Multi-variable type inference failed */
|
|||
|
{
|
|||
|
super(2);
|
|||
|
}
|
|||
|
|
|||
|
@Override // kotlin.jvm.functions.Function2
|
|||
|
public /* bridge */ /* synthetic */ Unit invoke(Composer composer2, Integer num) {
|
|||
|
invoke(composer2, num.intValue());
|
|||
|
return Unit.INSTANCE;
|
|||
|
}
|
|||
|
|
|||
|
public final void invoke(Composer composer2, int i4) {
|
|||
|
long m1491surfaceColorAtElevationCLU3JFs;
|
|||
|
Modifier m1490surface8ww4TTg;
|
|||
|
ComposerKt.sourceInformation(composer2, "C224@11200L139,233@11570L16,219@11013L757:Surface.kt#uh7d8r");
|
|||
|
if ((i4 & 11) != 2 || !composer2.getSkipping()) {
|
|||
|
if (ComposerKt.isTraceInProgress()) {
|
|||
|
ComposerKt.traceEventStart(1279702876, i4, -1, "androidx.compose.material3.Surface.<anonymous> (Surface.kt:218)");
|
|||
|
}
|
|||
|
Modifier minimumInteractiveComponentSize = InteractiveComponentSizeKt.minimumInteractiveComponentSize(Modifier.this);
|
|||
|
Shape shape3 = shape2;
|
|||
|
m1491surfaceColorAtElevationCLU3JFs = SurfaceKt.m1491surfaceColorAtElevationCLU3JFs(j3, m4883constructorimpl3, composer2, (i >> 12) & 14);
|
|||
|
m1490surface8ww4TTg = SurfaceKt.m1490surface8ww4TTg(minimumInteractiveComponentSize, shape3, m1491surfaceColorAtElevationCLU3JFs, borderStroke3, f3);
|
|||
|
Modifier m200clickableO2vRcR0$default = ClickableKt.m200clickableO2vRcR0$default(m1490surface8ww4TTg, mutableInteractionSource3, RippleKt.m976rememberRipple9IZ8Weo(false, 0.0f, 0L, composer2, 0, 7), z2, null, null, onClick, 24, null);
|
|||
|
Function2<Composer, Integer, Unit> function2 = content;
|
|||
|
int i5 = i2;
|
|||
|
composer2.startReplaceableGroup(733328855);
|
|||
|
ComposerKt.sourceInformation(composer2, "CC(Box)P(2,1,3)70@3267L67,71@3339L130:Box.kt#2w3rfo");
|
|||
|
MeasurePolicy rememberBoxMeasurePolicy = BoxKt.rememberBoxMeasurePolicy(Alignment.INSTANCE.getTopStart(), true, composer2, 48);
|
|||
|
composer2.startReplaceableGroup(-1323940314);
|
|||
|
ComposerKt.sourceInformation(composer2, "C(Layout)P(!1,2)74@2915L7,75@2970L7,76@3029L7,77@3041L460:Layout.kt#80mrfh");
|
|||
|
ProvidableCompositionLocal<Density> localDensity = CompositionLocalsKt.getLocalDensity();
|
|||
|
ComposerKt.sourceInformationMarkerStart(composer2, 2023513938, "C:CompositionLocal.kt#9igjgp");
|
|||
|
Object consume2 = composer2.consume(localDensity);
|
|||
|
ComposerKt.sourceInformationMarkerEnd(composer2);
|
|||
|
Density density = (Density) consume2;
|
|||
|
ProvidableCompositionLocal<LayoutDirection> localLayoutDirection = CompositionLocalsKt.getLocalLayoutDirection();
|
|||
|
ComposerKt.sourceInformationMarkerStart(composer2, 2023513938, "C:CompositionLocal.kt#9igjgp");
|
|||
|
Object consume3 = composer2.consume(localLayoutDirection);
|
|||
|
ComposerKt.sourceInformationMarkerEnd(composer2);
|
|||
|
LayoutDirection layoutDirection = (LayoutDirection) consume3;
|
|||
|
ProvidableCompositionLocal<ViewConfiguration> localViewConfiguration = CompositionLocalsKt.getLocalViewConfiguration();
|
|||
|
ComposerKt.sourceInformationMarkerStart(composer2, 2023513938, "C:CompositionLocal.kt#9igjgp");
|
|||
|
Object consume4 = composer2.consume(localViewConfiguration);
|
|||
|
ComposerKt.sourceInformationMarkerEnd(composer2);
|
|||
|
ViewConfiguration viewConfiguration = (ViewConfiguration) consume4;
|
|||
|
Function0<ComposeUiNode> constructor = ComposeUiNode.INSTANCE.getConstructor();
|
|||
|
Function3<SkippableUpdater<ComposeUiNode>, Composer, Integer, Unit> materializerOf = LayoutKt.materializerOf(m200clickableO2vRcR0$default);
|
|||
|
if (!(composer2.getApplier() instanceof Applier)) {
|
|||
|
ComposablesKt.invalidApplier();
|
|||
|
}
|
|||
|
composer2.startReusableNode();
|
|||
|
if (composer2.getInserting()) {
|
|||
|
composer2.createNode(constructor);
|
|||
|
} else {
|
|||
|
composer2.useNode();
|
|||
|
}
|
|||
|
composer2.disableReusing();
|
|||
|
Composer m2273constructorimpl = Updater.m2273constructorimpl(composer2);
|
|||
|
Updater.m2280setimpl(m2273constructorimpl, rememberBoxMeasurePolicy, ComposeUiNode.INSTANCE.getSetMeasurePolicy());
|
|||
|
Updater.m2280setimpl(m2273constructorimpl, density, ComposeUiNode.INSTANCE.getSetDensity());
|
|||
|
Updater.m2280setimpl(m2273constructorimpl, layoutDirection, ComposeUiNode.INSTANCE.getSetLayoutDirection());
|
|||
|
Updater.m2280setimpl(m2273constructorimpl, viewConfiguration, ComposeUiNode.INSTANCE.getSetViewConfiguration());
|
|||
|
composer2.enableReusing();
|
|||
|
materializerOf.invoke(SkippableUpdater.m2264boximpl(SkippableUpdater.m2265constructorimpl(composer2)), composer2, 0);
|
|||
|
composer2.startReplaceableGroup(2058660585);
|
|||
|
ComposerKt.sourceInformationMarkerStart(composer2, -1253629305, "C72@3384L9:Box.kt#2w3rfo");
|
|||
|
BoxScopeInstance boxScopeInstance = BoxScopeInstance.INSTANCE;
|
|||
|
ComposerKt.sourceInformationMarkerStart(composer2, -1301753217, "C239@11751L9:Surface.kt#uh7d8r");
|
|||
|
function2.invoke(composer2, Integer.valueOf(i5 & 14));
|
|||
|
ComposerKt.sourceInformationMarkerEnd(composer2);
|
|||
|
ComposerKt.sourceInformationMarkerEnd(composer2);
|
|||
|
composer2.endReplaceableGroup();
|
|||
|
composer2.endNode();
|
|||
|
composer2.endReplaceableGroup();
|
|||
|
composer2.endReplaceableGroup();
|
|||
|
if (ComposerKt.isTraceInProgress()) {
|
|||
|
ComposerKt.traceEventEnd();
|
|||
|
return;
|
|||
|
}
|
|||
|
return;
|
|||
|
}
|
|||
|
composer2.skipToGroupEnd();
|
|||
|
}
|
|||
|
}), composer, 56);
|
|||
|
if (ComposerKt.isTraceInProgress()) {
|
|||
|
ComposerKt.traceEventEnd();
|
|||
|
}
|
|||
|
composer.endReplaceableGroup();
|
|||
|
}
|
|||
|
|
|||
|
/* renamed from: Surface-d85dljk, reason: not valid java name */
|
|||
|
public static final void m1485Surfaced85dljk(final boolean z, final Function0<Unit> onClick, Modifier modifier, boolean z2, Shape shape, long j, long j2, float f, float f2, BorderStroke borderStroke, MutableInteractionSource mutableInteractionSource, final Function2<? super Composer, ? super Integer, Unit> content, Composer composer, final int i, final int i2, int i3) {
|
|||
|
MutableInteractionSource mutableInteractionSource2;
|
|||
|
Intrinsics.checkNotNullParameter(onClick, "onClick");
|
|||
|
Intrinsics.checkNotNullParameter(content, "content");
|
|||
|
composer.startReplaceableGroup(540296512);
|
|||
|
ComposerKt.sourceInformation(composer, "C(Surface)P(8,7,6,4,10,1:c#ui.graphics.Color,3:c#ui.graphics.Color,11:c#ui.unit.Dp,9:c#ui.unit.Dp!1,5)315@16017L11,316@16064L22,320@16235L39,*323@16372L7,324@16401L959:Surface.kt#uh7d8r");
|
|||
|
Modifier.Companion companion = (i3 & 4) != 0 ? Modifier.INSTANCE : modifier;
|
|||
|
final boolean z3 = (i3 & 8) != 0 ? true : z2;
|
|||
|
Shape rectangleShape = (i3 & 16) != 0 ? RectangleShapeKt.getRectangleShape() : shape;
|
|||
|
long m1068getSurface0d7_KjU = (i3 & 32) != 0 ? MaterialTheme.INSTANCE.getColorScheme(composer, 6).m1068getSurface0d7_KjU() : j;
|
|||
|
long m1104contentColorForek8zF_U = (i3 & 64) != 0 ? ColorSchemeKt.m1104contentColorForek8zF_U(m1068getSurface0d7_KjU, composer, (i >> 15) & 14) : j2;
|
|||
|
float m4883constructorimpl = (i3 & 128) != 0 ? Dp.m4883constructorimpl(0) : f;
|
|||
|
float m4883constructorimpl2 = (i3 & 256) != 0 ? Dp.m4883constructorimpl(0) : f2;
|
|||
|
BorderStroke borderStroke2 = (i3 & 512) != 0 ? null : borderStroke;
|
|||
|
if ((i3 & 1024) != 0) {
|
|||
|
composer.startReplaceableGroup(-492369756);
|
|||
|
ComposerKt.sourceInformation(composer, "CC(remember):Composables.kt#9igjgp");
|
|||
|
Object rememberedValue = composer.rememberedValue();
|
|||
|
if (rememberedValue == Composer.INSTANCE.getEmpty()) {
|
|||
|
rememberedValue = InteractionSourceKt.MutableInteractionSource();
|
|||
|
composer.updateRememberedValue(rememberedValue);
|
|||
|
}
|
|||
|
composer.endReplaceableGroup();
|
|||
|
mutableInteractionSource2 = (MutableInteractionSource) rememberedValue;
|
|||
|
} else {
|
|||
|
mutableInteractionSource2 = mutableInteractionSource;
|
|||
|
}
|
|||
|
if (ComposerKt.isTraceInProgress()) {
|
|||
|
ComposerKt.traceEventStart(540296512, i, i2, "androidx.compose.material3.Surface (Surface.kt:309)");
|
|||
|
}
|
|||
|
ProvidableCompositionLocal<Dp> providableCompositionLocal = LocalAbsoluteTonalElevation;
|
|||
|
ComposerKt.sourceInformationMarkerStart(composer, 2023513938, "CC:CompositionLocal.kt#9igjgp");
|
|||
|
Object consume = composer.consume(providableCompositionLocal);
|
|||
|
ComposerKt.sourceInformationMarkerEnd(composer);
|
|||
|
final float m4883constructorimpl3 = Dp.m4883constructorimpl(((Dp) consume).m4897unboximpl() + m4883constructorimpl);
|
|||
|
ProvidedValue[] providedValueArr = {ContentColorKt.getLocalContentColor().provides(Color.m2629boximpl(m1104contentColorForek8zF_U)), providableCompositionLocal.provides(Dp.m4881boximpl(m4883constructorimpl3))};
|
|||
|
final Modifier modifier2 = companion;
|
|||
|
final Shape shape2 = rectangleShape;
|
|||
|
final long j3 = m1068getSurface0d7_KjU;
|
|||
|
final BorderStroke borderStroke3 = borderStroke2;
|
|||
|
final float f3 = m4883constructorimpl2;
|
|||
|
final MutableInteractionSource mutableInteractionSource3 = mutableInteractionSource2;
|
|||
|
CompositionLocalKt.CompositionLocalProvider((ProvidedValue<?>[]) providedValueArr, ComposableLambdaKt.composableLambda(composer, -1164547968, true, new Function2<Composer, Integer, Unit>() { // from class: androidx.compose.material3.SurfaceKt$Surface$5
|
|||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|||
|
/* JADX WARN: Multi-variable type inference failed */
|
|||
|
{
|
|||
|
super(2);
|
|||
|
}
|
|||
|
|
|||
|
@Override // kotlin.jvm.functions.Function2
|
|||
|
public /* bridge */ /* synthetic */ Unit invoke(Composer composer2, Integer num) {
|
|||
|
invoke(composer2, num.intValue());
|
|||
|
return Unit.INSTANCE;
|
|||
|
}
|
|||
|
|
|||
|
public final void invoke(Composer composer2, int i4) {
|
|||
|
long m1491surfaceColorAtElevationCLU3JFs;
|
|||
|
Modifier m1490surface8ww4TTg;
|
|||
|
ComposerKt.sourceInformation(composer2, "C333@16742L139,343@17154L16,328@16555L799:Surface.kt#uh7d8r");
|
|||
|
if ((i4 & 11) != 2 || !composer2.getSkipping()) {
|
|||
|
if (ComposerKt.isTraceInProgress()) {
|
|||
|
ComposerKt.traceEventStart(-1164547968, i4, -1, "androidx.compose.material3.Surface.<anonymous> (Surface.kt:327)");
|
|||
|
}
|
|||
|
Modifier minimumInteractiveComponentSize = InteractiveComponentSizeKt.minimumInteractiveComponentSize(Modifier.this);
|
|||
|
Shape shape3 = shape2;
|
|||
|
m1491surfaceColorAtElevationCLU3JFs = SurfaceKt.m1491surfaceColorAtElevationCLU3JFs(j3, m4883constructorimpl3, composer2, (i >> 15) & 14);
|
|||
|
m1490surface8ww4TTg = SurfaceKt.m1490surface8ww4TTg(minimumInteractiveComponentSize, shape3, m1491surfaceColorAtElevationCLU3JFs, borderStroke3, f3);
|
|||
|
Modifier m715selectableO2vRcR0$default = SelectableKt.m715selectableO2vRcR0$default(m1490surface8ww4TTg, z, mutableInteractionSource3, RippleKt.m976rememberRipple9IZ8Weo(false, 0.0f, 0L, composer2, 0, 7), z3, null, onClick, 16, null);
|
|||
|
Function2<Composer, Integer, Unit> function2 = content;
|
|||
|
int i5 = i2;
|
|||
|
composer2.startReplaceableGroup(733328855);
|
|||
|
ComposerKt.sourceInformation(composer2, "CC(Box)P(2,1,3)70@3267L67,71@3339L130:Box.kt#2w3rfo");
|
|||
|
MeasurePolicy rememberBoxMeasurePolicy = BoxKt.rememberBoxMeasurePolicy(Alignment.INSTANCE.getTopStart(), true, composer2, 48);
|
|||
|
composer2.startReplaceableGroup(-1323940314);
|
|||
|
ComposerKt.sourceInformation(composer2, "C(Layout)P(!1,2)74@2915L7,75@2970L7,76@3029L7,77@3041L460:Layout.kt#80mrfh");
|
|||
|
ProvidableCompositionLocal<Density> localDensity = CompositionLocalsKt.getLocalDensity();
|
|||
|
ComposerKt.sourceInformationMarkerStart(composer2, 2023513938, "C:CompositionLocal.kt#9igjgp");
|
|||
|
Object consume2 = composer2.consume(localDensity);
|
|||
|
ComposerKt.sourceInformationMarkerEnd(composer2);
|
|||
|
Density density = (Density) consume2;
|
|||
|
ProvidableCompositionLocal<LayoutDirection> localLayoutDirection = CompositionLocalsKt.getLocalLayoutDirection();
|
|||
|
ComposerKt.sourceInformationMarkerStart(composer2, 2023513938, "C:CompositionLocal.kt#9igjgp");
|
|||
|
Object consume3 = composer2.consume(localLayoutDirection);
|
|||
|
ComposerKt.sourceInformationMarkerEnd(composer2);
|
|||
|
LayoutDirection layoutDirection = (LayoutDirection) consume3;
|
|||
|
ProvidableCompositionLocal<ViewConfiguration> localViewConfiguration = CompositionLocalsKt.getLocalViewConfiguration();
|
|||
|
ComposerKt.sourceInformationMarkerStart(composer2, 2023513938, "C:CompositionLocal.kt#9igjgp");
|
|||
|
Object consume4 = composer2.consume(localViewConfiguration);
|
|||
|
ComposerKt.sourceInformationMarkerEnd(composer2);
|
|||
|
ViewConfiguration viewConfiguration = (ViewConfiguration) consume4;
|
|||
|
Function0<ComposeUiNode> constructor = ComposeUiNode.INSTANCE.getConstructor();
|
|||
|
Function3<SkippableUpdater<ComposeUiNode>, Composer, Integer, Unit> materializerOf = LayoutKt.materializerOf(m715selectableO2vRcR0$default);
|
|||
|
if (!(composer2.getApplier() instanceof Applier)) {
|
|||
|
ComposablesKt.invalidApplier();
|
|||
|
}
|
|||
|
composer2.startReusableNode();
|
|||
|
if (composer2.getInserting()) {
|
|||
|
composer2.createNode(constructor);
|
|||
|
} else {
|
|||
|
composer2.useNode();
|
|||
|
}
|
|||
|
composer2.disableReusing();
|
|||
|
Composer m2273constructorimpl = Updater.m2273constructorimpl(composer2);
|
|||
|
Updater.m2280setimpl(m2273constructorimpl, rememberBoxMeasurePolicy, ComposeUiNode.INSTANCE.getSetMeasurePolicy());
|
|||
|
Updater.m2280setimpl(m2273constructorimpl, density, ComposeUiNode.INSTANCE.getSetDensity());
|
|||
|
Updater.m2280setimpl(m2273constructorimpl, layoutDirection, ComposeUiNode.INSTANCE.getSetLayoutDirection());
|
|||
|
Updater.m2280setimpl(m2273constructorimpl, viewConfiguration, ComposeUiNode.INSTANCE.getSetViewConfiguration());
|
|||
|
composer2.enableReusing();
|
|||
|
materializerOf.invoke(SkippableUpdater.m2264boximpl(SkippableUpdater.m2265constructorimpl(composer2)), composer2, 0);
|
|||
|
composer2.startReplaceableGroup(2058660585);
|
|||
|
ComposerKt.sourceInformationMarkerStart(composer2, -1253629305, "C72@3384L9:Box.kt#2w3rfo");
|
|||
|
BoxScopeInstance boxScopeInstance = BoxScopeInstance.INSTANCE;
|
|||
|
ComposerKt.sourceInformationMarkerStart(composer2, -1301747633, "C349@17335L9:Surface.kt#uh7d8r");
|
|||
|
function2.invoke(composer2, Integer.valueOf((i5 >> 3) & 14));
|
|||
|
ComposerKt.sourceInformationMarkerEnd(composer2);
|
|||
|
ComposerKt.sourceInformationMarkerEnd(composer2);
|
|||
|
composer2.endReplaceableGroup();
|
|||
|
composer2.endNode();
|
|||
|
composer2.endReplaceableGroup();
|
|||
|
composer2.endReplaceableGroup();
|
|||
|
if (ComposerKt.isTraceInProgress()) {
|
|||
|
ComposerKt.traceEventEnd();
|
|||
|
return;
|
|||
|
}
|
|||
|
return;
|
|||
|
}
|
|||
|
composer2.skipToGroupEnd();
|
|||
|
}
|
|||
|
}), composer, 56);
|
|||
|
if (ComposerKt.isTraceInProgress()) {
|
|||
|
ComposerKt.traceEventEnd();
|
|||
|
}
|
|||
|
composer.endReplaceableGroup();
|
|||
|
}
|
|||
|
|
|||
|
/* renamed from: Surface-d85dljk, reason: not valid java name */
|
|||
|
public static final void m1486Surfaced85dljk(final boolean z, final Function1<? super Boolean, Unit> onCheckedChange, Modifier modifier, boolean z2, Shape shape, long j, long j2, float f, float f2, BorderStroke borderStroke, MutableInteractionSource mutableInteractionSource, final Function2<? super Composer, ? super Integer, Unit> content, Composer composer, final int i, final int i2, int i3) {
|
|||
|
MutableInteractionSource mutableInteractionSource2;
|
|||
|
Intrinsics.checkNotNullParameter(onCheckedChange, "onCheckedChange");
|
|||
|
Intrinsics.checkNotNullParameter(content, "content");
|
|||
|
composer.startReplaceableGroup(-1877401889);
|
|||
|
ComposerKt.sourceInformation(composer, "C(Surface)P(1,8,7,5,10,2:c#ui.graphics.Color,4:c#ui.graphics.Color,11:c#ui.unit.Dp,9:c#ui.unit.Dp!1,6)425@21669L11,426@21716L22,430@21887L39,*433@22024L7,434@22053L969:Surface.kt#uh7d8r");
|
|||
|
Modifier.Companion companion = (i3 & 4) != 0 ? Modifier.INSTANCE : modifier;
|
|||
|
final boolean z3 = (i3 & 8) != 0 ? true : z2;
|
|||
|
Shape rectangleShape = (i3 & 16) != 0 ? RectangleShapeKt.getRectangleShape() : shape;
|
|||
|
long m1068getSurface0d7_KjU = (i3 & 32) != 0 ? MaterialTheme.INSTANCE.getColorScheme(composer, 6).m1068getSurface0d7_KjU() : j;
|
|||
|
long m1104contentColorForek8zF_U = (i3 & 64) != 0 ? ColorSchemeKt.m1104contentColorForek8zF_U(m1068getSurface0d7_KjU, composer, (i >> 15) & 14) : j2;
|
|||
|
float m4883constructorimpl = (i3 & 128) != 0 ? Dp.m4883constructorimpl(0) : f;
|
|||
|
float m4883constructorimpl2 = (i3 & 256) != 0 ? Dp.m4883constructorimpl(0) : f2;
|
|||
|
BorderStroke borderStroke2 = (i3 & 512) != 0 ? null : borderStroke;
|
|||
|
if ((i3 & 1024) != 0) {
|
|||
|
composer.startReplaceableGroup(-492369756);
|
|||
|
ComposerKt.sourceInformation(composer, "CC(remember):Composables.kt#9igjgp");
|
|||
|
Object rememberedValue = composer.rememberedValue();
|
|||
|
if (rememberedValue == Composer.INSTANCE.getEmpty()) {
|
|||
|
rememberedValue = InteractionSourceKt.MutableInteractionSource();
|
|||
|
composer.updateRememberedValue(rememberedValue);
|
|||
|
}
|
|||
|
composer.endReplaceableGroup();
|
|||
|
mutableInteractionSource2 = (MutableInteractionSource) rememberedValue;
|
|||
|
} else {
|
|||
|
mutableInteractionSource2 = mutableInteractionSource;
|
|||
|
}
|
|||
|
if (ComposerKt.isTraceInProgress()) {
|
|||
|
ComposerKt.traceEventStart(-1877401889, i, i2, "androidx.compose.material3.Surface (Surface.kt:419)");
|
|||
|
}
|
|||
|
ProvidableCompositionLocal<Dp> providableCompositionLocal = LocalAbsoluteTonalElevation;
|
|||
|
ComposerKt.sourceInformationMarkerStart(composer, 2023513938, "CC:CompositionLocal.kt#9igjgp");
|
|||
|
Object consume = composer.consume(providableCompositionLocal);
|
|||
|
ComposerKt.sourceInformationMarkerEnd(composer);
|
|||
|
final float m4883constructorimpl3 = Dp.m4883constructorimpl(((Dp) consume).m4897unboximpl() + m4883constructorimpl);
|
|||
|
ProvidedValue[] providedValueArr = {ContentColorKt.getLocalContentColor().provides(Color.m2629boximpl(m1104contentColorForek8zF_U)), providableCompositionLocal.provides(Dp.m4881boximpl(m4883constructorimpl3))};
|
|||
|
final Modifier modifier2 = companion;
|
|||
|
final Shape shape2 = rectangleShape;
|
|||
|
final long j3 = m1068getSurface0d7_KjU;
|
|||
|
final BorderStroke borderStroke3 = borderStroke2;
|
|||
|
final float f3 = m4883constructorimpl2;
|
|||
|
final MutableInteractionSource mutableInteractionSource3 = mutableInteractionSource2;
|
|||
|
CompositionLocalKt.CompositionLocalProvider((ProvidedValue<?>[]) providedValueArr, ComposableLambdaKt.composableLambda(composer, 712720927, true, new Function2<Composer, Integer, Unit>() { // from class: androidx.compose.material3.SurfaceKt$Surface$7
|
|||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|||
|
/* JADX WARN: Multi-variable type inference failed */
|
|||
|
{
|
|||
|
super(2);
|
|||
|
}
|
|||
|
|
|||
|
@Override // kotlin.jvm.functions.Function2
|
|||
|
public /* bridge */ /* synthetic */ Unit invoke(Composer composer2, Integer num) {
|
|||
|
invoke(composer2, num.intValue());
|
|||
|
return Unit.INSTANCE;
|
|||
|
}
|
|||
|
|
|||
|
public final void invoke(Composer composer2, int i4) {
|
|||
|
long m1491surfaceColorAtElevationCLU3JFs;
|
|||
|
Modifier m1490surface8ww4TTg;
|
|||
|
ComposerKt.sourceInformation(composer2, "C443@22394L139,453@22802L16,438@22207L809:Surface.kt#uh7d8r");
|
|||
|
if ((i4 & 11) != 2 || !composer2.getSkipping()) {
|
|||
|
if (ComposerKt.isTraceInProgress()) {
|
|||
|
ComposerKt.traceEventStart(712720927, i4, -1, "androidx.compose.material3.Surface.<anonymous> (Surface.kt:437)");
|
|||
|
}
|
|||
|
Modifier minimumInteractiveComponentSize = InteractiveComponentSizeKt.minimumInteractiveComponentSize(Modifier.this);
|
|||
|
Shape shape3 = shape2;
|
|||
|
m1491surfaceColorAtElevationCLU3JFs = SurfaceKt.m1491surfaceColorAtElevationCLU3JFs(j3, m4883constructorimpl3, composer2, (i >> 15) & 14);
|
|||
|
m1490surface8ww4TTg = SurfaceKt.m1490surface8ww4TTg(minimumInteractiveComponentSize, shape3, m1491surfaceColorAtElevationCLU3JFs, borderStroke3, f3);
|
|||
|
Modifier m719toggleableO2vRcR0$default = ToggleableKt.m719toggleableO2vRcR0$default(m1490surface8ww4TTg, z, mutableInteractionSource3, RippleKt.m976rememberRipple9IZ8Weo(false, 0.0f, 0L, composer2, 0, 7), z3, null, onCheckedChange, 16, null);
|
|||
|
Function2<Composer, Integer, Unit> function2 = content;
|
|||
|
int i5 = i2;
|
|||
|
composer2.startReplaceableGroup(733328855);
|
|||
|
ComposerKt.sourceInformation(composer2, "CC(Box)P(2,1,3)70@3267L67,71@3339L130:Box.kt#2w3rfo");
|
|||
|
MeasurePolicy rememberBoxMeasurePolicy = BoxKt.rememberBoxMeasurePolicy(Alignment.INSTANCE.getTopStart(), true, composer2, 48);
|
|||
|
composer2.startReplaceableGroup(-1323940314);
|
|||
|
ComposerKt.sourceInformation(composer2, "C(Layout)P(!1,2)74@2915L7,75@2970L7,76@3029L7,77@3041L460:Layout.kt#80mrfh");
|
|||
|
ProvidableCompositionLocal<Density> localDensity = CompositionLocalsKt.getLocalDensity();
|
|||
|
ComposerKt.sourceInformationMarkerStart(composer2, 2023513938, "C:CompositionLocal.kt#9igjgp");
|
|||
|
Object consume2 = composer2.consume(localDensity);
|
|||
|
ComposerKt.sourceInformationMarkerEnd(composer2);
|
|||
|
Density density = (Density) consume2;
|
|||
|
ProvidableCompositionLocal<LayoutDirection> localLayoutDirection = CompositionLocalsKt.getLocalLayoutDirection();
|
|||
|
ComposerKt.sourceInformationMarkerStart(composer2, 2023513938, "C:CompositionLocal.kt#9igjgp");
|
|||
|
Object consume3 = composer2.consume(localLayoutDirection);
|
|||
|
ComposerKt.sourceInformationMarkerEnd(composer2);
|
|||
|
LayoutDirection layoutDirection = (LayoutDirection) consume3;
|
|||
|
ProvidableCompositionLocal<ViewConfiguration> localViewConfiguration = CompositionLocalsKt.getLocalViewConfiguration();
|
|||
|
ComposerKt.sourceInformationMarkerStart(composer2, 2023513938, "C:CompositionLocal.kt#9igjgp");
|
|||
|
Object consume4 = composer2.consume(localViewConfiguration);
|
|||
|
ComposerKt.sourceInformationMarkerEnd(composer2);
|
|||
|
ViewConfiguration viewConfiguration = (ViewConfiguration) consume4;
|
|||
|
Function0<ComposeUiNode> constructor = ComposeUiNode.INSTANCE.getConstructor();
|
|||
|
Function3<SkippableUpdater<ComposeUiNode>, Composer, Integer, Unit> materializerOf = LayoutKt.materializerOf(m719toggleableO2vRcR0$default);
|
|||
|
if (!(composer2.getApplier() instanceof Applier)) {
|
|||
|
ComposablesKt.invalidApplier();
|
|||
|
}
|
|||
|
composer2.startReusableNode();
|
|||
|
if (composer2.getInserting()) {
|
|||
|
composer2.createNode(constructor);
|
|||
|
} else {
|
|||
|
composer2.useNode();
|
|||
|
}
|
|||
|
composer2.disableReusing();
|
|||
|
Composer m2273constructorimpl = Updater.m2273constructorimpl(composer2);
|
|||
|
Updater.m2280setimpl(m2273constructorimpl, rememberBoxMeasurePolicy, ComposeUiNode.INSTANCE.getSetMeasurePolicy());
|
|||
|
Updater.m2280setimpl(m2273constructorimpl, density, ComposeUiNode.INSTANCE.getSetDensity());
|
|||
|
Updater.m2280setimpl(m2273constructorimpl, layoutDirection, ComposeUiNode.INSTANCE.getSetLayoutDirection());
|
|||
|
Updater.m2280setimpl(m2273constructorimpl, viewConfiguration, ComposeUiNode.INSTANCE.getSetViewConfiguration());
|
|||
|
composer2.enableReusing();
|
|||
|
materializerOf.invoke(SkippableUpdater.m2264boximpl(SkippableUpdater.m2265constructorimpl(composer2)), composer2, 0);
|
|||
|
composer2.startReplaceableGroup(2058660585);
|
|||
|
ComposerKt.sourceInformationMarkerStart(composer2, -1253629305, "C72@3384L9:Box.kt#2w3rfo");
|
|||
|
BoxScopeInstance boxScopeInstance = BoxScopeInstance.INSTANCE;
|
|||
|
ComposerKt.sourceInformationMarkerStart(composer2, -1301741971, "C459@22997L9:Surface.kt#uh7d8r");
|
|||
|
function2.invoke(composer2, Integer.valueOf((i5 >> 3) & 14));
|
|||
|
ComposerKt.sourceInformationMarkerEnd(composer2);
|
|||
|
ComposerKt.sourceInformationMarkerEnd(composer2);
|
|||
|
composer2.endReplaceableGroup();
|
|||
|
composer2.endNode();
|
|||
|
composer2.endReplaceableGroup();
|
|||
|
composer2.endReplaceableGroup();
|
|||
|
if (ComposerKt.isTraceInProgress()) {
|
|||
|
ComposerKt.traceEventEnd();
|
|||
|
return;
|
|||
|
}
|
|||
|
return;
|
|||
|
}
|
|||
|
composer2.skipToGroupEnd();
|
|||
|
}
|
|||
|
}), composer, 56);
|
|||
|
if (ComposerKt.isTraceInProgress()) {
|
|||
|
ComposerKt.traceEventEnd();
|
|||
|
}
|
|||
|
composer.endReplaceableGroup();
|
|||
|
}
|
|||
|
|
|||
|
/* JADX INFO: Access modifiers changed from: private */
|
|||
|
/* renamed from: surface-8ww4TTg, reason: not valid java name */
|
|||
|
public static final Modifier m1490surface8ww4TTg(Modifier modifier, Shape shape, long j, BorderStroke borderStroke, float f) {
|
|||
|
return ClipKt.clip(BackgroundKt.m168backgroundbw27NRU(ShadowKt.m2312shadows4CzXII$default(modifier, f, shape, false, 0L, 0L, 24, null).then(borderStroke != null ? BorderKt.border(Modifier.INSTANCE, borderStroke, shape) : Modifier.INSTANCE), j, shape), shape);
|
|||
|
}
|
|||
|
|
|||
|
/* JADX INFO: Access modifiers changed from: private */
|
|||
|
/* renamed from: surfaceColorAtElevation-CLU3JFs, reason: not valid java name */
|
|||
|
public static final long m1491surfaceColorAtElevationCLU3JFs(long j, float f, Composer composer, int i) {
|
|||
|
composer.startReplaceableGroup(-2079918090);
|
|||
|
ComposerKt.sourceInformation(composer, "C(surfaceColorAtElevation)P(0:c#ui.graphics.Color,1:c#ui.unit.Dp)476@23481L11,477@23526L11:Surface.kt#uh7d8r");
|
|||
|
if (ComposerKt.isTraceInProgress()) {
|
|||
|
ComposerKt.traceEventStart(-2079918090, i, -1, "androidx.compose.material3.surfaceColorAtElevation (Surface.kt:475)");
|
|||
|
}
|
|||
|
if (Color.m2640equalsimpl0(j, MaterialTheme.INSTANCE.getColorScheme(composer, 6).m1068getSurface0d7_KjU())) {
|
|||
|
j = ColorSchemeKt.m1109surfaceColorAtElevation3ABfNKs(MaterialTheme.INSTANCE.getColorScheme(composer, 6), f);
|
|||
|
}
|
|||
|
if (ComposerKt.isTraceInProgress()) {
|
|||
|
ComposerKt.traceEventEnd();
|
|||
|
}
|
|||
|
composer.endReplaceableGroup();
|
|||
|
return j;
|
|||
|
}
|
|||
|
}
|