91看片 v8.29.1578版本的 MD5 值为:2b74795a64f1465201dcde9ad656a1fe

以下内容为反编译后的 MarqueeTextKt.java 源代码,内容仅作参考


package com.paulkman.nova.feature.game.ui.component;

import androidx.activity.compose.ActivityResultRegistryKt$$ExternalSyntheticOutline0;
import androidx.compose.animation.AnimatedContentKt$$ExternalSyntheticOutline0;
import androidx.compose.animation.AnimatedContentKt$$ExternalSyntheticOutline1;
import androidx.compose.animation.AnimatedVisibilityKt$$ExternalSyntheticOutline0;
import androidx.compose.foundation.BackgroundKt;
import androidx.compose.foundation.layout.Arrangement;
import androidx.compose.foundation.layout.BoxKt;
import androidx.compose.foundation.layout.RowKt;
import androidx.compose.foundation.layout.RowScope;
import androidx.compose.foundation.layout.RowScopeInstance;
import androidx.compose.foundation.layout.SizeKt;
import androidx.compose.foundation.layout.SpacerKt;
import androidx.compose.material.BackdropScaffoldKt$BackdropScaffold$1$1$2$$ExternalSyntheticOutline0;
import androidx.compose.material.TextKt;
import androidx.compose.runtime.Applier;
import androidx.compose.runtime.Composable;
import androidx.compose.runtime.ComposableTarget;
import androidx.compose.runtime.ComposablesKt;
import androidx.compose.runtime.Composer;
import androidx.compose.runtime.ComposerKt;
import androidx.compose.runtime.CompositionLocalMap;
import androidx.compose.runtime.EffectsKt;
import androidx.compose.runtime.MutableState;
import androidx.compose.runtime.RecomposeScopeImplKt;
import androidx.compose.runtime.ScopeUpdateScope;
import androidx.compose.runtime.SkippableUpdater;
import androidx.compose.runtime.SlotTableKt;
import androidx.compose.runtime.SnapshotStateKt__SnapshotStateKt;
import androidx.compose.runtime.Updater;
import androidx.compose.runtime.internal.ComposableLambda;
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.graphics.Brush;
import androidx.compose.ui.graphics.Color;
import androidx.compose.ui.layout.LayoutKt;
import androidx.compose.ui.layout.Measurable;
import androidx.compose.ui.layout.MeasurePolicy;
import androidx.compose.ui.layout.MeasureResult;
import androidx.compose.ui.layout.MeasureScope;
import androidx.compose.ui.layout.Placeable;
import androidx.compose.ui.layout.SubcomposeLayoutKt;
import androidx.compose.ui.layout.SubcomposeMeasureScope;
import androidx.compose.ui.node.ComposeUiNode;
import androidx.compose.ui.text.TextLayoutResult;
import androidx.compose.ui.text.TextStyle;
import androidx.compose.ui.text.font.FontFamily;
import androidx.compose.ui.text.font.FontStyle;
import androidx.compose.ui.text.font.FontWeight;
import androidx.compose.ui.text.style.TextAlign;
import androidx.compose.ui.text.style.TextDecoration;
import androidx.compose.ui.text.style.TextOverflow;
import androidx.compose.ui.unit.Constraints;
import androidx.compose.ui.unit.Dp;
import androidx.compose.ui.unit.TextUnit;
import androidx.profileinstaller.ProfileVerifier;
import com.google.android.exoplayer2.text.ttml.TtmlNode;
import java.util.List;
import kotlin.Metadata;
import kotlin.Pair;
import kotlin.Unit;
import kotlin.collections.CollectionsKt___CollectionsKt;
import kotlin.coroutines.Continuation;
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;
import kotlin.jvm.internal.Ref;
import kotlin.jvm.internal.SourceDebugExtension;
import kotlinx.coroutines.CoroutineScope;
import org.apache.commons.compress.archivers.cpio.CpioConstants;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

