package net.letime.lecjoa.util;

import java.lang.System;

@kotlin.Metadata(mv = {1, 1, 10}, bv = {1, 0, 2}, k = 2, d1 = {"\u0000T\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\u001a$\u0010\u0010\u001a\u00020\u0011\"\u0004\b\u0000\u0010\u00122\u0006\u0010\u0013\u001a\u00020\u00142\f\u0010\u0015\u001a\b\u0012\u0004\u0012\u0002H\u00120\u000eH\u0002\u001a \u0010\u0016\u001a\u00020\u00112\u0006\u0010\u0017\u001a\u00020\u00012\u0006\u0010\u0018\u001a\u00020\u00192\u0006\u0010\u001a\u001a\u00020\u0005H\u0002\u001a\u0018\u0010\u001b\u001a\u00020\u00192\u0006\u0010\u0017\u001a\u00020\u00012\u0006\u0010\u001c\u001a\u00020\u001dH\u0002\u001a0\u0010\u001e\u001a\u00020\u001f2\u0006\u0010 \u001a\u00020\n2\u0006\u0010\u0017\u001a\u00020\u00012\u0006\u0010!\u001a\u00020\u001d2\u0006\u0010\"\u001a\u00020\u001d2\u0006\u0010#\u001a\u00020\u001dH\u0002\u001a\u0016\u0010$\u001a\u00020\u00112\u0006\u0010\u0013\u001a\u00020\u00142\u0006\u0010!\u001a\u00020\u001d\"\u000e\u0010\u0000\u001a\u00020\u0001X\u0082T\u00a2\u0006\u0002\n\u0000\"\u000e\u0010\u0002\u001a\u00020\u0001X\u0082T\u00a2\u0006\u0002\n\u0000\"\u000e\u0010\u0003\u001a\u00020\u0001X\u0082T\u00a2\u0006\u0002\n\u0000\"\u0016\u0010\u0004\u001a\n \u0006*\u0004\u0018\u00010\u00050\u0005X\u0082\u0004\u00a2\u0006\u0002\n\u0000\"\u000e\u0010\u0007\u001a\u00020\u0001X\u0082T\u00a2\u0006\u0002\n\u0000\"\u001a\u0010\b\u001a\u000e\u0012\u0004\u0012\u00020\n\u0012\u0004\u0012\u00020\u000b0\tX\u0082\u0004\u00a2\u0006\u0002\n\u0000\"\u001c\u0010\f\u001a\u0010\u0012\f\u0012\n\u0012\u0006\b\u0001\u0012\u00020\u000f0\u000e0\rX\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006%"}, d2 = {"HTTPS_URL_REGEX", "", "HTTP_URL_REGEX", "MENTION_REGEX", "STRICT_WEB_URL_PATTERN", "Ljava/util/regex/Pattern;", "kotlin.jvm.PlatformType", "TAG_REGEX", "finders", "", "Lnet/letime/lecjoa/util/FoundMatchType;", "Lnet/letime/lecjoa/util/PatternFinder;", "spanClasses", "", "Ljava/lang/Class;", "", "clearSpans", "", "T", "text", "Landroid/text/Spannable;", "spanClass", "findEndOfPattern", "string", "result", "Lnet/letime/lecjoa/util/FindCharsResult;", "pattern", "findPattern", "fromIndex", "", "getSpan", "Landroid/text/style/CharacterStyle;", "matchType", "colour", "start", "end", "highlightSpans", "app_debug"})
public final class SpanUtilsKt {
    
    /**
     * * @see <a href="https://github.com/tootsuite/mastodon/blob/master/app/models/tag.rb">
     * *     Tag#HASHTAG_RE</a>.
     */
    private static final java.lang.String TAG_REGEX = "(?:^|[^/)\\w])#([\\w_]*[\\p{Alpha}_][\\w_]*)";
    
    /**
     * * @see <a href="https://github.com/tootsuite/mastodon/blob/master/app/models/account.rb">
     * *     Account#MENTION_RE</a>
     */
    private static final java.lang.String MENTION_REGEX = "(?:^|[^/[:word:]])@([a-z0-9_]+(?:@[a-z0-9\\.\\-]+[a-z0-9]+)?)";
    private static final java.lang.String HTTP_URL_REGEX = "(?:(^|\\b)http://[^\\s]+)";
    private static final java.lang.String HTTPS_URL_REGEX = "(?:(^|\\b)https://[^\\s]+)";
    
    /**
     * * Dump of android.util.Patterns.WEB_URL
     */
    private static final java.util.regex.Pattern STRICT_WEB_URL_PATTERN = null;
    private static final java.util.List<java.lang.Class<? extends java.lang.Object>> spanClasses = null;
    private static final java.util.Map<net.letime.lecjoa.util.FoundMatchType, net.letime.lecjoa.util.PatternFinder> finders = null;
    
    private static final <T extends java.lang.Object>void clearSpans(android.text.Spannable text, java.lang.Class<T> spanClass) {
    }
    
    private static final net.letime.lecjoa.util.FindCharsResult findPattern(java.lang.String string, int fromIndex) {
        return null;
    }
    
    private static final void findEndOfPattern(java.lang.String string, net.letime.lecjoa.util.FindCharsResult result, java.util.regex.Pattern pattern) {
    }
    
    private static final android.text.style.CharacterStyle getSpan(net.letime.lecjoa.util.FoundMatchType matchType, java.lang.String string, int colour, int start, int end) {
        return null;
    }
    
    /**
     * Takes text containing mentions and hashtags and urls and makes them the given colour. 
     */
    public static final void highlightSpans(@org.jetbrains.annotations.NotNull()
    android.text.Spannable text, int colour) {
    }
}