/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @generated by an internal plugin build system
 */

#ifndef RN_DISABLE_OSS_PLUGIN_HEADER

// OSS-compatibility layer

#import "RCTImagePlugins.h"

#import <string_view>

using namespace std::literals;

Class RCTImageClassProvider(const char *name)
{

  if (name == "BundleAssetImageLoader"sv) {
    return RCTBundleAssetImageLoaderCls();
  }

  if (name == "GIFImageDecoder"sv) {
    return RCTGIFImageDecoderCls();
  }

  if (name == "ImageEditingManager"sv) {
    return RCTImageEditingManagerCls();
  }

  if (name == "ImageLoader"sv) {
    return RCTImageLoaderCls();
  }

  if (name == "ImageStoreManager"sv) {
    return RCTImageStoreManagerCls();
  }

  if (name == "LocalAssetImageLoader"sv) {
    return RCTLocalAssetImageLoaderCls();
  }

  return nil;
}

#endif // RN_DISABLE_OSS_PLUGIN_HEADER
