content: // DO NOT EDIT. This is code generated via package:intl/generate_localized.dart
  // This is a library that looks up messages for specific locales by
  // delegating to the appropriate library.
  
  import 'dart:async';
  
  import 'package:intl/intl.dart';
  import 'package:intl/message_lookup_by_library.dart';
  import 'package:intl/src/intl_helpers.dart';
  
  import 'messages_.dart' as messages_;
  import 'messages_messages.dart' as messages_messages;
  // ignore: implementation_imports
  
  
  typedef Future<dynamic> LibraryLoader();
  Map<String, LibraryLoader> _deferredLibraries = {
    '': () => new Future.value(null),
    'messages': () => new Future.value(null),
  };
  
  MessageLookupByLibrary _findExact(localeName) {
    switch (localeName) {
      case '':
        return messages_.messages;
      case 'messages':
        return messages_messages.messages;
      default:
        return null;
    }
  }
  
  /// User programs should call this before using [localeName] for messages.
  Future initializeMessages(String localeName) async {
    var lib = _deferredLibraries[Intl.canonicalizedLocale(localeName)];
    await (lib == null ? new Future.value(false) : lib());
    initializeInternalMessageLookup(() => new CompositeMessageLookup());
    messageLookup.addLocale(localeName, _findGeneratedMessagesFor);
  }
  
  bool _messagesExistFor(String locale) {
    try {
      return _findExact(locale) != null;
    } catch (e) {
      return false;
    }
  }
  
  MessageLookupByLibrary _findGeneratedMessagesFor(locale) {
    var actualLocale =
        Intl.verifiedLocale(locale, _messagesExistFor, onFailure: (_) => null);
    if (actualLocale == null) return null;
    return _findExact(actualLocale);
  }
  