/*
 * Decompiled with CFR 0.152.
 */
/*
 * Duplicate member names - consider using --renamedupmembers true
 */
public abstract class ay
extends ep
implements mt {
    private static final String h = lh.d(441);
    private gp h;
    private String i;
    private String j;
    private lh k;
    public int a;
    public String b;
    public String c;
    public w d;
    public bq e;
    public hx f;
    public iy g;

    public abstract void i();

    public final boolean b(hx hx2) {
        return this.i.equals(dz.d(hx2));
    }

    public static boolean c(hx hx2) {
        return h.equals(dz.d(hx2));
    }

    public final gm e(hx hx2) {
        jp jp2 = this.a(hx2, h, false);
        jp2.a('*', true);
        return jp2;
    }

    public final gm d(hx hx2) {
        return this.a(hx2, this.i, false);
    }

    public void a(ht ht2) {
        this.g.a(ht2, 0, 0);
    }

    public ay(eb eb2, hj hj2, bi bi2, boolean bl2) {
        this(eb2, hj2, bi2);
    }

    public ay(eb eb2, hj hj2, String string, String string2, String string3, String string4, String string5, bi bi2) {
        this(eb2, hj2, string, string2, string3, string4, bi2);
        this.h = gp.a(string5);
    }

    public final void h() {
        this.i();
    }

    public static boolean e(fk fk2) {
        return fk2.b();
    }

    public static int f(hx hx2) {
        return hx2.a();
    }

    public gp f() {
        return this.h;
    }

    public final jp a(hx hx2, String string, boolean bl2) {
        return this.a(hx2, string, bl2, pt.a(this.d));
    }

    public final jp a(hx hx2, String string, boolean bl2, int n) {
        return dz.a(hx2, string, bl2, n, this.s.k);
    }

    public fk b(int n) {
        return this.h.b(this.h.c(n));
    }

    public boolean a(int n) {
        return this.h.b(this.h.c(n)).b();
    }

    public boolean a(boolean bl2) {
        return this.a(this.g);
    }

    public void a(String string) {
        this.h = gp.a(string);
    }

    public void d(fk fk2) {
        this.h.b(fk2);
    }

    public boolean c(fk fk2) {
        if (bz.b(fk2)) {
            return this.h.a(fk2);
        }
        return false;
    }

    public final int g(hx hx2) {
        int n = hx2.g(hx2.r()) - this.a - 1;
        if (n < 0) {
            return -1;
        }
        return n;
    }

    public void g_() {
        if (this.t) {
            int n = -1;
            if (this.f != null) {
                n = this.f.g(this.f.q());
            }
            this.i();
            if (n != -1) {
                this.f.l(this.f.h(n));
            }
        }
    }

    public final gm a(hx hx2) {
        this.a = hx2.m();
        gp gp2 = this.f();
        String[] stringArray = gp2.g();
        String string = gp2.b() == 0 ? this.c : this.b;
        dz.b(hx2, string);
        jp jp2 = null;
        for (int i = 0; i < stringArray.length; ++i) {
            jp2 = this.a(hx2, stringArray[i], this.a(i));
        }
        return jp2;
    }

    public void b() {
        this.e = null;
        this.f = null;
        this.g = null;
    }

    public void a() {
        this.e = this.k.a(this, this.j, jy.i, jy.a);
        this.e.a(200);
    }

    public final void a(String string, String string2, String string3, String string4) {
        this.i = string;
        this.j = string2;
        this.c = string3;
        this.b = string4;
        this.n();
    }

    public ay(eb eb2, hj hj2, bi bi2) {
        super(eb2, hj2);
        lh lh2 = lh.k();
        this.d = jj.a(true);
        this.k = lh2.i();
    }

    public ay(eb eb2, hj hj2, String string, String string2, String string3, String string4, bi bi2) {
        super(eb2, hj2);
        this.i = string;
        this.j = string2;
        this.c = string3;
        this.b = string4;
        lh lh2 = lh.k();
        this.d = jj.a(true);
        this.k = lh2.i();
    }
}

