* Decompile and recreate Soul Browser v1.4.85 with APK CI builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix CI build: include bundled google.jks and remove PR trigger The apktool build failed in CI because app/unknown/.../google.jks was excluded by the *.jks gitignore rule. Whitelist app-bundled JKS files and commit the missing resource. Also remove the redundant pull_request workflow trigger. Co-authored-by: KaKi87 <KaKi87@pm.me> * Change package ID to com.github.kaki87.soulbrowser Rename the application ID so the rebuilt APK can be installed alongside the original Soul Browser from Google Play. - Update AndroidManifest package, permissions, providers, and actions - Update R class references in smali (com/github/kaki87/soulbrowser/R) - Update shortcuts.xml targetPackage - Rename app label to "Soul Rebuild" for easy identification Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install compatibility: remove split APK metadata and bundle native libs The rebuilt APK still declared requiredSplitTypes and Play Store split metadata, causing Android to reject standalone installs as incompatible. - Remove requiredSplitTypes and split-related manifest meta-data - Merge native libs from all ABI splits with uncompressed storage - Page-align before signing for extractNativeLibs=false - Add .so to apktool doNotCompress list Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install failure: use apksigner v2/v3 and bundle arm64 native libs Target SDK 36 requires APK Signature Scheme v2+, but jarsigner only produces v1 signatures, causing Android to reject the install. - Sign with apksigner (v1+v2+v3) instead of jarsigner - Add arm64-v8a native libraries from universal Soul Browser 1.4.79 - Set extractNativeLibs=true for reliable sideload installs - Commit stable debug keystore for consistent signatures across builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Add committed debug keystore for consistent APK signatures Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix startup crash: use original classes2.dex desugar libraries Apktool recompiles smali_classes2 into a broken classes2.dex, causing ClassNotFoundException for j$.com.android.tools.r8.a at ML Kit init. Inject the original classes2.dex (Java 8+ desugar libs) after apktool build instead of using the recompiled version. Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix missing drawable resources from density split APKs The base APK is an app bundle module; density-specific drawables like seek_thumb_nor_b live in config.xhdpi.apk and were missing after rebuild, causing Resources$NotFoundException at runtime. - Merge non-9-patch resources from split APKs before apktool build - Sync public.xml IDs from R smali only when backing files exist - Add 713 density-specific resource IDs to public.xml Co-authored-by: KaKi87 <KaKi87@pm.me> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2697 lines
160 KiB
Java
2697 lines
160 KiB
Java
package kotlin.text;
|
||
|
||
import com.google.android.gms.ads.RequestConfiguration;
|
||
import java.util.ArrayList;
|
||
import java.util.Collection;
|
||
import java.util.Comparator;
|
||
import java.util.HashSet;
|
||
import java.util.Iterator;
|
||
import java.util.LinkedHashMap;
|
||
import java.util.LinkedHashSet;
|
||
import java.util.List;
|
||
import java.util.Map;
|
||
import java.util.NoSuchElementException;
|
||
import java.util.Set;
|
||
import kotlin.Deprecated;
|
||
import kotlin.DeprecatedSinceKotlin;
|
||
import kotlin.Metadata;
|
||
import kotlin.OverloadResolutionByLambdaReturnType;
|
||
import kotlin.Pair;
|
||
import kotlin.ReplaceWith;
|
||
import kotlin.SinceKotlin;
|
||
import kotlin.TuplesKt;
|
||
import kotlin.UInt;
|
||
import kotlin.ULong;
|
||
import kotlin.Unit;
|
||
import kotlin.collections.CollectionsKt;
|
||
import kotlin.collections.CollectionsKt__MutableCollectionsKt;
|
||
import kotlin.collections.Grouping;
|
||
import kotlin.collections.IndexedValue;
|
||
import kotlin.collections.IndexingIterable;
|
||
import kotlin.collections.MapsKt;
|
||
import kotlin.collections.SetsKt;
|
||
import kotlin.collections.SlidingWindowKt;
|
||
import kotlin.internal.InlineOnly;
|
||
import kotlin.jvm.JvmName;
|
||
import kotlin.jvm.functions.Function0;
|
||
import kotlin.jvm.functions.Function1;
|
||
import kotlin.jvm.functions.Function2;
|
||
import kotlin.jvm.functions.Function3;
|
||
import kotlin.jvm.internal.Intrinsics;
|
||
import kotlin.jvm.internal.SourceDebugExtension;
|
||
import kotlin.random.Random;
|
||
import kotlin.ranges.IntProgression;
|
||
import kotlin.ranges.IntRange;
|
||
import kotlin.ranges.RangesKt;
|
||
import kotlin.ranges.RangesKt___RangesKt;
|
||
import kotlin.sequences.Sequence;
|
||
import kotlin.sequences.SequencesKt;
|
||
import kotlin.uuid.Uuid;
|
||
import org.jetbrains.annotations.NotNull;
|
||
import org.jetbrains.annotations.Nullable;
|
||
|
||
@Metadata(d1 = {"\u0000ü\u0001\n\u0000\n\u0002\u0010\f\n\u0002\u0010\r\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u000b\n\u0002\b\u0005\n\u0002\u0010\u0000\n\u0002\b\f\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\u000e\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0018\u0002\n\u0002\u0010\u001c\n\u0002\b\u0006\n\u0002\u0010$\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010%\n\u0002\b\u0007\n\u0002\u0010\u001f\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010 \n\u0000\n\u0002\u0010!\n\u0000\n\u0002\u0010\"\n\u0002\b\u000b\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u0002\n\u0002\b\u0005\n\u0002\u0010\u000f\n\u0002\b\u0004\n\u0002\u0010\u0006\n\u0002\u0010\u0007\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b2\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\r\u001a9\u0010\u0000\u001a\u00020\u0001*\u00020\u00022\u0006\u0010\u0003\u001a\u00020\u00042\u0012\u0010\u0005\u001a\u000e\u0012\u0004\u0012\u00020\u0004\u0012\u0004\u0012\u00020\u00010\u0006H\u0087\bø\u0001\u0000\u0082\u0002\n\n\b\b\u0001\u0012\u0002\u0010\u0002 \u0000\u001a\u001c\u0010\u0007\u001a\u0004\u0018\u00010\u0001*\u00020\u00022\u0006\u0010\u0003\u001a\u00020\u0004H\u0087\b¢\u0006\u0002\u0010\b\u001a+\u0010\t\u001a\u0004\u0018\u00010\u0001*\u00020\u00022\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0087\bø\u0001\u0000¢\u0006\u0002\u0010\f\u001a+\u0010\r\u001a\u0004\u0018\u00010\u0001*\u00020\u00022\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0087\bø\u0001\u0000¢\u0006\u0002\u0010\f\u001a\n\u0010\u000e\u001a\u00020\u0001*\u00020\u0002\u001a$\u0010\u000e\u001a\u00020\u0001*\u00020\u00022\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000\u001a5\u0010\u000f\u001a\u0002H\u0010\"\b\b\u0000\u0010\u0010*\u00020\u0011*\u00020\u00022\u0014\u0010\u0012\u001a\u0010\u0012\u0004\u0012\u00020\u0001\u0012\u0006\u0012\u0004\u0018\u0001H\u00100\u0006H\u0087\bø\u0001\u0000¢\u0006\u0002\u0010\u0013\u001a7\u0010\u0014\u001a\u0004\u0018\u0001H\u0010\"\b\b\u0000\u0010\u0010*\u00020\u0011*\u00020\u00022\u0014\u0010\u0012\u001a\u0010\u0012\u0004\u0012\u00020\u0001\u0012\u0006\u0012\u0004\u0018\u0001H\u00100\u0006H\u0087\bø\u0001\u0000¢\u0006\u0002\u0010\u0013\u001a\u0011\u0010\u0015\u001a\u0004\u0018\u00010\u0001*\u00020\u0002¢\u0006\u0002\u0010\u0016\u001a+\u0010\u0015\u001a\u0004\u0018\u00010\u0001*\u00020\u00022\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000¢\u0006\u0002\u0010\f\u001a9\u0010\u0017\u001a\u00020\u0001*\u00020\u00022\u0006\u0010\u0003\u001a\u00020\u00042\u0012\u0010\u0005\u001a\u000e\u0012\u0004\u0012\u00020\u0004\u0012\u0004\u0012\u00020\u00010\u0006H\u0087\bø\u0001\u0000\u0082\u0002\n\n\b\b\u0001\u0012\u0002\u0010\u0002 \u0000\u001a\u0019\u0010\u0018\u001a\u0004\u0018\u00010\u0001*\u00020\u00022\u0006\u0010\u0003\u001a\u00020\u0004¢\u0006\u0002\u0010\b\u001a$\u0010\u0019\u001a\u00020\u0004*\u00020\u00022\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000\u001a$\u0010\u001a\u001a\u00020\u0004*\u00020\u00022\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000\u001a\n\u0010\u001b\u001a\u00020\u0001*\u00020\u0002\u001a$\u0010\u001b\u001a\u00020\u0001*\u00020\u00022\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000\u001a\u0011\u0010\u001c\u001a\u0004\u0018\u00010\u0001*\u00020\u0002¢\u0006\u0002\u0010\u0016\u001a+\u0010\u001c\u001a\u0004\u0018\u00010\u0001*\u00020\u00022\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000¢\u0006\u0002\u0010\f\u001a\r\u0010\u001d\u001a\u00020\u0001*\u00020\u0002H\u0087\b\u001a\u0014\u0010\u001d\u001a\u00020\u0001*\u00020\u00022\u0006\u0010\u001d\u001a\u00020\u001eH\u0007\u001a\u0014\u0010\u001f\u001a\u0004\u0018\u00010\u0001*\u00020\u0002H\u0087\b¢\u0006\u0002\u0010\u0016\u001a\u001b\u0010\u001f\u001a\u0004\u0018\u00010\u0001*\u00020\u00022\u0006\u0010\u001d\u001a\u00020\u001eH\u0007¢\u0006\u0002\u0010 \u001a\n\u0010!\u001a\u00020\u0001*\u00020\u0002\u001a$\u0010!\u001a\u00020\u0001*\u00020\u00022\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000\u001a\u0011\u0010\"\u001a\u0004\u0018\u00010\u0001*\u00020\u0002¢\u0006\u0002\u0010\u0016\u001a+\u0010\"\u001a\u0004\u0018\u00010\u0001*\u00020\u00022\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000¢\u0006\u0002\u0010\f\u001a\u0012\u0010#\u001a\u00020\u0002*\u00020\u00022\u0006\u0010$\u001a\u00020\u0004\u001a\u0012\u0010#\u001a\u00020%*\u00020%2\u0006\u0010$\u001a\u00020\u0004\u001a\u0012\u0010&\u001a\u00020\u0002*\u00020\u00022\u0006\u0010$\u001a\u00020\u0004\u001a\u0012\u0010&\u001a\u00020%*\u00020%2\u0006\u0010$\u001a\u00020\u0004\u001a$\u0010'\u001a\u00020\u0002*\u00020\u00022\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000\u001a$\u0010'\u001a\u00020%*\u00020%2\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000\u001a$\u0010(\u001a\u00020\u0002*\u00020\u00022\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000\u001a$\u0010(\u001a\u00020%*\u00020%2\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000\u001a$\u0010)\u001a\u00020\u0002*\u00020\u00022\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000\u001a$\u0010)\u001a\u00020%*\u00020%2\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000\u001a9\u0010*\u001a\u00020\u0002*\u00020\u00022'\u0010\n\u001a#\u0012\u0013\u0012\u00110\u0004¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b(\u0003\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0+H\u0086\bø\u0001\u0000\u001a9\u0010*\u001a\u00020%*\u00020%2'\u0010\n\u001a#\u0012\u0013\u0012\u00110\u0004¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b(\u0003\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0+H\u0086\bø\u0001\u0000\u001aT\u0010.\u001a\u0002H/\"\f\b\u0000\u0010/*\u000600j\u0002`1*\u00020\u00022\u0006\u00102\u001a\u0002H/2'\u0010\n\u001a#\u0012\u0013\u0012\u00110\u0004¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b(\u0003\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0+H\u0086\bø\u0001\u0000¢\u0006\u0002\u00103\u001a$\u00104\u001a\u00020\u0002*\u00020\u00022\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000\u001a$\u00104\u001a\u00020%*\u00020%2\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000\u001a?\u00105\u001a\u0002H/\"\f\b\u0000\u0010/*\u000600j\u0002`1*\u00020\u00022\u0006\u00102\u001a\u0002H/2\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000¢\u0006\u0002\u00106\u001a?\u00107\u001a\u0002H/\"\f\b\u0000\u0010/*\u000600j\u0002`1*\u00020\u00022\u0006\u00102\u001a\u0002H/2\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000¢\u0006\u0002\u00106\u001a\u0012\u00108\u001a\u00020\u0002*\u00020\u00022\u0006\u00109\u001a\u00020:\u001a\u0012\u00108\u001a\u00020%*\u00020%2\u0006\u00109\u001a\u00020:\u001a\u0018\u00108\u001a\u00020\u0002*\u00020\u00022\f\u00109\u001a\b\u0012\u0004\u0012\u00020\u00040;\u001a\u001b\u00108\u001a\u00020%*\u00020%2\f\u00109\u001a\b\u0012\u0004\u0012\u00020\u00040;H\u0087\b\u001a\u0012\u0010<\u001a\u00020\u0002*\u00020\u00022\u0006\u0010$\u001a\u00020\u0004\u001a\u0012\u0010<\u001a\u00020%*\u00020%2\u0006\u0010$\u001a\u00020\u0004\u001a\u0012\u0010=\u001a\u00020\u0002*\u00020\u00022\u0006\u0010$\u001a\u00020\u0004\u001a\u0012\u0010=\u001a\u00020%*\u00020%2\u0006\u0010$\u001a\u00020\u0004\u001a$\u0010>\u001a\u00020\u0002*\u00020\u00022\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000\u001a$\u0010>\u001a\u00020%*\u00020%2\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000\u001a$\u0010?\u001a\u00020\u0002*\u00020\u00022\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000\u001a$\u0010?\u001a\u00020%*\u00020%2\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000\u001a\n\u0010@\u001a\u00020\u0002*\u00020\u0002\u001a\r\u0010@\u001a\u00020%*\u00020%H\u0087\b\u001aH\u0010A\u001a\u000e\u0012\u0004\u0012\u0002HC\u0012\u0004\u0012\u0002HD0B\"\u0004\b\u0000\u0010C\"\u0004\b\u0001\u0010D*\u00020\u00022\u001e\u0010\u0012\u001a\u001a\u0012\u0004\u0012\u00020\u0001\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002HC\u0012\u0004\u0012\u0002HD0E0\u0006H\u0086\bø\u0001\u0000\u001a6\u0010F\u001a\u000e\u0012\u0004\u0012\u0002HC\u0012\u0004\u0012\u00020\u00010B\"\u0004\b\u0000\u0010C*\u00020\u00022\u0012\u0010G\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002HC0\u0006H\u0086\bø\u0001\u0000\u001aP\u0010F\u001a\u000e\u0012\u0004\u0012\u0002HC\u0012\u0004\u0012\u0002HD0B\"\u0004\b\u0000\u0010C\"\u0004\b\u0001\u0010D*\u00020\u00022\u0012\u0010G\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002HC0\u00062\u0012\u0010H\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002HD0\u0006H\u0086\bø\u0001\u0000\u001aQ\u0010I\u001a\u0002HJ\"\u0004\b\u0000\u0010C\"\u0018\b\u0001\u0010J*\u0012\u0012\u0006\b\u0000\u0012\u0002HC\u0012\u0006\b\u0000\u0012\u00020\u00010K*\u00020\u00022\u0006\u00102\u001a\u0002HJ2\u0012\u0010G\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002HC0\u0006H\u0086\bø\u0001\u0000¢\u0006\u0002\u0010L\u001ak\u0010I\u001a\u0002HJ\"\u0004\b\u0000\u0010C\"\u0004\b\u0001\u0010D\"\u0018\b\u0002\u0010J*\u0012\u0012\u0006\b\u0000\u0012\u0002HC\u0012\u0006\b\u0000\u0012\u0002HD0K*\u00020\u00022\u0006\u00102\u001a\u0002HJ2\u0012\u0010G\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002HC0\u00062\u0012\u0010H\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002HD0\u0006H\u0086\bø\u0001\u0000¢\u0006\u0002\u0010M\u001ac\u0010N\u001a\u0002HJ\"\u0004\b\u0000\u0010C\"\u0004\b\u0001\u0010D\"\u0018\b\u0002\u0010J*\u0012\u0012\u0006\b\u0000\u0012\u0002HC\u0012\u0006\b\u0000\u0012\u0002HD0K*\u00020\u00022\u0006\u00102\u001a\u0002HJ2\u001e\u0010\u0012\u001a\u001a\u0012\u0004\u0012\u00020\u0001\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002HC\u0012\u0004\u0012\u0002HD0E0\u0006H\u0086\bø\u0001\u0000¢\u0006\u0002\u0010L\u001a6\u0010O\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002HD0B\"\u0004\b\u0000\u0010D*\u00020\u00022\u0012\u0010P\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002HD0\u0006H\u0087\bø\u0001\u0000\u001aQ\u0010Q\u001a\u0002HJ\"\u0004\b\u0000\u0010D\"\u0018\b\u0001\u0010J*\u0012\u0012\u0006\b\u0000\u0012\u00020\u0001\u0012\u0006\b\u0000\u0012\u0002HD0K*\u00020\u00022\u0006\u00102\u001a\u0002HJ2\u0012\u0010P\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002HD0\u0006H\u0087\bø\u0001\u0000¢\u0006\u0002\u0010L\u001a)\u0010R\u001a\u0002H/\"\u0010\b\u0000\u0010/*\n\u0012\u0006\b\u0000\u0012\u00020\u00010S*\u00020\u00022\u0006\u00102\u001a\u0002H/¢\u0006\u0002\u0010T\u001a\u001f\u0010U\u001a\u0012\u0012\u0004\u0012\u00020\u00010Vj\b\u0012\u0004\u0012\u00020\u0001`W*\u00020\u0002¢\u0006\u0002\u0010X\u001a\u0010\u0010Y\u001a\b\u0012\u0004\u0012\u00020\u00010Z*\u00020\u0002\u001a\u0010\u0010[\u001a\b\u0012\u0004\u0012\u00020\u00010\\*\u00020\u0002\u001a\u0010\u0010]\u001a\b\u0012\u0004\u0012\u00020\u00010^*\u00020\u0002\u001a6\u0010_\u001a\b\u0012\u0004\u0012\u0002H\u00100Z\"\u0004\b\u0000\u0010\u0010*\u00020\u00022\u0018\u0010\u0012\u001a\u0014\u0012\u0004\u0012\u00020\u0001\u0012\n\u0012\b\u0012\u0004\u0012\u0002H\u00100;0\u0006H\u0086\bø\u0001\u0000\u001aP\u0010`\u001a\b\u0012\u0004\u0012\u0002H\u00100Z\"\u0004\b\u0000\u0010\u0010*\u00020\u00022-\u0010\u0012\u001a)\u0012\u0013\u0012\u00110\u0004¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b(\u0003\u0012\u0004\u0012\u00020\u0001\u0012\n\u0012\b\u0012\u0004\u0012\u0002H\u00100;0+H\u0087\bø\u0001\u0000¢\u0006\u0002\ba\u001af\u0010b\u001a\u0002H/\"\u0004\b\u0000\u0010\u0010\"\u0010\b\u0001\u0010/*\n\u0012\u0006\b\u0000\u0012\u0002H\u00100S*\u00020\u00022\u0006\u00102\u001a\u0002H/2-\u0010\u0012\u001a)\u0012\u0013\u0012\u00110\u0004¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b(\u0003\u0012\u0004\u0012\u00020\u0001\u0012\n\u0012\b\u0012\u0004\u0012\u0002H\u00100;0+H\u0087\bø\u0001\u0000¢\u0006\u0004\bc\u0010d\u001aO\u0010e\u001a\u0002H/\"\u0004\b\u0000\u0010\u0010\"\u0010\b\u0001\u0010/*\n\u0012\u0006\b\u0000\u0012\u0002H\u00100S*\u00020\u00022\u0006\u00102\u001a\u0002H/2\u0018\u0010\u0012\u001a\u0014\u0012\u0004\u0012\u00020\u0001\u0012\n\u0012\b\u0012\u0004\u0012\u0002H\u00100;0\u0006H\u0086\bø\u0001\u0000¢\u0006\u0002\u0010f\u001a<\u0010g\u001a\u0014\u0012\u0004\u0012\u0002HC\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00010Z0B\"\u0004\b\u0000\u0010C*\u00020\u00022\u0012\u0010G\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002HC0\u0006H\u0086\bø\u0001\u0000\u001aV\u0010g\u001a\u0014\u0012\u0004\u0012\u0002HC\u0012\n\u0012\b\u0012\u0004\u0012\u0002HD0Z0B\"\u0004\b\u0000\u0010C\"\u0004\b\u0001\u0010D*\u00020\u00022\u0012\u0010G\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002HC0\u00062\u0012\u0010H\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002HD0\u0006H\u0086\bø\u0001\u0000\u001aU\u0010h\u001a\u0002HJ\"\u0004\b\u0000\u0010C\"\u001c\b\u0001\u0010J*\u0016\u0012\u0006\b\u0000\u0012\u0002HC\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00010\\0K*\u00020\u00022\u0006\u00102\u001a\u0002HJ2\u0012\u0010G\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002HC0\u0006H\u0086\bø\u0001\u0000¢\u0006\u0002\u0010L\u001ao\u0010h\u001a\u0002HJ\"\u0004\b\u0000\u0010C\"\u0004\b\u0001\u0010D\"\u001c\b\u0002\u0010J*\u0016\u0012\u0006\b\u0000\u0012\u0002HC\u0012\n\u0012\b\u0012\u0004\u0012\u0002HD0\\0K*\u00020\u00022\u0006\u00102\u001a\u0002HJ2\u0012\u0010G\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002HC0\u00062\u0012\u0010H\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002HD0\u0006H\u0086\bø\u0001\u0000¢\u0006\u0002\u0010M\u001a8\u0010i\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002HC0j\"\u0004\b\u0000\u0010C*\u00020\u00022\u0014\b\u0004\u0010G\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002HC0\u0006H\u0087\bø\u0001\u0000\u001a0\u0010k\u001a\b\u0012\u0004\u0012\u0002H\u00100Z\"\u0004\b\u0000\u0010\u0010*\u00020\u00022\u0012\u0010\u0012\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002H\u00100\u0006H\u0086\bø\u0001\u0000\u001aE\u0010l\u001a\b\u0012\u0004\u0012\u0002H\u00100Z\"\u0004\b\u0000\u0010\u0010*\u00020\u00022'\u0010\u0012\u001a#\u0012\u0013\u0012\u00110\u0004¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b(\u0003\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002H\u00100+H\u0086\bø\u0001\u0000\u001aK\u0010m\u001a\b\u0012\u0004\u0012\u0002H\u00100Z\"\b\b\u0000\u0010\u0010*\u00020\u0011*\u00020\u00022)\u0010\u0012\u001a%\u0012\u0013\u0012\u00110\u0004¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b(\u0003\u0012\u0004\u0012\u00020\u0001\u0012\u0006\u0012\u0004\u0018\u0001H\u00100+H\u0086\bø\u0001\u0000\u001ad\u0010n\u001a\u0002H/\"\b\b\u0000\u0010\u0010*\u00020\u0011\"\u0010\b\u0001\u0010/*\n\u0012\u0006\b\u0000\u0012\u0002H\u00100S*\u00020\u00022\u0006\u00102\u001a\u0002H/2)\u0010\u0012\u001a%\u0012\u0013\u0012\u00110\u0004¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b(\u0003\u0012\u0004\u0012\u00020\u0001\u0012\u0006\u0012\u0004\u0018\u0001H\u00100+H\u0086\bø\u0001\u0000¢\u0006\u0002\u0010d\u001a^\u0010o\u001a\u0002H/\"\u0004\b\u0000\u0010\u0010\"\u0010\b\u0001\u0010/*\n\u0012\u0006\b\u0000\u0012\u0002H\u00100S*\u00020\u00022\u0006\u00102\u001a\u0002H/2'\u0010\u0012\u001a#\u0012\u0013\u0012\u00110\u0004¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b(\u0003\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002H\u00100+H\u0086\bø\u0001\u0000¢\u0006\u0002\u0010d\u001a6\u0010p\u001a\b\u0012\u0004\u0012\u0002H\u00100Z\"\b\b\u0000\u0010\u0010*\u00020\u0011*\u00020\u00022\u0014\u0010\u0012\u001a\u0010\u0012\u0004\u0012\u00020\u0001\u0012\u0006\u0012\u0004\u0018\u0001H\u00100\u0006H\u0086\bø\u0001\u0000\u001aO\u0010q\u001a\u0002H/\"\b\b\u0000\u0010\u0010*\u00020\u0011\"\u0010\b\u0001\u0010/*\n\u0012\u0006\b\u0000\u0012\u0002H\u00100S*\u00020\u00022\u0006\u00102\u001a\u0002H/2\u0014\u0010\u0012\u001a\u0010\u0012\u0004\u0012\u00020\u0001\u0012\u0006\u0012\u0004\u0018\u0001H\u00100\u0006H\u0086\bø\u0001\u0000¢\u0006\u0002\u0010f\u001aI\u0010r\u001a\u0002H/\"\u0004\b\u0000\u0010\u0010\"\u0010\b\u0001\u0010/*\n\u0012\u0006\b\u0000\u0012\u0002H\u00100S*\u00020\u00022\u0006\u00102\u001a\u0002H/2\u0012\u0010\u0012\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002H\u00100\u0006H\u0086\bø\u0001\u0000¢\u0006\u0002\u0010f\u001a\u0016\u0010s\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00010t0;*\u00020\u0002\u001a$\u0010u\u001a\u00020\u000b*\u00020\u00022\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000\u001a\n\u0010v\u001a\u00020\u000b*\u00020\u0002\u001a$\u0010v\u001a\u00020\u000b*\u00020\u00022\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000\u001a\r\u0010w\u001a\u00020\u0004*\u00020\u0002H\u0087\b\u001a$\u0010w\u001a\u00020\u0004*\u00020\u00022\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000\u001aL\u0010x\u001a\u0002H\u0010\"\u0004\b\u0000\u0010\u0010*\u00020\u00022\u0006\u0010y\u001a\u0002H\u00102'\u0010z\u001a#\u0012\u0013\u0012\u0011H\u0010¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b({\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002H\u00100+H\u0086\bø\u0001\u0000¢\u0006\u0002\u0010|\u001aa\u0010}\u001a\u0002H\u0010\"\u0004\b\u0000\u0010\u0010*\u00020\u00022\u0006\u0010y\u001a\u0002H\u00102<\u0010z\u001a8\u0012\u0013\u0012\u00110\u0004¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b(\u0003\u0012\u0013\u0012\u0011H\u0010¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b({\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002H\u00100~H\u0086\bø\u0001\u0000¢\u0006\u0002\u0010\u007f\u001aM\u0010\u0080\u0001\u001a\u0002H\u0010\"\u0004\b\u0000\u0010\u0010*\u00020\u00022\u0006\u0010y\u001a\u0002H\u00102'\u0010z\u001a#\u0012\u0004\u0012\u00020\u0001\u0012\u0013\u0012\u0011H\u0010¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b({\u0012\u0004\u0012\u0002H\u00100+H\u0086\bø\u0001\u0000¢\u0006\u0002\u0010|\u001ab\u0010\u0081\u0001\u001a\u0002H\u0010\"\u0004\b\u0000\u0010\u0010*\u00020\u00022\u0006\u0010y\u001a\u0002H\u00102<\u0010z\u001a8\u0012\u0013\u0012\u00110\u0004¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b(\u0003\u0012\u0004\u0012\u00020\u0001\u0012\u0013\u0012\u0011H\u0010¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b({\u0012\u0004\u0012\u0002H\u00100~H\u0086\bø\u0001\u0000¢\u0006\u0002\u0010\u007f\u001a(\u0010\u0082\u0001\u001a\u00030\u0083\u0001*\u00020\u00022\u0014\u0010\u0084\u0001\u001a\u000f\u0012\u0004\u0012\u00020\u0001\u0012\u0005\u0012\u00030\u0083\u00010\u0006H\u0086\bø\u0001\u0000\u001a=\u0010\u0085\u0001\u001a\u00030\u0083\u0001*\u00020\u00022)\u0010\u0084\u0001\u001a$\u0012\u0013\u0012\u00110\u0004¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b(\u0003\u0012\u0004\u0012\u00020\u0001\u0012\u0005\u0012\u00030\u0083\u00010+H\u0086\bø\u0001\u0000\u001a\u0013\u0010\u0086\u0001\u001a\u00020\u0001*\u00020\u0002H\u0007¢\u0006\u0003\b\u0087\u0001\u001a=\u0010\u0088\u0001\u001a\u00020\u0001\"\u000f\b\u0000\u0010\u0010*\t\u0012\u0004\u0012\u0002H\u00100\u0089\u0001*\u00020\u00022\u0013\u0010\u008a\u0001\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002H\u00100\u0006H\u0087\bø\u0001\u0000¢\u0006\u0003\b\u008b\u0001\u001a>\u0010\u008c\u0001\u001a\u0004\u0018\u00010\u0001\"\u000f\b\u0000\u0010\u0010*\t\u0012\u0004\u0012\u0002H\u00100\u0089\u0001*\u00020\u00022\u0013\u0010\u008a\u0001\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002H\u00100\u0006H\u0087\bø\u0001\u0000¢\u0006\u0002\u0010\f\u001a(\u0010\u008d\u0001\u001a\u00030\u008e\u0001*\u00020\u00022\u0014\u0010\u008a\u0001\u001a\u000f\u0012\u0004\u0012\u00020\u0001\u0012\u0005\u0012\u00030\u008e\u00010\u0006H\u0087\bø\u0001\u0000\u001a(\u0010\u008d\u0001\u001a\u00030\u008f\u0001*\u00020\u00022\u0014\u0010\u008a\u0001\u001a\u000f\u0012\u0004\u0012\u00020\u0001\u0012\u0005\u0012\u00030\u008f\u00010\u0006H\u0087\bø\u0001\u0000\u001a=\u0010\u008d\u0001\u001a\u0002H\u0010\"\u000f\b\u0000\u0010\u0010*\t\u0012\u0004\u0012\u0002H\u00100\u0089\u0001*\u00020\u00022\u0013\u0010\u008a\u0001\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002H\u00100\u0006H\u0087\bø\u0001\u0000¢\u0006\u0003\u0010\u0090\u0001\u001a0\u0010\u0091\u0001\u001a\u0005\u0018\u00010\u008e\u0001*\u00020\u00022\u0014\u0010\u008a\u0001\u001a\u000f\u0012\u0004\u0012\u00020\u0001\u0012\u0005\u0012\u00030\u008e\u00010\u0006H\u0087\bø\u0001\u0000¢\u0006\u0003\u0010\u0092\u0001\u001a0\u0010\u0091\u0001\u001a\u0005\u0018\u00010\u008f\u0001*\u00020\u00022\u0014\u0010\u008a\u0001\u001a\u000f\u0012\u0004\u0012\u00020\u0001\u0012\u0005\u0012\u00030\u008f\u00010\u0006H\u0087\bø\u0001\u0000¢\u0006\u0003\u0010\u0093\u0001\u001a?\u0010\u0091\u0001\u001a\u0004\u0018\u0001H\u0010\"\u000f\b\u0000\u0010\u0010*\t\u0012\u0004\u0012\u0002H\u00100\u0089\u0001*\u00020\u00022\u0013\u0010\u008a\u0001\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002H\u00100\u0006H\u0087\bø\u0001\u0000¢\u0006\u0003\u0010\u0090\u0001\u001aQ\u0010\u0094\u0001\u001a\u0002H\u0010\"\u0004\b\u0000\u0010\u0010*\u00020\u00022\u001d\u0010\u0095\u0001\u001a\u0018\u0012\u0006\b\u0000\u0012\u0002H\u00100\u0096\u0001j\u000b\u0012\u0006\b\u0000\u0012\u0002H\u0010`\u0097\u00012\u0013\u0010\u008a\u0001\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002H\u00100\u0006H\u0087\bø\u0001\u0000¢\u0006\u0003\u0010\u0098\u0001\u001aS\u0010\u0099\u0001\u001a\u0004\u0018\u0001H\u0010\"\u0004\b\u0000\u0010\u0010*\u00020\u00022\u001d\u0010\u0095\u0001\u001a\u0018\u0012\u0006\b\u0000\u0012\u0002H\u00100\u0096\u0001j\u000b\u0012\u0006\b\u0000\u0012\u0002H\u0010`\u0097\u00012\u0013\u0010\u008a\u0001\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002H\u00100\u0006H\u0087\bø\u0001\u0000¢\u0006\u0003\u0010\u0098\u0001\u001a\u0014\u0010\u009a\u0001\u001a\u0004\u0018\u00010\u0001*\u00020\u0002H\u0007¢\u0006\u0002\u0010\u0016\u001a5\u0010\u009b\u0001\u001a\u00020\u0001*\u00020\u00022\u001d\u0010\u0095\u0001\u001a\u0018\u0012\u0006\b\u0000\u0012\u00020\u00010\u0096\u0001j\u000b\u0012\u0006\b\u0000\u0012\u00020\u0001`\u0097\u0001H\u0007¢\u0006\u0006\b\u009c\u0001\u0010\u009d\u0001\u001a4\u0010\u009e\u0001\u001a\u0004\u0018\u00010\u0001*\u00020\u00022\u001d\u0010\u0095\u0001\u001a\u0018\u0012\u0006\b\u0000\u0012\u00020\u00010\u0096\u0001j\u000b\u0012\u0006\b\u0000\u0012\u00020\u0001`\u0097\u0001H\u0007¢\u0006\u0003\u0010\u009f\u0001\u001a\u0013\u0010 \u0001\u001a\u00020\u0001*\u00020\u0002H\u0007¢\u0006\u0003\b¡\u0001\u001a=\u0010¢\u0001\u001a\u00020\u0001\"\u000f\b\u0000\u0010\u0010*\t\u0012\u0004\u0012\u0002H\u00100\u0089\u0001*\u00020\u00022\u0013\u0010\u008a\u0001\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002H\u00100\u0006H\u0087\bø\u0001\u0000¢\u0006\u0003\b£\u0001\u001a>\u0010¤\u0001\u001a\u0004\u0018\u00010\u0001\"\u000f\b\u0000\u0010\u0010*\t\u0012\u0004\u0012\u0002H\u00100\u0089\u0001*\u00020\u00022\u0013\u0010\u008a\u0001\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002H\u00100\u0006H\u0087\bø\u0001\u0000¢\u0006\u0002\u0010\f\u001a(\u0010¥\u0001\u001a\u00030\u008e\u0001*\u00020\u00022\u0014\u0010\u008a\u0001\u001a\u000f\u0012\u0004\u0012\u00020\u0001\u0012\u0005\u0012\u00030\u008e\u00010\u0006H\u0087\bø\u0001\u0000\u001a(\u0010¥\u0001\u001a\u00030\u008f\u0001*\u00020\u00022\u0014\u0010\u008a\u0001\u001a\u000f\u0012\u0004\u0012\u00020\u0001\u0012\u0005\u0012\u00030\u008f\u00010\u0006H\u0087\bø\u0001\u0000\u001a=\u0010¥\u0001\u001a\u0002H\u0010\"\u000f\b\u0000\u0010\u0010*\t\u0012\u0004\u0012\u0002H\u00100\u0089\u0001*\u00020\u00022\u0013\u0010\u008a\u0001\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002H\u00100\u0006H\u0087\bø\u0001\u0000¢\u0006\u0003\u0010\u0090\u0001\u001a0\u0010¦\u0001\u001a\u0005\u0018\u00010\u008e\u0001*\u00020\u00022\u0014\u0010\u008a\u0001\u001a\u000f\u0012\u0004\u0012\u00020\u0001\u0012\u0005\u0012\u00030\u008e\u00010\u0006H\u0087\bø\u0001\u0000¢\u0006\u0003\u0010\u0092\u0001\u001a0\u0010¦\u0001\u001a\u0005\u0018\u00010\u008f\u0001*\u00020\u00022\u0014\u0010\u008a\u0001\u001a\u000f\u0012\u0004\u0012\u00020\u0001\u0012\u0005\u0012\u00030\u008f\u00010\u0006H\u0087\bø\u0001\u0000¢\u0006\u0003\u0010\u0093\u0001\u001a?\u0010¦\u0001\u001a\u0004\u0018\u0001H\u0010\"\u000f\b\u0000\u0010\u0010*\t\u0012\u0004\u0012\u0002H\u00100\u0089\u0001*\u00020\u00022\u0013\u0010\u008a\u0001\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002H\u00100\u0006H\u0087\bø\u0001\u0000¢\u0006\u0003\u0010\u0090\u0001\u001aQ\u0010§\u0001\u001a\u0002H\u0010\"\u0004\b\u0000\u0010\u0010*\u00020\u00022\u001d\u0010\u0095\u0001\u001a\u0018\u0012\u0006\b\u0000\u0012\u0002H\u00100\u0096\u0001j\u000b\u0012\u0006\b\u0000\u0012\u0002H\u0010`\u0097\u00012\u0013\u0010\u008a\u0001\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002H\u00100\u0006H\u0087\bø\u0001\u0000¢\u0006\u0003\u0010\u0098\u0001\u001aS\u0010¨\u0001\u001a\u0004\u0018\u0001H\u0010\"\u0004\b\u0000\u0010\u0010*\u00020\u00022\u001d\u0010\u0095\u0001\u001a\u0018\u0012\u0006\b\u0000\u0012\u0002H\u00100\u0096\u0001j\u000b\u0012\u0006\b\u0000\u0012\u0002H\u0010`\u0097\u00012\u0013\u0010\u008a\u0001\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002H\u00100\u0006H\u0087\bø\u0001\u0000¢\u0006\u0003\u0010\u0098\u0001\u001a\u0014\u0010©\u0001\u001a\u0004\u0018\u00010\u0001*\u00020\u0002H\u0007¢\u0006\u0002\u0010\u0016\u001a5\u0010ª\u0001\u001a\u00020\u0001*\u00020\u00022\u001d\u0010\u0095\u0001\u001a\u0018\u0012\u0006\b\u0000\u0012\u00020\u00010\u0096\u0001j\u000b\u0012\u0006\b\u0000\u0012\u00020\u0001`\u0097\u0001H\u0007¢\u0006\u0006\b«\u0001\u0010\u009d\u0001\u001a4\u0010¬\u0001\u001a\u0004\u0018\u00010\u0001*\u00020\u00022\u001d\u0010\u0095\u0001\u001a\u0018\u0012\u0006\b\u0000\u0012\u00020\u00010\u0096\u0001j\u000b\u0012\u0006\b\u0000\u0012\u00020\u0001`\u0097\u0001H\u0007¢\u0006\u0003\u0010\u009f\u0001\u001a\u000b\u0010\u00ad\u0001\u001a\u00020\u000b*\u00020\u0002\u001a%\u0010\u00ad\u0001\u001a\u00020\u000b*\u00020\u00022\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000\u001a:\u0010®\u0001\u001a\u0003H¯\u0001\"\t\b\u0000\u0010¯\u0001*\u00020\u0002*\u0003H¯\u00012\u0014\u0010\u0084\u0001\u001a\u000f\u0012\u0004\u0012\u00020\u0001\u0012\u0005\u0012\u00030\u0083\u00010\u0006H\u0087\bø\u0001\u0000¢\u0006\u0003\u0010°\u0001\u001aO\u0010±\u0001\u001a\u0003H¯\u0001\"\t\b\u0000\u0010¯\u0001*\u00020\u0002*\u0003H¯\u00012)\u0010\u0084\u0001\u001a$\u0012\u0013\u0012\u00110\u0004¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b(\u0003\u0012\u0004\u0012\u00020\u0001\u0012\u0005\u0012\u00030\u0083\u00010+H\u0087\bø\u0001\u0000¢\u0006\u0003\u0010²\u0001\u001a:\u0010³\u0001\u001a\u00020\u0001*\u00020\u00022'\u0010z\u001a#\u0012\u0013\u0012\u00110\u0001¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b({\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u00010+H\u0086\bø\u0001\u0000\u001aO\u0010´\u0001\u001a\u00020\u0001*\u00020\u00022<\u0010z\u001a8\u0012\u0013\u0012\u00110\u0004¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b(\u0003\u0012\u0013\u0012\u00110\u0001¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b({\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u00010~H\u0086\bø\u0001\u0000\u001aW\u0010µ\u0001\u001a\u0004\u0018\u00010\u0001*\u00020\u00022<\u0010z\u001a8\u0012\u0013\u0012\u00110\u0004¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b(\u0003\u0012\u0013\u0012\u00110\u0001¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b({\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u00010~H\u0087\bø\u0001\u0000¢\u0006\u0003\u0010¶\u0001\u001aB\u0010·\u0001\u001a\u0004\u0018\u00010\u0001*\u00020\u00022'\u0010z\u001a#\u0012\u0013\u0012\u00110\u0001¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b({\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u00010+H\u0087\bø\u0001\u0000¢\u0006\u0003\u0010¸\u0001\u001a:\u0010¹\u0001\u001a\u00020\u0001*\u00020\u00022'\u0010z\u001a#\u0012\u0004\u0012\u00020\u0001\u0012\u0013\u0012\u00110\u0001¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b({\u0012\u0004\u0012\u00020\u00010+H\u0086\bø\u0001\u0000\u001aO\u0010º\u0001\u001a\u00020\u0001*\u00020\u00022<\u0010z\u001a8\u0012\u0013\u0012\u00110\u0004¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b(\u0003\u0012\u0004\u0012\u00020\u0001\u0012\u0013\u0012\u00110\u0001¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b({\u0012\u0004\u0012\u00020\u00010~H\u0086\bø\u0001\u0000\u001aW\u0010»\u0001\u001a\u0004\u0018\u00010\u0001*\u00020\u00022<\u0010z\u001a8\u0012\u0013\u0012\u00110\u0004¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b(\u0003\u0012\u0004\u0012\u00020\u0001\u0012\u0013\u0012\u00110\u0001¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b({\u0012\u0004\u0012\u00020\u00010~H\u0087\bø\u0001\u0000¢\u0006\u0003\u0010¶\u0001\u001aB\u0010¼\u0001\u001a\u0004\u0018\u00010\u0001*\u00020\u00022'\u0010z\u001a#\u0012\u0004\u0012\u00020\u0001\u0012\u0013\u0012\u00110\u0001¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b({\u0012\u0004\u0012\u00020\u00010+H\u0087\bø\u0001\u0000¢\u0006\u0003\u0010¸\u0001\u001aT\u0010½\u0001\u001a\b\u0012\u0004\u0012\u0002H\u00100Z\"\u0004\b\u0000\u0010\u0010*\u00020\u00022\u0006\u0010y\u001a\u0002H\u00102'\u0010z\u001a#\u0012\u0013\u0012\u0011H\u0010¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b({\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002H\u00100+H\u0087\bø\u0001\u0000¢\u0006\u0003\u0010¾\u0001\u001ai\u0010¿\u0001\u001a\b\u0012\u0004\u0012\u0002H\u00100Z\"\u0004\b\u0000\u0010\u0010*\u00020\u00022\u0006\u0010y\u001a\u0002H\u00102<\u0010z\u001a8\u0012\u0013\u0012\u00110\u0004¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b(\u0003\u0012\u0013\u0012\u0011H\u0010¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b({\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002H\u00100~H\u0087\bø\u0001\u0000¢\u0006\u0003\u0010À\u0001\u001a@\u0010Á\u0001\u001a\b\u0012\u0004\u0012\u00020\u00010Z*\u00020\u00022'\u0010z\u001a#\u0012\u0013\u0012\u00110\u0001¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b({\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u00010+H\u0087\bø\u0001\u0000\u001aU\u0010Â\u0001\u001a\b\u0012\u0004\u0012\u00020\u00010Z*\u00020\u00022<\u0010z\u001a8\u0012\u0013\u0012\u00110\u0004¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b(\u0003\u0012\u0013\u0012\u00110\u0001¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b({\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u00010~H\u0087\bø\u0001\u0000\u001aT\u0010Ã\u0001\u001a\b\u0012\u0004\u0012\u0002H\u00100Z\"\u0004\b\u0000\u0010\u0010*\u00020\u00022\u0006\u0010y\u001a\u0002H\u00102'\u0010z\u001a#\u0012\u0013\u0012\u0011H\u0010¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b({\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002H\u00100+H\u0087\bø\u0001\u0000¢\u0006\u0003\u0010¾\u0001\u001ai\u0010Ä\u0001\u001a\b\u0012\u0004\u0012\u0002H\u00100Z\"\u0004\b\u0000\u0010\u0010*\u00020\u00022\u0006\u0010y\u001a\u0002H\u00102<\u0010z\u001a8\u0012\u0013\u0012\u00110\u0004¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b(\u0003\u0012\u0013\u0012\u0011H\u0010¢\u0006\f\b,\u0012\b\b-\u0012\u0004\b\b({\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002H\u00100~H\u0087\bø\u0001\u0000¢\u0006\u0003\u0010À\u0001\u001a&\u0010Å\u0001\u001a\u00020\u0004*\u00020\u00022\u0013\u0010\u008a\u0001\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u00040\u0006H\u0087\bø\u0001\u0000\u001a(\u0010Æ\u0001\u001a\u00030\u008e\u0001*\u00020\u00022\u0014\u0010\u008a\u0001\u001a\u000f\u0012\u0004\u0012\u00020\u0001\u0012\u0005\u0012\u00030\u008e\u00010\u0006H\u0087\bø\u0001\u0000\u001a.\u0010Ç\u0001\u001a\u00030\u008e\u0001*\u00020\u00022\u0014\u0010\u008a\u0001\u001a\u000f\u0012\u0004\u0012\u00020\u0001\u0012\u0005\u0012\u00030\u008e\u00010\u0006H\u0087\bø\u0001\u0000¢\u0006\u0003\bÈ\u0001\u001a,\u0010Ç\u0001\u001a\u00020\u0004*\u00020\u00022\u0013\u0010\u008a\u0001\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u00040\u0006H\u0087\bø\u0001\u0000¢\u0006\u0003\bÉ\u0001\u001a.\u0010Ç\u0001\u001a\u00030Ê\u0001*\u00020\u00022\u0014\u0010\u008a\u0001\u001a\u000f\u0012\u0004\u0012\u00020\u0001\u0012\u0005\u0012\u00030Ê\u00010\u0006H\u0087\bø\u0001\u0000¢\u0006\u0003\bË\u0001\u001a1\u0010Ç\u0001\u001a\u00030Ì\u0001*\u00020\u00022\u0014\u0010\u008a\u0001\u001a\u000f\u0012\u0004\u0012\u00020\u0001\u0012\u0005\u0012\u00030Ì\u00010\u0006H\u0087\bø\u0001\u0000¢\u0006\u0006\bÍ\u0001\u0010Î\u0001\u001a1\u0010Ç\u0001\u001a\u00030Ï\u0001*\u00020\u00022\u0014\u0010\u008a\u0001\u001a\u000f\u0012\u0004\u0012\u00020\u0001\u0012\u0005\u0012\u00030Ï\u00010\u0006H\u0087\bø\u0001\u0000¢\u0006\u0006\bÐ\u0001\u0010Ñ\u0001\u001a\u001c\u0010Ò\u0001\u001a\b\u0012\u0004\u0012\u00020%0Z*\u00020\u00022\u0007\u0010Ó\u0001\u001a\u00020\u0004H\u0007\u001a6\u0010Ò\u0001\u001a\b\u0012\u0004\u0012\u0002H\u00100Z\"\u0004\b\u0000\u0010\u0010*\u00020\u00022\u0007\u0010Ó\u0001\u001a\u00020\u00042\u0012\u0010\u0012\u001a\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u0002H\u00100\u0006H\u0007\u001a\u001d\u0010Ô\u0001\u001a\t\u0012\u0004\u0012\u00020%0Õ\u0001*\u00020\u00022\u0007\u0010Ó\u0001\u001a\u00020\u0004H\u0007\u001a7\u0010Ô\u0001\u001a\t\u0012\u0004\u0012\u0002H\u00100Õ\u0001\"\u0004\b\u0000\u0010\u0010*\u00020\u00022\u0007\u0010Ó\u0001\u001a\u00020\u00042\u0012\u0010\u0012\u001a\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u0002H\u00100\u0006H\u0007\u001a1\u0010Ö\u0001\u001a\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00020E*\u00020\u00022\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000\u001a1\u0010Ö\u0001\u001a\u000e\u0012\u0004\u0012\u00020%\u0012\u0004\u0012\u00020%0E*\u00020%2\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u000b0\u0006H\u0086\bø\u0001\u0000\u001a2\u0010×\u0001\u001a\b\u0012\u0004\u0012\u00020%0Z*\u00020\u00022\u0007\u0010Ó\u0001\u001a\u00020\u00042\t\b\u0002\u0010Ø\u0001\u001a\u00020\u00042\t\b\u0002\u0010Ù\u0001\u001a\u00020\u000bH\u0007\u001aL\u0010×\u0001\u001a\b\u0012\u0004\u0012\u0002H\u00100Z\"\u0004\b\u0000\u0010\u0010*\u00020\u00022\u0007\u0010Ó\u0001\u001a\u00020\u00042\t\b\u0002\u0010Ø\u0001\u001a\u00020\u00042\t\b\u0002\u0010Ù\u0001\u001a\u00020\u000b2\u0012\u0010\u0012\u001a\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u0002H\u00100\u0006H\u0007\u001a3\u0010Ú\u0001\u001a\t\u0012\u0004\u0012\u00020%0Õ\u0001*\u00020\u00022\u0007\u0010Ó\u0001\u001a\u00020\u00042\t\b\u0002\u0010Ø\u0001\u001a\u00020\u00042\t\b\u0002\u0010Ù\u0001\u001a\u00020\u000bH\u0007\u001aM\u0010Ú\u0001\u001a\t\u0012\u0004\u0012\u0002H\u00100Õ\u0001\"\u0004\b\u0000\u0010\u0010*\u00020\u00022\u0007\u0010Ó\u0001\u001a\u00020\u00042\t\b\u0002\u0010Ø\u0001\u001a\u00020\u00042\t\b\u0002\u0010Ù\u0001\u001a\u00020\u000b2\u0012\u0010\u0012\u001a\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u0002H\u00100\u0006H\u0007\u001a)\u0010Û\u0001\u001a\u0014\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u00010E0Z*\u00020\u00022\u0007\u0010Ü\u0001\u001a\u00020\u0002H\u0086\u0004\u001a`\u0010Û\u0001\u001a\b\u0012\u0004\u0012\u0002HD0Z\"\u0004\b\u0000\u0010D*\u00020\u00022\u0007\u0010Ü\u0001\u001a\u00020\u000228\u0010\u0012\u001a4\u0012\u0014\u0012\u00120\u0001¢\u0006\r\b,\u0012\t\b-\u0012\u0005\b\b(Ý\u0001\u0012\u0014\u0012\u00120\u0001¢\u0006\r\b,\u0012\t\b-\u0012\u0005\b\b(Þ\u0001\u0012\u0004\u0012\u0002HD0+H\u0086\bø\u0001\u0000\u001a\u001f\u0010ß\u0001\u001a\u0014\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u00010E0Z*\u00020\u0002H\u0007\u001aW\u0010ß\u0001\u001a\b\u0012\u0004\u0012\u0002H\u00100Z\"\u0004\b\u0000\u0010\u0010*\u00020\u000228\u0010\u0012\u001a4\u0012\u0014\u0012\u00120\u0001¢\u0006\r\b,\u0012\t\b-\u0012\u0005\b\b(Ý\u0001\u0012\u0014\u0012\u00120\u0001¢\u0006\r\b,\u0012\t\b-\u0012\u0005\b\b(Þ\u0001\u0012\u0004\u0012\u0002H\u00100+H\u0087\bø\u0001\u0000\u001a\u0011\u0010à\u0001\u001a\b\u0012\u0004\u0012\u00020\u00010;*\u00020\u0002\u001a\u0012\u0010á\u0001\u001a\t\u0012\u0004\u0012\u00020\u00010Õ\u0001*\u00020\u0002\u0082\u0002\u0007\n\u0005\b\u009920\u0001¨\u0006â\u0001"}, d2 = {"elementAtOrElse", RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, "index", RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, "defaultValue", "Lkotlin/Function1;", "elementAtOrNull", "(Ljava/lang/CharSequence;I)Ljava/lang/Character;", "find", "predicate", RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, "(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Character;", "findLast", "first", "firstNotNullOf", "R", RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, "transform", "(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;", "firstNotNullOfOrNull", "firstOrNull", "(Ljava/lang/CharSequence;)Ljava/lang/Character;", "getOrElse", "getOrNull", "indexOfFirst", "indexOfLast", "last", "lastOrNull", "random", "Lkotlin/random/Random;", "randomOrNull", "(Ljava/lang/CharSequence;Lkotlin/random/Random;)Ljava/lang/Character;", "single", "singleOrNull", "drop", "n", RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, "dropLast", "dropLastWhile", "dropWhile", "filter", "filterIndexed", "Lkotlin/Function2;", "Lkotlin/ParameterName;", "name", "filterIndexedTo", "C", "Ljava/lang/Appendable;", "Lkotlin/text/Appendable;", "destination", "(Ljava/lang/CharSequence;Ljava/lang/Appendable;Lkotlin/jvm/functions/Function2;)Ljava/lang/Appendable;", "filterNot", "filterNotTo", "(Ljava/lang/CharSequence;Ljava/lang/Appendable;Lkotlin/jvm/functions/Function1;)Ljava/lang/Appendable;", "filterTo", "slice", "indices", "Lkotlin/ranges/IntRange;", RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, "take", "takeLast", "takeLastWhile", "takeWhile", "reversed", "associate", RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, "K", "V", "Lkotlin/Pair;", "associateBy", "keySelector", "valueTransform", "associateByTo", "M", RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, "(Ljava/lang/CharSequence;Ljava/util/Map;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;", "(Ljava/lang/CharSequence;Ljava/util/Map;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;", "associateTo", "associateWith", "valueSelector", "associateWithTo", "toCollection", RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, "(Ljava/lang/CharSequence;Ljava/util/Collection;)Ljava/util/Collection;", "toHashSet", "Ljava/util/HashSet;", "Lkotlin/collections/HashSet;", "(Ljava/lang/CharSequence;)Ljava/util/HashSet;", "toList", RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, "toMutableList", RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, "toSet", RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, "flatMap", "flatMapIndexed", "flatMapIndexedIterable", "flatMapIndexedTo", "flatMapIndexedIterableTo", "(Ljava/lang/CharSequence;Ljava/util/Collection;Lkotlin/jvm/functions/Function2;)Ljava/util/Collection;", "flatMapTo", "(Ljava/lang/CharSequence;Ljava/util/Collection;Lkotlin/jvm/functions/Function1;)Ljava/util/Collection;", "groupBy", "groupByTo", "groupingBy", "Lkotlin/collections/Grouping;", "map", "mapIndexed", "mapIndexedNotNull", "mapIndexedNotNullTo", "mapIndexedTo", "mapNotNull", "mapNotNullTo", "mapTo", "withIndex", "Lkotlin/collections/IndexedValue;", "all", "any", "count", "fold", "initial", "operation", "acc", "(Ljava/lang/CharSequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;", "foldIndexed", "Lkotlin/Function3;", "(Ljava/lang/CharSequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function3;)Ljava/lang/Object;", "foldRight", "foldRightIndexed", "forEach", RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, "action", "forEachIndexed", "max", "maxOrThrow", "maxBy", RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, "selector", "maxByOrThrow", "maxByOrNull", "maxOf", RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, "(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Comparable;", "maxOfOrNull", "(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Double;", "(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Float;", "maxOfWith", "comparator", "Ljava/util/Comparator;", "Lkotlin/Comparator;", "(Ljava/lang/CharSequence;Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;", "maxOfWithOrNull", "maxOrNull", "maxWith", "maxWithOrThrow", "(Ljava/lang/CharSequence;Ljava/util/Comparator;)C", "maxWithOrNull", "(Ljava/lang/CharSequence;Ljava/util/Comparator;)Ljava/lang/Character;", "min", "minOrThrow", "minBy", "minByOrThrow", "minByOrNull", "minOf", "minOfOrNull", "minOfWith", "minOfWithOrNull", "minOrNull", "minWith", "minWithOrThrow", "minWithOrNull", "none", "onEach", "S", "(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/CharSequence;", "onEachIndexed", "(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function2;)Ljava/lang/CharSequence;", "reduce", "reduceIndexed", "reduceIndexedOrNull", "(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function3;)Ljava/lang/Character;", "reduceOrNull", "(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function2;)Ljava/lang/Character;", "reduceRight", "reduceRightIndexed", "reduceRightIndexedOrNull", "reduceRightOrNull", "runningFold", "(Ljava/lang/CharSequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava/util/List;", "runningFoldIndexed", "(Ljava/lang/CharSequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function3;)Ljava/util/List;", "runningReduce", "runningReduceIndexed", "scan", "scanIndexed", "sumBy", "sumByDouble", "sumOf", "sumOfDouble", "sumOfInt", RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, "sumOfLong", "Lkotlin/UInt;", "sumOfUInt", "(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)I", "Lkotlin/ULong;", "sumOfULong", "(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)J", "chunked", "size", "chunkedSequence", "Lkotlin/sequences/Sequence;", "partition", "windowed", "step", "partialWindows", "windowedSequence", "zip", "other", "a", "b", "zipWithNext", "asIterable", "asSequence", "kotlin-stdlib"}, k = 5, mv = {2, 2, 0}, xi = 49, xs = "kotlin/text/StringsKt")
|
||
@SourceDebugExtension({"SMAP\n_Strings.kt\nKotlin\n*S Kotlin\n*F\n+ 1 _Strings.kt\nkotlin/text/StringsKt___StringsKt\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n+ 3 Maps.kt\nkotlin/collections/MapsKt__MapsKt\n*L\n1#1,2565:1\n130#1,2:2566\n221#1,5:2568\n507#1,5:2574\n507#1,5:2579\n467#1:2584\n1188#1,2:2585\n468#1,2:2587\n1190#1:2589\n470#1:2590\n467#1:2591\n1188#1,2:2592\n468#1,2:2594\n1190#1:2596\n470#1:2597\n1188#1,3:2598\n497#1,2:2601\n497#1,2:2603\n755#1,4:2605\n724#1,4:2609\n740#1,4:2613\n787#1,4:2617\n887#1,5:2621\n928#1,3:2626\n931#1,3:2636\n946#1,3:2639\n949#1,3:2649\n1046#1,3:2666\n1016#1,4:2669\n1005#1:2673\n1188#1,2:2674\n1190#1:2677\n1006#1:2678\n1188#1,3:2679\n1037#1:2682\n1179#1:2683\n1180#1:2685\n1038#1:2686\n1179#1,2:2687\n1188#1,3:2689\n2069#1,2:2692\n2071#1,6:2695\n2093#1,2:2701\n2095#1,6:2704\n2510#1,6:2710\n2540#1,7:2716\n1#2:2573\n1#2:2676\n1#2:2684\n1#2:2694\n1#2:2703\n382#3,7:2629\n382#3,7:2642\n382#3,7:2652\n382#3,7:2659\n*S KotlinDebug\n*F\n+ 1 _Strings.kt\nkotlin/text/StringsKt___StringsKt\n*L\n56#1:2566,2\n66#1:2568,5\n425#1:2574,5\n434#1:2579,5\n445#1:2584\n445#1:2585,2\n445#1:2587,2\n445#1:2589\n445#1:2590\n456#1:2591\n456#1:2592,2\n456#1:2594,2\n456#1:2596\n456#1:2597\n467#1:2598,3\n479#1:2601,2\n488#1:2603,2\n682#1:2605,4\n697#1:2609,4\n711#1:2613,4\n774#1:2617,4\n847#1:2621,5\n903#1:2626,3\n903#1:2636,3\n916#1:2639,3\n916#1:2649,3\n975#1:2666,3\n985#1:2669,4\n995#1:2673\n995#1:2674,2\n995#1:2677\n995#1:2678\n1005#1:2679,3\n1029#1:2682\n1029#1:2683\n1029#1:2685\n1029#1:2686\n1037#1:2687,2\n1875#1:2689,3\n2163#1:2692,2\n2163#1:2695,6\n2180#1:2701,2\n2180#1:2704,6\n2499#1:2710,6\n2527#1:2716,7\n995#1:2676\n1029#1:2684\n2163#1:2694\n2180#1:2703\n903#1:2629,7\n916#1:2642,7\n930#1:2652,7\n948#1:2659,7\n*E\n"})
|
||
/* loaded from: classes4.dex */
|
||
public class StringsKt___StringsKt extends StringsKt___StringsJvmKt {
|
||
public static final boolean all(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
if (!((Boolean) com.mycompany.app.dialog.a.g(charSequence, i, predicate)).booleanValue()) {
|
||
return false;
|
||
}
|
||
}
|
||
return true;
|
||
}
|
||
|
||
public static final boolean any(@NotNull CharSequence charSequence) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
return !(charSequence.length() == 0);
|
||
}
|
||
|
||
@NotNull
|
||
public static final Iterable<Character> asIterable(@NotNull CharSequence charSequence) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
if ((charSequence instanceof String) && ((String) charSequence).length() == 0) {
|
||
return CollectionsKt.emptyList();
|
||
}
|
||
return new StringsKt___StringsKt$asIterable$$inlined$Iterable$1(charSequence);
|
||
}
|
||
|
||
@NotNull
|
||
public static final Sequence<Character> asSequence(@NotNull final CharSequence charSequence) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
if ((charSequence instanceof String) && ((String) charSequence).length() == 0) {
|
||
return SequencesKt.emptySequence();
|
||
}
|
||
return new Sequence<Character>() { // from class: kotlin.text.StringsKt___StringsKt$asSequence$$inlined$Sequence$1
|
||
@Override // kotlin.sequences.Sequence
|
||
public Iterator<Character> iterator() {
|
||
return StringsKt__StringsKt.iterator(charSequence);
|
||
}
|
||
};
|
||
}
|
||
|
||
/* JADX WARN: Multi-variable type inference failed */
|
||
@NotNull
|
||
public static final <K, V> Map<K, V> associate(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, ? extends Pair<? extends K, ? extends V>> transform) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(transform, "transform");
|
||
LinkedHashMap linkedHashMap = new LinkedHashMap(RangesKt.coerceAtLeast(MapsKt.mapCapacity(charSequence.length()), 16));
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
Pair pair = (Pair) com.mycompany.app.dialog.a.g(charSequence, i, transform);
|
||
linkedHashMap.put(pair.getFirst(), pair.getSecond());
|
||
}
|
||
return linkedHashMap;
|
||
}
|
||
|
||
@NotNull
|
||
public static final <K> Map<K, Character> associateBy(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, ? extends K> keySelector) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(keySelector, "keySelector");
|
||
LinkedHashMap linkedHashMap = new LinkedHashMap(RangesKt.coerceAtLeast(MapsKt.mapCapacity(charSequence.length()), 16));
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
char charAt = charSequence.charAt(i);
|
||
linkedHashMap.put(keySelector.invoke(Character.valueOf(charAt)), Character.valueOf(charAt));
|
||
}
|
||
return linkedHashMap;
|
||
}
|
||
|
||
@NotNull
|
||
public static final <K, M extends Map<? super K, ? super Character>> M associateByTo(@NotNull CharSequence charSequence, @NotNull M destination, @NotNull Function1<? super Character, ? extends K> keySelector) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(destination, "destination");
|
||
Intrinsics.checkNotNullParameter(keySelector, "keySelector");
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
char charAt = charSequence.charAt(i);
|
||
destination.put(keySelector.invoke(Character.valueOf(charAt)), Character.valueOf(charAt));
|
||
}
|
||
return destination;
|
||
}
|
||
|
||
/* JADX WARN: Multi-variable type inference failed */
|
||
@NotNull
|
||
public static final <K, V, M extends Map<? super K, ? super V>> M associateTo(@NotNull CharSequence charSequence, @NotNull M destination, @NotNull Function1<? super Character, ? extends Pair<? extends K, ? extends V>> transform) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(destination, "destination");
|
||
Intrinsics.checkNotNullParameter(transform, "transform");
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
Pair pair = (Pair) com.mycompany.app.dialog.a.g(charSequence, i, transform);
|
||
destination.put(pair.getFirst(), pair.getSecond());
|
||
}
|
||
return destination;
|
||
}
|
||
|
||
@SinceKotlin(version = "1.3")
|
||
@NotNull
|
||
public static final <V> Map<Character, V> associateWith(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, ? extends V> valueSelector) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(valueSelector, "valueSelector");
|
||
LinkedHashMap linkedHashMap = new LinkedHashMap(RangesKt.coerceAtLeast(MapsKt.mapCapacity(RangesKt.coerceAtMost(charSequence.length(), Uuid.SIZE_BITS)), 16));
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
char charAt = charSequence.charAt(i);
|
||
linkedHashMap.put(Character.valueOf(charAt), valueSelector.invoke(Character.valueOf(charAt)));
|
||
}
|
||
return linkedHashMap;
|
||
}
|
||
|
||
@SinceKotlin(version = "1.3")
|
||
@NotNull
|
||
public static final <V, M extends Map<? super Character, ? super V>> M associateWithTo(@NotNull CharSequence charSequence, @NotNull M destination, @NotNull Function1<? super Character, ? extends V> valueSelector) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(destination, "destination");
|
||
Intrinsics.checkNotNullParameter(valueSelector, "valueSelector");
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
char charAt = charSequence.charAt(i);
|
||
destination.put(Character.valueOf(charAt), valueSelector.invoke(Character.valueOf(charAt)));
|
||
}
|
||
return destination;
|
||
}
|
||
|
||
@SinceKotlin(version = "1.2")
|
||
@NotNull
|
||
public static final List<String> chunked(@NotNull CharSequence charSequence, int i) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
return windowed(charSequence, i, i, true);
|
||
}
|
||
|
||
@SinceKotlin(version = "1.2")
|
||
@NotNull
|
||
public static final Sequence<String> chunkedSequence(@NotNull CharSequence charSequence, int i) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
return chunkedSequence(charSequence, i, new d(3));
|
||
}
|
||
|
||
public static final String chunkedSequence$lambda$0$StringsKt___StringsKt(CharSequence it) {
|
||
Intrinsics.checkNotNullParameter(it, "it");
|
||
return it.toString();
|
||
}
|
||
|
||
@InlineOnly
|
||
private static final int count(CharSequence charSequence) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
return charSequence.length();
|
||
}
|
||
|
||
@NotNull
|
||
public static final CharSequence drop(@NotNull CharSequence charSequence, int i) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
if (i >= 0) {
|
||
return charSequence.subSequence(RangesKt.coerceAtMost(i, charSequence.length()), charSequence.length());
|
||
}
|
||
throw new IllegalArgumentException(android.support.v4.media.a.f(i, "Requested character count ", " is less than zero.").toString());
|
||
}
|
||
|
||
@NotNull
|
||
public static final CharSequence dropLast(@NotNull CharSequence charSequence, int i) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
if (i >= 0) {
|
||
return take(charSequence, RangesKt.coerceAtLeast(charSequence.length() - i, 0));
|
||
}
|
||
throw new IllegalArgumentException(android.support.v4.media.a.f(i, "Requested character count ", " is less than zero.").toString());
|
||
}
|
||
|
||
@NotNull
|
||
public static final CharSequence dropLastWhile(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
for (int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence); -1 < lastIndex; lastIndex--) {
|
||
if (!((Boolean) com.mycompany.app.dialog.a.g(charSequence, lastIndex, predicate)).booleanValue()) {
|
||
return charSequence.subSequence(0, lastIndex + 1);
|
||
}
|
||
}
|
||
return RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED;
|
||
}
|
||
|
||
@NotNull
|
||
public static final CharSequence dropWhile(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, Boolean> function1) {
|
||
int b = com.mycompany.app.dialog.a.b(charSequence, "<this>", function1, "predicate");
|
||
for (int i = 0; i < b; i++) {
|
||
if (!((Boolean) com.mycompany.app.dialog.a.g(charSequence, i, function1)).booleanValue()) {
|
||
return charSequence.subSequence(i, charSequence.length());
|
||
}
|
||
}
|
||
return RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED;
|
||
}
|
||
|
||
@InlineOnly
|
||
private static final char elementAtOrElse(CharSequence charSequence, int i, Function1<? super Integer, Character> defaultValue) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(defaultValue, "defaultValue");
|
||
if (i >= 0 && i < charSequence.length()) {
|
||
return charSequence.charAt(i);
|
||
}
|
||
return defaultValue.invoke(Integer.valueOf(i)).charValue();
|
||
}
|
||
|
||
@InlineOnly
|
||
private static final Character elementAtOrNull(CharSequence charSequence, int i) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
return getOrNull(charSequence, i);
|
||
}
|
||
|
||
@NotNull
|
||
public static final CharSequence filter(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
StringBuilder sb = new StringBuilder();
|
||
int length = charSequence.length();
|
||
for (int i = 0; i < length; i++) {
|
||
char charAt = charSequence.charAt(i);
|
||
if (predicate.invoke(Character.valueOf(charAt)).booleanValue()) {
|
||
sb.append(charAt);
|
||
}
|
||
}
|
||
return sb;
|
||
}
|
||
|
||
@NotNull
|
||
public static final CharSequence filterIndexed(@NotNull CharSequence charSequence, @NotNull Function2<? super Integer, ? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
StringBuilder sb = new StringBuilder();
|
||
int i = 0;
|
||
int i2 = 0;
|
||
while (i < charSequence.length()) {
|
||
char charAt = charSequence.charAt(i);
|
||
int i3 = i2 + 1;
|
||
if (predicate.invoke(Integer.valueOf(i2), Character.valueOf(charAt)).booleanValue()) {
|
||
sb.append(charAt);
|
||
}
|
||
i++;
|
||
i2 = i3;
|
||
}
|
||
return sb;
|
||
}
|
||
|
||
@NotNull
|
||
public static final <C extends Appendable> C filterIndexedTo(@NotNull CharSequence charSequence, @NotNull C destination, @NotNull Function2<? super Integer, ? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(destination, "destination");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
int i = 0;
|
||
int i2 = 0;
|
||
while (i < charSequence.length()) {
|
||
char charAt = charSequence.charAt(i);
|
||
int i3 = i2 + 1;
|
||
if (predicate.invoke(Integer.valueOf(i2), Character.valueOf(charAt)).booleanValue()) {
|
||
destination.append(charAt);
|
||
}
|
||
i++;
|
||
i2 = i3;
|
||
}
|
||
return destination;
|
||
}
|
||
|
||
@NotNull
|
||
public static final CharSequence filterNot(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
StringBuilder sb = new StringBuilder();
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
char charAt = charSequence.charAt(i);
|
||
if (!predicate.invoke(Character.valueOf(charAt)).booleanValue()) {
|
||
sb.append(charAt);
|
||
}
|
||
}
|
||
return sb;
|
||
}
|
||
|
||
@NotNull
|
||
public static final <C extends Appendable> C filterNotTo(@NotNull CharSequence charSequence, @NotNull C destination, @NotNull Function1<? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(destination, "destination");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
char charAt = charSequence.charAt(i);
|
||
if (!predicate.invoke(Character.valueOf(charAt)).booleanValue()) {
|
||
destination.append(charAt);
|
||
}
|
||
}
|
||
return destination;
|
||
}
|
||
|
||
@NotNull
|
||
public static final <C extends Appendable> C filterTo(@NotNull CharSequence charSequence, @NotNull C destination, @NotNull Function1<? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(destination, "destination");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
int length = charSequence.length();
|
||
for (int i = 0; i < length; i++) {
|
||
char charAt = charSequence.charAt(i);
|
||
if (predicate.invoke(Character.valueOf(charAt)).booleanValue()) {
|
||
destination.append(charAt);
|
||
}
|
||
}
|
||
return destination;
|
||
}
|
||
|
||
@InlineOnly
|
||
private static final Character find(CharSequence charSequence, Function1<? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
char charAt = charSequence.charAt(i);
|
||
if (predicate.invoke(Character.valueOf(charAt)).booleanValue()) {
|
||
return Character.valueOf(charAt);
|
||
}
|
||
}
|
||
return null;
|
||
}
|
||
|
||
@InlineOnly
|
||
private static final Character findLast(CharSequence charSequence, Function1<? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
int length = charSequence.length() - 1;
|
||
if (length < 0) {
|
||
return null;
|
||
}
|
||
while (true) {
|
||
int i = length - 1;
|
||
char charAt = charSequence.charAt(length);
|
||
if (predicate.invoke(Character.valueOf(charAt)).booleanValue()) {
|
||
return Character.valueOf(charAt);
|
||
}
|
||
if (i >= 0) {
|
||
length = i;
|
||
} else {
|
||
return null;
|
||
}
|
||
}
|
||
}
|
||
|
||
public static final char first(@NotNull CharSequence charSequence) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
if (charSequence.length() != 0) {
|
||
return charSequence.charAt(0);
|
||
}
|
||
throw new NoSuchElementException("Char sequence is empty.");
|
||
}
|
||
|
||
@SinceKotlin(version = "1.5")
|
||
@InlineOnly
|
||
private static final <R> R firstNotNullOf(CharSequence charSequence, Function1<? super Character, ? extends R> transform) {
|
||
R r;
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(transform, "transform");
|
||
int i = 0;
|
||
while (true) {
|
||
if (i < charSequence.length()) {
|
||
r = (R) com.mycompany.app.dialog.a.g(charSequence, i, transform);
|
||
if (r != null) {
|
||
break;
|
||
}
|
||
i++;
|
||
} else {
|
||
r = null;
|
||
break;
|
||
}
|
||
}
|
||
if (r != null) {
|
||
return r;
|
||
}
|
||
throw new NoSuchElementException("No element of the char sequence was transformed to a non-null value.");
|
||
}
|
||
|
||
@SinceKotlin(version = "1.5")
|
||
@InlineOnly
|
||
private static final <R> R firstNotNullOfOrNull(CharSequence charSequence, Function1<? super Character, ? extends R> transform) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(transform, "transform");
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
R r = (R) com.mycompany.app.dialog.a.g(charSequence, i, transform);
|
||
if (r != null) {
|
||
return r;
|
||
}
|
||
}
|
||
return null;
|
||
}
|
||
|
||
@Nullable
|
||
public static final Character firstOrNull(@NotNull CharSequence charSequence) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
if (charSequence.length() == 0) {
|
||
return null;
|
||
}
|
||
return Character.valueOf(charSequence.charAt(0));
|
||
}
|
||
|
||
@NotNull
|
||
public static final <R> List<R> flatMap(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, ? extends Iterable<? extends R>> transform) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(transform, "transform");
|
||
ArrayList arrayList = new ArrayList();
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
CollectionsKt__MutableCollectionsKt.addAll(arrayList, (Iterable) com.mycompany.app.dialog.a.g(charSequence, i, transform));
|
||
}
|
||
return arrayList;
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@InlineOnly
|
||
@JvmName(name = "flatMapIndexedIterable")
|
||
@OverloadResolutionByLambdaReturnType
|
||
private static final <R> List<R> flatMapIndexedIterable(CharSequence charSequence, Function2<? super Integer, ? super Character, ? extends Iterable<? extends R>> transform) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(transform, "transform");
|
||
ArrayList arrayList = new ArrayList();
|
||
int i = 0;
|
||
int i2 = 0;
|
||
while (i < charSequence.length()) {
|
||
CollectionsKt__MutableCollectionsKt.addAll(arrayList, transform.invoke(Integer.valueOf(i2), Character.valueOf(charSequence.charAt(i))));
|
||
i++;
|
||
i2++;
|
||
}
|
||
return arrayList;
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@InlineOnly
|
||
@JvmName(name = "flatMapIndexedIterableTo")
|
||
@OverloadResolutionByLambdaReturnType
|
||
private static final <R, C extends Collection<? super R>> C flatMapIndexedIterableTo(CharSequence charSequence, C destination, Function2<? super Integer, ? super Character, ? extends Iterable<? extends R>> transform) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(destination, "destination");
|
||
Intrinsics.checkNotNullParameter(transform, "transform");
|
||
int i = 0;
|
||
int i2 = 0;
|
||
while (i < charSequence.length()) {
|
||
CollectionsKt__MutableCollectionsKt.addAll(destination, transform.invoke(Integer.valueOf(i2), Character.valueOf(charSequence.charAt(i))));
|
||
i++;
|
||
i2++;
|
||
}
|
||
return destination;
|
||
}
|
||
|
||
@NotNull
|
||
public static final <R, C extends Collection<? super R>> C flatMapTo(@NotNull CharSequence charSequence, @NotNull C destination, @NotNull Function1<? super Character, ? extends Iterable<? extends R>> transform) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(destination, "destination");
|
||
Intrinsics.checkNotNullParameter(transform, "transform");
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
CollectionsKt__MutableCollectionsKt.addAll(destination, (Iterable) com.mycompany.app.dialog.a.g(charSequence, i, transform));
|
||
}
|
||
return destination;
|
||
}
|
||
|
||
public static final <R> R fold(@NotNull CharSequence charSequence, R r, @NotNull Function2<? super R, ? super Character, ? extends R> operation) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(operation, "operation");
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
r = operation.invoke(r, Character.valueOf(charSequence.charAt(i)));
|
||
}
|
||
return r;
|
||
}
|
||
|
||
public static final <R> R foldIndexed(@NotNull CharSequence charSequence, R r, @NotNull Function3<? super Integer, ? super R, ? super Character, ? extends R> operation) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(operation, "operation");
|
||
int i = 0;
|
||
int i2 = 0;
|
||
while (i < charSequence.length()) {
|
||
r = operation.invoke(Integer.valueOf(i2), r, Character.valueOf(charSequence.charAt(i)));
|
||
i++;
|
||
i2++;
|
||
}
|
||
return r;
|
||
}
|
||
|
||
public static final <R> R foldRight(@NotNull CharSequence charSequence, R r, @NotNull Function2<? super Character, ? super R, ? extends R> operation) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(operation, "operation");
|
||
for (int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence); lastIndex >= 0; lastIndex--) {
|
||
r = operation.invoke(Character.valueOf(charSequence.charAt(lastIndex)), r);
|
||
}
|
||
return r;
|
||
}
|
||
|
||
public static final <R> R foldRightIndexed(@NotNull CharSequence charSequence, R r, @NotNull Function3<? super Integer, ? super Character, ? super R, ? extends R> operation) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(operation, "operation");
|
||
for (int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence); lastIndex >= 0; lastIndex--) {
|
||
r = operation.invoke(Integer.valueOf(lastIndex), Character.valueOf(charSequence.charAt(lastIndex)), r);
|
||
}
|
||
return r;
|
||
}
|
||
|
||
public static final void forEach(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, Unit> action) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(action, "action");
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
action.invoke(Character.valueOf(charSequence.charAt(i)));
|
||
}
|
||
}
|
||
|
||
public static final void forEachIndexed(@NotNull CharSequence charSequence, @NotNull Function2<? super Integer, ? super Character, Unit> action) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(action, "action");
|
||
int i = 0;
|
||
int i2 = 0;
|
||
while (i < charSequence.length()) {
|
||
action.invoke(Integer.valueOf(i2), Character.valueOf(charSequence.charAt(i)));
|
||
i++;
|
||
i2++;
|
||
}
|
||
}
|
||
|
||
@InlineOnly
|
||
private static final char getOrElse(CharSequence charSequence, int i, Function1<? super Integer, Character> defaultValue) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(defaultValue, "defaultValue");
|
||
if (i >= 0 && i < charSequence.length()) {
|
||
return charSequence.charAt(i);
|
||
}
|
||
return defaultValue.invoke(Integer.valueOf(i)).charValue();
|
||
}
|
||
|
||
@Nullable
|
||
public static final Character getOrNull(@NotNull CharSequence charSequence, int i) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
if (i >= 0 && i < charSequence.length()) {
|
||
return Character.valueOf(charSequence.charAt(i));
|
||
}
|
||
return null;
|
||
}
|
||
|
||
@NotNull
|
||
public static final <K> Map<K, List<Character>> groupBy(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, ? extends K> keySelector) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(keySelector, "keySelector");
|
||
LinkedHashMap linkedHashMap = new LinkedHashMap();
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
char charAt = charSequence.charAt(i);
|
||
K invoke = keySelector.invoke(Character.valueOf(charAt));
|
||
Object obj = linkedHashMap.get(invoke);
|
||
if (obj == null) {
|
||
obj = com.mycompany.app.dialog.a.n(linkedHashMap, invoke);
|
||
}
|
||
((List) obj).add(Character.valueOf(charAt));
|
||
}
|
||
return linkedHashMap;
|
||
}
|
||
|
||
@NotNull
|
||
public static final <K, M extends Map<? super K, List<Character>>> M groupByTo(@NotNull CharSequence charSequence, @NotNull M destination, @NotNull Function1<? super Character, ? extends K> keySelector) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(destination, "destination");
|
||
Intrinsics.checkNotNullParameter(keySelector, "keySelector");
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
char charAt = charSequence.charAt(i);
|
||
K invoke = keySelector.invoke(Character.valueOf(charAt));
|
||
Object obj = destination.get(invoke);
|
||
if (obj == null) {
|
||
obj = com.mycompany.app.dialog.a.o(destination, invoke);
|
||
}
|
||
((List) obj).add(Character.valueOf(charAt));
|
||
}
|
||
return destination;
|
||
}
|
||
|
||
@SinceKotlin(version = "1.1")
|
||
@NotNull
|
||
public static final <K> Grouping<Character, K> groupingBy(@NotNull final CharSequence charSequence, @NotNull final Function1<? super Character, ? extends K> keySelector) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(keySelector, "keySelector");
|
||
return new Grouping<Character, K>() { // from class: kotlin.text.StringsKt___StringsKt$groupingBy$1
|
||
@Override // kotlin.collections.Grouping
|
||
public /* bridge */ /* synthetic */ Object keyOf(Character ch) {
|
||
return keyOf(ch.charValue());
|
||
}
|
||
|
||
@Override // kotlin.collections.Grouping
|
||
public Iterator<Character> sourceIterator() {
|
||
return StringsKt__StringsKt.iterator(charSequence);
|
||
}
|
||
|
||
public K keyOf(char element) {
|
||
return keySelector.invoke(Character.valueOf(element));
|
||
}
|
||
};
|
||
}
|
||
|
||
public static final int indexOfFirst(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, Boolean> function1) {
|
||
int b = com.mycompany.app.dialog.a.b(charSequence, "<this>", function1, "predicate");
|
||
for (int i = 0; i < b; i++) {
|
||
if (((Boolean) com.mycompany.app.dialog.a.g(charSequence, i, function1)).booleanValue()) {
|
||
return i;
|
||
}
|
||
}
|
||
return -1;
|
||
}
|
||
|
||
public static final int indexOfLast(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
int length = charSequence.length() - 1;
|
||
if (length >= 0) {
|
||
while (true) {
|
||
int i = length - 1;
|
||
if (((Boolean) com.mycompany.app.dialog.a.g(charSequence, length, predicate)).booleanValue()) {
|
||
return length;
|
||
}
|
||
if (i < 0) {
|
||
break;
|
||
}
|
||
length = i;
|
||
}
|
||
}
|
||
return -1;
|
||
}
|
||
|
||
public static char last(@NotNull CharSequence charSequence) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
if (charSequence.length() != 0) {
|
||
return charSequence.charAt(StringsKt__StringsKt.getLastIndex(charSequence));
|
||
}
|
||
throw new NoSuchElementException("Char sequence is empty.");
|
||
}
|
||
|
||
@Nullable
|
||
public static final Character lastOrNull(@NotNull CharSequence charSequence) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
if (charSequence.length() == 0) {
|
||
return null;
|
||
}
|
||
return Character.valueOf(charSequence.charAt(charSequence.length() - 1));
|
||
}
|
||
|
||
@NotNull
|
||
public static final <R> List<R> map(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, ? extends R> transform) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(transform, "transform");
|
||
ArrayList arrayList = new ArrayList(charSequence.length());
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
arrayList.add(transform.invoke(Character.valueOf(charSequence.charAt(i))));
|
||
}
|
||
return arrayList;
|
||
}
|
||
|
||
@NotNull
|
||
public static final <R> List<R> mapIndexed(@NotNull CharSequence charSequence, @NotNull Function2<? super Integer, ? super Character, ? extends R> transform) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(transform, "transform");
|
||
ArrayList arrayList = new ArrayList(charSequence.length());
|
||
int i = 0;
|
||
int i2 = 0;
|
||
while (i < charSequence.length()) {
|
||
arrayList.add(transform.invoke(Integer.valueOf(i2), Character.valueOf(charSequence.charAt(i))));
|
||
i++;
|
||
i2++;
|
||
}
|
||
return arrayList;
|
||
}
|
||
|
||
@NotNull
|
||
public static final <R> List<R> mapIndexedNotNull(@NotNull CharSequence charSequence, @NotNull Function2<? super Integer, ? super Character, ? extends R> transform) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(transform, "transform");
|
||
ArrayList arrayList = new ArrayList();
|
||
int i = 0;
|
||
int i2 = 0;
|
||
while (i < charSequence.length()) {
|
||
int i3 = i2 + 1;
|
||
R invoke = transform.invoke(Integer.valueOf(i2), Character.valueOf(charSequence.charAt(i)));
|
||
if (invoke != null) {
|
||
arrayList.add(invoke);
|
||
}
|
||
i++;
|
||
i2 = i3;
|
||
}
|
||
return arrayList;
|
||
}
|
||
|
||
@NotNull
|
||
public static final <R, C extends Collection<? super R>> C mapIndexedNotNullTo(@NotNull CharSequence charSequence, @NotNull C destination, @NotNull Function2<? super Integer, ? super Character, ? extends R> transform) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(destination, "destination");
|
||
Intrinsics.checkNotNullParameter(transform, "transform");
|
||
int i = 0;
|
||
int i2 = 0;
|
||
while (i < charSequence.length()) {
|
||
int i3 = i2 + 1;
|
||
R invoke = transform.invoke(Integer.valueOf(i2), Character.valueOf(charSequence.charAt(i)));
|
||
if (invoke != null) {
|
||
destination.add(invoke);
|
||
}
|
||
i++;
|
||
i2 = i3;
|
||
}
|
||
return destination;
|
||
}
|
||
|
||
@NotNull
|
||
public static final <R, C extends Collection<? super R>> C mapIndexedTo(@NotNull CharSequence charSequence, @NotNull C destination, @NotNull Function2<? super Integer, ? super Character, ? extends R> transform) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(destination, "destination");
|
||
Intrinsics.checkNotNullParameter(transform, "transform");
|
||
int i = 0;
|
||
int i2 = 0;
|
||
while (i < charSequence.length()) {
|
||
destination.add(transform.invoke(Integer.valueOf(i2), Character.valueOf(charSequence.charAt(i))));
|
||
i++;
|
||
i2++;
|
||
}
|
||
return destination;
|
||
}
|
||
|
||
@NotNull
|
||
public static final <R> List<R> mapNotNull(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, ? extends R> transform) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(transform, "transform");
|
||
ArrayList arrayList = new ArrayList();
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
Object g = com.mycompany.app.dialog.a.g(charSequence, i, transform);
|
||
if (g != null) {
|
||
arrayList.add(g);
|
||
}
|
||
}
|
||
return arrayList;
|
||
}
|
||
|
||
@NotNull
|
||
public static final <R, C extends Collection<? super R>> C mapNotNullTo(@NotNull CharSequence charSequence, @NotNull C destination, @NotNull Function1<? super Character, ? extends R> transform) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(destination, "destination");
|
||
Intrinsics.checkNotNullParameter(transform, "transform");
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
Object g = com.mycompany.app.dialog.a.g(charSequence, i, transform);
|
||
if (g != null) {
|
||
destination.add(g);
|
||
}
|
||
}
|
||
return destination;
|
||
}
|
||
|
||
@NotNull
|
||
public static final <R, C extends Collection<? super R>> C mapTo(@NotNull CharSequence charSequence, @NotNull C destination, @NotNull Function1<? super Character, ? extends R> transform) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(destination, "destination");
|
||
Intrinsics.checkNotNullParameter(transform, "transform");
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
destination.add(transform.invoke(Character.valueOf(charSequence.charAt(i))));
|
||
}
|
||
return destination;
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@Nullable
|
||
public static final <R extends Comparable<? super R>> Character maxByOrNull(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, ? extends R> function1) {
|
||
if (com.mycompany.app.dialog.a.b(charSequence, "<this>", function1, "selector") == 0) {
|
||
return null;
|
||
}
|
||
char charAt = charSequence.charAt(0);
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
if (lastIndex == 0) {
|
||
return Character.valueOf(charAt);
|
||
}
|
||
R invoke = function1.invoke(Character.valueOf(charAt));
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
char charAt2 = charSequence.charAt(i);
|
||
R invoke2 = function1.invoke(Character.valueOf(charAt2));
|
||
if (invoke.compareTo(invoke2) < 0) {
|
||
charAt = charAt2;
|
||
invoke = invoke2;
|
||
}
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return Character.valueOf(charAt);
|
||
}
|
||
|
||
@SinceKotlin(version = "1.7")
|
||
@JvmName(name = "maxByOrThrow")
|
||
public static final <R extends Comparable<? super R>> char maxByOrThrow(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, ? extends R> function1) {
|
||
if (com.mycompany.app.dialog.a.b(charSequence, "<this>", function1, "selector") != 0) {
|
||
char charAt = charSequence.charAt(0);
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
if (lastIndex != 0) {
|
||
R invoke = function1.invoke(Character.valueOf(charAt));
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
char charAt2 = charSequence.charAt(i);
|
||
R invoke2 = function1.invoke(Character.valueOf(charAt2));
|
||
if (invoke.compareTo(invoke2) < 0) {
|
||
charAt = charAt2;
|
||
invoke = invoke2;
|
||
}
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
}
|
||
return charAt;
|
||
}
|
||
throw new NoSuchElementException();
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@OverloadResolutionByLambdaReturnType
|
||
@InlineOnly
|
||
private static final double maxOf(CharSequence charSequence, Function1<? super Character, Double> function1) {
|
||
if (com.mycompany.app.dialog.a.b(charSequence, "<this>", function1, "selector") != 0) {
|
||
double doubleValue = ((Number) com.mycompany.app.dialog.a.g(charSequence, 0, function1)).doubleValue();
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
doubleValue = Math.max(doubleValue, ((Number) com.mycompany.app.dialog.a.g(charSequence, i, function1)).doubleValue());
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return doubleValue;
|
||
}
|
||
throw new NoSuchElementException();
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@OverloadResolutionByLambdaReturnType
|
||
@InlineOnly
|
||
private static final <R extends Comparable<? super R>> R maxOfOrNull(CharSequence charSequence, Function1<? super Character, ? extends R> function1) {
|
||
if (com.mycompany.app.dialog.a.b(charSequence, "<this>", function1, "selector") == 0) {
|
||
return null;
|
||
}
|
||
R r = (R) com.mycompany.app.dialog.a.g(charSequence, 0, function1);
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
Comparable comparable = (Comparable) com.mycompany.app.dialog.a.g(charSequence, i, function1);
|
||
if (r.compareTo(comparable) < 0) {
|
||
r = (R) comparable;
|
||
}
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return r;
|
||
}
|
||
|
||
/* JADX WARN: Multi-variable type inference failed */
|
||
@SinceKotlin(version = "1.4")
|
||
@OverloadResolutionByLambdaReturnType
|
||
@InlineOnly
|
||
private static final <R> R maxOfWith(CharSequence charSequence, Comparator<? super R> comparator, Function1<? super Character, ? extends R> selector) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(comparator, "comparator");
|
||
Intrinsics.checkNotNullParameter(selector, "selector");
|
||
if (charSequence.length() != 0) {
|
||
Object obj = (Object) com.mycompany.app.dialog.a.g(charSequence, 0, selector);
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
Object obj2 = (Object) com.mycompany.app.dialog.a.g(charSequence, i, selector);
|
||
if (comparator.compare(obj, obj2) < 0) {
|
||
obj = (R) obj2;
|
||
}
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return (R) obj;
|
||
}
|
||
throw new NoSuchElementException();
|
||
}
|
||
|
||
/* JADX WARN: Multi-variable type inference failed */
|
||
@SinceKotlin(version = "1.4")
|
||
@OverloadResolutionByLambdaReturnType
|
||
@InlineOnly
|
||
private static final <R> R maxOfWithOrNull(CharSequence charSequence, Comparator<? super R> comparator, Function1<? super Character, ? extends R> selector) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(comparator, "comparator");
|
||
Intrinsics.checkNotNullParameter(selector, "selector");
|
||
if (charSequence.length() == 0) {
|
||
return null;
|
||
}
|
||
Object obj = (Object) com.mycompany.app.dialog.a.g(charSequence, 0, selector);
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
Object obj2 = (Object) com.mycompany.app.dialog.a.g(charSequence, i, selector);
|
||
if (comparator.compare(obj, obj2) < 0) {
|
||
obj = (R) obj2;
|
||
}
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return (R) obj;
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@Nullable
|
||
public static final Character maxOrNull(@NotNull CharSequence charSequence) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
if (charSequence.length() == 0) {
|
||
return null;
|
||
}
|
||
char charAt = charSequence.charAt(0);
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
char charAt2 = charSequence.charAt(i);
|
||
if (Intrinsics.compare((int) charAt, (int) charAt2) < 0) {
|
||
charAt = charAt2;
|
||
}
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return Character.valueOf(charAt);
|
||
}
|
||
|
||
@SinceKotlin(version = "1.7")
|
||
@JvmName(name = "maxOrThrow")
|
||
public static final char maxOrThrow(@NotNull CharSequence charSequence) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
if (charSequence.length() != 0) {
|
||
char charAt = charSequence.charAt(0);
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
char charAt2 = charSequence.charAt(i);
|
||
if (Intrinsics.compare((int) charAt, (int) charAt2) < 0) {
|
||
charAt = charAt2;
|
||
}
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return charAt;
|
||
}
|
||
throw new NoSuchElementException();
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@Nullable
|
||
public static final Character maxWithOrNull(@NotNull CharSequence charSequence, @NotNull Comparator<? super Character> comparator) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(comparator, "comparator");
|
||
if (charSequence.length() == 0) {
|
||
return null;
|
||
}
|
||
char charAt = charSequence.charAt(0);
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
char charAt2 = charSequence.charAt(i);
|
||
if (comparator.compare(Character.valueOf(charAt), Character.valueOf(charAt2)) < 0) {
|
||
charAt = charAt2;
|
||
}
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return Character.valueOf(charAt);
|
||
}
|
||
|
||
@SinceKotlin(version = "1.7")
|
||
@JvmName(name = "maxWithOrThrow")
|
||
public static final char maxWithOrThrow(@NotNull CharSequence charSequence, @NotNull Comparator<? super Character> comparator) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(comparator, "comparator");
|
||
if (charSequence.length() != 0) {
|
||
char charAt = charSequence.charAt(0);
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
char charAt2 = charSequence.charAt(i);
|
||
if (comparator.compare(Character.valueOf(charAt), Character.valueOf(charAt2)) < 0) {
|
||
charAt = charAt2;
|
||
}
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return charAt;
|
||
}
|
||
throw new NoSuchElementException();
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@Nullable
|
||
public static final <R extends Comparable<? super R>> Character minByOrNull(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, ? extends R> function1) {
|
||
if (com.mycompany.app.dialog.a.b(charSequence, "<this>", function1, "selector") == 0) {
|
||
return null;
|
||
}
|
||
char charAt = charSequence.charAt(0);
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
if (lastIndex == 0) {
|
||
return Character.valueOf(charAt);
|
||
}
|
||
R invoke = function1.invoke(Character.valueOf(charAt));
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
char charAt2 = charSequence.charAt(i);
|
||
R invoke2 = function1.invoke(Character.valueOf(charAt2));
|
||
if (invoke.compareTo(invoke2) > 0) {
|
||
charAt = charAt2;
|
||
invoke = invoke2;
|
||
}
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return Character.valueOf(charAt);
|
||
}
|
||
|
||
@SinceKotlin(version = "1.7")
|
||
@JvmName(name = "minByOrThrow")
|
||
public static final <R extends Comparable<? super R>> char minByOrThrow(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, ? extends R> function1) {
|
||
if (com.mycompany.app.dialog.a.b(charSequence, "<this>", function1, "selector") != 0) {
|
||
char charAt = charSequence.charAt(0);
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
if (lastIndex != 0) {
|
||
R invoke = function1.invoke(Character.valueOf(charAt));
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
char charAt2 = charSequence.charAt(i);
|
||
R invoke2 = function1.invoke(Character.valueOf(charAt2));
|
||
if (invoke.compareTo(invoke2) > 0) {
|
||
charAt = charAt2;
|
||
invoke = invoke2;
|
||
}
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
}
|
||
return charAt;
|
||
}
|
||
throw new NoSuchElementException();
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@OverloadResolutionByLambdaReturnType
|
||
@InlineOnly
|
||
private static final double minOf(CharSequence charSequence, Function1<? super Character, Double> function1) {
|
||
if (com.mycompany.app.dialog.a.b(charSequence, "<this>", function1, "selector") != 0) {
|
||
double doubleValue = ((Number) com.mycompany.app.dialog.a.g(charSequence, 0, function1)).doubleValue();
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
doubleValue = Math.min(doubleValue, ((Number) com.mycompany.app.dialog.a.g(charSequence, i, function1)).doubleValue());
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return doubleValue;
|
||
}
|
||
throw new NoSuchElementException();
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@OverloadResolutionByLambdaReturnType
|
||
@InlineOnly
|
||
private static final <R extends Comparable<? super R>> R minOfOrNull(CharSequence charSequence, Function1<? super Character, ? extends R> function1) {
|
||
if (com.mycompany.app.dialog.a.b(charSequence, "<this>", function1, "selector") == 0) {
|
||
return null;
|
||
}
|
||
R r = (R) com.mycompany.app.dialog.a.g(charSequence, 0, function1);
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
Comparable comparable = (Comparable) com.mycompany.app.dialog.a.g(charSequence, i, function1);
|
||
if (r.compareTo(comparable) > 0) {
|
||
r = (R) comparable;
|
||
}
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return r;
|
||
}
|
||
|
||
/* JADX WARN: Multi-variable type inference failed */
|
||
@SinceKotlin(version = "1.4")
|
||
@OverloadResolutionByLambdaReturnType
|
||
@InlineOnly
|
||
private static final <R> R minOfWith(CharSequence charSequence, Comparator<? super R> comparator, Function1<? super Character, ? extends R> selector) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(comparator, "comparator");
|
||
Intrinsics.checkNotNullParameter(selector, "selector");
|
||
if (charSequence.length() != 0) {
|
||
Object obj = (Object) com.mycompany.app.dialog.a.g(charSequence, 0, selector);
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
Object obj2 = (Object) com.mycompany.app.dialog.a.g(charSequence, i, selector);
|
||
if (comparator.compare(obj, obj2) > 0) {
|
||
obj = (R) obj2;
|
||
}
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return (R) obj;
|
||
}
|
||
throw new NoSuchElementException();
|
||
}
|
||
|
||
/* JADX WARN: Multi-variable type inference failed */
|
||
@SinceKotlin(version = "1.4")
|
||
@OverloadResolutionByLambdaReturnType
|
||
@InlineOnly
|
||
private static final <R> R minOfWithOrNull(CharSequence charSequence, Comparator<? super R> comparator, Function1<? super Character, ? extends R> selector) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(comparator, "comparator");
|
||
Intrinsics.checkNotNullParameter(selector, "selector");
|
||
if (charSequence.length() == 0) {
|
||
return null;
|
||
}
|
||
Object obj = (Object) com.mycompany.app.dialog.a.g(charSequence, 0, selector);
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
Object obj2 = (Object) com.mycompany.app.dialog.a.g(charSequence, i, selector);
|
||
if (comparator.compare(obj, obj2) > 0) {
|
||
obj = (R) obj2;
|
||
}
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return (R) obj;
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@Nullable
|
||
public static final Character minOrNull(@NotNull CharSequence charSequence) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
if (charSequence.length() == 0) {
|
||
return null;
|
||
}
|
||
char charAt = charSequence.charAt(0);
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
char charAt2 = charSequence.charAt(i);
|
||
if (Intrinsics.compare((int) charAt, (int) charAt2) > 0) {
|
||
charAt = charAt2;
|
||
}
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return Character.valueOf(charAt);
|
||
}
|
||
|
||
@SinceKotlin(version = "1.7")
|
||
@JvmName(name = "minOrThrow")
|
||
public static final char minOrThrow(@NotNull CharSequence charSequence) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
if (charSequence.length() != 0) {
|
||
char charAt = charSequence.charAt(0);
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
char charAt2 = charSequence.charAt(i);
|
||
if (Intrinsics.compare((int) charAt, (int) charAt2) > 0) {
|
||
charAt = charAt2;
|
||
}
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return charAt;
|
||
}
|
||
throw new NoSuchElementException();
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@Nullable
|
||
public static final Character minWithOrNull(@NotNull CharSequence charSequence, @NotNull Comparator<? super Character> comparator) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(comparator, "comparator");
|
||
if (charSequence.length() == 0) {
|
||
return null;
|
||
}
|
||
char charAt = charSequence.charAt(0);
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
char charAt2 = charSequence.charAt(i);
|
||
if (comparator.compare(Character.valueOf(charAt), Character.valueOf(charAt2)) > 0) {
|
||
charAt = charAt2;
|
||
}
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return Character.valueOf(charAt);
|
||
}
|
||
|
||
@SinceKotlin(version = "1.7")
|
||
@JvmName(name = "minWithOrThrow")
|
||
public static final char minWithOrThrow(@NotNull CharSequence charSequence, @NotNull Comparator<? super Character> comparator) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(comparator, "comparator");
|
||
if (charSequence.length() != 0) {
|
||
char charAt = charSequence.charAt(0);
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
char charAt2 = charSequence.charAt(i);
|
||
if (comparator.compare(Character.valueOf(charAt), Character.valueOf(charAt2)) > 0) {
|
||
charAt = charAt2;
|
||
}
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return charAt;
|
||
}
|
||
throw new NoSuchElementException();
|
||
}
|
||
|
||
public static final boolean none(@NotNull CharSequence charSequence) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
return charSequence.length() == 0;
|
||
}
|
||
|
||
@SinceKotlin(version = "1.1")
|
||
@NotNull
|
||
public static final <S extends CharSequence> S onEach(@NotNull S s, @NotNull Function1<? super Character, Unit> action) {
|
||
Intrinsics.checkNotNullParameter(s, "<this>");
|
||
Intrinsics.checkNotNullParameter(action, "action");
|
||
for (int i = 0; i < s.length(); i++) {
|
||
action.invoke(Character.valueOf(s.charAt(i)));
|
||
}
|
||
return s;
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@NotNull
|
||
public static final <S extends CharSequence> S onEachIndexed(@NotNull S s, @NotNull Function2<? super Integer, ? super Character, Unit> action) {
|
||
Intrinsics.checkNotNullParameter(s, "<this>");
|
||
Intrinsics.checkNotNullParameter(action, "action");
|
||
int i = 0;
|
||
int i2 = 0;
|
||
while (i < s.length()) {
|
||
action.invoke(Integer.valueOf(i2), Character.valueOf(s.charAt(i)));
|
||
i++;
|
||
i2++;
|
||
}
|
||
return s;
|
||
}
|
||
|
||
@NotNull
|
||
public static final Pair<CharSequence, CharSequence> partition(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
StringBuilder sb = new StringBuilder();
|
||
StringBuilder sb2 = new StringBuilder();
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
char charAt = charSequence.charAt(i);
|
||
if (predicate.invoke(Character.valueOf(charAt)).booleanValue()) {
|
||
sb.append(charAt);
|
||
} else {
|
||
sb2.append(charAt);
|
||
}
|
||
}
|
||
return new Pair<>(sb, sb2);
|
||
}
|
||
|
||
@SinceKotlin(version = "1.3")
|
||
@InlineOnly
|
||
private static final char random(CharSequence charSequence) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
return random(charSequence, Random.INSTANCE);
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@InlineOnly
|
||
private static final Character randomOrNull(CharSequence charSequence) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
return randomOrNull(charSequence, Random.INSTANCE);
|
||
}
|
||
|
||
public static final char reduce(@NotNull CharSequence charSequence, @NotNull Function2<? super Character, ? super Character, Character> operation) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(operation, "operation");
|
||
if (charSequence.length() != 0) {
|
||
char charAt = charSequence.charAt(0);
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
charAt = operation.invoke(Character.valueOf(charAt), Character.valueOf(charSequence.charAt(i))).charValue();
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return charAt;
|
||
}
|
||
throw new UnsupportedOperationException("Empty char sequence can't be reduced.");
|
||
}
|
||
|
||
public static final char reduceIndexed(@NotNull CharSequence charSequence, @NotNull Function3<? super Integer, ? super Character, ? super Character, Character> operation) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(operation, "operation");
|
||
if (charSequence.length() != 0) {
|
||
char charAt = charSequence.charAt(0);
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
charAt = operation.invoke(Integer.valueOf(i), Character.valueOf(charAt), Character.valueOf(charSequence.charAt(i))).charValue();
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return charAt;
|
||
}
|
||
throw new UnsupportedOperationException("Empty char sequence can't be reduced.");
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@Nullable
|
||
public static final Character reduceIndexedOrNull(@NotNull CharSequence charSequence, @NotNull Function3<? super Integer, ? super Character, ? super Character, Character> operation) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(operation, "operation");
|
||
if (charSequence.length() == 0) {
|
||
return null;
|
||
}
|
||
char charAt = charSequence.charAt(0);
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
charAt = operation.invoke(Integer.valueOf(i), Character.valueOf(charAt), Character.valueOf(charSequence.charAt(i))).charValue();
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return Character.valueOf(charAt);
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@Nullable
|
||
public static final Character reduceOrNull(@NotNull CharSequence charSequence, @NotNull Function2<? super Character, ? super Character, Character> operation) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(operation, "operation");
|
||
if (charSequence.length() == 0) {
|
||
return null;
|
||
}
|
||
char charAt = charSequence.charAt(0);
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
charAt = operation.invoke(Character.valueOf(charAt), Character.valueOf(charSequence.charAt(i))).charValue();
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return Character.valueOf(charAt);
|
||
}
|
||
|
||
public static final char reduceRight(@NotNull CharSequence charSequence, @NotNull Function2<? super Character, ? super Character, Character> operation) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(operation, "operation");
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
if (lastIndex >= 0) {
|
||
char charAt = charSequence.charAt(lastIndex);
|
||
for (int i = lastIndex - 1; i >= 0; i--) {
|
||
charAt = operation.invoke(Character.valueOf(charSequence.charAt(i)), Character.valueOf(charAt)).charValue();
|
||
}
|
||
return charAt;
|
||
}
|
||
throw new UnsupportedOperationException("Empty char sequence can't be reduced.");
|
||
}
|
||
|
||
public static final char reduceRightIndexed(@NotNull CharSequence charSequence, @NotNull Function3<? super Integer, ? super Character, ? super Character, Character> operation) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(operation, "operation");
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
if (lastIndex >= 0) {
|
||
char charAt = charSequence.charAt(lastIndex);
|
||
for (int i = lastIndex - 1; i >= 0; i--) {
|
||
charAt = operation.invoke(Integer.valueOf(i), Character.valueOf(charSequence.charAt(i)), Character.valueOf(charAt)).charValue();
|
||
}
|
||
return charAt;
|
||
}
|
||
throw new UnsupportedOperationException("Empty char sequence can't be reduced.");
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@Nullable
|
||
public static final Character reduceRightIndexedOrNull(@NotNull CharSequence charSequence, @NotNull Function3<? super Integer, ? super Character, ? super Character, Character> operation) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(operation, "operation");
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
if (lastIndex < 0) {
|
||
return null;
|
||
}
|
||
char charAt = charSequence.charAt(lastIndex);
|
||
for (int i = lastIndex - 1; i >= 0; i--) {
|
||
charAt = operation.invoke(Integer.valueOf(i), Character.valueOf(charSequence.charAt(i)), Character.valueOf(charAt)).charValue();
|
||
}
|
||
return Character.valueOf(charAt);
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@Nullable
|
||
public static final Character reduceRightOrNull(@NotNull CharSequence charSequence, @NotNull Function2<? super Character, ? super Character, Character> operation) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(operation, "operation");
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
if (lastIndex < 0) {
|
||
return null;
|
||
}
|
||
char charAt = charSequence.charAt(lastIndex);
|
||
for (int i = lastIndex - 1; i >= 0; i--) {
|
||
charAt = operation.invoke(Character.valueOf(charSequence.charAt(i)), Character.valueOf(charAt)).charValue();
|
||
}
|
||
return Character.valueOf(charAt);
|
||
}
|
||
|
||
@NotNull
|
||
public static final CharSequence reversed(@NotNull CharSequence charSequence) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
return new StringBuilder(charSequence).reverse();
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@NotNull
|
||
public static final <R> List<R> runningFold(@NotNull CharSequence charSequence, R r, @NotNull Function2<? super R, ? super Character, ? extends R> operation) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(operation, "operation");
|
||
if (charSequence.length() == 0) {
|
||
return CollectionsKt.listOf(r);
|
||
}
|
||
ArrayList arrayList = new ArrayList(charSequence.length() + 1);
|
||
arrayList.add(r);
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
r = operation.invoke(r, Character.valueOf(charSequence.charAt(i)));
|
||
arrayList.add(r);
|
||
}
|
||
return arrayList;
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@NotNull
|
||
public static final <R> List<R> runningFoldIndexed(@NotNull CharSequence charSequence, R r, @NotNull Function3<? super Integer, ? super R, ? super Character, ? extends R> operation) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(operation, "operation");
|
||
if (charSequence.length() == 0) {
|
||
return CollectionsKt.listOf(r);
|
||
}
|
||
ArrayList arrayList = new ArrayList(charSequence.length() + 1);
|
||
arrayList.add(r);
|
||
int length = charSequence.length();
|
||
for (int i = 0; i < length; i++) {
|
||
r = operation.invoke(Integer.valueOf(i), r, Character.valueOf(charSequence.charAt(i)));
|
||
arrayList.add(r);
|
||
}
|
||
return arrayList;
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@NotNull
|
||
public static final List<Character> runningReduce(@NotNull CharSequence charSequence, @NotNull Function2<? super Character, ? super Character, Character> operation) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(operation, "operation");
|
||
if (charSequence.length() == 0) {
|
||
return CollectionsKt.emptyList();
|
||
}
|
||
char charAt = charSequence.charAt(0);
|
||
ArrayList arrayList = new ArrayList(charSequence.length());
|
||
arrayList.add(Character.valueOf(charAt));
|
||
int length = charSequence.length();
|
||
int i = 1;
|
||
while (i < length) {
|
||
Character invoke = operation.invoke(Character.valueOf(charAt), Character.valueOf(charSequence.charAt(i)));
|
||
char charValue = invoke.charValue();
|
||
arrayList.add(invoke);
|
||
i++;
|
||
charAt = charValue;
|
||
}
|
||
return arrayList;
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@NotNull
|
||
public static final List<Character> runningReduceIndexed(@NotNull CharSequence charSequence, @NotNull Function3<? super Integer, ? super Character, ? super Character, Character> operation) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(operation, "operation");
|
||
if (charSequence.length() == 0) {
|
||
return CollectionsKt.emptyList();
|
||
}
|
||
char charAt = charSequence.charAt(0);
|
||
ArrayList arrayList = new ArrayList(charSequence.length());
|
||
arrayList.add(Character.valueOf(charAt));
|
||
int length = charSequence.length();
|
||
int i = 1;
|
||
while (i < length) {
|
||
Character invoke = operation.invoke(Integer.valueOf(i), Character.valueOf(charAt), Character.valueOf(charSequence.charAt(i)));
|
||
char charValue = invoke.charValue();
|
||
arrayList.add(invoke);
|
||
i++;
|
||
charAt = charValue;
|
||
}
|
||
return arrayList;
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@NotNull
|
||
public static final <R> List<R> scan(@NotNull CharSequence charSequence, R r, @NotNull Function2<? super R, ? super Character, ? extends R> operation) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(operation, "operation");
|
||
if (charSequence.length() == 0) {
|
||
return CollectionsKt.listOf(r);
|
||
}
|
||
ArrayList arrayList = new ArrayList(charSequence.length() + 1);
|
||
arrayList.add(r);
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
r = operation.invoke(r, Character.valueOf(charSequence.charAt(i)));
|
||
arrayList.add(r);
|
||
}
|
||
return arrayList;
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@NotNull
|
||
public static final <R> List<R> scanIndexed(@NotNull CharSequence charSequence, R r, @NotNull Function3<? super Integer, ? super R, ? super Character, ? extends R> operation) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(operation, "operation");
|
||
if (charSequence.length() == 0) {
|
||
return CollectionsKt.listOf(r);
|
||
}
|
||
ArrayList arrayList = new ArrayList(charSequence.length() + 1);
|
||
arrayList.add(r);
|
||
int length = charSequence.length();
|
||
for (int i = 0; i < length; i++) {
|
||
r = operation.invoke(Integer.valueOf(i), r, Character.valueOf(charSequence.charAt(i)));
|
||
arrayList.add(r);
|
||
}
|
||
return arrayList;
|
||
}
|
||
|
||
public static final char single(@NotNull CharSequence charSequence) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
int length = charSequence.length();
|
||
if (length == 0) {
|
||
throw new NoSuchElementException("Char sequence is empty.");
|
||
}
|
||
if (length == 1) {
|
||
return charSequence.charAt(0);
|
||
}
|
||
throw new IllegalArgumentException("Char sequence has more than one element.");
|
||
}
|
||
|
||
@Nullable
|
||
public static final Character singleOrNull(@NotNull CharSequence charSequence) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
if (charSequence.length() == 1) {
|
||
return Character.valueOf(charSequence.charAt(0));
|
||
}
|
||
return null;
|
||
}
|
||
|
||
@NotNull
|
||
public static final CharSequence slice(@NotNull CharSequence charSequence, @NotNull IntRange indices) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(indices, "indices");
|
||
return indices.isEmpty() ? RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED : StringsKt__StringsKt.subSequence(charSequence, indices);
|
||
}
|
||
|
||
@Deprecated(message = "Use sumOf instead.", replaceWith = @ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
|
||
@DeprecatedSinceKotlin(warningSince = "1.5")
|
||
public static final int sumBy(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, Integer> selector) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(selector, "selector");
|
||
int i = 0;
|
||
for (int i2 = 0; i2 < charSequence.length(); i2++) {
|
||
i += ((Number) com.mycompany.app.dialog.a.g(charSequence, i2, selector)).intValue();
|
||
}
|
||
return i;
|
||
}
|
||
|
||
@Deprecated(message = "Use sumOf instead.", replaceWith = @ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
|
||
@DeprecatedSinceKotlin(warningSince = "1.5")
|
||
public static final double sumByDouble(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, Double> selector) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(selector, "selector");
|
||
double d = 0.0d;
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
d += ((Number) com.mycompany.app.dialog.a.g(charSequence, i, selector)).doubleValue();
|
||
}
|
||
return d;
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@InlineOnly
|
||
@JvmName(name = "sumOfDouble")
|
||
@OverloadResolutionByLambdaReturnType
|
||
private static final double sumOfDouble(CharSequence charSequence, Function1<? super Character, Double> selector) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(selector, "selector");
|
||
double d = 0.0d;
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
d += ((Number) com.mycompany.app.dialog.a.g(charSequence, i, selector)).doubleValue();
|
||
}
|
||
return d;
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@InlineOnly
|
||
@JvmName(name = "sumOfInt")
|
||
private static final int sumOfInt(CharSequence charSequence, Function1<? super Character, Integer> selector) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(selector, "selector");
|
||
int i = 0;
|
||
for (int i2 = 0; i2 < charSequence.length(); i2++) {
|
||
i += ((Number) com.mycompany.app.dialog.a.g(charSequence, i2, selector)).intValue();
|
||
}
|
||
return i;
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@InlineOnly
|
||
@JvmName(name = "sumOfLong")
|
||
@OverloadResolutionByLambdaReturnType
|
||
private static final long sumOfLong(CharSequence charSequence, Function1<? super Character, Long> selector) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(selector, "selector");
|
||
long j = 0;
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
j += ((Number) com.mycompany.app.dialog.a.g(charSequence, i, selector)).longValue();
|
||
}
|
||
return j;
|
||
}
|
||
|
||
@SinceKotlin(version = "1.5")
|
||
@InlineOnly
|
||
@JvmName(name = "sumOfUInt")
|
||
private static final int sumOfUInt(CharSequence charSequence, Function1<? super Character, UInt> selector) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(selector, "selector");
|
||
int m125constructorimpl = UInt.m125constructorimpl(0);
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
m125constructorimpl = com.mycompany.app.dialog.a.c((UInt) com.mycompany.app.dialog.a.g(charSequence, i, selector), m125constructorimpl);
|
||
}
|
||
return m125constructorimpl;
|
||
}
|
||
|
||
@SinceKotlin(version = "1.5")
|
||
@InlineOnly
|
||
@JvmName(name = "sumOfULong")
|
||
@OverloadResolutionByLambdaReturnType
|
||
private static final long sumOfULong(CharSequence charSequence, Function1<? super Character, ULong> selector) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(selector, "selector");
|
||
long m204constructorimpl = ULong.m204constructorimpl(0L);
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
m204constructorimpl = ULong.m204constructorimpl(((ULong) com.mycompany.app.dialog.a.g(charSequence, i, selector)).getData() + m204constructorimpl);
|
||
}
|
||
return m204constructorimpl;
|
||
}
|
||
|
||
@NotNull
|
||
public static final CharSequence take(@NotNull CharSequence charSequence, int i) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
if (i >= 0) {
|
||
return charSequence.subSequence(0, RangesKt.coerceAtMost(i, charSequence.length()));
|
||
}
|
||
throw new IllegalArgumentException(android.support.v4.media.a.f(i, "Requested character count ", " is less than zero.").toString());
|
||
}
|
||
|
||
@NotNull
|
||
public static final CharSequence takeLast(@NotNull CharSequence charSequence, int i) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
if (i >= 0) {
|
||
int length = charSequence.length();
|
||
return charSequence.subSequence(length - RangesKt.coerceAtMost(i, length), length);
|
||
}
|
||
throw new IllegalArgumentException(android.support.v4.media.a.f(i, "Requested character count ", " is less than zero.").toString());
|
||
}
|
||
|
||
@NotNull
|
||
public static final CharSequence takeLastWhile(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
for (int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence); -1 < lastIndex; lastIndex--) {
|
||
if (!((Boolean) com.mycompany.app.dialog.a.g(charSequence, lastIndex, predicate)).booleanValue()) {
|
||
return charSequence.subSequence(lastIndex + 1, charSequence.length());
|
||
}
|
||
}
|
||
return charSequence.subSequence(0, charSequence.length());
|
||
}
|
||
|
||
@NotNull
|
||
public static final CharSequence takeWhile(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, Boolean> function1) {
|
||
int b = com.mycompany.app.dialog.a.b(charSequence, "<this>", function1, "predicate");
|
||
for (int i = 0; i < b; i++) {
|
||
if (!((Boolean) com.mycompany.app.dialog.a.g(charSequence, i, function1)).booleanValue()) {
|
||
return charSequence.subSequence(0, i);
|
||
}
|
||
}
|
||
return charSequence.subSequence(0, charSequence.length());
|
||
}
|
||
|
||
@NotNull
|
||
public static final <C extends Collection<? super Character>> C toCollection(@NotNull CharSequence charSequence, @NotNull C destination) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(destination, "destination");
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
destination.add(Character.valueOf(charSequence.charAt(i)));
|
||
}
|
||
return destination;
|
||
}
|
||
|
||
@NotNull
|
||
public static final HashSet<Character> toHashSet(@NotNull CharSequence charSequence) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
return (HashSet) toCollection(charSequence, new HashSet(MapsKt.mapCapacity(RangesKt.coerceAtMost(charSequence.length(), Uuid.SIZE_BITS))));
|
||
}
|
||
|
||
@NotNull
|
||
public static final List<Character> toList(@NotNull CharSequence charSequence) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
int length = charSequence.length();
|
||
if (length != 0) {
|
||
if (length != 1) {
|
||
return toMutableList(charSequence);
|
||
}
|
||
return CollectionsKt.listOf(Character.valueOf(charSequence.charAt(0)));
|
||
}
|
||
return CollectionsKt.emptyList();
|
||
}
|
||
|
||
@NotNull
|
||
public static final List<Character> toMutableList(@NotNull CharSequence charSequence) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
return (List) toCollection(charSequence, new ArrayList(charSequence.length()));
|
||
}
|
||
|
||
@NotNull
|
||
public static final Set<Character> toSet(@NotNull CharSequence charSequence) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
int length = charSequence.length();
|
||
if (length != 0) {
|
||
if (length != 1) {
|
||
return (Set) toCollection(charSequence, new LinkedHashSet(MapsKt.mapCapacity(RangesKt.coerceAtMost(charSequence.length(), Uuid.SIZE_BITS))));
|
||
}
|
||
return SetsKt.setOf(Character.valueOf(charSequence.charAt(0)));
|
||
}
|
||
return SetsKt.emptySet();
|
||
}
|
||
|
||
@SinceKotlin(version = "1.2")
|
||
@NotNull
|
||
public static final List<String> windowed(@NotNull CharSequence charSequence, int i, int i2, boolean z) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
return windowed(charSequence, i, i2, z, new d(1));
|
||
}
|
||
|
||
public static /* synthetic */ List windowed$default(CharSequence charSequence, int i, int i2, boolean z, int i3, Object obj) {
|
||
if ((i3 & 2) != 0) {
|
||
i2 = 1;
|
||
}
|
||
if ((i3 & 4) != 0) {
|
||
z = false;
|
||
}
|
||
return windowed(charSequence, i, i2, z);
|
||
}
|
||
|
||
public static final String windowed$lambda$0$StringsKt___StringsKt(CharSequence it) {
|
||
Intrinsics.checkNotNullParameter(it, "it");
|
||
return it.toString();
|
||
}
|
||
|
||
@SinceKotlin(version = "1.2")
|
||
@NotNull
|
||
public static final Sequence<String> windowedSequence(@NotNull CharSequence charSequence, int i, int i2, boolean z) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
return windowedSequence(charSequence, i, i2, z, new d(2));
|
||
}
|
||
|
||
public static /* synthetic */ Sequence windowedSequence$default(CharSequence charSequence, int i, int i2, boolean z, int i3, Object obj) {
|
||
if ((i3 & 2) != 0) {
|
||
i2 = 1;
|
||
}
|
||
if ((i3 & 4) != 0) {
|
||
z = false;
|
||
}
|
||
return windowedSequence(charSequence, i, i2, z);
|
||
}
|
||
|
||
public static final String windowedSequence$lambda$0$StringsKt___StringsKt(CharSequence it) {
|
||
Intrinsics.checkNotNullParameter(it, "it");
|
||
return it.toString();
|
||
}
|
||
|
||
public static final Object windowedSequence$lambda$1$StringsKt___StringsKt(int i, CharSequence charSequence, Function1 function1, int i2) {
|
||
int i3 = i + i2;
|
||
if (i3 < 0 || i3 > charSequence.length()) {
|
||
i3 = charSequence.length();
|
||
}
|
||
return function1.invoke(charSequence.subSequence(i2, i3));
|
||
}
|
||
|
||
@NotNull
|
||
public static final Iterable<IndexedValue<Character>> withIndex(@NotNull final CharSequence charSequence) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
return new IndexingIterable(new Function0() { // from class: kotlin.text.g
|
||
@Override // kotlin.jvm.functions.Function0
|
||
public final Object invoke() {
|
||
Iterator it;
|
||
it = StringsKt__StringsKt.iterator(charSequence);
|
||
return it;
|
||
}
|
||
});
|
||
}
|
||
|
||
@NotNull
|
||
public static final <V> List<V> zip(@NotNull CharSequence charSequence, @NotNull CharSequence other, @NotNull Function2<? super Character, ? super Character, ? extends V> transform) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(other, "other");
|
||
Intrinsics.checkNotNullParameter(transform, "transform");
|
||
int min = Math.min(charSequence.length(), other.length());
|
||
ArrayList arrayList = new ArrayList(min);
|
||
for (int i = 0; i < min; i++) {
|
||
arrayList.add(transform.invoke(Character.valueOf(charSequence.charAt(i)), Character.valueOf(other.charAt(i))));
|
||
}
|
||
return arrayList;
|
||
}
|
||
|
||
@SinceKotlin(version = "1.2")
|
||
@NotNull
|
||
public static final <R> List<R> zipWithNext(@NotNull CharSequence charSequence, @NotNull Function2<? super Character, ? super Character, ? extends R> transform) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(transform, "transform");
|
||
int length = charSequence.length() - 1;
|
||
if (length < 1) {
|
||
return CollectionsKt.emptyList();
|
||
}
|
||
ArrayList arrayList = new ArrayList(length);
|
||
int i = 0;
|
||
while (i < length) {
|
||
Character valueOf = Character.valueOf(charSequence.charAt(i));
|
||
i++;
|
||
arrayList.add(transform.invoke(valueOf, Character.valueOf(charSequence.charAt(i))));
|
||
}
|
||
return arrayList;
|
||
}
|
||
|
||
public static final boolean any(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
if (((Boolean) com.mycompany.app.dialog.a.g(charSequence, i, predicate)).booleanValue()) {
|
||
return true;
|
||
}
|
||
}
|
||
return false;
|
||
}
|
||
|
||
@SinceKotlin(version = "1.2")
|
||
@NotNull
|
||
public static final <R> List<R> chunked(@NotNull CharSequence charSequence, int i, @NotNull Function1<? super CharSequence, ? extends R> transform) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(transform, "transform");
|
||
return windowed(charSequence, i, i, true, transform);
|
||
}
|
||
|
||
@SinceKotlin(version = "1.2")
|
||
@NotNull
|
||
public static final <R> Sequence<R> chunkedSequence(@NotNull CharSequence charSequence, int i, @NotNull Function1<? super CharSequence, ? extends R> transform) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(transform, "transform");
|
||
return windowedSequence(charSequence, i, i, true, transform);
|
||
}
|
||
|
||
public static final int count(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
int i = 0;
|
||
for (int i2 = 0; i2 < charSequence.length(); i2++) {
|
||
if (((Boolean) com.mycompany.app.dialog.a.g(charSequence, i2, predicate)).booleanValue()) {
|
||
i++;
|
||
}
|
||
}
|
||
return i;
|
||
}
|
||
|
||
@Nullable
|
||
public static final Character firstOrNull(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
char charAt = charSequence.charAt(i);
|
||
if (predicate.invoke(Character.valueOf(charAt)).booleanValue()) {
|
||
return Character.valueOf(charAt);
|
||
}
|
||
}
|
||
return null;
|
||
}
|
||
|
||
@Nullable
|
||
public static final Character lastOrNull(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
int length = charSequence.length() - 1;
|
||
if (length < 0) {
|
||
return null;
|
||
}
|
||
while (true) {
|
||
int i = length - 1;
|
||
char charAt = charSequence.charAt(length);
|
||
if (predicate.invoke(Character.valueOf(charAt)).booleanValue()) {
|
||
return Character.valueOf(charAt);
|
||
}
|
||
if (i < 0) {
|
||
return null;
|
||
}
|
||
length = i;
|
||
}
|
||
}
|
||
|
||
public static final boolean none(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
if (((Boolean) com.mycompany.app.dialog.a.g(charSequence, i, predicate)).booleanValue()) {
|
||
return false;
|
||
}
|
||
}
|
||
return true;
|
||
}
|
||
|
||
@SinceKotlin(version = "1.3")
|
||
public static final char random(@NotNull CharSequence charSequence, @NotNull Random random) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(random, "random");
|
||
if (charSequence.length() != 0) {
|
||
return charSequence.charAt(random.nextInt(charSequence.length()));
|
||
}
|
||
throw new NoSuchElementException("Char sequence is empty.");
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@Nullable
|
||
public static final Character randomOrNull(@NotNull CharSequence charSequence, @NotNull Random random) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(random, "random");
|
||
if (charSequence.length() == 0) {
|
||
return null;
|
||
}
|
||
return Character.valueOf(charSequence.charAt(random.nextInt(charSequence.length())));
|
||
}
|
||
|
||
@InlineOnly
|
||
private static final String reversed(String str) {
|
||
Intrinsics.checkNotNullParameter(str, "<this>");
|
||
return reversed((CharSequence) str).toString();
|
||
}
|
||
|
||
@Nullable
|
||
public static final Character singleOrNull(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
Character ch = null;
|
||
boolean z = false;
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
char charAt = charSequence.charAt(i);
|
||
if (predicate.invoke(Character.valueOf(charAt)).booleanValue()) {
|
||
if (z) {
|
||
return null;
|
||
}
|
||
ch = Character.valueOf(charAt);
|
||
z = true;
|
||
}
|
||
}
|
||
if (z) {
|
||
return ch;
|
||
}
|
||
return null;
|
||
}
|
||
|
||
@SinceKotlin(version = "1.2")
|
||
@NotNull
|
||
public static final <R> List<R> windowed(@NotNull CharSequence charSequence, int i, int i2, boolean z, @NotNull Function1<? super CharSequence, ? extends R> transform) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(transform, "transform");
|
||
SlidingWindowKt.checkWindowSizeStep(i, i2);
|
||
int length = charSequence.length();
|
||
int i3 = 0;
|
||
ArrayList arrayList = new ArrayList((length / i2) + (length % i2 == 0 ? 0 : 1));
|
||
while (i3 >= 0 && i3 < length) {
|
||
int i4 = i3 + i;
|
||
if (i4 < 0 || i4 > length) {
|
||
if (!z) {
|
||
break;
|
||
}
|
||
i4 = length;
|
||
}
|
||
arrayList.add(transform.invoke(charSequence.subSequence(i3, i4)));
|
||
i3 += i2;
|
||
}
|
||
return arrayList;
|
||
}
|
||
|
||
public static /* synthetic */ List windowed$default(CharSequence charSequence, int i, int i2, boolean z, Function1 function1, int i3, Object obj) {
|
||
if ((i3 & 2) != 0) {
|
||
i2 = 1;
|
||
}
|
||
if ((i3 & 4) != 0) {
|
||
z = false;
|
||
}
|
||
return windowed(charSequence, i, i2, z, function1);
|
||
}
|
||
|
||
@SinceKotlin(version = "1.2")
|
||
@NotNull
|
||
public static final <R> Sequence<R> windowedSequence(@NotNull final CharSequence charSequence, final int i, int i2, boolean z, @NotNull final Function1<? super CharSequence, ? extends R> transform) {
|
||
IntProgression step;
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(transform, "transform");
|
||
SlidingWindowKt.checkWindowSizeStep(i, i2);
|
||
step = RangesKt___RangesKt.step(z ? StringsKt__StringsKt.getIndices(charSequence) : RangesKt.until(0, (charSequence.length() - i) + 1), i2);
|
||
return SequencesKt.map(CollectionsKt.asSequence(step), new Function1() { // from class: kotlin.text.h
|
||
@Override // kotlin.jvm.functions.Function1
|
||
public final Object invoke(Object obj) {
|
||
Object windowedSequence$lambda$1$StringsKt___StringsKt;
|
||
windowedSequence$lambda$1$StringsKt___StringsKt = StringsKt___StringsKt.windowedSequence$lambda$1$StringsKt___StringsKt(i, charSequence, transform, ((Integer) obj).intValue());
|
||
return windowedSequence$lambda$1$StringsKt___StringsKt;
|
||
}
|
||
});
|
||
}
|
||
|
||
public static /* synthetic */ Sequence windowedSequence$default(CharSequence charSequence, int i, int i2, boolean z, Function1 function1, int i3, Object obj) {
|
||
if ((i3 & 2) != 0) {
|
||
i2 = 1;
|
||
}
|
||
if ((i3 & 4) != 0) {
|
||
z = false;
|
||
}
|
||
return windowedSequence(charSequence, i, i2, z, function1);
|
||
}
|
||
|
||
@NotNull
|
||
public static final <K, V, M extends Map<? super K, ? super V>> M associateByTo(@NotNull CharSequence charSequence, @NotNull M destination, @NotNull Function1<? super Character, ? extends K> keySelector, @NotNull Function1<? super Character, ? extends V> valueTransform) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(destination, "destination");
|
||
Intrinsics.checkNotNullParameter(keySelector, "keySelector");
|
||
Intrinsics.checkNotNullParameter(valueTransform, "valueTransform");
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
char charAt = charSequence.charAt(i);
|
||
destination.put(keySelector.invoke(Character.valueOf(charAt)), valueTransform.invoke(Character.valueOf(charAt)));
|
||
}
|
||
return destination;
|
||
}
|
||
|
||
@NotNull
|
||
public static final String filterNot(@NotNull String str, @NotNull Function1<? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(str, "<this>");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
StringBuilder sb = new StringBuilder();
|
||
for (int i = 0; i < str.length(); i++) {
|
||
char charAt = str.charAt(i);
|
||
if (!predicate.invoke(Character.valueOf(charAt)).booleanValue()) {
|
||
sb.append(charAt);
|
||
}
|
||
}
|
||
return sb.toString();
|
||
}
|
||
|
||
@NotNull
|
||
public static final String slice(@NotNull String str, @NotNull IntRange indices) {
|
||
Intrinsics.checkNotNullParameter(str, "<this>");
|
||
Intrinsics.checkNotNullParameter(indices, "indices");
|
||
return indices.isEmpty() ? RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED : StringsKt__StringsKt.substring(str, indices);
|
||
}
|
||
|
||
@NotNull
|
||
public static final String filterIndexed(@NotNull String str, @NotNull Function2<? super Integer, ? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(str, "<this>");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
StringBuilder sb = new StringBuilder();
|
||
int i = 0;
|
||
int i2 = 0;
|
||
while (i < str.length()) {
|
||
char charAt = str.charAt(i);
|
||
int i3 = i2 + 1;
|
||
if (predicate.invoke(Integer.valueOf(i2), Character.valueOf(charAt)).booleanValue()) {
|
||
sb.append(charAt);
|
||
}
|
||
i++;
|
||
i2 = i3;
|
||
}
|
||
return sb.toString();
|
||
}
|
||
|
||
public static final char first(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
char charAt = charSequence.charAt(i);
|
||
if (predicate.invoke(Character.valueOf(charAt)).booleanValue()) {
|
||
return charAt;
|
||
}
|
||
}
|
||
throw new NoSuchElementException("Char sequence contains no character matching the predicate.");
|
||
}
|
||
|
||
public static final char last(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
int length = charSequence.length() - 1;
|
||
if (length >= 0) {
|
||
while (true) {
|
||
int i = length - 1;
|
||
char charAt = charSequence.charAt(length);
|
||
if (!predicate.invoke(Character.valueOf(charAt)).booleanValue()) {
|
||
if (i < 0) {
|
||
break;
|
||
}
|
||
length = i;
|
||
} else {
|
||
return charAt;
|
||
}
|
||
}
|
||
}
|
||
throw new NoSuchElementException("Char sequence contains no character matching the predicate.");
|
||
}
|
||
|
||
@NotNull
|
||
public static final List<Pair<Character, Character>> zip(@NotNull CharSequence charSequence, @NotNull CharSequence other) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(other, "other");
|
||
int min = Math.min(charSequence.length(), other.length());
|
||
ArrayList arrayList = new ArrayList(min);
|
||
for (int i = 0; i < min; i++) {
|
||
arrayList.add(TuplesKt.to(Character.valueOf(charSequence.charAt(i)), Character.valueOf(other.charAt(i))));
|
||
}
|
||
return arrayList;
|
||
}
|
||
|
||
@NotNull
|
||
public static final <K, V> Map<K, V> associateBy(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, ? extends K> keySelector, @NotNull Function1<? super Character, ? extends V> valueTransform) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(keySelector, "keySelector");
|
||
Intrinsics.checkNotNullParameter(valueTransform, "valueTransform");
|
||
LinkedHashMap linkedHashMap = new LinkedHashMap(RangesKt.coerceAtLeast(MapsKt.mapCapacity(charSequence.length()), 16));
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
char charAt = charSequence.charAt(i);
|
||
linkedHashMap.put(keySelector.invoke(Character.valueOf(charAt)), valueTransform.invoke(Character.valueOf(charAt)));
|
||
}
|
||
return linkedHashMap;
|
||
}
|
||
|
||
@NotNull
|
||
public static final String filter(@NotNull String str, @NotNull Function1<? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(str, "<this>");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
StringBuilder sb = new StringBuilder();
|
||
int length = str.length();
|
||
for (int i = 0; i < length; i++) {
|
||
char charAt = str.charAt(i);
|
||
if (predicate.invoke(Character.valueOf(charAt)).booleanValue()) {
|
||
sb.append(charAt);
|
||
}
|
||
}
|
||
return sb.toString();
|
||
}
|
||
|
||
public static final char single(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
Character ch = null;
|
||
boolean z = false;
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
char charAt = charSequence.charAt(i);
|
||
if (predicate.invoke(Character.valueOf(charAt)).booleanValue()) {
|
||
if (!z) {
|
||
ch = Character.valueOf(charAt);
|
||
z = true;
|
||
} else {
|
||
throw new IllegalArgumentException("Char sequence contains more than one matching element.");
|
||
}
|
||
}
|
||
}
|
||
if (z) {
|
||
Intrinsics.checkNotNull(ch, "null cannot be cast to non-null type kotlin.Char");
|
||
return ch.charValue();
|
||
}
|
||
throw new NoSuchElementException("Char sequence contains no character matching the predicate.");
|
||
}
|
||
|
||
@NotNull
|
||
public static final CharSequence slice(@NotNull CharSequence charSequence, @NotNull Iterable<Integer> indices) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(indices, "indices");
|
||
int collectionSizeOrDefault = CollectionsKt.collectionSizeOrDefault(indices, 10);
|
||
if (collectionSizeOrDefault == 0) {
|
||
return RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED;
|
||
}
|
||
StringBuilder sb = new StringBuilder(collectionSizeOrDefault);
|
||
Iterator<Integer> it = indices.iterator();
|
||
while (it.hasNext()) {
|
||
sb.append(charSequence.charAt(it.next().intValue()));
|
||
}
|
||
return sb;
|
||
}
|
||
|
||
@SinceKotlin(version = "1.2")
|
||
@NotNull
|
||
public static final List<Pair<Character, Character>> zipWithNext(@NotNull CharSequence charSequence) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
int length = charSequence.length() - 1;
|
||
if (length < 1) {
|
||
return CollectionsKt.emptyList();
|
||
}
|
||
ArrayList arrayList = new ArrayList(length);
|
||
int i = 0;
|
||
while (i < length) {
|
||
char charAt = charSequence.charAt(i);
|
||
i++;
|
||
arrayList.add(TuplesKt.to(Character.valueOf(charAt), Character.valueOf(charSequence.charAt(i))));
|
||
}
|
||
return arrayList;
|
||
}
|
||
|
||
@NotNull
|
||
public static final Pair<String, String> partition(@NotNull String str, @NotNull Function1<? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(str, "<this>");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
StringBuilder sb = new StringBuilder();
|
||
StringBuilder sb2 = new StringBuilder();
|
||
int length = str.length();
|
||
for (int i = 0; i < length; i++) {
|
||
char charAt = str.charAt(i);
|
||
if (predicate.invoke(Character.valueOf(charAt)).booleanValue()) {
|
||
sb.append(charAt);
|
||
} else {
|
||
sb2.append(charAt);
|
||
}
|
||
}
|
||
return new Pair<>(sb.toString(), sb2.toString());
|
||
}
|
||
|
||
@NotNull
|
||
public static final String dropLastWhile(@NotNull String str, @NotNull Function1<? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(str, "<this>");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
for (int lastIndex = StringsKt__StringsKt.getLastIndex(str); -1 < lastIndex; lastIndex--) {
|
||
if (!predicate.invoke(Character.valueOf(str.charAt(lastIndex))).booleanValue()) {
|
||
String substring = str.substring(0, lastIndex + 1);
|
||
Intrinsics.checkNotNullExpressionValue(substring, "substring(...)");
|
||
return substring;
|
||
}
|
||
}
|
||
return RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED;
|
||
}
|
||
|
||
@NotNull
|
||
public static final String takeLastWhile(@NotNull String str, @NotNull Function1<? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(str, "<this>");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
for (int lastIndex = StringsKt__StringsKt.getLastIndex(str); -1 < lastIndex; lastIndex--) {
|
||
if (!predicate.invoke(Character.valueOf(str.charAt(lastIndex))).booleanValue()) {
|
||
String substring = str.substring(lastIndex + 1);
|
||
Intrinsics.checkNotNullExpressionValue(substring, "substring(...)");
|
||
return substring;
|
||
}
|
||
}
|
||
return str;
|
||
}
|
||
|
||
@NotNull
|
||
public static String drop(@NotNull String str, int i) {
|
||
Intrinsics.checkNotNullParameter(str, "<this>");
|
||
if (i >= 0) {
|
||
String substring = str.substring(RangesKt.coerceAtMost(i, str.length()));
|
||
Intrinsics.checkNotNullExpressionValue(substring, "substring(...)");
|
||
return substring;
|
||
}
|
||
throw new IllegalArgumentException(android.support.v4.media.a.f(i, "Requested character count ", " is less than zero.").toString());
|
||
}
|
||
|
||
@NotNull
|
||
public static String dropLast(@NotNull String str, int i) {
|
||
Intrinsics.checkNotNullParameter(str, "<this>");
|
||
if (i >= 0) {
|
||
return take(str, RangesKt.coerceAtLeast(str.length() - i, 0));
|
||
}
|
||
throw new IllegalArgumentException(android.support.v4.media.a.f(i, "Requested character count ", " is less than zero.").toString());
|
||
}
|
||
|
||
@NotNull
|
||
public static final <K, V, M extends Map<? super K, List<V>>> M groupByTo(@NotNull CharSequence charSequence, @NotNull M destination, @NotNull Function1<? super Character, ? extends K> keySelector, @NotNull Function1<? super Character, ? extends V> valueTransform) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(destination, "destination");
|
||
Intrinsics.checkNotNullParameter(keySelector, "keySelector");
|
||
Intrinsics.checkNotNullParameter(valueTransform, "valueTransform");
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
char charAt = charSequence.charAt(i);
|
||
K invoke = keySelector.invoke(Character.valueOf(charAt));
|
||
Object obj = destination.get(invoke);
|
||
if (obj == null) {
|
||
obj = com.mycompany.app.dialog.a.o(destination, invoke);
|
||
}
|
||
((List) obj).add(valueTransform.invoke(Character.valueOf(charAt)));
|
||
}
|
||
return destination;
|
||
}
|
||
|
||
@InlineOnly
|
||
private static final String slice(String str, Iterable<Integer> indices) {
|
||
Intrinsics.checkNotNullParameter(str, "<this>");
|
||
Intrinsics.checkNotNullParameter(indices, "indices");
|
||
return slice((CharSequence) str, indices).toString();
|
||
}
|
||
|
||
@NotNull
|
||
public static String take(@NotNull String str, int i) {
|
||
Intrinsics.checkNotNullParameter(str, "<this>");
|
||
if (i >= 0) {
|
||
String substring = str.substring(0, RangesKt.coerceAtMost(i, str.length()));
|
||
Intrinsics.checkNotNullExpressionValue(substring, "substring(...)");
|
||
return substring;
|
||
}
|
||
throw new IllegalArgumentException(android.support.v4.media.a.f(i, "Requested character count ", " is less than zero.").toString());
|
||
}
|
||
|
||
@NotNull
|
||
public static final <K, V> Map<K, List<V>> groupBy(@NotNull CharSequence charSequence, @NotNull Function1<? super Character, ? extends K> keySelector, @NotNull Function1<? super Character, ? extends V> valueTransform) {
|
||
Intrinsics.checkNotNullParameter(charSequence, "<this>");
|
||
Intrinsics.checkNotNullParameter(keySelector, "keySelector");
|
||
Intrinsics.checkNotNullParameter(valueTransform, "valueTransform");
|
||
LinkedHashMap linkedHashMap = new LinkedHashMap();
|
||
for (int i = 0; i < charSequence.length(); i++) {
|
||
char charAt = charSequence.charAt(i);
|
||
K invoke = keySelector.invoke(Character.valueOf(charAt));
|
||
Object obj = linkedHashMap.get(invoke);
|
||
if (obj == null) {
|
||
obj = com.mycompany.app.dialog.a.n(linkedHashMap, invoke);
|
||
}
|
||
((List) obj).add(valueTransform.invoke(Character.valueOf(charAt)));
|
||
}
|
||
return linkedHashMap;
|
||
}
|
||
|
||
@NotNull
|
||
public static final String takeLast(@NotNull String str, int i) {
|
||
Intrinsics.checkNotNullParameter(str, "<this>");
|
||
if (i >= 0) {
|
||
int length = str.length();
|
||
String substring = str.substring(length - RangesKt.coerceAtMost(i, length));
|
||
Intrinsics.checkNotNullExpressionValue(substring, "substring(...)");
|
||
return substring;
|
||
}
|
||
throw new IllegalArgumentException(android.support.v4.media.a.f(i, "Requested character count ", " is less than zero.").toString());
|
||
}
|
||
|
||
@NotNull
|
||
public static final String dropWhile(@NotNull String str, @NotNull Function1<? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(str, "<this>");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
int length = str.length();
|
||
for (int i = 0; i < length; i++) {
|
||
if (!predicate.invoke(Character.valueOf(str.charAt(i))).booleanValue()) {
|
||
String substring = str.substring(i);
|
||
Intrinsics.checkNotNullExpressionValue(substring, "substring(...)");
|
||
return substring;
|
||
}
|
||
}
|
||
return RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED;
|
||
}
|
||
|
||
@NotNull
|
||
public static final String takeWhile(@NotNull String str, @NotNull Function1<? super Character, Boolean> predicate) {
|
||
Intrinsics.checkNotNullParameter(str, "<this>");
|
||
Intrinsics.checkNotNullParameter(predicate, "predicate");
|
||
int length = str.length();
|
||
for (int i = 0; i < length; i++) {
|
||
if (!predicate.invoke(Character.valueOf(str.charAt(i))).booleanValue()) {
|
||
String substring = str.substring(0, i);
|
||
Intrinsics.checkNotNullExpressionValue(substring, "substring(...)");
|
||
return substring;
|
||
}
|
||
}
|
||
return str;
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@OverloadResolutionByLambdaReturnType
|
||
@InlineOnly
|
||
/* renamed from: maxOfOrNull */
|
||
private static final Double m1326maxOfOrNull(CharSequence charSequence, Function1<? super Character, Double> function1) {
|
||
if (com.mycompany.app.dialog.a.b(charSequence, "<this>", function1, "selector") == 0) {
|
||
return null;
|
||
}
|
||
double doubleValue = ((Number) com.mycompany.app.dialog.a.g(charSequence, 0, function1)).doubleValue();
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
doubleValue = Math.max(doubleValue, ((Number) com.mycompany.app.dialog.a.g(charSequence, i, function1)).doubleValue());
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return Double.valueOf(doubleValue);
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@OverloadResolutionByLambdaReturnType
|
||
@InlineOnly
|
||
/* renamed from: minOfOrNull */
|
||
private static final Double m1330minOfOrNull(CharSequence charSequence, Function1<? super Character, Double> function1) {
|
||
if (com.mycompany.app.dialog.a.b(charSequence, "<this>", function1, "selector") == 0) {
|
||
return null;
|
||
}
|
||
double doubleValue = ((Number) com.mycompany.app.dialog.a.g(charSequence, 0, function1)).doubleValue();
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
doubleValue = Math.min(doubleValue, ((Number) com.mycompany.app.dialog.a.g(charSequence, i, function1)).doubleValue());
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return Double.valueOf(doubleValue);
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@OverloadResolutionByLambdaReturnType
|
||
@InlineOnly
|
||
/* renamed from: maxOf */
|
||
private static final float m1324maxOf(CharSequence charSequence, Function1<? super Character, Float> function1) {
|
||
if (com.mycompany.app.dialog.a.b(charSequence, "<this>", function1, "selector") != 0) {
|
||
float floatValue = ((Number) com.mycompany.app.dialog.a.g(charSequence, 0, function1)).floatValue();
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
floatValue = Math.max(floatValue, ((Number) com.mycompany.app.dialog.a.g(charSequence, i, function1)).floatValue());
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return floatValue;
|
||
}
|
||
throw new NoSuchElementException();
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@OverloadResolutionByLambdaReturnType
|
||
@InlineOnly
|
||
/* renamed from: minOf */
|
||
private static final float m1328minOf(CharSequence charSequence, Function1<? super Character, Float> function1) {
|
||
if (com.mycompany.app.dialog.a.b(charSequence, "<this>", function1, "selector") != 0) {
|
||
float floatValue = ((Number) com.mycompany.app.dialog.a.g(charSequence, 0, function1)).floatValue();
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
floatValue = Math.min(floatValue, ((Number) com.mycompany.app.dialog.a.g(charSequence, i, function1)).floatValue());
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return floatValue;
|
||
}
|
||
throw new NoSuchElementException();
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@OverloadResolutionByLambdaReturnType
|
||
@InlineOnly
|
||
/* renamed from: maxOfOrNull */
|
||
private static final Float m1327maxOfOrNull(CharSequence charSequence, Function1<? super Character, Float> function1) {
|
||
if (com.mycompany.app.dialog.a.b(charSequence, "<this>", function1, "selector") == 0) {
|
||
return null;
|
||
}
|
||
float floatValue = ((Number) com.mycompany.app.dialog.a.g(charSequence, 0, function1)).floatValue();
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
floatValue = Math.max(floatValue, ((Number) com.mycompany.app.dialog.a.g(charSequence, i, function1)).floatValue());
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return Float.valueOf(floatValue);
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@OverloadResolutionByLambdaReturnType
|
||
@InlineOnly
|
||
/* renamed from: minOfOrNull */
|
||
private static final Float m1331minOfOrNull(CharSequence charSequence, Function1<? super Character, Float> function1) {
|
||
if (com.mycompany.app.dialog.a.b(charSequence, "<this>", function1, "selector") == 0) {
|
||
return null;
|
||
}
|
||
float floatValue = ((Number) com.mycompany.app.dialog.a.g(charSequence, 0, function1)).floatValue();
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
floatValue = Math.min(floatValue, ((Number) com.mycompany.app.dialog.a.g(charSequence, i, function1)).floatValue());
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return Float.valueOf(floatValue);
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@OverloadResolutionByLambdaReturnType
|
||
@InlineOnly
|
||
/* renamed from: maxOf */
|
||
private static final <R extends Comparable<? super R>> R m1325maxOf(CharSequence charSequence, Function1<? super Character, ? extends R> function1) {
|
||
if (com.mycompany.app.dialog.a.b(charSequence, "<this>", function1, "selector") != 0) {
|
||
R r = (R) com.mycompany.app.dialog.a.g(charSequence, 0, function1);
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
Comparable comparable = (Comparable) com.mycompany.app.dialog.a.g(charSequence, i, function1);
|
||
if (r.compareTo(comparable) < 0) {
|
||
r = (R) comparable;
|
||
}
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return r;
|
||
}
|
||
throw new NoSuchElementException();
|
||
}
|
||
|
||
@SinceKotlin(version = "1.4")
|
||
@OverloadResolutionByLambdaReturnType
|
||
@InlineOnly
|
||
/* renamed from: minOf */
|
||
private static final <R extends Comparable<? super R>> R m1329minOf(CharSequence charSequence, Function1<? super Character, ? extends R> function1) {
|
||
if (com.mycompany.app.dialog.a.b(charSequence, "<this>", function1, "selector") != 0) {
|
||
R r = (R) com.mycompany.app.dialog.a.g(charSequence, 0, function1);
|
||
int lastIndex = StringsKt__StringsKt.getLastIndex(charSequence);
|
||
int i = 1;
|
||
if (1 <= lastIndex) {
|
||
while (true) {
|
||
Comparable comparable = (Comparable) com.mycompany.app.dialog.a.g(charSequence, i, function1);
|
||
if (r.compareTo(comparable) > 0) {
|
||
r = (R) comparable;
|
||
}
|
||
if (i == lastIndex) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
}
|
||
return r;
|
||
}
|
||
throw new NoSuchElementException();
|
||
}
|
||
}
|