package androidx.compose.ui.platform; import androidx.compose.runtime.Composer; import androidx.compose.runtime.ComposerKt; import androidx.compose.runtime.CompositionLocalKt; import androidx.compose.runtime.ProvidableCompositionLocal; import androidx.compose.runtime.ProvidedValue; import androidx.compose.runtime.RecomposeScopeImplKt; import androidx.compose.runtime.ScopeUpdateScope; import androidx.compose.ui.autofill.Autofill; import androidx.compose.ui.autofill.AutofillTree; import androidx.compose.ui.focus.FocusManager; import androidx.compose.ui.hapticfeedback.HapticFeedback; import androidx.compose.ui.input.InputModeManager; import androidx.compose.ui.input.pointer.PointerIconService; import androidx.compose.ui.node.Owner; import androidx.compose.ui.text.font.Font; import androidx.compose.ui.text.font.FontFamily; import androidx.compose.ui.text.input.PlatformTextInputPluginRegistry; import androidx.compose.ui.text.input.TextInputService; import androidx.compose.ui.unit.Density; import androidx.compose.ui.unit.LayoutDirection; import kotlin.Deprecated; import kotlin.KotlinNothingValueException; import kotlin.Metadata; import kotlin.ReplaceWith; import kotlin.Unit; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function2; import kotlin.jvm.internal.Intrinsics; /* compiled from: CompositionLocals.kt */ @Metadata(d1 = {"\u0000¼\u0001\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0001\n\u0000\n\u0002\u0010\u000e\n\u0000\u001a0\u0010=\u001a\u00020>2\u0006\u0010?\u001a\u00020@2\u0006\u0010A\u001a\u0002052\u0011\u0010B\u001a\r\u0012\u0004\u0012\u00020>0C¢\u0006\u0002\bDH\u0001¢\u0006\u0002\u0010E\u001a\u0010\u0010F\u001a\u00020G2\u0006\u0010H\u001a\u00020IH\u0002\"\u0019\u0010\u0000\u001a\n\u0012\u0006\u0012\u0004\u0018\u00010\u00020\u0001¢\u0006\b\n\u0000\u001a\u0004\b\u0003\u0010\u0004\"$\u0010\u0005\u001a\n\u0012\u0006\u0012\u0004\u0018\u00010\u00060\u00018GX\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u0007\u0010\b\u001a\u0004\b\t\u0010\u0004\"\"\u0010\n\u001a\b\u0012\u0004\u0012\u00020\u000b0\u00018GX\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\f\u0010\b\u001a\u0004\b\r\u0010\u0004\"\u0017\u0010\u000e\u001a\b\u0012\u0004\u0012\u00020\u000f0\u0001¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0004\"\u0017\u0010\u0011\u001a\b\u0012\u0004\u0012\u00020\u00120\u0001¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0004\"\u0017\u0010\u0014\u001a\b\u0012\u0004\u0012\u00020\u00150\u0001¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0004\"\u0017\u0010\u0017\u001a\b\u0012\u0004\u0012\u00020\u00180\u0001¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u0004\"\"\u0010\u001a\u001a\b\u0012\u0004\u0012\u00020\u001b0\u00018\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u001c\u0010\b\u001a\u0004\b\u001d\u0010\u0004\"\u0017\u0010\u001e\u001a\b\u0012\u0004\u0012\u00020\u001f0\u0001¢\u0006\b\n\u0000\u001a\u0004\b \u0010\u0004\"\u0017\u0010!\u001a\b\u0012\u0004\u0012\u00020\"0\u0001¢\u0006\b\n\u0000\u001a\u0004\b#\u0010\u0004\"\u0017\u0010$\u001a\b\u0012\u0004\u0012\u00020%0\u0001¢\u0006\b\n\u0000\u001a\u0004\b&\u0010\u0004\"\"\u0010'\u001a\b\u0012\u0004\u0012\u00020(0\u00018GX\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b)\u0010\b\u001a\u0004\b*\u0010\u0004\"\u001c\u0010+\u001a\n\u0012\u0006\u0012\u0004\u0018\u00010,0\u0001X\u0080\u0004¢\u0006\b\n\u0000\u001a\u0004\b-\u0010\u0004\"\u0019\u0010.\u001a\n\u0012\u0006\u0012\u0004\u0018\u00010/0\u0001¢\u0006\b\n\u0000\u001a\u0004\b0\u0010\u0004\"\u0017\u00101\u001a\b\u0012\u0004\u0012\u0002020\u0001¢\u0006\b\n\u0000\u001a\u0004\b3\u0010\u0004\"\u0017\u00104\u001a\b\u0012\u0004\u0012\u0002050\u0001¢\u0006\b\n\u0000\u001a\u0004\b6\u0010\u0004\"\u0017\u00107\u001a\b\u0012\u0004\u0012\u0002080\u0001¢\u0006\b\n\u0000\u001a\u0004\b9\u0010\u0004\"\u0017\u0010:\u001a\b\u0012\u0004\u0012\u00020;0\u0001¢\u0006\b\n\u0000\u001a\u0004\b<\u0010\u0004¨\u0006J"}, d2 = {"LocalAccessibilityManager", "Landroidx/compose/runtime/ProvidableCompositionLocal;", "Landroidx/compose/ui/platform/AccessibilityManager;", "getLocalAccessibilityManager", "()Landroidx/compose/runtime/ProvidableCompositionLocal;", "LocalAutofill", "Landroidx/compose/ui/autofill/Autofill;", "getLocalAutofill$annotations", "()V", "getLocalAutofill", "LocalAutofillTree", "Landroidx/compose/ui/autofill/AutofillTree;", "getLocalAutofillTree$annotations", "getLocalAutofillTree", "LocalClipboardManager", "Landroidx/compose/ui/platform/ClipboardManager;", "getLocalClipboardManager", "LocalDensity", "Landroidx/compose/ui/unit/Density;", "getLocalDensity", "LocalFocusManager", "Landroidx/compose/ui/focus/FocusManager;", "getLocalFocusManager", "LocalFontFamilyResolver", "Landroidx/compose/ui/text/font/FontFamily$Resolver;", "getLocalFontFamilyResolver", "LocalFontLoader", "Landroidx/compose/ui/text/font/Font$ResourceLoader;", "getLocalFontLoader$annotations", "getLocalFontLoader", "LocalHapticFeedback", "Landroidx/compose/ui/hapticfeedback/HapticFeedback;", "getLocalHapticFeedback", "LocalInputModeManager", "Landroidx/compose/ui/input/InputModeManager;", "getLocalInputModeManager", "LocalLayoutDirection", "Landroidx/compose/ui/unit/LayoutDirection;", "getLocalLayoutDirection", "LocalPlatformTextInputPluginRegistry", "Landroidx/compose/ui/text/input/PlatformTextInputPluginRegistry;", "getLocalPlatformTextInputPluginRegistry$annotations", "getLocalPlatformTextInputPluginRegistry", "LocalPointerIconService", "Landroidx/compose/ui/input/pointer/PointerIconService;", "getLocalPointerIconService", "LocalTextInputService", "Landroidx/compose/ui/text/input/TextInputService;", "getLocalTextInputService", "LocalTextToolbar", "Landroidx/compose/ui/platform/TextToolbar;", "getLocalTextToolbar", "LocalUriHandler", "Landroidx/compose/ui/platform/UriHandler;", "getLocalUriHandler", "LocalViewConfiguration", "Landroidx/compose/ui/platform/ViewConfiguration;", "getLocalViewConfiguration", "LocalWindowInfo", "Landroidx/compose/ui/platform/WindowInfo;", "getLocalWindowInfo", "ProvideCommonCompositionLocals", "", "owner", "Landroidx/compose/ui/node/Owner;", "uriHandler", "content", "Lkotlin/Function0;", "Landroidx/compose/runtime/Composable;", "(Landroidx/compose/ui/node/Owner;Landroidx/compose/ui/platform/UriHandler;Lkotlin/jvm/functions/Function2;Landroidx/compose/runtime/Composer;I)V", "noLocalProvidedFor", "", "name", "", "ui_release"}, k = 2, mv = {1, 8, 0}, xi = 48) /* loaded from: classes.dex */ public final class CompositionLocalsKt { private static final ProvidableCompositionLocal LocalAccessibilityManager = CompositionLocalKt.staticCompositionLocalOf(new Function0() { // from class: androidx.compose.ui.platform.CompositionLocalsKt$LocalAccessibilityManager$1 /* JADX WARN: Can't rename method to resolve collision */ @Override // kotlin.jvm.functions.Function0 public final AccessibilityManager invoke() { return null; } }); private static final ProvidableCompositionLocal LocalAutofill = CompositionLocalKt.staticCompositionLocalOf(new Function0() { // from class: androidx.compose.ui.platform.CompositionLocalsKt$LocalAutofill$1 /* JADX WARN: Can't rename method to resolve collision */ @Override // kotlin.jvm.functions.Function0 public final Autofill invoke() { return null; } }); private static final ProvidableCompositionLocal LocalAutofillTree = CompositionLocalKt.staticCompositionLocalOf(new Function0() { // from class: androidx.compose.ui.platform.CompositionLocalsKt$LocalAutofillTree$1 /* JADX WARN: Can't rename method to resolve collision */ @Override // kotlin.jvm.functions.Function0 public final AutofillTree invoke() { CompositionLocalsKt.noLocalProvidedFor("LocalAutofillTree"); throw new KotlinNothingValueException(); } }); private static final ProvidableCompositionLocal LocalClipboardManager = CompositionLocalKt.staticCompositionLocalOf(new Function0() { // from class: androidx.compose.ui.platform.CompositionLocalsKt$LocalClipboardManager$1 /* JADX WARN: Can't rename method to resolve collision */ @Override // kotlin.jvm.functions.Function0 public final ClipboardManager invoke() { CompositionLocalsKt.noLocalProvidedFor("LocalClipboardManager"); throw new KotlinNothingValueException(); } }); private static final ProvidableCompositionLocal LocalDensity = CompositionLocalKt.staticCompositionLocalOf(new Function0() { // from class: androidx.compose.ui.platform.CompositionLocalsKt$LocalDensity$1 /* JADX WARN: Can't rename method to resolve collision */ @Override // kotlin.jvm.functions.Function0 public final Density invoke() { CompositionLocalsKt.noLocalProvidedFor("LocalDensity"); throw new KotlinNothingValueException(); } }); private static final ProvidableCompositionLocal LocalFocusManager = CompositionLocalKt.staticCompositionLocalOf(new Function0() { // from class: androidx.compose.ui.platform.CompositionLocalsKt$LocalFocusManager$1 /* JADX WARN: Can't rename method to resolve collision */ @Override // kotlin.jvm.functions.Function0 public final FocusManager invoke() { CompositionLocalsKt.noLocalProvidedFor("LocalFocusManager"); throw new KotlinNothingValueException(); } }); private static final ProvidableCompositionLocal LocalFontLoader = CompositionLocalKt.staticCompositionLocalOf(new Function0() { // from class: androidx.compose.ui.platform.CompositionLocalsKt$LocalFontLoader$1 /* JADX WARN: Can't rename method to resolve collision */ @Override // kotlin.jvm.functions.Function0 public final Font.ResourceLoader invoke() { CompositionLocalsKt.noLocalProvidedFor("LocalFontLoader"); throw new KotlinNothingValueException(); } }); private static final ProvidableCompositionLocal LocalFontFamilyResolver = CompositionLocalKt.staticCompositionLocalOf(new Function0() { // from class: androidx.compose.ui.platform.CompositionLocalsKt$LocalFontFamilyResolver$1 /* JADX WARN: Can't rename method to resolve collision */ @Override // kotlin.jvm.functions.Function0 public final FontFamily.Resolver invoke() { CompositionLocalsKt.noLocalProvidedFor("LocalFontFamilyResolver"); throw new KotlinNothingValueException(); } }); private static final ProvidableCompositionLocal LocalHapticFeedback = CompositionLocalKt.staticCompositionLocalOf(new Function0() { // from class: androidx.compose.ui.platform.CompositionLocalsKt$LocalHapticFeedback$1 /* JADX WARN: Can't rename method to resolve collision */ @Override // kotlin.jvm.functions.Function0 public final HapticFeedback invoke() { CompositionLocalsKt.noLocalProvidedFor("LocalHapticFeedback"); throw new KotlinNothingValueException(); } }); private static final ProvidableCompositionLocal LocalInputModeManager = CompositionLocalKt.staticCompositionLocalOf(new Function0() { // from class: androidx.compose.ui.platform.CompositionLocalsKt$LocalInputModeManager$1 /* JADX WARN: Can't rename method to resolve collision */ @Override // kotlin.jvm.functions.Function0 public final InputModeManager invoke() { CompositionLocalsKt.noLocalProvidedFor("LocalInputManager"); throw new KotlinNothingValueException(); } }); private static final ProvidableCompositionLocal LocalLayoutDirection = CompositionLocalKt.staticCompositionLocalOf(new Function0() { // from class: androidx.compose.ui.platform.CompositionLocalsKt$LocalLayoutDirection$1 /* JADX WARN: Can't rename method to resolve collision */ @Override // kotlin.jvm.functions.Function0 public final LayoutDirection invoke() { CompositionLocalsKt.noLocalProvidedFor("LocalLayoutDirection"); throw new KotlinNothingValueException(); } }); private static final ProvidableCompositionLocal LocalTextInputService = CompositionLocalKt.staticCompositionLocalOf(new Function0() { // from class: androidx.compose.ui.platform.CompositionLocalsKt$LocalTextInputService$1 /* JADX WARN: Can't rename method to resolve collision */ @Override // kotlin.jvm.functions.Function0 public final TextInputService invoke() { return null; } }); private static final ProvidableCompositionLocal LocalPlatformTextInputPluginRegistry = CompositionLocalKt.staticCompositionLocalOf(new Function0() { // from class: androidx.compose.ui.platform.CompositionLocalsKt$LocalPlatformTextInputPluginRegistry$1 /* JADX WARN: Can't rename method to resolve collision */ @Override // kotlin.jvm.functions.Function0 public final PlatformTextInputPluginRegistry invoke() { throw new IllegalStateException("No PlatformTextInputPluginRegistry provided".toString()); } }); private static final ProvidableCompositionLocal LocalTextToolbar = CompositionLocalKt.staticCompositionLocalOf(new Function0() { // from class: androidx.compose.ui.platform.CompositionLocalsKt$LocalTextToolbar$1 /* JADX WARN: Can't rename method to resolve collision */ @Override // kotlin.jvm.functions.Function0 public final TextToolbar invoke() { CompositionLocalsKt.noLocalProvidedFor("LocalTextToolbar"); throw new KotlinNothingValueException(); } }); private static final ProvidableCompositionLocal LocalUriHandler = CompositionLocalKt.staticCompositionLocalOf(new Function0() { // from class: androidx.compose.ui.platform.CompositionLocalsKt$LocalUriHandler$1 /* JADX WARN: Can't rename method to resolve collision */ @Override // kotlin.jvm.functions.Function0 public final UriHandler invoke() { CompositionLocalsKt.noLocalProvidedFor("LocalUriHandler"); throw new KotlinNothingValueException(); } }); private static final ProvidableCompositionLocal LocalViewConfiguration = CompositionLocalKt.staticCompositionLocalOf(new Function0() { // from class: androidx.compose.ui.platform.CompositionLocalsKt$LocalViewConfiguration$1 /* JADX WARN: Can't rename method to resolve collision */ @Override // kotlin.jvm.functions.Function0 public final ViewConfiguration invoke() { CompositionLocalsKt.noLocalProvidedFor("LocalViewConfiguration"); throw new KotlinNothingValueException(); } }); private static final ProvidableCompositionLocal LocalWindowInfo = CompositionLocalKt.staticCompositionLocalOf(new Function0() { // from class: androidx.compose.ui.platform.CompositionLocalsKt$LocalWindowInfo$1 /* JADX WARN: Can't rename method to resolve collision */ @Override // kotlin.jvm.functions.Function0 public final WindowInfo invoke() { CompositionLocalsKt.noLocalProvidedFor("LocalWindowInfo"); throw new KotlinNothingValueException(); } }); private static final ProvidableCompositionLocal LocalPointerIconService = CompositionLocalKt.staticCompositionLocalOf(new Function0() { // from class: androidx.compose.ui.platform.CompositionLocalsKt$LocalPointerIconService$1 /* JADX WARN: Can't rename method to resolve collision */ @Override // kotlin.jvm.functions.Function0 public final PointerIconService invoke() { return null; } }); public static final ProvidableCompositionLocal getLocalAccessibilityManager() { return LocalAccessibilityManager; } public static final ProvidableCompositionLocal getLocalAutofill() { return LocalAutofill; } public static /* synthetic */ void getLocalAutofill$annotations() { } public static final ProvidableCompositionLocal getLocalAutofillTree() { return LocalAutofillTree; } public static /* synthetic */ void getLocalAutofillTree$annotations() { } public static final ProvidableCompositionLocal getLocalClipboardManager() { return LocalClipboardManager; } public static final ProvidableCompositionLocal getLocalDensity() { return LocalDensity; } public static final ProvidableCompositionLocal getLocalFocusManager() { return LocalFocusManager; } public static final ProvidableCompositionLocal getLocalFontFamilyResolver() { return LocalFontFamilyResolver; } public static final ProvidableCompositionLocal getLocalFontLoader() { return LocalFontLoader; } @Deprecated(message = "LocalFontLoader is replaced with LocalFontFamilyResolver", replaceWith = @ReplaceWith(expression = "LocalFontFamilyResolver", imports = {})) public static /* synthetic */ void getLocalFontLoader$annotations() { } public static final ProvidableCompositionLocal getLocalHapticFeedback() { return LocalHapticFeedback; } public static final ProvidableCompositionLocal getLocalInputModeManager() { return LocalInputModeManager; } public static final ProvidableCompositionLocal getLocalLayoutDirection() { return LocalLayoutDirection; } public static final ProvidableCompositionLocal getLocalPlatformTextInputPluginRegistry() { return LocalPlatformTextInputPluginRegistry; } public static /* synthetic */ void getLocalPlatformTextInputPluginRegistry$annotations() { } public static final ProvidableCompositionLocal getLocalPointerIconService() { return LocalPointerIconService; } public static final ProvidableCompositionLocal getLocalTextInputService() { return LocalTextInputService; } public static final ProvidableCompositionLocal getLocalTextToolbar() { return LocalTextToolbar; } public static final ProvidableCompositionLocal getLocalUriHandler() { return LocalUriHandler; } public static final ProvidableCompositionLocal getLocalViewConfiguration() { return LocalViewConfiguration; } public static final ProvidableCompositionLocal getLocalWindowInfo() { return LocalWindowInfo; } public static final void ProvideCommonCompositionLocals(final Owner owner, final UriHandler uriHandler, final Function2 content, Composer composer, final int i) { int i2; Intrinsics.checkNotNullParameter(owner, "owner"); Intrinsics.checkNotNullParameter(uriHandler, "uriHandler"); Intrinsics.checkNotNullParameter(content, "content"); Composer startRestartGroup = composer.startRestartGroup(874662829); ComposerKt.sourceInformation(startRestartGroup, "C(ProvideCommonCompositionLocals)P(1,2)194@6496L1205:CompositionLocals.kt#itgzvw"); if ((i & 14) == 0) { i2 = (startRestartGroup.changed(owner) ? 4 : 2) | i; } else { i2 = i; } if ((i & 112) == 0) { i2 |= startRestartGroup.changed(uriHandler) ? 32 : 16; } if ((i & 896) == 0) { i2 |= startRestartGroup.changedInstance(content) ? 256 : 128; } if ((i2 & 731) != 146 || !startRestartGroup.getSkipping()) { if (ComposerKt.isTraceInProgress()) { ComposerKt.traceEventStart(874662829, i2, -1, "androidx.compose.ui.platform.ProvideCommonCompositionLocals (CompositionLocals.kt:189)"); } CompositionLocalKt.CompositionLocalProvider((ProvidedValue[]) new ProvidedValue[]{LocalAccessibilityManager.provides(owner.getAccessibilityManager()), LocalAutofill.provides(owner.getAutofill()), LocalAutofillTree.provides(owner.getAutofillTree()), LocalClipboardManager.provides(owner.getClipboardManager()), LocalDensity.provides(owner.getDensity()), LocalFocusManager.provides(owner.getFocusOwner()), LocalFontLoader.providesDefault(owner.getFontLoader()), LocalFontFamilyResolver.providesDefault(owner.getFontFamilyResolver()), LocalHapticFeedback.provides(owner.getHapticFeedBack()), LocalInputModeManager.provides(owner.getInputModeManager()), LocalLayoutDirection.provides(owner.getLayoutDirection()), LocalTextInputService.provides(owner.getTextInputService()), LocalPlatformTextInputPluginRegistry.provides(owner.getPlatformTextInputPluginRegistry()), LocalTextToolbar.provides(owner.getTextToolbar()), LocalUriHandler.provides(uriHandler), LocalViewConfiguration.provides(owner.getViewConfiguration()), LocalWindowInfo.provides(owner.getWindowInfo()), LocalPointerIconService.provides(owner.getPointerIconService())}, content, startRestartGroup, ((i2 >> 3) & 112) | 8); if (ComposerKt.isTraceInProgress()) { ComposerKt.traceEventEnd(); } } else { startRestartGroup.skipToGroupEnd(); } ScopeUpdateScope endRestartGroup = startRestartGroup.endRestartGroup(); if (endRestartGroup == null) { return; } endRestartGroup.updateScope(new Function2() { // from class: androidx.compose.ui.platform.CompositionLocalsKt$ProvideCommonCompositionLocals$1 /* JADX INFO: Access modifiers changed from: package-private */ /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ /* JADX WARN: Multi-variable type inference failed */ { super(2); } @Override // kotlin.jvm.functions.Function2 public /* bridge */ /* synthetic */ Unit invoke(Composer composer2, Integer num) { invoke(composer2, num.intValue()); return Unit.INSTANCE; } public final void invoke(Composer composer2, int i3) { CompositionLocalsKt.ProvideCommonCompositionLocals(Owner.this, uriHandler, content, composer2, RecomposeScopeImplKt.updateChangedFlags(i | 1)); } }); } /* JADX INFO: Access modifiers changed from: private */ public static final Void noLocalProvidedFor(String str) { throw new IllegalStateException(("CompositionLocal " + str + " not present").toString()); } }