龙岗云视频 v2.7版本的 MD5 值为:9298cfa7a85a45936abaf845b6f6bd5c

以下内容为反编译后的 q.java 源代码,内容仅作参考


package b.b;

import b.b.aa;
import b.b.ab;
import b.b.ac;
import b.b.ad;
import b.b.ae;
import b.b.af;
import b.b.ah;
import b.b.aj;
import b.b.ak;
import b.b.al;
import b.b.ap;
import b.b.bn;
import b.b.bq;
import b.b.z;
import com.videogo.util.LocalInfo;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import org.greenrobot.greendao.generator.Schema;

public abstract class q extends bq implements Cloneable {

    static final HashMap f1815c = new HashMap(379, 0.67f);

    protected bq f1816a;

    protected String f1817b;

    static {
        a("abs", new ae.b());
        a("ancestors", new ad.b());
        a("api", new ac.b());
        a("boolean", new ak.a());
        a("byte", new ae.c());
        a("c", new ac.c());
        a("cap_first", "capFirst", new ah.a());
        a("capitalize", new ah.b());
        a("ceiling", new ae.d());
        a("children", new ad.c());
        a("chop_linebreak", "chopLinebreak", new ah.c());
        a("contains", new ah.d());
        a(LocalInfo.DATE, new ac.d(2));
        a("date_if_unknown", "dateIfUnknown", new z.b(2));
        a("datetime", new ac.d(3));
        a("datetime_if_unknown", "datetimeIfUnknown", new z.b(3));
        a(Schema.DEFAULT_NAME, new bn.b());
        a("double", new ae.e());
        a("ends_with", "endsWith", new ah.e());
        a("ensure_ends_with", "ensureEndsWith", new ah.f());
        a("ensure_starts_with", "ensureStartsWith", new ah.g());
        a("eval", new ak.b());
        a("exists", new bn.c());
        a("first", new af.b());
        a("float", new ae.f());
        a("floor", new ae.g());
        a("chunk", new af.a());
        a("counter", new ab.b());
        a("item_cycle", "itemCycle", new ab.i());
        a("has_api", "hasApi", new ac.e());
        a("has_content", "hasContent", new bn.d());
        a("has_next", "hasNext", new ab.c());
        a("html", new aj.b());
        a("if_exists", "ifExists", new bn.e());
        a("index", new ab.d());
        a("index_of", "indexOf", new ah.h(false));
        a("int", new ae.h());
        a("interpret", new cg());
        a("is_boolean", "isBoolean", new ac.f());
        a("is_collection", "isCollection", new ac.g());
        a("is_collection_ex", "isCollectionEx", new ac.h());
        ac.i iVar = new ac.i();
        a("is_date", "isDate", iVar);
        a("is_date_like", "isDateLike", iVar);
        a("is_date_only", "isDateOnly", new ac.j(2));
        a("is_even_item", "isEvenItem", new ab.e());
        a("is_first", "isFirst", new ab.f());
        a("is_last", "isLast", new ab.g());
        a("is_unknown_date_like", "isUnknownDateLike", new ac.j(0));
        a("is_datetime", "isDatetime", new ac.j(3));
        a("is_directive", "isDirective", new ac.k());
        a("is_enumerable", "isEnumerable", new ac.l());
        a("is_hash_ex", "isHashEx", new ac.n());
        a("is_hash", "isHash", new ac.m());
        a("is_infinite", "isInfinite", new ae.i());
        a("is_indexable", "isIndexable", new ac.o());
        a("is_macro", "isMacro", new ac.p());
        a("is_method", "isMethod", new ac.q());
        a("is_nan", "isNan", new ae.j());
        a("is_node", "isNode", new ac.r());
        a("is_number", "isNumber", new ac.s());
        a("is_odd_item", "isOddItem", new ab.h());
        a("is_sequence", "isSequence", new ac.t());
        a("is_string", "isString", new ac.u());
        a("is_time", "isTime", new ac.j(1));
        a("is_transform", "isTransform", new ac.v());
        a("iso_utc", "isoUtc", new z.d(null, 6, true));
        a("iso_utc_fz", "isoUtcFZ", new z.d(Boolean.TRUE, 6, true));
        a("iso_utc_nz", "isoUtcNZ", new z.d(Boolean.FALSE, 6, true));
        a("iso_utc_ms", "isoUtcMs", new z.d(null, 7, true));
        a("iso_utc_ms_nz", "isoUtcMsNZ", new z.d(Boolean.FALSE, 7, true));
        a("iso_utc_m", "isoUtcM", new z.d(null, 5, true));
        a("iso_utc_m_nz", "isoUtcMNZ", new z.d(Boolean.FALSE, 5, true));
        a("iso_utc_h", "isoUtcH", new z.d(null, 4, true));
        a("iso_utc_h_nz", "isoUtcHNZ", new z.d(Boolean.FALSE, 4, true));
        a("iso_local", "isoLocal", new z.d(null, 6, false));
        a("iso_local_nz", "isoLocalNZ", new z.d(Boolean.FALSE, 6, false));
        a("iso_local_ms", "isoLocalMs", new z.d(null, 7, false));
        a("iso_local_ms_nz", "isoLocalMsNZ", new z.d(Boolean.FALSE, 7, false));
        a("iso_local_m", "isoLocalM", new z.d(null, 5, false));
        a("iso_local_m_nz", "isoLocalMNZ", new z.d(Boolean.FALSE, 5, false));
        a("iso_local_h", "isoLocalH", new z.d(null, 4, false));
        a("iso_local_h_nz", "isoLocalHNZ", new z.d(Boolean.FALSE, 4, false));
        a("iso", new z.c(null, 6));
        a("iso_nz", "isoNZ", new z.c(Boolean.FALSE, 6));
        a("iso_ms", "isoMs", new z.c(null, 7));
        a("iso_ms_nz", "isoMsNZ", new z.c(Boolean.FALSE, 7));
        a("iso_m", "isoM", new z.c(null, 5));
        a("iso_m_nz", "isoMNZ", new z.c(Boolean.FALSE, 5));
        a("iso_h", "isoH", new z.c(null, 4));
        a("iso_h_nz", "isoHNZ", new z.c(Boolean.FALSE, 4));
        a("j_string", "jString", new aj.c());
        a("join", new af.c());
        a("js_string", "jsString", new aj.d());
        a("json_string", "jsonString", new aj.e());
        a("keep_after", "keepAfter", new ah.i());
        a("keep_before", "keepBefore", new ah.k());
        a("keep_after_last", "keepAfterLast", new ah.j());
        a("keep_before_last", "keepBeforeLast", new ah.l());
        a("keys", new aa.a());
        a("last_index_of", "lastIndexOf", new ah.h(true));
        a("last", new af.d());
        a("left_pad", "leftPad", new ah.o(true));
        a("length", new ah.m());
        a("long", new ae.k());
        a("lower_abc", "lowerAbc", new ae.l());
        a("lower_case", "lowerCase", new ah.n());
        a("namespace", new ac.w());
        a("new", new cz());
        a("node_name", "nodeName", new ad.d());
        a("node_namespace", "nodeNamespace", new ad.e());
        a("node_type", "nodeType", new ad.f());
        a("number", new ak.c());
        a("number_to_date", "numberToDate", new ae.m(2));
        a("number_to_time", "numberToTime", new ae.m(1));
        a("number_to_datetime", "numberToDatetime", new ae.m(3));
        a("parent", new ad.g());
        a("item_parity", "itemParity", new ab.j());
        a("item_parity_cap", "itemParityCap", new ab.k());
        a("reverse", new af.e());
        a("right_pad", "rightPad", new ah.o(false));
        a("root", new ad.h());
        a("round", new ae.n());
        a("remove_ending", "removeEnding", new ah.q());
        a("remove_beginning", "removeBeginning", new ah.p());
        a("rtf", new aj.f());
        a("seq_contains", "seqContains", new af.f());
        a("seq_index_of", "seqIndexOf", new af.g(1));
        a("seq_last_index_of", "seqLastIndexOf", new af.g(-1));
        a("short", new ae.o());
        a("size", new ac.x());
        a("sort_by", "sortBy", new af.i());
        a("sort", new af.h());
        a("split", new ah.r());
        a("switch", new ap.a());
        a("starts_with", "startsWith", new ah.s());
        a("string", new ac.y());
        a("substring", new ah.t());
        a("then", new ap.b());
        a("time", new ac.d(1));
        a("time_if_unknown", "timeIfUnknown", new z.b(1));
        a("trim", new ah.u());
        a("uncap_first", "uncapFirst", new ah.v());
        a("upper_abc", "upperAbc", new ae.p());
        a("upper_case", "upperCase", new ah.w());
        a("url", new aj.g());
        a("url_path", "urlPath", new aj.h());
        a("values", new aa.b());
        a("web_safe", "webSafe", (q) f1815c.get("html"));
        a("word_list", "wordList", new ah.x());
        a("xhtml", new aj.i());
        a("xml", new aj.j());
        a("matches", new al.c());
        a("groups", new al.b());
        a("replace", new al.d());
        if (252 >= f1815c.size()) {
            return;
        }
        StringBuffer stringBuffer = new StringBuffer("Update NUMBER_OF_BIS! Should be: ");
        stringBuffer.append(f1815c.size());
        throw new AssertionError(stringBuffer.toString());
    }

