package androidx.compose.material3; import androidx.compose.animation.core.TweenSpec; import androidx.compose.foundation.CanvasKt; import androidx.compose.foundation.layout.SizeKt; import androidx.compose.runtime.Composer; import androidx.compose.runtime.ComposerKt; import androidx.compose.runtime.RecomposeScopeImplKt; import androidx.compose.runtime.ScopeUpdateScope; import androidx.compose.runtime.saveable.RememberSaveableKt; import androidx.compose.runtime.saveable.Saver; import androidx.compose.ui.Modifier; import androidx.compose.ui.graphics.Color; import androidx.compose.ui.graphics.drawscope.DrawScope; import androidx.compose.ui.input.pointer.PointerInputScope; import androidx.compose.ui.input.pointer.SuspendingPointerInputFilterKt; import androidx.compose.ui.semantics.SemanticsModifierKt; import androidx.compose.ui.semantics.SemanticsPropertiesKt; import androidx.compose.ui.semantics.SemanticsPropertyReceiver; import androidx.compose.ui.unit.Dp; import androidx.media3.exoplayer.upstream.CmcdHeadersFactory; import kotlin.Metadata; import kotlin.Unit; import kotlin.coroutines.Continuation; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function1; import kotlin.jvm.functions.Function2; import kotlin.jvm.internal.Intrinsics; import kotlin.ranges.RangesKt; /* compiled from: NavigationDrawer.kt */ @Metadata(d1 = {"\u0000r\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u0007\n\u0000\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\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0012\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0012\n\u0002\u0018\u0002\n\u0002\b\u0003\u001ao\u0010\u0007\u001a\u00020\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\u000e2\b\b\u0002\u0010\u0010\u001a\u00020\u00042\b\b\u0002\u0010\u0011\u001a\u00020\u00122\u001c\u0010\u0013\u001a\u0018\u0012\u0004\u0012\u00020\u0015\u0012\u0004\u0012\u00020\b0\u0014¢\u0006\u0002\b\u0016¢\u0006\u0002\b\u0017H\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b\u0018\u0010\u0019\u001aQ\u0010\u001a\u001a\u00020\b2\u0011\u0010\u001b\u001a\r\u0012\u0004\u0012\u00020\b0\u001c¢\u0006\u0002\b\u00162\b\b\u0002\u0010\t\u001a\u00020\n2\b\b\u0002\u0010\u001d\u001a\u00020\u001e2\b\b\u0002\u0010\u001f\u001a\u00020 2\u0011\u0010\u0013\u001a\r\u0012\u0004\u0012\u00020\b0\u001c¢\u0006\u0002\b\u0016H\u0007¢\u0006\u0002\u0010!\u001am\u0010\"\u001a\u00020\b2\u0006\u0010\u0011\u001a\u00020\u00122\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\u000e2\b\b\u0002\u0010\u0010\u001a\u00020\u00042\u001c\u0010\u0013\u001a\u0018\u0012\u0004\u0012\u00020\u0015\u0012\u0004\u0012\u00020\b0\u0014¢\u0006\u0002\b\u0016¢\u0006\u0002\b\u0017H\u0003ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b#\u0010$\u001ao\u0010%\u001a\u00020\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\u000e2\b\b\u0002\u0010\u0010\u001a\u00020\u00042\b\b\u0002\u0010\u0011\u001a\u00020\u00122\u001c\u0010\u0013\u001a\u0018\u0012\u0004\u0012\u00020\u0015\u0012\u0004\u0012\u00020\b0\u0014¢\u0006\u0002\b\u0016¢\u0006\u0002\b\u0017H\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b&\u0010\u0019\u001ac\u0010'\u001a\u00020\b2\u0011\u0010\u001b\u001a\r\u0012\u0004\u0012\u00020\b0\u001c¢\u0006\u0002\b\u00162\b\b\u0002\u0010\t\u001a\u00020\n2\b\b\u0002\u0010\u001d\u001a\u00020\u001e2\b\b\u0002\u0010\u001f\u001a\u00020 2\b\b\u0002\u0010(\u001a\u00020\u000e2\u0011\u0010\u0013\u001a\r\u0012\u0004\u0012\u00020\b0\u001c¢\u0006\u0002\b\u0016H\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b)\u0010*\u001a\u008c\u0001\u0010+\u001a\u00020\b2\u0011\u0010,\u001a\r\u0012\u0004\u0012\u00020\b0\u001c¢\u0006\u0002\b\u00162\u0006\u0010-\u001a\u00020 2\f\u0010.\u001a\b\u0012\u0004\u0012\u00020\b0\u001c2\b\b\u0002\u0010\t\u001a\u00020\n2\u0015\b\u0002\u0010/\u001a\u000f\u0012\u0004\u0012\u00020\b\u0018\u00010\u001c¢\u0006\u0002\b\u00162\u0015\b\u0002\u00100\u001a\u000f\u0012\u0004\u0012\u00020\b\u0018\u00010\u001c¢\u0006\u0002\b\u00162\b\b\u0002\u00101\u001a\u00020\f2\b\b\u0002\u00102\u001a\u0002032\b\b\u0002\u00104\u001a\u000205H\u0007¢\u0006\u0002\u00106\u001ao\u00107\u001a\u00020\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\u000e2\b\b\u0002\u0010\u0010\u001a\u00020\u00042\b\b\u0002\u0010\u0011\u001a\u00020\u00122\u001c\u0010\u0013\u001a\u0018\u0012\u0004\u0012\u00020\u0015\u0012\u0004\u0012\u00020\b0\u0014¢\u0006\u0002\b\u0016¢\u0006\u0002\b\u0017H\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b8\u0010\u0019\u001a=\u00109\u001a\u00020\b2\u0011\u0010\u001b\u001a\r\u0012\u0004\u0012\u00020\b0\u001c¢\u0006\u0002\b\u00162\b\b\u0002\u0010\t\u001a\u00020\n2\u0011\u0010\u0013\u001a\r\u0012\u0004\u0012\u00020\b0\u001c¢\u0006\u0002\b\u0016H\u0007¢\u0006\u0002\u0010:\u001aA\u0010;\u001a\u00020\b2\u0006\u0010<\u001a\u00020 2\f\u0010=\u001a\b\u0012\u0004\u0012\u00020\b0\u001c2\f\u0010>\u001a\b\u0012\u0004\u0012\u00020\u00020\u001c2\u0006\u0010?\u001a\u00020\u000eH\u0003ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b@\u0010A\u001a \u0010B\u001a\u00020\u00022\u0006\u0010C\u001a\u00020\u00022\u0006\u0010D\u001a\u00020\u00022\u0006\u0010E\u001a\u00020\u0002H\u0002\u001a+\u0010F\u001a\u00020\u001e2\u0006\u0010G\u001a\u00020H2\u0014\b\u0002\u0010I\u001a\u000e\u0012\u0004\u0012\u00020H\u0012\u0004\u0012\u00020 0\u0014H\u0007¢\u0006\u0002\u0010J\"\u0014\u0010\u0000\u001a\b\u0012\u0004\u0012\u00020\u00020\u0001X\u0082\u0004¢\u0006\u0002\n\u0000\"\u0013\u0010\u0003\u001a\u00020\u0004X\u0082\u0004ø\u0001\u0000¢\u0006\u0004\n\u0002\u0010\u0005\"\u0013\u0010\u0006\u001a\u00020\u0004X\u0082\u0004ø\u0001\u0000¢\u0006\u0004\n\u0002\u0010\u0005\u0082\u0002\u000b\n\u0002\b\u0019\n\u0005\b¡\u001e0\u0001¨\u0006K"}, d2 = {"AnimationSpec", "Landroidx/compose/animation/core/TweenSpec;", "", "DrawerVelocityThreshold", "Landroidx/compose/ui/unit/Dp;", "F", "MinimumDrawerWidth", "DismissibleDrawerSheet", "", "modifier", "Landroidx/compose/ui/Modifier;", "drawerShape", "Landroidx/compose/ui/graphics/Shape;", "drawerContainerColor", "Landroidx/compose/ui/graphics/Color;", "drawerContentColor", "drawerTonalElevation", "windowInsets", "Landroidx/compose/foundation/layout/WindowInsets;", "content", "Lkotlin/Function1;", "Landroidx/compose/foundation/layout/ColumnScope;", "Landroidx/compose/runtime/Composable;", "Lkotlin/ExtensionFunctionType;", "DismissibleDrawerSheet-afqeVBk", "(Landroidx/compose/ui/Modifier;Landroidx/compose/ui/graphics/Shape;JJFLandroidx/compose/foundation/layout/WindowInsets;Lkotlin/jvm/functions/Function3;Landroidx/compose/runtime/Composer;II)V", "DismissibleNavigationDrawer", "drawerContent", "Lkotlin/Function0;", "drawerState", "Landroidx/compose/material3/DrawerState;", "gesturesEnabled", "", "(Lkotlin/jvm/functions/Function2;Landroidx/compose/ui/Modifier;Landroidx/compose/material3/DrawerState;ZLkotlin/jvm/functions/Function2;Landroidx/compose/runtime/Composer;II)V", "DrawerSheet", "DrawerSheet-vywBR7E", "(Landroidx/compose/foundation/layout/WindowInsets;Landroidx/compose/ui/Modifier;Landroidx/compose/ui/graphics/Shape;JJFLkotlin/jvm/functions/Function3;Landroidx/compose/runtime/Composer;II)V", "ModalDrawerSheet", "ModalDrawerSheet-afqeVBk", "ModalNavigationDrawer", "scrimColor", "ModalNavigationDrawer-FHprtrg", "(Lkotlin/jvm/functions/Function2;Landroidx/compose/ui/Modifier;Landroidx/compose/material3/DrawerState;ZJLkotlin/jvm/functions/Function2;Landroidx/compose/runtime/Composer;II)V", "NavigationDrawerItem", "label", "selected", "onClick", "icon", "badge", "shape", "colors", "Landroidx/compose/material3/NavigationDrawerItemColors;", "interactionSource", "Landroidx/compose/foundation/interaction/MutableInteractionSource;", "(Lkotlin/jvm/functions/Function2;ZLkotlin/jvm/functions/Function0;Landroidx/compose/ui/Modifier;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function2;Landroidx/compose/ui/graphics/Shape;Landroidx/compose/material3/NavigationDrawerItemColors;Landroidx/compose/foundation/interaction/MutableInteractionSource;Landroidx/compose/runtime/Composer;II)V", "PermanentDrawerSheet", "PermanentDrawerSheet-afqeVBk", "PermanentNavigationDrawer", "(Lkotlin/jvm/functions/Function2;Landroidx/compose/ui/Modifier;Lkotlin/jvm/functions/Function2;Landroidx/compose/runtime/Composer;II)V", "Scrim", "open", "onClose", "fraction", "color", "Scrim-Bx497Mc", "(ZLkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;JLandroidx/compose/runtime/Composer;I)V", "calculateFraction", CmcdHeadersFactory.OBJECT_TYPE_AUDIO_ONLY, "b", "pos", "rememberDrawerState", "initialValue", "Landroidx/compose/material3/DrawerValue;", "confirmStateChange", "(Landroidx/compose/material3/DrawerValue;Lkotlin/jvm/functions/Function1;Landroidx/compose/runtime/Composer;II)Landroidx/compose/material3/DrawerState;", "material3_release"}, k = 2, mv = {1, 8, 0}, xi = 48) /* loaded from: classes.dex */ public final class NavigationDrawerKt { private static final float DrawerVelocityThreshold = Dp.m4883constructorimpl(400); private static final float MinimumDrawerWidth = Dp.m4883constructorimpl(240); private static final TweenSpec AnimationSpec = new TweenSpec<>(256, 0, null, 6, null); public static final DrawerState rememberDrawerState(final DrawerValue initialValue, final Function1 function1, Composer composer, int i, int i2) { Intrinsics.checkNotNullParameter(initialValue, "initialValue"); composer.startReplaceableGroup(2098699222); ComposerKt.sourceInformation(composer, "C(rememberDrawerState)P(1)227@8145L61,227@8081L125:NavigationDrawer.kt#uh7d8r"); if ((i2 & 2) != 0) { function1 = new Function1() { // from class: androidx.compose.material3.NavigationDrawerKt$rememberDrawerState$1 @Override // kotlin.jvm.functions.Function1 public final Boolean invoke(DrawerValue it) { Intrinsics.checkNotNullParameter(it, "it"); return true; } }; } if (ComposerKt.isTraceInProgress()) { ComposerKt.traceEventStart(2098699222, i, -1, "androidx.compose.material3.rememberDrawerState (NavigationDrawer.kt:223)"); } Object[] objArr = new Object[0]; Saver Saver = DrawerState.Companion.Saver(function1); composer.startReplaceableGroup(511388516); ComposerKt.sourceInformation(composer, "CC(remember)P(1,2):Composables.kt#9igjgp"); boolean changed = composer.changed(initialValue) | composer.changed(function1); Object rememberedValue = composer.rememberedValue(); if (changed || rememberedValue == Composer.INSTANCE.getEmpty()) { rememberedValue = (Function0) new Function0() { // from class: androidx.compose.material3.NavigationDrawerKt$rememberDrawerState$2$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(0); } /* JADX WARN: Can't rename method to resolve collision */ @Override // kotlin.jvm.functions.Function0 public final DrawerState invoke() { return new DrawerState(DrawerValue.this, function1); } }; composer.updateRememberedValue(rememberedValue); } composer.endReplaceableGroup(); DrawerState drawerState = (DrawerState) RememberSaveableKt.m2286rememberSaveable(objArr, (Saver) Saver, (String) null, (Function0) rememberedValue, composer, 72, 4); if (ComposerKt.isTraceInProgress()) { ComposerKt.traceEventEnd(); } composer.endReplaceableGroup(); return drawerState; } /* JADX WARN: Code restructure failed: missing block: B:51:0x00f3, code lost: if ((r41 & 16) != 0) goto L83; */ /* JADX WARN: Removed duplicated region for block: B:100:0x00fe */ /* JADX WARN: Removed duplicated region for block: B:103:0x0107 */ /* JADX WARN: Removed duplicated region for block: B:105:0x0114 */ /* JADX WARN: Removed duplicated region for block: B:108:0x0119 */ /* JADX WARN: Removed duplicated region for block: B:109:0x00ae */ /* JADX WARN: Removed duplicated region for block: B:10:0x0056 */ /* JADX WARN: Removed duplicated region for block: B:117:0x00a4 */ /* JADX WARN: Removed duplicated region for block: B:118:0x0074 */ /* JADX WARN: Removed duplicated region for block: B:127:0x006b */ /* JADX WARN: Removed duplicated region for block: B:18:0x0071 */ /* JADX WARN: Removed duplicated region for block: B:22:0x008f */ /* JADX WARN: Removed duplicated region for block: B:30:0x00aa */ /* JADX WARN: Removed duplicated region for block: B:34:0x00c8 */ /* JADX WARN: Removed duplicated region for block: B:39:0x059e */ /* JADX WARN: Removed duplicated region for block: B:42:? A[RETURN, SYNTHETIC] */ /* JADX WARN: Removed duplicated region for block: B:45:0x00e1 */ /* JADX WARN: Removed duplicated region for block: B:56:0x012a */ /* JADX WARN: Removed duplicated region for block: B:59:0x0155 */ /* JADX WARN: Removed duplicated region for block: B:62:0x01d5 */ /* JADX WARN: Removed duplicated region for block: B:65:0x0273 */ /* JADX WARN: Removed duplicated region for block: B:68:0x027f */ /* JADX WARN: Removed duplicated region for block: B:71:0x0352 */ /* JADX WARN: Removed duplicated region for block: B:74:0x035e */ /* JADX WARN: Removed duplicated region for block: B:77:0x040c */ /* JADX WARN: Removed duplicated region for block: B:81:0x045d */ /* JADX WARN: Removed duplicated region for block: B:85:0x04f0 */ /* JADX WARN: Removed duplicated region for block: B:88:0x04fc */ /* JADX WARN: Removed duplicated region for block: B:91:0x058e */ /* JADX WARN: Removed duplicated region for block: B:93:0x0500 */ /* JADX WARN: Removed duplicated region for block: B:96:0x0362 */ /* JADX WARN: Removed duplicated region for block: B:97:0x0283 */ /* JADX WARN: Removed duplicated region for block: B:98:0x01d8 */ /* renamed from: ModalNavigationDrawer-FHprtrg, reason: not valid java name */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static final void m1311ModalNavigationDrawerFHprtrg(final kotlin.jvm.functions.Function2 r32, androidx.compose.ui.Modifier r33, androidx.compose.material3.DrawerState r34, boolean r35, long r36, final kotlin.jvm.functions.Function2 r38, androidx.compose.runtime.Composer r39, final int r40, final int r41) { /* Method dump skipped, instructions count: 1460 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: androidx.compose.material3.NavigationDrawerKt.m1311ModalNavigationDrawerFHprtrg(kotlin.jvm.functions.Function2, androidx.compose.ui.Modifier, androidx.compose.material3.DrawerState, boolean, long, kotlin.jvm.functions.Function2, androidx.compose.runtime.Composer, int, int):void"); } /* JADX WARN: Removed duplicated region for block: B:106:0x006b */ /* JADX WARN: Removed duplicated region for block: B:10:0x0056 */ /* JADX WARN: Removed duplicated region for block: B:18:0x0071 */ /* JADX WARN: Removed duplicated region for block: B:22:0x008d */ /* JADX WARN: Removed duplicated region for block: B:25:0x00aa */ /* JADX WARN: Removed duplicated region for block: B:30:0x057e */ /* JADX WARN: Removed duplicated region for block: B:33:? A[RETURN, SYNTHETIC] */ /* JADX WARN: Removed duplicated region for block: B:36:0x00c2 */ /* JADX WARN: Removed duplicated region for block: B:43:0x00f3 */ /* JADX WARN: Removed duplicated region for block: B:46:0x013d */ /* JADX WARN: Removed duplicated region for block: B:49:0x0198 */ /* JADX WARN: Removed duplicated region for block: B:52:0x0230 */ /* JADX WARN: Removed duplicated region for block: B:55:0x023c */ /* JADX WARN: Removed duplicated region for block: B:58:0x0300 */ /* JADX WARN: Removed duplicated region for block: B:61:0x030c */ /* JADX WARN: Removed duplicated region for block: B:64:0x03d1 */ /* JADX WARN: Removed duplicated region for block: B:67:0x03dd */ /* JADX WARN: Removed duplicated region for block: B:70:0x04c3 */ /* JADX WARN: Removed duplicated region for block: B:73:0x04cf */ /* JADX WARN: Removed duplicated region for block: B:76:0x056f */ /* JADX WARN: Removed duplicated region for block: B:78:0x04d3 */ /* JADX WARN: Removed duplicated region for block: B:79:0x03e1 */ /* JADX WARN: Removed duplicated region for block: B:80:0x0310 */ /* JADX WARN: Removed duplicated region for block: B:81:0x0240 */ /* JADX WARN: Removed duplicated region for block: B:82:0x019b */ /* JADX WARN: Removed duplicated region for block: B:84:0x00d5 */ /* JADX WARN: Removed duplicated region for block: B:87:0x00de */ /* JADX WARN: Removed duplicated region for block: B:89:0x00e9 */ /* JADX WARN: Removed duplicated region for block: B:90:0x0090 */ /* JADX WARN: Removed duplicated region for block: B:97:0x0074 */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static final void DismissibleNavigationDrawer(final kotlin.jvm.functions.Function2 r28, androidx.compose.ui.Modifier r29, androidx.compose.material3.DrawerState r30, boolean r31, final kotlin.jvm.functions.Function2 r32, androidx.compose.runtime.Composer r33, final int r34, final int r35) { /* Method dump skipped, instructions count: 1427 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: androidx.compose.material3.NavigationDrawerKt.DismissibleNavigationDrawer(kotlin.jvm.functions.Function2, androidx.compose.ui.Modifier, androidx.compose.material3.DrawerState, boolean, kotlin.jvm.functions.Function2, androidx.compose.runtime.Composer, int, int):void"); } /* JADX WARN: Removed duplicated region for block: B:10:0x0055 */ /* JADX WARN: Removed duplicated region for block: B:18:0x0290 */ /* JADX WARN: Removed duplicated region for block: B:21:? A[RETURN, SYNTHETIC] */ /* JADX WARN: Removed duplicated region for block: B:23:0x007d */ /* JADX WARN: Removed duplicated region for block: B:26:0x0089 */ /* JADX WARN: Removed duplicated region for block: B:29:0x010a */ /* JADX WARN: Removed duplicated region for block: B:32:0x0116 */ /* JADX WARN: Removed duplicated region for block: B:35:0x01ea */ /* JADX WARN: Removed duplicated region for block: B:38:0x01f6 */ /* JADX WARN: Removed duplicated region for block: B:41:0x0286 */ /* JADX WARN: Removed duplicated region for block: B:42:0x01fa */ /* JADX WARN: Removed duplicated region for block: B:43:0x011a */ /* JADX WARN: Removed duplicated region for block: B:44:0x0082 */ /* JADX WARN: Removed duplicated region for block: B:45:0x0058 */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static final void PermanentNavigationDrawer(final kotlin.jvm.functions.Function2 r17, androidx.compose.ui.Modifier r18, final kotlin.jvm.functions.Function2 r19, androidx.compose.runtime.Composer r20, final int r21, final int r22) { /* Method dump skipped, instructions count: 677 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: androidx.compose.material3.NavigationDrawerKt.PermanentNavigationDrawer(kotlin.jvm.functions.Function2, androidx.compose.ui.Modifier, kotlin.jvm.functions.Function2, androidx.compose.runtime.Composer, int, int):void"); } /* JADX WARN: Removed duplicated region for block: B:104:0x00bf */ /* JADX WARN: Removed duplicated region for block: B:34:0x00ab */ /* JADX WARN: Removed duplicated region for block: B:42:0x00c7 */ /* JADX WARN: Removed duplicated region for block: B:46:0x00e6 */ /* JADX WARN: Removed duplicated region for block: B:51:0x01eb */ /* JADX WARN: Removed duplicated region for block: B:54:? A[RETURN, SYNTHETIC] */ /* JADX WARN: Removed duplicated region for block: B:57:0x0102 */ /* JADX WARN: Removed duplicated region for block: B:74:0x0199 */ /* JADX WARN: Removed duplicated region for block: B:77:0x01d6 */ /* JADX WARN: Removed duplicated region for block: B:80:0x0132 */ /* JADX WARN: Removed duplicated region for block: B:83:0x013d */ /* JADX WARN: Removed duplicated region for block: B:86:0x014a */ /* JADX WARN: Removed duplicated region for block: B:89:0x015a */ /* JADX WARN: Removed duplicated region for block: B:91:0x0167 */ /* JADX WARN: Removed duplicated region for block: B:94:0x0172 */ /* JADX WARN: Removed duplicated region for block: B:95:0x0185 */ /* JADX WARN: Removed duplicated region for block: B:96:0x0137 */ /* JADX WARN: Removed duplicated region for block: B:97:0x00cc */ /* renamed from: ModalDrawerSheet-afqeVBk, reason: not valid java name */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static final void m1310ModalDrawerSheetafqeVBk(androidx.compose.ui.Modifier r25, androidx.compose.ui.graphics.Shape r26, long r27, long r29, float r31, androidx.compose.foundation.layout.WindowInsets r32, final kotlin.jvm.functions.Function3 r33, androidx.compose.runtime.Composer r34, final int r35, final int r36) { /* Method dump skipped, instructions count: 509 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: androidx.compose.material3.NavigationDrawerKt.m1310ModalDrawerSheetafqeVBk(androidx.compose.ui.Modifier, androidx.compose.ui.graphics.Shape, long, long, float, androidx.compose.foundation.layout.WindowInsets, kotlin.jvm.functions.Function3, androidx.compose.runtime.Composer, int, int):void"); } /* JADX WARN: Removed duplicated region for block: B:107:0x0085 */ /* JADX WARN: Removed duplicated region for block: B:10:0x0055 */ /* JADX WARN: Removed duplicated region for block: B:110:0x006a */ /* JADX WARN: Removed duplicated region for block: B:18:0x0070 */ /* JADX WARN: Removed duplicated region for block: B:26:0x008e */ /* JADX WARN: Removed duplicated region for block: B:30:0x00ad */ /* JADX WARN: Removed duplicated region for block: B:38:0x00c9 */ /* JADX WARN: Removed duplicated region for block: B:42:0x00e8 */ /* JADX WARN: Removed duplicated region for block: B:47:0x01df */ /* JADX WARN: Removed duplicated region for block: B:50:? A[RETURN, SYNTHETIC] */ /* JADX WARN: Removed duplicated region for block: B:53:0x0105 */ /* JADX WARN: Removed duplicated region for block: B:67:0x018e */ /* JADX WARN: Removed duplicated region for block: B:70:0x01ca */ /* JADX WARN: Removed duplicated region for block: B:73:0x012f */ /* JADX WARN: Removed duplicated region for block: B:75:0x0138 */ /* JADX WARN: Removed duplicated region for block: B:78:0x0142 */ /* JADX WARN: Removed duplicated region for block: B:81:0x0152 */ /* JADX WARN: Removed duplicated region for block: B:83:0x015f */ /* JADX WARN: Removed duplicated region for block: B:86:0x016a */ /* JADX WARN: Removed duplicated region for block: B:88:0x017a */ /* JADX WARN: Removed duplicated region for block: B:89:0x0134 */ /* JADX WARN: Removed duplicated region for block: B:90:0x00ce */ /* JADX WARN: Removed duplicated region for block: B:97:0x00c1 */ /* JADX WARN: Removed duplicated region for block: B:98:0x0091 */ /* renamed from: DismissibleDrawerSheet-afqeVBk, reason: not valid java name */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static final void m1308DismissibleDrawerSheetafqeVBk(androidx.compose.ui.Modifier r25, androidx.compose.ui.graphics.Shape r26, long r27, long r29, float r31, androidx.compose.foundation.layout.WindowInsets r32, final kotlin.jvm.functions.Function3 r33, androidx.compose.runtime.Composer r34, final int r35, final int r36) { /* Method dump skipped, instructions count: 497 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: androidx.compose.material3.NavigationDrawerKt.m1308DismissibleDrawerSheetafqeVBk(androidx.compose.ui.Modifier, androidx.compose.ui.graphics.Shape, long, long, float, androidx.compose.foundation.layout.WindowInsets, kotlin.jvm.functions.Function3, androidx.compose.runtime.Composer, int, int):void"); } /* JADX WARN: Removed duplicated region for block: B:102:0x00c1 */ /* JADX WARN: Removed duplicated region for block: B:103:0x0091 */ /* JADX WARN: Removed duplicated region for block: B:10:0x0055 */ /* JADX WARN: Removed duplicated region for block: B:112:0x0085 */ /* JADX WARN: Removed duplicated region for block: B:115:0x006a */ /* JADX WARN: Removed duplicated region for block: B:18:0x0070 */ /* JADX WARN: Removed duplicated region for block: B:26:0x008e */ /* JADX WARN: Removed duplicated region for block: B:30:0x00ad */ /* JADX WARN: Removed duplicated region for block: B:38:0x00c9 */ /* JADX WARN: Removed duplicated region for block: B:42:0x00e8 */ /* JADX WARN: Removed duplicated region for block: B:47:0x021c */ /* JADX WARN: Removed duplicated region for block: B:50:? A[RETURN, SYNTHETIC] */ /* JADX WARN: Removed duplicated region for block: B:53:0x0103 */ /* JADX WARN: Removed duplicated region for block: B:67:0x0191 */ /* JADX WARN: Removed duplicated region for block: B:70:0x01b9 */ /* JADX WARN: Removed duplicated region for block: B:74:0x0207 */ /* JADX WARN: Removed duplicated region for block: B:78:0x0130 */ /* JADX WARN: Removed duplicated region for block: B:80:0x0139 */ /* JADX WARN: Removed duplicated region for block: B:83:0x0142 */ /* JADX WARN: Removed duplicated region for block: B:86:0x0152 */ /* JADX WARN: Removed duplicated region for block: B:88:0x015f */ /* JADX WARN: Removed duplicated region for block: B:91:0x016a */ /* JADX WARN: Removed duplicated region for block: B:93:0x017d */ /* JADX WARN: Removed duplicated region for block: B:94:0x0135 */ /* JADX WARN: Removed duplicated region for block: B:95:0x00ce */ /* renamed from: PermanentDrawerSheet-afqeVBk, reason: not valid java name */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static final void m1312PermanentDrawerSheetafqeVBk(androidx.compose.ui.Modifier r25, androidx.compose.ui.graphics.Shape r26, long r27, long r29, float r31, androidx.compose.foundation.layout.WindowInsets r32, final kotlin.jvm.functions.Function3 r33, androidx.compose.runtime.Composer r34, final int r35, final int r36) { /* Method dump skipped, instructions count: 558 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: androidx.compose.material3.NavigationDrawerKt.m1312PermanentDrawerSheetafqeVBk(androidx.compose.ui.Modifier, androidx.compose.ui.graphics.Shape, long, long, float, androidx.compose.foundation.layout.WindowInsets, kotlin.jvm.functions.Function3, androidx.compose.runtime.Composer, int, int):void"); } /* JADX INFO: Access modifiers changed from: private */ /* JADX WARN: Removed duplicated region for block: B:10:0x004b */ /* JADX WARN: Removed duplicated region for block: B:14:0x0067 */ /* JADX WARN: Removed duplicated region for block: B:22:0x0083 */ /* JADX WARN: Removed duplicated region for block: B:30:0x009e */ /* JADX WARN: Removed duplicated region for block: B:33:0x00be */ /* JADX WARN: Removed duplicated region for block: B:37:0x00df */ /* JADX WARN: Removed duplicated region for block: B:42:0x01d1 */ /* JADX WARN: Removed duplicated region for block: B:45:? A[RETURN, SYNTHETIC] */ /* JADX WARN: Removed duplicated region for block: B:48:0x00fb */ /* JADX WARN: Removed duplicated region for block: B:59:0x015e */ /* JADX WARN: Removed duplicated region for block: B:62:0x01c6 */ /* JADX WARN: Removed duplicated region for block: B:65:0x0119 */ /* JADX WARN: Removed duplicated region for block: B:67:0x0122 */ /* JADX WARN: Removed duplicated region for block: B:70:0x012c */ /* JADX WARN: Removed duplicated region for block: B:73:0x013f */ /* JADX WARN: Removed duplicated region for block: B:75:0x014c */ /* JADX WARN: Removed duplicated region for block: B:77:0x0149 */ /* JADX WARN: Removed duplicated region for block: B:78:0x013a */ /* JADX WARN: Removed duplicated region for block: B:79:0x0127 */ /* JADX WARN: Removed duplicated region for block: B:80:0x011e */ /* JADX WARN: Removed duplicated region for block: B:81:0x00c3 */ /* JADX WARN: Removed duplicated region for block: B:87:0x00a5 */ /* JADX WARN: Removed duplicated region for block: B:96:0x0098 */ /* JADX WARN: Removed duplicated region for block: B:98:0x007a */ /* JADX WARN: Removed duplicated region for block: B:99:0x004e */ /* renamed from: DrawerSheet-vywBR7E, reason: not valid java name */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static final void m1309DrawerSheetvywBR7E(final androidx.compose.foundation.layout.WindowInsets r26, androidx.compose.ui.Modifier r27, androidx.compose.ui.graphics.Shape r28, long r29, long r31, float r33, final kotlin.jvm.functions.Function3 r34, androidx.compose.runtime.Composer r35, final int r36, final int r37) { /* Method dump skipped, instructions count: 490 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: androidx.compose.material3.NavigationDrawerKt.m1309DrawerSheetvywBR7E(androidx.compose.foundation.layout.WindowInsets, androidx.compose.ui.Modifier, androidx.compose.ui.graphics.Shape, long, long, float, kotlin.jvm.functions.Function3, androidx.compose.runtime.Composer, int, int):void"); } /* JADX WARN: Removed duplicated region for block: B:101:0x00f7 */ /* JADX WARN: Removed duplicated region for block: B:104:0x00da */ /* JADX WARN: Removed duplicated region for block: B:105:0x00aa */ /* JADX WARN: Removed duplicated region for block: B:112:0x008d */ /* JADX WARN: Removed duplicated region for block: B:16:0x008a */ /* JADX WARN: Removed duplicated region for block: B:20:0x00a6 */ /* JADX WARN: Removed duplicated region for block: B:24:0x00c5 */ /* JADX WARN: Removed duplicated region for block: B:32:0x00e1 */ /* JADX WARN: Removed duplicated region for block: B:40:0x00fd */ /* JADX WARN: Removed duplicated region for block: B:43:0x0123 */ /* JADX WARN: Removed duplicated region for block: B:48:0x0295 */ /* JADX WARN: Removed duplicated region for block: B:51:? A[RETURN, SYNTHETIC] */ /* JADX WARN: Removed duplicated region for block: B:54:0x0144 */ /* JADX WARN: Removed duplicated region for block: B:65:0x01ed */ /* JADX WARN: Removed duplicated region for block: B:68:0x0280 */ /* JADX WARN: Removed duplicated region for block: B:71:0x016c */ /* JADX WARN: Removed duplicated region for block: B:73:0x0175 */ /* JADX WARN: Removed duplicated region for block: B:75:0x0178 */ /* JADX WARN: Removed duplicated region for block: B:78:0x017d */ /* JADX WARN: Removed duplicated region for block: B:81:0x0190 */ /* JADX WARN: Removed duplicated region for block: B:83:0x01b4 */ /* JADX WARN: Removed duplicated region for block: B:88:0x01da */ /* JADX WARN: Removed duplicated region for block: B:89:0x01b1 */ /* JADX WARN: Removed duplicated region for block: B:90:0x018b */ /* JADX WARN: Removed duplicated region for block: B:91:0x0171 */ /* JADX WARN: Removed duplicated region for block: B:92:0x0104 */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static final void NavigationDrawerItem(final kotlin.jvm.functions.Function2 r36, final boolean r37, final kotlin.jvm.functions.Function0 r38, androidx.compose.ui.Modifier r39, kotlin.jvm.functions.Function2 r40, kotlin.jvm.functions.Function2 r41, androidx.compose.ui.graphics.Shape r42, androidx.compose.material3.NavigationDrawerItemColors r43, androidx.compose.foundation.interaction.MutableInteractionSource r44, androidx.compose.runtime.Composer r45, final int r46, final int r47) { /* Method dump skipped, instructions count: 683 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: androidx.compose.material3.NavigationDrawerKt.NavigationDrawerItem(kotlin.jvm.functions.Function2, boolean, kotlin.jvm.functions.Function0, androidx.compose.ui.Modifier, kotlin.jvm.functions.Function2, kotlin.jvm.functions.Function2, androidx.compose.ui.graphics.Shape, androidx.compose.material3.NavigationDrawerItemColors, androidx.compose.foundation.interaction.MutableInteractionSource, androidx.compose.runtime.Composer, int, int):void"); } /* JADX INFO: Access modifiers changed from: private */ public static final float calculateFraction(float f, float f2, float f3) { return RangesKt.coerceIn((f3 - f) / (f2 - f), 0.0f, 1.0f); } /* JADX INFO: Access modifiers changed from: private */ /* renamed from: Scrim-Bx497Mc, reason: not valid java name */ public static final void m1313ScrimBx497Mc(final boolean z, final Function0 function0, final Function0 function02, final long j, Composer composer, final int i) { int i2; Modifier.Companion companion; Composer startRestartGroup = composer.startRestartGroup(2106487387); ComposerKt.sourceInformation(startRestartGroup, "C(Scrim)P(3,2,1,0:c#ui.graphics.Color)848@32851L30,864@33295L51,860@33204L142:NavigationDrawer.kt#uh7d8r"); if ((i & 14) == 0) { i2 = (startRestartGroup.changed(z) ? 4 : 2) | i; } else { i2 = i; } if ((i & 112) == 0) { i2 |= startRestartGroup.changedInstance(function0) ? 32 : 16; } if ((i & 896) == 0) { i2 |= startRestartGroup.changedInstance(function02) ? 256 : 128; } if ((i & 7168) == 0) { i2 |= startRestartGroup.changed(j) ? 2048 : 1024; } if ((i2 & 5851) != 1170 || !startRestartGroup.getSkipping()) { if (ComposerKt.isTraceInProgress()) { ComposerKt.traceEventStart(2106487387, i2, -1, "androidx.compose.material3.Scrim (NavigationDrawer.kt:842)"); } final String m1475getStringNWtq28 = Strings_androidKt.m1475getStringNWtq28(Strings.INSTANCE.m1417getCloseDraweradMyvUU(), startRestartGroup, 6); startRestartGroup.startReplaceableGroup(-1858703321); ComposerKt.sourceInformation(startRestartGroup, "851@32970L35,852@33054L108"); if (z) { Modifier.Companion companion2 = Modifier.INSTANCE; startRestartGroup.startReplaceableGroup(1157296644); ComposerKt.sourceInformation(startRestartGroup, "CC(remember)P(1):Composables.kt#9igjgp"); boolean changed = startRestartGroup.changed(function0); NavigationDrawerKt$Scrim$dismissDrawer$1$1 rememberedValue = startRestartGroup.rememberedValue(); if (changed || rememberedValue == Composer.INSTANCE.getEmpty()) { rememberedValue = new NavigationDrawerKt$Scrim$dismissDrawer$1$1(function0, null); startRestartGroup.updateRememberedValue(rememberedValue); } startRestartGroup.endReplaceableGroup(); Modifier pointerInput = SuspendingPointerInputFilterKt.pointerInput(companion2, function0, (Function2, ? extends Object>) rememberedValue); startRestartGroup.startReplaceableGroup(511388516); ComposerKt.sourceInformation(startRestartGroup, "CC(remember)P(1,2):Composables.kt#9igjgp"); boolean changed2 = startRestartGroup.changed(m1475getStringNWtq28) | startRestartGroup.changed(function0); Object rememberedValue2 = startRestartGroup.rememberedValue(); if (changed2 || rememberedValue2 == Composer.INSTANCE.getEmpty()) { rememberedValue2 = (Function1) new Function1() { // from class: androidx.compose.material3.NavigationDrawerKt$Scrim$dismissDrawer$2$1 /* JADX INFO: Access modifiers changed from: package-private */ /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ { super(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.setContentDescription(semantics, m1475getStringNWtq28); final Function0 function03 = function0; SemanticsPropertiesKt.onClick$default(semantics, null, new Function0() { // from class: androidx.compose.material3.NavigationDrawerKt$Scrim$dismissDrawer$2$1.1 /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ { super(0); } /* JADX WARN: Can't rename method to resolve collision */ @Override // kotlin.jvm.functions.Function0 public final Boolean invoke() { function03.invoke(); return true; } }, 1, null); } }; startRestartGroup.updateRememberedValue(rememberedValue2); } startRestartGroup.endReplaceableGroup(); companion = SemanticsModifierKt.semantics(pointerInput, true, (Function1) rememberedValue2); } else { companion = Modifier.INSTANCE; } startRestartGroup.endReplaceableGroup(); Modifier then = SizeKt.fillMaxSize$default(Modifier.INSTANCE, 0.0f, 1, null).then(companion); Color m2629boximpl = Color.m2629boximpl(j); startRestartGroup.startReplaceableGroup(511388516); ComposerKt.sourceInformation(startRestartGroup, "CC(remember)P(1,2):Composables.kt#9igjgp"); boolean changed3 = startRestartGroup.changed(m2629boximpl) | startRestartGroup.changed(function02); Object rememberedValue3 = startRestartGroup.rememberedValue(); if (changed3 || rememberedValue3 == Composer.INSTANCE.getEmpty()) { rememberedValue3 = (Function1) new Function1() { // from class: androidx.compose.material3.NavigationDrawerKt$Scrim$1$1 /* JADX INFO: Access modifiers changed from: package-private */ /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ { super(1); } @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(DrawScope drawScope) { invoke2(drawScope); return Unit.INSTANCE; } /* renamed from: invoke, reason: avoid collision after fix types in other method */ public final void invoke2(DrawScope Canvas) { Intrinsics.checkNotNullParameter(Canvas, "$this$Canvas"); DrawScope.m3177drawRectnJ9OG0$default(Canvas, j, 0L, 0L, function02.invoke().floatValue(), null, null, 0, 118, null); } }; startRestartGroup.updateRememberedValue(rememberedValue3); } startRestartGroup.endReplaceableGroup(); CanvasKt.Canvas(then, (Function1) rememberedValue3, startRestartGroup, 0); if (ComposerKt.isTraceInProgress()) { ComposerKt.traceEventEnd(); } } else { startRestartGroup.skipToGroupEnd(); } ScopeUpdateScope endRestartGroup = startRestartGroup.endRestartGroup(); if (endRestartGroup == null) { return; } endRestartGroup.updateScope(new Function2() { // from class: androidx.compose.material3.NavigationDrawerKt$Scrim$2 /* JADX INFO: Access modifiers changed from: package-private */ /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ { 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) { NavigationDrawerKt.m1313ScrimBx497Mc(z, function0, function02, j, composer2, RecomposeScopeImplKt.updateChangedFlags(i | 1)); } }); } }