@Metadata(d1 = {"\u0000d\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\u001a\u001d\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0003H\u0003ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\b\u0004\u0010\u0005\u001a%\u0010\u0006\u001a\u00020\u00012\u0006\u0010\u0007\u001a\u00020\u00032\u0006\u0010\b\u001a\u00020\u0003H\u0003ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\b\t\u0010\n\u001aÉ\u0001\u0010\u000b\u001a\u00020\u00012\u0006\u0010\f\u001a\u00020\r2\b\b\u0002\u0010\u000e\u001a\u00020\u000f2\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0010\u001a\u00020\u00032\b\b\u0002\u0010\u0011\u001a\u00020\u00122\n\b\u0002\u0010\u0013\u001a\u0004\u0018\u00010\u00142\n\b\u0002\u0010\u0015\u001a\u0004\u0018\u00010\u00162\n\b\u0002\u0010\u0017\u001a\u0004\u0018\u00010\u00182\b\b\u0002\u0010\u0019\u001a\u00020\u00122\n\b\u0002\u0010\u001a\u001a\u0004\u0018\u00010\u001b2\n\b\u0002\u0010\u001c\u001a\u0004\u0018\u00010\u001d2\b\b\u0002\u0010\u001e\u001a\u00020\u00122\b\b\u0002\u0010\u001f\u001a\u00020 2\b\b\u0002\u0010!\u001a\u00020\"2\u0014\b\u0002\u0010#\u001a\u000e\u0012\u0004\u0012\u00020%\u0012\u0004\u0012\u00020\u00010$2\b\b\u0002\u0010&\u001a\u00020'H\u0007ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\b(\u0010)\u0082\u0002\u000b\n\u0005\b¡\u001e0\u0001\n\u0002\b\u0019¨\u0006*"}, d2 = {"Gradient", "", "gradientEdgeColor", "Landroidx/compose/ui/graphics/Color;", "Gradient-ek8zF_U", "(JLandroidx/compose/runtime/Composer;I)V", "GradientEdge", "startColor", "endColor", "GradientEdge-RFnl5yQ", "(JJLandroidx/compose/runtime/Composer;I)V", "MarqueeText", "text", "", "modifier", "Landroidx/compose/ui/Modifier;", "color", TtmlNode.ATTR_TTS_FONT_SIZE, "Landroidx/compose/ui/unit/TextUnit;", TtmlNode.ATTR_TTS_FONT_STYLE, "Landroidx/compose/ui/text/font/FontStyle;", TtmlNode.ATTR_TTS_FONT_WEIGHT, "Landroidx/compose/ui/text/font/FontWeight;", TtmlNode.ATTR_TTS_FONT_FAMILY, "Landroidx/compose/ui/text/font/FontFamily;", "letterSpacing", TtmlNode.ATTR_TTS_TEXT_DECORATION, "Landroidx/compose/ui/text/style/TextDecoration;", TtmlNode.ATTR_TTS_TEXT_ALIGN, "Landroidx/compose/ui/text/style/TextAlign;", "linHeight", "overflow", "Landroidx/compose/ui/text/style/TextOverflow;", "softWrap", "", "onTextLayout", "Lkotlin/Function1;", "Landroidx/compose/ui/text/TextLayoutResult;", "style", "Landroidx/compose/ui/text/TextStyle;", "MarqueeText-qzfHYl0", "(Ljava/lang/String;Landroidx/compose/ui/Modifier;JJJLandroidx/compose/ui/text/font/FontStyle;Landroidx/compose/ui/text/font/FontWeight;Landroidx/compose/ui/text/font/FontFamily;JLandroidx/compose/ui/text/style/TextDecoration;Landroidx/compose/ui/text/style/TextAlign;JIZLkotlin/jvm/functions/Function1;Landroidx/compose/ui/text/TextStyle;Landroidx/compose/runtime/Composer;III)V", "game_release"}, k = 2, mv = {1, 8, 0}, xi = 48)
@SourceDebugExtension({"SMAP\nMarqueeText.kt\nKotlin\n*S Kotlin\n*F\n+ 1 MarqueeText.kt\ncom/paulkman/nova/feature/game/ui/component/MarqueeTextKt\n+ 2 CompositionLocal.kt\nandroidx/compose/runtime/CompositionLocal\n+ 3 Composables.kt\nandroidx/compose/runtime/ComposablesKt\n+ 4 Composer.kt\nandroidx/compose/runtime/ComposerKt\n+ 5 Row.kt\nandroidx/compose/foundation/layout/RowKt\n+ 6 Layout.kt\nandroidx/compose/ui/layout/LayoutKt\n+ 7 Composer.kt\nandroidx/compose/runtime/Updater\n+ 8 Dp.kt\nandroidx/compose/ui/unit/DpKt\n+ 9 SnapshotState.kt\nandroidx/compose/runtime/SnapshotStateKt__SnapshotStateKt\n*L\n1#1,189:1\n76#2:190\n25#3:191\n25#3:198\n50#3:205\n49#3:206\n83#3,3:213\n456#3,8:240\n464#3,3:254\n467#3,3:258\n1097#4,6:192\n1097#4,6:199\n1097#4,6:207\n1097#4,6:216\n72#5,7:222\n79#5:257\n83#5:262\n78#6,11:229\n91#6:261\n4144#7,6:248\n154#8:263\n81#9:264\n107#9,2:265\n*S KotlinDebug\n*F\n+ 1 MarqueeText.kt\ncom/paulkman/nova/feature/game/ui/component/MarqueeTextKt\n*L\n48#1:190\n71#1:191\n72#1:198\n74#1:205\n74#1:206\n103#1:213,3\n153#1:240,8\n153#1:254,3\n153#1:258,3\n71#1:192,6\n72#1:199,6\n74#1:207,6\n103#1:216,6\n153#1:222,7\n153#1:257\n153#1:262\n153#1:229,11\n153#1:261\n153#1:248,6\n167#1:263\n71#1:264\n71#1:265,2\n*E\n"})
public final class MarqueeTextKt {
    @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
    @Composable
    public static final void m6110Gradientek8zF_U(final long j, Composer composer, final int i) {
        int i2;
        int i3;
        Composer composer2 = composer.startRestartGroup(-1983138019);
        if ((i & 14) == 0) {
            if (composer2.changed(j)) {
                i3 = 4;
            } else {
                i3 = 2;
            }
            i2 = i3 | i;
        } else {
            i2 = i;
        }
        if ((i2 & 11) == 2 && composer2.getSkipping()) {
            composer2.skipToGroupEnd();
        } else {
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(-1983138019, i2, -1, "com.paulkman.nova.feature.game.ui.component.Gradient (MarqueeText.kt:151)");
            }
            composer2.startReplaceableGroup(693286680);
            Modifier.Companion companion = Modifier.INSTANCE;
            Arrangement.INSTANCE.getClass();
            Arrangement.Horizontal horizontal = Arrangement.Start;
            Alignment.INSTANCE.getClass();
            MeasurePolicy rowMeasurePolicy = RowKt.rowMeasurePolicy(horizontal, Alignment.Companion.Top, composer2, 0);
            composer2.startReplaceableGroup(-1323940314);
            int currentCompositeKeyHash = ComposablesKt.getCurrentCompositeKeyHash(composer2, 0);
            CompositionLocalMap currentCompositionLocalMap = composer2.getCurrentCompositionLocalMap();
            ComposeUiNode.Companion companion2 = ComposeUiNode.INSTANCE;
            companion2.getClass();
            Function0<ComposeUiNode> function0 = ComposeUiNode.Companion.Constructor;
            Function3<SkippableUpdater<ComposeUiNode>, Composer, Integer, Unit> modifierMaterializerOf = LayoutKt.modifierMaterializerOf(companion);
            if (!(composer2.getApplier() instanceof Applier)) {
                ComposablesKt.invalidApplier();
            }
            composer2.startReusableNode();
            if (composer2.getInserting()) {
                composer2.createNode(function0);
            } else {
                composer2.useNode();
            }
            Intrinsics.checkNotNullParameter(composer2, "composer");
            companion2.getClass();
            Updater.m1454setimpl(composer2, rowMeasurePolicy, ComposeUiNode.Companion.SetMeasurePolicy);
            companion2.getClass();
            Updater.m1454setimpl(composer2, currentCompositionLocalMap, ComposeUiNode.Companion.SetResolvedCompositionLocals);
            companion2.getClass();
            Function2<ComposeUiNode, Integer, Unit> function2 = ComposeUiNode.Companion.SetCompositeKeyHash;
            if (composer2.getInserting() || !Intrinsics.areEqual(composer2.rememberedValue(), Integer.valueOf(currentCompositeKeyHash))) {
                AnimatedContentKt$$ExternalSyntheticOutline1.m(currentCompositeKeyHash, composer2, currentCompositeKeyHash, function2);
            }
            AnimatedVisibilityKt$$ExternalSyntheticOutline0.m(0, modifierMaterializerOf, AnimatedContentKt$$ExternalSyntheticOutline0.m(composer2, "composer", composer2), composer2, 2058660585);
            RowScopeInstance rowScopeInstance = RowScopeInstance.INSTANCE;
            Color.Companion companion3 = Color.INSTANCE;
            companion3.getClass();
            m6111GradientEdgeRFnl5yQ(j, Color.Transparent, composer2, (i2 & 14) | 48);
            SpacerKt.Spacer(RowScope.CC.weight$default(rowScopeInstance, companion, 1.0f, false, 2, null), composer2, 0);
            companion3.getClass();
            m6111GradientEdgeRFnl5yQ(Color.Transparent, j, composer2, ((i2 << 3) & 112) | 6);
            if (BackdropScaffoldKt$BackdropScaffold$1$1$2$$ExternalSyntheticOutline0.m(composer2)) {
                ComposerKt.traceEventEnd();
            }
        }
        ScopeUpdateScope endRestartGroup = composer2.endRestartGroup();
        if (endRestartGroup != null) {
            endRestartGroup.updateScope(new Function2<Composer, Integer, Unit>() {
                {
                    super(2);
                }

                @Override
                public Unit invoke(Composer composer3, Integer num) {
                    invoke(composer3, num.intValue());
                    return Unit.INSTANCE;
                }

                public final void invoke(@Nullable Composer composer3, int i4) {
                    MarqueeTextKt.m6110Gradientek8zF_U(j, composer3, RecomposeScopeImplKt.updateChangedFlags(i | 1));
                }
            });
        }
    }

    @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
    @Composable
    public static final void m6111GradientEdgeRFnl5yQ(final long j, final long j2, Composer composer, final int i) {
        int i2;
        int i3;
        int i4;
        Composer startRestartGroup = composer.startRestartGroup(1519425129);
        if ((i & 14) == 0) {
            if (startRestartGroup.changed(j)) {
                i4 = 4;
            } else {
                i4 = 2;
            }
            i2 = i4 | i;
        } else {
            i2 = i;
        }
        if ((i & 112) == 0) {
            if (startRestartGroup.changed(j2)) {
                i3 = 32;
            } else {
                i3 = 16;
            }
            i2 |= i3;
        }
        if ((i2 & 91) == 18 && startRestartGroup.getSkipping()) {
            startRestartGroup.skipToGroupEnd();
        } else {
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(1519425129, i, -1, "com.paulkman.nova.feature.game.ui.component.GradientEdge (MarqueeText.kt:160)");
            }
            BoxKt.Box(BackgroundKt.background$default(SizeKt.fillMaxHeight$default(SizeKt.m640width3ABfNKs(Modifier.INSTANCE, Dp.m4096constructorimpl(10)), 0.0f, 1, null), Brush.Companion.m1765horizontalGradient8A3gB4$default(Brush.INSTANCE, new Pair[]{new Pair(Float.valueOf(0.0f), Color.m1805boximpl(j)), new Pair(Float.valueOf(1.0f), new Color(j2))}, 0.0f, 0.0f, 0, 14, (Object) null), null, 0.0f, 6, null), startRestartGroup, 0);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
        }
        ScopeUpdateScope endRestartGroup = startRestartGroup.endRestartGroup();
        if (endRestartGroup != null) {
            endRestartGroup.updateScope(new Function2<Composer, Integer, Unit>() {
                {
                    super(2);
                }

                @Override
                public Unit invoke(Composer composer2, Integer num) {
                    invoke(composer2, num.intValue());
                    return Unit.INSTANCE;
                }

                public final void invoke(@Nullable Composer composer2, int i5) {
                    MarqueeTextKt.m6111GradientEdgeRFnl5yQ(j, j2, composer2, RecomposeScopeImplKt.updateChangedFlags(i | 1));
                }
            });
        }
    }

    @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
    @Composable
    public static final void m6112MarqueeTextqzfHYl0(@NotNull final String text, @Nullable Modifier modifier, long j, long j2, long j3, @Nullable FontStyle fontStyle, @Nullable FontWeight fontWeight, @Nullable FontFamily fontFamily, long j4, @Nullable TextDecoration textDecoration, @Nullable TextAlign textAlign, long j5, int i, boolean z, @Nullable Function1<? super TextLayoutResult, Unit> function1, @Nullable TextStyle textStyle, @Nullable Composer composer, final int i2, final int i3, final int i4) {
        int i5;
        int i6;
        int i7;
        int i8;
        int i9;
        int i10;
        int i11;
        int i12;
        int i13;
        int i14;
        int i15;
        int i16;
        int i17;
        int i18;
        int i19;
        int i20;
        int i21;
        int i22;
        int i23;
        Modifier modifier2;
        long j6;
        long j7;
        long j8;
        FontStyle fontStyle2;
        FontWeight fontWeight2;
        FontFamily fontFamily2;
        long j9;
        TextDecoration textDecoration2;
        TextAlign textAlign2;
        final long j10;
        int i24;
        boolean z2;
        Function1<? super TextLayoutResult, Unit> function12;
        int i25;
        TextStyle textStyle2;
        Modifier modifier3;
        Object rememberedValue;
        Object obj;
        TextDecoration textDecoration3;
        FontStyle fontStyle3;
        Object m;
        boolean changed;
        int i26;
        int i27;
        boolean z3;
        final TextAlign textAlign3;
        final TextStyle textStyle3;
        final Modifier modifier4;
        final long j11;
        final long j12;
        final FontStyle fontStyle4;
        final Function1<? super TextLayoutResult, Unit> function13;
        final boolean z4;
        final int i28;
        final FontFamily fontFamily3;
        final FontWeight fontWeight3;
        final long j13;
        final TextDecoration textDecoration4;
        final long j14;
        ScopeUpdateScope endRestartGroup;
        Intrinsics.checkNotNullParameter(text, "text");
        Composer startRestartGroup = composer.startRestartGroup(958754041);
        if ((i4 & 1) != 0) {
            i5 = i2 | 6;
        } else if ((i2 & 14) == 0) {
            i5 = (startRestartGroup.changed(text) ? 4 : 2) | i2;
        } else {
            i5 = i2;
        }
        int i29 = i4 & 2;
        if (i29 != 0) {
            i5 |= 48;
        } else if ((i2 & 112) == 0) {
            i5 |= startRestartGroup.changed(modifier) ? 32 : 16;
            i6 = i4 & 4;
            if (i6 == 0) {
                i5 |= 384;
            } else if ((i2 & 896) == 0) {
                i5 |= startRestartGroup.changed(j) ? 256 : 128;
                i7 = i4 & 8;
                if (i7 != 0) {
                    i5 |= 3072;
                } else if ((i2 & 7168) == 0) {
                    i5 |= startRestartGroup.changed(j2) ? 2048 : 1024;
                    i8 = i4 & 16;
                    if (i8 == 0) {
                        i5 |= CpioConstants.C_ISBLK;
                    } else if ((i2 & 57344) == 0) {
                        i5 |= startRestartGroup.changed(j3) ? 16384 : 8192;
                    }
                    i9 = i4 & 32;
                    if (i9 == 0) {
                        i5 |= ProfileVerifier.CompilationStatus.RESULT_CODE_ERROR_CANT_WRITE_PROFILE_VERIFICATION_RESULT_CACHE_FILE;
                    } else if ((i2 & 458752) == 0) {
                        i5 |= startRestartGroup.changed(fontStyle) ? 131072 : 65536;
                    }
                    i10 = i4 & 64;
                    if (i10 == 0) {
                        i5 |= 1572864;
                    } else if ((i2 & 3670016) == 0) {
                        i5 |= startRestartGroup.changed(fontWeight) ? 1048576 : 524288;
                    }
                    i11 = i4 & 128;
                    if (i11 == 0) {
                        i5 |= 12582912;
                    } else if ((i2 & 29360128) == 0) {
                        i5 |= startRestartGroup.changed(fontFamily) ? 8388608 : 4194304;
                    }
                    i12 = i4 & 256;
                    if (i12 == 0) {
                        i5 |= 100663296;
                    } else if ((i2 & 234881024) == 0) {
                        i5 |= startRestartGroup.changed(j4) ? SlotTableKt.ContainsMark_Mask : 33554432;
                    }
                    i13 = i4 & 512;
                    if (i13 == 0) {
                        i5 |= 805306368;
                    } else if ((1879048192 & i2) == 0) {
                        i5 |= startRestartGroup.changed(textDecoration) ? 536870912 : 268435456;
                        i14 = i4 & 1024;
                        if (i14 != 0) {
                            i15 = i3 | 6;
                        } else if ((i3 & 14) == 0) {
                            i15 = i3 | (startRestartGroup.changed(textAlign) ? 4 : 2);
                        } else {
                            i15 = i3;
                        }
                        i16 = i4 & 2048;
                        if (i16 != 0) {
                            i15 |= 48;
                            i17 = i16;
                        } else if ((i3 & 112) == 0) {
                            i17 = i16;
                            i15 |= startRestartGroup.changed(j5) ? 32 : 16;
                        } else {
                            i17 = i16;
                        }
                        int i30 = i15;
                        i18 = i4 & 4096;
                        if (i18 != 0) {
                            i30 |= 384;
                            i19 = i18;
                        } else {
                            i19 = i18;
                            if ((i3 & 896) == 0) {
                                i30 |= startRestartGroup.changed(i) ? 256 : 128;
                                i20 = i4 & 8192;
                                if (i20 == 0) {
                                    i30 |= 3072;
                                    i21 = i20;
                                } else {
                                    i21 = i20;
                                    if ((i3 & 7168) == 0) {
                                        i30 |= startRestartGroup.changed(z) ? 2048 : 1024;
                                        i22 = i4 & 16384;
                                        if (i22 != 0) {
                                            i30 |= CpioConstants.C_ISBLK;
                                        } else if ((i3 & 57344) == 0) {
                                            i23 = i22;
                                            i30 |= startRestartGroup.changedInstance(function1) ? 16384 : 8192;
                                            if ((i3 & 458752) == 0) {
                                                i30 |= ((i4 & 32768) == 0 && startRestartGroup.changed(textStyle)) ? 131072 : 65536;
                                            }
                                            if ((i5 & 1533916891) != 306783378 && (374491 & i30) == 74898 && startRestartGroup.getSkipping()) {
                                                startRestartGroup.skipToGroupEnd();
                                                modifier4 = modifier;
                                                j11 = j;
                                                j12 = j2;
                                                j13 = j3;
                                                fontStyle4 = fontStyle;
                                                fontWeight3 = fontWeight;
                                                fontFamily3 = fontFamily;
                                                j14 = j4;
                                                textDecoration4 = textDecoration;
                                                textAlign3 = textAlign;
                                                j10 = j5;
                                                i28 = i;
                                                z4 = z;
                                                function13 = function1;
                                                textStyle3 = textStyle;
                                            } else {
                                                startRestartGroup.startDefaults();
                                                if ((i2 & 1) == 0 && !startRestartGroup.getDefaultsInvalid()) {
                                                    startRestartGroup.skipToGroupEnd();
                                                    if ((i4 & 32768) != 0) {
                                                        int i31 = (-458753) & i30;
                                                        modifier2 = modifier;
                                                        j6 = j;
                                                        j7 = j2;
                                                        j8 = j3;
                                                        fontStyle2 = fontStyle;
                                                        fontWeight2 = fontWeight;
                                                        j9 = j4;
                                                        textDecoration2 = textDecoration;
                                                        textAlign2 = textAlign;
                                                        j10 = j5;
                                                        i24 = i;
                                                        z2 = z;
                                                        function12 = function1;
                                                        textStyle2 = textStyle;
                                                        i25 = i31;
                                                        fontFamily2 = fontFamily;
                                                        startRestartGroup.endDefaults();
                                                        if (ComposerKt.isTraceInProgress()) {
                                                        }
                                                        final long j15 = j7;
                                                        final long j16 = j8;
                                                        final FontStyle fontStyle5 = fontStyle2;
                                                        final FontWeight fontWeight4 = fontWeight2;
                                                        final FontFamily fontFamily4 = fontFamily2;
                                                        final long j17 = j9;
                                                        final TextDecoration textDecoration5 = textDecoration2;
                                                        final TextAlign textAlign4 = textAlign2;
                                                        final long j18 = j10;
                                                        final int i32 = i24;
                                                        final boolean z5 = z2;
                                                        final Function1<? super TextLayoutResult, Unit> function14 = function12;
                                                        final TextStyle textStyle4 = textStyle2;
                                                        final int i33 = i5;
                                                        final int i34 = i25;
                                                        final ComposableLambda composableLambda = ComposableLambdaKt.composableLambda(startRestartGroup, -1549953165, true, new Function3<Modifier, Composer, Integer, Unit>() {
                                                            {
                                                                super(3);
                                                            }

                                                            @Override
                                                            public Unit invoke(Modifier modifier5, Composer composer2, Integer num) {
                                                                invoke(modifier5, composer2, num.intValue());
                                                                return Unit.INSTANCE;
                                                            }

                                                            @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
                                                            @Composable
                                                            public final void invoke(@NotNull Modifier localModifier, @Nullable Composer composer2, int i35) {
                                                                int i36;
                                                                Intrinsics.checkNotNullParameter(localModifier, "localModifier");
                                                                if ((i35 & 14) == 0) {
                                                                    i36 = i35 | (composer2.changed(localModifier) ? 4 : 2);
                                                                } else {
                                                                    i36 = i35;
                                                                }
                                                                if ((i36 & 91) == 18 && composer2.getSkipping()) {
                                                                    composer2.skipToGroupEnd();
                                                                    return;
                                                                }
                                                                if (ComposerKt.isTraceInProgress()) {
                                                                    ComposerKt.traceEventStart(-1549953165, i36, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous> (MarqueeText.kt:49)");
                                                                }
                                                                String str = text;
                                                                long j19 = j15;
                                                                long j20 = j16;
                                                                FontStyle fontStyle6 = fontStyle5;
                                                                FontWeight fontWeight5 = fontWeight4;
                                                                FontFamily fontFamily5 = fontFamily4;
                                                                long j21 = j17;
                                                                TextDecoration textDecoration6 = textDecoration5;
                                                                TextAlign textAlign5 = textAlign4;
                                                                long j22 = j18;
                                                                int i37 = i32;
                                                                boolean z6 = z5;
                                                                Function1<TextLayoutResult, Unit> function15 = function14;
                                                                TextStyle textStyle5 = textStyle4;
                                                                int i38 = i33;
                                                                int i39 = (i38 & 14) | ((i36 << 3) & 112) | ((i38 >> 3) & 896) | ((i38 >> 3) & 7168) | ((i38 >> 3) & 57344) | ((i38 >> 3) & 458752) | ((i38 >> 3) & 3670016) | ((i38 >> 3) & 29360128) | ((i38 >> 3) & 234881024);
                                                                int i40 = i34;
                                                                TextKt.m1375Text4IGK_g(str, localModifier, j19, j20, fontStyle6, fontWeight5, fontFamily5, j21, textDecoration6, textAlign5, j22, i37, z6, 1, 0, function15, textStyle5, composer2, i39 | ((i40 << 27) & 1879048192), ((i40 >> 3) & 14) | 3072 | ((i40 >> 3) & 112) | ((i40 >> 3) & 896) | ((i40 << 3) & 458752) | ((i40 << 3) & 3670016), 16384);
                                                                if (ComposerKt.isTraceInProgress()) {
                                                                    ComposerKt.traceEventEnd();
                                                                }
                                                            }
                                                        });
                                                        startRestartGroup.startReplaceableGroup(-492369756);
                                                        rememberedValue = startRestartGroup.rememberedValue();
                                                        Composer.Companion companion = Composer.INSTANCE;
                                                        companion.getClass();
                                                        FontFamily fontFamily5 = fontFamily2;
                                                        obj = Composer.Companion.Empty;
                                                        if (rememberedValue == obj) {
                                                        }
                                                        startRestartGroup.endReplaceableGroup();
                                                        final MutableState mutableState = (MutableState) rememberedValue;
                                                        m = ActivityResultRegistryKt$$ExternalSyntheticOutline0.m(startRestartGroup, -492369756, companion);
                                                        if (m == obj) {
                                                        }
                                                        startRestartGroup.endReplaceableGroup();
                                                        final MutableState mutableState2 = (MutableState) m;
                                                        Object value = mutableState2.getValue();
                                                        TextAlign textAlign5 = textAlign2;
                                                        startRestartGroup.startReplaceableGroup(511388516);
                                                        changed = startRestartGroup.changed(mutableState2) | startRestartGroup.changed(mutableState);
                                                        int i35 = i24;
                                                        Object rememberedValue2 = startRestartGroup.rememberedValue();
                                                        if (!changed) {
                                                        }
                                                        rememberedValue2 = new MarqueeTextKt$MarqueeText$2$1(mutableState2, mutableState, null);
                                                        startRestartGroup.updateRememberedValue(rememberedValue2);
                                                        startRestartGroup.endReplaceableGroup();
                                                        EffectsKt.LaunchedEffect(value, (Function2<? super CoroutineScope, ? super Continuation<? super Unit>, ? extends Object>) rememberedValue2, startRestartGroup, 64);
                                                        Modifier clipToBounds = ClipKt.clipToBounds(modifier3);
                                                        Object[] objArr = {composableLambda, mutableState2, mutableState, Color.m1805boximpl(j6)};
                                                        startRestartGroup.startReplaceableGroup(-568225417);
                                                        i27 = 0;
                                                        z3 = false;
                                                        for (i26 = 4; i27 < i26; i26 = 4) {
                                                        }
                                                        Object rememberedValue3 = startRestartGroup.rememberedValue();
                                                        if (!z3) {
                                                        }
                                                        final long j19 = j6;
                                                        final int i36 = i5;
                                                        rememberedValue3 = new Function2<SubcomposeMeasureScope, Constraints, MeasureResult>() {
                                                            {
                                                                super(2);
                                                            }

                                                            @Override
                                                            public MeasureResult invoke(SubcomposeMeasureScope subcomposeMeasureScope, Constraints constraints) {
                                                                return m6115invoke0kLqBqw(subcomposeMeasureScope, constraints.value);
                                                            }

                                                            @NotNull
                                                            public final MeasureResult m6115invoke0kLqBqw(@NotNull SubcomposeMeasureScope SubcomposeLayout, long j20) {
                                                                Intrinsics.checkNotNullParameter(SubcomposeLayout, "$this$SubcomposeLayout");
                                                                long m4031copyZbe2FdA$default = Constraints.m4031copyZbe2FdA$default(j20, 0, Integer.MAX_VALUE, 0, 0, 13, null);
                                                                final Ref.ObjectRef objectRef = new Ref.ObjectRef();
                                                                MarqueeLayers marqueeLayers = MarqueeLayers.MainText;
                                                                final Function3<Modifier, Composer, Integer, Unit> function3 = composableLambda;
                                                                objectRef.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers, ComposableLambdaKt.composableLambdaInstance(1540048219, true, new Function2<Composer, Integer, Unit>() {
                                                                    {
                                                                        super(2);
                                                                    }

                                                                    @Override
                                                                    public Unit invoke(Composer composer2, Integer num) {
                                                                        invoke(composer2, num.intValue());
                                                                        return Unit.INSTANCE;
                                                                    }

                                                                    @Composable
                                                                    public final void invoke(@Nullable Composer composer2, int i37) {
                                                                        if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                                                            composer2.skipToGroupEnd();
                                                                            return;
                                                                        }
                                                                        if (ComposerKt.isTraceInProgress()) {
                                                                            ComposerKt.traceEventStart(1540048219, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:105)");
                                                                        }
                                                                        function3.invoke(Modifier.INSTANCE, composer2, 54);
                                                                        if (ComposerKt.isTraceInProgress()) {
                                                                            ComposerKt.traceEventEnd();
                                                                        }
                                                                    }
                                                                })))).mo3070measureBRTryo0(m4031copyZbe2FdA$default);
                                                                final Ref.ObjectRef objectRef2 = new Ref.ObjectRef();
                                                                final Ref.ObjectRef objectRef3 = new Ref.ObjectRef();
                                                                if (((Placeable) objectRef.element).getWidth() <= Constraints.m4040getMaxWidthimpl(j20)) {
                                                                    MarqueeLayers marqueeLayers2 = MarqueeLayers.SecondaryText;
                                                                    final Function3<Modifier, Composer, Integer, Unit> function32 = composableLambda;
                                                                    objectRef.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers2, ComposableLambdaKt.composableLambdaInstance(-318004831, true, new Function2<Composer, Integer, Unit>() {
                                                                        {
                                                                            super(2);
                                                                        }

                                                                        @Override
                                                                        public Unit invoke(Composer composer2, Integer num) {
                                                                            invoke(composer2, num.intValue());
                                                                            return Unit.INSTANCE;
                                                                        }

                                                                        @Composable
                                                                        public final void invoke(@Nullable Composer composer2, int i37) {
                                                                            if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                                                                composer2.skipToGroupEnd();
                                                                                return;
                                                                            }
                                                                            if (ComposerKt.isTraceInProgress()) {
                                                                                ComposerKt.traceEventStart(-318004831, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:113)");
                                                                            }
                                                                            function32.invoke(SizeKt.fillMaxWidth$default(Modifier.INSTANCE, 0.0f, 1, null), composer2, 54);
                                                                            if (ComposerKt.isTraceInProgress()) {
                                                                                ComposerKt.traceEventEnd();
                                                                            }
                                                                        }
                                                                    })))).mo3070measureBRTryo0(j20);
                                                                    mutableState2.setValue(null);
                                                                } else {
                                                                    int m4040getMaxWidthimpl = (Constraints.m4040getMaxWidthimpl(j20) * 2) / 3;
                                                                    mutableState2.setValue(new TextLayoutInfo(((Placeable) objectRef.element).getWidth() + m4040getMaxWidthimpl, Constraints.m4040getMaxWidthimpl(j20)));
                                                                    int MarqueeText_qzfHYl0$lambda$1 = MarqueeTextKt.MarqueeText_qzfHYl0$lambda$1(mutableState) + ((Placeable) objectRef.element).getWidth() + m4040getMaxWidthimpl;
                                                                    if (Constraints.m4040getMaxWidthimpl(j20) - MarqueeText_qzfHYl0$lambda$1 > 0) {
                                                                        MarqueeLayers marqueeLayers3 = MarqueeLayers.SecondaryText;
                                                                        final Function3<Modifier, Composer, Integer, Unit> function33 = composableLambda;
                                                                        objectRef3.element = new Pair(((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers3, ComposableLambdaKt.composableLambdaInstance(-930325559, true, new Function2<Composer, Integer, Unit>() {
                                                                            {
                                                                                super(2);
                                                                            }

                                                                            @Override
                                                                            public Unit invoke(Composer composer2, Integer num) {
                                                                                invoke(composer2, num.intValue());
                                                                                return Unit.INSTANCE;
                                                                            }

                                                                            @Composable
                                                                            public final void invoke(@Nullable Composer composer2, int i37) {
                                                                                if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                                                                    composer2.skipToGroupEnd();
                                                                                    return;
                                                                                }
                                                                                if (ComposerKt.isTraceInProgress()) {
                                                                                    ComposerKt.traceEventStart(-930325559, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:127)");
                                                                                }
                                                                                function33.invoke(Modifier.INSTANCE, composer2, 54);
                                                                                if (ComposerKt.isTraceInProgress()) {
                                                                                    ComposerKt.traceEventEnd();
                                                                                }
                                                                            }
                                                                        })))).mo3070measureBRTryo0(m4031copyZbe2FdA$default), Integer.valueOf(MarqueeText_qzfHYl0$lambda$1));
                                                                    }
                                                                    MarqueeLayers marqueeLayers4 = MarqueeLayers.EdgesGradient;
                                                                    final long j21 = j19;
                                                                    final int i37 = i36;
                                                                    objectRef2.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers4, ComposableLambdaKt.composableLambdaInstance(289953678, true, new Function2<Composer, Integer, Unit>() {
                                                                        {
                                                                            super(2);
                                                                        }

                                                                        @Override
                                                                        public Unit invoke(Composer composer2, Integer num) {
                                                                            invoke(composer2, num.intValue());
                                                                            return Unit.INSTANCE;
                                                                        }

                                                                        @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
                                                                        @Composable
                                                                        public final void invoke(@Nullable Composer composer2, int i38) {
                                                                            if ((i38 & 11) == 2 && composer2.getSkipping()) {
                                                                                composer2.skipToGroupEnd();
                                                                                return;
                                                                            }
                                                                            if (ComposerKt.isTraceInProgress()) {
                                                                                ComposerKt.traceEventStart(289953678, i38, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:132)");
                                                                            }
                                                                            MarqueeTextKt.m6110Gradientek8zF_U(j21, composer2, (i37 >> 6) & 14);
                                                                            if (ComposerKt.isTraceInProgress()) {
                                                                                ComposerKt.traceEventEnd();
                                                                            }
                                                                        }
                                                                    })))).mo3070measureBRTryo0(Constraints.m4031copyZbe2FdA$default(j20, 0, 0, 0, ((Placeable) objectRef.element).getHeight(), 7, null));
                                                                }
                                                                int m4040getMaxWidthimpl2 = Constraints.m4040getMaxWidthimpl(j20);
                                                                int height = ((Placeable) objectRef.element).getHeight();
                                                                final MutableState<Integer> mutableState3 = mutableState;
                                                                return MeasureScope.CC.layout$default(SubcomposeLayout, m4040getMaxWidthimpl2, height, null, new Function1<Placeable.PlacementScope, Unit>() {
                                                                    {
                                                                        super(1);
                                                                    }

                                                                    @Override
                                                                    public Unit invoke(Placeable.PlacementScope placementScope) {
                                                                        invoke2(placementScope);
                                                                        return Unit.INSTANCE;
                                                                    }

                                                                    public final void invoke2(@NotNull Placeable.PlacementScope layout) {
                                                                        Intrinsics.checkNotNullParameter(layout, "$this$layout");
                                                                        Placeable.PlacementScope.place$default(layout, objectRef.element, MarqueeTextKt.MarqueeText_qzfHYl0$lambda$1(mutableState3), 0, 0.0f, 4, null);
                                                                        Pair<Placeable, Integer> pair = objectRef3.element;
                                                                        if (pair != null) {
                                                                            Placeable.PlacementScope.place$default(layout, pair.first, pair.second.intValue(), 0, 0.0f, 4, null);
                                                                        }
                                                                        Placeable placeable = objectRef2.element;
                                                                        if (placeable != null) {
                                                                            Placeable.PlacementScope.place$default(layout, placeable, 0, 0, 0.0f, 4, null);
                                                                        }
                                                                    }
                                                                }, 4, null);
                                                            }
                                                        };
                                                        startRestartGroup.updateRememberedValue(rememberedValue3);
                                                        startRestartGroup.endReplaceableGroup();
                                                        SubcomposeLayoutKt.SubcomposeLayout(clipToBounds, (Function2) rememberedValue3, startRestartGroup, 0, 0);
                                                        if (ComposerKt.isTraceInProgress()) {
                                                        }
                                                        textAlign3 = textAlign5;
                                                        textStyle3 = textStyle2;
                                                        modifier4 = modifier3;
                                                        j11 = j6;
                                                        j12 = j7;
                                                        fontStyle4 = fontStyle3;
                                                        function13 = function12;
                                                        z4 = z2;
                                                        i28 = i35;
                                                        long j20 = j9;
                                                        fontFamily3 = fontFamily5;
                                                        fontWeight3 = fontWeight2;
                                                        j13 = j8;
                                                        textDecoration4 = textDecoration3;
                                                        j14 = j20;
                                                    } else {
                                                        modifier2 = modifier;
                                                        j6 = j;
                                                        j7 = j2;
                                                        j8 = j3;
                                                        fontStyle2 = fontStyle;
                                                        fontWeight2 = fontWeight;
                                                        fontFamily2 = fontFamily;
                                                        j9 = j4;
                                                        textDecoration2 = textDecoration;
                                                        textAlign2 = textAlign;
                                                        j10 = j5;
                                                        i24 = i;
                                                        z2 = z;
                                                        function12 = function1;
                                                        i25 = i30;
                                                        textStyle2 = textStyle;
                                                        startRestartGroup.endDefaults();
                                                        if (ComposerKt.isTraceInProgress()) {
                                                        }
                                                        final long j152 = j7;
                                                        final long j162 = j8;
                                                        final FontStyle fontStyle52 = fontStyle2;
                                                        final FontWeight fontWeight42 = fontWeight2;
                                                        final FontFamily fontFamily42 = fontFamily2;
                                                        final long j172 = j9;
                                                        final TextDecoration textDecoration52 = textDecoration2;
                                                        final TextAlign textAlign42 = textAlign2;
                                                        final long j182 = j10;
                                                        final int i322 = i24;
                                                        final boolean z52 = z2;
                                                        final Function1<? super TextLayoutResult, Unit> function142 = function12;
                                                        final TextStyle textStyle42 = textStyle2;
                                                        final int i332 = i5;
                                                        final int i342 = i25;
                                                        final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> composableLambda2 = ComposableLambdaKt.composableLambda(startRestartGroup, -1549953165, true, new Function3<Modifier, Composer, Integer, Unit>() {
                                                            {
                                                                super(3);
                                                            }

                                                            @Override
                                                            public Unit invoke(Modifier modifier5, Composer composer2, Integer num) {
                                                                invoke(modifier5, composer2, num.intValue());
                                                                return Unit.INSTANCE;
                                                            }

                                                            @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
                                                            @Composable
                                                            public final void invoke(@NotNull Modifier localModifier, @Nullable Composer composer2, int i352) {
                                                                int i362;
                                                                Intrinsics.checkNotNullParameter(localModifier, "localModifier");
                                                                if ((i352 & 14) == 0) {
                                                                    i362 = i352 | (composer2.changed(localModifier) ? 4 : 2);
                                                                } else {
                                                                    i362 = i352;
                                                                }
                                                                if ((i362 & 91) == 18 && composer2.getSkipping()) {
                                                                    composer2.skipToGroupEnd();
                                                                    return;
                                                                }
                                                                if (ComposerKt.isTraceInProgress()) {
                                                                    ComposerKt.traceEventStart(-1549953165, i362, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous> (MarqueeText.kt:49)");
                                                                }
                                                                String str = text;
                                                                long j192 = j152;
                                                                long j202 = j162;
                                                                FontStyle fontStyle6 = fontStyle52;
                                                                FontWeight fontWeight5 = fontWeight42;
                                                                FontFamily fontFamily52 = fontFamily42;
                                                                long j21 = j172;
                                                                TextDecoration textDecoration6 = textDecoration52;
                                                                TextAlign textAlign52 = textAlign42;
                                                                long j22 = j182;
                                                                int i37 = i322;
                                                                boolean z6 = z52;
                                                                Function1<TextLayoutResult, Unit> function15 = function142;
                                                                TextStyle textStyle5 = textStyle42;
                                                                int i38 = i332;
                                                                int i39 = (i38 & 14) | ((i362 << 3) & 112) | ((i38 >> 3) & 896) | ((i38 >> 3) & 7168) | ((i38 >> 3) & 57344) | ((i38 >> 3) & 458752) | ((i38 >> 3) & 3670016) | ((i38 >> 3) & 29360128) | ((i38 >> 3) & 234881024);
                                                                int i40 = i342;
                                                                TextKt.m1375Text4IGK_g(str, localModifier, j192, j202, fontStyle6, fontWeight5, fontFamily52, j21, textDecoration6, textAlign52, j22, i37, z6, 1, 0, function15, textStyle5, composer2, i39 | ((i40 << 27) & 1879048192), ((i40 >> 3) & 14) | 3072 | ((i40 >> 3) & 112) | ((i40 >> 3) & 896) | ((i40 << 3) & 458752) | ((i40 << 3) & 3670016), 16384);
                                                                if (ComposerKt.isTraceInProgress()) {
                                                                    ComposerKt.traceEventEnd();
                                                                }
                                                            }
                                                        });
                                                        startRestartGroup.startReplaceableGroup(-492369756);
                                                        rememberedValue = startRestartGroup.rememberedValue();
                                                        Composer.Companion companion2 = Composer.INSTANCE;
                                                        companion2.getClass();
                                                        FontFamily fontFamily52 = fontFamily2;
                                                        obj = Composer.Companion.Empty;
                                                        if (rememberedValue == obj) {
                                                        }
                                                        startRestartGroup.endReplaceableGroup();
                                                        final MutableState<Integer> mutableState3 = (MutableState) rememberedValue;
                                                        m = ActivityResultRegistryKt$$ExternalSyntheticOutline0.m(startRestartGroup, -492369756, companion2);
                                                        if (m == obj) {
                                                        }
                                                        startRestartGroup.endReplaceableGroup();
                                                        final MutableState<TextLayoutInfo> mutableState22 = (MutableState) m;
                                                        Object value2 = mutableState22.getValue();
                                                        TextAlign textAlign52 = textAlign2;
                                                        startRestartGroup.startReplaceableGroup(511388516);
                                                        changed = startRestartGroup.changed(mutableState22) | startRestartGroup.changed(mutableState3);
                                                        int i352 = i24;
                                                        Object rememberedValue22 = startRestartGroup.rememberedValue();
                                                        if (!changed) {
                                                        }
                                                        rememberedValue22 = new MarqueeTextKt$MarqueeText$2$1(mutableState22, mutableState3, null);
                                                        startRestartGroup.updateRememberedValue(rememberedValue22);
                                                        startRestartGroup.endReplaceableGroup();
                                                        EffectsKt.LaunchedEffect(value2, (Function2<? super CoroutineScope, ? super Continuation<? super Unit>, ? extends Object>) rememberedValue22, startRestartGroup, 64);
                                                        Modifier clipToBounds2 = ClipKt.clipToBounds(modifier3);
                                                        Object[] objArr2 = {composableLambda2, mutableState22, mutableState3, Color.m1805boximpl(j6)};
                                                        startRestartGroup.startReplaceableGroup(-568225417);
                                                        i27 = 0;
                                                        z3 = false;
                                                        while (i27 < i26) {
                                                        }
                                                        Object rememberedValue32 = startRestartGroup.rememberedValue();
                                                        if (!z3) {
                                                        }
                                                        final long j192 = j6;
                                                        final int i362 = i5;
                                                        rememberedValue32 = new Function2<SubcomposeMeasureScope, Constraints, MeasureResult>() {
                                                            {
                                                                super(2);
                                                            }

                                                            @Override
                                                            public MeasureResult invoke(SubcomposeMeasureScope subcomposeMeasureScope, Constraints constraints) {
                                                                return m6115invoke0kLqBqw(subcomposeMeasureScope, constraints.value);
                                                            }

                                                            @NotNull
                                                            public final MeasureResult m6115invoke0kLqBqw(@NotNull SubcomposeMeasureScope SubcomposeLayout, long j202) {
                                                                Intrinsics.checkNotNullParameter(SubcomposeLayout, "$this$SubcomposeLayout");
                                                                long m4031copyZbe2FdA$default = Constraints.m4031copyZbe2FdA$default(j202, 0, Integer.MAX_VALUE, 0, 0, 13, null);
                                                                final Ref.ObjectRef<Placeable> objectRef = new Ref.ObjectRef();
                                                                MarqueeLayers marqueeLayers = MarqueeLayers.MainText;
                                                                final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function3 = composableLambda2;
                                                                objectRef.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers, ComposableLambdaKt.composableLambdaInstance(1540048219, true, new Function2<Composer, Integer, Unit>() {
                                                                    {
                                                                        super(2);
                                                                    }

                                                                    @Override
                                                                    public Unit invoke(Composer composer2, Integer num) {
                                                                        invoke(composer2, num.intValue());
                                                                        return Unit.INSTANCE;
                                                                    }

                                                                    @Composable
                                                                    public final void invoke(@Nullable Composer composer2, int i37) {
                                                                        if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                                                            composer2.skipToGroupEnd();
                                                                            return;
                                                                        }
                                                                        if (ComposerKt.isTraceInProgress()) {
                                                                            ComposerKt.traceEventStart(1540048219, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:105)");
                                                                        }
                                                                        function3.invoke(Modifier.INSTANCE, composer2, 54);
                                                                        if (ComposerKt.isTraceInProgress()) {
                                                                            ComposerKt.traceEventEnd();
                                                                        }
                                                                    }
                                                                })))).mo3070measureBRTryo0(m4031copyZbe2FdA$default);
                                                                final Ref.ObjectRef<Placeable> objectRef2 = new Ref.ObjectRef();
                                                                final Ref.ObjectRef<Pair<Placeable, Integer>> objectRef3 = new Ref.ObjectRef();
                                                                if (((Placeable) objectRef.element).getWidth() <= Constraints.m4040getMaxWidthimpl(j202)) {
                                                                    MarqueeLayers marqueeLayers2 = MarqueeLayers.SecondaryText;
                                                                    final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function32 = composableLambda2;
                                                                    objectRef.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers2, ComposableLambdaKt.composableLambdaInstance(-318004831, true, new Function2<Composer, Integer, Unit>() {
                                                                        {
                                                                            super(2);
                                                                        }

                                                                        @Override
                                                                        public Unit invoke(Composer composer2, Integer num) {
                                                                            invoke(composer2, num.intValue());
                                                                            return Unit.INSTANCE;
                                                                        }

                                                                        @Composable
                                                                        public final void invoke(@Nullable Composer composer2, int i37) {
                                                                            if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                                                                composer2.skipToGroupEnd();
                                                                                return;
                                                                            }
                                                                            if (ComposerKt.isTraceInProgress()) {
                                                                                ComposerKt.traceEventStart(-318004831, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:113)");
                                                                            }
                                                                            function32.invoke(SizeKt.fillMaxWidth$default(Modifier.INSTANCE, 0.0f, 1, null), composer2, 54);
                                                                            if (ComposerKt.isTraceInProgress()) {
                                                                                ComposerKt.traceEventEnd();
                                                                            }
                                                                        }
                                                                    })))).mo3070measureBRTryo0(j202);
                                                                    mutableState22.setValue(null);
                                                                } else {
                                                                    int m4040getMaxWidthimpl = (Constraints.m4040getMaxWidthimpl(j202) * 2) / 3;
                                                                    mutableState22.setValue(new TextLayoutInfo(((Placeable) objectRef.element).getWidth() + m4040getMaxWidthimpl, Constraints.m4040getMaxWidthimpl(j202)));
                                                                    int MarqueeText_qzfHYl0$lambda$1 = MarqueeTextKt.MarqueeText_qzfHYl0$lambda$1(mutableState3) + ((Placeable) objectRef.element).getWidth() + m4040getMaxWidthimpl;
                                                                    if (Constraints.m4040getMaxWidthimpl(j202) - MarqueeText_qzfHYl0$lambda$1 > 0) {
                                                                        MarqueeLayers marqueeLayers3 = MarqueeLayers.SecondaryText;
                                                                        final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function33 = composableLambda2;
                                                                        objectRef3.element = new Pair(((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers3, ComposableLambdaKt.composableLambdaInstance(-930325559, true, new Function2<Composer, Integer, Unit>() {
                                                                            {
                                                                                super(2);
                                                                            }

                                                                            @Override
                                                                            public Unit invoke(Composer composer2, Integer num) {
                                                                                invoke(composer2, num.intValue());
                                                                                return Unit.INSTANCE;
                                                                            }

                                                                            @Composable
                                                                            public final void invoke(@Nullable Composer composer2, int i37) {
                                                                                if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                                                                    composer2.skipToGroupEnd();
                                                                                    return;
                                                                                }
                                                                                if (ComposerKt.isTraceInProgress()) {
                                                                                    ComposerKt.traceEventStart(-930325559, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:127)");
                                                                                }
                                                                                function33.invoke(Modifier.INSTANCE, composer2, 54);
                                                                                if (ComposerKt.isTraceInProgress()) {
                                                                                    ComposerKt.traceEventEnd();
                                                                                }
                                                                            }
                                                                        })))).mo3070measureBRTryo0(m4031copyZbe2FdA$default), Integer.valueOf(MarqueeText_qzfHYl0$lambda$1));
                                                                    }
                                                                    MarqueeLayers marqueeLayers4 = MarqueeLayers.EdgesGradient;
                                                                    final long j21 = j192;
                                                                    final int i37 = i362;
                                                                    objectRef2.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers4, ComposableLambdaKt.composableLambdaInstance(289953678, true, new Function2<Composer, Integer, Unit>() {
                                                                        {
                                                                            super(2);
                                                                        }

                                                                        @Override
                                                                        public Unit invoke(Composer composer2, Integer num) {
                                                                            invoke(composer2, num.intValue());
                                                                            return Unit.INSTANCE;
                                                                        }

                                                                        @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
                                                                        @Composable
                                                                        public final void invoke(@Nullable Composer composer2, int i38) {
                                                                            if ((i38 & 11) == 2 && composer2.getSkipping()) {
                                                                                composer2.skipToGroupEnd();
                                                                                return;
                                                                            }
                                                                            if (ComposerKt.isTraceInProgress()) {
                                                                                ComposerKt.traceEventStart(289953678, i38, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:132)");
                                                                            }
                                                                            MarqueeTextKt.m6110Gradientek8zF_U(j21, composer2, (i37 >> 6) & 14);
                                                                            if (ComposerKt.isTraceInProgress()) {
                                                                                ComposerKt.traceEventEnd();
                                                                            }
                                                                        }
                                                                    })))).mo3070measureBRTryo0(Constraints.m4031copyZbe2FdA$default(j202, 0, 0, 0, ((Placeable) objectRef.element).getHeight(), 7, null));
                                                                }
                                                                int m4040getMaxWidthimpl2 = Constraints.m4040getMaxWidthimpl(j202);
                                                                int height = ((Placeable) objectRef.element).getHeight();
                                                                final MutableState<Integer> mutableState32 = mutableState3;
                                                                return MeasureScope.CC.layout$default(SubcomposeLayout, m4040getMaxWidthimpl2, height, null, new Function1<Placeable.PlacementScope, Unit>() {
                                                                    {
                                                                        super(1);
                                                                    }

                                                                    @Override
                                                                    public Unit invoke(Placeable.PlacementScope placementScope) {
                                                                        invoke2(placementScope);
                                                                        return Unit.INSTANCE;
                                                                    }

                                                                    public final void invoke2(@NotNull Placeable.PlacementScope layout) {
                                                                        Intrinsics.checkNotNullParameter(layout, "$this$layout");
                                                                        Placeable.PlacementScope.place$default(layout, objectRef.element, MarqueeTextKt.MarqueeText_qzfHYl0$lambda$1(mutableState32), 0, 0.0f, 4, null);
                                                                        Pair<Placeable, Integer> pair = objectRef3.element;
                                                                        if (pair != null) {
                                                                            Placeable.PlacementScope.place$default(layout, pair.first, pair.second.intValue(), 0, 0.0f, 4, null);
                                                                        }
                                                                        Placeable placeable = objectRef2.element;
                                                                        if (placeable != null) {
                                                                            Placeable.PlacementScope.place$default(layout, placeable, 0, 0, 0.0f, 4, null);
                                                                        }
                                                                    }
                                                                }, 4, null);
                                                            }
                                                        };
                                                        startRestartGroup.updateRememberedValue(rememberedValue32);
                                                        startRestartGroup.endReplaceableGroup();
                                                        SubcomposeLayoutKt.SubcomposeLayout(clipToBounds2, (Function2) rememberedValue32, startRestartGroup, 0, 0);
                                                        if (ComposerKt.isTraceInProgress()) {
                                                        }
                                                        textAlign3 = textAlign52;
                                                        textStyle3 = textStyle2;
                                                        modifier4 = modifier3;
                                                        j11 = j6;
                                                        j12 = j7;
                                                        fontStyle4 = fontStyle3;
                                                        function13 = function12;
                                                        z4 = z2;
                                                        i28 = i352;
                                                        long j202 = j9;
                                                        fontFamily3 = fontFamily52;
                                                        fontWeight3 = fontWeight2;
                                                        j13 = j8;
                                                        textDecoration4 = textDecoration3;
                                                        j14 = j202;
                                                    }
                                                } else {
                                                    modifier2 = i29 == 0 ? Modifier.INSTANCE : modifier;
                                                    if (i6 == 0) {
                                                        Color.INSTANCE.getClass();
                                                        j6 = Color.White;
                                                    } else {
                                                        j6 = j;
                                                    }
                                                    if (i7 == 0) {
                                                        Color.INSTANCE.getClass();
                                                        j7 = Color.Unspecified;
                                                    } else {
                                                        j7 = j2;
                                                    }
                                                    if (i8 == 0) {
                                                        TextUnit.INSTANCE.getClass();
                                                        j8 = TextUnit.Unspecified;
                                                    } else {
                                                        j8 = j3;
                                                    }
                                                    fontStyle2 = i9 == 0 ? null : fontStyle;
                                                    fontWeight2 = i10 == 0 ? null : fontWeight;
                                                    fontFamily2 = i11 == 0 ? null : fontFamily;
                                                    if (i12 == 0) {
                                                        TextUnit.INSTANCE.getClass();
                                                        j9 = TextUnit.Unspecified;
                                                    } else {
                                                        j9 = j4;
                                                    }
                                                    textDecoration2 = i13 == 0 ? null : textDecoration;
                                                    textAlign2 = i14 == 0 ? null : textAlign;
                                                    if (i17 == 0) {
                                                        TextUnit.INSTANCE.getClass();
                                                        j10 = TextUnit.Unspecified;
                                                    } else {
                                                        j10 = j5;
                                                    }
                                                    if (i19 == 0) {
                                                        TextOverflow.INSTANCE.getClass();
                                                        i24 = TextOverflow.Clip;
                                                    } else {
                                                        i24 = i;
                                                    }
                                                    z2 = i21 == 0 ? true : z;
                                                    function12 = i23 == 0 ? new Function1<TextLayoutResult, Unit>() {
                                                        public final void invoke2(@NotNull TextLayoutResult it) {
                                                            Intrinsics.checkNotNullParameter(it, "it");
                                                        }

                                                        @Override
                                                        public Unit invoke(TextLayoutResult textLayoutResult) {
                                                            invoke2(textLayoutResult);
                                                            return Unit.INSTANCE;
                                                        }
                                                    } : function1;
                                                    FontFamily fontFamily6 = fontFamily2;
                                                    if ((i4 & 32768) != 0) {
                                                        i25 = i30 & (-458753);
                                                        textStyle2 = (TextStyle) startRestartGroup.consume(TextKt.getLocalTextStyle());
                                                        fontFamily2 = fontFamily6;
                                                        startRestartGroup.endDefaults();
                                                        if (ComposerKt.isTraceInProgress()) {
                                                            modifier3 = modifier2;
                                                            ComposerKt.traceEventStart(958754041, i5, i25, "com.paulkman.nova.feature.game.ui.component.MarqueeText (MarqueeText.kt:31)");
                                                        } else {
                                                            modifier3 = modifier2;
                                                        }
                                                        final long j1522 = j7;
                                                        final long j1622 = j8;
                                                        final FontStyle fontStyle522 = fontStyle2;
                                                        final FontWeight fontWeight422 = fontWeight2;
                                                        final FontFamily fontFamily422 = fontFamily2;
                                                        final long j1722 = j9;
                                                        final TextDecoration textDecoration522 = textDecoration2;
                                                        final TextAlign textAlign422 = textAlign2;
                                                        final long j1822 = j10;
                                                        final int i3222 = i24;
                                                        final boolean z522 = z2;
                                                        final Function1<? super TextLayoutResult, Unit> function1422 = function12;
                                                        final TextStyle textStyle422 = textStyle2;
                                                        final int i3322 = i5;
                                                        final int i3422 = i25;
                                                        final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> composableLambda22 = ComposableLambdaKt.composableLambda(startRestartGroup, -1549953165, true, new Function3<Modifier, Composer, Integer, Unit>() {
                                                            {
                                                                super(3);
                                                            }

                                                            @Override
                                                            public Unit invoke(Modifier modifier5, Composer composer2, Integer num) {
                                                                invoke(modifier5, composer2, num.intValue());
                                                                return Unit.INSTANCE;
                                                            }

                                                            @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
                                                            @Composable
                                                            public final void invoke(@NotNull Modifier localModifier, @Nullable Composer composer2, int i3522) {
                                                                int i3622;
                                                                Intrinsics.checkNotNullParameter(localModifier, "localModifier");
                                                                if ((i3522 & 14) == 0) {
                                                                    i3622 = i3522 | (composer2.changed(localModifier) ? 4 : 2);
                                                                } else {
                                                                    i3622 = i3522;
                                                                }
                                                                if ((i3622 & 91) == 18 && composer2.getSkipping()) {
                                                                    composer2.skipToGroupEnd();
                                                                    return;
                                                                }
                                                                if (ComposerKt.isTraceInProgress()) {
                                                                    ComposerKt.traceEventStart(-1549953165, i3622, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous> (MarqueeText.kt:49)");
                                                                }
                                                                String str = text;
                                                                long j1922 = j1522;
                                                                long j2022 = j1622;
                                                                FontStyle fontStyle6 = fontStyle522;
                                                                FontWeight fontWeight5 = fontWeight422;
                                                                FontFamily fontFamily522 = fontFamily422;
                                                                long j21 = j1722;
                                                                TextDecoration textDecoration6 = textDecoration522;
                                                                TextAlign textAlign522 = textAlign422;
                                                                long j22 = j1822;
                                                                int i37 = i3222;
                                                                boolean z6 = z522;
                                                                Function1<TextLayoutResult, Unit> function15 = function1422;
                                                                TextStyle textStyle5 = textStyle422;
                                                                int i38 = i3322;
                                                                int i39 = (i38 & 14) | ((i3622 << 3) & 112) | ((i38 >> 3) & 896) | ((i38 >> 3) & 7168) | ((i38 >> 3) & 57344) | ((i38 >> 3) & 458752) | ((i38 >> 3) & 3670016) | ((i38 >> 3) & 29360128) | ((i38 >> 3) & 234881024);
                                                                int i40 = i3422;
                                                                TextKt.m1375Text4IGK_g(str, localModifier, j1922, j2022, fontStyle6, fontWeight5, fontFamily522, j21, textDecoration6, textAlign522, j22, i37, z6, 1, 0, function15, textStyle5, composer2, i39 | ((i40 << 27) & 1879048192), ((i40 >> 3) & 14) | 3072 | ((i40 >> 3) & 112) | ((i40 >> 3) & 896) | ((i40 << 3) & 458752) | ((i40 << 3) & 3670016), 16384);
                                                                if (ComposerKt.isTraceInProgress()) {
                                                                    ComposerKt.traceEventEnd();
                                                                }
                                                            }
                                                        });
                                                        startRestartGroup.startReplaceableGroup(-492369756);
                                                        rememberedValue = startRestartGroup.rememberedValue();
                                                        Composer.Companion companion22 = Composer.INSTANCE;
                                                        companion22.getClass();
                                                        FontFamily fontFamily522 = fontFamily2;
                                                        obj = Composer.Companion.Empty;
                                                        if (rememberedValue == obj) {
                                                            textDecoration3 = textDecoration2;
                                                            fontStyle3 = fontStyle2;
                                                            rememberedValue = SnapshotStateKt__SnapshotStateKt.mutableStateOf$default(0, null, 2, null);
                                                            startRestartGroup.updateRememberedValue(rememberedValue);
                                                        } else {
                                                            textDecoration3 = textDecoration2;
                                                            fontStyle3 = fontStyle2;
                                                        }
                                                        startRestartGroup.endReplaceableGroup();
                                                        final MutableState<Integer> mutableState32 = (MutableState) rememberedValue;
                                                        m = ActivityResultRegistryKt$$ExternalSyntheticOutline0.m(startRestartGroup, -492369756, companion22);
                                                        if (m == obj) {
                                                            m = SnapshotStateKt__SnapshotStateKt.mutableStateOf$default(null, null, 2, null);
                                                            startRestartGroup.updateRememberedValue(m);
                                                        }
                                                        startRestartGroup.endReplaceableGroup();
                                                        final MutableState<TextLayoutInfo> mutableState222 = (MutableState) m;
                                                        Object value22 = mutableState222.getValue();
                                                        TextAlign textAlign522 = textAlign2;
                                                        startRestartGroup.startReplaceableGroup(511388516);
                                                        changed = startRestartGroup.changed(mutableState222) | startRestartGroup.changed(mutableState32);
                                                        int i3522 = i24;
                                                        Object rememberedValue222 = startRestartGroup.rememberedValue();
                                                        if (!changed) {
                                                            companion22.getClass();
                                                        }
                                                        rememberedValue222 = new MarqueeTextKt$MarqueeText$2$1(mutableState222, mutableState32, null);
                                                        startRestartGroup.updateRememberedValue(rememberedValue222);
                                                        startRestartGroup.endReplaceableGroup();
                                                        EffectsKt.LaunchedEffect(value22, (Function2<? super CoroutineScope, ? super Continuation<? super Unit>, ? extends Object>) rememberedValue222, startRestartGroup, 64);
                                                        Modifier clipToBounds22 = ClipKt.clipToBounds(modifier3);
                                                        Object[] objArr22 = {composableLambda22, mutableState222, mutableState32, Color.m1805boximpl(j6)};
                                                        startRestartGroup.startReplaceableGroup(-568225417);
                                                        i27 = 0;
                                                        z3 = false;
                                                        while (i27 < i26) {
                                                            z3 |= startRestartGroup.changed(objArr22[i27]);
                                                            i27++;
                                                        }
                                                        Object rememberedValue322 = startRestartGroup.rememberedValue();
                                                        if (!z3) {
                                                            Composer.INSTANCE.getClass();
                                                        }
                                                        final long j1922 = j6;
                                                        final int i3622 = i5;
                                                        rememberedValue322 = new Function2<SubcomposeMeasureScope, Constraints, MeasureResult>() {
                                                            {
                                                                super(2);
                                                            }

                                                            @Override
                                                            public MeasureResult invoke(SubcomposeMeasureScope subcomposeMeasureScope, Constraints constraints) {
                                                                return m6115invoke0kLqBqw(subcomposeMeasureScope, constraints.value);
                                                            }

                                                            @NotNull
                                                            public final MeasureResult m6115invoke0kLqBqw(@NotNull SubcomposeMeasureScope SubcomposeLayout, long j2022) {
                                                                Intrinsics.checkNotNullParameter(SubcomposeLayout, "$this$SubcomposeLayout");
                                                                long m4031copyZbe2FdA$default = Constraints.m4031copyZbe2FdA$default(j2022, 0, Integer.MAX_VALUE, 0, 0, 13, null);
                                                                final Ref.ObjectRef<Placeable> objectRef = new Ref.ObjectRef();
                                                                MarqueeLayers marqueeLayers = MarqueeLayers.MainText;
                                                                final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function3 = composableLambda22;
                                                                objectRef.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers, ComposableLambdaKt.composableLambdaInstance(1540048219, true, new Function2<Composer, Integer, Unit>() {
                                                                    {
                                                                        super(2);
                                                                    }

                                                                    @Override
                                                                    public Unit invoke(Composer composer2, Integer num) {
                                                                        invoke(composer2, num.intValue());
                                                                        return Unit.INSTANCE;
                                                                    }

                                                                    @Composable
                                                                    public final void invoke(@Nullable Composer composer2, int i37) {
                                                                        if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                                                            composer2.skipToGroupEnd();
                                                                            return;
                                                                        }
                                                                        if (ComposerKt.isTraceInProgress()) {
                                                                            ComposerKt.traceEventStart(1540048219, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:105)");
                                                                        }
                                                                        function3.invoke(Modifier.INSTANCE, composer2, 54);
                                                                        if (ComposerKt.isTraceInProgress()) {
                                                                            ComposerKt.traceEventEnd();
                                                                        }
                                                                    }
                                                                })))).mo3070measureBRTryo0(m4031copyZbe2FdA$default);
                                                                final Ref.ObjectRef<Placeable> objectRef2 = new Ref.ObjectRef();
                                                                final Ref.ObjectRef<Pair<Placeable, Integer>> objectRef3 = new Ref.ObjectRef();
                                                                if (((Placeable) objectRef.element).getWidth() <= Constraints.m4040getMaxWidthimpl(j2022)) {
                                                                    MarqueeLayers marqueeLayers2 = MarqueeLayers.SecondaryText;
                                                                    final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function32 = composableLambda22;
                                                                    objectRef.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers2, ComposableLambdaKt.composableLambdaInstance(-318004831, true, new Function2<Composer, Integer, Unit>() {
                                                                        {
                                                                            super(2);
                                                                        }

                                                                        @Override
                                                                        public Unit invoke(Composer composer2, Integer num) {
                                                                            invoke(composer2, num.intValue());
                                                                            return Unit.INSTANCE;
                                                                        }

                                                                        @Composable
                                                                        public final void invoke(@Nullable Composer composer2, int i37) {
                                                                            if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                                                                composer2.skipToGroupEnd();
                                                                                return;
                                                                            }
                                                                            if (ComposerKt.isTraceInProgress()) {
                                                                                ComposerKt.traceEventStart(-318004831, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:113)");
                                                                            }
                                                                            function32.invoke(SizeKt.fillMaxWidth$default(Modifier.INSTANCE, 0.0f, 1, null), composer2, 54);
                                                                            if (ComposerKt.isTraceInProgress()) {
                                                                                ComposerKt.traceEventEnd();
                                                                            }
                                                                        }
                                                                    })))).mo3070measureBRTryo0(j2022);
                                                                    mutableState222.setValue(null);
                                                                } else {
                                                                    int m4040getMaxWidthimpl = (Constraints.m4040getMaxWidthimpl(j2022) * 2) / 3;
                                                                    mutableState222.setValue(new TextLayoutInfo(((Placeable) objectRef.element).getWidth() + m4040getMaxWidthimpl, Constraints.m4040getMaxWidthimpl(j2022)));
                                                                    int MarqueeText_qzfHYl0$lambda$1 = MarqueeTextKt.MarqueeText_qzfHYl0$lambda$1(mutableState32) + ((Placeable) objectRef.element).getWidth() + m4040getMaxWidthimpl;
                                                                    if (Constraints.m4040getMaxWidthimpl(j2022) - MarqueeText_qzfHYl0$lambda$1 > 0) {
                                                                        MarqueeLayers marqueeLayers3 = MarqueeLayers.SecondaryText;
                                                                        final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function33 = composableLambda22;
                                                                        objectRef3.element = new Pair(((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers3, ComposableLambdaKt.composableLambdaInstance(-930325559, true, new Function2<Composer, Integer, Unit>() {
                                                                            {
                                                                                super(2);
                                                                            }

                                                                            @Override
                                                                            public Unit invoke(Composer composer2, Integer num) {
                                                                                invoke(composer2, num.intValue());
                                                                                return Unit.INSTANCE;
                                                                            }

                                                                            @Composable
                                                                            public final void invoke(@Nullable Composer composer2, int i37) {
                                                                                if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                                                                    composer2.skipToGroupEnd();
                                                                                    return;
                                                                                }
                                                                                if (ComposerKt.isTraceInProgress()) {
                                                                                    ComposerKt.traceEventStart(-930325559, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:127)");
                                                                                }
                                                                                function33.invoke(Modifier.INSTANCE, composer2, 54);
                                                                                if (ComposerKt.isTraceInProgress()) {
                                                                                    ComposerKt.traceEventEnd();
                                                                                }
                                                                            }
                                                                        })))).mo3070measureBRTryo0(m4031copyZbe2FdA$default), Integer.valueOf(MarqueeText_qzfHYl0$lambda$1));
                                                                    }
                                                                    MarqueeLayers marqueeLayers4 = MarqueeLayers.EdgesGradient;
                                                                    final long j21 = j1922;
                                                                    final int i37 = i3622;
                                                                    objectRef2.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers4, ComposableLambdaKt.composableLambdaInstance(289953678, true, new Function2<Composer, Integer, Unit>() {
                                                                        {
                                                                            super(2);
                                                                        }

                                                                        @Override
                                                                        public Unit invoke(Composer composer2, Integer num) {
                                                                            invoke(composer2, num.intValue());
                                                                            return Unit.INSTANCE;
                                                                        }

                                                                        @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
                                                                        @Composable
                                                                        public final void invoke(@Nullable Composer composer2, int i38) {
                                                                            if ((i38 & 11) == 2 && composer2.getSkipping()) {
                                                                                composer2.skipToGroupEnd();
                                                                                return;
                                                                            }
                                                                            if (ComposerKt.isTraceInProgress()) {
                                                                                ComposerKt.traceEventStart(289953678, i38, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:132)");
                                                                            }
                                                                            MarqueeTextKt.m6110Gradientek8zF_U(j21, composer2, (i37 >> 6) & 14);
                                                                            if (ComposerKt.isTraceInProgress()) {
                                                                                ComposerKt.traceEventEnd();
                                                                            }
                                                                        }
                                                                    })))).mo3070measureBRTryo0(Constraints.m4031copyZbe2FdA$default(j2022, 0, 0, 0, ((Placeable) objectRef.element).getHeight(), 7, null));
                                                                }
                                                                int m4040getMaxWidthimpl2 = Constraints.m4040getMaxWidthimpl(j2022);
                                                                int height = ((Placeable) objectRef.element).getHeight();
                                                                final MutableState<Integer> mutableState322 = mutableState32;
                                                                return MeasureScope.CC.layout$default(SubcomposeLayout, m4040getMaxWidthimpl2, height, null, new Function1<Placeable.PlacementScope, Unit>() {
                                                                    {
                                                                        super(1);
                                                                    }

                                                                    @Override
                                                                    public Unit invoke(Placeable.PlacementScope placementScope) {
                                                                        invoke2(placementScope);
                                                                        return Unit.INSTANCE;
                                                                    }

                                                                    public final void invoke2(@NotNull Placeable.PlacementScope layout) {
                                                                        Intrinsics.checkNotNullParameter(layout, "$this$layout");
                                                                        Placeable.PlacementScope.place$default(layout, objectRef.element, MarqueeTextKt.MarqueeText_qzfHYl0$lambda$1(mutableState322), 0, 0.0f, 4, null);
                                                                        Pair<Placeable, Integer> pair = objectRef3.element;
                                                                        if (pair != null) {
                                                                            Placeable.PlacementScope.place$default(layout, pair.first, pair.second.intValue(), 0, 0.0f, 4, null);
                                                                        }
                                                                        Placeable placeable = objectRef2.element;
                                                                        if (placeable != null) {
                                                                            Placeable.PlacementScope.place$default(layout, placeable, 0, 0, 0.0f, 4, null);
                                                                        }
                                                                    }
                                                                }, 4, null);
                                                            }
                                                        };
                                                        startRestartGroup.updateRememberedValue(rememberedValue322);
                                                        startRestartGroup.endReplaceableGroup();
                                                        SubcomposeLayoutKt.SubcomposeLayout(clipToBounds22, (Function2) rememberedValue322, startRestartGroup, 0, 0);
                                                        if (ComposerKt.isTraceInProgress()) {
                                                            ComposerKt.traceEventEnd();
                                                        }
                                                        textAlign3 = textAlign522;
                                                        textStyle3 = textStyle2;
                                                        modifier4 = modifier3;
                                                        j11 = j6;
                                                        j12 = j7;
                                                        fontStyle4 = fontStyle3;
                                                        function13 = function12;
                                                        z4 = z2;
                                                        i28 = i3522;
                                                        long j2022 = j9;
                                                        fontFamily3 = fontFamily522;
                                                        fontWeight3 = fontWeight2;
                                                        j13 = j8;
                                                        textDecoration4 = textDecoration3;
                                                        j14 = j2022;
                                                    }
                                                    i25 = i30;
                                                    textStyle2 = textStyle;
                                                    startRestartGroup.endDefaults();
                                                    if (ComposerKt.isTraceInProgress()) {
                                                    }
                                                    final long j15222 = j7;
                                                    final long j16222 = j8;
                                                    final FontStyle fontStyle5222 = fontStyle2;
                                                    final FontWeight fontWeight4222 = fontWeight2;
                                                    final FontFamily fontFamily4222 = fontFamily2;
                                                    final long j17222 = j9;
                                                    final TextDecoration textDecoration5222 = textDecoration2;
                                                    final TextAlign textAlign4222 = textAlign2;
                                                    final long j18222 = j10;
                                                    final int i32222 = i24;
                                                    final boolean z5222 = z2;
                                                    final Function1<? super TextLayoutResult, Unit> function14222 = function12;
                                                    final TextStyle textStyle4222 = textStyle2;
                                                    final int i33222 = i5;
                                                    final int i34222 = i25;
                                                    final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> composableLambda222 = ComposableLambdaKt.composableLambda(startRestartGroup, -1549953165, true, new Function3<Modifier, Composer, Integer, Unit>() {
                                                        {
                                                            super(3);
                                                        }

                                                        @Override
                                                        public Unit invoke(Modifier modifier5, Composer composer2, Integer num) {
                                                            invoke(modifier5, composer2, num.intValue());
                                                            return Unit.INSTANCE;
                                                        }

                                                        @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
                                                        @Composable
                                                        public final void invoke(@NotNull Modifier localModifier, @Nullable Composer composer2, int i35222) {
                                                            int i36222;
                                                            Intrinsics.checkNotNullParameter(localModifier, "localModifier");
                                                            if ((i35222 & 14) == 0) {
                                                                i36222 = i35222 | (composer2.changed(localModifier) ? 4 : 2);
                                                            } else {
                                                                i36222 = i35222;
                                                            }
                                                            if ((i36222 & 91) == 18 && composer2.getSkipping()) {
                                                                composer2.skipToGroupEnd();
                                                                return;
                                                            }
                                                            if (ComposerKt.isTraceInProgress()) {
                                                                ComposerKt.traceEventStart(-1549953165, i36222, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous> (MarqueeText.kt:49)");
                                                            }
                                                            String str = text;
                                                            long j19222 = j15222;
                                                            long j20222 = j16222;
                                                            FontStyle fontStyle6 = fontStyle5222;
                                                            FontWeight fontWeight5 = fontWeight4222;
                                                            FontFamily fontFamily5222 = fontFamily4222;
                                                            long j21 = j17222;
                                                            TextDecoration textDecoration6 = textDecoration5222;
                                                            TextAlign textAlign5222 = textAlign4222;
                                                            long j22 = j18222;
                                                            int i37 = i32222;
                                                            boolean z6 = z5222;
                                                            Function1<TextLayoutResult, Unit> function15 = function14222;
                                                            TextStyle textStyle5 = textStyle4222;
                                                            int i38 = i33222;
                                                            int i39 = (i38 & 14) | ((i36222 << 3) & 112) | ((i38 >> 3) & 896) | ((i38 >> 3) & 7168) | ((i38 >> 3) & 57344) | ((i38 >> 3) & 458752) | ((i38 >> 3) & 3670016) | ((i38 >> 3) & 29360128) | ((i38 >> 3) & 234881024);
                                                            int i40 = i34222;
                                                            TextKt.m1375Text4IGK_g(str, localModifier, j19222, j20222, fontStyle6, fontWeight5, fontFamily5222, j21, textDecoration6, textAlign5222, j22, i37, z6, 1, 0, function15, textStyle5, composer2, i39 | ((i40 << 27) & 1879048192), ((i40 >> 3) & 14) | 3072 | ((i40 >> 3) & 112) | ((i40 >> 3) & 896) | ((i40 << 3) & 458752) | ((i40 << 3) & 3670016), 16384);
                                                            if (ComposerKt.isTraceInProgress()) {
                                                                ComposerKt.traceEventEnd();
                                                            }
                                                        }
                                                    });
                                                    startRestartGroup.startReplaceableGroup(-492369756);
                                                    rememberedValue = startRestartGroup.rememberedValue();
                                                    Composer.Companion companion222 = Composer.INSTANCE;
                                                    companion222.getClass();
                                                    FontFamily fontFamily5222 = fontFamily2;
                                                    obj = Composer.Companion.Empty;
                                                    if (rememberedValue == obj) {
                                                    }
                                                    startRestartGroup.endReplaceableGroup();
                                                    final MutableState<Integer> mutableState322 = (MutableState) rememberedValue;
                                                    m = ActivityResultRegistryKt$$ExternalSyntheticOutline0.m(startRestartGroup, -492369756, companion222);
                                                    if (m == obj) {
                                                    }
                                                    startRestartGroup.endReplaceableGroup();
                                                    final MutableState<TextLayoutInfo> mutableState2222 = (MutableState) m;
                                                    Object value222 = mutableState2222.getValue();
                                                    TextAlign textAlign5222 = textAlign2;
                                                    startRestartGroup.startReplaceableGroup(511388516);
                                                    changed = startRestartGroup.changed(mutableState2222) | startRestartGroup.changed(mutableState322);
                                                    int i35222 = i24;
                                                    Object rememberedValue2222 = startRestartGroup.rememberedValue();
                                                    if (!changed) {
                                                    }
                                                    rememberedValue2222 = new MarqueeTextKt$MarqueeText$2$1(mutableState2222, mutableState322, null);
                                                    startRestartGroup.updateRememberedValue(rememberedValue2222);
                                                    startRestartGroup.endReplaceableGroup();
                                                    EffectsKt.LaunchedEffect(value222, (Function2<? super CoroutineScope, ? super Continuation<? super Unit>, ? extends Object>) rememberedValue2222, startRestartGroup, 64);
                                                    Modifier clipToBounds222 = ClipKt.clipToBounds(modifier3);
                                                    Object[] objArr222 = {composableLambda222, mutableState2222, mutableState322, Color.m1805boximpl(j6)};
                                                    startRestartGroup.startReplaceableGroup(-568225417);
                                                    i27 = 0;
                                                    z3 = false;
                                                    while (i27 < i26) {
                                                    }
                                                    Object rememberedValue3222 = startRestartGroup.rememberedValue();
                                                    if (!z3) {
                                                    }
                                                    final long j19222 = j6;
                                                    final int i36222 = i5;
                                                    rememberedValue3222 = new Function2<SubcomposeMeasureScope, Constraints, MeasureResult>() {
                                                        {
                                                            super(2);
                                                        }

                                                        @Override
                                                        public MeasureResult invoke(SubcomposeMeasureScope subcomposeMeasureScope, Constraints constraints) {
                                                            return m6115invoke0kLqBqw(subcomposeMeasureScope, constraints.value);
                                                        }

                                                        @NotNull
                                                        public final MeasureResult m6115invoke0kLqBqw(@NotNull SubcomposeMeasureScope SubcomposeLayout, long j20222) {
                                                            Intrinsics.checkNotNullParameter(SubcomposeLayout, "$this$SubcomposeLayout");
                                                            long m4031copyZbe2FdA$default = Constraints.m4031copyZbe2FdA$default(j20222, 0, Integer.MAX_VALUE, 0, 0, 13, null);
                                                            final Ref.ObjectRef<Placeable> objectRef = new Ref.ObjectRef();
                                                            MarqueeLayers marqueeLayers = MarqueeLayers.MainText;
                                                            final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function3 = composableLambda222;
                                                            objectRef.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers, ComposableLambdaKt.composableLambdaInstance(1540048219, true, new Function2<Composer, Integer, Unit>() {
                                                                {
                                                                    super(2);
                                                                }

                                                                @Override
                                                                public Unit invoke(Composer composer2, Integer num) {
                                                                    invoke(composer2, num.intValue());
                                                                    return Unit.INSTANCE;
                                                                }

                                                                @Composable
                                                                public final void invoke(@Nullable Composer composer2, int i37) {
                                                                    if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                                                        composer2.skipToGroupEnd();
                                                                        return;
                                                                    }
                                                                    if (ComposerKt.isTraceInProgress()) {
                                                                        ComposerKt.traceEventStart(1540048219, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:105)");
                                                                    }
                                                                    function3.invoke(Modifier.INSTANCE, composer2, 54);
                                                                    if (ComposerKt.isTraceInProgress()) {
                                                                        ComposerKt.traceEventEnd();
                                                                    }
                                                                }
                                                            })))).mo3070measureBRTryo0(m4031copyZbe2FdA$default);
                                                            final Ref.ObjectRef<Placeable> objectRef2 = new Ref.ObjectRef();
                                                            final Ref.ObjectRef<Pair<Placeable, Integer>> objectRef3 = new Ref.ObjectRef();
                                                            if (((Placeable) objectRef.element).getWidth() <= Constraints.m4040getMaxWidthimpl(j20222)) {
                                                                MarqueeLayers marqueeLayers2 = MarqueeLayers.SecondaryText;
                                                                final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function32 = composableLambda222;
                                                                objectRef.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers2, ComposableLambdaKt.composableLambdaInstance(-318004831, true, new Function2<Composer, Integer, Unit>() {
                                                                    {
                                                                        super(2);
                                                                    }

                                                                    @Override
                                                                    public Unit invoke(Composer composer2, Integer num) {
                                                                        invoke(composer2, num.intValue());
                                                                        return Unit.INSTANCE;
                                                                    }

                                                                    @Composable
                                                                    public final void invoke(@Nullable Composer composer2, int i37) {
                                                                        if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                                                            composer2.skipToGroupEnd();
                                                                            return;
                                                                        }
                                                                        if (ComposerKt.isTraceInProgress()) {
                                                                            ComposerKt.traceEventStart(-318004831, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:113)");
                                                                        }
                                                                        function32.invoke(SizeKt.fillMaxWidth$default(Modifier.INSTANCE, 0.0f, 1, null), composer2, 54);
                                                                        if (ComposerKt.isTraceInProgress()) {
                                                                            ComposerKt.traceEventEnd();
                                                                        }
                                                                    }
                                                                })))).mo3070measureBRTryo0(j20222);
                                                                mutableState2222.setValue(null);
                                                            } else {
                                                                int m4040getMaxWidthimpl = (Constraints.m4040getMaxWidthimpl(j20222) * 2) / 3;
                                                                mutableState2222.setValue(new TextLayoutInfo(((Placeable) objectRef.element).getWidth() + m4040getMaxWidthimpl, Constraints.m4040getMaxWidthimpl(j20222)));
                                                                int MarqueeText_qzfHYl0$lambda$1 = MarqueeTextKt.MarqueeText_qzfHYl0$lambda$1(mutableState322) + ((Placeable) objectRef.element).getWidth() + m4040getMaxWidthimpl;
                                                                if (Constraints.m4040getMaxWidthimpl(j20222) - MarqueeText_qzfHYl0$lambda$1 > 0) {
                                                                    MarqueeLayers marqueeLayers3 = MarqueeLayers.SecondaryText;
                                                                    final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function33 = composableLambda222;
                                                                    objectRef3.element = new Pair(((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers3, ComposableLambdaKt.composableLambdaInstance(-930325559, true, new Function2<Composer, Integer, Unit>() {
                                                                        {
                                                                            super(2);
                                                                        }

                                                                        @Override
                                                                        public Unit invoke(Composer composer2, Integer num) {
                                                                            invoke(composer2, num.intValue());
                                                                            return Unit.INSTANCE;
                                                                        }

                                                                        @Composable
                                                                        public final void invoke(@Nullable Composer composer2, int i37) {
                                                                            if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                                                                composer2.skipToGroupEnd();
                                                                                return;
                                                                            }
                                                                            if (ComposerKt.isTraceInProgress()) {
                                                                                ComposerKt.traceEventStart(-930325559, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:127)");
                                                                            }
                                                                            function33.invoke(Modifier.INSTANCE, composer2, 54);
                                                                            if (ComposerKt.isTraceInProgress()) {
                                                                                ComposerKt.traceEventEnd();
                                                                            }
                                                                        }
                                                                    })))).mo3070measureBRTryo0(m4031copyZbe2FdA$default), Integer.valueOf(MarqueeText_qzfHYl0$lambda$1));
                                                                }
                                                                MarqueeLayers marqueeLayers4 = MarqueeLayers.EdgesGradient;
                                                                final long j21 = j19222;
                                                                final int i37 = i36222;
                                                                objectRef2.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers4, ComposableLambdaKt.composableLambdaInstance(289953678, true, new Function2<Composer, Integer, Unit>() {
                                                                    {
                                                                        super(2);
                                                                    }

                                                                    @Override
                                                                    public Unit invoke(Composer composer2, Integer num) {
                                                                        invoke(composer2, num.intValue());
                                                                        return Unit.INSTANCE;
                                                                    }

                                                                    @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
                                                                    @Composable
                                                                    public final void invoke(@Nullable Composer composer2, int i38) {
                                                                        if ((i38 & 11) == 2 && composer2.getSkipping()) {
                                                                            composer2.skipToGroupEnd();
                                                                            return;
                                                                        }
                                                                        if (ComposerKt.isTraceInProgress()) {
                                                                            ComposerKt.traceEventStart(289953678, i38, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:132)");
                                                                        }
                                                                        MarqueeTextKt.m6110Gradientek8zF_U(j21, composer2, (i37 >> 6) & 14);
                                                                        if (ComposerKt.isTraceInProgress()) {
                                                                            ComposerKt.traceEventEnd();
                                                                        }
                                                                    }
                                                                })))).mo3070measureBRTryo0(Constraints.m4031copyZbe2FdA$default(j20222, 0, 0, 0, ((Placeable) objectRef.element).getHeight(), 7, null));
                                                            }
                                                            int m4040getMaxWidthimpl2 = Constraints.m4040getMaxWidthimpl(j20222);
                                                            int height = ((Placeable) objectRef.element).getHeight();
                                                            final MutableState<Integer> mutableState3222 = mutableState322;
                                                            return MeasureScope.CC.layout$default(SubcomposeLayout, m4040getMaxWidthimpl2, height, null, new Function1<Placeable.PlacementScope, Unit>() {
                                                                {
                                                                    super(1);
                                                                }

                                                                @Override
                                                                public Unit invoke(Placeable.PlacementScope placementScope) {
                                                                    invoke2(placementScope);
                                                                    return Unit.INSTANCE;
                                                                }

                                                                public final void invoke2(@NotNull Placeable.PlacementScope layout) {
                                                                    Intrinsics.checkNotNullParameter(layout, "$this$layout");
                                                                    Placeable.PlacementScope.place$default(layout, objectRef.element, MarqueeTextKt.MarqueeText_qzfHYl0$lambda$1(mutableState3222), 0, 0.0f, 4, null);
                                                                    Pair<Placeable, Integer> pair = objectRef3.element;
                                                                    if (pair != null) {
                                                                        Placeable.PlacementScope.place$default(layout, pair.first, pair.second.intValue(), 0, 0.0f, 4, null);
                                                                    }
                                                                    Placeable placeable = objectRef2.element;
                                                                    if (placeable != null) {
                                                                        Placeable.PlacementScope.place$default(layout, placeable, 0, 0, 0.0f, 4, null);
                                                                    }
                                                                }
                                                            }, 4, null);
                                                        }
                                                    };
                                                    startRestartGroup.updateRememberedValue(rememberedValue3222);
                                                    startRestartGroup.endReplaceableGroup();
                                                    SubcomposeLayoutKt.SubcomposeLayout(clipToBounds222, (Function2) rememberedValue3222, startRestartGroup, 0, 0);
                                                    if (ComposerKt.isTraceInProgress()) {
                                                    }
                                                    textAlign3 = textAlign5222;
                                                    textStyle3 = textStyle2;
                                                    modifier4 = modifier3;
                                                    j11 = j6;
                                                    j12 = j7;
                                                    fontStyle4 = fontStyle3;
                                                    function13 = function12;
                                                    z4 = z2;
                                                    i28 = i35222;
                                                    long j20222 = j9;
                                                    fontFamily3 = fontFamily5222;
                                                    fontWeight3 = fontWeight2;
                                                    j13 = j8;
                                                    textDecoration4 = textDecoration3;
                                                    j14 = j20222;
                                                }
                                            }
                                            endRestartGroup = startRestartGroup.endRestartGroup();
                                            if (endRestartGroup != null) {
                                                return;
                                            }
                                            endRestartGroup.updateScope(new Function2<Composer, Integer, Unit>() {
                                                {
                                                    super(2);
                                                }

                                                @Override
                                                public Unit invoke(Composer composer2, Integer num) {
                                                    invoke(composer2, num.intValue());
                                                    return Unit.INSTANCE;
                                                }

                                                public final void invoke(@Nullable Composer composer2, int i37) {
                                                    MarqueeTextKt.m6112MarqueeTextqzfHYl0(text, modifier4, j11, j12, j13, fontStyle4, fontWeight3, fontFamily3, j14, textDecoration4, textAlign3, j10, i28, z4, function13, textStyle3, composer2, RecomposeScopeImplKt.updateChangedFlags(i2 | 1), RecomposeScopeImplKt.updateChangedFlags(i3), i4);
                                                }
                                            });
                                            return;
                                        }
                                        i23 = i22;
                                        if ((i3 & 458752) == 0) {
                                        }
                                        if ((i5 & 1533916891) != 306783378) {
                                        }
                                        startRestartGroup.startDefaults();
                                        if ((i2 & 1) == 0) {
                                        }
                                        if (i29 == 0) {
                                        }
                                        if (i6 == 0) {
                                        }
                                        if (i7 == 0) {
                                        }
                                        if (i8 == 0) {
                                        }
                                        if (i9 == 0) {
                                        }
                                        if (i10 == 0) {
                                        }
                                        if (i11 == 0) {
                                        }
                                        if (i12 == 0) {
                                        }
                                        if (i13 == 0) {
                                        }
                                        if (i14 == 0) {
                                        }
                                        if (i17 == 0) {
                                        }
                                        if (i19 == 0) {
                                        }
                                        if (i21 == 0) {
                                        }
                                        if (i23 == 0) {
                                        }
                                        FontFamily fontFamily62 = fontFamily2;
                                        if ((i4 & 32768) != 0) {
                                        }
                                        i25 = i30;
                                        textStyle2 = textStyle;
                                        startRestartGroup.endDefaults();
                                        if (ComposerKt.isTraceInProgress()) {
                                        }
                                        final long j152222 = j7;
                                        final long j162222 = j8;
                                        final FontStyle fontStyle52222 = fontStyle2;
                                        final FontWeight fontWeight42222 = fontWeight2;
                                        final FontFamily fontFamily42222 = fontFamily2;
                                        final long j172222 = j9;
                                        final TextDecoration textDecoration52222 = textDecoration2;
                                        final TextAlign textAlign42222 = textAlign2;
                                        final long j182222 = j10;
                                        final int i322222 = i24;
                                        final boolean z52222 = z2;
                                        final Function1<? super TextLayoutResult, Unit> function142222 = function12;
                                        final TextStyle textStyle42222 = textStyle2;
                                        final int i332222 = i5;
                                        final int i342222 = i25;
                                        final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> composableLambda2222 = ComposableLambdaKt.composableLambda(startRestartGroup, -1549953165, true, new Function3<Modifier, Composer, Integer, Unit>() {
                                            {
                                                super(3);
                                            }

                                            @Override
                                            public Unit invoke(Modifier modifier5, Composer composer2, Integer num) {
                                                invoke(modifier5, composer2, num.intValue());
                                                return Unit.INSTANCE;
                                            }

                                            @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
                                            @Composable
                                            public final void invoke(@NotNull Modifier localModifier, @Nullable Composer composer2, int i352222) {
                                                int i362222;
                                                Intrinsics.checkNotNullParameter(localModifier, "localModifier");
                                                if ((i352222 & 14) == 0) {
                                                    i362222 = i352222 | (composer2.changed(localModifier) ? 4 : 2);
                                                } else {
                                                    i362222 = i352222;
                                                }
                                                if ((i362222 & 91) == 18 && composer2.getSkipping()) {
                                                    composer2.skipToGroupEnd();
                                                    return;
                                                }
                                                if (ComposerKt.isTraceInProgress()) {
                                                    ComposerKt.traceEventStart(-1549953165, i362222, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous> (MarqueeText.kt:49)");
                                                }
                                                String str = text;
                                                long j192222 = j152222;
                                                long j202222 = j162222;
                                                FontStyle fontStyle6 = fontStyle52222;
                                                FontWeight fontWeight5 = fontWeight42222;
                                                FontFamily fontFamily52222 = fontFamily42222;
                                                long j21 = j172222;
                                                TextDecoration textDecoration6 = textDecoration52222;
                                                TextAlign textAlign52222 = textAlign42222;
                                                long j22 = j182222;
                                                int i37 = i322222;
                                                boolean z6 = z52222;
                                                Function1<TextLayoutResult, Unit> function15 = function142222;
                                                TextStyle textStyle5 = textStyle42222;
                                                int i38 = i332222;
                                                int i39 = (i38 & 14) | ((i362222 << 3) & 112) | ((i38 >> 3) & 896) | ((i38 >> 3) & 7168) | ((i38 >> 3) & 57344) | ((i38 >> 3) & 458752) | ((i38 >> 3) & 3670016) | ((i38 >> 3) & 29360128) | ((i38 >> 3) & 234881024);
                                                int i40 = i342222;
                                                TextKt.m1375Text4IGK_g(str, localModifier, j192222, j202222, fontStyle6, fontWeight5, fontFamily52222, j21, textDecoration6, textAlign52222, j22, i37, z6, 1, 0, function15, textStyle5, composer2, i39 | ((i40 << 27) & 1879048192), ((i40 >> 3) & 14) | 3072 | ((i40 >> 3) & 112) | ((i40 >> 3) & 896) | ((i40 << 3) & 458752) | ((i40 << 3) & 3670016), 16384);
                                                if (ComposerKt.isTraceInProgress()) {
                                                    ComposerKt.traceEventEnd();
                                                }
                                            }
                                        });
                                        startRestartGroup.startReplaceableGroup(-492369756);
                                        rememberedValue = startRestartGroup.rememberedValue();
                                        Composer.Companion companion2222 = Composer.INSTANCE;
                                        companion2222.getClass();
                                        FontFamily fontFamily52222 = fontFamily2;
                                        obj = Composer.Companion.Empty;
                                        if (rememberedValue == obj) {
                                        }
                                        startRestartGroup.endReplaceableGroup();
                                        final MutableState<Integer> mutableState3222 = (MutableState) rememberedValue;
                                        m = ActivityResultRegistryKt$$ExternalSyntheticOutline0.m(startRestartGroup, -492369756, companion2222);
                                        if (m == obj) {
                                        }
                                        startRestartGroup.endReplaceableGroup();
                                        final MutableState<TextLayoutInfo> mutableState22222 = (MutableState) m;
                                        Object value2222 = mutableState22222.getValue();
                                        TextAlign textAlign52222 = textAlign2;
                                        startRestartGroup.startReplaceableGroup(511388516);
                                        changed = startRestartGroup.changed(mutableState22222) | startRestartGroup.changed(mutableState3222);
                                        int i352222 = i24;
                                        Object rememberedValue22222 = startRestartGroup.rememberedValue();
                                        if (!changed) {
                                        }
                                        rememberedValue22222 = new MarqueeTextKt$MarqueeText$2$1(mutableState22222, mutableState3222, null);
                                        startRestartGroup.updateRememberedValue(rememberedValue22222);
                                        startRestartGroup.endReplaceableGroup();
                                        EffectsKt.LaunchedEffect(value2222, (Function2<? super CoroutineScope, ? super Continuation<? super Unit>, ? extends Object>) rememberedValue22222, startRestartGroup, 64);
                                        Modifier clipToBounds2222 = ClipKt.clipToBounds(modifier3);
                                        Object[] objArr2222 = {composableLambda2222, mutableState22222, mutableState3222, Color.m1805boximpl(j6)};
                                        startRestartGroup.startReplaceableGroup(-568225417);
                                        i27 = 0;
                                        z3 = false;
                                        while (i27 < i26) {
                                        }
                                        Object rememberedValue32222 = startRestartGroup.rememberedValue();
                                        if (!z3) {
                                        }
                                        final long j192222 = j6;
                                        final int i362222 = i5;
                                        rememberedValue32222 = new Function2<SubcomposeMeasureScope, Constraints, MeasureResult>() {
                                            {
                                                super(2);
                                            }

                                            @Override
                                            public MeasureResult invoke(SubcomposeMeasureScope subcomposeMeasureScope, Constraints constraints) {
                                                return m6115invoke0kLqBqw(subcomposeMeasureScope, constraints.value);
                                            }

                                            @NotNull
                                            public final MeasureResult m6115invoke0kLqBqw(@NotNull SubcomposeMeasureScope SubcomposeLayout, long j202222) {
                                                Intrinsics.checkNotNullParameter(SubcomposeLayout, "$this$SubcomposeLayout");
                                                long m4031copyZbe2FdA$default = Constraints.m4031copyZbe2FdA$default(j202222, 0, Integer.MAX_VALUE, 0, 0, 13, null);
                                                final Ref.ObjectRef<Placeable> objectRef = new Ref.ObjectRef();
                                                MarqueeLayers marqueeLayers = MarqueeLayers.MainText;
                                                final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function3 = composableLambda2222;
                                                objectRef.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers, ComposableLambdaKt.composableLambdaInstance(1540048219, true, new Function2<Composer, Integer, Unit>() {
                                                    {
                                                        super(2);
                                                    }

                                                    @Override
                                                    public Unit invoke(Composer composer2, Integer num) {
                                                        invoke(composer2, num.intValue());
                                                        return Unit.INSTANCE;
                                                    }

                                                    @Composable
                                                    public final void invoke(@Nullable Composer composer2, int i37) {
                                                        if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                                            composer2.skipToGroupEnd();
                                                            return;
                                                        }
                                                        if (ComposerKt.isTraceInProgress()) {
                                                            ComposerKt.traceEventStart(1540048219, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:105)");
                                                        }
                                                        function3.invoke(Modifier.INSTANCE, composer2, 54);
                                                        if (ComposerKt.isTraceInProgress()) {
                                                            ComposerKt.traceEventEnd();
                                                        }
                                                    }
                                                })))).mo3070measureBRTryo0(m4031copyZbe2FdA$default);
                                                final Ref.ObjectRef<Placeable> objectRef2 = new Ref.ObjectRef();
                                                final Ref.ObjectRef<Pair<Placeable, Integer>> objectRef3 = new Ref.ObjectRef();
                                                if (((Placeable) objectRef.element).getWidth() <= Constraints.m4040getMaxWidthimpl(j202222)) {
                                                    MarqueeLayers marqueeLayers2 = MarqueeLayers.SecondaryText;
                                                    final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function32 = composableLambda2222;
                                                    objectRef.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers2, ComposableLambdaKt.composableLambdaInstance(-318004831, true, new Function2<Composer, Integer, Unit>() {
                                                        {
                                                            super(2);
                                                        }

                                                        @Override
                                                        public Unit invoke(Composer composer2, Integer num) {
                                                            invoke(composer2, num.intValue());
                                                            return Unit.INSTANCE;
                                                        }

                                                        @Composable
                                                        public final void invoke(@Nullable Composer composer2, int i37) {
                                                            if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                                                composer2.skipToGroupEnd();
                                                                return;
                                                            }
                                                            if (ComposerKt.isTraceInProgress()) {
                                                                ComposerKt.traceEventStart(-318004831, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:113)");
                                                            }
                                                            function32.invoke(SizeKt.fillMaxWidth$default(Modifier.INSTANCE, 0.0f, 1, null), composer2, 54);
                                                            if (ComposerKt.isTraceInProgress()) {
                                                                ComposerKt.traceEventEnd();
                                                            }
                                                        }
                                                    })))).mo3070measureBRTryo0(j202222);
                                                    mutableState22222.setValue(null);
                                                } else {
                                                    int m4040getMaxWidthimpl = (Constraints.m4040getMaxWidthimpl(j202222) * 2) / 3;
                                                    mutableState22222.setValue(new TextLayoutInfo(((Placeable) objectRef.element).getWidth() + m4040getMaxWidthimpl, Constraints.m4040getMaxWidthimpl(j202222)));
                                                    int MarqueeText_qzfHYl0$lambda$1 = MarqueeTextKt.MarqueeText_qzfHYl0$lambda$1(mutableState3222) + ((Placeable) objectRef.element).getWidth() + m4040getMaxWidthimpl;
                                                    if (Constraints.m4040getMaxWidthimpl(j202222) - MarqueeText_qzfHYl0$lambda$1 > 0) {
                                                        MarqueeLayers marqueeLayers3 = MarqueeLayers.SecondaryText;
                                                        final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function33 = composableLambda2222;
                                                        objectRef3.element = new Pair(((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers3, ComposableLambdaKt.composableLambdaInstance(-930325559, true, new Function2<Composer, Integer, Unit>() {
                                                            {
                                                                super(2);
                                                            }

                                                            @Override
                                                            public Unit invoke(Composer composer2, Integer num) {
                                                                invoke(composer2, num.intValue());
                                                                return Unit.INSTANCE;
                                                            }

                                                            @Composable
                                                            public final void invoke(@Nullable Composer composer2, int i37) {
                                                                if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                                                    composer2.skipToGroupEnd();
                                                                    return;
                                                                }
                                                                if (ComposerKt.isTraceInProgress()) {
                                                                    ComposerKt.traceEventStart(-930325559, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:127)");
                                                                }
                                                                function33.invoke(Modifier.INSTANCE, composer2, 54);
                                                                if (ComposerKt.isTraceInProgress()) {
                                                                    ComposerKt.traceEventEnd();
                                                                }
                                                            }
                                                        })))).mo3070measureBRTryo0(m4031copyZbe2FdA$default), Integer.valueOf(MarqueeText_qzfHYl0$lambda$1));
                                                    }
                                                    MarqueeLayers marqueeLayers4 = MarqueeLayers.EdgesGradient;
                                                    final long j21 = j192222;
                                                    final int i37 = i362222;
                                                    objectRef2.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers4, ComposableLambdaKt.composableLambdaInstance(289953678, true, new Function2<Composer, Integer, Unit>() {
                                                        {
                                                            super(2);
                                                        }

                                                        @Override
                                                        public Unit invoke(Composer composer2, Integer num) {
                                                            invoke(composer2, num.intValue());
                                                            return Unit.INSTANCE;
                                                        }

                                                        @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
                                                        @Composable
                                                        public final void invoke(@Nullable Composer composer2, int i38) {
                                                            if ((i38 & 11) == 2 && composer2.getSkipping()) {
                                                                composer2.skipToGroupEnd();
                                                                return;
                                                            }
                                                            if (ComposerKt.isTraceInProgress()) {
                                                                ComposerKt.traceEventStart(289953678, i38, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:132)");
                                                            }
                                                            MarqueeTextKt.m6110Gradientek8zF_U(j21, composer2, (i37 >> 6) & 14);
                                                            if (ComposerKt.isTraceInProgress()) {
                                                                ComposerKt.traceEventEnd();
                                                            }
                                                        }
                                                    })))).mo3070measureBRTryo0(Constraints.m4031copyZbe2FdA$default(j202222, 0, 0, 0, ((Placeable) objectRef.element).getHeight(), 7, null));
                                                }
                                                int m4040getMaxWidthimpl2 = Constraints.m4040getMaxWidthimpl(j202222);
                                                int height = ((Placeable) objectRef.element).getHeight();
                                                final MutableState<Integer> mutableState32222 = mutableState3222;
                                                return MeasureScope.CC.layout$default(SubcomposeLayout, m4040getMaxWidthimpl2, height, null, new Function1<Placeable.PlacementScope, Unit>() {
                                                    {
                                                        super(1);
                                                    }

                                                    @Override
                                                    public Unit invoke(Placeable.PlacementScope placementScope) {
                                                        invoke2(placementScope);
                                                        return Unit.INSTANCE;
                                                    }

                                                    public final void invoke2(@NotNull Placeable.PlacementScope layout) {
                                                        Intrinsics.checkNotNullParameter(layout, "$this$layout");
                                                        Placeable.PlacementScope.place$default(layout, objectRef.element, MarqueeTextKt.MarqueeText_qzfHYl0$lambda$1(mutableState32222), 0, 0.0f, 4, null);
                                                        Pair<Placeable, Integer> pair = objectRef3.element;
                                                        if (pair != null) {
                                                            Placeable.PlacementScope.place$default(layout, pair.first, pair.second.intValue(), 0, 0.0f, 4, null);
                                                        }
                                                        Placeable placeable = objectRef2.element;
                                                        if (placeable != null) {
                                                            Placeable.PlacementScope.place$default(layout, placeable, 0, 0, 0.0f, 4, null);
                                                        }
                                                    }
                                                }, 4, null);
                                            }
                                        };
                                        startRestartGroup.updateRememberedValue(rememberedValue32222);
                                        startRestartGroup.endReplaceableGroup();
                                        SubcomposeLayoutKt.SubcomposeLayout(clipToBounds2222, (Function2) rememberedValue32222, startRestartGroup, 0, 0);
                                        if (ComposerKt.isTraceInProgress()) {
                                        }
                                        textAlign3 = textAlign52222;
                                        textStyle3 = textStyle2;
                                        modifier4 = modifier3;
                                        j11 = j6;
                                        j12 = j7;
                                        fontStyle4 = fontStyle3;
                                        function13 = function12;
                                        z4 = z2;
                                        i28 = i352222;
                                        long j202222 = j9;
                                        fontFamily3 = fontFamily52222;
                                        fontWeight3 = fontWeight2;
                                        j13 = j8;
                                        textDecoration4 = textDecoration3;
                                        j14 = j202222;
                                        endRestartGroup = startRestartGroup.endRestartGroup();
                                        if (endRestartGroup != null) {
                                        }
                                    }
                                }
                                i22 = i4 & 16384;
                                if (i22 != 0) {
                                }
                                i23 = i22;
                                if ((i3 & 458752) == 0) {
                                }
                                if ((i5 & 1533916891) != 306783378) {
                                }
                                startRestartGroup.startDefaults();
                                if ((i2 & 1) == 0) {
                                }
                                if (i29 == 0) {
                                }
                                if (i6 == 0) {
                                }
                                if (i7 == 0) {
                                }
                                if (i8 == 0) {
                                }
                                if (i9 == 0) {
                                }
                                if (i10 == 0) {
                                }
                                if (i11 == 0) {
                                }
                                if (i12 == 0) {
                                }
                                if (i13 == 0) {
                                }
                                if (i14 == 0) {
                                }
                                if (i17 == 0) {
                                }
                                if (i19 == 0) {
                                }
                                if (i21 == 0) {
                                }
                                if (i23 == 0) {
                                }
                                FontFamily fontFamily622 = fontFamily2;
                                if ((i4 & 32768) != 0) {
                                }
                                i25 = i30;
                                textStyle2 = textStyle;
                                startRestartGroup.endDefaults();
                                if (ComposerKt.isTraceInProgress()) {
                                }
                                final long j1522222 = j7;
                                final long j1622222 = j8;
                                final FontStyle fontStyle522222 = fontStyle2;
                                final FontWeight fontWeight422222 = fontWeight2;
                                final FontFamily fontFamily422222 = fontFamily2;
                                final long j1722222 = j9;
                                final TextDecoration textDecoration522222 = textDecoration2;
                                final TextAlign textAlign422222 = textAlign2;
                                final long j1822222 = j10;
                                final int i3222222 = i24;
                                final boolean z522222 = z2;
                                final Function1<? super TextLayoutResult, Unit> function1422222 = function12;
                                final TextStyle textStyle422222 = textStyle2;
                                final int i3322222 = i5;
                                final int i3422222 = i25;
                                final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> composableLambda22222 = ComposableLambdaKt.composableLambda(startRestartGroup, -1549953165, true, new Function3<Modifier, Composer, Integer, Unit>() {
                                    {
                                        super(3);
                                    }

                                    @Override
                                    public Unit invoke(Modifier modifier5, Composer composer2, Integer num) {
                                        invoke(modifier5, composer2, num.intValue());
                                        return Unit.INSTANCE;
                                    }

                                    @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
                                    @Composable
                                    public final void invoke(@NotNull Modifier localModifier, @Nullable Composer composer2, int i3522222) {
                                        int i3622222;
                                        Intrinsics.checkNotNullParameter(localModifier, "localModifier");
                                        if ((i3522222 & 14) == 0) {
                                            i3622222 = i3522222 | (composer2.changed(localModifier) ? 4 : 2);
                                        } else {
                                            i3622222 = i3522222;
                                        }
                                        if ((i3622222 & 91) == 18 && composer2.getSkipping()) {
                                            composer2.skipToGroupEnd();
                                            return;
                                        }
                                        if (ComposerKt.isTraceInProgress()) {
                                            ComposerKt.traceEventStart(-1549953165, i3622222, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous> (MarqueeText.kt:49)");
                                        }
                                        String str = text;
                                        long j1922222 = j1522222;
                                        long j2022222 = j1622222;
                                        FontStyle fontStyle6 = fontStyle522222;
                                        FontWeight fontWeight5 = fontWeight422222;
                                        FontFamily fontFamily522222 = fontFamily422222;
                                        long j21 = j1722222;
                                        TextDecoration textDecoration6 = textDecoration522222;
                                        TextAlign textAlign522222 = textAlign422222;
                                        long j22 = j1822222;
                                        int i37 = i3222222;
                                        boolean z6 = z522222;
                                        Function1<TextLayoutResult, Unit> function15 = function1422222;
                                        TextStyle textStyle5 = textStyle422222;
                                        int i38 = i3322222;
                                        int i39 = (i38 & 14) | ((i3622222 << 3) & 112) | ((i38 >> 3) & 896) | ((i38 >> 3) & 7168) | ((i38 >> 3) & 57344) | ((i38 >> 3) & 458752) | ((i38 >> 3) & 3670016) | ((i38 >> 3) & 29360128) | ((i38 >> 3) & 234881024);
                                        int i40 = i3422222;
                                        TextKt.m1375Text4IGK_g(str, localModifier, j1922222, j2022222, fontStyle6, fontWeight5, fontFamily522222, j21, textDecoration6, textAlign522222, j22, i37, z6, 1, 0, function15, textStyle5, composer2, i39 | ((i40 << 27) & 1879048192), ((i40 >> 3) & 14) | 3072 | ((i40 >> 3) & 112) | ((i40 >> 3) & 896) | ((i40 << 3) & 458752) | ((i40 << 3) & 3670016), 16384);
                                        if (ComposerKt.isTraceInProgress()) {
                                            ComposerKt.traceEventEnd();
                                        }
                                    }
                                });
                                startRestartGroup.startReplaceableGroup(-492369756);
                                rememberedValue = startRestartGroup.rememberedValue();
                                Composer.Companion companion22222 = Composer.INSTANCE;
                                companion22222.getClass();
                                FontFamily fontFamily522222 = fontFamily2;
                                obj = Composer.Companion.Empty;
                                if (rememberedValue == obj) {
                                }
                                startRestartGroup.endReplaceableGroup();
                                final MutableState<Integer> mutableState32222 = (MutableState) rememberedValue;
                                m = ActivityResultRegistryKt$$ExternalSyntheticOutline0.m(startRestartGroup, -492369756, companion22222);
                                if (m == obj) {
                                }
                                startRestartGroup.endReplaceableGroup();
                                final MutableState<TextLayoutInfo> mutableState222222 = (MutableState) m;
                                Object value22222 = mutableState222222.getValue();
                                TextAlign textAlign522222 = textAlign2;
                                startRestartGroup.startReplaceableGroup(511388516);
                                changed = startRestartGroup.changed(mutableState222222) | startRestartGroup.changed(mutableState32222);
                                int i3522222 = i24;
                                Object rememberedValue222222 = startRestartGroup.rememberedValue();
                                if (!changed) {
                                }
                                rememberedValue222222 = new MarqueeTextKt$MarqueeText$2$1(mutableState222222, mutableState32222, null);
                                startRestartGroup.updateRememberedValue(rememberedValue222222);
                                startRestartGroup.endReplaceableGroup();
                                EffectsKt.LaunchedEffect(value22222, (Function2<? super CoroutineScope, ? super Continuation<? super Unit>, ? extends Object>) rememberedValue222222, startRestartGroup, 64);
                                Modifier clipToBounds22222 = ClipKt.clipToBounds(modifier3);
                                Object[] objArr22222 = {composableLambda22222, mutableState222222, mutableState32222, Color.m1805boximpl(j6)};
                                startRestartGroup.startReplaceableGroup(-568225417);
                                i27 = 0;
                                z3 = false;
                                while (i27 < i26) {
                                }
                                Object rememberedValue322222 = startRestartGroup.rememberedValue();
                                if (!z3) {
                                }
                                final long j1922222 = j6;
                                final int i3622222 = i5;
                                rememberedValue322222 = new Function2<SubcomposeMeasureScope, Constraints, MeasureResult>() {
                                    {
                                        super(2);
                                    }

                                    @Override
                                    public MeasureResult invoke(SubcomposeMeasureScope subcomposeMeasureScope, Constraints constraints) {
                                        return m6115invoke0kLqBqw(subcomposeMeasureScope, constraints.value);
                                    }

                                    @NotNull
                                    public final MeasureResult m6115invoke0kLqBqw(@NotNull SubcomposeMeasureScope SubcomposeLayout, long j2022222) {
                                        Intrinsics.checkNotNullParameter(SubcomposeLayout, "$this$SubcomposeLayout");
                                        long m4031copyZbe2FdA$default = Constraints.m4031copyZbe2FdA$default(j2022222, 0, Integer.MAX_VALUE, 0, 0, 13, null);
                                        final Ref.ObjectRef<Placeable> objectRef = new Ref.ObjectRef();
                                        MarqueeLayers marqueeLayers = MarqueeLayers.MainText;
                                        final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function3 = composableLambda22222;
                                        objectRef.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers, ComposableLambdaKt.composableLambdaInstance(1540048219, true, new Function2<Composer, Integer, Unit>() {
                                            {
                                                super(2);
                                            }

                                            @Override
                                            public Unit invoke(Composer composer2, Integer num) {
                                                invoke(composer2, num.intValue());
                                                return Unit.INSTANCE;
                                            }

                                            @Composable
                                            public final void invoke(@Nullable Composer composer2, int i37) {
                                                if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                                    composer2.skipToGroupEnd();
                                                    return;
                                                }
                                                if (ComposerKt.isTraceInProgress()) {
                                                    ComposerKt.traceEventStart(1540048219, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:105)");
                                                }
                                                function3.invoke(Modifier.INSTANCE, composer2, 54);
                                                if (ComposerKt.isTraceInProgress()) {
                                                    ComposerKt.traceEventEnd();
                                                }
                                            }
                                        })))).mo3070measureBRTryo0(m4031copyZbe2FdA$default);
                                        final Ref.ObjectRef<Placeable> objectRef2 = new Ref.ObjectRef();
                                        final Ref.ObjectRef<Pair<Placeable, Integer>> objectRef3 = new Ref.ObjectRef();
                                        if (((Placeable) objectRef.element).getWidth() <= Constraints.m4040getMaxWidthimpl(j2022222)) {
                                            MarqueeLayers marqueeLayers2 = MarqueeLayers.SecondaryText;
                                            final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function32 = composableLambda22222;
                                            objectRef.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers2, ComposableLambdaKt.composableLambdaInstance(-318004831, true, new Function2<Composer, Integer, Unit>() {
                                                {
                                                    super(2);
                                                }

                                                @Override
                                                public Unit invoke(Composer composer2, Integer num) {
                                                    invoke(composer2, num.intValue());
                                                    return Unit.INSTANCE;
                                                }

                                                @Composable
                                                public final void invoke(@Nullable Composer composer2, int i37) {
                                                    if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                                        composer2.skipToGroupEnd();
                                                        return;
                                                    }
                                                    if (ComposerKt.isTraceInProgress()) {
                                                        ComposerKt.traceEventStart(-318004831, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:113)");
                                                    }
                                                    function32.invoke(SizeKt.fillMaxWidth$default(Modifier.INSTANCE, 0.0f, 1, null), composer2, 54);
                                                    if (ComposerKt.isTraceInProgress()) {
                                                        ComposerKt.traceEventEnd();
                                                    }
                                                }
                                            })))).mo3070measureBRTryo0(j2022222);
                                            mutableState222222.setValue(null);
                                        } else {
                                            int m4040getMaxWidthimpl = (Constraints.m4040getMaxWidthimpl(j2022222) * 2) / 3;
                                            mutableState222222.setValue(new TextLayoutInfo(((Placeable) objectRef.element).getWidth() + m4040getMaxWidthimpl, Constraints.m4040getMaxWidthimpl(j2022222)));
                                            int MarqueeText_qzfHYl0$lambda$1 = MarqueeTextKt.MarqueeText_qzfHYl0$lambda$1(mutableState32222) + ((Placeable) objectRef.element).getWidth() + m4040getMaxWidthimpl;
                                            if (Constraints.m4040getMaxWidthimpl(j2022222) - MarqueeText_qzfHYl0$lambda$1 > 0) {
                                                MarqueeLayers marqueeLayers3 = MarqueeLayers.SecondaryText;
                                                final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function33 = composableLambda22222;
                                                objectRef3.element = new Pair(((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers3, ComposableLambdaKt.composableLambdaInstance(-930325559, true, new Function2<Composer, Integer, Unit>() {
                                                    {
                                                        super(2);
                                                    }

                                                    @Override
                                                    public Unit invoke(Composer composer2, Integer num) {
                                                        invoke(composer2, num.intValue());
                                                        return Unit.INSTANCE;
                                                    }

                                                    @Composable
                                                    public final void invoke(@Nullable Composer composer2, int i37) {
                                                        if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                                            composer2.skipToGroupEnd();
                                                            return;
                                                        }
                                                        if (ComposerKt.isTraceInProgress()) {
                                                            ComposerKt.traceEventStart(-930325559, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:127)");
                                                        }
                                                        function33.invoke(Modifier.INSTANCE, composer2, 54);
                                                        if (ComposerKt.isTraceInProgress()) {
                                                            ComposerKt.traceEventEnd();
                                                        }
                                                    }
                                                })))).mo3070measureBRTryo0(m4031copyZbe2FdA$default), Integer.valueOf(MarqueeText_qzfHYl0$lambda$1));
                                            }
                                            MarqueeLayers marqueeLayers4 = MarqueeLayers.EdgesGradient;
                                            final long j21 = j1922222;
                                            final int i37 = i3622222;
                                            objectRef2.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers4, ComposableLambdaKt.composableLambdaInstance(289953678, true, new Function2<Composer, Integer, Unit>() {
                                                {
                                                    super(2);
                                                }

                                                @Override
                                                public Unit invoke(Composer composer2, Integer num) {
                                                    invoke(composer2, num.intValue());
                                                    return Unit.INSTANCE;
                                                }

                                                @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
                                                @Composable
                                                public final void invoke(@Nullable Composer composer2, int i38) {
                                                    if ((i38 & 11) == 2 && composer2.getSkipping()) {
                                                        composer2.skipToGroupEnd();
                                                        return;
                                                    }
                                                    if (ComposerKt.isTraceInProgress()) {
                                                        ComposerKt.traceEventStart(289953678, i38, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:132)");
                                                    }
                                                    MarqueeTextKt.m6110Gradientek8zF_U(j21, composer2, (i37 >> 6) & 14);
                                                    if (ComposerKt.isTraceInProgress()) {
                                                        ComposerKt.traceEventEnd();
                                                    }
                                                }
                                            })))).mo3070measureBRTryo0(Constraints.m4031copyZbe2FdA$default(j2022222, 0, 0, 0, ((Placeable) objectRef.element).getHeight(), 7, null));
                                        }
                                        int m4040getMaxWidthimpl2 = Constraints.m4040getMaxWidthimpl(j2022222);
                                        int height = ((Placeable) objectRef.element).getHeight();
                                        final MutableState<Integer> mutableState322222 = mutableState32222;
                                        return MeasureScope.CC.layout$default(SubcomposeLayout, m4040getMaxWidthimpl2, height, null, new Function1<Placeable.PlacementScope, Unit>() {
                                            {
                                                super(1);
                                            }

                                            @Override
                                            public Unit invoke(Placeable.PlacementScope placementScope) {
                                                invoke2(placementScope);
                                                return Unit.INSTANCE;
                                            }

                                            public final void invoke2(@NotNull Placeable.PlacementScope layout) {
                                                Intrinsics.checkNotNullParameter(layout, "$this$layout");
                                                Placeable.PlacementScope.place$default(layout, objectRef.element, MarqueeTextKt.MarqueeText_qzfHYl0$lambda$1(mutableState322222), 0, 0.0f, 4, null);
                                                Pair<Placeable, Integer> pair = objectRef3.element;
                                                if (pair != null) {
                                                    Placeable.PlacementScope.place$default(layout, pair.first, pair.second.intValue(), 0, 0.0f, 4, null);
                                                }
                                                Placeable placeable = objectRef2.element;
                                                if (placeable != null) {
                                                    Placeable.PlacementScope.place$default(layout, placeable, 0, 0, 0.0f, 4, null);
                                                }
                                            }
                                        }, 4, null);
                                    }
                                };
                                startRestartGroup.updateRememberedValue(rememberedValue322222);
                                startRestartGroup.endReplaceableGroup();
                                SubcomposeLayoutKt.SubcomposeLayout(clipToBounds22222, (Function2) rememberedValue322222, startRestartGroup, 0, 0);
                                if (ComposerKt.isTraceInProgress()) {
                                }
                                textAlign3 = textAlign522222;
                                textStyle3 = textStyle2;
                                modifier4 = modifier3;
                                j11 = j6;
                                j12 = j7;
                                fontStyle4 = fontStyle3;
                                function13 = function12;
                                z4 = z2;
                                i28 = i3522222;
                                long j2022222 = j9;
                                fontFamily3 = fontFamily522222;
                                fontWeight3 = fontWeight2;
                                j13 = j8;
                                textDecoration4 = textDecoration3;
                                j14 = j2022222;
                                endRestartGroup = startRestartGroup.endRestartGroup();
                                if (endRestartGroup != null) {
                                }
                            }
                        }
                        i20 = i4 & 8192;
                        if (i20 == 0) {
                        }
                        i22 = i4 & 16384;
                        if (i22 != 0) {
                        }
                        i23 = i22;
                        if ((i3 & 458752) == 0) {
                        }
                        if ((i5 & 1533916891) != 306783378) {
                        }
                        startRestartGroup.startDefaults();
                        if ((i2 & 1) == 0) {
                        }
                        if (i29 == 0) {
                        }
                        if (i6 == 0) {
                        }
                        if (i7 == 0) {
                        }
                        if (i8 == 0) {
                        }
                        if (i9 == 0) {
                        }
                        if (i10 == 0) {
                        }
                        if (i11 == 0) {
                        }
                        if (i12 == 0) {
                        }
                        if (i13 == 0) {
                        }
                        if (i14 == 0) {
                        }
                        if (i17 == 0) {
                        }
                        if (i19 == 0) {
                        }
                        if (i21 == 0) {
                        }
                        if (i23 == 0) {
                        }
                        FontFamily fontFamily6222 = fontFamily2;
                        if ((i4 & 32768) != 0) {
                        }
                        i25 = i30;
                        textStyle2 = textStyle;
                        startRestartGroup.endDefaults();
                        if (ComposerKt.isTraceInProgress()) {
                        }
                        final long j15222222 = j7;
                        final long j16222222 = j8;
                        final FontStyle fontStyle5222222 = fontStyle2;
                        final FontWeight fontWeight4222222 = fontWeight2;
                        final FontFamily fontFamily4222222 = fontFamily2;
                        final long j17222222 = j9;
                        final TextDecoration textDecoration5222222 = textDecoration2;
                        final TextAlign textAlign4222222 = textAlign2;
                        final long j18222222 = j10;
                        final int i32222222 = i24;
                        final boolean z5222222 = z2;
                        final Function1<? super TextLayoutResult, Unit> function14222222 = function12;
                        final TextStyle textStyle4222222 = textStyle2;
                        final int i33222222 = i5;
                        final int i34222222 = i25;
                        final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> composableLambda222222 = ComposableLambdaKt.composableLambda(startRestartGroup, -1549953165, true, new Function3<Modifier, Composer, Integer, Unit>() {
                            {
                                super(3);
                            }

                            @Override
                            public Unit invoke(Modifier modifier5, Composer composer2, Integer num) {
                                invoke(modifier5, composer2, num.intValue());
                                return Unit.INSTANCE;
                            }

                            @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
                            @Composable
                            public final void invoke(@NotNull Modifier localModifier, @Nullable Composer composer2, int i35222222) {
                                int i36222222;
                                Intrinsics.checkNotNullParameter(localModifier, "localModifier");
                                if ((i35222222 & 14) == 0) {
                                    i36222222 = i35222222 | (composer2.changed(localModifier) ? 4 : 2);
                                } else {
                                    i36222222 = i35222222;
                                }
                                if ((i36222222 & 91) == 18 && composer2.getSkipping()) {
                                    composer2.skipToGroupEnd();
                                    return;
                                }
                                if (ComposerKt.isTraceInProgress()) {
                                    ComposerKt.traceEventStart(-1549953165, i36222222, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous> (MarqueeText.kt:49)");
                                }
                                String str = text;
                                long j19222222 = j15222222;
                                long j20222222 = j16222222;
                                FontStyle fontStyle6 = fontStyle5222222;
                                FontWeight fontWeight5 = fontWeight4222222;
                                FontFamily fontFamily5222222 = fontFamily4222222;
                                long j21 = j17222222;
                                TextDecoration textDecoration6 = textDecoration5222222;
                                TextAlign textAlign5222222 = textAlign4222222;
                                long j22 = j18222222;
                                int i37 = i32222222;
                                boolean z6 = z5222222;
                                Function1<TextLayoutResult, Unit> function15 = function14222222;
                                TextStyle textStyle5 = textStyle4222222;
                                int i38 = i33222222;
                                int i39 = (i38 & 14) | ((i36222222 << 3) & 112) | ((i38 >> 3) & 896) | ((i38 >> 3) & 7168) | ((i38 >> 3) & 57344) | ((i38 >> 3) & 458752) | ((i38 >> 3) & 3670016) | ((i38 >> 3) & 29360128) | ((i38 >> 3) & 234881024);
                                int i40 = i34222222;
                                TextKt.m1375Text4IGK_g(str, localModifier, j19222222, j20222222, fontStyle6, fontWeight5, fontFamily5222222, j21, textDecoration6, textAlign5222222, j22, i37, z6, 1, 0, function15, textStyle5, composer2, i39 | ((i40 << 27) & 1879048192), ((i40 >> 3) & 14) | 3072 | ((i40 >> 3) & 112) | ((i40 >> 3) & 896) | ((i40 << 3) & 458752) | ((i40 << 3) & 3670016), 16384);
                                if (ComposerKt.isTraceInProgress()) {
                                    ComposerKt.traceEventEnd();
                                }
                            }
                        });
                        startRestartGroup.startReplaceableGroup(-492369756);
                        rememberedValue = startRestartGroup.rememberedValue();
                        Composer.Companion companion222222 = Composer.INSTANCE;
                        companion222222.getClass();
                        FontFamily fontFamily5222222 = fontFamily2;
                        obj = Composer.Companion.Empty;
                        if (rememberedValue == obj) {
                        }
                        startRestartGroup.endReplaceableGroup();
                        final MutableState<Integer> mutableState322222 = (MutableState) rememberedValue;
                        m = ActivityResultRegistryKt$$ExternalSyntheticOutline0.m(startRestartGroup, -492369756, companion222222);
                        if (m == obj) {
                        }
                        startRestartGroup.endReplaceableGroup();
                        final MutableState<TextLayoutInfo> mutableState2222222 = (MutableState) m;
                        Object value222222 = mutableState2222222.getValue();
                        TextAlign textAlign5222222 = textAlign2;
                        startRestartGroup.startReplaceableGroup(511388516);
                        changed = startRestartGroup.changed(mutableState2222222) | startRestartGroup.changed(mutableState322222);
                        int i35222222 = i24;
                        Object rememberedValue2222222 = startRestartGroup.rememberedValue();
                        if (!changed) {
                        }
                        rememberedValue2222222 = new MarqueeTextKt$MarqueeText$2$1(mutableState2222222, mutableState322222, null);
                        startRestartGroup.updateRememberedValue(rememberedValue2222222);
                        startRestartGroup.endReplaceableGroup();
                        EffectsKt.LaunchedEffect(value222222, (Function2<? super CoroutineScope, ? super Continuation<? super Unit>, ? extends Object>) rememberedValue2222222, startRestartGroup, 64);
                        Modifier clipToBounds222222 = ClipKt.clipToBounds(modifier3);
                        Object[] objArr222222 = {composableLambda222222, mutableState2222222, mutableState322222, Color.m1805boximpl(j6)};
                        startRestartGroup.startReplaceableGroup(-568225417);
                        i27 = 0;
                        z3 = false;
                        while (i27 < i26) {
                        }
                        Object rememberedValue3222222 = startRestartGroup.rememberedValue();
                        if (!z3) {
                        }
                        final long j19222222 = j6;
                        final int i36222222 = i5;
                        rememberedValue3222222 = new Function2<SubcomposeMeasureScope, Constraints, MeasureResult>() {
                            {
                                super(2);
                            }

                            @Override
                            public MeasureResult invoke(SubcomposeMeasureScope subcomposeMeasureScope, Constraints constraints) {
                                return m6115invoke0kLqBqw(subcomposeMeasureScope, constraints.value);
                            }

                            @NotNull
                            public final MeasureResult m6115invoke0kLqBqw(@NotNull SubcomposeMeasureScope SubcomposeLayout, long j20222222) {
                                Intrinsics.checkNotNullParameter(SubcomposeLayout, "$this$SubcomposeLayout");
                                long m4031copyZbe2FdA$default = Constraints.m4031copyZbe2FdA$default(j20222222, 0, Integer.MAX_VALUE, 0, 0, 13, null);
                                final Ref.ObjectRef<Placeable> objectRef = new Ref.ObjectRef();
                                MarqueeLayers marqueeLayers = MarqueeLayers.MainText;
                                final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function3 = composableLambda222222;
                                objectRef.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers, ComposableLambdaKt.composableLambdaInstance(1540048219, true, new Function2<Composer, Integer, Unit>() {
                                    {
                                        super(2);
                                    }

                                    @Override
                                    public Unit invoke(Composer composer2, Integer num) {
                                        invoke(composer2, num.intValue());
                                        return Unit.INSTANCE;
                                    }

                                    @Composable
                                    public final void invoke(@Nullable Composer composer2, int i37) {
                                        if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                            composer2.skipToGroupEnd();
                                            return;
                                        }
                                        if (ComposerKt.isTraceInProgress()) {
                                            ComposerKt.traceEventStart(1540048219, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:105)");
                                        }
                                        function3.invoke(Modifier.INSTANCE, composer2, 54);
                                        if (ComposerKt.isTraceInProgress()) {
                                            ComposerKt.traceEventEnd();
                                        }
                                    }
                                })))).mo3070measureBRTryo0(m4031copyZbe2FdA$default);
                                final Ref.ObjectRef<Placeable> objectRef2 = new Ref.ObjectRef();
                                final Ref.ObjectRef<Pair<Placeable, Integer>> objectRef3 = new Ref.ObjectRef();
                                if (((Placeable) objectRef.element).getWidth() <= Constraints.m4040getMaxWidthimpl(j20222222)) {
                                    MarqueeLayers marqueeLayers2 = MarqueeLayers.SecondaryText;
                                    final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function32 = composableLambda222222;
                                    objectRef.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers2, ComposableLambdaKt.composableLambdaInstance(-318004831, true, new Function2<Composer, Integer, Unit>() {
                                        {
                                            super(2);
                                        }

                                        @Override
                                        public Unit invoke(Composer composer2, Integer num) {
                                            invoke(composer2, num.intValue());
                                            return Unit.INSTANCE;
                                        }

                                        @Composable
                                        public final void invoke(@Nullable Composer composer2, int i37) {
                                            if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                                composer2.skipToGroupEnd();
                                                return;
                                            }
                                            if (ComposerKt.isTraceInProgress()) {
                                                ComposerKt.traceEventStart(-318004831, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:113)");
                                            }
                                            function32.invoke(SizeKt.fillMaxWidth$default(Modifier.INSTANCE, 0.0f, 1, null), composer2, 54);
                                            if (ComposerKt.isTraceInProgress()) {
                                                ComposerKt.traceEventEnd();
                                            }
                                        }
                                    })))).mo3070measureBRTryo0(j20222222);
                                    mutableState2222222.setValue(null);
                                } else {
                                    int m4040getMaxWidthimpl = (Constraints.m4040getMaxWidthimpl(j20222222) * 2) / 3;
                                    mutableState2222222.setValue(new TextLayoutInfo(((Placeable) objectRef.element).getWidth() + m4040getMaxWidthimpl, Constraints.m4040getMaxWidthimpl(j20222222)));
                                    int MarqueeText_qzfHYl0$lambda$1 = MarqueeTextKt.MarqueeText_qzfHYl0$lambda$1(mutableState322222) + ((Placeable) objectRef.element).getWidth() + m4040getMaxWidthimpl;
                                    if (Constraints.m4040getMaxWidthimpl(j20222222) - MarqueeText_qzfHYl0$lambda$1 > 0) {
                                        MarqueeLayers marqueeLayers3 = MarqueeLayers.SecondaryText;
                                        final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function33 = composableLambda222222;
                                        objectRef3.element = new Pair(((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers3, ComposableLambdaKt.composableLambdaInstance(-930325559, true, new Function2<Composer, Integer, Unit>() {
                                            {
                                                super(2);
                                            }

                                            @Override
                                            public Unit invoke(Composer composer2, Integer num) {
                                                invoke(composer2, num.intValue());
                                                return Unit.INSTANCE;
                                            }

                                            @Composable
                                            public final void invoke(@Nullable Composer composer2, int i37) {
                                                if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                                    composer2.skipToGroupEnd();
                                                    return;
                                                }
                                                if (ComposerKt.isTraceInProgress()) {
                                                    ComposerKt.traceEventStart(-930325559, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:127)");
                                                }
                                                function33.invoke(Modifier.INSTANCE, composer2, 54);
                                                if (ComposerKt.isTraceInProgress()) {
                                                    ComposerKt.traceEventEnd();
                                                }
                                            }
                                        })))).mo3070measureBRTryo0(m4031copyZbe2FdA$default), Integer.valueOf(MarqueeText_qzfHYl0$lambda$1));
                                    }
                                    MarqueeLayers marqueeLayers4 = MarqueeLayers.EdgesGradient;
                                    final long j21 = j19222222;
                                    final int i37 = i36222222;
                                    objectRef2.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers4, ComposableLambdaKt.composableLambdaInstance(289953678, true, new Function2<Composer, Integer, Unit>() {
                                        {
                                            super(2);
                                        }

                                        @Override
                                        public Unit invoke(Composer composer2, Integer num) {
                                            invoke(composer2, num.intValue());
                                            return Unit.INSTANCE;
                                        }

                                        @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
                                        @Composable
                                        public final void invoke(@Nullable Composer composer2, int i38) {
                                            if ((i38 & 11) == 2 && composer2.getSkipping()) {
                                                composer2.skipToGroupEnd();
                                                return;
                                            }
                                            if (ComposerKt.isTraceInProgress()) {
                                                ComposerKt.traceEventStart(289953678, i38, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:132)");
                                            }
                                            MarqueeTextKt.m6110Gradientek8zF_U(j21, composer2, (i37 >> 6) & 14);
                                            if (ComposerKt.isTraceInProgress()) {
                                                ComposerKt.traceEventEnd();
                                            }
                                        }
                                    })))).mo3070measureBRTryo0(Constraints.m4031copyZbe2FdA$default(j20222222, 0, 0, 0, ((Placeable) objectRef.element).getHeight(), 7, null));
                                }
                                int m4040getMaxWidthimpl2 = Constraints.m4040getMaxWidthimpl(j20222222);
                                int height = ((Placeable) objectRef.element).getHeight();
                                final MutableState<Integer> mutableState3222222 = mutableState322222;
                                return MeasureScope.CC.layout$default(SubcomposeLayout, m4040getMaxWidthimpl2, height, null, new Function1<Placeable.PlacementScope, Unit>() {
                                    {
                                        super(1);
                                    }

                                    @Override
                                    public Unit invoke(Placeable.PlacementScope placementScope) {
                                        invoke2(placementScope);
                                        return Unit.INSTANCE;
                                    }

                                    public final void invoke2(@NotNull Placeable.PlacementScope layout) {
                                        Intrinsics.checkNotNullParameter(layout, "$this$layout");
                                        Placeable.PlacementScope.place$default(layout, objectRef.element, MarqueeTextKt.MarqueeText_qzfHYl0$lambda$1(mutableState3222222), 0, 0.0f, 4, null);
                                        Pair<Placeable, Integer> pair = objectRef3.element;
                                        if (pair != null) {
                                            Placeable.PlacementScope.place$default(layout, pair.first, pair.second.intValue(), 0, 0.0f, 4, null);
                                        }
                                        Placeable placeable = objectRef2.element;
                                        if (placeable != null) {
                                            Placeable.PlacementScope.place$default(layout, placeable, 0, 0, 0.0f, 4, null);
                                        }
                                    }
                                }, 4, null);
                            }
                        };
                        startRestartGroup.updateRememberedValue(rememberedValue3222222);
                        startRestartGroup.endReplaceableGroup();
                        SubcomposeLayoutKt.SubcomposeLayout(clipToBounds222222, (Function2) rememberedValue3222222, startRestartGroup, 0, 0);
                        if (ComposerKt.isTraceInProgress()) {
                        }
                        textAlign3 = textAlign5222222;
                        textStyle3 = textStyle2;
                        modifier4 = modifier3;
                        j11 = j6;
                        j12 = j7;
                        fontStyle4 = fontStyle3;
                        function13 = function12;
                        z4 = z2;
                        i28 = i35222222;
                        long j20222222 = j9;
                        fontFamily3 = fontFamily5222222;
                        fontWeight3 = fontWeight2;
                        j13 = j8;
                        textDecoration4 = textDecoration3;
                        j14 = j20222222;
                        endRestartGroup = startRestartGroup.endRestartGroup();
                        if (endRestartGroup != null) {
                        }
                    }
                    i14 = i4 & 1024;
                    if (i14 != 0) {
                    }
                    i16 = i4 & 2048;
                    if (i16 != 0) {
                    }
                    int i302 = i15;
                    i18 = i4 & 4096;
                    if (i18 != 0) {
                    }
                    i20 = i4 & 8192;
                    if (i20 == 0) {
                    }
                    i22 = i4 & 16384;
                    if (i22 != 0) {
                    }
                    i23 = i22;
                    if ((i3 & 458752) == 0) {
                    }
                    if ((i5 & 1533916891) != 306783378) {
                    }
                    startRestartGroup.startDefaults();
                    if ((i2 & 1) == 0) {
                    }
                    if (i29 == 0) {
                    }
                    if (i6 == 0) {
                    }
                    if (i7 == 0) {
                    }
                    if (i8 == 0) {
                    }
                    if (i9 == 0) {
                    }
                    if (i10 == 0) {
                    }
                    if (i11 == 0) {
                    }
                    if (i12 == 0) {
                    }
                    if (i13 == 0) {
                    }
                    if (i14 == 0) {
                    }
                    if (i17 == 0) {
                    }
                    if (i19 == 0) {
                    }
                    if (i21 == 0) {
                    }
                    if (i23 == 0) {
                    }
                    FontFamily fontFamily62222 = fontFamily2;
                    if ((i4 & 32768) != 0) {
                    }
                    i25 = i302;
                    textStyle2 = textStyle;
                    startRestartGroup.endDefaults();
                    if (ComposerKt.isTraceInProgress()) {
                    }
                    final long j152222222 = j7;
                    final long j162222222 = j8;
                    final FontStyle fontStyle52222222 = fontStyle2;
                    final FontWeight fontWeight42222222 = fontWeight2;
                    final FontFamily fontFamily42222222 = fontFamily2;
                    final long j172222222 = j9;
                    final TextDecoration textDecoration52222222 = textDecoration2;
                    final TextAlign textAlign42222222 = textAlign2;
                    final long j182222222 = j10;
                    final int i322222222 = i24;
                    final boolean z52222222 = z2;
                    final Function1<? super TextLayoutResult, Unit> function142222222 = function12;
                    final TextStyle textStyle42222222 = textStyle2;
                    final int i332222222 = i5;
                    final int i342222222 = i25;
                    final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> composableLambda2222222 = ComposableLambdaKt.composableLambda(startRestartGroup, -1549953165, true, new Function3<Modifier, Composer, Integer, Unit>() {
                        {
                            super(3);
                        }

                        @Override
                        public Unit invoke(Modifier modifier5, Composer composer2, Integer num) {
                            invoke(modifier5, composer2, num.intValue());
                            return Unit.INSTANCE;
                        }

                        @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
                        @Composable
                        public final void invoke(@NotNull Modifier localModifier, @Nullable Composer composer2, int i352222222) {
                            int i362222222;
                            Intrinsics.checkNotNullParameter(localModifier, "localModifier");
                            if ((i352222222 & 14) == 0) {
                                i362222222 = i352222222 | (composer2.changed(localModifier) ? 4 : 2);
                            } else {
                                i362222222 = i352222222;
                            }
                            if ((i362222222 & 91) == 18 && composer2.getSkipping()) {
                                composer2.skipToGroupEnd();
                                return;
                            }
                            if (ComposerKt.isTraceInProgress()) {
                                ComposerKt.traceEventStart(-1549953165, i362222222, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous> (MarqueeText.kt:49)");
                            }
                            String str = text;
                            long j192222222 = j152222222;
                            long j202222222 = j162222222;
                            FontStyle fontStyle6 = fontStyle52222222;
                            FontWeight fontWeight5 = fontWeight42222222;
                            FontFamily fontFamily52222222 = fontFamily42222222;
                            long j21 = j172222222;
                            TextDecoration textDecoration6 = textDecoration52222222;
                            TextAlign textAlign52222222 = textAlign42222222;
                            long j22 = j182222222;
                            int i37 = i322222222;
                            boolean z6 = z52222222;
                            Function1<TextLayoutResult, Unit> function15 = function142222222;
                            TextStyle textStyle5 = textStyle42222222;
                            int i38 = i332222222;
                            int i39 = (i38 & 14) | ((i362222222 << 3) & 112) | ((i38 >> 3) & 896) | ((i38 >> 3) & 7168) | ((i38 >> 3) & 57344) | ((i38 >> 3) & 458752) | ((i38 >> 3) & 3670016) | ((i38 >> 3) & 29360128) | ((i38 >> 3) & 234881024);
                            int i40 = i342222222;
                            TextKt.m1375Text4IGK_g(str, localModifier, j192222222, j202222222, fontStyle6, fontWeight5, fontFamily52222222, j21, textDecoration6, textAlign52222222, j22, i37, z6, 1, 0, function15, textStyle5, composer2, i39 | ((i40 << 27) & 1879048192), ((i40 >> 3) & 14) | 3072 | ((i40 >> 3) & 112) | ((i40 >> 3) & 896) | ((i40 << 3) & 458752) | ((i40 << 3) & 3670016), 16384);
                            if (ComposerKt.isTraceInProgress()) {
                                ComposerKt.traceEventEnd();
                            }
                        }
                    });
                    startRestartGroup.startReplaceableGroup(-492369756);
                    rememberedValue = startRestartGroup.rememberedValue();
                    Composer.Companion companion2222222 = Composer.INSTANCE;
                    companion2222222.getClass();
                    FontFamily fontFamily52222222 = fontFamily2;
                    obj = Composer.Companion.Empty;
                    if (rememberedValue == obj) {
                    }
                    startRestartGroup.endReplaceableGroup();
                    final MutableState<Integer> mutableState3222222 = (MutableState) rememberedValue;
                    m = ActivityResultRegistryKt$$ExternalSyntheticOutline0.m(startRestartGroup, -492369756, companion2222222);
                    if (m == obj) {
                    }
                    startRestartGroup.endReplaceableGroup();
                    final MutableState<TextLayoutInfo> mutableState22222222 = (MutableState) m;
                    Object value2222222 = mutableState22222222.getValue();
                    TextAlign textAlign52222222 = textAlign2;
                    startRestartGroup.startReplaceableGroup(511388516);
                    changed = startRestartGroup.changed(mutableState22222222) | startRestartGroup.changed(mutableState3222222);
                    int i352222222 = i24;
                    Object rememberedValue22222222 = startRestartGroup.rememberedValue();
                    if (!changed) {
                    }
                    rememberedValue22222222 = new MarqueeTextKt$MarqueeText$2$1(mutableState22222222, mutableState3222222, null);
                    startRestartGroup.updateRememberedValue(rememberedValue22222222);
                    startRestartGroup.endReplaceableGroup();
                    EffectsKt.LaunchedEffect(value2222222, (Function2<? super CoroutineScope, ? super Continuation<? super Unit>, ? extends Object>) rememberedValue22222222, startRestartGroup, 64);
                    Modifier clipToBounds2222222 = ClipKt.clipToBounds(modifier3);
                    Object[] objArr2222222 = {composableLambda2222222, mutableState22222222, mutableState3222222, Color.m1805boximpl(j6)};
                    startRestartGroup.startReplaceableGroup(-568225417);
                    i27 = 0;
                    z3 = false;
                    while (i27 < i26) {
                    }
                    Object rememberedValue32222222 = startRestartGroup.rememberedValue();
                    if (!z3) {
                    }
                    final long j192222222 = j6;
                    final int i362222222 = i5;
                    rememberedValue32222222 = new Function2<SubcomposeMeasureScope, Constraints, MeasureResult>() {
                        {
                            super(2);
                        }

                        @Override
                        public MeasureResult invoke(SubcomposeMeasureScope subcomposeMeasureScope, Constraints constraints) {
                            return m6115invoke0kLqBqw(subcomposeMeasureScope, constraints.value);
                        }

                        @NotNull
                        public final MeasureResult m6115invoke0kLqBqw(@NotNull SubcomposeMeasureScope SubcomposeLayout, long j202222222) {
                            Intrinsics.checkNotNullParameter(SubcomposeLayout, "$this$SubcomposeLayout");
                            long m4031copyZbe2FdA$default = Constraints.m4031copyZbe2FdA$default(j202222222, 0, Integer.MAX_VALUE, 0, 0, 13, null);
                            final Ref.ObjectRef<Placeable> objectRef = new Ref.ObjectRef();
                            MarqueeLayers marqueeLayers = MarqueeLayers.MainText;
                            final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function3 = composableLambda2222222;
                            objectRef.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers, ComposableLambdaKt.composableLambdaInstance(1540048219, true, new Function2<Composer, Integer, Unit>() {
                                {
                                    super(2);
                                }

                                @Override
                                public Unit invoke(Composer composer2, Integer num) {
                                    invoke(composer2, num.intValue());
                                    return Unit.INSTANCE;
                                }

                                @Composable
                                public final void invoke(@Nullable Composer composer2, int i37) {
                                    if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                        composer2.skipToGroupEnd();
                                        return;
                                    }
                                    if (ComposerKt.isTraceInProgress()) {
                                        ComposerKt.traceEventStart(1540048219, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:105)");
                                    }
                                    function3.invoke(Modifier.INSTANCE, composer2, 54);
                                    if (ComposerKt.isTraceInProgress()) {
                                        ComposerKt.traceEventEnd();
                                    }
                                }
                            })))).mo3070measureBRTryo0(m4031copyZbe2FdA$default);
                            final Ref.ObjectRef<Placeable> objectRef2 = new Ref.ObjectRef();
                            final Ref.ObjectRef<Pair<Placeable, Integer>> objectRef3 = new Ref.ObjectRef();
                            if (((Placeable) objectRef.element).getWidth() <= Constraints.m4040getMaxWidthimpl(j202222222)) {
                                MarqueeLayers marqueeLayers2 = MarqueeLayers.SecondaryText;
                                final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function32 = composableLambda2222222;
                                objectRef.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers2, ComposableLambdaKt.composableLambdaInstance(-318004831, true, new Function2<Composer, Integer, Unit>() {
                                    {
                                        super(2);
                                    }

                                    @Override
                                    public Unit invoke(Composer composer2, Integer num) {
                                        invoke(composer2, num.intValue());
                                        return Unit.INSTANCE;
                                    }

                                    @Composable
                                    public final void invoke(@Nullable Composer composer2, int i37) {
                                        if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                            composer2.skipToGroupEnd();
                                            return;
                                        }
                                        if (ComposerKt.isTraceInProgress()) {
                                            ComposerKt.traceEventStart(-318004831, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:113)");
                                        }
                                        function32.invoke(SizeKt.fillMaxWidth$default(Modifier.INSTANCE, 0.0f, 1, null), composer2, 54);
                                        if (ComposerKt.isTraceInProgress()) {
                                            ComposerKt.traceEventEnd();
                                        }
                                    }
                                })))).mo3070measureBRTryo0(j202222222);
                                mutableState22222222.setValue(null);
                            } else {
                                int m4040getMaxWidthimpl = (Constraints.m4040getMaxWidthimpl(j202222222) * 2) / 3;
                                mutableState22222222.setValue(new TextLayoutInfo(((Placeable) objectRef.element).getWidth() + m4040getMaxWidthimpl, Constraints.m4040getMaxWidthimpl(j202222222)));
                                int MarqueeText_qzfHYl0$lambda$1 = MarqueeTextKt.MarqueeText_qzfHYl0$lambda$1(mutableState3222222) + ((Placeable) objectRef.element).getWidth() + m4040getMaxWidthimpl;
                                if (Constraints.m4040getMaxWidthimpl(j202222222) - MarqueeText_qzfHYl0$lambda$1 > 0) {
                                    MarqueeLayers marqueeLayers3 = MarqueeLayers.SecondaryText;
                                    final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function33 = composableLambda2222222;
                                    objectRef3.element = new Pair(((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers3, ComposableLambdaKt.composableLambdaInstance(-930325559, true, new Function2<Composer, Integer, Unit>() {
                                        {
                                            super(2);
                                        }

                                        @Override
                                        public Unit invoke(Composer composer2, Integer num) {
                                            invoke(composer2, num.intValue());
                                            return Unit.INSTANCE;
                                        }

                                        @Composable
                                        public final void invoke(@Nullable Composer composer2, int i37) {
                                            if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                                composer2.skipToGroupEnd();
                                                return;
                                            }
                                            if (ComposerKt.isTraceInProgress()) {
                                                ComposerKt.traceEventStart(-930325559, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:127)");
                                            }
                                            function33.invoke(Modifier.INSTANCE, composer2, 54);
                                            if (ComposerKt.isTraceInProgress()) {
                                                ComposerKt.traceEventEnd();
                                            }
                                        }
                                    })))).mo3070measureBRTryo0(m4031copyZbe2FdA$default), Integer.valueOf(MarqueeText_qzfHYl0$lambda$1));
                                }
                                MarqueeLayers marqueeLayers4 = MarqueeLayers.EdgesGradient;
                                final long j21 = j192222222;
                                final int i37 = i362222222;
                                objectRef2.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers4, ComposableLambdaKt.composableLambdaInstance(289953678, true, new Function2<Composer, Integer, Unit>() {
                                    {
                                        super(2);
                                    }

                                    @Override
                                    public Unit invoke(Composer composer2, Integer num) {
                                        invoke(composer2, num.intValue());
                                        return Unit.INSTANCE;
                                    }

                                    @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
                                    @Composable
                                    public final void invoke(@Nullable Composer composer2, int i38) {
                                        if ((i38 & 11) == 2 && composer2.getSkipping()) {
                                            composer2.skipToGroupEnd();
                                            return;
                                        }
                                        if (ComposerKt.isTraceInProgress()) {
                                            ComposerKt.traceEventStart(289953678, i38, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:132)");
                                        }
                                        MarqueeTextKt.m6110Gradientek8zF_U(j21, composer2, (i37 >> 6) & 14);
                                        if (ComposerKt.isTraceInProgress()) {
                                            ComposerKt.traceEventEnd();
                                        }
                                    }
                                })))).mo3070measureBRTryo0(Constraints.m4031copyZbe2FdA$default(j202222222, 0, 0, 0, ((Placeable) objectRef.element).getHeight(), 7, null));
                            }
                            int m4040getMaxWidthimpl2 = Constraints.m4040getMaxWidthimpl(j202222222);
                            int height = ((Placeable) objectRef.element).getHeight();
                            final MutableState<Integer> mutableState32222222 = mutableState3222222;
                            return MeasureScope.CC.layout$default(SubcomposeLayout, m4040getMaxWidthimpl2, height, null, new Function1<Placeable.PlacementScope, Unit>() {
                                {
                                    super(1);
                                }

                                @Override
                                public Unit invoke(Placeable.PlacementScope placementScope) {
                                    invoke2(placementScope);
                                    return Unit.INSTANCE;
                                }

                                public final void invoke2(@NotNull Placeable.PlacementScope layout) {
                                    Intrinsics.checkNotNullParameter(layout, "$this$layout");
                                    Placeable.PlacementScope.place$default(layout, objectRef.element, MarqueeTextKt.MarqueeText_qzfHYl0$lambda$1(mutableState32222222), 0, 0.0f, 4, null);
                                    Pair<Placeable, Integer> pair = objectRef3.element;
                                    if (pair != null) {
                                        Placeable.PlacementScope.place$default(layout, pair.first, pair.second.intValue(), 0, 0.0f, 4, null);
                                    }
                                    Placeable placeable = objectRef2.element;
                                    if (placeable != null) {
                                        Placeable.PlacementScope.place$default(layout, placeable, 0, 0, 0.0f, 4, null);
                                    }
                                }
                            }, 4, null);
                        }
                    };
                    startRestartGroup.updateRememberedValue(rememberedValue32222222);
                    startRestartGroup.endReplaceableGroup();
                    SubcomposeLayoutKt.SubcomposeLayout(clipToBounds2222222, (Function2) rememberedValue32222222, startRestartGroup, 0, 0);
                    if (ComposerKt.isTraceInProgress()) {
                    }
                    textAlign3 = textAlign52222222;
                    textStyle3 = textStyle2;
                    modifier4 = modifier3;
                    j11 = j6;
                    j12 = j7;
                    fontStyle4 = fontStyle3;
                    function13 = function12;
                    z4 = z2;
                    i28 = i352222222;
                    long j202222222 = j9;
                    fontFamily3 = fontFamily52222222;
                    fontWeight3 = fontWeight2;
                    j13 = j8;
                    textDecoration4 = textDecoration3;
                    j14 = j202222222;
                    endRestartGroup = startRestartGroup.endRestartGroup();
                    if (endRestartGroup != null) {
                    }
                }
                i8 = i4 & 16;
                if (i8 == 0) {
                }
                i9 = i4 & 32;
                if (i9 == 0) {
                }
                i10 = i4 & 64;
                if (i10 == 0) {
                }
                i11 = i4 & 128;
                if (i11 == 0) {
                }
                i12 = i4 & 256;
                if (i12 == 0) {
                }
                i13 = i4 & 512;
                if (i13 == 0) {
                }
                i14 = i4 & 1024;
                if (i14 != 0) {
                }
                i16 = i4 & 2048;
                if (i16 != 0) {
                }
                int i3022 = i15;
                i18 = i4 & 4096;
                if (i18 != 0) {
                }
                i20 = i4 & 8192;
                if (i20 == 0) {
                }
                i22 = i4 & 16384;
                if (i22 != 0) {
                }
                i23 = i22;
                if ((i3 & 458752) == 0) {
                }
                if ((i5 & 1533916891) != 306783378) {
                }
                startRestartGroup.startDefaults();
                if ((i2 & 1) == 0) {
                }
                if (i29 == 0) {
                }
                if (i6 == 0) {
                }
                if (i7 == 0) {
                }
                if (i8 == 0) {
                }
                if (i9 == 0) {
                }
                if (i10 == 0) {
                }
                if (i11 == 0) {
                }
                if (i12 == 0) {
                }
                if (i13 == 0) {
                }
                if (i14 == 0) {
                }
                if (i17 == 0) {
                }
                if (i19 == 0) {
                }
                if (i21 == 0) {
                }
                if (i23 == 0) {
                }
                FontFamily fontFamily622222 = fontFamily2;
                if ((i4 & 32768) != 0) {
                }
                i25 = i3022;
                textStyle2 = textStyle;
                startRestartGroup.endDefaults();
                if (ComposerKt.isTraceInProgress()) {
                }
                final long j1522222222 = j7;
                final long j1622222222 = j8;
                final FontStyle fontStyle522222222 = fontStyle2;
                final FontWeight fontWeight422222222 = fontWeight2;
                final FontFamily fontFamily422222222 = fontFamily2;
                final long j1722222222 = j9;
                final TextDecoration textDecoration522222222 = textDecoration2;
                final TextAlign textAlign422222222 = textAlign2;
                final long j1822222222 = j10;
                final int i3222222222 = i24;
                final boolean z522222222 = z2;
                final Function1<? super TextLayoutResult, Unit> function1422222222 = function12;
                final TextStyle textStyle422222222 = textStyle2;
                final int i3322222222 = i5;
                final int i3422222222 = i25;
                final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> composableLambda22222222 = ComposableLambdaKt.composableLambda(startRestartGroup, -1549953165, true, new Function3<Modifier, Composer, Integer, Unit>() {
                    {
                        super(3);
                    }

                    @Override
                    public Unit invoke(Modifier modifier5, Composer composer2, Integer num) {
                        invoke(modifier5, composer2, num.intValue());
                        return Unit.INSTANCE;
                    }

                    @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
                    @Composable
                    public final void invoke(@NotNull Modifier localModifier, @Nullable Composer composer2, int i3522222222) {
                        int i3622222222;
                        Intrinsics.checkNotNullParameter(localModifier, "localModifier");
                        if ((i3522222222 & 14) == 0) {
                            i3622222222 = i3522222222 | (composer2.changed(localModifier) ? 4 : 2);
                        } else {
                            i3622222222 = i3522222222;
                        }
                        if ((i3622222222 & 91) == 18 && composer2.getSkipping()) {
                            composer2.skipToGroupEnd();
                            return;
                        }
                        if (ComposerKt.isTraceInProgress()) {
                            ComposerKt.traceEventStart(-1549953165, i3622222222, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous> (MarqueeText.kt:49)");
                        }
                        String str = text;
                        long j1922222222 = j1522222222;
                        long j2022222222 = j1622222222;
                        FontStyle fontStyle6 = fontStyle522222222;
                        FontWeight fontWeight5 = fontWeight422222222;
                        FontFamily fontFamily522222222 = fontFamily422222222;
                        long j21 = j1722222222;
                        TextDecoration textDecoration6 = textDecoration522222222;
                        TextAlign textAlign522222222 = textAlign422222222;
                        long j22 = j1822222222;
                        int i37 = i3222222222;
                        boolean z6 = z522222222;
                        Function1<TextLayoutResult, Unit> function15 = function1422222222;
                        TextStyle textStyle5 = textStyle422222222;
                        int i38 = i3322222222;
                        int i39 = (i38 & 14) | ((i3622222222 << 3) & 112) | ((i38 >> 3) & 896) | ((i38 >> 3) & 7168) | ((i38 >> 3) & 57344) | ((i38 >> 3) & 458752) | ((i38 >> 3) & 3670016) | ((i38 >> 3) & 29360128) | ((i38 >> 3) & 234881024);
                        int i40 = i3422222222;
                        TextKt.m1375Text4IGK_g(str, localModifier, j1922222222, j2022222222, fontStyle6, fontWeight5, fontFamily522222222, j21, textDecoration6, textAlign522222222, j22, i37, z6, 1, 0, function15, textStyle5, composer2, i39 | ((i40 << 27) & 1879048192), ((i40 >> 3) & 14) | 3072 | ((i40 >> 3) & 112) | ((i40 >> 3) & 896) | ((i40 << 3) & 458752) | ((i40 << 3) & 3670016), 16384);
                        if (ComposerKt.isTraceInProgress()) {
                            ComposerKt.traceEventEnd();
                        }
                    }
                });
                startRestartGroup.startReplaceableGroup(-492369756);
                rememberedValue = startRestartGroup.rememberedValue();
                Composer.Companion companion22222222 = Composer.INSTANCE;
                companion22222222.getClass();
                FontFamily fontFamily522222222 = fontFamily2;
                obj = Composer.Companion.Empty;
                if (rememberedValue == obj) {
                }
                startRestartGroup.endReplaceableGroup();
                final MutableState<Integer> mutableState32222222 = (MutableState) rememberedValue;
                m = ActivityResultRegistryKt$$ExternalSyntheticOutline0.m(startRestartGroup, -492369756, companion22222222);
                if (m == obj) {
                }
                startRestartGroup.endReplaceableGroup();
                final MutableState<TextLayoutInfo> mutableState222222222 = (MutableState) m;
                Object value22222222 = mutableState222222222.getValue();
                TextAlign textAlign522222222 = textAlign2;
                startRestartGroup.startReplaceableGroup(511388516);
                changed = startRestartGroup.changed(mutableState222222222) | startRestartGroup.changed(mutableState32222222);
                int i3522222222 = i24;
                Object rememberedValue222222222 = startRestartGroup.rememberedValue();
                if (!changed) {
                }
                rememberedValue222222222 = new MarqueeTextKt$MarqueeText$2$1(mutableState222222222, mutableState32222222, null);
                startRestartGroup.updateRememberedValue(rememberedValue222222222);
                startRestartGroup.endReplaceableGroup();
                EffectsKt.LaunchedEffect(value22222222, (Function2<? super CoroutineScope, ? super Continuation<? super Unit>, ? extends Object>) rememberedValue222222222, startRestartGroup, 64);
                Modifier clipToBounds22222222 = ClipKt.clipToBounds(modifier3);
                Object[] objArr22222222 = {composableLambda22222222, mutableState222222222, mutableState32222222, Color.m1805boximpl(j6)};
                startRestartGroup.startReplaceableGroup(-568225417);
                i27 = 0;
                z3 = false;
                while (i27 < i26) {
                }
                Object rememberedValue322222222 = startRestartGroup.rememberedValue();
                if (!z3) {
                }
                final long j1922222222 = j6;
                final int i3622222222 = i5;
                rememberedValue322222222 = new Function2<SubcomposeMeasureScope, Constraints, MeasureResult>() {
                    {
                        super(2);
                    }

                    @Override
                    public MeasureResult invoke(SubcomposeMeasureScope subcomposeMeasureScope, Constraints constraints) {
                        return m6115invoke0kLqBqw(subcomposeMeasureScope, constraints.value);
                    }

                    @NotNull
                    public final MeasureResult m6115invoke0kLqBqw(@NotNull SubcomposeMeasureScope SubcomposeLayout, long j2022222222) {
                        Intrinsics.checkNotNullParameter(SubcomposeLayout, "$this$SubcomposeLayout");
                        long m4031copyZbe2FdA$default = Constraints.m4031copyZbe2FdA$default(j2022222222, 0, Integer.MAX_VALUE, 0, 0, 13, null);
                        final Ref.ObjectRef<Placeable> objectRef = new Ref.ObjectRef();
                        MarqueeLayers marqueeLayers = MarqueeLayers.MainText;
                        final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function3 = composableLambda22222222;
                        objectRef.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers, ComposableLambdaKt.composableLambdaInstance(1540048219, true, new Function2<Composer, Integer, Unit>() {
                            {
                                super(2);
                            }

                            @Override
                            public Unit invoke(Composer composer2, Integer num) {
                                invoke(composer2, num.intValue());
                                return Unit.INSTANCE;
                            }

                            @Composable
                            public final void invoke(@Nullable Composer composer2, int i37) {
                                if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                    composer2.skipToGroupEnd();
                                    return;
                                }
                                if (ComposerKt.isTraceInProgress()) {
                                    ComposerKt.traceEventStart(1540048219, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:105)");
                                }
                                function3.invoke(Modifier.INSTANCE, composer2, 54);
                                if (ComposerKt.isTraceInProgress()) {
                                    ComposerKt.traceEventEnd();
                                }
                            }
                        })))).mo3070measureBRTryo0(m4031copyZbe2FdA$default);
                        final Ref.ObjectRef<Placeable> objectRef2 = new Ref.ObjectRef();
                        final Ref.ObjectRef<Pair<Placeable, Integer>> objectRef3 = new Ref.ObjectRef();
                        if (((Placeable) objectRef.element).getWidth() <= Constraints.m4040getMaxWidthimpl(j2022222222)) {
                            MarqueeLayers marqueeLayers2 = MarqueeLayers.SecondaryText;
                            final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function32 = composableLambda22222222;
                            objectRef.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers2, ComposableLambdaKt.composableLambdaInstance(-318004831, true, new Function2<Composer, Integer, Unit>() {
                                {
                                    super(2);
                                }

                                @Override
                                public Unit invoke(Composer composer2, Integer num) {
                                    invoke(composer2, num.intValue());
                                    return Unit.INSTANCE;
                                }

                                @Composable
                                public final void invoke(@Nullable Composer composer2, int i37) {
                                    if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                        composer2.skipToGroupEnd();
                                        return;
                                    }
                                    if (ComposerKt.isTraceInProgress()) {
                                        ComposerKt.traceEventStart(-318004831, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:113)");
                                    }
                                    function32.invoke(SizeKt.fillMaxWidth$default(Modifier.INSTANCE, 0.0f, 1, null), composer2, 54);
                                    if (ComposerKt.isTraceInProgress()) {
                                        ComposerKt.traceEventEnd();
                                    }
                                }
                            })))).mo3070measureBRTryo0(j2022222222);
                            mutableState222222222.setValue(null);
                        } else {
                            int m4040getMaxWidthimpl = (Constraints.m4040getMaxWidthimpl(j2022222222) * 2) / 3;
                            mutableState222222222.setValue(new TextLayoutInfo(((Placeable) objectRef.element).getWidth() + m4040getMaxWidthimpl, Constraints.m4040getMaxWidthimpl(j2022222222)));
                            int MarqueeText_qzfHYl0$lambda$1 = MarqueeTextKt.MarqueeText_qzfHYl0$lambda$1(mutableState32222222) + ((Placeable) objectRef.element).getWidth() + m4040getMaxWidthimpl;
                            if (Constraints.m4040getMaxWidthimpl(j2022222222) - MarqueeText_qzfHYl0$lambda$1 > 0) {
                                MarqueeLayers marqueeLayers3 = MarqueeLayers.SecondaryText;
                                final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function33 = composableLambda22222222;
                                objectRef3.element = new Pair(((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers3, ComposableLambdaKt.composableLambdaInstance(-930325559, true, new Function2<Composer, Integer, Unit>() {
                                    {
                                        super(2);
                                    }

                                    @Override
                                    public Unit invoke(Composer composer2, Integer num) {
                                        invoke(composer2, num.intValue());
                                        return Unit.INSTANCE;
                                    }

                                    @Composable
                                    public final void invoke(@Nullable Composer composer2, int i37) {
                                        if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                            composer2.skipToGroupEnd();
                                            return;
                                        }
                                        if (ComposerKt.isTraceInProgress()) {
                                            ComposerKt.traceEventStart(-930325559, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:127)");
                                        }
                                        function33.invoke(Modifier.INSTANCE, composer2, 54);
                                        if (ComposerKt.isTraceInProgress()) {
                                            ComposerKt.traceEventEnd();
                                        }
                                    }
                                })))).mo3070measureBRTryo0(m4031copyZbe2FdA$default), Integer.valueOf(MarqueeText_qzfHYl0$lambda$1));
                            }
                            MarqueeLayers marqueeLayers4 = MarqueeLayers.EdgesGradient;
                            final long j21 = j1922222222;
                            final int i37 = i3622222222;
                            objectRef2.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers4, ComposableLambdaKt.composableLambdaInstance(289953678, true, new Function2<Composer, Integer, Unit>() {
                                {
                                    super(2);
                                }

                                @Override
                                public Unit invoke(Composer composer2, Integer num) {
                                    invoke(composer2, num.intValue());
                                    return Unit.INSTANCE;
                                }

                                @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
                                @Composable
                                public final void invoke(@Nullable Composer composer2, int i38) {
                                    if ((i38 & 11) == 2 && composer2.getSkipping()) {
                                        composer2.skipToGroupEnd();
                                        return;
                                    }
                                    if (ComposerKt.isTraceInProgress()) {
                                        ComposerKt.traceEventStart(289953678, i38, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:132)");
                                    }
                                    MarqueeTextKt.m6110Gradientek8zF_U(j21, composer2, (i37 >> 6) & 14);
                                    if (ComposerKt.isTraceInProgress()) {
                                        ComposerKt.traceEventEnd();
                                    }
                                }
                            })))).mo3070measureBRTryo0(Constraints.m4031copyZbe2FdA$default(j2022222222, 0, 0, 0, ((Placeable) objectRef.element).getHeight(), 7, null));
                        }
                        int m4040getMaxWidthimpl2 = Constraints.m4040getMaxWidthimpl(j2022222222);
                        int height = ((Placeable) objectRef.element).getHeight();
                        final MutableState<Integer> mutableState322222222 = mutableState32222222;
                        return MeasureScope.CC.layout$default(SubcomposeLayout, m4040getMaxWidthimpl2, height, null, new Function1<Placeable.PlacementScope, Unit>() {
                            {
                                super(1);
                            }

                            @Override
                            public Unit invoke(Placeable.PlacementScope placementScope) {
                                invoke2(placementScope);
                                return Unit.INSTANCE;
                            }

                            public final void invoke2(@NotNull Placeable.PlacementScope layout) {
                                Intrinsics.checkNotNullParameter(layout, "$this$layout");
                                Placeable.PlacementScope.place$default(layout, objectRef.element, MarqueeTextKt.MarqueeText_qzfHYl0$lambda$1(mutableState322222222), 0, 0.0f, 4, null);
                                Pair<Placeable, Integer> pair = objectRef3.element;
                                if (pair != null) {
                                    Placeable.PlacementScope.place$default(layout, pair.first, pair.second.intValue(), 0, 0.0f, 4, null);
                                }
                                Placeable placeable = objectRef2.element;
                                if (placeable != null) {
                                    Placeable.PlacementScope.place$default(layout, placeable, 0, 0, 0.0f, 4, null);
                                }
                            }
                        }, 4, null);
                    }
                };
                startRestartGroup.updateRememberedValue(rememberedValue322222222);
                startRestartGroup.endReplaceableGroup();
                SubcomposeLayoutKt.SubcomposeLayout(clipToBounds22222222, (Function2) rememberedValue322222222, startRestartGroup, 0, 0);
                if (ComposerKt.isTraceInProgress()) {
                }
                textAlign3 = textAlign522222222;
                textStyle3 = textStyle2;
                modifier4 = modifier3;
                j11 = j6;
                j12 = j7;
                fontStyle4 = fontStyle3;
                function13 = function12;
                z4 = z2;
                i28 = i3522222222;
                long j2022222222 = j9;
                fontFamily3 = fontFamily522222222;
                fontWeight3 = fontWeight2;
                j13 = j8;
                textDecoration4 = textDecoration3;
                j14 = j2022222222;
                endRestartGroup = startRestartGroup.endRestartGroup();
                if (endRestartGroup != null) {
                }
            }
            i7 = i4 & 8;
            if (i7 != 0) {
            }
            i8 = i4 & 16;
            if (i8 == 0) {
            }
            i9 = i4 & 32;
            if (i9 == 0) {
            }
            i10 = i4 & 64;
            if (i10 == 0) {
            }
            i11 = i4 & 128;
            if (i11 == 0) {
            }
            i12 = i4 & 256;
            if (i12 == 0) {
            }
            i13 = i4 & 512;
            if (i13 == 0) {
            }
            i14 = i4 & 1024;
            if (i14 != 0) {
            }
            i16 = i4 & 2048;
            if (i16 != 0) {
            }
            int i30222 = i15;
            i18 = i4 & 4096;
            if (i18 != 0) {
            }
            i20 = i4 & 8192;
            if (i20 == 0) {
            }
            i22 = i4 & 16384;
            if (i22 != 0) {
            }
            i23 = i22;
            if ((i3 & 458752) == 0) {
            }
            if ((i5 & 1533916891) != 306783378) {
            }
            startRestartGroup.startDefaults();
            if ((i2 & 1) == 0) {
            }
            if (i29 == 0) {
            }
            if (i6 == 0) {
            }
            if (i7 == 0) {
            }
            if (i8 == 0) {
            }
            if (i9 == 0) {
            }
            if (i10 == 0) {
            }
            if (i11 == 0) {
            }
            if (i12 == 0) {
            }
            if (i13 == 0) {
            }
            if (i14 == 0) {
            }
            if (i17 == 0) {
            }
            if (i19 == 0) {
            }
            if (i21 == 0) {
            }
            if (i23 == 0) {
            }
            FontFamily fontFamily6222222 = fontFamily2;
            if ((i4 & 32768) != 0) {
            }
            i25 = i30222;
            textStyle2 = textStyle;
            startRestartGroup.endDefaults();
            if (ComposerKt.isTraceInProgress()) {
            }
            final long j15222222222 = j7;
            final long j16222222222 = j8;
            final FontStyle fontStyle5222222222 = fontStyle2;
            final FontWeight fontWeight4222222222 = fontWeight2;
            final FontFamily fontFamily4222222222 = fontFamily2;
            final long j17222222222 = j9;
            final TextDecoration textDecoration5222222222 = textDecoration2;
            final TextAlign textAlign4222222222 = textAlign2;
            final long j18222222222 = j10;
            final int i32222222222 = i24;
            final boolean z5222222222 = z2;
            final Function1<? super TextLayoutResult, Unit> function14222222222 = function12;
            final TextStyle textStyle4222222222 = textStyle2;
            final int i33222222222 = i5;
            final int i34222222222 = i25;
            final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> composableLambda222222222 = ComposableLambdaKt.composableLambda(startRestartGroup, -1549953165, true, new Function3<Modifier, Composer, Integer, Unit>() {
                {
                    super(3);
                }

                @Override
                public Unit invoke(Modifier modifier5, Composer composer2, Integer num) {
                    invoke(modifier5, composer2, num.intValue());
                    return Unit.INSTANCE;
                }

                @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
                @Composable
                public final void invoke(@NotNull Modifier localModifier, @Nullable Composer composer2, int i35222222222) {
                    int i36222222222;
                    Intrinsics.checkNotNullParameter(localModifier, "localModifier");
                    if ((i35222222222 & 14) == 0) {
                        i36222222222 = i35222222222 | (composer2.changed(localModifier) ? 4 : 2);
                    } else {
                        i36222222222 = i35222222222;
                    }
                    if ((i36222222222 & 91) == 18 && composer2.getSkipping()) {
                        composer2.skipToGroupEnd();
                        return;
                    }
                    if (ComposerKt.isTraceInProgress()) {
                        ComposerKt.traceEventStart(-1549953165, i36222222222, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous> (MarqueeText.kt:49)");
                    }
                    String str = text;
                    long j19222222222 = j15222222222;
                    long j20222222222 = j16222222222;
                    FontStyle fontStyle6 = fontStyle5222222222;
                    FontWeight fontWeight5 = fontWeight4222222222;
                    FontFamily fontFamily5222222222 = fontFamily4222222222;
                    long j21 = j17222222222;
                    TextDecoration textDecoration6 = textDecoration5222222222;
                    TextAlign textAlign5222222222 = textAlign4222222222;
                    long j22 = j18222222222;
                    int i37 = i32222222222;
                    boolean z6 = z5222222222;
                    Function1<TextLayoutResult, Unit> function15 = function14222222222;
                    TextStyle textStyle5 = textStyle4222222222;
                    int i38 = i33222222222;
                    int i39 = (i38 & 14) | ((i36222222222 << 3) & 112) | ((i38 >> 3) & 896) | ((i38 >> 3) & 7168) | ((i38 >> 3) & 57344) | ((i38 >> 3) & 458752) | ((i38 >> 3) & 3670016) | ((i38 >> 3) & 29360128) | ((i38 >> 3) & 234881024);
                    int i40 = i34222222222;
                    TextKt.m1375Text4IGK_g(str, localModifier, j19222222222, j20222222222, fontStyle6, fontWeight5, fontFamily5222222222, j21, textDecoration6, textAlign5222222222, j22, i37, z6, 1, 0, function15, textStyle5, composer2, i39 | ((i40 << 27) & 1879048192), ((i40 >> 3) & 14) | 3072 | ((i40 >> 3) & 112) | ((i40 >> 3) & 896) | ((i40 << 3) & 458752) | ((i40 << 3) & 3670016), 16384);
                    if (ComposerKt.isTraceInProgress()) {
                        ComposerKt.traceEventEnd();
                    }
                }
            });
            startRestartGroup.startReplaceableGroup(-492369756);
            rememberedValue = startRestartGroup.rememberedValue();
            Composer.Companion companion222222222 = Composer.INSTANCE;
            companion222222222.getClass();
            FontFamily fontFamily5222222222 = fontFamily2;
            obj = Composer.Companion.Empty;
            if (rememberedValue == obj) {
            }
            startRestartGroup.endReplaceableGroup();
            final MutableState<Integer> mutableState322222222 = (MutableState) rememberedValue;
            m = ActivityResultRegistryKt$$ExternalSyntheticOutline0.m(startRestartGroup, -492369756, companion222222222);
            if (m == obj) {
            }
            startRestartGroup.endReplaceableGroup();
            final MutableState<TextLayoutInfo> mutableState2222222222 = (MutableState) m;
            Object value222222222 = mutableState2222222222.getValue();
            TextAlign textAlign5222222222 = textAlign2;
            startRestartGroup.startReplaceableGroup(511388516);
            changed = startRestartGroup.changed(mutableState2222222222) | startRestartGroup.changed(mutableState322222222);
            int i35222222222 = i24;
            Object rememberedValue2222222222 = startRestartGroup.rememberedValue();
            if (!changed) {
            }
            rememberedValue2222222222 = new MarqueeTextKt$MarqueeText$2$1(mutableState2222222222, mutableState322222222, null);
            startRestartGroup.updateRememberedValue(rememberedValue2222222222);
            startRestartGroup.endReplaceableGroup();
            EffectsKt.LaunchedEffect(value222222222, (Function2<? super CoroutineScope, ? super Continuation<? super Unit>, ? extends Object>) rememberedValue2222222222, startRestartGroup, 64);
            Modifier clipToBounds222222222 = ClipKt.clipToBounds(modifier3);
            Object[] objArr222222222 = {composableLambda222222222, mutableState2222222222, mutableState322222222, Color.m1805boximpl(j6)};
            startRestartGroup.startReplaceableGroup(-568225417);
            i27 = 0;
            z3 = false;
            while (i27 < i26) {
            }
            Object rememberedValue3222222222 = startRestartGroup.rememberedValue();
            if (!z3) {
            }
            final long j19222222222 = j6;
            final int i36222222222 = i5;
            rememberedValue3222222222 = new Function2<SubcomposeMeasureScope, Constraints, MeasureResult>() {
                {
                    super(2);
                }

                @Override
                public MeasureResult invoke(SubcomposeMeasureScope subcomposeMeasureScope, Constraints constraints) {
                    return m6115invoke0kLqBqw(subcomposeMeasureScope, constraints.value);
                }

                @NotNull
                public final MeasureResult m6115invoke0kLqBqw(@NotNull SubcomposeMeasureScope SubcomposeLayout, long j20222222222) {
                    Intrinsics.checkNotNullParameter(SubcomposeLayout, "$this$SubcomposeLayout");
                    long m4031copyZbe2FdA$default = Constraints.m4031copyZbe2FdA$default(j20222222222, 0, Integer.MAX_VALUE, 0, 0, 13, null);
                    final Ref.ObjectRef<Placeable> objectRef = new Ref.ObjectRef();
                    MarqueeLayers marqueeLayers = MarqueeLayers.MainText;
                    final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function3 = composableLambda222222222;
                    objectRef.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers, ComposableLambdaKt.composableLambdaInstance(1540048219, true, new Function2<Composer, Integer, Unit>() {
                        {
                            super(2);
                        }

                        @Override
                        public Unit invoke(Composer composer2, Integer num) {
                            invoke(composer2, num.intValue());
                            return Unit.INSTANCE;
                        }

                        @Composable
                        public final void invoke(@Nullable Composer composer2, int i37) {
                            if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                composer2.skipToGroupEnd();
                                return;
                            }
                            if (ComposerKt.isTraceInProgress()) {
                                ComposerKt.traceEventStart(1540048219, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:105)");
                            }
                            function3.invoke(Modifier.INSTANCE, composer2, 54);
                            if (ComposerKt.isTraceInProgress()) {
                                ComposerKt.traceEventEnd();
                            }
                        }
                    })))).mo3070measureBRTryo0(m4031copyZbe2FdA$default);
                    final Ref.ObjectRef<Placeable> objectRef2 = new Ref.ObjectRef();
                    final Ref.ObjectRef<Pair<Placeable, Integer>> objectRef3 = new Ref.ObjectRef();
                    if (((Placeable) objectRef.element).getWidth() <= Constraints.m4040getMaxWidthimpl(j20222222222)) {
                        MarqueeLayers marqueeLayers2 = MarqueeLayers.SecondaryText;
                        final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function32 = composableLambda222222222;
                        objectRef.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers2, ComposableLambdaKt.composableLambdaInstance(-318004831, true, new Function2<Composer, Integer, Unit>() {
                            {
                                super(2);
                            }

                            @Override
                            public Unit invoke(Composer composer2, Integer num) {
                                invoke(composer2, num.intValue());
                                return Unit.INSTANCE;
                            }

                            @Composable
                            public final void invoke(@Nullable Composer composer2, int i37) {
                                if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                    composer2.skipToGroupEnd();
                                    return;
                                }
                                if (ComposerKt.isTraceInProgress()) {
                                    ComposerKt.traceEventStart(-318004831, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:113)");
                                }
                                function32.invoke(SizeKt.fillMaxWidth$default(Modifier.INSTANCE, 0.0f, 1, null), composer2, 54);
                                if (ComposerKt.isTraceInProgress()) {
                                    ComposerKt.traceEventEnd();
                                }
                            }
                        })))).mo3070measureBRTryo0(j20222222222);
                        mutableState2222222222.setValue(null);
                    } else {
                        int m4040getMaxWidthimpl = (Constraints.m4040getMaxWidthimpl(j20222222222) * 2) / 3;
                        mutableState2222222222.setValue(new TextLayoutInfo(((Placeable) objectRef.element).getWidth() + m4040getMaxWidthimpl, Constraints.m4040getMaxWidthimpl(j20222222222)));
                        int MarqueeText_qzfHYl0$lambda$1 = MarqueeTextKt.MarqueeText_qzfHYl0$lambda$1(mutableState322222222) + ((Placeable) objectRef.element).getWidth() + m4040getMaxWidthimpl;
                        if (Constraints.m4040getMaxWidthimpl(j20222222222) - MarqueeText_qzfHYl0$lambda$1 > 0) {
                            MarqueeLayers marqueeLayers3 = MarqueeLayers.SecondaryText;
                            final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function33 = composableLambda222222222;
                            objectRef3.element = new Pair(((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers3, ComposableLambdaKt.composableLambdaInstance(-930325559, true, new Function2<Composer, Integer, Unit>() {
                                {
                                    super(2);
                                }

                                @Override
                                public Unit invoke(Composer composer2, Integer num) {
                                    invoke(composer2, num.intValue());
                                    return Unit.INSTANCE;
                                }

                                @Composable
                                public final void invoke(@Nullable Composer composer2, int i37) {
                                    if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                        composer2.skipToGroupEnd();
                                        return;
                                    }
                                    if (ComposerKt.isTraceInProgress()) {
                                        ComposerKt.traceEventStart(-930325559, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:127)");
                                    }
                                    function33.invoke(Modifier.INSTANCE, composer2, 54);
                                    if (ComposerKt.isTraceInProgress()) {
                                        ComposerKt.traceEventEnd();
                                    }
                                }
                            })))).mo3070measureBRTryo0(m4031copyZbe2FdA$default), Integer.valueOf(MarqueeText_qzfHYl0$lambda$1));
                        }
                        MarqueeLayers marqueeLayers4 = MarqueeLayers.EdgesGradient;
                        final long j21 = j19222222222;
                        final int i37 = i36222222222;
                        objectRef2.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers4, ComposableLambdaKt.composableLambdaInstance(289953678, true, new Function2<Composer, Integer, Unit>() {
                            {
                                super(2);
                            }

                            @Override
                            public Unit invoke(Composer composer2, Integer num) {
                                invoke(composer2, num.intValue());
                                return Unit.INSTANCE;
                            }

                            @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
                            @Composable
                            public final void invoke(@Nullable Composer composer2, int i38) {
                                if ((i38 & 11) == 2 && composer2.getSkipping()) {
                                    composer2.skipToGroupEnd();
                                    return;
                                }
                                if (ComposerKt.isTraceInProgress()) {
                                    ComposerKt.traceEventStart(289953678, i38, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:132)");
                                }
                                MarqueeTextKt.m6110Gradientek8zF_U(j21, composer2, (i37 >> 6) & 14);
                                if (ComposerKt.isTraceInProgress()) {
                                    ComposerKt.traceEventEnd();
                                }
                            }
                        })))).mo3070measureBRTryo0(Constraints.m4031copyZbe2FdA$default(j20222222222, 0, 0, 0, ((Placeable) objectRef.element).getHeight(), 7, null));
                    }
                    int m4040getMaxWidthimpl2 = Constraints.m4040getMaxWidthimpl(j20222222222);
                    int height = ((Placeable) objectRef.element).getHeight();
                    final MutableState<Integer> mutableState3222222222 = mutableState322222222;
                    return MeasureScope.CC.layout$default(SubcomposeLayout, m4040getMaxWidthimpl2, height, null, new Function1<Placeable.PlacementScope, Unit>() {
                        {
                            super(1);
                        }

                        @Override
                        public Unit invoke(Placeable.PlacementScope placementScope) {
                            invoke2(placementScope);
                            return Unit.INSTANCE;
                        }

                        public final void invoke2(@NotNull Placeable.PlacementScope layout) {
                            Intrinsics.checkNotNullParameter(layout, "$this$layout");
                            Placeable.PlacementScope.place$default(layout, objectRef.element, MarqueeTextKt.MarqueeText_qzfHYl0$lambda$1(mutableState3222222222), 0, 0.0f, 4, null);
                            Pair<Placeable, Integer> pair = objectRef3.element;
                            if (pair != null) {
                                Placeable.PlacementScope.place$default(layout, pair.first, pair.second.intValue(), 0, 0.0f, 4, null);
                            }
                            Placeable placeable = objectRef2.element;
                            if (placeable != null) {
                                Placeable.PlacementScope.place$default(layout, placeable, 0, 0, 0.0f, 4, null);
                            }
                        }
                    }, 4, null);
                }
            };
            startRestartGroup.updateRememberedValue(rememberedValue3222222222);
            startRestartGroup.endReplaceableGroup();
            SubcomposeLayoutKt.SubcomposeLayout(clipToBounds222222222, (Function2) rememberedValue3222222222, startRestartGroup, 0, 0);
            if (ComposerKt.isTraceInProgress()) {
            }
            textAlign3 = textAlign5222222222;
            textStyle3 = textStyle2;
            modifier4 = modifier3;
            j11 = j6;
            j12 = j7;
            fontStyle4 = fontStyle3;
            function13 = function12;
            z4 = z2;
            i28 = i35222222222;
            long j20222222222 = j9;
            fontFamily3 = fontFamily5222222222;
            fontWeight3 = fontWeight2;
            j13 = j8;
            textDecoration4 = textDecoration3;
            j14 = j20222222222;
            endRestartGroup = startRestartGroup.endRestartGroup();
            if (endRestartGroup != null) {
            }
        }
        i6 = i4 & 4;
        if (i6 == 0) {
        }
        i7 = i4 & 8;
        if (i7 != 0) {
        }
        i8 = i4 & 16;
        if (i8 == 0) {
        }
        i9 = i4 & 32;
        if (i9 == 0) {
        }
        i10 = i4 & 64;
        if (i10 == 0) {
        }
        i11 = i4 & 128;
        if (i11 == 0) {
        }
        i12 = i4 & 256;
        if (i12 == 0) {
        }
        i13 = i4 & 512;
        if (i13 == 0) {
        }
        i14 = i4 & 1024;
        if (i14 != 0) {
        }
        i16 = i4 & 2048;
        if (i16 != 0) {
        }
        int i302222 = i15;
        i18 = i4 & 4096;
        if (i18 != 0) {
        }
        i20 = i4 & 8192;
        if (i20 == 0) {
        }
        i22 = i4 & 16384;
        if (i22 != 0) {
        }
        i23 = i22;
        if ((i3 & 458752) == 0) {
        }
        if ((i5 & 1533916891) != 306783378) {
        }
        startRestartGroup.startDefaults();
        if ((i2 & 1) == 0) {
        }
        if (i29 == 0) {
        }
        if (i6 == 0) {
        }
        if (i7 == 0) {
        }
        if (i8 == 0) {
        }
        if (i9 == 0) {
        }
        if (i10 == 0) {
        }
        if (i11 == 0) {
        }
        if (i12 == 0) {
        }
        if (i13 == 0) {
        }
        if (i14 == 0) {
        }
        if (i17 == 0) {
        }
        if (i19 == 0) {
        }
        if (i21 == 0) {
        }
        if (i23 == 0) {
        }
        FontFamily fontFamily62222222 = fontFamily2;
        if ((i4 & 32768) != 0) {
        }
        i25 = i302222;
        textStyle2 = textStyle;
        startRestartGroup.endDefaults();
        if (ComposerKt.isTraceInProgress()) {
        }
        final long j152222222222 = j7;
        final long j162222222222 = j8;
        final FontStyle fontStyle52222222222 = fontStyle2;
        final FontWeight fontWeight42222222222 = fontWeight2;
        final FontFamily fontFamily42222222222 = fontFamily2;
        final long j172222222222 = j9;
        final TextDecoration textDecoration52222222222 = textDecoration2;
        final TextAlign textAlign42222222222 = textAlign2;
        final long j182222222222 = j10;
        final int i322222222222 = i24;
        final boolean z52222222222 = z2;
        final Function1<? super TextLayoutResult, Unit> function142222222222 = function12;
        final TextStyle textStyle42222222222 = textStyle2;
        final int i332222222222 = i5;
        final int i342222222222 = i25;
        final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> composableLambda2222222222 = ComposableLambdaKt.composableLambda(startRestartGroup, -1549953165, true, new Function3<Modifier, Composer, Integer, Unit>() {
            {
                super(3);
            }

            @Override
            public Unit invoke(Modifier modifier5, Composer composer2, Integer num) {
                invoke(modifier5, composer2, num.intValue());
                return Unit.INSTANCE;
            }

            @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
            @Composable
            public final void invoke(@NotNull Modifier localModifier, @Nullable Composer composer2, int i352222222222) {
                int i362222222222;
                Intrinsics.checkNotNullParameter(localModifier, "localModifier");
                if ((i352222222222 & 14) == 0) {
                    i362222222222 = i352222222222 | (composer2.changed(localModifier) ? 4 : 2);
                } else {
                    i362222222222 = i352222222222;
                }
                if ((i362222222222 & 91) == 18 && composer2.getSkipping()) {
                    composer2.skipToGroupEnd();
                    return;
                }
                if (ComposerKt.isTraceInProgress()) {
                    ComposerKt.traceEventStart(-1549953165, i362222222222, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous> (MarqueeText.kt:49)");
                }
                String str = text;
                long j192222222222 = j152222222222;
                long j202222222222 = j162222222222;
                FontStyle fontStyle6 = fontStyle52222222222;
                FontWeight fontWeight5 = fontWeight42222222222;
                FontFamily fontFamily52222222222 = fontFamily42222222222;
                long j21 = j172222222222;
                TextDecoration textDecoration6 = textDecoration52222222222;
                TextAlign textAlign52222222222 = textAlign42222222222;
                long j22 = j182222222222;
                int i37 = i322222222222;
                boolean z6 = z52222222222;
                Function1<TextLayoutResult, Unit> function15 = function142222222222;
                TextStyle textStyle5 = textStyle42222222222;
                int i38 = i332222222222;
                int i39 = (i38 & 14) | ((i362222222222 << 3) & 112) | ((i38 >> 3) & 896) | ((i38 >> 3) & 7168) | ((i38 >> 3) & 57344) | ((i38 >> 3) & 458752) | ((i38 >> 3) & 3670016) | ((i38 >> 3) & 29360128) | ((i38 >> 3) & 234881024);
                int i40 = i342222222222;
                TextKt.m1375Text4IGK_g(str, localModifier, j192222222222, j202222222222, fontStyle6, fontWeight5, fontFamily52222222222, j21, textDecoration6, textAlign52222222222, j22, i37, z6, 1, 0, function15, textStyle5, composer2, i39 | ((i40 << 27) & 1879048192), ((i40 >> 3) & 14) | 3072 | ((i40 >> 3) & 112) | ((i40 >> 3) & 896) | ((i40 << 3) & 458752) | ((i40 << 3) & 3670016), 16384);
                if (ComposerKt.isTraceInProgress()) {
                    ComposerKt.traceEventEnd();
                }
            }
        });
        startRestartGroup.startReplaceableGroup(-492369756);
        rememberedValue = startRestartGroup.rememberedValue();
        Composer.Companion companion2222222222 = Composer.INSTANCE;
        companion2222222222.getClass();
        FontFamily fontFamily52222222222 = fontFamily2;
        obj = Composer.Companion.Empty;
        if (rememberedValue == obj) {
        }
        startRestartGroup.endReplaceableGroup();
        final MutableState<Integer> mutableState3222222222 = (MutableState) rememberedValue;
        m = ActivityResultRegistryKt$$ExternalSyntheticOutline0.m(startRestartGroup, -492369756, companion2222222222);
        if (m == obj) {
        }
        startRestartGroup.endReplaceableGroup();
        final MutableState<TextLayoutInfo> mutableState22222222222 = (MutableState) m;
        Object value2222222222 = mutableState22222222222.getValue();
        TextAlign textAlign52222222222 = textAlign2;
        startRestartGroup.startReplaceableGroup(511388516);
        changed = startRestartGroup.changed(mutableState22222222222) | startRestartGroup.changed(mutableState3222222222);
        int i352222222222 = i24;
        Object rememberedValue22222222222 = startRestartGroup.rememberedValue();
        if (!changed) {
        }
        rememberedValue22222222222 = new MarqueeTextKt$MarqueeText$2$1(mutableState22222222222, mutableState3222222222, null);
        startRestartGroup.updateRememberedValue(rememberedValue22222222222);
        startRestartGroup.endReplaceableGroup();
        EffectsKt.LaunchedEffect(value2222222222, (Function2<? super CoroutineScope, ? super Continuation<? super Unit>, ? extends Object>) rememberedValue22222222222, startRestartGroup, 64);
        Modifier clipToBounds2222222222 = ClipKt.clipToBounds(modifier3);
        Object[] objArr2222222222 = {composableLambda2222222222, mutableState22222222222, mutableState3222222222, Color.m1805boximpl(j6)};
        startRestartGroup.startReplaceableGroup(-568225417);
        i27 = 0;
        z3 = false;
        while (i27 < i26) {
        }
        Object rememberedValue32222222222 = startRestartGroup.rememberedValue();
        if (!z3) {
        }
        final long j192222222222 = j6;
        final int i362222222222 = i5;
        rememberedValue32222222222 = new Function2<SubcomposeMeasureScope, Constraints, MeasureResult>() {
            {
                super(2);
            }

            @Override
            public MeasureResult invoke(SubcomposeMeasureScope subcomposeMeasureScope, Constraints constraints) {
                return m6115invoke0kLqBqw(subcomposeMeasureScope, constraints.value);
            }

            @NotNull
            public final MeasureResult m6115invoke0kLqBqw(@NotNull SubcomposeMeasureScope SubcomposeLayout, long j202222222222) {
                Intrinsics.checkNotNullParameter(SubcomposeLayout, "$this$SubcomposeLayout");
                long m4031copyZbe2FdA$default = Constraints.m4031copyZbe2FdA$default(j202222222222, 0, Integer.MAX_VALUE, 0, 0, 13, null);
                final Ref.ObjectRef<Placeable> objectRef = new Ref.ObjectRef();
                MarqueeLayers marqueeLayers = MarqueeLayers.MainText;
                final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function3 = composableLambda2222222222;
                objectRef.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers, ComposableLambdaKt.composableLambdaInstance(1540048219, true, new Function2<Composer, Integer, Unit>() {
                    {
                        super(2);
                    }

                    @Override
                    public Unit invoke(Composer composer2, Integer num) {
                        invoke(composer2, num.intValue());
                        return Unit.INSTANCE;
                    }

                    @Composable
                    public final void invoke(@Nullable Composer composer2, int i37) {
                        if ((i37 & 11) == 2 && composer2.getSkipping()) {
                            composer2.skipToGroupEnd();
                            return;
                        }
                        if (ComposerKt.isTraceInProgress()) {
                            ComposerKt.traceEventStart(1540048219, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:105)");
                        }
                        function3.invoke(Modifier.INSTANCE, composer2, 54);
                        if (ComposerKt.isTraceInProgress()) {
                            ComposerKt.traceEventEnd();
                        }
                    }
                })))).mo3070measureBRTryo0(m4031copyZbe2FdA$default);
                final Ref.ObjectRef<Placeable> objectRef2 = new Ref.ObjectRef();
                final Ref.ObjectRef<Pair<Placeable, Integer>> objectRef3 = new Ref.ObjectRef();
                if (((Placeable) objectRef.element).getWidth() <= Constraints.m4040getMaxWidthimpl(j202222222222)) {
                    MarqueeLayers marqueeLayers2 = MarqueeLayers.SecondaryText;
                    final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function32 = composableLambda2222222222;
                    objectRef.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers2, ComposableLambdaKt.composableLambdaInstance(-318004831, true, new Function2<Composer, Integer, Unit>() {
                        {
                            super(2);
                        }

                        @Override
                        public Unit invoke(Composer composer2, Integer num) {
                            invoke(composer2, num.intValue());
                            return Unit.INSTANCE;
                        }

                        @Composable
                        public final void invoke(@Nullable Composer composer2, int i37) {
                            if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                composer2.skipToGroupEnd();
                                return;
                            }
                            if (ComposerKt.isTraceInProgress()) {
                                ComposerKt.traceEventStart(-318004831, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:113)");
                            }
                            function32.invoke(SizeKt.fillMaxWidth$default(Modifier.INSTANCE, 0.0f, 1, null), composer2, 54);
                            if (ComposerKt.isTraceInProgress()) {
                                ComposerKt.traceEventEnd();
                            }
                        }
                    })))).mo3070measureBRTryo0(j202222222222);
                    mutableState22222222222.setValue(null);
                } else {
                    int m4040getMaxWidthimpl = (Constraints.m4040getMaxWidthimpl(j202222222222) * 2) / 3;
                    mutableState22222222222.setValue(new TextLayoutInfo(((Placeable) objectRef.element).getWidth() + m4040getMaxWidthimpl, Constraints.m4040getMaxWidthimpl(j202222222222)));
                    int MarqueeText_qzfHYl0$lambda$1 = MarqueeTextKt.MarqueeText_qzfHYl0$lambda$1(mutableState3222222222) + ((Placeable) objectRef.element).getWidth() + m4040getMaxWidthimpl;
                    if (Constraints.m4040getMaxWidthimpl(j202222222222) - MarqueeText_qzfHYl0$lambda$1 > 0) {
                        MarqueeLayers marqueeLayers3 = MarqueeLayers.SecondaryText;
                        final Function3<? super Modifier, ? super Composer, ? super Integer, Unit> function33 = composableLambda2222222222;
                        objectRef3.element = new Pair(((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers3, ComposableLambdaKt.composableLambdaInstance(-930325559, true, new Function2<Composer, Integer, Unit>() {
                            {
                                super(2);
                            }

                            @Override
                            public Unit invoke(Composer composer2, Integer num) {
                                invoke(composer2, num.intValue());
                                return Unit.INSTANCE;
                            }

                            @Composable
                            public final void invoke(@Nullable Composer composer2, int i37) {
                                if ((i37 & 11) == 2 && composer2.getSkipping()) {
                                    composer2.skipToGroupEnd();
                                    return;
                                }
                                if (ComposerKt.isTraceInProgress()) {
                                    ComposerKt.traceEventStart(-930325559, i37, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:127)");
                                }
                                function33.invoke(Modifier.INSTANCE, composer2, 54);
                                if (ComposerKt.isTraceInProgress()) {
                                    ComposerKt.traceEventEnd();
                                }
                            }
                        })))).mo3070measureBRTryo0(m4031copyZbe2FdA$default), Integer.valueOf(MarqueeText_qzfHYl0$lambda$1));
                    }
                    MarqueeLayers marqueeLayers4 = MarqueeLayers.EdgesGradient;
                    final long j21 = j192222222222;
                    final int i37 = i362222222222;
                    objectRef2.element = ((Measurable) CollectionsKt___CollectionsKt.first((List) SubcomposeLayout.subcompose(marqueeLayers4, ComposableLambdaKt.composableLambdaInstance(289953678, true, new Function2<Composer, Integer, Unit>() {
                        {
                            super(2);
                        }

                        @Override
                        public Unit invoke(Composer composer2, Integer num) {
                            invoke(composer2, num.intValue());
                            return Unit.INSTANCE;
                        }

                        @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
                        @Composable
                        public final void invoke(@Nullable Composer composer2, int i38) {
                            if ((i38 & 11) == 2 && composer2.getSkipping()) {
                                composer2.skipToGroupEnd();
                                return;
                            }
                            if (ComposerKt.isTraceInProgress()) {
                                ComposerKt.traceEventStart(289953678, i38, -1, "com.paulkman.nova.feature.game.ui.component.MarqueeText.<anonymous>.<anonymous>.<anonymous> (MarqueeText.kt:132)");
                            }
                            MarqueeTextKt.m6110Gradientek8zF_U(j21, composer2, (i37 >> 6) & 14);
                            if (ComposerKt.isTraceInProgress()) {
                                ComposerKt.traceEventEnd();
                            }
                        }
                    })))).mo3070measureBRTryo0(Constraints.m4031copyZbe2FdA$default(j202222222222, 0, 0, 0, ((Placeable) objectRef.element).getHeight(), 7, null));
                }
                int m4040getMaxWidthimpl2 = Constraints.m4040getMaxWidthimpl(j202222222222);
                int height = ((Placeable) objectRef.element).getHeight();
                final MutableState<Integer> mutableState32222222222 = mutableState3222222222;
                return MeasureScope.CC.layout$default(SubcomposeLayout, m4040getMaxWidthimpl2, height, null, new Function1<Placeable.PlacementScope, Unit>() {
                    {
                        super(1);
                    }

                    @Override
                    public Unit invoke(Placeable.PlacementScope placementScope) {
                        invoke2(placementScope);
                        return Unit.INSTANCE;
                    }

                    public final void invoke2(@NotNull Placeable.PlacementScope layout) {
                        Intrinsics.checkNotNullParameter(layout, "$this$layout");
                        Placeable.PlacementScope.place$default(layout, objectRef.element, MarqueeTextKt.MarqueeText_qzfHYl0$lambda$1(mutableState32222222222), 0, 0.0f, 4, null);
                        Pair<Placeable, Integer> pair = objectRef3.element;
                        if (pair != null) {
                            Placeable.PlacementScope.place$default(layout, pair.first, pair.second.intValue(), 0, 0.0f, 4, null);
                        }
                        Placeable placeable = objectRef2.element;
                        if (placeable != null) {
                            Placeable.PlacementScope.place$default(layout, placeable, 0, 0, 0.0f, 4, null);
                        }
                    }
                }, 4, null);
            }
        };
        startRestartGroup.updateRememberedValue(rememberedValue32222222222);
        startRestartGroup.endReplaceableGroup();
        SubcomposeLayoutKt.SubcomposeLayout(clipToBounds2222222222, (Function2) rememberedValue32222222222, startRestartGroup, 0, 0);
        if (ComposerKt.isTraceInProgress()) {
        }
        textAlign3 = textAlign52222222222;
        textStyle3 = textStyle2;
        modifier4 = modifier3;
        j11 = j6;
        j12 = j7;
        fontStyle4 = fontStyle3;
        function13 = function12;
        z4 = z2;
        i28 = i352222222222;
        long j202222222222 = j9;
        fontFamily3 = fontFamily52222222222;
        fontWeight3 = fontWeight2;
        j13 = j8;
        textDecoration4 = textDecoration3;
        j14 = j202222222222;
        endRestartGroup = startRestartGroup.endRestartGroup();
        if (endRestartGroup != null) {
        }
    }

    public static final int MarqueeText_qzfHYl0$lambda$1(MutableState<Integer> mutableState) {
        return mutableState.getValue().intValue();
    }

    public static final void MarqueeText_qzfHYl0$lambda$2(MutableState<Integer> mutableState, int i) {
        mutableState.setValue(Integer.valueOf(i));
    }
}