    public static q a(int i, bq bqVar, ev evVar, bt btVar) {
        char charAt;
        String str = evVar.f;
        q qVar = (q) f1815c.get(str);
        if (qVar != null) {
            while (qVar instanceof bx) {
                bx bxVar = (bx) qVar;
                if (i < bxVar.e()) {
                    qVar = (q) bxVar.f();
                }
            }
            try {
                q qVar2 = (q) qVar.clone();
                qVar2.f1817b = str;
                qVar2.f1816a = bqVar;
                return qVar2;
            } catch (CloneNotSupportedException unused) {
                throw new InternalError();
            }
        }
        StringBuffer stringBuffer = new StringBuffer("Unknown built-in: ");
        stringBuffer.append(b.f.a.y.n(str));
        stringBuffer.append(". ");
        stringBuffer.append("Help (latest version): http://freemarker.org/docs/ref_builtins.html; you're using FreeMarker ");
        stringBuffer.append(b.f.b.D());
        stringBuffer.append(".\nThe alphabetical list of built-ins:");
        ArrayList<String> arrayList = new ArrayList(f1815c.keySet().size());
        arrayList.addAll(f1815c.keySet());
        Collections.sort(arrayList);
        int i2 = btVar.k;
        if (i2 == 10) {
            i2 = 11;
        }
        boolean z = true;
        char c2 = 0;
        for (String str2 : arrayList) {
            int c3 = fl.c(str2);
            if (i2 == 12) {
                if (c3 != 11) {
                    if (z) {
                        stringBuffer.append(", ");
                    } else {
                        z = false;
                    }
                    charAt = str2.charAt(0);
                    if (charAt != c2) {
                        stringBuffer.append('\n');
                        c2 = charAt;
                    }
                    stringBuffer.append(str2);
                }
            } else if (c3 != 12) {
                if (z) {
                }
                charAt = str2.charAt(0);
                if (charAt != c2) {
                }
                stringBuffer.append(str2);
            }
        }
        throw new dv(stringBuffer.toString(), (b.f.aa) null, evVar);
    }

