package kotlin.io.path; import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments; import com.adif.elcanomovil.repositories.circulation.CirculationMapper; import com.google.android.gms.measurement.api.AppMeasurementSdk; import com.google.firebase.dynamiclinks.DynamicLink; import com.google.firebase.sessions.settings.RemoteSettings; import java.io.IOException; import java.net.URI; import java.nio.file.CopyOption; import java.nio.file.DirectoryStream; import java.nio.file.FileAlreadyExistsException; import java.nio.file.FileStore; import java.nio.file.FileVisitOption; import java.nio.file.FileVisitor; import java.nio.file.Files; import java.nio.file.LinkOption; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.StandardCopyOption; import java.nio.file.attribute.BasicFileAttributes; import java.nio.file.attribute.FileAttribute; import java.nio.file.attribute.FileAttributeView; import java.nio.file.attribute.FileTime; import java.nio.file.attribute.PosixFilePermission; import java.nio.file.attribute.UserPrincipal; import java.util.Arrays; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import kotlin.Deprecated; import kotlin.DeprecationLevel; import kotlin.KotlinNothingValueException; import kotlin.Metadata; import kotlin.PublishedApi; import kotlin.ReplaceWith; import kotlin.SinceKotlin; import kotlin.Unit; import kotlin.WasExperimental; import kotlin.collections.CollectionsKt; import kotlin.collections.SetsKt; import kotlin.internal.InlineOnly; import kotlin.internal.PlatformImplementationsKt; import kotlin.io.CloseableKt; import kotlin.jvm.functions.Function1; import kotlin.jvm.internal.InlineMarker; import kotlin.jvm.internal.Intrinsics; import kotlin.jvm.internal.SourceDebugExtension; import kotlin.sequences.Sequence; import kotlin.text.StringsKt__StringsJVMKt; /* JADX INFO: Access modifiers changed from: package-private */ @Metadata(d1 = {"\u0000Ì\u0001\n\u0000\n\u0002\u0010\u000e\n\u0002\u0018\u0002\n\u0002\b\u0017\n\u0002\u0010\u0011\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0010\u0001\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\r\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\"\n\u0002\u0018\u0002\n\u0002\b\n\n\u0002\u0010 \n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010$\n\u0002\b\f\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u001a\u0011\u0010\u0016\u001a\u00020\u00022\u0006\u0010\u0017\u001a\u00020\u0001H\u0087\b\u001a*\u0010\u0016\u001a\u00020\u00022\u0006\u0010\u0018\u001a\u00020\u00012\u0012\u0010\u0019\u001a\n\u0012\u0006\b\u0001\u0012\u00020\u00010\u001a\"\u00020\u0001H\u0087\b¢\u0006\u0002\u0010\u001b\u001a?\u0010\u001c\u001a\u00020\u00022\b\u0010\u001d\u001a\u0004\u0018\u00010\u00022\n\b\u0002\u0010\u001e\u001a\u0004\u0018\u00010\u00012\u001a\u0010\u001f\u001a\u000e\u0012\n\b\u0001\u0012\u0006\u0012\u0002\b\u00030 0\u001a\"\u0006\u0012\u0002\b\u00030 H\u0007¢\u0006\u0002\u0010!\u001a6\u0010\u001c\u001a\u00020\u00022\n\b\u0002\u0010\u001e\u001a\u0004\u0018\u00010\u00012\u001a\u0010\u001f\u001a\u000e\u0012\n\b\u0001\u0012\u0006\u0012\u0002\b\u00030 0\u001a\"\u0006\u0012\u0002\b\u00030 H\u0087\b¢\u0006\u0002\u0010\"\u001aK\u0010#\u001a\u00020\u00022\b\u0010\u001d\u001a\u0004\u0018\u00010\u00022\n\b\u0002\u0010\u001e\u001a\u0004\u0018\u00010\u00012\n\b\u0002\u0010$\u001a\u0004\u0018\u00010\u00012\u001a\u0010\u001f\u001a\u000e\u0012\n\b\u0001\u0012\u0006\u0012\u0002\b\u00030 0\u001a\"\u0006\u0012\u0002\b\u00030 H\u0007¢\u0006\u0002\u0010%\u001aB\u0010#\u001a\u00020\u00022\n\b\u0002\u0010\u001e\u001a\u0004\u0018\u00010\u00012\n\b\u0002\u0010$\u001a\u0004\u0018\u00010\u00012\u001a\u0010\u001f\u001a\u000e\u0012\n\b\u0001\u0012\u0006\u0012\u0002\b\u00030 0\u001a\"\u0006\u0012\u0002\b\u00030 H\u0087\b¢\u0006\u0002\u0010&\u001a\u001c\u0010'\u001a\u00020(2\u0006\u0010\u0017\u001a\u00020\u00022\n\u0010)\u001a\u0006\u0012\u0002\b\u00030*H\u0001\u001a4\u0010+\u001a\b\u0012\u0004\u0012\u00020\u00020,2\u0017\u0010-\u001a\u0013\u0012\u0004\u0012\u00020/\u0012\u0004\u0012\u0002000.¢\u0006\u0002\b1H\u0007\u0082\u0002\n\n\b\b\u0001\u0012\u0002\u0010\u0001 \u0001\u001a\r\u00102\u001a\u00020\u0002*\u00020\u0002H\u0087\b\u001a\r\u00103\u001a\u00020\u0001*\u00020\u0002H\u0087\b\u001a.\u00104\u001a\u00020\u0002*\u00020\u00022\u0006\u00105\u001a\u00020\u00022\u0012\u00106\u001a\n\u0012\u0006\b\u0001\u0012\u0002070\u001a\"\u000207H\u0087\b¢\u0006\u0002\u00108\u001a\u001f\u00104\u001a\u00020\u0002*\u00020\u00022\u0006\u00105\u001a\u00020\u00022\b\b\u0002\u00109\u001a\u00020:H\u0087\b\u001a.\u0010;\u001a\u00020\u0002*\u00020\u00022\u001a\u0010\u001f\u001a\u000e\u0012\n\b\u0001\u0012\u0006\u0012\u0002\b\u00030 0\u001a\"\u0006\u0012\u0002\b\u00030 H\u0087\b¢\u0006\u0002\u0010<\u001a.\u0010=\u001a\u00020\u0002*\u00020\u00022\u001a\u0010\u001f\u001a\u000e\u0012\n\b\u0001\u0012\u0006\u0012\u0002\b\u00030 0\u001a\"\u0006\u0012\u0002\b\u00030 H\u0087\b¢\u0006\u0002\u0010<\u001a.\u0010>\u001a\u00020\u0002*\u00020\u00022\u001a\u0010\u001f\u001a\u000e\u0012\n\b\u0001\u0012\u0006\u0012\u0002\b\u00030 0\u001a\"\u0006\u0012\u0002\b\u00030 H\u0087\b¢\u0006\u0002\u0010<\u001a\u0015\u0010?\u001a\u00020\u0002*\u00020\u00022\u0006\u00105\u001a\u00020\u0002H\u0087\b\u001a-\u0010@\u001a\u00020\u0002*\u00020\u00022\u001a\u0010\u001f\u001a\u000e\u0012\n\b\u0001\u0012\u0006\u0012\u0002\b\u00030 0\u001a\"\u0006\u0012\u0002\b\u00030 H\u0007¢\u0006\u0002\u0010<\u001a6\u0010A\u001a\u00020\u0002*\u00020\u00022\u0006\u00105\u001a\u00020\u00022\u001a\u0010\u001f\u001a\u000e\u0012\n\b\u0001\u0012\u0006\u0012\u0002\b\u00030 0\u001a\"\u0006\u0012\u0002\b\u00030 H\u0087\b¢\u0006\u0002\u0010B\u001a\r\u0010C\u001a\u000200*\u00020\u0002H\u0087\b\u001a\r\u0010D\u001a\u00020:*\u00020\u0002H\u0087\b\u001a\u0015\u0010E\u001a\u00020\u0002*\u00020\u00022\u0006\u0010F\u001a\u00020\u0002H\u0087\n\u001a\u0015\u0010E\u001a\u00020\u0002*\u00020\u00022\u0006\u0010F\u001a\u00020\u0001H\u0087\n\u001a&\u0010G\u001a\u00020:*\u00020\u00022\u0012\u00106\u001a\n\u0012\u0006\b\u0001\u0012\u00020H0\u001a\"\u00020HH\u0087\b¢\u0006\u0002\u0010I\u001a2\u0010J\u001a\u0002HK\"\n\b\u0000\u0010K\u0018\u0001*\u00020L*\u00020\u00022\u0012\u00106\u001a\n\u0012\u0006\b\u0001\u0012\u00020H0\u001a\"\u00020HH\u0087\b¢\u0006\u0002\u0010M\u001a4\u0010N\u001a\u0004\u0018\u0001HK\"\n\b\u0000\u0010K\u0018\u0001*\u00020L*\u00020\u00022\u0012\u00106\u001a\n\u0012\u0006\b\u0001\u0012\u00020H0\u001a\"\u00020HH\u0087\b¢\u0006\u0002\u0010M\u001a\r\u0010O\u001a\u00020P*\u00020\u0002H\u0087\b\u001a\r\u0010Q\u001a\u00020R*\u00020\u0002H\u0087\b\u001a.\u0010S\u001a\u000200*\u00020\u00022\b\b\u0002\u0010T\u001a\u00020\u00012\u0012\u0010U\u001a\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u0002000.H\u0087\bø\u0001\u0000\u001a0\u0010V\u001a\u0004\u0018\u00010W*\u00020\u00022\u0006\u0010X\u001a\u00020\u00012\u0012\u00106\u001a\n\u0012\u0006\b\u0001\u0012\u00020H0\u001a\"\u00020HH\u0087\b¢\u0006\u0002\u0010Y\u001a&\u0010Z\u001a\u00020[*\u00020\u00022\u0012\u00106\u001a\n\u0012\u0006\b\u0001\u0012\u00020H0\u001a\"\u00020HH\u0087\b¢\u0006\u0002\u0010\\\u001a(\u0010]\u001a\u0004\u0018\u00010^*\u00020\u00022\u0012\u00106\u001a\n\u0012\u0006\b\u0001\u0012\u00020H0\u001a\"\u00020HH\u0087\b¢\u0006\u0002\u0010_\u001a,\u0010`\u001a\b\u0012\u0004\u0012\u00020b0a*\u00020\u00022\u0012\u00106\u001a\n\u0012\u0006\b\u0001\u0012\u00020H0\u001a\"\u00020HH\u0087\b¢\u0006\u0002\u0010c\u001a&\u0010d\u001a\u00020:*\u00020\u00022\u0012\u00106\u001a\n\u0012\u0006\b\u0001\u0012\u00020H0\u001a\"\u00020HH\u0087\b¢\u0006\u0002\u0010I\u001a\r\u0010e\u001a\u00020:*\u00020\u0002H\u0087\b\u001a\r\u0010f\u001a\u00020:*\u00020\u0002H\u0087\b\u001a\r\u0010g\u001a\u00020:*\u00020\u0002H\u0087\b\u001a&\u0010h\u001a\u00020:*\u00020\u00022\u0012\u00106\u001a\n\u0012\u0006\b\u0001\u0012\u00020H0\u001a\"\u00020HH\u0087\b¢\u0006\u0002\u0010I\u001a\u0015\u0010i\u001a\u00020:*\u00020\u00022\u0006\u0010F\u001a\u00020\u0002H\u0087\b\u001a\r\u0010j\u001a\u00020:*\u00020\u0002H\u0087\b\u001a\r\u0010k\u001a\u00020:*\u00020\u0002H\u0087\b\u001a\u001c\u0010l\u001a\b\u0012\u0004\u0012\u00020\u00020m*\u00020\u00022\b\b\u0002\u0010T\u001a\u00020\u0001H\u0007\u001a.\u0010n\u001a\u00020\u0002*\u00020\u00022\u0006\u00105\u001a\u00020\u00022\u0012\u00106\u001a\n\u0012\u0006\b\u0001\u0012\u0002070\u001a\"\u000207H\u0087\b¢\u0006\u0002\u00108\u001a\u001f\u0010n\u001a\u00020\u0002*\u00020\u00022\u0006\u00105\u001a\u00020\u00022\b\b\u0002\u00109\u001a\u00020:H\u0087\b\u001a&\u0010o\u001a\u00020:*\u00020\u00022\u0012\u00106\u001a\n\u0012\u0006\b\u0001\u0012\u00020H0\u001a\"\u00020HH\u0087\b¢\u0006\u0002\u0010I\u001a2\u0010p\u001a\u0002Hq\"\n\b\u0000\u0010q\u0018\u0001*\u00020r*\u00020\u00022\u0012\u00106\u001a\n\u0012\u0006\b\u0001\u0012\u00020H0\u001a\"\u00020HH\u0087\b¢\u0006\u0002\u0010s\u001a<\u0010p\u001a\u0010\u0012\u0004\u0012\u00020\u0001\u0012\u0006\u0012\u0004\u0018\u00010W0t*\u00020\u00022\u0006\u0010\u001f\u001a\u00020\u00012\u0012\u00106\u001a\n\u0012\u0006\b\u0001\u0012\u00020H0\u001a\"\u00020HH\u0087\b¢\u0006\u0002\u0010u\u001a\r\u0010v\u001a\u00020\u0002*\u00020\u0002H\u0087\b\u001a\u0014\u0010w\u001a\u00020\u0002*\u00020\u00022\u0006\u0010\u0018\u001a\u00020\u0002H\u0007\u001a\u0016\u0010x\u001a\u0004\u0018\u00010\u0002*\u00020\u00022\u0006\u0010\u0018\u001a\u00020\u0002H\u0007\u001a\u0014\u0010y\u001a\u00020\u0002*\u00020\u00022\u0006\u0010\u0018\u001a\u00020\u0002H\u0007\u001a8\u0010z\u001a\u00020\u0002*\u00020\u00022\u0006\u0010X\u001a\u00020\u00012\b\u0010{\u001a\u0004\u0018\u00010W2\u0012\u00106\u001a\n\u0012\u0006\b\u0001\u0012\u00020H0\u001a\"\u00020HH\u0087\b¢\u0006\u0002\u0010|\u001a\u0015\u0010}\u001a\u00020\u0002*\u00020\u00022\u0006\u0010{\u001a\u00020[H\u0087\b\u001a\u0015\u0010~\u001a\u00020\u0002*\u00020\u00022\u0006\u0010{\u001a\u00020^H\u0087\b\u001a\u001b\u0010\u007f\u001a\u00020\u0002*\u00020\u00022\f\u0010{\u001a\b\u0012\u0004\u0012\u00020b0aH\u0087\b\u001a\u000f\u0010\u0080\u0001\u001a\u00020\u0002*\u00030\u0081\u0001H\u0087\b\u001aF\u0010\u0082\u0001\u001a\u0003H\u0083\u0001\"\u0005\b\u0000\u0010\u0083\u0001*\u00020\u00022\b\b\u0002\u0010T\u001a\u00020\u00012\u001b\u0010\u0084\u0001\u001a\u0016\u0012\u000b\u0012\t\u0012\u0004\u0012\u00020\u00020\u0085\u0001\u0012\u0005\u0012\u0003H\u0083\u00010.H\u0087\bø\u0001\u0000¢\u0006\u0003\u0010\u0086\u0001\u001a3\u0010\u0087\u0001\u001a\u000200*\u00020\u00022\r\u0010\u0088\u0001\u001a\b\u0012\u0004\u0012\u00020\u00020,2\n\b\u0002\u0010\u0089\u0001\u001a\u00030\u008a\u00012\t\b\u0002\u0010\u008b\u0001\u001a\u00020:H\u0007\u001aJ\u0010\u0087\u0001\u001a\u000200*\u00020\u00022\n\b\u0002\u0010\u0089\u0001\u001a\u00030\u008a\u00012\t\b\u0002\u0010\u008b\u0001\u001a\u00020:2\u0017\u0010-\u001a\u0013\u0012\u0004\u0012\u00020/\u0012\u0004\u0012\u0002000.¢\u0006\u0002\b1H\u0007\u0082\u0002\n\n\b\b\u0001\u0012\u0002\u0010\u0003 \u0001\u001a0\u0010\u008c\u0001\u001a\t\u0012\u0004\u0012\u00020\u00020\u0085\u0001*\u00020\u00022\u0014\u00106\u001a\u000b\u0012\u0007\b\u0001\u0012\u00030\u008d\u00010\u001a\"\u00030\u008d\u0001H\u0007¢\u0006\u0003\u0010\u008e\u0001\"\u001e\u0010\u0000\u001a\u00020\u0001*\u00020\u00028FX\u0087\u0004¢\u0006\f\u0012\u0004\b\u0003\u0010\u0004\u001a\u0004\b\u0005\u0010\u0006\"\u001f\u0010\u0007\u001a\u00020\u0001*\u00020\u00028Æ\u0002X\u0087\u0004¢\u0006\f\u0012\u0004\b\b\u0010\u0004\u001a\u0004\b\t\u0010\u0006\"\u001e\u0010\n\u001a\u00020\u0001*\u00020\u00028FX\u0087\u0004¢\u0006\f\u0012\u0004\b\u000b\u0010\u0004\u001a\u0004\b\f\u0010\u0006\"\u001e\u0010\r\u001a\u00020\u0001*\u00020\u00028FX\u0087\u0004¢\u0006\f\u0012\u0004\b\u000e\u0010\u0004\u001a\u0004\b\u000f\u0010\u0006\"\u001e\u0010\u0010\u001a\u00020\u0001*\u00020\u00028FX\u0087\u0004¢\u0006\f\u0012\u0004\b\u0011\u0010\u0004\u001a\u0004\b\u0012\u0010\u0006\"\u001f\u0010\u0013\u001a\u00020\u0001*\u00020\u00028Æ\u0002X\u0087\u0004¢\u0006\f\u0012\u0004\b\u0014\u0010\u0004\u001a\u0004\b\u0015\u0010\u0006\u0082\u0002\u0007\n\u0005\b\u009920\u0001¨\u0006\u008f\u0001"}, d2 = {"extension", "", "Ljava/nio/file/Path;", "getExtension$annotations", "(Ljava/nio/file/Path;)V", "getExtension", "(Ljava/nio/file/Path;)Ljava/lang/String;", "invariantSeparatorsPath", "getInvariantSeparatorsPath$annotations", "getInvariantSeparatorsPath", "invariantSeparatorsPathString", "getInvariantSeparatorsPathString$annotations", "getInvariantSeparatorsPathString", AppMeasurementSdk.ConditionalUserProperty.NAME, "getName$annotations", "getName", "nameWithoutExtension", "getNameWithoutExtension$annotations", "getNameWithoutExtension", "pathString", "getPathString$annotations", "getPathString", "Path", NavArguments.ARG_DYNAMIC_LINKS_TAB, "base", "subpaths", "", "(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;", "createTempDirectory", "directory", "prefix", "attributes", "Ljava/nio/file/attribute/FileAttribute;", "(Ljava/nio/file/Path;Ljava/lang/String;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;", "(Ljava/lang/String;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;", "createTempFile", DynamicLink.Builder.KEY_SUFFIX, "(Ljava/nio/file/Path;Ljava/lang/String;Ljava/lang/String;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;", "(Ljava/lang/String;Ljava/lang/String;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;", "fileAttributeViewNotAvailable", "", "attributeViewClass", "Ljava/lang/Class;", "fileVisitor", "Ljava/nio/file/FileVisitor;", "builderAction", "Lkotlin/Function1;", "Lkotlin/io/path/FileVisitorBuilder;", "", "Lkotlin/ExtensionFunctionType;", "absolute", "absolutePathString", "copyTo", "target", "options", "Ljava/nio/file/CopyOption;", "(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)Ljava/nio/file/Path;", "overwrite", "", "createDirectories", "(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;", "createDirectory", "createFile", "createLinkPointingTo", "createParentDirectories", "createSymbolicLinkPointingTo", "(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;", "deleteExisting", "deleteIfExists", "div", "other", "exists", "Ljava/nio/file/LinkOption;", "(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z", "fileAttributesView", "V", "Ljava/nio/file/attribute/FileAttributeView;", "(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/FileAttributeView;", "fileAttributesViewOrNull", "fileSize", "", "fileStore", "Ljava/nio/file/FileStore;", "forEachDirectoryEntry", "glob", "action", "getAttribute", "", "attribute", "(Ljava/nio/file/Path;Ljava/lang/String;[Ljava/nio/file/LinkOption;)Ljava/lang/Object;", "getLastModifiedTime", "Ljava/nio/file/attribute/FileTime;", "(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/FileTime;", "getOwner", "Ljava/nio/file/attribute/UserPrincipal;", "(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/UserPrincipal;", "getPosixFilePermissions", "", "Ljava/nio/file/attribute/PosixFilePermission;", "(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Ljava/util/Set;", "isDirectory", "isExecutable", "isHidden", "isReadable", "isRegularFile", "isSameFileAs", "isSymbolicLink", "isWritable", "listDirectoryEntries", "", "moveTo", "notExists", "readAttributes", "A", "Ljava/nio/file/attribute/BasicFileAttributes;", "(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/BasicFileAttributes;", "", "(Ljava/nio/file/Path;Ljava/lang/String;[Ljava/nio/file/LinkOption;)Ljava/util/Map;", "readSymbolicLink", "relativeTo", "relativeToOrNull", "relativeToOrSelf", "setAttribute", "value", "(Ljava/nio/file/Path;Ljava/lang/String;Ljava/lang/Object;[Ljava/nio/file/LinkOption;)Ljava/nio/file/Path;", "setLastModifiedTime", "setOwner", "setPosixFilePermissions", "toPath", "Ljava/net/URI;", "useDirectoryEntries", "T", "block", "Lkotlin/sequences/Sequence;", "(Ljava/nio/file/Path;Ljava/lang/String;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;", "visitFileTree", "visitor", "maxDepth", "", "followLinks", "walk", "Lkotlin/io/path/PathWalkOption;", "(Ljava/nio/file/Path;[Lkotlin/io/path/PathWalkOption;)Lkotlin/sequences/Sequence;", "kotlin-stdlib-jdk7"}, k = 5, mv = {1, 9, 0}, xi = 49, xs = "kotlin/io/path/PathsKt") @SourceDebugExtension({"SMAP\nPathUtils.kt\nKotlin\n*S Kotlin\n*F\n+ 1 PathUtils.kt\nkotlin/io/path/PathsKt__PathUtilsKt\n+ 2 ArrayIntrinsics.kt\nkotlin/ArrayIntrinsicsKt\n+ 3 fake.kt\nkotlin/jvm/internal/FakeKt\n+ 4 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,1174:1\n26#2:1175\n26#2:1179\n1#3:1176\n1855#4,2:1177\n*S KotlinDebug\n*F\n+ 1 PathUtils.kt\nkotlin/io/path/PathsKt__PathUtilsKt\n*L\n221#1:1175\n616#1:1179\n440#1:1177,2\n*E\n"}) /* loaded from: classes3.dex */ public class PathsKt__PathUtilsKt extends PathsKt__PathRecursiveFunctionsKt { @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final Path Path(String path) { Intrinsics.checkNotNullParameter(path, "path"); Path path2 = Paths.get(path, new String[0]); Intrinsics.checkNotNullExpressionValue(path2, "get(...)"); return path2; } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final Path absolute(Path path) { Intrinsics.checkNotNullParameter(path, ""); Path absolutePath = path.toAbsolutePath(); Intrinsics.checkNotNullExpressionValue(absolutePath, "toAbsolutePath(...)"); return absolutePath; } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final String absolutePathString(Path path) { Intrinsics.checkNotNullParameter(path, ""); return path.toAbsolutePath().toString(); } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final Path copyTo(Path path, Path target, boolean z3) throws IOException { CopyOption[] copyOptionArr; Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(target, "target"); if (z3) { copyOptionArr = new CopyOption[]{StandardCopyOption.REPLACE_EXISTING}; } else { copyOptionArr = new CopyOption[0]; } Path copy = Files.copy(path, target, (CopyOption[]) Arrays.copyOf(copyOptionArr, copyOptionArr.length)); Intrinsics.checkNotNullExpressionValue(copy, "copy(...)"); return copy; } public static /* synthetic */ Path copyTo$default(Path path, Path target, boolean z3, int i, Object obj) throws IOException { if ((i & 2) != 0) { z3 = false; } Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(target, "target"); CopyOption[] copyOptionArr = z3 ? new CopyOption[]{StandardCopyOption.REPLACE_EXISTING} : new CopyOption[0]; Path copy = Files.copy(path, target, (CopyOption[]) Arrays.copyOf(copyOptionArr, copyOptionArr.length)); Intrinsics.checkNotNullExpressionValue(copy, "copy(...)"); return copy; } @SinceKotlin(version = "1.5") @InlineOnly @WasExperimental(markerClass = {ExperimentalPathApi.class}) private static final Path createDirectories(Path path, FileAttribute... attributes) throws IOException { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(attributes, "attributes"); Path createDirectories = Files.createDirectories(path, (FileAttribute[]) Arrays.copyOf(attributes, attributes.length)); Intrinsics.checkNotNullExpressionValue(createDirectories, "createDirectories(...)"); return createDirectories; } @SinceKotlin(version = "1.5") @InlineOnly @WasExperimental(markerClass = {ExperimentalPathApi.class}) private static final Path createDirectory(Path path, FileAttribute... attributes) throws IOException { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(attributes, "attributes"); Path createDirectory = Files.createDirectory(path, (FileAttribute[]) Arrays.copyOf(attributes, attributes.length)); Intrinsics.checkNotNullExpressionValue(createDirectory, "createDirectory(...)"); return createDirectory; } @SinceKotlin(version = "1.5") @InlineOnly @WasExperimental(markerClass = {ExperimentalPathApi.class}) private static final Path createFile(Path path, FileAttribute... attributes) throws IOException { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(attributes, "attributes"); Path createFile = Files.createFile(path, (FileAttribute[]) Arrays.copyOf(attributes, attributes.length)); Intrinsics.checkNotNullExpressionValue(createFile, "createFile(...)"); return createFile; } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final Path createLinkPointingTo(Path path, Path target) throws IOException { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(target, "target"); Path createLink = Files.createLink(path, target); Intrinsics.checkNotNullExpressionValue(createLink, "createLink(...)"); return createLink; } @SinceKotlin(version = "1.9") public static final Path createParentDirectories(Path path, FileAttribute... attributes) throws IOException { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(attributes, "attributes"); Path parent = path.getParent(); if (parent != null && !Files.isDirectory(parent, (LinkOption[]) Arrays.copyOf(new LinkOption[0], 0))) { try { FileAttribute[] fileAttributeArr = (FileAttribute[]) Arrays.copyOf(attributes, attributes.length); Intrinsics.checkNotNullExpressionValue(Files.createDirectories(parent, (FileAttribute[]) Arrays.copyOf(fileAttributeArr, fileAttributeArr.length)), "createDirectories(...)"); return path; } catch (FileAlreadyExistsException e4) { if (!Files.isDirectory(parent, (LinkOption[]) Arrays.copyOf(new LinkOption[0], 0))) { throw e4; } } } return path; } @SinceKotlin(version = "1.5") @InlineOnly @WasExperimental(markerClass = {ExperimentalPathApi.class}) private static final Path createSymbolicLinkPointingTo(Path path, Path target, FileAttribute... attributes) throws IOException { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(target, "target"); Intrinsics.checkNotNullParameter(attributes, "attributes"); Path createSymbolicLink = Files.createSymbolicLink(path, target, (FileAttribute[]) Arrays.copyOf(attributes, attributes.length)); Intrinsics.checkNotNullExpressionValue(createSymbolicLink, "createSymbolicLink(...)"); return createSymbolicLink; } @SinceKotlin(version = "1.5") @InlineOnly @WasExperimental(markerClass = {ExperimentalPathApi.class}) private static final Path createTempDirectory(String str, FileAttribute... attributes) throws IOException { Intrinsics.checkNotNullParameter(attributes, "attributes"); Path createTempDirectory = Files.createTempDirectory(str, (FileAttribute[]) Arrays.copyOf(attributes, attributes.length)); Intrinsics.checkNotNullExpressionValue(createTempDirectory, "createTempDirectory(...)"); return createTempDirectory; } public static /* synthetic */ Path createTempDirectory$default(String str, FileAttribute[] attributes, int i, Object obj) throws IOException { if ((i & 1) != 0) { str = null; } Intrinsics.checkNotNullParameter(attributes, "attributes"); Path createTempDirectory = Files.createTempDirectory(str, (FileAttribute[]) Arrays.copyOf(attributes, attributes.length)); Intrinsics.checkNotNullExpressionValue(createTempDirectory, "createTempDirectory(...)"); return createTempDirectory; } @SinceKotlin(version = "1.5") @InlineOnly @WasExperimental(markerClass = {ExperimentalPathApi.class}) private static final Path createTempFile(String str, String str2, FileAttribute... attributes) throws IOException { Intrinsics.checkNotNullParameter(attributes, "attributes"); Path createTempFile = Files.createTempFile(str, str2, (FileAttribute[]) Arrays.copyOf(attributes, attributes.length)); Intrinsics.checkNotNullExpressionValue(createTempFile, "createTempFile(...)"); return createTempFile; } public static /* synthetic */ Path createTempFile$default(String str, String str2, FileAttribute[] attributes, int i, Object obj) throws IOException { if ((i & 1) != 0) { str = null; } if ((i & 2) != 0) { str2 = null; } Intrinsics.checkNotNullParameter(attributes, "attributes"); Path createTempFile = Files.createTempFile(str, str2, (FileAttribute[]) Arrays.copyOf(attributes, attributes.length)); Intrinsics.checkNotNullExpressionValue(createTempFile, "createTempFile(...)"); return createTempFile; } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final void deleteExisting(Path path) throws IOException { Intrinsics.checkNotNullParameter(path, ""); Files.delete(path); } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final boolean deleteIfExists(Path path) throws IOException { Intrinsics.checkNotNullParameter(path, ""); return Files.deleteIfExists(path); } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final Path div(Path path, Path other) { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(other, "other"); Path resolve = path.resolve(other); Intrinsics.checkNotNullExpressionValue(resolve, "resolve(...)"); return resolve; } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final boolean exists(Path path, LinkOption... options) { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(options, "options"); return Files.exists(path, (LinkOption[]) Arrays.copyOf(options, options.length)); } @PublishedApi public static final Void fileAttributeViewNotAvailable(Path path, Class attributeViewClass) { Intrinsics.checkNotNullParameter(path, "path"); Intrinsics.checkNotNullParameter(attributeViewClass, "attributeViewClass"); throw new UnsupportedOperationException("The desired attribute view type " + attributeViewClass + " is not available for the file " + path + '.'); } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final /* synthetic */ V fileAttributesView(Path path, LinkOption... options) { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(options, "options"); Intrinsics.reifiedOperationMarker(4, "V"); V v3 = (V) Files.getFileAttributeView(path, FileAttributeView.class, (LinkOption[]) Arrays.copyOf(options, options.length)); if (v3 != null) { return v3; } Intrinsics.reifiedOperationMarker(4, "V"); fileAttributeViewNotAvailable(path, FileAttributeView.class); throw new KotlinNothingValueException(); } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final /* synthetic */ V fileAttributesViewOrNull(Path path, LinkOption... options) { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(options, "options"); Intrinsics.reifiedOperationMarker(4, "V"); return (V) Files.getFileAttributeView(path, FileAttributeView.class, (LinkOption[]) Arrays.copyOf(options, options.length)); } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final long fileSize(Path path) throws IOException { Intrinsics.checkNotNullParameter(path, ""); return Files.size(path); } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final FileStore fileStore(Path path) throws IOException { Intrinsics.checkNotNullParameter(path, ""); FileStore fileStore = Files.getFileStore(path); Intrinsics.checkNotNullExpressionValue(fileStore, "getFileStore(...)"); return fileStore; } @SinceKotlin(version = "1.7") @ExperimentalPathApi public static final FileVisitor fileVisitor(Function1 builderAction) { Intrinsics.checkNotNullParameter(builderAction, "builderAction"); FileVisitorBuilderImpl fileVisitorBuilderImpl = new FileVisitorBuilderImpl(); builderAction.invoke(fileVisitorBuilderImpl); return fileVisitorBuilderImpl.build(); } @SinceKotlin(version = "1.5") @InlineOnly @WasExperimental(markerClass = {ExperimentalPathApi.class}) private static final void forEachDirectoryEntry(Path path, String glob, Function1 action) throws IOException { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(glob, "glob"); Intrinsics.checkNotNullParameter(action, "action"); DirectoryStream newDirectoryStream = Files.newDirectoryStream(path, glob); try { Intrinsics.checkNotNull(newDirectoryStream); Iterator it = newDirectoryStream.iterator(); while (it.hasNext()) { action.invoke(it.next()); } Unit unit = Unit.INSTANCE; InlineMarker.finallyStart(1); if (PlatformImplementationsKt.apiVersionIsAtLeast(1, 1, 0)) { CloseableKt.closeFinally(newDirectoryStream, null); } else if (newDirectoryStream != null) { newDirectoryStream.close(); } InlineMarker.finallyEnd(1); } catch (Throwable th) { try { throw th; } catch (Throwable th2) { InlineMarker.finallyStart(1); if (PlatformImplementationsKt.apiVersionIsAtLeast(1, 1, 0)) { CloseableKt.closeFinally(newDirectoryStream, th); } else if (newDirectoryStream != null) { try { newDirectoryStream.close(); } catch (Throwable unused) { } } InlineMarker.finallyEnd(1); throw th2; } } } public static /* synthetic */ void forEachDirectoryEntry$default(Path path, String glob, Function1 action, int i, Object obj) throws IOException { if ((i & 1) != 0) { glob = CirculationMapper.VIA_ASTERISK; } Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(glob, "glob"); Intrinsics.checkNotNullParameter(action, "action"); DirectoryStream newDirectoryStream = Files.newDirectoryStream(path, glob); try { Intrinsics.checkNotNull(newDirectoryStream); Iterator it = newDirectoryStream.iterator(); while (it.hasNext()) { action.invoke(it.next()); } Unit unit = Unit.INSTANCE; InlineMarker.finallyStart(1); if (PlatformImplementationsKt.apiVersionIsAtLeast(1, 1, 0)) { CloseableKt.closeFinally(newDirectoryStream, null); } else if (newDirectoryStream != null) { newDirectoryStream.close(); } InlineMarker.finallyEnd(1); } catch (Throwable th) { try { throw th; } catch (Throwable th2) { InlineMarker.finallyStart(1); if (PlatformImplementationsKt.apiVersionIsAtLeast(1, 1, 0)) { CloseableKt.closeFinally(newDirectoryStream, th); } else if (newDirectoryStream != null) { try { newDirectoryStream.close(); } catch (Throwable unused) { } } InlineMarker.finallyEnd(1); throw th2; } } } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final Object getAttribute(Path path, String attribute, LinkOption... options) throws IOException { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(attribute, "attribute"); Intrinsics.checkNotNullParameter(options, "options"); return Files.getAttribute(path, attribute, (LinkOption[]) Arrays.copyOf(options, options.length)); } /* JADX WARN: Code restructure failed: missing block: B:5:0x0011, code lost: r1 = kotlin.text.StringsKt__StringsKt.substringAfterLast(r1, '.', ""); */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static final java.lang.String getExtension(java.nio.file.Path r1) { /* java.lang.String r0 = "" kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r1, r0) java.nio.file.Path r1 = r1.getFileName() if (r1 == 0) goto L19 java.lang.String r1 = r1.toString() if (r1 == 0) goto L19 java.lang.String r1 = kotlin.text.StringsKt.H(r1) if (r1 != 0) goto L18 goto L19 L18: return r1 L19: java.lang.String r1 = "" return r1 */ throw new UnsupportedOperationException("Method not decompiled: kotlin.io.path.PathsKt__PathUtilsKt.getExtension(java.nio.file.Path):java.lang.String"); } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) public static /* synthetic */ void getExtension$annotations(Path path) { } private static final String getInvariantSeparatorsPath(Path path) { Intrinsics.checkNotNullParameter(path, ""); return getInvariantSeparatorsPathString(path); } @SinceKotlin(version = "1.4") @InlineOnly @Deprecated(level = DeprecationLevel.ERROR, message = "Use invariantSeparatorsPathString property instead.", replaceWith = @ReplaceWith(expression = "invariantSeparatorsPathString", imports = {})) @ExperimentalPathApi public static /* synthetic */ void getInvariantSeparatorsPath$annotations(Path path) { } public static final String getInvariantSeparatorsPathString(Path path) { String replace$default; Intrinsics.checkNotNullParameter(path, ""); String separator = path.getFileSystem().getSeparator(); boolean areEqual = Intrinsics.areEqual(separator, RemoteSettings.FORWARD_SLASH_STRING); String obj = path.toString(); if (areEqual) { return obj; } Intrinsics.checkNotNull(separator); replace$default = StringsKt__StringsJVMKt.replace$default(obj, separator, RemoteSettings.FORWARD_SLASH_STRING, false, 4, (Object) null); return replace$default; } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) public static /* synthetic */ void getInvariantSeparatorsPathString$annotations(Path path) { } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final FileTime getLastModifiedTime(Path path, LinkOption... options) throws IOException { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(options, "options"); FileTime lastModifiedTime = Files.getLastModifiedTime(path, (LinkOption[]) Arrays.copyOf(options, options.length)); Intrinsics.checkNotNullExpressionValue(lastModifiedTime, "getLastModifiedTime(...)"); return lastModifiedTime; } public static final String getName(Path path) { Intrinsics.checkNotNullParameter(path, ""); Path fileName = path.getFileName(); String obj = fileName != null ? fileName.toString() : null; return obj == null ? "" : obj; } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) public static /* synthetic */ void getName$annotations(Path path) { } /* JADX WARN: Code restructure failed: missing block: B:5:0x0011, code lost: r1 = kotlin.text.StringsKt__StringsKt.substringBeforeLast$default(r1, ".", (java.lang.String) null, 2, (java.lang.Object) null); */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static final java.lang.String getNameWithoutExtension(java.nio.file.Path r1) { /* java.lang.String r0 = "" kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r1, r0) java.nio.file.Path r1 = r1.getFileName() if (r1 == 0) goto L19 java.lang.String r1 = r1.toString() if (r1 == 0) goto L19 java.lang.String r1 = kotlin.text.StringsKt.O(r1) if (r1 != 0) goto L18 goto L19 L18: return r1 L19: java.lang.String r1 = "" return r1 */ throw new UnsupportedOperationException("Method not decompiled: kotlin.io.path.PathsKt__PathUtilsKt.getNameWithoutExtension(java.nio.file.Path):java.lang.String"); } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) public static /* synthetic */ void getNameWithoutExtension$annotations(Path path) { } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final UserPrincipal getOwner(Path path, LinkOption... options) throws IOException { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(options, "options"); return Files.getOwner(path, (LinkOption[]) Arrays.copyOf(options, options.length)); } private static final String getPathString(Path path) { Intrinsics.checkNotNullParameter(path, ""); return path.toString(); } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly public static /* synthetic */ void getPathString$annotations(Path path) { } @SinceKotlin(version = "1.5") @InlineOnly @WasExperimental(markerClass = {ExperimentalPathApi.class}) private static final Set getPosixFilePermissions(Path path, LinkOption... options) throws IOException { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(options, "options"); Set posixFilePermissions = Files.getPosixFilePermissions(path, (LinkOption[]) Arrays.copyOf(options, options.length)); Intrinsics.checkNotNullExpressionValue(posixFilePermissions, "getPosixFilePermissions(...)"); return posixFilePermissions; } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final boolean isDirectory(Path path, LinkOption... options) { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(options, "options"); return Files.isDirectory(path, (LinkOption[]) Arrays.copyOf(options, options.length)); } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final boolean isExecutable(Path path) { Intrinsics.checkNotNullParameter(path, ""); return Files.isExecutable(path); } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final boolean isHidden(Path path) throws IOException { Intrinsics.checkNotNullParameter(path, ""); return Files.isHidden(path); } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final boolean isReadable(Path path) { Intrinsics.checkNotNullParameter(path, ""); return Files.isReadable(path); } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final boolean isRegularFile(Path path, LinkOption... options) { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(options, "options"); return Files.isRegularFile(path, (LinkOption[]) Arrays.copyOf(options, options.length)); } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final boolean isSameFileAs(Path path, Path other) throws IOException { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(other, "other"); return Files.isSameFile(path, other); } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final boolean isSymbolicLink(Path path) { Intrinsics.checkNotNullParameter(path, ""); return Files.isSymbolicLink(path); } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final boolean isWritable(Path path) { Intrinsics.checkNotNullParameter(path, ""); return Files.isWritable(path); } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) public static final List listDirectoryEntries(Path path, String glob) throws IOException { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(glob, "glob"); DirectoryStream newDirectoryStream = Files.newDirectoryStream(path, glob); try { Intrinsics.checkNotNull(newDirectoryStream); List list = CollectionsKt.toList(newDirectoryStream); CloseableKt.closeFinally(newDirectoryStream, null); return list; } finally { } } public static /* synthetic */ List listDirectoryEntries$default(Path path, String str, int i, Object obj) throws IOException { if ((i & 1) != 0) { str = CirculationMapper.VIA_ASTERISK; } return listDirectoryEntries(path, str); } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final Path moveTo(Path path, Path target, CopyOption... options) throws IOException { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(target, "target"); Intrinsics.checkNotNullParameter(options, "options"); Path move = Files.move(path, target, (CopyOption[]) Arrays.copyOf(options, options.length)); Intrinsics.checkNotNullExpressionValue(move, "move(...)"); return move; } public static /* synthetic */ Path moveTo$default(Path path, Path target, boolean z3, int i, Object obj) throws IOException { if ((i & 2) != 0) { z3 = false; } Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(target, "target"); CopyOption[] copyOptionArr = z3 ? new CopyOption[]{StandardCopyOption.REPLACE_EXISTING} : new CopyOption[0]; Path move = Files.move(path, target, (CopyOption[]) Arrays.copyOf(copyOptionArr, copyOptionArr.length)); Intrinsics.checkNotNullExpressionValue(move, "move(...)"); return move; } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final boolean notExists(Path path, LinkOption... options) { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(options, "options"); return Files.notExists(path, (LinkOption[]) Arrays.copyOf(options, options.length)); } @SinceKotlin(version = "1.5") @InlineOnly @WasExperimental(markerClass = {ExperimentalPathApi.class}) private static final /* synthetic */ A readAttributes(Path path, LinkOption... options) throws IOException { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(options, "options"); Intrinsics.reifiedOperationMarker(4, "A"); A a2 = (A) Files.readAttributes(path, BasicFileAttributes.class, (LinkOption[]) Arrays.copyOf(options, options.length)); Intrinsics.checkNotNullExpressionValue(a2, "readAttributes(...)"); return a2; } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final Path readSymbolicLink(Path path) throws IOException { Intrinsics.checkNotNullParameter(path, ""); Path readSymbolicLink = Files.readSymbolicLink(path); Intrinsics.checkNotNullExpressionValue(readSymbolicLink, "readSymbolicLink(...)"); return readSymbolicLink; } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) public static final Path relativeTo(Path path, Path base) { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(base, "base"); try { return PathRelativizer.INSTANCE.tryRelativeTo(path, base); } catch (IllegalArgumentException e4) { throw new IllegalArgumentException(e4.getMessage() + "\nthis path: " + path + "\nbase path: " + base, e4); } } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) public static final Path relativeToOrNull(Path path, Path base) { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(base, "base"); try { return PathRelativizer.INSTANCE.tryRelativeTo(path, base); } catch (IllegalArgumentException unused) { return null; } } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) public static final Path relativeToOrSelf(Path path, Path base) { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(base, "base"); Path relativeToOrNull = relativeToOrNull(path, base); return relativeToOrNull == null ? path : relativeToOrNull; } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final Path setAttribute(Path path, String attribute, Object obj, LinkOption... options) throws IOException { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(attribute, "attribute"); Intrinsics.checkNotNullParameter(options, "options"); Path attribute2 = Files.setAttribute(path, attribute, obj, (LinkOption[]) Arrays.copyOf(options, options.length)); Intrinsics.checkNotNullExpressionValue(attribute2, "setAttribute(...)"); return attribute2; } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final Path setLastModifiedTime(Path path, FileTime value) throws IOException { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(value, "value"); Path lastModifiedTime = Files.setLastModifiedTime(path, value); Intrinsics.checkNotNullExpressionValue(lastModifiedTime, "setLastModifiedTime(...)"); return lastModifiedTime; } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final Path setOwner(Path path, UserPrincipal value) throws IOException { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(value, "value"); Path owner = Files.setOwner(path, value); Intrinsics.checkNotNullExpressionValue(owner, "setOwner(...)"); return owner; } @SinceKotlin(version = "1.5") @InlineOnly @WasExperimental(markerClass = {ExperimentalPathApi.class}) private static final Path setPosixFilePermissions(Path path, Set value) throws IOException { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(value, "value"); Path posixFilePermissions = Files.setPosixFilePermissions(path, value); Intrinsics.checkNotNullExpressionValue(posixFilePermissions, "setPosixFilePermissions(...)"); return posixFilePermissions; } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final Path toPath(URI uri) { Intrinsics.checkNotNullParameter(uri, ""); Path path = Paths.get(uri); Intrinsics.checkNotNullExpressionValue(path, "get(...)"); return path; } @SinceKotlin(version = "1.5") @InlineOnly @WasExperimental(markerClass = {ExperimentalPathApi.class}) private static final T useDirectoryEntries(Path path, String glob, Function1, ? extends T> block) throws IOException { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(glob, "glob"); Intrinsics.checkNotNullParameter(block, "block"); DirectoryStream newDirectoryStream = Files.newDirectoryStream(path, glob); try { Intrinsics.checkNotNull(newDirectoryStream); T invoke = block.invoke(CollectionsKt.asSequence(newDirectoryStream)); InlineMarker.finallyStart(1); if (PlatformImplementationsKt.apiVersionIsAtLeast(1, 1, 0)) { CloseableKt.closeFinally(newDirectoryStream, null); } else if (newDirectoryStream != null) { newDirectoryStream.close(); } InlineMarker.finallyEnd(1); return invoke; } catch (Throwable th) { try { throw th; } catch (Throwable th2) { InlineMarker.finallyStart(1); if (PlatformImplementationsKt.apiVersionIsAtLeast(1, 1, 0)) { CloseableKt.closeFinally(newDirectoryStream, th); } else if (newDirectoryStream != null) { try { newDirectoryStream.close(); } catch (Throwable unused) { } } InlineMarker.finallyEnd(1); throw th2; } } } public static /* synthetic */ Object useDirectoryEntries$default(Path path, String glob, Function1 block, int i, Object obj) throws IOException { if ((i & 1) != 0) { glob = CirculationMapper.VIA_ASTERISK; } Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(glob, "glob"); Intrinsics.checkNotNullParameter(block, "block"); DirectoryStream newDirectoryStream = Files.newDirectoryStream(path, glob); try { Intrinsics.checkNotNull(newDirectoryStream); Object invoke = block.invoke(CollectionsKt.asSequence(newDirectoryStream)); InlineMarker.finallyStart(1); if (PlatformImplementationsKt.apiVersionIsAtLeast(1, 1, 0)) { CloseableKt.closeFinally(newDirectoryStream, null); } else if (newDirectoryStream != null) { newDirectoryStream.close(); } InlineMarker.finallyEnd(1); return invoke; } catch (Throwable th) { try { throw th; } catch (Throwable th2) { InlineMarker.finallyStart(1); if (PlatformImplementationsKt.apiVersionIsAtLeast(1, 1, 0)) { CloseableKt.closeFinally(newDirectoryStream, th); } else if (newDirectoryStream != null) { try { newDirectoryStream.close(); } catch (Throwable unused) { } } InlineMarker.finallyEnd(1); throw th2; } } } @SinceKotlin(version = "1.7") @ExperimentalPathApi public static final void visitFileTree(Path path, FileVisitor visitor, int i, boolean z3) { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(visitor, "visitor"); Files.walkFileTree(path, z3 ? SetsKt.setOf(FileVisitOption.FOLLOW_LINKS) : SetsKt.emptySet(), i, visitor); } public static /* synthetic */ void visitFileTree$default(Path path, FileVisitor fileVisitor, int i, boolean z3, int i4, Object obj) { if ((i4 & 2) != 0) { i = Integer.MAX_VALUE; } if ((i4 & 4) != 0) { z3 = false; } visitFileTree(path, (FileVisitor) fileVisitor, i, z3); } @SinceKotlin(version = "1.7") @ExperimentalPathApi public static final Sequence walk(Path path, PathWalkOption... options) { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(options, "options"); return new PathTreeWalk(path, options); } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final Path Path(String base, String... subpaths) { Intrinsics.checkNotNullParameter(base, "base"); Intrinsics.checkNotNullParameter(subpaths, "subpaths"); Path path = Paths.get(base, (String[]) Arrays.copyOf(subpaths, subpaths.length)); Intrinsics.checkNotNullExpressionValue(path, "get(...)"); return path; } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) public static final Path createTempDirectory(Path path, String str, FileAttribute... attributes) throws IOException { Intrinsics.checkNotNullParameter(attributes, "attributes"); if (path != null) { Path createTempDirectory = Files.createTempDirectory(path, str, (FileAttribute[]) Arrays.copyOf(attributes, attributes.length)); Intrinsics.checkNotNullExpressionValue(createTempDirectory, "createTempDirectory(...)"); return createTempDirectory; } Path createTempDirectory2 = Files.createTempDirectory(str, (FileAttribute[]) Arrays.copyOf(attributes, attributes.length)); Intrinsics.checkNotNullExpressionValue(createTempDirectory2, "createTempDirectory(...)"); return createTempDirectory2; } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) public static final Path createTempFile(Path path, String str, String str2, FileAttribute... attributes) throws IOException { Intrinsics.checkNotNullParameter(attributes, "attributes"); if (path != null) { Path createTempFile = Files.createTempFile(path, str, str2, (FileAttribute[]) Arrays.copyOf(attributes, attributes.length)); Intrinsics.checkNotNullExpressionValue(createTempFile, "createTempFile(...)"); return createTempFile; } Path createTempFile2 = Files.createTempFile(str, str2, (FileAttribute[]) Arrays.copyOf(attributes, attributes.length)); Intrinsics.checkNotNullExpressionValue(createTempFile2, "createTempFile(...)"); return createTempFile2; } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final Path div(Path path, String other) { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(other, "other"); Path resolve = path.resolve(other); Intrinsics.checkNotNullExpressionValue(resolve, "resolve(...)"); return resolve; } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final Path moveTo(Path path, Path target, boolean z3) throws IOException { CopyOption[] copyOptionArr; Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(target, "target"); if (z3) { copyOptionArr = new CopyOption[]{StandardCopyOption.REPLACE_EXISTING}; } else { copyOptionArr = new CopyOption[0]; } Path move = Files.move(path, target, (CopyOption[]) Arrays.copyOf(copyOptionArr, copyOptionArr.length)); Intrinsics.checkNotNullExpressionValue(move, "move(...)"); return move; } @SinceKotlin(version = "1.5") @InlineOnly @WasExperimental(markerClass = {ExperimentalPathApi.class}) private static final Map readAttributes(Path path, String attributes, LinkOption... options) throws IOException { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(attributes, "attributes"); Intrinsics.checkNotNullParameter(options, "options"); Map readAttributes = Files.readAttributes(path, attributes, (LinkOption[]) Arrays.copyOf(options, options.length)); Intrinsics.checkNotNullExpressionValue(readAttributes, "readAttributes(...)"); return readAttributes; } public static /* synthetic */ void visitFileTree$default(Path path, int i, boolean z3, Function1 function1, int i4, Object obj) { if ((i4 & 1) != 0) { i = Integer.MAX_VALUE; } if ((i4 & 2) != 0) { z3 = false; } visitFileTree(path, i, z3, (Function1) function1); } public static /* synthetic */ Path createTempDirectory$default(Path path, String str, FileAttribute[] fileAttributeArr, int i, Object obj) throws IOException { if ((i & 2) != 0) { str = null; } return createTempDirectory(path, str, fileAttributeArr); } public static /* synthetic */ Path createTempFile$default(Path path, String str, String str2, FileAttribute[] fileAttributeArr, int i, Object obj) throws IOException { if ((i & 2) != 0) { str = null; } if ((i & 4) != 0) { str2 = null; } return createTempFile(path, str, str2, fileAttributeArr); } @SinceKotlin(version = "1.7") @ExperimentalPathApi public static final void visitFileTree(Path path, int i, boolean z3, Function1 builderAction) { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(builderAction, "builderAction"); visitFileTree(path, fileVisitor(builderAction), i, z3); } @SinceKotlin(version = "1.5") @WasExperimental(markerClass = {ExperimentalPathApi.class}) @InlineOnly private static final Path copyTo(Path path, Path target, CopyOption... options) throws IOException { Intrinsics.checkNotNullParameter(path, ""); Intrinsics.checkNotNullParameter(target, "target"); Intrinsics.checkNotNullParameter(options, "options"); Path copy = Files.copy(path, target, (CopyOption[]) Arrays.copyOf(options, options.length)); Intrinsics.checkNotNullExpressionValue(copy, "copy(...)"); return copy; } }