package android.support.v4.media.session;

import A4.g;
import B.AbstractC0057e;
import B.AbstractC0069k;
import B.AbstractC0084s;
import B.C;
import B.C0061g;
import B.C0093w0;
import B.D;
import B.N0;
import B.P0;
import B.U0;
import B.X;
import C0.AbstractC0123y;
import C0.B;
import C0.C0103d;
import C0.C0124z;
import E.r;
import E.s;
import E3.v;
import F.C0171z;
import F.G;
import G.C0234i;
import G0.C0260i;
import G0.InterfaceC0245a0;
import G0.InterfaceC0279y;
import G0.Z;
import I0.C0287d;
import I0.C0289e;
import I0.C0291f;
import I0.C0293g;
import I0.InterfaceC0295h;
import I2.C0334s;
import J0.AbstractC0391w0;
import J2.n0;
import M2.C0515h1;
import M2.I0;
import N2.i;
import O0.d;
import P.h;
import P.j;
import S4.p;
import S4.w;
import T0.AbstractC0597h;
import T0.AbstractC0602m;
import T0.C0594e;
import T0.C0596g;
import T0.O;
import V4.E;
import V4.N;
import X0.I;
import a0.A2;
import a0.AbstractC0918m0;
import a0.m2;
import a0.z2;
import a1.AbstractC0958a;
import a3.AbstractC0962a;
import android.content.Context;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.content.res.XmlResourceParser;
import android.graphics.Typeface;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.os.BadParcelableException;
import android.os.Build;
import android.os.Bundle;
import android.os.Parcelable;
import android.text.SpannableStringBuilder;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.util.Log;
import android.util.TypedValue;
import android.util.Xml;
import android.view.View;
import android.view.inputmethod.EditorInfo;
import androidx.compose.runtime.ComposablesKt;
import androidx.compose.runtime.Composer;
import androidx.compose.runtime.ComposerKt;
import androidx.compose.runtime.Composition;
import androidx.compose.runtime.CompositionContext;
import androidx.compose.runtime.CompositionKt;
import androidx.compose.runtime.CompositionLocalKt;
import androidx.compose.runtime.CompositionLocalMap;
import androidx.compose.runtime.EffectsKt;
import androidx.compose.runtime.MutableState;
import androidx.compose.runtime.ProvidableCompositionLocal;
import androidx.compose.runtime.ProvidedValue;
import androidx.compose.runtime.ScopeUpdateScope;
import androidx.compose.runtime.SnapshotStateKt;
import androidx.compose.runtime.State;
import androidx.compose.runtime.Updater;
import androidx.compose.runtime.internal.ComposableLambda;
import androidx.compose.runtime.internal.ComposableLambdaKt;
import androidx.compose.ui.platform.AndroidCompositionLocals_androidKt;
import androidx.media3.exoplayer.RendererCapabilities;
import androidx.media3.exoplayer.analytics.AnalyticsListener;
import androidx.media3.extractor.ts.TsExtractor;
import c5.e;
import com.debridstream.tv.R;
import h1.m;
import i0.AbstractC2237a;
import i0.C2239c;
import i0.C2246j;
import i0.C2252p;
import i0.InterfaceC2241e;
import i0.InterfaceC2255s;
import java.io.Closeable;
import java.io.IOException;
import java.lang.ref.WeakReference;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.MappedByteBuffer;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import kotlin.jvm.internal.o;
import n.C2566A;
import n2.AbstractC2613d;
import o0.C2631b;
import o0.C2632c;
import org.xmlpull.v1.XmlPullParserException;
import p.C2646H;
import p0.AbstractC2686D;
import p0.AbstractC2715v;
import p0.C2696b;
import p0.C2700f;
import p0.C2706l;
import p0.C2714u;
import q.A0;
import q.AbstractC2761L;
import q.E0;
import r0.C2863b;
import s.AbstractC2894d;
import s.AbstractC2895e;
import t.AbstractC2920c;
import t.C2918a;
import t.C2919b;
import t.C2939v;
import u.AbstractC2955a;
import u0.AbstractC2959b;
import u0.C2958a;
import v.AbstractC3058z;
import v0.AbstractC3064b;
import v0.C3059A;
import v0.C3062D;
import v0.C3065c;
import v0.C3067e;
import v0.C3068f;
import v0.C3072j;
import v0.C3073k;
import v0.C3075m;
import v0.C3076n;
import v0.C3080s;
import v0.C3082u;
import v0.M;
import v0.Q;
import w4.C3137A;
import w4.InterfaceC3143e;
import x.EnumC3207z0;
import x4.AbstractC3250p;
import x4.AbstractC3253s;
import x4.y;
import z.l;

/* JADX INFO: loaded from: classes.dex */
public abstract class b {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public static C3068f f10898a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public static C3068f f10899b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public static C3068f f10900c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public static C3068f f10901d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public static C2700f f10902e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public static C2696b f10903f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public static C2863b f10904g;

