package com.bumptech.glide;

import com.bumptech.glide.load.ImageHeaderParser;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import ඓ.ῲ.K.Ԕ.C0812;
import ඓ.ῲ.K.Ԕ.C0813;
import ඓ.ῲ.K.Ԕ.C0815;
import ඓ.ῲ.K.Ԕ.C0816;
import ඓ.ῲ.K.Ԕ.C0818;
import ඓ.ῲ.K.Ԕ.C0820;
import ඓ.ῲ.K.ᓣ.ᕣ.C0830;
import ඓ.ῲ.K.ᕣ.ᕣ.㿎.C0931;
import ඓ.ῲ.K.ᕣ.㳳.AbstractC1033;
import ඓ.ῲ.K.ᕣ.㳳.C1039;
import ඓ.ῲ.K.ᕣ.㿎.C1143;
import ඓ.K.K.K.C1293;
import ῲ.ᨨ.㿎.AbstractC1871;

public class Registry {

    /* renamed from: ʬ  reason: contains not printable characters */
    public final C0813 f2180 = new C0813();

    /* renamed from: ඓ  reason: contains not printable characters */
    public final C1143 f2181 = new C1143();

    /* renamed from: ᨨ  reason: contains not printable characters */
    public final C0812 f2182 = new C0812();

    /* renamed from: ῲ  reason: contains not printable characters */
    public final C0816 f2183 = new C0816();

    /* renamed from: ⁱ  reason: contains not printable characters */
    public final C0815 f2184 = new C0815();

    /* renamed from: K  reason: contains not printable characters */
    public final C1039 f2185 = new C1039(this.f2186);

    /* renamed from: 㳳  reason: contains not printable characters */
    public final AbstractC1871<List<Throwable>> f2186 = C0830.m2422();

    /* renamed from: 㴹  reason: contains not printable characters */
    public final C0931 f2187 = new C0931();

    /* renamed from: 㸾  reason: contains not printable characters */
    public final C0818 f2188 = new C0818();

    /* renamed from: 㿎  reason: contains not printable characters */
    public final C0820 f2189 = new C0820();

    public static class MissingComponentException extends RuntimeException {
        public MissingComponentException(String str) {
            super(str);
        }
    }

    public static final class NoImageHeaderParserException extends MissingComponentException {
        public NoImageHeaderParserException() {
            super("Failed to find image header parser.");
        }
    }

    public static class NoModelLoaderAvailableException extends MissingComponentException {
        /* JADX WARNING: Illegal instructions before constructor call */
        public NoModelLoaderAvailableException(Object obj) {
            super(r0.toString());
            StringBuilder r0 = C1293.m3416("Failed to find any ModelLoaders registered for model class: ");
            r0.append(obj.getClass());
        }

        public <M> NoModelLoaderAvailableException(M m, List<AbstractC1033<M, ?>> list) {
            super("Found ModelLoaders for model class: " + list + ", but none that handle this specific model instance: " + ((Object) m));
        }

        public NoModelLoaderAvailableException(Class<?> cls, Class<?> cls2) {
            super("Failed to find any ModelLoaders for model: " + cls + " and data: " + cls2);
        }
    }

    public static class NoResultEncoderAvailableException extends MissingComponentException {
        public NoResultEncoderAvailableException(Class<?> cls) {
            super("Failed to find result encoder for resource class: " + cls + ", you may need to consider registering a new Encoder for the requested type or DiskCacheStrategy.DATA/DiskCacheStrategy.NONE if caching your transformed resource is unnecessary.");
        }
    }

    public static class NoSourceEncoderAvailableException extends MissingComponentException {
        public NoSourceEncoderAvailableException(Class<?> cls) {
            super("Failed to find source encoder for data class: " + cls);
        }
    }

    public Registry() {
        List asList = Arrays.asList("Gif", "Bitmap", "BitmapDrawable");
        ArrayList arrayList = new ArrayList(asList.size());
        arrayList.addAll(asList);
        arrayList.add(0, "legacy_prepend_all");
        arrayList.add("legacy_append");
        this.f2180.m2407(arrayList);
    }

    /* renamed from: K  reason: contains not printable characters */
    public List<ImageHeaderParser> m1265() {
        List<ImageHeaderParser> r0 = this.f2184.m2409();
        if (!r0.isEmpty()) {
            return r0;
        }
        throw new NoImageHeaderParserException();
    }
}
