// Generated by Dagger (https://dagger.dev).
package co.edu.udistrital.espingsw.huellitaspelitos.di;

import android.content.SharedPreferences;
import co.edu.udistrital.espingsw.huellitaspelitos.data.datasource.local.GetUserIdDataSource;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import javax.inject.Provider;

@ScopeMetadata("javax.inject.Singleton")
@QualifierMetadata
@DaggerGenerated
@SuppressWarnings({
    "unchecked",
    "rawtypes"
})
public final class LocalDataSourceModule_GetUserIdDataSourceProviderFactory implements Factory<GetUserIdDataSource> {
  private final Provider<SharedPreferences> sharedPreferencesProvider;

  public LocalDataSourceModule_GetUserIdDataSourceProviderFactory(
      Provider<SharedPreferences> sharedPreferencesProvider) {
    this.sharedPreferencesProvider = sharedPreferencesProvider;
  }

  @Override
  public GetUserIdDataSource get() {
    return getUserIdDataSourceProvider(sharedPreferencesProvider.get());
  }

  public static LocalDataSourceModule_GetUserIdDataSourceProviderFactory create(
      Provider<SharedPreferences> sharedPreferencesProvider) {
    return new LocalDataSourceModule_GetUserIdDataSourceProviderFactory(sharedPreferencesProvider);
  }

  public static GetUserIdDataSource getUserIdDataSourceProvider(
      SharedPreferences sharedPreferences) {
    return Preconditions.checkNotNullFromProvides(LocalDataSourceModule.INSTANCE.getUserIdDataSourceProvider(sharedPreferences));
  }
}
