package com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs;

import B.Q0;
import J4.a;
import J4.e;
import J4.f;
import a0.A2;
import a0.Y0;
import a0.m2;
import a0.z2;
import androidx.compose.runtime.Composable;
import androidx.compose.runtime.ComposableTarget;
import androidx.compose.runtime.Composer;
import androidx.compose.runtime.ComposerKt;
import androidx.compose.runtime.RecomposeScopeImplKt;
import androidx.compose.runtime.ScopeUpdateScope;
import androidx.compose.runtime.internal.ComposableLambdaKt;
import androidx.media3.exoplayer.RendererCapabilities;
import androidx.media3.extractor.WavUtil;
import com.emergetools.snapshots.annotations.EmergeSnapshotConfig;
import com.revenuecat.purchases.customercenter.CustomerCenterConfigData;
import com.revenuecat.purchases.ui.revenuecatui.customercenter.data.CustomerCenterConfigTestData;
import kotlin.jvm.internal.o;
import kotlin.jvm.internal.p;
import w4.C3137A;

/* JADX INFO: loaded from: classes3.dex */
public final /* synthetic */ class RestorePurchasesDialogKt {

    /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$PurchasesNotFoundDialog$1, reason: invalid class name */
    public static final class AnonymousClass1 extends p implements e {
        final /* synthetic */ CustomerCenterConfigData.Localization $localization;
        final /* synthetic */ a $onContactSupport;

        /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$PurchasesNotFoundDialog$1$1, reason: invalid class name and collision with other inner class name */
        public static final class C00391 extends p implements f {
            final /* synthetic */ CustomerCenterConfigData.Localization $localization;

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            public C00391(CustomerCenterConfigData.Localization localization) {
                super(3);
                this.$localization = localization;
            }

            @Override // J4.f
            public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2, Object obj3) {
                invoke((Q0) obj, (Composer) obj2, ((Number) obj3).intValue());
                return C3137A.f25453a;
            }

            @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
            @Composable
            public final void invoke(Q0 TextButton, Composer composer, int i6) {
                o.h(TextButton, "$this$TextButton");
                if ((i6 & 17) == 16 && composer.getSkipping()) {
                    composer.skipToGroupEnd();
                    return;
                }
                if (ComposerKt.isTraceInProgress()) {
                    ComposerKt.traceEventStart(1149789201, i6, -1, "com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.PurchasesNotFoundDialog.<anonymous>.<anonymous> (RestorePurchasesDialog.kt:136)");
                }
                m2.b(this.$localization.commonLocalizedString(CustomerCenterConfigData.Localization.CommonLocalizedString.CONTACT_SUPPORT), null, 0L, 0L, null, 0L, null, 0L, 0, false, 0, 0, null, null, composer, 0, 0, 131070);
                if (ComposerKt.isTraceInProgress()) {
                    ComposerKt.traceEventEnd();
                }
            }
        }

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public AnonymousClass1(a aVar, CustomerCenterConfigData.Localization localization) {
            super(2);
            this.$onContactSupport = aVar;
            this.$localization = localization;
        }

        @Override // J4.e
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            invoke((Composer) obj, ((Number) obj2).intValue());
            return C3137A.f25453a;
        }

        @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
        @Composable
        public final void invoke(Composer composer, int i6) {
            if ((i6 & 3) == 2 && composer.getSkipping()) {
                composer.skipToGroupEnd();
                return;
            }
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(2084079289, i6, -1, "com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.PurchasesNotFoundDialog.<anonymous> (RestorePurchasesDialog.kt:134)");
            }
            a aVar = this.$onContactSupport;
            if (aVar != null) {
                Y0.k(aVar, null, false, null, null, null, ComposableLambdaKt.rememberComposableLambda(1149789201, true, new C00391(this.$localization), composer, 54), composer, 805306368, 510);
            }
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
        }
    }

    /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$PurchasesNotFoundDialog$2, reason: invalid class name */
    public static final class AnonymousClass2 extends p implements e {
        final /* synthetic */ CustomerCenterConfigData.Localization $localization;
        final /* synthetic */ a $onDismiss;

        /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$PurchasesNotFoundDialog$2$1, reason: invalid class name */
        public static final class AnonymousClass1 extends p implements f {
            final /* synthetic */ CustomerCenterConfigData.Localization $localization;

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            public AnonymousClass1(CustomerCenterConfigData.Localization localization) {
                super(3);
                this.$localization = localization;
            }

            @Override // J4.f
            public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2, Object obj3) {
                invoke((Q0) obj, (Composer) obj2, ((Number) obj3).intValue());
                return C3137A.f25453a;
            }

            @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
            @Composable
            public final void invoke(Q0 TextButton, Composer composer, int i6) {
                o.h(TextButton, "$this$TextButton");
                if ((i6 & 17) == 16 && composer.getSkipping()) {
                    composer.skipToGroupEnd();
                    return;
                }
                if (ComposerKt.isTraceInProgress()) {
                    ComposerKt.traceEventStart(-221760264, i6, -1, "com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.PurchasesNotFoundDialog.<anonymous>.<anonymous> (RestorePurchasesDialog.kt:146)");
                }
                m2.b(this.$localization.commonLocalizedString(CustomerCenterConfigData.Localization.CommonLocalizedString.DISMISS), null, 0L, 0L, null, 0L, null, 0L, 0, false, 0, 0, null, null, composer, 0, 0, 131070);
                if (ComposerKt.isTraceInProgress()) {
                    ComposerKt.traceEventEnd();
                }
            }
        }

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public AnonymousClass2(a aVar, CustomerCenterConfigData.Localization localization) {
            super(2);
            this.$onDismiss = aVar;
            this.$localization = localization;
        }

        @Override // J4.e
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            invoke((Composer) obj, ((Number) obj2).intValue());
            return C3137A.f25453a;
        }

        @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
        @Composable
        public final void invoke(Composer composer, int i6) {
            if ((i6 & 3) == 2 && composer.getSkipping()) {
                composer.skipToGroupEnd();
                return;
            }
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(-1053355717, i6, -1, "com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.PurchasesNotFoundDialog.<anonymous> (RestorePurchasesDialog.kt:145)");
            }
            Y0.k(this.$onDismiss, null, false, null, null, null, ComposableLambdaKt.rememberComposableLambda(-221760264, true, new AnonymousClass1(this.$localization), composer, 54), composer, 805306368, 510);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
        }
    }

    /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$PurchasesNotFoundDialog$3, reason: invalid class name */
    public static final class AnonymousClass3 extends p implements e {
        final /* synthetic */ CustomerCenterConfigData.Localization $localization;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public AnonymousClass3(CustomerCenterConfigData.Localization localization) {
            super(2);
            this.$localization = localization;
        }

        @Override // J4.e
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            invoke((Composer) obj, ((Number) obj2).intValue());
            return C3137A.f25453a;
        }

        @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
        @Composable
        public final void invoke(Composer composer, int i6) {
            if ((i6 & 3) == 2 && composer.getSkipping()) {
                composer.skipToGroupEnd();
                return;
            }
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(104176573, i6, -1, "com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.PurchasesNotFoundDialog.<anonymous> (RestorePurchasesDialog.kt:118)");
            }
            String strCommonLocalizedString = this.$localization.commonLocalizedString(CustomerCenterConfigData.Localization.CommonLocalizedString.PURCHASES_NOT_FOUND);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(-942794935, 0, -1, "androidx.compose.material3.MaterialTheme.<get-typography> (MaterialTheme.kt:129)");
            }
            z2 z2Var = (z2) composer.consume(A2.f9235a);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
            m2.b(strCommonLocalizedString, null, 0L, 0L, null, 0L, null, 0L, 0, false, 0, 0, null, z2Var.f10370f, composer, 0, 0, WavUtil.TYPE_WAVE_FORMAT_EXTENSIBLE);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
        }
    }

    /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$PurchasesNotFoundDialog$4, reason: invalid class name */
    public static final class AnonymousClass4 extends p implements e {
        final /* synthetic */ CustomerCenterConfigData.Localization $localization;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public AnonymousClass4(CustomerCenterConfigData.Localization localization) {
            super(2);
            this.$localization = localization;
        }

        @Override // J4.e
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            invoke((Composer) obj, ((Number) obj2).intValue());
            return C3137A.f25453a;
        }

        @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
        @Composable
        public final void invoke(Composer composer, int i6) {
            if ((i6 & 3) == 2 && composer.getSkipping()) {
                composer.skipToGroupEnd();
                return;
            }
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(682942718, i6, -1, "com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.PurchasesNotFoundDialog.<anonymous> (RestorePurchasesDialog.kt:126)");
            }
            String strCommonLocalizedString = this.$localization.commonLocalizedString(CustomerCenterConfigData.Localization.CommonLocalizedString.PURCHASES_NOT_RECOVERED);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(-942794935, 0, -1, "androidx.compose.material3.MaterialTheme.<get-typography> (MaterialTheme.kt:129)");
            }
            z2 z2Var = (z2) composer.consume(A2.f9235a);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
            m2.b(strCommonLocalizedString, null, 0L, 0L, null, 0L, null, 0L, 0, false, 0, 0, null, z2Var.f10374j, composer, 0, 0, WavUtil.TYPE_WAVE_FORMAT_EXTENSIBLE);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
        }
    }

    /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$PurchasesNotFoundDialog$5, reason: invalid class name */
    public static final class AnonymousClass5 extends p implements e {
        final /* synthetic */ int $$changed;
        final /* synthetic */ int $$default;
        final /* synthetic */ CustomerCenterConfigData.Localization $localization;
        final /* synthetic */ a $onContactSupport;
        final /* synthetic */ a $onDismiss;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public AnonymousClass5(CustomerCenterConfigData.Localization localization, a aVar, a aVar2, int i6, int i7) {
            super(2);
            this.$localization = localization;
            this.$onDismiss = aVar;
            this.$onContactSupport = aVar2;
            this.$$changed = i6;
            this.$$default = i7;
        }

        @Override // J4.e
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            invoke((Composer) obj, ((Number) obj2).intValue());
            return C3137A.f25453a;
        }

        public final void invoke(Composer composer, int i6) {
            RestorePurchasesDialogKt.PurchasesNotFoundDialog(this.$localization, this.$onDismiss, this.$onContactSupport, composer, RecomposeScopeImplKt.updateChangedFlags(this.$$changed | 1), this.$$default);
        }
    }

    /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$PurchasesRecoveredDialog$1, reason: invalid class name and case insensitive filesystem */
    public static final class C16341 extends p implements e {
        final /* synthetic */ CustomerCenterConfigData.Localization $localization;
        final /* synthetic */ a $onDismiss;

        /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$PurchasesRecoveredDialog$1$1, reason: invalid class name and collision with other inner class name */
        public static final class C00401 extends p implements f {
            final /* synthetic */ CustomerCenterConfigData.Localization $localization;

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            public C00401(CustomerCenterConfigData.Localization localization) {
                super(3);
                this.$localization = localization;
            }

            @Override // J4.f
            public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2, Object obj3) {
                invoke((Q0) obj, (Composer) obj2, ((Number) obj3).intValue());
                return C3137A.f25453a;
            }

            @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
            @Composable
            public final void invoke(Q0 TextButton, Composer composer, int i6) {
                o.h(TextButton, "$this$TextButton");
                if ((i6 & 17) == 16 && composer.getSkipping()) {
                    composer.skipToGroupEnd();
                    return;
                }
                if (ComposerKt.isTraceInProgress()) {
                    ComposerKt.traceEventStart(-1528989004, i6, -1, "com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.PurchasesRecoveredDialog.<anonymous>.<anonymous> (RestorePurchasesDialog.kt:99)");
                }
                m2.b(this.$localization.commonLocalizedString(CustomerCenterConfigData.Localization.CommonLocalizedString.DONE), null, 0L, 0L, null, 0L, null, 0L, 0, false, 0, 0, null, null, composer, 0, 0, 131070);
                if (ComposerKt.isTraceInProgress()) {
                    ComposerKt.traceEventEnd();
                }
            }
        }

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public C16341(a aVar, CustomerCenterConfigData.Localization localization) {
            super(2);
            this.$onDismiss = aVar;
            this.$localization = localization;
        }

        @Override // J4.e
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            invoke((Composer) obj, ((Number) obj2).intValue());
            return C3137A.f25453a;
        }

        @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
        @Composable
        public final void invoke(Composer composer, int i6) {
            if ((i6 & 3) == 2 && composer.getSkipping()) {
                composer.skipToGroupEnd();
                return;
            }
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(1752184593, i6, -1, "com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.PurchasesRecoveredDialog.<anonymous> (RestorePurchasesDialog.kt:98)");
            }
            Y0.k(this.$onDismiss, null, false, null, null, null, ComposableLambdaKt.rememberComposableLambda(-1528989004, true, new C00401(this.$localization), composer, 54), composer, 805306368, 510);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
        }
    }

    /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$PurchasesRecoveredDialog$2, reason: invalid class name and case insensitive filesystem */
    public static final class C16352 extends p implements e {
        final /* synthetic */ CustomerCenterConfigData.Localization $localization;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public C16352(CustomerCenterConfigData.Localization localization) {
            super(2);
            this.$localization = localization;
        }

        @Override // J4.e
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            invoke((Composer) obj, ((Number) obj2).intValue());
            return C3137A.f25453a;
        }

        @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
        @Composable
        public final void invoke(Composer composer, int i6) {
            if ((i6 & 3) == 2 && composer.getSkipping()) {
                composer.skipToGroupEnd();
                return;
            }
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(90877325, i6, -1, "com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.PurchasesRecoveredDialog.<anonymous> (RestorePurchasesDialog.kt:82)");
            }
            String strCommonLocalizedString = this.$localization.commonLocalizedString(CustomerCenterConfigData.Localization.CommonLocalizedString.PURCHASES_RECOVERED);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(-942794935, 0, -1, "androidx.compose.material3.MaterialTheme.<get-typography> (MaterialTheme.kt:129)");
            }
            z2 z2Var = (z2) composer.consume(A2.f9235a);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
            m2.b(strCommonLocalizedString, null, 0L, 0L, null, 0L, null, 0L, 0, false, 0, 0, null, z2Var.f10370f, composer, 0, 0, WavUtil.TYPE_WAVE_FORMAT_EXTENSIBLE);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
        }
    }

    /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$PurchasesRecoveredDialog$3, reason: invalid class name and case insensitive filesystem */
    public static final class C16363 extends p implements e {
        final /* synthetic */ CustomerCenterConfigData.Localization $localization;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public C16363(CustomerCenterConfigData.Localization localization) {
            super(2);
            this.$localization = localization;
        }

        @Override // J4.e
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            invoke((Composer) obj, ((Number) obj2).intValue());
            return C3137A.f25453a;
        }

        @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
        @Composable
        public final void invoke(Composer composer, int i6) {
            if ((i6 & 3) == 2 && composer.getSkipping()) {
                composer.skipToGroupEnd();
                return;
            }
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(-324449492, i6, -1, "com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.PurchasesRecoveredDialog.<anonymous> (RestorePurchasesDialog.kt:90)");
            }
            String strCommonLocalizedString = this.$localization.commonLocalizedString(CustomerCenterConfigData.Localization.CommonLocalizedString.PURCHASES_RECOVERED_EXPLANATION);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(-942794935, 0, -1, "androidx.compose.material3.MaterialTheme.<get-typography> (MaterialTheme.kt:129)");
            }
            z2 z2Var = (z2) composer.consume(A2.f9235a);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
            m2.b(strCommonLocalizedString, null, 0L, 0L, null, 0L, null, 0L, 0, false, 0, 0, null, z2Var.f10374j, composer, 0, 0, WavUtil.TYPE_WAVE_FORMAT_EXTENSIBLE);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
        }
    }

    /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$PurchasesRecoveredDialog$4, reason: invalid class name and case insensitive filesystem */
    public static final class C16374 extends p implements e {
        final /* synthetic */ int $$changed;
        final /* synthetic */ CustomerCenterConfigData.Localization $localization;
        final /* synthetic */ a $onDismiss;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public C16374(CustomerCenterConfigData.Localization localization, a aVar, int i6) {
            super(2);
            this.$localization = localization;
            this.$onDismiss = aVar;
            this.$$changed = i6;
        }

        @Override // J4.e
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            invoke((Composer) obj, ((Number) obj2).intValue());
            return C3137A.f25453a;
        }

        public final void invoke(Composer composer, int i6) {
            RestorePurchasesDialogKt.PurchasesRecoveredDialog(this.$localization, this.$onDismiss, composer, RecomposeScopeImplKt.updateChangedFlags(this.$$changed | 1));
        }
    }

    /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$RestorePurchasesDialog$2, reason: invalid class name and case insensitive filesystem */
    public static final class C16382 extends p implements e {
        final /* synthetic */ int $$changed;
        final /* synthetic */ CustomerCenterConfigData.Localization $localization;
        final /* synthetic */ a $onContactSupport;
        final /* synthetic */ a $onDismiss;
        final /* synthetic */ a $onRestore;
        final /* synthetic */ RestorePurchasesState $state;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public C16382(RestorePurchasesState restorePurchasesState, CustomerCenterConfigData.Localization localization, a aVar, a aVar2, a aVar3, int i6) {
            super(2);
            this.$state = restorePurchasesState;
            this.$localization = localization;
            this.$onDismiss = aVar;
            this.$onRestore = aVar2;
            this.$onContactSupport = aVar3;
            this.$$changed = i6;
        }

        @Override // J4.e
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            invoke((Composer) obj, ((Number) obj2).intValue());
            return C3137A.f25453a;
        }

        public final void invoke(Composer composer, int i6) {
            RestorePurchasesDialogKt.RestorePurchasesDialog(this.$state, this.$localization, this.$onDismiss, this.$onRestore, this.$onContactSupport, composer, RecomposeScopeImplKt.updateChangedFlags(this.$$changed | 1));
        }
    }

    /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$RestorePurchasesDialogNotFoundPreview$1, reason: invalid class name and case insensitive filesystem */
    public static final class C16391 extends p implements a {
        public static final C16391 INSTANCE = new C16391();

        public C16391() {
            super(0);
        }

        /* JADX INFO: renamed from: invoke, reason: collision with other method in class */
        public final void m953invoke() {
        }

        @Override // J4.a
        public /* bridge */ /* synthetic */ Object invoke() {
            m953invoke();
            return C3137A.f25453a;
        }
    }

    /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$RestorePurchasesDialogNotFoundPreview$2, reason: invalid class name and case insensitive filesystem */
    public static final class C16402 extends p implements a {
        public static final C16402 INSTANCE = new C16402();

        public C16402() {
            super(0);
        }

        /* JADX INFO: renamed from: invoke, reason: collision with other method in class */
        public final void m954invoke() {
        }

        @Override // J4.a
        public /* bridge */ /* synthetic */ Object invoke() {
            m954invoke();
            return C3137A.f25453a;
        }
    }

    /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$RestorePurchasesDialogNotFoundPreview$3, reason: invalid class name and case insensitive filesystem */
    public static final class C16413 extends p implements a {
        public static final C16413 INSTANCE = new C16413();

        public C16413() {
            super(0);
        }

        /* JADX INFO: renamed from: invoke, reason: collision with other method in class */
        public final void m955invoke() {
        }

        @Override // J4.a
        public /* bridge */ /* synthetic */ Object invoke() {
            m955invoke();
            return C3137A.f25453a;
        }
    }

    /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$RestorePurchasesDialogNotFoundPreview$4, reason: invalid class name and case insensitive filesystem */
    public static final class C16424 extends p implements e {
        final /* synthetic */ int $$changed;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public C16424(int i6) {
            super(2);
            this.$$changed = i6;
        }

        @Override // J4.e
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            invoke((Composer) obj, ((Number) obj2).intValue());
            return C3137A.f25453a;
        }

        public final void invoke(Composer composer, int i6) {
            RestorePurchasesDialogKt.RestorePurchasesDialogNotFoundPreview(composer, RecomposeScopeImplKt.updateChangedFlags(this.$$changed | 1));
        }
    }

    /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$RestorePurchasesDialogRecoveredPreview$1, reason: invalid class name and case insensitive filesystem */
    public static final class C16431 extends p implements a {
        public static final C16431 INSTANCE = new C16431();

        public C16431() {
            super(0);
        }

        /* JADX INFO: renamed from: invoke, reason: collision with other method in class */
        public final void m956invoke() {
        }

        @Override // J4.a
        public /* bridge */ /* synthetic */ Object invoke() {
            m956invoke();
            return C3137A.f25453a;
        }
    }

    /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$RestorePurchasesDialogRecoveredPreview$2, reason: invalid class name and case insensitive filesystem */
    public static final class C16442 extends p implements a {
        public static final C16442 INSTANCE = new C16442();

        public C16442() {
            super(0);
        }

        /* JADX INFO: renamed from: invoke, reason: collision with other method in class */
        public final void m957invoke() {
        }

        @Override // J4.a
        public /* bridge */ /* synthetic */ Object invoke() {
            m957invoke();
            return C3137A.f25453a;
        }
    }

    /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$RestorePurchasesDialogRecoveredPreview$3, reason: invalid class name and case insensitive filesystem */
    public static final class C16453 extends p implements a {
        public static final C16453 INSTANCE = new C16453();

        public C16453() {
            super(0);
        }

        /* JADX INFO: renamed from: invoke, reason: collision with other method in class */
        public final void m958invoke() {
        }

        @Override // J4.a
        public /* bridge */ /* synthetic */ Object invoke() {
            m958invoke();
            return C3137A.f25453a;
        }
    }

    /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$RestorePurchasesDialogRecoveredPreview$4, reason: invalid class name and case insensitive filesystem */
    public static final class C16464 extends p implements e {
        final /* synthetic */ int $$changed;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public C16464(int i6) {
            super(2);
            this.$$changed = i6;
        }

        @Override // J4.e
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            invoke((Composer) obj, ((Number) obj2).intValue());
            return C3137A.f25453a;
        }

        public final void invoke(Composer composer, int i6) {
            RestorePurchasesDialogKt.RestorePurchasesDialogRecoveredPreview(composer, RecomposeScopeImplKt.updateChangedFlags(this.$$changed | 1));
        }
    }

    /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$RestorePurchasesDialogRestoringPreview$1, reason: invalid class name and case insensitive filesystem */
    public static final class C16471 extends p implements a {
        public static final C16471 INSTANCE = new C16471();

        public C16471() {
            super(0);
        }

        /* JADX INFO: renamed from: invoke, reason: collision with other method in class */
        public final void m959invoke() {
        }

        @Override // J4.a
        public /* bridge */ /* synthetic */ Object invoke() {
            m959invoke();
            return C3137A.f25453a;
        }
    }

    /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$RestorePurchasesDialogRestoringPreview$2, reason: invalid class name and case insensitive filesystem */
    public static final class C16482 extends p implements a {
        public static final C16482 INSTANCE = new C16482();

        public C16482() {
            super(0);
        }

        /* JADX INFO: renamed from: invoke, reason: collision with other method in class */
        public final void m960invoke() {
        }

        @Override // J4.a
        public /* bridge */ /* synthetic */ Object invoke() {
            m960invoke();
            return C3137A.f25453a;
        }
    }

    /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$RestorePurchasesDialogRestoringPreview$3, reason: invalid class name and case insensitive filesystem */
    public static final class C16493 extends p implements a {
        public static final C16493 INSTANCE = new C16493();

        public C16493() {
            super(0);
        }

        /* JADX INFO: renamed from: invoke, reason: collision with other method in class */
        public final void m961invoke() {
        }

        @Override // J4.a
        public /* bridge */ /* synthetic */ Object invoke() {
            m961invoke();
            return C3137A.f25453a;
        }
    }

    /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$RestorePurchasesDialogRestoringPreview$4, reason: invalid class name and case insensitive filesystem */
    public static final class C16504 extends p implements e {
        final /* synthetic */ int $$changed;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public C16504(int i6) {
            super(2);
            this.$$changed = i6;
        }

        @Override // J4.e
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            invoke((Composer) obj, ((Number) obj2).intValue());
            return C3137A.f25453a;
        }

        public final void invoke(Composer composer, int i6) {
            RestorePurchasesDialogKt.RestorePurchasesDialogRestoringPreview(composer, RecomposeScopeImplKt.updateChangedFlags(this.$$changed | 1));
        }
    }

    /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$RestoringDialog$1, reason: invalid class name and case insensitive filesystem */
    public static final class C16511 extends p implements a {
        public static final C16511 INSTANCE = new C16511();

        public C16511() {
            super(0);
        }

        /* JADX INFO: renamed from: invoke, reason: collision with other method in class */
        public final void m962invoke() {
        }

        @Override // J4.a
        public /* bridge */ /* synthetic */ Object invoke() {
            m962invoke();
            return C3137A.f25453a;
        }
    }

    /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$RestoringDialog$2, reason: invalid class name and case insensitive filesystem */
    public static final class C16522 extends p implements e {
        final /* synthetic */ CustomerCenterConfigData.Localization $localization;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public C16522(CustomerCenterConfigData.Localization localization) {
            super(2);
            this.$localization = localization;
        }

        @Override // J4.e
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            invoke((Composer) obj, ((Number) obj2).intValue());
            return C3137A.f25453a;
        }

        @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
        @Composable
        public final void invoke(Composer composer, int i6) {
            if ((i6 & 3) == 2 && composer.getSkipping()) {
                composer.skipToGroupEnd();
                return;
            }
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(1131714747, i6, -1, "com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestoringDialog.<anonymous> (RestorePurchasesDialog.kt:54)");
            }
            String strCommonLocalizedString = this.$localization.commonLocalizedString(CustomerCenterConfigData.Localization.CommonLocalizedString.PURCHASES_RESTORING);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(-942794935, 0, -1, "androidx.compose.material3.MaterialTheme.<get-typography> (MaterialTheme.kt:129)");
            }
            z2 z2Var = (z2) composer.consume(A2.f9235a);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
            m2.b(strCommonLocalizedString, null, 0L, 0L, null, 0L, null, 0L, 0, false, 0, 0, null, z2Var.f10370f, composer, 0, 0, WavUtil.TYPE_WAVE_FORMAT_EXTENSIBLE);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
        }
    }

    /* JADX INFO: renamed from: com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogKt$RestoringDialog$3, reason: invalid class name and case insensitive filesystem */
    public static final class C16533 extends p implements e {
        final /* synthetic */ int $$changed;
        final /* synthetic */ CustomerCenterConfigData.Localization $localization;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public C16533(CustomerCenterConfigData.Localization localization, int i6) {
            super(2);
            this.$localization = localization;
            this.$$changed = i6;
        }

        @Override // J4.e
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            invoke((Composer) obj, ((Number) obj2).intValue());
            return C3137A.f25453a;
        }

        public final void invoke(Composer composer, int i6) {
            RestorePurchasesDialogKt.RestoringDialog(this.$localization, composer, RecomposeScopeImplKt.updateChangedFlags(this.$$changed | 1));
        }
    }

    public /* synthetic */ class WhenMappings {
        public static final /* synthetic */ int[] $EnumSwitchMapping$0;

        static {
            int[] iArr = new int[RestorePurchasesState.values().length];
            try {
                iArr[RestorePurchasesState.PURCHASES_RECOVERED.ordinal()] = 1;
            } catch (NoSuchFieldError unused) {
            }
            try {
                iArr[RestorePurchasesState.PURCHASES_NOT_FOUND.ordinal()] = 2;
            } catch (NoSuchFieldError unused2) {
            }
            try {
                iArr[RestorePurchasesState.RESTORING.ordinal()] = 3;
            } catch (NoSuchFieldError unused3) {
            }
            $EnumSwitchMapping$0 = iArr;
        }
    }

    /* JADX INFO: Access modifiers changed from: private */
    /* JADX WARN: Removed duplicated region for block: B:40:0x006d  */
    /* JADX WARN: Removed duplicated region for block: B:41:0x006f  */
    /* JADX WARN: Removed duplicated region for block: B:42:0x0071  */
    /* JADX WARN: Removed duplicated region for block: B:45:0x0078  */
    /* JADX WARN: Removed duplicated region for block: B:48:0x00e5  */
    /* JADX WARN: Removed duplicated region for block: B:52:0x00f0  */
    /* JADX WARN: Removed duplicated region for block: B:54:? A[RETURN, SYNTHETIC] */
    @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
    @Composable
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public static final void PurchasesNotFoundDialog(CustomerCenterConfigData.Localization localization, a aVar, a aVar2, Composer composer, int i6, int i7) {
        int i8;
        a aVar3;
        Composer composer2;
        a aVar4;
        ScopeUpdateScope scopeUpdateScopeEndRestartGroup;
        Composer composerStartRestartGroup = composer.startRestartGroup(1538154097);
        if ((i7 & 1) != 0) {
            i8 = i6 | 6;
        } else if ((i6 & 6) == 0) {
            i8 = (composerStartRestartGroup.changedInstance(localization) ? 4 : 2) | i6;
        } else {
            i8 = i6;
        }
        if ((i7 & 2) != 0) {
            i8 |= 48;
        } else if ((i6 & 48) == 0) {
            i8 |= composerStartRestartGroup.changedInstance(aVar) ? 32 : 16;
        }
        int i9 = i7 & 4;
        if (i9 == 0) {
            if ((i6 & RendererCapabilities.DECODER_SUPPORT_MASK) == 0) {
                aVar3 = aVar2;
                i8 |= composerStartRestartGroup.changedInstance(aVar3) ? 256 : 128;
            }
            if ((i8 & 147) == 146 || !composerStartRestartGroup.getSkipping()) {
                a aVar5 = i9 == 0 ? null : aVar3;
                if (ComposerKt.isTraceInProgress()) {
                    ComposerKt.traceEventStart(1538154097, i8, -1, "com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.PurchasesNotFoundDialog (RestorePurchasesDialog.kt:114)");
                }
                int i10 = ((i8 >> 3) & 14) | 1772592;
                composer2 = composerStartRestartGroup;
                a aVar6 = aVar5;
                Y0.a(aVar, ComposableLambdaKt.rememberComposableLambda(2084079289, true, new AnonymousClass1(aVar5, localization), composerStartRestartGroup, 54), null, ComposableLambdaKt.rememberComposableLambda(-1053355717, true, new AnonymousClass2(aVar, localization), composerStartRestartGroup, 54), null, ComposableLambdaKt.rememberComposableLambda(104176573, true, new AnonymousClass3(localization), composerStartRestartGroup, 54), ComposableLambdaKt.rememberComposableLambda(682942718, true, new AnonymousClass4(localization), composerStartRestartGroup, 54), null, 0L, 0L, 0L, 0L, 0.0f, null, composer2, i10, 0, 16276);
                if (ComposerKt.isTraceInProgress()) {
                    ComposerKt.traceEventEnd();
                }
                aVar4 = aVar6;
            } else {
                composerStartRestartGroup.skipToGroupEnd();
                composer2 = composerStartRestartGroup;
                aVar4 = aVar3;
            }
            scopeUpdateScopeEndRestartGroup = composer2.endRestartGroup();
            if (scopeUpdateScopeEndRestartGroup == null) {
                scopeUpdateScopeEndRestartGroup.updateScope(new AnonymousClass5(localization, aVar, aVar4, i6, i7));
                return;
            }
            return;
        }
        i8 |= RendererCapabilities.DECODER_SUPPORT_MASK;
        aVar3 = aVar2;
        if ((i8 & 147) == 146) {
            if (i9 == 0) {
            }
            if (ComposerKt.isTraceInProgress()) {
            }
            int i102 = ((i8 >> 3) & 14) | 1772592;
            composer2 = composerStartRestartGroup;
            a aVar62 = aVar5;
            Y0.a(aVar, ComposableLambdaKt.rememberComposableLambda(2084079289, true, new AnonymousClass1(aVar5, localization), composerStartRestartGroup, 54), null, ComposableLambdaKt.rememberComposableLambda(-1053355717, true, new AnonymousClass2(aVar, localization), composerStartRestartGroup, 54), null, ComposableLambdaKt.rememberComposableLambda(104176573, true, new AnonymousClass3(localization), composerStartRestartGroup, 54), ComposableLambdaKt.rememberComposableLambda(682942718, true, new AnonymousClass4(localization), composerStartRestartGroup, 54), null, 0L, 0L, 0L, 0L, 0.0f, null, composer2, i102, 0, 16276);
            if (ComposerKt.isTraceInProgress()) {
            }
            aVar4 = aVar62;
        }
        scopeUpdateScopeEndRestartGroup = composer2.endRestartGroup();
        if (scopeUpdateScopeEndRestartGroup == null) {
        }
    }

    /* JADX INFO: Access modifiers changed from: private */
    @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
    @Composable
    public static final void PurchasesRecoveredDialog(CustomerCenterConfigData.Localization localization, a aVar, Composer composer, int i6) {
        int i7;
        Composer composer2;
        Composer composerStartRestartGroup = composer.startRestartGroup(1735282777);
        if ((i6 & 6) == 0) {
            i7 = i6 | (composerStartRestartGroup.changedInstance(localization) ? 4 : 2);
        } else {
            i7 = i6;
        }
        if ((i6 & 48) == 0) {
            i7 |= composerStartRestartGroup.changedInstance(aVar) ? 32 : 16;
        }
        if ((i7 & 19) == 18 && composerStartRestartGroup.getSkipping()) {
            composerStartRestartGroup.skipToGroupEnd();
            composer2 = composerStartRestartGroup;
        } else {
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(1735282777, i7, -1, "com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.PurchasesRecoveredDialog (RestorePurchasesDialog.kt:78)");
            }
            composer2 = composerStartRestartGroup;
            Y0.a(aVar, ComposableLambdaKt.rememberComposableLambda(1752184593, true, new C16341(aVar, localization), composerStartRestartGroup, 54), null, null, null, ComposableLambdaKt.rememberComposableLambda(90877325, true, new C16352(localization), composerStartRestartGroup, 54), ComposableLambdaKt.rememberComposableLambda(-324449492, true, new C16363(localization), composerStartRestartGroup, 54), null, 0L, 0L, 0L, 0L, 0.0f, null, composer2, ((i7 >> 3) & 14) | 1769520, 0, 16284);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
        }
        ScopeUpdateScope scopeUpdateScopeEndRestartGroup = composer2.endRestartGroup();
        if (scopeUpdateScopeEndRestartGroup != null) {
            scopeUpdateScopeEndRestartGroup.updateScope(new C16374(localization, aVar, i6));
        }
    }

    @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
    @Composable
    public static final /* synthetic */ void RestorePurchasesDialog(RestorePurchasesState state, CustomerCenterConfigData.Localization localization, a onDismiss, a onRestore, a aVar, Composer composer, int i6) {
        int i7;
        a aVar2;
        CustomerCenterConfigData.Localization localization2;
        a aVar3;
        o.h(state, "state");
        o.h(localization, "localization");
        o.h(onDismiss, "onDismiss");
        o.h(onRestore, "onRestore");
        Composer composerStartRestartGroup = composer.startRestartGroup(-1558153315);
        if ((i6 & 6) == 0) {
            i7 = (composerStartRestartGroup.changed(state) ? 4 : 2) | i6;
        } else {
            i7 = i6;
        }
        if ((i6 & 48) == 0) {
            i7 |= composerStartRestartGroup.changedInstance(localization) ? 32 : 16;
        }
        if ((i6 & RendererCapabilities.DECODER_SUPPORT_MASK) == 0) {
            i7 |= composerStartRestartGroup.changedInstance(onDismiss) ? 256 : 128;
        }
        if ((i6 & 3072) == 0) {
            i7 |= composerStartRestartGroup.changedInstance(onRestore) ? 2048 : 1024;
        }
        if ((i6 & 24576) == 0) {
            i7 |= composerStartRestartGroup.changedInstance(aVar) ? 16384 : 8192;
        }
        if ((i7 & 9363) == 9362 && composerStartRestartGroup.getSkipping()) {
            composerStartRestartGroup.skipToGroupEnd();
            aVar2 = onDismiss;
            localization2 = localization;
            aVar3 = aVar;
        } else {
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(-1558153315, i7, -1, "com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialog (RestorePurchasesDialog.kt:28)");
            }
            int i8 = WhenMappings.$EnumSwitchMapping$0[state.ordinal()];
            if (i8 == 1) {
                aVar2 = onDismiss;
                localization2 = localization;
                aVar3 = aVar;
                composerStartRestartGroup.startReplaceGroup(-583327083);
                PurchasesRecoveredDialog(localization2, aVar2, composerStartRestartGroup, (i7 >> 3) & 126);
                composerStartRestartGroup.endReplaceGroup();
            } else if (i8 != 2) {
                if (i8 != 3) {
                    composerStartRestartGroup.startReplaceGroup(-902851391);
                    composerStartRestartGroup.endReplaceGroup();
                } else {
                    composerStartRestartGroup.startReplaceGroup(-583314999);
                    RestoringDialog(localization, composerStartRestartGroup, (i7 >> 3) & 14);
                    onRestore.invoke();
                    composerStartRestartGroup.endReplaceGroup();
                }
                aVar2 = onDismiss;
                localization2 = localization;
                aVar3 = aVar;
            } else {
                composerStartRestartGroup.startReplaceGroup(-583322607);
                aVar2 = onDismiss;
                PurchasesNotFoundDialog(localization, aVar2, aVar, composerStartRestartGroup, ((i7 >> 3) & 126) | ((i7 >> 6) & 896), 0);
                localization2 = localization;
                aVar3 = aVar;
                composerStartRestartGroup.endReplaceGroup();
            }
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
        }
        ScopeUpdateScope scopeUpdateScopeEndRestartGroup = composerStartRestartGroup.endRestartGroup();
        if (scopeUpdateScopeEndRestartGroup != null) {
            scopeUpdateScopeEndRestartGroup.updateScope(new C16382(state, localization2, aVar2, onRestore, aVar3, i6));
        }
    }

    /* JADX INFO: Access modifiers changed from: private */
    @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
    @Composable
    @EmergeSnapshotConfig(ignore = true)
    public static final void RestorePurchasesDialogNotFoundPreview(Composer composer, int i6) {
        Composer composerStartRestartGroup = composer.startRestartGroup(-789679044);
        if (i6 == 0 && composerStartRestartGroup.getSkipping()) {
            composerStartRestartGroup.skipToGroupEnd();
        } else {
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(-789679044, i6, -1, "com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogNotFoundPreview (RestorePurchasesDialog.kt:185)");
            }
            RestorePurchasesDialog(RestorePurchasesState.PURCHASES_NOT_FOUND, CustomerCenterConfigTestData.customerCenterData$default(CustomerCenterConfigTestData.INSTANCE, false, false, 3, null).getLocalization(), C16391.INSTANCE, C16402.INSTANCE, C16413.INSTANCE, composerStartRestartGroup, 28038);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
        }
        ScopeUpdateScope scopeUpdateScopeEndRestartGroup = composerStartRestartGroup.endRestartGroup();
        if (scopeUpdateScopeEndRestartGroup != null) {
            scopeUpdateScopeEndRestartGroup.updateScope(new C16424(i6));
        }
    }

    /* JADX INFO: Access modifiers changed from: private */
    @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
    @Composable
    @EmergeSnapshotConfig(ignore = true)
    public static final void RestorePurchasesDialogRecoveredPreview(Composer composer, int i6) {
        Composer composerStartRestartGroup = composer.startRestartGroup(1527727452);
        if (i6 == 0 && composerStartRestartGroup.getSkipping()) {
            composerStartRestartGroup.skipToGroupEnd();
        } else {
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(1527727452, i6, -1, "com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogRecoveredPreview (RestorePurchasesDialog.kt:172)");
            }
            RestorePurchasesDialog(RestorePurchasesState.PURCHASES_RECOVERED, CustomerCenterConfigTestData.customerCenterData$default(CustomerCenterConfigTestData.INSTANCE, false, false, 3, null).getLocalization(), C16431.INSTANCE, C16442.INSTANCE, C16453.INSTANCE, composerStartRestartGroup, 28038);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
        }
        ScopeUpdateScope scopeUpdateScopeEndRestartGroup = composerStartRestartGroup.endRestartGroup();
        if (scopeUpdateScopeEndRestartGroup != null) {
            scopeUpdateScopeEndRestartGroup.updateScope(new C16464(i6));
        }
    }

    /* JADX INFO: Access modifiers changed from: private */
    @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
    @Composable
    @EmergeSnapshotConfig(ignore = true)
    public static final void RestorePurchasesDialogRestoringPreview(Composer composer, int i6) {
        Composer composerStartRestartGroup = composer.startRestartGroup(2037934116);
        if (i6 == 0 && composerStartRestartGroup.getSkipping()) {
            composerStartRestartGroup.skipToGroupEnd();
        } else {
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(2037934116, i6, -1, "com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestorePurchasesDialogRestoringPreview (RestorePurchasesDialog.kt:159)");
            }
            RestorePurchasesDialog(RestorePurchasesState.RESTORING, CustomerCenterConfigTestData.customerCenterData$default(CustomerCenterConfigTestData.INSTANCE, false, false, 3, null).getLocalization(), C16471.INSTANCE, C16482.INSTANCE, C16493.INSTANCE, composerStartRestartGroup, 28038);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
        }
        ScopeUpdateScope scopeUpdateScopeEndRestartGroup = composerStartRestartGroup.endRestartGroup();
        if (scopeUpdateScopeEndRestartGroup != null) {
            scopeUpdateScopeEndRestartGroup.updateScope(new C16504(i6));
        }
    }

    /* JADX INFO: Access modifiers changed from: private */
    @ComposableTarget(applier = "androidx.compose.ui.UiComposable")
    @Composable
    public static final void RestoringDialog(CustomerCenterConfigData.Localization localization, Composer composer, int i6) {
        int i7;
        Composer composer2;
        Composer composerStartRestartGroup = composer.startRestartGroup(-1621839505);
        if ((i6 & 6) == 0) {
            i7 = (composerStartRestartGroup.changedInstance(localization) ? 4 : 2) | i6;
        } else {
            i7 = i6;
        }
        if ((i7 & 3) == 2 && composerStartRestartGroup.getSkipping()) {
            composerStartRestartGroup.skipToGroupEnd();
            composer2 = composerStartRestartGroup;
        } else {
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(-1621839505, i7, -1, "com.revenuecat.purchases.ui.revenuecatui.customercenter.dialogs.RestoringDialog (RestorePurchasesDialog.kt:50)");
            }
            C16511 c16511 = C16511.INSTANCE;
            ComposableSingletons$RestorePurchasesDialogKt composableSingletons$RestorePurchasesDialogKt = ComposableSingletons$RestorePurchasesDialogKt.INSTANCE;
            composer2 = composerStartRestartGroup;
            Y0.a(c16511, composableSingletons$RestorePurchasesDialogKt.m951getLambda1$revenuecatui_defaultsBc8Release(), null, null, null, ComposableLambdaKt.rememberComposableLambda(1131714747, true, new C16522(localization), composerStartRestartGroup, 54), composableSingletons$RestorePurchasesDialogKt.m952getLambda2$revenuecatui_defaultsBc8Release(), null, 0L, 0L, 0L, 0L, 0.0f, null, composer2, 1769526, 0, 16284);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
        }
        ScopeUpdateScope scopeUpdateScopeEndRestartGroup = composer2.endRestartGroup();
        if (scopeUpdateScopeEndRestartGroup != null) {
            scopeUpdateScopeEndRestartGroup.updateScope(new C16533(localization, i6));
        }
    }
}