    public static final AbstractC2959b A(Composer composer, int i6) throws XmlPullParserException, IOException {
        TypedValue typedValue;
        AbstractC2959b c2958a;
        if (ComposerKt.isTraceInProgress()) {
            ComposerKt.traceEventStart(473971343, 0, -1, "androidx.compose.ui.res.painterResource (PainterResources.android.kt:56)");
        }
        Context context = (Context) composer.consume(AndroidCompositionLocals_androidKt.f11154b);
        Resources resources = (Resources) composer.consume(AndroidCompositionLocals_androidKt.f11155c);
        d dVar = (d) composer.consume(AndroidCompositionLocals_androidKt.f11157e);
        synchronized (dVar) {
            typedValue = (TypedValue) dVar.f5291a.b(i6);
            if (typedValue == null) {
                typedValue = new TypedValue();
                resources.getValue(i6, typedValue, true);
                C2566A c2566a = dVar.f5291a;
                int iD = c2566a.d(i6);
                Object[] objArr = c2566a.f21458c;
                Object obj = objArr[iD];
                c2566a.f21457b[iD] = i6;
                objArr[iD] = typedValue;
            }
        }
        CharSequence charSequence = typedValue.string;
        if (charSequence == null || !p.I0(charSequence, ".xml")) {
            composer.startReplaceGroup(-1771643000);
            boolean zChanged = composer.changed(context.getTheme()) | composer.changed(charSequence) | composer.changed(i6);
            Object objRememberedValue = composer.rememberedValue();
            if (zChanged || objRememberedValue == Composer.Companion.getEmpty()) {
                try {
                    Drawable drawable = resources.getDrawable(i6, null);
                    o.f(drawable, "null cannot be cast to non-null type android.graphics.drawable.BitmapDrawable");
                    objRememberedValue = new C2700f(((BitmapDrawable) drawable).getBitmap());
                    composer.updateRememberedValue(objRememberedValue);
                } catch (Exception e6) {
                    throw new v("Error attempting to load resource: " + ((Object) charSequence), e6);
                }
            }
            C2700f c2700f = (C2700f) objRememberedValue;
            c2958a = new C2958a(c2700f, (((long) c2700f.f22917a.getWidth()) << 32) | (((long) c2700f.f22917a.getHeight()) & 4294967295L));
            composer.endReplaceGroup();
        } else {
            composer.startReplaceGroup(-1771798434);
            Resources.Theme theme = context.getTheme();
            int i7 = typedValue.changingConfigurations;
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(21855625, 0, -1, "androidx.compose.ui.res.loadVectorResource (PainterResources.android.kt:87)");
            }
            O0.c cVar = (O0.c) composer.consume(AndroidCompositionLocals_androidKt.f11156d);
            O0.b bVar = new O0.b(theme, i6);
            WeakReference weakReference = (WeakReference) cVar.f5290a.get(bVar);
            O0.a aVarN = weakReference != null ? (O0.a) weakReference.get() : null;
            if (aVarN == null) {
                XmlResourceParser xml = resources.getXml(i6);
                int next = xml.next();
                while (next != 2 && next != 1) {
                    next = xml.next();
                }
                if (next != 2) {
                    throw new XmlPullParserException("No start tag found");
                }
                if (!o.c(xml.getName(), "vector")) {
                    throw new IllegalArgumentException("Only VectorDrawables and rasterized asset types are supported ex. PNG, JPG, WEBP");
                }
                aVarN = g.N(theme, resources, xml, i7);
                cVar.f5290a.put(bVar, new WeakReference(aVarN));
            }
            boolean zIsTraceInProgress = ComposerKt.isTraceInProgress();
            C3068f c3068f = aVarN.f5286a;
            if (zIsTraceInProgress) {
                ComposerKt.traceEventEnd();
            }
            c2958a = AbstractC3064b.i(c3068f, composer, 0);
            composer.endReplaceGroup();
        }
        if (ComposerKt.isTraceInProgress()) {
            ComposerKt.traceEventEnd();
        }
        return c2958a;
    }

    public static final h B(J4.a aVar, Composer composer, int i6, int i7) {
        if (ComposerKt.isTraceInProgress()) {
            ComposerKt.traceEventStart(549805508, i6, -1, "androidx.compose.foundation.text.contextmenu.internal.platformTextContextMenuToolbarProvider (AndroidTextContextMenuToolbarProvider.android.kt:110)");
        }
        View view = (View) composer.consume(AndroidCompositionLocals_androidKt.f11158f);
        boolean zChanged = composer.changed(view);
        Object objRememberedValue = composer.rememberedValue();
        if (zChanged || objRememberedValue == Composer.Companion.getEmpty()) {
            objRememberedValue = new h(view, null, aVar);
            composer.updateRememberedValue(objRememberedValue);
        }
        h hVar = (h) objRememberedValue;
        boolean zChangedInstance = composer.changedInstance(hVar);
        Object objRememberedValue2 = composer.rememberedValue();
        if (zChangedInstance || objRememberedValue2 == Composer.Companion.getEmpty()) {
            objRememberedValue2 = new P.a(hVar, 3);
            composer.updateRememberedValue(objRememberedValue2);
        }
        EffectsKt.DisposableEffect(hVar, (J4.c) objRememberedValue2, composer, 0);
        if (ComposerKt.isTraceInProgress()) {
            ComposerKt.traceEventEnd();
        }
        return hVar;
    }

    public static final void C(float[] fArr, float[] fArr2, int i6, float[] fArr3) {
        if (i6 == 0) {
            F0.a.a("At least one point must be provided");
        }
        int i7 = 2 >= i6 ? i6 - 1 : 2;
        int i8 = i7 + 1;
        float[][] fArr4 = new float[i8][];
        for (int i9 = 0; i9 < i8; i9++) {
            fArr4[i9] = new float[i6];
        }
        for (int i10 = 0; i10 < i6; i10++) {
            fArr4[0][i10] = 1.0f;
            for (int i11 = 1; i11 < i8; i11++) {
                fArr4[i11][i10] = fArr4[i11 - 1][i10] * fArr[i10];
            }
        }
        float[][] fArr5 = new float[i8][];
        for (int i12 = 0; i12 < i8; i12++) {
            fArr5[i12] = new float[i6];
        }
        float[][] fArr6 = new float[i8][];
        for (int i13 = 0; i13 < i8; i13++) {
            fArr6[i13] = new float[i8];
        }
        int i14 = 0;
        while (i14 < i8) {
            float[] destination = fArr5[i14];
            float[] fArr7 = fArr4[i14];
            o.h(fArr7, "<this>");
            o.h(destination, "destination");
            System.arraycopy(fArr7, 0, destination, 0, i6);
            for (int i15 = 0; i15 < i14; i15++) {
                float[] fArr8 = fArr5[i15];
                float fM = m(destination, fArr8);
                for (int i16 = 0; i16 < i6; i16++) {
                    destination[i16] = destination[i16] - (fArr8[i16] * fM);
                }
            }
            float fSqrt = (float) Math.sqrt(m(destination, destination));
            if (fSqrt < 1.0E-6f) {
                fSqrt = 1.0E-6f;
            }
            float f6 = 1.0f / fSqrt;
            for (int i17 = 0; i17 < i6; i17++) {
                destination[i17] = destination[i17] * f6;
            }
            float[] fArr9 = fArr6[i14];
            int i18 = 0;
            while (i18 < i8) {
                fArr9[i18] = i18 < i14 ? 0.0f : m(destination, fArr4[i18]);
                i18++;
            }
            i14++;
        }
        for (int i19 = i7; -1 < i19; i19--) {
            float fM2 = m(fArr5[i19], fArr2);
            float[] fArr10 = fArr6[i19];
            int i20 = i19 + 1;
            if (i20 <= i7) {
                int i21 = i7;
                while (true) {
                    fM2 -= fArr10[i21] * fArr3[i21];
                    if (i21 != i20) {
                        i21--;
                    }
                }
            }
            fArr3[i19] = fM2 / fArr10[i19];
        }
    }

    public static R1.b D(String name, B b5, int i6) {
        if ((i6 & 2) != 0) {
            b5 = null;
        }
        R1.a aVar = R1.a.f6037a;
        e eVar = N.f8259a;
        a5.c cVarC = E.c(c5.d.f13466b.plus(E.d()));
        o.h(name, "name");
        return new R1.b(name, b5, aVar, cVarC);
    }

    public static U1.b F(MappedByteBuffer mappedByteBuffer) throws IOException {
        long j4;
        ByteBuffer byteBufferDuplicate = mappedByteBuffer.duplicate();
        byteBufferDuplicate.order(ByteOrder.BIG_ENDIAN);
        byteBufferDuplicate.position(byteBufferDuplicate.position() + 4);
        int i6 = byteBufferDuplicate.getShort() & 65535;
        if (i6 > 100) {
            throw new IOException("Cannot read metadata.");
        }
        byteBufferDuplicate.position(byteBufferDuplicate.position() + 6);
        int i7 = 0;
        while (true) {
            if (i7 >= i6) {
                j4 = -1;
                break;
            }
            int i8 = byteBufferDuplicate.getInt();
            byteBufferDuplicate.position(byteBufferDuplicate.position() + 4);
            j4 = ((long) byteBufferDuplicate.getInt()) & 4294967295L;
            byteBufferDuplicate.position(byteBufferDuplicate.position() + 4);
            if (1835365473 == i8) {
                break;
            }
            i7++;
        }
        if (j4 != -1) {
            byteBufferDuplicate.position(byteBufferDuplicate.position() + ((int) (j4 - ((long) byteBufferDuplicate.position()))));
            byteBufferDuplicate.position(byteBufferDuplicate.position() + 12);
            long j6 = ((long) byteBufferDuplicate.getInt()) & 4294967295L;
            for (int i9 = 0; i9 < j6; i9++) {
                int i10 = byteBufferDuplicate.getInt();
                long j7 = ((long) byteBufferDuplicate.getInt()) & 4294967295L;
                byteBufferDuplicate.getInt();
                if (1164798569 == i10 || 1701669481 == i10) {
                    byteBufferDuplicate.position((int) (j7 + j4));
                    U1.b bVar = new U1.b();
                    byteBufferDuplicate.order(ByteOrder.LITTLE_ENDIAN);
                    int iPosition = byteBufferDuplicate.position() + byteBufferDuplicate.getInt(byteBufferDuplicate.position());
                    bVar.f6864d = byteBufferDuplicate;
                    bVar.f6861a = iPosition;
                    int i11 = iPosition - byteBufferDuplicate.getInt(iPosition);
                    bVar.f6862b = i11;
                    bVar.f6863c = ((ByteBuffer) bVar.f6864d).getShort(i11);
                    return bVar;
                }
            }
        }
        throw new IOException("Cannot read metadata.");
    }

    public static void I(EditorInfo editorInfo, CharSequence charSequence) {
        int i6 = Build.VERSION.SDK_INT;
        if (i6 >= 30) {
            A1.c.k(editorInfo, charSequence);
            return;
        }
        charSequence.getClass();
        if (i6 >= 30) {
            A1.c.k(editorInfo, charSequence);
            return;
        }
        int i7 = editorInfo.initialSelStart;
        int i8 = editorInfo.initialSelEnd;
        int i9 = i7 > i8 ? i8 : i7;
        if (i7 <= i8) {
            i7 = i8;
        }
        int length = charSequence.length();
        if (i9 < 0 || i7 > length) {
            K(editorInfo, null, 0, 0);
            return;
        }
        int i10 = editorInfo.inputType & 4095;
        if (i10 == 129 || i10 == 225 || i10 == 18) {
            K(editorInfo, null, 0, 0);
            return;
        }
        if (length <= 2048) {
            K(editorInfo, charSequence, i9, i7);
            return;
        }
        int i11 = i7 - i9;
        int i12 = i11 > 1024 ? 0 : i11;
        int i13 = 2048 - i12;
        int iMin = Math.min(charSequence.length() - i7, i13 - Math.min(i9, (int) (((double) i13) * 0.8d)));
        int iMin2 = Math.min(i9, i13 - iMin);
        int i14 = i9 - iMin2;
        if (Character.isLowSurrogate(charSequence.charAt(i14))) {
            i14++;
            iMin2--;
        }
        if (Character.isHighSurrogate(charSequence.charAt((i7 + iMin) - 1))) {
            iMin--;
        }
        int i15 = iMin2 + i12;
        K(editorInfo, i12 != i11 ? TextUtils.concat(charSequence.subSequence(i14, i14 + iMin2), charSequence.subSequence(i7, iMin + i7)) : charSequence.subSequence(i14, i15 + iMin + i14), iMin2, i15);
    }

    public static void J(EditorInfo editorInfo, boolean z6) {
        if (Build.VERSION.SDK_INT >= 35) {
            H1.a.a(editorInfo, z6);
        }
        if (editorInfo.extras == null) {
            editorInfo.extras = new Bundle();
        }
        editorInfo.extras.putBoolean("androidx.core.view.inputmethod.EditorInfoCompat.STYLUS_HANDWRITING_ENABLED", z6);
    }

    public static void K(EditorInfo editorInfo, CharSequence charSequence, int i6, int i7) {
        if (editorInfo.extras == null) {
            editorInfo.extras = new Bundle();
        }
        editorInfo.extras.putCharSequence("androidx.core.view.inputmethod.EditorInfoCompat.CONTENT_SURROUNDING_TEXT", charSequence != null ? new SpannableStringBuilder(charSequence) : null);
        editorInfo.extras.putInt("androidx.core.view.inputmethod.EditorInfoCompat.CONTENT_SELECTION_HEAD", i6);
        editorInfo.extras.putInt("androidx.core.view.inputmethod.EditorInfoCompat.CONTENT_SELECTION_END", i7);
    }

    public static Bundle N(Bundle bundle) {
        if (bundle == null) {
            return null;
        }
        bundle.setClassLoader(b.class.getClassLoader());
        try {
            bundle.isEmpty();
            return bundle;
        } catch (BadParcelableException unused) {
            Log.e("MediaSessionCompat", "Could not unparcel the data.");
            return null;
        }
    }

    public static final String O(String str) {
        if (str == null || p.Q0(str)) {
            return str;
        }
        String string = p.o1(str).toString();
        if (string.length() < 8 || !w.A0(string, "http://", true)) {
            return str;
        }
        String strSubstring = string.substring(7);
        o.g(strSubstring, "substring(...)");
        return "https://".concat(strSubstring);
    }

    public static void P(Object obj, String str, boolean z6) {
        if (!z6) {
            throw new v(L4.a.X(str, obj));
        }
    }

    public static final C2632c Q(InterfaceC0279y interfaceC0279y) {
        C2632c c2632cG = G0.B.g(interfaceC0279y, true);
        long jR = interfaceC0279y.R(c2632cG.d());
        long jR2 = interfaceC0279y.R((((long) Float.floatToRawIntBits(c2632cG.f21789c)) << 32) | (((long) Float.floatToRawIntBits(c2632cG.f21790d)) & 4294967295L));
        return new C2632c(Float.intBitsToFloat((int) (jR >> 32)), Float.intBitsToFloat((int) (jR & 4294967295L)), Float.intBitsToFloat((int) (jR2 >> 32)), Float.intBitsToFloat((int) (jR2 & 4294967295L)));
    }

    /* JADX WARN: Type inference failed for: r0v1, types: [java.lang.Object, java.util.List] */
    /* JADX WARN: Type inference failed for: r0v5, types: [java.lang.Object, java.util.List] */
    public static final int R(boolean z6, r rVar, int i6) {
        return z6 ? ((s) rVar.f1065m.get(i6)).f1086p : ((s) rVar.f1065m.get(i6)).f1087q;
    }

    public static final N2.g S(N2.g gVar) {
        ArrayList arrayList;
        o.h(gVar, "<this>");
        String strO = O(gVar.f5173f);
        List list = gVar.f5175h;
        if (list != null) {
            arrayList = new ArrayList(AbstractC3253s.G(list, 10));
            Iterator it = list.iterator();
            while (it.hasNext()) {
                arrayList.add(S((N2.g) it.next()));
            }
        } else {
            arrayList = null;
        }
        ArrayList arrayList2 = arrayList;
        String provider = gVar.f5168a;
        o.h(provider, "provider");
        String kind = gVar.f5169b;
        o.h(kind, "kind");
        String id = gVar.f5170c;
        o.h(id, "id");
        String name = gVar.f5171d;
        o.h(name, "name");
        return new N2.g(provider, kind, id, name, gVar.f5172e, strO, gVar.f5174g, arrayList2, gVar.f5176i);
    }

    public static final i T(i iVar) {
        List<N2.v> list = iVar.f5184e;
        ArrayList arrayList = new ArrayList(AbstractC3253s.G(list, 10));
        for (N2.v vVar : list) {
            String download_link = O(vVar.f5265c);
            if (download_link == null) {
                download_link = vVar.f5265c;
            }
            String name = vVar.f5263a;
            o.h(name, "name");
            o.h(download_link, "download_link");
            arrayList.add(new N2.v(name, vVar.f5264b, download_link));
        }
        return i.a(iVar, O(iVar.f5180a), null, arrayList, AnalyticsListener.EVENT_BANDWIDTH_ESTIMATE);
    }

    public static final void a(int i6, Composer composer, InterfaceC2255s interfaceC2255s, String label) {
        int i7;
        Composer composer2;
        o.h(label, "label");
        Composer composerStartRestartGroup = composer.startRestartGroup(-1998725079);
        if ((i6 & 6) == 0) {
            i7 = (composerStartRestartGroup.changed(label) ? 4 : 2) | i6;
        } else {
            i7 = i6;
        }
        if ((i6 & 48) == 0) {
            i7 |= composerStartRestartGroup.changed(interfaceC2255s) ? 32 : 16;
        }
        if ((i7 & 19) == 18 && composerStartRestartGroup.getSkipping()) {
            composerStartRestartGroup.skipToGroupEnd();
            composer2 = composerStartRestartGroup;
        } else {
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(-1998725079, i7, -1, "com.debridstream.components.ContinueWatchingSeTag (ContinueWatchingSeTag.kt:20)");
            }
            InterfaceC2255s interfaceC2255sC = AbstractC0057e.C(AbstractC3058z.h(interfaceC2255s, C2714u.c(0.72f, C2714u.f22935b), J.g.b(4)), 6, 3);
            long j4 = C2714u.f22939f;
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(-942794935, 0, -1, "androidx.compose.material3.MaterialTheme.<get-typography> (MaterialTheme.kt:129)");
            }
            z2 z2Var = (z2) composerStartRestartGroup.consume(A2.f9235a);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
            composer2 = composerStartRestartGroup;
            m2.d(label, interfaceC2255sC, j4, 0L, null, null, 0L, null, 0L, 0, false, 0, 0, null, O.a(z2Var.f10378o, 0L, W.a.l0(10), I.f8447m, null, null, 0L, null, null, W.a.l0(12), null, null, 16646137), composer2, (i7 & 14) | RendererCapabilities.DECODER_SUPPORT_MASK, 0, 131064);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
        }
        ScopeUpdateScope scopeUpdateScopeEndRestartGroup = composer2.endRestartGroup();
        if (scopeUpdateScopeEndRestartGroup != null) {
            scopeUpdateScopeEndRestartGroup.updateScope(new C0171z(label, interfaceC2255s, i6, 2));
        }
    }

    public static final void b(List options, String selectedValue, J4.c onOptionSelected, J4.a onDismiss, InterfaceC2255s interfaceC2255s, Composer composer, int i6) {
        int i7;
        o.h(options, "options");
        o.h(selectedValue, "selectedValue");
        o.h(onOptionSelected, "onOptionSelected");
        o.h(onDismiss, "onDismiss");
        Composer composerStartRestartGroup = composer.startRestartGroup(735421004);
        if ((i6 & 6) == 0) {
            i7 = (composerStartRestartGroup.changedInstance(options) ? 4 : 2) | i6;
        } else {
            i7 = i6;
        }
        if ((i6 & 48) == 0) {
            i7 |= composerStartRestartGroup.changed(selectedValue) ? 32 : 16;
        }
        if ((i6 & RendererCapabilities.DECODER_SUPPORT_MASK) == 0) {
            i7 |= composerStartRestartGroup.changedInstance(onOptionSelected) ? 256 : 128;
        }
        if ((i6 & 3072) == 0) {
            i7 |= composerStartRestartGroup.changedInstance(onDismiss) ? 2048 : 1024;
        }
        if ((i6 & 24576) == 0) {
            i7 |= composerStartRestartGroup.changed(interfaceC2255s) ? 16384 : 8192;
        }
        if ((i7 & 9363) == 9362 && composerStartRestartGroup.getSkipping()) {
            composerStartRestartGroup.skipToGroupEnd();
        } else {
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(735421004, i7, -1, "com.debridstream.mobile.MobileSeasonPickerOverlay (MobileSeasonPickerOverlay.kt:49)");
            }
            AbstractC0057e.a(interfaceC2255s.then(U0.f193c), null, false, ComposableLambdaKt.rememberComposableLambda(200256930, true, new I0(onDismiss, options, selectedValue, onOptionSelected, 1), composerStartRestartGroup, 54), composerStartRestartGroup, 3072, 6);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
        }
        ScopeUpdateScope scopeUpdateScopeEndRestartGroup = composerStartRestartGroup.endRestartGroup();
        if (scopeUpdateScopeEndRestartGroup != null) {
            scopeUpdateScopeEndRestartGroup.updateScope(new X(options, (Object) selectedValue, (InterfaceC3143e) onOptionSelected, (Object) onDismiss, interfaceC2255s, i6, 1));
        }
    }

    /* JADX WARN: Finally extract failed */
    /* JADX WARN: Removed duplicated region for block: B:125:0x029a  */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public static final void c(final boolean z6, String str, InterfaceC2255s interfaceC2255s, long j4, Composer composer, int i6) throws XmlPullParserException, IOException {
        TypedArray typedArrayObtainAttributes;
        String str2;
        XmlResourceParser xmlResourceParser;
        AttributeSet attributeSet;
        TypedArray typedArrayObtainAttributes2;
        Composer composerStartRestartGroup = composer.startRestartGroup(5972559);
        int i7 = (i6 & 6) == 0 ? (composerStartRestartGroup.changed(z6) ? 4 : 2) | i6 : i6;
        if ((i6 & 48) == 0) {
            i7 |= composerStartRestartGroup.changed(str) ? 32 : 16;
        }
        if ((i6 & RendererCapabilities.DECODER_SUPPORT_MASK) == 0) {
            i7 |= composerStartRestartGroup.changed(interfaceC2255s) ? 256 : 128;
        }
        if ((i6 & 3072) == 0) {
            i7 |= composerStartRestartGroup.changed(j4) ? 2048 : 1024;
        }
        if ((i7 & 1171) == 1170 && composerStartRestartGroup.getSkipping()) {
            composerStartRestartGroup.skipToGroupEnd();
        } else {
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(5972559, i7, -1, "com.debridstream.icons.PlayPauseMorphIcon (play.kt:60)");
            }
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(-976666674, 6, -1, "androidx.compose.animation.graphics.res.animatedVectorResource (AnimatedVectorResources.android.kt:40)");
            }
            Context context = (Context) composerStartRestartGroup.consume(AndroidCompositionLocals_androidKt.f11154b);
            Resources resources = (Resources) composerStartRestartGroup.consume(AndroidCompositionLocals_androidKt.f11155c);
            Resources.Theme theme = context.getTheme();
            boolean zChanged = composerStartRestartGroup.changed(R.drawable.avd_play_pause);
            Object objRememberedValue = composerStartRestartGroup.rememberedValue();
            if (zChanged || objRememberedValue == Composer.Companion.getEmpty()) {
                XmlResourceParser xml = resources.getXml(R.drawable.avd_play_pause);
                AbstractC2955a.b(xml);
                AttributeSet attributeSetAsAttributeSet = Xml.asAttributeSet(xml);
                int[] iArr = AbstractC2955a.f24379a;
                if (theme == null || (typedArrayObtainAttributes = theme.obtainStyledAttributes(attributeSetAsAttributeSet, iArr, 0, 0)) == null) {
                    typedArrayObtainAttributes = resources.obtainAttributes(attributeSetAsAttributeSet, iArr);
                }
                TypedArray typedArray = typedArrayObtainAttributes;
                try {
                    int resourceId = typedArray.getResourceId(0, 0);
                    ArrayList arrayList = new ArrayList();
                    String str3 = "animated-vector";
                    xml.next();
                    while (!AbstractC2955a.a(xml) && (xml.getEventType() != 3 || !o.c(xml.getName(), str3))) {
                        if (xml.getEventType() == 2 && o.c(xml.getName(), "target")) {
                            int[] iArr2 = AbstractC2955a.f24380b;
                            if (theme == null || (typedArrayObtainAttributes2 = theme.obtainStyledAttributes(attributeSetAsAttributeSet, iArr2, 0, 0)) == null) {
                                typedArrayObtainAttributes2 = resources.obtainAttributes(attributeSetAsAttributeSet, iArr2);
                            }
                            TypedArray typedArray2 = typedArrayObtainAttributes2;
                            try {
                                str2 = str3;
                                String string = typedArray2.getString(0);
                                if (string == null) {
                                    string = "";
                                }
                                xmlResourceParser = xml;
                                attributeSet = attributeSetAsAttributeSet;
                                C2919b c2919b = new C2919b(string, AbstractC2894d.a(resources, typedArray2.getResourceId(1, 0), theme));
                                typedArray2.recycle();
                                arrayList.add(c2919b);
                            } catch (Throwable th) {
                                typedArray2.recycle();
                                throw th;
                            }
                        } else {
                            str2 = str3;
                            xmlResourceParser = xml;
                            attributeSet = attributeSetAsAttributeSet;
                        }
                        xmlResourceParser.next();
                        str3 = str2;
                        xml = xmlResourceParser;
                        attributeSetAsAttributeSet = attributeSet;
                    }
                    TypedValue typedValue = new TypedValue();
                    resources.getValue(resourceId, typedValue, true);
                    XmlResourceParser xml2 = resources.getXml(resourceId);
                    int next = xml2.next();
                    for (int i8 = 1; next != 2 && next != i8; i8 = 1) {
                        next = xml2.next();
                    }
                    if (next != 2) {
                        throw new XmlPullParserException("No start tag found");
                    }
                    C2918a c2918a = new C2918a(g.N(theme, resources, xml2, typedValue.changingConfigurations).f5286a, arrayList);
                    typedArray.recycle();
                    composerStartRestartGroup.updateRememberedValue(c2918a);
                    objRememberedValue = c2918a;
                } catch (Throwable th2) {
                    typedArray.recycle();
                    throw th2;
                }
            }
            final C2918a c2918a2 = (C2918a) objRememberedValue;
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
            int i9 = (i7 << 3) & 112;
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(1724527265, i9, -1, "androidx.compose.animation.graphics.res.rememberAnimatedVectorPainter (AnimatedVectorPainterResources.android.kt:44)");
            }
            final ComposableLambda composableLambda = AbstractC2895e.f24017a;
            int i10 = i9 | RendererCapabilities.DECODER_SUPPORT_MASK;
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(1209674880, i10, -1, "androidx.compose.animation.graphics.res.rememberAnimatedVectorPainter (AnimatedVectorPainterResources.android.kt:56)");
            }
            C3068f c3068f = c2918a2.f24215a;
            ComposableLambda composableLambdaRememberComposableLambda = ComposableLambdaKt.rememberComposableLambda(-1895266590, true, new J4.g() { // from class: s.a
                @Override // J4.g
                public final Object invoke(Object obj, Object obj2, Object obj3, Object obj4) {
                    ((Float) obj).getClass();
                    ((Float) obj2).getClass();
                    Composer composer2 = (Composer) obj3;
                    int iIntValue = ((Integer) obj4).intValue();
                    if (composer2.shouldExecute((iIntValue & TsExtractor.TS_STREAM_TYPE_AC3) != 128, iIntValue & 1)) {
                        if (ComposerKt.isTraceInProgress()) {
                            ComposerKt.traceEventStart(-1895266590, iIntValue, -1, "androidx.compose.animation.graphics.res.rememberAnimatedVectorPainter.<anonymous> (AnimatedVectorPainterResources.android.kt:67)");
                        }
                        Boolean boolValueOf = Boolean.valueOf(z6);
                        C2918a c2918a3 = c2918a2;
                        C3068f c3068f2 = c2918a3.f24215a;
                        A0 a0E = E0.e(boolValueOf, c3068f2.f25146a, composer2, 0);
                        LinkedHashMap linkedHashMap = new LinkedHashMap();
                        composer2.startReplaceGroup(-285052687);
                        ArrayList arrayList2 = c2918a3.f24216b;
                        int size = arrayList2.size();
                        for (int i11 = 0; i11 < size; i11++) {
                            C2919b c2919b2 = (C2919b) arrayList2.get(i11);
                            AbstractC2920c abstractC2920c = c2919b2.f24219b;
                            if (ComposerKt.isTraceInProgress()) {
                                ComposerKt.traceEventStart(839519568, 0, -1, "androidx.compose.animation.graphics.vector.Animator.createVectorConfig (Animator.kt:57)");
                            }
                            composer2.startReplaceGroup(-675540879);
                            Object objRememberedValue2 = composer2.rememberedValue();
                            if (objRememberedValue2 == Composer.Companion.getEmpty()) {
                                objRememberedValue2 = new C2939v();
                                composer2.updateRememberedValue(objRememberedValue2);
                            }
                            C2939v c2939v = (C2939v) objRememberedValue2;
                            abstractC2920c.a(a0E, c2939v, c2918a3.f24217c, composer2, 0);
                            composer2.endReplaceGroup();
                            if (ComposerKt.isTraceInProgress()) {
                                ComposerKt.traceEventEnd();
                            }
                            String str4 = c2919b2.f24218a;
                            C2939v c2939v2 = (C2939v) linkedHashMap.get(str4);
                            if (c2939v2 != null) {
                                State state = c2939v.f24249a;
                                if (state != null) {
                                    c2939v2.f24249a = state;
                                }
                                State state2 = c2939v.f24250b;
                                if (state2 != null) {
                                    c2939v2.f24250b = state2;
                                }
                                State state3 = c2939v.f24251c;
                                if (state3 != null) {
                                    c2939v2.f24251c = state3;
                                }
                                State state4 = c2939v.f24252d;
                                if (state4 != null) {
                                    c2939v2.f24252d = state4;
                                }
                                State state5 = c2939v.f24253e;
                                if (state5 != null) {
                                    c2939v2.f24253e = state5;
                                }
                                State state6 = c2939v.f24254f;
                                if (state6 != null) {
                                    c2939v2.f24254f = state6;
                                }
                                State state7 = c2939v.f24255g;
                                if (state7 != null) {
                                    c2939v2.f24255g = state7;
                                }
                                State state8 = c2939v.f24256h;
                                if (state8 != null) {
                                    c2939v2.f24256h = state8;
                                }
                                State state9 = c2939v.f24257i;
                                if (state9 != null) {
                                    c2939v2.f24257i = state9;
                                }
                                State state10 = c2939v.f24258j;
                                if (state10 != null) {
                                    c2939v2.f24258j = state10;
                                }
                                State state11 = c2939v.f24259k;
                                if (state11 != null) {
                                    c2939v2.f24259k = state11;
                                }
                                State state12 = c2939v.l;
                                if (state12 != null) {
                                    c2939v2.l = state12;
                                }
                                State state13 = c2939v.f24260m;
                                if (state13 != null) {
                                    c2939v2.f24260m = state13;
                                }
                                State state14 = c2939v.f24261n;
                                if (state14 != null) {
                                    c2939v2.f24261n = state14;
                                }
                                State state15 = c2939v.f24262o;
                                if (state15 != null) {
                                    c2939v2.f24262o = state15;
                                }
                                State state16 = c2939v.f24263p;
                                if (state16 != null) {
                                    c2939v2.f24263p = state16;
                                }
                            } else {
                                linkedHashMap.put(str4, c2939v);
                            }
                        }
                        composer2.endReplaceGroup();
                        composableLambda.invoke(c3068f2.f25151f, linkedHashMap, composer2, 0);
                        if (ComposerKt.isTraceInProgress()) {
                            ComposerKt.traceEventEnd();
                        }
                    } else {
                        composer2.skipToGroupEnd();
                    }
                    return C3137A.f25453a;
                }
            }, composerStartRestartGroup, 54);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(1685735925, 113246208, -1, "androidx.compose.ui.graphics.vector.rememberVectorPainter (VectorPainter.kt:129)");
            }
            h1.c cVar = (h1.c) composerStartRestartGroup.consume(AbstractC0391w0.f3100h);
            long jFloatToRawIntBits = (((long) Float.floatToRawIntBits(cVar.Y(c3068f.f25147b))) << 32) | (((long) Float.floatToRawIntBits(cVar.Y(c3068f.f25148c))) & 4294967295L);
            float f6 = c3068f.f25149d;
            float f7 = c3068f.f25150e;
            long jH = AbstractC3064b.h(f6, f7, jFloatToRawIntBits);
            long j6 = c3068f.f25152g;
            boolean zChanged2 = composerStartRestartGroup.changed(j6);
            int i11 = c3068f.f25153h;
            boolean zChanged3 = zChanged2 | composerStartRestartGroup.changed(i11);
            Object objRememberedValue2 = composerStartRestartGroup.rememberedValue();
            if (zChanged3 || objRememberedValue2 == Composer.Companion.getEmpty()) {
                objRememberedValue2 = j6 != 16 ? new C2706l(j6, i11) : null;
                composerStartRestartGroup.updateRememberedValue(objRememberedValue2);
            }
            AbstractC2715v abstractC2715v = (AbstractC2715v) objRememberedValue2;
            composerStartRestartGroup.startReplaceGroup(789579543);
            Object objRememberedValue3 = composerStartRestartGroup.rememberedValue();
            Composer.Companion companion = Composer.Companion;
            if (objRememberedValue3 == companion.getEmpty()) {
                objRememberedValue3 = new v0.O(new C3065c());
                composerStartRestartGroup.updateRememberedValue(objRememberedValue3);
            }
            v0.O o6 = (v0.O) objRememberedValue3;
            AbstractC3064b.d(o6, jFloatToRawIntBits, jH, c3068f.f25146a, abstractC2715v, true);
            CompositionContext compositionContextRememberCompositionContext = ComposablesKt.rememberCompositionContext(composerStartRestartGroup, 0);
            boolean zChanged4 = composerStartRestartGroup.changed(f6) | composerStartRestartGroup.changed(f7);
            Object objRememberedValue4 = composerStartRestartGroup.rememberedValue();
            if (!zChanged4) {
                Object obj = objRememberedValue4;
                if (objRememberedValue4 == companion.getEmpty()) {
                    Composition composition = o6.f25069d;
                    Composition Composition = (composition == null || composition.isDisposed()) ? CompositionKt.Composition(new C3062D(o6.f25068c.f24996b), compositionContextRememberCompositionContext) : composition;
                    Composition.setContent(ComposableLambdaKt.composableLambdaInstance(1749374910, true, new Q(composableLambdaRememberComposableLambda, jH)));
                    composerStartRestartGroup.updateRememberedValue(Composition);
                    obj = Composition;
                }
                Composition composition2 = (Composition) obj;
                o6.f25069d = composition2;
                boolean zChangedInstance = composerStartRestartGroup.changedInstance(composition2);
                Object objRememberedValue5 = composerStartRestartGroup.rememberedValue();
                if (zChangedInstance || objRememberedValue5 == companion.getEmpty()) {
                    objRememberedValue5 = new C2646H(composition2, 5);
                    composerStartRestartGroup.updateRememberedValue(objRememberedValue5);
                }
                EffectsKt.DisposableEffect(o6, (J4.c) objRememberedValue5, composerStartRestartGroup, 0);
                composerStartRestartGroup.endReplaceGroup();
                if (ComposerKt.isTraceInProgress()) {
                    ComposerKt.traceEventEnd();
                }
                if (ComposerKt.isTraceInProgress()) {
                    ComposerKt.traceEventEnd();
                }
                if (ComposerKt.isTraceInProgress()) {
                    ComposerKt.traceEventEnd();
                }
                AbstractC3058z.c(o6, str, interfaceC2255s, null, C0260i.f1972c, 0.0f, C2714u.d(j4, C2714u.f22945m) ? null : new C2706l(j4, 5), composerStartRestartGroup, AbstractC2959b.$stable | 24576 | (i7 & 112) | (i7 & 896), 40);
                if (ComposerKt.isTraceInProgress()) {
                    ComposerKt.traceEventEnd();
                }
            }
        }
        ScopeUpdateScope scopeUpdateScopeEndRestartGroup = composerStartRestartGroup.endRestartGroup();
        if (scopeUpdateScopeEndRestartGroup != null) {
            scopeUpdateScopeEndRestartGroup.updateScope(new L2.a(z6, str, interfaceC2255s, j4, i6));
        }
    }

    public static final void d(InterfaceC2255s interfaceC2255s, ComposableLambda composableLambda, Composer composer, int i6) {
        int i7;
        Composer composerStartRestartGroup = composer.startRestartGroup(2064964257);
        if ((i6 & 6) == 0) {
            i7 = (composerStartRestartGroup.changed(interfaceC2255s) ? 4 : 2) | i6;
        } else {
            i7 = i6;
        }
        if ((i6 & 48) == 0) {
            i7 |= composerStartRestartGroup.changedInstance(composableLambda) ? 32 : 16;
        }
        if (composerStartRestartGroup.shouldExecute((i7 & 19) != 18, i7 & 1)) {
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(2064964257, i7, -1, "androidx.compose.foundation.text.contextmenu.internal.ProvidePlatformTextContextMenuToolbar (AndroidTextContextMenuToolbarProvider.android.kt:66)");
            }
            e(interfaceC2255s, composableLambda, composerStartRestartGroup, (i7 & 14) | 48 | ((i7 << 3) & 896));
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
        } else {
            composerStartRestartGroup.skipToGroupEnd();
        }
        ScopeUpdateScope scopeUpdateScopeEndRestartGroup = composerStartRestartGroup.endRestartGroup();
        if (scopeUpdateScopeEndRestartGroup != null) {
            scopeUpdateScopeEndRestartGroup.updateScope(new j(interfaceC2255s, composableLambda, i6, 1));
        }
    }

    public static final void e(InterfaceC2255s interfaceC2255s, ComposableLambda composableLambda, Composer composer, int i6) {
        int i7;
        Composer composerStartRestartGroup = composer.startRestartGroup(771959668);
        if ((i6 & 6) == 0) {
            i7 = (composerStartRestartGroup.changed(interfaceC2255s) ? 4 : 2) | i6;
        } else {
            i7 = i6;
        }
        if ((i6 & 48) == 0) {
            i7 |= composerStartRestartGroup.changedInstance(null) ? 32 : 16;
        }
        if ((i6 & RendererCapabilities.DECODER_SUPPORT_MASK) == 0) {
            i7 |= composerStartRestartGroup.changedInstance(composableLambda) ? 256 : 128;
        }
        if (composerStartRestartGroup.shouldExecute((i7 & 147) != 146, i7 & 1)) {
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(771959668, i7, -1, "androidx.compose.foundation.text.contextmenu.internal.ProvidePlatformTextContextMenuToolbar (AndroidTextContextMenuToolbarProvider.android.kt:83)");
            }
            Object objRememberedValue = composerStartRestartGroup.rememberedValue();
            Composer.Companion companion = Composer.Companion;
            if (objRememberedValue == companion.getEmpty()) {
                objRememberedValue = SnapshotStateKt.mutableStateOf(null, SnapshotStateKt.neverEqualPolicy());
                composerStartRestartGroup.updateRememberedValue(objRememberedValue);
            }
            MutableState mutableState = (MutableState) objRememberedValue;
            Object objRememberedValue2 = composerStartRestartGroup.rememberedValue();
            if (objRememberedValue2 == companion.getEmpty()) {
                objRememberedValue2 = new C0515h1(mutableState, 4);
                composerStartRestartGroup.updateRememberedValue(objRememberedValue2);
            }
            CompositionLocalKt.CompositionLocalProvider((ProvidedValue<?>) R.g.f6001b.provides(B((J4.a) objRememberedValue2, composerStartRestartGroup, (i7 & 112) | 6, 0)), ComposableLambdaKt.rememberComposableLambda(-291176396, true, new P.i(interfaceC2255s, mutableState, composableLambda, 0), composerStartRestartGroup, 54), composerStartRestartGroup, ProvidedValue.$stable | 48);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
        } else {
            composerStartRestartGroup.skipToGroupEnd();
        }
        ScopeUpdateScope scopeUpdateScopeEndRestartGroup = composerStartRestartGroup.endRestartGroup();
        if (scopeUpdateScopeEndRestartGroup != null) {
            scopeUpdateScopeEndRestartGroup.updateScope(new j(interfaceC2255s, composableLambda, i6, 0));
        }
    }

    public static final void f(String str, String str2, boolean z6, J4.a aVar, Composer composer, int i6) {
        String str3;
        int i7;
        int i8;
        int i9;
        C2252p c2252p;
        Composer composer2;
        Composer composerStartRestartGroup = composer.startRestartGroup(-386109591);
        if ((i6 & 6) == 0) {
            str3 = str;
            i7 = (composerStartRestartGroup.changed(str3) ? 4 : 2) | i6;
        } else {
            str3 = str;
            i7 = i6;
        }
        if ((i6 & 48) == 0) {
            i7 |= composerStartRestartGroup.changed(str2) ? 32 : 16;
        }
        if ((i6 & RendererCapabilities.DECODER_SUPPORT_MASK) == 0) {
            i7 |= composerStartRestartGroup.changed(z6) ? 256 : 128;
        }
        if ((i6 & 3072) == 0) {
            i7 |= composerStartRestartGroup.changedInstance(aVar) ? 2048 : 1024;
        }
        if ((i7 & 1171) == 1170 && composerStartRestartGroup.getSkipping()) {
            composerStartRestartGroup.skipToGroupEnd();
            composer2 = composerStartRestartGroup;
        } else {
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(-386109591, i7, -1, "com.debridstream.mobile.SeasonPickerRow (MobileSeasonPickerOverlay.kt:97)");
            }
            composerStartRestartGroup.startReplaceGroup(1552270009);
            Object objRememberedValue = composerStartRestartGroup.rememberedValue();
            if (objRememberedValue == Composer.Companion.getEmpty()) {
                objRememberedValue = AbstractC2761L.j(composerStartRestartGroup);
            }
            l lVar = (l) objRememberedValue;
            composerStartRestartGroup.endReplaceGroup();
            C2252p c2252p2 = C2252p.f18820a;
            float f6 = 10;
            InterfaceC2255s interfaceC2255sC = AbstractC0057e.C(AbstractC3058z.m(AbstractC3058z.h(m0.h.c(U0.f(c2252p2, 1.0f), J.g.b(f6)), C2714u.l, AbstractC2686D.f22844b), lVar, null, false, null, aVar, 28), f6, 14);
            InterfaceC0245a0 interfaceC0245a0D = AbstractC0084s.d(C2239c.f18794a, false);
            int iHashCode = Long.hashCode(ComposablesKt.getCurrentCompositeKeyHashCode(composerStartRestartGroup, 0));
            CompositionLocalMap currentCompositionLocalMap = composerStartRestartGroup.getCurrentCompositionLocalMap();
            InterfaceC2255s interfaceC2255sC2 = AbstractC2237a.c(composerStartRestartGroup, interfaceC2255sC);
            InterfaceC0295h.f2384g.getClass();
            C0291f c0291f = C0293g.f2375b;
            if (composerStartRestartGroup.getApplier() == null) {
                ComposablesKt.invalidApplier();
            }
            composerStartRestartGroup.startReusableNode();
            if (composerStartRestartGroup.getInserting()) {
                composerStartRestartGroup.createNode(c0291f);
            } else {
                composerStartRestartGroup.useNode();
            }
            Composer composerM81constructorimpl = Updater.m81constructorimpl(composerStartRestartGroup);
            C0289e c0289e = C0293g.f2379f;
            Updater.m89setimpl(composerM81constructorimpl, interfaceC0245a0D, c0289e);
            C0289e c0289e2 = C0293g.f2378e;
            Updater.m89setimpl(composerM81constructorimpl, currentCompositionLocalMap, c0289e2);
            Integer numValueOf = Integer.valueOf(iHashCode);
            C0289e c0289e3 = C0293g.f2380g;
            Updater.m86initimpl(composerM81constructorimpl, numValueOf, c0289e3);
            C0287d c0287d = C0293g.f2381h;
            Updater.m87reconcileimpl(composerM81constructorimpl, c0287d);
            C0289e c0289e4 = C0293g.f2377d;
            Updater.m89setimpl(composerM81constructorimpl, interfaceC2255sC2, c0289e4);
            C0061g c0061g = AbstractC0069k.f329g;
            C2246j c2246j = C2239c.f18803n;
            InterfaceC2255s interfaceC2255sF = U0.f(c2252p2, 1.0f);
            P0 p0A = N0.a(c0061g, c2246j, composerStartRestartGroup, 54);
            int iHashCode2 = Long.hashCode(ComposablesKt.getCurrentCompositeKeyHashCode(composerStartRestartGroup, 0));
            CompositionLocalMap currentCompositionLocalMap2 = composerStartRestartGroup.getCurrentCompositionLocalMap();
            InterfaceC2255s interfaceC2255sC3 = AbstractC2237a.c(composerStartRestartGroup, interfaceC2255sF);
            if (composerStartRestartGroup.getApplier() == null) {
                ComposablesKt.invalidApplier();
            }
            composerStartRestartGroup.startReusableNode();
            if (composerStartRestartGroup.getInserting()) {
                composerStartRestartGroup.createNode(c0291f);
            } else {
                composerStartRestartGroup.useNode();
            }
            Composer composerG = Z0.o.g(composerStartRestartGroup, p0A, c0289e, currentCompositionLocalMap2, c0289e2);
            AbstractC2761L.l(iHashCode2, composerG, c0289e3, composerG, c0287d);
            Updater.m89setimpl(composerG, interfaceC2255sC3, c0289e4);
            if (1.0f <= 0.0d) {
                C.a.a("invalid weight; must be greater than zero");
            }
            C0093w0 c0093w0 = new C0093w0(1.0f, true);
            D dA = C.a(AbstractC0069k.h(2), C2239c.f18805p, composerStartRestartGroup, 6);
            int iHashCode3 = Long.hashCode(ComposablesKt.getCurrentCompositeKeyHashCode(composerStartRestartGroup, 0));
            CompositionLocalMap currentCompositionLocalMap3 = composerStartRestartGroup.getCurrentCompositionLocalMap();
            InterfaceC2255s interfaceC2255sC4 = AbstractC2237a.c(composerStartRestartGroup, c0093w0);
            if (composerStartRestartGroup.getApplier() == null) {
                ComposablesKt.invalidApplier();
            }
            composerStartRestartGroup.startReusableNode();
            if (composerStartRestartGroup.getInserting()) {
                composerStartRestartGroup.createNode(c0291f);
            } else {
                composerStartRestartGroup.useNode();
            }
            Composer composerF = Z0.o.f(composerStartRestartGroup, dA, c0289e, currentCompositionLocalMap3, c0289e2);
            AbstractC2761L.l(iHashCode3, composerF, c0289e3, composerF, c0287d);
            Updater.m89setimpl(composerF, interfaceC2255sC4, c0289e4);
            if (ComposerKt.isTraceInProgress()) {
                i8 = -1;
                i9 = 0;
                ComposerKt.traceEventStart(-942794935, 0, -1, "androidx.compose.material3.MaterialTheme.<get-typography> (MaterialTheme.kt:129)");
            } else {
                i8 = -1;
                i9 = 0;
            }
            ProvidableCompositionLocal providableCompositionLocal = A2.f9235a;
            z2 z2Var = (z2) composerStartRestartGroup.consume(providableCompositionLocal);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
            O o6 = z2Var.f10377n;
            int i10 = i7;
            long j4 = AbstractC0962a.f10614b;
            int i11 = i9;
            m2.d(str3, null, j4, 0L, null, null, 0L, null, 0L, 2, false, 1, 0, null, o6, composerStartRestartGroup, (i10 & 14) | RendererCapabilities.DECODER_SUPPORT_MASK, 24960, 110586);
            Composer composer3 = composerStartRestartGroup;
            composer3.startReplaceGroup(1471516607);
            if (str2 == null || p.Q0(str2)) {
                c2252p = c2252p2;
            } else {
                if (ComposerKt.isTraceInProgress()) {
                    ComposerKt.traceEventStart(-942794935, i11, i8, "androidx.compose.material3.MaterialTheme.<get-typography> (MaterialTheme.kt:129)");
                }
                z2 z2Var2 = (z2) composer3.consume(providableCompositionLocal);
                if (ComposerKt.isTraceInProgress()) {
                    ComposerKt.traceEventEnd();
                }
                c2252p = c2252p2;
                m2.d(str2, null, C2714u.c(0.6f, C2714u.f22939f), 0L, null, null, 0L, null, 0L, 2, false, 1, 0, null, z2Var2.f10378o, composer3, ((i10 >> 3) & 14) | RendererCapabilities.DECODER_SUPPORT_MASK, 24960, 110586);
                composer3 = composer3;
            }
            composer3.endReplaceGroup();
            composer3.endNode();
            composer3.startReplaceGroup(971835067);
            if (z6) {
                AbstractC0918m0.b(p(), null, U0.p(c2252p, 12), j4, composer3, 3504, 0);
            }
            composer2 = composer3;
            composer2.endReplaceGroup();
            composer2.endNode();
            composer2.endNode();
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
        }
        ScopeUpdateScope scopeUpdateScopeEndRestartGroup = composer2.endRestartGroup();
        if (scopeUpdateScopeEndRestartGroup != null) {
            scopeUpdateScopeEndRestartGroup.updateScope(new M2.N(str, str2, z6, aVar, i6));
        }
    }

    public static final long g(int i6, int i7) {
        if (i6 < 0 || i7 < 0) {
            AbstractC0958a.a("start and end cannot be negative. [start: " + i6 + ", end: " + i7 + ']');
        }
        long j4 = (((long) i7) & 4294967295L) | (((long) i6) << 32);
        int i8 = T0.N.f6482c;
        return j4;
    }

    public static final boolean h(String str) {
        for (int i6 = 0; i6 < str.length(); i6++) {
            char cCharAt = str.charAt(i6);
            if (o.i(cCharAt, 128) >= 0 || Character.isLetter(cCharAt)) {
                return true;
            }
        }
        return false;
    }

    public static final void i(B b5, C0124z c0124z, long j4) {
        D0.d dVar;
        D0.b bVar = (D0.b) b5.f506b;
        bVar.getClass();
        boolean zB = AbstractC0123y.b(c0124z);
        D0.d dVar2 = bVar.f928b;
        D0.d dVar3 = bVar.f927a;
        if (zB) {
            AbstractC3250p.J(dVar3.f936d, null);
            dVar3.f937e = 0;
            AbstractC3250p.J(dVar2.f936d, null);
            dVar2.f937e = 0;
            bVar.f929c = 0L;
        }
        boolean zD = AbstractC0123y.d(c0124z);
        long j6 = c0124z.f645b;
        if (zD) {
            dVar = dVar2;
        } else {
            List list = c0124z.f654k;
            if (list == null) {
                list = y.f26065a;
            }
            int size = list.size();
            int i6 = 0;
            while (i6 < size) {
                C0103d c0103d = (C0103d) list.get(i6);
                bVar.a(c0103d.f586a, C2631b.e(c0103d.f588c, j4));
                i6++;
                dVar2 = dVar2;
            }
            dVar = dVar2;
            bVar.a(j6, C2631b.e(c0124z.l, j4));
        }
        if (AbstractC0123y.d(c0124z) && j6 - bVar.f929c > 40) {
            AbstractC3250p.J(dVar3.f936d, null);
            dVar3.f937e = 0;
            D0.d dVar4 = dVar;
            AbstractC3250p.J(dVar4.f936d, null);
            dVar4.f937e = 0;
            bVar.f929c = 0L;
        }
        bVar.f929c = j6;
    }

    public static final void j(Closeable closeable, Throwable th) throws IOException {
        if (closeable != null) {
            if (th == null) {
                closeable.close();
                return;
            }
            try {
                closeable.close();
            } catch (Throwable th2) {
                AbstractC2613d.b(th, th2);
            }
        }
    }

    public static final long k(int i6, long j4) {
        int i7 = T0.N.f6482c;
        int i8 = (int) (j4 >> 32);
        int i9 = i8 < 0 ? 0 : i8;
        if (i9 > i6) {
            i9 = i6;
        }
        int i10 = (int) (4294967295L & j4);
        int i11 = i10 >= 0 ? i10 : 0;
        if (i11 <= i6) {
            i6 = i11;
        }
        return (i9 == i8 && i6 == i10) ? j4 : g(i9, i6);
    }

    public static final float m(float[] fArr, float[] fArr2) {
        int length = fArr.length;
        float f6 = 0.0f;
        for (int i6 = 0; i6 < length; i6++) {
            f6 += fArr[i6] * fArr2[i6];
        }
        return f6;
    }

    public static boolean n(Object obj, Object obj2) {
        if (obj != obj2) {
            return obj != null && obj.equals(obj2);
        }
        return true;
    }

    public static final C0234i o(G g6, int i6, long j4, G.v vVar, long j6, InterfaceC2241e interfaceC2241e, m mVar, int i7, C2566A c2566a) {
        List list;
        EnumC3207z0 enumC3207z0 = EnumC3207z0.f25984a;
        Object objB = vVar.b(i6);
        List list2 = (List) c2566a.b(i6);
        if (list2 != null) {
            list = list2;
        } else {
            List listB = g6.b(i6);
            int size = listB.size();
            ArrayList arrayList = new ArrayList(size);
            for (int i8 = 0; i8 < size; i8++) {
                arrayList.add(((Z) listB.get(i8)).Q(j4));
            }
            c2566a.i(i6, arrayList);
            list = arrayList;
        }
        return new C0234i(i6, i7, list, j6, objB, interfaceC2241e, mVar);
    }

    public static final C3068f p() {
        C3068f c3068f = f10898a;
        if (c3068f != null) {
            return c3068f;
        }
        float f6 = 24;
        C3067e c3067e = new C3067e("check", f6, f6, 512.0f, 512.0f, 0L, 0, false, 224);
        p0.Z z6 = new p0.Z(C2714u.f22935b);
        int i6 = M.f25065a;
        C0334s c0334s = new C0334s(5, (byte) 0);
        c0334s.r(173.898f, 439.404f);
        c0334s.q(-166.4f, -166.4f);
        c0334s.k(-9.997f, -9.997f, -9.997f, -26.206f, 0.0f, -36.204f);
        c0334s.q(36.203f, -36.204f);
        c0334s.k(9.997f, -9.998f, 26.207f, -9.998f, 36.204f, 0.0f);
        c0334s.p(192.0f, 312.69f);
        c0334s.p(432.095f, 72.596f);
        c0334s.k(9.997f, -9.997f, 26.207f, -9.997f, 36.204f, 0.0f);
        c0334s.q(36.203f, 36.204f);
        c0334s.k(9.997f, 9.997f, 9.997f, 26.206f, 0.0f, 36.204f);
        c0334s.q(-294.4f, 294.401f);
        c0334s.k(-9.998f, 9.997f, -26.207f, 9.997f, -36.204f, -0.001f);
        c0334s.i();
        C3067e.a(c3067e, c0334s.f2658b, 0, z6, null, 0.0f, 0, 0, 4.0f);
        C3068f c3068fB = c3067e.b();
        f10898a = c3068fB;
        return c3068fB;
    }

    public static final C3068f q() {
        C3068f c3068f = f10900c;
        if (c3068f != null) {
            return c3068f;
        }
        float f6 = 24;
        C3067e c3067e = new C3067e("play", f6, f6, 448.0f, 512.0f, 0L, 0, false, 224);
        p0.Z z6 = new p0.Z(C2714u.f22935b);
        int i6 = M.f25065a;
        ArrayList arrayList = new ArrayList(32);
        arrayList.add(new C3076n(424.4f, 214.7f));
        arrayList.add(new C3075m(72.4f, 6.6f));
        arrayList.add(new C3073k(43.8f, -10.3f, 0.0f, 6.1f, 0.0f, 47.9f));
        arrayList.add(new C3059A(464.0f));
        arrayList.add(new C3080s(0.0f, 37.5f, 40.7f, 60.1f, 72.4f, 41.3f));
        arrayList.add(new C3082u(352.0f, -208.0f));
        arrayList.add(new C3080s(31.4f, -18.5f, 31.5f, -64.1f, 0.0f, -82.6f));
        arrayList.add(C3072j.f25191c);
        C3067e.a(c3067e, arrayList, 0, z6, null, 0.0f, 0, 0, 4.0f);
        C3068f c3068fB = c3067e.b();
        f10900c = c3068fB;
        return c3068fB;
    }

    public static final C3068f r() {
        C3068f c3068f = f10901d;
        if (c3068f != null) {
            return c3068f;
        }
        float f6 = 24;
        C3067e c3067e = new C3067e("link", f6, f6, 960.0f, 960.0f, 0L, 0, false, 224);
        p0.Z z6 = new p0.Z(C2714u.f22935b);
        int i6 = M.f25065a;
        C0334s c0334sF = A0.a.f(280.0f, 680.0f);
        c0334sF.t(-83.0f, 0.0f, -141.5f, -58.5f);
        c0334sF.w(80.0f, 480.0f);
        c0334sF.t(0.0f, -83.0f, 58.5f, -141.5f);
        c0334sF.w(280.0f, 280.0f);
        c0334sF.o(120.0f);
        c0334sF.t(17.0f, 0.0f, 28.5f, 11.5f);
        c0334sF.w(440.0f, 320.0f);
        c0334sF.t(0.0f, 17.0f, -11.5f, 28.5f);
        c0334sF.w(400.0f, 360.0f);
        c0334sF.n(280.0f);
        c0334sF.t(-50.0f, 0.0f, -85.0f, 35.0f);
        c0334sF.x(-35.0f, 85.0f);
        c0334sF.t(0.0f, 50.0f, 35.0f, 85.0f);
        c0334sF.x(85.0f, 35.0f);
        c0334sF.o(120.0f);
        c0334sF.t(17.0f, 0.0f, 28.5f, 11.5f);
        c0334sF.w(440.0f, 640.0f);
        c0334sF.t(0.0f, 17.0f, -11.5f, 28.5f);
        c0334sF.w(400.0f, 680.0f);
        c0334sF.n(280.0f);
        c0334sF.i();
        c0334sF.s(80.0f, -160.0f);
        c0334sF.t(-17.0f, 0.0f, -28.5f, -11.5f);
        c0334sF.w(320.0f, 480.0f);
        c0334sF.t(0.0f, -17.0f, 11.5f, -28.5f);
        c0334sF.w(360.0f, 440.0f);
        c0334sF.o(240.0f);
        c0334sF.t(17.0f, 0.0f, 28.5f, 11.5f);
        c0334sF.w(640.0f, 480.0f);
        c0334sF.t(0.0f, 17.0f, -11.5f, 28.5f);
        c0334sF.w(600.0f, 520.0f);
        c0334sF.n(360.0f);
        c0334sF.i();
        c0334sF.s(200.0f, 160.0f);
        c0334sF.t(-17.0f, 0.0f, -28.5f, -11.5f);
        c0334sF.w(520.0f, 640.0f);
        c0334sF.t(0.0f, -17.0f, 11.5f, -28.5f);
        c0334sF.w(560.0f, 600.0f);
        c0334sF.o(120.0f);
        c0334sF.t(50.0f, 0.0f, 85.0f, -35.0f);
        c0334sF.x(35.0f, -85.0f);
        c0334sF.t(0.0f, -50.0f, -35.0f, -85.0f);
        c0334sF.x(-85.0f, -35.0f);
        c0334sF.n(560.0f);
        c0334sF.t(-17.0f, 0.0f, -28.5f, -11.5f);
        c0334sF.w(520.0f, 320.0f);
        c0334sF.t(0.0f, -17.0f, 11.5f, -28.5f);
        c0334sF.w(560.0f, 280.0f);
        c0334sF.o(120.0f);
        c0334sF.t(83.0f, 0.0f, 141.5f, 58.5f);
        c0334sF.w(880.0f, 480.0f);
        c0334sF.t(0.0f, 83.0f, -58.5f, 141.5f);
        c0334sF.w(680.0f, 680.0f);
        c0334sF.n(560.0f);
        c0334sF.i();
        C3067e.a(c3067e, c0334sF.f2658b, 0, z6, null, 0.0f, 0, 0, 4.0f);
        C3068f c3068fB = c3067e.b();
        f10901d = c3068fB;
        return c3068fB;
    }

    public static Object s(Bundle bundle, String str, Class cls) {
        if (Build.VERSION.SDK_INT >= 34) {
            return B1.b.b(bundle, str, cls);
        }
        Parcelable parcelable = bundle.getParcelable(str);
        if (cls.isInstance(parcelable)) {
            return parcelable;
        }
        return null;
    }

    public static final C3068f t() {
        C3068f c3068f = f10899b;
        if (c3068f != null) {
            return c3068f;
        }
        float f6 = 24;
        C3067e c3067e = new C3067e("dolby", f6, f6, 24.0f, 24.0f, 0L, 0, false, 224);
        p0.Z z6 = new p0.Z(C2714u.f22935b);
        int i6 = M.f25065a;
        C0334s c0334s = new C0334s(5, (byte) 0);
        c0334s.r(0.0f, 3.564f);
        c0334s.z(16.872f);
        c0334s.o(2.488f);
        c0334s.k(4.648f, 0.0f, 8.438f, -3.788f, 8.438f, -8.436f);
        c0334s.v(-3.79f, -8.436f, -8.438f, -8.436f);
        c0334s.n(0.0f);
        c0334s.i();
        c0334s.s(21.512f, 0.0f);
        c0334s.k(-4.648f, 0.0f, -8.438f, 3.788f, -8.438f, 8.436f);
        c0334s.v(3.79f, 8.436f, 8.438f, 8.436f);
        c0334s.n(24.0f);
        c0334s.y(3.564f);
        c0334s.o(-2.488f);
        c0334s.i();
        C3067e.a(c3067e, c0334s.f2658b, 0, z6, null, 0.0f, 0, 0, 4.0f);
        C3068f c3068fB = c3067e.b();
        f10899b = c3068fB;
        return c3068fB;
    }

    public static final boolean u(C0596g c0596g) {
        int length = c0596g.f6510b.length();
        List list = c0596g.f6509a;
        if (list != null) {
            int size = list.size();
            for (int i6 = 0; i6 < size; i6++) {
                C0594e c0594e = (C0594e) list.get(i6);
                if ((c0594e.f6503a instanceof AbstractC0602m) && AbstractC0597h.b(0, length, c0594e.f6504b, c0594e.f6505c)) {
                    return true;
                }
            }
        }
        return false;
    }

    public static int v(long j4) {
        return (int) (j4 ^ (j4 >>> 32));
    }

    public static boolean x(int i6) {
        int type = Character.getType(i6);
        return type == 23 || type == 20 || type == 22 || type == 30 || type == 29 || type == 24 || type == 21;
    }

    public abstract void E(String str);

    public abstract void H(boolean z6);

    public abstract void L();

    public abstract void M();

    public boolean l(n0 n0Var) {
        return true;
    }

    public abstract void w();

    public abstract void y(int i6);

    public abstract void z(Typeface typeface);

    public void G(boolean z6) {
    }
}
