package com.revenuecat.purchases.ui.revenuecatui.components.tabs;

import J4.a;
import com.revenuecat.purchases.ui.revenuecatui.components.PresentedTabsPartial;
import com.revenuecat.purchases.ui.revenuecatui.components.properties.BackgroundStyles;
import kotlin.jvm.internal.p;

/* JADX INFO: loaded from: classes3.dex */
public final class TabsComponentState$background$2 extends p implements a {
    final /* synthetic */ TabsComponentState this$0;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public TabsComponentState$background$2(TabsComponentState tabsComponentState) {
        super(0);
        this.this$0 = tabsComponentState;
    }

    @Override // J4.a
    public final BackgroundStyles invoke() {
        BackgroundStyles backgroundStyles;
        PresentedTabsPartial presentedPartial = this.this$0.getPresentedPartial();
        return (presentedPartial == null || (backgroundStyles = presentedPartial.getBackgroundStyles()) == null) ? this.this$0.style.getBackground() : backgroundStyles;
    }
}