    private static void a(String str, q qVar) {
        f1815c.put(str, qVar);
    }

    private static void a(String str, String str2, q qVar) {
        f1815c.put(str, qVar);
        f1815c.put(str2, qVar);
    }

    @Override
    public bq a(String str, bq bqVar, bq.a aVar) {
        try {
            q qVar = (q) clone();
            qVar.f1816a = this.f1816a.b(str, bqVar, aVar);
            return qVar;
        } catch (CloneNotSupportedException e) {
            throw new RuntimeException("Internal error: ".concat(String.valueOf(e)));
        }
    }

    @Override
    public Object a(int i) {
        switch (i) {
            case 0:
                return this.f1816a;
            case 1:
                return this.f1817b;
            default:
                throw new IndexOutOfBoundsException();
        }
    }

    public final void a(int i, int i2) {
        if (i == i2) {
            return;
        }
        StringBuffer stringBuffer = new StringBuffer("?");
        stringBuffer.append(this.f1817b);
        throw cu.b(stringBuffer.toString(), i, i2);
    }

    public final void a(int i, int i2, int i3) {
        if (i < i2 || i > i3) {
            StringBuffer stringBuffer = new StringBuffer("?");
            stringBuffer.append(this.f1817b);
            throw cu.a(stringBuffer.toString(), i, i2, i3);
        }
    }

    public final void a(List list, int i) {
        a(list.size(), i);
    }

    @Override
    public dt b(int i) {
        switch (i) {
            case 0:
                return dt.f1696b;
            case 1:
                return dt.f1697c;
            default:
                throw new IndexOutOfBoundsException();
        }
    }

    @Override
    public String b() {
        StringBuffer stringBuffer = new StringBuffer();
        stringBuffer.append(this.f1816a.b());
        stringBuffer.append("?");
        stringBuffer.append(this.f1817b);
        return stringBuffer.toString();
    }

    public final void b(List list, int i) {
        a(list.size(), 1, i);
    }

    @Override
    public String c() {
        StringBuffer stringBuffer = new StringBuffer("?");
        stringBuffer.append(this.f1817b);
        return stringBuffer.toString();
    }

    public final String c(List list, int i) {
        if (list.size() > i) {
            return d(list, i);
        }
        return null;
    }

    @Override
    public int d() {
        return 2;
    }

    public final String d(List list, int i) {
        b.f.aq aqVar = (b.f.aq) list.get(i);
        if (aqVar instanceof b.f.az) {
            return bm.a((b.f.az) aqVar, (bq) null, (bf) null);
        }
        StringBuffer stringBuffer = new StringBuffer("?");
        stringBuffer.append(this.f1817b);
        throw cu.a(stringBuffer.toString(), i, aqVar);
    }

    public final Number e(List list, int i) {
        b.f.aq aqVar = (b.f.aq) list.get(i);
        if (aqVar instanceof b.f.ay) {
            return bm.a((b.f.ay) aqVar, (bq) null);
        }
        StringBuffer stringBuffer = new StringBuffer("?");
        stringBuffer.append(this.f1817b);
        throw cu.b(stringBuffer.toString(), i, aqVar);
    }

    @Override
    public final boolean g_() {
        return false;
    }
}